| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
| |
g_canonicalize_filename() needs the second parameter to be absolute
which INKSCAPE_DATADIR is not guaranteed to be (e.g. when supplied
via environment variable).
(follow up to 812f50f709384d6c59587c9f1706e401600291a6)
|
| |
|
|
| |
Avoids potentially dangerous mix of different path separators.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Contrary to what the name and placing suggest it's not a general
utility function but a specialized function that constructs the full
value to set for PYTHONPATH.
Despite the misleading placement most functionality is unneeded:
* INKSCAPE_EXTENSIONDIR should always be absolute
* g_setenv recommends UTF-8 on Windows
|
| |
|
|
|
| |
This should be a function in Inkscape::IO::Resource (which it
already references) if re-added.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This primarily allows extensions to simply call "inkscape"
without requiring the user to modify environment variables or
worrying about different versions of inkscape on the same machine
(as we prefix the search path).
We did this already for Windows but the code was removed in
db05b842cba28f01b431eee890537959aa2d8fe3
Partially fixes https://gitlab.com/inkscape/inkscape/issues/115
|
| |
|
|
|
|
| |
- 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
|
| | |
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Most importantly this will ensure an absolute path is used.
While relative paths worked in principle some strange WinAPI
breakage affected Inkscape's ability to properly treat relative
paths in all scenarios.
|
| | |
|
| | |
|
| |
|
|
| |
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
|
| | |
|
| | |
|
| |
|
|
|
| |
Now works unless configured with
ENABLE_BINRELOC or ENABLE_OSX_APP_LOCATIONS
|
|
|
These files are actually part of BinReloc
Inkscape specific code is in path-prefix.h (and now path-prefix.cpp)
|