Commit Graph

40 Commits

Author SHA1 Message Date
firewave
5eed76f32b fixed -Wunused-function compiler warnings 2024-04-23 18:38:20 +02:00
firewave
fb9c175b11 enabled and fixed -Wmissing-prototypes compiler warnings
Co-authored-by: matt335672 <30179339+matt335672@users.noreply.github.com>
2024-04-23 18:38:20 +02:00
matt335672
1b286a0469 Update RAIL code to use new UTF-8 calls 2023-10-23 14:19:49 +01:00
matt335672
0a1a8f40e5 Moved a lot of string funcs to string_calls module 2020-12-22 11:57:24 +00:00
Alexandre Quesnel
0c61a15fc5 Migrating logging to LOG() and LOG_DEVEL() in sesman/* 2020-11-30 00:36:20 +00:00
Alexandre Quesnel
a9ec1ebd99 Unifying logging in chanserv
This commit adds:
* replace multiple logging macros with LOG and LOG_DEVEL
* logging configuration for chanserv
* logging configuration for console output
* logging configuration for per file or method log level filtering for
debug builds
* file, line, and method name in log message for debug builds
2020-10-19 05:10:47 +00:00
Pavel Roskin
6ed4c969f4 Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
Pavel Roskin
b2d3dcf169 Include config_ac.h from all source files 2017-03-04 00:52:34 -08:00
Pavel Roskin
c049c3dfd0 rail: remove unneeded call to XGetWindowAttributes()
It is already called above "if" with the same arguments.
2017-01-06 11:24:17 -08:00
Pavel Roskin
6664aac00f Use "void" for empty argument list in declarations
In C, an empty argument list in a declaration means that the function
can accept any arguments. Use "void" instead, it means "no arguments".

C++ treats void and empty list as "no arguments".
2017-01-05 17:27:20 -08:00
Pavel Roskin
d1efb0d5ba Fix signed to unsigned comparisons reported by g++ 6.1.0 2016-07-08 04:29:51 +00:00
Pavel Roskin
5829323ad8 Use g_new or g_new0 when C++ compiler would complain about implicit cast 2016-07-08 04:29:49 +00:00
Pavel Roskin
aaa89ad4e6 Use const unsigned for hex arrays
Some constants are too big for the signed type.
2016-07-08 04:29:43 +00:00
Pavel Roskin
e65bd6b7d7 Fix more format warnings 2016-04-21 21:21:17 -07:00
Pavel Roskin
92a6833e9b Fix typos 2016-02-13 20:41:07 -08:00
Pavel Roskin
5b0dcfc8fe rail: fix declaration of rail_desktop_resize()
Arguments without a type default to int. The caller passes a pointer to
XEvent, so use that type.
2016-01-31 23:35:40 -08:00
Laxmikant Rashinkar
0c63a8feb3 coverity: Dereference after null check 2014-07-20 16:36:33 -07:00
Laxmikant Rashinkar
3bb31876e7 coverity: fixed resolution leak issues 2014-07-19 11:56:00 -07:00
Jay Sorg
944be3afa3 chansrv: some rail fixes from A8 2014-06-03 11:44:25 -07:00
Laxmikant Rashinkar
b205654e78 bringup RAIL only when we receive a RAIL command 2014-01-31 19:57:52 -08:00
Jay Sorg
c1b7cbd657 merges from authentic8 2013-09-26 11:28:07 -07:00
Jim Grandy
a308d2e25c Fix errors cause by previous merge (2361914) 2013-08-22 12:57:00 -07:00
Jim Grandy
b7b3d9ef28 Hand-apply patches (misc) from Authentic8: b18667d 6d22ada 95d93a3 433b49c b96f85f 8c32c46 f87f6b3 c93cce0 26ce9ce 2013-08-22 12:56:51 -07:00
Jim Grandy
81d206ba68 Hand-apply patch (rail: send ShowState when window order changes) from Authentic8: c36a2d7 2013-08-22 12:52:32 -07:00
Jim Grandy
142a93829b Hand-apply patches (chansrv/rail) from Authentic8: 516fd1d 6a4fb28 c038a99 2013-08-22 12:52:32 -07:00
Jim Grandy
9d4205ba7a Hand-apply patch (chansrv: handle ReparentNotify) from Authentic8: 68cdc07 2013-08-22 12:52:31 -07:00
Jim Grandy
bd8083d7e2 Fix merge errors introduced in 3ae1b415 and 20ec9ee3 2013-08-22 12:52:31 -07:00
Jim Grandy
a32669f3ef Hand-apply patches (rail) from Authentic8 branch: e94d059 c36dc61 2013-08-22 12:49:41 -07:00
Jim Grandy
173ed7056f Hand-apply patches (rail) from Authentic8: b01207f b9807e9 42f0128 0f0750c aef2dce 2013-08-22 12:49:41 -07:00
Jim Grandy
af4e42a08d Hand-apply patches (rail) from Authentic8: bc68076 2013-08-22 12:49:40 -07:00
Jim Grandy
2036010e0c Hand-apply patches (rail improvements) from Authentic8 branch: 6d97878 2013-08-22 12:49:40 -07:00
Jim Grandy
53311f2b25 Hand-apply patches (rail improvements) from Authentic8 branch: 6e15b4a 2c99e69 3f30429 aad2aaa 4f8481e 5117ac2 f3dcf1a 2013-08-22 12:49:40 -07:00
Jim Grandy
dfe5911b55 Hand-apply patches (rail improvements) from Authentic8 branch: 507694d, 0e21d45, 44447d5, e452e4f, 3d05576, dd69d8f 2013-08-22 12:49:40 -07:00
Jay Sorg
29420b3134 chansrv: no logic change, work on warning 2013-07-02 00:45:40 -07:00
Laxmikant Rashinkar
1123323fda o moved from GNU General Public License to Apache License, Version 2.0
o applied new coding standards to all .c files
o moved some files around
2012-09-19 20:51:34 -07:00
Jay Sorg
02751f91a3 rail: implement TS_RAIL_ORDER_EXEC 2012-07-31 16:54:54 -07:00
Jay Sorg
05bb56b676 chansrv: rail, open X later, release window manager on rail disconnect 2012-07-31 11:09:23 -07:00
Jay Sorg
00f1a5d85e more work on rail 2012-07-26 21:37:48 -07:00
Jay Sorg
eafef9cd09 rail: work on splitting X11 calls out to xcommon 2012-07-26 14:38:02 -07:00
Jay Sorg
90bf3f8171 chansrv: started work on rail channel 2012-07-24 20:47:53 -07:00