| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
| |
This renames most C <*.h> includes into C++ <c*> includes.
|
| |
|
|
|
| |
This replaces empty constructors and destructors with the default
keyword.
|
| |
|
|
|
| |
This replaces all NULL or 0 with nullptr when assigned to or returned as
a pointer.
|
| |
|
|
|
| |
This adds the override specifier on all methods which override a virtual
method, whether they were already virtual or missing this specifier.
|
| | |
|
| |
|
|
|
|
| |
replace unused includes with one that is actually used
Signed-off-by: Jan Palus <atler@pld-linux.org>
|
| | |
|
| | |
|
| |
|
| |
Found via `codespell` and `grep`
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Whilst working on the Reproducible Builds effort [0], we noticed
that inkscape generates output that is not reproducible:
$ cp /usr/share/icons/gnome/scalable/places/debian-swirl.svg .
$ inkscape -z debian-swirl.svg --export-width=25 --export-pdf=a.pdf
$ sleep 1
$ inkscape -z debian-swirl.svg --export-width=25 --export-pdf=b.pdf
$ sha1sum *.pdf
bee6f300a8fce628e94febd0700fa97f90aa7b37 a.pdf
32f26595ec1957c7e714174e007c452f6cb5dd79 b.pdf
This is affecting (at least) the "debian-astro" package:
│ │ │ ├── ./usr/share/pixmaps/Debian-Astro-logo.pdf
│ │ │ │ ├── pdftk {} output - uncompress
│ │ │ │ │ @@ -357,15 +357,15 @@
│ │ │ │ │ <<
│ │ │ │ │ /Type /Catalog
│ │ │ │ │ /Pages 1 0 R
│ │ │ │ │ >>
│ │ │ │ │ endobj
│ │ │ │ │ 6 0 obj
│ │ │ │ │ <<
│ │ │ │ │ -/CreationDate (D:20180315093948-12'00)
│ │ │ │ │ +/CreationDate (D:20190418180346+14'00)
│ │ │ │ │ /Producer (cairo 1.15.10 \(http://cairographics.org\))
│ │ │ │ │ >>
│ │ │ │ │ endobj xref
After applying this patch (which uses SOURCE_DATE_EPOCH [1]):
$ export SOURCE_DATE_EPOCH=1521324801
$ […]
$ sha1sum *.pdf
620bf8469600ab744ffa6fcc3eee4c6845f4f159 a.pdf
620bf8469600ab744ffa6fcc3eee4c6845f4f159 b.pdf
This was originally filed in Debian as #893314 [2].
[0] https://reproducible-builds.org/
[1] https://reproducible-builds.org/specs/source-date-epoch/
[2] https://bugs.debian.org/893314
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
|
| | |
| |
| |
| | |
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
| |
These will be kept at a separate "meson_build" branch at https://gitlab.com/fsanches/inkscape/
Learn more at:
* "Using Meson's automatic dependency manager to build GTK"
** https://www.youtube.com/watch?v=2dB80CjH_3Q
* "The Meson Build System - 4+ years of work to become an overnight success"
** https://www.youtube.com/watch?v=gHdTzdXkhRY
|
| | |
|
| | |
|
| |
|
|
| |
This one was subtle!
|
| | |
|
| |
|
| |
Via `codespell` and `grep`
|
| |
|
| |
Found via `codespell`
|
| |
|
|
|
|
|
|
|
|
| |
It could happen that we attempted to spawn "", see
https://bugs.launchpad.net/inkscape/+bug/1747103
which obviously failed but did not explain why.
While extensions still fail silently (UI-wise) if the interpreter
can not be located a useful error message should now be output on
console.
|
| |
|
|
| |
Louette). Patch 2/2
|
| |
|
|
| |
Louette). Patch 1/2
|
| | |
|
| |
|
|
| |
A lot of header clean-up.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- export of .odg files was completely broken on Windows as
"documentUri = Inkscape::URI(filename);" always failed
(Windows paths are never valid URIs because of '\')
- Linked images did not seem to be working on any OS
(probably regression in 6f844ef457690c841b0be91d70b1e54b61c04812)
I assume support for linked images is still sketchy but seems to
work in the most common cases; support for embedded images seems
to be non-existent, though.
Fixed bug:
- https://bugs.launchpad.net/inkscape/+bug/1654034
|
| |
|
|
|
|
|
|
|
| |
Replace "\stackrel" with "\tabular" to achieve constant line spacing.
The former varies line spacing depending on the content of the line
(i.e. an line containing "-" will have a very small height)
Add basic support for line-height.
(currently only the top level text element is considered)
|
| |
|
| |
Found via `codespell`
|
| | |
|
| |
|
|
|
| |
Fixed bug:
- https://bugs.launchpad.net/inkscape/+bug/1739497
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows to tell the user something more helpful than
"File could not be saved" (leaving the reason open for speculation).
The former implementation somehow grew to only ever throw
Inkscape::Extension::Output::save_failed for any exception that
occurred (which did not really matter as we did not throw anything
else but certainly wasn't very useful either).
Questionable throwing behavior was introduced in commits trying to
workaround other issues:
- output.cpp a874b82b41c08fc1738b449d400fcc6aeb85d72a
- system.cpp d8d60c60ebeeefb068d9b68bf7d96f1f1f88518a
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
This turned out to be a bit of a mess due to the interplay between
the classes Script / ExecutionEnv / Effect / PrefDialog.
(Basically they don't talk to each other much but all want to
contribute to the GUI)
Likely "Script" (and possibly "ExecutionEnv") should be refactored
to let the other classes handle UI exclusively and throw errors
where suitable.
|