summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/svg.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-13Fix alignment error for inline-size SVG 1.1 fallback text.Tavmjong Bah1-3/+44
Puts white space at end of line into separate tspan when 'text-anchor' is not start.
2019-11-09Fix SVG 1.1 fallback for SVG 2 text in a shape with 'text-align' not equal ↵Tavmjong Bah1-4/+13
to 'start'.
2019-09-07Fix bugs appliing in fallback elementsJabier Arraiza1-1/+1
2019-09-07Prepared for beta. Fixed blocking bugJabiertxof1-1/+1
2019-09-01Update internal extensions for latest .inx format changesPatrick Storz1-9/+9
2019-08-31Refactor a lot of the parameter handling codePatrick Storz1-2/+2
Many fixes, improvements and simplifications to existing code. Implements the first part of the changes discussed in https://gitlab.com/inkscape/inkscape/issues/333
2019-08-31Use proper boolean valuesPatrick Storz1-1/+1
2019-06-28hatch.jsValentin Ionita1-7/+54
Polyfill to render hatches by converting paths to patterns. Used standardjs for linting, but kept the semicolons. Part of 2019 GSoC project.
2019-05-03Fix opening of files on Windows (and possibly elsewhere)Patrick Storz1-1/+1
What we pass as "uri" is not an URI, it usually seems to be a file path, so we were lucky it "accidentally" used to work before. Replace Gio::File::create_for_uri with Gio::File::create_for_commandline_arg which should handle both URIs and absolute paths reliably.
2019-04-09Style fixMarc Jeanmougin1-1/+1
2019-04-06More document.h cleanup.Tavmjong Bah1-1/+1
2019-02-20Give more descriptive names to document file related variables and functions.Tavmjong Bah1-1/+1
Makes searching through code for them easier.
2019-01-02modernize loopsMarc Jeanmougin1-6/+6
2018-12-14Round-trip SVG 2 flowed text with SVG 1.1 backup.Tavmjong Bah1-44/+62
2018-12-07Add some SVG 2 fallbacks:Tavmjong Bah1-5/+520
* Meshes (fill only) * Markers: auto-start-reverse, context-stroke/fill * Text
2018-11-08Clarify licensesMax Gaukler1-1/+2
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
2018-11-07fix clipboard URL rebasingThomas Holder1-1/+2
2018-10-17Code cleanup and adding comments.Tavmjong Bah1-31/+75
2018-10-06Misc. typosluz.paz1-1/+1
Found via `codespell`
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-09-30Improve calls to document_unitsJabier Arraiza1-6/+1
2018-09-22Allow ask for SVG dragged import method. Also split ask question from one to ↵Jabier Arraiza1-5/+5
2 (Bitmap and SVG)
2018-09-22Fix problems on dialogs with extensions. TODO: Add dialog on drag&drop a SVGJabier Arraiza1-15/+9
2018-09-14Fix a bug opening SVG from comand lines related to the DPI changes done. ↵Jabiertxof1-2/+2
Thanks Mark for testing!
2018-09-13Fix DPI wrong code pointed by McJabiertxof1-3/+3
2018-09-13Add per embed/linked SVG a DPI valueJabiertxof1-3/+8
2018-06-19Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot1-1/+1
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-7/+7
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-15Fis maren improvements to embed/importJabier Arraiza1-4/+4
2018-05-13Fix bug embeding SVG as PNGJabier Arraiza1-13/+12
2018-05-12Allow embed on SVG importsJabier Arraiza1-34/+44
2018-05-12Fixes bugs: #1770760, #1770761, #1770763, #1770769 related to linked SVGJabier Arraiza1-2/+1
2018-05-10Add Maren improvements prepare to mergeJabiertxo Arraiza Cenoz1-11/+11
2018-05-10Allow link a SVG as imageJabiertxo Arraiza Cenoz1-2/+103
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-5/+5
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-5/+5
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-2/+1
A lot of header clean-up.
2017-10-13Remove deprecated GNOME VFSStefano Facchini1-61/+22
Just use Gio::File when access to non-local files is needed.
2016-10-01Add a prune method to saving svg files that removes Adobe's i:pgf tag.Martin Owens1-0/+26
Fixed bugs: - https://launchpad.net/bugs/179679 (bzr r15141)
2014-04-04Cleanup namespace removal so that it doesn't require bugs in updateRepr to ↵Martin Owens1-17/+38
work. Move to using a duplicate node-tree. Fixes bug #419266 Fixed bugs: - https://launchpad.net/bugs/419266 (bzr r13260)
2012-10-04code cleanup: make more functions static or include their own headers.Campbell Barton1-1/+1
(bzr r11736)
2012-04-21dropping some ghost code / probably fixing a memleak as wellKris De Gussem1-4/+0
(bzr r11273)
2012-04-18Warning cleanupJon A. Cruz1-5/+3
(bzr r11265)
2011-06-04Removed outdated/unsafe SP_DOCUMENT_DEFS macro and reduced usage of ↵Jon A. Cruz1-0/+1
SP_ROOT() gtk type function/macro. (bzr r10254)
2010-07-01C++fied SPDocument addedAbhishek Sharma Public1-3/+3
(bzr r9546.1.2)
2010-06-29This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public1-3/+3
sp-polyline, sp-item and marks the onset of document c++ification as well. Users can check performace increase with [/usr/bin/time -v inkscape_binary_with_commandline_options]. (bzr r9546.1.1)
2010-01-02Remove any "inkscape:*" or "sodipodi:*" attributes when saving as "plain ↵Jon A. Cruz1-4/+38
SVG". Fixes bug #500440. Fixed bugs: - https://launchpad.net/bugs/500440 (bzr r8933)
2009-08-06Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert1-4/+4
which cannot be fixed easily. (bzr r8422)
2009-08-05SPDocument->Documentjohnce1-4/+4
(bzr r8408)
2009-04-07Move Inkscape::IO::fixupHrefs to Inkscape::XML::rebase_hrefs in new file ↵Peter Moulder1-5/+3
xml/rebase-hrefs.*. Give it the old and new base directory, so that it can change hrefs without relying on sodipodi:absref. Also create a new function sp_repr_save_rebased_file that changes all xlink:href attributes as it writes them, so that we don't need to modify the owning document. (Especially useful for "Save a copy" or exporting.) extension/system.cpp: (Inkscape::Extension::save): Don't call sp_document_set_uri even temporarily other than at the same time as calling rebase_hrefs. (Otherwise, existing relative hrefs will point nowhere.) When exporting plain SVG, change the relative hrefs according to the destination filename. (bzr r7643)