summaryrefslogtreecommitdiff
path: root/src/tool_cb_prg.h
Commit message (Collapse)AuthorAgeFilesLines
* whitespace fixesViktor Szakats2018-09-231-1/+0
| | | | | | | | | | | - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
* curl: progress bar refresh, get width using ioctl()Daniel Stenberg2018-01-221-1/+4
| | | | | | | | | | | | | Get screen width from the environment variable COLUMNS first, if set. If not, use ioctl(). If nether works, assume 79. Closes #2242 The "refresh" is for the -# output when no total transfer size is known. It will now only use a single updated line even for this case: The "-=O=-" ship moves when data is transferred. The four flying "hashes" move (on a sine wave) on each refresh, independent of data.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* tool_cfgable: Renamed Configurable structure to OperationConfigSteve Holme2014-02-231-2/+2
| | | | | To allow for the addition of a global config structure and prevent confusion between the two.
* tool: use XFERFUNCTION to save some castsDave Reisner2013-10-151-2/+2
|
* curl: --progress-bar max update frequency now at 5HzDaniel Stenberg2013-07-311-1/+1
|
* curl: make --progress-bar update the line less frequentlyDaniel Stenberg2013-07-311-1/+2
| | | | | | | | | | | | Also, use memset() instead of a lame loop. The previous logic that tried to avoid too many updates were very ineffective for really fast transfers, as then it could easily end up doing hundreds of updates per second that would make a significant impact in transfer performance! Bug: http://curl.haxx.se/mail/archive-2013-07/0031.html Reported-by: Marc Doughty
* curl tool: use configuration files from lib directoryYang Tse2012-04-061-2/+2
| | | | | | | | | | | Configuration files such as curl_config.h and all config-*.h no longer exist nor are generated/copied into 'src' directory, now these only exist in 'lib' directory from where curl tool sources uses them. Additionally old src/setup.h has been refactored into src/tool_setup.h which now pulls lib/setup.h The possibility of a makefile needing an include path adjustment exists.
* curl tool: reviewed code moved to tool_*.[ch] filesYang Tse2011-09-241-0/+49