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: Andre A. <ar...@ki...> - 2012-09-09 23:16:46
|
The sln do not seem to match the file new location. ex: E:\wxWidgets\wxLua\apps\wxlua\src\wxlua.cpp instead of E:\wxWidgets\wxLua\apps\wxlua\wxlua.cpp is generated by cmake Andre |
From: Milind G. <mil...@gm...> - 2012-09-06 18:53:59
|
Hello, I have a script called many2one.lua in the Karm<http://karm.amved.com>code. The script basically takes your main lua program file and a list of other lua files that your main file may be including as require. It generates a single lua file with all the lua files combined into one so it becomes easy to distribute it as s single file. For Karm I used that single lua file with wxluafreeze to generate a single executable for windows and linux. This technique might be helpful to others who have their projects in multiple lua files and need to distribute them more compactly. Do have a look at it if you find it interesting. Regards, Milind |
From: John L. <jla...@gm...> - 2012-09-06 03:21:37
|
On Wed, Sep 5, 2012 at 3:20 PM, klaas.holwerda <ng...@kl...> wrote: > Hi John, > > I manged to compile on Redhat6, and get the following libraries: > >> ls *wxlua* > libwxlua_gtk2u_wxbindbase-2.9.a libwxlua_gtk2u_wxbindxml-2.9.a > libwxlua_gtk2u_wxluadebug-2.9.a > libwxlua_gtk2u_wxbindcore-2.9.a libwxlua_gtk2u_wxlua-2.9.a > libwxlua_gtk2u_wxluasocket-2.9.a > > > Now i get errors on this macro: > WXLUA_IMPLEMENT_BIND_STD > > CMakeFiles/sample_editor_wires.dir/wires.cpp.o: In function > `MyApp::OnInit()': > /thales/thales_localdata/db348/soft/trunk/wxArt2D/packages/wxart2d/samples/editor/wires/wires.cpp:1519: > undefined reference to `wxLuaBinding_wxadv_init()' > /thales/thales_localdata/db348/soft/trunk/wxArt2D/packages/wxart2d/samples/editor/wires/wires.cpp:1519: > undefined reference to `wxLuaBinding_wxnet_init()' > > Replace it by: > > WXLUA_IMPLEMENT_BIND_WXLUA > WXLUA_IMPLEMENT_BIND_WXBASE > WXLUA_IMPLEMENT_BIND_WXCORE > > it compiles fine. > > In #include "wxbind/include/wxbinddefs.h" i get the idea both adv and net > are enabled. > So i don't know what i am missing. > > You have an idea? There's a few things that might be happening. You can set this variable in CMake to set the binding libraries that will be compiled : wxLuaBind_COMPONENTS = gl;stc;xrc;richtext;html;media;aui;adv;core;xml;net;base you must have only these ? wxLuaBind_COMPONENTS = core;xml;base If you specify more wxLua bindings libs than you have wxWidgets_COMPONENTS the list will be trimmed down to match the wxWidgets_COMPONENTS and a warning given. You should also see these in your CMakeCache.txt file in the root of the build dir: -DwxLUA_USEBINDING_WXADV=1;-DwxLUA_USEBINDING_WXCORE=1;-DwxLUA_USEBI... etc. I see now that I did not export the defines above. Update SVN and if you import/include the build/wxLua-config.cmake file you will now have a SETUP_wxLua() macro to call or you can use the wxLua_CXX_DEFINITIONS variable yourself by setting the CXX_FLAGS for your target. See the bottom of that file for more info. Regards, John |
From: klaas.holwerda <ng...@kl...> - 2012-09-05 19:47:24
|
Hi John, I manged to compile on Redhat6, and get the following libraries: > ls*wxlua* libwxlua_gtk2u_wxbindbase-2.9.a libwxlua_gtk2u_wxbindxml-2.9.a libwxlua_gtk2u_wxluadebug-2.9.a libwxlua_gtk2u_wxbindcore-2.9.a libwxlua_gtk2u_wxlua-2.9.a libwxlua_gtk2u_wxluasocket-2.9.a Now i get errors on this macro: WXLUA_IMPLEMENT_BIND_STD CMakeFiles/sample_editor_wires.dir/wires.cpp.o: In function `MyApp::OnInit()': /thales/thales_localdata/db348/soft/trunk/wxArt2D/packages/wxart2d/samples/editor/wires/wires.cpp:1519: undefined reference to `wxLuaBinding_wxadv_init()' /thales/thales_localdata/db348/soft/trunk/wxArt2D/packages/wxart2d/samples/editor/wires/wires.cpp:1519: undefined reference to `wxLuaBinding_wxnet_init()' Replace it by: WXLUA_IMPLEMENT_BIND_WXLUA WXLUA_IMPLEMENT_BIND_WXBASE WXLUA_IMPLEMENT_BIND_WXCORE it compiles fine. In #include "wxbind/include/wxbinddefs.h" i get the idea both adv and net are enabled. So i don't know what i am missing. You have an idea? Klaas |
From: John L. <jla...@gm...> - 2012-09-05 03:46:32
|
On Tue, Sep 4, 2012 at 2:35 PM, Milind Gupta <mil...@gm...> wrote: > Hello Everybody, > I would like to introduce Karm an application I wrote in wxLua for > Task and Project Management. This list has helped me a lot (special thanks It looks great, thanks for sharing. Regards, John |
From: Milind G. <mil...@gm...> - 2012-09-04 19:49:30
|
Sorry for the wrong link: The link to the website is http://karm.amved.com. Thanks Paul for noticing that. Regards, Milind On Tue, Sep 4, 2012 at 11:35 AM, Milind Gupta <mil...@gm...>wrote: > Hello Everybody, > I would like to introduce Karm an application I wrote in wxLua for > Task and Project Management. This list has helped me a lot (special thanks > to John and Paul) with the problems I faced. I am not a professional > programmer and Karm started off as something I used in my own projects but > I thought of polishing the loose ends a bit and releasing it as open > source. > > Karm is a easy to use task management system which can be used from > a simple to do list to a highly complicated project management system with > lots of activities. > > - Using Lua provides advantages and Karm provides full support to > write your own scripts or Macros to customize Karm and its behavior the way > you want > - It is very easy to use, and can be made easier by adding custom > commands in the Menu structure > - It brings a refreshing change from all proprietory task management > systems and those open source systems which do not do it the way you want > - The more you use it and customize it the more it becomes like your > personal assistant that makes your life more organized and stress free > - It is designed keeping in mind to be used for Distributed Task > Management where tasks can be distributed to people who are responsible for > it and their updates are synced to the main repository and status updates > are seen immediately > > > I would like to invite everybody to glance at the project either to > try it out or even to just see another interesting project in wxLua. Also > since many people here are good programmers I would love to get some > feedback and improvement suggestion. > > I have created a website for it: http://www.karm.amved.com. There > is a wiki <http://wiki.karm.amved.com> and a forum<http://forum.karm.amved.com> for > discussions and resolving problems that may be useful. The code in on > googlecode for people who are interested: http://code.google.com/p/karm/ > > > Thanks and Regards, > Milind > > |
From: Milind G. <mil...@gm...> - 2012-09-04 18:35:42
|
Hello Everybody, I would like to introduce Karm an application I wrote in wxLua for Task and Project Management. This list has helped me a lot (special thanks to John and Paul) with the problems I faced. I am not a professional programmer and Karm started off as something I used in my own projects but I thought of polishing the loose ends a bit and releasing it as open source. Karm is a easy to use task management system which can be used from a simple to do list to a highly complicated project management system with lots of activities. - Using Lua provides advantages and Karm provides full support to write your own scripts or Macros to customize Karm and its behavior the way you want - It is very easy to use, and can be made easier by adding custom commands in the Menu structure - It brings a refreshing change from all proprietory task management systems and those open source systems which do not do it the way you want - The more you use it and customize it the more it becomes like your personal assistant that makes your life more organized and stress free - It is designed keeping in mind to be used for Distributed Task Management where tasks can be distributed to people who are responsible for it and their updates are synced to the main repository and status updates are seen immediately I would like to invite everybody to glance at the project either to try it out or even to just see another interesting project in wxLua. Also since many people here are good programmers I would love to get some feedback and improvement suggestion. I have created a website for it: http://www.karm.amved.com. There is a wiki <http://wiki.karm.amved.com> and a forum<http://forum.karm.amved.com> for discussions and resolving problems that may be useful. The code in on googlecode for people who are interested: http://code.google.com/p/karm/ Thanks and Regards, Milind |
From: Paul K <pau...@ya...> - 2012-09-04 01:47:25
|
(crossposting to wxlua-users as this is a wxlua-based application; thanks to John Labenski for all the support and assistance with wxlua upgrade.) ZeroBrane Studio is a lightweight Lua IDE with code completion, syntax highlighting, live coding, remote debugger, code analyzer, and hypertext/markdown formatting support for integrating learning materials (examples and demos provided). Thanks to everyone who provided feedback and suggestions. Here is the summary with the most important changes (full changelog: https://github.com/pkulchenko/ZeroBraneStudio/blob/master/CHANGELOG.md): - Added Unicode support for file encoding and file paths on Windows (fixes #30). - Added Moai integration and debugging (including debugging of Moai threads and callbacks). - Added refresh of Stack and Watch windows after executing a statement in remote shell. - Added display of complex values on multiple lines in shell with '='. - Added calltip on mouseover for functions during editing and for variables/expressions during debugging. - Added configuration options to set paths to lua and love2d executables. - Added support for coroutine debugging with stepping through coroutine.resume/.yield calls. - Updated wx.dll to wxlua 2.8.12.2 and wxwidgets 2.8.12. - Signed zbstudio app and executable to avoid issues with files not being saved without admin privileges and to remove warning about 'unknown publisher' on windows (fixes #25). There were several changes to improve running on Linux, but more complete Linux support is still work in progress. I also posted a screencast that shows live coding with Löve: http://notebook.kulchenko.com/zerobrane/live-coding-with-love; here is a similar screencast with a demo running on OSX: http://nikdudnik.com/post/30067678839/ive-spent-last-day-looking-for-a-suitable (Nikita only saw mine after he published his screencast). The code and the packages (.dmg, .exe, and .zip) are available on github: https://github.com/pkulchenko/ZeroBraneStudio/downloads. Paul. |
From: Milind G. <mil...@gm...> - 2012-08-31 05:19:33
|
Thanks Yes AddPendingEvent scheme worked. I am getting the scroll bar position from the window Regards, Milind On Thu, Aug 30, 2012 at 8:46 PM, John Labenski <jla...@gm...> wrote: > On Wed, Aug 29, 2012 at 2:48 PM, Milind Gupta <mil...@gm...> > wrote: > > Hi, > > I have 2 wxGrid windows side by side and I want to synchronize > the > > scroll on the 2 windows. The scroll event works fine but when I read the > > scroll position of the window and set the scroll on the other window it > does > > not sync up. There is a lag. It seems that the actual scroll happens > after > > my event handler is processed so my other window always gets to the > position > > where the 1st one was before. > > Where are you getting the scroll position from? The event or the > window itself? You should compare the two. > > > Is there a way to let the scroll happen and then read the scroll > position? > > The wxWidgets forum said that there is a hidden function called > > HandleOnScroll, which I tried but it does not work in wxLua. Is there any > > other way? > > If you want to process something after an event comes, create a new > event with whatever event type you want and a unique id you can use to > discriminate it and add it as a pending event to be sent after the > current event is handled. > > local updateEvent = wx.wxCommandEvent(wx.wxEVT_COMMAND_BUTTON_CLICKED, > ID_REFRESH_GRID_SCROLL); > mywindow:GetEventHandler():AddPendingEvent(updateEvent); > > then when you get this event in your handler for it, sync the scrollbars. > > Regards, > John > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |
From: John L. <jla...@gm...> - 2012-08-31 03:46:12
|
On Wed, Aug 29, 2012 at 2:48 PM, Milind Gupta <mil...@gm...> wrote: > Hi, > I have 2 wxGrid windows side by side and I want to synchronize the > scroll on the 2 windows. The scroll event works fine but when I read the > scroll position of the window and set the scroll on the other window it does > not sync up. There is a lag. It seems that the actual scroll happens after > my event handler is processed so my other window always gets to the position > where the 1st one was before. Where are you getting the scroll position from? The event or the window itself? You should compare the two. > Is there a way to let the scroll happen and then read the scroll position? > The wxWidgets forum said that there is a hidden function called > HandleOnScroll, which I tried but it does not work in wxLua. Is there any > other way? If you want to process something after an event comes, create a new event with whatever event type you want and a unique id you can use to discriminate it and add it as a pending event to be sent after the current event is handled. local updateEvent = wx.wxCommandEvent(wx.wxEVT_COMMAND_BUTTON_CLICKED, ID_REFRESH_GRID_SCROLL); mywindow:GetEventHandler():AddPendingEvent(updateEvent); then when you get this event in your handler for it, sync the scrollbars. Regards, John |
From: John L. <jla...@gm...> - 2012-08-31 03:35:30
|
On Thu, Aug 30, 2012 at 11:27 PM, John Labenski <jla...@gm...> wrote: > On Wed, Aug 29, 2012 at 4:47 PM, Milind Gupta <mil...@gm...> wrote: >> Hello, >> I was having this problem where the exe I created from wxluafreeze >> would not run since it was not able to find the dll file that I was >> requiring in the code. The dll was in the same directory as the exe. >> Strangely the problem got fixed when I put lua51.dll in the same directory >> as the exe as well. Is there any particular reason it behaves this way? To answer your question; I believe that previously I had not fully made it possible to build staticly and that is why it depends on it. The program depends22, dependency walker lets you view dll dependences in Windows as ldd does in Linux. http://www.dependencywalker.com/ Regards, John |
From: John L. <jla...@gm...> - 2012-08-31 03:27:54
|
On Wed, Aug 29, 2012 at 4:47 PM, Milind Gupta <mil...@gm...> wrote: > Hello, > I was having this problem where the exe I created from wxluafreeze > would not run since it was not able to find the dll file that I was > requiring in the code. The dll was in the same directory as the exe. > Strangely the problem got fixed when I put lua51.dll in the same directory > as the exe as well. Is there any particular reason it behaves this way? To make a completely standalone app you want: BUILD_SHARED_LIBS=FALSE wxLua_LUA_LIBRARY_BUILD_SHARED=FALSE and, of course, you need wxWidgets built staticly, too. That way everything will be staticly linked into a single executable. Regards, John |
From: John L. <jla...@gm...> - 2012-08-31 03:23:37
|
On Thu, Aug 30, 2012 at 1:38 AM, Milind Gupta <mil...@gm...> wrote: > Hi John, > Thanks for the explanation below. Is it possible to put all the > shared libraries into 1 so that I can create a single file application with > wxluafreeze in linux? To build a standalone app with wxLuaFreeze you'll want to build staticly. Again, you can use "ldd appname" to see what libs it depends on. Regards, John |
From: SourceForge.net <no...@so...> - 2012-08-30 08:34:59
|
Bugs item #3563204, was opened at 2012-08-30 01:34 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3563204&group_id=140042 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interface (example) Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: wKfBq8 <a href="http://weyibzdxylsc.com/">weyibzdxylsc</a>, Initial Comment: wKfBq8 <a href="http://weyibzdxylsc.com/">weyibzdxylsc</a>, [url=http://rzhcawkynhxv.com/]rzhcawkynhxv[/url], [link=http://mxrerlfynkqs.com/]mxrerlfynkqs[/link], http://clvjnlwdzhue.com/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3563204&group_id=140042 |
From: Milind G. <mil...@gm...> - 2012-08-30 05:38:47
|
Hi John, Thanks for the explanation below. Is it possible to put all the shared libraries into 1 so that I can create a single file application with wxluafreeze in linux? Regards, Milind On Sun, Aug 19, 2012 at 7:48 PM, John Labenski <jla...@gm...> wrote: > On Fri, Aug 17, 2012 at 2:52 AM, Milind Gupta <mil...@gm...> > wrote: > > Hi, > > I used wxluafreeze to convert my application to an executable > file in > > linux. But I see that the wx.so file that I have in linux is 446KB while > in > > windows wx.dll was 5.7MB and there is a similar difference between my > > application size. Is this right? Do the wx libraries have such a big size > > difference or is there something missing in my linux library. > > You're probably building all shared libraries? This means that wx.so > links to the other wxLua libraries and wxWidgets libraries which > contain all the code. This is the typical Linux model where these > shared libs can be linked to by many apps or other libs reducing the > overall size of all the apps/libs on disk. > > Run "ldd wx.so" to see what libs it depends on. > > I decided to try to put everything into the wx.dll for Windows since > having a whole bunch of shared libs is more trouble since the DLLs > have to be in the path or same dir and "Windows people" are not as > used to seeing a whole bunch of shared libs along with the app. > > Regards, > John > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |
From: Milind G. <mil...@gm...> - 2012-08-29 20:48:05
|
Hello, I was having this problem where the exe I created from wxluafreeze would not run since it was not able to find the dll file that I was requiring in the code. The dll was in the same directory as the exe. Strangely the problem got fixed when I put lua51.dll in the same directory as the exe as well. Is there any particular reason it behaves this way? Thanks, Milind |
From: Milind G. <mil...@gm...> - 2012-08-29 20:13:38
|
Hi, So I still get the problem where my wxluafreeze created exe cannot locate the dll file in the same directory. It has to do with something how windows launches the exe and maybe sets it to a different default run directory. Does anybody have a idea about this? Thanks, Milind On Thu, Aug 16, 2012 at 11:39 PM, Milind Gupta <mil...@gm...>wrote: > Thanks I will re check that if I get access to that computer again. > > On Thu, Aug 16, 2012 at 8:01 PM, John Labenski <jla...@gm...>wrote: > >> On Thu, Aug 16, 2012 at 1:54 PM, Milind Gupta <mil...@gm...> >> wrote: >> > Hi, >> > I have made this lua application using wxLua and I created an exe >> using >> > wxluafreeze. The program requires a LuaXML_lib.dll/so file. Both files I >> > have put in the same directory as the exe. Also in my lua code the 1st >> thing >> > I do is to set package.cpath = ";./?.dll;./?.so". It works fine on my >> > computer but on one computer it was not able to find the >> LuaXML_lib.dll. How >> > do I fix this? >> >> To be sure, the problem is on windows? And the two machines both have >> the same version, XP or 7? >> >> If everything is the same I cannot think of any reason why it would >> find it on one and not the other. I would double/triple check that the >> files really are the same or that there isn't some difference in the >> permissions, though MSWindows seems to ignore them for the most part. >> >> Regards, >> John >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> wxlua-users mailing list >> wxl...@li... >> https://lists.sourceforge.net/lists/listinfo/wxlua-users >> > > |
From: Milind G. <mil...@gm...> - 2012-08-29 18:48:36
|
Hi, I have 2 wxGrid windows side by side and I want to synchronize the scroll on the 2 windows. The scroll event works fine but when I read the scroll position of the window and set the scroll on the other window it does not sync up. There is a lag. It seems that the actual scroll happens after my event handler is processed so my other window always gets to the position where the 1st one was before. Is there a way to let the scroll happen and then read the scroll position? The wxWidgets forum said that there is a hidden function called HandleOnScroll, which I tried but it does not work in wxLua. Is there any other way? Thanks, Milind |
From: SourceForge.net <no...@so...> - 2012-08-29 18:34:55
|
Bugs item #3562932, was opened at 2012-08-29 11:34 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3562932&group_id=140042 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: v1.0 (example) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: HML1mJ <a href="http://fcypybnsbule.com/">fcypybnsbule</a>, Initial Comment: HML1mJ <a href="http://fcypybnsbule.com/">fcypybnsbule</a>, [url=http://omutsjnthgbo.com/]omutsjnthgbo[/url], [link=http://vdpfsevgiqcg.com/]vdpfsevgiqcg[/link], http://pcsgjfkdsujd.com/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3562932&group_id=140042 |
From: John L. <jla...@gm...> - 2012-08-29 03:11:36
|
On Mon, Aug 27, 2012 at 6:37 PM, Milind Gupta <mil...@gm...> wrote: > Hi, > I have a lua program in which I load a lua script as a string > (loadstring) and then execute it. Is it possible to debug this script in > wxLua.exe? How would I add a breakpoint in there? > Open your program in wxLua by calling. $ wxLua -o program.lua The Debug menu has items for executing and debugging it. To set breakpoints click on the margin and red squares appear, be sure to put them on code lines. Then click Debug->Start Debugging and a green arrow appears on the line where the debugger is stopped. Press F11 to step, click "View call stack" to view the stack and browse all variables in Lua, you can also set watches to print variable values (when they're in scope). Regards, John |
From: Milind G. <mil...@gm...> - 2012-08-28 20:36:29
|
Thanks Paul, Yes I see that I need to have it in a separate file and then it works. Regards, Milind On Mon, Aug 27, 2012 at 5:41 PM, Paul K <pau...@ya...> wrote: > Hi Milind, > > I quickly tried that in wxLua, but couldn't figure out how to specify > the folder to run scripts in so that loadfile and io.open would work. > > I also tried to do this in ZeroBrane Studio > (https://github.com/pkulchenko/ZeroBraneStudio) and it seems like it > may work for you (the IDE is wxlua based). I'm not sure what your code > looks like, but let's say you have loadedfile.lua script that you are > trying to load and it has the following lines: > > -- loadedfile.lua > print "123" > print "456" > function foo() > print "foo" > end > > You also have loadfile.lua script which has something like this: > > -- loadfile.lua > --local func = loadfile('loadedfile.lua') > local f = assert(io.open('loadedfile.lua')) > local str = f:read('*all') > f:close() > local func = loadstring(str, 'loadedfile.lua') > func() > foo() > print 'Done' > > If you open both of these files in ZeroBrane Studio and start > debugging with loadfile.lua being in the active editor window, you > should be able to step through both of them. You can also set a > breakpoint on either of the files and it should work. > > Note that I added "loadedfile.lua" as a parameter for loadstring(), > which informs the debug interface as to where to search for the source > code. > > Paul. > > On Mon, Aug 27, 2012 at 3:37 PM, Milind Gupta <mil...@gm...> > wrote: > > Hi, > > I have a lua program in which I load a lua script as a string > > (loadstring) and then execute it. Is it possible to debug this script in > > wxLua.exe? How would I add a breakpoint in there? > > > > Thanks, > > Milind > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > wxlua-users mailing list > > wxl...@li... > > https://lists.sourceforge.net/lists/listinfo/wxlua-users > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |
From: Paul K <pau...@ya...> - 2012-08-28 00:41:46
|
Hi Milind, I quickly tried that in wxLua, but couldn't figure out how to specify the folder to run scripts in so that loadfile and io.open would work. I also tried to do this in ZeroBrane Studio (https://github.com/pkulchenko/ZeroBraneStudio) and it seems like it may work for you (the IDE is wxlua based). I'm not sure what your code looks like, but let's say you have loadedfile.lua script that you are trying to load and it has the following lines: -- loadedfile.lua print "123" print "456" function foo() print "foo" end You also have loadfile.lua script which has something like this: -- loadfile.lua --local func = loadfile('loadedfile.lua') local f = assert(io.open('loadedfile.lua')) local str = f:read('*all') f:close() local func = loadstring(str, 'loadedfile.lua') func() foo() print 'Done' If you open both of these files in ZeroBrane Studio and start debugging with loadfile.lua being in the active editor window, you should be able to step through both of them. You can also set a breakpoint on either of the files and it should work. Note that I added "loadedfile.lua" as a parameter for loadstring(), which informs the debug interface as to where to search for the source code. Paul. On Mon, Aug 27, 2012 at 3:37 PM, Milind Gupta <mil...@gm...> wrote: > Hi, > I have a lua program in which I load a lua script as a string > (loadstring) and then execute it. Is it possible to debug this script in > wxLua.exe? How would I add a breakpoint in there? > > Thanks, > Milind > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |
From: Milind G. <mil...@gm...> - 2012-08-27 22:37:14
|
Hi, I have a lua program in which I load a lua script as a string (loadstring) and then execute it. Is it possible to debug this script in wxLua.exe? How would I add a breakpoint in there? Thanks, Milind |
From: John L. <jla...@gm...> - 2012-08-23 03:47:29
|
On Sun, Aug 19, 2012 at 11:07 PM, Paul K <pau...@ya...> wrote: > Hi John, > >> Does wx.wxFileName.FileExists("SomethingInThatDir.txt") work, showing >> that SetCwd() worked? >> If so then, it'd be a problem with GetCwd(), but I cannot think of any >> reason why it wouldn't work off the top of my head... > > yes, it does seem like the problem is with GetCwd, and it should be > easy to reproduce: > >> wx.wxFileName.SetCwd([[D:\Lua\下载\下载\]]); print(wx.wxFileName.FileExists("foo.lua")); print(wx.wxGetCwd()); print(wx.wxFileName.SetCwd(wx.wxGetCwd())) > true > D:\Lua\??\?? > false > > As you can see, the file is there, but using the result of GetCwd to > set it as the current folder fails (returns "false" the second time). Hummm, I can't get to Windows machine right now, but I wonder if it's something to do with the conversion to a Lua ansi string rather than wxGetCwd() not returning the right value. Try this: s = wx.wxString([[D:\Lua\下载\下载\]]) print(s:GetData()) s2 = s:GetData() print(s2) Regards, John |
From: Paul K <pau...@ya...> - 2012-08-20 03:07:10
|
Hi John, > Using the unicode build right? Yes. Everything else Unicode-related is working as far as I can tell. > Does wx.wxFileName.FileExists("SomethingInThatDir.txt") work, showing > that SetCwd() worked? > If so then, it'd be a problem with GetCwd(), but I cannot think of any > reason why it wouldn't work off the top of my head... yes, it does seem like the problem is with GetCwd, and it should be easy to reproduce: > wx.wxFileName.SetCwd([[D:\Lua\下载\下载\]]); print(wx.wxFileName.FileExists("foo.lua")); print(wx.wxGetCwd()); print(wx.wxFileName.SetCwd(wx.wxGetCwd())) true D:\Lua\??\?? false As you can see, the file is there, but using the result of GetCwd to set it as the current folder fails (returns "false" the second time). Paul. On Sun, Aug 19, 2012 at 7:53 PM, John Labenski <jla...@gm...> wrote: > On Thu, Aug 16, 2012 at 11:24 AM, Paul K <pau...@ya...> wrote: >> It seems like I can't get a proper unicode path from GetCwd() on >> windows using wxLua 2.8.12.2. > > Using the unicode build right? > >> I'm running the following code: >> >> wx.wxFileName.SetCwd("D:\\Lua\\下载\\"); print(wx.wxFileName.GetCwd()) >> >> and this prints "D:\Lua\??" whereas I expect the original path to be >> printed. SetCwd() returns true. I look at some other calls, and others > > Does wx.wxFileName.FileExists("SomethingInThatDir.txt") work, showing > that SetCwd() worked? > > If so then, it'd be a problem with GetCwd(), but I cannot think of any > reason why it wouldn't work off the top of my head... > > Regards, > John > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users |