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
30 Jan, 2022
1 commit
  • Add QUtil::make_shared_cstr ...
    76c4f78b
    Replace most of the calls to QUtil::copy_string with this instead.
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse File »

11 Jan, 2022
1 commit
  • Add missing characters from PDF doc encoding (fixes #606)
    37071065
    Jay Berkenbilt authored
    2022-01-11 15:55:19 -0500  
    Browse File »

29 Dec, 2021
1 commit
  • Add QUtil::file_can_be_opened
    af91b5b5
    Jay Berkenbilt authored
    2021-12-29 13:41:02 -0500  
    Browse File »

17 Apr, 2021
1 commit
  • Fix timezone portability issue (fixes #515)
    36c7c208
    Jay Berkenbilt authored
    2021-04-17 18:12:55 -0400  
    Browse File »

18 Feb, 2021
1 commit
  • Add QUtil::path_basename
    0b1623d0
    Jay Berkenbilt authored
    2021-02-18 09:59:03 -0500  
    Browse File »

13 Feb, 2021
1 commit
  • QUtil::double_to_string: trim trailing zeroes with option to disable
    07f40bd2
    Jay Berkenbilt authored
    2021-02-13 02:30:00 -0500  
    Browse File »

11 Feb, 2021
2 commits
  • Allow zone information to be omitted from timestamp strings
    8fbc8579
    Jay Berkenbilt authored
    2021-02-11 14:26:55 -0500  
    Browse File »
  • Add autoconf test for localtime_r
    df067c9a
    Jay Berkenbilt authored
    2021-02-11 14:26:55 -0500  
    Browse File »

10 Feb, 2021
1 commit
  • Minor clean up of Windows headers
    1f4771cd
    Jay Berkenbilt authored
    2021-02-10 07:36:18 -0500  
    Browse File »

09 Feb, 2021
1 commit
  • Add QUtil methods for dealing with PDF timestamp strings
    bf0e6eb3
    Jay Berkenbilt authored
    2021-02-09 17:50:24 -0500  
    Browse File »

07 Feb, 2021
1 commit
  • Add QUtil::pipe_file and QUtil::file_provider
    553ac7f3
    Jay Berkenbilt authored
    2021-02-07 19:41:34 -0500  
    Browse File »

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
4 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 »