aboutsummaryrefslogtreecommitdiff
path: root/paste.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master'Thomas Adam2015-04-19
|\
| * When replacing, don't free the old paste until after the new one's namenicm2015-04-07
| | | | | | | | | | has been copied. Fixes a use-after-free in window-copy.c. Bug reported by J Raynor (who also provided a different fix).
* | Merge branch 'obsd-master'Thomas Adam2014-11-09
|\|
| * Tidy up mode-mouse check.nicm2014-11-05
| |
* | No need for $Id$ now.Nicholas Marriott2014-11-08
| |
* | Merge branch 'obsd-master'Thomas Adam2014-10-21
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile cmd-list-commands.c cmd-suspend-client.c job.c tmux.h xmalloc.c
| * Add xreallocarray and remove nmemb argument from xrealloc.nicm2014-10-08
| |
| * Use xrealloc(NULL, n, m) instead of xmalloc(n * m) to get overflownicm2014-10-08
| | | | | | | | check.
* | Merge branch 'obsd-master'Thomas Adam2014-09-25
|\|
| * Various minor style and spacing nits.nicm2014-09-01
| |
| * Don't allow pasting into input-disabled panes, from Anish R Athalye.nicm2014-08-25
| |
* | Merge branch 'obsd-master'Thomas Adam2014-08-09
|\| | | | | | | | | Conflicts: client.c
| * Comment style nits.nicm2014-06-20
| |
* | Merge branch 'obsd-master'Thomas Adam2014-06-20
|\|
| * Don't allow multiple buffers with the same name, from Thomas Adam.nicm2014-05-13
| |
* | Merge branch 'obsd-master'Thomas Adam2014-05-13
|\| | | | | | | | | | | Conflicts: format.c window.c
| * Add support for named buffers. If you don't name a buffer, things worknicm2014-05-13
| | | | | | | | | | | | | | | | much as before - buffers are automatically named "buffer0000", "buffer0001" and so on and ordered as a stack. Buffers can be named explicitly when creating ("loadb -b foo" etc) or renamed ("setb -b buffer0000 -n foo"). If buffers are named explicitly, they are not deleted when buffer-limit is reached. Diff from J Raynor.
* | Merge branch 'obsd-master'Thomas Adam2014-04-24
|\|
| * There is no longer a need for a paste_stack struct or for global_buffersnicm2014-04-24
| | | | | | | | to be global. Move to paste.c.
* | Merge branch 'obsd-master'Thomas Adam2014-04-05
|\| | | | | | | | | | | Conflicts: Makefile tty-keys.c
| * Support UTF-8 with choose-buffer, from Kosuke ASAMI. Also makenicm2014-04-02
| | | | | | | | buffer_sample bigger to let it trim at window right edge.
| * Add setb -a to append and a copy mode append command, from J Raynor withnicm2014-03-31
| | | | | | | | minor changes.
* | Add setb -a to append and a copy mode append command, from J Raynor with minorNicholas Marriott2014-03-06
| | | | | | | | changes.
* | Merge branch 'obsd-master'Thomas Adam2014-02-19
|\|
| * Fix memory leaks with paste_replace, based on changes from J Raynor.nicm2014-02-17
| |
* | Merge branch 'obsd-master'Thomas Adam2012-11-27
|\| | | | | | | Sync from OpenBSD.
| * Support middle-click paste, based on a diff from Ailin Nemui.Nicholas Marriott2012-11-27
| |
| * Trivial code simplification from Tim Ruehsen.Nicholas Marriott2012-09-04
| |
| * xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott2012-07-10
| |
| * Style: uint -> u_int and a missing else.Nicholas Marriott2011-03-28
| |
| * Change from a per-session stack of buffers to one global stack which isNicholas Marriott2010-12-30
| | | | | | | | | | | | | | much more convenient and also simplifies lot of code. This renders copy-buffer useless and makes buffer-limit now a server option. By Tiago Cunha.
| * Add a choose-buffer command for easier use of the paste buffer stack.Nicholas Marriott2010-06-21
| |
| * Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott2009-12-03
| | | | | | | | | | time now I've configured emacs to make them displayed in really annoying colours...
| * Tidy up various bits of the paste code, make the data buffer char * and addNicholas Marriott2009-11-26
| | | | | | | | comments.
| * tv member of struct paste_buffer is updated but not otherwise used, so removeNicholas Marriott2009-11-03
| | | | | | | | it.
| * Regularise some fatal messages.Nicholas Marriott2009-09-20
| |
| * Give each paste buffer a size member instead of requiring them to beNicholas Marriott2009-09-07
| | | | | | | | zero-terminated.
| * Don't leak when rollling buffers off when the paste buffer limit is reached.Nicholas Marriott2009-07-30
| |
| * Fix two copy/paste bugs: forbid zero-length buffers to prevent a fatal errorNicholas Marriott2009-07-02
| | | | | | | | | | | | | | when trying to paste them, found by me, and miscalculation of the start/end causing random fatal errors when copying in copy-mode, reported by sthen. ok sthen "put it in" deraadt
| * Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott2009-06-01
| | | | | | | terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti
* Trivial code simplification from Tim Ruehsen.Nicholas Marriott2012-09-04
|
* Sync OpenBSD patchset 1150:Tiago Cunha2012-07-11
| | | | | xfree is not particularly helpful, remove it. From Thomas Adam.
* Expand the Id keyword. Tiago Cunha2011-07-09
|
* |PatchSet 873Nicholas Marriott2011-04-06
| | | | | | | | | | |Date: 2011/03/28 20:44:31 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |Style: uint -> u_int and a missing else.
* Global paste buffers instead of per-session which renders copy-buffer useless.Tiago Cunha2010-12-30
| | | | | As a consequence buffer-limit is now a server option.
* Nuke vis.h.Tiago Cunha2010-06-22
|
* Sync OpenBSD patchset 726:Tiago Cunha2010-06-22
| | | | | Add a choose-buffer command for easier use of the paste buffer stack.
* Sync OpenBSD patchset 581:Tiago Cunha2009-12-04
| | | | | | | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
* Sync OpenBSD patchset 569:Tiago Cunha2009-11-28
| | | | | | Tidy up various bits of the paste code, make the data buffer char * and add comments.
* Sync OpenBSD patchset 482:Tiago Cunha2009-11-04
| | | | | | tv member of struct paste_buffer is updated but not otherwise used, so remove it.