Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-22 | Merge pull request #2687 from ianyfan/swaybar | Ryan Dwyer | |
swaybar: explicitly check return value of getdelim | |||
2018-09-22 | swaybar: explicitly check return value of getdelim | Ian Fan | |
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 | |||
2018-09-22 | Merge pull request #2679 from RyanDwyer/fix-pango-escaping | emersion | |
Fix pango escaping and refactor escape_markup_text | |||
2018-09-22 | Use pango_layout_set_text instead of pango_layout_set_markup | Ryan Dwyer | |
2018-09-22 | Fix pango escaping and refactor escape_markup_text | Ryan Dwyer | |
Fixes #2674. The cause of the issue was in get_pango_layout. When we call pango_parse_markup, `text` is the escaped string, and the unescaped string is then computed and written to `buf`. We were then passing the unescaped string to pango_layout_set_markup, but this function needs the escaped string. `buf` is not needed and has been removed. The other part of this PR refactors escape_markup_text to remove the dest_length argument and removes the -1 return value on error. It now assumes that you've allocated dest to the correct length. | |||
2018-09-22 | Merge pull request #2678 from RyanDwyer/reconfigure-on-reposition | emersion | |
Reconfigure xwayland views when repositioned | |||
2018-09-21 | Merge pull request #2666 from emersion/swaybar-hotplug | Brian Ashworth | |
swaybar: handle hotplugging | |||
2018-09-21 | Merge branch 'master' into swaybar-hotplug | Brian Ashworth | |
2018-09-21 | Merge pull request #2672 from ianyfan/swaybar | Drew DeVault | |
swaybar: fix parsing errors when json is sent in parts | |||
2018-09-21 | Merge pull request #2683 from ammgws/patch-1 | Drew DeVault | |
stabilityに関する注記を更新 | |||
2018-09-21 | stabilityに関する注記を更新 | Jason | |
2018-09-21 | swaybar: log invalid i3bar json | Ian Fan | |
2018-09-21 | swaybar: reset tokener if json is incomplete | Ian Fan | |
If the tokener parses incomplete json, it sets its error value to json_tokener_continue. This means that extra json should be provided, but the code was providing the entire object again. In the interest of simplicity, the tokener is reset so that buffer_pos always points to the start of the current object. | |||
2018-09-21 | swaybar: update buffer_pos when moving object to start of buffer | Ian Fan | |
2018-09-21 | Reconfigure xwayland views when repositioned | Ryan Dwyer | |
Fixes #2673. | |||
2018-09-21 | Update stability notice in README | Drew DeVault | |
2018-09-21 | Merge pull request #2680 from marienz/no-x11-backend | emersion | |
Fix compilation against wlroots without X11 backend | |||
2018-09-21 | Fix compilation against wlroots without X11 backend | Marien Zwart | |
2018-09-21 | Merge pull request #2665 from emersion/render-output-segfault | Ryan Dwyer | |
Fix segfault in output_render | |||
2018-09-21 | Merge branch 'master' into render-output-segfault | Ryan Dwyer | |
2018-09-20 | swaybar: don't wl_display_roundtrip on each frame | emersion | |
This was the source of numerous bugs, from hotplug events not being received to segfaults because wl_display_roundtrip was making the bar process unplug events while blocking in an iteration over all outputs. | |||
2018-09-20 | swaybar: handle hotplugging | emersion | |
Don't kill and respawn swaybars on hotplug. | |||
2018-09-20 | Merge pull request #2671 from emersion/output-execute-no-focus | emersion | |
Fix segfault when executing command without focus | |||
2018-09-19 | Merge pull request #2676 from ianyfan/ipc | Drew DeVault | |
ipc: add pid information for views in layout tree | |||
2018-09-19 | ipc: add pid information for views in layout tree | Ian Fan | |
2018-09-19 | Fix segfault when executing command without focus | emersion | |
2018-09-19 | Merge pull request #2669 from RyanDwyer/create-output-command | Drew DeVault | |
Introduce create_output command (for developer use) | |||
2018-09-19 | Merge branch 'master' into create-output-command | emersion | |
2018-09-19 | Merge pull request #2670 from ianyfan/commands | Drew DeVault | |
config: free strings fields when freeing input config | |||
2018-09-19 | config: free strings fields when freeing input config | Ian Fan | |
2018-09-19 | Introduce create_output command (for developer use) | Ryan Dwyer | |
Should help with testing hotplugging. | |||
2018-09-19 | Fix segfault in output_render | emersion | |
2018-09-18 | Merge pull request #2640 from ianyfan/swaybar | Drew DeVault | |
Overhaul swaybar protocol handling (+fixes) | |||
2018-09-18 | swaybar: only free tokener when using i3bar protocol | Ian Fan | |
2018-09-18 | swaybar: add debugging statements for handling i3bar json | Ian Fan | |
2018-09-18 | swaybar: rewrite i3bar protocol handling | Ian Fan | |
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. | |||
2018-09-18 | swaybar: rewrite protocol determination | Ian Fan | |
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). | |||
2018-09-18 | swaybar: rewrite text protocol handling | Ian Fan | |
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. | |||
2018-09-18 | swaybar: only create i3bar block hotspot if click events are enabled | Ian Fan | |
2018-09-18 | swaybar: send trailing comma with click event json | Ian Fan | |
2018-09-18 | swaybar: fix empty function prototypes | Ian Fan | |
2018-09-18 | swaybar: invalidate file descriptors upon closing | Ian Fan | |
2018-09-18 | swaybar: remove block links upon exit | Ian Fan | |
2018-09-17 | Merge pull request #2652 from emersion/swaybar-output-names | Brian Ashworth | |
swaybar: use output names instead of output indexes | |||
2018-09-17 | swaybar: use output names instead of output indexes | emersion | |
2018-09-17 | Merge pull request #2649 from wmww/fix-move-crash | emersion | |
Fix crash moving out of tab container | |||
2018-09-17 | Fix crash moving out of tab container | William Wold | |
2018-09-16 | Merge pull request #2637 from RyanDwyer/fix-tabbed-workspace-shenanigans | Drew DeVault | |
Make seat_get_active_child ignore floating children | |||
2018-09-16 | Merge pull request #2641 from marienz/inhibit-crash | Drew DeVault | |
Fix crash when an idle-inhibiting client exits | |||
2018-09-16 | Fix crash when destroying an idle-inhibiting client | Marien Zwart | |
When destroying an idle-inhibiting client, idle_inhibit_v1_check_active can get called from transaction_progress_queue on a view with a null container. view_is_visible does not handle a view in this state. |