Re: test results available!

2006-06-06 Thread Nicolas Sceaux
Han-Wen Nienhuys [EMAIL PROTECTED] writes:

 Hi there,

 the first test results are finally available. Grovel at

http://lilypond.org/doc/v2.9/v2.8.4/index.html

 and see what features we broken in the latest release!

Awesome! Kudos!


___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: test results available!

2006-06-06 Thread Stephen


- Original Message - 
From: Nicolas Sceaux [EMAIL PROTECTED]

To: Han-Wen Nienhuys [EMAIL PROTECTED]
Cc: lily-devel lilypond-devel@gnu.org
Sent: Tuesday, June 06, 2006 9:02 AM
Subject: Re: test results available!



Han-Wen Nienhuys [EMAIL PROTECTED] writes:


Hi there,

the first test results are finally available. Grovel at

   http://lilypond.org/doc/v2.9/v2.8.4/index.html


But there is no such link.

Stephen



and see what features we broken in the latest release!


Awesome! Kudos!


___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel



___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: test results available!

2006-06-06 Thread Han-Wen Nienhuys

Stephen schreef:


- Original Message - From: Nicolas Sceaux 
[EMAIL PROTECTED]

To: Han-Wen Nienhuys [EMAIL PROTECTED]
Cc: lily-devel lilypond-devel@gnu.org
Sent: Tuesday, June 06, 2006 9:02 AM
Subject: Re: test results available!



Han-Wen Nienhuys [EMAIL PROTECTED] writes:


Hi there,

the first test results are finally available. Grovel at

   ttp://lilypond.org/doc/v2.9/v2.8.4/index.html

h
But there is no such link.


I changed this a bit. Now, you need to use

 http://lilypond.org/doc/v2.9/compare-v2.8.4/index.html


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: test results available!

2006-06-06 Thread Juergen Reuter

On Wed, 7 Jun 2006, Han-Wen Nienhuys wrote:


...

I changed this a bit. Now, you need to use

http://lilypond.org/doc/v2.9/compare-v2.8.4/index.html





Maybe you should correct the broken link on http://lilypond.org/web/index ?

Greetings,
Juergen


___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: test results available!

2006-06-06 Thread Han-Wen Nienhuys

Juergen Reuter schreef:

On Wed, 7 Jun 2006, Han-Wen Nienhuys wrote:


...

I changed this a bit. Now, you need to use

http://lilypond.org/doc/v2.9/compare-v2.8.4/index.html





Maybe you should correct the broken link on http://lilypond.org/web/index ?


yes, already done.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: test results available!

2006-06-05 Thread Han-Wen Nienhuys

Joe Neeman schreef:

On Mon, 2006-06-05 at 02:36 +0200, Han-Wen Nienhuys wrote:

Hi there,

the first test results are finally available. Grovel at

   http://lilypond.org/doc/v2.9/v2.8.4/index.html

and see what features we broken in the latest release!


Awesome! This patch fixes spacing-stick-out.ly, can I apply it?


Yes - if it doesn't break things.

As a matter of style and robustness, can you add
Column_desc::Column_desc() so we never get to see uninitialized data 
anywhere?  The same for Rod_desc.



Also, how can I get this running in my working copy?


try

 python lilypond/buildscripts/output-distance.py \
   lilypond-old/out-www/web-root
   lilypond-new/out-www/web-root

you have to have done make web in both directories before.

You can also check out GUB, which has all the script to make this run 
from cron-jobs automatically.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


test results available!

2006-06-04 Thread Han-Wen Nienhuys


Hi there,

the first test results are finally available. Grovel at

  http://lilypond.org/doc/v2.9/v2.8.4/index.html

and see what features we broken in the latest release!

--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: test results available!

2006-06-04 Thread Joe Neeman
On Mon, 2006-06-05 at 02:36 +0200, Han-Wen Nienhuys wrote:
 Hi there,
 
 the first test results are finally available. Grovel at
 
http://lilypond.org/doc/v2.9/v2.8.4/index.html
 
 and see what features we broken in the latest release!

Awesome! This patch fixes spacing-stick-out.ly, can I apply it?

Also, how can I get this running in my working copy?
Index: ChangeLog
===
RCS file: /sources/lilypond/lilypond/ChangeLog,v
retrieving revision 1.5076
diff -u -r1.5076 ChangeLog
--- ChangeLog	5 Jun 2006 00:52:53 -	1.5076
+++ ChangeLog	5 Jun 2006 01:38:33 -
@@ -1,3 +1,11 @@
+2006-06-05  Joe Neeman  [EMAIL PROTECTED]
+
+	* lily/simple-spacer.cc (get_line_configuration): add the
+	keep-inside-line rods.
+
+	* lily/simple-spacer.cc (get_line_forces): check for forced
+	line-breaks here also.
+
 2006-06-05  Han-Wen Nienhuys  [EMAIL PROTECTED]
 
 	* buildscripts/output-distance.py (main): use compare-XXX for
Index: lily/simple-spacer.cc
===
RCS file: /sources/lilypond/lilypond/lily/simple-spacer.cc,v
retrieving revision 1.98
diff -u -r1.98 simple-spacer.cc
--- lily/simple-spacer.cc	9 May 2006 02:15:56 -	1.98
+++ lily/simple-spacer.cc	5 Jun 2006 01:38:33 -
@@ -305,6 +305,7 @@
   Real inverse_hooke_;
   Real end_ideal_;
   Real end_inverse_hooke_;
+  SCM break_permission_;
   Interval keep_inside_line_;
 };
 
@@ -401,6 +402,7 @@
 }
   if (!line_starter  to_boolean (col-get_property (keep-inside-line)))
 desc.keep_inside_line_ = col-extent (col, X_AXIS);
+  desc.break_permission_ = col-get_property (line-break-permission);
   return desc;
 }
 
@@ -409,10 +411,12 @@
 		 Real line_len, Real indent, bool ragged)
 {
   vectorReal force;
-  force.resize (breaks.size () * breaks.size ());
+  force.resize (breaks.size () * breaks.size (), infinity_f);
 
   vectorColumn_desc cols;
   vsize b = 1;
+  SCM force_break = ly_symbol2scm (force);
+
   cols.push_back (Column_desc ());
   for (vsize i = 1; i  icols.size () - 1; i++)
 {
@@ -457,6 +461,9 @@
 	}
 	  spacer.solve ((b == 0) ? line_len - indent : line_len, ragged);
 	  force[b * breaks.size () + c] = spacer.force ();
+
+	  if (cols[end].break_permission_ == force_break)
+	break;
 	  if (!spacer.fits ())
 	{
 	  force[b * breaks.size () + c] = infinity_f;
@@ -497,8 +504,15 @@
   spacer.add_spring (cols[i].ideal_, cols[i].inverse_hooke_);
 }
   for (vsize i = 0; i  cols.size (); i++)
-for (vsize r = 0; r  cols[i].rods_.size (); r++)
-  spacer.add_rod (i, cols[i].rods_[r].r_, cols[i].rods_[r].dist_);
+{
+  for (vsize r = 0; r  cols[i].rods_.size (); r++)
+	spacer.add_rod (i, cols[i].rods_[r].r_, cols[i].rods_[r].dist_);
+  if (!cols[i].keep_inside_line_.is_empty ())
+	{
+	  spacer.add_rod (i, cols.size (), cols[i].keep_inside_line_[RIGHT]);
+	  spacer.add_rod (0, i, cols[i].keep_inside_line_[LEFT]);
+	}
+}
 
   spacer.solve (line_len, ragged);
   ret.force_ = spacer.force ();
___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel