Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 4,691
  • Compare
  • Branches 1
  • Tags 0
  • qpdf
  • libqpdf
  • QUtil.cc
27 Oct, 2020
1 commit
  • Improve efficiency of number to string conversion
    09bd1faf
    Jay Berkenbilt authored
    2020-10-27 11:57:48 -0400  
    Browse File »

21 Oct, 2020
1 commit
  • Protect numeric conversion against user's locale (fixes #459)
    98f6c00d
    Jay Berkenbilt authored
    2020-10-21 16:42:51 -0400  
    Browse File »

16 Apr, 2020
1 commit
  • Fix warnings reported by -Wshadow=local (fixes #431)
    92d3cbec
    Jay Berkenbilt authored
    2020-04-16 12:41:43 -0400  
    Browse File »

06 Apr, 2020
4 commits
  • Don't include <cwchar> if not building with wchar
    c996f4ac
    Jay Berkenbilt authored
    2020-04-06 11:23:02 -0400  
    Browse File »
  • Delegate random number generation to crypto provider (fixes #418)
    77198d53
    Jay Berkenbilt authored
    2020-04-06 11:23:02 -0400  
    Browse File »
  • Make random data provider code thread-safe ...
    52749b85
    This uses C++-11 thread-safe static initializers now.
    Jay Berkenbilt authored
    2020-04-06 10:00:43 -0400  
    Browse File »
  • Remove QUtil::srandom
    619d294e
    Jay Berkenbilt authored
    2020-04-06 09:49:02 -0400  
    Browse File »

03 Apr, 2020
2 commits
  • Allow qpdf to be built on systems without wchar_t (fixes #406)
    2100b4ce
    Jay Berkenbilt authored
    2020-04-03 21:39:44 -0400  
    Browse File »
  • Remove redundant methods in QUtil ...
    54726930
    This was being saved until we had to break ABI.
    Jay Berkenbilt authored
    2020-04-03 12:17:57 -0400  
    Browse File »

29 Feb, 2020
1 commit
  • Include header for wcslen (fixes #405)
    bb6768b8
    Jay Berkenbilt authored
    2020-02-29 08:43:33 -0500  
    Browse File »

14 Jan, 2020
2 commits
  • Pull wmain -> main code from qpdf.cc into QUtil.cc
    a44b5a34
    Jay Berkenbilt authored
    2020-01-14 11:40:51 -0500  
    Browse File »
  • Add error detection for read_lines_from_file(FILE*)
    ab4061f1
    Jay Berkenbilt authored
    2020-01-14 11:07:09 -0500  
    Browse File »

13 Jan, 2020
2 commits
  • QUtil::read_lines_from_file: optional EOL preservation
    211a7f57
    Jay Berkenbilt authored
    2020-01-13 11:26:18 -0500  
    Browse File »
  • Refactor QUtil::read_lines_from_file ...
    9a398504
    This commit adds the preserve_eol flags but doesn't implement EOL
    preservation yet.
    Jay Berkenbilt authored
    2020-01-13 09:19:53 -0500  
    Browse File »

09 Nov, 2019
1 commit
  • Allow odd/even modifiers in numeric range (fixes #364)
    c4478e52
    Jay Berkenbilt authored
    2019-11-09 13:23:12 -0500  
    Browse File »

31 Aug, 2019
1 commit
  • Add remove_file and rename_file to QUtil
    4fa7b1eb
    Jay Berkenbilt authored
    2019-08-31 15:51:04 -0400  
    Browse File »

22 Jun, 2019
2 commits
  • In shippable code, favor smart pointers (fixes #235) ...
    6c39aa87
    Use PointerHolder in several places where manually memory allocation
    and deallocation were being used. This helps to protect against memory
    leaks when exceptions are thrown in surprising places.
    Jay Berkenbilt authored
    2019-06-22 16:57:52 -0400  
    Browse File »
  • Add QUtil::read_file_into_memory ...
    1bde5c68
    This code was essentially duplicated between test_driver and
    standalone_fuzz_target_runner.
    Jay Berkenbilt authored
    2019-06-22 10:14:25 -0400  
    Browse File »

21 Jun, 2019
4 commits
  • Rename QUtil::strcasecmp to QUtil::str_compare_nocase (fixes #242)
    c6cfd645
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse File »
  • Fix bounds error in utf16_to_utf8 conversion
    a35d4ce9
    Jay Berkenbilt authored
    2019-06-21 17:40:24 -0400  
    Browse File »
  • Fix sign and conversion warnings (major) ...
    d71f05ca
    This makes all integer type conversions that have potential data loss
    explicit with calls that do range checks and raise an exception. After
    this commit, qpdf builds with no warnings when -Wsign-conversion
    -Wconversion is used with gcc or clang or when -W3 -Wd4800 is used
    with MSVC. This significantly reduces the likelihood of potential
    crashes from bogus integer values.
    
    There are some parts of the code that take int when they should take
    size_t or an offset. Such places would make qpdf not support files
    with more than 2^31 of something that usually wouldn't be so large. In
    the event that such a file shows up and is valid, at least qpdf would
    raise an error in the right spot so the issue could be legitimately
    addressed rather than failing in some weird way because of a silent
    overflow condition.
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse File »
  • QUtil: add unsigned int/string functions
    42306e2f
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse File »

16 May, 2019
1 commit
  • Fix Windows memory error (fixes #330)
    b3f0dbff
    Jay Berkenbilt authored
    2019-05-16 14:26:51 -0400  
    Browse File »

20 Apr, 2019
1 commit
  • Support Unicode in filenames (fixes #298)
    011695df
    Jay Berkenbilt authored
    2019-04-20 21:00:43 -0400  
    Browse File »

11 Mar, 2019
1 commit
  • "_setmode" and "_stricmp" are not available on Borland C++Builder, neither the c… ...
    71b7ed9f
    …lassic one nor newer ones based on CLANG.
    Thorsten Schöning authored
    2019-03-11 16:58:55 -0400  
    Browse File »

17 Jan, 2019
5 commits
  • Add QUtil::possible_repaired_encodings
    e87d1499
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse File »
  • Add status-reporting transcoders to QUtil
    46303777
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse File »
  • QUtil::analyze_encoding
    8f389f14
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse File »
  • Bidirectional transcoding for win, mac, pdf, utf8, utf16
    6817ca58
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse File »
  • Move remaining existing transcoding to QUtil
    69848546
    Jay Berkenbilt authored
    2019-01-17 11:43:56 -0500  
    Browse File »

10 Jan, 2019
1 commit
  • Add configure option AVOID_WINDOWS_HANDLE ...
    4ecd1df6
    If set, we avoid using Windows I/O HANDLE, which is disallowed in some
    versions of the Windows SDK, such as for Windows phones.
    QUtil::same_file will always return false in this case. Only applies
    to Windows builds.
    Jay Berkenbilt authored
    2019-01-10 22:35:08 -0500  
    Browse File »

05 Jan, 2019
3 commits
  • Add WinAnsi and MacRoman encoding
    b341d742
    Jay Berkenbilt authored
    2019-01-05 23:01:44 -0500  
    Browse File »
  • Refactor QUtil::utf8_to_ascii
    3ef1b773
    Jay Berkenbilt authored
    2019-01-05 22:59:29 -0500  
    Browse File »
  • Move utf8_to_utf16 into QUtil
    089ce590
    Jay Berkenbilt authored
    2019-01-05 22:59:27 -0500  
    Browse File »

03 Jan, 2019
1 commit
  • Add QUtil::utf8_to_ascii
    02281632
    Jay Berkenbilt authored
    2019-01-03 23:18:13 -0500  
    Browse File »

21 Dec, 2018
1 commit
  • Move numrange code from qpdf.cc to QUtil.cc ...
    fa366435
    Also move tests to libtests.
    Jay Berkenbilt authored
    2018-12-21 19:11:57 -0500  
    Browse File »

13 Aug, 2018
1 commit
  • New exception class QPDFSystemError (fixes #221)
    b4bdc42b
    Jay Berkenbilt authored
    2018-08-13 20:01:51 -0400  
    Browse File »

21 Jun, 2018
1 commit
  • QUtil::toUTF16
    e44c395c
    Jay Berkenbilt authored
    2018-06-21 15:57:13 -0400  
    Browse File »

04 Feb, 2018
1 commit
  • Fix setLineBuf for bsd (fixes #177) ...
    3b2a3cdd
    Use 0 instead of NULL in a cast.
    Jay Berkenbilt authored
    2018-02-04 14:19:00 -0500  
    Browse File »

14 Jan, 2018
1 commit
  • Fixes for clang
    04e47dea
    Jay Berkenbilt authored
    2018-01-14 19:18:04 -0500  
    Browse File »