summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-load-buffer.c
AgeCommit message (Expand)Author
2022-06-09If an application gives the first parameter to OSC 52, validate and passNicholas Marriott
2021-08-21Add args parsing callback for some future work, currently unused.Nicholas Marriott
2021-08-20Hide struct args behind a couple of accessor functions.Nicholas Marriott
2020-09-04calloc cb data so the client is NULL.Nicholas Marriott
2020-09-02Add a -w flag to set- and load-buffer to send to clipboard using OSC 52.Nicholas Marriott
2020-04-13Make client -c and -t handling common in cmd-queue.c and try to beNicholas Marriott
2020-04-13Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsNicholas Marriott
2020-04-13Make struct cmd local to cmd.c and move it out of tmux.h.Nicholas Marriott
2019-12-12Rewrite the code for reading and writing files. Now, if the client isNicholas Marriott
2019-06-18Add a cmdq_continue function rather than twiddling the flag directly.Nicholas Marriott
2019-06-13Use the right client when working out where to save or load the buffer,Nicholas Marriott
2018-08-27Memory leaks, from Gang Fan in GitHub issue 1453.Nicholas Marriott
2018-07-31Do not leak path or use it after free.Nicholas Marriott
2018-07-11Expand formats in load-buffer and save-buffer.Nicholas Marriott
2018-01-15Some unused code, GitHub issue 1219.Nicholas Marriott
2017-04-22Memory leaks, from David CARLIER.Nicholas Marriott
2017-02-14Make source-file look for files relative to the client working directoryNicholas Marriott
2017-01-06Nits found with clang.Nicholas Marriott
2016-10-26Buffer name can be NULL, check before strdup().Nicholas Marriott
2016-10-16Mass rename struct cmd_q to struct cmdq_item and related.Nicholas Marriott
2016-10-16Rewrite command queue handling. Each client still has a command queue,Nicholas Marriott
2016-10-14Add CMD_AFTERHOOK flag to the easy commands that don't need any special handl...Nicholas Marriott
2016-10-10Add static in cmd-* and fix a few other nits.Nicholas Marriott
2016-03-05Do not use c->cwd or s->cwd if it is NULL, found by Ben Boeckel.Nicholas Marriott
2015-12-13Use member names in cmd_entry definitions so I stop getting confusedNicholas Marriott
2015-12-13Instead of every command resolving the target (-t or -s) itself, prepareNicholas Marriott
2015-11-14Push stdout and stderr to clients more aggressively, and add an event toNicholas Marriott
2015-11-12If we know the terminal outside tmux is not UTF-8, replace UTF-8 inNicholas Marriott
2015-11-10If realpath() fails just try the original path.Nicholas Marriott
2015-11-10Handle absolute paths properly, and don't use resolved path inNicholas Marriott
2015-10-31Because pledge(2) does not allow us to pass directory file descriptorsNicholas Marriott
2015-06-05Change deref to the more sensible unref, and add a couple I missed before.Nicholas Marriott
2015-06-05Instead of putting dead clients on a list and checking it every loop,Nicholas Marriott
2015-04-27Rewrite of the target resolution internals to be simpler and moreNicholas Marriott
2014-10-20Instead of setting up the default keys by building the key structNicholas Marriott
2014-09-01Various minor style and spacing nits.Nicholas Marriott
2014-05-13Add support for named buffers. If you don't name a buffer, things workNicholas Marriott
2014-04-24There is no longer a need for a paste_stack struct or for global_buffersNicholas Marriott
2014-02-17Fix memory leaks with paste_replace, based on changes from J Raynor.Nicholas Marriott
2014-02-14Style nit - no space between function name and bracket.Nicholas Marriott
2013-10-10Alter how tmux handles the working directory to internally use fileNicholas Marriott
2013-10-10Remove the barely-used and unnecessary command check() function.Nicholas Marriott
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott
2012-07-11Make command exec functions return an enum rather than -1/0/1 values andNicholas Marriott
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-05-21Instead of passing stdin/stdout/stderr file descriptors over imsg andNicholas Marriott
2011-10-23Try to resolve relative paths for loadb and saveb (first using clientNicholas Marriott
2011-10-23Plug a memory leak and update some comments, from Tiago Cunha.Nicholas Marriott
2011-05-18Use xfree not free, from Tiago Cunha.Nicholas Marriott
2011-01-04Clean up and simplify tmux command argument parsing.Nicholas Marriott