| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* include/Makefile.am:
Added rules for gnu.java.net.local.LocalSocketImpl.h
* include/java_lang_VMSystem.h:
Regenerated correctly.
|
|
|
|
|
|
|
|
| |
PR 24023, 24701
* java/awt/Image.java:
(getScaledInstance): Default to AreaAveraging for "smooth",
don't thrown an error on illegal flag values.
* java/awt/image/AreaAveragingScaleFilter.java: Implement.
|
|
|
|
|
|
|
|
| |
* javax/swing/text/FieldView.java:
(adjustAllocation): Added if-block to return null when shape argument
is null.
* javax/swing/text/PlainView.java:
(updateDamage): Added if-block to return early if a is null.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-05-03 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTextUI.java:
(changeUpdate): Added note.
(removeUpdate): Dito.
(insertUpdate): Dito.
(damageRange): Added if-block to return early.
(modelToView): Added check of getVisibleEditorRect's return value.
(getVisibleEditorRect): Return null instead of empty rectangle.
* javax/swing/text/DefaultCaret.java:
(clearHighlight): Removed if-clause to create a highlight entry if it
did not exist before.
* javax/swing/text/WrappedPlainView.java:
(WrappedLine.modelToView): Throw exception if allocation area is empty,
removed 2nd part of if-expression.
(WrappedLine.updateDamage): Added more documentation, added check
whether allocation area rectangle is null.
|
|
|
|
|
| |
* javax/swing/JSplitPane.java (setDividerLocation(int)):
Reset to preferred sizes if the argument is negative.
|
|
|
|
| |
* javax/swing/JList.java: Added/updated API docs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/JComponent.java
(getRoot): New private function. Gets the root appropriate
for painting. If an applet exists as a parent, then it is returned.
(paintDoubleBuffered): Changed to use new function.
* javax/swing/RepaintManager.java
(getRoot): New private function. Gets the root appropriate
for painting. If an applet exists as a parent, then it is returned.
(getOffscreenBuffer): Changed to use new function.
* javax/swing/SwingUtilties.java
(getRoot): Reverted last patch to return Window, even if
an Applet exists.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
a pair of one public keyring and one private keyring.
* gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
(containsCertificate): Added logging.
(getCertificate): Likewise.
(putCertificate): Likewsie.
(load): Likewise.
(store): Likewise.
* gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
(containsPrivateKey): Added logging.
(getPrivateKey): Likewise.
(putPrivateKey): Likewise.
(containsPublicKey): Likewise.
(getPublicKey): Likewise.
(putPublicKey): Likewise.
(containsCertPath): Likewise.
(getCertPath): Likewise.
(putCertPath): Likewise.
(load): Likewise.
(store): Likewise.
|
|
|
|
|
|
| |
* gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
* java/awt/AlphaComposite.java
(createContext): Implemented.
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
Set the current color again after drawing the raster.
|
|
|
|
|
| |
* javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
Do not check pos < currLineEnd if currLineStart == currLineEnd.
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
Assign returned value to field handler.
* tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
Likewise.
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/ScrollPaneLayout.java (layoutContainer):
Return without action if there is no view in the viewport.
* javax/swing/text/WrappedPlainView.java
(WrappedLine.getPreferredSpan): If metrics == null, update
metrics.
* javax/swing/tree/DefaultTreeModel.java (constructors):
Do not call setRoot, assign the root node directly.
|
|
|
|
|
|
|
| |
* javax/swing/SwingUtilities.java
(getRoot): Should return the Applet if it exists.
Only return the Window if an Applet has not been
encountered.
|
|
|
|
|
|
|
| |
* javax/swing/SwingUtilities.java
(getRoot): Should return the Applet if it exists.
Only return the Window if an Applet has not been
encountered.
|
|
|
|
|
|
| |
* gnu/javax/swing/text/html/parser/support/Parser.java
(readAttributes): Reverted Audrius' last patch. There is
a slight difference in code between the NUMTOKEN and SLASH case.
|
|
|
|
|
|
|
| |
* javax/swing/text/JTextComponent.java:
(setText): Throw InternalError from catch-block.
* javax/swing/text/GapContent.java:
(removed): Removed if-expression, changed '>' to '>='.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/java2d/AbstractGraphics2D.java
(AA_SAMPLING): New constant.
(alpha): New field. Used in the antialiasing renderer.
(edgeTable): New field. Used in the antialiasing renderer.
(AbstractGraphics2D): Initialize rendering hints wrt
anti-aliasing.
(draw): Clip after stroking. Commented out clipping for now,
it seems to be buggy.
(fill): Commented out clipping for now, it seems to be buggy.
(setComposite): Don't create composite context.
(setPaint): Only change paint when parameter is not null.
(translate): Call setClip() so subclasses can update their clip
too.
(clip): Call setClip() so subclasses can update their clip
too.
(drawGlyphVector): Added clipping, but left it commented out
because it's buggy.
(getClipBounds): Returns null when clip is null.
(drawLine): Call rawDrawLine with translation applied.
(filLRect): Call rawFillRect with translation applied.
(fillShape): Added support for anti-aliasing.
(rawSetForeground(int,int,int)): New method.
(rawFillShape): A couple of painting fixes.
(fillScanline): Implemented to call rawDrawLine.
(fillShapeAntialias): New method. Implements an anti-aliasing
shape filler.
(fillScanlineAA): New method. Used for the anti-aliasing
shape filler.
(fillScanlineAlpha): New method. Used for the anti-aliasing
shape filler.
(init): Initialize clip with the device bounds.
(updateOptimization): Fixed the optimization condition.
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/text/GapContent.java:
(GapContent): Restrict size argument by 2.
(insertString): Changed expression from >= to >.
(remove): Changed right side of expression to 'length - 1', changed
exception message.
(getChars): Throw exception if where below 0.
(replace): Replaced call to setPositionsInRange() with
resetMarksAtZero(), removed note.
|
|
|
|
|
|
| |
PR 27326
* javax/swing/MenuSelectionManager.java
(setSelectedPath): Rewritten.
|
|
|
|
|
|
| |
* gnu/javax/swing/text/html/parser/support/Parser.java
(readAttributes): Merge case NUMTOKEN: and case SLASH:
sections.
|
|
|
|
|
| |
* tools/.cvsignore: Added keytool.sh.
* configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
|
|
|
|
|
| |
* doc/tools.texinfo: New file.
* doc/Makefile.am: Generate tools documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/keytool.sh.in: New file.
* tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/Command.java: Likewise.
* tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/Main.java: Likewise.
* tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
* tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
* tools/gnu/classpath/tools/keytool/package.html: Likewise.
* resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
resemble more closely man-page style text.
* tools/gnu/classpath/tools/jarsigner/SFHelper.java:
Mark (Eclipse) strings that need not be externalised.
(writeSF): Likewise.
(writeDSA): Likewise.
Use package-private Messages class to provide i18n-ready strings.
(startSigning):
Use package-private Messages class to provide i18n-ready strings.
(updateEntry): Likewise.
Mark (Eclipse) strings that need not be externalised.
(finishSigning): Likewise.
* tools/gnu/classpath/tools/jarsigner/Main.java:
Mark (Eclipse) strings that need not be externalised.
(main): Do not use constant strings as class name.
Use package-private Messages class to provide i18n-ready strings.
Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
(processArgs): Do not use constant strings as class name.
Mark (Eclipse) strings that need not be externalised.
Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
(start): Do not use constant strings as class name.
(teardown): Likewise.
Use ProviderUtil.
(setupCommonParams): Do not use constant strings as class name.
Use package-private Messages class to provide i18n-ready strings.
Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
(installNewProvider): Do not use constant strings as class name.
Use ProviderUtil.
(setupSigningParams): Do not use constant strings as class name.
Use package-private Messages class to provide i18n-ready strings.
Mark (Eclipse) strings that need not be externalised.
(getCallbackHandler): Use CallbackUtil.
* tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
Use package-private Messages class to provide i18n-ready strings.
Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
* tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
(verifySF): Likewise.
(verifySFEntries): Do not use constant strings as class name.
Use Boolean.valueOf instead of new Boolean().
(verifySFEntry): Mark (Eclipse) strings that need not be externalised.
* resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
New file.
* tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
* tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
* tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
* tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in empty case.
* gnu/java/nio/ChannelReader.java (read): Synchronize.
(close): Synchronize.
* java/nio/ShortBufferImpl.java (compact): Rewrote.
* java/nio/LongBufferImpl.java (compact): Rewrote.
* java/nio/IntBufferImpl.java (compact): Rewrote.
* java/nio/FloatBufferImpl.java (compact): Rewrote.
* java/nio/DoubleBufferImpl.java (compact): Rewrote.
* java/nio/CharBufferImpl.java (compact): Rewrote.
* gnu/java/nio/ChannelWriter.java: New file.
* java/nio/channels/Channels.java (newWriter): Implemented.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/util/SimpleTimeZone.java
(SimpleTimeZone): Do not throw exception if startMonth == endMonth.
(SimpleTimeZone): Likewise.
(checkRule): Rewritten to properly check all values (more efficently).
This code is now more stable, at least less buggy than before. Fixed
API documentation.
(setStartRule): Moved checkRule call to end.
(setStartRule): Likewise.
(setEndRule): Likewise.
(setEndRule): Likewise.
|
| |
|
|
|
|
|
| |
* java/lang/Enum.java (compareTo): Javadoc fix.
* java/lang/Boolean.java (compareTo): Javadoc fix.
|
|
|
|
|
|
|
|
| |
* gnu/javax/swing/text/html/parser/support/Parser.java
(readAttributes): Formatted function. Added handling for
SLASH token. The value of an attribute may start with a slash
(i.e. a path). I added handling similar to to the NUMTOKEN code.
We should not be skipping over these type of attributes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
* include/gnu_java_awt_peer_gtk_GdkGraphics.h,
* include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
* include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
* include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
* include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
* include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
* include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
* include/gnu_java_awt_peer_gtk_GtkClipboard.h,
* include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
* include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
* include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
* include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
* include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
* include/gnu_java_awt_peer_gtk_GtkImage.h,
* include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
* include/gnu_java_awt_peer_gtk_GtkListPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
* include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
* include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
* include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
* include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
* include/gnu_java_awt_peer_gtk_GtkSelection.h,
* include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
* include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
* include/gnu_java_awt_peer_gtk_GtkToolkit.h,
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
* include/gnu_java_awt_peer_qt_MainQtThread.h,
* include/gnu_java_awt_peer_qt_QMatrix.h,
* include/gnu_java_awt_peer_qt_QPainterPath.h,
* include/gnu_java_awt_peer_qt_QPen.h,
* include/gnu_java_awt_peer_qt_QtAudioClip.h,
* include/gnu_java_awt_peer_qt_QtButtonPeer.h,
* include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
* include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
* include/gnu_java_awt_peer_qt_QtChoicePeer.h,
* include/gnu_java_awt_peer_qt_QtComponentPeer.h,
* include/gnu_java_awt_peer_qt_QtContainerPeer.h,
* include/gnu_java_awt_peer_qt_QtDialogPeer.h,
* include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
* include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
* include/gnu_java_awt_peer_qt_QtFontMetrics.h,
* include/gnu_java_awt_peer_qt_QtFontPeer.h,
* include/gnu_java_awt_peer_qt_QtFramePeer.h,
* include/gnu_java_awt_peer_qt_QtGraphics.h,
* include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
* include/gnu_java_awt_peer_qt_QtImage.h,
* include/gnu_java_awt_peer_qt_QtLabelPeer.h,
* include/gnu_java_awt_peer_qt_QtListPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuPeer.h,
* include/gnu_java_awt_peer_qt_QtPanelPeer.h,
* include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
* include/gnu_java_awt_peer_qt_QtScreenDevice.h,
* include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
* include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
* include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
* include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
* include/gnu_java_awt_peer_qt_QtToolkit.h,
* include/gnu_java_awt_peer_qt_QtVolatileImage.h,
* include/gnu_java_awt_peer_qt_QtWindowPeer.h,
* include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
* include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
* include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
* include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
* include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
* include/gnu_xml_libxmlj_dom_GnomeAttr.h,
* include/gnu_xml_libxmlj_dom_GnomeDocument.h,
* include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
* include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
* include/gnu_xml_libxmlj_dom_GnomeElement.h,
* include/gnu_xml_libxmlj_dom_GnomeEntity.h,
* include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
* include/gnu_xml_libxmlj_dom_GnomeNode.h,
* include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
* include/gnu_xml_libxmlj_dom_GnomeNotation.h,
* include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
* include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
* include/gnu_xml_libxmlj_sax_GnomeLocator.h,
* include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
* include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
* include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
* include/java_lang_VMProcess.h:
Regenerated.
* native/jni/java-lang/java_lang_VMProcess.c:
Redirect when pipe_count is 2 not 3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/font/FontDelegate.java,
* gnu/java/awt/font/FontFactory.java,
* gnu/java/awt/font/GNUGlyphVector.java,
* gnu/java/awt/font/opentype/CharGlyphMap.java,
* gnu/java/awt/font/opentype/GlyphNamer.java,
* gnu/java/awt/font/opentype/MacResourceFork.java,
* gnu/java/awt/font/opentype/NameDecoder.java,
* gnu/java/awt/font/opentype/OpenTypeFont.java,
* gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
* gnu/java/awt/font/opentype/Scaler.java,
* gnu/java/awt/font/opentype/truetype/Fixed.java,
* gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
* gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
* gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
* gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
* gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
* gnu/java/awt/font/opentype/truetype/Zone.java,
* gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
* gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
* gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
New files. Imported font framework from:
http://www.brawer.ch/software/fonts/
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(lastTabInRun): Fix calculation of the last tab in a run. This
has caused painting problems sometimes, making the
last tab painted incorrectly.
|
|
|
|
|
|
| |
PR 27297
* javax/swing/JComponent.java (paintChildrenWithOverlap):
Use for and not while to prevent the endless loop.
|
|
|
|
|
|
| |
* javax/swing/JList.java
(paramString): Changed from public to protected.
----------------------------------------------------------------------
|
|
|
|
|
| |
* tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
(printHelpAndExit): Re-factored to use the above method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/jarsigner.sh.in: Changed license to GPL + Exception.
Use -Xbootclasspath/p instead of -cp when invoking the main class.
* tools/gnu/classpath/tools/jarsigner/Main.java:
Changed license to GPL + Exception.
(handler): New field.
(getCallbackHandler): New method.
(setupSigningParams): Use above method.
* tools/gnu/classpath/tools/jarsigner/HashUtils.java:
Changed license to GPL + Exception.
* tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
|
|
|
|
|
|
|
|
| |
* gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
(handleConfirmation): Use print instead of println.
(handleConfirmation): When case is YES_NO_OPTION, print default option
if one was set.
(handleLanguage): Use print instead of println.
|
|
|
|
|
|
|
| |
* gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
(putComponent): Handle O and OU components.
(getDer): Use correct (it2) iterator.
(readAttributeValue): Read next character and break if end-of-stream.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/security/provider/Gnu.java (run):
Add "RSA" as an alias to MD5withRSA.
* gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
Always encode a NULL as the value of an algorithm parameters field.
* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
(encodePrivateKey): Added trace/log statements.
(decodePrivateKey): Likewise.
* gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
(setup): Added trace/log statements.
(generate): Likewise.
* gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
(toString): New method.
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
(str): New field.
(toString): New method.
* gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
(getEncoded): Use defaultFormat.
(toString): New method.
* gnu/java/security/key/dss/DSSKey.java (toString):
Include defaultFormat in string.
* gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
Break if successfully decoded public key.
(engineGeneratePrivate): Break if successfully decoded private key.
|
|
|
|
|
| |
* java/security/Security.java <clinit>: Add our Callback provider.
* resource/java/security/classpath.security: Likewise
|
|
|
|
|
|
|
|
|
|
| |
PR 27296
* javax/swing/ScrollPaneLayout.java (layoutContainer):
Decide about scroll bars from the preferred view size, not
the current size.
* javax/swing/ViewportLayout.java (layoutContainer):
Do not change returned preferred size. Do not treat JScrollPane
specially.
|
|
|
|
|
|
| |
* java/awt/image/ReplicateScaleFilter.java: Fix comment.
* javax/swing/ProgressMonitor.java (actionPerformed):
Avoid divide-by-zero.
|
|
|
|
|
| |
* javax/swing/JSpinner.java: Fix default text justification.
* javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
|
|
|
|
|
|
|
| |
* javax/swing/JList.java
(getMinSelectionIndex): Return correct value, added API docs,
(getMaxSelectionIndex): Added API docs.
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/JList.java
(JList(Object[])): Pass new model directly to init(),
(JList(Vector)): Likewise,
(JList(ListModel)): Renamed argument and updated API docs,
(init): Throw IllegalArgumentException for null argument,
(setListData(Object[])): Delegate model creation,
(setListData(Vector)): Likewise,
(createListModel(Object[])): New private method,
(createListModel(Vector)): New private method,
(paramString): Implemented.
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| |
(isEnum): Rewrote.
(isSynthetic): Likewise.
(isAnnotation): Likewise.
* vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
(isAnnotation): Likewise.
(isEnum): Likewise.
|
|
|
|
|
|
|
|
| |
2006-04-28 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/View.java:
(getNextVisualPositionFrom): Call modelToView and viewToModel on parent
view.
|
|
|
|
|
|
|
|
|
|
| |
2006-04-28 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/View.java:
(getNextVisualPositionFrom): Rewritten.
* javax/swing/text/CompositeView.java:
(getNextEastWestVisualPositionFrom): Partly implemented.
(getNextNorthSouthVisualPositionFrom): Partly implemented.
|