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
(8) |
3
|
4
(2) |
5
|
|
6
|
7
|
8
(2) |
9
|
10
|
11
|
12
(1) |
|
13
(1) |
14
|
15
|
16
|
17
|
18
|
19
|
|
20
|
21
|
22
|
23
|
24
(1) |
25
|
26
|
|
27
|
28
(2) |
29
|
30
|
|
|
|
> It looks like you're hitting the MS Windows cmd limitation.
You are absolutely correct. I've just confused with my tryouts.
Initially i've got a problem with this async code:
dialog = wx.wxDialog(wx.NULL, wx.wxID_ANY, "",wx.wxDefaultPosition,
wx.wxDefaultSize)
dialog:Connect(wx.wxEVT_END_PROCESS, function(event)
wx.wxMessageBox("EVENT HAPPEND")
end)
capt = wx.wxProcess(dialog)
capt:Redirect()
proc = wx.wxExecute([[cscript /nologo long.js 4095]],wx.wxEXEC_ASYNC,capt)
wx.wxGetApp():MainLoop()
My javascript code puts some 'a' letters :
WSH.Echo(Array(Number(WScript.arguments(0))+1).join("a"))
And with arguments bigger then 4095 i've got no MessageBox.
On Thu, Apr 24, 2014 at 3:02 PM, em...@gm... <em...@gm...>wrote:
> This code snippets doesn't work for me with cmd output bigger or equal
> 8180 symbols.
>
> proc = wx.wxProcess()
> proc:Redirect()
> exec = wx.wxExecute("cmd /c echo "..string.rep("8",8180),true,proc)
> output = proc:GetInputStream()
> print(output:Read(100))
>
> I'm trying wxlua 2.8.12.3 (ansi) with lua 5.1 and wxlua 2.8.12.3 (unicode)
> with lua 5.2
> operating system: WIndows 7 x64.
>
> Why this happens?
>
>
It looks like you're hitting the MS Windows cmd limitation.
"On computers running Microsoft Windows XP or later, the maximum length of
the string that you can use at the command prompt is 8191 characters. On
computers running Microsoft Windows 2000 or Windows NT 4.0, the maximum
length of the string that you can use at the command prompt is 2047
characters."
http://support.microsoft.com/kb/830473
Regards,
John
This code snippets doesn't work for me with cmd output bigger or equal 8180
symbols.
proc = wx.wxProcess()
proc:Redirect()
exec = wx.wxExecute("cmd /c echo "..string.rep("8",8180),true,proc)
output = proc:GetInputStream()
print(output:Read(100))
I'm trying wxlua 2.8.12.3 (ansi) with lua 5.1 and wxlua 2.8.12.3 (unicode)
with lua 5.2
operating system: WIndows 7 x64.
Why this happens?
Hi John, A follow-up question on wxAuiTabArt. The class provides ShowDropDown method that displays the list of opened tabs, but I'd like to replace it with something else. Is there a way to overwrite ShowDropDown method with my own? Thank you. Paul. On Tue, Apr 8, 2014 at 4:41 PM, Paul K <pau...@ya...> wrote: > Hi John, > > I just noticed that wxAuiTabArt class is missing SetColour and > SetActiveColour methods for some reason. All the others (according to > the documentation at > http://docs.wxwidgets.org/trunk/classwx_aui_tab_art.html) appear to be > present. > > Would it be possible to add these as well as it should allow to change > the color of tabs and the tab background for the notebook? Thank you! > > Paul.
Hi John,
I tried to compile the latest wxlua with the latest wxwidgets and ran
into a compilation error:
...wxlua/wxLua/modules/wxbind/src/wxstc_bind.cpp: In function
'wxLuaBindNumber* wxLuaGetDefineList_wxstc(size_t&)':
...wxlua/wxLua/modules/wxbind/src/wxstc_bind.cpp:13493:50: error:
'wxSTC_COFFEESCRIPT_HASHQUOTEDSTRING' was not declared in this scope
{ "wxSTC_COFFEESCRIPT_HASHQUOTEDSTRING",
wxSTC_COFFEESCRIPT_HASHQUOTEDSTRING },
^
make[2]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxstc_bind.cpp.obj]
Error 1
make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2
make: *** [all] Error 2
The latest wxwidgets (3.1) includes updated Scintilla component
(3.3.9), which appears to no longer have
wxSTC_COFFEESCRIPT_HASHQUOTEDSTRING.
Could you please remove the reference from the binding? I was able to
compile successfully after commenting it out. Thank you.
Paul.
Hi John, I just noticed that wxAuiTabArt class is missing SetColour and SetActiveColour methods for some reason. All the others (according to the documentation at http://docs.wxwidgets.org/trunk/classwx_aui_tab_art.html) appear to be present. Would it be possible to add these as well as it should allow to change the color of tabs and the tab background for the notebook? Thank you! Paul.
Hi John, >> I only see AddTextRaw and InsertTextRaw in wxlua; there seems to be GetTextRaw, SetTextRaw, AppendTextRaw, and GetSelectedTextRaw missing from wxlua. Would it be possible to add them? Thank you! > I remmed them out, but I don't remember why. I added them back in SVN. Looks good. Thank you for adding them back. Paul.
On Wed, Apr 2, 2014 at 3:35 AM, klaas.holwerda <ng...@kl...> wrote: > Hi John, > > Indeed if out commented, it works okay again. > So recursive calls is not the problem it seems, only the assert. > Don't know if the m_is_running is very important, but if yes or just handy > to have, i think the up/down counter would deal with the situation. > > Ok, I made the change to increment an int as you suggested. Now m_is_running is just informational. Regards, John
On Wed, Apr 2, 2014 at 12:49 PM, Paul K <pau...@ya...> wrote: > Hi John, > > > I honestly don't know. Did you try to call wxSTC::AddTextRaw(const > char*)? This function does not do any UTF8 conversions before passing the > string to Scintilla. > > It worked! I wasn't aware of *TextRaw methods and they do exactly > what's needed in this case. The only issue is that you don't provide > GetTextRaw, so I can show the file, but can't save proper results (as > they get mangled into a "fixed" UTF-8 when I use GetText()). > > I only see AddTextRaw and InsertTextRaw in wxlua; there seems to be > GetTextRaw, SetTextRaw, AppendTextRaw, and GetSelectedTextRaw missing > from wxlua. Would it be possible to add them? Thank you! > > I remmed them out, but I don't remember why. I added them back in SVN. John
Hi John, > I honestly don't know. Did you try to call wxSTC::AddTextRaw(const char*)? This function does not do any UTF8 conversions before passing the string to Scintilla. It worked! I wasn't aware of *TextRaw methods and they do exactly what's needed in this case. The only issue is that you don't provide GetTextRaw, so I can show the file, but can't save proper results (as they get mangled into a "fixed" UTF-8 when I use GetText()). I only see AddTextRaw and InsertTextRaw in wxlua; there seems to be GetTextRaw, SetTextRaw, AppendTextRaw, and GetSelectedTextRaw missing from wxlua. Would it be possible to add them? Thank you! Paul.
Hi John,
Indeed if out commented, it works okay again.
So recursive calls is not the problem it seems, only the assert.
Don't know if the m_is_running is very important, but if yes or just handy to have, i think the
up/down counter would deal with the situation.
Regards,
Klaas
On 04/02/2014 06:01 AM, John Labenski wrote:
> On Sun, Mar 30, 2014 at 7:11 PM, klaas.holwerda <ng...@kl...
> <mailto:ng...@kl...>> wrote:
>
> Hi,
>
> Recursive calls to RunBuffer() is a problem, gives an assert.
>
> int wxLuaState::RunBuffer(const char buf[], size_t size, const wxString &name, int nresults)
> {
> wxCHECK_MSG(Ok(), LUA_ERRRUN, wxT("Invalid wxLuaState"));
> wxCHECK_MSG(!M_WXLSTATEDATA->m_wxlStateData->m_is_running, LUA_ERRRUN, wxT("Lua interpreter is
> already running"));
>
>
> If you rem these out does it work normally? I think I added the check so people wouldn't forget
> that it was running, but there probably is any reason why it wouldn't work
On Mon, Mar 17, 2014 at 12:30 AM, Paul K <pau...@ya...> wrote: > Hi John, > > I'd like to come back to this topic; maybe it's something I'm doing > wrong and it's still possible to process those invalid UTF-8 > characters? Any ideas? > > I honestly don't know. Did you try to call wxSTC::AddTextRaw(const char*)? This function does not do any UTF8 conversions before passing the string to Scintilla. Regards, John > On Fri, Feb 21, 2014 at 4:53 PM, Paul K <pau...@ya...> wrote: > > Hi John, > > > >> Yes, note that From8BitData() is static and To8BitData() is not. > > > > Thank you for the prompt change! Unfortunately, it didn't have the > > desired effect for me; maybe I misread wxwidgets documentation. > > > > Let's say I have three invalid UTF-8 characters: string.char(0x80, > > 0x81, 0x82). If I assigned them to a variable u, it has proper length > > (#u == 3). If I try to add them to wxSTC, nothing happens (the length > > of the content doesn't change). > > > > If I use From8BitData(), then I get 6 bytes instead of 3: > > #wx.wxString.From8BitData(string.char(0x80, 0x81, 0x82)) == 6, but > > this looks like "fixed" UTF-8 code. When I add the result to wxSTC, I > > do get 6 bytes of content there, but that's not what I expected: I > > expected three characters displayed with 0x80, 0x81, and 0x82 as their > > codes. > > > > What am I doing wrong? > > > > Paul. > > > > On Wed, Feb 19, 2014 at 9:53 PM, John Labenski <jla...@gm...> > wrote: > >> On Wed, Feb 19, 2014 at 1:27 AM, Paul K <pau...@ya...> wrote: > >>> > >>> > >>> Do we also get To8BitData(), as I may need it to save the data back to > a > >>> file? > >>> > >> > >> Yes, note that From8BitData() is static and To8BitData() is not. > >> > >> Regards, > >> John > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users >
Hi John, > I'm wondering why you want to create a wxTreeEvent? It was to trigger wxEVT_COMMAND_TREE_ITEM_ACTIVATED event manually: wx.wxTreeEvent(wx.wxEVT_COMMAND_TREE_ITEM_ACTIVATED, item_id). > Try using item_id:GetValue(). > Added in SVN. Thank you! Paul.
On Fri, Mar 28, 2014 at 3:11 PM, Joshua Jensen <jj...@wo...>wrote: > ----- Original Message ----- > From: John Labenski > Date: 3/28/2014 8:55 AM > > I added wxWebView support a while ago, but forgot to press send on my > > email. Let me know if it works for you. I just did the simplest test > > of creating a frame, a webview child and loaded a page. > Awesome. Can you add your sample to the wxLua distribution for easy out > of box testing? > > I've added it to the controls sample so you can see what events are emitted and when, but this is all the code it takes to get a browser window. f = wx.wxFrame(wx.NULL, -1, "wxWebView!") w = wxwebview.wxWebView.New(f, -1, "http://wxlua.sourceforge.net") f:Show() -John
On Mon, Mar 31, 2014 at 4:52 PM, Paul K <pau...@ya...> wrote: > Hi John, > > I'm trying to create wxTreeEvent and ran into unexpected difficulties. > > I'm wondering why you want to create a wxTreeEvent? > I've tried the following (item_id is wxTreeItemId I got from > event:GetItem()): > > 1. wx.wxTreeEvent(wx.wxEVT_COMMAND_TREE_ITEM_ACTIVATED, item_id) > > Try using item_id:GetValue(). > got an error saying that the second parameter is a userdata, but needs > to be a number > > 2. Tried to get id from wxTreeItemId, but it doesn't have GetID() even > though the documentation references it > (http://docs.wxwidgets.org/trunk/classwx_tree_item_id.html). > > This is the GetValue() function, there's not much you can do with the void* ptr from GetID() in Lua. > 3. local treeevent = > wx.wxTreeEvent(wx.wxEVT_COMMAND_TREE_ITEM_ACTIVATED) > treeevent:SetClientObject(tree:GetItemData(item_id)) > > got an error saying that wxTreeEvent doesn't have SetClientObject. > > Added in SVN. Regards, John
On Sun, Mar 30, 2014 at 7:11 PM, klaas.holwerda <ng...@kl...>wrote:
> Hi,
>
> Recursive calls to RunBuffer() is a problem, gives an assert.
>
> int wxLuaState::RunBuffer(const char buf[], size_t size, const wxString
> &name, int nresults)
> {
> wxCHECK_MSG(Ok(), LUA_ERRRUN, wxT("Invalid wxLuaState"));
> wxCHECK_MSG(!M_WXLSTATEDATA->m_wxlStateData->m_is_running,
> LUA_ERRRUN, wxT("Lua interpreter is
> already running"));
>
>
If you rem these out does it work normally? I think I added the check so
people wouldn't forget that it was running, but there probably is any
reason why it wouldn't work.
John
On Sun, Mar 30, 2014 at 6:32 PM, klaas.holwerda <ng...@kl...>wrote:
> Hi,
>
> The internal FindwxWidgets.cmake, should also contains lines like:
>
> wxbase31${_UCD}${_DBG}
>
>
Updated.
else it does not work for current wxWidgets svn.
> But even if that produces projects files with Cmake, it does not build,
> there are compile errors.
>
> But for 3.0 it works.
>
>
I'll look into it tomorrow.
Thanks,
John