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
|
From: Paul K <pau...@ya...> - 2015-05-17 20:25:57
|
Hi Philipp , > wxlbind.cpp:831:51: error: ‘luaL_register’ was not declared in this scope > luaL_register(L, wx2lua(m_nameSpace), wxlualib); You probably also need -DLUA_COMPAT_MODULE, as luaL_register is not part of Lua 5.2 if the compatibility mode is not turned on. Paul. |
From: Philipp Ü. <mu...@tu...> - 2015-05-17 19:12:26
|
Hi there, I try to compile wxlua with the following options: cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config \ -DwxLua_LUA_INCLUDE_DIR=/usr/include \ -DwxLua_LUA_LIBRARY=/usr/lib/liblua.so.5.2 \ -DwxLua_LUA_LIBRARY_USE_BUILTIN=0 \ -DwxLua_LUA_LIBRARY_VERSION=5.2 \ -DBUILD_SHARED_LIBS=TRUE I hope that someone can help me fix this. Regards, Philipp Here is the entire output: -- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- * --------------------------------------------------------------------------- -- * CMake command line options and tips specific to this project -- * -- * In the CMake GUI you can set values and press configure a few times -- * and until there are no more red items, then press generate. -- * -- * Usage: cmake -D[OPTION_NAME]=[OPTION_VALUE] /path/to/CMakeLists.txt/ -- * --------------------------------------------------------------------------- -- * -DHELP=TRUE -- * Show this help message and exit, no files will be generated. -- * -DCMAKE_BUILD_TYPE=[Debug, Release, RelWithDebInfo, MinSizeRel] : (Default Debug) -- * Makefiles : You must set the build type to Debug, Release... -- * MSVC GUI : No need to set this since you can choose it in the GUI. -- * -DBUILD_SHARED_LIBS=[TRUE, FALSE] : (Default static in MSW, shared in Linux) -- * Build shared (.DLL or .so) or static (.lib or .a) libraries. -- * --------------------------------------------------------------------------- -- -- -- ***************************************************************************** -- * BUILD TYPE: Release -- * BUILD_SHARED_LIBS: TRUE -- ***************************************************************************** -- * System is 32-bit FALSE, is 64-bit TRUE -- ***************************************************************************** -- * CMAKE_SOURCE_DIR = /home/murks/cower/wxlua-svn/src/wxlua/wxLua -- * CMAKE_BINARY_DIR = /home/murks/cower/wxlua-svn/src/wxlua/wxLua/build -- ***************************************************************************** -- -- * --------------------------------------------------------------------------- -- * wxWidgets library settings : -- * -- * Note that ONLY an all shared (DLL) or all static build is supported. -- * I.E. If you choose shared you must link to shared wxWidgets libs. -- * Set -DBUILD_SHARED_LIBS=[TRUE, FALSE] to control shared/static lib. -- * -- * Finding wxWidgets for MSW and MSVC -- * -DwxWidgets_ROOT_DIR=[path] : (e.g. /path/to/wxWidgets/) -- * Path to the root of the wxWidgets build, must at least set this. -- * -DwxWidgets_LIB_DIR=[path] : (e.g. /path/to/wxWidgets/lib/vc_lib/) -- * Path to the wxWidgets lib dir also set this if libs can't be found. -- * -DwxWidgets_CONFIGURATION=[configuration] : -- * Set wxWidgets configuration; e.g. msw, mswu, mswunivu... -- * Where 'u' = unicode and 'd' = debug. -- * MSVC GUI : You need only choose msw, mswu, mswuniv, mswunivu since -- * release or debug mode is chosen in the GUI. -- * -DwxWidgets_COMPONENTS=[...stc;html;adv;core;base or mono] : -- * For non-monolithic builds choose the wxWidgets libs to link to. -- * xrc;xml;gl;net;media;propgrid;richtext;aui;stc;html;adv;core;base -- * For monolithic builds choose mono and the contribs libs. -- * stc;mono -- * The extra decorations, e.g. wxmsw28ud_adv.lib, will be searched for. -- * Libs that cannot be found will be printed below, please fix/remove -- * them to be able to build this project. -- * You will get compilation/linker errors if wxWidgets is not found. -- * -- * Finding wxWidgets for GCC and Unix type systems -- * -DwxWidgets_CONFIG_EXECUTABLE=[path/to/wx-config] : -- * Specify path to wx-config script for GCC and Unix type builds -- * --------------------------------------------------------------------------- -- -- * Using these wxWidgets components: stc;webview;gl;xrc;xml;net;media;propgrid;richtext;aui;html;adv;core;base -- Found wxWidgets: TRUE -- * -- * Found wxWidgets : -- * - wxWidgets_VERSION = 3.0.2 = 3.0.2 -- * - wxWidgets_COMPONENTS = stc;webview;gl;xrc;xml;net;media;propgrid;richtext;aui;html;adv;core;base -- * - wxWidgets_INCLUDE_DIRS = /usr/lib/wx/include/gtk2-unicode-3.0;/usr/include/wx-3.0 -- * - wxWidgets_LIBRARY_DIRS = -- * - wxWidgets_LIBRARIES = -pthread;;;-lwx_gtk2u_stc-3.0;-lwx_gtk2u_webview-3.0;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_xrc-3.0;-lwx_baseu_xml-3.0;-lwx_baseu_net-3.0;-lwx_gtk2u_media-3.0;-lwx_gtk2u_propgrid-3.0;-lwx_gtk2u_richtext-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0 -- * - wxWidgets_CXX_FLAGS = -pthread -- * - wxWidgets_DEFINITIONS = _FILE_OFFSET_BITS=64;__WXGTK__ -- * - wxWidgets_DEFINITIONS_DEBUG = -- * - wxWidgets_PORTNAME = gtk2 -- * - wxWidgets_UNIVNAME = -- * - wxWidgets_UNICODEFLAG = u -- * - wxWidgets_DEBUGFLAG = -- * -- * wxLua using external/system Lua library : -- * - include dir : /usr/include -- * - library : /usr/lib/liblua.so.5.2 -- * WARNING: cppcheck NOT found, NOT generating ADD_CPPCHECK_TEST() tests -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- * WARNING: Doxygen NOT found, wxLua_doxygen target will not be generated. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- * WARNING: Doxygen NOT found, wxStEdit_doxygen target will not be generated. -- Configuring done -- Generating done -- Build files have been written to: /home/murks/cower/wxlua-svn/src/wxlua/wxLua/build Scanning dependencies of target wxLuaLib Scanning dependencies of target wxStEditLib Scanning dependencies of target wxLuaModule [ 1%] [ 1%] Building C object modules/wxlua/CMakeFiles/wxLuaLib.dir/lbitlib.c.o Building CXX object modules/wxlua/CMakeFiles/wxLuaLib.dir/dummy.cpp.o [ 2%] Building CXX object modules/wxlua/CMakeFiles/wxLuaLib.dir/wxlbind.cpp.o [ 2%] Building CXX object modules/wxlua/CMakeFiles/wxLuaLib.dir/wxlcallb.cpp.o [ 3%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/precomp.cpp.o [ 4%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/luamodule.cpp.o /home/murks/cower/wxlua-svn/src/wxlua/wxLua/modules/wxlua/wxlbind.cpp: In member function ‘virtual bool wxLuaBinding::RegisterBinding(const wxLuaState&)’: /home/murks/cower/wxlua-svn/src/wxlua/wxLua/modules/wxlua/wxlbind.cpp:831:51: error: ‘luaL_register’ was not declared in this scope luaL_register(L, wx2lua(m_nameSpace), wxlualib); ^ [ 5%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/steart.cpp.o modules/wxlua/CMakeFiles/wxLuaLib.dir/build.make:100: recipe for target 'modules/wxlua/CMakeFiles/wxLuaLib.dir/wxlbind.cpp.o' failed make[2]: *** [modules/wxlua/CMakeFiles/wxLuaLib.dir/wxlbind.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 6%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stedit.cpp.o [ 6%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxwebview_bind.cpp.o CMakeFiles/Makefile2:239: recipe for target 'modules/wxlua/CMakeFiles/wxLuaLib.dir/all' failed make[1]: *** [modules/wxlua/CMakeFiles/wxLuaLib.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 7%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxgl_bind.cpp.o [ 7%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stedlgs.cpp.o [ 8%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxstc_bind.cpp.o [ 8%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxxrc_bind.cpp.o [ 9%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxrichtext_bind.cpp.o [ 10%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stedlgs_wdr.cpp.o [ 12%] [ 12%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxhtml_bind.cpp.o Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxpropgrid_bind.cpp.o [ 13%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/steevent.cpp.o [ 13%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/steexprt.cpp.o [ 13%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxhtml_wxlhtml.cpp.o [ 14%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxmedia_bind.cpp.o [ 15%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxaui_bind.cpp.o [ 16%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stefindr.cpp.o [ 17%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/steframe.cpp.o [ 17%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxadv_bind.cpp.o [ 17%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stelangs.cpp.o [ 18%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stemenum.cpp.o [ 19%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxadv_wxladv.cpp.o /home/murks/cower/wxlua-svn/src/wxlua/wxLua/modules/wxbind/src/wxadv_wxladv.cpp: In member function ‘virtual wxGridCellAttr* wxLuaGridTableBase::GetAttr(int, int, wxGridCellAttr::wxAttrKind)’: /home/murks/cower/wxlua-svn/src/wxlua/wxLua/modules/wxbind/src/wxadv_wxladv.cpp:715:12: warning: ‘attr’ may be used uninitialized in this function [-Wmaybe-uninitialized] return attr; ^ [ 20%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_picker.cpp.o [ 21%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stenoteb.cpp.o [ 21%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_image.cpp.o [ 22%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/steopts.cpp.o [ 23%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_help.cpp.o [ 23%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/steprefs.cpp.o [ 24%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_windows.cpp.o [ 25%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/steprint.cpp.o [ 26%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_mdi.cpp.o [ 27%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/steshell.cpp.o [ 27%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stesplit.cpp.o [ 27%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_geometry.cpp.o [ 28%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_defsutils.cpp.o [ 29%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stestyls.cpp.o [ 30%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stetree.cpp.o [ 31%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_print.cpp.o [ 31%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_menutool.cpp.o [ 32%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/wxext.cpp.o [ 33%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_event.cpp.o [ 34%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_controls.cpp.o [ 34%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_bind.cpp.o Linking CXX shared library ../../lib/Release/libwxstedit-wx30gtk2u-1.6.0.so [ 35%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_dialogs.cpp.o [ 35%] Built target wxStEditLib [ 36%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_wxlcore.cpp.o [ 37%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_gdi.cpp.o [ 37%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_core.cpp.o [ 38%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_appframe.cpp.o [ 39%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_sizer.cpp.o [ 39%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_clipdrag.cpp.o [ 40%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxxml_bind.cpp.o [ 41%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxnet_bind.cpp.o [ 42%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_config.cpp.o [ 42%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_bind.cpp.o [ 43%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_file.cpp.o [ 44%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_data.cpp.o [ 44%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_datetime.cpp.o [ 45%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxbase_base.cpp.o [ 46%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/debugger/dummy.cpp.o [ 46%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/debugger/wxldserv.cpp.o [ 47%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/debugger/wxldtarg.cpp.o [ 48%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/debugger/wxlsock.cpp.o [ 49%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/debugger/wxluadebugger_bind.cpp.o [ 49%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/debug/dummy.cpp.o [ 50%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/debug/wxldebug.cpp.o [ 51%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/debug/wxlstack.cpp.o [ 51%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/dummy.cpp.o [ 52%] Building C object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/lbitlib.c.o [ 53%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/wxlbind.cpp.o [ 53%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/wxlcallb.cpp.o /home/murks/cower/wxlua-svn/src/wxlua/wxLua/modules/wxlua/wxlbind.cpp: In member function ‘virtual bool wxLuaBinding::RegisterBinding(const wxLuaState&)’: /home/murks/cower/wxlua-svn/src/wxlua/wxLua/modules/wxlua/wxlbind.cpp:831:51: error: ‘luaL_register’ was not declared in this scope luaL_register(L, wx2lua(m_nameSpace), wxlualib); ^ modules/luamodule/CMakeFiles/wxLuaModule.dir/build.make:1204: recipe for target 'modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/wxlbind.cpp.o' failed make[2]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/wxlbind.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:391: recipe for target 'modules/luamodule/CMakeFiles/wxLuaModule.dir/all' failed make[1]: *** [modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2 Makefile:136: recipe for target 'all' failed make: *** [all] Error 2 |
From: Victor B. <so...@te...> - 2015-03-05 18:34:12
|
Yes this works because we have lua_str="\195\160" UTF8 code for à but I would like to open a plain ASCii file in which à is coded as 0xE0 in my locale and then wx_str = wx.wxString(lua_str, wxFONTENCODING_ISO8859_1) (or something similar) to get it converted to UNICODE ----- Original Message ----- From: John Labenski To: wxl...@li... Sent: Thursday, March 05, 2015 7:05 PM Subject: Re: [wxlua-users] wxString::ToAscii On Thu, Mar 5, 2015 at 12:11 PM, Victor Bombi <so...@te...> wrote: >What do you plan to do with this wxString? You won't be able to display it >in the GUI since the high ASCII chars usually just show up as boxes not as >the DOS smiley faces and whatnot. I recommend sanitizing the string for >display by replacing the extended ascii and controls chars with '?' for >example. Just would like to show áéíóú Ahh, ok. Below is a list of the UTF8 chars to use. http://www.utf8-chartable.de/ I ran this in wxLuaEdit and both wxMessageBoxes showed the char à I copied and pasted from the site above. ------------------------ lua_str="à" print (string.len(lua_str)) wx.wxMessageBox(lua_str) wx_str = wx.wxString(lua_str) print (wx_str:Len()) wx.wxMessageBox(wx_str) ------------------------ output: Running lua script 'untitled.lua*' : Thu Mar 5 13:02:55 2015 2 -- note 2 byte utf8 char 1 -- wx knows that this is just a single two-byte utf8 char ----------------------- Does this not work for you? Regards, John ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ------------------------------------------------------------------------------ _______________________________________________ wxlua-users mailing list wxl...@li... https://lists.sourceforge.net/lists/listinfo/wxlua-users |
From: John L. <jla...@gm...> - 2015-03-05 18:05:32
|
On Thu, Mar 5, 2015 at 12:11 PM, Victor Bombi <so...@te...> wrote: > > > >What do you plan to do with this wxString? You won't be able to display it > >in the GUI since the high ASCII chars usually just show up as boxes not as > >the DOS smiley faces and whatnot. I recommend sanitizing the string for > >display by replacing the extended ascii and controls chars with '?' for > >example. > > Just would like to show áéíóú > > Ahh, ok. Below is a list of the UTF8 chars to use. http://www.utf8-chartable.de/ I ran this in wxLuaEdit and both wxMessageBoxes showed the char à I copied and pasted from the site above. ------------------------ lua_str="à" print (string.len(lua_str)) wx.wxMessageBox(lua_str) wx_str = wx.wxString(lua_str) print (wx_str:Len()) wx.wxMessageBox(wx_str) ------------------------ output: Running lua script 'untitled.lua*' : Thu Mar 5 13:02:55 2015 2 -- note 2 byte utf8 char 1 -- wx knows that this is just a single two-byte utf8 char ----------------------- Does this not work for you? Regards, John |
From: Victor B. <so...@te...> - 2015-03-05 17:11:32
|
>What do you plan to do with this wxString? You won't be able to display it >in the GUI since the high ASCII chars usually just show up as boxes not as >the DOS smiley faces and whatnot. I recommend sanitizing the string for >display by replacing the extended ascii and controls chars with '?' for >example. Just would like to show áéíóú Best victor |
From: John L. <jla...@gm...> - 2015-03-05 06:11:00
|
On Sun, Jan 18, 2015 at 6:28 PM, Roy Hinkelman <ro...@gm...> wrote: > @Paul: Thanks for the pointer to ZeroBrane. I looked at your IDE, and it > looks really interesting. > > Can you help with some newbie questions? > > >> I am looking to build cross-platform Lua based apps > > > >I can't help with this particular issue as I use gcc rather than > >clang, but I do build cross-platform lua apps using wxlua and support > >Windows, OSX, and various flavors of Linux. > > But I am not familiar with gcc or clang, and what effect they have with > building cross platform apps. Can I not compile to certain platforms with > gcc or clang? > > Cross-platform compiling for different OSes from a single OS is not for the faint of heart as it is usually very complicated. I'm also pretty sure that the Apple provided clang compiler will not cross-compile to MSW or Linux. The easiest way is to simply get a machine for each OS, dual-boot them, or use virtual machines. Note that Apple used to provide GCC as their XCode compiler, but they switched to clang recently and I have not used it. > I don't really understand the process here. I am assuming I build my app > and compile it to Win, OSX, IOS or Droid. Do I need to have a 'production' > build for wxWidgets as part of the process? > > You need to have wxLua, Lua, and wxWidgets binaries built for each platform you want to run on as they are the code that's actually interacting with the OS. The Lua script code for wxLua simply calls the compiled binary wxWidgets functions that eventually call the system provided functions to create windows, menus, etc. Same for the 'os' Lua module and its functions os.clock() for example. Note that android and ios are experiment in wxWidgets and there is no provision for them in wxLua. Regards, John |
From: John L. <jla...@gm...> - 2015-03-05 05:49:10
|
On Sun, Jan 18, 2015 at 5:37 PM, Roy Hinkelman <ro...@gm...> wrote: > I am still getting errors after trying new config settings for installing > wxWidgets. Any pointers greatly appreciated. > > I don't have a mac available for testing right now. after make -j4 > > ../src/osx/webview_webkit.mm:392:30: warning: incompatible pointer types > sending 'WebViewUIDelegate *' to parameter of type > 'id<WKUIDelegate>' [-Wincompatible-pointer-types] > [m_webView setUIDelegate:uiDelegate]; > ^~~~~~~~~~ > ../src/osx/webview_webkit.mm:464:34: warning: 'WKPreferences' may not > respond to 'setUsesPageCache:' > [[m_webView preferences] setUsesPageCache:NO]; > ~~~~~~~~~~~~~~~~~~~~~~~ ^ > ../src/osx/webview_webkit.mm:466:34: warning: 'WKPreferences' may not > respond to 'setUsesPageCache:' > [[m_webView preferences] setUsesPageCache:YES]; > ~~~~~~~~~~~~~~~~~~~~~~~ ^ > ../src/osx/webview_webkit.mm:936:25: error: cannot initialize a variable > of type 'WebBackForwardList *' with an rvalue of type > 'WKBackForwardList *' > WebBackForwardList* history = [m_webView backForwardList]; > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ../src/osx/webview_webkit.mm:954:25: error: cannot initialize a variable > of type 'WebBackForwardList *' with an rvalue of type > 'WKBackForwardList *' > WebBackForwardList* history = [m_webView backForwardList]; > You're not alone, it looks like the current trunk SVN has a fix for it if I understand the last comment correctly. http://trac.wxwidgets.org/ticket/16329 Regards, John |
From: John L. <jla...@gm...> - 2015-03-05 05:40:23
|
On Mon, Mar 2, 2015 at 3:54 AM, Victor Bombi <so...@te...> wrote: > Where I say UNICODE it should be whatever internal widebyte encoding the > system and wxWidgets is using > wxWidgets has recently changed so that the >= 2.9 version always uses utf8 in the wxString. There's a list of what it accepts in the section "wxString <http://docs.wxwidgets.org/3.0/classwx_string.html> can be created from". http://docs.wxwidgets.org/3.0/classwx_string.html the problem is converting from ANSI to UNICODE > > wxLua unicode build converts as if the string were UTF8 to UNICODE: return > wxString(luastr, wxConvUTF8); > it works from code 1 to 127 (ASCii) but fails on 128-255 which are not > valid > UTF > 0 is discarded in lua2wx :if (luastr == NULL) return wxEmptyString; // > check > for NULL > which is a problem for lua strings with embeded ceros > > What do you plan to do with this wxString? You won't be able to display it in the GUI since the high ASCII chars usually just show up as boxes not as the DOS smiley faces and whatnot. I recommend sanitizing the string for display by replacing the extended ascii and controls chars with '?' for example. You can make an ANSI build of wxWidgets (frowned upon in wx versions >= 2.9) and see if that does what you want... Regards, John |
From: John L. <jla...@gm...> - 2015-03-05 05:22:19
|
> > Hello, > > > > Is there any special reason for not having wxMenu:AppendSubMenu? > > > It probably didn't exist in previous versions of wxWidgets. Added in SVN now. Regards, John |
From: John L. <jla...@gm...> - 2015-03-05 05:11:02
|
On Tue, Jan 27, 2015 at 7:32 PM, Paul K <pau...@ya...> wrote: > Hi John, > > Could you enable RegisterHotKey and UnregisterHotKey method in wxwindow? > > Your comment says "only under WinCE", but it's not correct, as it's > available in Windows and should also be available on OSX with this fix: > http://trac.wxwidgets.org/ticket/12354. Thank you. > > Added in SVN, note that it is not available in GTK. Regards, John |
From: John L. <jla...@gm...> - 2015-03-05 04:41:42
|
On Sun, Jan 25, 2015 at 12:55 PM, Ulrich Schmidt <u.s...@gm...> wrote: > Hi. > I installed Debian on a tiny pc. Caused by the fact jessie has packages for > lua, luajit, rockspec and so on, installing a lua environment is a easy and > quick task. wxWidgets-3.0.2 are available too. > Unzipping wxlua, running cmake and compiling wxlua is easy too. (I wish it > would be so easy on windows too.) > > Anyway there are 2 questions remaining: > > - The resulting lua module is named liblua.so instead wx.so. What is the > idea > behind? I renamed libwx.so to wx.so to allow standard cpath to work. > > CMake prepends 'lib' to the name by default and I see that for the Mingw build I do remove it. I'm not sure why I didn't do the same for Linux. I think the right thing to do would be to actually name the 'wx.so' lib with the Lua and wxWidgets versions and then symlink wx.so to it as most other libs do. > - make generates libwx.so + libwxlua_lua51-wx30gtk2u-2.8.12.3.so > Why is there this libwxlua_lua51-wx30gtk2u-2.8.12.3.so? Is it possible to > compile libwxlua_lua51-wx30gtk2u-2.8.12.3.so into (lib)wx.so? If not, > where is > a good place to store libwxlua_lua51-wx30gtk2u-2.8.12.3.so? > > In order to use Lua's 'require' you need to have the lua exe linked to a shared lua.so and the lib you want to 'require' also linked to the same lua.so. If you will 'require' other Lua C libs then these will also need to be built and linked against the same lua.so library. This is why the lua.so lib is not rolled into the wx.so lib and the lua exe linked only to wx.so. In terms of where to put the lua.so lib, you can put it anywhere. Use LD_LIBRARY_PATH or the program chrpath to change the rpath of the lua exe to find it. Hope this helps, John |
From: Victor B. <so...@te...> - 2015-03-02 20:04:12
|
Hi Jonh and Paul, From8BitData() is static and To8BitData() mentioned in (http://sourceforge.net/p/wxlua/mailman/message/32175781/) but allowing to specify codepage (wxConvISO8859_1 or whatever) would be enought best victor ----- Original Message ----- From: "Victor Bombi" <so...@te...> To: <wxl...@li...> Sent: Monday, March 02, 2015 10:58 AM Subject: [wxlua-users] wxLua ANSI to WCHAR (was wxString::ToAscii) > This is lua2wx, it seems that it takes utf8 strings instead or ANSI with > local codepage > WXLUA_USE_WXSTR_CONVCURRENT 1 should be tried? > > ------------------------------------------------------------ > #define WXLUA_USE_WXSTR_CONVUTF8 1 > #define WXLUA_USE_WXSTR_CONVCURRENT 0 > > // Convert a 8-bit ANSI C Lua String into a wxString > inline WXDLLIMPEXP_WXLUA wxString lua2wx(const char* luastr) > { > if (luastr == NULL) return wxEmptyString; // check for NULL > > #if WXLUA_USE_WXSTR_CONVUTF8 > > return wxString(luastr, wxConvUTF8); > > #elif WXLUA_USE_WXSTR_CONVCURRENT > > return wxString(luastr, *wxConvCurrent); > > #else //!WXLUA_USE_WXSTR_CONVCURRENT > #if wxUSE_UNICODE > wxString str(luastr, wxConvUTF8); > #else > wxString str(wxConvUTF8.cMB2WC(luastr), *wxConvCurrent); > #endif // wxUSE_UNICODE > > if (str.IsEmpty()) > str = wxConvertMB2WX(luastr); // old way that mostly works > > return str; > #endif //WXLUA_USE_WXSTR_CONVCURRENT > } > -------------------------------------------------------------- > > As an example compare wxLua with iconv: > It seems wxLua dont take ANSI but UTF-8 > -------------------------------------------------- > local iconv = require("iconv") > oldprint = print > require"wx" > print=oldprint > local str = "" > for i=0,255 do > str = str .. string.char(i) > end > local cd = iconv.new("utf-8" .. "//TRANSLIT", "iso-8859-1")--IGNORE > --local cd = iconv.new("iso-8859-1" .. "//TRANSLIT", "utf-8") > assert(cd, "Failed to create a converter object.") > > > function showerr(err) > if err == iconv.ERROR_INCOMPLETE then > print("ERROR: Incomplete input.") > elseif err == iconv.ERROR_INVALID then > print("ERROR: Invalid input.") > elseif err == iconv.ERROR_NO_MEMORY then > print("ERROR: Failed to allocate memory.") > elseif err == iconv.ERROR_UNKNOWN then > print("ERROR: There was an unknown error.") > end > end > > > for i=1,#str do > local char = tostring(str:byte(i)) > --ANSI to UTF8 > local conv ,err= cd:iconv(str:sub(i,i)) > showerr(err) > print(str:byte(i) , conv:byte(1,#conv)) > --ANSI to UTF8 in wx > local convwx = wx.wxString(str:sub(i,i)):GetData() > print(str:byte(i) , convwx:byte(1,#convwx)) > --UTF8 to UTF8 in wx > local convwx2 = wx.wxString(conv):GetData() > print(str:byte(i) , convwx2:byte(1,#convwx2)) > end > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users |
From: Victor B. <so...@te...> - 2015-03-02 09:59:03
|
This is lua2wx, it seems that it takes utf8 strings instead or ANSI with local codepage WXLUA_USE_WXSTR_CONVCURRENT 1 should be tried? ------------------------------------------------------------ #define WXLUA_USE_WXSTR_CONVUTF8 1 #define WXLUA_USE_WXSTR_CONVCURRENT 0 // Convert a 8-bit ANSI C Lua String into a wxString inline WXDLLIMPEXP_WXLUA wxString lua2wx(const char* luastr) { if (luastr == NULL) return wxEmptyString; // check for NULL #if WXLUA_USE_WXSTR_CONVUTF8 return wxString(luastr, wxConvUTF8); #elif WXLUA_USE_WXSTR_CONVCURRENT return wxString(luastr, *wxConvCurrent); #else //!WXLUA_USE_WXSTR_CONVCURRENT #if wxUSE_UNICODE wxString str(luastr, wxConvUTF8); #else wxString str(wxConvUTF8.cMB2WC(luastr), *wxConvCurrent); #endif // wxUSE_UNICODE if (str.IsEmpty()) str = wxConvertMB2WX(luastr); // old way that mostly works return str; #endif //WXLUA_USE_WXSTR_CONVCURRENT } -------------------------------------------------------------- As an example compare wxLua with iconv: It seems wxLua dont take ANSI but UTF-8 -------------------------------------------------- local iconv = require("iconv") oldprint = print require"wx" print=oldprint local str = "" for i=0,255 do str = str .. string.char(i) end local cd = iconv.new("utf-8" .. "//TRANSLIT", "iso-8859-1")--IGNORE --local cd = iconv.new("iso-8859-1" .. "//TRANSLIT", "utf-8") assert(cd, "Failed to create a converter object.") function showerr(err) if err == iconv.ERROR_INCOMPLETE then print("ERROR: Incomplete input.") elseif err == iconv.ERROR_INVALID then print("ERROR: Invalid input.") elseif err == iconv.ERROR_NO_MEMORY then print("ERROR: Failed to allocate memory.") elseif err == iconv.ERROR_UNKNOWN then print("ERROR: There was an unknown error.") end end for i=1,#str do local char = tostring(str:byte(i)) --ANSI to UTF8 local conv ,err= cd:iconv(str:sub(i,i)) showerr(err) print(str:byte(i) , conv:byte(1,#conv)) --ANSI to UTF8 in wx local convwx = wx.wxString(str:sub(i,i)):GetData() print(str:byte(i) , convwx:byte(1,#convwx)) --UTF8 to UTF8 in wx local convwx2 = wx.wxString(conv):GetData() print(str:byte(i) , convwx2:byte(1,#convwx2)) end |
From: Victor B. <so...@te...> - 2015-03-02 08:54:11
|
Where I say UNICODE it should be whatever internal widebyte encoding the system and wxWidgets is using as noted in http://www.joelonsoftware.com/articles/Unicode.html the problem is converting from ANSI to UNICODE wxLua unicode build converts as if the string were UTF8 to UNICODE: return wxString(luastr, wxConvUTF8); it works from code 1 to 127 (ASCii) but fails on 128-255 which are not valid UTF 0 is discarded in lua2wx :if (luastr == NULL) return wxEmptyString; // check for NULL which is a problem for lua strings with embeded ceros using AddTextRaw uses the string as an already UNICODE string so 1-255 are visible althought 128-255 dont show ANSI caracters So would be ideal to having a function for converting from ANSI to UTF or UTF to ANSI (it depends on the ANSI codepage) as in http://docs.wxwidgets.org/trunk/overview_mbconv.html example 1 (or may be ANSI to UNICODE and UNICODE to ANSI) |
From: Victor B. <so...@te...> - 2015-03-01 19:55:17
|
actually wxMBConv and derived should be implemented because "Lua uses ANSI 8-bit strings" as says the wxLua manual but you can get in them every kind of data : unicode strings or embeded zeros. So instead of needing require"iconv", wxLua would be enought ----- Original Message ----- From: Victor Bombi To: wxl...@li... Sent: Sunday, March 01, 2015 8:37 PM Subject: Re: [wxlua-users] wxString::ToAscii the problem is converting from ANSI to UNICODE wxLua unicode build converts as if the string were UTF8 to UNICODE it works from code 1 to 127 but fails on 128-255 which are not valid UTF 0 is discarded in lua2wx if (luastr == NULL) return wxEmptyString; // check for NULL which is a problem for lua strings with embeded ceros using AddTextRaw uses the string as an already UNICODE string so 1-255 are visible althought 128-255 dont show ANSI caracters So would be ideal to having a function for converting from ANSI to UTF or UTF to ANSI (it depends on the ANSI codepage) as in http://docs.wxwidgets.org/trunk/overview_mbconv.html example 1 (or may be ANSI to UNICODE and UNICODE to ANSI) ----- Original Message ----- From: Paul K To: wxl...@li... Sent: Sunday, March 01, 2015 6:50 PM Subject: Re: [wxlua-users] wxString::ToAscii Hi Victor, > editor:AddText(wx.wxString(_text):ToUTF8()) > > only show caracters from 1 to 127 (fails with i=0,255) > > With Notepad plus I can convert it (i=0,255) to UTF save to a file and if If you are trying to convert to/from UTF8, you may want to check this discussion (http://sourceforge.net/p/wxlua/mailman/message/32175781/) and the methods described in it. See if this helps. Paul. ---------------------------------------------------------------------------- ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ---------------------------------------------------------------------------- _______________________________________________ wxlua-users mailing list wxl...@li... https://lists.sourceforge.net/lists/listinfo/wxlua-users ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ------------------------------------------------------------------------------ _______________________________________________ wxlua-users mailing list wxl...@li... https://lists.sourceforge.net/lists/listinfo/wxlua-users |
From: Victor B. <so...@te...> - 2015-03-01 19:37:27
|
the problem is converting from ANSI to UNICODE wxLua unicode build converts as if the string were UTF8 to UNICODE it works from code 1 to 127 but fails on 128-255 which are not valid UTF 0 is discarded in lua2wx if (luastr == NULL) return wxEmptyString; // check for NULL which is a problem for lua strings with embeded ceros using AddTextRaw uses the string as an already UNICODE string so 1-255 are visible althought 128-255 dont show ANSI caracters So would be ideal to having a function for converting from ANSI to UTF or UTF to ANSI (it depends on the ANSI codepage) as in http://docs.wxwidgets.org/trunk/overview_mbconv.html example 1 (or may be ANSI to UNICODE and UNICODE to ANSI) ----- Original Message ----- From: Paul K To: wxl...@li... Sent: Sunday, March 01, 2015 6:50 PM Subject: Re: [wxlua-users] wxString::ToAscii Hi Victor, > editor:AddText(wx.wxString(_text):ToUTF8()) > > only show caracters from 1 to 127 (fails with i=0,255) > > With Notepad plus I can convert it (i=0,255) to UTF save to a file and if If you are trying to convert to/from UTF8, you may want to check this discussion (http://sourceforge.net/p/wxlua/mailman/message/32175781/) and the methods described in it. See if this helps. Paul. ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ------------------------------------------------------------------------------ _______________________________________________ wxlua-users mailing list wxl...@li... https://lists.sourceforge.net/lists/listinfo/wxlua-users |
From: Paul K <pau...@ya...> - 2015-03-01 17:55:57
|
Hi Victor, > editor:AddText(wx.wxString(_text):ToUTF8()) > > only show caracters from 1 to 127 (fails with i=0,255) > > With Notepad plus I can convert it (i=0,255) to UTF save to a file and if If you are trying to convert to/from UTF8, you may want to check this discussion (http://sourceforge.net/p/wxlua/mailman/message/32175781/) and the methods described in it. See if this helps. Paul. |
From: Victor B. <so...@te...> - 2015-03-01 11:42:31
|
should not be the same? oldprint = print require"wx" print=oldprint local str = "" for i=0,127 do str = str .. string.char(i) end strwx = wx.wxString(str)--:ToUTF8()--:GetData() strwx2 = tostring(strwx) for i=1,#str do io.write(tostring(str:byte(i))) end print("\n") for i=1,#strwx2 do io.write(tostring(strwx2:byte(i))) end ----- Original Message ----- From: "Victor Bombi" <so...@te...> To: <wxl...@li...> Sent: Sunday, March 01, 2015 11:56 AM Subject: Re: [wxlua-users] wxString::ToAscii > local _text = "" > for i=1,127 do > _text = _text .. string.char(i) .. string.format(" represents %4d\r\n",i) > end > editor:AddText(wx.wxString(_text):ToUTF8()) > > only show caracters from 1 to 127 (fails with i=0,255) > > With Notepad plus I can convert it (i=0,255) to UTF save to a file and if > I > open this file in wxlua it shows all caracters in wxStyledTextCtrl > why I can do the conversion with wx.wxString(_text):ToUTF8() > > best > victor > > ----- Original Message ----- > From: "Victor Bombi" <so...@te...> > To: <wxl...@li...> > Sent: Saturday, February 28, 2015 1:58 PM > Subject: [wxlua-users] wxString::ToAscii > > >> Hello, >> >> is wxString::ToAscii implemented? >> >> victor >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub >> for >> all >> things parallel software development, from weekly thought leadership >> blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> wxlua-users mailing list >> wxl...@li... >> https://lists.sourceforge.net/lists/listinfo/wxlua-users > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users |
From: Victor B. <so...@te...> - 2015-03-01 10:56:25
|
local _text = "" for i=1,127 do _text = _text .. string.char(i) .. string.format(" represents %4d\r\n",i) end editor:AddText(wx.wxString(_text):ToUTF8()) only show caracters from 1 to 127 (fails with i=0,255) With Notepad plus I can convert it (i=0,255) to UTF save to a file and if I open this file in wxlua it shows all caracters in wxStyledTextCtrl why I can do the conversion with wx.wxString(_text):ToUTF8() best victor ----- Original Message ----- From: "Victor Bombi" <so...@te...> To: <wxl...@li...> Sent: Saturday, February 28, 2015 1:58 PM Subject: [wxlua-users] wxString::ToAscii > Hello, > > is wxString::ToAscii implemented? > > victor > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users |
From: Victor B. <so...@te...> - 2015-02-28 12:59:00
|
Hello, is wxString::ToAscii implemented? victor |
From: Victor B. <so...@te...> - 2015-02-25 21:01:40
|
Dont mind. ;-) I have seen in ZerobraneStudio how this can be done with Append ----- Original Message ----- From: "Victor Bombi" <so...@te...> To: <wxl...@li...> Sent: Wednesday, February 25, 2015 8:43 PM Subject: [wxlua-users] wxMenu:AppendSubMenu > Hello, > > Is there any special reason for not having wxMenu:AppendSubMenu? > > Thankyou > victor > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users |
From: Victor B. <so...@te...> - 2015-02-25 19:43:47
|
Hello, Is there any special reason for not having wxMenu:AppendSubMenu? Thankyou victor |
From: Paul K <pau...@ya...> - 2015-02-21 23:20:26
|
Hi John, I'm still in need of having MacNewFile, MacOpenFiles, and MacReopenApp methods (http://docs.wxwidgets.org/trunk/classwx_app.html) and would appreciate any update on when you may have chance to add them. If you don't have time at all to work on these and other methods, could you give me a hint on how these can be added or maybe implement one of them and I'll take care of the others? I can add existing methods (like those needed for wxSTC or wxTreeCtrl), but it seems like these methods need some sort of callback and I don't know how to provide that. Paul. On Thu, Oct 30, 2014 at 11:01 AM, Paul K <pau...@ya...> wrote: > Hi John, > > >> > I'm looking for a way to provide MacNewFile, MacOpenFiles, and > >> > MacReopenApp methods > >> > (http://docs.wxwidgets.org/trunk/classwx_app.html), but can't figure > >> > out how to do this in wxlua and don't see this in any of the examples. > >> > >> Can these methods be used with the current version of wxlua or do they > >> need to be added first? > > > > They need to be added, it should be doable. > > Any plans to add these methods? > > Also, I have a short list of various methods that exist in wxwidgets > 3.x, but are missing from wxlua API: > > wxTopLevelWindow needs EnableFullScreenView > wxTreeCtrl needs GetFocusedItem, SetFocusedItem, ClearFocusedItem > wxSTC needs ScrollRange, ScrollCaret, SetFontQuality, AddStyledText > wxAuiTabArt needs SetColour and SetActiveColour > > If it makes things easier for you, I can probably submit the initial > patch that adds these methods, but AddStyledText seems to be disabled > explicitly, so I'd appreciate if you could check why that's the case. > Thank you. > > Also, it's possible to provide my own wxAuiTabArt provider? > > Paul. > |
From: Paul K <pau...@ya...> - 2015-01-28 00:54:14
|
Hi John, Could you enable RegisterHotKey and UnregisterHotKey method in wxwindow? Your comment says "only under WinCE", but it's not correct, as it's available in Windows and should also be available on OSX with this fix: http://trac.wxwidgets.org/ticket/12354. Thank you. Paul. |
From: Ulrich S. <u.s...@gm...> - 2015-01-25 17:55:21
|
Hi. I installed Debian on a tiny pc. Caused by the fact jessie has packages for lua, luajit, rockspec and so on, installing a lua environment is a easy and quick task. wxWidgets-3.0.2 are available too. Unzipping wxlua, running cmake and compiling wxlua is easy too. (I wish it would be so easy on windows too.) Anyway there are 2 questions remaining: - The resulting lua module is named liblua.so instead wx.so. What is the idea behind? I renamed libwx.so to wx.so to allow standard cpath to work. - make generates libwx.so + libwxlua_lua51-wx30gtk2u-2.8.12.3.so Why is there this libwxlua_lua51-wx30gtk2u-2.8.12.3.so? Is it possible to compile libwxlua_lua51-wx30gtk2u-2.8.12.3.so into (lib)wx.so? If not, where is a good place to store libwxlua_lua51-wx30gtk2u-2.8.12.3.so? TIA Ulrich Schmidt |