1. 29 Aug, 2018 2 commits
  2. 06 Apr, 2018 1 commit
    • Albert Astals Cid's avatar
      Make Object return const GooString pointer · a8e93f46
      Albert Astals Cid authored
      This helps making sure noone is changing strings that belong to objects without us realizing.
      
      In fact noone was doing except an ifdef for windows, fixed it to not modify the dict contents anymore
      a8e93f46
  3. 18 Mar, 2018 1 commit
  4. 02 Feb, 2018 1 commit
  5. 14 Jan, 2018 1 commit
  6. 09 Jan, 2018 1 commit
  7. 08 Jan, 2018 1 commit
  8. 04 Jan, 2018 1 commit
    • Adrian Johnson's avatar
      Fix some bugs in StructTreeRoot parsing of parent tree · 32153825
      Adrian Johnson authored
      - Add support for parsing child nodes in the number tree
      - Number tree keys do not have to be consecutive numbers. Use
        map instead of vector for parentTree.
      - Due to performance impact of iterating a map instead of
        vector in parentTreeAdd, add a reverse mapping from Ref
        to parentTree.
      - Add mcid parameter to findParentElement() to enable finding
        the parent when there are multiple MCIDs on the same page.
      - Move RefCompare from pdfinfo.cc to Object.h so it can be
        used by other files.
      
      Bug #103912
      32153825
  9. 15 Nov, 2017 1 commit
    • Adrian Johnson's avatar
      Support unicode on windows console · a6dd3f95
      Adrian Johnson authored
      The Win32Console should be used in programs that require unicode
      support for command line arguments and stdio ouput on windows. On
      windows it gets the command line arguments from GetCommandLineW and
      converts to UTF-8, and redefines the stdio output functions to convert
      UTF-8 to calls to WriteConsoleW. On other platforms this class is a
      no-op.
      a6dd3f95
  10. 16 Sep, 2017 1 commit
  11. 13 Sep, 2017 1 commit
  12. 03 Sep, 2017 1 commit
  13. 02 Sep, 2017 4 commits
  14. 15 Aug, 2017 1 commit
  15. 08 May, 2017 1 commit
    • Albert Astals Cid's avatar
      New Object API · 9773c153
      Albert Astals Cid authored
      Implement the move operators and copy construtor
      
      Almost all the init() functions are gone and we just have simple
      constructors now
      
      Also made free() public since you're not supposed to call it anymore,
      unless you're being evil and malloc'ing Objects like Array/Dict/XRef
      
      This has a huge reaction chain, most importantly we
      don't get objects by passing a pointer Object parameter, we
      just get the object as a return value, which is a much clearer API
       -  aobj->copy(&obj);
       +  obj = aobj->copy();
      before I was never sure what was being copied into what
      
      Comes with a huge diff, I probably made some mistake in the porting
      since there was lots of copy & paste involved
      9773c153
  16. 27 Sep, 2016 1 commit
  17. 17 Sep, 2016 1 commit
  18. 06 Sep, 2016 1 commit
  19. 13 Jul, 2016 1 commit
  20. 16 Jun, 2016 1 commit
  21. 13 Jun, 2016 1 commit
  22. 06 Jun, 2016 2 commits
  23. 01 Jun, 2016 1 commit
    • Albert Astals Cid's avatar
      pdfinto: Fix memory leak · bc6eb287
      Albert Astals Cid authored
      It's not very critial that pdfinfo does not leak, but it's nice
      to have no leaks so one can run ASAN over a file and see if something is wrong or not
      bc6eb287
  24. 01 Mar, 2016 1 commit
  25. 26 Nov, 2013 1 commit
  26. 24 Aug, 2013 3 commits
  27. 16 Aug, 2013 2 commits
  28. 01 Aug, 2013 1 commit
  29. 06 Feb, 2013 1 commit
  30. 25 Jan, 2013 3 commits