Brenden Matthews
155563a446
Update default config.
2018-12-09 17:35:45 -05:00
Brenden Matthews
3600570667
Build nvidia support in Docker image.
2018-12-09 11:20:58 -05:00
lasers
8599c4b264
nvidia.cc: add nvidia patch ( #697 )
2018-12-09 16:16:46 +02:00
Brenden Matthews
4d098b0536
Fix for #691 , nullptr deref & race condition. ( #692 )
...
* Fix race condition in gw_info handling.
* Fix a couple potential nullptr derefs.
* Fix font handling without x.
* Fix regression in output to ncurses with X disabled.
* Apply some formatting/code smell fixes.
2018-12-08 17:45:17 -05:00
Brenden Matthews
3d9c022245
Update Travis OS images. ( #694 )
2018-12-08 16:50:00 -05:00
Brenden Matthews
bc0ec94c10
Fix execi scanning segfault due to bad free. ( #693 )
...
This should resolve #690 .
2018-12-05 16:21:04 -05:00
Dan McCombs
2a0d2a741a
Add draw_blended to convert.lua script so that it is converted to boolean properly from old configuration formats. ( #689 )
2018-12-03 15:00:46 -05:00
Brenden Matthews
e5e9e43e40
Bump version.
2018-12-02 13:27:19 -05:00
Brenden Matthews
c1059030cf
Fix platform checks for libxml2. ( #687 )
...
Use the CMake module for finding libxml2, instead of relying on
pkg-config which may break on some platforms like macOS.
2018-12-02 13:26:02 -05:00
Guido Falsi
71a60672a8
When compiling with gcc the file /usr/include/machine/md_var.h is included. This header defines a function "void cpu_setup(u_int)" which clashes with the "static short cpu_setup" variable in src/freebsd.cc. ( #686 )
...
The patch renames this variable.
Reported by: Piotr Kubaj <pkubaj at anongoth.pl>
Ref: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233616
2018-12-02 11:29:56 -05:00
Dan McCombs
c1ef8c5cd4
Add config option to disable blending ( #682 )
...
* Add config option to disable blending
This is intended to work around issues with some images blending incorrectly with ARGB visuals.
* Fix order of config documentation.
* Update configuration variable name to simply "draw_blended".
* Fix for SonarCloud malloc warning.
* Update free to delete as part of malloc change.
2018-12-02 11:29:33 -05:00
livanh
8d149471b5
Fix goto in ncurses mode when compiled without BUILD_X11 ( #680 )
...
* Fix goto in ncurses mode when compiled without BUILD_X11
* Fix some issues raised by SonarCloud
* Define delete_block_and_zero() function and use it to replace some malloc calls
2018-12-02 11:28:28 -05:00
lasers
f8ff46c2dc
add memwithbuffersgraph variable ( #671 )
2018-10-21 15:52:15 +03:00
Amish Naidu
9b4fc81553
fontN - Predefine font configuration analgous to colorN ( #667 )
...
* Add fontN config and text variables
fontN, N in {0..9} allows setting a fontN variable to some font settings
which can later be recalled in text, like colorN.
* Add documentation for fontN
* Add syntax-highlighting config for fontN
2018-10-12 20:43:48 +03:00
lasers
1e2a29654f
Wifi ( #660 )
...
* Work for #17 : Now we have ssid
* Since we are using Objective-C++ NSStrings, we need to link to Foundation.framework, too!
* If interface is UP use the interface SSID; otherwise "off/any" following the Linux implementation.
Add more
* More
* cleanup
2018-10-11 08:45:43 -04:00
lasers
30c19a14f5
doc/config_settings.xml: add github_token ( #651 )
2018-09-08 12:11:39 -04:00
lasers
a845a403be
doc/variables.xml: add undocumented lock keys
2018-09-04 11:08:26 -05:00
lasers
c0d5b6854e
conky.cc: quit on SIGHUP
2018-09-04 10:56:03 -05:00
lasers
788d5d816a
doc/variables.xml: add sysctlbyname
2018-09-04 10:44:30 -05:00
su8
07681e184b
Add new variable sysctlbyname for FreeBSD
2018-09-04 10:44:30 -05:00
su8
a644600bc5
exec.cc: Cache the result to another variable and return it when we have a empty/invalid value. ( #646 )
2018-09-01 16:15:33 +02:00
lasers
887786d746
doc/variables.xml: add undocumented variables
2018-08-31 08:23:19 -05:00
lasers
ebc624c855
doc/config_settings.xml: change own_window_colours
2018-08-30 10:11:24 -05:00
void0
84f136f84a
Add new ${github_notifications} variable to count all unread notifications ( #637 )
...
* Add new ${github} variable to count all unread notifications
* doc/variables.xml: add github_notifications
* common.cc: Make the "skip" variable static so on each iteration to preserve the current state
2018-08-25 12:07:03 -04:00
lasers
610bbe0f0b
doc/variables.xml: add start_case
2018-08-22 23:13:11 -05:00
su8
5980fb4a52
misc.cc: Evaluate the result and then parse it to capitalize
2018-08-22 23:13:11 -05:00
lasers
f2ca86cca0
doc/variables.xml: add battery_status
2018-08-22 22:52:39 -05:00
su8
d963e0e418
Add ${battery_status} variable to display the battery status
2018-08-22 22:52:39 -05:00
su8
0bc7b80d78
fix missing variables when using multiple out_to_xxx ( #628 )
2018-08-20 08:32:42 -04:00
Brenden Matthews
698b0dcf20
Bump up png logo resolutions. ( #634 )
2018-08-20 07:51:40 -04:00
tobaloidee
260272a7be
logo upload & readme update ( #630 )
...
* Create logo
* Add files via upload
* Delete logo
* Update README.md
2018-08-20 07:40:21 -04:00
lasers
84e1eec2ed
add new options console_bar_{fill,unfill} ( #624 )
2018-08-17 12:46:40 -05:00
Mike Kazantsev
a4cb740508
conky.cc: add --xinerama-head command-line option ( #613 )
2018-08-16 18:40:34 -04:00
Mike Kazantsev
99e4407a45
conky.cc: fix window positioning on non-primary monitors ( #615 )
2018-08-15 09:06:52 -05:00
lasers
41f920671c
lua: remove useless conky_info 'uptime' table ( #612 )
2018-08-14 12:30:23 -05:00
su8
0edc80bf9b
Arguments to character-handling functions must be representable as an unsigned char
2018-08-14 12:07:16 +00:00
lasers
bbaa0e9ac8
exec.cc: Free malloced pointer after use in scan_exec_arg() ( #607 )
2018-08-13 14:55:31 -04:00
lasers
fcbc5c8ba2
linux.cc,net_stat.cc: use ${iface X} inside upspeed/f downspeed/f ( #608 )
...
* linux.cc,net_stat.cc: use ${iface X} inside upspeed/f downspeed/f
* net_stat.cc: Avoid dereferecing null pointer in parse_net_stat_arg()
2018-08-13 13:40:30 -05:00
lasers
e4e6a4ff60
extras/convert.lua: run dos2unix too if it is available ( #604 )
2018-08-13 08:20:52 -04:00
lasers
eb31df1bef
core.cc,linux.cc: add ${iface} ( #603 )
...
* core.cc,linux.cc: add ${iface}
* doc/variables.xml: add ${iface}
* Remove code smells
* linux.cc: Add for loop to iterate interfaces
* Index all NICs
* linux.cc: Allow+Remove NIC exclusion
* linux.cc: Remove code smells
* fix code smell
* switch skip by strcmpreturn
2018-08-13 08:09:24 -04:00
Nikolas Garofil
6c590590a3
Delete broken weathervars before rewrite ( #595 )
...
* Kill non-functioning XOAP
* Change weathercode to TODO
2018-08-12 03:51:21 +02:00
lasers
9f7493c81f
linux.cc: Fix cpu usage bug ( #600 )
2018-08-11 18:18:51 -04:00
Brenden Matthews
87187ff626
Bump version for next release. ( #599 )
2018-08-10 11:10:42 -04:00
lasers
6a23cab853
diskio.cc: Allow 'partuuid' label usage ( #598 )
...
* diskio.cc: Allow 'partuuid' label usage
* diskio.cc: Merge the if block to strncmp()
2018-08-10 09:47:19 -05:00
su8
3d5e152a8b
exec.cc: Calculate the command length once and compare it, check only the first char once
2018-08-09 11:17:23 -04:00
su8
e242fea685
exec.cc: Move the escaping code into standalone function
2018-08-09 11:17:23 -04:00
su8
08f7cd6732
exec.cc: Make sure to test the first char only
2018-08-09 11:17:23 -04:00
su8
260554883a
exec.cc: Add some overflow checks
2018-08-09 11:17:23 -04:00
su8
e229f1a398
exec.cc: permit wrapping commands in quotes
2018-08-09 11:17:23 -04:00
lasers
faf9b6b9ed
apcupsd.cc: remove trailing whitespace ( #594 )
2018-08-09 08:09:34 -05:00