summaryrefslogtreecommitdiffstats
path: root/src/extension/implementation/script.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-14Extensions: Improve logic to lookup script extensionsPatrick Storz1-2/+0
- 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.
2018-11-08Clarify licensesMax Gaukler1-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
2018-06-19Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot1-4/+4
2018-06-18Run clang-tidy’s modernize-use-override pass.Emmanuel Gil Peyrot1-13/+13
This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier.
2017-12-20Make script warnings transient for "Working..." dialogEduard Braun1-0/+9
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.
2016-03-20[Bug #1558160] Move Script::file_listener methods to script.cpp source file.raphael02021-42/+3
Fixed bugs: - https://launchpad.net/bugs/1558160 (bzr r14727)
2015-04-27Mainloop fix for possible data loss if closing before save has completed.Mark Harmer1-1/+1
Fixed bugs: - https://launchpad.net/bugs/967416 (bzr r14060)
2014-08-18Code cleanup.Liam P. White1-69/+11
(bzr r13341.1.145)
2013-02-23Fix missing headers for Gtk+ 3 buildAlex Valavanis1-0/+3
Fixed bugs: - https://launchpad.net/bugs/1122816 (bzr r12145)
2012-02-26header cleaningAlex Valavanis1-2/+1
(bzr r11017)
2010-03-28Allow Inkscape to run from Unicode directories on WindowsKrzysztof Kosi??ski1-21/+3
Fixed bugs: - https://launchpad.net/bugs/505107 (bzr r9248)
2010-03-01Fixed type problem with cast.Jon A. Cruz1-14/+14
General cleanup. (bzr r9123)
2009-08-06Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert1-2/+2
which cannot be fixed easily. (bzr r8422)
2009-08-05SPDocument->Documentjohnce1-2/+2
(bzr r8407)
2009-08-01FIX 309856 353847: correctly advertise exception leads to error message dialogueAdib Taraben1-4/+8
(bzr r8380)
2008-09-25Sorry, I got off on a branch and ended up with a bunch of things. I'm just ↵Ted Gould1-0/+14
going to flatten and merge... Here's the list. * Added a focus mode activated by Shift+F11. The goal of this mode is to remove all toolbars for a short period so that you maximize screen area. Useful on small screens. Also when you know lots of shortcuts. * Created what I'm calling "Quick Zoom." The idea here is to have a modal zoom for touching up something with fine detail and then returning to what you're doing. This is activated with the letter "Q" on the keyboard. When you release it, you return back to where you were. This will zoom in on selected objects, or if you're in the node tool selected nodes. * Added .svg on the temporary files in extensions. This'll make many of them happier. This only works on recent versions of GLib, but shouldn't break older ones more than they already are. * Moved the Inkscape configuration directory on Linux from ~/.inkscape to ~/.config/Inkscape. This is the new way to do things with the cross desktop naming spec. I'm unsure whether we should be putting crash dumps in .config or .cache though. * Removed 'tools_switch_current' because every usage of it already had a pointer to where it needed to go. Removes usage of globals. * Made it so that dialogs will be transparent when not focused. This is an alternate to having the docked, and one that I like better as I feel it gives me more screen area. You can adjust how much transparency and the speed of the animation in the preferences dialog. (Note: this requires GTK+ 2.12 and a compositor, but gracefully degrades if you don't have either) (bzr r6882)
2008-04-22r19083@shi: ted | 2008-04-21 16:09:24 -0700Ted Gould1-7/+0
A directory for filter effects r19084@shi: ted | 2008-04-21 20:03:59 -0700 The basis for the filter interface for defining effects. r19085@shi: ted | 2008-04-21 20:59:04 -0700 Adding Sepia as an example r19086@shi: ted | 2008-04-21 23:25:57 -0700 Wiring everything in. Cleaning it up so that it looks nice. r19087@shi: ted | 2008-04-22 00:00:08 -0700 Completeing more of the guts. Not done, but the basic infrastructure is now in place. r19088@shi: ted | 2008-04-22 00:19:38 -0700 All the basic plumbing code. It seems to work, except the document is wrong from the controlling filter guy. That should be fixable. r19089@shi: ted | 2008-04-22 00:31:36 -0700 Whoo! Hoo! for simple stuff it seems to work. r19090@shi: ted | 2008-04-22 10:36:16 -0700 First pass at adding the filters from Mauve's example r19091@shi: ted | 2008-04-22 10:37:24 -0700 Fixing misspelling r19092@shi: ted | 2008-04-22 12:32:18 -0700 Should be appending instead of prepending these nodes. r19093@shi: ted | 2008-04-22 13:37:34 -0700 Basic filter with parameters working r19094@shi: ted | 2008-04-22 14:27:20 -0700 Changing it so that by default an effect will have a call to autogui that will work with live effects. Basically this involved migrating the implementation of prefs_effect up from script.cpp to implementation.cpp r19102@shi: ted | 2008-04-22 14:38:46 -0700 Better defaults r19103@shi: ted | 2008-04-22 14:42:07 -0700 Adding filter stuff to be translated (bzr r5490)
2008-02-21Fix crash with Save As extensionsAaron Spike1-0/+1
Glib:IOChannel requires a parameterless set_encoding() in order to be binary safe (bzr r4795)
2007-11-04Add virtual to a lot of the destructors. Note: perhaps it will have to be ↵Johan B. C. Engelen1-1/+1
reverted for some files to keep them C-compatible. (bzr r4024)
2007-10-30r16896@shi: ted | 2007-10-30 12:16:06 -0700Ted Gould1-0/+2
Caching the input file for effects. (bzr r3982)
2007-10-30r16677@shi: ted | 2007-10-17 19:31:04 -0700Ted Gould1-2/+4
Creating and adding interfaces for a document based cache that an effect can define. This removes the effect from having to know if the document has changed, and keep track of that. This allows them to optimize their performance when doing things like live effects. (bzr r3977)
2007-06-27r15629@tres: ted | 2007-06-26 21:47:00 -0700Ted Gould1-3/+7
Adding in the ability to open files. Which required some changes. But, now everything seems happy. Can't break it all anymore. (bzr r3139)
2007-06-27r15481@tres: ted | 2007-05-22 09:56:22 -0700Ted Gould1-1/+1
Switching to sigc::signal so it actually works. (bzr r3126)
2007-06-27r15480@tres: ted | 2007-05-20 23:51:34 -0700Ted Gould1-1/+2
The basics are all working, no call back from the preferences yet. That's the next step. But the dialogs appear correctly, and it works in the background. (bzr r3125)
2007-06-27r15432@tres: ted | 2007-05-12 21:24:09 -0700Ted Gould1-1/+58
Cleaning up so that canceling works. (bzr r3123)
2007-06-27r15377@tres: ted | 2007-05-08 22:03:14 -0700Ted Gould1-1/+1
It seems to work... I'm not entirely sure I understand why. Needs more testing, but I'm optimistic. (bzr r3119)
2007-06-27r15368@tres: ted | 2007-05-05 13:53:51 -0700Ted Gould1-8/+0
Basic adjustments to get async all connected in. This compiles for effects, but then it crashes. But, it's a decent start. (bzr r3117)
2006-06-01revert interface changeBob Jamison1-4/+3
(bzr r1118)
2006-05-31Allow Inkscape to use its own python in preference to something in the path ↵Bob Jamison1-42/+128
on win32. Also do considerable ustring-ification (bzr r1106)