Code

inkscape.git
15 years agowork a bit on snapindicator: added switch statement for different types
johanengelen [Fri, 16 Jan 2009 22:06:40 +0000 (22:06 +0000)]
work a bit on snapindicator: added switch statement for different types

15 years agonr-filter-image now yields identical results to using <image> in most cases by making...
jaspervdg [Fri, 16 Jan 2009 08:48:38 +0000 (08:48 +0000)]
nr-filter-image now yields identical results to using <image> in most cases by making use of nr-compose-transform (the only exception is the case when a file is used that does not contain an alpha channel, then it still uses its own code).

15 years agotrying to fix the build for debian sid. It builds OK for me on Ubuntu 8.10 but a...
JucaBlues [Fri, 16 Jan 2009 00:36:28 +0000 (00:36 +0000)]
trying to fix the build for debian sid. It builds OK for me on Ubuntu 8.10 but a Debian sid user has complained about it. So I am including explicitely the gtkexpander.h
header. I hope it fixes the build for him.

15 years agoadding a "scripting" tab to document properties dialog that allow the user to manage...
JucaBlues [Thu, 15 Jan 2009 18:01:02 +0000 (18:01 +0000)]
adding a "scripting" tab to document properties dialog that allow the user to manage external javascript references.

(also only working for "Inkscape SVG")

15 years agoadded interactivity attributes to the object properties dialog.
JucaBlues [Thu, 15 Jan 2009 10:24:38 +0000 (10:24 +0000)]
added interactivity attributes to the object properties dialog.

If you want to test it, create a new document, draw something, select it, ctrl+shift+O, expand the Interactivity expander and set:

onclick to window.location="http://xkcd.com"
onmouseover to this.style.cursor="pointer"

Save as Inkscape SVG (currently not working for Plain SVG)
then open this SVG file in Firefox to see the result.

15 years agofix include
buliabyak [Thu, 15 Jan 2009 01:30:19 +0000 (01:30 +0000)]
fix include

15 years agoi guess this is better but doesn't fix crash
johanengelen [Wed, 14 Jan 2009 21:10:00 +0000 (21:10 +0000)]
i guess this is better but doesn't fix crash

15 years agotry to fix build
johanengelen [Wed, 14 Jan 2009 21:01:23 +0000 (21:01 +0000)]
try to fix build

15 years agoRemove INKSCAPE_VERSION from menus-skeleton.h
tweenk [Wed, 14 Jan 2009 15:28:20 +0000 (15:28 +0000)]
Remove INKSCAPE_VERSION from menus-skeleton.h

15 years agoavoiding freehand drawings with LPEs with no fill at all. Using black by default...
JucaBlues [Wed, 14 Jan 2009 06:44:31 +0000 (06:44 +0000)]
avoiding freehand drawings with LPEs with no fill at all. Using black by default. Johan, please correct-me in case I am mistaken.

15 years agofixing the build (in Ubuntu GNU/Linux at least)
JucaBlues [Wed, 14 Jan 2009 02:20:42 +0000 (02:20 +0000)]
fixing the build (in Ubuntu GNU/Linux at least)

15 years agofix windows build................................
johanengelen [Tue, 13 Jan 2009 23:12:46 +0000 (23:12 +0000)]
fix windows build................................

15 years agopartly fix build .................
johanengelen [Tue, 13 Jan 2009 22:12:04 +0000 (22:12 +0000)]
partly fix build .................

15 years agoAdd inkscape-version.h to libinkversion sources so it will be
tweenk [Tue, 13 Jan 2009 20:13:48 +0000 (20:13 +0000)]
Add inkscape-version.h to libinkversion sources so it will be
distributed.

15 years agoAdd missing inkscape-version.h
tweenk [Tue, 13 Jan 2009 20:06:33 +0000 (20:06 +0000)]
Add missing inkscape-version.h

15 years agoSnapping cusp nodes:
dvlierop2 [Tue, 13 Jan 2009 20:02:33 +0000 (20:02 +0000)]
Snapping cusp nodes:
- rewrite the tooltip
- disable the button when snapping to cusp nodes is off

15 years agoDo not fail when svn client is not installed and .svn directory is
tweenk [Tue, 13 Jan 2009 02:35:00 +0000 (02:35 +0000)]
Do not fail when svn client is not installed and .svn directory is
present.

15 years agoImproved version reporting. Add SVN revision and custom status to
tweenk [Tue, 13 Jan 2009 02:27:04 +0000 (02:27 +0000)]
Improved version reporting. Add SVN revision and custom status to
version string on Linux.

15 years agoLatest set of tango icons (by jEsuSdA 8) )
dvlierop2 [Mon, 12 Jan 2009 20:25:49 +0000 (20:25 +0000)]
Latest set of tango icons (by jEsuSdA 8) )

15 years agoupdated Tango icon set from Jesusda
prokoudine [Mon, 12 Jan 2009 16:54:45 +0000 (16:54 +0000)]
updated Tango icon set from Jesusda
added Jesusda and Michael Grosberg to the list of contributors

15 years agoCmake: Fixed the extra -l in the link command, plus a add linking for all sub-libs...
verbalshadow [Mon, 12 Jan 2009 01:25:52 +0000 (01:25 +0000)]
Cmake: Fixed the extra -l in the link command, plus a add linking for all sub-libs of inkscape.

15 years agocopyedit
buliabyak [Sun, 11 Jan 2009 22:53:40 +0000 (22:53 +0000)]
copyedit

15 years agoSwitching tools based on tablet device now handles many devices of same type
kiirala [Sun, 11 Jan 2009 21:49:58 +0000 (21:49 +0000)]
Switching tools based on tablet device now handles many devices of same type

15 years agoa much improved Tango icon set from jEsuSdA
prokoudine [Sun, 11 Jan 2009 21:23:57 +0000 (21:23 +0000)]
a much improved Tango icon set from jEsuSdA

15 years agoUseGlibMarshal.cmake - Don't overwrite the file if it hasn't changed
tweenk [Sun, 11 Jan 2009 21:21:20 +0000 (21:21 +0000)]
UseGlibMarshal.cmake - Don't overwrite the file if it hasn't changed

15 years agoNow it is possible to clear the list of documents in
JucaBlues [Sun, 11 Jan 2009 19:49:17 +0000 (19:49 +0000)]
Now it is possible to clear the list of documents in
File -> Open recent

Button added to the Interface page in Inkscape preferences dialog.

15 years agoAdd CMakeLists for the filters directory.
tweenk [Sun, 11 Jan 2009 19:48:45 +0000 (19:48 +0000)]
Add CMakeLists for the filters directory.

15 years agopromote default namespace for INX extension files
speleo3 [Sun, 11 Jan 2009 19:37:52 +0000 (19:37 +0000)]
promote default namespace for INX extension files

15 years ago * [INTL: sk] Slovak update by Ivan Masar
helix84 [Sun, 11 Jan 2009 19:14:34 +0000 (19:14 +0000)]
 * [INTL: sk] Slovak update by Ivan Masar

15 years ago * [INTL: zh_TW] update by Wei-Lun Chao
helix84 [Sun, 11 Jan 2009 19:12:43 +0000 (19:12 +0000)]
 * [INTL: zh_TW] update by Wei-Lun Chao

15 years agoadded some messages to the user in the svgfonts dialog
JucaBlues [Sun, 11 Jan 2009 15:26:30 +0000 (15:26 +0000)]
added some messages to the user in the svgfonts dialog

15 years agoSnap from/to midpoints of a rectangle (SPRect)
dvlierop2 [Sun, 11 Jan 2009 12:31:10 +0000 (12:31 +0000)]
Snap from/to midpoints of a rectangle (SPRect)

15 years agoOptionally snap from/to midpoints of the edges of a bounding box
dvlierop2 [Sun, 11 Jan 2009 12:10:19 +0000 (12:10 +0000)]
Optionally snap from/to midpoints of the edges of a bounding box

15 years agoAdded a new toolbar with snapping controls
dvlierop2 [Sat, 10 Jan 2009 22:21:59 +0000 (22:21 +0000)]
Added a new toolbar with snapping controls

15 years agoFixes rendering of feImage (using bitmaps) by preventing the error "Unable to wrap...
jaspervdg [Sat, 10 Jan 2009 16:25:06 +0000 (16:25 +0000)]
Fixes rendering of feImage (using bitmaps) by preventing the error "Unable to wrap GdkPixbuf".

15 years ago * [INTL: zh_TW] update by Wei-Lun Chao
helix84 [Sat, 10 Jan 2009 08:00:58 +0000 (08:00 +0000)]
 * [INTL: zh_TW] update by Wei-Lun Chao

15 years agoCmake: minor fixes
verbalshadow [Sat, 10 Jan 2009 01:00:09 +0000 (01:00 +0000)]
Cmake: minor fixes

15 years agoCmake: New FindGTK2
verbalshadow [Fri, 9 Jan 2009 20:22:29 +0000 (20:22 +0000)]
Cmake: New FindGTK2

15 years ago * [INTL: zh_TW] update by Wei-Lun Chao
helix84 [Fri, 9 Jan 2009 08:31:49 +0000 (08:31 +0000)]
 * [INTL: zh_TW] update by Wei-Lun Chao

15 years agoCmake: Corrections for mistakes
verbalshadow [Fri, 9 Jan 2009 03:02:28 +0000 (03:02 +0000)]
Cmake: Corrections for mistakes

15 years agoCmake: restructure build files to be more like current build system. Should reduce...
verbalshadow [Fri, 9 Jan 2009 01:57:18 +0000 (01:57 +0000)]
Cmake: restructure build files to be more like current build system. Should reduce linking stage command for windows.

15 years agolittle change to meke extensions more testables
aurium [Fri, 9 Jan 2009 00:27:15 +0000 (00:27 +0000)]
little change to meke extensions more testables

15 years agofix build
johanengelen [Thu, 8 Jan 2009 12:13:12 +0000 (12:13 +0000)]
fix build

15 years agoswitch to using shape_editor, instead of separate knotholders and listeners; fixes...
buliabyak [Thu, 8 Jan 2009 05:37:37 +0000 (05:37 +0000)]
switch to using shape_editor, instead of separate knotholders and listeners; fixes a lot of crashes, simplifies code

15 years agomove shape_editor from node context to the parent class, event context
buliabyak [Thu, 8 Jan 2009 05:34:40 +0000 (05:34 +0000)]
move shape_editor from node context to the parent class, event context

15 years agosmall 2geomify
johanengelen [Wed, 7 Jan 2009 22:49:51 +0000 (22:49 +0000)]
small 2geomify

15 years agoupdate to 2geom rev.1773
johanengelen [Wed, 7 Jan 2009 22:00:50 +0000 (22:00 +0000)]
update to 2geom rev.1773
mostly bugfixes

15 years agoCmake: more fixes plus a patch for OSX paths by Henrik Gustafsson
verbalshadow [Wed, 7 Jan 2009 21:59:22 +0000 (21:59 +0000)]
Cmake: more fixes plus a patch for OSX paths by Henrik Gustafsson

15 years agoadded forgotten files, updated ru.po a bit
prokoudine [Wed, 7 Jan 2009 15:40:48 +0000 (15:40 +0000)]
added forgotten files, updated ru.po a bit

15 years agofix cmake version checking
johanengelen [Tue, 6 Jan 2009 23:12:32 +0000 (23:12 +0000)]
fix cmake version checking

15 years agoCmake: add missing file
verbalshadow [Tue, 6 Jan 2009 19:58:07 +0000 (19:58 +0000)]
Cmake: add missing file

15 years agonew Croatian translation from Davorin Šego
prokoudine [Tue, 6 Jan 2009 19:13:58 +0000 (19:13 +0000)]
new Croatian translation from Davorin Šego

15 years agoCmake: add missing file
verbalshadow [Tue, 6 Jan 2009 18:38:45 +0000 (18:38 +0000)]
Cmake: add missing file

15 years agoCmake: Fixed GioMM Include Directories
verbalshadow [Tue, 6 Jan 2009 18:37:53 +0000 (18:37 +0000)]
Cmake: Fixed GioMM Include Directories

15 years agopatch 276351, fix warning
buliabyak [Tue, 6 Jan 2009 16:13:13 +0000 (16:13 +0000)]
patch 276351, fix warning

15 years agofix crash when no glyph is selected at the svgfonts dialog
JucaBlues [Tue, 6 Jan 2009 15:51:51 +0000 (15:51 +0000)]
fix crash when no glyph is selected at the svgfonts dialog

15 years agoRemove utest
joncruz [Tue, 6 Jan 2009 07:13:59 +0000 (07:13 +0000)]
Remove utest

15 years agoWarning and whitespace cleanup.
joncruz [Tue, 6 Jan 2009 07:11:11 +0000 (07:11 +0000)]
Warning and whitespace cleanup.

15 years agoAnother week coding offline...
JucaBlues [Mon, 5 Jan 2009 23:49:00 +0000 (23:49 +0000)]
Another week coding offline...

* Adding Set Width (horiz-adv-x attribute) slider to the SVGFonts dialog.
* Fixed the order of some language options at the i18n preferences page.
* Fixed parsing and handling of u1 and u2 (CSS2 unicode range) attributes for kerning pair nodes
* Fixed a warning in helper-fns.h
* commented out unused variable in sp-font.cpp
* refactoring of nr-svgfonts.cpp
* using 1000 instead of horiz-adv-x when scaling the glyph coordinates. Probably should use a value based on units-per-em in the future. Or maybe accent-height,
cap-height, x-height... I don't know. I should study this subject a bit more first.

15 years agoRemoved two g_warning's I had used for debugging...
jaspervdg [Mon, 5 Jan 2009 11:44:45 +0000 (11:44 +0000)]
Removed two g_warning's I had used for debugging...

15 years agominor change to prevent double translation and inconsistency
theadib [Mon, 5 Jan 2009 10:30:12 +0000 (10:30 +0000)]
minor change to prevent double translation and inconsistency

15 years agomove option: interface language from INTERNATIONALISATION to INTERFACE page on prefer...
theadib [Mon, 5 Jan 2009 10:09:34 +0000 (10:09 +0000)]
move option: interface language from INTERNATIONALISATION to INTERFACE page on preferences dialogue

15 years agoCmake build fixes, minor
verbalshadow [Mon, 5 Jan 2009 00:38:29 +0000 (00:38 +0000)]
Cmake build fixes, minor

15 years ago(Partial) fix to nr-filter-image + some (small) changes to nr-filter-blend and nr...
jaspervdg [Sun, 4 Jan 2009 16:07:08 +0000 (16:07 +0000)]
(Partial) fix to nr-filter-image + some (small) changes to nr-filter-blend and nr-filter-composite.

15 years agocorrectly initialize vector in spitem.
johanengelen [Sun, 4 Jan 2009 03:56:10 +0000 (03:56 +0000)]
correctly initialize vector in spitem.

15 years ago2geomify marker viewbox
johanengelen [Sun, 4 Jan 2009 03:50:23 +0000 (03:50 +0000)]
2geomify marker viewbox

15 years agoa bit more cleanup
johanengelen [Sun, 4 Jan 2009 03:27:35 +0000 (03:27 +0000)]
a bit more cleanup

15 years agofix bbox calculation of markers
johanengelen [Sun, 4 Jan 2009 03:23:20 +0000 (03:23 +0000)]
fix bbox calculation of markers

15 years agofix possible crash
johanengelen [Sun, 4 Jan 2009 03:14:00 +0000 (03:14 +0000)]
fix possible crash

15 years agoclean up code a bit. especially remove obscure newing of a struct with C++ objects.
johanengelen [Sun, 4 Jan 2009 03:06:57 +0000 (03:06 +0000)]
clean up code a bit. especially remove obscure newing of a struct with C++ objects.

15 years agoapologies for our very fine windows build system
johanengelen [Sun, 4 Jan 2009 02:22:05 +0000 (02:22 +0000)]
apologies for our very fine windows build system

15 years agoupdate of sbasis-geometric.cpp (unitVector() was broken, which affects some lpe's)
jfbarraud [Sat, 3 Jan 2009 22:16:55 +0000 (22:16 +0000)]
update of sbasis-geometric.cpp (unitVector() was broken, which affects some lpe's)

15 years agorely on config file for enabling test effects
johanengelen [Sat, 3 Jan 2009 20:06:46 +0000 (20:06 +0000)]
rely on config file for enabling test effects

15 years agoadd #define LPE_ENABLE_TEST_EFFECTS to config.h for windows and cmake builds.
johanengelen [Sat, 3 Jan 2009 19:43:32 +0000 (19:43 +0000)]
add #define LPE_ENABLE_TEST_EFFECTS to config.h for windows and cmake builds.

15 years agoremove some of the lpe test define clauses. they are not needed. this in preparation...
johanengelen [Sat, 3 Jan 2009 19:28:10 +0000 (19:28 +0000)]
remove some of the lpe test define clauses. they are not needed. this in preparation for moving the define to config.h

15 years agoadded lpe-dynastroke, but hidden as experimental.
jfbarraud [Sat, 3 Jan 2009 01:40:34 +0000 (01:40 +0000)]
added lpe-dynastroke, but hidden as experimental.

15 years agoadd labels
buliabyak [Sat, 3 Jan 2009 01:37:25 +0000 (01:37 +0000)]
add labels

15 years agodisplay filter label, if any, in filtered item description
buliabyak [Sat, 3 Jan 2009 01:36:41 +0000 (01:36 +0000)]
display filter label, if any, in filtered item description

15 years agosome more filters, fixes, rearranges
buliabyak [Sat, 3 Jan 2009 01:34:46 +0000 (01:34 +0000)]
some more filters, fixes, rearranges

15 years agomake 'marker' property work (shorthand for start, mid and end markers); inkscape...
johanengelen [Fri, 2 Jan 2009 20:19:44 +0000 (20:19 +0000)]
make 'marker' property work (shorthand for start, mid and end markers); inkscape now passes svg testsuite painting-marker-03-f.svg

15 years agoimprove cairo path drawing
johanengelen [Fri, 2 Jan 2009 15:33:11 +0000 (15:33 +0000)]
improve cairo path drawing

15 years agofix bug in livarot where open paths are rendered as closed path when start == end...
johanengelen [Fri, 2 Jan 2009 15:16:26 +0000 (15:16 +0000)]
fix bug in livarot where open paths are rendered as closed path when start == end point. now svg testsuite paths-data-10-t.svg is rendered correctly

15 years agoMove filters into their own namespace Inkscape::Filters (from NR::)
johanengelen [Fri, 2 Jan 2009 12:18:25 +0000 (12:18 +0000)]
Move filters into their own namespace Inkscape::Filters  (from NR::)

15 years agoreorder LPE list
johanengelen [Fri, 2 Jan 2009 02:08:21 +0000 (02:08 +0000)]
reorder LPE list
disable test effects per default

15 years ago2geomification
johanengelen [Fri, 2 Jan 2009 00:50:38 +0000 (00:50 +0000)]
2geomification

15 years agoswitch nr-filter to 2geom
johanengelen [Thu, 1 Jan 2009 23:40:56 +0000 (23:40 +0000)]
switch nr-filter to 2geom

15 years agoremove old icon code that seems unused
johanengelen [Thu, 1 Jan 2009 23:14:09 +0000 (23:14 +0000)]
remove old icon code that seems unused

15 years agoremove redundant inclusion
johanengelen [Thu, 1 Jan 2009 23:08:44 +0000 (23:08 +0000)]
remove redundant inclusion

15 years agorevert 19261 partly, to fix toolbar icon loading on windows. disabled themed loading...
johanengelen [Thu, 1 Jan 2009 23:07:07 +0000 (23:07 +0000)]
revert 19261 partly, to fix toolbar icon loading on windows. disabled themed loading of that icon, but the 2 related icons next to it are not themed either. the themed icon does work on windows for the edit menu, so the problem lies in the differences between toolbar and menu icon loading i suppose.

15 years agofix crash when assigning a non-parseable preset filter
buliabyak [Thu, 1 Jan 2009 07:32:49 +0000 (07:32 +0000)]
fix crash when assigning a non-parseable preset filter

15 years agofix crash when ungrouping a group with set-then-unset filter
buliabyak [Thu, 1 Jan 2009 07:31:51 +0000 (07:31 +0000)]
fix crash when ungrouping a group with set-then-unset filter

15 years agoChange lcms transforms to match change of display buffer from RGB-24 to ARGB-32
joncruz [Wed, 31 Dec 2008 20:10:09 +0000 (20:10 +0000)]
Change lcms transforms to match change of display buffer from RGB-24 to ARGB-32

15 years agoWarning cleanup
joncruz [Wed, 31 Dec 2008 08:41:19 +0000 (08:41 +0000)]
Warning cleanup

15 years agoswitch nr-filter to 2geom
johanengelen [Wed, 31 Dec 2008 00:23:40 +0000 (00:23 +0000)]
switch nr-filter to 2geom

15 years agoget rid of a lot of no longer needed "libnr/nr-..." includes.
johanengelen [Tue, 30 Dec 2008 23:10:51 +0000 (23:10 +0000)]
get rid of a lot of no longer needed "libnr/nr-..." includes.

15 years agoget rid of a lot of no longer needed "libnr/nr-..." includes.
johanengelen [Tue, 30 Dec 2008 22:14:34 +0000 (22:14 +0000)]
get rid of a lot of no longer needed "libnr/nr-..." includes.

15 years agoadd possibility to change the UI language (gettext) in preferences dialogue
theAdib [Tue, 30 Dec 2008 20:33:13 +0000 (20:33 +0000)]
add possibility to change the UI language (gettext) in preferences dialogue

15 years agoRemove some obsolete from_2geom() calls
dvlierop2 [Tue, 30 Dec 2008 18:19:04 +0000 (18:19 +0000)]
Remove some obsolete from_2geom() calls

15 years agoRemove utest.
tweenk [Tue, 30 Dec 2008 16:19:18 +0000 (16:19 +0000)]
Remove utest.

15 years agoadjust page height to suit AutoCad
alvinpenner [Mon, 29 Dec 2008 23:08:47 +0000 (23:08 +0000)]
adjust page height to suit AutoCad