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

akrennmair / newsbeuter / 843
60%

Build:
DEFAULT BRANCH: master
Ran 06 Feb 2017 05:37PM UTC
Jobs 9
Files 129
Run time 95min
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
843

push

travis-ci

Minoru
Mark item unread when it's passed to external pager

This might look like laziness, but it isn't. Even though the very same
code appears at the beginning of
itemview_formaction::process_operation(), it's really not possible to
factor it out without making bigger changes.

The block at the beginning of process_operation() is there to ensure
that no matter what commands user issues, the item that appeared in the
itemview will be marked read. This became important when things like "go
to next", "go to previous" and "go to next unread" were implemented;
since itemview isn't re-created in these cases, it was impossible to
mark article read in OP_QUIT handler. To avoid sticking
mark_unread(false) into numerous operation handlers, Andreas apparently
decided to do it every time an operation is handled (see
eca8e0c41).

This means that mark_unread(false) can't be pulled further up the stack
and into view::push_itemview(). In turn, that means that for this
change, we had to copy-and-paste the code that marks the item read.

Fixes #495.

4314 of 13350 relevant lines covered (32.31%)

834.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 843.1 (COMPILER=g++-4.9 GCOV=/usr/bin/gcov-4.9) 06 Feb 2017 05:48PM UTC 0
31.03
Travis Job 843.1
2 843.2 (COMPILER=g++-5 GCOV=/usr/bin/gcov-5) 06 Feb 2017 05:46PM UTC 0
31.14
Travis Job 843.2
3 843.3 (COMPILER=g++-6 GCOV=/usr/bin/gcov-6) 06 Feb 2017 05:43PM UTC 0
31.79
Travis Job 843.3
4 843.4 (COMPILER=clang++-3.6 GCOV=/usr/bin/gcov) 06 Feb 2017 05:37PM UTC 0
30.18
Travis Job 843.4
5 843.5 (COMPILER=clang++-3.7 GCOV=/usr/bin/gcov) 06 Feb 2017 05:43PM UTC 0
31.69
Travis Job 843.5
6 843.6 (COMPILER=clang++-3.8 GCOV=/usr/bin/gcov) 06 Feb 2017 05:44PM UTC 0
31.69
Travis Job 843.6
7 843.7 (COMPILER=g++ GCOV=/usr/bin/gcov XML_CATALOG_FILES=/usr/local/etc/xml/catalog) 06 Feb 2017 07:12PM UTC 0
31.83
Travis Job 843.7
8 843.8 (COMPILER=clang++ GCOV=/usr/bin/gcov XML_CATALOG_FILES=/usr/local/etc/xml/catalog) 06 Feb 2017 07:11PM UTC 0
31.83
Travis Job 843.8
10 843.10 (COMPILER=clang++-4.0 GCOV=/usr/bin/gcov) 06 Feb 2017 06:02PM UTC 0
31.69
Travis Job 843.10
Source Files on build 843
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #843
  • c884d49f on github
  • Prev Build on master (#842)
  • Next Build on master (#845)
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