Commit Graph

110 Commits

Author SHA1 Message Date
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
martii
efd5dd91e0 lua: msgbox fix
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7b9adbe65b
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
martii
5443274f6c lua related fixes
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


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



------------------
This commit was generated by Migit
2014-01-19 20:57:39 +01:00
martii
8d162845c2 lua: remove debugging output
Origin commit data
------------------
Branch: ni/coolstream
Commit: a568f3004e
Author: martii <m4rtii@gmx.de>
Date: 2013-05-07 (Tue, 07 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
fa8cab37ee LUA fixes
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


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



------------------
This commit was generated by Migit
2014-01-19 20:57:38 +01:00
martii
239f4beae0 LUA: change stringinput valid chars
Origin commit data
------------------
Branch: ni/coolstream
Commit: 920e475526
Author: martii <m4rtii@gmx.de>
Date: 2013-05-06 (Mon, 06 May 2013)


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

------------------
This commit was generated by Migit
2014-01-19 20:57:38 +01:00
martii
261cd2f6fb LUA: messagebox support
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


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



------------------
This commit was generated by Migit
2014-01-19 20:57:38 +01:00
martii
650c925e54 LUA: add hintbox; bugfixes
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


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



------------------
This commit was generated by Migit
2014-01-19 20:57:38 +01:00
martii
d003aeca10 LUA: experimental support for native neutrino menues
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2a41749eb5
Author: martii <m4rtii@gmx.de>
Date: 2013-05-04 (Sat, 04 May 2013)



------------------
This commit was generated by Migit
2014-01-19 20:57:38 +01:00
martii
74f58b383c luainstance: support new text coloring scheme
Signed-off-by: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: c0a720bd8b
Author: martii <m4rtii@gmx.de>
Date: 2013-08-29 (Thu, 29 Aug 2013)



------------------
This commit was generated by Migit
2014-01-19 20:57:37 +01:00
Christian Ege
fdeb112c63 handling of luaposix for dynamic environment
Origin commit data
------------------
Branch: ni/coolstream
Commit: 53ed75f66d
Author: Christian Ege <k4230r6@googlemail.com>
Date: 2013-04-28 (Sun, 28 Apr 2013)


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

------------------
This commit was generated by Migit
2014-01-19 20:57:37 +01:00
Stefan Seyfried
7f61241703 luainstance: return render width from RenderString
Return the string's renderwidth from RenderString. If boxh is < 0
then the string is not rendered and only the width is determined.


Origin commit data
------------------
Branch: ni/coolstream
Commit: a61dbcee0b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-07 (Sun, 07 Apr 2013)



------------------
This commit was generated by Migit
2014-01-19 20:57:37 +01:00
Stefan Seyfried
e0e54236d2 luainstance: remove utf8 parameter from RenderString, add center
Everybody should always be using utf8 anyway, so remove the "utf8"
parameter from RenderString and replace it with a "center" parameter
which centers the string horizontally in its box.

new usage:
 RenderString(font, text, x, y, color, boxwidth, boxheight, center)
defaults:
 color = COL_MENUCONTENT, boxwidth = window's width minus x
 boxheight = 0, center = 0


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7c7c7e55a4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-07 (Sun, 07 Apr 2013)

Origin message was:
------------------
luainstance: remove utf8 parameter from RenderString, add center

Everybody should always be using utf8 anyway, so remove the "utf8"
parameter from RenderString and replace it with a "center" parameter
which centers the string horizontally in its box.

new usage:
  RenderString(font, text, x, y, color, boxwidth, boxheight, center)
defaults:
  color = COL_MENUCONTENT, boxwidth = window's width minus x
  boxheight = 0, center = 0


------------------
This commit was generated by Migit
2014-01-19 20:57:36 +01:00
Stefan Seyfried
9d1589525f luainstance: export customcolor.h colors, too
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3f57d7c528
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-07 (Sun, 07 Apr 2013)


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

------------------
This commit was generated by Migit
2014-01-19 20:57:36 +01:00
Stefan Seyfried
2c7777ef68 luainstance: work around a signed/unsigned problem on ppc
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8af79e1152
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-06 (Sat, 06 Apr 2013)


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

------------------
This commit was generated by Migit
2014-01-19 20:57:36 +01:00
Stefan Seyfried
5354846491 luainstance: allow any color for PaintBox, disable debug
Origin commit data
------------------
Branch: ni/coolstream
Commit: ef512f897a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-06 (Sat, 06 Apr 2013)


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

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