aboutsummaryrefslogtreecommitdiff
path: root/include/stringop.h
AgeCommit message (Collapse)AuthorLines
2019-01-17stringop.c: remove unused functionsFurkan Sahin-13/+0
The only use of `join_list` in swaybar/tray/icon.c has been rewritten.
2018-12-09stringop.c: rewrite strip_whitespaceFurkan Sahin-4/+1
2018-12-09list.c: rename free_flat_list to list_free_items_and_destroyFurkan Sahin-1/+1
2018-12-08list.c: Remove list_foreachFurkan Sahin-1/+0
Most occurrences have been replaced by `free_flat_list` which has been moved from stringop.c to list.c. The rest have been replaced by for loops.
2018-11-12Use #if instead of #ifdef for WLR_HAS_*Furkan Sahin-6/+1
2018-09-01Allow reload command to exist anywhere in the command stringFurkan Sahin-0/+2
This fixes a crash if you have commands where reload appears in the middle or at the end, such as `bindsym r mode default, reload`.
2018-05-25Clean up container title functionsFurkan Sahin-0/+5
* Add and use lenient_strcat and lenient_strncat functions * Rename `concatenate_child_titles` function as that's no longer what it does * Rename `container_notify_child_title_changed` because we only need to notify that the tree structure has changed, not titles * Don't notify parents when a child changes its title * Update ancestor titles when changing a container's layout * Eg. create nested tabs and change the inner container to stacking * No need to store tree presentation in both container->name and formatted_title
2016-01-25Add quotes to multiword arguments.Furkan Sahin-0/+5
This adds quotes around multiword arguments before they are passed to `/bin/sh -c` in an exec command. Example: I connect to irc like this: exec termite -e "mosh server tmux a" Without this patch the arguments are passed to sh as: termite -e mosh server tmux a When it should be: termite -e "mosh server tmux a" For the command to work.
2015-11-19stringop: lenient_strcmp: Add.Furkan Sahin-0/+3
2015-11-12We don't need to implement strdupFurkan Sahin-1/+0
After defining _GNU_SOURCE
2015-09-18merge + no c_extensionsFurkan Sahin-1/+6
2015-09-18Fix warnings introduced by prior commitFurkan Sahin-0/+5
2015-09-14multi command keybindsFurkan Sahin-0/+6
2015-09-13Revert "new_workspace null behavior + testmap functions + regex"Furkan Sahin-1/+1
This reverts commit cd07f33804543295e9bd3e1dff141412608bd45c. Fixes #180 cc @taiyu-len
2015-09-12new_workspace null behavior + testmap functions + regexFurkan Sahin-1/+1
2015-09-07config modesFurkan Sahin-2/+10
2015-08-23split_string memory leaks cleanedupFurkan Sahin-0/+3
2015-08-20added IPC messages get_workspaces and get_outputsFurkan Sahin-0/+1
No escaping on container names is done yet, as well as some values are hardcoded because they don't exist yet.
2015-08-18Revert "enhanced whitespace remover"Furkan Sahin-2/+2
This reverts commit f9b0f38c29ecad27f0215c831b33c78d29e1a7d1.
2015-08-18enhanced whitespace removerFurkan Sahin-2/+2
2015-08-16Move headers to include/Furkan Sahin-0/+14