Code

inkscape.git
17 years ago r15378@tres: ted | 2007-05-09 18:59:27 -0700
gouldtj [Wed, 27 Jun 2007 06:20:19 +0000 (06:20 +0000)]
 r15378@tres:  ted | 2007-05-09 18:59:27 -0700
 Wow, working pretty well now.  More updates and let's make this a little
 bit cooler.

17 years ago r15377@tres: ted | 2007-05-08 22:03:14 -0700
gouldtj [Wed, 27 Jun 2007 06:20:11 +0000 (06:20 +0000)]
 r15377@tres:  ted | 2007-05-08 22:03:14 -0700
 It seems to work... I'm not entirely sure I understand why.  Needs more
 testing, but I'm optimistic.

17 years ago(no commit message)
gouldtj [Wed, 27 Jun 2007 06:19:58 +0000 (06:19 +0000)]

17 years ago r15368@tres: ted | 2007-05-05 13:53:51 -0700
gouldtj [Wed, 27 Jun 2007 06:19:46 +0000 (06:19 +0000)]
 r15368@tres:  ted | 2007-05-05 13:53:51 -0700
 Basic adjustments to get async all connected in.  This compiles for
 effects, but then it crashes.  But, it's a decent start.

17 years agoswitch SPStyle to using SPFilterReference for filters; sp_style_new now requires...
buliabyak [Wed, 27 Jun 2007 05:41:53 +0000 (05:41 +0000)]
switch SPStyle to using SPFilterReference for filters; sp_style_new now requires an SPDocument; SPURIReference and SPFilterReference have an alternative constructor taking an owner_document instead of owner object

17 years agofix issue introduced in r14229
mental [Wed, 27 Jun 2007 01:46:48 +0000 (01:46 +0000)]
fix issue introduced in r14229

17 years agomore unreffing temporary styles properly
buliabyak [Wed, 27 Jun 2007 01:43:23 +0000 (01:43 +0000)]
more unreffing temporary styles properly

17 years agounref temporary styles properly
buliabyak [Wed, 27 Jun 2007 01:14:33 +0000 (01:14 +0000)]
unref temporary styles properly

17 years agofix style querying: now all objects have style, so to go up from SPStrings we need...
buliabyak [Wed, 27 Jun 2007 00:47:49 +0000 (00:47 +0000)]
fix style querying: now all objects have style, so to go up from SPStrings we need a different check

17 years agoFix "parsing error" with check-markup.
cmarqu [Tue, 26 Jun 2007 22:33:11 +0000 (22:33 +0000)]
Fix "parsing error" with check-markup.

17 years agoimplementing snapping to images
dvlierop2 [Tue, 26 Jun 2007 21:07:31 +0000 (21:07 +0000)]
implementing snapping to images

17 years agoAdd gtkrc to build.xml. Fix native path on <makefile>
ishmal [Tue, 26 Jun 2007 15:01:41 +0000 (15:01 +0000)]
Add gtkrc to build.xml.  Fix native path on <makefile>

17 years agoMove icon of 3D Box tool between Text tool and Connector tool
cilix42 [Tue, 26 Jun 2007 10:13:53 +0000 (10:13 +0000)]
Move icon of 3D Box tool between Text tool and Connector tool

17 years agoComplete fix of cast causing compile error on x86-64 (see commit no. 15178)
cilix42 [Tue, 26 Jun 2007 07:35:31 +0000 (07:35 +0000)]
Complete fix of cast causing compile error on x86-64 (see commit no. 15178)

17 years agofix effect to work after the lxml conversion
acspike [Tue, 26 Jun 2007 02:41:30 +0000 (02:41 +0000)]
fix effect to work after the lxml conversion

17 years agofix 1721790
buliabyak [Tue, 26 Jun 2007 02:27:14 +0000 (02:27 +0000)]
fix 1721790

17 years agofix up what was left broken after the lxml conversion
acspike [Tue, 26 Jun 2007 01:25:38 +0000 (01:25 +0000)]
fix up what was left broken after the lxml conversion

17 years agoRemove unused function sp_png_write_rgba (and its helper function sp_png_get_block_st...
pjrm [Mon, 25 Jun 2007 11:31:46 +0000 (11:31 +0000)]
Remove unused function sp_png_write_rgba (and its helper function sp_png_get_block_stripe).
(sp_png_write_rgba_striped): Don't export this function.  Change return type from int to bool.
(sp_export_png_file): Change return type from int to bool.

17 years agonoop: (sp_export_png_file): Switch from NRMatrix to NR::Matrix.
pjrm [Mon, 25 Jun 2007 11:14:35 +0000 (11:14 +0000)]
noop: (sp_export_png_file): Switch from NRMatrix to NR::Matrix.

17 years agoCodingStyle: whitespace
pjrm [Mon, 25 Jun 2007 11:12:09 +0000 (11:12 +0000)]
CodingStyle: whitespace

17 years agoCodingStyle: const usage
pjrm [Mon, 25 Jun 2007 11:06:00 +0000 (11:06 +0000)]
CodingStyle: const usage

17 years agofunctional noop: src/display/nr-filter-gaussian.cpp: Make a few symbols local (static).
pjrm [Mon, 25 Jun 2007 10:20:09 +0000 (10:20 +0000)]
functional noop: src/display/nr-filter-gaussian.cpp: Make a few symbols local (static).

17 years agotranslator files README and HACKING
ps_aux [Mon, 25 Jun 2007 04:16:35 +0000 (04:16 +0000)]
translator files README and HACKING

17 years agoUpdate python to 2.5. Add lxml and numpy, remove pyxml.
ishmal [Mon, 25 Jun 2007 01:13:11 +0000 (01:13 +0000)]
Update python to 2.5.  Add lxml and numpy, remove pyxml.

17 years agomove blend after blur, and blend with background buffer (enabled as
mental [Sun, 24 Jun 2007 18:42:24 +0000 (18:42 +0000)]
move blend after blur, and blend with background buffer (enabled as
necessary)

17 years agoinitial filter UI code drop from Nick
mental [Sun, 24 Jun 2007 18:42:18 +0000 (18:42 +0000)]
initial filter UI code drop from Nick

17 years agomerge OpenFont license support
mental [Sun, 24 Jun 2007 17:17:14 +0000 (17:17 +0000)]
merge OpenFont license support

17 years agoFix cast causing compile error on x86-64
gustav_b [Sun, 24 Jun 2007 14:47:56 +0000 (14:47 +0000)]
Fix cast causing compile error on x86-64

17 years agomore pyxml to lxml conversion.
acspike [Sun, 24 Jun 2007 13:17:46 +0000 (13:17 +0000)]
more pyxml to lxml conversion.
I'd like to get someone else to look at Barcode and the TeX extension.
Some of the big name extensions like pathalongpath.py still don't work but I have started converting (and somehow broke them). committing in case someone wants to help fix. :-)

17 years agoRight clicking on the swatch now correctly sets the outline colour.
joelholdsworth [Sun, 24 Jun 2007 12:51:33 +0000 (12:51 +0000)]
Right clicking on the swatch now correctly sets the outline colour.

17 years agoassert leads to false negatives
dvlierop2 [Sun, 24 Jun 2007 12:04:12 +0000 (12:04 +0000)]
assert leads to false negatives

17 years agoThis is a minor patch for the windows RC files. I've added the VERSIONINFO metadata...
joelholdsworth [Sun, 24 Jun 2007 10:25:46 +0000 (10:25 +0000)]
This is a minor patch for the windows RC files. I've added the VERSIONINFO metadata, as well as a manifest entry to both inkview.rc, and inkscape.rc. The two xml manifest files have been added to \src as well.

17 years agoupdated Ukrainian translation from Maxim Dziumanenko
prokoudine [Sat, 23 Jun 2007 20:25:59 +0000 (20:25 +0000)]
updated Ukrainian translation from Maxim Dziumanenko

17 years agoFixed a crash when changing blur of filtered object after duplicating it
kiirala [Sat, 23 Jun 2007 18:37:19 +0000 (18:37 +0000)]
Fixed a crash when changing blur of filtered object after duplicating it

17 years agoUsing the blur slider no longer destroys filters already applied to the object
kiirala [Sat, 23 Jun 2007 15:35:28 +0000 (15:35 +0000)]
Using the blur slider no longer destroys filters already applied to the object

17 years agoAdded polar coordinates.
tavmjong [Fri, 22 Jun 2007 11:11:19 +0000 (11:11 +0000)]
Added polar coordinates.
Added "Use" tab to dialog.

17 years agoFirst (very limited) version of the 3D box tool; allows for drawing of new boxes...
cilix42 [Thu, 21 Jun 2007 13:01:57 +0000 (13:01 +0000)]
First (very limited) version of the 3D box tool; allows for drawing of new boxes in a fixed perspective without any live interaction.

17 years agoFix function plotter for the most common case where there are no transforms applied...
acspike [Thu, 21 Jun 2007 11:49:24 +0000 (11:49 +0000)]
Fix function plotter for the most common case where there are no transforms applied to the rect objects. Thanks Tav for catching this.

17 years agoHandle the case of gnome_vfs_init failing. (Fixes Debian bug http://bugs.debian...
pjrm [Thu, 21 Jun 2007 09:05:40 +0000 (09:05 +0000)]
Handle the case of gnome_vfs_init failing.  (Fixes Debian bug bugs.debian.org/cgi-bin/bugreport.cgi?bug=415640.)

17 years agoCommitted patch 170667
jiho-sf [Thu, 21 Jun 2007 08:32:27 +0000 (08:32 +0000)]
Committed patch 170667
"There is a small bashism in share/extenions/ps2pdf.sh. This will result in a problem when using "Save As..." with "PDF with Text and Images" selected on systems using /bin/dash as the default shell.
Even if this kind of PDF output does not exist anymore...

17 years agoAdd fixme comment re testing for file existence inside g_return_if_fail.
pjrm [Wed, 20 Jun 2007 22:12:10 +0000 (22:12 +0000)]
Add fixme comment re testing for file existence inside g_return_if_fail.

17 years agoAnother round of extension conversion (from pyxml to lxml) and some corrections
acspike [Wed, 20 Jun 2007 03:31:47 +0000 (03:31 +0000)]
Another round of extension conversion (from pyxml to lxml) and some corrections

17 years agoForgot in earlier commit.
scislac [Tue, 19 Jun 2007 06:21:51 +0000 (06:21 +0000)]
Forgot in earlier commit.

17 years agobegin converting python extensions to use lxml. this might take me a while and it...
acspike [Tue, 19 Jun 2007 03:45:13 +0000 (03:45 +0000)]
begin converting python extensions to use lxml. this might take me a while and it will break unconverted extensions in the meanwhile.

17 years agoPatch 1664857 - Rename windows.gpl (plus internal name change) to windowsXP.gpl to...
scislac [Tue, 19 Jun 2007 02:50:27 +0000 (02:50 +0000)]
Patch 1664857 - Rename windows.gpl (plus internal name change) to windowsXP.gpl to reflect real palette application. Windows Vista icons don't have a recommended palette, so it was appropriate to distinguish.

17 years agopatch 1734633: option to save window geometry in prefs
buliabyak [Mon, 18 Jun 2007 18:52:51 +0000 (18:52 +0000)]
patch 1734633: option to save window geometry in prefs

17 years agoUp to date with current sources.
cmarqu [Sun, 17 Jun 2007 23:11:27 +0000 (23:11 +0000)]
Up to date with current sources.

17 years agoAdd translator hint.
cmarqu [Sun, 17 Jun 2007 23:00:43 +0000 (23:00 +0000)]
Add translator hint.

17 years agoAdd translator hint.
cmarqu [Sun, 17 Jun 2007 22:59:48 +0000 (22:59 +0000)]
Add translator hint.

17 years agofix double instancing of signal connectors in SPUseReference
johanengelen [Sun, 17 Jun 2007 20:18:12 +0000 (20:18 +0000)]
fix double instancing of signal connectors in SPUseReference

17 years agoSome more translations.
cmarqu [Sat, 16 Jun 2007 23:15:14 +0000 (23:15 +0000)]
Some more translations.

17 years agoUpdated all po files with original strings from the current sources. Updated de.po...
cmarqu [Sat, 16 Jun 2007 22:04:23 +0000 (22:04 +0000)]
Updated all po files with original strings from the current sources. Updated de.po a bit.

17 years agosome changes bcs of the name of uninstall.exe
theadib [Fri, 15 Jun 2007 22:36:49 +0000 (22:36 +0000)]
some changes bcs of the name of uninstall.exe

17 years agoinstaller remembers installed files and uninstaller does not delete user files
theadib [Fri, 15 Jun 2007 22:15:35 +0000 (22:15 +0000)]
installer remembers installed files and uninstaller does not delete user files

17 years agochanges to install he - hebrew
theadib [Fri, 15 Jun 2007 20:51:30 +0000 (20:51 +0000)]
changes to install he - hebrew

17 years agofix: [ 1733245 ] Installer misspells Finnish as Finish
theadib [Fri, 15 Jun 2007 19:47:41 +0000 (19:47 +0000)]
fix: [ 1733245 ] Installer misspells Finnish as Finish

17 years agomodified the symlink for python packages to point to the real location (inside python...
jiho-sf [Fri, 15 Jun 2007 16:48:53 +0000 (16:48 +0000)]
modified the symlink for python packages to point to the real location (inside python framework) instead of /Library/Python/... which is a link to the real location. Indeed the link is broken on 10.3 aka. Panther

17 years agopatch 1729267 for bug 1712481
buliabyak [Thu, 14 Jun 2007 20:37:08 +0000 (20:37 +0000)]
patch 1729267 for bug 1712481

17 years agoadded the lines for LaTeX Beamer palette and template committed in r15045 in the...
jiho-sf [Thu, 14 Jun 2007 17:40:06 +0000 (17:40 +0000)]
added the lines for LaTeX Beamer palette and template committed in r15045 in the appropriate Makefile.am (otherwise they were present but not installed)

17 years ago * More fixes :)
luca_bruno [Thu, 14 Jun 2007 07:34:26 +0000 (07:34 +0000)]
 * More fixes :)

17 years ago * Various Typo fixed
luca_bruno [Thu, 14 Jun 2007 07:14:08 +0000 (07:14 +0000)]
 * Various Typo fixed

17 years agoOnly snap the real corners of a rectangle, not the start and end points of each round...
dvlierop2 [Wed, 13 Jun 2007 20:39:53 +0000 (20:39 +0000)]
Only snap the real corners of a rectangle, not the start and end points of each rounded corener

17 years agoFixed a rendering problem in feOffset
kiirala [Wed, 13 Jun 2007 14:56:06 +0000 (14:56 +0000)]
Fixed a rendering problem in feOffset

17 years agoFilter effects: support for SourceAlpha and BackgroundAlpha
kiirala [Tue, 12 Jun 2007 19:04:36 +0000 (19:04 +0000)]
Filter effects: support for SourceAlpha and BackgroundAlpha

17 years agoFixed background access problems introduced in previous revision
kiirala [Thu, 7 Jun 2007 17:52:46 +0000 (17:52 +0000)]
Fixed background access problems introduced in previous revision

17 years agoFirst version of feOffset support. Contains some rendering glitches.
kiirala [Thu, 7 Jun 2007 15:26:34 +0000 (15:26 +0000)]
First version of feOffset support. Contains some rendering glitches.

17 years agofixed string parameter to work with latex extension. will need further research....
johanengelen [Thu, 7 Jun 2007 08:50:16 +0000 (08:50 +0000)]
fixed string parameter to work with latex extension. will need further research... perhaps now it is broken on linux.

17 years agoremove duplicate entry in /ui/widget/Makefile_insert
johanengelen [Mon, 4 Jun 2007 22:13:46 +0000 (22:13 +0000)]
remove duplicate entry in /ui/widget/Makefile_insert

17 years agoModified filter rendering area handling to better accommodate upcoming feOffset
kiirala [Mon, 4 Jun 2007 17:22:12 +0000 (17:22 +0000)]
Modified filter rendering area handling to better accommodate upcoming feOffset

17 years agoSome additional Paint Bucket optimizations and cleanup
johncoswell [Sat, 2 Jun 2007 14:08:50 +0000 (14:08 +0000)]
Some additional Paint Bucket optimizations and cleanup

17 years agoGtkmm:ified Fill and Stroke dialog (disabled by default). It's still
gustav_b [Sat, 2 Jun 2007 12:45:58 +0000 (12:45 +0000)]
Gtkmm:ified Fill and Stroke dialog (disabled by default). It's still
using the old fill/stroke style and paint style widgets, though.

17 years agoFinish Paint Bucket optimizations & fixes for auto gap
johncoswell [Sat, 2 Jun 2007 01:20:19 +0000 (01:20 +0000)]
Finish Paint Bucket optimizations & fixes for auto gap
* remove useless "fillaccuracy" setting
* dramatically improve speed of non-auto gap fills
* change some ints to unsigned ints

17 years agoImplement various small paint bucket optimizations and cleanups
johncoswell [Fri, 1 Jun 2007 22:59:06 +0000 (22:59 +0000)]
Implement various small paint bucket optimizations and cleanups

17 years agoAdd fillaccuracy preference
johncoswell [Fri, 1 Jun 2007 21:50:17 +0000 (21:50 +0000)]
Add fillaccuracy preference

17 years agoAdd optimizations for Paint Bucket bitmap fill
johncoswell [Fri, 1 Jun 2007 21:19:00 +0000 (21:19 +0000)]
Add optimizations for Paint Bucket bitmap fill

17 years agoDon't return too much snappoints
dvlierop2 [Wed, 30 May 2007 20:27:45 +0000 (20:27 +0000)]
Don't return too much snappoints

17 years agoImprove auto gap algorithm and move some "magic numbers" pixel setting code into...
johncoswell [Wed, 30 May 2007 11:31:38 +0000 (11:31 +0000)]
Improve auto gap algorithm and move some "magic numbers" pixel setting code into separate functions

17 years agoFixed segfault when opening about screen
kiirala [Wed, 30 May 2007 08:03:40 +0000 (08:03 +0000)]
Fixed segfault when opening about screen

17 years agoExample image showing differend blending modes in feBlend
kiirala [Tue, 29 May 2007 11:59:00 +0000 (11:59 +0000)]
Example image showing differend blending modes in feBlend

17 years agoAdded support for in-parameter in filter primitives
kiirala [Tue, 29 May 2007 10:47:04 +0000 (10:47 +0000)]
Added support for in-parameter in filter primitives

17 years agoAdd auto gap filling for Paint Bucket and implement "safety valve" to prevent runaway...
johncoswell [Mon, 28 May 2007 18:02:50 +0000 (18:02 +0000)]
Add auto gap filling for Paint Bucket and implement "safety valve" to prevent runaway fill operations

17 years agoCopy xmlparse.dll to libexpat.dll because a <tml> lib depends on the other name.
ishmal [Sun, 27 May 2007 14:25:09 +0000 (14:25 +0000)]
Copy xmlparse.dll to libexpat.dll because a <tml> lib depends on the other name.

17 years agoRemove a printf from style-test (added in r8425, apparently intended just for debuggi...
pjrm [Sun, 27 May 2007 09:53:08 +0000 (09:53 +0000)]
Remove a printf from style-test (added in r8425, apparently intended just for debugging, though I haven't asked Ted).

17 years agoHandle snapping of nodes in sp_knot_handler. From now on the nodes of transformed...
dvlierop2 [Thu, 24 May 2007 19:56:54 +0000 (19:56 +0000)]
Handle snapping of nodes in sp_knot_handler. From now on the nodes of transformed items will snap correctly. On top of that, we now only need a single call to the snapmanager.

17 years agoClone Tiler: Change bbox calculation from the default APPROXIMATE_BBOX to GEOMETRIC_B...
pjrm [Wed, 23 May 2007 12:31:31 +0000 (12:31 +0000)]
Clone Tiler: Change bbox calculation from the default APPROXIMATE_BBOX to GEOMETRIC_BBOX, as requested in bug #1722238.

17 years agoRefactoring work for filter effects renderer initialization
kiirala [Mon, 21 May 2007 09:39:52 +0000 (09:39 +0000)]
Refactoring work for filter effects renderer initialization

17 years agocommitted patch 1629798
jiho-sf [Sun, 20 May 2007 14:17:58 +0000 (14:17 +0000)]
committed patch 1629798
http://sourceforge.net/tracker/index.php?func=detail&aid=1629798&group_id=93438&atid=604308
this patch suppresses the requirement on skconvert for ps and eps input and
only uses pstoedit with the plot-svg back-end (which is free).
It introduces some warning messages and can cause some scale problems depending on the origin of the ps or eps but it probably better than relying on sketch and can probably be enhanced.
Apparently this patch is used in Fedora's Inkscape already and it seems to do well there.

17 years agoThe LaTeX beamer class is the new latex standard to produce slides:
jiho-sf [Sun, 20 May 2007 14:10:17 +0000 (14:10 +0000)]
The LaTeX beamer class is the new latex standard to produce slides:
http://latex-beamer.sourceforge.net/
It produces custom sized pages and includes several layout/color themes.

I added an Inkscape template document with the correct page dimensions
as well as guides to delimit the text area within the slide for several
themes, in order to ease the production of illustrations at correct sizes
(scalability is great but having the correct size from the start limits
issues with stoke width and font sizes for example).

I also constructed a color palette which includes colors suitable for each
theme of the standard beamer package. I am no color-expert/artist so I
don't really know about the rules in this delicate subject. What I did is
that for each theme I extracted the base colors of the slides with a color
picker tool; I named them according to their use in the slide (eg.
"{themeName} header", "{themeName} background"); when I found this base
color set to be a bit poor, I added new colors derived from the original
ones by mixing them with white, black, with other colors in the theme or by
using automatic color schemes generators; I named these new colors
"{themeName} added {colorName}". hopefully this should have led me to avoid
bad color choices.

17 years agonoop: Change fitToRect to take NR::Rect instead of old NRRect. Update callers.
pjrm [Sun, 20 May 2007 08:28:40 +0000 (08:28 +0000)]
noop: Change fitToRect to take NR::Rect instead of old NRRect.  Update callers.

17 years agodoc
pjrm [Sun, 20 May 2007 07:40:16 +0000 (07:40 +0000)]
doc

17 years agoApplied Yossi's patch 1721693 for bugs 1718405, 1718934, and 1720822
ishmal [Sat, 19 May 2007 10:14:37 +0000 (10:14 +0000)]
Applied Yossi's patch 1721693 for bugs 17184051718934, and 1720822

17 years agonoop: Fix truncated vim modeline.
pjrm [Sat, 19 May 2007 08:40:12 +0000 (08:40 +0000)]
noop: Fix truncated vim modeline.

17 years agoApply Yossi's patch
ishmal [Fri, 18 May 2007 14:31:20 +0000 (14:31 +0000)]
Apply Yossi's patch

17 years agoMinor fixes
ishmal [Fri, 18 May 2007 14:16:07 +0000 (14:16 +0000)]
Minor fixes

17 years agoAdd initial attempt at embedded pkg-config
ishmal [Fri, 18 May 2007 14:03:12 +0000 (14:03 +0000)]
Add initial attempt at embedded pkg-config

17 years agoRemove warnings. Especially new gcc4.2.0 warnings about assigning a string literal...
ishmal [Fri, 18 May 2007 12:05:32 +0000 (12:05 +0000)]
Remove warnings.  Especially new gcc4.2.0 warnings about assigning a string literal to a char * without const.

17 years agoAvoid a gtk g_critical message when building Document Properties dialog.
pjrm [Thu, 17 May 2007 22:51:42 +0000 (22:51 +0000)]
Avoid a gtk g_critical message when building Document Properties dialog.

17 years agonoop: Use G_N_ELEMENTS in attach_all callers instead of passing sizeof.
pjrm [Thu, 17 May 2007 22:46:46 +0000 (22:46 +0000)]
noop: Use G_N_ELEMENTS in attach_all callers instead of passing sizeof.

17 years agonoop: Fix const usage/confusion.
pjrm [Thu, 17 May 2007 19:48:17 +0000 (19:48 +0000)]
noop: Fix const usage/confusion.

17 years agoCodingStyle: Use static for file-local function as per wiki CodingStyle document...
pjrm [Thu, 17 May 2007 13:20:13 +0000 (13:20 +0000)]
CodingStyle: Use static for file-local function as per wiki CodingStyle document.  (I didn't notice the anonymous namespace wrapping.)