Re: [wxlua-users] [build] Updating configure to fix GL and media lib problems

2008-01-11 Thread John Labenski
On Jan 11, 2008 11:01 AM, Klaas Holwerda [EMAIL PROTECTED] wrote: Ryan Pusztai wrote: I called configure with this commandline ./configure --with-opengl Tha i did for configuring wxWidgets, for wxLua ./configure --help does not show me such an option. and it found the OpenGL

Re: [wxlua-users] [build] Updating configure to fix GL and media lib problems

2008-01-11 Thread John Labenski
... are identical and if you've got the wxWigets libs they should all fail, not just one. Regards, John On Jan 11, 2008 11:11 AM, John Labenski [EMAIL PROTECTED] wrote: On Jan 11, 2008 11:01 AM, Klaas Holwerda [EMAIL PROTECTED] wrote: Ryan Pusztai wrote: I called configure

Re: [wxlua-users] Ubuntu build issues

2008-01-13 Thread John Labenski
On Jan 13, 2008 6:29 PM, Ryan Pusztai [EMAIL PROTECTED] wrote: On Jan 13, 2008 5:24 PM, John Labenski [EMAIL PROTECTED] wrote: Ok, check modules/Makefile and find these lines. What do you have? ### Conditionally set variables: ### ... #WXLIBPOSTFIX = d WXLIBPOSTFIX = ud

Re: [wxlua-users] wx2.8.7 with wxLuaCVS works

2008-01-13 Thread John Labenski
On Jan 13, 2008 8:27 PM, klaas.holwerda [EMAIL PROTECTED] wrote: John Labenski wrote: ooking at config.log, show many things wrong in compiling tests. What are they? Maybe better like this, ignore the one held please. http://www.pontademangue.com/tmp/fout.txt http

Re: [wxlua-users] [build] everything should now be fixed (was Re: wx2.8.7 with wxLuaCVS works)

2008-01-14 Thread John Labenski
On 1/14/08, Francesco Montorsi [EMAIL PROTECTED] wrote: Hi, I've done a big commit on the configure script which should fix all problems. The bugs I've found in the configure script were mainly: 2) linker line was being built incorrectly; with -l option you give e.g. -lmylib and GNU's

Re: [wxlua-users] configure scripts ignores system's Lua 5.1 installation

2008-01-14 Thread John Labenski
On 1/14/08, Rob Kendrick [EMAIL PROTECTED] wrote: Under Debian and Debian-like systems (such as Ubuntu), Lua's header files are stored in /usr/include/lua5.1/ and the shared object is called liblua5.1.so. This is so you can have multiple versions installed at once. wxLua's configure script

Re: [wxlua-users] configure scripts ignores system's Lua 5.1 installation

2008-01-14 Thread John Labenski
On 1/14/08, Rob Kendrick [EMAIL PROTECTED] wrote: On Mon, 2008-01-14 at 10:52 -0500, John Labenski wrote: Francesco, I think this should fix it. Add new --enable-systemlua=yes/no/auto. snip Forgive my ignorance of issues relating to the creation of configure scripts, but does

Re: [wxlua-users] configure script ignoring --disable-* flags

2008-01-14 Thread John Labenski
On 1/14/08, Rob Kendrick [EMAIL PROTECTED] wrote: Hi, When I pass wxLua's configure script options like --disable-wxbindmedia using the current CVS head (the current release version alas provides no obvious way of doing this), it appears to ignore this and try to build the bindings anyway.

Re: [wxlua-users] Ubuntu build issues

2008-01-14 Thread John Labenski
On 1/13/08, Ryan Pusztai [EMAIL PROTECTED] wrote: On Jan 13, 2008 11:32 PM, John Labenski [EMAIL PROTECTED] wrote: They are all commented out. #WXLIBPOSTFIX = d #WXLIBPOSTFIX = ud #WXLIBPOSTFIX = u = Ryan, please do these two things. 2) On the command

Re: [wxlua-users] wxLua on MacPorts

2008-01-14 Thread John Labenski
On 1/14/08, John Labenski [EMAIL PROTECTED] wrote: Here are the updated patches: (it needed STC, to compile with wxStEdit) http://trac.macports.org/projects/macports/browser/trunk/dports/ graphics/wxLua-devel/files/ Francesco, patch-Makefile.in ??? This is a bakefile fix, dunno how to fix

Re: [wxlua-users] [build] only wxstedit

2008-01-14 Thread John Labenski
On 1/14/08, klaas.holwerda [EMAIL PROTECTED] wrote: Hi, Much improved today, but still wxstedit is not found, and i think its is because the stc library is not linked in, and so compiling errors for the test of wxstedit. See the new files here: http://www.pontademangue.com/tmp/fout.txt

Re: [wxlua-users] CVS build problem

2008-01-15 Thread John Labenski
On Jan 15, 2008 12:50 PM, Leslie Newell [EMAIL PROTECTED] wrote: Thank John. That fixed it. I now get a bunch of unresolved externals, all related to OpenGl. For example: wxbindgl_dll_wxgl_gl.obj : error LNK2001: unresolved external symbol public: vi rtual class wxClassInfo * __thiscall

Re: [wxlua-users] configure scripts ignores system's Lua 5.1 installation

2008-01-15 Thread John Labenski
On Jan 15, 2008 6:00 PM, Francesco Montorsi [EMAIL PROTECTED] wrote: I'm not sure we want to force $lua_prefix/include/lua5.1 because we're going to find someone with some system who has it elsewhere and then we'll have more problems. typically this problem in the configure script I've

Re: [wxlua-users] wxLua on MacPorts

2008-01-15 Thread John Labenski
On Jan 14, 2008 5:39 PM, Anders F Björklund [EMAIL PROTECTED] wrote: Francesco Montorsi wrote: But I'm unsure this is really necessary and instead I think it's nice to have the rpath stuff also under Mac (so that you can run binaries when you compile wxLua before installing

Re: [wxlua-users] wxLua on MacPorts

2008-01-15 Thread John Labenski
ps. I would like any code fixes you've made too. For example I've fixed the id != 0 error that wxLuaCan has for one of it's menu ids in CVS. Thanks, John On Jan 16, 2008 12:48 AM, John Labenski [EMAIL PROTECTED] wrote: On Jan 14, 2008 5:39 PM, Anders F Björklund [EMAIL PROTECTED] wrote

Re: [wxlua-users] CVS build problem

2008-01-16 Thread John Labenski
On Jan 16, 2008 1:50 PM, Francesco Montorsi [EMAIL PROTECTED] wrote: John Labenski ha scritto: On Jan 16, 2008 7:07 AM, Leslie Newell [EMAIL PROTECTED] wrote: The GL lib is separate even in monolithic builds. The lines should read: Hopefully they're both fixed in the current CVS. Thanks

Re: [wxlua-users] CVS build problem

2008-01-17 Thread John Labenski
On Jan 17, 2008 8:41 AM, Leslie Newell [EMAIL PROTECTED] wrote: Trying to compile with static runtime libs. BUILD = release UNICODE = 1 SHARED = 0 WX_SHARED = 0 WX_MONOLITHIC = 0 RUNTIME_LIBS = static To get it to compile I need to do the following Add this line to

Re: [wxlua-users] wxListBox with to parameters (CVS version)

2008-01-17 Thread John Labenski
On Jan 17, 2008 1:39 PM, Eero Pajarre [EMAIL PROTECTED] wrote: I dont really get why wxListBox with two parameters is not accepted with wxLua. It was accepted on some previous version, and it looks like that wxWidgets library would accept two parameter version. Specifically -test.lua---

Re: [wxlua-users] makefile.vc (CVS) line end problems

2008-01-17 Thread John Labenski
On Jan 17, 2008 7:05 PM, Eero Pajarre [EMAIL PROTECTED] wrote: After fixing the line ends in my copy I think this is a problem on your side. I use cygwin in MSW and all the line endings are CRLF in the makefile.vc files. I also added the following to the build/msw/makefile.vc

Re: [wxlua-users] bzr branch of wxLua on Launchpad

2008-01-17 Thread John Labenski
On Jan 17, 2008 4:40 PM, Rob Kendrick [EMAIL PROTECTED] wrote: For those whom it floats such boats, I have created a wxLua project on Launchpad.net for the express purpose of having Launchpad create a bzr branch from wxLua's CVS repository for people to branch from for doing work on the

Re: [wxlua-users] makefile.vc (CVS) line end problems

2008-01-17 Thread John Labenski
On Jan 17, 2008 8:46 PM, John Labenski [EMAIL PROTECTED] wrote: I also added the following to the build/msw/makefile.vc -- # This is an advanced option. Handle with care. # The thread model to use: use 'multi' default to allow # multi-threading. [multi,single

Re: [wxlua-users] makefile.vc (CVS) line end problems

2008-01-18 Thread John Labenski
On Jan 18, 2008 4:14 AM, Eero Pajarre [EMAIL PROTECTED] wrote: On Jan 18, 2008 3:46 AM, John Labenski [EMAIL PROTECTED] wrote: I think this is a problem on your side. I use cygwin in MSW and all the line endings are CRLF in the makefile.vc files. I did a new repository using Cygwin

Re: [wxlua-users] wxLua on MacPorts

2008-01-18 Thread John Labenski
On Jan 16, 2008 4:58 AM, Anders F Björklund [EMAIL PROTECTED] wrote: John Labenski wrote: My wxWidgets installation is a 10.4+ Universal Binary configuration, so the configure is a little (=much) more convoluted but similar. I also made sure to install the OpenGL and the STC components

Re: [wxlua-users] bzr branch of wxLua on Launchpad

2008-01-18 Thread John Labenski
On Jan 18, 2008 6:05 AM, Rob Kendrick [EMAIL PROTECTED] wrote: On Thu, 2008-01-17 at 21:00 -0500, John Labenski wrote: Sounds like an interesting project. However, I am not sure exactly what people are to do with their branches as I would hope that useful additions and certainly all bug

Re: [wxlua-users] makefile.vc (CVS) line end problems

2008-01-19 Thread John Labenski
On Jan 19, 2008 2:28 PM, Francesco Montorsi [EMAIL PROTECTED] wrote: Hi John, sorry for the delay but I really had 3 intense days :) John Labenski ha scritto: On Jan 17, 2008 8:46 PM, John Labenski [EMAIL PROTECTED] wrote: I also added the following to the build/msw/makefile.vc

Re: [wxlua-users] Monolithic build; was Re: CVS build problem

2008-01-19 Thread John Labenski
On Jan 17, 2008 5:24 PM, Ryan Pusztai [EMAIL PROTECTED] wrote: I'd like to see just one DSO containing all the bindings that you can just do 'require wx' from inside a standard Lua interpreter. Just one file you can put along side. (Excluding the WxWidgets DSOs themselves, obviously:

Re: [wxlua-users] wxLua on MacPorts

2008-01-19 Thread John Labenski
, John ps. I responded to some things below, but it seems like there's too many little bits and the real question is simply wxLua-2.4.1-tiger structure or some new dir structure? On Jan 19, 2008 2:56 PM, Anders F Björklund [EMAIL PROTECTED] wrote: John Labenski wrote: I have to look

Re: [wxlua-users] new bakefile version

2008-01-20 Thread John Labenski
On Jan 20, 2008 5:51 AM, Francesco Montorsi [EMAIL PROTECTED] wrote: Hi, Francesco Montorsi ha scritto: Besides the various bugfixes and the fact we can now use a vanilla bakefile version (instead of the patched one), v0.2.3 also supports the msvs2003prj format, i.e. MSVC IDE project

Re: [wxlua-users] Monolithic build; was Re: CVS build problem

2008-01-20 Thread John Labenski
Thanks for adding the new files. -John On Jan 20, 2008 5:41 AM, Francesco Montorsi [EMAIL PROTECTED] wrote: Hi, I see in your other message you already solved this but just FYI: John Labenski ha scritto: Francesco, the only thing I can think of doing is adding another target like

Re: [wxlua-users] makefile.vc (CVS) line end problems

2008-01-20 Thread John Labenski
I think I have a lead on what the problem is. The new version of bakefile is putting CRLF even in Linux (just LF) so CVS is getting confused. It seems like some CVS clients, like Cygwin and Tortoise fix them, but WinCVS doesn't. See the new bakefile version thread. Regards, John On Jan 20,

Re: [wxlua-users] missing sample

2008-01-20 Thread John Labenski
On Jan 20, 2008 7:17 PM, Hakkı Doğusan [EMAIL PROTECTED] wrote: Hi, Current cvs includes image sample's image files, but lua file is missing :) Oops, thanks for providing it. Regards, John By the way, what do you think about the wxBitmap constructor for bits? I think I'm going to add a

Re: [wxlua-users] Monolithic build; was Re: CVS build problem

2008-01-20 Thread John Labenski
On Jan 20, 2008 11:02 PM, Ryan Pusztai [EMAIL PROTECTED] wrote: Is the monolithic build ready? If so, can I get a few details on how I can build the monolithic library from the makefiles, both in Windows and Linux? It works in Linux. I've found a few problems using MSVC6, but I think I'll have

Re: [wxlua-users] Monolithic build; was Re: CVS build problem

2008-01-21 Thread John Labenski
On Jan 21, 2008 9:24 AM, Ryan Pusztai [EMAIL PROTECTED] wrote: On Jan 21, 2008 8:46 AM, Leslie Newell [EMAIL PROTECTED] wrote: By the way, might it be better to call it wxlua.dll instead of wx.dll? Well the way that Lua require() works would make it so that you need to require wxLua and

Re: [wxlua-users] About wxGrid with database, wxPropertyGrid usage

2008-01-21 Thread John Labenski
2008/1/21 Ryan Pusztai [EMAIL PROTECTED]: On Jan 21, 2008 5:26 AM, Hakkı Doğusan [EMAIL PROTECTED] wrote: I'll experiment with these controls. But maybe some of you already worked on them. If so, could you share your thoughts/bindings etc.? I think a binding for wxPropGrid would be good.

Re: [wxlua-users] wxLuaGridTableBase (was: error in virtual function overrides)

2008-01-30 Thread John Labenski
2008/1/30 Hakkı Doğusan [EMAIL PROTECTED]: Hi, I found this bug while working on wxGridTableBase. Well, not a bug, but simply a missing class to allow Lua programs to override the virtual functions. You may get it here: http://www.dynaset.org/dogusanh/download/wxLuaGridTableBase.zip

Re: [wxlua-users] Drag Drop support

2008-01-30 Thread John Labenski
On Jan 30, 2008 6:06 AM, [EMAIL PROTECTED] wrote: Hi, I'm trying to get a simple wxLua Drag Drop example (DD of items between two ListCtrls or a ListCtrl and a TreeCtrl) to run currently without success. In the documentation the wxDropSource class is marked with the comment // FIXME

Re: [wxlua-users] Windows messagepump and wx MainLoop()

2008-01-31 Thread John Labenski
On Feb 1, 2008 12:05 AM, A. Klingenstein [EMAIL PROTECTED] wrote: I have a Windows app in C which can and mainly does load plugins to do the actual work. One of those plugins is a Lua interpreter allowing users to write their scripts. I want to make Lua scripts which can do GUI stuff and not

Re: [wxlua-users] wxLuaGridTableBase

2008-01-31 Thread John Labenski
2008/1/31 Hakkı Doğusan [EMAIL PROTECTED]: ps. In binding.html there is a Binding C++ Virtual Functions section. There it explained in detail what is going on for virtual functions; but, I think, how to implement those bindings is missing. In other words, it is not explained for idiots, like

Re: [wxlua-users] small corrections for cvs

2008-02-02 Thread John Labenski
Applied in CVS, thanks John On Feb 2, 2008 2:50 AM, Hakkı Doğusan [EMAIL PROTECTED] wrote: Hi, in wxlstate.cpp: LUALIB_API int luaopen_bit (lua_State *L) { to int LUACALL luaopen_bit (lua_State *L) { in genwxbind.bat: (to use system global lua.exe; it is still checked if there is

[wxlua-users] ANN wxLua 2.8.7.0 release on Sourceforge.net

2008-02-02 Thread John Labenski
We are pleased to announce the latest release of wxLua. --- wxLua is a Lua scripting language wrapper around the wxWidgets cross-platform GUI library. It consists of an executable for running standalone wxLua scripts and

Re: [wxlua-users] Congrats on the release!

2008-02-02 Thread John Labenski
On Feb 2, 2008 4:32 PM, [EMAIL PROTECTED] wrote: Congrats on the new release release! Now I just need OSX binaries, wink wink ;) Anders? nudge, nudge? Would you mind doing it as I'm sure you're far more capable at it than I. Keep up the good work! Thanks, John

Re: [wxlua-users] ANN wxLua 2.8.7.0 release on Sourceforge.net

2008-02-04 Thread John Labenski
On Feb 3, 2008 2:38 PM, Francesco Montorsi [EMAIL PROTECTED] wrote: Great work John! I'll make an autopackage for this release and update the download page on wxlua.sf.net Thanks Francesco and Anders. -John -

Re: [wxlua-users] string compare error

2008-02-08 Thread John Labenski
On Feb 8, 2008 11:38 AM, marcos [EMAIL PROTECTED] wrote: Hi, list, I have a very strange error. On previous versions this works. The value seted and returned from wxListBox are diferent. The value seted is 'Amanhã'. print(list:GetStringSelection()=='Amanhã') - false But the interface

Re: [wxlua-users] OSX release?

2008-02-11 Thread John Labenski
On Feb 11, 2008 12:38 AM, [EMAIL PROTECTED] wrote: Hi guys! It seems unfair to ask any more of you but...what is the ETA of a leopard compatible binary build of version 2.8.7.0 similar to the tiger build of 2.8.4.1? Please see Anders response for the thread ANN wxLua 2.8.7.0 release on

Re: [wxlua-users] string compare error

2008-02-13 Thread John Labenski
On Feb 12, 2008 3:05 AM, Hakkı Doğusan [EMAIL PROTECTED] wrote: The problem with string comparison in the new version persists. -- wx.wxLocale( wx.wxLANGUAGE_DEFAULT ) local loc= wx.wxGetLocale() local s = 'Maçã' print(loc:GetString(s), s)

Re: [wxlua-users] OSX release?

2008-02-18 Thread John Labenski
On Feb 18, 2008 6:04 AM, Anders F Björklund [EMAIL PROTECTED] wrote: ahlmans wrote: Ran into another unexpected issue during the packaging: install_name_tool: changing install names can't be redone for: wxLua.app/Contents/MacOS/wxLua (for architecture i386) because larger updated load

Re: [wxlua-users] string compare error

2008-02-18 Thread John Labenski
On Feb 18, 2008 12:06 AM, marcos [EMAIL PROTECTED] wrote: John Labenski escreveu: http://www.wxwidgets.org/manuals/stable/wx_wxstring.html#wxstring http://www.wxwidgets.org/manuals/stable/wx_unicode.html#unicode http://www.wxwidgets.org/manuals/stable/wx_mbconvclasses.html#mbconvclasses

Re: [wxlua-users] OSX release?

2008-02-19 Thread John Labenski
I have uploaded the new version to SourceForge. Thanks Anders, John On Feb 19, 2008 2:38 AM, Anders F Björklund [EMAIL PROTECTED] wrote: ahlmans wrote: Dyld Error Message: Library not loaded: /usr/local/lib/libwx_macu-2.8.0.dylib Referenced from:

Re: [wxlua-users] wxlua-2.8.7.0-1.x86.package printing.wx.lu

2008-02-22 Thread John Labenski
On Fri, Feb 22, 2008 at 1:00 AM, wlprg00 [EMAIL PROTECTED] wrote: Hi, I am trying to print on Linux by using the printing.wx.lua. Unfortunately it gives only an empty ..ps. As well as the console provides the following output: Error: Lua: Error while running chunk [string

Re: [wxlua-users] Corrections to wxadv_override.hpp

2008-02-26 Thread John Labenski
Thanks, fixed in CVS. -John On Tue, Feb 26, 2008 at 1:53 AM, Hakkı Doğusan [EMAIL PROTECTED] wrote: Hi, in function wxLua_wxGridCellAttr_GetSize, line 66, changed comment; from: // call GetAlignment to: // call GetSize in function wxLua_wxGrid_GetCellSize, line 164, changed

Re: [wxlua-users] core dump

2008-02-26 Thread John Labenski
On Mon, Feb 25, 2008 at 11:31 AM, Hakkı Doğusan [EMAIL PROTECTED] wrote: Hi, (ubuntu-7.10, wxlua-2.8.7 compiled as lua module, with static wx) I'm trying to use a wxGrid (feed by wxGridTable) in a frame. wxGrid is the only control in the frame. If I move mouse on grid I'm getting

Re: [wxlua-users] wxLua and mac bundles

2008-02-26 Thread John Labenski
On Mon, Feb 25, 2008 at 12:07 AM, [EMAIL PROTECTED] wrote: Hi! I am developing an application using wxLua luaSQL for mac. Currently I have to package the app in a rather clumsy way. First I create a folder and move all the libs into it. Then I take the wxLuaFreeze application, rename

Re: [wxlua-users] wxGridCellRenderer/ wxGridCellEditor problem

2008-03-04 Thread John Labenski
On Tue, Mar 4, 2008 at 9:58 PM, marcos [EMAIL PROTECTED] wrote: Hi, I get a exception error (memory) on close the app. or on garbage collection when I use cell renderer or editor. For emulate the error add on the grid.wx.lua sample (row 58) the next code.

Re: [wxlua-users] wxGridCellRenderer/ wxGridCellEditor problem

2008-03-04 Thread John Labenski
4, 2008 at 10:20 PM, John Labenski [EMAIL PROTECTED] wrote: On Tue, Mar 4, 2008 at 9:58 PM, marcos [EMAIL PROTECTED] wrote: Hi, I get a exception error (memory) on close the app. or on garbage collection when I use cell renderer or editor. For emulate the error add

Re: [wxlua-users] Memory corruption

2008-03-06 Thread John Labenski
On Thu, Mar 6, 2008 at 3:50 AM, Eero Pajarre [EMAIL PROTECTED] wrote: My memory corruption error may very well be the same problem as reported under wxGridCellRenderer/ wxGridCellEditor problem. Current evidence points to that direction. (I am now wondering should wxadv_bind.cpp use

Re: [wxlua-users] Memory corruption

2008-03-07 Thread John Labenski
On Fri, Mar 7, 2008 at 9:32 AM, Eero Pajarre [EMAIL PROTECTED] wrote: I got rid of the previous crash, but still there is something causing memory corruption according to the free-function with debugging builds. My code calls Lua incremental GC during execution, so I guess I maybe

Re: [wxlua-users] version 1.79 minor correction

2008-03-25 Thread John Labenski
Thanks for reporting this, fixed in CVS. Regards, John On Mon, Mar 17, 2008 at 9:58 AM, andre arpin [EMAIL PROTECTED] wrote: file wxlua_bind.cpp line 1043 static int LUACALL wxLua_function_ungcobject(lua_State *L) { bool ret = false; if (wxluaO_isgcobject(L, 1)) {

Re: [wxlua-users] wxTextCtrl:ChangeValue

2008-03-25 Thread John Labenski
On Thu, Mar 20, 2008 at 12:43 PM, Eero Pajarre [EMAIL PROTECTED] wrote: Today I noticed that I would have liked to use wxTextCtrl:ChangeValue (It differs from SetValue, because it does not generate events when it changes the value) The function seems to be added on wxWidgets 2.7.1, so it

Re: [wxlua-users] correction allow debugger to run after a break

2008-03-25 Thread John Labenski
You're right, thanks. Fixed in CVS. Regards, John On Sun, Mar 23, 2008 at 2:46 PM, andre arpin [EMAIL PROTECTED] wrote: please change case wxLUASOCKET_DEBUGGER_CMD_DEBUG_CONTINUE in bool wxLuaDebugTarget::HandleDebuggerCmd(int debugCommand) from: case

Re: [wxlua-users] string compare error

2008-03-25 Thread John Labenski
On Tue, Mar 25, 2008 at 7:35 AM, Eero Pajarre [EMAIL PROTECTED] wrote: WXDLLIMPEXP_WXLUA wxString lua2wx(const char* luastr) { return wxString(luastr, *wxConvCurrent); } const WXDLLIMPEXP_WXLUA wxCharBuffer wx2lua(const wxString wxstr) { wxCharBuffer

Re: [wxlua-users] Memory corruption

2008-03-25 Thread John Labenski
On Sat, Mar 8, 2008 at 5:28 AM, Eero Pajarre [EMAIL PROTECTED] wrote: On Fri, Mar 7, 2008 at 7:00 PM, Eero Pajarre [EMAIL PROTECTED] wrote: On Fri, Mar 7, 2008 at 6:45 PM, John Labenski [EMAIL PROTECTED] wrote: After looking into it a little more, I think the best solution

Re: [wxlua-users] correction

2008-03-25 Thread John Labenski
Thanks, both fixed in CVS. -John On Thu, Mar 20, 2008 at 5:09 PM, andre arpin [EMAIL PROTECTED] wrote: wxldtarg.cpp note change and to () so it does not look like top posting This is a critical change: the buffer size is modified by wx2lua so buf.length() does not reflect the right

Re: [wxlua-users] compiling wx.dll using debug multilib unicode

2008-03-31 Thread John Labenski
On Sun, Mar 30, 2008 at 1:18 PM, andre arpin [EMAIL PROTECTED] wrote: The compile fail. The following changes create a usable dll. Change where made within VS2005 but should apply to other version change: C++ (preprocessor) WXUSINGDLL to WXMAKINGDLL_BINDWXADV LINKER (general)

Re: [wxlua-users] Static Linking wxLua

2008-03-31 Thread John Labenski
On Sun, Mar 30, 2008 at 5:16 PM, Tracy Hill [EMAIL PROTECTED] wrote: Is there a way to statically link wxLua (with luamodule) to a project? I am using mingw. Yes, build the static libs and then link to them as you would to the wxWidgets libs. You can look at apps/wxlua/src/Makefile for an

Re: [wxlua-users] compiling wx.dll using debug multilib unicode

2008-04-01 Thread John Labenski
On Tue, Apr 1, 2008 at 12:13 PM, andre arpin [EMAIL PROTECTED] wrote: I don't use VC2005, I use VC6, but this doesn't seem right. The wxLua module is uses DLLs from the other libs. If you want to link against the other libs (not the DLLs) you should use the monolithic build which

Re: [wxlua-users] compiling wx.dll using debug multilib unicode

2008-04-01 Thread John Labenski
or return a void* pointer, but are used in wxLua to allow Lua programs to store an integer (perhaps an index into a table with extra data) for convenience. Regards, John On Wed, Apr 2, 2008 at 12:57 AM, John Labenski [EMAIL PROTECTED] wrote: On Tue, Apr 1, 2008 at 12:13 PM, andre arpin [EMAIL

Re: [wxlua-users] Problems printing on the Mac

2008-04-07 Thread John Labenski
On Wed, Apr 2, 2008 at 1:05 PM, [EMAIL PROTECTED] wrote: Hi! I cannot open a print preview window on the mac using the version 2.8.7.0 of wxLua. It works fine in version 2.8.4.1. When calling wxPreviewFrame:Show(true) I get the error Could not start document preview. A quick googling

Re: [wxlua-users] correction to editor.wx.lua

2008-04-07 Thread John Labenski
On Thu, Apr 3, 2008 at 10:08 AM, andre arpin [EMAIL PROTECTED] wrote: problem: wxlua editor.wx.lua logoff Do you mean logoff as in log out the current user of MSWindows? an error occur when config:delete is executed. The error message is misleading but removing this line clear the

Re: [wxlua-users] correction to editor.wx.lua

2008-04-08 Thread John Labenski
On Tue, Apr 8, 2008 at 12:49 PM, andre arpin [EMAIL PROTECTED] wrote: John Labenski [EMAIL PROTECTED] writes: Can you reproduce it my running from the command line and pressing Ctrl+C or killing the process? I haven't been able to, but I will try doing the logoff thing tomorrow. Only

Re: [wxlua-users] compiling wx.dll using debug multilib unicode

2008-04-08 Thread John Labenski
On Tue, Apr 8, 2008 at 6:01 AM, andre arpin [EMAIL PROTECTED] wrote: John Labenski [EMAIL PROTECTED] writes: I agree it is just that wxLuaFreeze would have had to create a new program so I use the name lux. Ok I see, you want the equivalent of wxLuaFreeze, but using the wx.dll instead os

Re: [wxlua-users] Crash on exit.

2008-04-23 Thread John Labenski
On Tue, Apr 15, 2008 at 9:23 AM, Adrian Carpenter [EMAIL PROTECTED] wrote: I am using the latest windows binaries from the wxLua site, I have generated a simple import library for wx.dll by providing the luaopen_wx export. I call the luaopen_wx function in the same manner that the other

Re: [wxlua-users] wxlua example program.

2008-04-23 Thread John Labenski
Sounds good, I'll try to get to it this next week, but I'll be traveling so I may be out of contact for the duration. Regards, John On Fri, Apr 18, 2008 at 5:27 AM, LuaCalc Dev [EMAIL PROTECTED] wrote: As a great fan of lua ( and wx of course ), i joined a wxlua based project. It's

Re: [wxlua-users] Unix wxListCtrl error

2008-05-12 Thread John Labenski
On Tue, May 6, 2008 at 5:16 AM, Éjjeli Őrjárat [EMAIL PROTECTED] wrote: Hi all! I am developing an application, which uses wxLUA and LUA-AIO for multithreading. I fill a wxListCtrl in it, but on Unix (on Windows no!) it causes a crash with these errors: http://dcpp.hu/images/error.png I don't

Re: [wxlua-users] Problem with wxSocket

2008-05-12 Thread John Labenski
On Thu, May 8, 2008 at 5:30 PM, Mateusz Czaplinski [EMAIL PROTECTED] wrote: I'm trying to play with wxSocket, but have strange results. The fragment of code which I attached works perfectly well when run from wxluaedit.exe (2.8.7.0-MSW-bin) but hangs after displaying the first message

Re: [wxlua-users] String error

2008-05-19 Thread John Labenski
On Sat, May 17, 2008 at 6:12 AM, Éjjeli Őrjárat [EMAIL PROTECTED] wrote: Hi all! I have a problem again. I read data from a socket, then I parse it, and update the GUI. But some special characters disappears - not just that character, the whole message. I saw on the archieved list, that

Re: [wxlua-users] xrc help

2008-06-03 Thread John Labenski
On Fri, May 23, 2008 at 5:33 PM, Dennis Sacks [EMAIL PROTECTED] wrote: I created an xrc file using wxFormBuilder and have been looking at calculator.wx.lua for guidance but I'm still struggling. :) I can load my frame and it displays, which made me very happy, but I am trying to access the

Re: [wxlua-users] Ending the wxApp process when a scripted lua frame is closed

2008-06-03 Thread John Labenski
On Thu, May 29, 2008 at 11:30 AM, Matthieu Caron [EMAIL PROTECTED] wrote: Hi everyone. I think my problem is really simple, but I need some help to understand how it works. I created a wxwidget project (wxApp) which display a Dialog window with a file picker to let the users select and load

Re: [wxlua-users] wxTimer

2008-06-04 Thread John Labenski
On Wed, Jun 4, 2008 at 5:50 AM, Eero Pajarre [EMAIL PROTECTED] wrote: On Wed, Jun 4, 2008 at 12:29 PM, Eero Pajarre [EMAIL PROTECTED] wrote: I have to do some more tests, my wxLua base application is not from the current wxLua distribution (instead it was originally based on version from

Re: [wxlua-users] What happened to dragdrop support?

2008-07-16 Thread John Labenski
On Mon, Jul 7, 2008 at 2:18 PM, Michele Sandri [EMAIL PROTECTED] wrote: I have urgent need of wxFileDropTarget support under win32 in wxlua, if someone can give some hints about which are blocking points, i will try to help in implementing the remaining parts. I haven't used drag drop in a

Re: [wxlua-users] extract binding from headers

2008-07-16 Thread John Labenski
On Tue, Jul 15, 2008 at 5:57 PM, klaas.holwerda [EMAIL PROTECTED] wrote: Hi John, I am reaching the point that i want to make more and more bindings. And so i wonder how you made the *.i files. Do you have a script to extract them more or less are is it all handwork? You can use these

Re: [wxlua-users] [ANN] patch for wxGlade, to generate GUI code for (wx)Lua

2008-07-21 Thread John Labenski
On Sat, Jul 19, 2008 at 5:45 PM, Makoto Hamanaka [EMAIL PROTECTED] wrote: Hi, I was looking for some GUI builder for wxLua and I found wxGlade, but it lacks GUI code generation for Lua. And I looked into the source code of wxGlade and found that it looks not so difficult to add this

Re: [wxlua-users] MingW build help

2008-07-30 Thread John Labenski
On Sat, Jul 26, 2008 at 8:29 AM, kinming2003 [EMAIL PROTECTED] wrote: Hi, everyone. I want to make a editor that make use of wxlua. But I want to use the DLLs generated by MingW so that I can sharing the WxWidgets DLLs with WxLua. Thus I can make the installer much smaller.I feel very easy to

Re: [wxlua-users] LuaScript WSH = wxLua?

2008-09-02 Thread John Labenski
On Fri, Aug 29, 2008 at 7:32 AM, Ozzy [EMAIL PROTECTED] wrote: Hello, I was looking for a windows scripting host for Lua, came across a dead link to LuaScript: http://www.luascript.thersgb.net/luascript/ the download setup.exe was corrupt on iarchive of course... but i found:

Re: [wxlua-users] WxLua apps on Xandros Linux (eee pc)?

2008-10-04 Thread John Labenski
On Sat, Sep 27, 2008 at 5:58 PM, Kyle Pierce [EMAIL PROTECTED] wrote: I currently do wxLua development work on a Windows box, but would like to do wxLua scripting on my eee pc, which comes with Xandros linux (a debian variant). Has anyone been able to install wxLua on Xandros, or for that

Re: [wxlua-users] Handling socket events?

2008-10-07 Thread John Labenski
On Tue, Oct 7, 2008 at 1:35 AM, Evan DeMond [EMAIL PROTECTED] wrote: Hi all, I'm writing a wxLua app which needs socket functionality, and I'm having trouble figuring out how to handle events from wxSocketClient. wxSocketBase doesn't inherit from wxEvtHandler, meaning Connect() isn't an

Re: [wxlua-users] Help embedding wxLua in a wxWidgets application

2008-10-10 Thread John Labenski
On Fri, Oct 10, 2008 at 9:25 AM, Scott Kirkpatrick [EMAIL PROTECTED] wrote: I'm new to embedding a scripting engine in another application but I can follow how to call a Lua function from a wxWidgets application and how to pass data to it and get data back. I see that wxLua gives me the

Re: [wxlua-users] Help embedding wxLua in a wxWidgets application

2008-10-10 Thread John Labenski
On Fri, Oct 10, 2008 at 12:55 PM, Scott Kirkpatrick [EMAIL PROTECTED] wrote: John, That's what I had picked up from reading the Lua documentation and works if I want to use a wxWidgets object. Here's what I want to do: class Item { public: wxStringRefID; bool

Re: [wxlua-users] bind operator

2008-10-20 Thread John Labenski
On Sat, Oct 18, 2008 at 5:00 AM, klaas.holwerda [EMAIL PROTECTED] wrote: Hi John, Started some serious wrapping now, and understand that it is no so automatic as i hoped :-) Anyway the tag extraction script give a reasonable start. But when it come to operator its a bit bad. I tried to fix

Re: [wxlua-users] bind typedefs

2008-10-20 Thread John Labenski
On Sat, Oct 18, 2008 at 5:19 AM, klaas.holwerda [EMAIL PROTECTED] wrote: Hi, My typedef in C++ become reversed in *.i files. not a problem, but further down, it looks like the typedef is not respected. Not only with a template like down here, also with simple classes. Like: %typedef

Re: [wxlua-users] bind type

2008-10-20 Thread John Labenski
On Sat, Oct 18, 2008 at 6:23 AM, klaas.holwerda [EMAIL PROTECTED] wrote: Hi John, One more, a2dWalkEvent is a simple const long In the rules file i did add this: AllocDataType(a2dWalkEvent, const long, false) Force it to be treated as a number: AllocDataType(a2dWalkEvent, const long,

Re: [wxlua-users] bind operator

2008-10-20 Thread John Labenski
I've added the ability to wrap the , , ~, operators in CVS. -John On Mon, Oct 20, 2008 at 11:34 AM, John Labenski [EMAIL PROTECTED] wrote: On Sat, Oct 18, 2008 at 5:00 AM, klaas.holwerda [EMAIL PROTECTED] wrote: Hi John, Started some serious wrapping now, and understand that it is no so

Re: [wxlua-users] bind typedefs

2008-10-21 Thread John Labenski
On Tue, Oct 21, 2008 at 12:47 PM, klaas.holwerda [EMAIL PROTECTED] wrote: John Labenski wrote: This should be fixable if I can get a simple example of what makes the binder crash. %typedef a2dPoint2D wxPoint2DDouble %function a2dPoint2D GetPoint() %function void SetPoint(const a2dPoint2D

Re: [wxlua-users] bind type

2008-10-21 Thread John Labenski
On Tue, Oct 21, 2008 at 12:42 PM, klaas.holwerda [EMAIL PROTECTED] wrote: John Labenski wrote: On Sat, Oct 18, 2008 at 6:23 AM, klaas.holwerda [EMAIL PROTECTED] wrote: One more, a2dWalkEvent is a simple const long In the rules file i did add this: AllocDataType(a2dWalkEvent, const long

Re: [wxlua-users] bind and void parameter.

2008-10-21 Thread John Labenski
On Tue, Oct 21, 2008 at 12:50 PM, klaas.holwerda [EMAIL PROTECTED] wrote: Hi John, This might be an easy one to fix. a2dCanvasObject* GetParent( void ) const The void parameter causes problems. Maybe you can simply skip it. I remember some compilers give a warning if its missing, so it is

Re: [wxlua-users] bind operator

2008-10-22 Thread John Labenski
On Wed, Oct 22, 2008 at 2:45 PM, klaas.holwerda [EMAIL PROTECTED] wrote: John Labenski wrote: I've added the ability to wrap the , , ~, operators in CVS. I tested it, but i still get the same errors in C++. I think a name like this is not allowed, if i change in say _ss, this lines at least

Re: [wxlua-users] bind and void parameter.

2008-10-23 Thread John Labenski
On Wed, Oct 22, 2008 at 2:15 PM, klaas.holwerda [EMAIL PROTECTED] wrote: John Labenski wrote: On Tue, Oct 21, 2008 at 12:50 PM, klaas.holwerda [EMAIL PROTECTED] wrote: Hi John, This might be an easy one to fix. a2dCanvasObject* GetParent( void ) const The void parameter causes problems

Re: [wxlua-users] bind typedefs

2008-10-23 Thread John Labenski
On Wed, Oct 22, 2008 at 2:56 PM, klaas.holwerda [EMAIL PROTECTED] wrote: John Labenski wrote: //%operator a2dAffineMatrix operator-( const a2dAffineMatrix a, const a2dAffineMatrix b ) Even this one compiles now. Which looks like two operands?? I don't know why, didn't it generate

Re: [wxlua-users] more small binding problems

2008-10-23 Thread John Labenski
On Wed, Oct 22, 2008 at 3:06 PM, klaas.holwerda [EMAIL PROTECTED] wrote: John, I hope you don't mind i keep reporting issues, it just to improve wxLua. Most of them i can just change to make them work, but maybe you can improve the binding generator. If you prefer i report them in separate

Re: [wxlua-users] bind typedefs

2008-10-24 Thread John Labenski
On Fri, Oct 24, 2008 at 12:54 PM, klaas.holwerda [EMAIL PROTECTED] wrote: John Labenski wrote: I don't know why, didn't it generate something like this? %operator double operator-( int col, int row ) double returns = ((*self)-(col, row)); Anyway, it should be fixed in CVS. I updated

Re: [wxlua-users] more small binding problems

2008-10-24 Thread John Labenski
On Fri, Oct 24, 2008 at 1:29 PM, klaas.holwerda [EMAIL PROTECTED] wrote: John Labenski wrote: By the way, I'm a little hesitant to do too much work on the bindings since wxWidgets 3.0 uses doxygen and some sort of stripped down headers for their docs. In order to keep the bindings updated I'll

<    1   2   3   4   5   6   7   8   >