summaryrefslogtreecommitdiffstats
path: root/src/style.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-03refactor: Eliminate SPIString::value_defaultThomas Holder1-6/+6
- eliminate value_default - make value private (-> _value) - add value() method
2019-10-28refactor: clean up SPI constructorsThomas Holder1-73/+70
2019-10-28refactor: Eliminate SPIEnum::_nameThomas Holder1-1/+1
2019-10-28refactor: TypedSPIThomas Holder1-1/+2
2019-10-28refactor: private SPIBase::_nameThomas Holder1-1/+1
2019-10-28refactor SPIEnum: more type safetyThomas Holder1-20/+29
fixes ungrouping of "font-weight:bolder" fixes "titling-caps" parsing fixes a casting error in CairoRenderContext::renderGlyphtext
2019-10-24Fix gradient/mesh handles after object with gradient/mesh cloned.Tavmjong Bah1-5/+15
Fixes https://bugs.launchpad.net/inkscape/+bug/453067 Fixes https://gitlab.com/inkscape/inkscape/issues/130
2019-09-06Add listeners for when shapes used by text are changed.Tavmjong Bah1-0/+2
2019-08-23Eliminate clang warningsThomas Holder1-3/+0
-Winfinite-recursion -Wpessimizing-move -Wunused-label -Wunneeded-internal-declaration -Wself-assign-overloaded -Wunused-const-variable (some) -Wsometimes-uninitialized (some)
2019-08-02Removing absolute unitsJabiertxof1-3/+3
2019-08-02Stop worinig with units switch to px. Keep discussion opengit add .git add .Jabiertxof1-5/+5
2019-08-02Improving things poiner in rocketrr chat to line heigt in a new branchJabiertxof1-3/+3
2019-06-06Refactoring: call setAttribute() directly.Shlomi Fish1-2/+2
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-06-02Fixing coding styleJabier Arraiza1-5/+6
2019-06-02Add visualization of style dialogJabier Arraiza1-8/+36
2019-04-24fix #175 crash with mask in <style>Thomas Holder1-2/+6
2019-04-06More document.h cleanup.Tavmjong Bah1-4/+5
2019-03-06Avoid the “using std::*;” or “using namespace std;” constructs.Emmanuel Gil Peyrot1-1/+1
This makes the code a lot less readable and greppable for no reason.
2019-02-20Merge from masterJabier Arraiza1-5/+2
2019-02-20Fix missing properties method, pass properties structureMartin Owens1-1/+6
2019-01-02modernize loopsMarc Jeanmougin1-8/+8
2018-12-24sp_attribute_lookup with std::mapThomas Holder1-12/+3
- replace linear array search with std::map lookup - remove duplicated name lookup logic in SPStylePropHelper
2018-12-22Fix create first selectorJabier Arraiza1-3/+7
2018-12-12Finish implementation of 'text-decoration-fill' and 'text-decoration-stroke'.Tavmjong Bah1-0/+4
2018-12-05Fix crash when SVG contains a font-face rule. Introduced by commit ↵Tavmjong Bah1-0/+1
db722f5b79ef1517f0b6e9a96968ad257dffc6f9
2018-11-13Add capability to get style rulesets as SPStyle objectsMartin Owens1-0/+11
2018-11-12Explicitly stop inheritance of 'stop-color' per SVG spec.Tavmjong Bah1-3/+3
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-08Implement the remaining vector effects properties.Tavmjong Bah1-1/+1
2018-11-05remove Inkscape::URI::toStringThomas Holder1-3/+2
2018-10-06SPAttributeEnum typed function argumentsThomas Holder1-5/+5
2018-10-05Add new style register style property for stop color and opacityMartin Owens1-0/+3
2018-10-05Removal of code but breaks gradientsMartin Owens1-3/+7
2018-10-05fix 1795942 "object to path" uses outdated stateThomas Holder1-0/+10
2018-10-04Remove old unset code which isn't used any moreMartin Owens1-161/+8
2018-10-04fix compiling on macOSThomas Holder1-1/+1
2018-10-04SPStyle property lookup helper classThomas Holder1-519/+197
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-143/+143
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-06-07Add GUI support for 'font-variant-east-asian' property.Tavmjong Bah1-2/+2
2018-05-14Misc. typosluz.paz1-1/+1
Found via `codespell` and `grep`
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-1/+1
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-1/+1
2018-04-29moved libcroco, libuemf, libdepixelize to 3rdparty folderMarc Jeanmougin1-1/+1
2018-04-23Fix promote dJabier Arraiza1-2/+13
2018-04-23Revert TAV d work for testingJabier Arraiza1-13/+2
2018-03-27Add the path 'd' property to the blacklist for default style.Tavmjong Bah1-0/+1
2018-03-07Promote the path 'd' attribute to a property per SVG 2. Try 2.Tavmjong Bah1-2/+13
See e88644b0 for first attempt and for comments.
2018-02-18Revert "Promote the path 'd' attribute to a property per SVG 2."Tavmjong Bah1-10/+0
Needs further testing. This reverts commit e88644b0f3481c78a9563dbf9ee6b76ab6674583.
2018-02-13Promote the path 'd' attribute to a property per SVG 2.Tavmjong Bah1-0/+10
This allows 'd' to be animated via CSS animations. Due to the interactions of 'd' with LPE's, 'd' as a property is converted to 'd' as an attribute in SPPath::update. This changes the XML which causes update() to be called again (and triggers a warning). Fixing this is left to a future patch as is converting the 'd' back to a property on output.