summaryrefslogtreecommitdiffstats
path: root/src/document.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-18fix #476 ignore hidden layers when selectingThomas Holder1-4/+9
2019-10-05Fix segfault with bad SVG file.Tavmjong Bah1-1/+5
Fixes https://gitlab.com/inkscape/inkscape/issues/416
2019-10-01Allow duplication of objects with empty idsNathan Lee1-8/+4
.
2019-08-23Eliminate clang warningsThomas Holder1-17/+0
-Winfinite-recursion -Wpessimizing-move -Wunused-label -Wunneeded-internal-declaration -Wself-assign-overloaded -Wunused-const-variable (some) -Wsometimes-uninitialized (some)
2019-08-23Eliminate clang warningsThomas Holder1-2/+2
-Wconstant-conversion -Wenum-compare-switch -Wpointer-bool-conversion -Wundefined-bool-conversion -Wunused-value Excluding deprecation warnings and 3rdparty directory.
2019-08-18reduce usage of desktop coordinates (#341)Thomas Holder1-19/+20
- avoid unnecessary internal usage of desktop coordinates, e.g. in SpellCheck::compareTextBboxes - document whether a function argument is in document or desktop coordinates, e.g. for SPDocument::getItemsInBox
2019-07-27Make doc2dt a document propertyThomas Holder1-1/+16
Closes #340
2019-07-05Allow styling def sections and go to the eleemntJabiertxof1-1/+2
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-24Add comment, rename functionMarc Jeanmougin1-1/+1
2019-04-24Fix style and line detectionMarc Jeanmougin1-1/+1
2019-04-24Removes style on empty linesMarc Jeanmougin1-0/+5
2019-04-07Remove trailing whitespace.Tavmjong Bah1-34/+34
2019-04-07Move signal functions to end, matches order in header file.Tavmjong Bah1-102/+99
2019-04-06More document.h cleanup.Tavmjong Bah1-65/+36
2019-04-04Reorganize document.h.Tavmjong Bah1-7/+7
2019-03-15Make InkscapeApplication responsible for managing documents and windows.Tavmjong Bah1-3/+22
Any change from previous behavior is a bug.
2019-02-20Give more descriptive names to document file related variables and functions.Tavmjong Bah1-87/+87
Makes searching through code for them easier.
2019-01-20No longer use widget data to store pointer to desktop widget.Tavmjong Bah1-3/+4
2019-01-06Remove unneeded unreferencing. Add check on reference count.Tavmjong Bah1-0/+8
2019-01-02modernize loopsMarc Jeanmougin1-4/+4
2018-12-14DocumentUndo::ScopedInsensitiveThomas Holder1-4/+1
2018-12-01Improve spliter and add outline mode functionalityJabier Arraiza1-1/+0
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-05Remove into filtered groupsJabier Arraiza1-9/+9
2018-11-05Fix coding stule and things comented on the MRJabier Arraiza1-21/+25
2018-11-05Improvemets to find itemsJabier Arraiza1-14/+29
2018-10-29Move contents of document-private.h to document.h.Tavmjong Bah1-100/+82
2018-10-13Move some files to 'io' directory.Tavmjong Bah1-1/+1
2018-10-06Misc. typosluz.paz1-1/+1
Found via `codespell`
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-10-01Use _WIN32 instead of WIN32Eduard Braun1-2/+2
The former is guaranteed to be set for any compiler targeting win32, the latter is implementation dependent (but works for gcc) See also http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system
2018-09-27SP_ACTIVE_DESKTOP: check for NULL or eliminateThomas Holder1-1/+2
2018-09-27fix crash with PNG/JPG command line argumentThomas Holder1-1/+1
https://bugs.launchpad.net/inkscape/+bug/1794762
2018-09-12New option to invert y-axisThomas Holder1-2/+8
Replaces all hard coded or implicit desktop coordinate usage with doc2dt multiplication. New global preference: Interface > Origin at upper left https://bugs.launchpad.net/inkscape/+bug/170049
2018-06-19Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot1-2/+2
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-96/+96
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-3/+3
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-3/+3
2018-04-29Put adaptagrams into its own folderMarc Jeanmougin1-1/+1
2018-04-29moved libcroco, libuemf, libdepixelize to 3rdparty folderMarc Jeanmougin1-3/+3
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-11/+20
A lot of header clean-up.
2017-09-17Flushing std::coutJabier Arraiza1-1/+1
2017-08-07Add support for imported style sheets via @import to Inkscape.Tavmjong Bah1-0/+2
2017-06-06Add contextual buttons to Hide/lock and Unhide/unlock itemsJabiertxof1-4/+4
(bzr r15732)
2017-06-06Add contextual buttons to Hide/lock and Unhide/unlock itemsJabiertxof1-4/+4
(bzr r15703.1.29)
2017-06-04Porting the pre-92 file update message from 0.92.x to trunk:Marc Jeanmougin1-0/+5
New dialog when opening pre-0.92 files (with 90 dpi). I implemented it mostly based on mizmo's UI proposal (thanks!), with additional inputs from su_v with a few bugfixes from jabiertxof Also adds a commandline option --convert-dpi-method=[none|scale-viewbox|scale-document] to be able to batch convert files. Fixed bugs: - https://launchpad.net/bugs/1659229 (bzr r15729)
2017-06-04Porting the pre-92 file update message from 0.92.x to trunk:Marc Jeanmougin1-0/+5
New dialog when opening pre-0.92 files (with 90 dpi). I implemented it mostly based on mizmo's UI proposal (thanks!), with additional inputs from su_v with a few bugfixes from jabiertxof Also adds a commandline option --convert-dpi-method=[none|scale-viewbox|scale-document] to be able to batch convert files. Fixed bugs: - https://launchpad.net/bugs/1659229 (bzr r15703.1.26)
2017-06-04Add very raw page loading using linksMartin Owens1-3/+9
(bzr r15727)
2017-06-04Add very raw page loading using linksMartin Owens1-3/+9
(bzr r15703.1.24)