Pavel Labath
667b0d1d8c
make extra_newline a lua setting
2010-03-05 20:58:39 +01:00
Pavel Labath
48346c8325
make times_in_seconds a lua setting
2010-03-05 14:20:04 +01:00
Pavel Labath
b713536dad
make draw_shades/outline lua settings
2010-03-05 14:10:47 +01:00
Pavel Labath
22931c2c67
make draw_(graph_)borders lua settings
2010-03-05 14:06:15 +01:00
Pavel Labath
147d16e763
make show_graph_scale/range lua settings
...
PS: at some point a would like to make these per-graph settings, instead of global ones
2010-03-05 13:37:52 +01:00
Pavel Labath
021d6f98c7
make background a lua setting
2010-03-05 13:33:22 +01:00
Pavel Labath
fe9c0609cc
Make display a lua setting
2010-03-04 18:31:28 +01:00
Pavel Labath
70d53b770f
Merge branch 'master' into lua-config
...
Conflicts:
src/conky.cc
2010-03-04 18:23:46 +01:00
Pavel Labath
af02eab4b6
This appears to plug a leak.
2010-03-04 17:40:37 +01:00
Pavel Labath
d93dc72e6d
Random C++ification: to_real_path() and current_config
2010-03-04 17:40:20 +01:00
Pavel Labath
241f336f0f
Merge remote branch 'origin/master' into lua-config
2010-03-02 20:33:58 +01:00
Pavel Labath
4a4172c92d
Make own_window_hints a lua setting
2010-03-02 20:30:15 +01:00
Pavel Labath
5b65fce42d
C++ version of lua::state::pushstring
2010-03-02 20:29:37 +01:00
Cesare Tirabassi
0336b5d67d
Fix sf: #2961602
...
Add missing --quiet option and optional arguments to --pause and --interval
(cherry picked from commit a9e5820a34
)
2010-03-02 20:29:36 +01:00
Pavel Labath
41ddaf9e23
refactor settings classes
...
result: easier declaration of settings, easier construction of custom setting classes, commitcount++
2010-03-02 19:29:51 +01:00
Pavel Labath
a810804a6b
make own_window_colour a lua setting
2010-02-28 15:51:01 +01:00
Pavel Labath
2ad1809f87
s/substract/subtract/
2010-02-28 14:05:28 +01:00
Pavel Labath
b8bed06cc8
C++ version of get_x11_color()
2010-02-28 12:26:18 +01:00
Pavel Labath
5c3d06346a
Use min() and max() instead of infinity() for default limits
...
because integral types do not have infinite values
2010-02-28 12:13:37 +01:00
Pavel Labath
a4a08c82b5
make own_window_argb_value a lua setting
2010-02-27 22:28:33 +01:00
Pavel Labath
f6aa8a558f
range_checking_accessors class. makes sure setting's value belongs to a specified range
2010-02-27 15:15:25 +01:00
Pavel Labath
4a5304b395
Make own_window_type a lua setting
2010-02-26 18:48:57 +01:00
Pavel Labath
518045eaf6
make own_window_transparent a lua setting
2010-02-26 18:38:15 +01:00
Pavel Labath
94be4f6eb9
make own_window_argb_visual a lua setting
2010-02-26 18:29:46 +01:00
Pavel Labath
6382d8cd34
Make own_window_title default value in docs reflect reality
2010-02-26 18:14:25 +01:00
Pavel Labath
1960a511fd
Make own_window_title a lua setting
2010-02-26 18:09:55 +01:00
Pavel Labath
fad11cabe1
make own_window_class a lua setting
2010-02-26 17:42:56 +01:00
Pavel Labath
efac83e814
make own_window a lua setting
2010-02-26 14:37:34 +01:00
Nikolas Garofil
fb00ff8fa9
print_version to cpp
2010-02-26 01:17:27 +01:00
Pavel Labath
12e98c7da5
Port out_to_x setting to lua-config
2010-02-25 22:28:34 +01:00
Pavel Labath
d22369333d
Merge remote branch 'origin/master' into lua-config
2010-02-25 21:53:31 +01:00
Pavel Labath
54630eb39e
Header housekeeping: remove unneeded extern "C", add modelines, add inclusion guards
...
hopefully, this doesn't break anything
2010-02-25 21:50:50 +01:00
Pavel Labath
724fb2585c
Refactor default getters/setter for setting and make them more useful
...
Adding features AND reducing code size.... yeah
2010-02-25 21:11:39 +01:00
Pavel Labath
f51927241f
Add lua_isboolean/toboolean wrappers
2010-02-25 21:10:40 +01:00
Pavel Labath
da3ef0d2c0
Use a named enum for lua types
2010-02-25 16:47:00 +01:00
Pavel Labath
9cf26becf2
Change lua::stack_sentry semantics. Using it should be much simpler now
2010-02-25 16:24:50 +01:00
Nikolas Garofil
cb11cf675a
Use isutf()
2010-02-25 07:07:00 +01:00
Nikolas Garofil
6c25f335c4
Shrink code by using more c++ in main()
2010-02-24 22:06:06 +01:00
Pavel Labath
80b049d1c0
Port 'alignment' setting to lua.
2010-02-24 20:51:33 +01:00
Pavel Labath
568c372920
Make modifying settings from C++ a bit easier
2010-02-24 20:27:16 +01:00
Nikolas Garofil
e7ed9a5060
Revert "Use "using namespace std;" and remove all std::'s"
...
This reverts commit 41e80b9833
.
2010-02-24 20:10:26 +01:00
Nikolas Garofil
41e80b9833
Use "using namespace std;" and remove all std::'s
...
I'm doing this because otherwise i'll will forget to add all those
std::'s and will lose a LOT of time finding the problems.
If you don't agree, undo this patch...
...but i hope you won't :)
2010-02-24 19:39:45 +01:00
Pavel Labath
454f4a12a8
A special class for enum settings, which automatically prints error messages
2010-02-24 18:38:23 +01:00
Pavel Labath
8c6c0aa995
Merge remote branch 'origin/master' into lua-config
...
Conflicts:
src/CMakeLists.txt
2010-02-24 18:10:22 +01:00
Nikolas Garofil
63133c19d6
cpp-ify conf_cookie.c
2010-02-24 15:37:20 +01:00
Nikolas Garofil
c1648e6558
Use free_and_zero in [u-z]*.cc where appropriate
2010-02-24 12:04:28 +01:00
Nikolas Garofil
da76381300
Use free_and_zero in [st]*.cc where appropriate
2010-02-24 11:52:59 +01:00
Nikolas Garofil
4afe96b9ce
cpp-ify prioqueue.c and use free_and_zero in [p-r]*.cc where appropriate
2010-02-24 02:46:45 +01:00
Nikolas Garofil
6092d063c9
Use free_and_zero in [m-o]*.cc where appropriate
2010-02-24 02:14:20 +01:00
Nikolas Garofil
1fa465efb6
Use free_and_zero in l*.cc where appropriate
2010-02-24 01:51:02 +01:00