note-spacing: stretch somewhat uniformly; issue 3304 (issue 36830045)

2013-12-15 Thread mtsolo
https://codereview.appspot.com/36830045/diff/20001/lily/note-spacing.cc File lily/note-spacing.cc (right): https://codereview.appspot.com/36830045/diff/20001/lily/note-spacing.cc#newcode117 lily/note-spacing.cc:117: ret.set_inverse_stretch_strength (base_space); Looked at it, but I have no idea

grob-property: if callback is independent of layout, call just once (issue 42190043)

2013-12-14 Thread mtsolo
https://codereview.appspot.com/42190043/diff/1/lily/unpure-pure-container.cc File lily/unpure-pure-container.cc (right): https://codereview.appspot.com/42190043/diff/1/lily/unpure-pure-container.cc#newcode45 lily/unpure-pure-container.cc:45: Looking good. The only thing is - how do we verify

Re: Allows inner-markup spacing using skylines. (issue 13341044)

2013-08-29 Thread mtsolo
The point is to allow users to achieve the same snug skyline spacing between stencils that is achieved between grobs. I agree that it is inefficient as skylines are never cached, but as it is not default beahvior anywhere in the code base, it allows people to decide on the efficiency versus

Re: Adds dimension stencil command to correct with-dimension (issue 12957047)

2013-08-24 Thread mtsolo
https://codereview.appspot.com/12957047/diff/46001/lily/paper-system.cc File lily/paper-system.cc (right): https://codereview.appspot.com/12957047/diff/46001/lily/paper-system.cc#newcode55 lily/paper-system.cc:55: if (head == ly_symbol2scm (skyline-stencil)) On 2013/08/24 16:19:27, dak wrote:

Re: Adds dimension stencil command to correct with-dimension (issue 12957047)

2013-08-22 Thread mtsolo
I had time to implement everything but the delayed markup stuff. I'll try to get to that soon... https://codereview.appspot.com/12957047/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Adds dimension stencil command to correct with-dimension (issue 12957047)

2013-08-22 Thread mtsolo
It was easier to implement the delayed stuff than I expected, so I got it done. https://codereview.appspot.com/12957047/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

side-position-interface: use real positions of cross-staff grobs; issue 3363 (issue 9426044)

2013-08-16 Thread mtsolo
LGTM - just make sure to check this against the dynamics-avoid-cross-staff-stem regtests. https://codereview.appspot.com/9426044/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Flags cross-staff semi ties. (issue 8857043)

2013-04-20 Thread mtsolo
On 2013/04/19 12:40:43, Neil Puttock wrote: Hi Mike, Generally LGTM, but since there's nothing in the code which requires C++ code I favour adding a callback to output-lib.scm: (define-public (semi-tie::calc-cross-staff grob) (let* ((note-head (ly:grob-object grob 'note-head))

Add callback factory grob::inherit-parent-property (issue 8726045)

2013-04-17 Thread mtsolo
Hey, I hadn't seen this. I just finished writing an equivalent patch. Yours is better, so keep it. You can use this for the inherit-X-parent-visibility and eliminate the inherit-Y-parent-visibility callback, which is cruft and can be replaced with the X one.

Re: Add changes entry for Mike's work on skylines. (issue 8613043)

2013-04-16 Thread mtsolo
https://codereview.appspot.com/8613043/diff/19001/Documentation/changes.tely File Documentation/changes.tely (right): https://codereview.appspot.com/8613043/diff/19001/Documentation/changes.tely#newcode153 Documentation/changes.tely:153: @item I would add a note that, if there is too-snug

Re: Add changes entry for Mike's work on skylines. (issue 8613043)

2013-04-16 Thread mtsolo
On 2013/04/16 07:51:46, dak wrote: On 2013/04/16 07:40:19, Trevor Daniels wrote: On 2013/04/16 07:20:59, dak wrote: On 2013/04/16 06:05:42, MikeSol wrote: I would add a note that, if there is too-snug spacing for an object, setting its vertical skylines to #'() will generally restore

Re: rewrite Self_alignment_interface (issue 7768043)

2013-03-31 Thread mtsolo
I'd recommend adding a sort of padding property to the self-alignment-interface to get it completely there. That is, imagine that we right align to a grob and we want to be padded by 0.1 We should be able to do that. That'd allow self-alignment-interface to be used for grobs like

Re: reorganize self_alignment_interface (issue 7768043)

2013-03-30 Thread mtsolo
In general, I see a lot of reassigning of parents. What is the goal with this (sorry if you've explained this already)? https://codereview.appspot.com/7768043/diff/38001/lily/fingering-engraver.cc File lily/fingering-engraver.cc (right):

Re: Eliminates side poisition calculations for system-start-text grobs. (issue 7574048)

2013-03-28 Thread mtsolo
On 2013/03/24 19:59:38, dak wrote: On 2013/03/24 19:06:49, mike7 wrote: On 24 mars 2013, at 14:59, mailto:d...@gnu.org wrote: https://codereview.appspot.com/7574048/diff/5001/input/regression/instrument-name-x-align.ly File input/regression/instrument-name-x-align.ly (right):

Re: Removes outside-staff-priority from dynamic-related objects in Dynamic context (issue 7655045)

2013-03-28 Thread mtsolo
On 2013/03/27 21:50:02, janek wrote: I see that these overrides solve the problem, but it would be nice to know why this works. Can you write an explanation? What was wrong with the skylines that caused this bug? Maybe this is just one instance of a more general problem. Objects that

Re: Page numbering: first page format only on first page of a book (issue 7974046)

2013-03-26 Thread mtsolo
LGTM https://codereview.appspot.com/7974046/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Caches the interior skylines of vertical axis groups and systems. (issue 7185044)

2013-03-20 Thread mtsolo
Hey all, Following up to my comment on the tracker, I'd like to not push this until everyone has had a chance to think through David's e-mails about 2.18. I anticipate this needing 2-3 months of user testing to catch and fix any bugs. Given that this is my first big patch since August, it'll

Re: Allows slurs to break at barlines. (issue 7424049)

2013-03-19 Thread mtsolo
The most recent patch set copies direction from SlurEvents and PhrasingSlurEvents, but this doesn't seem to work as intended (it fails silently). Everything else is operational. https://codereview.appspot.com/7424049/ ___ lilypond-devel mailing list

Re: report a programming error when trying to align on empty parent (issue 7533046)

2013-03-19 Thread mtsolo
LGTM https://codereview.appspot.com/7533046/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: don't abort aligning when grob's parent is a PaperColumn (issue 7564044)

2013-03-19 Thread mtsolo
https://codereview.appspot.com/7564044/diff/9001/lily/self-alignment-interface.cc File lily/self-alignment-interface.cc (right): https://codereview.appspot.com/7564044/diff/9001/lily/self-alignment-interface.cc#newcode130 lily/self-alignment-interface.cc:130: // TODO: should this function be

Re: reorganize self_alignment_interface (issue 7768043)

2013-03-19 Thread mtsolo
https://codereview.appspot.com/7768043/diff/19001/lily/self-alignment-interface.cc File lily/self-alignment-interface.cc (right): https://codereview.appspot.com/7768043/diff/19001/lily/self-alignment-interface.cc#newcode128 lily/self-alignment-interface.cc:128: /* LilyPond positions every grob

Re: Allows minimum-length to work for end-of-line spanners. (issue 7453046)

2013-03-17 Thread mtsolo
Reviewers: lemzwerg, dak, mike7, Message: On 2013/03/11 10:18:59, dak wrote: On 2013/03/10 00:32:43, mike7 wrote: Why is this override needed for the regtest? The other overrides are obvious user-accessible overrides for triggering the tested functionality. But should

Re: Adds Ferneyhough hairpins to LilyPond. (issue 7615043)

2013-03-17 Thread mtsolo
On 2013/03/13 21:38:59, thomasmorley65 wrote: Hi Mike, sorry to be such an inch pincher. https://codereview.appspot.com/7615043/diff/23001/scm/output-lib.scm File scm/output-lib.scm (right): https://codereview.appspot.com/7615043/diff/23001/scm/output-lib.scm#newcode1061

Re: Adds Ferneyhough hairpins to LilyPond. (issue 7615043)

2013-03-08 Thread mtsolo
https://codereview.appspot.com/7615043/diff/1/scm/output-lib.scm File scm/output-lib.scm (right): https://codereview.appspot.com/7615043/diff/1/scm/output-lib.scm#newcode929 scm/output-lib.scm:929: form. @code{x} is the portion of the width consumed for a given line On 2013/03/08 06:26:29,

Re: Standardizes use of empty extents in pure heights and skylines. (issue 7310075)

2013-03-08 Thread mtsolo
Thanks for the review! https://codereview.appspot.com/7310075/diff/53001/input/regression/skyline-point-extent.ly File input/regression/skyline-point-extent.ly (right): https://codereview.appspot.com/7310075/diff/53001/input/regression/skyline-point-extent.ly#newcode5

Re: Uses only unpure-pure containers to articulate unpure-pure relationships. (issue 7377046)

2013-02-22 Thread mtsolo
Some code from my patch for issue 3161 is copied over to this patch. The fact that Grob::pure_height returns Interval (0,0) as default causes point stencils to be placed in the skyline, potentially effecting vertical spacing. Separation_item::boxes uses this (0,0) extent to add extra spacing

Make ly:make-unpure-pure-container accept a single callback (issue 7382046)

2013-02-21 Thread mtsolo
LGTM, with one suggestion: the difference between unpure and pure functions in LilyPond is that unpure functions accept n arguments whereas pure functions accept n+2. This shortcut you're proposing only works when n=1, which you document, but it'd be nice if it worked for an arbitrary number of

Re: Spacing with empty contexts; issue 1669 (issue 4515158)

2013-02-10 Thread mtsolo
https://codereview.appspot.com/4515158/diff/2009/lily/align-interface.cc File lily/align-interface.cc (right): https://codereview.appspot.com/4515158/diff/2009/lily/align-interface.cc#newcode222 lily/align-interface.cc:222: dy = max (dy, min_distance); On 2011/06/09 02:55:55, Keith wrote: On

Re: Standardizes use of empty extents in pure heights and skylines. (issue 7310075)

2013-02-09 Thread mtsolo
New patch set coming after I finish running the regtests. https://codereview.appspot.com/7310075/diff/10/input/regression/skyline-point-extent.ly File input/regression/skyline-point-extent.ly (right):

Re: Caches the interior skylines of vertical axis groups and systems. (issue 7185044)

2013-01-31 Thread mtsolo
Hey all, After letting this newest round sit for a few days, I'm pretty confident that the patch is ready for review so I'd ask people to review it. First, if anyone needs more comments in the code to let them know what's going on, lemme know where and I'll add it. Second, if people have

Re: Caches the interior skylines of vertical axis groups and systems. (issue 7185044)

2013-01-28 Thread mtsolo
People can review this if they have time...it is a lot of code, but it is more a progress report than anything else. To resume a bit of what's been said before: once translate_axis is called, the dim_cache of grobs is set and it is very difficult to work with approximations. This makes

Re: Eliminates the Hara_kiri_engraver. (issue 7061062)

2013-01-20 Thread mtsolo
sneaky callback is not a real concern...it's a pedantic concern. If we're following the model to a T, grob properties should not be read in engravers, just set. The idea is that the engravers are creating the grobs and fixing them up with properties if need be. I prefer duplicating a context

Eliminates the Hara_kiri_engraver. (issue 7061062)

2013-01-10 Thread mtsolo
Reviewers: , Message: This doesn't crash in the test case Keith proposed: \new StaffGroup \with { \RemoveEmptyStaves } { b1 b1 b1} { b1 b1 \break b1 } Description: Eliminates the Hara_kiri_engraver. Uses a haraKiri context property in the Axis_group_engraver to acheive the same

Re: Better alignment of MetronomeMark to MultiMeasureRest (issue 6972044)

2012-12-20 Thread mtsolo
Reviewers: Keith, Message: You're right...it was mostly out of laziness and desperation that I did the quick fix...it worked for a piece I was typesetting. I have a long plane ride on the 28th to fix this correctly. https://codereview.appspot.com/6972044/diff/1/lily/metronome-engraver.cc File

Checks for recursive element behavior (issue 6943072)

2012-12-20 Thread mtsolo
Reviewers: , Message: Hey all, I'm ok w/ this on the countdown but can someone check out David's suspicion that this slows stuff down by O(n^3)? I definitely won't push this if it slows LilyPond down to a crawl. Cheers, MS Description: Checks for recursive element behavior Please review

Re: Various clean-ups in stems and beams. (issue 6584045)

2012-10-01 Thread mtsolo
Reviewers: aleksandr.andreev, Message: I think a user should be able to use Kievan notation and normal stems/flags/beams if she so chooses. I'll define something like startKievanNotation = { %% Set glyph styles. \override NoteHead #'style = #'kievan \override Rest #'style = #'mensural

Caches grob properties before evaluation. (issue 6573066)

2012-09-28 Thread mtsolo
Reviewers: , Message: This slows down LilyPond - I haven't done comprehensive tests of how much. I'm pretty sure it works (the regtest works as expected). Irrespective of how multiple passes are done, this seems like a necessary first step. Note that this patch would not have a time impact if

Re: spacing-spanner: rods for non-adjacent paper-columns; issue 1700 (issue 6489107)

2012-09-22 Thread mtsolo
LGTM - looking forward to the skyline version, as that'll more accurately reflect where columns are overhanging. http://codereview.appspot.com/6489107/ ___ lilypond-devel mailing list lilypond-devel@gnu.org

Re: Corrects beamed cross-staff stems' pure heights (issue 6543046)

2012-09-22 Thread mtsolo
Reviewers: Keith, Message: I'm gonna hold off on posting to this one as it evolves constantly with my work on issue 2801, which is revealing several issues in cross-staff stem calculations. Irrespective of how issue 2801 pans out, I'll take all the relevant code from stem.cc and either push it

Re: Allows user to set ChordName text (issue 6496085)

2012-09-06 Thread mtsolo
Reviewers: dak, http://codereview.appspot.com/6496085/diff/1/lily/chord-name-engraver.cc File lily/chord-name-engraver.cc (right): http://codereview.appspot.com/6496085/diff/1/lily/chord-name-engraver.cc#newcode83 lily/chord-name-engraver.cc:83: || ly_is_procedure (chord_name_-get_property

Re: Approximates cross-staff slurs in VerticalAxisGroup vertical-skylines. (issue 6498077)

2012-09-04 Thread mtsolo
The speed problem was twofold - some cruft in callbacks coupled with the fact that I wasn't doing make cleans, so something about the way that gcc was putting together the old .o files was slowing things down. I learned my lesson: always do make clean before testing a patch. A full make clean

Re: Approximates cross-staff slurs in VerticalAxisGroup vertical-skylines. (issue 6498077)

2012-09-03 Thread mtsolo
On 2012/09/03 13:46:33, mike7 wrote: On 3 sept. 2012, at 07:07, mailto:mts...@gmail.com wrote: On 2012/09/02 20:38:28, Keith wrote: On 2012/09/02 06:25:58, MikeSol wrote: It's not a copy of the original slur because it is using pure heights and offsets. I saw you interrogating SlurStub

Re: Approximates cross-staff slurs in VerticalAxisGroup vertical-skylines. (issue 6498077)

2012-09-02 Thread mtsolo
Reviewers: Keith, Message: On 2012/09/01 23:58:37, Keith wrote: I might have a test case for you at http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=1776 It seems you copy each slur into a slur-stub, and from those keep only the ones with cross-staff set. Then when figuring system

Re: Approximates cross-staff slurs in VerticalAxisGroup vertical-skylines. (issue 6498077)

2012-09-02 Thread mtsolo
Thanks for the review! http://codereview.appspot.com/6498077/diff/21/lily/axis-group-interface.cc File lily/axis-group-interface.cc (right): http://codereview.appspot.com/6498077/diff/21/lily/axis-group-interface.cc#newcode419 lily/axis-group-interface.cc:419: */ On 2012/09/02 15:59:00, dak

Re: Dynamics do not unnecessarily horizontal shift for stems. (issue 6493073)

2012-09-02 Thread mtsolo
Reviewers: dak, Message: Thanks for the review! http://codereview.appspot.com/6493073/diff/1/lily/self-alignment-interface.cc File lily/self-alignment-interface.cc (right): http://codereview.appspot.com/6493073/diff/1/lily/self-alignment-interface.cc#newcode213

Re: Approximates cross-staff slurs in VerticalAxisGroup vertical-skylines. (issue 6498077)

2012-09-02 Thread mtsolo
On 2012/09/02 20:38:28, Keith wrote: On 2012/09/02 06:25:58, MikeSol wrote: It's not a copy of the original slur because it is using pure heights and offsets. I saw you interrogating SlurStub regarding its purity, but did not notice that SlurStub took any different shape based on

bar-line interface part 2/2 (issue 6498052)

2012-08-29 Thread mtsolo
LGTM http://codereview.appspot.com/6498052/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Ledger-line-spanner: symmetric extents; issue 2493 (issue 6490043)

2012-08-29 Thread mtsolo
http://codereview.appspot.com/6490043/diff/7001/lily/ledger-line-spanner.cc File lily/ledger-line-spanner.cc (right): http://codereview.appspot.com/6490043/diff/7001/lily/ledger-line-spanner.cc#newcode50 lily/ledger-line-spanner.cc:50: Paper_column::get_rank (previous_column))) I'm having

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-08-18 Thread mtsolo
Thanks for the performance tests! I have no problem changing the function avoid_outside_staff_collisions to be faster - it's just that I haven't wrapped my head around how distance alone can do it. http://codereview.appspot.com/5626052/diff/106004/lily/axis-group-interface.cc File

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-08-17 Thread mtsolo
I've forgotten why I added the horizontal skyline stuff so I've taken it out in a new version that I'll post after regtests. http://codereview.appspot.com/5626052/diff/106004/lily/axis-group-interface.cc File lily/axis-group-interface.cc (right):

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-08-16 Thread mtsolo
http://codereview.appspot.com/5626052/diff/105001/lily/axis-group-interface.cc File lily/axis-group-interface.cc (right): http://codereview.appspot.com/5626052/diff/105001/lily/axis-group-interface.cc#newcode778 lily/axis-group-interface.cc:778: Note we only use 75% of padding and apply the

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-08-15 Thread mtsolo
Thanks for the review! http://codereview.appspot.com/5626052/diff/105001/input/regression/text-script-vertical-skylines.ly File input/regression/text-script-vertical-skylines.ly (right):

Re: Set indent based on instrument name (issue 6457049)

2012-08-01 Thread mtsolo
Hey Phil! First and foremost, congrats on this work. I'm thrilled to see you venturing into the C++ side. You're tackling an issue that, while just a few lines of code, uses a lot of advanced LilyPond structures, so it's not easy. My suggestions don't have to do with the math (all of it is

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-07-01 Thread mtsolo
It's back... The only thing that doesn't the work the way I'd expect it is Skyline::padded. It seems to not be adding the padding correctly (Joe - any ideas)? This causes tighter than desired spacing in alignment-order.ly. Other than that it is all reviewable! For those who were keeping

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-07-01 Thread mtsolo
http://codereview.appspot.com/5626052/diff/78001/lily/skyline.cc File lily/skyline.cc (right): http://codereview.appspot.com/5626052/diff/78001/lily/skyline.cc#newcode693 lily/skyline.cc:693: Skyline::padded (Real horizon_padding) const On 2012/07/01 23:04:17, Keith wrote: The horizon_padding

Re: Issues warning for negative-spanning line spanner. (issue 6302097)

2012-06-20 Thread mtsolo
Reviewers: Keith, Message: Thanks for the review! http://codereview.appspot.com/6302097/diff/1/lily/line-spanner.cc File lily/line-spanner.cc (right): http://codereview.appspot.com/6302097/diff/1/lily/line-spanner.cc#newcode373 lily/line-spanner.cc:373: me-warning (_ (Line spanner's left

Treat accidentals parentheses as cautionary (issue 6310065)

2012-06-20 Thread mtsolo
LGTM http://codereview.appspot.com/6310065/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Issue 1320: Scheme bar line interface (issue 6305115)

2012-06-20 Thread mtsolo
Good work - two overall things. 1) In Scheme, try to avoid `do'. Use map and reduce. 2) Have you tested performance hits on large scores? It may be worth it to leave bar-line.cc as the default and have your script as a Scheme implementation, not unlike the way we do bezier curves. Cheers, MS

Re: Sets TabVoice Stem height to ##f (issue 6303065)

2012-06-12 Thread mtsolo
On 2012/06/12 13:22:10, dak wrote: On 2012/06/12 12:54:40, MikeSol wrote: On 2012/06/12 12:49:45, dak wrote: http://codereview.appspot.com/6303065/diff/10003/lily/grob.cc File lily/grob.cc (right): http://codereview.appspot.com/6303065/diff/10003/lily/grob.cc#newcode472

Re: Sets TabVoice Stem height to ##f (issue 6303065)

2012-06-11 Thread mtsolo
On 2012/06/11 07:10:48, dak wrote: On 2012/06/11 05:34:23, MikeSol wrote: This shows a case where stem height cannot be determined by stem stencil presence. The first version of the patch works under the assumption that information about height cannot be gleaned from the stencil and

Re: Sets TabVoice Stem height to ##f (issue 6303065)

2012-06-11 Thread mtsolo
On 2012/06/11 07:48:34, dak wrote: On 2012/06/11 07:24:33, MikeSol wrote: On 2012/06/11 07:10:48, dak wrote: Personally, I consider it an accident waiting to happen if downing the stencil is not enough to suppress its consideration. _Iff_ there is a situation where it is really

Footnotes correctly printed on grobs at first timestep. (issue 6306064)

2012-06-10 Thread mtsolo
Reviewers: , Message: This fixes Issue 2574 but also deals with the footnote-break-visibility regtest, which currently does not register the property change (this may have something to do with the footnote engraver being on the Score level). Cheers, MS Description: Footnotes correctly printed

Re: Footnotes correctly printed on grobs at first timestep. (issue 6306064)

2012-06-10 Thread mtsolo
On 2012/06/10 16:09:03, dak wrote: On 2012/06/10 15:58:25, MikeSol wrote: This fixes Issue 2574 but also deals with the footnote-break-visibility regtest, which currently does not register the property change (this may have something to do with the footnote engraver being on the Score

Sets TabVoice Stem height to ##f (issue 6303065)

2012-06-10 Thread mtsolo
Reviewers: , Message: Another way of going about this would be changing the Stem::height function so that it returned an empty interval for stencil-less stems. Then the overrides wouldn't be necessary. It's a design question more than anything else. Description: Sets TabVoice Stem height to

Re: Returns an empty interval for stencilless Stem height (issue 6303065)

2012-06-10 Thread mtsolo
On 2012/06/11 03:44:32, Keith wrote: http://codereview.appspot.com/6303065/diff/4001/lily/stem.cc File lily/stem.cc (right): http://codereview.appspot.com/6303065/diff/4001/lily/stem.cc#newcode703 lily/stem.cc:703: if (calc_beam !unsmob_stencil (me-get_property (stencil)))

Re: Allows lyrics to slide under TimeSignature when OctaveEight present. (issue 6201068)

2012-05-17 Thread mtsolo
On 2012/05/11 08:11:18, dak wrote: m...@apollinemike.com mailto:m...@apollinemike.com writes: On 11 mai 2012, at 09:09, mailto:d...@gnu.org wrote: http://codereview.appspot.com/6201068/diff/1/lily/pure-from-neighbor-engraver.cc File lily/pure-from-neighbor-engraver.cc (right):

Re: Allows lyrics to slide under TimeSignature when OctaveEight present. (issue 6201068)

2012-05-10 Thread mtsolo
Reviewers: janek, carl.d.sorensen_gmail.com, http://codereview.appspot.com/6201068/diff/1/lily/pure-from-neighbor-engraver.cc File lily/pure-from-neighbor-engraver.cc (right): http://codereview.appspot.com/6201068/diff/1/lily/pure-from-neighbor-engraver.cc#newcode56

30 day webathon for kickstarter support (issue 6068045)

2012-04-19 Thread mtsolo
Reviewers: , Message: Hey all, My ensemble is launching a Kickstarter project in a day or two to support our tour in France and Ireland. We have a sweet plug in the project video for GNU LilyPond and I was wondering if I could strike up a partnership with LilyPond to put a link to the project

Re: Triggers X-extent calculation for NoteColumn before setting stem-begin-position (issue 5934050)

2012-04-02 Thread mtsolo
http://codereview.appspot.com/5934050/diff/7001/lily/stem.cc File lily/stem.cc (right): http://codereview.appspot.com/5934050/diff/7001/lily/stem.cc#newcode131 lily/stem.cc:131: Real stem_beg = internal_calc_stem_begin_position (me, false); On 2012/04/02 07:42:55, Keith wrote: I'm assuming

Re: Creates pure conversion for Flag::calc_y_offset (issue 5934050)

2012-03-29 Thread mtsolo
Reviewers: Keith, Message: There is a nasty bug in LilyPond that this patch only exacerbates - as a rule of thumb, X positioning functions should not set Y positioning variables and vice versa. note-collision.cc, which works from an X_AXIS callback, sets the stem attachment, which is a both X

Re: Axis group interface ignores column rank for pure-from-neighbor-interface (issue 5843063)

2012-03-21 Thread mtsolo
Reviewers: Keith, mike_apollinemike.com, Message: Running regtests. Will post new patch once it gets a clean bill of health. http://codereview.appspot.com/5843063/diff/7/input/regression/pure-from-neighbor-interface-pure-height.ly File

Autobeaming works properly with tuplet recheck (Issue 2408) (issue 5844052)

2012-03-21 Thread mtsolo
http://codereview.appspot.com/5844052/diff/3001/lily/beaming-pattern.cc File lily/beaming-pattern.cc (right): http://codereview.appspot.com/5844052/diff/3001/lily/beaming-pattern.cc#newcode361 lily/beaming-pattern.cc:361: } My comment has nothing to do with your patch but with this function -

Turns off TupletBracket collision avoidance if Script avoids slur (issue 5821051)

2012-03-14 Thread mtsolo
Reviewers: , Message: Meh...not my best work, but it is a first step towards fixing this problem. A full solution would do tuplet avoidance for scripts in the same way they're done for slurs. Takers? Description: Turns off TupletBracket collision avoidance if Script avoids slur Please review

Re: Uses derived_mark to avoid segfault (issue 5729051)

2012-03-06 Thread mtsolo
http://codereview.appspot.com/5729051/diff/6001/lily/span-bar-stub-engraver.cc File lily/span-bar-stub-engraver.cc (right): http://codereview.appspot.com/5729051/diff/6001/lily/span-bar-stub-engraver.cc#newcode35 lily/span-bar-stub-engraver.cc:35: these four contexts. On 2012/03/04 21:35:57,

Issue 2376: Automatic footnotes on \null markups causes unexpected results (issue 5755058)

2012-03-06 Thread mtsolo
http://codereview.appspot.com/5755058/diff/1/lily/page-breaking.cc File lily/page-breaking.cc (right): http://codereview.appspot.com/5755058/diff/1/lily/page-breaking.cc#newcode584 lily/page-breaking.cc:584: } Just a C++ question - do these lines implicitly call the copy constructor to create

Re: Uses derived_mark to avoid segfault (issue 5729051)

2012-03-04 Thread mtsolo
http://codereview.appspot.com/5729051/diff/1001/lily/span-bar-stub-engraver.cc File lily/span-bar-stub-engraver.cc (right): http://codereview.appspot.com/5729051/diff/1001/lily/span-bar-stub-engraver.cc#newcode71 lily/span-bar-stub-engraver.cc:71: axis_groups_ = scm_cons (scm_cons (i.grob

Re: Uses derived_mark to avoid segfault (issue 5729051)

2012-03-04 Thread mtsolo
On 2012/03/04 20:59:22, Keith wrote: http://codereview.appspot.com/5729051/diff/6001/lily/span-bar-stub-engraver.cc File lily/span-bar-stub-engraver.cc (right): http://codereview.appspot.com/5729051/diff/6001/lily/span-bar-stub-engraver.cc#newcode46 lily/span-bar-stub-engraver.cc:46: be

Uses derived_mark to avoid segfault (issue 5729051)

2012-03-03 Thread mtsolo
Reviewers: , Message: Hey all, I don't have time to test this patch tonight (David sent me to bed) but it should do the trick. The map was overkill - a simple list of pairs does the trick w/o anymore overhead and allows the use of derived_mark. Cheers, MS Description: Uses derived_mark to

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-02-23 Thread mtsolo
http://codereview.appspot.com/5626052/diff/30003/lily/skyline.cc File lily/skyline.cc (right): http://codereview.appspot.com/5626052/diff/30003/lily/skyline.cc#newcode393 lily/skyline.cc:393: Skyline::Skyline (Building b, Real start, Axis horizon_axis, Direction sky) On 2012/02/22 09:34:43,

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-02-23 Thread mtsolo
http://codereview.appspot.com/5626052/diff/40001/lily/stencil-integral.cc File lily/stencil-integral.cc (right): http://codereview.appspot.com/5626052/diff/40001/lily/stencil-integral.cc#newcode932 lily/stencil-integral.cc:932: MAKE_SCHEME_CALLBACK (Grob,

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-02-23 Thread mtsolo
On 2012/02/23 13:35:29, dak wrote: On 2012/02/23 12:37:04, MikeSol wrote: http://codereview.appspot.com/5626052/diff/40001/lily/stencil-integral.cc File lily/stencil-integral.cc (right): http://codereview.appspot.com/5626052/diff/40001/lily/stencil-integral.cc#newcode932

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-02-16 Thread mtsolo
http://codereview.appspot.com/5626052/diff/23001/lily/axis-group-interface.cc File lily/axis-group-interface.cc (right): http://codereview.appspot.com/5626052/diff/23001/lily/axis-group-interface.cc#newcode659 lily/axis-group-interface.cc:659: vectorGrob * *riders) On 2012/02/16 08:09:10,

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-02-14 Thread mtsolo
Sorry for whitespace problems. After receiving several good general comments regarding the structure of this patch, I have incorporated them all into my work and am now putting it on Reitveld for more technical review. Please run: make clean ./autogen.sh --disable-optimising make all To make

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-02-06 Thread mtsolo
Hey all, Could people please try this patch out on a couple real world scores and do some benchmarking compared to current master? It adds a lot of calculations to lilypond and a lot of them happen in Scheme, so I wanna make sure lilypond doesn't take a large processing hit. Cheers, MS

Re: Gets vertical skylines from grob stencils (issue 5626052)

2012-02-06 Thread mtsolo
Should have added before: the most recent patch set is not bug free. I'm fixing all of the regtest issues, but what I need most from other people who have a few minutes are benchmarks. Cheers, MS http://codereview.appspot.com/5626052/ ___

Gets vertical skylines from grob stencils (issue 5626052)

2012-02-04 Thread mtsolo
Reviewers: , Message: Sorry in advance for the whitespace errors. This patch provides a generic framework for building vertical skylines out of boxes by traversing through a stencil. It currently only implements skylines for three stencil types (draw-line, named-glyph, and glyph-string) and

Re: Overhauls broken bound coordinate checking (issue 5602054)

2012-02-02 Thread mtsolo
Hey all, The newest version of this misses up some of the hairpin regtests (hairpin-barline-break.ly, for example). Still not sure why - I don't have time to check it out for a bit, but if anyone has intuition as to why, lemme know! Cheers, MS http://codereview.appspot.com/5602054/

Fix tuplet subdivision (issue 2243) (issue 5623051)

2012-02-02 Thread mtsolo
Haven't had a chance to test it, but the code looks good. Have you tested this out yet with nested tuplets? Cheers, MS http://codereview.appspot.com/5623051/diff/1/lily/beaming-pattern.cc File lily/beaming-pattern.cc (right):

Re: Overhauls broken bound coordinate checking (issue 5602054)

2012-02-01 Thread mtsolo
Reviewers: Neil Puttock, http://codereview.appspot.com/5602054/diff/2001/input/regression/metronome-mark-broken-bound.ly File input/regression/metronome-mark-broken-bound.ly (right): http://codereview.appspot.com/5602054/diff/2001/input/regression/metronome-mark-broken-bound.ly#newcode1

Creates a MIDI note length formatter (issue 5576062)

2012-01-29 Thread mtsolo
Reviewers: , Message: The idea here is to create a generic framework that allows for modifications to note lengths (i.e. swing) in the MIDI without having a typographical impact on the score. Description: Creates a MIDI note length formatter Please review this at

Re: Implements DOM-id property for grobs. (issue 5504106)

2012-01-23 Thread mtsolo
Reviewers: Patrick McCarty, dak, mike_apollinemike.com, janek, http://codereview.appspot.com/5504106/diff/11013/lily/grob.cc File lily/grob.cc (right): http://codereview.appspot.com/5504106/diff/11013/lily/grob.cc#newcode177 lily/grob.cc:177: SCM expr = scm_list_3 (ly_symbol2scm (id), On

Doc: NR 5.5.5 Adv tweaks - Unpure-pure containers (issue 5569050)

2012-01-23 Thread mtsolo
Looks good! Much more user-understandable than anything I could have ever come up with :) http://codereview.appspot.com/5569050/diff/1/Documentation/notation/changing-defaults.itely File Documentation/notation/changing-defaults.itely (right):

Re: Don't wrap EventChord around rhythmic events by default. (issue 5440084)

2012-01-20 Thread mtsolo
http://codereview.appspot.com/5440084/diff/11001/lily/rhythmic-music-iterator.cc File lily/rhythmic-music-iterator.cc (right): http://codereview.appspot.com/5440084/diff/11001/lily/rhythmic-music-iterator.cc#newcode62 lily/rhythmic-music-iterator.cc:62: if (scm_is_true ly_lily_module_constant

Re: Don't wrap EventChord around rhythmic events by default. (issue 5440084)

2012-01-20 Thread mtsolo
On 2012/01/20 15:33:07, dak wrote: Should I be forking the rhythmic-music-iterator stuff into the separate review I'd say leave it with this - it's easy to forget that two patches need to be tested in concert. http://codereview.appspot.com/5440084/

Re: Broadcast articulations not in EventChord (issue 5528111)

2012-01-18 Thread mtsolo
I still think this patch goes outside the model of the way these things are usually designed in LilyPond. I'm not saying that LilyPond's design paradigm is objectively good or bad (I truly have no idea, as I know nothing about any other piece of software), but I think it's best to follow it

Re: Implements rhythmic-music-iterator (issue 5554048)

2012-01-18 Thread mtsolo
Reviewers: dak, http://codereview.appspot.com/5554048/diff/2001/lily/rhythmic-music-iterator.cc File lily/rhythmic-music-iterator.cc (right): http://codereview.appspot.com/5554048/diff/2001/lily/rhythmic-music-iterator.cc#newcode41 lily/rhythmic-music-iterator.cc:41: report_event (get_music

Re: Implements rhythmic-music-iterator (issue 5554048)

2012-01-18 Thread mtsolo
On 2012/01/18 14:27:53, dak wrote: http://codereview.appspot.com/5554048/diff/5001/lily/rhythmic-music-iterator.cc File lily/rhythmic-music-iterator.cc (right): http://codereview.appspot.com/5554048/diff/5001/lily/rhythmic-music-iterator.cc#newcode42 lily/rhythmic-music-iterator.cc:42:

Re: Implements rhythmic-music-iterator (issue 5554048)

2012-01-18 Thread mtsolo
The tuplet-iterator.cc has a process method that uses similar logic as that above: it does parts of what the report_music function does, because as you correctly state, the function does very little. LGTM - if you can, please adopt this patch so that you can coordinate getting it and others

Broadcast articulations not in EventChord (issue 5528111)

2012-01-17 Thread mtsolo
I would advise not handling it this way - the function to_event is supposed to take music and return an event. In this patch, it is taking music, returning an event, and maybe broadcasting music and/or sending it to a context. I'd recommend creating a new iterator, rhythmic-music-iterator, that

Re: Sketch for DotColumn not triggering vertical alignment. (issue 5538049)

2012-01-15 Thread mtsolo
Reviewers: lemzwerg, carl.d.sorensen_gmail.com, Keith, http://codereview.appspot.com/5538049/diff/1/lily/staff-symbol-referencer.cc File lily/staff-symbol-referencer.cc (right): http://codereview.appspot.com/5538049/diff/1/lily/staff-symbol-referencer.cc#newcode95

  1   2   3   4   5   >