summaryrefslogtreecommitdiffstats
path: root/swaybar/status_line.c
Commit message (Collapse)AuthorAge
* swaybar: explicitly check return value of getdelimLibravatar Ian Fan2018-09-22
| | | | | | This prevents an signed-to-unsigned conversion error on buffer_index if getdelim fails and returns -1, which caused swaybar to try to search the header for the array and immediately failing
* swaybar: only free tokener when using i3bar protocolLibravatar Ian Fan2018-09-18
|
* swaybar: rewrite i3bar protocol handlingLibravatar Ian Fan2018-09-18
| | | | | | | | This now correctly handles an incoming json infinite array by shifting most of the heavy listing to the json-c parser, as well as sending multiple statuses at once. It also removes the struct i3bar_protocol_state and moves its members into the status_line struct, allowing the same buffer to be used for both protocols.
* swaybar: rewrite protocol determinationLibravatar Ian Fan2018-09-18
| | | | | | | | This now uses the getline function to receive the header, replacing read_line_buffer, which has been deleted since it is otherwise unused. Furthermore, once the protocol has been determined, the current status is handled immediately to be shown (though this has not been added for the i3bar protocol since it has not yet been rewritten to handle this).
* swaybar: rewrite text protocol handlingLibravatar Ian Fan2018-09-18
| | | | | | This now uses getline to correctly handle multiple or long statuses. It also removes the struct text_protocol_state and moves its members into the status_line struct.
* swaybar: invalidate file descriptors upon closingLibravatar Ian Fan2018-09-18
|
* swaybar: remove block links upon exitLibravatar Ian Fan2018-09-18
|
* i3bar: count references to blocksLibravatar Ian Fan2018-09-12
| | | | | | | | | This prevents blocks from being destroyed before their hotspots are destroyed, in case it is used for a pending click event that fires between the bar receiving a new status, which destroys the block, and the bar rendering the new status, which destroys the hotspot; this problem can be easily produced by scrolling on a block that immediately causes a new status to be sent, with multiple outputs
* Update for swaywm/wlroots#1126Libravatar emersion2018-07-09
|
* Fix a bunch of swaybar memory leaksLibravatar emersion2018-04-24
|
* Set _POSIX_C_SOURCE properlyLibravatar Scott Anderson2018-04-15
|
* Fix #1709Libravatar Drew DeVault2018-04-03
|
* Render i3bar blocksLibravatar Drew DeVault2018-04-02
|
* Demarcate i3bar JSON into individual updatesLibravatar Drew DeVault2018-04-02
|
* Do some small cleanupLibravatar Drew DeVault2018-03-29
| | | | | | | - Fix workspace events (security config isn't in use so it wasn't being sent) - Kill status bar process when swaybar exits - Don't rearrange windows on every layer surface commit
* Clean up status line on exitLibravatar Drew DeVault2018-03-29
|
* Implement status lineLibravatar Drew DeVault2018-03-29
| | | | Does not yet support i3bar json protocol
* Start port of swaybar to layer shellLibravatar Drew DeVault2018-03-29
| | | | | | This starts up the event loop and wayland display and shims out the basic top level rendering concepts. Also includes some changes to incorporate pango into the 1.x codebase properly.
* Removed trailing comma from swaybar click event jsonLibravatar Joona Romppanen2017-10-28
|
* Fix build on FreeBSD adjusting/removing _XOPEN_SOURCE declaration.Libravatar Johannes Lundberg2017-10-14
|
* styling fixesLibravatar akokshar@redhat.com2017-08-30
|
* styling fixesLibravatar akokshar@redhat.com2017-08-29
|
* style fixesLibravatar akokshar@redhat.com2017-08-29
|
* click_events as documented at https://i3wm.org/docs/i3bar-protocol.htmlLibravatar akokshar@redhat.com2017-08-29
|
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* Reorganize includesLibravatar Drew DeVault2016-09-01
|
* implement solid color rendering for swaybgLibravatar Zandr Martin2016-07-30
|
* Use i3bar format for markup field.Libravatar Mikkel Oscar Lyderik2016-04-24
| | | | | | | | In the i3bar protocol the value of the markup field is a string: "pango" or "none" rather than a bool. This patch makes swaybar compatible with that. http://i3wm.org/docs/i3bar-protocol.html
* Flesh out pango markup implementationLibravatar Drew DeVault2016-04-17
|
* swaybar: move headers to include/barLibravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: rename state to barLibravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: Move swaybar_teardown to free_stateLibravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: move ipc stuff to ipc.{h,c}Libravatar Mikkel Oscar Lyderik2016-01-24
|
* swaybar: feactor render, statuslineLibravatar Mikkel Oscar Lyderik2016-01-24