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
(1) |
8
(1) |
9
|
10
|
11
|
12
(1) |
13
(1) |
14
(4) |
15
(4) |
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
|
From: Paul K <pau...@ya...> - 2012-11-15 22:02:40
|
Hi John, > "If you choose to use the container to do the styling you can use the > SCI_SETLEXER command to select SCLEX_CONTAINER, in which case the > container is sent a SCN_STYLENEEDED notification each time text needs > styling for display." You are absolutely right. In fact, I was reading this fragment and somehow missed that STYLENEEDED is going to be *only* called when the lexer is set to SCLEX_CONTAINER. > I think the idea is that you will have to style everything all the > time. Though, I don't remember having tried it myself. Ok, related question then. Is it possible to use SCLEX_CONTAINER, but still make a call that will apply styling using some lexer (for example, Lua) and I'll do the rest of the styling as needed? Paul. On Thu, Nov 15, 2012 at 1:12 PM, John Labenski <jla...@gm...> wrote: > On Thu, Nov 15, 2012 at 3:56 PM, Paul K <pau...@ya...> wrote: >> Hi John, >> >> I've been doing custom styling and realized that the work that I've >> done is mostly in UPDATEUI handlers, whereas it should probably be in >> STYLENEEDED handlers. I looked at your editor and see that you also >> only use UPDATEUI, but not STYLENEEDED. > > The Scintilla docs are pretty complete and map reasonably well to the > wxWidgets wrapper. > http://www.scintilla.org/ScintillaDoc.html > > "If you choose to use the container to do the styling you can use the > SCI_SETLEXER command to select SCLEX_CONTAINER, in which case the > container is sent a SCN_STYLENEEDED notification each time text needs > styling for display." > > I think the idea is that you will have to style everything all the > time. Though, I don't remember having tried it myself. > > Regards, > John > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users |
From: John L. <jla...@gm...> - 2012-11-15 21:13:00
|
On Thu, Nov 15, 2012 at 3:56 PM, Paul K <pau...@ya...> wrote: > Hi John, > > I've been doing custom styling and realized that the work that I've > done is mostly in UPDATEUI handlers, whereas it should probably be in > STYLENEEDED handlers. I looked at your editor and see that you also > only use UPDATEUI, but not STYLENEEDED. The Scintilla docs are pretty complete and map reasonably well to the wxWidgets wrapper. http://www.scintilla.org/ScintillaDoc.html "If you choose to use the container to do the styling you can use the SCI_SETLEXER command to select SCLEX_CONTAINER, in which case the container is sent a SCN_STYLENEEDED notification each time text needs styling for display." I think the idea is that you will have to style everything all the time. Though, I don't remember having tried it myself. Regards, John |
From: Paul K <pau...@ya...> - 2012-11-15 20:56:50
|
Hi John, I've been doing custom styling and realized that the work that I've done is mostly in UPDATEUI handlers, whereas it should probably be in STYLENEEDED handlers. I looked at your editor and see that you also only use UPDATEUI, but not STYLENEEDED. I did some tests and STYLENEEDED didn't seem to be called at all (tested on Windows Vista with wxlua 2.8.12.2). You can easily see it yourself by adding the following code to editor.wx.lua around line 587: editor:Connect(wxstc.wxEVT_STC_STYLENEEDED, function (event) DisplayOutput("StyleNeeded\n") end) Just in case I added debug output to UPDATEUI handler and it's called as expected. I thought maybe the constant is mistyped, but it's the same one present in the DLL file and it returns 10281 as the value. Is there some trick I need to involve to get EVT_STC_STYLENEEDED generated? Is there a working example where it's used? Anyone else is using this event? Paul. |
From: Victor B. <so...@te...> - 2012-11-15 11:43:38
|
Hello, This is what I get: >lua.exe Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio > print(1.234, string.format("%f", 2.345), os.setlocale()) 1.234 2.345000 C > require("wx") > print(1.234, string.format("%f", 2.345), os.setlocale()) 1,234 2,345000 Spanish_Spain.1252 > print(os.setlocale("", "all")) Spanish_Spain.1252 > print(1.234, string.format("%f", 2.345), os.setlocale()) 1,234 2,345000 Spanish_Spain.1252 > manual from lua.51 says: If locale is the empty string, the current locale is set to an implementation-defined native locale. May be Spanish locale was hard coded in my lua.exe compilation and wxlua calls os.setlocale("", "all")? I have used os.setlocale("C") in my lua script after require"wx" and everything works as I expected (but of course wx.wxMessageBox prints 1.234 which is not anoying for me). Would be good idea to mention in the FAQ what is happenig with the locale. Best Regards |
From: John L. <jla...@gm...> - 2012-11-14 23:04:25
|
On Wed, Nov 14, 2012 at 4:02 AM, Victor Bombi <so...@te...> wrote: > Hello, > >> wxLua does not change the locale, but wxWidgets might to make the UI >> numeric display appropriate for users. > > That`s true: > with print(os.locale()) before and after the require"wx" I get > > C > Spanish_Spain.1252 > >> What OS are you on? If you're in Linux you can apply the patch below >> and recompile the wxLua module lib. Please let me know if it works for >> you and I will apply it to svn. > > My OS is windows. Perhaps the solution would be just calling os.locale("C") > after require"wx"? I'm fairly new to this stuff, but curious... It looks like you can change it temporarily for a given prompt. http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fae19495_.htm Open a new command (DOS) prompt: # This is what I use normally c:\>chcp Active code page: 437 # Change it to this c:\>chcp 1252 Active code page: 1252 # Run lua and see what happens. C:\>lua.exe Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio > print(1.234, string.format("%f", 2.345), os.setlocale()) 1.234 2.345000 C > require("wx") > print(1.234, string.format("%f", 2.345), os.setlocale()) 1.234 2.345000 C > print(os.setlocale("", "all")) English_United States.1252 > print(1.234, string.format("%f", 2.345), os.setlocale()) 1.234 2.345000 English_United States.1252 On a whim, I tried this... > print(os.setlocale("Spanish_Spain.1252", "all")) Spanish_Spain.1252 > print(1.234, string.format("%f", 2.345), os.setlocale()) 1,234 2,345000 Spanish_Spain.1252 > wx.wxMessageBox(string.format("%f", 1.234), string.format("%f", 2.345), wx.wxOK) Displays a message box using 1,234 and 2,345... Can you try the above commands and let me know what they print for you? ========================= The code I posted is to ensure that the Lua parser uses the C locale (1.0 not 1,0), but using require("wx") means that Lua has already parsed the Lua code so that doesn't matter. I imagine the right thing to do would be to save the locale before initializing wxWidgets in wx.dll then if changed set to back to what it was. I don't know if this is a suitable solution though. If the locale was forced to 'C' or back to what it was then Lua might work "normally", but the GUI would look wrong for some people. I would imagine that wxWidgets changes it to make the GUI right and that's probably the right thing to do. Hopefully you can force it back by calling Lua's os.setlocale("C", "all") and if it works I'll put it in the FAQ. Regards, John |
From: Victor B. <so...@te...> - 2012-11-14 09:02:45
|
Hello, > wxLua does not change the locale, but wxWidgets might to make the UI > numeric display appropriate for users. That`s true: with print(os.locale()) before and after the require"wx" I get C Spanish_Spain.1252 > What OS are you on? If you're in Linux you can apply the patch below > and recompile the wxLua module lib. Please let me know if it works for > you and I will apply it to svn. My OS is windows. Perhaps the solution would be just calling os.locale("C") after require"wx"? Best Regards Victor Bombi |
From: John L. <jla...@gm...> - 2012-11-14 07:20:38
|
On Tue, Nov 13, 2012 at 8:02 AM, Konstantin <lal...@gm...> wrote: > I've success built wxLua-r156 (patched) with wxWidgets 2.9.4 on Linux and > Windows! > > Can u add this binding please? Yep, thanks for the patch. > Also it will be cool to see wxScrolledCanvas and base classes like > wxNavigationEnabled<wxWindow> and wxControlContainerBase > to use Focus functions in 2.9! Use wxScrolledWindow, wxNavigationEnabled has no public functions in the docs and since wxPanel is derived from it you already have it, the wxEvtHandler class has the Get/SetClientData/Object() functions so all classes including wxWindows have those functions too. The wxLua bindings are loose interpretations of the actual wxWidgets C++ headers to allow it to work for 2.8 and 2.9 without having to really hack it up too badly. Regards, John |
From: John L. <jla...@gm...> - 2012-11-14 06:58:14
|
On Mon, Nov 12, 2012 at 2:14 PM, Victor Bombi <so...@te...> wrote: > Hello, > > this script: > > print(0.4) > require("wx") > print(0.4) > > does this output: > > 0.4 > 0,4 > > For me is very bad because I cant serialize floats. Is there any reason for > changing tostring method for numbers or could be reverted? wxLua does not change the locale, but wxWidgets might to make the UI numeric display appropriate for users. What OS are you on? If you're in Linux you can apply the patch below and recompile the wxLua module lib. Please let me know if it works for you and I will apply it to svn. Regards, John Index: wxLua/modules/luamodule/luamodule.cpp =================================================================== --- C:/NOSCAN/wx/svnroot_wx/wx/wxLua/wxLua-trunk/trunk/wxLua/modules/luamodule/luamodule.cpp (revision 156) +++ C:/NOSCAN/wx/svnroot_wx/wx/wxLua/wxLua-trunk/trunk/wxLua/modules/luamodule/luamodule.cpp (working copy) @@ -192,6 +192,17 @@ return 0; } + #ifdef __WXGTK__ + // this call is very important since otherwise scripts using the decimal + // point '.' could not work with those locales which use a different symbol + // (e.g. the comma) for the decimal point... + // It doesn't work to put os.setlocale('c', 'numeric') in the Lua file that + // you want to use decimal points in. That's because the file has been lexed + // and compiler before the locale has changed, so the lexer - the part that + // recognises numbers - will use the old locale. + setlocale(LC_NUMERIC, "C"); + #endif + wxTheApp->SetExitOnFrameDelete(true); wxInitAllImageHandlers(); |
From: Victor B. <so...@te...> - 2012-11-12 19:14:48
|
Hello, this script: print(0.4) require("wx") print(0.4) does this output: 0.4 0,4 For me is very bad because I cant serialize floats. Is there any reason for changing tostring method for numbers or could be reverted? Thank you Victor Bombi |
From: John L. <jla...@gm...> - 2012-11-08 03:31:10
|
On Nov 7, 2012 9:59 AM, "Bartłomiej Piotrowski" <b...@bp...> wrote: > > Hello! > > Do I have bigger vision problems than I thought or there is no sources > of 2.8.12.2 release on SourceForge? If the latter is correct, where can > I get them (apart from Git/Subversion)? I'm afraid I didn't make them as they are not exactly official releases, though they are stable. There are instructions on getting the svn in the install.html document. The svn viewer even has a link to download a tarball, though I haven't tried it myself. Regards, John |
From: Bartłomiej P. <b...@bp...> - 2012-11-07 17:58:58
|
Hello! Do I have bigger vision problems than I thought or there is no sources of 2.8.12.2 release on SourceForge? If the latter is correct, where can I get them (apart from Git/Subversion)? -- Bartłomiej Piotrowski http://bpiotrowski.pl/ |