Commit graph

55 commits

Author SHA1 Message Date
hippoz
73f29429e4
don't collect strings when matching if we don't have to 2023-02-01 18:49:08 +02:00
hippoz
c112f9416e
improve name alignment and fix names_count bug 2023-01-23 04:57:56 +02:00
hippoz
0529fd1dde
optimize name lookup 2023-01-22 20:26:46 +02:00
hippoz
0f69b9b433
improve unique name writing 2023-01-22 18:18:57 +02:00
hippoz
2af29378bf
prevent unneeded memset 2023-01-22 17:03:30 +02:00
hippoz
5acf0e6422
don't copy the header fields in wire_compose_unicast_reply 2023-01-21 05:43:00 +02:00
hippoz
e744f4afed
misc performance improvements 2023-01-19 22:47:47 +02:00
hippoz
d2ee4cb71d
improve alignment algorithm 2023-01-19 05:16:45 +02:00
hippoz
98c7d8b648
fix warnings 2023-01-19 03:47:49 +02:00
hippoz
7cdd84ac63
remove data padding 2023-01-19 03:43:05 +02:00
hippoz
2fb13032ab
massive refactor to stop passing around client index in server.c 2023-01-19 03:40:37 +02:00
hippoz
2755669b05
change struct names 2023-01-19 02:46:49 +02:00
hippoz
796630d74e
remove printfs 2023-01-18 01:23:07 +02:00
hippoz
630d5d813d
update license date 2023-01-18 01:08:26 +02:00
hippoz
98a4bd2b9f
don't open urandom for hello 2023-01-17 23:04:48 +02:00
hippoz
9a9d001f04
don't do unnecessary work 2023-01-17 03:09:38 +02:00
hippoz
1ad65fc10e
fix broadcasting, notably fixes xfconf and thunar 2023-01-16 19:47:40 +02:00
hippoz
edbc927b79
add support for routing errors 2023-01-16 17:44:45 +02:00
hippoz
c397e37a05
implement RemoveMatch 2023-01-16 16:24:08 +02:00
hippoz
b318fea528
fix bug in message broadcast? 2023-01-16 16:05:35 +02:00
hippoz
60e606bf12
experiment with tiny optimizations 2023-01-16 16:04:09 +02:00
hippoz
10d0d6ed72
remove redundant check? 2023-01-16 13:59:10 +02:00
hippoz
5e4a6dcf34
small optimizations 2023-01-16 04:10:21 +02:00
hippoz
41d0b1a8e5
fix warnings 2023-01-16 02:43:23 +02:00
hippoz
63fd9dd698
better logging 2023-01-16 02:20:53 +02:00
hippoz
f0cef536ff
be more clear about used gcc extensions 2023-01-16 00:39:13 +02:00
hippoz
3f88fe4701
send NameOwnerChanged for unique name assignment too 2023-01-15 04:49:03 +02:00
hippoz
adc299c847
add initial implementation of server signal broadcast 2023-01-15 04:32:51 +02:00
hippoz
6d9f9c365c
reuse reply context for unicast and broadcast 2023-01-11 18:59:16 +02:00
hippoz
55b1a9b760
fix message bound issues 2023-01-11 18:44:38 +02:00
hippoz
ce164d8d5d
add convenient functions in wire for getting strings with a limited length 2023-01-10 15:17:50 +02:00
hippoz
095eb8f403
greatly overhaul bus code 2023-01-10 14:57:16 +02:00
hippoz
15a449ee44
improve naming 2023-01-10 13:08:49 +02:00
hippoz
de00067fd1
fixes 2023-01-03 19:06:44 +02:00
hippoz
f7da39acea
better handle errors and noreply flag 2023-01-03 17:20:02 +02:00
hippoz
161741d59c
add stub for "GetConnectionUnixProcessID" 2023-01-02 01:41:31 +02:00
hippoz
8d5a5bec49
fix arrays 2023-01-01 05:22:37 +02:00
hippoz
0d5385f295
store match rules per client 2022-12-31 17:55:32 +02:00
hippoz
2a07d8dd38
very barebones match implementation 2022-12-29 20:10:36 +02:00
hippoz
fb2ea18aad
make sure to close urandom file in jb_server_client_assign_unique_name 2022-12-26 23:34:27 +02:00
hippoz
e20e5ff3af
fix not checking for string null byte 2022-12-26 23:10:22 +02:00
hippoz
dd62b8570a
improve string handling 2022-12-26 21:13:09 +02:00
hippoz
3ea788d1a7
check for little endian 2022-12-26 20:31:12 +02:00
hippoz
8a218a7ac2
improve error handling 2022-12-26 20:28:56 +02:00
hippoz
27a8487583
compile with address sanitizer 2022-12-26 18:05:26 +02:00
hippoz
98dcc4c630
implement more methods 2022-12-26 18:05:12 +02:00
hippoz
fcc9835419
fix auth for certain glib clients 2022-12-25 23:55:29 +02:00
hippoz
438a1a85e8
prevent bogus name ownership 2022-12-25 21:56:37 +02:00
hippoz
18ec9899f7
implement NameHasOwner 2022-12-25 21:42:40 +02:00
hippoz
0586219267
greatly simplify code 2022-12-25 20:54:10 +02:00