| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Inkscape will read the "translationdomain" attribute from the
<inkscape-extension> root element in the .inx file.
It will then attempt to lookup a message catalog that matches
this domain, register it with gettext, and use it for translations.
Message catalogs may be located in either
- the .inx file's location
- the root of the "extensions" directory containing the .inx
- the system location Inkscape's own catalog is loaded from
To make this functionality available to script extensions, Inkscape
will set the environment variables
INKEX_GETTEXT_DOMAIN
and
INKEX_GETTEXT_DIRECTORY
so extension scripts can then use something like
bindtextdomain(INKEX_GETTEXT_DOMAIN, INKEX_GETTEXT_DIRECTORY)
textdomain(INKEX_GETTEXT_DOMAIN)
to enable the feature.
See also
https://gitlab.com/inkscape/inkscape/issues/333
https://gitlab.com/inkscape/extensions/issues/117
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use identical logic for looking up <dependency>s and <command>s.
- Remove duplicate (but inconsistent and incomplete) logic from
script.cpp that was used to search for the <command> again
- Remove <check> element from .inx format
It seems unused (at the very least by core extensions) and
redundant to <dependency> checking
- Deprecate the <command>-specific "reldir" attribute.
Consistently use the functionally identical "location" attribute
that was only used for <dependency>s before
- Introduce the new relative location value location="inx",
which looks up <dependencies> and <command>s relative to the
.inx file's location.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
This is the "GUI" version of the executable that does not have a
console attached to itself and therefore doesn't flash a terminal
whenever it's called by an extension.
Functionality should be identical otherwise.
Fixed issues:
- https://gitlab.com/inkscape/inkscape/issues/66
|
| |
|
|
| |
Makes searching through code for them easier.
|
| | |
|
| |
|
|
|
|
| |
- 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
|
| | |
|
| | |
|
| |
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
A lot of header clean-up.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
```
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Fixed bugs:
- https://launchpad.net/bugs/1662686
- https://launchpad.net/bugs/1662683
(bzr r15493)
|
| |\
| |
| | |
(bzr r14954.1.30)
|
| | |
| |
| | |
(bzr r15023.2.5)
|
| |\|
| |
| | |
(bzr r14954.1.13)
|
| |/
|
| |
(bzr r14954.1.10)
|
| |
|
|
|
| |
width/height/viewBox different from default SVG file.
(bzr r14947)
|
| |
|
|
|
|
| |
Fixed bugs:
- https://launchpad.net/bugs/1558160
(bzr r14727)
|
| |
|
|
|
|
| |
Fixed bugs:
- https://launchpad.net/bugs/1558177
(bzr r14715)
|
| |
|
|
|
|
| |
Fixed bugs:
- https://launchpad.net/bugs/1558153
(bzr r14713)
|
| |
|
|
|
|
|
|
|
| |
format : --selected-nodes=id:subpath:position
cf https://bugs.launchpad.net/inkscape/+bug/171640 for a debug test extension
Fixed bugs:
- https://launchpad.net/bugs/171640
(bzr r14641)
|
| |
|
| |
(bzr r14522)
|
| |
|
| |
(bzr r14510)
|
| |
|
| |
(bzr r14126)
|
| |\
| |
| | |
(bzr r13922.1.18)
|
| | |
| |
| |
| |
| |
| | |
Fixed bugs:
- https://launchpad.net/bugs/967416
(bzr r14060)
|