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

akrennmair / newsbeuter / 843 / 7
60%
master: 60%

Build:
DEFAULT BRANCH: master
Ran 06 Feb 2017 07:12PM UTC
Files 129
Run time 7s
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

06 Feb 2017 05:19PM UTC coverage: 31.828% (-0.02%) from 31.851%
COMPILER=g++ GCOV=/usr/bin/gcov XML_CATALOG_FILES=/usr/local/etc/xml/catalog

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.

3925 of 12332 relevant lines covered (31.83%)

114.44 hits per line

Source Files on job 843.7 (COMPILER=g++ GCOV=/usr/bin/gcov XML_CATALOG_FILES=/usr/local/etc/xml/catalog)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 843
  • Travis Job 843.7
  • c884d49f on github
  • Prev Job for COMPILER=g++ GCOV=/usr/bin/gcov XML_CATALOG_FILES=/usr/local/etc/xml/catalog on master (#842.7)
  • Next Job for COMPILER=g++ GCOV=/usr/bin/gcov XML_CATALOG_FILES=/usr/local/etc/xml/catalog on master (#845.7)
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