summaryrefslogtreecommitdiffstats
path: root/src/extension/implementation/script.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* i18n. Fix for bug #425202 (script messages not translated).Nicolas Dufour2010-04-251-1/+7
| | | | | | Fixed bugs: - https://launchpad.net/bugs/425202 (bzr r9371)
* Remove leftover debug outputKrzysztof Kosi??ski2010-03-281-1/+0
| | | (bzr r9249)
* Allow Inkscape to run from Unicode directories on WindowsKrzysztof Kosi??ski2010-03-281-162/+89
| | | | | | Fixed bugs: - https://launchpad.net/bugs/505107 (bzr r9248)
* Cleanup on id access.Jon A. Cruz2010-03-021-5/+5
| | | (bzr r9127)
* Remove obsolete C macro use.Jon A. Cruz2010-03-011-1/+1
| | | (bzr r9125)
* Fixed type problem with cast.Jon A. Cruz2010-03-011-72/+65
| | | | | General cleanup. (bzr r9123)
* Really fix the Windows buildKrzysztof Kosi??ski2010-02-281-1/+1
| | | (bzr r9121)
* Fix Windows compile fail after 9118 (oops)Krzysztof Kosi??ski2010-02-281-1/+1
| | | (bzr r9120)
* Compilation fixes for Windows 64-bit by FridrichKrzysztof Kosi??ski2010-02-281-1/+1
| | | (bzr r9118)
* Fix remaining glitches in the behaviour of the Save dialogs (w.r.t. ↵Maximilian Albert2009-08-091-8/+5
| | | | | remembering the last file type and folder). As part of the cleanup inkscape:output_extension was removed, too. (bzr r8454)
* Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert2009-08-061-4/+4
| | | | | which cannot be fixed easily. (bzr r8422)
* SPDocument->Documentjohnce2009-08-051-4/+4
| | | (bzr r8408)
* FIX 309856 353847: correctly advertise exception leads to error message dialogueAdib Taraben2009-08-011-5/+10
| | | (bzr r8380)
* Use the new sp_document_change_uri_and_hrefs function.Peter Moulder2009-04-071-1/+3
| | | | | | The change to extension/system.cpp is a functional noop. The change to extension/implementation/script.cpp should fix importing of .ai files that contain images (or whatever ill2svg.pl creates png files for). The effect on any other scripts that create SVG files with relative hrefs is unknown. (bzr r7656)
* Making it so that including simple-node.h will generate an errorTed Gould2008-10-311-0/+1
| | | (bzr r6889)
* Patch from Hannes Hochreiner to make it so that attributes on the root node ↵Ted Gould2008-10-311-2/+21
| | | | | copy correctly. (bzr r6888)
* From trunkTed Gould2008-10-271-1/+1
| | | (bzr r6885)
* Sorry, I got off on a branch and ended up with a bunch of things. I'm just ↵Ted Gould2008-09-251-37/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* Refactored preferences handling into a new version of Krzysztof Kosi??ski2008-09-161-3/+4
| | | | | | | | the Inkscape::Preferences class. Removed all use of prefs_get_string_attribute(), pref_path_get_nth_child() and create_pref() in favor of the new API. Replaced some "0 or 1" integer preferences with booleans. (bzr r6823)
* fix crashing on additional data dialog when running input or effect ↵bulia byak2008-06-111-1/+4
| | | | | extension from command line (bzr r5890)
* fix bug #239092MenTaLguY2008-06-111-2/+2
| | | (bzr r5886)
* r19083@shi: ted | 2008-04-21 16:09:24 -0700Ted Gould2008-04-221-32/+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)
* r19076@shi: ted | 2008-04-21 15:42:45 -0700Ted Gould2008-04-211-6/+12
| | | | | | | | | Core of having a real namespace for Inkscape extensions. r19077@shi: ted | 2008-04-21 15:50:12 -0700 First layer of adding NS r19078@shi: ted | 2008-04-21 15:56:03 -0700 Whew, doing the rest of them. (bzr r5483)
* Following this thread: ↵Marcin Floryan2008-04-091-12/+13
| | | | | http://www.nabble.com/Extension-parameters-td9064285.html#a9064285 cleaned up python webbrowser_* scripts by replacing with one generic launch_webbrowser.py. This required a bit of work with extensions to handle hidden GUI parameters better. URLs are now in the inkscape_help_*.inx files. (bzr r5390)
* handle (better) whitespaces in path namesAdib Taraben2008-03-281-4/+13
| | | (bzr r5210)
* Bug #204779 win32 crash on help menu - win32 spawn problemAdib Taraben2008-03-271-1/+1
| | | (bzr r5207)
* BUG 168896, fix BUG_168896_refactor_tempfile.patch problems with Vista ↵Albin Sunnanbo2008-03-131-4/+4
| | | | | tempfiles breaks some extensions (including Save as XAML) (bzr r5082)
* tweaked patch from Ulf to make extension workingAdib Taraben2008-03-121-1/+1
| | | (bzr r5073)
* r18226@shi: ted | 2008-02-29 15:00:33 -0800Ted Gould2008-02-291-19/+2
| | | | | | Flipping so that the file is the last parameter at request of Aaron Spike. (bzr r4911)
* r18220@shi: ted | 2008-02-29 13:18:55 -0800Ted Gould2008-02-291-20/+24
| | | | | | | | | | | | | | | | | | | | | | | | Okay, sadly I'm not keeping the version history because I'm not convenced that SVK will do it right. One mega-patch, but that's life. Reshuffle the exection-env and prefdialog code so that the state machines aren't intertwines, which fixes a whole host of bugs with them. I think the behavior is correct now. Make it so that the effects can count how many preferences they have to determine if the dialog should be shown (fix above). Once this code was written it was easy to make it show an ellipsis on the verb if there is a dialog or not. This involved removing ellipsis from those effects that had it hard coded. Make it so that the parameters know that their command line options are going into a list. They don't have to acknowledge it, but they can, and specifically notebook does and handles it differently. This should fix the notebooks on Win32, but doesn't apparently completely. Change the script extension on windows to use pythonw instead of python so that the command line doesn't appear all the time. (bzr r4908)
* r17534@shi: ted | 2008-01-06 14:56:29 -0800Ted Gould2008-01-061-3/+9
| | | | | | | | | | | | | Scripting now maintains the output_extension parameter accross the script. This was necissary because the file written out gets the the parameter of what it was written out with, while the original document gets fixed. Even though the current document gets corrected by the output function, the script hands back the one that is written out. Basically, this means that we need to handle it in this file. And now we do. Fixes lp: 167132 (bzr r4414)
* FIX for Bug #173068 can't import postscript files (ps and eps)Adib Taraben2007-12-021-3/+59
| | | (bzr r4154)
* warning cleanupJon A. Cruz2007-11-081-20/+20
| | | (bzr r4043)
* r16896@shi: ted | 2007-10-30 12:16:06 -0700Ted Gould2007-10-301-18/+52
| | | | | Caching the input file for effects. (bzr r3982)
* r16677@shi: ted | 2007-10-17 19:31:04 -0700Ted Gould2007-10-301-2/+5
| | | | | | | 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)
* allow effects to modify namedview and document dimensionsJohn Bintz2007-10-191-6/+26
| | | (bzr r3930)
* trivial: Address some g++-4.2 writable-strings warnings.Peter Moulder2007-09-161-7/+6
| | | (bzr r3759)
* r16443@tres: ted | 2007-08-30 22:22:32 -0700Ted Gould2007-09-011-1/+11
| | | | | Pump some GTK events so that there is more interactivity. (bzr r3654)
* r15736@tres: ted | 2007-07-02 21:11:39 -0700Ted Gould2007-07-031-1/+1
| | | | | | | | Changing the working directory for scripts from the temporary directory to the current working directory (the one Inkscape was called with). I don't think this is the 'right' way to do this -- but the win32 people kinda need it. (bzr r3165)
* r15700@tres: ted | 2007-06-26 23:54:54 -0700Ted Gould2007-06-271-11/+0
| | | | | Fixing an SVK push error. (bzr r3146)
* (bzr r3144)Ted Gould2007-06-271-60/+34
|
* r15631@tres: ted | 2007-06-26 22:34:54 -0700Ted Gould2007-06-271-40/+14
| | | | | Cleaning up the ::effect function to use more Glib:: (bzr r3141)
* r15630@tres: ted | 2007-06-26 22:27:01 -0700Ted Gould2007-06-271-37/+18
| | | | | Implementing save. (bzr r3140)
* r15629@tres: ted | 2007-06-26 21:47:00 -0700Ted Gould2007-06-271-45/+28
| | | | | | Adding in the ability to open files. Which required some changes. But, now everything seems happy. Can't break it all anymore. (bzr r3139)
* r15555@tres: ted | 2007-06-08 08:57:04 -0700Ted Gould2007-06-271-2/+2
| | | | | Adding in a debuging message and extending copyright. (bzr r3133)
* r15506@tres: ted | 2007-05-24 22:30:55 -0700Ted Gould2007-06-271-1/+1
| | | | | | | Wow, the basics are kinda working. Only for ints and floats, and it seems to not like repeadative entry. But, it really is seeming very feasible. (bzr r3128)
* r15481@tres: ted | 2007-05-22 09:56:22 -0700Ted Gould2007-06-271-1/+1
| | | | | Switching to sigc::signal so it actually works. (bzr r3126)
* r15480@tres: ted | 2007-05-20 23:51:34 -0700Ted Gould2007-06-271-2/+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)
* r15379@tres: ted | 2007-05-09 19:13:37 -0700Ted Gould2007-06-271-12/+0
| | | | | Moving the dialog one step out and adding a cancel event. (bzr r3121)
* r15378@tres: ted | 2007-05-09 18:59:27 -0700Ted Gould2007-06-271-0/+14
| | | | | | Wow, working pretty well now. More updates and let's make this a little bit cooler. (bzr r3120)