summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-06-04Makefile: replace - with . in $(VERSION)Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-04remove dependency on curl binaryFlorian Pritz4-72/+69
fb-upload is now called fb-helper which supports downloading and uploading Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-06-03print errors to stderrFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-06-03print an error if -t is used when operating on stdinFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-06-03fix indentation in help messageFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-06-03display error when calling -d or -g without IDFlorian Pritz1-1/+4
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-06-03simplify curl callsFlorian Pritz1-6/+2
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-06-03move -d and -g codeFlorian Pritz1-12/+16
If these switches are present and there are no arguments the program should exit and not try to upload stdin. Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-06-03clarify -d and -g usageFlorian Pritz2-4/+4
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-13time out after 30 sec of stalled uploadv0.7.3Florian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-06don't clear line when printing errorsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-05-06handle libcurl errorsFlorian Pritz1-1/+11
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-04-19fix segfault in format_bytesv0.7.2Florian Pritz1-2/+13
0 or very big values can cause unwanted behavior so fall back to the highest suffix for big ones or to bytes for small ones. Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-04-11add missing file to dist tarballv0.7.1Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-04-10don't run xclip if $CLIPBOARD is emptyv0.7Florian Pritz1-1/+3
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-04-10use type to determine if xclip is availableFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-03-23rename fb.c.in -> fb-upload.c.inFlorian Pritz3-7/+7
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-03-23switch license to GPLv3Florian Pritz3-10/+682
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-03-21fall back to curl if fb-upload is unavailableFlorian Pritz1-3/+21
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-03-21fb.pod: add a pipe exampleFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-03-21fb.pod: rewordFlorian Pritz1-5/+5
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-03-21fb.c: fix cleanup of progressFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-03-20add .PHONY target to makefileFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-03-20use helper script instead of curl for uploadingFlorian Pritz4-20/+225
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-03-10check if the target file existsFlorian Pritz1-0/+7
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-02fix unexpected operator error in dashv0.6.8.6Florian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-02fix whitespace errors in manpageFlorian Pritz1-6/+6
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-02add support for URLs to -g and -dFlorian Pritz2-0/+12
Try to extract the ID from URLs like http://paste.xinu.at/1234/ Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-02fix position of -t in usageFlorian Pritz2-5/+5
-ct works and compresses the created tarball so -t should be listed under options. Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-02-02fix whitespaces in the help messageFlorian Pritz1-14/+14
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-01-22use --dirty in the versionFlorian Pritz1-1/+1
This add -dirty to the version string if the working copy has been modified. Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2010-12-30fix uploading of filenames containing a commaFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-11-17Switch indentation to tabsFlorian Pritz1-112/+114
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-30Merge branch 'release_changes'Florian Pritz3-10/+12
2010-10-30add help message for -vFlorian Pritz2-0/+4
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-29change the way we generate dist tarballsFlorian Pritz3-10/+12
This no longer displays (git) errors if you use the release tarball. It also adds a make target for fb in order to get rid of the git checking inside fb. Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-29add -v (version) optionFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-29fix handling of files beginning with a dash (-)v0.6.8.5Florian Pritz1-10/+10
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24fix typo in manpageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24add netrc info to manpageFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24add MANDIR/BINDIR; remove license install; fix VERSION callFlorian Pritz1-7/+7
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24add version targetv0.6.8.4Florian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24add .gitignoreFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24add dist target; get version from git tagsFlorian Pritz2-6/+20
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24release 0.6.8.3v0.6.8.3Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24reduce memory consumption when uploadingFlorian Pritz1-3/+11
Pipeing the file to curl causes curl to store it in memory until it recieves an EOF. Therefore we should only use a pipe if we can't upload dynamic files. Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-24fix uploading of dynamic filesv0.6.8.2Florian Pritz1-2/+2
curl is unable to determine the size of dynamic files like /proc/cpuinfo because they are only stored in memory and dynamically generated when read. Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-23release 0.6.8.1v0.6.8.1Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-23add COPYING to MakefileFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xssn.at>
2010-10-23add licenseFlorian Pritz1-0/+13
Signed-off-by: Florian Pritz <bluewind@xssn.at>