[CST] Focus
b8241af4df
fix warnings if some want to use c++11
...
Origin commit data
------------------
Commit: c78676f7fd
Author: [CST] Focus <focus.cst@gmail.com >
Date: 2014-04-17 (Thu, 17 Apr 2014)
2014-04-21 14:07:38 +04:00
Michael Liebmann
a27f7c3dfb
CLuaInstance::runScript: Set script parameter 0 to 'script name'...
...
...for compatibility with standalone lua scripts
Origin commit data
------------------
Commit: b80e7480a2
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-19 (Wed, 19 Mar 2014)
2014-03-19 16:03:38 +01:00
Michael Liebmann
c700df0074
CLuaInstance: Add runScript() function for using in Lua script
...
- Script runs in a new instance in neutrino context
Example:
local n = neutrino()
n:runScript(filename [, args, ...])
Origin commit data
------------------
Commit: 0a957abf31
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-17 (Mon, 17 Mar 2014)
Origin message was:
------------------
CLuaInstance: Add runScript() function for using in Lua script
- Script runs in a new instance in neutrino context
Example:
local n = neutrino()
n:runScript(filename [, args, ...])
2014-03-19 10:14:43 +01:00
Michael Liebmann
41fb2b5514
CLuaInstance: Optional specification of parameters for runScript()
...
- Add parameters as std::vector and possibility of return of
status and error messages. (THX Martii)
Example:
void runScript(const char *fileName, std::vector<std::string> *argv,
std::string *result_code, std::string *result_string,
std::string *error_string);
- Add Parameters as const char*, last parameter to NULL is imperative.
Example:
void runScript(const char *fileName, const char *arg0, const char *arg1, ..., NULL);
Origin commit data
------------------
Commit: b61a225d2b
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-17 (Mon, 17 Mar 2014)
Origin message was:
------------------
CLuaInstance: Optional specification of parameters for runScript()
- Add parameters as std::vector and possibility of return of
status and error messages. (THX Martii)
Example:
void runScript(const char *fileName, std::vector<std::string> *argv,
std::string *result_code, std::string *result_string,
std::string *error_string);
- Add Parameters as const char*, last parameter to NULL is imperative.
Example:
void runScript(const char *fileName, const char *arg0, const char *arg1, ..., NULL);
2014-03-19 10:14:43 +01:00
Michael Liebmann
27d30d9c99
CLuaInstance: Replace cwindow header_height & footer_height
...
- Replace with headerHeight & footerHeight
- Set header_height & footer_height to deprecated
Origin commit data
------------------
Commit: 2dbdb8798e
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-16 (Sun, 16 Mar 2014)
2014-03-16 12:33:26 +01:00
Michael Liebmann
586253ea2e
CLuaInstance: Add various CComponentsPicture functions
...
- Added: new, paint, hide, setpicture
Origin commit data
------------------
Commit: 1e78781d18
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-16 (Sun, 16 Mar 2014)
2014-03-16 12:33:26 +01:00
Michael Liebmann
7e87ddf89d
CLuaInstance: Add setCaption & paintHeader function to cwindow
...
Origin commit data
------------------
Commit: a501f4e10e
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-16 (Sun, 16 Mar 2014)
2014-03-16 12:33:26 +01:00
Michael Liebmann
4fc816533e
CLuaInstance: Add function 'functionDeprecated()' for debug output...
...
...when a script function is deprecated.
Origin commit data
------------------
Commit: 5136563035
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-16 (Sun, 16 Mar 2014)
2014-03-16 12:33:26 +01:00
Michael Liebmann
f269b6525b
CLuaInstance: Add setText function to ctext
...
Origin commit data
------------------
Commit: 4df0449e39
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-16 (Sun, 16 Mar 2014)
2014-03-16 12:33:26 +01:00
Michael Liebmann
58b5c31eaa
CLuaInstance::ComponentsTextNew: Add 'parent' parameter...
...
...for the integration of ctext in a parent cwindow
Origin commit data
------------------
Commit: 81608cbd3f
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-16 (Sun, 16 Mar 2014)
2014-03-16 12:33:26 +01:00
Michael Liebmann
de0d063b32
CLuaInstance: Add additional tableLookup for get userdata
...
Origin commit data
------------------
Commit: f4c70c96a5
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-16 (Sun, 16 Mar 2014)
2014-03-16 12:33:26 +01:00
Michael Liebmann
dd56269e3e
CLuaInstance: Add debug output to CWindowDelete/ComponentsTextDelete
...
Origin commit data
------------------
Commit: 623efecc2f
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-16 (Sun, 16 Mar 2014)
2014-03-16 12:33:26 +01:00
Thilo Graf
f33efdbdc4
CComponents: add new parameter 'parent'
...
Use strictly CComponentsForm as parent parameter in constructors.
Some parts have been cleaned up (Constructors, init methodes removed)
New parameter makes it possible already add current item in constructor.
So in mostly situations is it not necessary to use explicit addCCItem(),
but addCCItem()is still valid and necessary in certain situations.
Affected are all cc-classes and their derivates.
Some classes must or can be adapted later. The function is
not currently restricted, because usage of parent parameter is not explicit
defined in constructors, see CImageInfo, here yet are used addCCItem()
methodes.
Generally this parameter is located in the constructors before bool has_shadow,
but it is not sure whether it would be better to use this parameter as the first.
That remains to be clarified.
Origin commit data
------------------
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de >
Date: 2014-03-03 (Mon, 03 Mar 2014)
2014-03-03 09:43:39 +01:00
Michael Liebmann
47f4e447f1
CLuaInstance: Add footer_height function
...
Origin commit data
------------------
Commit: 3fa31ef441
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-03-02 (Sun, 02 Mar 2014)
2014-03-02 12:58:41 +01:00
Michael Liebmann
9e820bc45f
CLuaInstance: Add has_shadow and window colors to cwindow.new
...
Origin commit data
------------------
Commit: 8d1e6b1e00
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-02-27 (Thu, 27 Feb 2014)
2014-02-27 22:52:02 +01:00
Michael Liebmann
e39a1c6264
CLuaInstance: Add DECODE_HTML flag to ctext.new for decode html string
...
- Use function htmlEntityDecode()
Origin commit data
------------------
Commit: a250436d29
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-02-26 (Wed, 26 Feb 2014)
2014-02-26 10:11:40 +01:00
Michael Liebmann
31c6b829d7
CLuaInstance: Rename componentstext to ctext
...
- Better readability and consistent designation
- Still not a problem since API not yet public
Origin commit data
------------------
Commit: 9184ac6266
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-02-23 (Sun, 23 Feb 2014)
2014-02-23 21:34:07 +01:00
Michael Liebmann
6de011f1b1
CLuaInstance: Add various CComponentsWindow fuctions
...
- Added: color buttons for footer, header_height
Origin commit data
------------------
Commit: a3d9bff44e
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-02-21 (Fri, 21 Feb 2014)
2014-02-21 00:02:47 +01:00
Michael Liebmann
4aacfa3a85
CLuaInstance: Add various CComponentsText fuctions
...
- Added: new, paint, hide, scroll
Origin commit data
------------------
Commit: cc7e1136ec
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-02-21 (Fri, 21 Feb 2014)
2014-02-21 00:02:47 +01:00
Michael Liebmann
2dc0393b63
CLuaInstance: Add function getRenderWidth()
...
Origin commit data
------------------
Commit: 6475e77a84
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-02-21 (Fri, 21 Feb 2014)
2014-02-21 00:02:47 +01:00
Michael Liebmann
a50eb24f3e
Fix compiler warnings (-Wfloat-equal)
...
Origin commit data
------------------
Commit: 3f0400a23e
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-02-21 (Fri, 21 Feb 2014)
2014-02-21 00:02:47 +01:00
Michael Liebmann
8d223494f0
CLuaInstance::MenuAddItem: Fix neutrino segfault at (type == "chooser")
...
when options in lua script broken
Origin commit data
------------------
Commit: 6dada97564
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-02-04 (Tue, 04 Feb 2014)
2014-02-04 15:47:23 +01:00
Michael Liebmann
540ddff6f1
CLuaInstance::MessageboxExec: Fix align
...
Origin commit data
------------------
Commit: 7d88327dbc
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-02-01 (Sat, 01 Feb 2014)
2014-02-04 15:47:23 +01:00
Michael Liebmann
dce6b8757d
CLuaMenuForwarder: Fix error msg
...
Origin commit data
------------------
Commit: da2738cd9e
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-01-27 (Mon, 27 Jan 2014)
2014-01-28 12:59:17 +01:00
vanhofen
756bf71fab
CLuaInstance::MenuAddItem: add 'next' and 'cancel' items
...
Origin commit data
------------------
Commit: 6a821fe2a5
Author: vanhofen <vanhofen@gmx.de >
Date: 2014-01-27 (Mon, 27 Jan 2014)
Origin message was:
------------------
- CLuaInstance::MenuAddItem: add 'next' and 'cancel' items
2014-01-27 21:10:41 +01:00
vanhofen
c8dfc2acf5
CLuaInstance::MenuAddItem: separation of "separator" and "separatorline"
...
Origin commit data
------------------
Commit: 73446dbc52
Author: vanhofen <vanhofen@gmx.de >
Date: 2014-01-27 (Mon, 27 Jan 2014)
Origin message was:
------------------
- CLuaInstance::MenuAddItem: separation of "separator" and "separatorline"
2014-01-27 11:47:40 +01:00
gixxpunk
84577152ea
rewrite Lua handling
...
* depend pkg checks on enable-lua switch
* define STATIC_LUAPOSIX in case of static lua build to exclude unwanted
code in neutrino
* remove DYNAMIC_LUAPOSIX code as it's not needed in case of dynamic lua
build
Origin commit data
------------------
Commit: 4b6d2d310c
Author: gixxpunk <thomas.harfmann@gmail.com >
Date: 2014-01-25 (Sat, 25 Jan 2014)
Origin message was:
------------------
- rewrite Lua handling
* depend pkg checks on enable-lua switch
* define STATIC_LUAPOSIX in case of static lua build to exclude unwanted
code in neutrino
* remove DYNAMIC_LUAPOSIX code as it's not needed in case of dynamic lua
build
2014-01-25 21:17:06 +01:00
Stefan Seyfried
c34087a3b5
luainstance: fix -Wnarrowing compiler warnings on 32bit platforms
...
Origin commit data
------------------
Commit: 1ab77083ba
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de >
Date: 2014-01-23 (Thu, 23 Jan 2014)
2014-01-23 19:28:39 +01:00
Stefan Seyfried
2a83c16c65
luainstance: make the type of table_key.code explicitly clear
...
Origin commit data
------------------
Commit: 2cd5aa4b1f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de >
Date: 2014-01-23 (Thu, 23 Jan 2014)
2014-01-23 17:17:42 +01:00
Stefan Seyfried
c0b3b45caf
luainstance: do not export machine specific stuff
...
It's an exported API, so it should be somewhat useful/stable,
not change for every machine...
Origin commit data
------------------
Commit: 116065f7ac
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de >
Date: 2014-01-23 (Thu, 23 Jan 2014)
2014-01-23 17:17:25 +01:00
Stefan Seyfried
6a64fa20ec
Revert "CLuaInstance: Fix compiler warnings"
...
This reverts commit 5afb1db6da
.
This is wrong in so many aspects... just look up the definition
of lua_integer...
Origin commit data
------------------
Commit: 4da2a33b29
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de >
Date: 2014-01-23 (Thu, 23 Jan 2014)
2014-01-23 17:16:56 +01:00
Michael Liebmann
f047069aba
CLuaInstance: Fix bool parameter in CWindow/SignalBox => paint()/hide()
...
Origin commit data
------------------
Commit: 71e5f964ab
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-01-22 (Wed, 22 Jan 2014)
2014-01-23 10:48:07 +01:00
vanhofen
8d5aa84e20
adapt ShowMsg handling from martii's neutrino-mp
...
Origin commit data
------------------
Commit: 53f5801d6f
Author: vanhofen <vanhofen@gmx.de >
Date: 2014-01-22 (Wed, 22 Jan 2014)
Origin message was:
------------------
- adapt ShowMsg handling from martii's neutrino-mp
2014-01-22 12:37:21 +01:00
Michael Liebmann
5afb1db6da
CLuaInstance: Fix compiler warnings
...
Origin commit data
------------------
Commit: 87031add94
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-01-21 (Tue, 21 Jan 2014)
2014-01-21 22:35:49 +01:00
Michael Liebmann
dc9701c87e
CLuaInstance: Add parameter 'vertical' to CLuaSignalBox
...
Origin commit data
------------------
Commit: 1f7e8b41d7
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-01-21 (Tue, 21 Jan 2014)
2014-01-21 18:09:46 +01:00
Michael Liebmann
04ac36e08d
CLuaInstance: fix format strings
...
Origin commit data
------------------
Commit: 9a346f8d25
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-01-21 (Tue, 21 Jan 2014)
2014-01-21 18:09:46 +01:00
Michael Liebmann
1428775371
CLuaInstance: Multiple functions made from CComponents in CLuaInstance available
...
- CComponentsWindow: new(), paint(), hide()
- CSignalBox: new(), paint()
Origin commit data
------------------
Commit: ad206dbbc1
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-01-20 (Mon, 20 Jan 2014)
2014-01-20 21:35:39 +01:00
Michael Liebmann
65d8a1cb51
Adaptation of CLuaInstance
...
Origin commit data
------------------
Commit: ab00bb11b2
Author: Michael Liebmann <tuxcode.bbg@gmail.com >
Date: 2014-01-19 (Sun, 19 Jan 2014)
2014-01-19 20:57:40 +01:00
martii
5e1e1d1974
gui/luainstance: recognize menu hints
...
Origin commit data
------------------
Commit: b59141d1f5
Author: martii <m4rtii@gmx.de >
Date: 2013-12-11 (Wed, 11 Dec 2013)
2014-01-19 20:57:39 +01:00
martii
769f5b8e74
gui/luainstance: rename menue => menu
...
Origin commit data
------------------
Commit: 60dbf9194e
Author: martii <m4rtii@gmx.de >
Date: 2013-12-11 (Wed, 11 Dec 2013)
2014-01-19 20:57:39 +01:00
martii
c7a0128d92
lua: pictureviewer support
...
Origin commit data
------------------
Commit: 007d700d53
Author: martii <m4rtii@gmx.de >
Date: 2013-05-17 (Fri, 17 May 2013)
2014-01-19 20:57:39 +01:00
martii
a7c995b2ac
lua menues: add directkey forwarder
...
Origin commit data
------------------
Commit: 1bdd23676a
Author: martii <m4rtii@gmx.de >
Date: 2013-05-11 (Sat, 11 May 2013)
2014-01-19 20:57:39 +01:00
martii
b877542e91
lua: update menue callback api to include an id parameter
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
Origin commit data
------------------
Commit: d2e5a703c3
Author: martii <m4rtii@gmx.de >
Date: 2013-05-10 (Fri, 10 May 2013)
2014-01-19 20:57:39 +01:00
martii
16a2595488
lua: msgbox fix
...
Origin commit data
------------------
Commit: 82be6f8e66
Author: martii <m4rtii@gmx.de >
Date: 2013-05-08 (Wed, 08 May 2013)
2014-01-19 20:57:39 +01:00
martii
741f1a5aab
lua: msgbox fix
...
Origin commit data
------------------
Commit: 7b9adbe65b
Author: martii <m4rtii@gmx.de >
Date: 2013-05-08 (Wed, 08 May 2013)
2014-01-19 20:57:39 +01:00
martii
277529681f
lua related fixes
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
Origin commit data
------------------
Commit: c6912180ee
Author: martii <m4rtii@gmx.de >
Date: 2013-05-08 (Wed, 08 May 2013)
2014-01-19 20:57:39 +01:00
martii
f6796023ba
lua: remove debugging output
...
Origin commit data
------------------
Commit: a568f3004e
Author: martii <m4rtii@gmx.de >
Date: 2013-05-07 (Tue, 07 May 2013)
2014-01-19 20:57:39 +01:00
martii
2768748738
LUA fixes
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
Origin commit data
------------------
Commit: df1ec23980
Author: martii <m4rtii@gmx.de >
Date: 2013-05-07 (Tue, 07 May 2013)
2014-01-19 20:57:38 +01:00
martii
a094c5ee30
LUA: change stringinput valid chars
...
Origin commit data
------------------
Commit: 920e475526
Author: martii <m4rtii@gmx.de >
Date: 2013-05-06 (Mon, 06 May 2013)
2014-01-19 20:57:38 +01:00
martii
3848695e25
LUA: messagebox support
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
Origin commit data
------------------
Commit: 098c205b57
Author: martii <m4rtii@gmx.de >
Date: 2013-05-05 (Sun, 05 May 2013)
2014-01-19 20:57:38 +01:00