properties: Show None when missing creation/modification date
According to the PDF spec, the creation date and modification date are
optional (for pdf documents). We can safely assume that a file will not
to be modified exactly at 31 Dec 1969 23:59:59 UTC, so each creation and
modification date equal to -1 is considered as NULL for the pointers to
the other attributes (None is displayed).
The if statements could be used in the future when using GDateDime instead
of GTime (a pointer could help, or optional type), and it works for
any type of document, not only PDF.
Closes: #1549
Signed-off-by: Philippe Volte--Vieira <email address hidden>
Enable odd pages left option evert time dual page is enabled.
There are two states to keep track of: the document model and
the menu. The document model is updated every time. We can force
updating the menus every time the value of dual page changes.
ev_view_set_page_cache_size() accepts gsize as its second parameter
but guint was passed in. This reduced maximal cache size considerably
as its size is 4 bytes.
Retyping the multiplication by "1024 * 1024" to gsize increases maximal
configurable cache size beyond 4 GiB.
keep same visual appearance between displayed and copied text
When copying text from displayed document to the clipboard,
we want a normalization that preserves 'canonical equivalence'
i.e. that the text after normalization is not visually
different than the original text. Our previous normalization
was just preserving unicode 'compatibility'.