1. 19 Apr, 2005 35 commits
    • re PR libgcj/21064 ([4.0 only] StyleContext.addStyle causes NullPointerException) · 6384325b
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	PR libgcj/21064
      	* javax/swing/text/StyleContext.java
      	(NamedStyle.setResolveParent): Added null
      	pointer check.
      
      From-SVN: r98402
      Roman Kennke committed
    • RemoteObject.java: Removed unused import statement. · 69ae1f74
      2005-04-19  Michael Koch  <konqueror@gmx.de>
      
      	* java/rmi/server/RemoteObject.java:
      	Removed unused import statement.
      
      From-SVN: r98400
      Michael Koch committed
    • URL.java: Formatting cleanups. · 2a2dd459
      2005-04-19  Michael Koch  <konqueror@gmx.de>
      
      	* java/net/URL.java: Formatting cleanups.
      
      From-SVN: r98399
      Michael Koch committed
    • FontMetrics.java: Reformatted. · b53d0783
      2005-04-19  Michael Koch  <konqueror@gmx.de>
      
      	* java/awt/FontMetrics.java: Reformatted.
      	(getFontRenderContext): Handle case when java.awt.Graphics context is
      	given.
      
      2005-04-19  Michael Koch  <konqueror@gmx.de>
      
      	* java/awt/FontMetrics.java
      	(getStringBounds): New methods.
      
      From-SVN: r98398
      Michael Koch committed
    • 2005-04-19 Michael Koch <konqueror@gmx.de> · fd603291
      	* gnu/java/security/x509/X509Certificate.java
      	(parse): Handle val == null case.
      
      From-SVN: r98397
      Michael Koch committed
    • [multiple changes] · 2330df3b
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalLookAndFeel.java
      	(initComponentDefaults): Added defaults for Menu, MenuBar
      	MenuEntry fonts.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalLookAndFeel.java
      	(initComponentDefaults): Added Label.font.
      	(initSystemColorDefaults): Added this method and adjusted the
      	general control color.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalBorders.java:
      	Added.
      	* javax/swing/plaf/metal/MetalButtonUI.java:
      	(installDefaults): Install button font.
      	* javax/swing/plaf/metal/MetalLookAndFeel.java:
      	(initComponentDefaults): Added button border, font and margin.
      	Changed components background color to the Metal current themes
      	standard color.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalLookAndFeel.java
      	(initComponentDefaults): Added to set Metal specific component
      	defaults.
      
      2005-04-19  Mark Wielaard  <mark@klomp.org>
      
      	* javax/swing/plaf/metal/MetalLookAndFeel.java
      	(initClassDefaults): Call super.initClassDefaults().
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalLookAndFeel.java
      	(initClassDefaults): Added to include the *UI classes.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalComboBoxUI.java:
      	Added.
      	* javax/swing/plaf/metal/MetalDesktopIconUI.java:
      	Added.
      	* javax/swing/plaf/metal/MetalInternalFrameUI.java:
      	Added.
      	* javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
      	Added.
      	* javax/swing/plaf/metal/MetalProgressBarUI.java:
      	Added.
      	* javax/swing/plaf/metal/MetalRootPaneUI.java:
      	Added.
      	* javax/swing/plaf/metal/MetalScrollBarUI.java:
      	Added.
      	* javax/swing/plaf/metal/MetalSeparatorUI.java:
      	Added.
      	* javax/swing/plaf/metal/MetalSliderUI.java:
      	Added.
      	* javax/swing/plaf/metal/MetalSplitPaneUI.java:
      	Added.
      	* javax/swing/plaf/metal/MetalTextFieldUI.java:
      	Added.
      	* javax/swing/plaf/metal/MetalToggleButtonUI.java:
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalButtonUI.java:
      	Added skeleton class.
      	* javax/swing/plaf/metal/MetalCheckBoxUI.java:
      	Added skeleton class.
      	* javax/swing/plaf/metal/MetalLabelUI.java:
      	Added skeleton class.
      	* javax/swing/plaf/metal/MetalRadioButtonUI.java:
      	Added skeleton class.
      	* javax/swing/plaf/metal/MetalScrollPaneUI.java:
      	Added skeleton class.
      	* javax/swing/plaf/metal/MetalTabbedPaneUI.java:
      	Added skeleton class.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/UIDefaults.java:
      	Added API documentation for all methods.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/UIDefaults.java
      	(put): Now uses new checkAndPut method instead of checking
      	directly.
      	(putDefaults): Fixed so that it accepts null-values and
      	treats them like remove(key).
      	(checkAndPut): Added. This checks for null-values and calls
      	put or remove.
      
      2005-04-19  Michael Koch  <konqueror@gmx.de>
      
      	* Makefile.am: Added new files.
      	* Makefile.in: Regenerated.
      
      From-SVN: r98396
      Michael Koch committed
    • java-except.h (struct eh_range.handler): Remove unused field. · d393cb72
      2005-04-18  Andrew Haley  <aph@redhat.com>
      
              * java-except.h (struct eh_range.handler): Remove unused field.
              (handle_nested_ranges): Remove function declaration.
              (sanity_check_exception_range): Add function declaration.
              * verify.c (verify_jvm_instructions): Remove call to
              handle_nested_ranges.
              * verify-glue.c (verify_jvm_instructions_new): Call
              sanity_check_exception_range.
              * except.c (link_handler, eh_range_freelist, link_handler,
              handle_nested_ranges): Remove.
              (add_handler): Rewrite.
              (sanity_check_exception_range): New function.
              (print_ranges): New function.
      
      From-SVN: r98395
      Andrew Haley committed
    • natRuntime.cc (insertSystemProperties): Set java.class.path to CLASSPATH only when not empty. · 8a5691f8
             * java/lang/natRuntime.cc (insertSystemProperties): Set
             java.class.path to CLASSPATH only when not empty. Fall back to
             default path "." when java.class.path is empty.
      
      From-SVN: r98394
      Mark Wielaard committed
    • ControlWordToken.java, [...]: New files. · f5c27306
      2005-04-19  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/text/rtf/ControlWordToken.java,
      	javax/swing/text/rtf/RTFEditorKit.java,
      	javax/swing/text/rtf/RTFParseException.java,
      	javax/swing/text/rtf/RTFParser.java,
      	javax/swing/text/rtf/RTFScanner.java,
      	javax/swing/text/rtf/TextToken.java,
      	javax/swing/text/rtf/Token.java: New files.
      	* Makefile.am: Added new files.
      	* Makefile.in: Regenerated.
      
      From-SVN: r98393
      Michael Koch committed
    • QuadCurve2D.java: Fixed Brian Gough's name for real. · 2b22418b
      2005-04-19  Michael Koch  <konqueror@gmx.de>
      
      	* java/awt/geom/QuadCurve2D.java:
      	Fixed Brian Gough's name for real.
      
      From-SVN: r98392
      Michael Koch committed
    • re PR fortran/16861 ([4.0 only] segfault with doubly used module) · 009e94d4
      	PR fortran/16861
      	* resolve.c (resolve_variable): If e->symtree is not set, this
      	ought to be a FAILURE, and not a segfault.
      	* gfortran.dg/pr16861.f90: New test.
      
      From-SVN: r98391
      Francois-Xavier Coudert committed
    • re PR target/21098 (.note.GNU-stack emitted) · 1334b570
      	PR target/21098
      	* config/rs6000/rs6000.c (rs6000_elf_end_indicate_exec_stack): New.
      	* config/rs6000/linux64.h (TARGET_ASM_FILE_END): Use the above.
      
      From-SVN: r98390
      Alan Modra committed
    • UIManager.java: Make the UIManager respect the swing.defaultlaf system property. · 4821f309
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/UIManager.java:
      	Make the UIManager respect the swing.defaultlaf system
      	property.
      
      From-SVN: r98389
      Roman Kennke committed
    • natVMClassLoader.cc (loadClass): Call resolveClass, not _Jv_InitClass. · 8fe0225b
      	* java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
      	not _Jv_InitClass.
      
      From-SVN: r98388
      Tom Tromey committed
    • BasicMenuBarUI.java: Fixed tabs to spaces. · 117e7444
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/basic/BasicMenuBarUI.java:
      	Fixed tabs to spaces.
      
      From-SVN: r98387
      Roman Kennke committed
    • 2005-04-19 Roman Kennke <roman@kennke.org> · 6f5d6533
      	* javax/swing/plaf/basic/BasicMenuUI.java
      	(getMaximumSize): Now returns preferredSize because JMenu should
      	never be bigger than that.
      	* javax/swing/JRootPane
      	(RootLayout.layoutContainer): Make JMenuBars take the whole width.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/JRootPane.java:
      	Fixed various tabs to be spaces.
      	(RootLayout.layoutContainer): Made menubar left aligned.
      
      From-SVN: r98386
      Roman Kennke committed
    • 2005-04-19 Roman Kennke <roman@ontographics.com> · 48918616
      	* javax/swing/JList.java
      	(getPreferredScrollableViewportSize):
      	The previous implementation was merely guessing the size,
      	now it respects layoutOrientation, visibleRowCount
      	and preferredSize.
      	(getScrollableTracksViewportHeight):
      	Reimplemented so that layoutOrientation, visibleRowCount
      	and preferred size are respected.
      	(getScrollableTracksViewportWidth):
      	Reimplemented so that layoutOrientation, visibleRowCount
      	and preferred size are respected.
      	* javax/swing/plaf/basic/BasicListUI.java
      	(getPreferredSize):
      	Improved calculation of preferredSize when JList is
      	set to HORIZONTAL_WRAP or VERTICAL_WRAP.
      	(getCellBounds):
      	The previous implementation assumed a layoutOrientation of
      	JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
      	JList.VERTICAL_WRAP.
      
      2005-04-19  Roman Kennke  <roman@ontographics.com>
      
      	* javax/swing/plaf/basic/BasicListUI.java
      	(paintCell): use CellRendererPane for painting the cells.
      
      2005-04-19  Roman Kennke  <roman@ontographics.com>
      
      	* javax/swing/plaf/basic/BasicListUI:
      	fixed modifiers of several fields, methods and inner
      	classes to match the 'spec'.
      	(getMaximumSize): removed. It's not in the spec and the
      	implementations was superfluous.
      
      2005-04-19  Roman Kennke  <roman@ontographics.com>
      
      	* javax/swing/plaf/basic/BasicListUI:
      	make BasicListUI capable of wrapping lists
      	(layoutOrientation property of javax.swing.JList)
      
      2005-04-19  Roman Kennke  <roman@ontographics.com>
      
      	* javax/swing/plaf/basic/BasicListUI
      	(updateLayoutState,paint): make BasicListUI aware of the
      	width of the rendered JList.
      
      From-SVN: r98385
      Roman Kennke committed
    • 2005-04-19 Roman Kennke <roman@kennke.org> · b9d896d6
      	* javax/swing/ImageIcon.java
      	Added API documentation.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/text/ImageIcon.java
      	(ImageIcon): Use setImage instead of direct assignment.
      	(setImage): Call loadImage to make sure that the image is loaded.
      	(loadImage): Waits for the image to complete loading.
      	(getImageLoadStatus): Added. Returns the load status of the
      	image.
      
      From-SVN: r98384
      Roman Kennke committed
    • JTextArea.java (replaceRange): Fixing doc.remove(start, length) misinterpretation. · 3419f465
      2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
      
      	* javax/swing/JTextArea.java (replaceRange):
      	Fixing doc.remove(start, length) misinterpretation.
      
      From-SVN: r98381
      Audrius Meskauskas committed
    • CellRendererPane.java: implemented all methods of this class. · ea899eff
      2005-04-19  Roman Kennke  <roman@ontographics.com>
      
      	* javax/swing/CellRendererPane.java:
      	implemented all methods of this class.
      	reformatted all wrong formatted code.
      
      From-SVN: r98379
      Roman Kennke committed
    • [multiple changes] · f8bf4f42
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/BoxLayout.java:
      	(layoutContainer): Made this layout manager respect the
      	minimum, maximum and preferred size more correctly.
      
      2005-04-19  Roman Kennke  <roman@ontographics.com>
      
      	* javax/swing/BoxLayout.java:
      	(preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
      	layoutContainer): Make these methods and thereby the
      	BoxLayout respect the insets (like borders) of the
      	component that is laid out.
      
      From-SVN: r98378
      Michael Koch committed
    • JComponent.java: Modified alignmentX and alignmentY to be 0.5 instead of 0.0. · 615af656
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/JComponent.java:
      	Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
      	Untabified the file.
      
      From-SVN: r98377
      Roman Kennke committed
    • JComboBox.java (constructors): selecting the first item if the box was… · a7661a40
      JComboBox.java (constructors): selecting the first item if the box was constructed from the provided non -...
      
      2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>
      
      	* javax/swing/JComboBox.java (constructors): selecting the
      	first item if the box was constructed from the provided
      	non - empty array or vector.
      
      From-SVN: r98376
      Audrius Meskauskas committed
    • 2005-04-19 Michael Koch <konqueror@gmx.de> · 747a54e2
      	* gnu/java/awt/peer/gtk/GdkGraphics.java
      	(getClipBounds): Handle clip being null.
      	(setClip): Likewise.
      	* java/beans/beancontext/BeanContextSupport.java
      	(add): Implemented.
      	(addAll): Likewise.
      	(clear): Likewise.
      	(removeAll): Likewise.
      	(retainAll): Likewise.
      
      2005-04-19  Michael Koch  <konqueror@gmx.de>
      
      	* java/beans/beancontext/BeanContextServicesSupport.java
      	(BeanContextServicesSupport): Reimplemented.
      	(addBeanContextServicesListener): Implemented.
      	(initialize): Likewise.
      	(removeBeanContextServicesListener): Likewise.
      	* java/beans/beancontext/BeanContextSupport.java
      	(add): Likewise.
      	(addBeanContextMembershipListener): Likewise.
      	(getLocale): Likewise.
      	(initialize): Likewise.
      	(iterator): Likewise.
      	(remove): Likewise.
      	(toArray): Likewise.
      
      From-SVN: r98375
      Michael Koch committed
    • MediaTracker.java: Reindented tabs to spaces. · 9c3ff9fc
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* java/awt/MediaTracker.java:
      	Reindented tabs to spaces.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* java/awt/MediaTracker.java
      	(MediaEntry.imageUpdate): Removed check for SOMEBITS, this
      	confused the media tracker and lead to lockups. The LOADING
      	bit is handled on other places.
      	(addImage): Removed the 'start image tracking' stuff. This
      	is not necessary and could confuse the media tracker.
      	(checkAll): Improved the check for image status so that
      	images that already complete images are detected. Also now
      	are really all images checked and if necessary loaded. Before
      	the method bailed out after the first incomplete image.
      	(statusAll): Detect images that are complete after the
      	call to Component.prepareImage(..).
      	(checkID): The same as in checkAll.
      	(statusID): The same as in statusAll.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* java/awt/MediaTracker.java
      	(addImage): Synchronized list access.
      	(waitForAll): Fixed comparison of time (changed < to >).
      	(waitForID): Fixed comparison of time (changed < to >).
      	(removeImage): Synchronized list access.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* java/awt/MediaTracker.java
      	Added API documentation.
      
      2005-04-19  Roman Kennke  <roman@kennke.org>
      
      	* java/awt/MediaTracker.java
      	(MediaEntry.imageUpdate): Fixed flags. The different flags
      	must not be ORed together.
      	(checkAll): Modified to handle different meaning of the flags.
      	(waitForAll): Fixed so that it waits maximum the
      	specified amount of milliseconds.
      	(statusAll): Modified to handle different meaning of the flags.
      	(waitForID): Fixed so that it waits maximum the
      	specified amount of milliseconds.
      
      From-SVN: r98374
      Roman Kennke committed
    • Font.java (decode): Handle null argument and allow space as delimiter. · d6e4d86e
      2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>
      
      	* java/awt/Font.java (decode): Handle null argument and allow
      	space as delimiter.
      
      From-SVN: r98373
      David Gilbert committed
    • EventHandler.java: Reworked documentation. · 24809ca8
      2005-04-19  Robert Schuster <thebohemian@gmx.net>
      
      	* java/beans/EventHandler.java: Reworked documentation.
      	(invoke): Fixed behavior to match spec.
      
      From-SVN: r98372
      Robert Schuster committed
    • 2005-04-19 Michael Koch <konqueror@gmx.de> · 617c1000
      	* java/awt/print/PrinterJob.java
      	(pageDialog): New method.
      	(printDialog): Implemented.
      
      From-SVN: r98371
      Michael Koch committed
    • ConvolveOp.java: Removed comment added by eclipse. · 0fabce96
      2005-04-19  Michael Koch  <konqueror@gmx.de>
      
      	* java/awt/image/ConvolveOp.java:
      	Removed comment added by eclipse.
      
      From-SVN: r98370
      Michael Koch committed
    • 2005-04-19 Guilhem Lavaux <guilhem@kaffe.org> · 005a9448
      	* java/awt/image/IndexColorModel.java
      	(getRGB): Check if pixel is negative.
      
      From-SVN: r98369
      Guilhem Lavaux committed
    • RasterOp.java: Fixed wrong formatting. · a2e0c2a3
      2005-04-19  Michael Koch  <konqueror@gmx.de>
      
      	* java/awt/image/RasterOp.java:
      	Fixed wrong formatting.
      
      From-SVN: r98368
      Michael Koch committed
    • tree-cfg.c (dump_function_to_file): Use cfun info only if it refers to the function being dumped. · 32a87d45
      * tree-cfg.c (dump_function_to_file): Use cfun info only if it
      refers to the function being dumped.
      
      From-SVN: r98367
      Alexandre Oliva committed
    • re PR middle-end/21085 (Virtual memory exhausted with g++) · a3885f54
      2005-04-18  James A. Morrison  <phython@gcc.gnu.org>
      
              PR tree-optimization/21085
              * fold-const (fold_binary): Don't change X % -C to X % C if C has
              overflowed.
      
      From-SVN: r98365
      James A. Morrison committed
    • Daily bump. · f4d7734c
      [[Split portion of a mixed commit.]]
      
      From-SVN: r98362.2
      GCC Administrator committed
  2. 18 Apr, 2005 5 commits