Commit graph

804 commits

Author SHA1 Message Date
Felix Kratz
e3f7c0e0b6 pass PERCENTAGE variable on slider click 2023-01-01 13:28:13 +01:00
Felix Kratz
a36350e603 respect knob width in slider width calculation 2023-01-01 12:28:11 +01:00
Felix Kratz
dea17e9962 slider component finalization (#284) and padding_left = background.padding_left and padding_right = background.padding_right 2022-12-31 18:37:34 +01:00
Felix Kratz
26f5504445 add slider component (#284) and stricter item type checking 2022-12-31 18:17:23 +01:00
Felix Kratz
f6ce7fe832 push version to 2.12.3 2022-12-30 22:50:08 +01:00
Felix Kratz
82943f4bd9 set shape in nirvana 2022-12-27 13:03:05 +01:00
Felix Kratz
7d78837059 pass [!] responses to stderr instead of stdout 2022-12-27 12:36:15 +01:00
Felix Kratz
e489d47c03 dont load nsapp on Ventura 2022-12-27 00:54:10 +01:00
Felix Kratz
d1e8326cd9 next try to get transactional windowing to work for Monterey and below 2022-12-24 09:47:34 +01:00
Felix Kratz
548d7208c7 remove STATS and DEBUG flags 2022-12-23 23:00:33 +01:00
Felix Kratz
37dd382770 small asan fixes 2022-12-23 23:00:11 +01:00
Felix Kratz
22572e8224 remove unneeded transaction 2022-12-23 18:52:41 +01:00
Felix Kratz
45b1430ab4 push version to 2.12.2 2022-12-22 18:39:19 +01:00
Felix Kratz
a1c420747d restrict transactional windowing to ventura 2022-12-22 18:37:37 +01:00
Felix Kratz
e7485f3ab4 revert window system changes for all macOS versions prior to ventura 2022-12-22 18:28:58 +01:00
Felix Kratz
23c1a94f76 push version to 2.12.1 2022-12-22 17:15:12 +01:00
Felix Kratz
9a1112bfdd fix for Big Sur compatibility 2022-12-20 17:54:23 +01:00
Felix Kratz
5fb76de085 transactional window system 2022-12-20 17:48:22 +01:00
Felix Kratz
8e97ffeb63 fully transactional window system rewrite for Ventura 2022-12-20 10:05:17 +01:00
Felix Kratz
f1c5cd9f48 add more SLSTransaction SkyLight signatures 2022-12-19 22:34:52 +01:00
Felix Kratz
89af3cca83 fix memory leak for currently undocumented space image capture 2022-12-18 16:44:04 +01:00
Felix Kratz
7fa534b415 push version to 2.12.0 2022-12-15 22:00:22 +01:00
Felix Kratz
2198355ce2 proper regex support for brackets 2022-12-15 21:41:11 +01:00
Felix Kratz
6b9acffdd4 get count for regex item list 2022-12-15 21:21:44 +01:00
Felix Kratz
437d0af31d better regex handling; dont break commandloop if item is not found 2022-12-15 21:13:41 +01:00
Felix Kratz
1c1cb5494b properly invalidate bracket if no member is shown 2022-12-15 20:32:53 +01:00
Felix Kratz
bb85f7640e bracket rework (#300) 2022-12-12 22:08:43 +01:00
Felix Kratz
277b253c4d fix uint32_t value underflow in group offset calculation 2022-12-12 11:38:11 +01:00
Felix Kratz
4f82e06af2 needs_ordering on window_create 2022-12-10 23:49:37 +01:00
Felix Kratz
b33e192b66 add some more private DisplayServices signatures 2022-12-10 22:38:59 +01:00
Felix Kratz
fb3a653cfa fix signature for mach_get_bs_port 2022-12-10 20:33:47 +01:00
Felix Kratz
60d09aaeec silly bug 2022-12-10 20:31:04 +01:00
Felix Kratz
1e4725e1a9 cleanup 2022-12-10 19:57:44 +01:00
Felix Kratz
4e2f146393 fix center items not being centered with a bar margin 2022-12-02 10:47:57 +01:00
Felix Kratz
1168fe552a push version to 2.11.2 2022-11-30 21:10:28 +01:00
Felix Kratz
3e01316557 fix SLSSurface function signatures 2022-11-26 00:46:42 +01:00
Felix Kratz
9cca91678f fix malformed $INFO variable for distributed notification info (#271) 2022-11-17 09:47:37 +01:00
Felix Kratz
b459125bbb push version to 2.11.1 2022-11-13 13:04:36 +01:00
Felix Kratz
670c29ef7f fix edge case leading to a blank bar after leaving fullscreen (#285) 2022-11-13 12:40:47 +01:00
Felix Kratz
907001f99b dont order windows after applying frame on ventura 2022-11-11 17:03:46 +01:00
Felix Kratz
b4499156f5
Merge pull request #276 from izeau/background-clip
Add bar background clipping
2022-10-29 20:20:07 +02:00
Felix Kratz
dfd6ad4f27 finalization 2022-10-29 20:15:02 +02:00
Felix Kratz
21e4753391 ... 2022-10-28 12:47:31 +02:00
Felix Kratz
f757304bf8 clipping prototype 2022-10-28 12:44:08 +02:00
Felix Kratz
2d2ccfcc96 clean up background bounds calculation 2022-10-28 11:23:05 +02:00
Felix Kratz
a09c30c2e0 fix double free edge case 2022-10-26 18:58:44 +02:00
Felix Kratz
62db503302 fix memory corruption on client due to mach vm dealloc 2022-10-26 18:47:05 +02:00
izeau
f3d51570f2 add bar background clipping
Implements the features discussed in #274. It allows the clipping of the
bar background to reveal what is underneath. The clipping shape is based
on the background dimensions & corner radius, and the clipping mask is a
float (0.f = no clipping, 1.f = fully clipped). The background.clip
property is fully animatable, and can be applied to items and brackets,
but not to the bar itself or to text items.

Floating point number properties can now be animated using the
ANIMATE_FLOAT macro.

Clipping should not affect performance when disabled, aside from an
additional loop in the bar_draw function. When enabled, there are at the
moment quite a few preventable bar redraws since the bar_needs_refresh
is naive and does not check if the bar actually needs a refresh (i.e.
the clipping value has changed, the item has moved or its dimensions
were changed). A less aggressive change detection may be implemented but
would require a bit of refactoring to the update functions.
2022-10-26 13:49:59 +02:00
Felix Kratz
32d85ffe9b push version to 2.11.0 2022-10-26 08:32:32 +02:00
Felix Kratz
c944509888
Merge pull request #275 from izeau/fix-273
fix missing item separator in space_change info #273
2022-10-25 21:26:36 +02:00