You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(60) |
Jul
(35) |
Aug
(32) |
Sep
(5) |
Oct
(5) |
Nov
(58) |
Dec
(34) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(114) |
Feb
(184) |
Mar
(153) |
Apr
(90) |
May
(153) |
Jun
(59) |
Jul
(24) |
Aug
(43) |
Sep
(17) |
Oct
(34) |
Nov
(11) |
Dec
(204) |
2007 |
Jan
(84) |
Feb
(119) |
Mar
(38) |
Apr
(28) |
May
(52) |
Jun
(105) |
Jul
(64) |
Aug
(67) |
Sep
(14) |
Oct
(3) |
Nov
(28) |
Dec
(55) |
2008 |
Jan
(228) |
Feb
(55) |
Mar
(30) |
Apr
(30) |
May
(15) |
Jun
(20) |
Jul
(12) |
Aug
(3) |
Sep
(13) |
Oct
(54) |
Nov
(35) |
Dec
(35) |
2009 |
Jan
(19) |
Feb
(20) |
Mar
(34) |
Apr
(4) |
May
(60) |
Jun
(25) |
Jul
(16) |
Aug
(51) |
Sep
(19) |
Oct
(62) |
Nov
(21) |
Dec
(12) |
2010 |
Jan
(1) |
Feb
|
Mar
(4) |
Apr
(12) |
May
(23) |
Jun
(13) |
Jul
(1) |
Aug
(40) |
Sep
(18) |
Oct
(21) |
Nov
(26) |
Dec
(34) |
2011 |
Jan
(17) |
Feb
(23) |
Mar
(1) |
Apr
(10) |
May
(1) |
Jun
(5) |
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(43) |
2012 |
Jan
(5) |
Feb
(19) |
Mar
(6) |
Apr
(24) |
May
(39) |
Jun
(83) |
Jul
(29) |
Aug
(36) |
Sep
(64) |
Oct
(55) |
Nov
(12) |
Dec
(7) |
2013 |
Jan
(17) |
Feb
(10) |
Mar
(37) |
Apr
(27) |
May
(13) |
Jun
(9) |
Jul
(7) |
Aug
(61) |
Sep
(23) |
Oct
(23) |
Nov
(30) |
Dec
(16) |
2014 |
Jan
(23) |
Feb
(13) |
Mar
(9) |
Apr
(17) |
May
(2) |
Jun
(11) |
Jul
(2) |
Aug
|
Sep
(9) |
Oct
(24) |
Nov
(2) |
Dec
(14) |
2015 |
Jan
(6) |
Feb
(4) |
Mar
(17) |
Apr
|
May
(7) |
Jun
(3) |
Jul
|
Aug
|
Sep
(2) |
Oct
(21) |
Nov
(6) |
Dec
(2) |
2016 |
Jan
(4) |
Feb
(2) |
Mar
(7) |
Apr
(3) |
May
(11) |
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(4) |
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(8) |
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Paul K <pau...@ya...> - 2014-01-03 20:04:22
|
Hi John, I'm trying to compile wxlua using the trunk version and ran into a strange issue that I've never seen before. I went back to r170, but it shows the same issue. Here is the error: d:/Lua/ZBS-build/build/wxlua/wxLua/modules/luamodule/luamodule.cpp:39:77: error: declaration of C function 'BOOL DllMain(HANDLE, DWORD, LPVOID)' conflicts with BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID ); ^ In file included from d:\mingw\include\windows.h:62:0, from d:/Lua/ZBS-build/build/deps/include/wx-3.1/wx/msw/wrapwin.h:65, from d:/Lua/ZBS-build/build/deps/include/wx-3.1/wx/msw/init.h:19, from d:/Lua/ZBS-build/build/deps/include/wx-3.1/wx/init.h:58, from d:/Lua/ZBS-build/build/deps/include/wx-3.1/wx/app.h:23, from d:/Lua/ZBS-build/build/wxlua/wxLua/modules/luamodule/luamodule.cpp:21: d:\mingw\include\winbase.h:1051:13: error: previous declaration 'BOOL DllMain(HINSTANCE, DWORD, LPVOID)' here BOOL WINAPI DllMain(HINSTANCE, DWORD, LPVOID); ^ make[2]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/luamodule.cpp.obj] Error 1 make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 make: *** [all] Error 2 Is it my local setup or is it something that needs to be fixed in wxlua? I'm compiling this with wxwidgets 3.1 using mingw 4.8.1. Paul. |
From: 周训华 <90...@qq...> - 2014-01-03 03:43:20
|
Hi, I'm trying make application by wxLua。I want to post/send windows message(in C++) to wxWindow(created in lua ),so I need get the window's handle. But the class "wxWindow" 's method "void* GetHandle" can not return a right value to use in C++. So,I hope the wxWindow's method "GetHandle" return a "long" as same as in wxPython. Looking forward to your reply,Thanks. Johnny |
From: John L. <jla...@gm...> - 2013-12-28 04:02:34
|
On Fri, Dec 27, 2013 at 4:28 PM, Victor Bombi <so...@te...> wrote: > Have tried your fixUTF8, works perfect, thank you. > I thought that if I couldnt use setcodepage as expected in wxSTC I would be > able to use wxString:ToUTF8() but it is not working for me. > > Don't forget that there is a utf8 translation layer between Lua and wxWidget's wxString. wxLua's Unicode build must translate every string from Lua's ANSI 8-bit string (which may be Unicode or not) to wxWidget's wxString class to call the C++ functions with and this must also succeed. Regards, John |
From: Victor B. <so...@te...> - 2013-12-27 21:28:30
|
Have tried your fixUTF8, works perfect, thank you. I thought that if I couldnt use setcodepage as expected in wxSTC I would be able to use wxString:ToUTF8() but it is not working for me. ----- Original Message ----- From: "Victor Bombi" <so...@te...> To: <wxl...@li...> Sent: Friday, December 27, 2013 9:37 PM Subject: Re: [wxlua-users] character 194 > Hi Paul, > > I thought that in unicode build you could use wxSTC setting codepage to > whatever you want :-( > > http://www.scintilla.org/ScintillaDoc.html#SCI_SETCODEPAGE > > in which I (miss)understood that setting it to 0 would allow me to work > with > ansi > > victor > > ----- Original Message ----- > From: "Paul K" <pau...@ya...> > To: <wxl...@li...> > Sent: Friday, December 27, 2013 7:00 PM > Subject: Re: [wxlua-users] character 194 > > >> Hi Victor, >> >>> Also related to this is the fact that if I open a file in editor.wx.lua >>> with >>> ansi encoding and a symbol with byte 0xE0 for example nothing is shown >>> in >>> editor >> >> If you are running a unicode build (I'm not sure how it works in ansi >> builds), then based on my experience wxSTC will not show the content >> with invalid UTF8 characters (and your sequence is definitely invalid >> UTF8). I have a check in my IDE after loading some content into a >> wxSTC control. If #editor:GetText() == 0, I try to "fix" UTF8 content >> using this logic: >> http://notebook.kulchenko.com/programming/fixing-malformed-utf8-in-lua >> >> See if something similar works for you. >> >> Paul >> >> On Fri, Dec 27, 2013 at 7:20 AM, Victor Bombi <so...@te...> >> wrote: >>> Also related to this is the fact that if I open a file in editor.wx.lua >>> with >>> ansi encoding and a symbol with byte 0xE0 for example nothing is shown >>> in >>> editor >>> >>> ----- Original Message ----- >>> From: "Victor Bombi" <so...@te...> >>> To: <wxl...@li...> >>> Sent: Friday, December 27, 2013 3:12 PM >>> Subject: Re: [wxlua-users] character 194 >>> >>> >>>> of course it is not a problem with 194 only >>>> >>>> for i=0,255 do >>>> SendtoLog(i,string.char(i)) >>>> end >>>> >>>> only outputs from 0 to 127 >>>> >>>> ----- Original Message ----- >>>> From: "Victor Bombi" <so...@te...> >>>> To: <wxl...@li...> >>>> Sent: Thursday, December 26, 2013 5:39 PM >>>> Subject: [wxlua-users] character 194 >>>> >>>> >>>>> Hello, >>>>> >>>>> trying to post this lua error message to wxStyledTextCtrl: >>>>> >>>>> loadfile error:C:\LUA\lua2sc\samples\charactererror.lua:4: unexpected >>>>> symbol >>>>> near '┬' >>>>> >>>>> with AppendText I dont get any output. >>>>> The problem seems to be the character with ASC code 194 >>>>> >>>>> my test is something like >>>>> >>>>> errst = >>>>> {108,111,97,100,102,105,108,101,32,101,114,114,111,114,58,67,58,92,76,85,65,92,108,117,97, >>>>> 50,115,99,92,115,97,109,112,108,101,115,92,99,104,97,114,97,99,116,101,114,101,114,114,111,114,46, >>>>> 108,117,97,58,52,58,32,117,110,101,120,112,101,99,116,101,100,32,115,121,109,98,111,108,32,110,101,97,114,32,39,194,39} >>>>> SendtoLog(string.char(unpack(errst))) >>>>> >>>>> May be it is related to character_set or encoding or whatever else >>>>> >>>>> Any help woould be appreciated >>>>> victor >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Rapidly troubleshoot problems before they affect your business. Most >>>>> IT >>>>> organizations don't have a clear picture of how application >>>>> performance >>>>> affects their revenue. With AppDynamics, you get 100% visibility into >>>>> your >>>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>>>> AppDynamics >>>>> Pro! >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> wxlua-users mailing list >>>>> wxl...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/wxlua-users >>>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Rapidly troubleshoot problems before they affect your business. Most IT >>>> organizations don't have a clear picture of how application performance >>>> affects their revenue. With AppDynamics, you get 100% visibility into >>>> your >>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>>> AppDynamics >>>> Pro! >>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> wxlua-users mailing list >>>> wxl...@li... >>>> https://lists.sourceforge.net/lists/listinfo/wxlua-users >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Rapidly troubleshoot problems before they affect your business. Most IT >>> organizations don't have a clear picture of how application performance >>> affects their revenue. With AppDynamics, you get 100% visibility into >>> your >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>> AppDynamics >>> Pro! >>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> wxlua-users mailing list >>> wxl...@li... >>> https://lists.sourceforge.net/lists/listinfo/wxlua-users >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into >> your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >> _______________________________________________ >> wxlua-users mailing list >> wxl...@li... >> https://lists.sourceforge.net/lists/listinfo/wxlua-users >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |
From: Victor B. <so...@te...> - 2013-12-27 20:37:32
|
Hi Paul, I thought that in unicode build you could use wxSTC setting codepage to whatever you want :-( http://www.scintilla.org/ScintillaDoc.html#SCI_SETCODEPAGE in which I (miss)understood that setting it to 0 would allow me to work with ansi victor ----- Original Message ----- From: "Paul K" <pau...@ya...> To: <wxl...@li...> Sent: Friday, December 27, 2013 7:00 PM Subject: Re: [wxlua-users] character 194 > Hi Victor, > >> Also related to this is the fact that if I open a file in editor.wx.lua >> with >> ansi encoding and a symbol with byte 0xE0 for example nothing is shown in >> editor > > If you are running a unicode build (I'm not sure how it works in ansi > builds), then based on my experience wxSTC will not show the content > with invalid UTF8 characters (and your sequence is definitely invalid > UTF8). I have a check in my IDE after loading some content into a > wxSTC control. If #editor:GetText() == 0, I try to "fix" UTF8 content > using this logic: > http://notebook.kulchenko.com/programming/fixing-malformed-utf8-in-lua > > See if something similar works for you. > > Paul > > On Fri, Dec 27, 2013 at 7:20 AM, Victor Bombi <so...@te...> > wrote: >> Also related to this is the fact that if I open a file in editor.wx.lua >> with >> ansi encoding and a symbol with byte 0xE0 for example nothing is shown in >> editor >> >> ----- Original Message ----- >> From: "Victor Bombi" <so...@te...> >> To: <wxl...@li...> >> Sent: Friday, December 27, 2013 3:12 PM >> Subject: Re: [wxlua-users] character 194 >> >> >>> of course it is not a problem with 194 only >>> >>> for i=0,255 do >>> SendtoLog(i,string.char(i)) >>> end >>> >>> only outputs from 0 to 127 >>> >>> ----- Original Message ----- >>> From: "Victor Bombi" <so...@te...> >>> To: <wxl...@li...> >>> Sent: Thursday, December 26, 2013 5:39 PM >>> Subject: [wxlua-users] character 194 >>> >>> >>>> Hello, >>>> >>>> trying to post this lua error message to wxStyledTextCtrl: >>>> >>>> loadfile error:C:\LUA\lua2sc\samples\charactererror.lua:4: unexpected >>>> symbol >>>> near '┬' >>>> >>>> with AppendText I dont get any output. >>>> The problem seems to be the character with ASC code 194 >>>> >>>> my test is something like >>>> >>>> errst = >>>> {108,111,97,100,102,105,108,101,32,101,114,114,111,114,58,67,58,92,76,85,65,92,108,117,97, >>>> 50,115,99,92,115,97,109,112,108,101,115,92,99,104,97,114,97,99,116,101,114,101,114,114,111,114,46, >>>> 108,117,97,58,52,58,32,117,110,101,120,112,101,99,116,101,100,32,115,121,109,98,111,108,32,110,101,97,114,32,39,194,39} >>>> SendtoLog(string.char(unpack(errst))) >>>> >>>> May be it is related to character_set or encoding or whatever else >>>> >>>> Any help woould be appreciated >>>> victor >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Rapidly troubleshoot problems before they affect your business. Most IT >>>> organizations don't have a clear picture of how application performance >>>> affects their revenue. With AppDynamics, you get 100% visibility into >>>> your >>>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>>> AppDynamics >>>> Pro! >>>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> wxlua-users mailing list >>>> wxl...@li... >>>> https://lists.sourceforge.net/lists/listinfo/wxlua-users >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Rapidly troubleshoot problems before they affect your business. Most IT >>> organizations don't have a clear picture of how application performance >>> affects their revenue. With AppDynamics, you get 100% visibility into >>> your >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of >>> AppDynamics >>> Pro! >>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> wxlua-users mailing list >>> wxl...@li... >>> https://lists.sourceforge.net/lists/listinfo/wxlua-users >>> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into >> your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >> _______________________________________________ >> wxlua-users mailing list >> wxl...@li... >> https://lists.sourceforge.net/lists/listinfo/wxlua-users > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |
From: Paul K <pau...@ya...> - 2013-12-27 18:00:24
|
Hi Victor, > Also related to this is the fact that if I open a file in editor.wx.lua with > ansi encoding and a symbol with byte 0xE0 for example nothing is shown in > editor If you are running a unicode build (I'm not sure how it works in ansi builds), then based on my experience wxSTC will not show the content with invalid UTF8 characters (and your sequence is definitely invalid UTF8). I have a check in my IDE after loading some content into a wxSTC control. If #editor:GetText() == 0, I try to "fix" UTF8 content using this logic: http://notebook.kulchenko.com/programming/fixing-malformed-utf8-in-lua See if something similar works for you. Paul On Fri, Dec 27, 2013 at 7:20 AM, Victor Bombi <so...@te...> wrote: > Also related to this is the fact that if I open a file in editor.wx.lua with > ansi encoding and a symbol with byte 0xE0 for example nothing is shown in > editor > > ----- Original Message ----- > From: "Victor Bombi" <so...@te...> > To: <wxl...@li...> > Sent: Friday, December 27, 2013 3:12 PM > Subject: Re: [wxlua-users] character 194 > > >> of course it is not a problem with 194 only >> >> for i=0,255 do >> SendtoLog(i,string.char(i)) >> end >> >> only outputs from 0 to 127 >> >> ----- Original Message ----- >> From: "Victor Bombi" <so...@te...> >> To: <wxl...@li...> >> Sent: Thursday, December 26, 2013 5:39 PM >> Subject: [wxlua-users] character 194 >> >> >>> Hello, >>> >>> trying to post this lua error message to wxStyledTextCtrl: >>> >>> loadfile error:C:\LUA\lua2sc\samples\charactererror.lua:4: unexpected >>> symbol >>> near '┬' >>> >>> with AppendText I dont get any output. >>> The problem seems to be the character with ASC code 194 >>> >>> my test is something like >>> >>> errst = >>> {108,111,97,100,102,105,108,101,32,101,114,114,111,114,58,67,58,92,76,85,65,92,108,117,97, >>> 50,115,99,92,115,97,109,112,108,101,115,92,99,104,97,114,97,99,116,101,114,101,114,114,111,114,46, >>> 108,117,97,58,52,58,32,117,110,101,120,112,101,99,116,101,100,32,115,121,109,98,111,108,32,110,101,97,114,32,39,194,39} >>> SendtoLog(string.char(unpack(errst))) >>> >>> May be it is related to character_set or encoding or whatever else >>> >>> Any help woould be appreciated >>> victor >>> >>> >>> ------------------------------------------------------------------------------ >>> Rapidly troubleshoot problems before they affect your business. Most IT >>> organizations don't have a clear picture of how application performance >>> affects their revenue. With AppDynamics, you get 100% visibility into >>> your >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >>> Pro! >>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> wxlua-users mailing list >>> wxl...@li... >>> https://lists.sourceforge.net/lists/listinfo/wxlua-users >>> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >> _______________________________________________ >> wxlua-users mailing list >> wxl...@li... >> https://lists.sourceforge.net/lists/listinfo/wxlua-users >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users |
From: Victor B. <so...@te...> - 2013-12-27 15:21:12
|
Also related to this is the fact that if I open a file in editor.wx.lua with ansi encoding and a symbol with byte 0xE0 for example nothing is shown in editor ----- Original Message ----- From: "Victor Bombi" <so...@te...> To: <wxl...@li...> Sent: Friday, December 27, 2013 3:12 PM Subject: Re: [wxlua-users] character 194 > of course it is not a problem with 194 only > > for i=0,255 do > SendtoLog(i,string.char(i)) > end > > only outputs from 0 to 127 > > ----- Original Message ----- > From: "Victor Bombi" <so...@te...> > To: <wxl...@li...> > Sent: Thursday, December 26, 2013 5:39 PM > Subject: [wxlua-users] character 194 > > >> Hello, >> >> trying to post this lua error message to wxStyledTextCtrl: >> >> loadfile error:C:\LUA\lua2sc\samples\charactererror.lua:4: unexpected >> symbol >> near '┬' >> >> with AppendText I dont get any output. >> The problem seems to be the character with ASC code 194 >> >> my test is something like >> >> errst = >> {108,111,97,100,102,105,108,101,32,101,114,114,111,114,58,67,58,92,76,85,65,92,108,117,97, >> 50,115,99,92,115,97,109,112,108,101,115,92,99,104,97,114,97,99,116,101,114,101,114,114,111,114,46, >> 108,117,97,58,52,58,32,117,110,101,120,112,101,99,116,101,100,32,115,121,109,98,111,108,32,110,101,97,114,32,39,194,39} >> SendtoLog(string.char(unpack(errst))) >> >> May be it is related to character_set or encoding or whatever else >> >> Any help woould be appreciated >> victor >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into >> your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >> _______________________________________________ >> wxlua-users mailing list >> wxl...@li... >> https://lists.sourceforge.net/lists/listinfo/wxlua-users >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |
From: Victor B. <so...@te...> - 2013-12-27 14:12:49
|
of course it is not a problem with 194 only for i=0,255 do SendtoLog(i,string.char(i)) end only outputs from 0 to 127 ----- Original Message ----- From: "Victor Bombi" <so...@te...> To: <wxl...@li...> Sent: Thursday, December 26, 2013 5:39 PM Subject: [wxlua-users] character 194 > Hello, > > trying to post this lua error message to wxStyledTextCtrl: > > loadfile error:C:\LUA\lua2sc\samples\charactererror.lua:4: unexpected > symbol > near '┬' > > with AppendText I dont get any output. > The problem seems to be the character with ASC code 194 > > my test is something like > > errst = > {108,111,97,100,102,105,108,101,32,101,114,114,111,114,58,67,58,92,76,85,65,92,108,117,97, > 50,115,99,92,115,97,109,112,108,101,115,92,99,104,97,114,97,99,116,101,114,101,114,114,111,114,46, > 108,117,97,58,52,58,32,117,110,101,120,112,101,99,116,101,100,32,115,121,109,98,111,108,32,110,101,97,114,32,39,194,39} > SendtoLog(string.char(unpack(errst))) > > May be it is related to character_set or encoding or whatever else > > Any help woould be appreciated > victor > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |
From: Milind G. <mil...@gm...> - 2013-12-26 20:26:53
|
Hi John, Any possibility that wxRichTextCtrl can be sneaked in there as well? I spent some time on it but I guess I am just not good with compiling wxlua on my PC. Thanks, Milind On Wed, Dec 25, 2013 at 8:06 PM, Paul K <pau...@ya...> wrote: > Hi John, > > > Yes, and for the other things too, but not before the new year when > things settle down for me. > > Sounds good; thank you. I'll be rebuilding all the binaries with > wxwidgets 3.0 and it will be a good time to get all the new > functionality. Happy holidays! > > Paul. > > On Wed, Dec 25, 2013 at 5:36 PM, John Labenski <jla...@gm...> > wrote: > > On Wed, Dec 25, 2013 at 1:42 AM, Paul K <pau...@ya...> wrote: > >> > >> Hi John, > >> > >> Would it be possible to add a binding for wxRegKey: > >> http://docs.wxwidgets.org/trunk/classwx_reg_key.html? Thank you! > >> > > > > Yes, and for the other things too, but not before the new year when > things > > settle down for me. > > > > Regards, > > John > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |
From: Victor B. <so...@te...> - 2013-12-26 16:39:39
|
Hello, trying to post this lua error message to wxStyledTextCtrl: loadfile error:C:\LUA\lua2sc\samples\charactererror.lua:4: unexpected symbol near '┬' with AppendText I dont get any output. The problem seems to be the character with ASC code 194 my test is something like errst = {108,111,97,100,102,105,108,101,32,101,114,114,111,114,58,67,58,92,76,85,65,92,108,117,97, 50,115,99,92,115,97,109,112,108,101,115,92,99,104,97,114,97,99,116,101,114,101,114,114,111,114,46, 108,117,97,58,52,58,32,117,110,101,120,112,101,99,116,101,100,32,115,121,109,98,111,108,32,110,101,97,114,32,39,194,39} SendtoLog(string.char(unpack(errst))) May be it is related to character_set or encoding or whatever else Any help woould be appreciated victor |
From: Paul K <pau...@ya...> - 2013-12-26 04:06:52
|
Hi John, > Yes, and for the other things too, but not before the new year when things settle down for me. Sounds good; thank you. I'll be rebuilding all the binaries with wxwidgets 3.0 and it will be a good time to get all the new functionality. Happy holidays! Paul. On Wed, Dec 25, 2013 at 5:36 PM, John Labenski <jla...@gm...> wrote: > On Wed, Dec 25, 2013 at 1:42 AM, Paul K <pau...@ya...> wrote: >> >> Hi John, >> >> Would it be possible to add a binding for wxRegKey: >> http://docs.wxwidgets.org/trunk/classwx_reg_key.html? Thank you! >> > > Yes, and for the other things too, but not before the new year when things > settle down for me. > > Regards, > John |
From: John L. <jla...@gm...> - 2013-12-26 01:37:03
|
On Wed, Dec 25, 2013 at 1:42 AM, Paul K <pau...@ya...> wrote: > Hi John, > > Would it be possible to add a binding for wxRegKey: > http://docs.wxwidgets.org/trunk/classwx_reg_key.html? Thank you! > > Yes, and for the other things too, but not before the new year when things settle down for me. Regards, John |
From: Paul K <pau...@ya...> - 2013-12-25 06:42:38
|
Hi John, Would it be possible to add a binding for wxRegKey: http://docs.wxwidgets.org/trunk/classwx_reg_key.html? Thank you! Paul. |
From: Paul K <pau...@ya...> - 2013-12-24 17:38:37
|
Hi John, I'm looking for a way to provide MacNewFile, MacOpenFiles, and MacReopenApp methods (http://docs.wxwidgets.org/trunk/classwx_app.html), but can't figure out how to do this in wxlua and don't see this in any of the examples. Can these be used somehow or do they need to be added to the bindings? Paul. |
From: Paul K <pau...@ya...> - 2013-12-13 21:20:31
|
Hi John, Would it be possible to add CallAfter (http://wxwidgets.blogspot.com/2013/01/about-benefits-of-procrastination.html) and wxSTC:GetLibraryVersionInfo calls? Thank you. Paul. |
From: John L. <jla...@gm...> - 2013-12-04 20:21:00
|
On Wed, Dec 4, 2013 at 3:06 PM, Victor Bombi <so...@te...> wrote: > Hello > > Is there in wxlua a way to Connect afunction to all mouse events? > I get nil for w.wxEVT_MOUSE_EVENTS > > No, EVT_MOUSE_EVENTS is a C++ macro that expands into a Connect() for all the mouse event types which can't easily be duplicated. However, I prefer to connect to only the needed events. Note that you can call Connect() multiple times with the same Lua function to get similar behavior and be careful to minimize the work done in that function to avoid any sluggishness in the GUI. For reference: http://wxwidgets.10942.n7.nabble.com/EVT-MOUSE-EVENTS-func-and-wxEVT-MOUSE-EVENTS-td84404.html Regards, John |
From: Victor B. <so...@te...> - 2013-12-04 20:06:12
|
Hello Is there in wxlua a way to Connect afunction to all mouse events? I get nil for w.wxEVT_MOUSE_EVENTS Best victor |
From: ND <na...@ma...> - 2013-12-02 14:31:16
|
Good day! Is there a wxRichTextTable class available in wxLua? If no, are there possibility to add it? Thanks a lot. |
From: Andreas F. <an...@fa...> - 2013-11-25 14:23:34
|
On 25.11.2013 at 05:17 John Labenski wrote: > On Sun, Nov 24, 2013 at 5:13 AM, Andreas Falkenhahn <an...@fa...> wrote: > > Hi John, > > >>> I'm trying to port some C++ code to wxLua that derives a new class from >>> wxTextCtrl and then overrides the OnRightClick() method of this class >>> to do some custom stuff when the user presses RMB over the widget. >> Catch EVT_RIGHT_UP and call event.Skip() for normal processing. >> Calling virtual functions like this is discouraged and may not >> continue to work in the future for all platforms. > > Tried it like this but it doesn't work: > > frame:Connect(100, wx.wxEVT_RIGHT_UP, function(e) print("hello") end) > > > What is supposed to happen? wxWidgets 2.8 and 3.0 don't seem to > have a OnRightClick() function at all. Right, sorry, I've overlooked the fact that the code I'm trying to port to wxLua doesn't actually override OnRightClick() but connects an event handler to EVT_RIGHT_UP like this: BEGIN_EVENT_TABLE(WidgetsTextCtrl, wxTextCtrl) EVT_RIGHT_UP(WidgetsTextCtrl::OnRightClick) END_EVENT_TABLE() So the code in wxLua has to look like this: textCtrl:Connect(wx.wxEVT_RIGHT_UP, function(e) print("hello") end) Then it works fine. -- Best regards, Andreas Falkenhahn mailto:an...@fa... |
From: John L. <jla...@gm...> - 2013-11-25 04:17:47
|
On Sun, Nov 24, 2013 at 5:13 AM, Andreas Falkenhahn <an...@fa...>wrote: > Hi John, > > > >> I'm trying to port some C++ code to wxLua that derives a new class from > >> wxTextCtrl and then overrides the OnRightClick() method of this class > >> to do some custom stuff when the user presses RMB over the widget. > > Catch EVT_RIGHT_UP and call event.Skip() for normal processing. > > Calling virtual functions like this is discouraged and may not > > continue to work in the future for all platforms. > > Tried it like this but it doesn't work: > > frame:Connect(100, wx.wxEVT_RIGHT_UP, function(e) print("hello") end) > > > What is supposed to happen? wxWidgets 2.8 and 3.0 don't seem to have a OnRightClick() function at all. http://svn.wxwidgets.org/viewvc/wx/wxWidgets/trunk/include/wx/textctrl.h?view=markup http://svn.wxwidgets.org/viewvc/wx/wxWidgets/trunk/include/wx/msw/textctrl.h?view=markup ... http://svn.wxwidgets.org/viewvc/wx/wxWidgets/branches/WX_2_8_BRANCH/include/wx/textctrl.h?view=markup http://svn.wxwidgets.org/viewvc/wx/wxWidgets/branches/WX_2_8_BRANCH/include/wx/msw/textctrl.h?view=markup ... Regards, John |
From: Paul K <pau...@ya...> - 2013-11-24 17:58:59
|
Hi Lucas, > I wonder if there is any debugger done in wx.lua that have function Step In > Step out.Tenho wxLua on a project at my college (UFOP) in Brazil and need such > a function to be used in my code. Yes, there is an example in samples/editor.wx.lua, which implements step-in and step-out commands. I have also developed an IDE roughly based on that example, which implemented that functionality using MobDebug (instead of the debugger components that come with wxlua); more details here: http://www.freelists.org/post/zerobrane/Step-In-Step-Out-in-LUA,1 Paul. |
From: Paul K <pau...@ya...> - 2013-11-24 17:54:44
|
Hi Andreas, > My control is a wxTextCtrl so I don't think the tree ctrl events will work > on them... My bad; I misread wxTextCtrl as wxTreeCtrl. Apologies for the noise. Paul. |
From: Lucas S. <luc...@ya...> - 2013-11-24 16:15:14
|
Hello, I wonder if there is any debugger done in wx.lua that have function Step In Step out.Tenho wxLua on a project at my college (UFOP) in Brazil and need such a function to be used in my code. |
From: Andreas F. <an...@fa...> - 2013-11-24 10:12:16
|
Hi John, On 24.11.2013 at 06:44 John Labenski wrote: > On Nov 23, 2013 4:30 PM, "Andreas Falkenhahn" <an...@fa...> wrote: >> Hi, >> I'm trying to port some C++ code to wxLua that derives a new class from >> wxTextCtrl and then overrides the OnRightClick() method of this class >> to do some custom stuff when the user presses RMB over the widget. > Catch EVT_RIGHT_UP and call event.Skip() for normal processing. > Calling virtual functions like this is discouraged and may not > continue to work in the future for all platforms. Tried it like this but it doesn't work: frame:Connect(100, wx.wxEVT_RIGHT_UP, function(e) print("hello") end) (100 is the ID of the wxTextCtrl) >> Is it possible to do this in wxLua as well? I tried the following but >> it didn't work: >> local ctrl = wx.wxTextCtrl(...) >> ctrl.OnRightClick = function(event) print("test") end > C++ requires you to subclass and override all virtual functions. > The speed/size overhead to do this for all classes/functions would > be enormous so wxLua only does this where absolutely necessary. > John Ok, makes sense. -- Best regards, Andreas Falkenhahn mailto:an...@fa... |
From: Andreas F. <an...@fa...> - 2013-11-24 10:11:02
|
Hi Paul, On 24.11.2013 at 02:12 Paul K wrote: > Hi Andreas, >> I'm trying to port some C++ code to wxLua that derives a new class from >> wxTextCtrl and then overrides the OnRightClick() method of this class >> to do some custom stuff when the user presses RMB over the widget. > I'm using wxEVT_COMMAND_TREE_ITEM_MENU; I think there is also > TREE_ITEM_RIGHT_CLICK, but the first one works well for me (I'm using > it to generate a context menu). Or did I misunderstand what you are > trying to do? My control is a wxTextCtrl so I don't think the tree ctrl events will work on them... -- Best regards, Andreas Falkenhahn mailto:an...@fa... |