]> git.donarmstrong.com Git - lilypond.git/commit
* lily/simple-spacer.cc: Remove class Simple_spacer_wrapper.
authorJoe Neeman <joeneeman@gmail.com>
Thu, 4 May 2006 09:49:38 +0000 (09:49 +0000)
committerJoe Neeman <joeneeman@gmail.com>
Thu, 4 May 2006 09:49:38 +0000 (09:49 +0000)
commit3df9923cfb65cc141b68b7258c965da417cba6d7
treee2370b8810415a64e557c1d1b3c07853d1f951e2
parent676a7e2b0c4287c10849550ff1537360011e2d9b
* lily/simple-spacer.cc: Remove class Simple_spacer_wrapper.
Replace it with functions get_line_forces and get_line_configuration.
(class Simple_spacer): Make data private.
Rewrite compression algorithm to be faster and simpler.

* lily/simple-spacer-scheme.cc (ly_solve_rod_and_spring_problem):
* lily/gourlay-breaking.cc (solve):
* lily/constrained_breaking.cc (space_line):
Change it to the new simple-spacer code.

* lily/paper-score.cc (get_paper_systems):
(Paper_score):
(process):
Delay breaking the systems until they are requested.
(find_break_indices):
Use vsize for indices.
(calc_breaking):
Move the "Calculating line breaks" message here.

* lily/system.cc (pre_processing):
Move the "Calculating line breaks" message away from here.
(break_into_pieces):
Allow multiple calls to this function in sequence (with touching-but-
not-overlapping breakpoints).

* lily/constrained-breaking.cc:
Replace most of the get_XXXX functions with get_line_details.
Only calculate the force for each line. Calculate configurations only
for the lines we will actually use.
Replace cols_ with lines_.
12 files changed:
ChangeLog
lily/break-algorithm.cc
lily/constrained-breaking.cc
lily/gourlay-breaking.cc
lily/include/break-algorithm.hh
lily/include/constrained-breaking.hh
lily/include/paper-score.hh
lily/include/simple-spacer.hh
lily/paper-score.cc
lily/simple-spacer-scheme.cc
lily/simple-spacer.cc
lily/system.cc