1. 25 Sep, 2015 2 commits
  2. 24 Sep, 2015 2 commits
  3. 23 Sep, 2015 3 commits
  4. 22 Sep, 2015 1 commit
  5. 18 Sep, 2015 3 commits
  6. 28 Aug, 2015 1 commit
  7. 27 Aug, 2015 2 commits
    • Laurent Montel's avatar
      Merge remote-tracking branch 'origin/master' into frameworks · c3decc55
      Laurent Montel authored
      Conflicts:
      	CMakeLists.txt
      	ui/pageview.cpp
      c3decc55
    • Jake Linder's avatar
      Add "Trim To Selection" feature · 172d78c6
      Jake Linder authored and Albert Astals Cid's avatar Albert Astals Cid committed
      Changes
      
      C1. Added submenu, moved "Trim margins" (TM mode) to it and added  "Trim To Selection" (TS mode).
      C2. Activating "Trim To selection" enters a new mousemode, similar to RectSelect for defining a viewport.
      C3. Once a viewport has been defined, it serves as a viewport for all pages in the document.
      C4. Left/Right pages are not treated differently.
      
      Manual Testing
      
      T1. Switching between modes enforces at most one active.
      T2. Can deactivate a mode by selecting it again from the menu.
      T3. When draggin bbox selection, clicking outside page does not crash.
      T4. When in "Facing Pages" mode, mouse release must be over any page (or is ignored).
      T5. Normalized bbox coords are computed relative to page indicated by point of mouse release.
      T6. Behave as expected when switching between any pair of No Trim/Trim Margins/Trim To Selection.
      T7. TM mode persisted across app restarts (existing behavior).
      T8. TS mode forgotten across app restarts (as desired).
      T9. Exiting and reselectin "Trim To Selection" prompts for new bbox.
      T10. Choosing a small Trim bbox enforces minimium dimensions size (As percentag of total), as
      it does in TM mode, because of the "scale big and crop down" implementation, to avoid huge pixmaps.
      TS mode minimum set at 20% (vs. TM mode's 50%).
      
      REVIEW: 124716
      BUGS: 351156
      172d78c6
  8. 26 Aug, 2015 1 commit
  9. 25 Aug, 2015 2 commits
    • Jan Kundrát's avatar
      Fix picking of different view modes · cf513f3d
      Jan Kundrát authored and Albert Astals Cid's avatar Albert Astals Cid committed
      This was broken since commit 077689c4 when this got ported away from
      KAction. The code attempted to add a parent QMenu to the QAction
      instances nested below that parent. I'm quite surprised that it didn't
      crash, but checkable actions do not go well with actions that have
      nested menus, apparently.
      
      I haven't checked the rest of the code for similar mistakes, but I don't
      see any other case of this bug in Okular's menus when reading PDFs.
      
      REVIEW: 124842
      cf513f3d
    • Tobias Koenig's avatar
      Implement eraser tool for presentation view · b44d70a6
      Tobias Koenig authored
      Extend the drawing tool section in top bar with an eraser tool,
      which removes parts of the lines that have been drawn before.
      
      FEATURE: 343774
      REVIEW: 124689
      b44d70a6
  10. 24 Aug, 2015 1 commit
  11. 22 Aug, 2015 2 commits
  12. 20 Aug, 2015 1 commit
  13. 19 Aug, 2015 4 commits
  14. 18 Aug, 2015 3 commits
  15. 16 Aug, 2015 1 commit
  16. 15 Aug, 2015 4 commits
  17. 14 Aug, 2015 1 commit
  18. 12 Aug, 2015 2 commits
  19. 11 Aug, 2015 2 commits
  20. 05 Aug, 2015 2 commits