Re: Volunteer wanted - disabled-testcases.txt in XML

2005-10-14 Thread Jeremias Maerki
You'll have to unsubscribe the old address and resubscribe with the new
one: empty mail to [EMAIL PROTECTED] to
unsubscribe, empty mail to [EMAIL PROTECTED] from
the other account to subscribe again.

On 14.10.2005 10:39:13 Gaywood, Mark wrote:
 I'll  get started this evening, is it possible to change my registered
 email to [EMAIL PROTECTED] to [EMAIL PROTECTED], as I can't get to
 the work email from home.
 
 Thanks
 Mark Gaywood
 
 
 
 -Original Message-
 From: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, October 13, 2005 6:09 PM
 To: fop-dev@xmlgraphics.apache.org
 Subject: Re: Volunteer wanted - disabled-testcases.txt in XML
 
 
 Great!
 
 So the main task would be to modify the static method
 decorateWithDisabledList(IOFileFilter) in
 test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java so it
 loads the new XML file instead of the old disabled-testcases.txt and
 builds the filter according to the entries in there.
 
 If you'd like to create the website page, too, that's probably going to
 be a little more difficult as it involves setting up a special XSLT in
 the Cocoon sitemap for the Forrest website. But it could be an
 interesting thing to do. No problem if you only do the first part.
 
 Looking forward to your patch! Proves that it's sometimes simply a
 matter of calling for help and you get it. Thanks, Mark! If you need any
 more info, just ask.
 
 On 13.10.2005 18:13:18 Gaywood, Mark wrote:
  I could spare an hour most evenings, if that's enough.
  
  Mark Gaywood
  
  
  
  -Original Message-
  From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 13, 2005 4:39 PM
  To: fop-dev@xmlgraphics.apache.org
  Subject: Volunteer wanted - disabled-testcases.txt in XML
  
  
  I've had a idea, hopefully a good one. If the disabled-testcases.txt 
  were rewritten as an XML file additional information could be added to
 
  each disabled test case why it is disabled. This information could be 
  transformed by Forrest into a page (known issues) for our website. 
  And it could even be used as content for a release notes document.
  
  Example:
  
  block-container_reference-orientation_bug36391.xml
  block_font-stretch.xml
  
  
  becomes:
  
  disabled-testcases
testcase name=block-container_reference-orientation_bug36391
  bugzilla=36391
  Blah describes the deficiency of the test case blah.
/testcase
testcase name=block_font-stretch
  font-stretch is not implemented, yet.
/testcase

  /disabled-testcases
  
  Anyone want to take a stab? No knowledge about FOP internals needed.
  
  Jeremias Maerki
  
  
  
  This e-mail is confidential and intended solely for the use of the 
  individual(s) to whom it is addressed.  If you are not the intended 
  recipient, be advised that you have received this e-mail in error and 
  that any use, dissemination, forwarding, printing, copying of , or any
 
  action taken in reliance upon, it is strictly prohibited and may be 
  illegal.
 
 
 
 Jeremias Maerki
 
 
 
 This e-mail is confidential and intended solely for the use of the 
 individual(s) to whom it is addressed.  If you are not the intended 
 recipient, be advised that you have received this e-mail in error and that 
 any use, dissemination, forwarding, printing, copying of , or any action 
 taken in reliance upon, it is strictly prohibited and may be illegal.



Jeremias Maerki



Re: svn commit: r321084 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java

2005-10-14 Thread Luca Furini
Fixing a ClassCastException due to the incorrect pattern of elements 
representing a space checked when there are inline borders and padding.


The testcase inline_border_padding_block_nested_2.xml stil does not pass: 
there is a failing check concerning ipda. But at least there are no more 
exceptions! :-)


Regards
Luca


DO NOT REPLY [Bug 36977] - [PATCH]TextLayoutManager CJK line break

2005-10-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=36977.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36977





--- Additional Comments From [EMAIL PROTECTED]  2005-10-14 16:35 ---
I don't have the font you use in your example, so I cannot directly test it to
see what happens.

Anyway, if you could attach the list of elements created it could be easier to
see if they are correct.

For example, you could put this method in LineLayoutManager.java ...

private void outputElementList(Paragraph par) {
System.out.println();
System.out.println(paragraph start);
ListIterator iter = par.listIterator();
KnuthElement el;
while (iter.hasNext()) {
el = (KnuthElement) iter.next();
if (el.isBox()) {
System.out.println(iter.previousIndex() + ) box w= + el.getW());
} else if (el.isGlue()) {
System.out.println(iter.previousIndex() + ) gllue w= + el.getW() +
 y= + el.getY() +  z= + el.getZ());
} else {
System.out.println(iter.previousIndex() + ) penalty w= + el.getW()
+  p= + el.getP());
}
}
System.out.println(paragraph end);
}

... call it in createLineBreaks() just before findOptimalBreakingPoints(), with
seq as parameter, and attach the resulting output file.

Regards
Luca

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


junit-transcoder classpath in build.xml

2005-10-14 Thread Simon Pepping
  target name=junit-transcoder depends=junit-compile description=Runs 
FOP's JUnit transcoder tests if=junit.present
...
  classpath
pathelement location=${build.dir}/test-classes/
path refid=libs-run-classpath/
fileset dir=${build.dir}
  include name=fop-transcoder.jar/
/fileset
  /classpath

Should the classpath not contain libs-build-classpath instead of
libs-run-classpath, so that fop.jar (and fop-hyph.jar) are not in it?

Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl



Re: hyphenation-present and junit-layout

2005-10-14 Thread Simon Pepping
On Fri, Oct 14, 2005 at 12:07:13AM +0200, Andreas L Delmelle wrote:
 On Oct 13, 2005, at 21:50, Simon Pepping wrote:
 
 But basically, why would anyone want to run regression tests without
 hyphenation present?
 
 Good point. I guess if there weren't any tests that don't require 
 hyphenation support, we wouldn't be having this conversation...
 Anyway, since we don't distribute any patterns with FOP anymore, 
 enforcing hyphenation to be present would mean that running the basic 
 layout regression test suite straight off the trunk code would always 
 result in failure of the whole target --which sounds a bit drastic.

We are talking about regression tests by developers. You cannot say
you have regression tested code if you have skipped a number of tests.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl



RE: Volunteer wanted - disabled-testcases.txt in XML

2005-10-14 Thread Mark Gaywood
Jeremias,

I'm set and ready to, just to be clear and I do apologise for not
being on the ball straight away with what must appear to be a trivial
task to most of you ,but I hope to up to your speeds and skill very
soon.

1. convert the text file into an xml document with previously suggest markup

2. modify decorateWithDisabledList to load the XML document

3. filter the output of decorateWithDisabledList based a lookup passed
in? Would it be too much to ask for you give me an example of an input
and output for this method?

4. create some website with XSLT, Cocoon and Forrest (Nice)

Will I need a password for login for submitting to SVN or would you
prefer another method of code submission?

Kindest regards
Mark








 -Original Message-
 From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 13, 2005 6:09 PM
 To: fop-dev@xmlgraphics.apache.org
 Subject: Re: Volunteer wanted - disabled-testcases.txt in XML


 Great!

 So the main task would be to modify the static method
 decorateWithDisabledList(IOFileFilter) in
 test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java so it

 loads the new XML file instead of the old disabled-testcases.txt and
 builds the filter according to the entries in there.

 If you'd like to create the website page, too, that's probably going
 to be a little more difficult as it involves setting up a special XSLT

 in the Cocoon sitemap for the Forrest website. But it could be an
 interesting thing to do. No problem if you only do the first part.

 Looking forward to your patch! Proves that it's sometimes simply a
 matter of calling for help and you get it. Thanks, Mark! If you need
 any more info, just ask.

 On 13.10.2005 18:13:18 Gaywood, Mark wrote:
  I could spare an hour most evenings, if that's enough.
 
  Mark Gaywood
 
 
 
  -Original Message-
  From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 13, 2005 4:39 PM
  To: fop-dev@xmlgraphics.apache.org
  Subject: Volunteer wanted - disabled-testcases.txt in XML
 
 
  I've had a idea, hopefully a good one. If the disabled-testcases.txt
  were rewritten as an XML file additional information could be added
to

  each disabled test case why it is disabled. This information could
  be
  transformed by Forrest into a page (known issues) for our website.

  And it could even be used as content for a release notes document.
 
  Example:
 
  block-container_reference-orientation_bug36391.xml
  block_font-stretch.xml
  
 
  becomes:
 
  disabled-testcases
testcase name=block-container_reference-orientation_bug36391
  bugzilla=36391
  Blah describes the deficiency of the test case blah.
/testcase
testcase name=block_font-stretch
  font-stretch is not implemented, yet.
/testcase

  /disabled-testcases
 
  Anyone want to take a stab? No knowledge about FOP internals needed.
 
  Jeremias Maerki
 
 
 
  This e-mail is confidential and intended solely for the use of the
  individual(s) to whom it is addressed.  If you are not the intended
  recipient, be advised that you have received this e-mail in error
and
  that any use, dissemination, forwarding, printing, copying of , or
any

  action taken in reliance upon, it is strictly prohibited and may be
  illegal.



 Jeremias Maerki



 This e-mail is confidential and intended solely for the use of the
 individual(s) to whom it is addressed.  If you are not the intended
 recipient, be advised that you have received this e-mail in error and
 that any use, dissemination, forwarding, printing, copying of , or any

 action taken in reliance upon, it is strictly prohibited and may be
 illegal.



Jeremias Maerki



This e-mail is confidential and intended solely for the use of the
individual(s) to whom it is addressed.  If you are not the intended
recipient, be advised that you have received this e-mail in error and
that any use, dissemination, forwarding, printing, copying of , or any
action taken in reliance upon, it is strictly prohibited and may be
illegal.


Re: Volunteer wanted - disabled-testcases.txt in XML

2005-10-14 Thread The Web Maestro

Mark,

Thanks again for taking care of this for us!

Since you aren't a committer (yet! ;-)), when you complete the file(s),  
create a new bugzilla entry, and attach any file(s):


http://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop

As for the page, model it after this:

http://xmlgraphics.apache.org/fop/maillist.html

Here's the XML document used to create the above web page file:

http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/src/ 
documentation/content/xdocs/maillist.xml?view=markup


It sounds like you have a good idea about the rest of it. If you have  
any other questions, just post back...


On Oct 14, 2005, at 5:02 PM, Mark Gaywood wrote:

Jeremias,

I'm set and ready to, just to be clear and I do apologise for not
being on the ball straight away with what must appear to be a trivial
task to most of you ,but I hope to up to your speeds and skill very
soon.

1. convert the text file into an xml document with previously suggest  
markup


2. modify decorateWithDisabledList to load the XML document

3. filter the output of decorateWithDisabledList based a lookup passed
in? Would it be too much to ask for you give me an example of an input
and output for this method?

4. create some website with XSLT, Cocoon and Forrest (Nice)

Will I need a password for login for submitting to SVN or would you
prefer another method of code submission?

Kindest regards
Mark

--- 
-



-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 13, 2005 6:09 PM
To: fop-dev@xmlgraphics.apache.org
Subject: Re: Volunteer wanted - disabled-testcases.txt in XML


Great!

So the main task would be to modify the static method
decorateWithDisabledList(IOFileFilter) in
test/java/org/apache/fop/layoutengine/LayoutEngineTestSuite.java so it
loads the new XML file instead of the old disabled-testcases.txt and
builds the filter according to the entries in there.

If you'd like to create the website page, too, that's probably going
to be a little more difficult as it involves setting up a special XSLT
in the Cocoon sitemap for the Forrest website. But it could be an
interesting thing to do. No problem if you only do the first part.

Looking forward to your patch! Proves that it's sometimes simply a
matter of calling for help and you get it. Thanks, Mark! If you need
any more info, just ask.

On 13.10.2005 18:13:18 Gaywood, Mark wrote:

I could spare an hour most evenings, if that's enough.

Mark Gaywood



-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 13, 2005 4:39 PM
To: fop-dev@xmlgraphics.apache.org
Subject: Volunteer wanted - disabled-testcases.txt in XML


I've had a idea, hopefully a good one. If the disabled-testcases.txt
were rewritten as an XML file additional information could be added

to



each disabled test case why it is disabled. This information could
be
transformed by Forrest into a page (known issues) for our website.



And it could even be used as content for a release notes document.

Example:

block-container_reference-orientation_bug36391.xml
block_font-stretch.xml


becomes:

disabled-testcases
  testcase name=block-container_reference-orientation_bug36391
bugzilla=36391
Blah describes the deficiency of the test case blah.
  /testcase
  testcase name=block_font-stretch
font-stretch is not implemented, yet.
  /testcase
  
/disabled-testcases

Anyone want to take a stab? No knowledge about FOP internals needed.

Jeremias Maerki



This e-mail is confidential and intended solely for the use of the
individual(s) to whom it is addressed.  If you are not the intended
recipient, be advised that you have received this e-mail in error

and

that any use, dissemination, forwarding, printing, copying of , or

any



action taken in reliance upon, it is strictly prohibited and may be
illegal.




Jeremias Maerki



This e-mail is confidential and intended solely for the use of the
individual(s) to whom it is addressed.  If you are not the intended
recipient, be advised that you have received this e-mail in error and
that any use, dissemination, forwarding, printing, copying of , or any



action taken in reliance upon, it is strictly prohibited and may be
illegal.




Jeremias Maerki



This e-mail is confidential and intended solely for the use of the
individual(s) to whom it is addressed.  If you are not the intended
recipient, be advised that you have received this e-mail in error and
that any use, dissemination, forwarding, printing, copying of , or any
action taken in reliance upon, it is strictly prohibited and may be
illegal.




Regards,

Web Maestro Clay
--
[EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet