1. 11 Nov, 2018 3 commits
  2. 09 Nov, 2018 7 commits
  3. 08 Nov, 2018 1 commit
    • Albert Astals Cid's avatar
      qt5: Add -DQT_NO_SIGNALS_SLOTS_KEYWORDS · 54d00359
      Albert Astals Cid authored
      We don't have any signals or slots at the moment but add the keyword so
      if we ever add them it's using the Q_SIGNAL/Q_SLOT variant so we don't
      get collisions with other people that use signal/slot
      54d00359
  4. 07 Nov, 2018 2 commits
  5. 06 Nov, 2018 7 commits
  6. 03 Nov, 2018 4 commits
  7. 02 Nov, 2018 3 commits
    • Marek Kasik's avatar
      Avoid cycles in PDF parsing · 3d35d209
      Marek Kasik authored
      Mark objects being processed in Parser::makeStream() as being processed
      and check the mark when entering this method to avoid processing
      of the same object recursively.
      3d35d209
    • Albert Astals Cid's avatar
      Update (C) · 0c2cfbf9
      Albert Astals Cid authored
      0c2cfbf9
    • Nelson Benitez's avatar
      Form.cc: fix checkbox lacking /AP cannot change state · 91fa06ee
      Nelson Benitez authored
      When a checkbox had no /AP key (which is not mandatory)
      poppler was silently ignoring the setState() call that
      changes the checked/unchecked state.
      
      Fixed by using getOnStr() instead of accessing onStr
      directly, as the former has code in place to return
      correct values when the field is a checkbox and has
      no names for the On/Off states (as a result of not
      having the /AP key which could contain those names).
      
      A testcase is included. An example definition of an
      affected checkbox follows:
      
      /F 4
      /FT /Btn
      /H /P
      /MK /BC [1,0,0] /BG [1,1,1] /CA (4)
      /Q 0
      /Rect [235.277,654.247,249.224,668.194]
      /Subtype /Widget
      /T (basiccheckbox)
      /Type /Annot
      /V /Off
      
      Fixes issue #655
      91fa06ee
  8. 01 Nov, 2018 4 commits
  9. 31 Oct, 2018 4 commits
  10. 29 Oct, 2018 3 commits
    • Albert Astals Cid's avatar
      Fix crash if document is malformed (too wide) · 2d6ba9b1
      Albert Astals Cid authored
      oss-fuzz/11195
      2d6ba9b1
    • Albert Astals Cid's avatar
      Update (C) · a186b433
      Albert Astals Cid authored
      a186b433
    • Adam Reichold's avatar
      Replace the implementation of GooString by std::string but keep the exact interface intact. · 48877b91
      Adam Reichold authored
      The approach is slightly different to GooList as it reimplements GooString in terms of
      std::string but keeps its interface intact and does expose any std::string functionality
      as of now.
      
      This is done since GooString has a significantly larger API surface and exposing both API
      would be quite confusing with with some overloads from GooString and some from std::string
      being visible. But it does mean we can align the API (they are already pretty close) and
      expose new things like a reserve method piece by piece.
      
      It also already helps in that the implementation of GooString is gone except for the
      original parts, i.e. the formatting, and we have zero cost conversion from/to std::string
      which should help in making more use of it elsewhere. It also gives us do-nothing-access
      to optimizations done for the standard library, e.g. word-level implementations of
      cmp and friends.
      
      (Note that the resulting GooString.cc is a bit funny as the formatting helper are now
      local to the translation unit, but I had to redeclare them to keep the diff small as
      I did not change them at all. But if this is done, they could probably just be moved to
      where the declarations are to make the source file more readable.)
      48877b91
  11. 26 Oct, 2018 2 commits