I'm committing the attached patch which adds some features required by
the new concurrency tree prepared by Tom Tromey and documented by
myself.
Changelog:
2006-03-20 Andrew John Hughes [EMAIL PROTECTED]
* java/lang/System.java:
(nanoTime()): Documented.
*
2006-03-20 Audrius Meskauskas [EMAIL PROTECTED]
* javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
* javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
(getScrollableUnitIncrement
* javax/swing/Scrollable.java: Documented.
*
Hi Audrius,
Am Montag, den 20.03.2006, 01:06 +0100 schrieb Audrius Meskauskas:
Surely, we can make via BasicScrollPaneUI and then have the JTrees
scrolling with the wheel as well!
Wow, very nice!
However, I would not recommend to change the getScrollableUnitIncrement
methods. The units must
Hi Olivier,
On Tue, 2006-03-07 at 22:57 +0100, Olivier Jolly wrote:
the current implementation which retrieves a File resource allows to
retrieve Files which are located above the root dir (imagine
ClassLoader.getResource(../../../etc/passwd)) while it shouldn't
(hence the current
On Mon, 2006-03-20 at 10:20 +0100, Roman Kennke wrote:
The units must stay the same (like one row for a JTable, one
line of text in JTextComponent and so on). This is because a single
click on a scollbar button scrolls the thing for exactly one unit. Only
the MouseWheelListener should multiply
Andrew John Hughes wrote:
I'm committing the attached patch which adds some features required by
the new concurrency tree prepared by Tom Tromey and documented by
myself.
+public class Unsafe
Unsafe should be final, otherwise you can create an instance by
subclassing and capturing the this in
This is not so trivial, because, following the API,
getScrollableUnitIncrement should also perform the rounding operation,
completely exposing the subsequent item. I will think how to do this better.
Audrius.
Roman Kennke wrote:
Hi Audrius,
Am Montag, den 20.03.2006, 01:06 +0100 schrieb
Hi Audrius,
Am Montag, den 20.03.2006, 10:53 +0100 schrieb Audrius Meskauskas:
This is not so trivial, because, following the API,
getScrollableUnitIncrement should also perform the rounding operation,
completely exposing the subsequent item. I will think how to do this better.
maybe do a
As Roman noticed, in the previous patch the number of rows per whell
click is multiplied to the magic number 3 in the JTree and JTable. This
forces always to scroll by 3 lines, when clicking on the arrow button of
the scroll bar should only scroll by one.
I move the magic 3 constant to the
I have reworked parts of the BasicTabbedPaneUI.TabbedPaneLayout layout
manager. This makes the layout and switching-between-tabs more efficient
and correct (I hope).
This also includes some JDK1.5 additions wrt rollover tabs which wrote
some time ago and which I originally wanted to complete
My last patch seems to have broken TabbedPane painting slightly. This
was because the order in which the tabs are stored internally has
changed. I fixed this and made the painting code slighly more
straightforward.
2006-03-20 Roman Kennke [EMAIL PROTECTED]
*
And on we go with fixing the BasicTabbedPaneUI. This patch fixes the
layout of the tabs a little more:
2006-03-20 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(calculateTabHeight): Not need to use SwingUtilities here.
(getTabInsets): Do
On 3/19/06, Stuart Ballard [EMAIL PROTECTED] wrote:
As far as I can figure out, an annotation is pretty much the only way
to get these kinds of methods to get flagged by Japi.
Actually, I figured out (and implemented in Japi) a place where we can
carry a flag on any method without requiring 1.5
Hi,
On Sun, 2006-03-19 at 11:54 +0100, Mark Wielaard wrote:
Only for those functions that manipulate Graphics state also
the main gdk lock is acquired.
Yes, this patch looks good. The danger in introducing another lock is
mutual-embrace deadlocks but I looked through the code and there
Hi Michael,
On Sun, 2006-03-19 at 22:40 +, Michael Koch wrote:
I just commited another update for the locale data update to CLDR 1.3.
The only things still missing is the update of the currency formats and
the new locales.
Could you take a quick look at the following regressions (and one
Hi,
On Mon, 2006-03-20 at 09:28 -0500, Thomas Fitzsimmons wrote:
On Sun, 2006-03-19 at 11:54 +0100, Mark Wielaard wrote:
Yes, this patch looks good. The danger in introducing another lock is
mutual-embrace deadlocks but I looked through the code and there aren't
any cases where the locks are
Hi Mark,
On 3/20/06, Mark Wielaard [EMAIL PROTECTED] wrote:
Hi,
Done. If you have a scroll mouse please try out WW2D with Cacao (I
didn't get it working with jamvm yet, which seems to crash after loading
jawt).
What version of JamVM are you using (i.e. is it CVS or a released
version)?
On 3/20/06, Andrew John Hughes [EMAIL PROTECTED] wrote:
It sounds like a bad hack on the JAPI side, but it's up to you if you're
maintaining this.
True enough, but I think the problem of stub-inflated japi reports is
important enough to try to find some way of tackling it. Obviously an
I took a deep look at how the painting of the TabbedPane work. I
determined which methods call which under which circumstances and with
which parameters and tried to recreate the paining behaviour as close as
possible in the BasicTabbedPaneUI. The according Metal fixes follow
soon.
2006-03-20
On Mon, 20 Mar 2006 09:15:41 -0500
Stuart Ballard [EMAIL PROTECTED] wrote:
On 3/19/06, Stuart Ballard [EMAIL PROTECTED] wrote:
As far as I can figure out, an annotation is pretty much the only way
to get these kinds of methods to get flagged by Japi.
Actually, I figured out (and
Hi Rob,
On Mon, 2006-03-20 at 15:37 +, Robert Lougher wrote:
On 3/20/06, Mark Wielaard [EMAIL PROTECTED] wrote:
Done. If you have a scroll mouse please try out WW2D with Cacao (I
didn't get it working with jamvm yet, which seems to crash after loading
jawt).
What version of JamVM are
On Mon, 2006-03-20 at 19:20 +0100, Mark Wielaard wrote:
Hi Rob,
On Mon, 2006-03-20 at 15:37 +, Robert Lougher wrote:
On 3/20/06, Mark Wielaard [EMAIL PROTECTED] wrote:
Done. If you have a scroll mouse please try out WW2D with Cacao (I
didn't get it working with jamvm yet, which
Hi Audrius,
The patch seems bringing no regressions, as far as I was able to test.
Thanks for fixing this. Do you think you could write a testcase for the
problem you originally had?
/Roman
I only used visual tests at the moment. However the table was really
bottom
Andrew == Andrew John Hughes [EMAIL PROTECTED] writes:
Tom We need to declare war on stubs. They improperly inflate our japi
Tom scores and blind us to the real state of Classpath. Also I seem to
Tom keep running into them as I dig around :-(
Andrew My gut instinct would be to remove them
Stuart == Stuart Ballard [EMAIL PROTECTED] writes:
Stuart What's the status on the whole ecj-as-gcc-frontend thing?
It is still being discussed by the GCC Steering Committee. I'm
hopeful that we'll get the go-ahead and be able to have this in GCC
4.2.
Stuart Since gcj
Stuart and ecj are
Tom Tromey writes:
Andrew == Andrew John Hughes [EMAIL PROTECTED] writes:
Tom We need to declare war on stubs. They improperly inflate our japi
Tom scores and blind us to the real state of Classpath. Also I seem to
Tom keep running into them as I dig around :-(
Andrew My gut
In my last patch I made a slight mistake. I used the next index
directly, instead of looking up the next tab run in the tabRuns array.
This caused most tabs to be not drawn.
2006-03-20 Roman Kennke [EMAIL PROTECTED]
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
Re
Mark Wielaard wrote:
I propose to check the validity of a File resource by walking through
all the path components and making sure that all intermediate components
are valid (ie File.isDirectory and File.exists are true) and that we
never try to get out the root directory.
I only
During development of the XML parser I prevented U+fffd from being
classified as an XML Char. Since the introduction of the
UnicodeReader class this hack is no longer required. I committed this
patch to re-classify U+fffd as a Char and permit the parsing of
documents containing this
Stuart == Stuart Ballard [EMAIL PROTECTED] writes:
I like David's idea of a STUB comment.
Stuart Does anyone know if eclipse allows plugging in custom rules to produce
Stuart warnings, and where (if anywhere) there's documentation on how to
Stuart produce such rules?
I don't know.
Eclipse
I added support for the tabsOpaque UIManager property to the
BasicTabbedPane. This property causes the tab background (note: not the
whole JTabbedPane!) to be painted or not, depending on the value.
2006-03-20 Roman Kennke [EMAIL PROTECTED]
*
Here comes the bulk of my today's work. It fixes up the painting of the
TabbedPane, including support for the OceanTheme.
The paint* methods look quite difficult, but 1. after my observations I
couldn't think of a more simple way to perform the painting (while
beeing correct). 2. Once you grok
Stuart == Stuart Ballard [EMAIL PROTECTED] writes:
Stuart I believe Classpath already has an unchecked NotImplementedException
Stuart so that's what I used. Any method marked as throws
Stuart NotImplementedException will be reported by Japi as not implemented
Stuart in Classpath, in the same
Baseline from: Mon Mar 20 00:20:23 UTC 2006
Regressions:
FAIL: gnu.testlet.java.lang.Thread.sleep: Interrupted sleep (number 2)
FAIL: gnu.testlet.locales.LocaleTest: numberformats locale: fi_FI (number 1)
FAIL: gnu.testlet.locales.LocaleTest: numberformats locale: fi_FI (number 10)
FAIL:
Japi diff jdk15 vs classpath-generics:
Full results:
http://www.kaffe.org/~stuart/japi/htmlout/h-jdk15-classpath-generics.html
Changes since last run:
-Comparison run at Sun Mar 19 11:45:06 2006 GMT
-jdk15 API scanned at 2006/03/19 05:09:11 EST
-classpath-generics API scanned at 2006/03/19
Baseline from: Thu Mar 16 22:13:39 UTC 2006
Regressions:
FAIL: Thread_Sleep -O3 output - bytecode-native test
Totals:
PASS: 3407
XPASS: 0
FAIL: 1
XFAIL: 10
___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
Baseline from: Thu Mar 16 22:13:39 UTC 2006
Regressions:
FAIL: Thread_Sleep output - source compiled test
Totals:
PASS: 3407
XPASS: 0
FAIL: 1
XFAIL: 10
___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
On 3/17/06, Stuart Ballard [EMAIL PROTECTED] wrote:
Japi's supposed to consider replacing a nongeneric type with something
that erases to that type as okay.
Still looking into this one. Keep 'em coming!
Found it - japicompat wasn't correctly calculating the erasure of
XY style types. Fix
Baseline from: Sat Mar 18 09:41:25 UTC 2006
Regressions:
FAIL: Thread_Sleep output - bytecode-native test
Totals:
PASS: 3407
XPASS: 0
FAIL: 1
XFAIL: 10
___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
xargs: jamvm: terminated by signal 11
___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults
On 3/19/06, Stuart Ballard [EMAIL PROTECTED] wrote:
As far as I can figure out, an annotation is pretty much the only way
to get these kinds of methods to get flagged by Japi.
Actually, I figured out (and implemented in Japi) a place where we can
carry a flag on any method without requiring 1.5
--- Comment #12 from rafaels at redhat dot com 2006-03-20 15:52 ---
Created an attachment (id=11073)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11073action=view)
test suite
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26668
you're too late. If you read everything after, things are clear now. No
worries...
Clemens Eisserer wrote:
I don't believe in having a thousand VM projects. Mysaifu is
nowhere near anything specs compliant.
Wow this guy is unpolite!
Maybe you should ask IBM(J9) or the company that
On 3/20/06, Andrew John Hughes [EMAIL PROTECTED] wrote:
It sounds like a bad hack on the JAPI side, but it's up to you if you're
maintaining this.
True enough, but I think the problem of stub-inflated japi reports is
important enough to try to find some way of tackling it. Obviously an
On Mon, 20 Mar 2006 09:15:41 -0500
Stuart Ballard [EMAIL PROTECTED] wrote:
On 3/19/06, Stuart Ballard [EMAIL PROTECTED] wrote:
As far as I can figure out, an annotation is pretty much the only way
to get these kinds of methods to get flagged by Japi.
Actually, I figured out (and
On Fri, 2006-03-17 at 11:32 -0500, Thomas Fitzsimmons wrote:
Hi,
Anthony Balkissoon has expressed interest in improving Mauve so we'd
like to know what would be the best things to work on.
Another suggestion that Tom Fitzsimmons had was to change the way we
count the number of tests.
Andrew == Andrew John Hughes [EMAIL PROTECTED] writes:
Tom We need to declare war on stubs. They improperly inflate our japi
Tom scores and blind us to the real state of Classpath. Also I seem to
Tom keep running into them as I dig around :-(
Andrew My gut instinct would be to remove them
Stuart == Stuart Ballard [EMAIL PROTECTED] writes:
Stuart What's the status on the whole ecj-as-gcc-frontend thing?
It is still being discussed by the GCC Steering Committee. I'm
hopeful that we'll get the go-ahead and be able to have this in GCC
4.2.
Stuart Since gcj
Stuart and ecj are
Tom Tromey writes:
Andrew == Andrew John Hughes [EMAIL PROTECTED] writes:
Tom We need to declare war on stubs. They improperly inflate our japi
Tom scores and blind us to the real state of Classpath. Also I seem to
Tom keep running into them as I dig around :-(
Andrew My gut
On 20 Mar 2006 11:45:27 -0700, Tom Tromey [EMAIL PROTECTED] wrote:
Having a list of stubs would be a good start. The ones I fixed this
weekend I ran across by chance; I had no idea we had stubs in AWT at
all.
I like David's idea of a STUB comment.
Does anyone know if eclipse allows plugging
Hi,
Are any free VMs currently supported on OS X for Intel (natively)?
Alternatively, if there's a concise description on what's needed to
support jamvm or cacao (function call ABI hacks, I'd assume), I'd be
happy to hack on it.
On Mar 20, 2006, at 2:07 PM, Christian Thalinger wrote:
On Mon, 2006-03-20 at 13:51 -0800, Casey Marshall wrote:
Hi,
Are any free VMs currently supported on OS X for Intel (natively)?
Alternatively, if there's a concise description on what's needed to
support jamvm or cacao (function call
Stuart == Stuart Ballard [EMAIL PROTECTED] writes:
Stuart I believe Classpath already has an unchecked NotImplementedException
Stuart so that's what I used. Any method marked as throws
Stuart NotImplementedException will be reported by Japi as not implemented
Stuart in Classpath, in the same
On Mon, 2006-03-20 at 14:55 -0800, Casey Marshall wrote:
I did blindly try the i386-linux ABI support in jamvm, but that was
hitting some weird SIGILL.
Strange.
My understanding is that the Darwin-i386 ABI is very similar to the
SYSV ABI, with some alignment changes. I did something
On 3/20/06, Casey Marshall [EMAIL PROTECTED] wrote:
On Mar 20, 2006, at 2:07 PM, Christian Thalinger wrote:
On Mon, 2006-03-20 at 13:51 -0800, Casey Marshall wrote:
Hi,
Are any free VMs currently supported on OS X for Intel (natively)?
Alternatively, if there's a concise description
CVSROOT:/sources/classpath
Module name:classpath
Branch:
Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/03/20 09:09:36
Modified files:
javax/swing: JTree.java JTable.java Scrollable.java
javax/swing/plaf/basic: BasicScrollPaneUI.java
.
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Roman Kennke [EMAIL PROTECTED]06/03/20 11:14:07
Modified files:
javax/swing/plaf/basic: BasicTabbedPaneUI.java
. : ChangeLog
Log message:
2006-03-20 Roman
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Roman Kennke [EMAIL PROTECTED]06/03/20 11:42:11
Modified files:
javax/swing/plaf/basic: BasicTabbedPaneUI.java
. : ChangeLog
Log message:
2006-03-20 Roman
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Roman Kennke [EMAIL PROTECTED]06/03/20 14:10:09
Modified files:
. : ChangeLog
javax/swing/plaf/basic: BasicTabbedPaneUI.java
Log message:
2006-03-20 Roman
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Mark Wielaard [EMAIL PROTECTED] 06/03/20 14:42:38
Modified files:
. : ChangeLog
gnu/java/awt/peer/gtk: GdkPixbufDecoder.java GtkImage.java
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Roman Kennke [EMAIL PROTECTED]06/03/17 15:37:02
Modified files:
javax/swing/plaf/basic: BasicComboPopup.java
. : ChangeLog
Log message:
2006-03-17 Roman
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Roman Kennke [EMAIL PROTECTED]06/03/20 17:34:57
Modified files:
javax/swing/plaf/basic: BasicTabbedPaneUI.java
. : ChangeLog
Log message:
2006-03-20 Roman
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Robert Schuster [EMAIL PROTECTED] 06/03/17 20:38:35
Modified files:
. : ChangeLog
javax/swing/text: DefaultCaret.java
Log message:
Fixes selecting text with
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Roman Kennke [EMAIL PROTECTED]06/03/17 21:30:01
Modified files:
javax/swing/plaf/metal: MetalComboBoxUI.java
. : ChangeLog
Log message:
2006-03-17 Roman
CVSROOT:/sources/classpath
Module name:classpath
Branch:
Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/03/20 11:26:05
Modified files:
javax/swing: JTree.java JTable.java
javax/swing/plaf/basic: BasicScrollPaneUI.java
. :
CVSROOT:/sources/classpath
Module name:classpath
Branch:
Changes by: Michael Koch [EMAIL PROTECTED]06/03/18 08:29:09
Modified files:
. : ChangeLog
resource/gnu/java/locale: LocaleInformation_aa.properties
CVSROOT:/sources/classpath
Module name:classpath
Branch:
Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/03/17 12:19:28
Modified files:
java/rmi/activation: Activatable.java package.html
ActivationGroupDesc.java ActivationID.java
CVSROOT:/sources/classpath
Module name:classpath
Branch:
Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/03/18 16:18:42
Modified files:
. : ChangeLog
examples/gnu/classpath/examples/swing: Demo.java
Log message:
2006-03-18
CVSROOT:/sources/classpath
Module name:classpath
Branch:
Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/03/18 19:37:21
Modified files:
. : ChangeLog
javax/swing: JTable.java
Log message:
2006-03-18 Audrius Meskauskas
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Roman Kennke [EMAIL PROTECTED]06/03/19 11:37:41
Modified files:
javax/swing: MenuSelectionManager.java
. : ChangeLog
Log message:
2006-03-18 Roman
CVSROOT:/sources/classpath
Module name:classpath
Branch:
Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/03/19 13:01:51
Modified files:
javax/swing: ViewportLayout.java
. : ChangeLog
Log message:
2006-03-19 Audrius
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: generics-branch
Changes by: Andrew John Hughes [EMAIL PROTECTED] 06/03/19 18:36:04
Removed files:
gnu/java/security/provider: GnuDSAPrivateKey.java
GnuRSAPrivateKey.java
CVSROOT:/sources/classpath
Module name:classpath
Branch:
Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/03/20 00:08:27
Modified files:
javax/swing: JTree.java JTable.java
javax/swing/plaf/basic: BasicScrollPaneUI.java BasicTableUI.java
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Andrew John Hughes [EMAIL PROTECTED] 06/03/20 01:08:43
Modified files:
. : ChangeLog
doc: vmintegration.texinfo
Log message:
2006-03-20 Andrew John
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Andrew John Hughes [EMAIL PROTECTED] 06/03/20 00:43:07
Modified files:
. : ChangeLog NEWS
Log message:
2006-03-20 Andrew John Hughes [EMAIL PROTECTED]
*
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Roman Kennke [EMAIL PROTECTED]06/03/20 19:29:17
Modified files:
. : ChangeLog
javax/swing/plaf/basic: BasicTabbedPaneUI.java
Log message:
2006-03-20 Roman
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Chris Burdess [EMAIL PROTECTED] 06/03/20 19:54:35
Modified files:
. : ChangeLog
gnu/xml/stream : XMLParser.java
Log message:
2006-03-20 Chris Burdess
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch:
Changes by: Wolfgang Baer [EMAIL PROTECTED] 06/03/20 21:04:40
Modified files:
org/omg/CORBA : NO_MEMORY.java BAD_INV_ORDER.java
CurrentHolder.java PolicyError.java
78 matches
Mail list logo