Commit Graph

75 Commits

Author SHA1 Message Date
Thilo Graf
f2da159bdf CComponentsPicture: structure of class highly simplified
It should be now easier to use images as objects. An initialized
picture object should provide all relevant properties and some
functionalities of picture viewer.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5eb63b9515
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-20 (Fri, 20 Jun 2014)

Origin message was:
------------------
CComponentsPicture: structure of class highly simplified

It should be now easier to use images as objects. An initialized
picture object should provide all relevant properties and some
functionalities of picture viewer.


------------------
This commit was generated by Migit
2014-06-23 18:43:47 +02:00
[CST] Focus
86380b6a05 gui/luainstance.cpp: add function to start file/url play
Origin commit data
------------------
Branch: ni/coolstream
Commit: 943850eefc
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-06-12 (Thu, 12 Jun 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-06-12 18:58:16 +04:00
vanhofen
4f9e0ee544 change RenderString() default to UTF8
Origin commit data
------------------
Branch: ni/coolstream
Commit: 649d1b1f9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change RenderString() default to UTF8

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-06-11 23:07:13 +02:00
vanhofen
108a1c1b93 change getRenderWidth() default to UTF8
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8b91cda918
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change getRenderWidth() default to UTF8

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-06-11 23:07:00 +02:00
vanhofen
cdb47cfcf4 drop obsolete code around FONT_TYPE_GAMELIST
these fonts are not needed since gamelist/scriptlist
 are painted with menu-widget


Origin commit data
------------------
Branch: ni/coolstream
Commit: da7f3b9cb1
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-05-02 (Fri, 02 May 2014)

Origin message was:
------------------
- drop obsolete code around FONT_TYPE_GAMELIST

 these fonts are not needed since gamelist/scriptlist
 are painted with menu-widget


------------------
This commit was generated by Migit
2014-05-02 22:28:36 +02:00
Stefan Seyfried
d5e2da42ef luainstance: fix wrong integer type usage
Origin commit data
------------------
Branch: ni/coolstream
Commit: caa5d5c327
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-05-02 (Fri, 02 May 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-05-02 09:47:43 +02:00
[CST] Focus
61bc54199f fix warnings if some want to use c++11
Origin commit data
------------------
Branch: ni/coolstream
Commit: c78676f7fd
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-17 (Thu, 17 Apr 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-04-21 14:07:38 +04:00
Michael Liebmann
59da4b5bbc CLuaInstance::runScript: Set script parameter 0 to 'script name'...
...for compatibility with standalone lua scripts


Origin commit data
------------------
Branch: ni/coolstream
Commit: b80e7480a2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-19 (Wed, 19 Mar 2014)



------------------
This commit was generated by Migit
2014-03-19 16:03:38 +01:00
Michael Liebmann
6d1a89c59d 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
------------------
Branch: ni/coolstream
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, ...])


------------------
This commit was generated by Migit
2014-03-19 10:14:43 +01:00
Michael Liebmann
393eb305da 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
------------------
Branch: ni/coolstream
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);


------------------
This commit was generated by Migit
2014-03-19 10:14:43 +01:00
Michael Liebmann
073c7a8a4d CLuaInstance: Replace cwindow header_height & footer_height
- Replace with headerHeight & footerHeight
- Set header_height & footer_height to deprecated


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2dbdb8798e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-16 (Sun, 16 Mar 2014)



------------------
This commit was generated by Migit
2014-03-16 12:33:26 +01:00
Michael Liebmann
55274cba90 CLuaInstance: Add various CComponentsPicture functions
- Added: new, paint, hide, setpicture


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e78781d18
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-16 (Sun, 16 Mar 2014)



------------------
This commit was generated by Migit
2014-03-16 12:33:26 +01:00
Michael Liebmann
840a2b1eef CLuaInstance: Add setCaption & paintHeader function to cwindow
Origin commit data
------------------
Branch: ni/coolstream
Commit: a501f4e10e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-16 (Sun, 16 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-03-16 12:33:26 +01:00
Michael Liebmann
b7d78cf315 CLuaInstance: Add function 'functionDeprecated()' for debug output...
...when a script function is deprecated.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5136563035
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-16 (Sun, 16 Mar 2014)



------------------
This commit was generated by Migit
2014-03-16 12:33:26 +01:00
Michael Liebmann
0b0b1c144f CLuaInstance: Add setText function to ctext
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4df0449e39
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-16 (Sun, 16 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-03-16 12:33:26 +01:00
Michael Liebmann
0fd002ec0a CLuaInstance::ComponentsTextNew: Add 'parent' parameter...
...for the integration of ctext in a parent cwindow


Origin commit data
------------------
Branch: ni/coolstream
Commit: 81608cbd3f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-16 (Sun, 16 Mar 2014)



------------------
This commit was generated by Migit
2014-03-16 12:33:26 +01:00
Michael Liebmann
b1104a81fd CLuaInstance: Add additional tableLookup for get userdata
Origin commit data
------------------
Branch: ni/coolstream
Commit: f4c70c96a5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-16 (Sun, 16 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-03-16 12:33:26 +01:00
Michael Liebmann
b50f2b4164 CLuaInstance: Add debug output to CWindowDelete/ComponentsTextDelete
Origin commit data
------------------
Branch: ni/coolstream
Commit: 623efecc2f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-16 (Sun, 16 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-03-16 12:33:26 +01:00
Thilo Graf
7c70aaa6df 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
------------------
Branch: ni/coolstream
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)



------------------
This commit was generated by Migit
2014-03-03 09:43:39 +01:00
Michael Liebmann
79406b7495 CLuaInstance: Add footer_height function
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3fa31ef441
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-02 (Sun, 02 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-03-02 12:58:41 +01:00
Michael Liebmann
badc4d7097 CLuaInstance: Add has_shadow and window colors to cwindow.new
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8d1e6b1e00
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-27 (Thu, 27 Feb 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-02-27 22:52:02 +01:00
Michael Liebmann
e0be52afbc CLuaInstance: Add DECODE_HTML flag to ctext.new for decode html string
- Use function htmlEntityDecode()


Origin commit data
------------------
Branch: ni/coolstream
Commit: a250436d29
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-26 (Wed, 26 Feb 2014)



------------------
This commit was generated by Migit
2014-02-26 10:11:40 +01:00
Michael Liebmann
e87e0e2e97 CLuaInstance: Rename componentstext to ctext
- Better readability and consistent designation
- Still not a problem since API not yet public


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9184ac6266
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-23 (Sun, 23 Feb 2014)



------------------
This commit was generated by Migit
2014-02-23 21:34:07 +01:00
Michael Liebmann
4505d4191f CLuaInstance: Add various CComponentsWindow fuctions
- Added: color buttons for footer, header_height


Origin commit data
------------------
Branch: ni/coolstream
Commit: a3d9bff44e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-21 (Fri, 21 Feb 2014)



------------------
This commit was generated by Migit
2014-02-21 00:02:47 +01:00
Michael Liebmann
ca4a424754 CLuaInstance: Add various CComponentsText fuctions
- Added: new, paint, hide, scroll


Origin commit data
------------------
Branch: ni/coolstream
Commit: cc7e1136ec
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-21 (Fri, 21 Feb 2014)



------------------
This commit was generated by Migit
2014-02-21 00:02:47 +01:00
Michael Liebmann
84f84ab7e4 CLuaInstance: Add function getRenderWidth()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6475e77a84
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-21 (Fri, 21 Feb 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-02-21 00:02:47 +01:00
Michael Liebmann
9fe57a5272 Fix compiler warnings (-Wfloat-equal)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3f0400a23e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-21 (Fri, 21 Feb 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-02-21 00:02:47 +01:00
Michael Liebmann
acf5741818 CLuaInstance::MenuAddItem: Fix neutrino segfault at (type == "chooser")
when options in lua script broken


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6dada97564
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-04 (Tue, 04 Feb 2014)



------------------
This commit was generated by Migit
2014-02-04 15:47:23 +01:00
Michael Liebmann
004958a69d CLuaInstance::MessageboxExec: Fix align
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7d88327dbc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-01 (Sat, 01 Feb 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-02-04 15:47:23 +01:00
Michael Liebmann
b4513daac7 CLuaMenuForwarder: Fix error msg
Origin commit data
------------------
Branch: ni/coolstream
Commit: da2738cd9e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-27 (Mon, 27 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-28 12:59:17 +01:00
vanhofen
b87b7e17c8 CLuaInstance::MenuAddItem: add 'next' and 'cancel' items
Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-27 21:10:41 +01:00
vanhofen
33e52be164 CLuaInstance::MenuAddItem: separation of "separator" and "separatorline"
Origin commit data
------------------
Branch: ni/coolstream
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"

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-27 11:47:40 +01:00
gixxpunk
ed048eebdd 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
------------------
Branch: ni/coolstream
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


------------------
This commit was generated by Migit
2014-01-25 21:17:06 +01:00
Stefan Seyfried
b2b67a08b5 luainstance: fix -Wnarrowing compiler warnings on 32bit platforms
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1ab77083ba
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-23 (Thu, 23 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-23 19:28:39 +01:00
Stefan Seyfried
853960c940 luainstance: make the type of table_key.code explicitly clear
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2cd5aa4b1f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-23 (Thu, 23 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-23 17:17:42 +01:00
Stefan Seyfried
108f555b34 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
------------------
Branch: ni/coolstream
Commit: 116065f7ac
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-23 (Thu, 23 Jan 2014)



------------------
This commit was generated by Migit
2014-01-23 17:17:25 +01:00
Stefan Seyfried
98c408a201 Revert "CLuaInstance: Fix compiler warnings"
This reverts commit 0c52941204.

This is wrong in so many aspects... just look up the definition
of lua_integer...


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4da2a33b29
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-23 (Thu, 23 Jan 2014)



------------------
This commit was generated by Migit
2014-01-23 17:16:56 +01:00
Michael Liebmann
e8e64015fc CLuaInstance: Fix bool parameter in CWindow/SignalBox => paint()/hide()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 71e5f964ab
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-22 (Wed, 22 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-23 10:48:07 +01:00
vanhofen
35830797d6 adapt ShowMsg handling from martii's neutrino-mp
Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-22 12:37:21 +01:00
Michael Liebmann
0c52941204 CLuaInstance: Fix compiler warnings
Origin commit data
------------------
Branch: ni/coolstream
Commit: 87031add94
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-21 (Tue, 21 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-21 22:35:49 +01:00
Michael Liebmann
862553d1c1 CLuaInstance: Add parameter 'vertical' to CLuaSignalBox
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1f7e8b41d7
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-21 (Tue, 21 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-21 18:09:46 +01:00
Michael Liebmann
56ed327449 CLuaInstance: fix format strings
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9a346f8d25
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-21 (Tue, 21 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-21 18:09:46 +01:00
Michael Liebmann
be79e13eab CLuaInstance: Multiple functions made from CComponents in CLuaInstance available
- CComponentsWindow: new(), paint(), hide()
- CSignalBox: new(), paint()


Origin commit data
------------------
Branch: ni/coolstream
Commit: ad206dbbc1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-20 (Mon, 20 Jan 2014)



------------------
This commit was generated by Migit
2014-01-20 21:35:39 +01:00
Michael Liebmann
c71d5ae832 Adaptation of CLuaInstance
Origin commit data
------------------
Branch: ni/coolstream
Commit: ab00bb11b2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-19 (Sun, 19 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-19 20:57:40 +01:00
martii
d5de320ec6 gui/luainstance: recognize menu hints
Origin commit data
------------------
Branch: ni/coolstream
Commit: b59141d1f5
Author: martii <m4rtii@gmx.de>
Date: 2013-12-11 (Wed, 11 Dec 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-19 20:57:39 +01:00
martii
33d8a9aa95 gui/luainstance: rename menue => menu
Origin commit data
------------------
Branch: ni/coolstream
Commit: 60dbf9194e
Author: martii <m4rtii@gmx.de>
Date: 2013-12-11 (Wed, 11 Dec 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-19 20:57:39 +01:00
martii
19a4f62f2c lua: pictureviewer support
Origin commit data
------------------
Branch: ni/coolstream
Commit: 007d700d53
Author: martii <m4rtii@gmx.de>
Date: 2013-05-17 (Fri, 17 May 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-19 20:57:39 +01:00
martii
c830035ce5 lua menues: add directkey forwarder
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1bdd23676a
Author: martii <m4rtii@gmx.de>
Date: 2013-05-11 (Sat, 11 May 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-19 20:57:39 +01:00
martii
52ef75cd96 lua: update menue callback api to include an id parameter
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: d2e5a703c3
Author: martii <m4rtii@gmx.de>
Date: 2013-05-10 (Fri, 10 May 2013)



------------------
This commit was generated by Migit
2014-01-19 20:57:39 +01:00
martii
0fce4ea83a lua: msgbox fix
Origin commit data
------------------
Branch: ni/coolstream
Commit: 82be6f8e66
Author: martii <m4rtii@gmx.de>
Date: 2013-05-08 (Wed, 08 May 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-19 20:57:39 +01:00