Brenden Matthews
35357e437c
Update copyright
2024-02-22 08:53:35 -05:00
Brenden Matthews
4807d3c68d
Fix a couple security nits from codeql
...
See:
- https://github.com/brndnmtthws/conky/security/code-scanning/1
- https://github.com/brndnmtthws/conky/security/code-scanning/2
- https://github.com/brndnmtthws/conky/security/code-scanning/3
2023-02-14 21:43:45 -05:00
Brenden Matthews
76b0f049bc
Apply clang-format.
2022-12-24 09:44:03 -05:00
bi4k8
1eb88aeb43
x11, imlib2: early-exit in some X functions if X is not available at runtime
2022-12-24 09:42:03 -05:00
François Revol
281097a2a5
move X11 stuff from conky.cc to display-x11
...
Still some things to sort out, but seems to work.
A lot of variables and calls had to be made non-static.
2022-09-10 20:39:11 +02:00
Livanh
3be1320e6c
Use xft_dpi_scale function instead of DPI_SCALE macro
2021-04-10 11:32:24 -05:00
Livanh
1c6c4bcf6a
Scale UI elements according to Xft.dpi
2021-04-10 11:32:24 -05:00
Brenden Matthews
308f2cb8ea
Update copyright, authors.
2021-02-27 09:14:19 -06:00
Syco
bea6a5cb9b
tests for issue 236
2021-01-31 08:26:46 -06:00
Brenden Matthews
90673cf161
Make GitLab build work with clang checks.
2019-02-23 17:13:19 -05:00
lasers
7eec746b82
update copyright year to 2019
2019-01-05 11:15:36 -06: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
Nikolas Garofil
5dd23796a6
Use unsigned int for p_max_size in obj_cb.print
2018-08-08 15:54:47 -04:00
Brenden Matthews
a9e968956d
Minor code fixes. ( #489 )
...
* Minor code fixes.
* Switch logging macros to functions.
2018-05-12 21:09:24 -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
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
29ef75083a
Fix 'comparison between signed and unsigned expressions' warning
2010-12-23 18:25:31 +01:00
Pavel Labath
eedb5241f8
Make imlib_cache_{size,flush_interval} lua settings
2010-08-29 14:31:22 +02:00
Pavel Labath
b5f4c0f7e9
Update modelines on imlib.cc
2010-08-27 14:20:26 +02:00
Pavel Labath
d93dc72e6d
Random C++ification: to_real_path() and current_config
2010-03-04 17:40:20 +01:00
Phil Sutter
081f5e1699
make imlib2.c a C++ source, as it uses the C++ symbol 'to_real_path()'
2010-01-10 22:04:15 +01:00