Kaz Kojima
c779c42fc3
re PR bootstrap/15120 ([3.3 only] [libtool bug] hidden symbol `__sdivsi3_i4' is referenced by DSO)
...
PR bootstrap/15120
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*.
* */configure: Rebuilt.
From-SVN: r81980
2004-05-18 10:11:38 +00:00
Mark Wielaard
9152dcf43e
* java/io/Writer.java (Writer(Object)): Check for null lock object.
...
From-SVN: r81921
2004-05-16 18:35:37 +00:00
Mark Wielaard
fb0e7ec09f
* doc/cni.sgml: Removed, merged into gcj.texi.
...
From-SVN: r81906
2004-05-15 21:36:01 +00:00
Mark Wielaard
85ff6f624e
[multiple changes]
...
2004-05-15 Mark Wielaard <mark@klomp.org>
* Makefile.am (ordinary_java_source_files): Add new javax.print
classes.
* Makefile.in: Regenerated.
2004-05-15 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/standard/DateTimeAtCompleted.java,
javax/print/attribute/standard/DateTimeAtCreation.java,
javax/print/attribute/standard/DateTimeAtProcessing.java,
javax/print/attribute/standard/DocumentName.java,
javax/print/attribute/standard/JobHoldUntil.java,
javax/print/attribute/standard/JobImpressionsCompleted.java,
javax/print/attribute/standard/JobMessageFromOperator.java,
javax/print/attribute/standard/JobName.java,
javax/print/attribute/standard/JobOriginatingUserName.java,
javax/print/attribute/standard/JobPriority.java,
javax/print/attribute/standard/JobPrioritySupported.java,
javax/print/attribute/standard/NumberOfInterveningJobs.java,
javax/print/attribute/standard/OutputDeviceAssigned.java,
javax/print/attribute/standard/PrinterInfo.java,
javax/print/attribute/standard/PrinterLocation.java,
javax/print/attribute/standard/PrinterMakeAndModel.java,
javax/print/attribute/standard/PrinterMessageFromOperator.java,
javax/print/attribute/standard/PrinterName.java,
javax/print/attribute/standard/QueuedJobCount.java,
javax/print/attribute/standard/RequestingUserName.java:
Fixed javadocs all over.
2004-05-15 Michael Koch <konqueror@gmx.de>
* javax/print/DocFlavor.java,
javax/print/attribute/standard/ColorSupported.java,
javax/print/attribute/standard/Compression.java,
javax/print/attribute/standard/CopiesSupported.java,
javax/print/attribute/standard/Fidelity.java,
javax/print/attribute/standard/Finishings.java,
javax/print/attribute/standard/JobImpressionsSupported.java,
javax/print/attribute/standard/JobKOctetsSupported.java,
javax/print/attribute/standard/JobMediaSheetsSupported.java,
javax/print/attribute/standard/JobSheets.java,
javax/print/attribute/standard/JobState.java,
javax/print/attribute/standard/JobStateReason.java,
javax/print/attribute/standard/JobStateReasons.java,
javax/print/attribute/standard/Media.java,
javax/print/attribute/standard/MediaSizeName.java,
javax/print/attribute/standard/MultipleDocumentHandling.java,
javax/print/attribute/standard/NumberUpSupported.java,
javax/print/attribute/standard/OrientationRequested.java,
javax/print/attribute/standard/PDLOverrideSupported.java,
javax/print/attribute/standard/PageRanges.java,
javax/print/attribute/standard/PresentationDirection.java,
javax/print/attribute/standard/PrintQuality.java,
javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
javax/print/attribute/standard/PrinterMoreInfo.java,
javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
javax/print/attribute/standard/PrinterResolution.java,
javax/print/attribute/standard/PrinterState.java,
javax/print/attribute/standard/PrinterStateReason.java,
javax/print/attribute/standard/PrinterStateReasons.java,
javax/print/attribute/standard/PrinterURI.java,
javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
javax/print/attribute/standard/Severity.java,
javax/print/attribute/standard/SheetCollate.java,
javax/print/attribute/standard/Sides.java:
Added serialVersionUID and removed final keyword where it doenst
belong.
2004-05-15 Michael Koch <konqueror@gmx.de>
* javax/print/PrintServiceLookup.java: New file.
2004-05-15 Michael Koch <konqueror@gmx.de>
* javax/print/DocFlavor.java:
Implemented all flavor classes.
2004-05-15 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/standard/ColorSupported.java,
javax/print/attribute/standard/Compression.java,
javax/print/attribute/standard/CopiesSupported.java,
javax/print/attribute/standard/Fidelity.java,
javax/print/attribute/standard/Finishings.java,
javax/print/attribute/standard/JobImpressionsSupported.java,
javax/print/attribute/standard/JobKOctetsSupported.java,
javax/print/attribute/standard/JobMediaSheetsSupported.java,
javax/print/attribute/standard/JobSheets.java,
javax/print/attribute/standard/JobState.java,
javax/print/attribute/standard/JobStateReason.java,
javax/print/attribute/standard/JobStateReasons.java,
javax/print/attribute/standard/Media.java,
javax/print/attribute/standard/MediaSizeName.java,
javax/print/attribute/standard/MultipleDocumentHandling.java,
javax/print/attribute/standard/NumberUpSupported.java,
javax/print/attribute/standard/OrientationRequested.java,
javax/print/attribute/standard/PDLOverrideSupported.java,
javax/print/attribute/standard/PageRanges.java,
javax/print/attribute/standard/PresentationDirection.java,
javax/print/attribute/standard/PrintQuality.java,
javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
javax/print/attribute/standard/PrinterMoreInfo.java,
javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
javax/print/attribute/standard/PrinterResolution.java,
javax/print/attribute/standard/PrinterState.java,
javax/print/attribute/standard/PrinterStateReason.java,
javax/print/attribute/standard/PrinterStateReasons.java,
javax/print/attribute/standard/PrinterURI.java,
javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
javax/print/attribute/standard/Severity.java,
javax/print/attribute/standard/SheetCollate.java,
javax/print/attribute/standard/Sides.java: New files.
2004-05-15 Michael Koch <konqueror@gmx.de>
* javax/print/Doc.java
(getPrintData): Throws IOException.
(getReaderForText): Likewise.
(getStreamForBytes): Likewise.
* javax/print/DocFlavor.java:
Fixed filename in copyright.
(serialVersionUID): New field.
* javax/print/ServiceUIFactory.java:
Made all constants final.
* javax/print/AttributeException.java
javax/print/MultiDoc.java
javax/print/MultiDocPrintJob.java
javax/print/MultiDocPrintService.java
javax/print/StreamPrintService.java
javax/print/URIException.java: New files.
* javax/print/Makefile.am
(EXTRA_DIST): Added all new files.
2004-05-15 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/standard/Copies.java,
javax/print/attribute/standard/DateTimeAtCompleted.java,
javax/print/attribute/standard/DateTimeAtCreation.java,
javax/print/attribute/standard/DateTimeAtProcessing.java,
javax/print/attribute/standard/DocumentName.java,
javax/print/attribute/standard/JobHoldUntil.java,
javax/print/attribute/standard/JobImpressions.java,
javax/print/attribute/standard/JobImpressionsCompleted.java,
javax/print/attribute/standard/JobKOctets.java,
javax/print/attribute/standard/JobKOctetsProcessed.java,
javax/print/attribute/standard/JobMediaSheets.java,
javax/print/attribute/standard/JobMediaSheetsCompleted.java,
javax/print/attribute/standard/JobMessageFromOperator.java,
javax/print/attribute/standard/JobName.java,
javax/print/attribute/standard/JobOriginatingUserName.java,
javax/print/attribute/standard/JobPriority.java,
javax/print/attribute/standard/JobPrioritySupported.java,
javax/print/attribute/standard/NumberOfDocuments.java,
javax/print/attribute/standard/NumberOfInterveningJobs.java,
javax/print/attribute/standard/NumberUp.java,
javax/print/attribute/standard/OutputDeviceAssigned.java,
javax/print/attribute/standard/PagesPerMinute.java,
javax/print/attribute/standard/PagesPerMinuteColor.java:
Fixed @return tag all over.
2004-05-15 Michael Koch <konqueror@gmx.de>
* javax/print/attribute/AttributeSetUtilities.java
(verifyCategoryForValue): Fixed typo in javadoc.
* javax/print/attribute/HashAttributeSet.java
(containsKey): Fixed @return tag.
(comtainsValue): Likewise.
(equals): Likewise.
* javax/print/attribute/IntegerSyntax.java
(equals): Likewise.
* javax/print/attribute/ResolutionSyntax.java
(equals): Likewise.
(getCrossFeedResolution): Removed unused code.
(getFeedResolution): Likewise.
* javax/print/attribute/SetOfIntegerSyntax.java
(SetOfIntegerSyntax): Fixed HTML entities in javadoc.
(equals): Fixed @return tag.
* javax/print/attribute/TextSyntax.java
(TextSyntax): Take locale into account.
(hashCode): Better implementation.
2004-05-15 Michael Koch <konqueror@gmx.de>
* javax/print/CancelablePrintJob.java,
javax/print/Doc.java,
javax/print/DocFlavor.java,
javax/print/DocPrintJob.java,
javax/print/FlavorException.java,
javax/print/PrintException.java,
javax/print/PrintService.java,
javax/print/ServiceUIFactory.java: New files.
From-SVN: r81901
2004-05-15 20:39:10 +00:00
Mark Wielaard
f437e35992
CharIndexedReader.java: Removed.
...
* gnu/regexp/CharIndexedReader.java: Removed.
* gnu/regexp/REFilterReader.java: Likewise.
* gnu/regexp/RETokenLookAhead.java: Likewise.
* Makefile.am (ordinary_java_source_files): Remove above classes.
* Makefile.in: Regenerated.
From-SVN: r81890
2004-05-15 17:50:09 +00:00
Tom Tromey
ae0d0d592f
XGraphics.java (drawImage): Use XOffScreenImage', not
XGraphicsConfiguration.XOffScreenImage'.
...
* gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
not `XGraphicsConfiguration.XOffScreenImage'.
From-SVN: r81863
2004-05-14 22:17:44 +00:00
Scott Gilbertson
1cd29ad235
* gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
...
From-SVN: r81859
2004-05-14 21:36:47 +00:00
Steven Augart
a01a235c76
jni.h (_Jv_func): Removed.
...
2004-05-14 Steven Augart <augart@watson.ibm.com>
* include/jni.h (_Jv_func): Removed.
(struct JNINativeInterface): Use `void *' for reserved slots.
(struct JNIInvokeInterface): Likewise.
From-SVN: r81851
2004-05-14 16:35:07 +00:00
Michael Koch
8f0b9daaa2
2004-05-11 Michael Koch <konqueror@gmx.de>
...
* gnu/java/net/natPlainSocketImplPosix.cc
(read): Fixed typo in expression.
From-SVN: r81714
2004-05-11 19:48:45 +00:00
Andreas Tobler
3f68457e24
libjava.exp (libjava_invoke): Add new argument ld_library_additions.
...
2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libjava.exp (libjava_invoke): Add new argument
ld_library_additions. Adjust all calls to libjava_invoke to match
the new argument.
* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
path to cxxflagslist.
Pass path of libstdc++ to libjava_invoke.
* testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
libjava_invoke arguments.
From-SVN: r81679
2004-05-10 22:44:13 +02:00
Ranjit Mathew
731d47a63b
jacks.xfail: Update to reflect current reality.
...
* testsuite/libjava.jacks/jacks.xfail: Update to reflect current
reality.
From-SVN: r81667
2004-05-10 14:50:56 +00:00
Ranjit Mathew
8e31e1284d
jni.exp (gcj_jni_test_one): Don't link the main binary against the JNI shared library.
...
2004-05-07 Ranjit Mathew <rmathew@gmail.com>
* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
main binary against the JNI shared library.
From-SVN: r81622
2004-05-07 15:59:43 +01:00
Jerry Quinn
61af3d861b
SimpleTimeZone.java (startTimeMode, [...]): New members.
...
2004-05-07 Jerry Quinn <jlquinn@optonline.net>
* java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
(SimpleTimeZone): Tweak docs. Add new variation.
(setStartRule,setEndRule): Add new variations. Use
startTimeMode and endTimeMode.
From-SVN: r81605
2004-05-07 04:57:57 +00:00
Jerry Quinn
c37cc018f0
ChangeLog
...
From-SVN: r81604
2004-05-07 04:18:19 +00:00
Bryce McKinlay
579f964023
Run the jni tests using the interpreter.
...
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
options_cxx to shared lib compile command.
(gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
they are used to link the shared lib, not the main binary.
Use libjava_invoke to run gij.
From-SVN: r81574
2004-05-06 18:54:30 +01:00
Michael Koch
0a215a117b
2004-05-06 Michael Koch <konqueror@gmx.de>
...
* java/util/logging/Level.java
(parse): Use == instead of String.equals().
From-SVN: r81568
2004-05-06 15:55:00 +00:00
Bryce McKinlay
e51f7aeb7b
defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use verify_field_signature and verify_method_signature...
...
* defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
verify_field_signature and verify_method_signature, not
_Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
(_Jv_ClassReader::handleField): Likewise.
(_Jv_ClassReader::handleMethod): Likewise.
From-SVN: r81563
2004-05-06 15:06:28 +01:00
Michael Koch
c839552495
TableColumn.java: Reformated.
...
2004-05-06 Michael Koch <konqueror@gmx.de>
* javax/swing/table/TableColumn.java:
Reformated.
From-SVN: r81561
2004-05-06 13:04:07 +00:00
Michael Koch
c8b86f1ae5
2004-05-06 Michael Koch <konqueror@gmx.de>
...
* javax/imageio/spi/ImageReaderWriterSpi.java
(ImageReaderWriterSpi): Made it public.
* javax/imageio/stream/ImageInputStream.java:
Clean up imports.
From-SVN: r81560
2004-05-06 12:27:37 +00:00
Michael Koch
9f2eefb7bc
gnu_java_awt_peer_gtk_GtkComponentPeer.c: Removed empty line.
...
2004-05-06 Michael Koch <konqueror@gmx.de>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
Removed empty line.
From-SVN: r81559
2004-05-06 11:12:09 +00:00
Michael Koch
45505d4d0c
gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c, [...]: New files.
...
2004-05-06 Michael Koch <konqueror@gmx.de>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
New files.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
their own source file.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
(create): Define variable on top of function.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
(menu_pos): Prototyped.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(setTitle): Removed.
* jni/gtk-peer/gthread-jni.c
(gdk_threads_wake): Removed.
* Makefile.am (gtk_c_source_files): Added new files
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
* Makefile.in: Regenerated.
From-SVN: r81558
2004-05-06 10:25:02 +00:00
Bryce McKinlay
74e94435cc
pr11951.java: Add missing System.loadLibrary() call.
...
* testsuite/libjava.jni/pr11951.java: Add missing
System.loadLibrary() call.
From-SVN: r81542
2004-05-05 21:58:54 +01:00
Mark Wielaard
68ea5833ec
AbstractButton.java: Replace special HTML entities with ASCII equivalent.
...
2004-05-05 Mark Wielaard <mark@klomp.org>
* javax/swing/AbstractButton.java: Replace special HTML entities with
ASCII equivalent.
* javax/swing/DefaultBoundedRangeModel.java: Likewise.
* javax/swing/DefaultButtonModel.java: Likewise.
* javax/swing/DefaultListModel.java: Likewise.
* javax/swing/JList.java: Likewise.
* javax/swing/JSlider.java: Likewise.
* javax/swing/ListModel.java: Likewise.
* javax/swing/Popup.java: Likewise.
* javax/swing/SwingUtilities.java: Likewise.
From-SVN: r81518
2004-05-05 09:53:50 +00:00
Michael Koch
880fa23899
AbstractButton.java, [...]: Cleaned up imports.
...
2004-05-05 Michael Koch <konqueror@gmx.de>
* javax/swing/AbstractButton.java,
javax/swing/ActionMap.java,
javax/swing/DefaultButtonModel.java,
javax/swing/DefaultListModel.java,
javax/swing/ImageIcon.java,
javax/swing/JComboBox.java,
javax/swing/JComponent.java,
javax/swing/JFrame.java,
javax/swing/JInternalFrame.java,
javax/swing/JMenuBar.java,
javax/swing/JMenuItem.java,
javax/swing/JOptionPane.java,
javax/swing/JProgressBar.java,
javax/swing/JRootPane.java,
javax/swing/JScrollBar.java,
javax/swing/JScrollPane.java,
javax/swing/JSeparator.java,
javax/swing/JSlider.java,
javax/swing/JTabbedPane.java,
javax/swing/JTable.java,
javax/swing/JTextField.java,
javax/swing/JToolBar.java,
javax/swing/JToolTip.java,
javax/swing/JTree.java,
javax/swing/JViewport.java,
javax/swing/JWindow.java,
javax/swing/KeyStroke.java,
javax/swing/LookAndFeel.java,
javax/swing/SwingUtilities.java,
javax/swing/Timer.java,
javax/swing/ToolTipManager.java,
javax/swing/UIDefaults.java,
javax/swing/border/TitledBorder.java,
javax/swing/filechooser/FileSystemView.java,
javax/swing/plaf/basic/BasicButtonListener.java,
javax/swing/plaf/basic/BasicButtonUI.java,
javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
javax/swing/plaf/basic/BasicGraphicsUtils.java,
javax/swing/plaf/basic/BasicLabelUI.java,
javax/swing/plaf/basic/BasicMenuItemUI.java,
javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
javax/swing/plaf/basic/BasicRootPaneUI.java,
javax/swing/plaf/basic/BasicScrollBarUI.java,
javax/swing/plaf/basic/BasicScrollPaneUI.java,
javax/swing/plaf/basic/BasicSliderUI.java,
javax/swing/plaf/basic/BasicTabbedPaneUI.java,
javax/swing/plaf/basic/BasicToggleButtonUI.java,
javax/swing/table/JTableHeader.java,
javax/swing/text/AbstractDocument.java,
javax/swing/text/DefaultCaret.java,
javax/swing/text/StyledEditorKit.java,
javax/swing/tree/DefaultTreeCellEditor.java:
Cleaned up imports.
From-SVN: r81517
2004-05-05 09:16:18 +00:00
Tom Tromey
01a4c93141
URLStreamHandler.java (toExternalForm): Removed unused variables.
...
2004-05-03 Tom Tromey <tromey@redhat.com>
* java/net/URLStreamHandler.java (toExternalForm): Removed
unused variables.
* java/math/BigDecimal.java (divide): Removed unused variable.
* java/lang/Throwable.java: Cleaned up imports.
* java/lang/ClassLoader.java: Cleaned up imports.
* java/io/FilePermission.java (implies): Removed unused
variable.
* java/awt/TextComponent.java: Removed unused import.
* gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
* gnu/java/util/DoubleEnumeration.java: Removed unused import.
* gnu/java/text/WordBreakIterator.java: Removed unused import.
* gnu/java/text/SentenceBreakIterator.java: Removed unused
import.
* gnu/java/text/LineBreakIterator.java: Removed unused import.
* gnu/java/text/CharacterBreakIterator.java: Removed
unused import.
* gnu/java/security/provider/DSAKeyPairGenerator.java:
Cleaned up imports.
* gnu/java/security/der/DERWriter.java: Cleaned up imports.
* gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
unused method.
* gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
* gnu/java/nio/FileLockImpl.java: Cleaned up imports.
* gnu/java/io/Base64InputStream.java: Cleaned up imports.
* gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
* gnu/classpath/ServiceFactory.java: Cleaned up imports.
(lookupProviders): Removed unused variable.
(loadNextServiceProvider): Likewise.
* gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
From-SVN: r81516
2004-05-05 08:51:04 +00:00
Michael Koch
4a93a22629
2004-05-05 Michael Koch <konqueror@gmx.de>
...
* java/util/prefs/AbstractPreferences.java
(AbstractPreferences): Added parenthesis for clarity.
Closes classpath bug #7940 .
From-SVN: r81515
2004-05-05 08:47:37 +00:00
Tom Tromey
aaec686eff
CompoundName.java (endsWith): Look at correct element of source name.
...
2004-05-05 Tom Tromey <tromey@redhat.com>
* javax/naming/CompoundName.java (endsWith): Look at correct
element of source name.
From-SVN: r81513
2004-05-05 08:32:19 +00:00
Mark Wielaard
b1210ca233
Reported by f.haeglsperger@gmx.de [classpath patch #2485 ]
...
2004-05-05 Mark Wielaard <mark@klomp.org>
Reported by f.haeglsperger@gmx.de [classpath patch #2485 ]
* java/util/HashMap.java (rehash): Add entry at start of bucket.
From-SVN: r81512
2004-05-05 08:28:13 +00:00
Tom Tromey
a54f498a27
BufferedReader.java (skip): Removed unused variable.
...
2004-05-05 Tom Tromey <tromey@redhat.com>
* java/io/BufferedReader.java (skip): Removed unused
variable.
From-SVN: r81511
2004-05-05 08:24:13 +00:00
Michael Koch
e843041826
FileDialog.java: Import java.io.Serializable explicitly.
...
2004-05-05 Michael Koch <konqueror@gmx.de>
* java/awt/FileDialog.java: Import java.io.Serializable explicitly.
From-SVN: r81507
2004-05-05 07:38:57 +00:00
Dalibor Topic
f32c742c5f
AttributedString.java, [...]: Cleaned up imports.
...
2004-05-05 Dalibor Topic <robilad@kaffe.org>
* java/text/AttributedString.java,
java/text/AttributedStringIterator.java,
java/text/Collator.java,
java/text/DecimalFormatSymbols.java,
java/text/NumberFormat.java,
java/text/RuleBasedCollator.java:
Cleaned up imports.
From-SVN: r81506
2004-05-05 07:35:49 +00:00
Tom Tromey
d70bd7fff0
Format.java: Cleaned up imports.
...
2004-05-05 Tom Tromey <tromey@redhat.com>
* java/text/Format.java: Cleaned up imports.
* java/text/DecimalFormat.java: Cleaned up imports.
* java/security/SecureRandom.java: Cleaned up imports.
(SecureRandom): Removed unused variable.
* java/security/UnresolvedPermission.java: Cleaned up imports.
* java/util/Date.java (parse): Removed unused variable.
* java/util/ResourceBundle.java: Cleaned up imports.
(getBundle): Removed unused variable.
(tryBundle): Likewise.
* java/util/regex/Pattern.java (Pattern): Removed unused constructor.
From-SVN: r81503
2004-05-05 06:52:56 +00:00
Guilhem Lavaux
b335a54914
2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
...
* java/text/DecimalFormat.java
(MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
(applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
(parse): Fixed handling of exponentiation notation and grouping.
From-SVN: r81502
2004-05-05 06:02:37 +00:00
Guilhem Lavaux
2225a42a9e
2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
...
* java/text/SimpleDateFormat.java:
(formatWithAttribute): New method. It implements
the formatting process with attributes.
(format): Use formatWithAttribute.
(formatToCharacterIterator): New method. Use
formatWithAttribute.
From-SVN: r81493
2004-05-04 22:14:12 +00:00
Guilhem Lavaux
1f64614267
MessageFormat.java: (class Field): New class.
...
2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/MessageFormat.java:
(class Field): New class.
(formatToCharacterIterator): New method.
(format): Use formatInternal now.
(formatInternal): New method. String formatter should
be done here (with attributes). Attributes merging supported.
(parse): More documentation.
(getFormatsByArgumentIndex): New method.
(setFormatByArgumentIndex): New method.
(setFormatsByArgumentIndex): New method.
From-SVN: r81492
2004-05-04 22:05:25 +00:00
Guilhem Lavaux
8cf1edb30c
2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
...
* java/text/DecimalFormat.java
(MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
(applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
(parse): Fixed handling of exponentiation notation and grouping.
2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/DecimalFormat.java
(scanFix): Build attribute array. Fixed error reporting.
(applyPatternWithSymbols): Store attributes for the prefix and
suffix.
(formatInternal): New method. Changed the way the string is
computed. Implemented attributes. Cleant up rounding in
exponential notation.
(format): Use formatInternal.
(formatToCharacterIterator): New method.
(exponentRound, negativePrefixRanges, positivePrefixRanges,
negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
New fields.
From-SVN: r81491
2004-05-04 22:00:30 +00:00
Dalibor Topic
aff9d141f6
DSAKeyPairGenerator.java, [...]: Cleaned up imports.
...
2004-05-04 Dalibor Topic <robilad@kaffe.org>
* java/security/interfaces/DSAKeyPairGenerator.java,
java/security/interfaces/DSAPrivateKey.java,
java/security/interfaces/DSAPublicKey.java,
java/security/interfaces/RSAPrivateKey.java,
java/security/interfaces/RSAPublicKey.java:
Cleaned up imports.
From-SVN: r81490
2004-05-04 21:40:42 +00:00
Michael Koch
933522fbc3
2004-05-04 Michael Koch <konqueror@gmx.de>
...
* java/nio/ByteBuffer.java,
java/nio/CharBuffer.java,
java/nio/DoubleBuffer.java,
java/nio/FloatBuffer.java,
java/nio/IntBuffer.java,
java/nio/LongBuffer.java,
java/nio/ShortBuffer.java:
(compareTo): Fixed bogus implementation in all buffer classes.
From-SVN: r81489
2004-05-04 21:31:30 +00:00
Ingo Proetel
27c2c3ec4a
ColorModel.java (getRGBdefault): Default ColorModel has 32 bit pixels not 8 bit pixels.
...
2004-05-04 Ingo Proetel <proetel@aicas.com>
* java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
32 bit pixels not 8 bit pixels.
(isCompatibleRaster): Added javadoc comment.
2004-05-04 Ingo Proetel <proetel@aicas.com>
* java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
scanline stride.
2004-05-04 Ingo Proetel <proetel@aicas.com>
* java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
(getColorModel): Return the actual color model.
(getRaster): Implemented.
(ColorRaster): New inner class.
* java/awt/SystemColor.java (createContext): Use ColorModel when creating
a PaintContext.
* java/awt/Color.java (<init>): Make exception more verbose.
(createContext): Use ColorModel when creating a PaintContext.
From-SVN: r81486
2004-05-04 19:27:11 +00:00
Michael Koch
a31d9d6c30
2004-05-04 Michael Koch <konqueror@gmx.de>
...
* gnu/java/text/CharacterBreakIterator.java
(previous): Removed unused variable.
From-SVN: r81482
2004-05-04 18:48:53 +00:00
Guilhem Lavaux
065afdfa8e
FormatBuffer.java, [...]: New classes to implement attributed iterators in java.text.
...
2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
* gnu/java/text/FormatBuffer.java,
gnu/java/text/AttributedFormatBuffer.java,
gnu/java/text/StringFormatBuffer.java: New classes to implement
attributed iterators in java.text.
* gnu/java/text/FormatCharacterIterator.java: Moved
from java/text as it is an internal class.
* java/text/FormatCharacterIterator.java: Removed.
* java/text/Format.java:
Import gnu.java.text.FormatCharacterIterator.
* Makefile.am (java_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r81479
2004-05-04 16:27:20 +00:00
Michael Koch
53c87e49ed
FileChannelImpl.java (finalize): New method.
...
2004-05-02 Mark Wielaard <mark@klomp.org>
* gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
From-SVN: r81470
2004-05-04 05:37:32 +00:00
Mark Wielaard
af62fd128a
2004-05-04 Mark Wielaard <mark@klomp.org>
...
* gnu/java/nio/channels/FileChannelImpl.java
(finalize): New method.
From-SVN: r81469
2004-05-04 05:32:46 +00:00
Andreas Tobler
a3c44036dc
Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
...
2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
* Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
* Makefile.in: Rebuilt.
From-SVN: r81455
2004-05-03 22:53:05 +02:00
Andreas Tobler
dddf9bcc83
acinclude.m4: Replace -W with more speaking -Wextra.
...
2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
* acinclude.m4: Replace -W with more speaking -Wextra.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r81454
2004-05-03 22:48:13 +02:00
Mark Wielaard
007265b805
DERReader.java: Call static methods staticly.
...
2004-05-03 Mark Wielaard <mark@klomp.org>
* gnu/java/security/der/DERReader.java: Call static methods staticly.
* java/awt/TextComponent.java (select): Use selectionEnd parameter.
* java/net/URL.java
(set(String, String, int, String, String, String, String, String)):
Assign this.file to path or path + "?" + query.
* java/util/Arrays.java: Call static methods staticly.
* java/util/zip/ZipEntry.java: Likewise.
* javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
dir to this.direction.
* javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
Assign static field only once.
(DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
From-SVN: r81453
2004-05-03 20:23:28 +00:00
Mark Wielaard
a00d3b3c65
GtkTextAreaPeer.java (minimumSize): Removed unused variables hScrollbarHeight and vScrollbarWidth.
...
2004-05-03 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
unused variables hScrollbarHeight and vScrollbarWidth.
(preferredSize): Likewise.
* gnu/java/security/provider/DSAParameters.java (engineToString):
Removed unused call to System.getProperty("line.seperator");
* java/security/Security.java (loadProviders): Return result.
From-SVN: r81451
2004-05-03 20:06:09 +00:00
Tom Tromey
7b68f0bf7e
URLStreamHandler.java (toExternalForm): Removed unused variables.
...
2004-05-03 Tom Tromey <tromey@redhat.com>
* java/net/URLStreamHandler.java (toExternalForm): Removed
unused variables.
unused constructor.
* java/math/BigDecimal.java (divide): Removed unused variable.
* java/lang/Throwable.java: Cleaned up imports.
* java/lang/ClassLoader.java: Cleaned up imports.
* java/io/FilePermission.java (implies): Removed unused
variable.
* java/awt/TextComponent.java: Removed unused import.
* gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
* gnu/java/util/DoubleEnumeration.java: Removed unused import.
* gnu/java/text/WordBreakIterator.java: Removed unused import.
* gnu/java/text/SentenceBreakIterator.java: Removed unused
import.
* gnu/java/text/LineBreakIterator.java: Removed unused import.
* gnu/java/text/CharacterBreakIterator.java: Removed
unused import.
* gnu/java/security/provider/DSAKeyPairGenerator.java:
Cleaned up imports.
* gnu/java/security/der/DERWriter.java: Cleaned up imports.
* gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
unused method.
* gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
* gnu/java/nio/FileLockImpl.java: Cleaned up imports.
* gnu/java/io/Base64InputStream.java: Cleaned up imports.
* gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
* gnu/classpath/ServiceFactory.java: Cleaned up imports.
(lookupProviders): Removed unused variable.
(loadNextServiceProvider): Likewise.
* gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
From-SVN: r81450
2004-05-03 19:52:29 +00:00
Michael Koch
493b3c9c47
re PR libgcj/14695 ([3.3/3.4 only] java.net.NetworkInterface.getByName() throws exception instead of returning null)
...
2004-05-03 Michael Koch <konqueror@gmx.de>
Fixes PR libgcj/14695:
* java/net/NetworkInterface.java
(getByName): Return null when no interface was found.
From-SVN: r81434
2004-05-03 14:40:59 +00:00
Ranjit Mathew
55ce9c52a2
re PR java/15133 (gcjh generates wrong method signatures)
...
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
additional option "-Wmissing-prototypes" for compiling C sources.
Print actual filename for pass/fail rather than $name.c.
* testsuite/libjava.jni/PR15133.java: New testcase file.
* testsuite/libjava.jni/PR15133.c: Likewise.
* testsuite/libjava.jni/PR15133.out: Likewise.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r81358
2004-04-30 18:19:37 +00:00