summaryrefslogtreecommitdiffstats
path: root/src/svg/svg-length.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-06Avoid the “using std::*;” or “using namespace std;” constructs.Emmanuel Gil Peyrot1-0/+1
This makes the code a lot less readable and greppable for no reason.
2018-11-08Clarify licensesMax Gaukler1-6/+7
- 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-07SVGLength::read handle infThomas Holder1-4/+4
2018-10-07Fix for NaN checkingMarc Jeanmougin1-0/+4
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-6/+6
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-2/+2
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-2/+2
2018-01-08Misc. typosluz.paz1-2/+2
Found via `codespell`
2016-03-22Add line-height unit selector to text toolbar.Tavmjong Bah1-20/+0
Remove 'm' and 'ft' non-CSS lengths. (bzr r14716.1.3)
2015-12-05Handle units in the 'x', 'y', 'dx', and 'dy' text and tspan attributes.Tavmjong Bah1-1/+1
Fixed bugs: - https://launchpad.net/bugs/1522478 - https://launchpad.net/bugs/262528 - https://launchpad.net/bugs/168845 (bzr r14505)
2015-03-14Partial fix for bug 1430873. Rectangles should behave properly with % values.Tavmjong Bah1-0/+52
(bzr r14004)
2014-11-25Move 'm' handling code from document.cpp to svg-length.cpp and units.cpp to ↵Tavmjong Bah1-1/+4
match handling of 'ft'. (bzr r13758)
2014-08-18Code cleanup.Liam P. White1-10/+3
(bzr r13341.1.145)
2013-10-27fix warning and add comments about fixing codeJohan B. C. Engelen1-0/+3
(bzr r12735)
2013-10-05Rewrite the internals of the unit code for somewhat better performanceKrzysztof Kosi??ski1-0/+2
(bzr r12661)
2013-09-26Further refactored SPEllipse.Markus Engel1-0/+8
(bzr r12601)
2013-09-12Forgot check in last commit.Matthew Petroff1-1/+1
(bzr r12509)
2013-09-12Fix handling of SVG lengths with spaces between value and unit (hopefully ↵Matthew Petroff1-0/+2
without breaking things this time) [Bug #1208002]. Fixed bugs: - https://launchpad.net/bugs/1208002 (bzr r12508)
2013-09-11partially revert 12471, this fixes bug 1215575, but undoes the fix for the ↵Johan B. C. Engelen1-8/+10
less important bug 1208002. (also improved unit conversion legibility) Fixed bugs: - https://launchpad.net/bugs/1215575 (bzr r12506)
2013-08-25Use real world units for page sizes.Matthew Petroff1-6/+6
(bzr r12475.1.1)
2013-08-03Fix handling of SVG lengths with spaces [Bug #1208002].Matthew Petroff1-0/+2
(bzr r12380.1.61)
2013-07-31Eliminate "unit-constants.h".Matthew Petroff1-7/+7
(bzr r12380.1.54)
2011-12-08Switch to top-level glib headers. Thanks to DimStar for patchAlex Valavanis1-1/+1
Fixed bugs: - https://launchpad.net/bugs/898538 (bzr r10762)
2011-10-02Warning cleanup.Jon A. Cruz1-0/+2
(bzr r10655)
2010-11-17Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan1-1/+1
fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900)
2009-12-20Warning cleanupJon A. Cruz1-0/+1
(bzr r8895)
2009-10-08Fixed signed/unsigned problem with precision calc. Fixes bug #399604.Jon A. Cruz1-18/+18
(bzr r8742)
2008-08-02Todo is done.Jon A. Cruz1-1/+0
(bzr r6520)
2008-08-01Added to tests for SVG units, and fixed warning of missing caseJon A. Cruz1-0/+1
(bzr r6498)
2008-07-18Fix for PathString to prevent it from getting into a very, very long copying ↵Jasper van de Gronde1-34/+54
run and make it use minimumexponent. Plus some extra tests. (bzr r6355)
2008-07-04Mark a missing case statementJon A. Cruz1-0/+1
(bzr r6142)
2008-02-03Make units pc (pica) and ft (feet) work correctly. Closes: LP #167943.Maximilian Albert1-1/+9
(bzr r4639)
2008-01-31Applying fixes for gcc 4.3 build issues (closes LP: #169115)Bryce Harrington1-0/+3
(bzr r4629)
2006-10-31fix off-by-one error: setting tprec to 6 was actually writing 7 digitsbulia byak1-1/+1
(bzr r1876)
2006-04-25limit the smallest exponent in transforms; anything smaller is written as 0bulia byak1-6/+10
(bzr r583)