summaryrefslogtreecommitdiffstats
path: root/src/extension/dependency.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Extensions: only check existence for interpreted scripts.Patrick Storz2019-10-161-8/+17
| | | | | | | | | | | This is for backwards-compatibility with older .inx files that used to redundantly request a dependency on their own interpreted script and did so with type="executable". However, in practice script files often *don't* have the x-bit set, which fortunately did not cause problems in the past, though, as the check for the x-bit was broken, see 3da7f71e45eb986aef67771b5af3c1e308971cff
* Extensions: Fix file test when checking dependencies by typePatrick Storz2019-10-151-20/+42
| | | | | | | | | | | | | | For "executable" files only existence was checked. (Glib::file_test needs a single FileTest) Apply this properly when checking script <command>s and xslt <file>s - interpreted scripts and xslt files -> only check existence - un-interpreted scripts -> check for executable file For Windows workarounds are implemented to yield desirable behavior: - as there is no executable bit, only check existence - as executables usually come with an extensions, scan for those as well.
* Extensions: Improve logic to lookup script extensionsPatrick Storz2019-10-141-33/+75
| | | | | | | | | | | | | | | - 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.
* Extensions: Fix filename encoding issues in error loggingPatrick Storz2019-09-261-12/+10
| | | | (std::ostream is not properly portable unfortunately)
* Clarify licensesMax Gaukler2018-11-081-1/+2
| | | | | | - 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
* Misc. typosluz.paz2018-10-061-1/+1
| | | Found via `codespell`
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-4/+0
|
* Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot2018-06-191-2/+2
|
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-12/+12
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-4/+4
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-4/+4
|
* Misc. typosluz.paz2018-02-101-1/+1
| | | Found via `codespell`
* Misc. typosluz.paz2018-01-081-1/+1
| | | Found via `codespell`
* Move directory scanners to new get_filenames(...) callsMartin Owens2017-07-021-6/+6
|
* Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-3/+1
| | | (bzr r15034)
* Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-1/+3
| | | (bzr r15027)
* Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-3/+1
| | | (bzr r15025)
* fixed naming of methods. External extensions can now be other module types.Moritz Eberl2016-04-121-1/+1
| | | (bzr r14761.1.2)
* Added a mechanism to load c++ extensions dynamically.Moritz Eberl2016-04-111-0/+12
| | | (bzr r14761.1.1)
* Extensions. Fix for Bug #505920 (inkscape loads extension even if the script ↵Nicolas Dufour2014-06-111-6/+14
| | | | | | | | specified in <command> doesn't exist). Fixed bugs: - https://launchpad.net/bugs/505920 (bzr r13421)
* cppcheckKris De Gussem2013-03-111-3/+1
| | | (bzr r12193)
* A couple of forward declarationsAlex Valavanis2013-02-111-0/+2
| | | (bzr r12119)
* extensions: string class usageKris De Gussem2012-05-011-17/+7
| | | (bzr r11313)
* fix extension path scan (Bug #801568 ; patch of Patrick Monnerat)Kris De Gussem2012-05-011-4/+2
| | | (bzr r11312)
* Janitorial tasks: get rid of deprecated repr wrapper functionsKris De Gussem2012-01-031-1/+1
| | | (bzr r10830)
* More forward.h purging.Jon A. Cruz2011-10-041-0/+1
| | | (bzr r10665)
* Remove last remnants of ancient plugin support. Tidy up acinclude.m4.Krzysztof Kosi??ski2009-02-131-15/+0
| | | (bzr r7278)
* Uniconvertor import extension changes for Win32 - Fixes LP# 197617Mike Pittman2008-04-291-2/+14
| | | (bzr r5546)
* string fixes from bug 1516157bulia byak2006-11-191-1/+1
| | | (bzr r1991)
* Eek! Copyright message forgotten :( . Can we think up a standard format for ↵Johan B. C. Engelen2006-09-121-2/+3
| | | | | specifying copyrights and/or automate this in SVN? (bzr r1703)
* Extension dependency-check now also finds win32 executables if ".exe" is ↵Johan B. C. Engelen2006-09-121-0/+9
| | | | | omitted in inx-file. (bzr r1702)
* do some include changes more correctlyRalf Stephan2006-06-281-6/+3
| | | (bzr r1311)
* more compiler hints for gtk-2.4 systems to cope with glibmm/i18n.hRalf Stephan2006-06-241-0/+4
| | | (bzr r1276)
* Replace std::endl in lots of places with plain old '\n', with just a single ↵Peter Moulder2006-03-061-5/+7
| | | | | std::flush per dependency. (bzr r211)
* moving trunk for module inkscapeMenTaLguY2006-01-161-0/+261
(bzr r1)