summaryrefslogtreecommitdiffstats
path: root/src/text-chemistry.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Active SVG2 Flow Text by defaultJabiertxof2019-09-161-1/+1
|
* Refactoring: call setAttribute() directly.Shlomi Fish2019-06-061-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call this->setAttribute(...) directly instead of this->getRepr()->setAttribute(...). This avoids clutter and mental indirection. See http://wiki.inkscape.org/wiki/index.php?title=Refactoring_projects&oldid=112116 and https://en.wikipedia.org/wiki/Law_of_Demeter . --- I hereby disclaim any implicit or explicit ownership of my changes in this changeset, and put them under a multiple licence consisting of your choice of one of more of: - The CC0 / Public Domain - https://creativecommons.org/choose/zero/ . - The MIT / Expat license - https://en.wikipedia.org/wiki/MIT_License - The default licence of your project - The https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License - version 2.1 or higher - The https://en.wikipedia.org/wiki/GNU_General_Public_License - version 2 or higher - Any licence in the 2018-Aug-27 popular licenses list of https://opensource.org/licenses - The https://en.wikipedia.org/wiki/Apache_License version 2.0 or later - The https://en.wikipedia.org/wiki/Artistic_License version 2.0 or later - The https://en.wikipedia.org/wiki/ISC_license - The https://opensource.org/licenses/BSD-2-Clause Crediting me will be nice, but not mandatory, and you can change the licence of the project without needing my permission.
* fix #140 scaled text flow into frameThomas Holder2019-05-311-2/+3
|
* Do partial convert flowed text to tspan if possibleNathan Lee2019-03-061-5/+9
| | | | Fixes https://gitlab.com/inkscape/inbox/issues/193
* Add preference for using SVG 2 text in a shape (GUI to come).Tavmjong Bah2018-12-191-57/+58
|
* Add ability to create SVG 2 text:Tavmjong Bah2018-12-181-0/+36
| | | | | 'shape-inside' (disabled for the moment) 'inline-size' (via on-screen knot)
* Clarify licensesMax Gaukler2018-11-081-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
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-4/+0
|
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-17/+17
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-1/+1
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-1/+1
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-12/+14
| | | | A lot of header clean-up.
* Misc. typosluz.paz2018-01-081-1/+1
| | | Found via `codespell`
* third batchMarc Jeanmougin2017-10-021-12/+9
|
* Remove unused parameter in SPItem::doWriteTransformStefano Facchini2017-09-241-2/+2
|
* Merged trunkAdrian Boguszewski2016-08-031-2/+1
|\ | | | | (bzr r14954.1.29)
| * Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-2/+1
| | | | | | (bzr r15034)
| * Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-1/+2
| | | | | | (bzr r15027)
| * Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-2/+1
| | | | | | (bzr r15025)
* | Renamed children list in SPObjectAdrian Boguszewski2016-07-141-3/+3
| | | | | | (bzr r14954.1.21)
* | Last part of new SPObject children listAdrian Boguszewski2016-07-141-5/+5
| | | | | | (bzr r14954.1.20)
* | Second part of new SPObject children listAdrian Boguszewski2016-07-131-3/+3
| | | | | | (bzr r14954.1.19)
* | Added items as a range functionAdrian Boguszewski2016-07-031-19/+20
|\| | | | | (bzr r14954.1.13)
* | Moved next functions, added namespace, renamed range functionsAdrian Boguszewski2016-06-251-12/+12
|/ | | (bzr r14954.1.10)
* static code analysisKris De Gussem2015-12-071-8/+8
| | | (bzr r14509)
* Just reread the entire diff against trunk. Given the diff size, i must have ↵Marc Jeanmougin2015-04-261-1/+2
| | | | | | | | | | forgotten things, but hopefully, there are only very few changes of semantics: ->childList is now in the intuitive order (childList()[0] is now firstChild) -> sp_selection_paste_impl is now in the opposite order (change is local to selection-chemistry.cpp, and simplify a few things) -> selection.setReprList now takes the list in the opposite order. It was always the case (the list was always reversed before handing to it) -> a few comparison functions now work "the c++ way": the C way was to return -1 if a<b, 0 if a==b and 1 if a>b, now they return (bool)(a<b) (bzr r13922.1.15)
* more cast cleanupMarc Jeanmougin2015-02-271-4/+4
| | | (bzr r13922.1.11)
* corrected the casts (hopefully)Marc Jeanmougin2015-02-271-5/+5
| | | (bzr r13922.1.10)
* Put a few std::vector<SPitem*>Marc Jeanmougin2015-02-191-20/+20
| | | (bzr r13922.1.5)
* At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin2015-02-171-47/+36
| | | | | | | | change that GSList* with a std::list, then resolve the few problems" So, i tried that. And I will continue tomorrow, and the days after, on and on. (bzr r13922.1.1)
* Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White2014-12-211-10/+10
| | | (bzr r13820)
* Purge sp_desktop_message_stackLiam P. White2014-12-211-13/+13
| | | (bzr r13817)
* Deprecate and remove sp_desktop_selection in favor of SPDesktop::getSelectionLiam P. White2014-12-211-7/+7
| | | (bzr r13809)
* Fix for bug #1057494 (Remove Manual Kerns hides the selected text).Nicolas Dufour2014-01-041-0/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1057494 (bzr r12880)
* more string leaksJohan B. C. Engelen2013-09-301-2/+6
| | | (bzr r12642)
* fix another g_strdup memleakJohan B. C. Engelen2013-09-301-2/+2
| | | (bzr r12635)
* Minor warning and dead code cleanup.Jon A. Cruz2013-01-131-12/+0
| | | (bzr r12018)
* code cleanup: add own includes to cpp files or make the functions static if ↵Campbell Barton2012-10-041-5/+5
| | | | | they are not used elsewhere. (bzr r11735)
* Header cleaningAlex Valavanis2012-02-121-0/+2
| | | (bzr r10963)
* Refactor SPItem bounding box methods: remove NRRect usage and make codeKrzysztof Kosi??ski2011-08-271-2/+1
| | | | | using them more obvious. Fix filter region computation. (bzr r10582.1.1)
* Cleanup of oudated/redundant SP_ITEM() macro use.Jon A. Cruz2011-07-161-4/+5
| | | (bzr r10461)
* Merge from trunkKrzysztof Kosi??ski2011-04-071-38/+38
|\ | | | | (bzr r9508.1.73)
| * Finished cleanup of outdated SP_OBJECT_PARENT C macro.Jon A. Cruz2011-02-211-38/+38
| | | | | | (bzr r10064)
* | Merge from trunk (again)Krzysztof Kosi??ski2010-12-151-24/+25
|\| | | | | (bzr r9508.1.72)
| * Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-24/+25
| |\ | | | | | | (bzr r9945.1.1)
| | * another c++ification for sp-object.h/cpp and still in progress...Abhishek Sharma Public2010-07-031-2/+2
| | | | | | | | | (bzr r9546.1.4)
| | * New Class SPDocumentUndo created which takes care of c++fying some non ↵Abhishek Sharma Public2010-07-021-6/+6
| | | | | | | | | | | | | | | SPDocument based methods (bzr r9546.1.3)
| | * C++fied SPDocument addedAbhishek Sharma Public2010-07-011-1/+1
| | | | | | | | | (bzr r9546.1.2)
| | * This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public2010-06-291-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)
* | | Merge from trunkKrzysztof Kosi??ski2010-11-251-1/+1
|\| | | | | | | | (bzr r9508.1.70)