Re: developer IRC or skype chat

2011-06-07 Thread Boris Shingarov
On 11-06-07 03:28 PM, Graham Percival wrote: Anybody interested in setting up a weekly chat? I'd be in, although 19:00UTC on a weekday does not really work for me. ___ lilypond-devel mailing list lilypond-devel@gnu.org

Re: Coredump and orphan avoidance code.

2011-02-27 Thread Boris Shingarov
Hi Han-Wen, Thank you for pointing out this defect. I have created patch 4236027 to address it: http://codereview.appspot.com/4236047 To answer your question, what the if was supposed to be doing: the idea was to guard against the situation where there the whole paragraph consists of only one

Re: markup to string function?

2011-01-27 Thread Boris Shingarov
On 11-01-26 10:32 AM, Reinhold Kainhofer wrote: I need a function that extracts only the text (in this case Title of the piece). Many times, I also find myself in need of such function -- it would be absolutely awesome to have one. I have never gotten around to actually implementing one; but

Re: Black mensural notation

2011-01-23 Thread Boris Shingarov
This looks like Issue 1098. That one was closed due to lack of reproducible scenario: my scores, too, were crashing Lilypond after growing above a certain size, but just like in your case, I can not reproduce it with a simple \repeat. On 11-01-16 12:57 PM, Benkő Pál wrote: following up

Re: critical issues

2011-01-23 Thread Boris Shingarov
On 11-01-01 03:24 AM, Graham Percival wrote: or an art history / research grant. I think the latter is more likely... for example, if somebody got a grant to typeset 17th century Norweigan folk songs, and decided to use lilypond, and spent x% of the grant towards improving community-oriented

Re: Installing ddd on LilyBuntu

2010-12-12 Thread Boris Shingarov
On 10-12-12 01:13 PM, Phil Holmes wrote: I thought it'd be interesting to install the ddd graphical debugger on my LilyBuntu instance. I downloaded it OK, but when I run ./configure I get: configure: error: The X toolkit library '-lXt' could not be found. You are missing the libxt-dev

Re: Simplification of live-elements-list, why not?

2010-11-16 Thread Boris Shingarov
On 10-11-16 05:37 PM, Neil Puttock wrote: I'm not sure what I'm guilty of here; in the absence of an exported function which turns grob-arrays into lists (which I did contemplate adding at the time), the code I added seems unobjectionable. That's it: you are basically saying it's perfect

Re: Lyrics break estimation of vertical spacing

2010-11-14 Thread Boris Shingarov
Please forgive me for bumping this discussion, but I was wondering if Valentin, I am sorry I have disappeared from the Lilypond scene for a while. My work on Lilypond development has been temporarily put on the back burner. Right now, we are concentrating on something slightly different:

Simplification of live-elements-list, why not?

2010-11-14 Thread Boris Shingarov
In scm/output-lib.scm, the (internally used) function live-elements-list is defined like this: (define (live-elements-list me) (let* ((elements (ly:grob-object me 'elements)) (elts-length (ly:grob-array-length elements)) (live-elements '())) (let get-live ((len

Re: Simplification of live-elements-list, why not?

2010-11-14 Thread Boris Shingarov
On 10-11-14 11:59 PM, Joe Neeman wrote: Any specific reason why not just filter on the is-live? predicate? Doesn't filter just work on plain scheme lists? elements is a grob-array object. Of course, if filter doesn't work on such objects it might be better to write a version of filter

Re: vertical spacing: Rename dimensions. (issue2505041)

2010-10-17 Thread Boris Shingarov
But, it breaks all my scores! Those which use the old names, I mean. On 10-10-17 01:20 PM, percival.music...@gmail.com wrote: LGTM, and compiles cleanly from scratch. http://codereview.appspot.com/2505041/ ___ lilypond-devel mailing list

Re: scheme night-mare...

2010-07-11 Thread Boris Shingarov
On 07/11/2010 06:47 PM, Arno Waschk wrote: okay, what are arg1 and arg2, and what is the type of result beyond being called SCM? An ID for a Scheme entity. This is a fundamental concept in languages such as Scheme, Smalltalk, Self of Java. The value of the SCM itself is completely opaque

Re: scheme night-mare...

2010-07-11 Thread Boris Shingarov
On 07/11/2010 07:22 PM, Arno Waschk wrote: Thanks again, that wokrs at least for some displaying, buit still i need that handy conversion from this type of scheme list into something i can deal with with c. Please!!! No, no, the main question is, what are you going to do with that

Re: Vertical spacing regression !?

2010-06-30 Thread Boris Shingarov
On 06/30/2010 01:04 AM, David Kastrup wrote: until after line-breaking. Also, the vertical collision avoidance means that in { c1^long long markup c1^long long markup }, we cannot calculate the height of the second bar without considering the first bar too (and the answer will change if they

Re: Vertical spacing regression !?

2010-06-28 Thread Boris Shingarov
On 06/27/2010 01:25 PM, Joe Neeman wrote: On Sun, 2010-06-27 at 06:56 -0400, Boris Shingarov wrote: This was discussed on this list only a few weeks ago. I think we are on our way to get rid of global page*line breaking. Although I am happy to have an option to do full line-breaking

Re: Vertical spacing regression !?

2010-06-27 Thread Boris Shingarov
Hi Arno, Here are some design remarks about what I understood from my work on the breaker. Hopefully a sum of a few [dozen?] of mails like this will together constitute something to transform into a chapter in the CG... Thanks, I've reverted the patch in the meantime. However, the

Re: Outstanding patches

2010-06-15 Thread Boris Shingarov
Hi Joe, Could you send me a list of the unreviewed patches that you have on rietveld? I should have time in the next week or so to review them. This issue is not so much the patches being unreviewed but rather sitting stuck missing an ingredient like a test case. And this is partly a

Re: Presentation: Publisher-grade LilyPond in Ottawa

2010-06-15 Thread Boris Shingarov
On 06/09/2010 10:52 AM, David Kastrup wrote: Uh, am I by now in everybody's killfile I do not know why you keep saying these things, but to avoid any misunderstanding I must publicly state that David is in the top half-dozen on *my* list of most respected LilyPond people. On 06/13/2010

Re: Presentation: Publisher-grade LilyPond in Ottawa

2010-06-13 Thread Boris Shingarov
Hi Graham and all Lilyponders, I was quite astonished to hear that my slides were understood to mean anything pessimistic or negative. If they give people this impression, then it is a defect of the slides which I will fix. But right now, let me address some of the apparent

Re: [PATCH] Initialize interval in grob_stencil_extent().

2010-05-23 Thread Boris Shingarov
There is a chance of returning garbage values from grob_stencil_extent() due to this uninitialized variable issue. No there is not: because this is C++, not C. The existing code is guaranteed to initialize e to the empty interval (i.e., the special interval [+inf, -inf]); your code

Re: GUB and mipsel architecture

2010-05-17 Thread Boris Shingarov
I'm wondering if it is worth having a mipsel package on lilypond.org (when 2.14 comes out, maybe). I'd be happy to do it, if I can. A chance to help and learn something new. This should be discussed on -devel rather than -user. I would be happy to build+include mipsel packages, as long

Re: markup-command and markup-command-list signatures

2010-05-03 Thread Boris Shingarov
On Mon, 03 May 2010 09:02:55 0200, David Kastrup wrote: Boris Shingarov b...@shingarov.com writes: Markup functions being able to return a list of stencils. Markup lists don't do the trick here?   No; if you look at patch 207105, you'll see what I mean.   I don't see that you stand

Re: markup-command and markup-command-list signatures

2010-05-02 Thread Boris Shingarov
I am working on a system of markups which allows to specify more flexible formatting rules.  WE are using it for things like multi-line embedded scores, mixing them with markup lines, rules about what things / combinations of things should not start / end a line, also there are rules like no line

Re: news item for new G clef?

2010-04-23 Thread Boris Shingarov
I must have missed something -- I don't understand what you are discussing.  Are you saying that when a contributor submits a patch, the patchset should include an update to the CHANGES file? On Sat, 24 Apr 2010 00:19:33 0100, Graham Percival wrote: On Sat, Apr 24, 2010 at 12:29:45AM 0200,

Re: Can not make install

2010-04-21 Thread Boris Shingarov
I think this should be marked as Critical, because it affects all Lilybuntu installations, and Lilybuntu is a supported reference platform for Lilypond.  If it were happening on some strange Green Elephant Linux distro, I'd say it's small, but this is our own reference platform that's broken. On

Re: Can not make install

2010-04-21 Thread Boris Shingarov
oh, also, does it occur on make doc, or on make install ?   Maybe that's just a missed dependency.  It occurs on make install after a successful make all.  The error message is this:   # make install .. // bunch of successful stuff... .. make[1]: Entering directory

Re: Can not make install

2010-04-21 Thread Boris Shingarov
PM, Graham Percival gra...@percival-music.ca wrote: On Wed, Apr 21, 2010 at 04:19:37PM -0400, Boris Shingarov wrote: I wouldn't even care about this at all -- because I am not experiencing this problem on my development machine -- if not the outcry of my users who today can not use any

Re: Can not make install

2010-04-21 Thread Boris Shingarov
:43 -0400, Boris Shingarov wrote: Must be something else. I upgraded texinfo (and related packages) from 4.11.dfsg.1-4 (which it is in lilybuntu) to 4.13a.dfsg.1-4ubuntu1, it diesn't make a difference. Doing lilypond version dichotomy now. On Wed, 21 Apr 2010 14:00:29 -0700, Patrick McCarty

Re: PATCH: Lyrics break estimation of vertical spacing

2010-04-21 Thread Boris Shingarov
On Wed, 21 Apr 2010 20:37:52 -0400, Boris Shingarov wrote: not closer to having reasonable trouble-free page layout, but starting to look at page overfill/underfill problems which are very deeply rooted in the nature of pure-height estimation. I meant Bug 1061 in particular

Re: PATCH: Lyrics break estimation of vertical spacing

2010-04-21 Thread Boris Shingarov
What makes me really depressed about the situation with pure-height, is that we have fixed a number of reasonable bugs in this area (intersystem begin/rest, overridden stem length, deprecated space, padding of markup -- these are the ones that I did in the immediate past, -- the slur fix from Joe

Re: Any way to use lilypond as a library? (embeded)

2010-04-07 Thread Boris Shingarov
Hi Alejandro,   For what you are doing, you probably want to use libmidi; lilypond is more like if your program created a tune and needed to render the score on paper or on the screen.  If your program is in C , you can use libmidi directly.  If it is in another language, there are many wrappers

Re: Critical defects and collisions

2010-03-22 Thread Boris Shingarov
1027 Accepted Critical nobody Lyrics ignore minimum-Y-extent   This one, I have a suspicion that it may be related to the Lyrics break estimation of vertical spacing bug I am working on.  If no one else is looking at 1027, it *might* make sense to treat them together while I am in that area of

Re: Line breaking, simple-spacer, etc.

2010-02-09 Thread Boris Shingarov
Quoting Joe Neeman joenee...@gmail.com: We create lots of extra grobs (eg. a BarNumber at every bar line) but most of them are not drawn. See the break-visibility property in item-interface. Thanks Joe, this explanation does help a lot. I hope I am not abusing your (and the list's) patience

Line breaking, simple-spacer, etc.

2010-02-04 Thread Boris Shingarov
I am experimenting with some modifications to the line breaking code, and I am stuck trying to understand how some of it works. So far my understanding is that Simple_spacer operates on a vector of Grobs, and it is a well-known Constrained-QP problem (rods = constraints, springs = quadratic

Re: Enhancement: Page breaking to avoid widow lines

2010-01-21 Thread Boris Shingarov
Quoting Joe Neeman joenee...@gmail.com: Again, I'd suggest uploading patches to codereview.appspot.com, which provides nice formatting and makes it easy to have multiple reviewers. Ok, I've created Issue 190102 for this. One inconvenience that I see with the upload.py tool, is that I don't

Re: Avoid orphan/widow lines (issue190102)

2010-01-21 Thread Boris Shingarov
lgtm, modulo some more formatting nitpicking. If you fix the formatting and mail me the patch, I'll push it. Here it is. -- Boris Shingarov Work on Lilypond under grant from Sonus Paradisi / Jiri Zurek (Prague), Czech Science Foundation, Project No. 401/09/0419 diff --git a/lily/constrained

Re: Enhancement: Page breaking to avoid widow lines

2010-01-20 Thread Boris Shingarov
find Lilypond. Is there anything special that I missed? Boris Shingarov Work on Lilypond under grant from Sonus Paradisi / Jiri Zurek (Prague), Czech Science Foundation, Project No. 401/09/0419 ___ lilypond-devel mailing list lilypond-devel@gnu.org

Re: GUB buiding from a local source tree?

2010-01-20 Thread Boris Shingarov
in Lilypond development, and the prospect of losing weeks to porting to Windows, makes them want to reconsider their platform preferences. We'll see. As I already said, at this point it's about organizational questions, not technical ones. Boris Shingarov Work on Lilypond under grant from Sonus

Re: GUB buiding from a local source tree?

2010-01-14 Thread Boris Shingarov
Quoting Graham Percival gra...@percival-music.ca: Didn't you read the part where I said you had to read the source, and that there was probably something wrong in the above line? Line 17 of lilypond.make is: LILYPOND_REPO_URL=git://git.sv.gnu.org/lilypond.git That's not hard to find, and I

Re: GUB buiding from a local source tree?

2010-01-14 Thread Boris Shingarov
By the way, do you have a good reason to build using GUB anyway? Because I read on the maillist that it was not possible to do a native build of lilypond for win32. ___ lilypond-devel mailing list lilypond-devel@gnu.org

Re: GUB buiding from a local source tree?

2010-01-14 Thread Boris Shingarov
Umm. It would be *way*, ***way*** easier to download lilybuntu and do a normal compile in there Then I probably had misunderstood the purpose of Lilybuntu -- I thought this was for people who did not have a real linux setup for doing lilypond development -- like, having all the prerequisites

Re: Enhancement: Page breaking to avoid widow lines

2010-01-13 Thread Boris Shingarov
Joe, Paper_book::get_system_specs then you wouldn't even need the markup-list-id property: you could add an avoid-orphan property that only gets set for the last line of a multi-line markup list if it is short. That might also simplify Page_spacer::calc_subproblem. This is the first idea

Re: Enhancement: Page breaking to avoid widow lines

2010-01-13 Thread Boris Shingarov
, was not discussed yet), the opposite case of lonely first (as opposed to last) line is now properly handled. Quoting Joe Neeman joenee...@gmail.com: On Wed, 2010-01-13 at 09:11 -0500, Boris Shingarov wrote: Joe, Paper_book::get_system_specs then you wouldn't even need the markup-list-id

GUB buiding from a local source tree?

2010-01-13 Thread Boris Shingarov
Hi, How do I tell GUB to build Lilypond from a modified source tree which I have locally, instead of getting it from git? In general, where is the best place to start reading more on GUB, the info on the GUB page is very sketchy, and GUB-related messages on lilypond-devel seem far apart and

Re: GUB buiding from a local source tree?

2010-01-13 Thread Boris Shingarov
Oh, and make sure you're using the latest GUB; IIRC there are 2 or 3 different git repositories floating around. You want the one at github. git://github.com/janneke/gub.git -- this one, right? I believe you'll want something like make -f lilypond.make LILYPOND_REPO=/location/of/your/tree