| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| | |
|
| |
|
|
|
|
| |
- add license headers to everything
- convert a few files from public domain or LGPL2.1+ to GPL2+
- some archaeology to clarify which files are from which library
|
| | |
|
| |
|
|
|
| |
It was only used in one place. Use "g_base64_encode" instead, like the
rest of the codebase.
|
| |
|
|
|
|
|
|
|
|
| |
Replace UriInputStream -> FileInputStream
Replace UriOutputStream -> FileOutputStream
Remove UriReader
Remove UriWriter
UriReader, UriWriter, and the acutal URI-based API of UriInputStream and
UriOutputStream was all unused/dead code.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
The former is guaranteed to be set for any compiler targeting win32,
the latter is implementation dependent (but works for gcc)
See also
http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
None of these functions seems to expect an actual gunichar (which is
a 32-bit type and can hold any UTF-32 or UCS-4 character code, also
known as a Unicode code point).
Instead we want UTF-8 encoded character data (i.e. gchar, which is
equivalent to char) that can be output byte-wise to form a valid
UTF-8 encoded string.
|
| |
|
|
|
|
|
|
|
|
|
| |
As we output UTF8 encoded strings to normal streams we can (and
should) put one byte at a time. Iterating over an ustring will give
us "unichar"s with up to four bytes, though, which is bound to fail
when written to a stream.
Using Glib::ustring::raw() gives us a std::string with the raw
(but still UTF8 encoded) character array that can be iterated
byte-wise and output to the stream as-is.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This tremendously speeds up saving long strings which previously
had to do "n!" lookups (where n is the number of chars) as
Glib::ustring::operator[] has to iterate over all preceding
unichars in each iteration to find the requested unichar.
A file with a CDATA section of ~1 MB saves in a few milliseconds now,
previously it didn't finish even after some minutes.
Fixed bugs:
- https://bugs.launchpad.net/inkscape/+bug/1793877
|
| |
|
|
| |
(cherry picked from commit 11504fc9060729939703c380bcaa71cfc36ea351)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This is useful when using inkscape from the terminal and piping the
output to further programs.
Example usage:
cat vector.svg | inkscape --export-png - --file - | convert - out.jpg
Fixes bug: 171016
(forward-ported from commit fdb3b41a37f5c37bbb8e49d59e7e6195d5363fcb)
|
| | |
|
| |
|
|
| |
only at home
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
This removes deprecated dynamic exception specifications.
|
| |
|
|
| |
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.
|
| |
|
|
| |
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
|
| | |
|
| |
|
|
| |
A lot of header clean-up.
|
| |
|
|
|
|
| |
Please confirm typos in the following
`doc/nr-filter-interface.txt`
`share/symbols/BalloonSymbols.svg`
.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Found using `codespell -q 3 -w --skip="*.svg,*.po,*.ts,./share/tutorials,./src/libavoid,./packaging/win32/languages,./man,./src/2geom" -I ../inkscape-whitelist.txt`
whereby whitelist file contained:
```
dum
iff
glight
substract
te
upto
```
|
| |
|
|
|
| |
(Note we always had an empty /share/fonts directory
that didn't seem to have any purpose yet)
|
| |\ |
|
| | |
| |
| |
| |
| | |
Util::ptr_shared<T> was only used in its <char> specialization, so it is now refactored into a
non-template class. Using it with arbitary classes was dangerous anyway.
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
| |
- this affects callers of Inkscape::IO::fopen_utf8name
- fixes at least two issues:
- creating custom shortcuts failed when "/inkscape/keys"
was missing in the configuration directory, see
https://bugs.launchpad.net/inkscape/+bug/1719629
- autosaving probably failed if a non-existent directory
was specified
|
| | |
|
| | |
|
| |
|
|
| |
Also drop some unnecessary defines from the pre-XP era
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
- update script to install dependencies
- update InstallMSYS2.cmake
- fix Windows builds (uint -> unsigned int)
|
| |/ |
|
| | |
|
| | |
|
| | |
|