summaryrefslogtreecommitdiffstats
path: root/src/graphlayout.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-03refactor: Eliminate SPIString::value_defaultThomas Holder1-1/+1
- eliminate value_default - make value private (-> _value) - add value() method
2019-06-12Refactoring: replace funcs with methods.Shlomi Fish1-2/+2
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-03-06Avoid the “using std::*;” or “using namespace std;” constructs.Emmanuel Gil Peyrot1-17/+19
This makes the code a lot less readable and greppable for no reason.
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-06-18Run clang-tidy’s modernize-use-emplace pass.Emmanuel Gil Peyrot1-1/+1
This reduces the boilerplate required to add a new element to a container.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-3/+3
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 Peyrot1-1/+1
This adds the override specifier on all methods which override a virtual method, whether they were already virtual or missing this specifier.
2018-04-29Put adaptagrams into its own folderMarc Jeanmougin1-3/+3
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-7/+12
A lot of header clean-up.
2017-07-01Updated libs from the Adaptagrams project: libavoid, libcola and libvspc; ↵Sylvain Chiron1-108/+85
changed the code to match the new API Signed-off-by: Sylvain Chiron <chironsylvain@orange.fr>
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-10/+0
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+10
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-10/+0
(bzr r15025)
2015-12-09Remove unused header file.Tavmjong Bah1-1/+0
(bzr r14522)
2015-12-08cppification: GSList replaced by vectors (connectors)Marc Jeanmougin1-6/+3
(bzr r14504.1.13)
2015-11-13static code analysisKris De Gussem1-1/+1
(bzr r14463)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-2/+2
(bzr r13922.1.10)
2015-02-19Put a few std::vector<SPitem*>Marc Jeanmougin1-3/+3
(bzr r13922.1.5)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-5/+5
change that GSList* with a std::list, then resolve the few problems" So, i tried that. And I will continue tomorrow, and the days after, on and on. (bzr r13922.1.1)
2014-11-26Replace INKSCAPE.active_desktop() by SP_ACTIVE_DESKTOP for easier grepabilityLiam P. White1-1/+1
(bzr r13768)
2014-06-275. Refactoring of Application class: make copy/assignment operators private, ↵Liam P. White1-1/+1
disallow pointers to Application (bzr r13341.5.9)
2014-04-24Clean up of style code: refactor marker properties. Step 3.Tavmjong Bah1-2/+2
(bzr r13301)
2013-11-21the C++11 fails without this small change in constness of a GSList iteratorJohan B. C. Engelen1-2/+2
(bzr r12829)
2011-10-03Another minor pass of Doxygen cleanup.Jon A. Cruz1-2/+3
(bzr r10659)
2011-08-27Refactor SPItem bounding box methods: remove NRRect usage and make codeKrzysztof Kosi??ski1-3/+3
using them more obvious. Fix filter region computation. (bzr r10582.1.1)
2011-07-02compatibility for building with clang, this failed for 2 reasons.Campbell Barton1-3/+4
- redefining the variable 'i' - the comparison between iterators didn't work. double checked this is the only use of shadowed 'i' so this has no functional changes. (bzr r10398)
2011-06-23Remove more of libnrKrzysztof Kosi??ski1-0/+1
(bzr r10347.1.2)
2010-11-17Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan1-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)
2010-06-29This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public1-2/+2
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)
2010-03-14Move around files to remove some vanity directories.Krzysztof Kosi??ski1-1/+1
Also remove the obsolete IDL file stub. (bzr r9194)
2010-03-02Cleanup on id access.Jon A. Cruz1-75/+75
(bzr r9127)
2009-12-02Merge GSoC2009 Connectors into trunkArcadie M. Cracan1-0/+1
(bzr r8855)
2008-12-28More NR ==> Geom changesJoshua L. Blocher1-3/+3
(bzr r7032)
2008-11-21Merge from fe-movedTed Gould1-2/+2
(bzr r6891)
2008-10-27From trunkTed Gould1-12/+13
(bzr r6885)
2008-10-11Merging from trunkTed Gould1-7/+7
(bzr r6884)
2008-09-18More NR ==> Geom conversion (points and some matrices/transforms)Maximilian Albert1-1/+12
(bzr r6836)
2008-09-16Refactored preferences handling into a new version of Krzysztof Kosi??ski1-15/+6
the Inkscape::Preferences class. Removed all use of prefs_get_string_attribute(), pref_path_get_nth_child() and create_pref() in favor of the new API. Replaced some "0 or 1" integer preferences with booleans. (bzr r6823)
2008-08-05NR::Maybe => boost::optionalJohan B. C. Engelen1-2/+2
(bzr r6569)
2008-01-31Applying fixes for gcc 4.3 build issues (closes LP: #169115)Bryce Harrington1-0/+2
(bzr r4629)
2007-03-18more judicious checking of results of find on my shape lookup table. NullTim Dwyer1-40/+78
bounding boxes could have potentially caused problems. (bzr r2684)
2007-03-16Added check for null bounding box of shapes involved in graph layout.Tim Dwyer1-10/+18
I'm not actually sure if it's possible for something with a NULL item-box to be attached to a connector but if it is it's probably pretty safe to simply ignore. (bzr r2669)
2007-03-10Merge further bbox workMenTaLguY1-5/+7
(bzr r2596)
2007-02-02* src/graphlayout/graphlayout.cpp: For the purposes of graph layout,mjwybrow1-1/+7
ignore connectors that are not attached to an object at one end. This fixes bug #1630101. (bzr r2311)
2006-07-18We now use connector spacing to determine the minimum space requiredTim Dwyer1-2/+12
between shape bounding boxes when graph layout with avoid overlap constraints is applied. This means that there should always be enough room for connectors to route between shapes. Also changed the default connector spacing to a less extreme 3. (bzr r1435)
2006-07-17remove debug messagesTim Dwyer1-7/+1
(bzr r1426)
2006-07-17remove overlaps between connected componentsTim Dwyer1-0/+1
(bzr r1425)
2006-07-17Constraints are now properly divided up between the connected componentsTim Dwyer1-3/+12
(bzr r1424)
2006-07-16Layout algorithm is now applied to each connected component in the Tim Dwyer1-12/+17
selection separately. Previously, behaviour of layout on disconnected graphs was... undefined! (bzr r1421)
2006-07-14fixed warningsTim Dwyer1-9/+5
(bzr r1410)