simon-git: xcopy (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Tue Nov 27 20:41:04 GMT 2018


TL;DR:
  50dc005 Fix copy-and-paste error.
  c3d8170 Automatically inhibit forking with --drop.
  adfba70 Add a -D option, for convenient filename drop.

Repository:     https://git.tartarus.org/simon/xcopy.git
On the web:     https://git.tartarus.org/?p=simon/xcopy.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2018-11-27 20:41:04

commit 50dc005b359a0af3ffc5a5bc4b3e46cf5e26dcf4
web diff https://git.tartarus.org/?p=simon/xcopy.git;a=commitdiff;h=50dc005b359a0af3ffc5a5bc4b3e46cf5e26dcf4;hp=8bf90504c4a1039ef62257d523ff5613c2679011
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Nov 27 20:24:32 2018 +0000

    Fix copy-and-paste error.

 xcopy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c3d81703dbcf02d51763bb821345084446141210
web diff https://git.tartarus.org/?p=simon/xcopy.git;a=commitdiff;h=c3d81703dbcf02d51763bb821345084446141210;hp=50dc005b359a0af3ffc5a5bc4b3e46cf5e26dcf4
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Nov 27 20:38:39 2018 +0000

    Automatically inhibit forking with --drop.
    
    I think it's generally more sensible that way.

 xcopy.c | 1 +
 1 file changed, 1 insertion(+)

commit adfba705323563a5b3f4a8a9e66aa9918402b8fd
web diff https://git.tartarus.org/?p=simon/xcopy.git;a=commitdiff;h=adfba705323563a5b3f4a8a9e66aa9918402b8fd;hp=c3d81703dbcf02d51763bb821345084446141210
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Nov 27 20:31:38 2018 +0000

    Add a -D option, for convenient filename drop.
    
    The bare --drop option is quite painful to use, and serves
    particularly badly the common case of wanting to drag and drop the
    full pathname of a file into something like Firefox or Thunderbird.
    
    So now there's a new option -D, which combines --drop (switch to the
    Xdnd negotiation protocol and inhibit forking) with -a (select the
    MIME type text/uri-list which accompanies a file:// URI in this
    situation), and also, instead of reading paste data from standard
    input, makes it up by URL-encoding realpath(option argument) and then
    appending CRLF.

 xcopy.but | 34 +++++++++++++++++++++++++++-------
 xcopy.c   | 52 +++++++++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 76 insertions(+), 10 deletions(-)



More information about the tartarus-commits mailing list