summaryrefslogtreecommitdiffstats
path: root/src/util (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-07-01Fix various minor typosYuri Chornoivan2-2/+2
2019-04-30Make display unit change roll out to toolbarsNathan Lee1-0/+2
Add exception for measure tool, which uses preferences Fixes https://gitlab.com/inkscape/inbox/issues/393 Partial fix: https://gitlab.com/inkscape/inkscape/issues/208
2019-02-15Fix unmatched svg_length_lookup[] array and SVGLength::UnitTim Rawlinson1-5/+1
2019-01-02modernize: add overridesMarc Jeanmougin1-3/+2
2019-01-02modernize loopsMarc Jeanmougin3-21/+21
2018-11-08Clarify licensesMax Gaukler29-52/+115
- 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 bug 1793940 ODG image exportThomas Holder2-0/+8
Fixes handling of relative image URIs and data URIs for OpenDocument drawing (*.odg) export.
2018-10-19Remove unused filter-list.h header.Emmanuel Gil Peyrot2-66/+0
2018-10-19Remove unused map-list.h header.Emmanuel Gil Peyrot2-69/+0
2018-10-19Remove unused function.h header.Emmanuel Gil Peyrot2-123/+0
2018-10-19Remove unused tuple.h header.Emmanuel Gil Peyrot2-183/+0
2018-10-18Remove util/unordered-containers.h aliases.Emmanuel Gil Peyrot4-61/+19
2018-10-01Remove #include "config.h" wherever possibleEduard Braun3-10/+0
2018-09-25cppcheck: out of bounds ziptoolJulien Nabet1-1/+1
[util/ziptool.cpp:1235]: (error) Array 'lenBases[29]' accessed at index 29, which is out of bounds. [util/ziptool.cpp:1236]: (error) Array 'lenBases[29]' accessed at index 29, which is out of bounds.
2018-09-24Remove #include "config.h" from header files where possibleEduard Braun1-4/+0
2018-06-20Replace typedef struct with struct in POD type declarations.Emmanuel Gil Peyrot1-6/+6
2018-06-18Run clang-tidy’s modernize-use-noexcept pass.Emmanuel Gil Peyrot1-2/+2
This removes deprecated dynamic exception specifications.
2018-06-18Run clang-tidy’s modernize-pass-by-value pass.Emmanuel Gil Peyrot6-25/+28
This avoids having to pass variables by reference before copying them when calling a constructor.
2018-06-18Run clang-tidy’s modernize-deprecated-headers pass.Emmanuel Gil Peyrot4-7/+7
This renames most C <*.h> includes into C++ <c*> includes.
2018-06-18Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot9-31/+18
This replaces empty constructors and destructors with the default keyword.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot9-26/+26
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-06-18Run clang-tidy’s modernize-use-override pass.Emmanuel Gil Peyrot2-6/+6
This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier.
2018-06-12Run clang-tidy’s modernize-use-equals-delete pass.Emmanuel Gil Peyrot1-2/+2
Adds a delete specifier on constructors, destructors or assignment methods that should never be called, ensuring they actually never will.
2018-05-14Misc. typosluz.paz3-3/+3
Found via `codespell` and `grep`
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin3-7/+7
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin3-7/+7
2018-03-30Add lots of README's.Tavmjong Bah1-0/+9
2018-03-17Removing sample meson build files.Felipe Corrêa da Silva Sanches1-51/+0
These will be kept at a separate "meson_build" branch at https://gitlab.com/fsanches/inkscape/ Learn more at: * "Using Meson's automatic dependency manager to build GTK" ** https://www.youtube.com/watch?v=2dB80CjH_3Q * "The Meson Build System - 4+ years of work to become an overnight success" ** https://www.youtube.com/watch?v=gHdTzdXkhRY
2018-03-17[meson-build] libutilFelipe Corrêa da Silva Sanches1-0/+51
2018-01-08Misc. typosluz.paz3-3/+3
Found via `codespell`
2017-10-19Remove all unused makefile.inStefano Facchini1-17/+0
2017-10-19Remove unused util/compose.hppStefano Facchini2-394/+0
2017-10-19Remove unused util/accumulators.hStefano Facchini2-114/+0
2017-10-18Refactor Util::ptr_sharedJan Lingscheid3-93/+59
Util::ptr_shared<T> was only used in its <char> specialization, so it is now refactored into a non-template class. Using it with arbitary classes was dangerous anyway.
2017-06-15Remove duplicated build checks.Elliott Sales de Andrade1-2/+0
Most of these #defines are not even checked anyway, though they could have the side-effect of failing configure before the build started. However, these checks are redundant due to other checks for the same thing: * concept_check.hpp was added to Boost in 1.19.0, released in 2000. I sincerely doubt anyone is using that version right now, but I added a minimum version to the find_package() call. In any case, no code actually checked the #define, so it wouldn't have built without it anyway. * FindBoehmGC puts gc.h on the compiler search path, so there's no need to try gc/gc.h also. * libintl.h is found by FindIntl. * unordered_set is part of the C++11 standard. * zlib.h is found by find_package(ZLIB).
2016-08-08Remove deprecated Autotools and btool files. Please use CMake insteadAlex Valavanis1-49/+0
(bzr r15046)
2016-08-04Use C++11 unordered containersAlex Valavanis1-41/+5
(bzr r15040)
2016-06-05[Bug #1587311] Entering + into stroke width dialog crashes Inkscape.rafael-g1-2/+5
Fixed bugs: - https://launchpad.net/bugs/1587311 (bzr r14952)
2016-06-05[Bug #1550178] Inkscape crashed with segfault in ExpressionEvaluator on OpenBSD.rafael-g1-1/+3
Fixed bugs: - https://launchpad.net/bugs/1550178 (bzr r14951)
2016-03-22Un-revert: Allow Unit object to do conversions, pipe Quality class method ↵Martin Owens2-12/+30
via that. (bzr r14739)
2016-03-18Reverting 14701.Tavmjong Bah2-64/+14
(bzr r14716.1.2)
2016-03-12Add a units box to line height and wire in the style units, plus some cleanupMartin Owens2-14/+64
(bzr r14701)
2015-12-09Remove unused header file.Tavmjong Bah3-239/+0
(bzr r14522)
2015-05-08fixes a few of jenkins warningsMarc Jeanmougin1-1/+1
(bzr r14126)
2015-02-26Rename libgc/ => inkgc/ to reflect difference from Boehm GCLiam P. White2-2/+2
(bzr r13950)
2015-02-25Collect util/ into a static libraryLiam P. White3-90/+10
(bzr r13948)
2015-02-25Isolate components of libgcLiam P. White2-2/+2
(bzr r13946)
2014-11-25Move 'm' handling code from document.cpp to svg-length.cpp and units.cpp to ↵Tavmjong Bah1-0/+3
match handling of 'ft'. (bzr r13758)
2014-11-24Units: make it absolutely clear that Document properties unit dropdown is ↵Johan B. C. Engelen2-0/+27
for UI Display Units. Upon document load, calculate the units used for SVG values, if a viewbox is available. If not, default to "px" SVG units. Change all code to use either Display units OR svg units. (bzr r13751)
2014-11-19units: remove a remnant from old code. There should be only one UnitTable ↵Johan B. C. Engelen1-1/+0
instantiated. (bzr r13737)