Re: [classlib] Can't build native on winXP

2006-06-28 Thread Vladimir Gorr
On 6/28/06, Matt Benson [EMAIL PROTECTED] wrote: nmake seems to choke looking for a ntwin32.mak file. I don't care too much about the native stuff actually, but I wanted to play with the build system, so I want to make sure I don't break anything. Does anyone have any advice? Matt, you

Re: [classlib] Timeline question

2006-06-28 Thread Geir Magnusson Jr
kranga wrote: Hi Harmony developers, I checked the jdk1.4 and 1.5 comparison charts and 1.4 coverage looks impressive and 1.5 looks like 75%. Can anyone give me their best estimate of when you think you'll have a 95% + coverage of jdk 1.5? No :) It's a very difficult question, because

Re: [depends] mark and I were chatting

2006-06-28 Thread Geir Magnusson Jr
Tim Ellison wrote: Gregory Shimansky wrote: snip lot of good stuff Why does classlib require its own zlib to be built from sources? Shouldn't it be another external dependency provided in binary form or by the system? Yes! absolutely, it should use the system version. And I'll note

Re: Using Visual Studio C++ Express to compile classlib - fails.

2006-06-28 Thread Geir Magnusson Jr
Thorbjørn Ravn Andersen wrote: Gregory Shimansky skrev den 27-06-2006 14:23: Cool! Thanks for the pointer. This is something new. The date published is June 7 2006 which is pretty recent. It happened after I've written my email about MASM not available. Thank you all for your help. I

[classlib][nio]refactor nio buffer's tests

2006-06-28 Thread Paulex Yang
Hi all, I want to explain what I'm doing on nio modules now, I've raised Harmony-575 as the first pilot to refactor the nio buffer's tests, the current NIO buffers' test are organized in a very unusual way: test logic are written in many static methods, and some instance method testXXX call

[classlib] integration of swing/awt

2006-06-28 Thread Geir Magnusson Jr
Mark, What's the status of the integration of HARMONY-528, the swing/awt contrib? Would you consider it done? geir - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [classlib] Can't build native on winXP

2006-06-28 Thread Oliver Deakin
Gregory Shimansky wrote: On Wednesday 28 June 2006 02:08 Matt Benson wrote: nmake seems to choke looking for a ntwin32.mak file. I don't care too much about the native stuff actually, but I wanted to play with the build system, so I want to make sure I don't break anything. Does anyone have

Re: [classlib] Can't build native on winXP

2006-06-28 Thread Dmitry M. Kononov
There is another way to use gmane: http://news.gmane.org/gmane.comp.java.harmony.devel On 6/28/06, Oliver Deakin [EMAIL PROTECTED] wrote: There are archives of the mailing list on gmane [1] - you can get a single thread view by clicking on the comments link at the bottom of the post you are

Re: [classlib] integration of swing/awt

2006-06-28 Thread Mark Hindess
On 28 June 2006 at 4:55, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Mark, What's the status of the integration of HARMONY-528, the swing/awt contrib? The original contribution is in svn. The java code is integrated. If you manually set out the depends/libs/build tree - with libjpeg,

Re: [classlib] integration of swing/awt

2006-06-28 Thread Mark Hindess
On 28 June 2006 at 11:09, Mark Hindess [EMAIL PROTECTED] wrote: On 28 June 2006 at 4:55, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Mark, What's the status of the integration of HARMONY-528, the swing/awt contrib? The original contribution is in svn. The java code is integrated.

Re: [classlib] integration of swing/awt

2006-06-28 Thread Alexey Petrenko
BTW, I'm trying to play with prebuilt libraries from GnuWin32 project (http://sourceforge.net/projects/gnuwin32/). They have needed versions of jpeg and png libraries. But lcms library is too old. I've build awt natives with this libraries but can not run them yet since I can not build and run

Re: [classlib] integration of swing/awt

2006-06-28 Thread Mikhail Loenko
Geir, BTW, do you have all the papers for awt/swing tests contribution (H-609)? Thanks, Mikhail 2006/6/28, Alexey Petrenko [EMAIL PROTECTED]: BTW, I'm trying to play with prebuilt libraries from GnuWin32 project (http://sourceforge.net/projects/gnuwin32/). They have needed versions of jpeg

Re: [classlib] integration of swing/awt

2006-06-28 Thread Alexey Petrenko
He should to :) 2006/6/28, Mikhail Loenko [EMAIL PROTECTED]: Geir, BTW, do you have all the papers for awt/swing tests contribution (H-609)? Thanks, Mikhail 2006/6/28, Alexey Petrenko [EMAIL PROTECTED]: BTW, I'm trying to play with prebuilt libraries from GnuWin32 project

[classlib] request for modification of String.java

2006-06-28 Thread Mikhail Loenko
As a fix for H-663 I'd like to apply this patch @@ -848,6 +848,8 @@ if (charset == null || !encoding.equalsIgnoreCase(charset.name())) { try { charset = Charset.forName(encoding); + } catch

[classlib] Requirement: Regex support for \p{javaDigit}

2006-06-28 Thread Richard Liang
Hello All, I'm trying to implement java.util.Scanner.nextInt, which requires a regular expression pattern to represent Integer. I find it's hard to express /NonASCIIDigit /because now Harmony regex does not support /NonASCIIDigit/. As our regex has supported \p{javaLowerCase}

Re: Stack Overflow Error support issues

2006-06-28 Thread Mikhail Fursov
On 6/23/06, Pavel Afremov [EMAIL PROTECTED] wrote: .. Pavel, I think SOE in native code should be avoided. AFAIK internal JIT algorithms use recursion a lot and for a huge control flow graph stack size could be not enough to compile a method. The one option I see is every native component

Re: [classlib][math] Location of performance tests (was: Re: performance improvement for java.math package)

2006-06-28 Thread Vladimir Strigun
I think it's better to close Harmony-551. When Daniel and his team will prepare new version of java.math we can compare implementation using this suite and then decide, whether we need to put it into svn. Thanks, Vladimir. On 6/26/06, Mikhail Loenko [EMAIL PROTECTED] wrote: Agreed. What I

Re: [classlib] Can't build native on winXP

2006-06-28 Thread Oliver Deakin
Never seen that before - thanks! Regards, Oliver Dmitry M. Kononov wrote: There is another way to use gmane: http://news.gmane.org/gmane.comp.java.harmony.devel On 6/28/06, Oliver Deakin [EMAIL PROTECTED] wrote: There are archives of the mailing list on gmane [1] - you can get a single

Resending mailing list message?

2006-06-28 Thread Thorbjørn Ravn Andersen
I had a bad XP crash so Thunderbird forgot everything. Is there a way to ask the apache mailing list server to send me a given set of messages as individual messages allowing me to rebuild my local archive? I tried the get command, but it sent me a digest in a single message. Any suggestions

Re: [classlib] integration of swing/awt

2006-06-28 Thread Tim Ellison
Alexey Petrenko wrote: BTW, I'm trying to play with prebuilt libraries from GnuWin32 project (http://sourceforge.net/projects/gnuwin32/). They have needed versions of jpeg and png libraries. But lcms library is too old. I've build awt natives with this libraries but can not run them yet

Re: [classlib] integration of swing/awt

2006-06-28 Thread Alexey Petrenko
Tim, thanks for the link. It seems that it will be better to send a request to legal-discuss@apache.org mailing list. SY, Alexey 2006/6/28, Tim Ellison [EMAIL PROTECTED]: Alexey Petrenko wrote: BTW, I'm trying to play with prebuilt libraries from GnuWin32 project

Re: Stack Overflow Error support issues

2006-06-28 Thread Weldon Washburn
Some comments and observations: 1) I like Pavel's approach of trying jitrino.JET. Is it possible to put constraints on the max amount of hardware stack that JET uses? Is it possible to calculate the max amount of stack that JET could use? If these numbers are knowable, it could help in the

RE: [classlib] integration of swing/awt

2006-06-28 Thread Magnusson, Geir
If sourforge was up, I could answer it. What license is it? -- Geir Magnusson Jr SSG/MPD [EMAIL PROTECTED] +1 203 665 6437 -Original Message- From: Alexey Petrenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 9:51 AM To: harmony-dev@incubator.apache.org Subject:

Re: [classlib] integration of swing/awt

2006-06-28 Thread Alexey Petrenko
jpeg uses its own licence. It generally says that you can use it in any way in any type of project. But do not forget to add a link to IJG site. Libpng uses its own licence too. But this license is specified as Apache authorized license. Little cms also uses Apache authorized licence: MIT

Re: Stack Overflow Error support issues

2006-06-28 Thread Pavel Afremov
Mikhail. During my experiments I already added two functions into DRLVM: size_t get_available_stack_size()and bool check_available_stack_size(size_t required_size). The first is used in the second to make required check and the second used to check, that there are 256 Kbytes of free

RE: [classlib] integration of swing/awt

2006-06-28 Thread Magnusson, Geir
Before we do that, are there alternatives that we could use? We should get a clearer picture of the options, I think. Geir -Original Message- From: Alexey Petrenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 10:12 AM To: harmony-dev@incubator.apache.org Subject: Re:

Re: Stack Overflow Error support issues

2006-06-28 Thread Pavel Afremov
You can see my comments inline. On 6/28/06, Weldon Washburn [EMAIL PROTECTED] wrote: Some comments and observations: 1) I like Pavel's approach of trying jitrino.JET. Is it possible to put constraints on the max amount of hardware stack that JET uses? Is it possible to calculate the max

Re: Stack Overflow Error support issues

2006-06-28 Thread Weldon Washburn
On 6/28/06, Pavel Afremov [EMAIL PROTECTED] wrote: You can see my comments inline. I think it's impossible to find max amount of stack that is required for complex components, like JIT. But it's possible to put constraints for some functions, which does simple compilation tasks. hmmm... you

ANN: Apache Harmony featured on javaref.com where AJAX meets javadocs

2006-06-28 Thread Javaref Scribe
Hello everyone, Javaref.com is where ajax meets javadocs. The site provides multi-API javadocs which are cross-referenced with a UI that is ajax driven (enabling featuers such as class/package/method search with auto-complete)! And since the Sun JDK is copyrighted, Apache Harmony takes

Re: [classlib] integration of swing/awt

2006-06-28 Thread Alexey Petrenko
Alternatives for all the libraries? 2006/6/28, Magnusson, Geir [EMAIL PROTECTED]: Before we do that, are there alternatives that we could use? We should get a clearer picture of the options, I think. Geir -Original Message- From: Alexey Petrenko [mailto:[EMAIL PROTECTED] Sent:

Re: ANN: Apache Harmony featured on javaref.com where AJAX meets javadocs

2006-06-28 Thread Alexey Petrenko
Great! But small review shown that there is a lot of not commented classes and methods in Harmony class library. That's another task to do... SY, Alexey 2006/6/28, Javaref Scribe [EMAIL PROTECTED]: Hello everyone, Javaref.com is where ajax meets javadocs. The site provides multi-API

Re: [drlvm] what's next?

2006-06-28 Thread Andrey Chernyshev
Hello, In addition to the already proposed generic tasks like 5.0 support or concurrent GC mentioned by Ivan, I'd like to add some more specific things that might be interesting for people to look at as well: (1) Complete Java bytecode verifier Class structure verification and subroutines (e.g.

Re: [doc] Re: ANN: Apache Harmony featured on javaref.com where AJAX meets javadocs

2006-06-28 Thread Alex Blewitt
Shame it doesn't JavaDoc the internals ... I put a bunch of comments in the pack200 code that isn't part of the externally visible spec :-) Alex. On 28/06/06, Tim Ellison [EMAIL PROTECTED] wrote: (breaking out into a new thread) Here's the link for those that want to try it:

Re: [classlib] Requirement: Regex support for \p{javaDigit}

2006-06-28 Thread Nikolay Kuznetsov
Hello Richard, Thanks for pointing this out. While implementing java character classes I missed the fact that _all_ Character.isXXX methods except deprecated should have corresponding \\p{javaXXX} character class analogues. So the the answer to your question whether we should implement javaDigit

Re: [drlvm] what's next?

2006-06-28 Thread Gregory Shimansky
On Wednesday 28 June 2006 21:05 Andrey Chernyshev wrote: (2) Handling out of C memory conditions VM must throw OutOfMemoryException when there is a lack of C memory. For example, if local or global handle cannot be allocated then OOME should be thrown � OutOfMemoryException must be thrown

Re: [drlvm] what's next?

2006-06-28 Thread Weldon Washburn
Hi Andrey, I think all of what you propose is worth doing. Some of the items might be low priority since they don't directly map to a requirement or spec. It seems 3, 4, 6 and 7 fall in the low priority category. Some additional observations: 3) Eliminate C++ exceptions support is a good

Re: [drlvm] build works on linux

2006-06-28 Thread Andrey Chernyshev
On 6/24/06, Andrey Chernyshev [EMAIL PROTECTED] wrote: I wanted to add that patching ant with cpptasks as it is done today should not be allowed since system wide installations are usually write protected. :) Note that when we're finished, DRLVM shouldn't do anything to the filesystem

Re: [drlvm/mmtk] jitrino.jet write barrier design questions

2006-06-28 Thread Weldon Washburn
Hi Alex, Comment inline below. On 6/27/06, Alex Astapchuk [EMAIL PROTECTED] wrote: Weldon, Weldon Washburn wrote: It would be really nice if jitrino.jet allowed the write barrier to be selected at the start of jitting an individual method. Is this possible? Sure. Currently, jitrino.jet

Re: Stack Overflow Error support issues

2006-06-28 Thread Ivan Volosyuk
Weldon, as far as I understand. There is no problem with jitted code stack overflow checks. The problem arise for JIT compiler itself. It can consume large amount of memory during optimizations. We should be able to handle stack overflow in this native code. The problem I see is that we don't

Re: [classlib] Can't build native on winXP

2006-06-28 Thread Matt Benson
--- Gregory Shimansky [EMAIL PROTECTED] wrote: [SNIP] You can also take a look at this [1] discussion, a very similar question was asked just recently. Gregory: Thanks for all the pointers. I have not touched C since (2 year!) college other than to run make on stuff here and there and it

RE: [classlib][testing] excluding the failed tests

2006-06-28 Thread Nathan Beyer
Two suggestions: 1. Approve the testing strategy [1] and implement/rework the modules appropriately. 2. Fix the tests! -Nathan [1] http://incubator.apache.org/harmony/subcomponents/classlibrary/testing.html -Original Message- From: Geir Magnusson Jr [mailto:[EMAIL PROTECTED] Sent:

[doc] Re: ANN: Apache Harmony featured on javaref.com where AJAX meets javadocs

2006-06-28 Thread Nathan Beyer
Looking at the site reminded me of something... Are there any objections to package-level javadoc files (package.html) being started and checked in? -Nathan -Original Message- From: Tim Ellison [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 11:23 AM To: harmony-dev

Re: [classlib] Requirement: Regex support for \p{javaDigit}

2006-06-28 Thread Richard Liang
That's great! Nik. You're so helpful. Thanks a lot. ;-) Nikolay Kuznetsov wrote: Hello Richard, Thanks for pointing this out. While implementing java character classes I missed the fact that _all_ Character.isXXX methods except deprecated should have corresponding \\p{javaXXX} character class

[classlib][nio] Platform dependent tests in SocketChannelTest

2006-06-28 Thread Andrew Zhang
Hello everybody, I noticed there are 8 FIXMEs in SocketChannelTest, which are mainly caused by platform differences. Take following FIXME as example: public void testCFII_ServerStartLater_NonBlock() throws Exception { // ensure ensureServerClosed();

Re: [classlib][nio] Platform dependent tests in SocketChannelTest

2006-06-28 Thread Paulex Yang
Andrew, I think we have test conventions discussion on this topic, and the discussion result are summarized here: http://incubator.apache.org/harmony/subcomponents/classlibrary/testing.html Andrew Zhang wrote: Hello everybody, I noticed there are 8 FIXMEs in SocketChannelTest, which are

Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-28 Thread Paulex Yang
Jimmy, Jing Lv wrote: Andrew Zhang wrote: Hi everybody, I'm struggling to write a stable test for blocking write/read operation of Socket and SocketChannel. Could you anybody help me out? Hi Andrew: The network testing is a problem to me as well. As all I/O depends on OS, I wonder

Re: [classlib][nio] Platform dependent tests in SocketChannelTest

2006-06-28 Thread Jimmy, Jing Lv
Andrew Zhang wrote: Hello everybody, I noticed there are 8 FIXMEs in SocketChannelTest, which are mainly caused by platform differences. Take following FIXME as example: public void testCFII_ServerStartLater_NonBlock() throws Exception { // ensure ensureServerClosed();

Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-28 Thread Andrew Zhang
On 6/29/06, Paulex Yang [EMAIL PROTECTED] wrote: Jimmy, Jing Lv wrote: Andrew Zhang wrote: Hi everybody, I'm struggling to write a stable test for blocking write/read operation of Socket and SocketChannel. Could you anybody help me out? Hi Andrew: The network testing is a