summaryrefslogtreecommitdiffstats
path: root/src/object/sp-text.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-21fix Glib::Regex::match stack-use-after-scopeThomas Holder1-1/+6
Fixes cursor jumping mentioned by @nathanal: https://gitlab.com/inkscape/inkscape/issues/521#note_247899536
2019-11-03refactor: Eliminate SPIString::value_defaultThomas Holder1-5/+5
- eliminate value_default - make value private (-> _value) - add value() method
2019-10-28refactor SPIEnum: more type safetyThomas Holder1-1/+1
fixes ungrouping of "font-weight:bolder" fixes "titling-caps" parsing fixes a casting error in CairoRenderContext::renderGlyphtext
2019-10-10Fix GC warningsMarc Jeanmougin1-0/+1
2019-10-05Fix various minor code problemsMarc Jeanmougin1-6/+5
2019-10-05Fix some memory leaks found by scan-buildMarc Jeanmougin1-4/+4
2019-09-16Active SVG2 Flow Text by defaultJabiertxof1-1/+1
2019-09-16Allow paste preserving new lines into a flowtext elementJabiertxof1-4/+7
2019-09-13Allow to paste paragraphs in SVG2 Flow then paste overflow the shapeJabiertxof1-2/+30
2019-09-13A value of zero for 'inline-size' should act as if 'inline-size' is not set. ↵Tavmjong Bah1-4/+5
Fixes #852.
2019-09-07Allow transforms in SVG2 flow elementsJabier Arraiza1-0/+9
2019-09-07Prepared for beta. Fixed blocking bugJabiertxof1-1/+0
2019-09-07Prepare for betaJabiertxof1-4/+1
2019-09-07fixx flowbox on SVG2 mode using tspansJabiertxof1-2/+10
2019-09-07Write out 'x' and 'y' attribute values to repr when some text property value ↵Tavmjong Bah1-0/+1
changes. Changes to property values may cause text to be relayed out, changing 'x' and 'y' attributes on tspans with sodipodi:role="line". Fix for issue 234.
2019-09-06Add listeners for when shapes used by text are changed.Tavmjong Bah1-27/+21
2019-06-06Refactoring: call setAttribute() directly.Shlomi Fish1-1/+1
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.
2019-04-15Fix for line positioning in wrapped multi-line text.Tavmjong Bah1-0/+5
Bug introduced in 605ef4a43ea0cf89d19d46679e9e0b5bb9e464b2 which applied line correction to all types of text rather than just multi-line text via sodipodi:role = "line".
2019-03-26Misc. typosluz.paz1-3/+3
Found via `codespell`
2019-03-23Fix text rendering when Inkscape multi-line text has an empty first line.Tavmjong Bah1-3/+43
Possible fix for GitLab issue #45.
2019-01-02modernize loopsMarc Jeanmougin1-21/+19
2018-12-14Round-trip SVG 2 flowed text with SVG 1.1 backup.Tavmjong Bah1-49/+284
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-10-06SPAttributeEnum typed function argumentsThomas Holder1-1/+1
2018-08-27Fix rendering when a <tspan> has a CSS 'display' property with value 'none'.Tavmjong Bah1-0/+5
2018-06-21Ignore 'x' and 'y' attributes on SVG 2 wrapped text (except first for ↵Tavmjong Bah1-179/+222
'inline-size'). Some additinal refactoring.
2018-06-18Run clang-tidy’s modernize-use-emplace pass.Emmanuel Gil Peyrot1-1/+1
This reduces the boilerplate required to add a new element to a container.
2018-06-18Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot1-2/+1
This replaces empty constructors and destructors with the default keyword.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-19/+19
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-9/+9
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-9/+9
2018-04-23Remove some documents updatesJabier Arraiza1-2/+0
2018-03-28a bit more of warning cleanupFelipe Corrêa da Silva Sanches1-1/+1
2018-03-27a few more fixes to build warnings related to libnrtypeFelipe Corrêa da Silva Sanches1-2/+2
2018-03-12Fixed more trivial typosluz.paz1-1/+1
Via `codespell` and `grep`
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-0/+2
A lot of header clean-up.
2018-01-08Misc. typosluz.paz1-1/+1
Found via `codespell`
2017-11-07Misc. typosUnknown1-1/+1
Found using `codespell -q 3 -w --skip="*.svg,*.po,*.ts,./share/tutorials,./src/libavoid,./packaging/win32/languages,./man,./src/2geom" -I ../inkscape-whitelist.txt` whereby whitelist file contained: ``` dum iff glight substract te upto ```
2017-10-19Implement rendering for SVG 2 text with 'inline-size'. Work partially from ↵Tavmjong Bah1-0/+91
Alex Roman.
2017-10-17Allow multiple shapes in 'shape-inside' and 'shape-subtract'. Work from Alex ↵Tavmjong Bah1-44/+125
Roman
2017-10-17Remove text 'width' and 'height' attributes. These were replaced by the ↵Tavmjong Bah1-28/+0
'inline-size' property.
2017-10-01First batchMarc Jeanmougin1-26/+11
2017-09-21Remove useage of GString from sp-text.cppJan Lingscheid1-3/+3
2017-06-10libnrtype/Layout-TNG refactoring for better code legibilityFelipe Corrêa da Silva Sanches1-2/+6
2016-08-29Don't write out sodipodi:line-spacing. Don't read if 'line-height' already set.Tavmjong Bah1-11/+4
Partial fix for #1590141. (bzr r15085)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-5/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+5
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-5/+0
(bzr r15025)
2016-07-14Renamed children list in SPObjectAdrian Boguszewski1-9/+9
(bzr r14954.1.21)
2016-07-14Last part of new SPObject children listAdrian Boguszewski1-6/+6
(bzr r14954.1.20)