Re: [wxlua-users] wxlua upgrade and outstanding issues

2016-06-05 Thread Paul K
Hi Ulrich,

> I plan to update ZBS build scripts to support wx.dll building for Lua
> 5.2 and Lua 5.3.

I pushed the updated scripts to wxwidgets31x-upgrade branch
(https://github.com/pkulchenko/ZeroBraneStudio/tree/wxwidgets31x-upgrade)

You should be able to run "(cd build; bash build-win32.sh wxwidgets
lua 5.3 wxlua)" and get wx.dll compiled for Lua 5.3 (it will be
installed in clibs53 folder); similar for Lua 5.2.

Paul.

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users


Re: [wxlua-users] wxlua upgrade and outstanding issues

2016-06-05 Thread Paul K
Hi Ulrich,

> I want to build wxlua as a loadable module (.dll) for 5.2 and 5.3 with 
> wxwidgets statically linked into.
> I will try to hack the 5.3 into the CMake files and report my results back to 
> you.

I made some progress, which I think can help in your case. I made
several changes to wxlua that allows for Lua 5.3 support:
https://github.com/pkulchenko/wxlua/commits/wxwidgets311

You just need to point it to the correct Lua headers and make sure
that the Lua 5.3 is compiled with LUA_COMPAT_MODULE:

make mingw MYCFLAGS="-DLUA_COMPAT_MODULE"

You should then be able to build wxlua without any other changes; also
make sure to include LUA_COMPAT_MODULE and reference the correct Lua
dll:

-DCMAKE_CXX_FLAGS="-DLUA_COMPAT_MODULE"
-DwxLua_LUA_LIBRARY="$INSTALL_DIR/lib/lua53.dll"

(make sure you purge Cmake cache files if you are re-using the build
folders as there may be conflicts)

I plan to update ZBS build scripts to support wx.dll building for Lua
5.2 and Lua 5.3.

I tested the library I built on wxlua samples (auidemo and editor) and
haven't seen any issues.

Paul.

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users


Re: [wxlua-users] wxlua upgrade and outstanding issues

2016-06-04 Thread Paul K
Hi Ulrich,

> I cant link with lua-5.3 right now, can i? At least CMake complains:
>> CMake Error at CMakeLists.txt:156 (MESSAGE):
>>  wxLua_LUA_LIBRARY_VERSION may only be set to '5.1' or '5.2'

Right; only Lua 5.1 and 5.2 are currently supported.

Are you interested in adding 5.3 as a builtin or an external library?

I was looking at going through cmake files and adding branches similar
to 5.2, but then realized that some of the Lua API changes will
require manual updates and decided to postpone it for now.

If you want to give it a try, the easiest way would be to go through
Cmake files and replace 5.2 with 5.3 just to see if it's going to
compile (assuming you use an external header files and libraries to
link agains).

Paul.

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users


Re: [wxlua-users] wxlua upgrade and outstanding issues

2016-03-23 Thread Paul K
Hi Laurent,

> I'm not able to compile some projects because of lack of compatibility with 
> old wxWidget classes like wxProperty.

I'm not sure how wxProperty is involved, but my fork shouldn't *add*
any issues as it's based on John's code and I only added updated wxSTC
binding (with all the methods updated for wxwidgets 3.1.0 and 3.1.1)

> I tryed to set to 1 the define WXWIN_COMPATIBILITY_2_8 which is set to 0 
> since wxWidget 3.1.0 but I have encountered lot of others problems. Have you 
> override some others define to be able to compile ? Did I miss something ?

I use the same setting; here is my configure line:

  ./configure --prefix="$INSTALL_DIR" $WXWIDGETSDEBUG --disable-shared
--enable-unicode \
--enable-compat28 \
--with-libjpeg=builtin --with-libpng=builtin --with-libtiff=no
--with-expat=no \
--with-zlib=builtin --disable-richtext \
CFLAGS="-Os -fno-keep-inline-dllexport" CXXFLAGS="-Os
-fno-keep-inline-dllexport"

I build using my own scripts without issues on Windows/OSX/Linux, but
I'm using my fork of wxwidgets that is little bit behind their master
branch (but I don't have any changes to their version, just lagging a
bit behind).

You can find all the build scripts for various platforms here:
https://github.com/pkulchenko/ZeroBraneStudio/tree/master/build; just
search for BUILD_WXWIDGETS.

Paul.

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140
___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users


Re: [wxlua-users] wxlua upgrade and outstanding issues

2016-03-23 Thread Hernan Cano
Hi, friends.
Also interested in "update" wxLua.
I can help by writing some changes as indicated.
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users


Re: [wxlua-users] wxlua upgrade and outstanding issues

2016-03-23 Thread Laurent Renoux
Hi Paul,

I'm interested to moving to wxwidgets310 or higher because of support for vc14. 
I try to use your fork, but I'm not able to compile some projects because of 
lack of compatibility with old wxWidget classes like wxProperty. 

I tryed to set to 1 the define WXWIN_COMPATIBILITY_2_8 which is set to 0 since 
wxWidget 3.1.0 but I have encountered lot of others problems. Have you override 
some others define to be able to compile ? Did I miss something ?

Laurent.


-Message d'origine-
De : Paul K [mailto:paulclin...@yahoo.com] 
Envoyé : samedi 5 mars 2016 23:27
À : wxlua-users@lists.sourceforge.net
Objet : Re: [wxlua-users] wxlua upgrade and outstanding issues

Hi All,

> manual changes intact when possible. All the constants/methods/events 
> have been updated and should be up-to-date with wxwidgets31 and 
> Scintilla 3.6.3.

It turned out that my patch for Scintilla 3.6.3 was not merged into
3.1.0 that was recently released, but has been merged into 3.1.1 (the current 
master branch), so I split the patch I had into two
branches/patches: wxwidgets310
(https://github.com/pkulchenko/wxlua/tree/wxwidgets310), which is updated for 
Scintilla 3.5.5 that was included with 3.1.0 and
wxwidgets311 (https://github.com/pkulchenko/wxlua/tree/wxwidgets311),
which includes Scintilla 3.6.3.

I plan on adding more missing methods/constants to 3.1.0 branch (and rebasing 
3.1.1 branch to include Scintilla changes). Please let me know if you notice 
any issues with the bindings.

Paul.

On Tue, Feb 9, 2016 at 2:39 PM, Paul K <paulclin...@yahoo.com> wrote:
> Hi All,
>
> For those interested in wxwidgets upgrades, I pulled the current 
> version of wxlua into a github repository and applied wxSTC changes in 
> the current wxwidgets master branch to wxlua; all these changes are 
> available in wxwidgets31 branch:
> https://github.com/pkulchenko/wxlua/tree/wxwidgets31
>
> I wrote a couple of scripts to merge stc.h constants/methods with 
> wxlua interface descriptions, but since the earlier changes have been 
> done manually, I've tried to reconcile the differences keeping the 
> manual changes intact when possible. All the constants/methods/events 
> have been updated and should be up-to-date with wxwidgets31 and 
> Scintilla 3.6.3.
>
> John, I also fixed an earlier change that removed CoffeeScript lexer 
> instead of removing just one constant in wxwidgets 3.1; the change is
> here: 
> https://github.com/pkulchenko/wxlua/commit/0cb663ecd05dd1aabe9dcd12a70
> 53f524dc336d5
>
> I've tested this with my application on Windows and would appreciate 
> you letting me know if you notice any issues with the updated binding.
>
> Paul.

--
___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351=/4140
___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users


Re: [wxlua-users] wxlua upgrade and outstanding issues

2016-03-05 Thread Paul K
Hi All,

> manual changes intact when possible. All the constants/methods/events
> have been updated and should be up-to-date with wxwidgets31 and
> Scintilla 3.6.3.

It turned out that my patch for Scintilla 3.6.3 was not merged into
3.1.0 that was recently released, but has been merged into 3.1.1 (the
current master branch), so I split the patch I had into two
branches/patches: wxwidgets310
(https://github.com/pkulchenko/wxlua/tree/wxwidgets310), which is
updated for Scintilla 3.5.5 that was included with 3.1.0 and
wxwidgets311 (https://github.com/pkulchenko/wxlua/tree/wxwidgets311),
which includes Scintilla 3.6.3.

I plan on adding more missing methods/constants to 3.1.0 branch (and
rebasing 3.1.1 branch to include Scintilla changes). Please let me
know if you notice any issues with the bindings.

Paul.

On Tue, Feb 9, 2016 at 2:39 PM, Paul K  wrote:
> Hi All,
>
> For those interested in wxwidgets upgrades, I pulled the current
> version of wxlua into a github repository and applied wxSTC changes in
> the current wxwidgets master branch to wxlua; all these changes are
> available in wxwidgets31 branch:
> https://github.com/pkulchenko/wxlua/tree/wxwidgets31
>
> I wrote a couple of scripts to merge stc.h constants/methods with
> wxlua interface descriptions, but since the earlier changes have been
> done manually, I've tried to reconcile the differences keeping the
> manual changes intact when possible. All the constants/methods/events
> have been updated and should be up-to-date with wxwidgets31 and
> Scintilla 3.6.3.
>
> John, I also fixed an earlier change that removed CoffeeScript lexer
> instead of removing just one constant in wxwidgets 3.1; the change is
> here: 
> https://github.com/pkulchenko/wxlua/commit/0cb663ecd05dd1aabe9dcd12a7053f524dc336d5
>
> I've tested this with my application on Windows and would appreciate
> you letting me know if you notice any issues with the updated binding.
>
> Paul.

--
___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users