[kaffe] Production release planning

2004-01-23 Thread Jim Pick
Hi,

I'd like to collect some ideas for what we should do for the upcoming
production release.  I'm planning to number that one 1.2.0, keeping with
the Linux-kernel style numbering scheme (which could be potentially
confused with Sun's JDK numbering scheme, unfortunately).

Our current production release is 1.0.7, which is more of a placeholder
than anything, since there wasn't a lot of testing done on it, and we
really haven't been supporting it or updating it.

What I'd like to us deliver sometime this year is a "real" production
release.

What do I mean when I say a "real" production release?

If I place myself in the shoes of a potential user of a "real"
production release, I'd have certain expectations:

 a) that the production release is relatively bug free.  If there are
bugs, they will be fixed.  Security holes will be patched.  New
releases will be made as needed to fix bugs.

 b) that the APIs are stable and complete, and I could use them and
build on top of them without fear of them being changed on me.  If
they do have to change, the change will be managed in a way that it
won't break my software (eg. by using versioned libraries, etc.)

 c) that experimental or incomplete code is marked as such.

 d) the release comes with complete set of documentation.

 e) there is a list of "supported" platforms, backed by regression
testing results.

Our current 1.0.7 release doesn't really work well as a production
release, so I do feel that we should replace it with something better as
soon as we can.  That said, we should decide on some goals and criteria,
and take our time doing it to make sure we have something that we will
be proud of, and happy to continue supporting.

I'd really like to see stable production version of Kaffe that can
seriously be used as a "building block" for other free software.  It'll
involve a fair amount of grunt work to stabilize, test and package a
production release, but in the end, I think it'll be fun to have a nice
final release that we can showcase, and that regular non-developers can
use.

Cheers,

 - Jim





___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Next development release planning - 1.1.4

2004-01-23 Thread Jim Pick
Hi,

Keeping with the roughly 2-month release cycle for the development
releases, it's about time to do the next one.

How about if we do a feature freeze next weekend, Sunday, February 1st,
to be followed by an actual release on Sunday, February 8th?

Cheers,

 - Jim

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] [Fwd: Debian/Free Java room at Fosdem (February 21/22, Brussel)]

2004-01-23 Thread Jim Pick
On Sat, 03 Jan 2004 07:24:30 +0100
Dalibor Topic <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I think I forgot to forward this e-mail to the kaffe mailing list. We'll 
> have a room for a developer meeting at FOSDEM[1] (shared with Debian 
> guys), and a ton of cool people from various free java runtime projects 
> are going to attend.
> 
> I intend to do a little presentation on getting the different java 
> packaging efforts in different distributions to cooperate on some 
> issues, as that would be probably of interest to the debian people as well.
> 
> hope to see some of you there in february, in bruxelles!

Excellent.  I'm in the mood for a vacation -- so I booked and plane
ticket.  I'm looking forward to some beers and some keysigning. :-)

Cheers,

 - Jim

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Re: [Jessie-discuss] 0.9.6

2004-01-23 Thread Jim Pick
On Fri, 23 Jan 2004 18:34:25 +0100
Dalibor Topic <[EMAIL PROTECTED]> wrote:

> I've checked out the sources from CVS, but I can't get them to build 
> without javax.crypto, which is not in kaffe yet (unknown legality of 
> distributing strong crypto from US, etc., we'll let GNU Classpath 
> project figure it out, and follow in their step ;).

I think we can do it.

All we have to do is send an email to the US government with the address
of where we are distributing it from:

  http://www.bxa.doc.gov/encryption/PubAvailEncSourceCodeNofify.html

Then it should be legal, at least in the eyes of the U.S. government.

It will make it trickier for others to redistribute the kaffe sources
within the US, since they technically would have to register as well.
I'm really not too concerned about that, since, in principal, I think
the laws are just historical baggage at this point, and I don't want to
worry about what quirky laws individual jurisdictions have. Other
countries also have weird crypto regulations (thanks, Wassenaar).

So, please check in the crypto stuff, and I'll send the email to the
government with the file locations.   Then I'll sit and wait for the
black helicopters...   :-)

Cheers,

 - Jim

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Re: Updating Jessie

2004-01-23 Thread Dalibor Topic
Hi Casey,

sorry for the long delay.

Casey Marshall wrote:

Is it possible to add the source trees from these projects into some
'upstream' directory of javalib, and compile them along with
everything else, based on config flags?
Not at the moment. I have no idea how I'd go about implementing 
something like that atm.

And by 'possible' I mean 'not a complete pain in the ass'.
There is complete pain in the ass way, though ;)

Copy the files into libraries/javalib, run find to list all the new 
files, and append the output of all new files to 
profiles/allatonce/all.files.

Or: is there any plan to add an extension directory to Kaffe?
Analogous to the ext/ directory in other JREs?
I've fixed Kaffe's install-jar script to put jars into kaffe's lib dir, 
and kaffe script will pick them up automatically. Just use install-jar 
my-crypto.jar.

cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (dalibor): Added support for reading policy files

2004-01-23 Thread Kaffe CVS
PatchSet 4365 
Date: 2004/01/23 17:34:17
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Added support for reading policy files

2004-01-23  Dalibor Topic <[EMAIL PROTECTED]>

* libraries/javalib/java/security/PermissionCollection.java,
libraries/javalib/java/security/Permissions.java,
libraries/javalib/java/security/ProtectionDomain.java,
libraries/javalib/java/security/cert/X509Certificate.java:
Replaced by implementations from GNU Classpath.

* libraries/javalib/profiles/default/core.files,
libraries/javalib/profiles/allatonce/all.files:
Updated.

* libraries/javalib/javax/security/auth/x500/X500Principal.java:
New file from GNU Classpath.

* libraries/javalib/Makefile.am,
libraries/javalib/Makefile.in:
Regenerated.

2004-01-23  Casey Marshall <[EMAIL PROTECTED]>

* libraries/javalib/gnu/java/security/PolicyFile.java:
New file.

Members: 
ChangeLog:1.1950->1.1951 
libraries/javalib/Makefile.am:1.164->1.165 
libraries/javalib/Makefile.in:1.220->1.221 
libraries/javalib/gnu/java/security/PolicyFile.java:INITIAL->1.1 
libraries/javalib/java/security/PermissionCollection.java:1.3->1.4 
libraries/javalib/java/security/Permissions.java:1.1->1.2 
libraries/javalib/java/security/ProtectionDomain.java:1.1->1.2 
libraries/javalib/java/security/cert/X509Certificate.java:1.1->1.2 
libraries/javalib/javax/security/auth/x500/X500Principal.java:INITIAL->1.1 
libraries/javalib/profiles/allatonce/all.files:1.36->1.37 
libraries/javalib/profiles/default/core.files:1.24->1.25 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1950 kaffe/ChangeLog:1.1951
--- kaffe/ChangeLog:1.1950  Fri Jan 23 17:17:24 2004
+++ kaffe/ChangeLog Fri Jan 23 17:34:17 2004
@@ -1,5 +1,29 @@
 2004-01-23  Dalibor Topic <[EMAIL PROTECTED]>
 
+   * libraries/javalib/java/security/PermissionCollection.java,
+   libraries/javalib/java/security/Permissions.java,
+   libraries/javalib/java/security/ProtectionDomain.java,
+   libraries/javalib/java/security/cert/X509Certificate.java:
+   Replaced by implementations from GNU Classpath.
+
+   * libraries/javalib/profiles/default/core.files,
+   libraries/javalib/profiles/allatonce/all.files:
+   Updated.
+
+   * libraries/javalib/javax/security/auth/x500/X500Principal.java:
+   New file from GNU Classpath.
+
+   * libraries/javalib/Makefile.am,
+   libraries/javalib/Makefile.in:
+   Regenerated.
+
+2004-01-23  Casey Marshall <[EMAIL PROTECTED]>
+
+   * libraries/javalib/gnu/java/security/PolicyFile.java:
+   New file.
+
+2004-01-23  Dalibor Topic <[EMAIL PROTECTED]>
+
* kaffe/kaffevm/jit3/labels.c:
(linkLabels) Removed unused code. Fixed gcc 3.3.2 
warning.
Index: kaffe/libraries/javalib/Makefile.am
diff -u kaffe/libraries/javalib/Makefile.am:1.164 
kaffe/libraries/javalib/Makefile.am:1.165
--- kaffe/libraries/javalib/Makefile.am:1.164   Thu Jan 22 14:39:31 2004
+++ kaffe/libraries/javalib/Makefile.am Fri Jan 23 17:34:18 2004
@@ -140,6 +140,7 @@
$(javax_net_ssl_SRCS) \
$(javax_rmi_SRCS) \
$(javax_rmi_CORBA_SRCS) \
+   $(javax_security_auth_x500_SRCS) \
$(javax_security_cert_SRCS) \
$(javax_sound_midi_SRCS) \
$(javax_sound_midi_spi_SRCS) \
@@ -486,7 +487,8 @@
gnu/java/rmi/server/UnicastServerRef.java
 gnu_java_security_SRCS = \
gnu/java/security/Engine.java \
-   gnu/java/security/OID.java
+   gnu/java/security/OID.java \
+   gnu/java/security/PolicyFile.java
 gnu_java_security_der_SRCS = \
gnu/java/security/der/BitString.java \
gnu/java/security/der/DEREncodingException.java \
@@ -1882,6 +1884,8 @@
javax/rmi/CORBA/UtilDelegate.java \
javax/rmi/CORBA/Util.java \
javax/rmi/CORBA/ValueHandler.java
+javax_security_auth_x500_SRCS = \
+   javax/security/auth/x500/X500Principal.java
 javax_security_cert_SRCS = \
javax/security/cert/CertificateEncodingException.java \
javax/security/cert/CertificateException.java \
Index: kaffe/libraries/javalib/Makefile.in
diff -u kaffe/libraries/javalib/Makefile.in:1.220 
kaffe/libraries/javalib/Makefile.in:1.221
--- kaffe/libraries/javalib/Makefile.in:1.220   Thu Jan 22 14:39:32 2004
+++ kaffe/libraries/javalib/Makefile.in Fri Jan 23 17:34:19 2004
@@ -446,6 +446,7 @@
$(javax_net_ssl_SRCS) \
$(javax_rmi_SRCS) \
$(javax_rmi_CORBA_SRCS) \
+   $(javax_security_auth_x500_SRCS) \
$(javax_security_cert_SRCS) \
$(javax_sound_midi_SRCS) \
$(javax_sound_midi_spi_SRCS) \
@@ -817,7 +818,8 @@
 
 gnu_java_security_SRCS = \
gnu/java/security/Engine.java \
-   gnu/java/security/OID.java
+   gnu/java/security/OID.java \
+   gnu/java/security/PolicyFile.java
 
 gnu_java_security_der_SRCS = \
   

Re: [kaffe] Re: [Jessie-discuss] 0.9.6

2004-01-23 Thread Dalibor Topic
Hi Casey,

sorry for the long delay.

Casey Marshall wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

"Dalibor" == Dalibor Topic <[EMAIL PROTECTED]> writes:


Dalibor> Would it make sense to merge this into kaffe as well?

That's be a pretty good idea, even though it isn't complete yet. As-is
it provides basic support for X.509 certificates, which is missing in
Kaffe right now.
I've checked out the sources from CVS, but I can't get them to build 
without javax.crypto, which is not in kaffe yet (unknown legality of 
distributing strong crypto from US, etc., we'll let GNU Classpath 
project figure it out, and follow in their step ;).

Dalibor> I also seem to remember that you had done some work on
Dalibor> implementing a policy file parser? What's the status of that
Dalibor> work?
I have an initial implementation, but can't get it to work with Kaffe
yet. So it is pretty complete, but untested.
My version is here:

   

Merged in, works partially. Check out the source from CVS HEAD, that 
should give you a starting point for changes. Since our java.security is 
not (fully) merged with Classpath, some problems may be due to that. 
Please post to the mailing list when you need things merged in from GNU 
Classpath (or ask Jim for a CVS account ;).

Run programs with kaffe -Dpolicy.provider=gnu.java.security.PolicyFile 
to try your PolicyFile code out.

cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] CVS kaffe (dalibor): Fixed a few more gcc 3.3.2 -W warnings

2004-01-23 Thread Kaffe CVS
PatchSet 4364 
Date: 2004/01/23 17:17:24
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed a few more gcc 3.3.2 -W warnings

2004-01-23  Dalibor Topic <[EMAIL PROTECTED]>

* kaffe/kaffevm/jit3/labels.c:
(linkLabels) Removed unused code. Fixed gcc 3.3.2
warning.

* kaffe/kaffevm/jit3/machine.c
(codeblock_size): Made unsigned to fix gcc warning.
Changed scope to static since it's not used outside
of machine.c.
(checkCaughtExceptions): Changed type of i to
unsigned int to fix compiler warning. Changed type
of parameter pc to unit32 to match declaration of
pc to fix compiler warnings.

Members: 
ChangeLog:1.1949->1.1950 
kaffe/kaffevm/jit3/labels.c:1.12->1.13 
kaffe/kaffevm/jit3/machine.c:1.46->1.47 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1949 kaffe/ChangeLog:1.1950
--- kaffe/ChangeLog:1.1949  Thu Jan 22 22:35:14 2004
+++ kaffe/ChangeLog Fri Jan 23 17:17:24 2004
@@ -1,3 +1,18 @@
+2004-01-23  Dalibor Topic <[EMAIL PROTECTED]>
+
+   * kaffe/kaffevm/jit3/labels.c:
+   (linkLabels) Removed unused code. Fixed gcc 3.3.2 
+   warning.
+
+   * kaffe/kaffevm/jit3/machine.c
+   (codeblock_size): Made unsigned to fix gcc warning.
+   Changed scope to static since it's not used outside
+   of machine.c.
+   (checkCaughtExceptions): Changed type of i to 
+   unsigned int to fix compiler warning. Changed type
+   of parameter pc to unit32 to match declaration of
+   pc to fix compiler warnings.
+   
 2004-01-22  Christophe Dubach <[EMAIL PROTECTED]>
 
* kaffe/kaffevm/jni.c
Index: kaffe/kaffe/kaffevm/jit3/labels.c
diff -u kaffe/kaffe/kaffevm/jit3/labels.c:1.12 kaffe/kaffe/kaffevm/jit3/labels.c:1.13
--- kaffe/kaffe/kaffevm/jit3/labels.c:1.12  Sun Sep 21 18:18:19 2003
+++ kaffe/kaffe/kaffevm/jit3/labels.c   Fri Jan 23 17:17:27 2004
@@ -4,6 +4,9 @@
  * Copyright (c) 1996, 1997
  * Transvirtual Technologies, Inc.  All rights reserved.
  *
+ * Copyright (c) 2004
+ * Kaffe.org contributors. See ChangeLog for details.  All rights reserved.
+ *
  * See the file "license.terms" for information on usage and redistribution 
  * of this file. 
  */
@@ -161,7 +164,7 @@
dest = 0;
break;
default:
-   goto unhandled;
+   return;
}
 
/*
@@ -178,7 +181,7 @@
dest -= codebase;
break;
default:
-   goto unhandled;
+   return;
}
 
/* Get the insertion point. */
@@ -209,28 +212,7 @@
/* Machine specific labels go in this magic macro */
EXTRA_LABELS(place, dest, l);
 
-   unhandled:
-#if 0
-   default:
-#if defined(KAFFE_VMDEBUG)
-   kprintf("Label type 0x%x not supported (%p).\n", l->type & 
Ltypemask, l);
-#endif
-   ABORT();
-#endif
}
-#if 0
-   /*
-* If we were saving relocation information we must save all
-* labels which are 'Labsolute', that is they hold an absolute
-* address for something.  Note that this doesn't catch
-* everything, specifically it doesn't catch string objects
-* or references to classes.
-*/
-   if ((l->type & Labsolute) != 0) {
-   l->snext = savedLabel;
-   savedLabel = l;
-   }
-#endif
}
 }
 
Index: kaffe/kaffe/kaffevm/jit3/machine.c
diff -u kaffe/kaffe/kaffevm/jit3/machine.c:1.46 kaffe/kaffe/kaffevm/jit3/machine.c:1.47
--- kaffe/kaffe/kaffevm/jit3/machine.c:1.46 Thu Jan 15 02:29:33 2004
+++ kaffe/kaffe/kaffevm/jit3/machine.c  Fri Jan 23 17:17:27 2004
@@ -94,7 +94,7 @@
 /* Codeblock redzone - allows for safe overrun when generating instructions */
 #defineCODEBLOCKREDZONE256
 
-int codeblock_size;
+static uint codeblock_size;
 static int code_generated;
 static int bytecode_processed;
 static int codeperbytecode;
@@ -113,7 +113,7 @@
  * @param meth The method that may contain an exception handler.
  * @param pc The location within the method to look for a handler.
  */
-static void checkCaughtExceptions(Method* meth, int pc);
+static void checkCaughtExceptions(Method* meth, uint32 pc);
 
 static void initFakeCalls(void);
 static void makeFakeCalls(void);
@@ -820,9 +820,9 @@
  */
 static
 void 
-checkCaughtExceptions(Method* meth, int pc)
+checkCaughtExceptions(Method* meth, uint32 pc)
 {
-   int i;
+   unsigned int i;
 
willcatch.ANY = false;
willcatch.BADARRAYINDEX = false;

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe