Nikolas Garofil
|
b9a7b0e33e
|
Fix last memleaks in scroll
This fix reverts reverts a part of commit 08122354a9
this is necessary because that commit blocks the calling of free_scroll
|
2010-02-16 15:45:32 +01:00 |
|
Pavel Labath
|
8bc8d9d7b8
|
Remove unneeded #includes
|
2010-02-16 15:14:40 +01:00 |
|
Nikolas Garofil
|
247c62c5d8
|
Fix another memleak in scroll
|
2010-02-16 13:27:49 +01:00 |
|
Pavel Labath
|
5b743293da
|
Add some comments to explain how things work
|
2010-02-16 12:32:53 +01:00 |
|
Nikolas Garofil
|
a6debedc93
|
Fix 3 memleaks that happen when scroll receives wrong args
|
2010-02-15 16:02:29 +01:00 |
|
Pavel Labath
|
ad6707fac9
|
More refactoring and (hopefully) simplification
The idea was to avoid passing the data_source factory function through two std::binds.
|
2010-02-15 13:18:53 +01:00 |
|
Pavel Labath
|
56266e9476
|
add lua_settop() binding
|
2010-02-15 13:00:33 +01:00 |
|
Nikolas Garofil
|
53af0f379f
|
Fix multiple definitions when building in FreeBSD
|
2010-02-14 22:58:02 +01:00 |
|
Nikolas Garofil
|
4793655974
|
Link with devstat when building in FreeBSD
|
2010-02-14 21:35:13 +01:00 |
|
Nikolas Garofil
|
3763c263c3
|
Make sure bsdapm functions can be reached
|
2010-02-14 21:22:31 +01:00 |
|
Pavel Labath
|
1d6009594c
|
Simplify data source creation, create it directly inside lua userdata
|
2010-02-14 20:36:17 +01:00 |
|
Nikolas Garofil
|
da4e9349f8
|
Link with kvm when building in FreeBSD
|
2010-02-14 20:20:45 +01:00 |
|
Nikolas Garofil
|
4c06be139c
|
Make sure that bsdapm.cc compiles in FreeBSD
|
2010-02-14 15:36:22 +01:00 |
|
Nikolas Garofil
|
7de3b9736a
|
Make sure that freebsd.cc compiles in FreeBSD
|
2010-02-14 15:26:44 +01:00 |
|
Nikolas Garofil
|
7791e34900
|
Make sure that fs.cc compiles in FreeBSD
|
2010-02-14 15:09:12 +01:00 |
|
Nikolas Garofil
|
8db1e1a2a2
|
Make sure that conky.cc compiles in FreeBSD
|
2010-02-14 14:00:26 +01:00 |
|
Pavel Labath
|
fa02cdceab
|
An object-oriented api for accessing data sources from lua
|
2010-02-13 17:00:20 +01:00 |
|
Pavel Labath
|
b3411782e6
|
Rephrase an error message
|
2010-02-12 23:04:32 +01:00 |
|
Pavel Labath
|
851e8b8ef0
|
Merge remote branch 'origin/master' into lua-config
|
2010-02-12 18:44:09 +01:00 |
|
Pavel Labath
|
f59a198a04
|
export functions for accessing data sources to lua
this adds some code to main() which tests these features and then exits, so it's normal that
conky doesn't work anymore.
|
2010-02-12 18:39:01 +01:00 |
|
Pavel Labath
|
00d8215e00
|
added state::createuserdata template function
|
2010-02-12 17:41:24 +01:00 |
|
Pavel Labath
|
0ae2ba5210
|
Retab luamm in line with setting we use (yeah... i know :/)
|
2010-02-12 17:11:50 +01:00 |
|
Pavel Labath
|
3e98e18324
|
add lua_pushnumber wrapper
there are still some functions whose C++ wrappers i didn't create. add them if you need them
|
2010-02-12 17:06:24 +01:00 |
|
Nikolas Garofil
|
064c6f9e42
|
Fix wrong mixer values on some systems (thanks hoffa)
|
2010-02-12 17:03:25 +01:00 |
|
Pavel Labath
|
2d4d2ef4c0
|
std::function can't be used as a __gc function, provide a simple alternative
|
2010-02-12 15:05:46 +01:00 |
|
Nikolas Garofil
|
0f399a18e8
|
Warn at wrong alignment setting
|
2010-02-12 01:58:30 +01:00 |
|
Nikolas Garofil
|
2c8ef724e6
|
Make sure alignment is disabled when the windowtype is dock
|
2010-02-12 00:39:50 +01:00 |
|
Pavel Labath
|
6e5c781a78
|
small bugfix in lua::state::settable
|
2010-02-11 21:29:02 +01:00 |
|
Pavel Labath
|
fd671ced8f
|
Move rawset() to the proper category
|
2010-02-11 21:08:32 +01:00 |
|
Pavel Labath
|
8fe39ab39b
|
Add a function for retrieving registered data sources
|
2010-02-11 21:01:59 +01:00 |
|
Pavel Labath
|
109770ac31
|
Merge remote branch 'origin/master' into lua-config
|
2010-02-11 16:40:37 +01:00 |
|
Pavel Labath
|
4eda1a8eda
|
A framework for registering data sources
This is needed so that we know which sources to export to lua, and a huge switch or something is
just too ugly.
|
2010-02-11 16:30:05 +01:00 |
|
Nikolas Garofil
|
b206ecc93d
|
new should be combined with delete instead of free (to stop valgrind from complaining)
|
2010-02-11 14:44:15 +01:00 |
|
Pavel Labath
|
4a68be2494
|
include <config.h>
not that we need it much, but...
|
2010-02-11 01:43:48 +01:00 |
|
Nikolas Garofil
|
463836ebf9
|
Combine print_execp and print_exec as much as possible
|
2010-02-11 01:08:25 +01:00 |
|
Nikolas Garofil
|
f0ed783041
|
dog^H^H^Hcat should become cat in all exec-related vars
|
2010-02-10 23:31:35 +01:00 |
|
Nikolas Garofil
|
aea8d3ed52
|
Combine print_texeci and print_execi as much as possible
|
2010-02-10 21:23:21 +01:00 |
|
Pavel Labath
|
dfb106ac0e
|
Fix multiple definition error
|
2010-02-10 21:17:40 +01:00 |
|
Pavel Labath
|
90b30f14f9
|
Oops, forgot inclusion guards
|
2010-02-10 19:47:16 +01:00 |
|
Nikolas Garofil
|
c010d7cd00
|
Let execp use fill_p
|
2010-02-10 19:45:42 +01:00 |
|
Nikolas Garofil
|
36ad680a98
|
Let print_execi and print_texeci call fill_p for filling p
|
2010-02-10 19:04:31 +01:00 |
|
Pavel Labath
|
e4461782ef
|
C++ binding for lua, with some fancy features
such as being able to throw exceptions across c++-lua boundary. For more details, see comments
in the source code.
|
2010-02-10 17:34:09 +01:00 |
|
Nikolas Garofil
|
9fefa79551
|
Obsolete threaded_exec_caller with help of previous commit
|
2010-02-10 15:54:50 +01:00 |
|
Nikolas Garofil
|
e017870b58
|
Combine print_texeci and print_texecpi as much as possible
|
2010-02-10 15:21:00 +01:00 |
|
Nikolas Garofil
|
456142241c
|
Combine print_execi and print_execpi as much as possible
|
2010-02-10 15:02:00 +01:00 |
|
Nikolas Garofil
|
b601c21c04
|
cpp-ify eve.c
|
2010-02-09 23:12:10 +01:00 |
|
Nikolas Garofil
|
f0eec1e0c5
|
cpp-ify iconv_tools.c
|
2010-02-09 22:34:24 +01:00 |
|
Nikolas Garofil
|
96bf9d0d72
|
Also set curl when rss is requested
|
2010-02-09 19:14:14 +01:00 |
|
Nikolas Garofil
|
886049122c
|
Add missing memory header needed by std::unique_ptr
|
2010-02-09 17:43:56 +01:00 |
|
Nikolas Garofil
|
332cf86b7b
|
Merge branch 'master' of ssh://git.omp.am/home/omp/git/conky
|
2010-02-09 16:49:31 +01:00 |
|