lp:~mc.../inkscape/SelContainer

Created by Mc and last modified

Replaces the data structure of Selection from GSList to std::vector, propagating the change in all the codebase.

Should not change the semantics of the code, except in what's detailed in the comments.

Get this branch:
bzr branch lp:~mc.../inkscape/SelContainer
Only Mc can upload to this branch. If you are Mc please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Mc
Project:
Inkscape
Status:
Merged

Recent revisions

13942. By Marc Jeanmougin <email address hidden>

corrected test file

13941. By Marc Jeanmougin <email address hidden>

updated with trunk

13940. By Marc Jeanmougin <email address hidden>

merge with trunk

13939. By Marc Jeanmougin <email address hidden>

removed a few useless SP_OBJECT() casts

13938. By Marc Jeanmougin <email address hidden>

removed a few "using Inkscape::Util::GSListConstIterator"

13937. By Marc Jeanmougin <email address hidden>

Just reread the entire diff against trunk. Given the diff size, i must have forgotten things, but hopefully, there are only very few changes of semantics:
->childList is now in the intuitive order (childList()[0] is now firstChild)
-> sp_selection_paste_impl is now in the opposite order (change is local to selection-chemistry.cpp, and simplify a few things)
-> selection.setReprList now takes the list in the opposite order. It was always the case (the list was always reversed before handing to it)
-> a few comparison functions now work "the c++ way": the C way was to return -1 if a<b, 0 if a==b and 1 if a>b, now they return (bool)(a<b)

13936. By Marc Jeanmougin <email address hidden>

fix

13935. By Marc Jeanmougin <email address hidden>

merging

13934. By Marc Jeanmougin <email address hidden>

merge

13933. By Marc Jeanmougin <email address hidden>

more cast cleanup

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~inkscape.dev/inkscape/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers