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
(2) |
4
(3) |
5
(8) |
6
(1) |
7
(9) |
8
(4) |
9
(23) |
10
(8) |
11
(15) |
12
(3) |
13
(9) |
14
(29) |
15
(16) |
16
(11) |
17
(22) |
18
(16) |
19
(13) |
20
(15) |
21
(10) |
22
(3) |
23
|
24
|
25
|
26
|
27
|
28
(1) |
29
(1) |
30
(1) |
31
(4) |
|
|
From: Ryan P. <rpu...@gm...> - 2008-01-05 20:58:01
|
On Jan 5, 2008 1:57 PM, John Labenski <jla...@gm...> wrote: > Yes it builds fine for me. I use the src of wxWidgets 2.8 from svn and > this configure script. > > ../configure \ > --prefix=/home/john/wx/wxWidgets/wxWidgets_28/config_gtk2ud \ > --enable-optimise=no \ > --enable-debug=yes \ > --enable-debug_gdb=yes \ > --enable-mem_tracing=no \ > --enable-profile=no \ > --with-dmalloc=no \ > --enable-prologio=no \ > --enable-gtk2=yes \ > --enable-unicode=yes \ > --with-gnomeprint \ > --enable-mediactrl=yes \ > --with-opengl \ > --enable-graphics_ctx I tried this and it doesn't work for me. I am obviously missing a package. Are you using Ubuntu? If so what packages do you have installed? To build wxLua this is what packages I installed: - mesa-common-dev - libglu1-mesa-dev - libwxbase2.8-0 - libwxbase2.8-dev - libwxbase2.8-dbg - libwxgtk2.8-0 - libwxgtk2.8-dev - libwxgtk2.8-dbg - wx-common - wx2.8-docs - wx2.8-headers Check to see if you have these two libs > libwx_gtk2ud_gl-2.8.so.0.3.0 > libwx_gtk2ud_media-2.8.so.0.3.0 > I verified that I have them. I think you can disable building the media and gl libs for wxLua using > configure with > --enable-wxbindmedia=no --enable-wxbindgl=no > or edit modules/wxbind/setup/wxluasetup.h and set these > #define wxLUA_USE_wxMediaCtrl 0 > #define wxLUA_USE_wxGLCanvas 0 > I tried to configure with --enable-wxbindmedia=no --enable-wxbindgl=no but still no success. -- Regards, Ryan |
From: Ryan P. <rpu...@gm...> - 2008-01-05 20:17:09
|
On Jan 5, 2008 1:52 PM, Steve <sm...@gm...> wrote: > Yes I did, hence the reason I replied. > if your GL stuff is missing check your build settings and make sure > --with-opengl (i think thats it anyways) is enabled. I only ran exactly this command: ./configure && make Is that the problem? > Also check to make sure you do in fact have GL headers on your system > in general. > I had problems building the GL subsystem at one time a few years back > because I didn't have OpenGL drivers (with sources or at least > headers) installed on my computer. I verified that I have the headers /usr/include/GL/gl.h/glu.h and such. And for the record I'm using Gusty, so yes it builds, so check your > build settings and make sure your deps are taken care of. > Then do a make clean a ./configure --with-opengl and try to build again. Will do. I am not specifying anything in the configure line. It still didn't work. I also should mention that I get the wxWidgets apt repository. I also verified that I have the media and gl wxWidgets libraries. If you look at the command line it doesn't show any linking against gl or media. Why? I choose to enable the gl using what you suggested. I am not an expert on configure, and I know how to build wxWidgets applications on Linux. -- Regards, Ryan |
From: Ryan P. <rpu...@gm...> - 2008-01-05 19:25:36
|
I am getting all kinds of errors when using the wxLua Lua module in Linux. In the Terminal I see errors for sizing upon creation. Here are the errors I get when running: $ lua luamodule.wx.lua > > (<unknown>:30818): Gtk-CRITICAL **: gtk_window_resize: assertion `height > > 0' failed > Here is what I am trying to achieve. I have a simple script that has a frame, menu, and a button. I attached the script to this post so that testing can be done. I need to use wxLua as a Lua module. I made a custom build file to create it because the current method shipped with wxLua does not work for me. I don't think that has anything to do with the problem, I just thought I would mention it. I can successfully run the minimal and veryminimal samples, but I see the same results when trying to run a more complex example. Here is a bit more information. It displays the frame as a very small frame or as a VERY long titlebar only. It displays the errors in the terminal when I run it. If I comment out the SetSizeHints() I get the frame to show up correctly, but it only has the menu. I don't see the controls. This works on Windows, but not on Linux. I hope I am doing something wrong. Thanks <script> package.cpath = ";;./?.dll;./?.so;../lib/?.so;../lib/vc_dll/?.dll;../lib/bcc_dll/?.dll;../lib/mingw_dll/?.dll;" require("wx") -- simple test of Non GUI elements p = wx.wxPoint(1,2) print("The point is", p:GetX(), p:GetY()) frame = wx.wxFrame(wx.NULL, -1, "wxLua module sample") -- create a simple file menu so you can exit the program nicely local fileMenu = wx.wxMenu() fileMenu:Append(wx.wxID_EXIT, "E&xit", "Quit the program") local menuBar = wx.wxMenuBar() menuBar:Append(fileMenu, "&File") frame:SetMenuBar(menuBar) frame:Connect(wx.wxID_EXIT, wx.wxEVT_COMMAND_MENU_SELECTED, function (event) frame:Close(true) end ) -- Layout all the buttons using wxSizers local mainSizer = wx.wxBoxSizer( wx.wxVERTICAL ) local ID_BUTTON = 1001 local buildButton = wx.wxButton( frame, ID_BUTTON, "Button1" ) mainSizer:Add( buildButton, 0, wx.wxALL + wx.wxEXPAND, 5 ) frame:SetSizer( mainSizer ) mainSizer:SetSizeHints( frame ) frame:Show(true) -- ALWAYS call wx.wxGetApp():MainLoop() last to keep the program active -- otherwise the lua program will exit immediately wx.wxGetApp():MainLoop() </script> -- Regards, Ryan |
From: John L. <jla...@gm...> - 2008-01-05 18:57:42
|
On Jan 5, 2008 1:43 PM, Ryan Pusztai <rpu...@gm...> wrote: > On Jan 4, 2008 5:54 PM, Steve <sm...@gm...> wrote: > > > You need to install the WX libs. > > > > sudo aptitude install libwxbase2.8-dev > It is already installed. You would have seen many other types of errors if > that was not installed. If you look at the errors it is only for the media > control and the OpenGL stuff. Can somebody confirm that they built wxLua CVS > on Linux lately. > > John, > Have you built wxLua on Linux lately? Yes it builds fine for me. I use the src of wxWidgets 2.8 from svn and this configure script. ../configure \ --prefix=/home/john/wx/wxWidgets/wxWidgets_28/config_gtk2ud \ --enable-optimise=no \ --enable-debug=yes \ --enable-debug_gdb=yes \ --enable-mem_tracing=no \ --enable-profile=no \ --with-dmalloc=no \ --enable-prologio=no \ --enable-gtk2=yes \ --enable-unicode=yes \ --with-gnomeprint \ --enable-mediactrl=yes \ --with-opengl \ --enable-graphics_ctx Check to see if you have these two libs libwx_gtk2ud_gl-2.8.so.0.3.0 libwx_gtk2ud_media-2.8.so.0.3.0 I think you can disable building the media and gl libs for wxLua using configure with --enable-wxbindmedia=no --enable-wxbindgl=no or edit modules/wxbind/setup/wxluasetup.h and set these #define wxLUA_USE_wxMediaCtrl 0 #define wxLUA_USE_wxGLCanvas 0 Hope this helps, John |
From: Steve <sm...@gm...> - 2008-01-05 18:52:09
|
Yes I did, hence the reason I replied. if your GL stuff is missing check your build settings and make sure --with-opengl (i think thats it anyways) is enabled. Also check to make sure you do in fact have GL headers on your system in general. I had problems building the GL subsystem at one time a few years back because I didn't have OpenGL drivers (with sources or at least headers) installed on my computer. And for the record I'm using Gusty, so yes it builds, so check your build settings and make sure your deps are taken care of. Then do a make clean a ./configure --with-opengl and try to build again. Sincerely, Steve On Jan 5, 2008 11:43 AM, Ryan Pusztai <rpu...@gm...> wrote: > On Jan 4, 2008 5:54 PM, Steve <sm...@gm...> wrote: > > > You need to install the WX libs. > > > > sudo aptitude install libwxbase2.8-dev > It is already installed. You would have seen many other types of errors if > that was not installed. If you look at the errors it is only for the media > control and the OpenGL stuff. Can somebody confirm that they built wxLua CVS > on Linux lately. > > John, > Have you built wxLua on Linux lately? > -- > Regards, > Ryan > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > > |
From: Ryan P. <rpu...@gm...> - 2008-01-05 18:44:04
|
On Jan 4, 2008 5:54 PM, Steve <sm...@gm...> wrote: > You need to install the WX libs. > > sudo aptitude install libwxbase2.8-dev It is already installed. You would have seen many other types of errors if that was not installed. If you look at the errors it is only for the media control and the OpenGL stuff. Can somebody confirm that they built wxLua CVS on Linux lately. John, Have you built wxLua on Linux lately? -- Regards, Ryan |
From: John L. <jla...@gm...> - 2008-01-05 17:08:16
|
On Dec 31, 2007 7:44 PM, francisco leite <den...@ho...> wrote: > > Hi, > > im traying to make a TaskBar Control, but im not understand some things > and there are few examples of use, ... i tried some dumbs events and its > give right such as Double_Right_Click event and show me a > window...right, but i want a built-in menu like this: > http://wiki.wxpython.org/AnotherTutorial?action=AttachFile&do=get&target=taskbaricon.png This is pretty easy. I think the last binary version of wxLua had a little problem with the wxTaskBarIcon, but it's fixed now in CVS. The code below shows the wxTaskBarIcon and pops up a menu when clicked. ------------------------------------ ID_CLICK = 5 ID_CHECK = 6 taskbarIcon = wx.wxTaskBarIcon() local icon = wx.wxIcon() local bmp = wx.wxArtProvider.GetBitmap(wx.wxART_INFORMATION, wx.wxART_TOOLBAR, wx.wxSize(16, 16)) icon:CopyFromBitmap(bmp) taskbarIcon:SetIcon(icon, "Tooltop for wxTaskBarIcon from controls.wx.lua") icon:delete() bmp:delete() taskbarMenu = wx.wxMenu() taskbarMenu:Append(ID_CLICK, "Click me", "Please click this", wx.wxITEM_NORMAL) taskbarMenu:Append(ID_CHECK, "Check me", "Please check this", wx.wxITEM_CHECK) taskbarIcon:Connect(wx.wxEVT_TASKBAR_LEFT_UP, function(event) taskbarIcon:PopupMenu(taskbarMenu) end) taskbarIcon:Connect(wx.wxID_ANY, wx.wxEVT_COMMAND_MENU_SELECTED, function(event) print("Menu item with id = "..tostring(event:GetId()).." was clicked") end) ------------------------------------ > that i saw on this site: > http://wiki.wxpython.org/AnotherTutorial > So Python is a OO based and Lua is Meta-Based!...it fries my mind > I Know that you can help me!...Please, if possible post a simple and > quite example Lua can be OO if you create a class type using a table and setting it's metatable. See the Lua wiki for some examples. I think the book "Programming in Lua" (PIL) has an example, the first version of this book is on-line. |
From: John L. <jla...@gm...> - 2008-01-05 00:13:51
|
I just checked in a fix for what may be a similar error. The On Jan 3, 2008 9:35 AM, Klaas Holwerda <db...@nl...> wrote: > Hi John, > > I did all you suggested, but the problem is, it does not fail where you expect > it. This does not mean that the error is not created where you think. > > With this here added as you suggested, the output is as i expected. > > wxLogDebug(wxT("pushuserdatatype1 %p %p pushing %p type %d\n"), > a2dLuaWP, a2dMaskProc, obj_ptr, wxl_type); > > if (wxluaO_istrackedweakobject(L, (void*)obj_ptr, wxl_type, true)) > return true; > > wxLogDebug(wxT("pushuserdatatype2 %p %p pushing %p type %d\n"), > a2dLuaWP, a2dMaskProc, obj_ptr, wxl_type); > > ========= OUTPUT =============== > > 14:43:47: pushuserdatatype1 020062B0 020062B0 pushing 020062B0 type 426 > > 14:43:47: pushuserdatatype2 020062B0 020062B0 pushing 020062B0 type 426 > > 14:44:21: pushuserdatatype1 020062B0 020062B0 pushing 020062B0 type 429 > > 14:44:21: pushuserdatatype2 020062B0 020062B0 pushing 020062B0 type 429 > > First-chance exception in maskproc.exe: 0xC0000005: Access Violation. > First-chance exception in maskproc.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ > Exception. > > Here the second time the same pointer is pushed, i get the exception with the > stack dump at the end of this mail. From the output it is clear I do not have a > tracked object/pointer, because in both cases false is returned. It is normal that it can't find the object when you're registering the bindings since it's being push for the first time. The whole idea behind the check for wxluaO_istrackedweakobject() is that we don't want to create multiple Lua userdata wrapping our C++ object, but push the same one again. However, just like in C++ the object can be cast to different types and wxLua must create new userdata for each type to distinguish them (for wxObject::DynamicCast()). > Now the second time the same pointer is pushed, it follows a different path in > this function here, but in both cases the return is false. But the first time > it skips the "if (lua_istable(L, -1))" part, while the second it goes in there, > but the "if (wxlua_iswxuserdata(L, -1) && (wxl_type == wxluaT_type(L, -1)))"part > is skipped. Exactly, the second time through it finds that the object was already pushed, but with a different type so as far as wxLua is concerned, it's not what we want and returns false. > ===============Stack ================ > > luaO_rawequalObj(const lua_TValue * 0x4d6584b1, const lua_TValue * 0x02006608) > line 73 + 6 bytes > luaH_get(Table * 0x02174b60, const lua_TValue * 0x02006608) line 484 + 16 bytes > luaH_set(lua_State * 0x02006318, Table * 0x02174b60, const lua_TValue * > 0x02006608) line 495 + 13 bytes > lua_rawset(lua_State * 0x02006318, int -3) line 673 + 37 bytes ??? What happens here? wxLuaBinding::DoRegisterBinding ... if (wxlObject->objPtr != 0) wxluaT_pushuserdatatype(L, wxlObject->objPtr, *wxlObject->wxluatype, true); then bool LUACALL wxluaT_pushuserdatatype ... if (wxluaR_getref(L, wxl_type, &wxlua_lreg_types_key)) { // pop the table and set it as the metatable for the newuserdata lua_setmetatable(L, -2); if (track) wxluaO_trackweakobject(L, -1, (void*)obj_ptr, wxl_type); return true; // leave value on the stack } Does it crash in wxluaO_trackweakobject() or wxluaR_getref()? > wxLuaBinding::DoRegisterBinding(const wxLuaState & {...}, int 1) line 1191 + 11 > bytes > wxLuaBinding::RegisterBinding(const wxLuaState & {...}) line 985 > wxLuaState::RegisterBindings() line 2687 + 17 bytes > wxLuaState::Create(lua_State * 0x02006318, int 2) line 2221 Thanks, John |