SourceForge logo
SourceForge logo
Menu

wxlua-users — wxLua list for users and developers

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
2
3
4
5
6
7
8
(5)
9
10
11
12
(1)
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(6)
30

Showing 12 results of 12

From: klaas.holwerda <ng...@kl...> - 2010年04月29日 21:31:13
John Labenski wrote:
>
>
> Try to not be so lazy?
I already don't understand how you managed to do what wxLua is right 
now, more like overly active i would say :-)
> Seriously though, I have written a parser in
> Lua for the XML output from the wxWidgets Doxygen documentation. It
> can read in all 1000+ files and generate a Lua table with all the
> pertinent data saved in a nice orderly manner. It is complete in that
> it understands everything in the files and gives warning messages if
> there is anything in the XML file that is not understood.
> 
Oke, that sounds promising.
> 6) Redo all the build files. (this is the hard part)
> 
I assume you mean the bakefile stuff.
I am not a fan of bakefile, never appealed to me.
But Premake would fit wxlua perfectly ;-)
I am using Cmake, and only because i can understand it, and it is well 
documented etc.
And what i like is that it is possible to generate the binding during 
the build process.
With 2.9 all is unicode, and also other things have become more simple.
> This is a massive undertaking for me, but yes I still plan to do it.
> 
Indeed, will read it a few time more to understand it :-)
> >From the looks of it, making 2.8 and 2.9 work together would be
> impossible. 
I am not aware so much changed. But you must be right. With wxArt2D i 
had to change not to much.
But that was easy, wxLua has to deal with all changes.
> You can freely hack away at the generated C binding files
> on stuff that you don't care about. For example, if some class
> function changed or disappeared, just rem out the code inside these
> functions to make them like the code below. Obviously, that
> feature/function won't work, but if you don't plan to use it it's a
> quick and easy way to get wxLua to compile again.
> static int wxLua_wxClass_FunctionName(lua_State* L) { return 1; }
> 
Maybe i will try once more. The main thing is that users are asking for 
2.9, and i can only offer them half.
But then again, i never had a question on the use of wxLua within 
wxArt2D, so i guess most user don't enable the option :-(
To bad, since it makes so much possible.
>> Or do you think you will find time to change the whole binding stuff to
>> XML/doxygen based.
>> Maybe just get it working for 2.9 for the moment, is less a problem??
>> 
>
> I haven't tried, but I don't think it should be too hard to get 2.9
> working with the current bindings, but then again, maybe a lot more
> has changed than I remember. The hardest part is maintaining the class
> heirarchy, because that will cause serious problems.
> 
Oke i remember that.
And if i can be of help somehow, let me know.
At least i can test ;-)
Klaas
From: John L. <jla...@gm...> - 2010年04月29日 17:57:55
On Thu, Apr 29, 2010 at 3:54 AM, klaas.holwerda <ng...@kl...> wrote:
> John,
>
> What do you plan to do?
Try to not be so lazy? Seriously though, I have written a parser in
Lua for the XML output from the wxWidgets Doxygen documentation. It
can read in all 1000+ files and generate a Lua table with all the
pertinent data saved in a nice orderly manner. It is complete in that
it understands everything in the files and gives warning messages if
there is anything in the XML file that is not understood.
What has to be done is :
1) Create a new repository in SF using SVN to separate 2.8 from 2.9+
2) Separate the XML files into the different wxWidgets libs. I wonder
if I can concat the wxWidgets interface files together by lib (base,
core, adv...) then run Doxygen on them to generate fewer XML files.
This will make it WAY easier to update in the future since I won't
have to diff 1000+ interface files to see what changed.
3) Write the C code generation for the bindings. (this is actually not
the hard part)
4) Have a way to exclude various parts of wxWidgets from wxLua. Not
all functions/classes are useful, but I don't want to edit the
original wxWidgets interface files since comparing and updating them
against newer versions from wxWidgets would be very difficult. I guess
this info will go into the "rules" files, which used to be very
simple, but now they have have to carry all this extra information.
5) The wxWidgets interface files do not have #if wxUSE_WXFEATURE/CLASS
so I will have to add them, probably by sending patches to wxWidgets.
This can be implemented later.
6) Redo all the build files. (this is the hard part)
7) Test and see what's new vs. what is missing from the old interface
files and send patches to wxWidgets as appropriate.
This is a massive undertaking for me, but yes I still plan to do it.
> I did an attempt to get it compiled, and although many things were
> rather easy to solve.
> (event declaration and bindings to lua for those events)
> But i am stuck near the end, at least i think it is near end :-)
> Also i am not always sure if what i made of it is correct. I did only
> change things to get it working for 2.9, not to keep it working for 2.8.
>From the looks of it, making 2.8 and 2.9 work together would be
impossible. You can freely hack away at the generated C binding files
on stuff that you don't care about. For example, if some class
function changed or disappeared, just rem out the code inside these
functions to make them like the code below. Obviously, that
feature/function won't work, but if you don't plan to use it it's a
quick and easy way to get wxLua to compile again.
static int wxLua_wxClass_FunctionName(lua_State* L) { return 1; }
> Anyway it looks feasible to have the current wxLua working with wx2.9.
> If you want, i could sent you what i did sofar??
Nah, not just now.
> Or do you think you will find time to change the whole binding stuff to
> XML/doxygen based.
> Maybe just get it working for 2.9 for the moment, is less a problem??
I haven't tried, but I don't think it should be too hard to get 2.9
working with the current bindings, but then again, maybe a lot more
has changed than I remember. The hardest part is maintaining the class
heirarchy, because that will cause serious problems.
Regards,
 John
From: klaas.holwerda <ng...@kl...> - 2010年04月29日 07:54:33
John,
What do you plan to do?
I did an attempt to get it compiled, and although many things were 
rather easy to solve.
(event declaration and bindings to lua for those events)
But i am stuck near the end, at least i think it is near end :-)
Also i am not always sure if what i made of it is correct. I did only 
change things to get it working for 2.9, not to keep it working for 2.8.
Anyway it looks feasible to have the current wxLua working with wx2.9.
If you want, i could sent you what i did sofar??
Or do you think you will find time to change the whole binding stuff to 
XML/doxygen based.
Maybe just get it working for 2.9 for the moment, is less a problem??
Regards,
Klaas
From: klaas.holwerda <ng...@kl...> - 2010年04月29日 07:37:02
Hakki Dogusan wrote:
> You may look apps folder in source.
> 
wxluacan, and if you need more complex samples look at wxArt2D.
Klaas
From: Hakki D. <dog...@tr...> - 2010年04月29日 07:27:13
Hi,
29/04/2010 10:11, Ivan Drago wrote:
> Is it possible to integrate wxLua into existing application ?
> What libs to link and how to init modules ?
>
You may look apps folder in source.
--
Regards,
Hakki Dogusan
From: Ivan D. <ne...@ya...> - 2010年04月29日 07:11:16
Is it possible to integrate wxLua into existing application ?What libs to link and how to init modules ?
 
From: SourceForge.net <no...@so...> - 2010年04月12日 05:14:56
Bugs item #2985696, was opened at 2010年04月12日 05:14
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=745324&aid=2985696&group_id=140042
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: mac os binary 2.8.10 is broken
Initial Comment:
only 1.2mb, must be ~20mb, dmg fails to mount under mac os
build from source spits a lot of errors on os x 10.5.8 / xcode 3.1.3
----------------------------------------------------------------------
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=745324&aid=2985696&group_id=140042
From: Roger L. <rog...@ho...> - 2010年04月08日 11:06:46
Thanks - I'll have a look at that - sounds like a good solution!
--------------------------------------------------
From: "Hakki Dogusan" <dog...@tr...>
Sent: Thursday, April 08, 2010 8:01 PM
To: <wxl...@li...>
Subject: Re: [wxlua-users] wxlua and sqlite
> Hi,
>
> 08/04/2010 05:08, Roger Lovelock wrote:
>>
>> Hi,
>> I'm a newbie to lua and wxlua (but an experienced - retired - software
>> developer). I have set up a test gui screen ok with wxlua and I'm now
>> attempting to add to my code by connecting to an sqlite database and
>> displaying a record. I'm using the sqlite.dll downloaded from
>> [snip]
>> If anyone knows of a really simple example on the web that would be 
>> great!
>
> If you don't mind using non-standard wxLua distribution, you may look my
> works at:
>
> http://www.dynaset.org/dogusanh/
>
> There you'll find CairoPad and BookWorm applications written with wxLua
> and wxSQLite3 (compiled as a single .dll/.so!)
>
>> Thanks
>> Roger L
>>
>
> --
> Regards,
> Hakki Dogusan
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> wxlua-users mailing list
> wxl...@li...
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
> 
From: Hakki D. <dog...@tr...> - 2010年04月08日 10:14:37
Hi,
08/04/2010 05:08, Roger Lovelock wrote:
>
> Hi,
> I'm a newbie to lua and wxlua (but an experienced - retired - software
> developer). I have set up a test gui screen ok with wxlua and I'm now
> attempting to add to my code by connecting to an sqlite database and
> displaying a record. I'm using the sqlite.dll downloaded from
> [snip]
> If anyone knows of a really simple example on the web that would be great!
If you don't mind using non-standard wxLua distribution, you may look my 
works at:
http://www.dynaset.org/dogusanh/
There you'll find CairoPad and BookWorm applications written with wxLua 
and wxSQLite3 (compiled as a single .dll/.so!)
> Thanks
> Roger L
>
--
Regards,
Hakki Dogusan
From: Roger L. <rog...@ho...> - 2010年04月08日 03:42:19
Many thanks - looks like that will fix it - only problem is that it makes my 
other objective of a simple install with minimal files on end users machines 
that don't have a full Lua install even further away because of the large 
number of dll's required (I count over 20 in the bin folder which I assume 
are all required). It would be so nice to have a single wxlua executable 
plus a single dll for sqlite, plus my lua scripts (compiled) on the target 
machine.
--------------------------------------------------
From: "John Labenski" <jla...@gm...>
Sent: Thursday, April 08, 2010 1:10 PM
To: <wxl...@li...>
Subject: Re: [wxlua-users] wxlua and sqlite
> On Wed, Apr 7, 2010 at 10:08 PM, Roger Lovelock
> <rog...@ho...> wrote:
>>
>> Error: Lua: Error while running chunk
>> error loading module 'sqlite3' from file '.\sqlite3.dll':
>> The specified procedure could not be found.
>
> It looks like sqlite3.dll is linked against lua5.1.dll so you will
> have to use the dll version of wxLua.
>
> http://sourceforge.net/projects/wxlua/files/wxlua/2.8.10.0/wxLua-2.8.10-MSW-dll.zip/download
>
> You can view the dependencies of dlls and exes using this program.
> http://www.dependencywalker.com/
>
> Hope this helps,
> John Labenski
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> wxlua-users mailing list
> wxl...@li...
> https://lists.sourceforge.net/lists/listinfo/wxlua-users
> 
From: John L. <jla...@gm...> - 2010年04月08日 03:10:23
On Wed, Apr 7, 2010 at 10:08 PM, Roger Lovelock
<rog...@ho...> wrote:
>
> Error: Lua: Error while running chunk
> error loading module 'sqlite3' from file '.\sqlite3.dll':
> The specified procedure could not be found.
It looks like sqlite3.dll is linked against lua5.1.dll so you will
have to use the dll version of wxLua.
http://sourceforge.net/projects/wxlua/files/wxlua/2.8.10.0/wxLua-2.8.10-MSW-dll.zip/download
You can view the dependencies of dlls and exes using this program.
http://www.dependencywalker.com/
Hope this helps,
 John Labenski
From: Roger L. <rog...@ho...> - 2010年04月08日 02:08:58
Hi,
 I'm a newbie to lua and wxlua (but an experienced - retired - software developer). I have set up a test gui screen ok with wxlua and I'm now attempting to add to my code by connecting to an sqlite database and displaying a record. I'm using the sqlite.dll downloaded from http://luaforge.net/frs/?group_id=12 as advised on the web page at http://www.keplerproject.org/luasql/ . I have hunted around trying to find ways of getting this to work (I can do it in 'straight' lua) - if I have the .dll in my working directory and code require "sqlite3" I get the following error :-
Error: Lua: Error while running chunk
error loading module 'sqlite3' from file '.\sqlite3.dll':
 The specified procedure could not be found.
If I put sqlite3.dll in a sub folder called luasql and then require "luasql.sqlite3" I get a windows message (I'm on Vista) saying :-
wxlua.exe has stopped working etc etc
This message appears half way through the gui being displayed.
As I said above - the same program works fine with "Lua for Windows", but I'd prefer to use wxLua as I want to distribute programs to PCs without a full Lua installation and wxLua appears to need a lot less files to be bundled with it to run than 'straight' Lua!
Can anyone help please - am I missing files - have I got the folder structure wrong - should I be using a different .dll etc?
If anyone knows of a really simple example on the web that would be great!
Thanks
 Roger L

Showing 12 results of 12

Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /