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
(4) |
8
|
9
|
10
(4) |
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
(3) |
19
|
20
(3) |
21
(4) |
22
(9) |
23
|
24
(6) |
25
(4) |
26
(1) |
27
(7) |
28
(1) |
29
(4) |
30
(3) |
31
(1) |
|
From: Evan D. <eva...@gm...> - 2008-10-07 15:21:56
|
> > ...but didn't know what it meant. So the approach, then, is to do something > like this? > > sock:SetEventHandler(someHandler, wxEVT_SOCKET) > someHandler:Connect(wxEVT_SOCKET, function (ev) if ev == wxSOCKET_INPUT > then ... end) > Oops, I meant if ev.GetSocketEvent() == wxSOCKET_INPUT, of course |
From: Evan D. <eva...@gm...> - 2008-10-07 15:15:56
|
On Tue, Oct 7, 2008 at 10:50 AM, John Labenski <jla...@gm...> wrote: > > wxSOCKET_INPUT is an enum wxSocketNotify, an integer with a value of > 0, not an event type. > Aha - I think the docs were throwing me off the trail on that point, as wxSOCKET_INPUT is listed in a table under "wxSocket Events". I thought they would be on par with other event types. The mapping between the EVT_XXX() macros and the dynamic event types > are described in the doc below. Search for EVT_SOCKET and you'll see > that you want to use wxEVT_SOCKET and that you will get a > wxSocketEvent object in your callback function. Note that the names > aren't always so easy to guess. > In the wxLua reference I had found the line *%define_event* wxEVT_SOCKET // EVT_SOCKET(id, func) ...but didn't know what it meant. So the approach, then, is to do something like this? sock:SetEventHandler(someHandler, wxEVT_SOCKET) someHandler:Connect(wxEVT_SOCKET, function (ev) if ev == wxSOCKET_INPUT then ... end) Hope this helps, > John > Thank you, it definitely does - I'll try it out tonight and post back if I run into any roadblocks. Evan |
From: John L. <jla...@gm...> - 2008-10-07 14:52:02
|
On Tue, Oct 7, 2008 at 1:35 AM, Evan DeMond <eva...@gm...> 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 option. I went > looking and found this: > > http://docs.wxwidgets.org/stable/wx_wxsocketbase.html#socketevents > http://docs.wxwidgets.org/stable/wx_wxsocketbase.html#wxsocketbaseseteventhandler > > So I tried to set up a plain wxEvtHandler object, hooking it up to the > wxSocketClient with SetEventHandler(), and trying to Connect() the > wxEvtHandler to wxSOCKET_INPUT - but that apparently fails? wxSOCKET_INPUT is an enum wxSocketNotify, an integer with a value of 0, not an event type. > "Lua: Error while running chunk > ... > wxLua: Invalid or unknown wxEventType for wxEvtHandler::Connect() : 0, > winIds -1, -1." > > I can't seem to find any example code using wxSocketClient in Lua anywhere. > All the C++ code I've seen uses the EVT_SOCKET macro, but that's not > available in pure Lua. The EVT_XXX() are C_++ macros that statically connect events at compile time, so wxLua cannot use them, instead we use the dynamic events and the wxEvtHandler::Connect() function. The mapping between the EVT_XXX() macros and the dynamic event types are described in the doc below. Search for EVT_SOCKET and you'll see that you want to use wxEVT_SOCKET and that you will get a wxSocketEvent object in your callback function. Note that the names aren't always so easy to guess. http://wxlua.sourceforge.net/docs/wxluaref.html You can use any wxEvtHandler derived class you want, typically people will use their wxFrame or a wxWindow that they already have. Hope this helps, John |
From: Evan D. <eva...@gm...> - 2008-10-07 05:38:21
|
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 option. I went looking and found this: http://docs.wxwidgets.org/stable/wx_wxsocketbase.html#socketevents http://docs.wxwidgets.org/stable/wx_wxsocketbase.html#wxsocketbaseseteventhandler So I tried to set up a plain wxEvtHandler object, hooking it up to the wxSocketClient with SetEventHandler(), and trying to Connect() the wxEvtHandler to wxSOCKET_INPUT - but that apparently fails? "Lua: Error while running chunk ... wxLua: Invalid or unknown wxEventType for wxEvtHandler::Connect() : 0, winIds -1, -1." I can't seem to find any example code using wxSocketClient in Lua anywhere. All the C++ code I've seen uses the EVT_SOCKET macro, but that's not available in pure Lua. I'm stumped. How does one receive wxSocketClient events in a wxLua program? Thanks, Evan |