[cp-patches] RFC: VM Interface Change: Addition of VMArray

2006-03-18 Thread Andrew John Hughes
I propose the attached patch which moves the native method in java.lang.reflect.Array to a new VMArray class, as per PR#22923. Changelog: 2006-03-18 Andrew John Hughes <[EMAIL PROTECTED]> * doc/vmintegration.texinfo: Updated to include VMArray. * include/Makefile.am:

[cp-patches] RFC: gnu.regexp: whitespaces and comments in pattern

2006-03-18 Thread Ito Kazumitsu
Hi, This is to support Perl's "/x" modifier. 2006-03-19 Ito Kazumitsu <[EMAIL PROTECTED]> * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag, (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set. * java/util/regex/Pattern.java(constructor): Set

[cp-patches] FYI: JTable checkbox renderer fix.

2006-03-18 Thread Audrius Meskauskas
This patch fixes the wrong rendering of the selected cells, containing check boxes (the background does not change into selected background). 2006-03-18 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/JTable.java (BooleanCellRenderer): Rewritten. Index: javax/swing/JTable.java ===

[cp-patches] FYI: OceanTheme support in JToolBar

2006-03-18 Thread Roman Kennke
I added OceanTheme support for the JToolBar. Strange thing is, Sun's implementation actually uses the UIManager property "MenuBar.gradient". I've implemented it like this and added a TODO, I would think that this might be a bug and be changed in future releases of Sun's JDK. 2006-03-18 Roman Kenn

[cp-patches] JTable editing activation fix.

2006-03-18 Thread Audrius Meskauskas
In Sun's Swing, the JTable cell editing session starts (for the focused editable cell) every time the character key is pressed. No double mouse click is required like in our implementation. This path implements the activation of the table cell editing on character key stroke in Classpath. 2006

[cp-patches] FYI: gtk-peer mouse wheel support

2006-03-18 Thread Mark Wielaard
Hi, While testing out WW2D Pere pointed out that it is much cooler with scroll mouse wheel support to zoom in and out. He was right. And luckily we had almost all infrastructure in place so it was rather straight-forward to implement. 2006-03-18 Mark Wielaard <[EMAIL PROTECTED]> * java/awt

[cp-patches] FYI:JTable editing fix.

2006-03-18 Thread Audrius Meskauskas
The table editing currently was a little bit broken again: the caret image was not cleared after moving the cursor with the cursor arrow keys. I discovered that the functionality is broken by the overridden method TableTextField.scrollRectToVisible. The need of the code in this method is rather

[cp-patches] FYI: Remove unnecessary casts to GdkGraphics

2006-03-18 Thread Mark Wielaard
Hi, The following two casts to GdkGraphics were unnecessary and prevented some usage of the GdkGraphics2D class (which isn't a subclass of GdkGraphics). 2006-03-18 Mark Wielaard <[EMAIL PROTECTED]> * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent): Don't cast graph

[cp-patches] FYI:Add column with icons to the Swing JTable demo.

2006-03-18 Thread Audrius Meskauskas
This patch demonstrates that we also support the icons as table components. 2006-03-18 Audrius Meskauskas <[EMAIL PROTECTED]> * examples/gnu/classpath/examples/swing/TableDemo.java (TModel.getColumnClass): Set second column to Icon. (TModel.isCellEditable): Say icons are not editable.

[cp-patches] FYI:Preventing button height growth in Swing Demo

2006-03-18 Thread Audrius Meskauskas
When the demo application window grows, the buttons at the bottom also grow, leaving less place for experiments with the demo frames. This patch sets the fixed maximal height (but not width) for the button bar. This allows to maximize the application window and esier perform various experiments

[cp-patches] FYI: BasicLookAndFeel

2006-03-18 Thread Roman Kennke
Some time ago I added special handling for JPopupMenus to the BasicLookAndFeel so they are autoclosed just like the JMenus. Yesterday I checked in a patch that makes the JPopupMenu handling done in the MenuSelectionManager framework, so this special handling is no longer needed. This should slightl

[cp-patches] FYI: BasicComboPopup fix

2006-03-18 Thread Roman Kennke
This patch fixes the last outstanding (AFAICT) layout issue in the JComboBox: 1. the popup was slightly too wide, which is caused by the layout not respecting the popup's insets. 2. empty comboboxes have a default height of 100 in Sun's impl. I fixed the BasicComboPopup to also do this. 2006-03-18

[cp-patches] FYI:Cell editor fixes

2006-03-18 Thread Audrius Meskauskas
Currently the cell editor starts few pixels right from where the cell content was previously painted. This is because the moveToCellBeingEdited contains the hard coded offset, probably a compensation of some bug that is now fixed. The cell content is now painted much closer to the left cell bou

[cp-patches] [Patch] locale data update - part 1

2006-03-18 Thread Michael Koch
Hello list, I just commited the first part of the next locale data update to CLDR 1.3. This patch updates localized strings for territories, languages, variants, currency symbols and currency names. More updates to come. I dont attached the commited patch because it is too big (it is 1.8 MB unz