Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
They don't compile, and are not useful on windows anyway. Remove the
functions completely, not just stub out their implementation, since
otherwise the API contract of consuming the FD would be violated.
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1180
|
|
While it's already possible to create a PopplerDocument
for STDIN by using fd://0 as the URI, it was not yet possible
to create a PopplerDocument from a file descriptor.
This adds poppler_document_new_from_fd(), which accepts
a readable FD for a regular file, or for STDIN.
Add a --fd option to test/gtk-test to test this. When used,
gtk-test arguments are FD numbers instead of filenames or URIs.
To test, use e.g.
$ 3<test.pdf ./gtk-test --fd 3
|
|
find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format -i {} \;
If you reached this file doing a git blame, please see README.contributors (instructions added 2 commits in the future to this one)
|
|
not claiming copyright for this since it's a mechanical change
|
|
|
|
|
|
|
|
These are just non-standard names for bool, true, false, respectively.
Getting rid of these names saves on layer of mental redirection,
and enables proper syntax highlighting in editors.
|
|
GCC recommends not using them for a long time and its documentation says:
> These #pragmas have been superceded as of GCC 2.7.2 by COMDAT support
> and the “key method” heuristic mentioned in Vague Linkage.
> Using them can actually cause your program to grow due to
> unnecessary out-of-line copies of inline functions.
Also nobody seems to set USE_GCC_PRAGMAS and sometimes they were
guarded by just __GNUC__ which upsets Clang.
|
|
|
|
Also add two enum values in the qt5 frontend to representate no flags
Also mark glib/gtk/cairo system includes so that gcc doesn't report the issues in those headers
|
|
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=64683
|
|
Bug #50992
|
|
|
|
|
|
With a command line option to use cairo or splash backends.
|