summaryrefslogtreecommitdiffstats
path: root/src/connector-context.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixing more broken and split doc comments.Jon A. Cruz2011-10-271-1/+1
| | | (bzr r10697)
* - rename SPItem::i2d_affine to i2dt_affine, to clarify that it is ↵Johan B. C. Engelen2011-07-171-7/+7
| | | | | | | item-to-desktop, not item-to-document. This should make it easier to spot bugs. - tag some instances where the document-to-desktop transform has been hardcoded (bzr r10466)
* warning cleanup (no functional changes)Campbell Barton2011-06-251-11/+11
| | | | | | - enclose && / || with brackets to avoid ambiguity. - don't cast from booleans to pointers. (bzr r10359)
* Replace deprecated GtkSignalAlex Valavanis2011-06-131-4/+4
| | | (bzr r10282.1.1)
* Finished cleanup of outdated SP_OBJECT_REPR C macro.Jon A. Cruz2011-02-221-5/+5
| | | (bzr r10067)
* update to latest 2geom !Johan B. C. Engelen2011-02-021-5/+5
| | | (bzr r10025)
* Split SPCanvasItem and SPCanvasGroup to individual .h files. Removed forward ↵Jon A. Cruz2010-12-231-1/+4
| | | | | header. (bzr r9978.1.1)
* Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-43/+39
|\ | | | | (bzr r9945.1.1)
| * SPObject c++ification finalized along with the beginning of XML ↵Abhishek Sharma Public2010-07-121-11/+11
| | | | | | | | | | Privatisation tweaks (bzr r9546.1.6)
| * New Class SPDocumentUndo created which takes care of c++fying some non ↵Abhishek Sharma Public2010-07-021-4/+4
| | | | | | | | | | SPDocument based methods (bzr r9546.1.3)
| * C++fied SPDocument addedAbhishek Sharma Public2010-07-011-5/+5
| | | | | | (bzr r9546.1.2)
| * This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public2010-06-291-9/+9
| | | | | | | | | | sp-polyline, sp-item and marks the onset of document c++ification as well. Users can check performace increase with [/usr/bin/time -v inkscape_binary_with_commandline_options]. (bzr r9546.1.1)
* | Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan2010-11-171-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)
* | Connector tool: pointers should be nulled after snappingDiederik van Lierop2010-08-161-12/+22
| | | | | | (bzr r9716)
* | Fixes bug #478597 where the connector context crash due to asserting thatMichael Wybrow2010-08-131-2/+4
| | | | | | | | | | | | | | | | | | paths marked as connectors were always open. Now it just treats them as connectors if they are open, or normal objects otherwise. Fixed bugs: - https://launchpad.net/bugs/478597 (bzr r9707.1.1)
* | Fix bug #612756 where connectors with zero length (due to being clippedMichael Wybrow2010-08-131-5/+22
| | | | | | | | | | | | | | | | | | to the perimeter of two overlapping objects) could crash the connector context. Fixed bugs: - https://launchpad.net/bugs/612756 (bzr r9705.1.1)
* | Clear pointers in the snapmanager if they're no longer needed.Diederik van Lierop2010-08-111-1/+5
|/ | | (bzr r9697)
* Cleanup of SP_ACTIVE_DESKTOP to prepare clipboard code for reuse.Jon A. Cruz2010-03-191-0/+3
| | | (bzr r9209)
* Cleanup on id access.Jon A. Cruz2010-03-021-1/+1
| | | (bzr r9127)
* Disabled unfinished connection point edit mode. Added ↵Arcadie M. Cracan2010-02-211-26/+50
| | | | | inkscape:connection-start-point, inkscape:connection-end-point attributes for connector endpoints. This corrects the previous approach making drawings created in 0.48 version compatible with earlier versions (new attributes are silently ignored). (bzr r9103.1.1)
* Tiny bit of refactoring (inverting some logic)Diederik van Lierop2010-02-061-1/+1
| | | (bzr r9059)
* Finally introducing the pre-snap indicatorDiederik van Lierop2010-01-301-0/+3
| | | (bzr r9034)
* Remove redundancy from snapping API (type of snapsource no longer has to be ↵Diederik van Lierop2010-01-231-12/+10
| | | | | specified explicitly) (bzr r9014)
* Small snap bug has been eliminated, flowed text snapping now uses baseline, ↵Diederik van Lierop2009-12-301-23/+1
| | | | | replacing tabs by spaces, removing some commented lines (bzr r8925)
* Warning cleanupJon A. Cruz2009-12-271-2/+2
| | | (bzr r8918)
* Warning cleanupJon A. Cruz2009-12-201-57/+57
| | | (bzr r8895)
* Merge GSoC2009 Connectors into trunkArcadie M. Cracan2009-12-021-300/+892
| | | (bzr r8855)
* Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert2009-08-061-5/+5
| | | | | which cannot be fixed easily. (bzr r8422)
* SPDocument->Documentjohnce2009-08-051-5/+5
| | | (bzr r8404)
* Make the snap delay mechanism easier to implement for the devs, and get rid ↵Diederik van Lierop2009-07-181-12/+9
| | | | | of the related warning messages (bzr r8302)
* - Move snap delay mechanism to the event context (used to be in SPCanvas)Diederik van Lierop2009-03-291-17/+40
| | | | | | - Rename lots of variables and methods to make them easier to understand - Add snapping to the connector tool (bzr r7589)
* remove desktop-affine.h and refactor sp_desktop_dt2doc_* callsThomas Holder2009-03-131-2/+1
| | | (bzr r7478)
* The snap indicator's tooltip now displays "A to B", whereas before it only ↵Diederik van Lierop2009-02-201-1/+1
| | | | | displayed "B". (bzr r7335)
* - The snap-delay mechanism should now be more robust. From now on, it must ↵Diederik van Lierop2009-01-251-18/+22
| | | | | | | be turned on and off explicitely within each context. This prevents delayed snapping events from being fired after the context or context's state has changed. - Creating single dots now snaps (bzr r7172)
* Make all tools consider full parent transform (up to document, not just up ↵Thomas Holder2008-12-081-2/+2
| | | | | | | to root) See http://wiki.inkscape.org/wiki/index.php/ViewBoxToDo (bzr r6974)
* Merge from fe-movedTed Gould2008-11-211-2/+2
| | | (bzr r6891)
* From trunkTed Gould2008-10-271-34/+36
| | | (bzr r6885)
* Merging from trunkTed Gould2008-10-111-2/+2
| | | (bzr r6884)
* make spcurve::first_point and last_point boost::optionalJohan B. C. Engelen2008-08-131-4/+4
| | | (bzr r6617)
* Move all of the snapper code to 2geomDiederik van Lierop2008-08-111-6/+6
| | | (bzr r6606)
* remove many unnecessary to_2geom and from_2geom callsJohan B. C. Engelen2008-08-081-7/+7
| | | (bzr r6593)
* fix ambiguities by implicit NR::Matrix/Geom::Matrix cast.Johan B. C. Engelen2008-08-061-5/+5
| | | (bzr r6582)
* NR::Maybe => boost::optionalJohan B. C. Engelen2008-08-051-1/+1
| | | (bzr r6569)
* change knot.h to Geom::Point only instead of NR::Point.Johan B. C. Engelen2008-08-011-5/+5
| | | (bzr r6511)
* convert all SPCurve's points and matrices arguments and return types to 2GeomJohan B. C. Engelen2008-07-171-12/+12
| | | (bzr r6339)
* change NR::Matrix to Geom:: for many sp_item_xxx_affine functionsJohan B. C. Engelen2008-06-121-4/+4
| | | (bzr r5915)
* spcc_flush_white(SPConnectorContext *cc, SPCurve *gc) now uses ↵Johan B. C. Engelen2008-06-061-1/+1
| | | | | curve->get_pathvector instead of get_bpath. (bzr r5838)
* Fix a regression in the snapper, caused by me. Sorry!Diederik van Lierop2008-05-161-1/+1
| | | (bzr r5680)
* Add a centralized check (i.e. in the snapper mechanism) whether we've ↵Diederik van Lierop2008-05-121-1/+1
| | | | | snapped or not, instead of leaving it up to the various tools. This should prevent these tools from moving to (0,0) if they bluntly use the value returned by the snapping mechanism without checking whether snapping has really occured. (bzr r5659)
* - try to use more forward declarations for less dependencies on display/curve.hJohan B. C. Engelen2008-05-091-3/+3
| | | | | | - change _bpath to private member of SPCurve, obtain and set with get_bpath and set_bpath. - added const methods, so protect changes to _bpath in SPCurve (bzr r5636)