Commit Graph

1056 Commits (469868d731f4d54ad243775b4a2173e094500574)

Author SHA1 Message Date
Jeff Schiller 469868d731 Fix XML escaping problem in attributes, add unit test
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1400 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 15:51:57 +00:00
Jeff Schiller 19d9998743 Remove experimental drop-shadow for now as it slowed down the editor, especially at higher zoom levels (might look into CSS3 box-shadow one day)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1399 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 15:12:08 +00:00
Jeff Schiller 8a516e109c Selecting a foreignObject does not change the stroke/fill (patch by Jacques Distler)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1398 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 14:37:13 +00:00
Jeff Schiller 8bbd53de2a Comment back out the foreignObject extension
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1397 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 06:55:05 +00:00
Jeff Schiller d78843beb0 Allow custom namespace prefixes as long as they map to one of our accepted namespace URIs (path by Jacques Distler)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1396 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-17 06:44:03 +00:00
Alexis Deveria 57125bc237 Made extension improvements to svg-editor.js and added foreignObject plugin based on patch by Jaques Distler (disabled by default)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1395 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 21:07:13 +00:00
Jeff Schiller 8753c552f8 Fix Issue 478: markers, filters and clip paths now survive the conversion to path
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1394 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 18:54:41 +00:00
Jeff Schiller d6037a742e When serializing, use nodename (which includes namespace prefix). Patch by Jacques Distler
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1393 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 18:32:50 +00:00
Jeff Schiller c8d5ba7b7e Fix Issue 485: Make foreignObjects copyable (partial patch by Jacques Distler)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1392 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-16 18:21:16 +00:00
Jeff Schiller 92b50b4a75 Fix Issue 484: correct namespace handling for xml: attrs (patch by Jacques Distler)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1391 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-15 14:02:17 +00:00
Jeff Schiller 71e76c81b8 More fixes to namespace handling. Added <math> test case
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1390 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-14 14:50:04 +00:00
Jeff Schiller 88d61a3259 Fix Issue 482: Correct namespace prefix handling. Foreign content itself will declare the namespace, we don't need to do this in svgcontent
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1389 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-14 06:22:34 +00:00
Jeff Schiller c32284cfcb Fix typo in deepdive function from r1380
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1388 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-14 06:06:19 +00:00
Jeff Schiller 10fee21e86 Minor tweak to style
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1387 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-13 04:33:40 +00:00
Alexis Deveria 673b945318 Fixed bug where save_notice_done setting wasn't saved
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1386 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 20:56:53 +00:00
Alexis Deveria 6f50f5d55c Made default save behaviour alert the user on how to saveand when necessary inform of FF bug (on first time saved/bug encountered)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1385 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 20:29:59 +00:00
Alexis Deveria 3cff24713b Made default save behaviour open a page with link, preview, markup and warning when necessary
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1384 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 18:50:07 +00:00
Alexis Deveria e42c37f538 Added test for importing/exporting namespaced attributes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1383 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 16:06:34 +00:00
Alexis Deveria b071bd91b5 Fixed bug on changing heights with percentages
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1382 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 14:56:54 +00:00
Alexis Deveria 13003a3de2 Fixed issue 446
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1381 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 14:23:55 +00:00
Jeff Schiller 8d4861d546 Fix rest of Issue 471: upon loading/setting the SVG, do a depth-first recalculateDimensions() on all nodes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1380 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 03:54:49 +00:00
Jeff Schiller 9915407382 Fix part of Issue 471: path deformation when x,y happened to be zero
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1379 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-12 03:14:38 +00:00
Jeff Schiller 09d6066291 Fix Issue 474: Broke tools by forgetting the svgroot id
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1378 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-11 22:19:13 +00:00
Alexis Deveria eb8b9ab5e6 Made 'good' locale array be populated based on svg-editor.html, made namespaces only be added on serialization when used
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1377 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-11 21:24:15 +00:00
Jeff Schiller 507e50767f Fix Issue 473: WebKit browsers fixed for navigation, caused by r1368
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1376 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-11 01:28:25 +00:00
Jeff Schiller 5ce59294d1 Spoke too soon, with canvas drop-shadow on, zooming in Opera 10.10 causes immense slow-down
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1375 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 21:12:43 +00:00
Jeff Schiller 140ab45f7d Fix Opera bug with canvas shadow, thanks to a tip from Erik Dahlstrom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1374 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 21:02:42 +00:00
Jeff Schiller ae214cfe0e Add a shadow to the canvas in Firefox (experimental)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1373 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 20:12:48 +00:00
Alexis Deveria 984d6263c9 Added support for unit width/height when set in document properties
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1372 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 19:29:05 +00:00
Alexis Deveria 9590cf67f5 Fixed issue 470: Support loading files with unit-based width/height
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1371 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 17:54:14 +00:00
Alexis Deveria b1463213e2 Changed logo to one designed by Vadim Makeev
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1370 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 16:37:23 +00:00
Jeff Schiller 35bcecc669 Remove now unnecessary math check in cleanupElement(). Move line-height property to the CSS where it belongs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1369 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 15:57:25 +00:00
Jeff Schiller 98fc062e47 Make foreignObject with foreign content movable, resizable, rotatable
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1368 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 15:32:36 +00:00
Jeff Schiller 5628254649 Add MathML elements to whitelist and updates by Jacques Distler to handle foreignObject. Fix line-height in svgcanvas.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1367 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-10 04:41:11 +00:00
Jeff Schiller 3ee6a57b96 Start Issue 258: dirt-simple extension of a context button to close/open a path. Needs images. And paths that were closed and then opened need some debugging in svgcanvas.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1366 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 21:46:18 +00:00
Alexis Deveria 9df43ee7ba Fixed undo/redo bug (I think)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1365 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 20:50:06 +00:00
Alexis Deveria 4b5011eb44 Largely added support for different units (issue 444)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1364 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 20:15:52 +00:00
Alexis Deveria fd49cb2c89 Replaced heavy uses of getAttribute with .attr([])
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1363 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 14:23:34 +00:00
Jeff Schiller 8805307592 Part of Issue 407: consistent styling of hover/pushed buttons
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1362 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-09 06:44:12 +00:00
Alexis Deveria c032cfb370 Moved extensions to live within editor dir, fixed left toolbar visibility on dialog box
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1361 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 21:26:54 +00:00
Alexis Deveria b95b5fe3e1 Made arrows match stroke color
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1360 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 20:07:40 +00:00
Wormsxulla 8304c43d47 Add Japanese to the good languages. Thank you Dong! Correct name of Russian in Russian in AUTHORS.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1359 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 20:00:30 +00:00
Pavol Rusnak cbdb3ad5c0 forgot to commit change to AUTHORS file
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1358 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 19:40:10 +00:00
Pavol Rusnak 5b895d3973 add Japanese translation
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1357 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 18:15:04 +00:00
Jeff Schiller bf7a7040a8 Experimenting with a gradient in the workarea
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1356 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 18:06:18 +00:00
Alexis Deveria b25f8b6d92 Added fix to jQuery.attr() function to make it work with SVG elements, started work on marker color changing
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1355 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-08 16:39:14 +00:00
Jeff Schiller c5ae5436e2 Add a couple useless trailing slashes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1354 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-06 18:21:53 +00:00
Jeff Schiller 305c62e03e Correct more HTML5 validation errors
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1353 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-06 18:11:21 +00:00
Jeff Schiller d5ec300b6b Add foreignObject to whitelist. Fix some HTML5 validation errors
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1352 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-06 17:42:54 +00:00
Jeff Schiller cb790bc6a0 Remove commented out debug code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1349 eee81c28-f429-11dd-99c0-75d572ba1ddd
2010-02-06 00:38:59 +00:00