lasers
7eec746b82
update copyright year to 2019
2019-01-05 11:15:36 -06:00
Brenden Matthews
bc60fb2c2f
More build fixes.
2018-12-22 18:34:29 -05:00
Brenden Matthews
94a854cfa2
More build fixes.
2018-12-22 15:53:34 -05:00
Brenden Matthews
41c32bb72f
More warning fixes.
2018-12-22 13:25:32 -05:00
Brenden Matthews
45b4c80ec2
Fix compiler warnings.
2018-12-20 21:20:43 -05:00
Brenden Matthews
3a3092902e
Get rid of silly if (not ...
exp. ( #713 )
...
* Get rid of silly `if (not ...` exp.
* Apply code fixes from sonar.
* Build fix.
* Apply more fixes from sonar.
* Apply more fixes from sonar.
* Apply more fixes from sonar.
2018-12-20 10:22:08 -05:00
Brenden Matthews
a0d4393826
Fix nvidia crash ( resolves #520 ). ( #698 )
...
* Fix XShape handling.
* Fix crash when XDamage is disabled.
* Make sure the nvidia COOLER target is available before trying to pull
attribute values.
* Check the nvidia extension is actually available.
* Check that the display is valid.
2018-12-09 20:14:08 -05:00
Brenden Matthews
3d9c022245
Update Travis OS images. ( #694 )
2018-12-08 16:50:00 -05:00
lasers
a845a403be
doc/variables.xml: add undocumented lock keys
2018-09-04 11:08:26 -05:00
lasers
887786d746
doc/variables.xml: add undocumented variables
2018-08-31 08:23:19 -05:00
Mike Kazantsev
a4cb740508
conky.cc: add --xinerama-head command-line option ( #613 )
2018-08-16 18:40:34 -04:00
Brenden Matthews
3720e96ca5
Get rid of extra ;.
2018-08-08 15:54:47 -04:00
Brenden Matthews
7220ef4c80
More code smell fixes.
2018-08-08 15:54:47 -04:00
Brenden Matthews
8a4b707a7c
Switch from macros to functions.
2018-08-08 15:54:47 -04:00
Nikolas Garofil
37a85ad8b0
Workaround for 2 sonarcloud complaints
2018-08-08 15:54:47 -04:00
Nikolas Garofil
38959715e5
Fix all gcc -Wall warnings
2018-08-08 15:54:47 -04:00
Nikolas Garofil
5dd23796a6
Use unsigned int for p_max_size in obj_cb.print
2018-08-08 15:54:47 -04:00
lasers
2eaba52e69
x11.cc: enable the error handlers by default ( #588 )
2018-08-08 04:28:35 -05:00
su8
e29ebfa29f
Remove code smells
2018-08-06 09:41:02 +02:00
su8
2a24fe36db
Remove code smells
2018-08-04 23:11:21 +02:00
su8
4155ac253b
Add new text objects to retrieve the currently used keyboard layout and mouse speed in percentage and generate random password of chosen length and get the cpu clock speed from assembly
2018-08-04 22:26:40 +02:00
su8
7bca0ca881
Fix issues #439 , #303 ( #545 )
...
* Fix issues https://github.com/brndnmtthws/conky/issues/439 , https://github.com/brndnmtthws/conky/issues/303
* core.cc: Add missing header file
* core.cc: Check if we build for x11 and add the locks functions
* read_tcpip.cc: Fix for https://github.com/brndnmtthws/conky/issues/306
* read_tcpip.cc: Missing string format specifier for "snprintf()"
* read_tcpip.cc: Wrong signed int format specifier for "snprintf()"
* Missing many string format specifiers to "snprintf()"
2018-08-02 11:15:16 -04:00
Brenden Matthews
4b92556fca
Build improvements: clang-tidy, sonar, Dockerfile. ( #488 )
2018-05-12 19:26:31 -04:00
Brenden Matthews
eebc8c653b
Add formatting/static analysis ( #486 )
...
* Reform source with clang-format.
Rules applied with:
$ find . -iname *.h -o -iname *.cc | xargs clang-format \
-style=file -i -fallback-style=google
* Add clang-format and analyze to build.
Based on the excellent work at: https://github.com/ttroy50/cmake-examples
* Clean up CMake stuff on macOS.
* Remove vim/emacs modelines.
* Update copyright dates.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
* Build fixes.
2018-05-12 12:03:00 -04:00
Alexey Korop
d97f4dfd8a
Make mouse-through workable ( #213 )
2018-01-19 09:12:08 -05:00
Darin McBride
a58a6d4e08
Clean up a few valgrind errors, add realloc-failure handling for graphs. ( #367 )
...
I think this fixes #360
2017-02-11 13:39:18 -08:00
dbriba
17a29def4b
Update x11.cc ( #304 )
2016-09-08 08:24:54 -07:00
Franc[e]sco
162d9d13b7
added support for multiple xinerama heads (fixes issue #172 )
2015-12-01 13:53:43 +01:00
Nelis Oostens
fc6888eee3
Added sanity check to avoid making 0x0 window
2015-07-31 08:22:20 +02:00
Andrew Deason
b9dba46fb3
Enable X11 backing store
...
In our XCreateWindow call, we always set the backing_store attribute
to 'Always'. But since we never add the CWBackingStore to our value
mask, the backing_store setting always gets set to the default
NotUseful. This means that the backing store is never turned on, and
so when unobscuring the conky window, portions of the display will not
be drawn immediately if conky is blocked doing something else (e.g.
network, disk, the process is stopped), which is really annoying.
To fix this, specify the CWBackingStore flag in our value mask, so the
conky data is always visible, even if conky is blocking on some other
operation.
2014-10-25 19:34:25 -05:00
Andrew Deason
cd95b659c7
Consolidate common X11 XSetWindowAttributes flags
...
We always specify CWOverrideRedirect. So just assign that to flags
once, instead of assigning it to flags in four different cases.
2014-10-25 19:33:19 -05:00
Denis Gorodnichev
442f78119c
add support for x11 shape extension
...
x11 shape extension (version >= 1.1) provide ability to set up input region
set up empty input region for undecorated window to create transparent window for mouse events
2014-09-09 11:12:44 +04:00
Brenden Matthews
ddef05d4eb
Update version, copyright.
2012-05-03 16:34:44 -07:00
Jim Duchek
bf7248ecd6
Fixed GCC 4.7.0 issues, double buffering
...
Signed-off-by: Brenden Matthews <brenden@diddyinc.com>
2012-05-03 14:06:50 -07:00
Pavel Labath
6482283c03
Revert default value of alignment to BOTTOM_LEFT
...
previous default value NONE behaved strangely in combination with other default settings.
2011-10-23 22:26:15 +02:00
Pavel Labath
981ed0b609
fix own_window_colour setting name
2010-11-23 23:18:50 +01:00
Pavel Labath
4ab7f6d0d1
Replace the if(&l) unused hack with unused attribute
2010-11-23 16:43:14 +01:00
Nikolas Garofil
5781e4f1e7
Fix build with BUILD_X11 but without OWN_WINDOW
2010-11-23 13:58:53 +01:00
Pavel Labath
3db3e6045f
Fix segfault when out_to_x is set to false
2010-11-18 16:09:36 +01:00
Pavel Labath
b7a80fa449
Fix segfault when own_window is set to false
2010-11-17 14:43:49 +01:00
Pavel Labath
375e21af07
Fix a small leak + some cleanup
2010-11-13 19:40:43 +01:00
Pavel Labath
bee7b9b99c
Bugfix in own_window setting handler
2010-09-12 15:32:05 +02:00
Pavel Labath
eedb5241f8
Make imlib_cache_{size,flush_interval} lua settings
2010-08-29 14:31:22 +02:00
Pavel Labath
feb4100e84
make double_buffer a lua setting
2010-04-23 21:54:40 +02:00
Pavel Labath
9e8bbdd4ef
Create a conky window when own_window is set
2010-04-23 21:25:09 +02:00
Pavel Labath
67e37668ec
make border_width a lua setting
2010-04-23 01:22:22 +02:00
Pavel Labath
96c966b7a6
Make border_{inner,outer}_margin a lua setting
2010-04-22 21:59:12 +02:00
Pavel Labath
00e91d8c31
Merge remote branch 'origin/master' into lua-config
...
Conflicts:
src/conky.cc
src/x11.cc
2010-04-22 21:17:14 +02:00
Pavel Labath
927394505c
Make use_xft a lua setting
2010-04-21 19:33:39 +02:00
Nikolas Garofil
dbfbc5f28c
Bugfix: adding/removing use_xft in the config had no effect unless you restarted conky, reloading the config was not enough
2010-04-12 23:27:12 +02:00