[wxlua-users] mingw compiling wxlua problems

2012-09-16 Thread Victor Bombi
):(.text+0x0): first defined here Any help would be appreciated. Best Regards Victor Bombi ...-- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http

Re: [wxlua-users] mingw compiling wxlua problems

2012-09-16 Thread Victor Bombi
linked with libwxlua_lua51-wx29mswu-2.8.12.dll and not lua51.dll which is what I need Best Regards Victor Bombi-- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite

Re: [wxlua-users] mingw compiling wxlua problems

2012-09-16 Thread Victor Bombi
wx.wxFLD_OPEN. Can I get the defines as before? Best Regards Victor Bombi-- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net

Re: [wxlua-users] mingw compiling wxlua problems

2012-09-16 Thread Victor Bombi
There is an assert complain about resources not being loaded and something about wx.rc. The message doesnt appear know, application simply crash I saw in the code that __WXMSW__ should be defined for remembering the dllinstance for loading resources. Must I define it? Where? Best Regards Victor

Re: [wxlua-users] mingw compiling wxlua problems

2012-09-16 Thread Victor Bombi
compiled with mingw all the lua modules I got strange hangs in wx 2.8.12 , so I decided to compile by myself. Now behaviour is worse. Any ideas? Any relation with unicode? Best Regards Victor Bombi -- Everyone hates

Re: [wxlua-users] mingw compiling wxlua problems

2012-09-17 Thread Victor Bombi
not return lua_getglobal(L, wx);? Would that break wx? Best Regards Victor Bombi -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how

Re: [wxlua-users] mingw compiling wxlua problems

2012-09-18 Thread Victor Bombi
not sure about what you mean. If you mean sending by lindas some kind of description for the work to be done by the wx lane and receiving the answer by lindas also, That is what I am already doing for creating windows from other lanes or using wxDir. Best Regards Victor Bombi

Re: [wxlua-users] LuaLans threading, was Re: mingw compiling wxlua problems

2012-09-19 Thread Victor Bombi
); which is nil in that new lua_State. The other part in luaopen_wx is not called because s_wxlState is a static wxLuaState so !s_wxlState.Ok() fails because is was inited in a pevious lane (lua_State) So I can require it in ANY lane I want but only on ONE. Best Regards Victor Bombi

Re: [wxlua-users] Which wxWidgets?

2012-09-21 Thread Victor Bombi
version? Best Regards Victor Bombi I have found in the module info that it is 2.8.12 so I have tryed to compile with this. First difference: I had to run Cmake twice to get the libraries detected althought it was set with: C:\Program Files\CMake 2.8\bin\cmake -GMinGW Makefiles -DCMAKE_BUILD_TYPE

Re: [wxlua-users] Which wxWidgets?

2012-09-22 Thread Victor Bombi
/ A lot of text this time ;) Than you for your attention Victor Bombi -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your

Re: [wxlua-users] Which wxWidgets?

2012-09-23 Thread Victor Bombi
You should remove propgrid from your list of wxWidget_COMPONENTS... I was not setting this variable. I thought that cmake would take care off that ADD_SUBDIRECTORY(C:/LUA/wxlua-sources/wxLua/modules/wxstedit) Call Stack (most recent call first): CMakeLists.txt:248 (add_subdirectory)

Re: [wxlua-users] Which wxWidgets?

2012-09-23 Thread Victor Bombi
When wxWidgets is build with DEBUG_FLAG=0 On wxLua compilation I get: ..\..\lib\libwxstedit-wx29mswu-1.6.0.a(steprint.cpp.obj):steprint.cpp:(.text+0x19a9): undefined reference to `_wxTheAssertHan dler' ..\..\lib\libwxstedit-wx29mswu-1.6.0.a(steprint.cpp.obj):steprint.cpp:(.text+0x19dd):

Re: [wxlua-users] Which wxWidgets?

2012-09-24 Thread Victor Bombi
to be not a wxPointList. I cant imagine how should be done. Best Regards Victor Bombi -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how

Re: [wxlua-users] Which wxWidgets?

2012-09-24 Thread Victor Bombi
in this widgets. I will check if I did something different in both compilations (which could be one possibility) the other possibility is that the threading model has changed something from 2.8.12 to 2.9.4. In my experience realy 2.8.12 is stable and 2.9.4 unstable Best Regards Victor Bombi

Re: [wxlua-users] wxPointList was Re: Which wxWidgets?

2012-09-25 Thread Victor Bombi
to insert it in wxLua code and how you control function overloadings. Also perhaps you use something different than luaL_error. Best Regards Victor Bombi -- Live Security Virtual Conference Exclusive live event will cover

Re: [wxlua-users] Which wxWidgets?

2012-09-25 Thread Victor Bombi
the left margin (markers and so on) of a wxstc.editor. So it seems it is not a lua lanes problem. Best Regards Victor Bombi -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security

Re: [wxlua-users] wxPointList was Re: Which wxWidgets?

2012-09-29 Thread Victor Bombi
Something like that, but quite a bit more work is involved to do it the right way and have it reusable in similar functions. Lot of work indeed!! Thank you -- How fast is your code? 3 out of 4 devs don\\\'t know how

Re: [wxlua-users] wxSTC in 2.9.4

2012-09-30 Thread Victor Bombi
There was a mistake in post: I mean running editor.wx.lua sample with wx.dll compiled against 2.9.4 wxWidgets I have also tryed the stc sample of wxWidgets 2.9.4 but I dont get the same error. -- Everyone hates slow

Re: [wxlua-users] wxSTC in 2.9.4

2012-10-02 Thread Victor Bombi
You use mingw? This problem occurs in 2.9.4 running lua editor.wx.lua, but not with wxluafreeze editor.wx.lua? Does this problem occur with 2.8.12 in mingw? (the wxlua-2.8.12.zip is built using Visual Studio) I tryed with wx.dll compiled by me with mingw against 2.8.12 and 2.9.4. wxWidgets

Re: [wxlua-users] wxSTC in 2.9.4

2012-10-02 Thread Victor Bombi
I tryed with wx.dll compiled by me with mingw against 2.8.12 and 2.9.4. wxWidgets I run lua editor.wx.lua with both of them , the error appears only in 2.9.4 version It does not happen running from wxLuaFreeze.exe

Re: [wxlua-users] wxSTC in 2.9.4

2012-10-02 Thread Victor Bombi
I tryed with wx.dll compiled by me with mingw against 2.8.12 and 2.9.4. wxWidgets I run lua editor.wx.lua with both of them , the error appears only in 2.9.4 version It does not happen running from wxLuaFreeze.exe More complete -2.8.12 with wxLuaFreeze.exe I see right arrow -2.8.12 with

Re: [wxlua-users] Build fixed for MingW

2012-10-06 Thread Victor Bombi
To be sure, everything builds and works? (except for having to run cmake twice which is probably unavoidable) I have just compiled and everything seems OK. Thank you for all your work with wxLua!! Best Regards Victor Bombi

[wxlua-users] print numbers

2012-11-12 Thread Victor Bombi
Hello, this script: print(0.4) require(wx) print(0.4) does this output: 0.4 0,4 For me is very bad because I cant serialize floats. Is there any reason for changing tostring method for numbers or could be reverted? Thank you Victor Bombi

Re: [wxlua-users] print numbers

2012-11-15 Thread Victor Bombi
Hello, This is what I get: lua.exe Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio print(1.234, string.format(%f, 2.345), os.setlocale()) 1.234 2.345000C require(wx) print(1.234, string.format(%f, 2.345), os.setlocale()) 1,234 2,345000Spanish_Spain.1252

Re: [wxlua-users] sizers and wxCollapsiblePane

2013-01-16 Thread Victor Bombi
(panel); -- show the frame window frame:Show(true) end main() wx.wxGetApp():MainLoop() Best Regards and thanyou for reading Victor Bombi -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery

Re: [wxlua-users] sizers and wxCollapsiblePane

2013-01-17 Thread Victor Bombi
This was tough to find, but by remming out parts I was able to find where the code that caused the crash came from. Thanks a lot. I think I have understood basic things about sizers that I could not find in any web tutorial Best Victor Bombi

[wxlua-users] strange editor.wx.lua behaviour 2.9.4

2013-01-20 Thread Victor Bombi
position the cursor on that line. I also had other strange behaviour about updating deleted lines but I dont have reproducing sequence. Best Victor Bombi-- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS

Re: [wxlua-users] compliling for 5.2

2013-03-31 Thread Victor Bombi
I see that on that line I am trying to properly initialize a lua_Debug struct, probably the struct has changed since 5.1? You can rem that line out for now... As far as I know it is not unsigned char. After removing inicialization I get

Re: [wxlua-users] compliling for 5.2

2013-04-02 Thread Victor Bombi
, Lanes fails only for Lua 5.2 as the randomizer is the real show breaker here. For me Lanes is the most essential module in Lua. Victor Bombi -- Minimize network downtime and maximize team effectiveness. Reduce

[wxlua-users] wxGLCanvas

2013-08-16 Thread Victor Bombi
, wx.wxEXPAND) to get a canvas without a glcontext But in both cases it happens the same application is not responsive you can only do ctrl-C and crash Is there another example anywhere? Somethig should be changed? best victor bombi

Re: [wxlua-users] wxGLCanvas

2013-08-16 Thread Victor Bombi
() canvas:SwapBuffers() dc:delete() end - Original Message - From: Victor Bombi son...@telefonica.net To: wxlua-users@lists.sourceforge.net Sent: Friday, August 16, 2013 3:29 PM Subject: [wxlua-users] wxGLCanvas Hello, this is the sample that comes with luagl for using it with wxlua. From the docs

[wxlua-users] four tabs one in each corner with wxAuiNotebook:Split()

2013-10-21 Thread Victor Bombi
] then notebookLogs:Split(notebookLogs:GetPageIndex(Log[i]),splits[i]) end end Best Regards victor bombi -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance

Re: [wxlua-users] four tabs one in each corner withwxAuiNotebook:Split()

2013-10-21 Thread Victor Bombi
4:28 AM Subject: Re: [wxlua-users] four tabs one in each corner withwxAuiNotebook:Split() On Mon, Oct 21, 2013 at 2:01 PM, Victor Bombi son...@telefonica.net wrote: Hello: How could I use wxAuiNotebook:Split() to get four tabs one in each corner. I think you may need

Re: [wxlua-users] four tabs one in each cornerwithwxAuiNotebook:Split()

2013-11-17 Thread Victor Bombi
Hello John It looks like wxTabFrame is not exposed though any header file. It is defined in auibook.cpp:2799 (2.8.12) (should it be a header file?) victor -- DreamFactory - Open Source REST JSON Services for HTML5

[wxlua-users] EVT_MOUSE_EVENTS

2013-12-04 Thread Victor Bombi
Hello Is there in wxlua a way to Connect afunction to all mouse events? I get nil for w.wxEVT_MOUSE_EVENTS Best victor -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base.

[wxlua-users] character 194

2013-12-26 Thread Victor Bombi
Hello, trying to post this lua error message to wxStyledTextCtrl: loadfile error:C:\LUA\lua2sc\samples\charactererror.lua:4: unexpected symbol near '┬' with AppendText I dont get any output. The problem seems to be the character with ASC code 194 my test is something like errst =

Re: [wxlua-users] character 194

2013-12-27 Thread Victor Bombi
of course it is not a problem with 194 only for i=0,255 do SendtoLog(i,string.char(i)) end only outputs from 0 to 127 - Original Message - From: Victor Bombi son...@telefonica.net To: wxlua-users@lists.sourceforge.net Sent: Thursday, December 26, 2013 5:39 PM Subject: [wxlua-users

Re: [wxlua-users] character 194

2013-12-27 Thread Victor Bombi
into a wxSTC control. If #editor:GetText() == 0, I try to fix UTF8 content using this logic: http://notebook.kulchenko.com/programming/fixing-malformed-utf8-in-lua See if something similar works for you. Paul On Fri, Dec 27, 2013 at 7:20 AM, Victor Bombi son...@telefonica.net wrote: Also

Re: [wxlua-users] character 194

2013-12-27 Thread Victor Bombi
Have tried your fixUTF8, works perfect, thank you. I thought that if I couldnt use setcodepage as expected in wxSTC I would be able to use wxString:ToUTF8() but it is not working for me. - Original Message - From: Victor Bombi son...@telefonica.net To: wxlua-users@lists.sourceforge.net

[wxlua-users] fail to build wxlua on mac osx 10.9

2014-09-30 Thread Victor Bombi
: fatal error: 'tr1/type_traits' file not found #include tr1/type_traits Any thoughts? Best victor bombi -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status

Re: [wxlua-users] fail to build wxlua on mac osx 10.9

2014-10-01 Thread Victor Bombi
defining HAVE_TYPE_TRAITS solves this issue but then whith clang++ Linking CXX shared library ../../lib/Debug/libwx.dylib Undefined symbols for architecture x86_64: non-virtual thunk to wxHtmlListBox::RefreshAll(), referenced from: vtable for wxWindowWithItemswxHtmlListBox, wxItemContainer in

Re: [wxlua-users] fail to build wxlua on mac osx 10.9

2014-10-01 Thread Victor Bombi
more investigations it seems that clang++ and g++ are the same. what makes the difference between both results obtained is that one had the c++11 flag and the other not. So it seems that wxLua is not c++11 compliant as stated in previous building error messages (you will see a modification

Re: [wxlua-users] fail to build wxlua on mac osx 10.9

2014-10-02 Thread Victor Bombi
-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk there are several differences but I am not sure what is the relevant ones what do you think? Best victor - Original Message - From: Victor Bombi son...@telefonica.net To: wxlua-users

[wxlua-users] build against luajit

2014-10-03 Thread Victor Bombi
Hello, When trying to build against a external lua library (luajit in mac osx 10.9) it complains about not finding luaopen_bit32 Isn't this a confusion with lua5.2? Best victor -- Meet PCI DSS 3.0 Compliance

Re: [wxlua-users] build against luajit

2014-10-03 Thread Victor Bombi
I see that you provided it in lbitlib.c and with BUILD_VERBOSELY=TRUE I can see it is included in linking, so I dont know what else to look for. I know I can build against wxlua provided lua5.1 and then use module from luajit but I got a crash doing that and that is why I try to build against

[wxlua-users] wxlua auidemo debug error

2014-10-03 Thread Victor Bombi
Running auidemo from wxLua build from svn on mac osx 10.9 with wxWidgets3.0.1 , if you try to make wider the bottom right pane: ../src/common/wincmn.cpp(3271): assert !wxMouseCapture::IsInCaptureStack(this) failed in CaptureMouse(): Recapturing the mouse in the same window? Call stack: [00]

Re: [wxlua-users] build against luajit

2014-10-03 Thread Victor Bombi
./build-macosx.sh lua wxwidgets wxlua ./build-macosx.sh lua jit Thanks, I will try that. -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI

Re: [wxlua-users] wxlua auidemo debug error

2014-10-06 Thread Victor Bombi
Subject: Re: [wxlua-users] wxlua auidemo debug error On Fri, Oct 3, 2014 at 1:15 PM, Victor Bombi son...@telefonica.net wrote: Running auidemo from wxLua build from svn on mac osx 10.9 with wxWidgets3.0.1 , if you try to make wider the bottom right pane: ../src/common

[wxlua-users] using wx in two lanes

2014-10-27 Thread Victor Bombi
) and this lane ends. The main problem I see is that there is only one wxApp created by wxWidgets so it is not possible to have two independent message loops. (and maybe two independent wxApps) Is there something that can be done to create two different wxApp one in each lane? Best victor bombi

Re: [wxlua-users] using wx in two lanes

2014-10-28 Thread Victor Bombi
this is an imposible task also. what a pitty!! thanks victor - Original Message - From: John Labenski To: wxlua-users@lists.sourceforge.net Sent: Monday, October 27, 2014 9:44 PM Subject: Re: [wxlua-users] using wx in two lanes On Mon, Oct 27, 2014 at 8:03 AM, Victor Bombi son

[wxlua-users] wxString::ToAscii

2015-02-28 Thread Victor Bombi
Hello, is wxString::ToAscii implemented? victor -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things

[wxlua-users] wxLua ANSI to WCHAR (was wxString::ToAscii)

2015-03-02 Thread Victor Bombi
This is lua2wx, it seems that it takes utf8 strings instead or ANSI with local codepage WXLUA_USE_WXSTR_CONVCURRENT 1 should be tried? #define WXLUA_USE_WXSTR_CONVUTF81 #define WXLUA_USE_WXSTR_CONVCURRENT 0 // Convert a 8-bit ANSI

Re: [wxlua-users] wxLua ANSI to WCHAR (was wxString::ToAscii)

2015-03-02 Thread Victor Bombi
Hi Jonh and Paul, From8BitData() is static and To8BitData() mentioned in (http://sourceforge.net/p/wxlua/mailman/message/32175781/) but allowing to specify codepage (wxConvISO8859_1 or whatever) would be enought best victor - Original Message - From: Victor Bombi son

Re: [wxlua-users] wxString::ToAscii

2015-03-05 Thread Victor Bombi
- From: John Labenski To: wxlua-users@lists.sourceforge.net Sent: Thursday, March 05, 2015 7:05 PM Subject: Re: [wxlua-users] wxString::ToAscii On Thu, Mar 5, 2015 at 12:11 PM, Victor Bombi son...@telefonica.net wrote: What do you plan to do with this wxString? You won't

Re: [wxlua-users] wxString::ToAscii

2015-03-01 Thread Victor Bombi
the problem is converting from ANSI to UNICODE wxLua unicode build converts as if the string were UTF8 to UNICODE it works from code 1 to 127 but fails on 128-255 which are not valid UTF 0 is discarded in lua2wx if (luastr == NULL) return wxEmptyString; // check for NULL which is a problem

Re: [wxlua-users] wxString::ToAscii

2015-03-01 Thread Victor Bombi
: Victor Bombi To: wxlua-users@lists.sourceforge.net Sent: Sunday, March 01, 2015 8:37 PM Subject: Re: [wxlua-users] wxString::ToAscii the problem is converting from ANSI to UNICODE wxLua unicode build converts as if the string were UTF8 to UNICODE it works from code 1 to 127 but fails

Re: [wxlua-users] wxMenu:AppendSubMenu

2015-02-25 Thread Victor Bombi
Dont mind. ;-) I have seen in ZerobraneStudio how this can be done with Append - Original Message - From: Victor Bombi son...@telefonica.net To: wxlua-users@lists.sourceforge.net Sent: Wednesday, February 25, 2015 8:43 PM Subject: [wxlua-users] wxMenu:AppendSubMenu Hello

Re: [wxlua-users] Problem compiling wxlua svn 247

2015-05-18 Thread Victor Bombi
also, if you added -DLUA_COMPAT_MODULE after running cmake perhaps you need to delete directory and run cmake from scratch again - Original Message - From: Philipp Überbacher mu...@tuxfamily.org To: wxlua-users@lists.sourceforge.net Sent: Monday, May 18, 2015 10:01 AM Subject: Re:

Re: [wxlua-users] Running a .wx.lua.....

2015-11-19 Thread Victor Bombi
://luajit.org/ext_ffi.html) which lets you use any module (.dll or .so) that is exporting functions from Lua directly without having to compile a Lua binding for that. Best victor - Original Message - From: Hernan Cano To: Victor Bombi Sent: Thursday, November 19, 2015 12:05 AM