• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

darnir / wget2 / 97
65%
master: 67%

Build:
Build:
LAST BUILD BRANCH: tmp-fix-copyrights
DEFAULT BRANCH: master
Ran 03 Oct 2016 02:37PM UTC
Jobs 1
Files 67
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
97

push

travis-ci

darnir
Cleaner API for progress bar within libwget

* include/wget/wget.h (_wget_bar_ctx): Remove unused elements
expected_size and filename. Rename slotpos to _slotpos to reflect that
it should not be used by the client.
* include/wget/wget.h: Remove declaration for old API functions
bar_register and bar_deregister. Define declarations for
wget_bar_slot_begin, wget_bar_slot_register and
wget_bar_slot_deregister.
* libwget/bar.c (_bar_slot_status_t): Define new enum to store the
status of a slot of the progress bar.
  (_bar_slot_t): Remove unused element last_ctx. Also, define slot
  elements: filename, file_size, bytes_downloaded and status.
  (wget_bar_slot_begin): Define new function. Invoked when the client
  has started downloading a new file.
  (wget_bar_slot_register): New function to register a new file in a
  progress bar slot.
  (wget_bar_deregister): Remove old function
  (wget_bar_slot_deregister): New function, called after file has
  finished downloading. Successfully or unsuccessfully.
  (wget_bar_deregister): Remove old function
  (_bar_set_progress): last_ctx is no longer used. Instead data is
  stored within the slot struct itself
  (_bar_update_slot): Same
  (_bar_print_final): Same
  (wget_bar_deinit): Free the filename stored in the slot
* src/bar.c: Edit to reflect the changes in libwget API
* src/wget.c (_get_header): Same
  (http_send_request): Same
  (http_receive_response): Same
* src/wget_bar.h: Same

5515 of 8459 relevant lines covered (65.2%)

3452.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 97.1 03 Oct 2016 02:37PM UTC 0
65.2
Travis Job 97.1
Source Files on build 97
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #97
  • 490177a2 on github
  • Next Build on refactor-progressbar (#101)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc