summaryrefslogtreecommitdiffstats
path: root/src/document.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix #476 ignore hidden layers when selectingThomas Holder2019-10-181-4/+9
|
* Fix segfault with bad SVG file.Tavmjong Bah2019-10-051-1/+5
| | | | Fixes https://gitlab.com/inkscape/inkscape/issues/416
* Allow duplication of objects with empty idsNathan Lee2019-10-011-8/+4
| | | | .
* Eliminate clang warningsThomas Holder2019-08-231-17/+0
| | | | | | | | | | -Winfinite-recursion -Wpessimizing-move -Wunused-label -Wunneeded-internal-declaration -Wself-assign-overloaded -Wunused-const-variable (some) -Wsometimes-uninitialized (some)
* Eliminate clang warningsThomas Holder2019-08-231-2/+2
| | | | | | | | | | -Wconstant-conversion -Wenum-compare-switch -Wpointer-bool-conversion -Wundefined-bool-conversion -Wunused-value Excluding deprecation warnings and 3rdparty directory.
* reduce usage of desktop coordinates (#341)Thomas Holder2019-08-181-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
* Make doc2dt a document propertyThomas Holder2019-07-271-1/+16
| | | | Closes #340
* Allow styling def sections and go to the eleemntJabiertxof2019-07-051-1/+2
|
* Refactoring: call setAttribute() directly.Shlomi Fish2019-06-061-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.
* Add comment, rename functionMarc Jeanmougin2019-04-241-1/+1
|
* Fix style and line detectionMarc Jeanmougin2019-04-241-1/+1
|
* Removes style on empty linesMarc Jeanmougin2019-04-241-0/+5
|
* Remove trailing whitespace.Tavmjong Bah2019-04-071-34/+34
|
* Move signal functions to end, matches order in header file.Tavmjong Bah2019-04-071-102/+99
|
* More document.h cleanup.Tavmjong Bah2019-04-061-65/+36
|
* Reorganize document.h.Tavmjong Bah2019-04-041-7/+7
|
* Make InkscapeApplication responsible for managing documents and windows.Tavmjong Bah2019-03-151-3/+22
| | | | Any change from previous behavior is a bug.
* Give more descriptive names to document file related variables and functions.Tavmjong Bah2019-02-201-87/+87
| | | | Makes searching through code for them easier.
* No longer use widget data to store pointer to desktop widget.Tavmjong Bah2019-01-201-3/+4
|
* Remove unneeded unreferencing. Add check on reference count.Tavmjong Bah2019-01-061-0/+8
|
* modernize loopsMarc Jeanmougin2019-01-021-4/+4
|
* DocumentUndo::ScopedInsensitiveThomas Holder2018-12-141-4/+1
|
* Improve spliter and add outline mode functionalityJabier Arraiza2018-12-011-1/+0
|
* Clarify licensesMax Gaukler2018-11-081-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
* Remove into filtered groupsJabier Arraiza2018-11-051-9/+9
|
* Fix coding stule and things comented on the MRJabier Arraiza2018-11-051-21/+25
|
* Improvemets to find itemsJabier Arraiza2018-11-051-14/+29
|
* Move contents of document-private.h to document.h.Tavmjong Bah2018-10-291-100/+82
|
* Move some files to 'io' directory.Tavmjong Bah2018-10-131-1/+1
|
* Misc. typosluz.paz2018-10-061-1/+1
| | | Found via `codespell`
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-4/+0
|
* Use _WIN32 instead of WIN32Eduard Braun2018-10-011-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
* SP_ACTIVE_DESKTOP: check for NULL or eliminateThomas Holder2018-09-271-1/+2
|
* fix crash with PNG/JPG command line argumentThomas Holder2018-09-271-1/+1
| | | | https://bugs.launchpad.net/inkscape/+bug/1794762
* New option to invert y-axisThomas Holder2018-09-121-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
* Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot2018-06-191-2/+2
|
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-96/+96
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-3/+3
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-3/+3
|
* Put adaptagrams into its own folderMarc Jeanmougin2018-04-291-1/+1
|
* moved libcroco, libuemf, libdepixelize to 3rdparty folderMarc Jeanmougin2018-04-291-3/+3
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-11/+20
| | | | A lot of header clean-up.
* Flushing std::coutJabier Arraiza2017-09-171-1/+1
|
* Add support for imported style sheets via @import to Inkscape.Tavmjong Bah2017-08-071-0/+2
|
* Add contextual buttons to Hide/lock and Unhide/unlock itemsJabiertxof2017-06-061-4/+4
| | | (bzr r15732)
* Porting the pre-92 file update message from 0.92.x to trunk:Marc Jeanmougin2017-06-041-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)
* Add very raw page loading using linksMartin Owens2017-06-041-3/+9
| | | (bzr r15727)
* Allow any valid CSS selector.Tavmjong Bah2017-02-221-0/+49
| | | (bzr r15539)
* [Bug #1662439] Instant crash when trying to move svg symbol.Nicolas Dufour2017-02-091-1/+3
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1662439 (bzr r15498)
* forward-port from 0.92.x the line height conversion from <.92 to >=.92Marc Jeanmougin2017-02-051-1/+13
| | | | | | | | | | | | | | | | | Code written by su_v in python as an extension, ported to c++ by Mc, some fixes added by bryce. http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15338 http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15339 http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15350 http://bazaar.launchpad.net/~inkscape.dev/inkscape/0.92.x/revision/15351 Option to disable it is called --no-convert-text-baseline-spacing The terminology "convert" is chosen as a jargon word to be used for all such legacy file conversions. The "--no-XXX" naming style is adopted from the convention used by other software such as GIMP. (bzr r15481)