aboutsummaryrefslogtreecommitdiff
path: root/include/stringop.h
AgeCommit message (Collapse)Author
2018-11-12Use #if instead of #ifdef for WLR_HAS_*emersion
2018-09-01Allow reload command to exist anywhere in the command stringRyan Dwyer
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 functionsRyan Dwyer
* 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.Mikkel Oscar Lyderik
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-21stringop: lenient_strcmp: Add.S. Christoffer Eliesen
2015-11-12We don't need to implement strdupDrew DeVault
After defining _GNU_SOURCE
2015-09-18merge + no c_extensionstaiyu
2015-09-18Fix warnings introduced by prior commitDrew DeVault
2015-09-14multi command keybindstaiyu
2015-09-13Revert "new_workspace null behavior + testmap functions + regex"Drew DeVault
This reverts commit e1d18e42a8f3a597b9bf5f1bb2ab6c346e4e7983. Fixes #180 cc @taiyu-len
2015-09-12new_workspace null behavior + testmap functions + regextaiyu
2015-09-07config modestaiyu
2015-08-23split_string memory leaks cleaneduptaiyu
2015-08-20added IPC messages get_workspaces and get_outputsminus
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"Drew DeVault
This reverts commit abd0afb03a2929931cb684e5aaeac312affe6e5f.
2015-08-18enhanced whitespace removertaiyu
2015-08-16Move headers to include/Drew DeVault