Code

inkscape.git
17 years agosome more refactoring
buliabyak [Sat, 24 Feb 2007 19:21:04 +0000 (19:21 +0000)]
some more refactoring

17 years agomake selection_contains_both_clone_and_original reusable
buliabyak [Sat, 24 Feb 2007 18:45:44 +0000 (18:45 +0000)]
make selection_contains_both_clone_and_original reusable

17 years agofix crash when tracing with too small clones
buliabyak [Sat, 24 Feb 2007 17:55:20 +0000 (17:55 +0000)]
fix crash when tracing with too small clones

17 years agofix crash when tracing with too small clones
buliabyak [Sat, 24 Feb 2007 17:32:52 +0000 (17:32 +0000)]
fix crash when tracing with too small clones

17 years agoguaranteed to pan the canvas all the way from mouse-press point to mouse-release...
buliabyak [Sat, 24 Feb 2007 07:52:40 +0000 (07:52 +0000)]
guaranteed to pan the canvas all the way from mouse-press point to mouse-release point in any case, even if sometimes it fails to show the intermediate positions

17 years agoFixed crash when draw height was zero.
joncruz [Fri, 23 Feb 2007 06:50:34 +0000 (06:50 +0000)]
Fixed crash when draw height was zero.

17 years agoDisabling transientize callback - it's currently causing some data loss
bryce [Fri, 23 Feb 2007 06:04:58 +0000 (06:04 +0000)]
Disabling transientize callback - it's currently causing some data loss
when switching between windows.

17 years agoWhen selecting 'none', the marker wasn't getting removed from the line.
bryce [Fri, 23 Feb 2007 01:18:40 +0000 (01:18 +0000)]
When selecting 'none', the marker wasn't getting removed from the line.
This fixes that.

17 years agoadd commented-out cairo stroke rendering; refactoring
buliabyak [Thu, 22 Feb 2007 05:10:26 +0000 (05:10 +0000)]
add commented-out cairo stroke rendering; refactoring

17 years agofactor out some cairo-related helpers; add cairo clipping - commented out for now...
buliabyak [Wed, 21 Feb 2007 18:26:56 +0000 (18:26 +0000)]
factor out some cairo-related helpers; add cairo clipping - commented out for now due to a cairo bug

17 years agoAdjusting how items in the marker menu are selected, so the recently
bryce [Wed, 21 Feb 2007 10:03:55 +0000 (10:03 +0000)]
Adjusting how items in the marker menu are selected, so the recently
selected marker at the top of the menu shows as the selection.

17 years agoFix initialisation problem.
johanengelen [Wed, 21 Feb 2007 09:46:33 +0000 (09:46 +0000)]
Fix initialisation problem.

17 years agoFixes issue where a modified stock marker's preview image appears in the
bryce [Wed, 21 Feb 2007 09:32:19 +0000 (09:32 +0000)]
Fixes issue where a modified stock marker's preview image appears in the
marker dropdown with the same preview image as the unmodified stock
marker.  This adds the source document's uri to the cache index.

17 years agoAdding handler for switching documents, to regenerate the marker menus
bryce [Wed, 21 Feb 2007 08:08:27 +0000 (08:08 +0000)]
Adding handler for switching documents, to regenerate the marker menus

17 years agofix 1662589: increase blur margins so that the cutoff is not noticeable (now at 2...
buliabyak [Wed, 21 Feb 2007 04:52:54 +0000 (04:52 +0000)]
fix 1662589: increase blur margins so that the cutoff is not noticeable (now at 2.4*radius, it is at 3e-3; previously at 2*radius it was 1.8e-2 and quite visible)

17 years agoCrudely improve check-markup for { markup, fix translations with bugs in that...
cmarqu [Wed, 21 Feb 2007 02:33:25 +0000 (02:33 +0000)]
Crudely improve check-markup for { markup, fix translations with bugs in that area (dz and zh_TW).

17 years agoremove old *.mingw files
ishmal [Tue, 20 Feb 2007 21:08:02 +0000 (21:08 +0000)]
remove old *.mingw files

17 years agoremove old *.mingw files
ishmal [Tue, 20 Feb 2007 21:06:07 +0000 (21:06 +0000)]
remove old *.mingw files

17 years agoImprove null check
ishmal [Tue, 20 Feb 2007 21:03:56 +0000 (21:03 +0000)]
Improve null check

17 years agofully drop fixed_g_ascii_strtod hack
keescook [Tue, 20 Feb 2007 20:34:35 +0000 (20:34 +0000)]
fully drop fixed_g_ascii_strtod hack

17 years ago1664055
buliabyak [Tue, 20 Feb 2007 17:53:28 +0000 (17:53 +0000)]
1664055

17 years agoCompletes fix for 980157. Markers in current document's defs is now
bryce [Tue, 20 Feb 2007 08:57:15 +0000 (08:57 +0000)]
Completes fix for 980157.  Markers in current document's defs is now
shown in top of the marker dropdown menu.  When you select a marker from
the dropdown, all three menus are updated to show what you selected at
the top.

Note that to implement this, a marker cache is introduced, because
otherwise the regeneration of the menus would be noticeably too slow.
There is still a modest pause during the regeneration, but it's fairly
reasonable on my machine.

17 years agoMoving cache management code from .h to .cpp.
bryce [Tue, 20 Feb 2007 08:08:25 +0000 (08:08 +0000)]
Moving cache management code from .h to .cpp.
Making the marker dropdowns static so they can be updated.

17 years agoMoving functions from svg_preview_cache.h to a new .cpp
bryce [Tue, 20 Feb 2007 07:28:05 +0000 (07:28 +0000)]
Moving functions from svg_preview_cache.h to a new .cpp

17 years agoPartial fix for bug 980157.
bryce [Tue, 20 Feb 2007 06:01:42 +0000 (06:01 +0000)]
Partial fix for bug 980157.

This commit disables the code that prevents stock markers from appearing
at the top of the marker menu, as discussed in the bug report.

Additionally, this patch factors out the pixmap rendering code, which is
nearly identical to the rendering code in icon.cpp (and perhaps
elsewhere).

17 years agofix the order of searching for linked image file to match that of inkscape itself...
buliabyak [Tue, 20 Feb 2007 03:15:12 +0000 (03:15 +0000)]
fix the order of searching for linked image file to match that of inkscape itself: first href, only if it fails absref

17 years agoCleaned up DOS line ends that had snuck in.
joncruz [Mon, 19 Feb 2007 20:48:09 +0000 (20:48 +0000)]
Cleaned up DOS line ends that had snuck in.

17 years agoFixed unintialized variables and minor misc warnings
joncruz [Mon, 19 Feb 2007 18:10:02 +0000 (18:10 +0000)]
Fixed unintialized variables and minor misc warnings

17 years agonow at least the first opening of the first gtkmm dialog opens it in-place without...
buliabyak [Mon, 19 Feb 2007 08:21:40 +0000 (08:21 +0000)]
now at least the first opening of the first gtkmm dialog opens it in-place without jumping. still can't make it work for all cases.

17 years agospeed up default scrolling a bit
buliabyak [Mon, 19 Feb 2007 08:05:40 +0000 (08:05 +0000)]
speed up default scrolling a bit

17 years agomake sure scrolling acceleration does not hiccup on complex slow-rendering drawings...
buliabyak [Mon, 19 Feb 2007 08:04:52 +0000 (08:04 +0000)]
make sure scrolling acceleration does not hiccup on complex slow-rendering drawings by reducing time interval between events by the time of painting the slowest buffer on the canvas

17 years agosmooth panning: suppress painting for so long as scrolling events come one after...
buliabyak [Mon, 19 Feb 2007 07:08:11 +0000 (07:08 +0000)]
smooth panning: suppress painting for so long as scrolling events come one after the other; add comments on tiles array; make tile size a define; simplify work with tiles in paint(); remove redundant redraw requests in sp_canvas_scroll_to as it gets requested by expose event anyway

17 years agoNew dir for UI cache management code
bryce [Sun, 18 Feb 2007 23:02:50 +0000 (23:02 +0000)]
New dir for UI cache management code

17 years agoremove old workaround for a bug which seems to be fixed in latest gtk
buliabyak [Sun, 18 Feb 2007 20:11:23 +0000 (20:11 +0000)]
remove old workaround for a bug which seems to be fixed in latest gtk

17 years agoadded forward decl to fixed_g_ascii_strtod to fix compiler issue on WinXP
johanengelen [Sun, 18 Feb 2007 15:07:56 +0000 (15:07 +0000)]
added forward decl to fixed_g_ascii_strtod to fix compiler issue on WinXP

17 years agorelocated unix print dialog outside of extension call path
keescook [Sun, 18 Feb 2007 07:36:56 +0000 (07:36 +0000)]
relocated unix print dialog outside of extension call path

17 years agostandardize converting from number to string and back
buliabyak [Sun, 18 Feb 2007 05:47:11 +0000 (05:47 +0000)]
standardize converting from number to string and back

17 years agoreverse the order of markers, because since rev 13483 stroke-style.cpp reads markers...
buliabyak [Sun, 18 Feb 2007 03:04:17 +0000 (03:04 +0000)]
reverse the order of markers, because since rev 13483 stroke-style.cpp reads markers in direct order, not reversed as before

17 years agoFinishing fleshing out some design documentation for markers
bryce [Sun, 18 Feb 2007 02:48:41 +0000 (02:48 +0000)]
Finishing fleshing out some design documentation for markers

17 years agoseparate crash handlers, allow "in place" crashes to happen
keescook [Sun, 18 Feb 2007 01:49:47 +0000 (01:49 +0000)]
separate crash handlers, allow "in place" crashes to happen

17 years agoa bunch of cairo fixmes in anticipation of a more direct rendering with less intermed...
buliabyak [Sat, 17 Feb 2007 22:56:16 +0000 (22:56 +0000)]
a bunch of cairo fixmes in anticipation of a more direct rendering with less intermediate buffers and unpacked 32bit RGBA throughout

17 years agoadd build.dep to the things removed for "clean"
ishmal [Sat, 17 Feb 2007 21:32:11 +0000 (21:32 +0000)]
add build.dep to the things removed for "clean"

17 years agobug 1652188: text-anchor:start means left even in rtl
cyreve [Sat, 17 Feb 2007 14:23:13 +0000 (14:23 +0000)]
bug 1652188: text-anchor:start means left even in rtl

17 years agoeliminate temporary buffer in outline mode (faster); restore livarot path for picking...
buliabyak [Sat, 17 Feb 2007 05:10:35 +0000 (05:10 +0000)]
eliminate temporary buffer in outline mode (faster); restore livarot path for picking (unfortunately slower, consider using cairo_in_stroke instead)

17 years agofirst try to use cairo, for outline mode only so far
buliabyak [Sat, 17 Feb 2007 02:07:04 +0000 (02:07 +0000)]
first try to use cairo, for outline mode only so far

17 years agocliparts -> clipart
theadib [Fri, 16 Feb 2007 13:55:34 +0000 (13:55 +0000)]
cliparts -> clipart

17 years agoadded selection for following new lngs. bn en_AU eo id ro
theadib [Fri, 16 Feb 2007 13:39:16 +0000 (13:39 +0000)]
added selection for following new lngs. bn en_AU eo id ro

17 years agoenable click-action and general tooltip for style swatches
buliabyak [Thu, 15 Feb 2007 21:48:09 +0000 (21:48 +0000)]
enable click-action and general tooltip for style swatches

17 years agospell out Fill and Stroke labels
buliabyak [Thu, 15 Feb 2007 21:46:24 +0000 (21:46 +0000)]
spell out Fill and Stroke labels

17 years ago * src/main.cpp: Allow the user to override the locale directory by
mjwybrow [Tue, 13 Feb 2007 23:33:17 +0000 (23:33 +0000)]
  * src/main.cpp: Allow the user to override the locale directory by
    setting the environment variable INKSCAPE_LOCALEDIR. This is required
    for OS X where the install location is not known at compile time and
    relative paths can'r be used.  Fixes bug #1641705 and possibly some
    others.

17 years agoremoving forward declaration of a enum - is it valid at all? at least it worked for me
buliabyak [Tue, 13 Feb 2007 18:13:26 +0000 (18:13 +0000)]
removing forward declaration of a enum - is it valid at all? at least it worked for me

17 years agoisolate the nodepath-or-knotholder unit into the new ShapeEditor class which handles...
buliabyak [Tue, 13 Feb 2007 17:18:22 +0000 (17:18 +0000)]
isolate the nodepath-or-knotholder unit into the new ShapeEditor class which handles listeners etc. and provides a single interface to work with nodepath or knotholder; later will add another layer, ShapeEditorsCollective, which will allow us to have any number of nodepaths and knotholders simultaneously

17 years agoeo: translation completed
luca_bruno [Tue, 13 Feb 2007 16:52:12 +0000 (16:52 +0000)]
eo: translation completed

17 years agoangular brackets <> aren't allowed
luca_bruno [Tue, 13 Feb 2007 16:42:05 +0000 (16:42 +0000)]
angular brackets <> aren't allowed

17 years agoFixed the italian translation use of < >
kidproto [Mon, 12 Feb 2007 17:42:30 +0000 (17:42 +0000)]
Fixed the italian translation use of < >

17 years agofix 1658088
buliabyak [Mon, 12 Feb 2007 16:27:07 +0000 (16:27 +0000)]
fix 1658088

17 years agobatch export checkbox
buliabyak [Mon, 12 Feb 2007 04:44:46 +0000 (04:44 +0000)]
batch export checkbox

17 years agoquotes around command line parameters + indention fixed
amphi [Mon, 12 Feb 2007 03:30:03 +0000 (03:30 +0000)]
quotes around command line parameters + indention fixed

17 years agofix warning
buliabyak [Sun, 11 Feb 2007 23:52:44 +0000 (23:52 +0000)]
fix warning

17 years agoallow grouping a single object
buliabyak [Sun, 11 Feb 2007 22:37:10 +0000 (22:37 +0000)]
allow grouping a single object

17 years agoreadded comment for translators; moved comment to avoid showing in po
luca_bruno [Sun, 11 Feb 2007 14:09:06 +0000 (14:09 +0000)]
readded comment for translators; moved comment to avoid showing in po

17 years agoit: synched from 0.45 branch
luca_bruno [Sun, 11 Feb 2007 14:06:03 +0000 (14:06 +0000)]
it: synched from 0.45 branch

17 years agoAdd comunity Inkscape Brasil in 2007.
ps_aux [Sun, 11 Feb 2007 05:40:40 +0000 (05:40 +0000)]
Add comunity Inkscape Brasil in 2007.

17 years agoCommitted latest sk.po translation patch...
kidproto [Sun, 11 Feb 2007 04:50:14 +0000 (04:50 +0000)]
Committed latest sk.po translation patch...

17 years agoAdded translator name patch...
kidproto [Sun, 11 Feb 2007 04:45:52 +0000 (04:45 +0000)]
Added translator name patch...

17 years agoAdded patch author of gnome-vfs gui addition to our AUTHORS file...
kidproto [Sun, 11 Feb 2007 04:42:43 +0000 (04:42 +0000)]
Added patch author of gnome-vfs gui addition to our AUTHORS file...

17 years agoActually, just ditched the whole option...its useless I decided...
kidproto [Sun, 11 Feb 2007 04:36:37 +0000 (04:36 +0000)]
Actually, just ditched the whole option...its useless I decided...

17 years agooops...commented out my fix for new cli option...ugh...oops...
kidproto [Sun, 11 Feb 2007 04:35:17 +0000 (04:35 +0000)]
oops...commented out my fix for new cli option...ugh...oops...

17 years agoAdded gnome-vfs patch by Ed Catmur so we can save/open/export to non-local
kidproto [Sun, 11 Feb 2007 04:32:58 +0000 (04:32 +0000)]
Added gnome-vfs patch by Ed Catmur so we can save/open/export to non-local
GNOME-VFS URIs. We could do before on commandline, but this allows us to with
the gui! Yeah! This is useful for the plans for webdav and Open Clip Art Library.

17 years agojasper's patch for fast iir blur
buliabyak [Sun, 11 Feb 2007 02:49:25 +0000 (02:49 +0000)]
jasper's patch for fast iir blur

17 years agofix 1654495: a comment repr node has no spobject, so we must weaken the asserts
buliabyak [Sun, 11 Feb 2007 02:00:45 +0000 (02:00 +0000)]
fix 1654495: a comment repr node has no spobject, so we must weaken the asserts

17 years agoadded comments. updated version
ishmal [Sun, 11 Feb 2007 01:31:00 +0000 (01:31 +0000)]
added comments. updated version

17 years agoadded comments. updated version
ishmal [Sun, 11 Feb 2007 01:23:06 +0000 (01:23 +0000)]
added comments. updated version

17 years agosplit inkview into dist-all target
ishmal [Sun, 11 Feb 2007 01:10:33 +0000 (01:10 +0000)]
split inkview into dist-all target

17 years agomore correct whitespace handling per http://www.w3.org/TR/SVG11/text.html#WhiteSpace...
buliabyak [Sat, 10 Feb 2007 20:39:52 +0000 (20:39 +0000)]
more correct whitespace handling per w3.org/TR/SVG11/text.html#WhiteSpace, fixes what remains of bug 1614678. Note that our parser does not seem to fully comply - it does not convert 0xd into 0xa, so here we must handle both.

17 years agoRemove ca.new form ALL_LINGUAS.
cmarqu [Sat, 10 Feb 2007 15:21:13 +0000 (15:21 +0000)]
Remove ca.new form ALL_LINGUAS.

17 years agoFix plural forms.
cmarqu [Sat, 10 Feb 2007 15:12:25 +0000 (15:12 +0000)]
Fix plural forms.

17 years agoExtend ALL_LINGUAS
cmarqu [Sat, 10 Feb 2007 15:06:28 +0000 (15:06 +0000)]
Extend ALL_LINGUAS

17 years agoSome new translations downloaded from Rosetta.
cmarqu [Sat, 10 Feb 2007 15:05:45 +0000 (15:05 +0000)]
Some new translations downloaded from Rosetta.

17 years agoCleaned up comments
ishmal [Fri, 9 Feb 2007 22:07:24 +0000 (22:07 +0000)]
Cleaned up comments

17 years agoFirst, show translator-credits for this language if available, then show all translators
ishmal [Fri, 9 Feb 2007 21:40:47 +0000 (21:40 +0000)]
First, show translator-credits for this language if available, then show all translators

17 years agoadd libtiff3.dll
ishmal [Fri, 9 Feb 2007 18:44:44 +0000 (18:44 +0000)]
add libtiff3.dll

17 years agodefocus checkboxes upon click so they don't steal keystrokes
buliabyak [Wed, 7 Feb 2007 22:32:34 +0000 (22:32 +0000)]
defocus checkboxes upon click so they don't steal keystrokes

17 years agofix for [ 1648244 ] build files missing for 0.45pre2
theAdib [Wed, 7 Feb 2007 21:30:25 +0000 (21:30 +0000)]
fix for [ 1648244 ] build files missing for 0.45pre2

17 years agobad translation, looses information
theAdib [Wed, 7 Feb 2007 20:46:52 +0000 (20:46 +0000)]
bad translation, looses information

17 years agofix for 0.45 win32 packaging errors
theAdib [Wed, 7 Feb 2007 20:20:16 +0000 (20:20 +0000)]
fix for 0.45 win32 packaging errors

17 years agoUpdated slovak translation
cwebb [Wed, 7 Feb 2007 19:43:16 +0000 (19:43 +0000)]
Updated slovak translation

17 years agomore informative tooltip
buliabyak [Wed, 7 Feb 2007 18:54:01 +0000 (18:54 +0000)]
more informative tooltip

17 years agoFix parsing of bools
ishmal [Wed, 7 Feb 2007 13:07:16 +0000 (13:07 +0000)]
Fix parsing of bools

17 years agoFix markup errors.
cmarqu [Wed, 7 Feb 2007 00:24:18 +0000 (00:24 +0000)]
Fix markup errors.

17 years agocorrectly ifdef the new print dialog
keescook [Tue, 6 Feb 2007 19:29:40 +0000 (19:29 +0000)]
correctly ifdef the new print dialog

17 years agowrong commit reverted
luca_bruno [Tue, 6 Feb 2007 19:24:32 +0000 (19:24 +0000)]
wrong commit reverted

17 years agoAdded Esperanto translation
luca_bruno [Tue, 6 Feb 2007 19:03:08 +0000 (19:03 +0000)]
Added Esperanto translation

17 years agoAdding japanese.nsh among files that go into tarball
cwebb [Tue, 6 Feb 2007 14:20:53 +0000 (14:20 +0000)]
Adding japanese.nsh among files that go into tarball

17 years agoinitial support for gtk print dialog, if available
keescook [Mon, 5 Feb 2007 17:54:07 +0000 (17:54 +0000)]
initial support for gtk print dialog, if available

17 years ago * packaging/macosx/ScriptExec/main.c: Make sure the OS X application
mjwybrow [Mon, 5 Feb 2007 01:49:09 +0000 (01:49 +0000)]
  * packaging/macosx/ScriptExec/main.c: Make sure the OS X application
    launcher exits when Inkscape itself is closed the first time it is run.

17 years ago * packaging/macosx/ScriptExec/main.c, packaging/macosx/Resources/script:
mjwybrow [Mon, 5 Feb 2007 01:37:43 +0000 (01:37 +0000)]
  * packaging/macosx/ScriptExec/main.c, packaging/macosx/Resources/script:
    Present a new message to OS X users describing the delay when starting
    Inkscape for the first time, as well as the fact that Inkscape windows
    will be part of the X11 application.  Also, bounce the dock icon so
    that users will actually see this message.

17 years agoReverting patch
bryce [Sun, 4 Feb 2007 21:56:15 +0000 (21:56 +0000)]
Reverting patch

17 years agoPatch from Debian bug tracker from Daniel Kahn Gillmor
bryce [Sun, 4 Feb 2007 21:08:59 +0000 (21:08 +0000)]
Patch from Debian bug tracker from Daniel Kahn Gillmor
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343840

Allows individual users to keep their preferred default template in
~/.inkscape/templates/default.svg.  This allows them to keep custom page
settings, etc. locally.

17 years agoFixed saving bug, now attributes are correctly handled for both normal saves and...
johanengelen [Sun, 4 Feb 2007 16:04:38 +0000 (16:04 +0000)]
Fixed saving bug, now attributes are correctly handled for both normal saves and 'save-a-copy' saves.