Code

inkscape.git
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

15 years agoBuild a single test executable on Linux to match Windows build system.
tweenk [Mon, 29 Dec 2008 22:47:57 +0000 (22:47 +0000)]
Build a single test executable on Linux to match Windows build system.

15 years agoFix bug #311736 (uninitialized variables resulted in weird snapping behaviour on...
dvlierop2 [Mon, 29 Dec 2008 21:33:02 +0000 (21:33 +0000)]
Fix bug #311736 (uninitialized variables resulted in weird snapping behaviour on windows)

15 years agoadded a "remove" context menu option for removing kerning pairs
JucaBlues [Mon, 29 Dec 2008 13:12:07 +0000 (13:12 +0000)]
added a "remove" context menu option for removing kerning pairs

15 years agofixing the upside-down glyph issue for the missing-glyph case (which I
JucaBlues [Mon, 29 Dec 2008 11:00:44 +0000 (11:00 +0000)]
fixing the upside-down glyph issue for the missing-glyph case (which I
had forgoten previously)

Also fixing a crash reported by prokoudine

15 years agofix crash, allow combine to work transparently on groups
buliabyak [Mon, 29 Dec 2008 05:31:53 +0000 (05:31 +0000)]
fix crash, allow combine to work transparently on groups

15 years agoadd utility for recursively replacing groups with their members in a list of objects
buliabyak [Mon, 29 Dec 2008 05:25:23 +0000 (05:25 +0000)]
add utility for recursively replacing groups with their members in a list of objects

15 years agocoding style
buliabyak [Mon, 29 Dec 2008 05:22:00 +0000 (05:22 +0000)]
coding style

15 years agoyet another ru.po update
prokoudine [Mon, 29 Dec 2008 02:21:27 +0000 (02:21 +0000)]
yet another ru.po update

15 years agoMore NR ==> Geom changes
verbalshadow [Sun, 28 Dec 2008 22:44:35 +0000 (22:44 +0000)]
More NR ==> Geom changes

15 years agoconvert NR to Geom
johanengelen [Sun, 28 Dec 2008 21:56:47 +0000 (21:56 +0000)]
convert NR to Geom

15 years agoconvert NR to Geom
johanengelen [Sun, 28 Dec 2008 21:50:27 +0000 (21:50 +0000)]
convert NR to Geom

15 years agoNow users can design a font within inkscape, save it and then open the
JucaBlues [Sun, 28 Dec 2008 18:35:14 +0000 (18:35 +0000)]
Now users can design a font within inkscape, save it and then open the
SVG file in Fontforge in order to export a truetype font (or other
system font formarts fontforge supports).
This improves previous workflow of font design using Inkscape which
involved creating one SVG for each glyph. Now user only needs to create
a single SVG file containing an SVGFont.

Glyph kerning settings for the font can also be defined withing Inkscape
itself with live preview. The kerning management still needs some
improvements but is currently functional at least.

Improvements in the SVGFonts dialog:

* In Global Settings tab you can define the font family name. Other
attributes should be added to this tab in the future.
* Glyphs tab allows the user to:
** see a list (combobox) of glyphs available in the currently selected
font.
** add/remove glyphs
** edit glyph name and unicode
** set the glyph curves based on a given path (selected from canvas).
Same feature for the missing glyph.
* Kerning tab allows user to:
** add new kerning pairs
** adjust kerning values of selected kerning pair
** live preview while adjusting the kerning values

Code refactoring:

* Inner classes DocumentProperties::SignalObserver and
FilterEffectsDialog::SignalObserver were duplicated code and another
instance would be needed in SVGFonts dialog. So, I moved it to
Inkscape::XML::SignalObserver (in helper-observer.{cpp,h})
* changed SPGlyph->glyph_name and SPGlyph->unicode from char* to
Glib::ustring
* added sp_remove_resource to the release method in sp-font.cpp
* glyph curves used to be stored (in d attribute) and rendered
upside-down. Now that bug is fixed.

Sorry about this huge commit. I got one week away from the Internet
during a xmas travel. The lack of 'net connection made me work more
intensely in Inkscape :-D

Felipe Sanches

15 years agoMakes sure a Gaussian filter is applied to premultiplied data.
jaspervdg [Sun, 28 Dec 2008 12:36:13 +0000 (12:36 +0000)]
Makes sure a Gaussian filter is applied to premultiplied data.

15 years agoEliminate unnecessary premultiplied boolean from nr-filter-colormatrix
jaspervdg [Sun, 28 Dec 2008 08:19:50 +0000 (08:19 +0000)]
Eliminate unnecessary premultiplied boolean from nr-filter-colormatrix

15 years agoexit message if first object has a sodipodi:type
alvinpenner [Sat, 27 Dec 2008 17:17:57 +0000 (17:17 +0000)]
exit message if first object has a sodipodi:type

15 years agoallow first selected object to be a group
alvinpenner [Sat, 27 Dec 2008 14:55:56 +0000 (14:55 +0000)]
allow first selected object to be a group

15 years agoadd support for quadratic Bezier
alvinpenner [Tue, 23 Dec 2008 02:27:45 +0000 (02:27 +0000)]
add support for quadratic Bezier

15 years agoSome accuracy improvements for nr-filter-colormatrix (including some changes to let...
jaspervdg [Mon, 22 Dec 2008 17:19:13 +0000 (17:19 +0000)]
Some accuracy improvements for nr-filter-colormatrix (including some changes to let it use premultiplied colors if possible) + author entry I forgot to add in revision 20391.

15 years agofix crash bug 310206
johanengelen [Mon, 22 Dec 2008 15:30:36 +0000 (15:30 +0000)]
fix crash bug 310206

15 years agoconvert LINE entity to LWPOLYLINE
alvinpenner [Sun, 21 Dec 2008 22:17:58 +0000 (22:17 +0000)]
convert LINE entity to LWPOLYLINE

15 years agorevert change of sp_item_i2d_affine in rev 20388, as it crashed command line use
speleo3 [Sun, 21 Dec 2008 01:03:08 +0000 (01:03 +0000)]
revert change of sp_item_i2d_affine in rev 20388, as it crashed command line use

15 years agoSome accuracy improvements for ComponentTransfer filters (should also be somewhat...
jaspervdg [Sat, 20 Dec 2008 16:53:19 +0000 (16:53 +0000)]
Some accuracy improvements for ComponentTransfer filters (should also be somewhat faster).

15 years agoFixes "disappearing gradients" problem discussed on mailing list and adds a few g_war...
jaspervdg [Sat, 20 Dec 2008 14:00:41 +0000 (14:00 +0000)]
Fixes "disappearing gradients" problem discussed on mailing list and adds a few g_warnings to component transfer type checks.

15 years agopropagate additional_affine into groups of clip/mask paths
speleo3 [Sat, 20 Dec 2008 10:23:02 +0000 (10:23 +0000)]
propagate additional_affine into groups of clip/mask paths

15 years agoobject-snapper.cpp
speleo3 [Sat, 20 Dec 2008 10:12:04 +0000 (10:12 +0000)]
object-snapper.cpp
 * fix snapping to clip/mask with parent transform
 * replace matrix_to_desktop call

sp-item.h
sp-item.cpp
 * improve snapping to clip/mask with parent transform
 * remove matrix_to_desktop/matrix_from_desktop
 * use desktop->doc2dt() with sp_item_i2d_affine(...)

desktop.h
desktop.cpp
 * new method: dt2doc()

selection-chemistry.cpp
 * remove awkward matrix_to_desktop(matrix_from_desktop(...)) calls

15 years agolower limit on linewidth
alvinpenner [Fri, 19 Dec 2008 23:45:45 +0000 (23:45 +0000)]
lower limit on linewidth

15 years agofix bug #166937 (with viewBox, simplify oversimplifies)
speleo3 [Fri, 19 Dec 2008 21:14:53 +0000 (21:14 +0000)]
fix bug #166937 (with viewBox, simplify oversimplifies)

15 years agoMakes copy_n inline in nr-filter-gaussian.
jaspervdg [Fri, 19 Dec 2008 11:39:17 +0000 (11:39 +0000)]
Makes copy_n inline in nr-filter-gaussian.

15 years agofixed transform_mutliply for vector lpe parameter.
jfbarraud [Wed, 17 Dec 2008 22:24:38 +0000 (22:24 +0000)]
fixed transform_mutliply for vector lpe parameter.

15 years agofix compile after rev 20377
johanengelen [Tue, 16 Dec 2008 19:28:29 +0000 (19:28 +0000)]
fix compile after rev 20377

15 years ago * remove sp_item_i2root_affine and sp_item_i2r_affine and replace all calls by
speleo3 [Tue, 16 Dec 2008 15:52:36 +0000 (15:52 +0000)]
 * remove sp_item_i2root_affine and sp_item_i2r_affine and replace all calls by
   sp_item_i2doc_affine or sp_item_i2d_affine respectively
 * remove sp_root_bbox, root->c2p was considered in the wrong place there
 * in sp_item_i2doc_affine do not consider SP_ITEM(object)->transform for root
   node, because <svg> node does not have a transform attribute
 * fix style scaling for boolean operations (with viewBox)
 * fix zoom to fit drawing (with viewBox)
 * fix export area size for "export drawing" (with viewBox)
 * fix simultaneous movement of clone + original (with viewBox)

15 years agoAdded "Add" button to the SVG Fonts dialog.
JucaBlues [Tue, 16 Dec 2008 11:39:06 +0000 (11:39 +0000)]
Added "Add" button to the SVG Fonts dialog.

15 years ago1) snap midpoints of line segments (both as source and as target)
dvlierop2 [Sun, 14 Dec 2008 20:49:00 +0000 (20:49 +0000)]
1) snap midpoints of line segments (both as source and as target)
2) snap intersections within a single shape (as source; as target was already implemented)

15 years agoFilter quality setting revised, seems to not crash when viewing filters.svg
kiirala [Sun, 14 Dec 2008 19:22:09 +0000 (19:22 +0000)]
Filter quality setting revised, seems to not crash when viewing filters.svg

15 years agofixed part 2 of bug #168372
speleo3 [Sun, 14 Dec 2008 11:00:28 +0000 (11:00 +0000)]
fixed part 2 of bug #168372

15 years agofix build for commit 20341
johanengelen [Sat, 13 Dec 2008 21:39:07 +0000 (21:39 +0000)]
fix build for commit 20341

15 years agoremove bezier-utils. now we use 2geom's one.
johanengelen [Sat, 13 Dec 2008 21:21:10 +0000 (21:21 +0000)]
remove bezier-utils. now we use 2geom's one.
remove bezier-utils-test as well.

15 years agoremove bezier-util from tests
johanengelen [Sat, 13 Dec 2008 21:19:52 +0000 (21:19 +0000)]
remove bezier-util from tests

15 years agoremove 2geom transition code
johanengelen [Sat, 13 Dec 2008 21:01:22 +0000 (21:01 +0000)]
remove 2geom transition code

15 years agopencil sketching now allows for different smooth settings
johanengelen [Sat, 13 Dec 2008 20:46:21 +0000 (20:46 +0000)]
pencil sketching now allows for different smooth settings
(sketch mode is still work in progress)

15 years agofix LPE Sketch with new 2geom
johanengelen [Sat, 13 Dec 2008 20:28:32 +0000 (20:28 +0000)]
fix LPE Sketch with new 2geom

15 years agofix compile.
johanengelen [Sat, 13 Dec 2008 20:18:38 +0000 (20:18 +0000)]
fix compile.
re-enable decrepated 2geom function

15 years agofix compile.
johanengelen [Sat, 13 Dec 2008 20:15:24 +0000 (20:15 +0000)]
fix compile.
re-enable decrepated 2geom functions.

15 years agoadd missing files
johanengelen [Sat, 13 Dec 2008 20:09:58 +0000 (20:09 +0000)]
add missing files

15 years agoupdate to 2geom rev.1723
johanengelen [Sat, 13 Dec 2008 19:56:16 +0000 (19:56 +0000)]
update to 2geom rev.1723

15 years agoadd sketch mode to pencil tool
johanengelen [Sat, 13 Dec 2008 17:31:18 +0000 (17:31 +0000)]
add sketch mode to pencil tool

15 years agoscale Model Space to size A4
alvinpenner [Sat, 13 Dec 2008 12:12:19 +0000 (12:12 +0000)]
scale Model Space to size A4

15 years agoupdated Catalan translation from Joaquim Perez Noguer
prokoudine [Fri, 12 Dec 2008 23:32:38 +0000 (23:32 +0000)]
updated Catalan translation from Joaquim Perez Noguer

15 years agoupdated ru.po
prokoudine [Fri, 12 Dec 2008 19:33:05 +0000 (19:33 +0000)]
updated ru.po

15 years agofixed: getting pagecolor for bordercolor
speleo3 [Fri, 12 Dec 2008 14:01:18 +0000 (14:01 +0000)]
fixed: getting pagecolor for bordercolor

15 years agotypo in xMaxYMid
speleo3 [Fri, 12 Dec 2008 13:16:12 +0000 (13:16 +0000)]
typo in xMaxYMid

15 years agouse iso-8859-1
alvinpenner [Fri, 12 Dec 2008 11:15:17 +0000 (11:15 +0000)]
use iso-8859-1

15 years agobug #166885 (preserveAspectRatio="none" misinterpreted)
speleo3 [Thu, 11 Dec 2008 23:01:43 +0000 (23:01 +0000)]
bug #166885 (preserveAspectRatio="none" misinterpreted)

15 years agofixed snapping of handles (broken since rev 20247)
speleo3 [Thu, 11 Dec 2008 11:37:24 +0000 (11:37 +0000)]
fixed snapping of handles (broken since rev 20247)

15 years agospecify metric units
alvinpenner [Wed, 10 Dec 2008 22:57:55 +0000 (22:57 +0000)]
specify metric units

15 years ago- Fix bug #304405 (snapping to an intersection of lines at infinity is wrong)
dvlierop2 [Wed, 10 Dec 2008 21:51:33 +0000 (21:51 +0000)]
- Fix bug #304405 (snapping to an intersection of lines at infinity is wrong)
- Replace tabs by spaces

15 years ago * Removing the bitmap files that aren't being used.
Ted Gould [Wed, 10 Dec 2008 21:36:50 +0000 (13:36 -0800)]
 * Removing the bitmap files that aren't being used.
 * Removing the filter files that haven't been used.
 * Adding a small little script to pull the strings out of the filters.svg
   file and pull them into a header file so that they can be translated.
 * Fix generate_POTFILES.sh so that it warns that it'll probably break
   things
 * Update POTFILES.in so that it matches the files better.
 * Making a bunch of .svg files not executable.
 * Patching the effects code so that the sorting of the menus is correct
   and the first entry is not ignored.

15 years agouse 2geom bezier fitting (is copy of inkscape's)
johanengelen [Wed, 10 Dec 2008 18:57:09 +0000 (18:57 +0000)]
use 2geom bezier fitting (is copy of inkscape's)

15 years agonodepath: use 2geom bezier fitting (is copy of inkscape's)
johanengelen [Wed, 10 Dec 2008 18:52:07 +0000 (18:52 +0000)]
nodepath: use 2geom bezier fitting (is copy of inkscape's)

15 years ago* [INTL: en_GB] British English update by Tim Sheridan
helix84 [Wed, 10 Dec 2008 08:27:33 +0000 (08:27 +0000)]
* [INTL: en_GB] British English update by Tim Sheridan

15 years agofixed typo, removed obsolete entry, updated Russian translation a bit
prokoudine [Wed, 10 Dec 2008 00:57:27 +0000 (00:57 +0000)]
fixed typo, removed obsolete entry, updated Russian translation a bit

15 years agoremove orphaned NRMatrix wrapper for sp_item_write_transform
speleo3 [Tue, 9 Dec 2008 19:31:12 +0000 (19:31 +0000)]
remove orphaned NRMatrix wrapper for sp_item_write_transform

15 years agoreworked ClipboardManagerImpl::_pasteDocument, code cleanup and finally fixing remain...
speleo3 [Tue, 9 Dec 2008 19:10:22 +0000 (19:10 +0000)]
reworked ClipboardManagerImpl::_pasteDocument, code cleanup and finally fixing remaining issues with bug #234305

15 years agopreferences.cpp: Remove an assert that causes problems with some
tweenk [Tue, 9 Dec 2008 02:29:32 +0000 (02:29 +0000)]
preferences.cpp: Remove an assert that causes problems with some
input devices.

15 years agoSimplify "make check" makefile rules and remove most of the obsolete
tweenk [Tue, 9 Dec 2008 00:06:13 +0000 (00:06 +0000)]
Simplify "make check" makefile rules and remove most of the obsolete
utest-based tests.

15 years agofix for Bug #234305 (paste into transformed groups)
speleo3 [Mon, 8 Dec 2008 22:22:51 +0000 (22:22 +0000)]
fix for Bug #234305 (paste into transformed groups)

15 years agoMake all tools consider full parent transform (up to document, not just up to root)
speleo3 [Mon, 8 Dec 2008 21:54:37 +0000 (21:54 +0000)]
Make all tools consider full parent transform (up to document, not just up to root)
See http://wiki.inkscape.org/wiki/index.php/ViewBoxToDo

15 years ago"make check" now compiles and runs on Linux.
tweenk [Mon, 8 Dec 2008 20:29:12 +0000 (20:29 +0000)]
"make check" now compiles and runs on Linux.

15 years agoMakes page-sizer be a little less eager to change the orientation of pages automatica...
jaspervdg [Mon, 8 Dec 2008 10:21:58 +0000 (10:21 +0000)]
Makes page-sizer be a little less eager to change the orientation of pages automatically(!), it only does it for page sizes which are preferred to be in a certain orientation (landscape) now.

15 years agoRemoved sp_main_* stubs from individual headers to make the unit tests build on Windo...
jaspervdg [Mon, 8 Dec 2008 10:03:49 +0000 (10:03 +0000)]
Removed sp_main_* stubs from individual headers to make the unit tests build on Windows again.

15 years agoWarning and 'using' cleanup.
joncruz [Mon, 8 Dec 2008 07:15:15 +0000 (07:15 +0000)]
Warning and 'using' cleanup.

15 years agoPartial fix for "make check" compilation failure.
tweenk [Mon, 8 Dec 2008 00:11:20 +0000 (00:11 +0000)]
Partial fix for "make check" compilation failure.

15 years agoBug #167682 (resizing page must also resize viewBox)
speleo3 [Sun, 7 Dec 2008 21:25:14 +0000 (21:25 +0000)]
Bug #167682 (resizing page must also resize viewBox)

15 years agoFix a typo that causes a runtime error during the preferences test.
tweenk [Sun, 7 Dec 2008 20:55:20 +0000 (20:55 +0000)]
Fix a typo that causes a runtime error during the preferences test.

15 years agoChanged term away from "embed" since that has specific meaning.
joncruz [Sun, 7 Dec 2008 07:05:10 +0000 (07:05 +0000)]
Changed term away from "embed" since that has specific meaning.

15 years agoAdd unit tests for the Inkscape::Preferences class.
tweenk [Sun, 7 Dec 2008 00:49:28 +0000 (00:49 +0000)]
Add unit tests for the Inkscape::Preferences class.

15 years agoChange the way preferences are loaded to simplify unit testing
tweenk [Sun, 7 Dec 2008 00:44:56 +0000 (00:44 +0000)]
Change the way preferences are loaded to simplify unit testing

15 years agoRemoved duplication of menu items.
joncruz [Sat, 6 Dec 2008 20:35:10 +0000 (20:35 +0000)]
Removed duplication of menu items.
Fixed assert from unref'ing defs.

15 years agoRemoved warning for expected condition.
joncruz [Sat, 6 Dec 2008 20:30:18 +0000 (20:30 +0000)]
Removed warning for expected condition.

15 years agoWarning cleanup.
joncruz [Sat, 6 Dec 2008 08:57:32 +0000 (08:57 +0000)]
Warning cleanup.

15 years agosimplify interpolating the curve in pencil-context.
johanengelen [Sat, 6 Dec 2008 01:20:12 +0000 (01:20 +0000)]
simplify interpolating the curve in pencil-context.

15 years agoNR -> 2Geom few more files
verbalshadow [Fri, 5 Dec 2008 22:40:41 +0000 (22:40 +0000)]
NR -> 2Geom few more files

15 years ago2geom more as fix
johanengelen [Fri, 5 Dec 2008 21:51:06 +0000 (21:51 +0000)]
2geom more as fix

15 years agoChanged it use common code for profile locations.
joncruz [Fri, 5 Dec 2008 21:26:04 +0000 (21:26 +0000)]
Changed it use common code for profile locations.

15 years agomore 2geomification
johanengelen [Fri, 5 Dec 2008 21:17:52 +0000 (21:17 +0000)]
more 2geomification

15 years ago2geomify filter-chemistry
johanengelen [Fri, 5 Dec 2008 21:06:10 +0000 (21:06 +0000)]
2geomify filter-chemistry

15 years ago2geom eraser tool
johanengelen [Fri, 5 Dec 2008 20:46:42 +0000 (20:46 +0000)]
2geom eraser tool

15 years agoNR::LInfty => Geom::
johanengelen [Fri, 5 Dec 2008 19:57:37 +0000 (19:57 +0000)]
NR::LInfty => Geom::

15 years agoNR -> 2Geom, more h and cpp files
verbalshadow [Fri, 5 Dec 2008 19:56:36 +0000 (19:56 +0000)]
NR -> 2Geom, more h and cpp files

15 years agoLayout code cleanup.
joncruz [Fri, 5 Dec 2008 09:25:23 +0000 (09:25 +0000)]
Layout code cleanup.

15 years agoAvoid problems when document is being closed.
joncruz [Fri, 5 Dec 2008 08:58:23 +0000 (08:58 +0000)]
Avoid problems when document is being closed.

15 years agoGNU/Linux!
JucaBlues [Fri, 5 Dec 2008 06:27:05 +0000 (06:27 +0000)]
GNU/Linux!

15 years agoMisc. cleanup
joncruz [Fri, 5 Dec 2008 06:22:43 +0000 (06:22 +0000)]
Misc. cleanup

15 years agoWarning cleanup.
joncruz [Fri, 5 Dec 2008 06:21:29 +0000 (06:21 +0000)]
Warning cleanup.

15 years agoCorrected initialization order.
joncruz [Fri, 5 Dec 2008 06:20:32 +0000 (06:20 +0000)]
Corrected initialization order.