cvs commit: xml-fop/src/java/org/apache/fop/xml XMLNamespaces.java

2004-01-01 Thread pbwest
pbwest  2004/01/01 04:31:09

  Modified:src/java/org/apache/fop/xml Tag: FOP_0-20-0_Alt-Design
XMLNamespaces.java
  Log:
  Remove intern() call.  Slows processing to no  obvious benefit.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.3   +4 -4  xml-fop/src/java/org/apache/fop/xml/Attic/XMLNamespaces.java
  
  Index: XMLNamespaces.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/xml/Attic/XMLNamespaces.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- XMLNamespaces.java28 Dec 2003 03:58:54 -  1.1.2.2
  +++ XMLNamespaces.java1 Jan 2004 12:31:08 -   1.1.2.3
  @@ -177,7 +177,7 @@
   i = uris.size();
   //System.out.println(Adding namespace  + uri +   + i);
   uriIndices.put(uri, Ints.consts.get(i));
  -uris.add(i, uri.intern());
  +uris.add(i, uri);
   return i;
   }
   // not null - found the integer
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop/src/java/org/apache/fop/fo FOAttributes.java

2004-01-01 Thread pbwest
pbwest  2004/01/01 04:39:30

  Modified:src/java/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design
FOAttributes.java
  Log:
  Remove intern() calls.  Slows processing to no  obvious benefit.
  integerArray made final.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.3   +6 -6  xml-fop/src/java/org/apache/fop/fo/Attic/FOAttributes.java
  
  Index: FOAttributes.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/Attic/FOAttributes.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- FOAttributes.java 28 Dec 2003 05:22:07 -  1.1.2.2
  +++ FOAttributes.java 1 Jan 2004 12:39:30 -   1.1.2.3
  @@ -116,7 +116,7 @@
* A static array of ttInteger/tt as a template for the generation
* of the ifoAttrKeys/i array.
*/
  -private static Integer[] integerArray
  +private static final Integer[] integerArray
   = new Integer[] { Ints.consts.get(0) };
   
   /**
  @@ -151,8 +151,8 @@
   if (attributes == null) throw new FOPException
  (No Attributes in XMLEvent);
   for (int i = 0; i  attributes.getLength(); i++) {
  -String attrUri = attributes.getURI(i).intern();
  -String attrLocalname = attributes.getLocalName(i).intern();
  +String attrUri = attributes.getURI(i);
  +String attrLocalname = attributes.getLocalName(i);
   String attrValue = attributes.getValue(i);
   int attrUriIndex = foNode.namespaces.getURIIndex(attrUri);
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop/src/java/org/apache/fop/fo FObjectNames.java

2004-01-01 Thread pbwest
pbwest  2004/01/01 04:55:46

  Modified:src/java/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design
FObjectNames.java
  Log:
  foLocalNames made private.
  foLocalNamesLength().
  getFOPkg() added.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.2   +26 -6 xml-fop/src/java/org/apache/fop/fo/Attic/FObjectNames.java
  
  Index: FObjectNames.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/Attic/FObjectNames.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- FObjectNames.java 5 Jul 2003 19:26:05 -   1.1.2.1
  +++ FObjectNames.java 1 Jan 2004 12:55:46 -   1.1.2.2
  @@ -149,7 +149,7 @@
* ttint/tt constants must be kept in sync with this array, as the
* constants are used to index into the array.
*/
  -public static final String[][] foLocalNames = {
  +private static final String[][] foLocalNames = {
{ no-fo, }  //0
  ,{ basic-link, fo.flow }  //1
   ,{ bidi-override, fo.flow }  //2
  @@ -209,6 +209,11 @@
 ,{ wrapper, fo.flow }  //56
  ,{ pcdata, fo.flow }  //57
   };
  +
  +/**
  + * Publicly visible length of the private foLocaNames array.
  + */
  +public static final int foLocalNamesLength = foLocalNames.length;
   
   /**
* A HashMap whose elements are an integer index value keyed by an
  @@ -249,12 +254,27 @@
* @exception FOPException if the FO index is invalid.
*/
   public static String getFOName(int foType)
  -throws FOPException
  +throws FOPException
   {
   if (foType  0 || foType  LAST_FO)
  -throw new FOPException
  -(getFOName: type is invalid:  + foType);
  +throw new FOPException
  +(getFOName: type is invalid:  + foType);
   return foLocalNames[foType][NAMEX];
  +}
  +
  +/**
  + * Get the FObject package name corresponding to the FO index.
  + * @param foType ttint/tt index of the FO type.
  + * @return ttString/tt package name of the FO.
  + * @exception FOPException if the FO index is invalid.
  + */
  +public static String getFOPkg(int foType)
  +throws FOPException
  +{
  +if (foType  0 || foType  LAST_FO)
  +throw new FOPException
  +(getFOPkg: type is invalid:  + foType);
  +return foLocalNames[foType][PACKAGEX];
   }
   
   }
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



help with upload the ssh key

2004-01-01 Thread Peter Herweg
Hi,

now that i got an cvs.apache.org account i'd need some help with uploading
the ssh key.

I'd like to use putty for ssh access. So i logged in on cvs.apache.org,
copied my public key file (generated by puttygen) into my home directory and
tried to add it with gpg.
But all i get is the error this is not a pgp file.

I also tried to convert my public key file into OpenSSH format, or create a
new public/private key pair using ssh-keygen but nothing works.
I also tried to generate a new public/private key pair with gpg. That works
but there is no private key file generated, which i have to pass to
putty/plink.

Do i even have to use gpg? Or do i just have to copy the public key file
into a directory?

Hope i did not blame myself with such a newbie question :-)

Any help appreciated.
Peter Herweg



Re: help with upload the ssh key

2004-01-01 Thread J.Pietschmann
Peter Herweg wrote:
now that i got an cvs.apache.org account i'd need some help with uploading
the ssh key.
...
I also tried to convert my public key file into OpenSSH format, or create a
new public/private key pair using ssh-keygen but nothing works.
I also tried to generate a new public/private key pair with gpg. That works
but there is no private key file generated, which i have to pass to
putty/plink.
Do i even have to use gpg?
No. GPG/PGP is for encrypting/signing files and mails. There are currently
three widely used public key schemes: GPG/PGP/OpenPGP, X.509 (certificates)
and SSH, each using its own format for storing keys and associated information.
Confused?
Or do i just have to copy the public key file
into a directory?
Yes. It depends on whether you generated a DSA or a RSA key. I got a DSA
key and uploaded it into the _file_ ~/.ssh/authorized_keys2 (the name is
important and different from the filename used by ssh-keygen, on purpose,
you can use multiple public keys by concatenating them into this file)
The .ssh directory and the file should be world readable.
Do a web search on ssh keygen, there are a few tutorials. I got mine
working this way, after nearly biting bits off my keyboard.
J.Pietschmann


cvs commit: xml-fop/src/documentation/content/xdocs team.xml

2004-01-01 Thread gmazza
gmazza  2004/01/01 10:31:03

  Modified:src/documentation/content/xdocs team.xml
  Log:
  Changed jumps to forks (=open new window on links) on team page.
  
  Revision  ChangesPath
  1.24  +7 -6  xml-fop/src/documentation/content/xdocs/team.xml
  
  Index: team.xml
  ===
  RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/team.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- team.xml  31 Dec 2003 04:17:34 -  1.23
  +++ team.xml  1 Jan 2004 18:31:03 -   1.24
  @@ -22,8 +22,8 @@
   li id=gmlink href=mailto:[EMAIL PROTECTED]Glen Mazza/link (GM) is 
an information
   systems analyst with EDS in Arlington, Virginia, USA./li
   li id=wvmlink href=mailto:[EMAIL PROTECTED]Victor Mote/link (WVM) 
is the founder and
  -manager of jump href=http://www.outfitr.com;Enterprise 
Outfitters/jump, a business 
  -software company, and of jump href=http://www.portagepub.com;Portage 
Publications/jump, 
  +manager of fork href=http://www.outfitr.com;Enterprise 
Outfitters/fork, a business 
  +software company, and of fork href=http://www.portagepub.com;Portage 
Publications/fork, 
   a republisher of old documents. Both are located in Colorado Springs, 
Colorado, USA./li
   li id=jplink href=mailto:[EMAIL PROTECTED]J#x00F6;rg 
Pietschmann/link (JP)/li
   li id=otlink href=mailto:[EMAIL PROTECTED]Oleg Tkachenko/link 
(OT)/li
  @@ -53,13 +53,14 @@
   !-- Simon prefers the mail address with AT, to stop spam, etc. --
 lilink href=mailto:spepping AT leverkruid.nlSimon Pepping/link
   is a TeX/LaTeX and XML expert with Elsevier at its
  -Amsterdam office. See his jump href=http://www.leverkruid.nl;home
  -page/jump for some of his private projects./li
  +Amsterdam office. See his fork href=http://www.leverkruid.nl;home
  +page/fork for some of his private projects./li
 /ul
   /section
   section id=founder
 titleFounder/title
  -  pFOP was originally created and donated to the Apache Software Foundation 
by link href=mailto:[EMAIL PROTECTED]James Tauber/link. Information about him 
can be found at jump href=http://www.jtauber.com;his website/jump./p
  +  pFOP was originally created and donated to the Apache Software Foundation 
by link href=mailto:[EMAIL PROTECTED]James Tauber/link. 
  +  Information about him can be found at fork href=http://www.jtauber.com;his 
website/fork./p
   /section
   section id=commit-inactive
 titleInactive Committers/title
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: help with upload the ssh key

2004-01-01 Thread Peter Herweg
Yes, this works. Thank you!

 (wish you a happy new year by the way ;-)

Happy new year to you all.
Peter Herweg

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag
 von Bertrand Delacretaz
 Gesendet: Thursday, January 01, 2004 3:52 PM
 An: [EMAIL PROTECTED]
 Betreff: Re: help with upload the ssh key


 Le Jeudi, 1 jan 2004, à 15:36 Europe/Zurich, Peter Herweg a écrit :

  ...Do i even have to use gpg? Or do i just have to copy the public key
  file
  into a directory?

 You just need to copy the public key file to a directory named .ssh in
 your $HOME on cvs.apache.org, here's what I have:

 ls -l $HOME/.ssh
 total 2
 -rw-r--r--  1 bdelacretaz  bdelacretaz  798 Jan 29  2003 authorized_keys

 ls -ld $HOME/.ssh
 drwxr-xr-x  2 bdelacretaz  bdelacretaz  512 Jan  1 06:49
 /home/bdelacretaz/.ssh

 (wish you a happy new year by the way ;-)
 -Bertrand




cvs commit: xml-fop/src/java/org/apache/fop/fo/flow ExternalGraphic.java

2004-01-01 Thread gmazza
gmazza  2004/01/01 10:52:22

  Modified:src/java/org/apache/fop/fo/flow ExternalGraphic.java
  Log:
  Bug #25806 (Patch by Finn Bock)--NPE fixed in ExternalGraphic.java.
  
  Revision  ChangesPath
  1.15  +4 -2  xml-fop/src/java/org/apache/fop/fo/flow/ExternalGraphic.java
  
  Index: ExternalGraphic.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/ExternalGraphic.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ExternalGraphic.java  28 Dec 2003 17:10:16 -  1.14
  +++ ExternalGraphic.java  1 Jan 2004 18:52:22 -   1.15
  @@ -65,6 +65,7 @@
   import org.apache.fop.image.ImageFactory;
   import org.apache.fop.image.FopImage;
   import org.apache.fop.datatypes.Length;
  +import org.apache.fop.datatypes.LengthRange;
   
   // Java
   import java.awt.geom.Rectangle2D;
  @@ -108,8 +109,9 @@
   }
   url = ImageFactory.getURL(url);
   
  -// assume lr-tb for now
  -Length ipd = propertyList.get(PR_INLINE_PROGRESSION_DIMENSION).getLength();
  +// assume lr-tb for now and just use the .optimum value of the range
  +Length ipd = propertyList.get(PR_INLINE_PROGRESSION_DIMENSION).
  +getLengthRange().getOptimum().getLength();
   if (!ipd.isAuto()) {
   viewWidth = ipd.getValue();
   } else {
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 25806] - [PATCH] fix a NPE in external-graphics.

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25806

[PATCH] fix a NPE in external-graphics.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-01-01 18:52 ---
Applied, thanks!


DO NOT REPLY [Bug 25803] - [PATCH] PropertyList: Fixes to convertAttributeToProperty and findBaseProperty

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25803

[PATCH] PropertyList: Fixes to convertAttributeToProperty and findBaseProperty





--- Additional Comments From [EMAIL PROTECTED]  2004-01-01 19:10 ---
(Simon, you can tell it's Finn instead of me if it sounds intelligent, logical, 
etc. ;)

Thanks for your second explanation--I thought I had found an error in your 
reasoning but you do appear to understand this better than me--I'll be looking 
at this again shortly.

Thanks,
Glen


Re: help with upload the ssh key

2004-01-01 Thread Glen Mazza
--- J.Pietschmann [EMAIL PROTECTED] wrote:
 Peter Herweg wrote:
  now that i got an cvs.apache.org account i'd need
 some help with uploading
  the ssh key.
 ...

Which tool did you finally use to create the SSH key,
and where do you run it?

  I also tried to generate a new public/private key
 pair with gpg. 

Joerg, from what you're saying below, this is what we
use for our apache.org email address only, correct?

 That works
  but there is no private key file generated, which
 i have to pass to
  putty/plink.
  
  Do i even have to use gpg?
 
 No. GPG/PGP is for encrypting/signing files and
 mails. There are currently
 three widely used public key schemes:
 GPG/PGP/OpenPGP, X.509 (certificates)
 and SSH, each using its own format for storing keys
 and associated information.
 Confused?
 

Yes.  What is this SSH key for--Do we use ssh keygen
directly on cvs.apache.org to generate the DSA/RSA key
you're mentioning?  The newbie pages do not seem to
give any instruction on this.

Thanks,
Glen


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


AW: help with upload the ssh key

2004-01-01 Thread Peter Herweg
 Which tool did you finally use to create the SSH key,
 and where do you run it?
 ...

 Thanks,
 Glen

I used the key i have already used for accessing jfor's cvs repository at
sourceforge. I created the key about 6 month ago with puttygen. I ran it on
my local computer (win2000 prof.).
But you cannot use the files which puttygen creates when you click on one of
the save buttons. Instead i copy-and-pasted the content of the Public key
for pasting into OpenSSH authorized_keys2 file-textbox.

Kind regards
Peter Herweg



DO NOT REPLY [Bug 25828] - [PATCH] fop.sh/bat should use java.endorsed.dirs

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25828

[PATCH] fop.sh/bat should use java.endorsed.dirs





--- Additional Comments From [EMAIL PROTECTED]  2004-01-01 21:36 ---
Simon,

Thanks for your explanation again.  The problem you're bringing up may actually 
be good news for us though: J2SDK 1.4 users who run FOP from the command line 
*aren't* using the Xalan, Xerces, xml-apis.jar files in our lib directory, but 
rather the internal ones of the J2SDK.  (I tested and confirmed this.)

Indeed, wouldn't you say, the fact that FOP CL has been running fine (very few 
complaints, if any) w/1.4's jars for so long would help in reducing the FUD 
about removing the XML jars from our distributions once we discontinue 1.2 and 
1.3 support?  (I.e., if we redirect the 1.4 SDK to the FOP jars, we'll lose 
certainty about how reliable the internal SDK jars are--or, learning what the 
actual bugs are.)

Also, for buggy internal XML jars of a current or future SDK--this patch would 
help command-line, but not embedded usage (they would still use internal, or 
whatever is placed in SDK default endorsed directory).  So in these cases where 
the internal jars are bad, wouldn't it be better if we had instructions on our 
website, or a link somewhere, telling users how to update the XML jars in the 
default Java endorsed directory?  That would cover both CL and embedded.

Sorry for the long post--I'm not certain on this either way.  Comments?  (Also, 
team members, what do you think?)

Thanks again!
Glen


Re: AW: help with upload the ssh key

2004-01-01 Thread Glen Mazza
Thanks, Peter, that helped a lot--I downloaded
puttygen and am working with it now.  Three more
questions if anyone can help:

1) I guess we're to use SSH2 and not SSH1, but does it
matter whether we use DSA or RSA?  Is one much slower
than the other?  I'll use DSA--it apparently works for
you and Joerg.

2) Also, you placed your public key in
authorized_keys, not authorized_keys2 like Joerg
has.  (Both of you are using DSA apparently.) Also,
PuttyGen seems to indicate that authorized_keys is
only for SSH1/RSA and authorized_keys2 is for SSH2
(RSA or DSA version).  Does this matter--shouldn't you
have yours in authorized_keys2?

3) To use Putty on my work computer (besides my one at
home--where I've just created the key), should I
create another private/public key pair, and append the
public key to my authorized_keys/keys2 file, or just
transfer my private key to the second computer (via
floppy disk, etc.)--what is the more usual/accepted
practice?

Thanks,
Glen


--- Peter Herweg [EMAIL PROTECTED] wrote:
  Which tool did you finally use to create the SSH
 key,
  and where do you run it?
  ...
 
  Thanks,
  Glen
 
 I used the key i have already used for accessing
 jfor's cvs repository at
 sourceforge. I created the key about 6 month ago
 with puttygen. I ran it on
 my local computer (win2000 prof.).
 But you cannot use the files which puttygen creates
 when you click on one of
 the save buttons. Instead i copy-and-pasted the
 content of the Public key
 for pasting into OpenSSH authorized_keys2
 file-textbox.
 
 Kind regards
 Peter Herweg
 


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


cvs commit: xml-fop/src/java/org/apache/fop/fo FObjects.java

2004-01-01 Thread pbwest
pbwest  2004/01/01 15:19:49

  Modified:src/java/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design
FObjects.java
  Log:
  Modifications because FObjects.foLocalNames array made
  private:
  Replaced direct access to public FObjects.foLocalNames array
  with calls to getFOName() and getFOPkg().
  Replaced FObjects.foLocalNames.length with
  FObjects.foLocalNamesLength.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.2   +24 -17xml-fop/src/java/org/apache/fop/fo/Attic/FObjects.java
  
  Index: FObjects.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/Attic/FObjects.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- FObjects.java 5 Jul 2003 19:26:05 -   1.1.2.1
  +++ FObjects.java 1 Jan 2004 23:19:49 -   1.1.2.2
  @@ -127,7 +127,7 @@
* the FlowObjects defined in this file.
*/
   private final Constructor[] foConstructors
  -= new Constructor[FObjectNames.foLocalNames.length];
  += new Constructor[FObjectNames.foLocalNamesLength];
   
   /**
* A HashMap whose elements are an integer index value keyed by an
  @@ -151,16 +151,25 @@
   int namei = 0;   // Index of localName in FObjectNames.foLocalNames
   int pkgi = 1;// Index of package suffix in foLocalNames
   
  -foClassNames= new String[FObjectNames.foLocalNames.length];
  -foPkgClassNames = new String[FObjectNames.foLocalNames.length];
  -foToIndex   = new HashMap(FObjectNames.foLocalNames.length);
  -foClassToIndex  = new HashMap(FObjectNames.foLocalNames.length);
  +foClassNames= new String[FObjectNames.foLocalNamesLength];
  +foPkgClassNames = new String[FObjectNames.foLocalNamesLength];
  +foToIndex   = new HashMap(
  +(int)(FObjectNames.foLocalNamesLength / 0.75) + 1);
  +foClassToIndex  = new HashMap(
  +(int)(FObjectNames.foLocalNamesLength / 0.75) + 1);
   
  -for (int i = 1;i  FObjectNames.foLocalNames.length; i++) {
  +for (int i = 1; i  FObjectNames.foLocalNamesLength; i++) {
   String cname = foPrefix;
  +String foName;
  +String pkgname;
  +try {
  +foName = FObjectNames.getFOName(i);
  +pkgname = FObjectNames.getFOPkg(i);
  +} catch (FOPException fex) {
  +throw new RuntimeException(fex.getMessage());
  +}
   StringTokenizer stoke =
  -new StringTokenizer(FObjectNames.foLocalNames[i][namei],
  --);
  +new StringTokenizer(foName, -);
   while (stoke.hasMoreTokens()) {
   String token = stoke.nextToken();
   String pname = new Character(
  @@ -171,20 +180,18 @@
   foClassNames[i] = cname;
   
   // Set up the array of class package names
  -String pkgname = prefix + FObjectNames.foLocalNames[i][pkgi];
  -
   // Set up the array of Class objects, indexed by the fo
   // constants.
  -String name = pkgname + . + cname;
  +String name = prefix + pkgname + . + cname;
   foPkgClassNames[i] = name;
   
   // Set up the foToIndex Hashmap with the name of the
   // flow object as a key, and the integer index as a value
  -if (foToIndex.put((Object) FObjectNames.foLocalNames[i][namei],
  +if (foToIndex.put((Object) foName,
   Ints.consts.get(i)) != null) {
   throw new RuntimeException(
   Duplicate values in propertyToIndex for key  +
  -FObjectNames.foLocalNames[i][namei]);
  +foName);
   }
   
   // Set up the foClassToIndex Hashmap with the name of the
  @@ -210,7 +217,7 @@
   };
   int foType = event.getFoType();
   
  -if (foType = 0 || foType  FObjectNames.foLocalNames.length)
  +if (foType = 0 || foType  FObjectNames.foLocalNamesLength)
   throw new FOPException
   (Illegal FO type value:  + foType);
   try {
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: help with upload the ssh key

2004-01-01 Thread J.Pietschmann
Glen Mazza wrote:
1) I guess we're to use SSH2 and not SSH1,
SSH1 and SSH2 are versions of the protocol, in particular
the initial handshake. The SSH1 had a vulnerability. Which
protocol is used is determined in the initial handshake,
for compatibility. A prodent server administrator disables
SSH1 for sshd.
but does it
matter whether we use DSA or RSA?  Is one much slower
than the other?
I don't think it matters much. I vaguely remember DSA was
introduced because of the RSA, Inc. patent.
3) To use Putty on my work computer (besides my one at
home--where I've just created the key), should I
create another private/public key pair, and append the
public key to my authorized_keys/keys2 file, or just
transfer my private key to the second computer (via
floppy disk, etc.)--what is the more usual/accepted
practice?
It's probably a matter of taste. I personally would use two
keys. And I wouldn't use a key on my work machine unless I'm
totally and utterly sure it can't be compromised.
J.Pietschmann


Re: help with upload the ssh key

2004-01-01 Thread J.Pietschmann
Glen Mazza wrote:
Which tool did you finally use to create the SSH key,
and where do you run it?
Cygwin ssh-keygen.

Joerg, from what you're saying below, this is what we
use for our apache.org email address only, correct?
I'm not sure what you mean here.

Yes.  What is this SSH key for--Do we use ssh keygen
directly on cvs.apache.org to generate the DSA/RSA key
you're mentioning?  The newbie pages do not seem to
give any instruction on this.
Hmm, someone should write it up in the wiki.
The key is generated on the local machine. The private key
is stored in a location determined by the ssh client you
use. In order to get the public key onto the target machine,
log in, create the ~/.ssh directory, then scp the public key
to the appropriate file.
Private keys on remote machines not under your control are a
no-no.
J.Pietschmann


cvs commit: xml-fop/src/java/org/apache/fop/fo PropNames.java

2004-01-01 Thread pbwest
pbwest  2004/01/01 15:59:30

  Modified:src/java/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design
PropNames.java
  Log:
  Adjusted HashMap initial size.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.2   +5 -4  xml-fop/src/java/org/apache/fop/fo/Attic/PropNames.java
  
  Index: PropNames.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/Attic/PropNames.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- PropNames.java5 Jul 2003 19:26:05 -   1.1.2.1
  +++ PropNames.java1 Jan 2004 23:59:30 -   1.1.2.2
  @@ -790,7 +790,8 @@
*/
   private static final HashMap toIndex;
   static {
  -toIndex = new HashMap(LAST_PROPERTY_INDEX + 1);
  +toIndex = new HashMap(
  +(int)((LAST_PROPERTY_INDEX + 1) / 0.75) + 1);
   // Set up the toIndex Hashmap with the name of the
   // property as a key, and the integer index as a value
   for (int i = 0; i = LAST_PROPERTY_INDEX; i++) {
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop fop.sh

2004-01-01 Thread pbwest
pbwest  2004/01/01 16:20:51

  Modified:.Tag: FOP_0-20-0_Alt-Design fop.sh
  Log:
  Removed set -x
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.2.2.3   +0 -2  xml-fop/fop.sh
  
  Index: fop.sh
  ===
  RCS file: /home/cvs/xml-fop/fop.sh,v
  retrieving revision 1.2.2.2
  retrieving revision 1.2.2.3
  diff -u -r1.2.2.2 -r1.2.2.3
  --- fop.sh28 Dec 2003 05:37:33 -  1.2.2.2
  +++ fop.sh2 Jan 2004 00:20:51 -   1.2.2.3
  @@ -2,8 +2,6 @@
   #
   # Shell script to run FOP, adapted from the Jakarta-Ant project.
   
  -set -x
  -
   if [ -f $HOME/.foprc ] ; then
 . $HOME/.foprc
   fi
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop userconfig.xml

2004-01-01 Thread pbwest
pbwest  2004/01/01 16:23:31

  Added:   .Tag: FOP_0-20-0_Alt-Design userconfig.xml
  Log:
  Moved example userconfig out of conf directory.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.1   +99 -0 xml-fop/Attic/userconfig.xml
  
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc RtfHyperLink.java RtfTextrun.java

2004-01-01 Thread pherweg
pherweg 2004/01/01 13:19:55

  Modified:src/java/org/apache/fop/fo/flow BasicLink.java
   src/java/org/apache/fop/fo FOInputHandler.java
FOTreeHandler.java
   src/java/org/apache/fop/render/mif MIFHandler.java
   src/java/org/apache/fop/render/rtf RTFHandler.java
   src/java/org/apache/fop/render/rtf/rtflib/rtfdoc
RtfHyperLink.java RtfTextrun.java
  Log:
  added support for fo:basic-link
  
  Revision  ChangesPath
  1.9   +21 -0 xml-fop/src/java/org/apache/fop/fo/flow/BasicLink.java
  
  Index: BasicLink.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/BasicLink.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- BasicLink.java28 Dec 2003 17:10:16 -  1.8
  +++ BasicLink.java1 Jan 2004 21:19:54 -   1.9
  @@ -50,7 +50,11 @@
*/
   package org.apache.fop.fo.flow;
   
  +// XML
  +import org.xml.sax.Attributes;
  +
   // FOP
  +import org.apache.fop.apps.FOPException;
   import org.apache.fop.fo.FONode;
   import org.apache.fop.fo.FOTreeVisitor;
   import org.apache.fop.fo.properties.CommonAccessibility;
  @@ -157,4 +161,21 @@
   fotv.serveBasicLink(this);
   }
   
  +/**
  + * @see org.apache.fop.fo.FObj#handleAttrs
  + */
  +public void handleAttrs(Attributes attlist) throws FOPException {
  +super.handleAttrs(attlist);
  +
  +getFOTreeControl().getFOInputHandler().startLink(this);
  +}
  +
  +/**
  + * @see org.apache.fop.fo.FONode#end
  + */
  +public void end() {
  +super.end();
  +
  +getFOTreeControl().getFOInputHandler().endLink();
  +}
   }
  
  
  
  1.12  +4 -2  xml-fop/src/java/org/apache/fop/fo/FOInputHandler.java
  
  Index: FOInputHandler.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/FOInputHandler.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- FOInputHandler.java   1 Nov 2003 14:23:49 -   1.11
  +++ FOInputHandler.java   1 Jan 2004 21:19:55 -   1.12
  @@ -55,6 +55,7 @@
   
   // FOP
   import org.apache.fop.apps.FOPException;
  +import org.apache.fop.fo.flow.BasicLink;
   import org.apache.fop.fo.flow.Block;
   import org.apache.fop.fo.flow.ExternalGraphic;
   import org.apache.fop.fo.flow.Inline;
  @@ -337,8 +338,9 @@
   
   /**
* Process start of a Link.
  + * @param basicLink BasicLink that is ending
*/
  -public abstract void startLink();
  +public abstract void startLink(BasicLink basicLink);
   
   /**
* Process end of a Link.
  
  
  
  1.11  +4 -3  xml-fop/src/java/org/apache/fop/fo/FOTreeHandler.java
  
  Index: FOTreeHandler.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/FOTreeHandler.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- FOTreeHandler.java1 Nov 2003 14:23:49 -   1.10
  +++ FOTreeHandler.java1 Jan 2004 21:19:55 -   1.11
  @@ -59,6 +59,7 @@
   
   // FOP
   import org.apache.fop.apps.FOPException;
  +import org.apache.fop.fo.flow.BasicLink;
   import org.apache.fop.fo.flow.Block;
   import org.apache.fop.fo.flow.ExternalGraphic;
   import org.apache.fop.fo.flow.InstreamForeignObject;
  @@ -415,9 +416,9 @@
   }
   
   /**
  - * @see org.apache.fop.fo.FOInputHandler#startLink()
  + * @see org.apache.fop.fo.FOInputHandler#startLink(BasicLink basicLink)
*/
  -public void startLink() {
  +public void startLink(BasicLink basicLink) {
   }
   
   /**
  
  
  
  1.3   +4 -3  xml-fop/src/java/org/apache/fop/render/mif/MIFHandler.java
  
  Index: MIFHandler.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/render/mif/MIFHandler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MIFHandler.java   12 Dec 2003 22:37:39 -  1.2
  +++ MIFHandler.java   1 Jan 2004 21:19:55 -   1.3
  @@ -57,6 +57,7 @@
   import org.apache.fop.apps.Document;
   import org.apache.fop.apps.FOPException;
   import org.apache.fop.fo.FOInputHandler;
  +import org.apache.fop.fo.flow.BasicLink;
   import org.apache.fop.fo.flow.Block;
   import org.apache.fop.fo.flow.ExternalGraphic;
   import org.apache.fop.fo.flow.InstreamForeignObject;
  @@ -398,9 +399,9 @@
   }
   
   /**
  - * @see org.apache.fop.fo.FOInputHandler#startLink()
  + * @see org.apache.fop.fo.FOInputHandler#startLink(BasicLink basicLink)
*/
  -public void startLink() {
  +public void startLink(BasicLink basicLink) {
   

RE: (Changing Vote) Re: [VOTE] Andreas L. Delmelle for committer

2004-01-01 Thread Glen Mazza
Andreas,

I'm impressed with your very rapid learning of how the
code works and interest in fixing it. Actually, you're
ahead of me right now in this section of the code--I
haven't looked much at tables and hence can't respond
yet to your questions.  Hopefully the others can
comment!

Thanks,
Glen

--- Andreas L. Delmelle [EMAIL PROTECTED]
wrote:

 BTW *if* he is, perhaps he (or s.o. else) could
 explain in terms of design,
 what he thinks should 'happen' in case of row- or
 column-spanned
 table-cells.


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


Re: AW: help with upload the ssh key

2004-01-01 Thread Glen Mazza
Thanks for your help.

Glen

--- J.Pietschmann [EMAIL PROTECTED] wrote:
 Glen Mazza wrote:
  1) I guess we're to use SSH2 and not SSH1,
 SSH1 and SSH2 are versions of the protocol, in
 particular
 the initial handshake. The SSH1 had a vulnerability.
 Which
 protocol is used is determined in the initial
 handshake,
 for compatibility. A prodent server administrator
 disables
 SSH1 for sshd.
 


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


cvs commit: xml-fop/src/java/org/apache/fop/fo FObjectSets.java

2004-01-01 Thread pbwest
pbwest  2004/01/01 21:56:32

  Modified:src/java/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design
FObjectSets.java
  Log:
  Temporary BitSets changed from final and nullified at the end
  of initialization.
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.2   +29 -14xml-fop/src/java/org/apache/fop/fo/Attic/FObjectSets.java
  
  Index: FObjectSets.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/Attic/FObjectSets.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- FObjectSets.java  5 Jul 2003 19:26:05 -   1.1.2.1
  +++ FObjectSets.java  2 Jan 2004 05:56:32 -   1.1.2.2
  @@ -70,8 +70,9 @@
   private static final String revision = $Revision$;
   
   /**  The set of FOs comprising the block entity.
  - *See 6.14 Formatting Object Content. */
  -private static final BitSet block;
  + *See 6.14 Formatting Object Content.
  + *   Nullified when initialization complete. */
  +private static BitSet block;
   /** The publicly accessible block entity set.
*See 6.14 Formatting Object Content. */
   public static final ROBitSet blockEntity;
  @@ -86,8 +87,9 @@
   }
   
   /** The set of FOs comprising the inline entity.
  - *See 6.14 Formatting Object Content. */
  -private static final BitSet inline;
  + *See 6.14 Formatting Object Content.
  + *  Nullified when initialization complete. */
  +private static BitSet inline;
   
   /** The publicly accessible inline entity set.
*See 6.14 Formatting Object Content. */
  @@ -112,8 +114,9 @@
   
   /** The set of FOs available wherever %block; is allowed
* including within descendents of out-of-line FOs.
  - *See 6.14 Formatting Object Content. */
  -private static final BitSet outOfLineBlock;
  + *See 6.14 Formatting Object Content.
  + *  Nullified when initialization complete. */
  +private static BitSet outOfLineBlock;
   
   /** The publicly accessible set of FOs available wherever
* %block; is allowed, including within descendents from
  @@ -128,8 +131,9 @@
   
   /** The set of FOs available wherever #PCDATA|%block;|%inline; is allowed
* including within descendents of out-of-line FOs.
  - *See 6.14 Formatting Object Content. */
  -private static final BitSet outOfLinePcdataBlockInline;
  + *See 6.14 Formatting Object Content.
  + *  Nullified when initialization complete. */
  +private static BitSet outOfLinePcdataBlockInline;
   
   /** The publicly accessible set of FOs available wherever
* #PCDATA|%block;|%inline; is allowed, including within descendents from
  @@ -151,8 +155,9 @@
   /**
* The set of FOs available wherever #PCDATA|%block;|%inline; is allowed
* except within descendents of out-of-line FOs.
  - * See 6.14 Formatting Object Content. */
  -private static final BitSet normalPcdataBlockInline;
  + *See 6.14 Formatting Object Content.
  + *  Nullified when initialization complete. */
  +private static BitSet normalPcdataBlockInline;
   
   /** The publicly accessible set of FOs available wherever
* #PCDATA|%block;|%inline; is allowed except within descendents of
  @@ -169,8 +174,9 @@
   /**
* The set of FOs available wherever #PCDATA|%inline; is allowed
* except within descendents of out-of-line FOs.
  - * See 6.14 Formatting Object Content. */
  -private static final BitSet normalPcdataInline;
  + *See 6.14 Formatting Object Content.
  + *  Nullified when initialization complete. */
  +private static BitSet normalPcdataInline;
   
   /** The publicly accessible set of FOs available wherever
* #PCDATA|%inline; is allowed except within descendents of
  @@ -183,6 +189,15 @@
   // Removed FOOTNOTE because it may occur in static-content
   //normalPcdataInline.set(FObjectNames.FOOTNOTE);
   normalPcdataInlineSet = new ROBitSet(normalPcdataInline);
  +}
  +
  +static {
  +block = null;
  +inline = null;
  +outOfLineBlock = null;
  +outOfLinePcdataBlockInline = null;
  +normalPcdataBlockInline = null;
  +normalPcdataInline = null;
   }
   
   private FObjectSets() {}
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]