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
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
1
(1) |
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
(2) |
12
(5) |
13
|
14
(1) |
15
|
16
(6) |
17
(2) |
18
|
19
(4) |
20
(6) |
21
(8) |
22
(4) |
23
(4) |
24
(6) |
25
(6) |
26
(4) |
27
|
28
(1) |
29
(2) |
30
|
31
|
From: lostgallifreyan <los...@gm...> - 2009-10-22 08:40:27
|
>> Anyway, it seems the best thing to ask for is something simple, a template I can adapt. The two main purposes I can immediately think of are a GET method to fetch a web page so I can filter it and save it to file, then use wx.execute() to ask a browser to display it. An ideal extension of this would be a local web proxy that the brower would reach on 127.0.0.1. This proxy would be entirely written in wxLua and intercept the external input fetched from a server, and filter it as I want, so the browser then shows it as I need. > >Try to look for wxSocket examples. wxLua wraps all of these classes >and they send wxEvents containing the network data. I have not used >them extensively. > >http://docs.wxwidgets.org/stable/wx_wxsocketclient.html#wxsocketclient >http://wiki.wxwidgets.org/WxSocket > >Regards, > John > Thanks, those links show what looks like good starting points, and as the stuff is in wxLua it's worth me exploring this to use it. As to examples though, you do realise that this did occur to me, no? :) I searched for the string "socket" without case sensitivity, both on Google (in context of wxLua) and on the full set of wxLua samples. There is no example code anywhere that I know of. The only files that use that string are controls.wx.lua and editor.wx.lua and a quick look at those will show that the occurences have next to nothing to do with actual use of any sockets! Please can someone post a small template of actual wxLua code using sockets to connect to a web server for a simple HTML GET method? I'm not the first to ask a similar question, and I don't think the last person had an answer. This isn't some out-of-the-way function, I think this is something that really needs to be added to the main set of examples. If I work it out I'll write a small example but I don't know if anyone would trust my abilities enough to use it in the main set of examples, and I'm certainly not the right person to do this. It would far better be extracted from the core of an existing work by someone experienced in this. Any offers? |
From: Michael G. <sma...@ar...> - 2009-10-22 07:41:15
|
In article <a84...@ma...>, John Labenski <jla...@gm...> wrote: > On Wed, Oct 21, 2009 at 9:30 AM, Michael Gerbracht <sma...@ar...> > wrote: > > Is it possible to change the style of a TreeCtrl once it has been > > created. I want to make it user configurable whether lines are shown or > > not - so is there a was to set/unset wx.wxTR_NO_LINES ? > Unfortunately the styles do not take effect in MSW. You could Destroy() the > control and recreate it if you also store the data as a Lua table. > http://docs.wxwidgets.org/stable/wx_wxtreectrl.html#wxtreectrlsetwindowstyle I store the data in lua anyway so this should not be a problem. Or changes will just apply after a restart. Still I am not sure how to set the style upon creation. I use the following code to create it: local tree = wx.wxTreeCtrl(this, wx.wxID_ANY,wx.wxPoint(0,0), wx.wxSize(160,250),wx.wxTR_DEFAULT_STYLE + wx.wxTR_NO_LINES + wx.wxTR_HIDE_ROOT + wx.wxTR_MULTIPLE + wx.wxNO_BORDER); The styles are separated by a "+" sign, which is not standard lua so I do not know how to make a style optional. I tried to use a variable instead of "wx.wxTR_NO_LINES" and set it to either nil or "wx.wxTR_LINES". Both fail. One possibility might be to define two sets of styles, one including "wx.wxTR_NO_LINES" and the other one not. This works if you only want to make one style configuarable. Is there a better/more flexible way to define the styles? Thanks, Michael |
From: John L. <jla...@gm...> - 2009-10-21 19:21:00
|
On Wed, Oct 21, 2009 at 9:30 AM, Michael Gerbracht <sma...@ar...> wrote: > Sorry, but I have another question: > > Is it possible to change the style of a TreeCtrl once it has been created. I > want to make it user configurable whether lines are shown or not - so is > there a was to set/unset wx.wxTR_NO_LINES ? Unfortunately the styles do not take effect in MSW. You could Destroy() the control and recreate it if you also store the data as a Lua table. http://docs.wxwidgets.org/stable/wx_wxtreectrl.html#wxtreectrlsetwindowstyle Regards, John |
From: Michael G. <sma...@ar...> - 2009-10-21 13:44:15
|
Sorry, but I have another question: Is it possible to change the style of a TreeCtrl once it has been created. I want to make it user configurable whether lines are shown or not - so is there a was to set/unset wx.wxTR_NO_LINES ? thanks, Michael |
From: Michael G. <sma...@ar...> - 2009-10-21 11:12:47
|
In article <34e...@ma...>, Eero Pajarre <epa...@gm...> wrote: > On Wed, Oct 21, 2009 at 11:06 AM, Michael Gerbracht <sma...@ar...> > wrote: > > I have a follow up question now: I would like to use the same menu on > > different TreeCtrl panes so I need a way to find out on which of the > > windows the mouse button was pressed. > I would probably bind a different function to different panes, and launch > the same menu from it. (Or maybe use a function which generates the menu on > demand). I am not sure if this is good style, but it is so easy to use > small anonymous callback functions.... Maybe I should have mentioned that I port a program which has a certain structure which I do not like to change too much. So for me it is much less work to define one menu and ask for the parent object. I will also need this at other places in the program. Anyway I found that objectID = event:GetEventObject():DynamicCast("wxTreeCtrl") will do the trick. Thanks! Michael |
From: Klaas H. <db...@nl...> - 2009-10-21 10:11:18
|
dd wrote: > > This means, code of wxWidgets library will be duplicated?! Yes, you will have a second set of libraries, that are statically linked. And of course you start with debug info in it, which makes them huge. But in release they are oke. Be aware that you wx-config the right way etc. > If wx will be static linked in my app and static linked in wxLua, i'm scared by > size of my program o_0 Well what is the difference in using/loading it as dll here and there compared to using static? Size in RAM wil be the same i assume. Anyway, there is a great compressor, upx (freeware), which makes them small enough in the end. http://upx.sourceforge.net We had some diffculties before with wxLua and wxArt2D concerning static objects initialization. Even in static mode, but different libraries, and i think with shared it will be even more complicated to get all initialized in the right order. So maybe that is the problem. But first simply try static libs, to know it! Klaas -- Unclassified ------------------------------------------------------------------------------------------------------------ Disclaimer: If you are not the intended recipient of this email, please notify the sender and delete it. Any unauthorized copying, disclosure or distribution of this email or its attachment(s) is forbidden. Thales Nederland BV will not accept liability for any damage caused by this email or its attachment(s). Thales Nederland BV is seated in Hengelo and is registered at the Chamber of Commerce under number 06061578. ------------------------------------------------------------------------------------------------------------ |
From: Eero P. <epa...@gm...> - 2009-10-21 09:18:16
|
On Wed, Oct 21, 2009 at 11:06 AM, Michael Gerbracht <sma...@ar...> wrote: > I have a follow up question now: > I would like to use the same menu on different TreeCtrl panes so I need a way > to find out on which of the windows the mouse button was pressed. I would probably bind a different function to different panes, and launch the same menu from it. (Or maybe use a function which generates the menu on demand). I am not sure if this is good style, but it is so easy to use small anonymous callback functions.... The menu generating function approach would make it easy to know the originating window also at that point where the user selects an entry from the menu. Eero |
From: dd <dro...@gm...> - 2009-10-21 08:58:14
|
klaas.holwerda <ngi@...> writes: > I advice you to use wxWidgets NON shared but static, and the same for wxLua. > I would not be surprised it works in that case. > Especially with mingw and cygwin. > > Klaas. > This means, code of wxWidgets library will be duplicated?! If wx will be static linked in my app and static linked in wxLua, i'm scared by size of my program o_0 |
From: Michael G. <sma...@ar...> - 2009-10-21 08:19:08
|
In article <a84...@ma...>, John Labenski <jla...@gm...> wrote: > On Mon, Oct 19, 2009 at 4:40 AM, Michael Gerbracht <sma...@ar...> > wrote: > > I am new to wxLua and would like to know how to add a context menu to a > > winodw (I know how to create a menu bar). The window is a TreeCtrl pane > > of a AUI frame if this makes anydifference. > You want to create a wxMenu and call wxWindow::PopupMenu() in your event > function connected to a wxWindow using the wxEVT_LEFT_UP event type and you > will get a wxMouseEvent. > Hope this helps, John Yes, thank you very much, I got it to work now. I have a follow up question now: I would like to use the same menu on different TreeCtrl panes so I need a way to find out on which of the windows the mouse button was pressed. AFAIK the object is stored in the event. If I use: print(tostring(event:GetEventObject())) I get the output: userdata: 03377B60 [wxObject(03477F0, 69)] If I compare this to the window: print(tostring(windowID)) I get the output: userdata 0340B8D0 [wxTreeCtrl(034A77F0, 354)] I see that "034A77F0" appears in both cases but I do not know how to extract it from the userdata[1]. Alternatively it would also be ok to read out the name of the TreeCtrl I gave it upon creation, it is unique but I do not know how to read it out. Thanks again, Michael [1] of course one could use string.find but I guess there is a more elegant way of doing that. |
From: klaas.holwerda <ng...@kl...> - 2009-10-21 06:20:37
|
In my firs post i wrote: >> I have wxWidgets: 2.8.10. >> Compiler: mingw >> Make options: UNICODE, RELEASE, SHARED, MONOLITHIC. >> And I have wxLua: 2.8.10 >> Compiler: mingw >> Make options: UNICODE, RELEASE, SHARED, WXSHARED, MONOLITHIC. >> (Tryed MONOLITHIC = 0, not work correctly too.) >> I advice you to use wxWidgets NON shared but static, and the same for wxLua. I would not be surprised it works in that case. Especially with mingw and cygwin. Klaas. |
From: dd <dro...@gm...> - 2009-10-20 23:56:51
|
> I have found that when an apps crashes for unknown reasons you have > somehow linked or compiled it improperly. It is very strange that > wxLuaCan does not work and points to some problem with your build. Can > you run any of the wxWidgets C++ samples? > > Are you sure that the wxWidgets libs, wxLua libs, and your program > were built using the exact same settings, unicode, debug, etc. You > should clean out all the old builds and start over so you know that > there is only one set of headers, libs, and whatnot. > > Regards, > John In my firs post i wrote: > I have wxWidgets: 2.8.10. > Compiler: mingw > Make options: UNICODE, RELEASE, SHARED, MONOLITHIC. > And I have wxLua: 2.8.10 > Compiler: mingw > Make options: UNICODE, RELEASE, SHARED, WXSHARED, MONOLITHIC. > (Tryed MONOLITHIC = 0, not work correctly too.) Previosly, tnx for answers. I told, wxWidgets works OK. All samples and my apps OK. Problem appears, when i invoke "wxLuaBinding_wxbase_init()" or others "wxLuaBinding_wxXXX_init()" functions. For understanding my problem, launch plz my app in attach (see first post). |
From: John L. <jla...@gm...> - 2009-10-20 23:49:13
|
On Tue, Oct 20, 2009 at 7:29 PM, dd <dro...@gm...> wrote: > > OMG. I looked this apps. I readed manuals and have no problem with > understanding. > Tryed compile wxLuacan. It compiles ok, but application dont launch - system > error > 0xC0000005 (see above). > I have no problem to compile. > I have problem - application dont start! I think, problem is in wrong linking > or wrong build wxWidgets and wxLua. Though works OK without wxLua. > I described, how it was builded. Can u tell me, what is wrong in my action? > I have found that when an apps crashes for unknown reasons you have somehow linked or compiled it improperly. It is very strange that wxLuaCan does not work and points to some problem with your build. Can you run any of the wxWidgets C++ samples? Are you sure that the wxWidgets libs, wxLua libs, and your program were built using the exact same settings, unicode, debug, etc. You should clean out all the old builds and start over so you know that there is only one set of headers, libs, and whatnot. Regards, John |
From: dd <dro...@gm...> - 2009-10-20 23:30:38
|
klaas.holwerda <ngi@...> writes: > > Hi, > > There is apps/wxLuacan, which has wxLua embedded.. > And you could have a look at wxArt2D, which has several apps which have > wxLua embedded, plus scripting stuff.etc. > > Klaas > OMG. I looked this apps. I readed manuals and have no problem with understanding. Tryed compile wxLuacan. It compiles ok, but application dont launch - system error 0xC0000005 (see above). I have no problem to compile. I have problem - application dont start! I think, problem is in wrong linking or wrong build wxWidgets and wxLua. Though works OK without wxLua. I described, how it was builded. Can u tell me, what is wrong in my action? |
From: klaas.holwerda <ng...@kl...> - 2009-10-20 22:12:48
|
Hi, There is apps/wxLuacan, which has wxLua embedded.. And you could have a look at wxArt2D, which has several apps which have wxLua embedded, plus scripting stuff.etc. Klaas dd wrote: > Hi all. > I need big help. > Already 2 weeks i 'm trying create wx application with wxLua embedded and in > vain. > > > |
From: dd <dro...@gm...> - 2009-10-20 20:45:19
|
Hi all. I need big help. Already 2 weeks i 'm trying create wx application with wxLua embedded and in vain. I readed all information, compilied wxWidgets and wxLua tight (i think), but my application dont works. OS Windows. I have wxWidgets: 2.8.10. Compiler: mingw Make options: UNICODE, RELEASE, SHARED, MONOLITHIC. And I have wxLua: 2.8.10 Compiler: mingw Make options: UNICODE, RELEASE, SHARED, WXSHARED, MONOLITHIC. (Tryed MONOLITHIC = 0, not work correctly too.) All builded OK. wx - applications works good without wxLua. But when i link my app with wxLua libraries and write in code this: extern bool wxLuaBinding_wxlua_init(); extern bool wxLuaBinding_wxbase_init(); extern bool wxLuaBinding_wxcore_init(); .... wxLuaBinding_wxlua_init(); wxLuaBinding_wxbase_init(); wxLuaBinding_wxcore_init(); , my app dont launch with system error 0xC0000005 ((( If i dont invoke functions "wxLuaBinding_wxbase_init()" and "wxLuaBinding_wxbase_init()", applications starts OK. But binds dont init: if i try use lua code "wx.wxMessageBox("Lua code !!!");" into my app, happens error. If i use lua code "require 'wx'", happens something wrong - opens second frame and (duplicate base frame) and base frame dont receive events. I think, i must not use "require 'wx'" in embedded code. In this link i post executable and dlls of my testing app: rapidshare.com/files/295659834/sample.rar.html Please tell me, wat i do wrong? P.S. Sorry for my bad english. |
From: John L. <jla...@gm...> - 2009-10-20 04:26:44
|
On Mon, Oct 19, 2009 at 4:40 AM, Michael Gerbracht <sma...@ar...> wrote: > I am new to wxLua and would like to know how to add a context menu to a > winodw (I know how to create a menu bar). > The window is a TreeCtrl pane of a AUI frame if this makes anydifference. > You want to create a wxMenu and call wxWindow::PopupMenu() in your event function connected to a wxWindow using the wxEVT_LEFT_UP event type and you will get a wxMouseEvent. http://docs.wxwidgets.org/stable/wx_wxmenu.html#wxmenu http://docs.wxwidgets.org/stable/wx_wxwindow.html#wxwindowpopupmenu http://docs.wxwidgets.org/stable/wx_wxmouseevent.html#wxmouseevent See the scribble sample for connecting mouse events to windows. Hope this helps, John |
From: Michael G. <sma...@ar...> - 2009-10-19 08:53:28
|
I am new to wxLua and would like to know how to add a context menu to a winodw (I know how to create a menu bar). The window is a TreeCtrl pane of a AUI frame if this makes anydifference. Thank you very much, Michael |
From: Klaas H. <db...@nl...> - 2009-10-19 07:51:58
|
John Labenski wrote: > it's pretty > much a done product so it'll stay that way. Right. Also no need to preserve all history to svn, just a clean checkout is fine. At least that is what i did with wxArt2D. > Thanks for your tips on line endings. Oke, and the script did work right, no need to re-checkout, i was looking wrong. So all line ending are fine now. > > The Python stuff looks easy to skip and we may have to write our own > @beginWxLuaOnly sections. That is what i meant. I don't know how wxWidgets parses those tags/things from the headers using Doxygen, and even if they do. Without adding something extra to the doxygen setup files, they don't show up as extra tags in XML. But if possible that solves most problems i think. Maybe just ask Francesco, he knows. > That's the really time consuming and annoying part. That looks the best approach indeed. > > Thanks for the Doxygen sample, XML is ugly. Sure is, but easy to parse :-) still need %rename for overloaded > functions that take int/double/enum values since Lua treats them all > as double so we can't tell what function the user wanted to call. How > can we stick that into the interface file so it ends up in the doxygen > XML? I'm sure there's a way... Francesco ;-) > > The really simple XML parser by Roberto works fine on the XML you > posted and it's only a ~50 lines. > http://lua-users.org/wiki/LuaXml Oke great! 50 lines only, amazing. > > In the end it's not going to be easy at all since when I last looked > briefly at the wxWidgets interface files I found that we have > functions in the current wxLua that are not in them so I'll have to > compare everything we wrap now with everything we wrap with the > interface files and if appropriate send doc patches to wxWidgets. I see, so you wrapped more then is documented right. But as a begin we can first just add it to the copied interface files. And deliver it later on as one wxLua patch?? Anyway once it is in svn, let me know if i can help in checking the files to each other. At least something i should be able to help with :-) Tsjau, Klaas -- Unclassified ------------------------------------------------------------------------------------------------------------ Disclaimer: If you are not the intended recipient of this email, please notify the sender and delete it. Any unauthorized copying, disclosure or distribution of this email or its attachment(s) is forbidden. Thales Nederland BV will not accept liability for any damage caused by this email or its attachment(s). Thales Nederland BV is seated in Hengelo and is registered at the Chamber of Commerce under number 06061578. ------------------------------------------------------------------------------------------------------------ |
From: John L. <jla...@gm...> - 2009-10-19 04:45:36
|
On Fri, Oct 16, 2009 at 4:06 AM, Klaas Holwerda <db...@nl...> wrote: >>> John Labenski wrote: >>>> >>>> to make them work in both 2.8 and 2.9 since I think they'd be pretty >>>> unreadable by the time I'd be done. >>> >>> Maybe its an idea to make two trees of binding files?? >> >> I will start using SVN, I'm not sure why people like it so much, but >> it seems like the way to go. > > I meant only a seconds version for the bindings directory. > That way things get less fuzzy. I think wxWidgets 3.0 is due to be out soon enough and there are enough good reasons to start using it. I believe that it is possible to keep the current CVS at SF as 2.8 and make SVN the 2.9 branch. I don't think that there is much to do with 2.8 anymore, it's pretty much a done product so it'll stay that way. > For wxAr2tD i switched to SVN last week. The best thing about SVN is moving > files and directories becomes possible. Also the commit mail is one for > every commit, not per file. I uses as client i use > http://rapidsvn.tigris.org/ which works well. Thanks for your tips on line endings. >> I think we can do away with %class %enum and use class and enum >> followed by { } instead of looking for %endclass and %endenum, change >> %define to #define, but we'll still need #define_string. Basically, >> make it as C/C++ like as possible. Many of the %XXX tags were made to >> catch errors and to be very easy to process. > > But there is things like %rename %operator, but maybe even those can somehow > be defined in the interface files. I see @python things like this in the > interface *.h files. The Python stuff looks easy to skip and we may have to write our own @beginWxLuaOnly sections. The %rename and %operator tags will have to be added too. The best way I can think of doing it is to copy the whole wxWidgets/interface directory to wxLua, edit as appropriate (typically remming out stuff that's not useful in Lua or can't be done), and use it to generate the bindings. When new versions of wxWidgets come out I will have to diff each wxLua file to the corresponding wxWidgets file and copy over the changes to preserve our tags. That's the really time consuming and annoying part. Thanks for the Doxygen sample, XML is ugly. Your idea of providing some interactive docs is compelling, but I'll have to look into the XML more to make sure that does contain enough info and the tags they use don't change and are very systematic. The upshot is that the %operators probably will be nicely parsed (which is hard to do) so we won't need that tag, but we will still need %rename for overloaded functions that take int/double/enum values since Lua treats them all as double so we can't tell what function the user wanted to call. How can we stick that into the interface file so it ends up in the doxygen XML? I'm sure there's a way... The really simple XML parser by Roberto works fine on the XML you posted and it's only a ~50 lines. http://lua-users.org/wiki/LuaXml In the end it's not going to be easy at all since when I last looked briefly at the wxWidgets interface files I found that we have functions in the current wxLua that are not in them so I'll have to compare everything we wrap now with everything we wrap with the interface files and if appropriate send doc patches to wxWidgets. Regards, John |
From: John L. <jla...@gm...> - 2009-10-19 03:57:25
|
On Sat, Oct 17, 2009 at 6:42 AM, lostgallifreyan <los...@gm...> wrote: > I've Googled for examples of sockets used in wxLua, with very little result. I'm using W98, so I hope that isn't a problem as it doesn't do 'raw sockets' as I've seen them called, like WXP does. As wxLua is cross-platform, I'm guessing this isn't a problem for W98. Don't know about Win 98. > Anyway, it seems the best thing to ask for is something simple, a template I can adapt. The two main purposes I can immediately think of are a GET method to fetch a web page so I can filter it and save it to file, then use wx.execute() to ask a browser to display it. An ideal extension of this would be a local web proxy that the brower would reach on 127.0.0.1. This proxy would be entirely written in wxLua and intercept the external input fetched from a server, and filter it as I want, so the browser then shows it as I need. Try to look for wxSocket examples. wxLua wraps all of these classes and they send wxEvents containing the network data. I have not used them extensively. http://docs.wxwidgets.org/stable/wx_wxsocketclient.html#wxsocketclient http://wiki.wxwidgets.org/WxSocket Regards, John |
From: lostgallifreyan <los...@gm...> - 2009-10-17 11:02:16
|
I just read this on the mail-archive.com site so I don't know if this will thread right, but never mind... While it's not scriptable, a free tool for adding or changing icons in Win32 executables is ResHack (Resource Hacker). Look for version 3.4.0.79 if you can.. This program can do many other things, though sometimes resource scripts aren't always correctly handled. There is another tool called ExeScope that has a free trial period. |
From: lostgallifreyan <los...@gm...> - 2009-10-17 10:42:37
|
Hello. New project for me. I'm trying to do things Proxomitron can't do easily, its RegEx rules confuse me, it's far easier to adapt Lua to this now, especially as Proxomitron really wasn't written to extract a table or two on the assumption that the rest of a large web page was not to be processed... I've Googled for examples of sockets used in wxLua, with very little result. I'm using W98, so I hope that isn't a problem as it doesn't do 'raw sockets' as I've seen them called, like WXP does. As wxLua is cross-platform, I'm guessing this isn't a problem for W98. Anyway, it seems the best thing to ask for is something simple, a template I can adapt. The two main purposes I can immediately think of are a GET method to fetch a web page so I can filter it and save it to file, then use wx.execute() to ask a browser to display it. An ideal extension of this would be a local web proxy that the brower would reach on 127.0.0.1. This proxy would be entirely written in wxLua and intercept the external input fetched from a server, and filter it as I want, so the browser then shows it as I need. If someone can help with a working template that does at least the basic fetching of a remote web page, please do, it will be a great help to build on that, instead of tryint to guess my way when I have no idea if it is even possible. Most things I read seem to indicate that the wxLua sockets code wasn't finished, though I grant some of the Google results were a year old or more. Trouble is, no-one apparently has any working examples, so there's a need there... Right now I'm using WGET called by wxExecute) but it's not as nice as doing it all in wxLua would be. |
From: Eero P. <epa...@gm...> - 2009-10-16 23:48:25
|
On Fri, Oct 16, 2009 at 11:50 PM, Ryan Pusztai <rpu...@gm...> wrote: > Git is not that great on Windows as of three months ago. Has that changed. > And Cygwin is not what I am talking about. Thanks. > I have used Git on a mixed Windows + Linux environment for the 10 months I mentioned. I do prefer using it mostly through command line, so I cannot comment on GUI front ends. Also, running git with no Linux hosts which can work as "servers" would be more difficult. > A plus for svn is it is available through http and https which makes it work > through most firewalls. It is great. (Yes I know you can tunnel, but that is > not simple) I haven't had need to do this, but the documents do claim that Git also supports http and https protocols. (I use it over ssh) But, as wxWidgets is using svn, I guess that is a reasonable reason to use SVN with wxLua too. (otherwise I still prefer Git) Eero |
From: Ryan P. <rpu...@gm...> - 2009-10-16 20:51:25
|
On Fri, Oct 16, 2009 at 3:54 PM, Eero Pajarre <epa...@gm...> wrote: > On Wed, Oct 14, 2009 at 8:51 AM, John Labenski <jla...@gm...> > wrote: > > Maybe its an idea to make two trees of binding files?? > > > > I will start using SVN, I'm not sure why people like it so much, but > > it seems like the way to go. > > If you have not really decided yet, I would suggest also considering > Git. In my project, I switched from CVS to Git 10 months ago and I > have not had any regrets. > > Git is not that great on Windows as of three months ago. Has that changed. And Cygwin is not what I am talking about. Thanks. A plus for svn is it is available through http and https which makes it work through most firewalls. It is great. (Yes I know you can tunnel, but that is not simple) -- Regards, Ryan |
From: Eero P. <epa...@gm...> - 2009-10-16 19:54:35
|
On Wed, Oct 14, 2009 at 8:51 AM, John Labenski <jla...@gm...> wrote: > Maybe its an idea to make two trees of binding files?? > > I will start using SVN, I'm not sure why people like it so much, but > it seems like the way to go. If you have not really decided yet, I would suggest also considering Git. In my project, I switched from CVS to Git 10 months ago and I have not had any regrets. Eero |