1. 24 Aug, 2017 1 commit
    • Julian Wolff's avatar
      add markdown support · 49313857
      Julian Wolff authored
      Summary:
      Adds support for Markdown documents
      
      BUG: 360603
      
      Test Plan: Open a Markdown (.md) document in Okular
      
      Reviewers: #okular, aacid
      
      Reviewed By: #okular, aacid
      
      Subscribers: michaelweghorn, aacid
      
      Tags: #okular
      
      Differential Revision: https://phabricator.kde.org/D7382
      49313857
  2. 20 Aug, 2017 2 commits
  3. 10 Aug, 2017 1 commit
    • Oliver Sander's avatar
      Print via QPrinter when rasterizing and printing annotations · 0c4c2ddb
      Oliver Sander authored
      When the user chooses to print with rasterization and annotations,
      it is easy to print directly to a QPrinter, rather than converting
      to PostScript and then using CUPS tools.  The code for it was
      already there, but it was hidden behind an #ifdef Q_OS_WIN.
      This patch enables it for all plattforms.  If nothing else,
      it will make an interesting debugging tool, because it allows
      to bypass the postscript & CUPS toolchain from the GUI.
      This may allow to track down some of the numerous my-printer-settings-
      are-getting-ignored bugs.
      
      The previously windows-only rasterization code used printer.physicalDpiX()
      as the rasterization resolution.  At least on my machine this resulted
      in a dpi value of 1200, which means quite a lot of memory is used.
      I left the windows code untouched, but on Unix I lowered that value
      to 300dpi, which is what the postscript rasterizer uses.
      
      Incidentally, this patch does fix at least one bug for me:
      Without it, my printer will happily ignore the 'print in grayscale'
      button.  With the patch, that button is suddenly honoured.
      
      REVIEW: 130218
      0c4c2ddb
  4. 08 Aug, 2017 3 commits
  5. 30 Jul, 2017 3 commits
  6. 28 Jul, 2017 6 commits
  7. 27 Jul, 2017 2 commits
  8. 17 Jul, 2017 4 commits
  9. 15 Jul, 2017 1 commit
  10. 13 Jul, 2017 1 commit
    • Marco Martin's avatar
      port to Kirigami 2 · caf8820c
      Marco Martin authored
      port kirigami 1 usage to kirigami 2
      partially port to QQC2 when possible
      (will need to wait newer qt versions for a full port waiting on
      icons on toolbuttons and the new ScrollView
      caf8820c
  11. 09 Jul, 2017 1 commit
  12. 08 Jul, 2017 1 commit
  13. 05 Jul, 2017 1 commit
    • Oliver Sander's avatar
      Simplify method FilePrinter::psPaperSize · 5fdbecf4
      Oliver Sander authored
      The method FilePrinter::psPaperSize used to contain a long
      list of hard-coded paper sizes for the different paper formats.
      This patch makes the method get the same information
      from QPrinter directly, which is much simpler and more
      robust, too.
      
      Note that the method is not actually used anywhere in okular,
      though, so this change is purely cosmetic.
      
      REVIEW: 130043
      5fdbecf4
  14. 02 Jul, 2017 2 commits
  15. 30 Jun, 2017 1 commit
  16. 20 Jun, 2017 2 commits
  17. 05 Jun, 2017 1 commit
  18. 02 Jun, 2017 1 commit
  19. 31 May, 2017 4 commits
  20. 21 May, 2017 2 commits