Commits

Author Commit Message Labels Comments Date
Peter Hosey
Create a CFString unconditionally for the argument to --type.
Peter Hosey
Two, two, two changes in one:
Peter Hosey
Removed the translate-newlines feature. The pasteboard system does this automatically when you work with the com.apple.traditional-mac-plain-text type; for all other text types, you can just hook pb up to tr or sed if you really want or need to convert line breaks.
Peter Hosey
Changed the paste subcommand to use the argblock to store the output filename.
Peter Hosey
Amended the copy subcommand's implementation to set pbptr->filename when it receives a filename as one of its arguments.
Peter Hosey
When using --in-file or --out-file, put the filename into the argblock.
Peter Hosey
Added .hgignore.
Peter Hosey
Added tag 1.0b1 for changeset cadc13ff41fa
Peter Hosey
Close any valid FDs at the end, not only FDs we opened. It won't break anything, and may result in a pipe that another process is waiting on getting closed that tiny bit sooner.
Tags
1.0b1
Peter Hosey
Updated grammar, year, and the name I'm publishing this under.
Peter Hosey
Updated version number.
Peter Hosey
Removed this debug log statement, which we no longer need.
Peter Hosey
Apple's File-System Performance Guidelines recommend against file-mapping for our use case (one sequential read of the entire file). We now read unconditionally.
Peter Hosey
Cutting the paste-growl feature. Seriously, who would use that?
Peter Hosey
Xcode 3 project changes.
Peter Hosey
Don't ever pass -1 as input or output FDs to the subcommands. Fixes implicit paste.
boredzo
Recolumnarized, following previous commit.
boredzo
Renamed endofoptions endofflags. This is a more accurate description of its function.
boredzo
Only translate newlines for MacRoman, not just any text format.
boredzo
Fixed -t and -f.
boredzo
compare_argument really should return a status code when a short or long option has been encountered.
boredzo
Fixed arg-parsing bugs. “pb paste public.png xterm.png” works now.
boredzo
Bug fix: Long options were being missed. Fixed flow; now they won't be.
boredzo
Redefining error result codes to not intersect with non-error result codes.
boredzo
Corrected comment.
boredzo
Added out_args_consumed argument to compare_argument. pb now uses this to decrement its argc.
boredzo
Fixed compile error: These are members of the “flags” sub-struct, not struct argblock itself.
boredzo
Changed over to compare_arguments from strncmp.
boredzo
More documentation.
boredzo
Added an output argument for receiving the subarray of argv after the consumed arguments.
  1. Prev
  2. Next