Brett Zamir
4fd4054f03
- Enhancement: Use minified version of jpicker in svg-editor
...
- Build: Update minified version of jgraduate/jpicker per linted/improved files (and add to uglify script)
- Fix: jgraduate recent regressions
- Docs: Update CHANGES
2018-05-17 17:42:46 +08:00
Brett Zamir
e252e866b7
- npm: Add uglify script
...
- Todo: Indicate to-do re: converting AppCache to sample service-worker
- Build: Update minified version of spinbtn per linted/improved file
2018-05-17 16:55:33 +08:00
Brett Zamir
efa33f68bd
- Docs: Add CHANGES
2018-05-17 16:27:12 +08:00
Brett Zamir
fb329e4977
Merge pull request #229 from NeilFraser/deps
...
Add missing dependency
2018-05-17 15:32:20 +08:00
Brett Zamir
69f3a42aa8
Current test status: All tests passing (in at least Chrome and Firefox beta)
...
- Fix (Firefox): tspan (and textPath apparently) have no `getBBox` in Firefox, so recover (fixes FF issue with recalculate test 3: "recalculateDimensions() on text w/tspan with simple translate")
- Fix (Chrome): Chrome has a bug in not performing `removeAttribute` after `removeItem`; deal with it (though only if there is a single identity matrix) (fixes Chrome issue with recalculate test 1: " recalculateDimensions() on rect with identity matrix")
2018-05-17 15:27:38 +08:00
Brett Zamir
6f791b12dd
Current test results:
...
svgedit.recalculate failing different tests in Chrome and Firefox:
1. Chrome: Test 1: recalculateDimensions() on rect with identity matrix
2. Firefox: Test 3: recalculateDimensions() on text w/tspan with simple translate
- Testing: Fix draw_test
2018-05-17 13:46:16 +08:00
Brett Zamir
25b1e9be01
- Linting (ESLint): Fix other indents besides main (though continue to disable check)
2018-05-17 13:15:20 +08:00
Brett Zamir
fff77db4f1
Test summary: two tests failing: draw.js (releaseId), svgedit.recalculate (text w/tspan with simple translate)
...
- Testing: Add node-static to get tests working
- Testing: Fix timing for ensuring expanding iframe size to fit content
- Testing: Add favicon to test files
- Refactoring: Move scripts to own files and lint
2018-05-17 12:57:51 +08:00
Brett Zamir
a3b3525789
- Linting (ESLint): Finish
...
- Fix: Globals (x, y) in `mouseMove`
- Fix: Global (element, d_attr->dAttr) in `mouseDown`
- Fix: Avoid `drawnPath` not defined error
- Docs: sp.
2018-05-17 11:34:21 +08:00
Brett Zamir
eba9dee54c
- Linting (ESLint): Finish `editor/svg-editor.js`; unfinished: `editor/svgcanvas.js`
...
- Fix: Restore save alert
2018-05-16 16:03:43 +08:00
Brett Zamir
340915be4e
- Linting (ESLint): Finish extensions and most files in editor/; unfinished: `editor/svg-editor.js`, `editor/svgcanvas.js`
...
- Linting (ESLint): Fix ignore file paths
- History `elem` fix
2018-05-16 12:08:41 +08:00
Brett Zamir
5bcbb948eb
- Linting (ESLint): Finish test folder; unfinished: editor/extensions/, editor/ (root)
2018-05-16 06:25:04 +08:00
Brett Zamir
f7bdf6be18
- Testing (math_test): Fix undeclared variables
...
- Testing: Move JavaScript out of HTML to own files
- Linting: ESLint; unfinished: editor/extensions/, editor/ (root); some of test
2018-05-15 23:43:28 +08:00
Brett Zamir
15331535f8
- jgraduate->jpicker: Fix Throw Error object of Invalid Mode instead of string
...
- jgraduate->jpicker: Fix missing `var` for some i loops
- jgraduate->jpicker: Fix Color val check when `name.length` is empty (equal to "all")
- jquery.jgraduate.js: Fix `numstops` is present for check
- Linting: ESLint; unfinished: editor/extensions/, editor/ (root), test/ (root) HTML
2018-05-15 23:10:20 +08:00
Brett Zamir
5894398c36
- Linting: ESLint (or ignore) JavaScript files; unfinished: editor/jgraduate and editor/extensions folders, editor/ (root), test/ (root) HTML
...
- Fix: An apparent bug in jquery.svgicons.js whereby a variable `holder` was declared in too nested of a scope
- Fix: `addBezierCurve` in canvg.js had undeclared `i`
- Fix: Undeclared variable in opera widget
- Fix: Screencast `showNotes`
2018-05-13 18:47:00 +08:00
Brett Zamir
820964334c
- Fix: Broken lv locale, inconsistent tabs/spaces pt-PR
...
- Linting: Add ESLint script and devDeps and begin ESLint conversion (completed locales and jspdf directories only)
2018-05-13 11:03:45 +08:00
Brett Zamir
ac6d5092e4
- Add `.npmignore`
2018-05-13 10:00:12 +08:00
Brett Zamir
38d6274723
- Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`,
...
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
2018-05-13 09:58:13 +08:00
Neil Fraser
6aced017ea
Add missing dependency
...
HistoryRecordingService is required at line 400.
2018-05-10 12:07:44 -07:00
Igin
edb8a75402
fix #222 Browsers block data URI ( #224 )
...
* fix #222 Browsers block data URI
* add spaces and blank lines
2018-04-12 11:00:52 -07:00
Jeff Schiller
396cce40eb
Merge pull request #208 from iuyiuy/setSvgString_without_undo
...
Add ability to set the svg drawing without adding to the undo stack.
2018-02-27 07:04:09 -08:00
KB Jørgensen
64759a8cab
Added documentation for the preventUndo parameter in the svgcanvas.setSvgString() function.
2018-02-27 11:21:07 +01:00
Jeff Schiller
aadb85a9b7
Merge pull request #158 from iuyiuy/improved_transform_list_detection
...
Improved transform list detection.
2018-02-26 20:39:27 -08:00
Jeff Schiller
44d1398c01
Merge pull request #217 from SVG-Edit/progers-fix-ff-path-editing
...
Update pathseg.js to fix Firefox 59+ path editing
2018-02-26 20:35:16 -08:00
Philip Rogers
f5f9e627d7
Update pathseg.js to fix Firefox 59+ path editing
...
Firefox 59 removed some SVG path seg APIs which breaks path editing.
This change updates pathseg.js to the latest version which contains a fix for Firefox 59. I checked that Firefox 58 (pre-api-change), Firefox 59 (post-api-change), Chrome 65, and Safari Tech Preview can all edit paths correctly with this change. This change has a lot of diffs due to minor changes in pathseg.js since the first time it was imported into svgedit.
This fixes issue #216
2018-02-26 18:10:26 -08:00
KB Jørgensen
d3ed6cbb8c
Changed code style as requested in svgedit pull request #208 .
2018-01-26 15:11:41 +01:00
KB Jørgensen
07803fd1db
Add ability to set the svg drawing without adding to the undo stack.
2018-01-22 11:40:00 +01:00
Jeff Schiller
b4ce8c0aa1
Merge pull request #206 from iuyiuy/clipboard_across_tabs_from_upstream
...
Implemented a clipboard that works across tabs and windows.
2018-01-22 01:34:43 -08:00
KB Jørgensen
42bcd5bcf8
Fixed typo in comment.
2018-01-22 10:15:59 +01:00
KB Jørgensen
e055468f77
Added comment to explain meaning of a regex.
2018-01-22 10:15:59 +01:00
KB Jørgensen
055198e28d
Use a variable for the key, as requested by codedread.
2018-01-22 10:15:59 +01:00
KB Jørgensen
19170116ba
Fixed handling of connectors after the new clipboard changes.
2018-01-22 10:15:59 +01:00
KB Jørgensen
524f47cab9
Let the 'this' keyword propagate in to the for each loop.
2018-01-22 10:15:59 +01:00
KB Jørgensen
02c8721c2d
Implemented a clipboard that works across tabs and windows.
2018-01-18 14:02:03 +01:00
codedread
6f7aa650f8
Allow data- attributes in the sanitize whitelist. Fixes issue #203 .
2017-11-29 07:52:02 -08:00
Jeff Schiller
cba2d0aa1e
Merge pull request #195 from TijoloAzul/master
...
Bug importing complex paths to svg edit
2017-11-28 00:00:50 -08:00
Jeff Schiller
f290357828
Merge pull request #201 from TeemuKoivisto/svg-save
...
Fix broken saving of svg in Chrome >=60
2017-11-27 23:55:33 -08:00
Teemu Koivisto
6ee97e0d3f
Fix broken saving of svg in Chrome >=60
2017-11-27 19:49:34 +02:00
Tiago Fonseca
c761cb68b7
correct import of paths with several "M/m" and "Z/z"
2017-10-04 12:15:43 +01:00
James Hall
0e648e7fd8
Merge pull request #188 from bronzehedwick/master
...
Fix documentation markdown
2017-08-04 01:08:12 +01:00
Chris DeLuca
a80467c5d8
Fix documentation markdown
...
Github changed it's markdown parser, requiring a space between the hash and the text for headings.
2017-08-03 19:49:39 -04:00
Marc Laporte
48bda755bb
2017-07 Added to Packagist
...
https://packagist.org/packages/svg-edit/svgedit
2017-08-01 02:32:00 -04:00
Marc Laporte
07a567a634
Merge pull request #174 from fabiomontefuscolo/master
...
Add composer.json to let PHP developers to keep track of SVG-edit on packagist.org
2017-05-24 22:32:32 -04:00
Fabio Montefuscolo
b91a61456a
Add composer.js to let PHP developers to keep track of svgedit on packagist.org.
2017-04-02 13:48:37 -03:00
KB Jørgensen
92719c1bce
Improved transform list detection.
2017-01-04 12:28:09 +01:00
Jeff Schiller
fa10e626d9
Merge pull request #150 from iuyiuy/error_handling
...
Log errors from extensions to the browser console.
2016-11-21 09:01:19 -08:00
KB Jørgensen
aafcbb694e
Log errors from extensions to the browser console.
2016-11-21 15:45:43 +01:00
Jeff Schiller
97f5127e81
Merge pull request #130 from iuyiuy/addSvgElementFromJson_expansion
...
Add svg element from json expansion
2016-11-15 05:57:26 -08:00
KB Jørgensen
b92024eca2
Adjusted requested code styling changes.
2016-11-15 09:27:31 +01:00
Jeff Schiller
f7a1d2eb81
Merge pull request #148 from iuyiuy/optimized_loading
...
Optimized loading by removing unnecessary code
2016-11-14 08:17:10 -08:00