Brenden Matthews
91a3f2ed87
Fix formatting, remove bad line.
2021-02-05 08:44:29 -06:00
nihilix-melix
c2c9e07afc
Update linux.cc
2021-02-05 08:44:29 -06:00
Vladimir D. Seleznev
8ce3855b50
Fix conky window crawling
...
The conky window is crawling when some other is moving around it.
To reproduce this bug run conky with the following config:
double_buffer yes
TEXT
TEST
And slowly move other window near conky window.
The bug was introduced in e2bd14e7b7
.
Reported and patch by: George V. Kouryachy (Fr. Br. George) <george@altlinux.org>
2021-02-05 08:39:08 -06:00
Brenden Matthews
68868f4cc0
Run clang-format.
2021-02-03 18:38:41 -06:00
Brenden Matthews
9adaba449a
Run clang-format.
2021-02-01 17:30:17 -06:00
Syco
5ee577ec1f
fix file permission
...
Signed-off-by: Syco <alberto.rinaudo+dino@gmail.com>
2021-01-31 08:26:46 -06:00
Syco
050ee5d3c4
change y coordinate
...
Signed-off-by: Syco <alberto.rinaudo+dino@gmail.com>
2021-01-31 08:26:46 -06:00
Syco
bea6a5cb9b
tests for issue 236
2021-01-31 08:26:46 -06:00
Christian Kögler
c3dab80fc1
Fix memory leak for keyboard_layout
...
see also https://github.com/brndnmtthws/conky/issues/968
2021-01-30 18:58:09 -06:00
Brenden Matthews
1f0434ed65
Prefer std::abs() over abs().
2021-01-24 09:53:43 -06:00
Brenden Matthews
0f99ff0bca
Two more formatting fixes.
2021-01-24 09:08:29 -06:00
Brenden Matthews
617e9f14a2
Fix incorrect callback argument for MHD.
2021-01-24 09:07:24 -06:00
Brenden Matthews
168607829d
Apply a few minor formatting fixes.
2021-01-24 08:44:28 -06:00
Brenden Matthews
e4fad17dc0
Apply clang-format.
2021-01-23 19:47:57 -06:00
Brenden Matthews
36faf216df
Fix incorrect param order.
2021-01-23 19:17:40 -06:00
Brenden Matthews
05321f375a
Run clang-format.
2021-01-23 18:41:22 -06:00
humanoid2050
351a7a8d22
made fan data available for indices higher than the gpu card count, and added some protection against bad requests
2021-01-23 18:40:51 -06:00
Brenden Matthews
b679b54508
Run clang-format.
2021-01-23 18:39:35 -06:00
Mithil Poojary
0a4eb8fda5
Replace vulnerable functions with safer alternatives
2021-01-23 18:39:01 -06:00
Mithil Poojary
6bda01266b
Confirm pointer is not null and use sizeof object instead of struct
2021-01-23 18:39:01 -06:00
Mithil Poojary
ddb70b4ba9
Confirm that index is greater than 0
2021-01-23 18:39:01 -06:00
Mithil Poojary
b97eff4dbe
Fix order of freeing memory
2021-01-23 18:39:01 -06:00
Mithil Poojary
87a31ba039
Avoid passing null pointer to strncpy
2021-01-23 18:39:01 -06:00
Mithil Poojary
a9ecfbaae5
Free memory after use
2021-01-23 18:39:01 -06:00
Mithil Poojary
e9fcca035b
Avoid out of bound memory access
...
Value of idx is -1, if find_match_op returns -1.
Later idx is used as index for accessing element of expr_dup
causing our of bound memory access.
2021-01-23 18:39:01 -06:00
Mithil Poojary
366c384bde
Remove redundant break statement
2021-01-23 18:39:01 -06:00
Brenden Matthews
3c9c4074b3
Prefer functions over macros.
2021-01-23 18:30:57 -06:00
Brenden Matthews
283129e283
Apply clang-format.
2021-01-23 18:19:04 -06:00
isaac
36d685eb88
refactor and unit test
2021-01-23 18:00:53 -06:00
isaac
56920fde12
add build option
2021-01-23 18:00:53 -06:00
isaac
d25e0a72f4
added hsv gradient
2021-01-23 18:00:53 -06:00
freddii
b62e115830
fixed wrong spelled words
2021-01-23 17:59:07 -06:00
Carl A Joslin
92df0cf550
Correct width of formated data rates.
2021-01-23 17:54:18 -06:00
François Revol
3355740d23
llua: expose cpu_count
...
This avoids having to hardcode the CPU count, and crashing with scripts
with too many cpus prepared (typically rings).
2021-01-15 09:59:09 -06:00
Guido Falsi
389d24b4e0
Disable including dev/wi/if_wavelan_ieee.h as it has ben removed from FreeBSD source code in head
...
It looks like the code actually using this include is already included in an #if 0 block and disabled, so I'm disabling this include unconditionally.
2021-01-15 09:58:25 -06:00
François Revol
8769c57dd9
Get rid of last "not "
2021-01-14 10:12:14 -06:00
François Revol
11431da1a5
fix typo
2021-01-14 10:12:14 -06:00
François Revol
7de6ec0669
Fix build with older microhttpd
2021-01-14 10:11:36 -06:00
Brenden Matthews
16be0e1571
Build fix for libmicrohttpd.
2020-10-22 13:02:00 -04:00
Brenden Matthews
1c599a2752
Add missing mpd_comment variable.
2020-07-27 08:01:52 -04:00
Paweł Bielecki
b2a5a47a28
Print uid in top if user doesnt exist.
2020-03-07 10:54:16 -05:00
Andrew Deason
5651cf1529
Remove length limit on curl URLs
...
Currently, the ${curl} directive only uses the first 127 characters in
the given URL, discarding the rest. Change the parsing in
curl_parse_arg to dynamically allocate the URL string instead,
allowing ${curl} to use URLs of any length.
2020-02-05 18:06:26 -05:00
AlexApps99
9bee2eec39
Made various misc.cc functions more concise
2020-01-31 19:11:44 -05:00
AlexApps99
8dc04f3902
Renamed to rstrip to allow for future lstrip or even strip (rstrip+lstrip) command
2020-01-24 19:27:31 -05:00
AlexApps99
b8d3515f19
Added strip command
...
Strips trailing whitespace from string
2020-01-24 19:27:31 -05:00
AlexApps99
703e9a6add
Removed null-termination from print_xcases
...
The strings are already null-terminated
2020-01-24 19:27:31 -05:00
AlexApps99
1924081173
Added lowercase config to match uppercase
2020-01-24 19:27:31 -05:00
AlexApps99
435d05dc6e
Optimised and corrected print_startcase
2020-01-21 13:04:13 -05:00
AlexApps99
49638c6c19
Ran clang-format
2020-01-21 13:04:13 -05:00
AlexApps99
f7c15b027a
Renamed start_case to startcase, lower_case to lowercase and upper_case to uppercase
2020-01-21 13:04:13 -05:00