113 Commits (4b4ca11f6f3a4508f993804e632898aedcf60a89)

Author SHA1 Message Date
Alexander Orzechowski 4b4ca11f6f util/box: Introduce wlr_box_contains_box
4 months ago
John Lindgren 6d197eef94 util: let wlr_box_closest_point() be within 1/65536 of right/bottom edge
5 months ago
John Lindgren 3fc66d4525 util: fix non-linear behavior of wlr_box_closest_point()
8 months ago
Simon Ser 842093bb84 Define _POSIX_C_SOURCE globally
10 months ago
Simon Ser efa706b769 util/log: drop unnecessary _XOPEN_SOURCE
10 months ago
Simon Ser 2eb225236e util/transform: add wlr_output_transform_coords()
1 year ago
Simon Ser 9e702e9cfe util/transform: move over wl_output_transform helpers
1 year ago
Manuel Stoeckl a3d22dbe97 xdg-toplevel: check that title provided actually is UTF-8
1 year ago
Simon Ser 55be74ad86 util/token: rename TOKEN_STRLEN to TOKEN_SIZE
1 year ago
Kirill Primak 2c33a1c2de util/addon: make wlr_addon_set_finish() safer
1 year ago
Manuel Stoeckl d180f4d9b3 util: add struct to track union of rectangles
1 year ago
Simon Ser 7a9f8d8d6b Use struct initializers instead of memset()
1 year ago
Evyatar Stalinsky 21e96c459d util/log: fix buffer overflow
1 year ago
Rose Hudson bd834fe8d1 util: add timespec_to_nsec
2 years ago
Kirill Primak dc6402d153 util/box: transform empty boxes' origins
2 years ago
Kirill Primak 5f4a35290d util/box: always treat NULL boxes as empty
2 years ago
Kirill Primak 5d67bbde86 util/box: simplify empty box case in wlr_box_intersection()
2 years ago
Alexander Orzechowski d495fb8c04 wlr_{box, fbox}_equal: Consider empty boxes NULL
2 years ago
Alexander Orzechowski acaf57dcca wlr_{box, fbox}_equal: Handle NULL
2 years ago
Alexander Orzechowski 48a89179a3 addon: Remove extra newline from logging
2 years ago
Alexander Orzechowski 7a4fd9064c addon: Add more logging
2 years ago
Kirill Primak 884237e9af util/addon: ensure the set is empty after finish
2 years ago
Kirill Primak 8f58c060fd util/region: forbid "shrinking" a region with wlr_region_expand()
2 years ago
Simon Ser d72b4409ce util/env: make env_parse_switch() return a size_t
2 years ago
Kenny Levinsen bb0fd29252 addon: Allow NULL owner of addon
2 years ago
Simon Ser 769cabbadf util/time: use int64_t return value for get_current_time_msec()
2 years ago
Simon Ser 9fd28d1e81 util/region: constify
2 years ago
Kirill Primak 7333a4602a util/set: overhaul
2 years ago
Kirill Primak 20c208d46a util/array: unclutter
2 years ago
Alexander Orzechowski 31a9fc1fb6 util: Introduce env helpers
2 years ago
Kenny Levinsen 724aa38fc2 util/array: Add array_realloc for wl_array
2 years ago
Alexander Orzechowski 346e524201 Remove wlr_signal_emit_safe
2 years ago
Alexander Orzechowski 1d08ef234e util/box: Introduce wlr_fbox_equal
2 years ago
Alexander Orzechowski 9f3bd64a33 util/box: Introduce wlr_box_equal
2 years ago
Simon Ser b89ed9015c util/global: fix memory leak on display destroy in wlr_global_destroy_safe
3 years ago
Steven Newbury ad06c12c89 util: Fix infinite loop in recursive function
3 years ago
Kirill Primak 4ac19e9f9c util/addon: avoid calling finish() twice
3 years ago
Simon Ser 19896e7fb6 util/shm: clear mode permission bits in allocate_shm_file_pair
3 years ago
Simon Ser 6c350799b2 Zero-initialize structs in init functions
3 years ago
Simon Ser 54653b5d95 util/addon: fix public include
3 years ago
Simon Ser 4377b55292 util/global: remove wl_display arg from wlr_global_destroy_safe
3 years ago
Raphael Robatsch 4a8e681a5f util/token: don't leak /dev/urandom fd to children
3 years ago
Simon Ser fdc22449d6 util/box: introduce wlr_fbox_empty
3 years ago
Simon Ser 55ca93469c util/shm: add allocate_shm_file_pair
3 years ago
Kirill Primak 664307f968 util/box: introduce wlr_fbox_transform()
3 years ago
Kirill Primak 111d4eafd7 util/addon: find both by owner and impl
3 years ago
Kirill Primak a6a80850b7 util: add wlr_addon
3 years ago
Dylan Araps e5063ef3a3 util/time: make NSEC_PER_SEC static
3 years ago
Simon Zeni e192d87731 move wlr_box from /types to /util
3 years ago
Simon Ser a6ed4ae308 util/array: add array_remove_at
3 years ago