summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-16/+21
| | | | A lot of header clean-up.
* Unset the current tool early on shutdown.Stefano Facchini2017-11-131-7/+1
| | | | | | | | | | | Before this commit, when the application is terminated we call the ::finish() method for the current tool, only after deleting the selection and other objects. But it may happen that the tool's finish() assume that the selection is still alive, making the application crash. (For instance, with the Bezier tool when the path is still not closed). Instead, unset the current tool early, when the Desktop object is removed from the application, before calling its ::destroy() method.
* Refactor SPDesktop::setEventContext to allow for unsetting the current toolStefano Facchini2017-11-131-22/+22
| | | | | Passing the empty string as toolName has the effect of unsetting and freeing the current tool. This will be used in a future commit.
* Misc. typosUnknown2017-11-071-1/+1
| | | | | | | | | | | | Found using `codespell -q 3 -w --skip="*.svg,*.po,*.ts,./share/tutorials,./src/libavoid,./packaging/win32/languages,./man,./src/2geom" -I ../inkscape-whitelist.txt` whereby whitelist file contained: ``` dum iff glight substract te upto ```
* Enable reopening of Prototype dialog on startup.Tavmjong Bah2017-10-271-0/+1
|
* Try to ensure that panels are created with the correct desktop.Tavmjong Bah2017-10-271-0/+6
| | | | Fixes bug #1720096. (Crash under Wayland in gdl code.)
* Add canvas-rotate for rapid previewing canvas rotation.Tavmjong Bah2017-03-301-5/+11
| | | | | Add canvas-debug for study of canvas tiling. (bzr r15612)
* Prevents crash when saving or closing a document in some casesMinglangjun Li2017-03-261-6/+10
|\ | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/1670688 (bzr r15608)
| * Fix lp:1670688.Minglangjun Li2017-03-191-6/+10
| | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/1670688 (bzr r15577.1.1)
* | Add canvas flip. No GUI. Can be bound to keys via preferences.Tavmjong Bah2017-03-221-0/+42
| | | | | | (bzr r15606)
* | Implement rotation via desktop to window affine.Tavmjong Bah2017-03-201-0/+1
| | | | | | | | | | | | Remove rotation via viewbox. Still some work to do... (bzr r15603)
* | Modify scroll_to_point() to work with rotated desktop. Simplified code to boot.Tavmjong Bah2017-03-141-35/+13
| | | | | | (bzr r15596)
* | Add functions to rotate drawing inside desktop.Tavmjong Bah2017-03-141-0/+42
| | | | | | (bzr r15595)
* | Replace rectangle based zooming by affine based zooming.Tavmjong Bah2017-03-131-269/+275
|/ | | | | | | | This allows a rotation to be included in the drawing to window mapping. General code cleanup. Added documentation. Any change to zooming behavior is probably a bug. (bzr r15592)
* CPPification: almost all sp_object_set_whatever and sp_selection_whatever ↵Marc Jeanmougin2016-10-241-0/+1
| | | | | | | | | | | | global functions are now methods of ObjectSet*, with these additional benefits: - They can now act on any SelectionSet, not just the current selection; - Whenever possible, they don't need a desktop anymore and can run if called from GUI. I hope I did not break too many things in the process. *: So instead of callink sp_selection_move(desktop,x,y), you call myobjectset->move(x,y) (bzr r15189)
* Remove == true.Shlomi Fish2016-09-031-1/+1
| | | (bzr r15100.1.7)
* End GTK+ 2 support and remove GDL forkAlex Valavanis2016-08-041-4/+0
|\ | | | | (bzr r15038)
| * Finish removing GTK+ 2 fallbacksAlex Valavanis2016-07-281-4/+0
| | | | | | (bzr r15023.2.8)
* | Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-13/+1
| | | | | | (bzr r15034)
* | Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-1/+13
| | | | | | (bzr r15027)
* | Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-13/+1
|/ | | (bzr r15025)
* Move page border below the drawing.Krzysztof Kosi??ski2016-04-131-1/+1
| | | (bzr r14838)
* Move background drawing to SPCanvas to avoid temporarily drawing an incorrectKrzysztof Kosi??ski2016-04-131-14/+3
| | | | | background. #Hackfest2016 (bzr r14821)
* Hackfest 2016: un-obfuscate the SPCanvas widget.Krzysztof Kosi??ski2016-04-121-2/+2
| | | (bzr r14790)
* desktop: Fix deprecated GdkCursor APIAlex Valavanis2016-04-111-1/+2
| | | (bzr r14779)
* Add option for checkerboard background.Tavmjong Bah2015-12-211-6/+10
| | | | | | Fixed bugs: - https://launchpad.net/bugs/397723 (bzr r14539)
* finally removed all GSList from main folder .h filesMarc Jeanmougin2015-12-081-6/+0
| | | (bzr r14504.1.15)
* update to trunk + resolve conflictsMarc Jeanmougin2015-12-081-0/+5
|\ | | | | (bzr r14504.1.9)
| * Fixes UX pointed in suv reviewJabier Arraiza Cenoz2015-12-061-0/+5
| | | | | | (bzr r14500.1.9)
| * Changed from Desktop to namedview to handle multiples documentsJabier Arraiza Cenoz2015-12-051-7/+0
| | | | | | (bzr r14500.1.8)
| * Add global lock guides to the rulersJabier Arraiza Cenoz2015-12-031-0/+7
| | | | | | (bzr r14500.1.5)
* | cppification: GSList replaced by vectors (mostly related to guides and grids)Marc Jeanmougin2015-12-051-1/+1
|/ | | (bzr r14504.1.1)
* Fix restoring previous state of 'Objects' and 'Selection sets' dialogssu_v2015-08-311-0/+2
| | | (bzr r14335)
* fixes a few of jenkins warningsMarc Jeanmougin2015-05-081-1/+0
| | | (bzr r14126)
* mergeMarc Jeanmougin2015-04-261-1/+1
|\ | | | | (bzr r13922.1.12)
| * Strip ToolFactoryLiam P. White2015-02-251-1/+1
| | | | | | (bzr r13939.1.2)
* | Put a few std::vector<SPitem*>Marc Jeanmougin2015-02-191-1/+1
| | | | | | (bzr r13922.1.5)
* | Just...mc2015-02-181-1/+1
|/ | | | | | | some... more... lines... (bzr r13922.1.2)
* Remove sp_desktop_document and finish cleanup of desktop-handles.hLiam P. White2014-12-211-4/+4
| | | (bzr r13820)
* Purge sp_desktop_canvasLiam P. White2014-12-211-1/+1
| | | (bzr r13811)
* Update to experimental r13598Liam P. White2014-10-081-2/+2
|\ | | | | (bzr r13341.5.17)
| * Move more UI code into ui/Liam P. White2014-10-051-1/+1
| | | | | | (bzr r13341.1.253)
| * Move obvious ui component to ui/Liam P. White2014-10-051-1/+1
| | | | | | (bzr r13341.1.247)
* | 5. Refactoring of Application class: make copy/assignment operators private, ↵Liam P. White2014-06-271-32/+26
| | | | | | | | | | disallow pointers to Application (bzr r13341.5.9)
* | 3. remove dead code, refactor existing code. Connect overlooked signals.Liam P. White2014-06-261-1/+0
| | | | | | (bzr r13341.5.3)
* | 1. make it compileLiam P. White2014-06-251-1/+1
|/ | | (bzr r13341.5.1)
* Stop observer from crashing when it doesn't exist in preferences.xmlMartin Owens2014-04-201-1/+0
| | | (bzr r13293)
* Fix remaining issue with prefs updatingMartin Owens2014-04-191-1/+1
| | | (bzr r13291.1.2)
* Add image rendering option for outlines. Setup desktop preferences observer.Martin Owens2014-04-181-3/+9
| | | (bzr r13291.1.1)
* remove debug messages in desktop.cppJohan B. C. Engelen2014-04-141-3/+0
| | | (bzr r13287)