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

darnir / wget2 / 89
67%

Build:
DEFAULT BRANCH: master
Ran 27 Sep 2016 08:25PM UTC
Jobs 2
Files 67
Run time 33s
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
89

push

travis-ci

darnir
Support dynamic thread allocation in progress bar

* include/libwget.h.in: Add new function wget_bar_set_slots
* libwget/bar.c (_wget_bar_st): Add new struct member max_slots to store
the maximum number of slots of the progress bar
  (wget_bar_init): Initialize the memory for all the possible
progress_bars
  (wget_bar_set_slots): New function to modify the number of progress
slots at runtime. Can only increase the number of slots, not decrease.
* src/bar.c(bar_init): Remove unneeded variable lf. bar_init() is
invoked before any threads are created, hence do not print the required
newlines. This is now done by wget_bar_set_slots
  (bar_update_slots): Wget2 interface for libwget's wget_bar_set_slots
  (_error_write): Fix the position of acquiring the mutex. Don't make
  changes to the screen while some other progress bar function may be
  running
* src/bar.h: New function bar_update_slots
* src/wget.c: Create global variable nthreads.
  (downloader_thread): Update the number of progress bar slots
* src/wget.h: New global variable nthreads

5383 of 8456 relevant lines covered (63.66%)

3376.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 89.1 27 Sep 2016 08:25PM UTC 0
63.66
Travis Job 89.1
2 89.2 27 Sep 2016 08:25PM UTC 0
0.0
Travis Job 89.2
Source Files on build 89
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #89
  • f633c3c7 on github
  • Prev Build on master (#84)
  • Next Build on master (#90)
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