| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
Attributes.putValue(String,String).
(finishSigning): Likewise.
* gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
(SIGNATURE_VERSION): Likewise.
(readSFManifest): Use local string constant.
(readMainSection): Likewise.
(readVersionInfo): Likewise.
* java/util/jar/Attributes.java (MANIFEST_VERSION):
Redefined using JarUtils constant.
(SIGNATURE_VERSION): Likewise.
(putValue(Name,String)): Made it private.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/Window.java (dispatchEventImpl): On ComponentEvents
adjust bounds. On resize invalidate and validate container.
Always pass on ComponentEvents to Container super class.
* gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
menuBar and pass to GtkWindowPeer super class.
(postConfigureEvent): Adjust menu bar width. Adjust y and height
bounds and pass to GtkWindowPeer super class.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
New fields for local bounds.
(getX, getY): New methods.
(getWidth): Don't call into awtComponent.
(getHeight): Likewise.
(create): Cache local bounds.
(setLocation): Documented, made protected and just call
nativeSetLocation.
(setLocationUnlocked): Removed unused method.
(setBoundsUnlocked): Likewise.
(setBounds): Check whether bounds actually changed and cache local
bounds.
(setSize): Documented and made protected.
(setResizable): Documented and cache local bounds.
(postConfigureEvent): Update local bounds. Don't call awtComponent
directly but post ComponentEvents.
(show): Cache local bounds.
(getBounds): Override to return cached bounds.
|
| |
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GdkGraphics.java
(drawImage): Added check to prevent NPE.
(drawImage): Likewise.
(drawImage): Likewise.
* java/awt/Choice.java
(dispatchEventImpl): New function. selectedIndex was
not being updated properly otherwise.
|
| |
|
|
|
|
|
|
|
|
| |
Partial fix for bug #26929
* gnu/java/awt/peer/gtk/GtkPanelPeer.java
(updateComponent): Removed. We want to clear the panel
before painting.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
(Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
Should set the background to the saved background color.
|
| |
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
Always show instances of Window.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
* gnu/java/rmi/activation/BidiTable.java: Rewritten.
* gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
Avoid NPEs.
* gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
readExternal, writeExternal): New methods.
* gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
two stages, invokeCommon(Remote, ...) and
invokeCommen(UnicastConnection, ...).
* java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
also the ActivatableRef. toString(): Documented.
* gnu/java/rmi/server/ActivatableRef.java,
tools/gnu/classpath/tools/rmi/Persistent.java,
tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
tools/gnu/classpath/tools/rmi/REGISTRY.java,
tools/gnu/classpath/tools/rmi/REGISTRY.txt,
tools/gnu/classpath/tools/rmi/RMID.java,
tools/gnu/classpath/tools/rmi/RMID.txt,
tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
tools/gnu/classpath/tools/rmi/registry/package.html,
tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
New files.
* tools/README: Documented.
* NEWS: Added entry about the activation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/security/jce/hash/HavalSpi.java,
* gnu/java/security/jce/hash/MD2Spi.java,
* gnu/java/security/jce/hash/MD4Spi.java,
* gnu/java/security/jce/hash/MD5Spi.java,
* gnu/java/security/jce/hash/MessageDigestAdapter.java,
* gnu/java/security/jce/hash/RipeMD128Spi.java,
* gnu/java/security/jce/hash/RipeMD160Spi.java,
* gnu/java/security/jce/hash/Sha160Spi.java,
* gnu/java/security/jce/hash/Sha256Spi.java,
* gnu/java/security/jce/hash/Sha384Spi.java,
* gnu/java/security/jce/hash/Sha512Spi.java,
* gnu/java/security/jce/hash/TigerSpi.java,
* gnu/java/security/jce/hash/WhirlpoolSpi.java,
* gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
* gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
* gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
* gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
* gnu/java/security/jce/sig/SignatureAdapter.java,
* gnu/java/security/key/IKeyPairCodec.java,
* gnu/java/security/key/IKeyPairGenerator.java,
* gnu/java/security/key/KeyPairGeneratorFactory.java,
* gnu/java/security/key/dss/DSSKey.java,
* gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
* gnu/java/security/key/dss/DSSPrivateKey.java,
* gnu/java/security/key/dss/DSSPublicKey.java,
* gnu/java/security/key/dss/FIPS186.java,
* gnu/java/security/key/rsa/GnuRSAKey.java,
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
* gnu/java/security/key/rsa/GnuRSAPublicKey.java,
* gnu/java/security/sig/ISignature.java,
* gnu/java/security/sig/ISignatureCodec.java,
* gnu/java/security/sig/dss/DSSSignature.java,
* gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
* gnu/java/security/sig/rsa/RSAPSSSignature.java,
* gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
* gnu/java/security/util/Util.java:
Remove CVS revision tags.
|
| |
|
|
|
|
|
|
| |
* gnu/java/rmi/activation/DefaultActivationGroup.java:
Documented the default jre spawning strategy (none).
* java/rmi/activation/ActivationGroup.java (currentGroupId,
getSystem): Obtain the acticivation system from the
DefaultActivationSystem.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/util/jar/JarUtils.java: New file.
* java/util/jar/Manifest.java (CRLF): Removed.
(read_main_section): Likewise.
(read_version_info): Likewise.
(expect_header(String,BufferedReader)): Likewise.
(expect_header(String,BufferedReader,String)): Likewise.
(read_header_value): Likewise.
(read_attributes): Likewise.
(read_attribute): Likewise.
(read_individual_sections): Likewise.
(read_section_name): Likewise.
(write_main_section): Likewise.
(write_version_info): Likewise.
(write_header): Likewise.
(write_main_attributes): Likewise.
(write_attribute_entry): Likewise.
(write_individual_sections): Likewise.
(write_entry_attributes): Likewise.
(read): use JarUtils.
(write): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/security/pkcs/SignerInfo.java (log): New field.
(DEBUG): Removed.
(debug): Likewise.
(SignerInfo(BERReader)): Updated javadoc.
Use JDK logging.
(SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
New constructor.
(encode): New method.
* gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
(PKCS7_DATA): Removed.
(DEBUG): Likewise.
(debug): Likewise.
(PKCS7SignedData(BERReader)): Updated javadoc.
Use JDK logging.
(PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
constructor.
(encode): New method.
* gnu/java/security/pkcs/PKCS7Data.java: New file.
* gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
(encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
(decodePrivateKey): Decode x from an OCTET STRING.
* gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
(toString): New method.
* gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
(str): Likewise.
(toString): New method.
* gnu/java/security/key/dss/DSSKey.java (str): New Field.
(toString): New method.
* gnu/java/security/provider/DSAParameterGenerator.java: Removed.
|
| |
|
|
|
| |
* gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
close root tag.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/rmi/activation/ActivationSystemTransient.java:
Inherit from Activator.
2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
Print debug message if debug flag is set.
* gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
* gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
detail, do not call iniCause(). (exportClass): New method.
* gnu/java/rmi/server/CombinedClassLoader.java (constructor):
Ignore null (bootstrap) class loader.
* gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
buildMethodHash, findStubSkelClass, getHelperClass): Changed
visibility to protected.
* java/rmi/activation/Activatable.java (export, register): Rewritten.
(toStub): New method.
* java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
* java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
Explained property java.rmi.activation.port.
Applying two patches toghether because the intermediate version does not build.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/locale/.cvsignore: New file.
* lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
* java/util/Locale.java (getAvailableLocales): Clone result.
(getISOCountries): Likewise.
(getISOLanguages): Likewise.
* scripts/generate-locale-list.sh: Make class public. Added new
array.
* gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
(getLocaleCount): Likewise.
* java/text/Collator.java (getInstance): Javadoc typo fix.
(getAvailableLocales): Wrote.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/rmi/activation/ActivationSystemTransient.java
(debug): Made public. (constructor): Made protected.
(activate, getActivationDesc): Throw more informative exceptions.
* gnu/java/rmi/server/UnicastConnectionManager.java (toString):
New method.
* gnu/java/rmi/server/UnicastRef.java (remoteToString):
Stub, implemented.
* gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
Documented.
* gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
Better exception.
* java/rmi/activation/Activatable.java (obtainId): Use the activation
system, passed in the activation descriptor field.
* java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
* java/rmi/activation/ActivationGroupID.java (system, uid): Changed
to package private final. (equals): Compare uid, not the system.
(hashCode): Forward to uid.hashCode(). toString(): New method.
* java/rmi/activation/ActivationID.java (readObject, writeObject):
Rewritten. (equals): Compare UID only. toString(): New method.
* java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
UID (space). (hashCode, toString): Rewritten.
* java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
New method. (invoke): Treat null as an empty array for parameters.
* java/rmi/server/UID.java (toString): Rewritten. (hashCode):
Include count, do not include the static machineId.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
Takes GtkImage, x and y coordinates.
(gtkWidgetSetCursorUnlocked): Likewise.
(GtkComponentPeer): Set cursor when set.
(setCursor): Handle GtkCursor.
* gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
New method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
(gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
* include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
PR 26805
* gnu/java/security/Registry.java
(PKCS5_PAD): Added pad PKCS#5 algorithm.
* gnu/javax/crypto/pad/PadFactory.java
(getInstance): For PKCS#5, also return PKCS#7 pad
algorithm.
(getNames): Added PKCS#5.
* javax/crypto/KeyGenerator.java
(getInstance): Initialize key generator before returning
it.
|
| |
|
|
|
|
|
| |
* gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
(GLightweightPeer(Component)): Install MouseListener.
(setCursor): Implement.
(mouseEntered): New method.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
static lock Object field.
(produce): Synchronize on pixbufLock when calling initState(),
pumpBytes() and pumpDone().
(finalize): Likewise when calling finish().
(GdkPixbufWriter.write): Likewise when calling streamImage().
* gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
when calling loadPixbuf. Chain exception.
(GtkImage(byte[])): Likewise when calling loadImageFromData.
(GtkImage(URL)): Likewise.
(GtkImage(int,int)): Likewise when calling createPixmap().
(GtkImage(GtkImage,int,int,int)): Likewise when calling
createScaledPixmap().
(GtkImage(Pointer)): Likewise when calling createFromPixbuf().
(setImage): Likewise when calling createPixmap() and setPixels().
(getSource): Likewise when calling getPixels().
(flush): Likewise when calling freePixmap().
(finalize): Likewise.
(drawImage): Likewise when calling drawPixelsScaledFlipped() and
drawPixelsScaledFlipped().
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
gdk_threads_enter/leave().
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
(Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
|
| |
|
|
|
| |
familyName.
* gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MouseEvent.MOUSE_WHEEL.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
New callback method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(AWT_MOUSE_WHEEL): New constant.
(AWT_WHEEL_UNIT_SCROLL): Likewise.
(postMouseWheelEventID): New static variable.
(cp_gtk_component_init_jni): Record postMouseWheelEventID.
(cp_gtk_component_connect_mouse_signals): Connect scroll-event.
(button_number): Renamed to ...
(button_number_direction): variable to hold button number or scroll
direction.
(component_button_press_cb): Use button_number_direction.
(component_scroll_cb): New static callback function.
|
| |
|
|
|
| |
Don't cast graphics object to GdkGraphics.
(updateComponent): Likewise.
|
| |
|
|
|
| |
* gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
Set to false.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/rmi/activation/Activatable.java: Implemented.
java/rmi/activation/ActivationDesc.java: Implemented.
java/rmi/activation/ActivationGroup.java: Implemented.
java/rmi/activation/ActivationGroupDesc.java: Implemented.
java/rmi/activation/ActivationID.java: Implemented.
java/rmi/activation/ActivationSystem.java: Implemented.
* gnu/java/rmi/server/UnicastServerRef.java
(exportObject, incommingMessageCall): Documented.
* java/rmi/activation/package.html: Documented.
* java/rmi/server/ObjID.java (objNum, space): Made package
protected.
* gnu/java/rmi/server/UnicastServer.java: Rewritten.
* gnu/java/rmi/server/CombinedClassLoader.java (constructor):
Iteration bug fix.
* gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
gnu/java/rmi/activation/BidiTable.java: New file.
gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
gnu/java/rmi/server/ActivatableServerRef.java: New file.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
return 0.
* gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
font metrics through toolkit.
* gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(getFontMetrics): To calculate Java logical ascent and descent
values, average Pango ink and logical values.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/26486
* gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
method.
(handleEvent): Likewise.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
Remove field.
(beginNativeRepaint): Remove method.
(endNativeRepaint): Likewise.
(handleEvent): Call paintComponent and updateComponent.
(paintComponent): New method.
(updateComponent): Likewise.
(repaint): Return early if width or height is less than one.
(postExposeEvent): Remove isInRepaint reference.
* gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
Remove method.
* gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
from GtkWindowPeer.
(postMouseEvent): Likewise.
(postExposeEvent): Likewise.
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
Override to do nothing.
* gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
from GtkWindowPeer.
(postMouseEvent): Likewise.
(postExposeEvent): Likewise.
* gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
paint and update handling from GtkComponentPeer.
(updateComponent): Override to call paintComponent.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
gdk_flush calls with schedule_flush calls.
(flush): New function.
(schedule_flush): Likewise.
|
| |
|
|
|
|
|
| |
* gnu/java/net/protocol/http/Headers.java: Added documentation all over.
(dateFormat): Made private.
(put): Replace only the last occurance and the value.
(putAll): Save one iteration. Clarified documentation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New static field.
(stringMimeType, imageMimeType, filesMimeType): Initialize directly.
(canCache): Likewise.
(GtkClipboard): Take String argument.
(getInstance): Removed.
(getClipboardInstance, getSelectionInstance): New static methods.
(setSystemContents): Make synchronized. Takes boolean argument.
(initNativeState): Add clipboard and selection.
* gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
(announceClipboardChange, announcePrimaryChange): New static field.
(announce): Take GtkClipboard as argument.
(run): Check which clipboard to announce change for.
* gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
boolean field.
(GtkSelection): Take GtkClipboard as argument.
(requestText, requestImage, requestURIs, requestBytes): Add boolean
clipboard argument.
(requestMimeTypes): Likewise.
* gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
New method.
* java/awt/Toolkit.java (getSystemSelection): Document.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
(cp_gtk_selection_instance): New var.
(current_selection, owner): Removed.
(clipboard_owner_change_cb): Use clipboard argument.
(initNativeState): Store clipboard and selection instances. Cache
setSystemContentsID, provideContentID, provideTextID, provideImageID,
and provideURIsID.
(clipboard_get_func): Use clipboard argument.
(clipboard_clear_func): Likewise. Always call method.
(advertiseContent): Don't cache method ids here. Check whether to
use clpboard or selection. Don't set owner or current_selection.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
(requestText, requestImage, requestURIs, requestBytes): Use extra
boolean argument to select clipboard.
* native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
(cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
* include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
* include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
|
| |
|
|
|
| |
* gnu/java/rmi/server/UnicastRef.java,
gnu/java/rmi/server/UnicastServer.java: Formatted.
|
| |
|
|
|
|
| |
* gnu/java/rmi/server/CombinedClassLoader.java (findClass,
findLibrary, findResouce, findResources): check all loaders in
array.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
PR 25526
* gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
(RefProtector): new inner class. (dirty): Rewritten.
* gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
new methods. (readExternal): Create LeaseRenewingTask if non local.
* gnu/java/rmi/server/UnicastServer.java (objects):
Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
(getExported): New method.
* gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
|
| |
|
|
|
|
|
|
|
| |
PR classpath/26569
* java/awt/List.java
(preferredSize): Return the size of the list if the peer is null.
* gnu/java/awt/peer/gtk/GtkListPeer.java
(preferredSize): Code was returning the minimum size of the list.
Added adjustment to the width of the list so it is a proper size.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
(getRequestProperty): Remove duplicated null check.
* java/net/URLConnection.java:
(URLConnection): Javadoc fix.
(addRequestProperty): Likewise.
(getDefaultRequestProperty): Likewise.
(getHeaderField): Likewise.
(getHeaderFieldDate): Likewise.
(getHeaderFieldKey): Likewise.
(getHeaderFields): Likewise.
(getRequestProperties): Likewise.
(getRequestProperty): Likewise.
(setDefaultRequestProperty): Likewise.
(setRequestProperty): Likewise.
|
| |
|
|
|
|
|
|
| |
2006-03-06 Dalibor Topic <robilad@kaffe.org>
* gnu/java/net/protocol/file/Connection.java (unquote):
Update position in buffer after decoding a unicode character
outside of the basic plane.
|
| |
|
|
|
|
|
|
|
|
| |
ClassHelper.getUserName.
* vm/reference/java/lang/reflect/Method.java (toString): Use
ClassHelper.getUserName.
(getUserTypeName): Removed.
* gnu/java/lang/ClassHelper.java (getUserName): New method.
* vm/reference/java/lang/reflect/Field.java (toString): Use
ClassHelper.getUserName.
|
| |
|
|
| |
existing connection from pool before returning.
|
| |
|
|
|
| |
* gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
* java/rmi/dgc/Lease.java: Boilerplate fix.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(getRequestProperties): Rewrote.
(addRequestProperty): Rewrote.
(getHeaderFields): Rewrote.
(getHeaderField): Rewrote.
(getHeaderFieldKey): Rewrote.
(getHeaderField): Removed useless cast.
* gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
* gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
interface.
(notifyHeaderHandlers): Use new Headers interface.
|
| |
|
|
|
|
|
|
|
| |
Always call setParentAndBounds().
(setComponentBounds): Always call setBounds().
(setBounds): Call setVisible().
(setVisible): If no pixels are showing then don't make it visible.
* gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
to call setParentAndBounds() anymore.
|
| |
|
|
|
|
|
|
|
|
| |
I wrote some comments and applied Eclipse formatter.
2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/dgc/DGCImpl.java,
java/rmi/dgc/DGC.java,
java/rmi/dgc/Lease.java: Formatted and commented.
|
| |
|
|
|
|
| |
* gnu/java/net/protocol/jar/Connection.java:
(connect): Throw FileNotFoundException.
(getInputStream): Remove duplicated code.
|
| |
|
|
|
|
|
|
| |
* gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
(getVersion): Javadoc fix.
(get): Likewise.
* gnu/java/net/protocol/http/Headers.java: Organized imports.
* gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/nio/charset/UnmappableCharacterException.java:
(serialVersionUID): New field.
* java/nio/charset/MalformedInputException.java:
(serialVersionUID): New field.
* java/nio/charset/CoderMalfunctionError.java:
(serialVersionUID): New field.
* java/nio/charset/CharacterCodingException.java:
(serialVersionUID): New field.
* java/nio/channels/UnsupportedAddressTypeException.java:
(serialVersionUID): New field.
* java/nio/channels/UnresolvedAddressException.java:
(serialVersionUID): New field.
* java/nio/channels/OverlappingFileLockException.java:
(serialVersionUID): New field.
* java/nio/channels/NotYetConnectedException.java:
(serialVersionUID): New field.
* java/nio/channels/NotYetBoundException.java
(serialVersionUID): New field.
* java/nio/channels/NonWritableChannelException.java
(serialVersionUID): New field.
* java/nio/channels/NonReadableChannelException.java
(serialVersionUID): New field.
* java/nio/channels/NoConnectionPendingException.java
(serialVersionUID): New field.
* java/nio/channels/IllegalSelectorException.java
(serialVersionUID): New field.
* java/nio/channels/IllegalBlockingModeException.java
(serialVersionUID): New field.
* java/nio/channels/FileLockInterruptionException.java
(serialVersionUID): New field.
* java/nio/channels/ConnectionPendingException.java
(serialVersionUID): New field.
* java/nio/channels/ClosedSelectorException.java (serialVersionUID):
New field.
* java/nio/channels/ClosedChannelException.java (serialVersionUID):
New field.
* java/nio/channels/ClosedByInterruptException.java
(serialVersionUID): New field.
* java/nio/channels/CancelledKeyException.java (serialVersionUID):
New field.
* java/nio/channels/AsynchronousCloseException.java
(serialVersionUID): New field.
* java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
New field.
* java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
* java/nio/InvalidMarkException.java (serialVersionUID): New field.
* java/nio/BufferUnderflowException.java (serialVersionUID): New
field.
* java/nio/BufferOverflowException.java (serialVersionUID): New field.
* java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
Javadoc fix. Added import.
* java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
(validOps): Likewise.
* gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
* gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
* gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
* java/nio/channels/Channels.java: Added import.
* java/nio/channels/FileChannel.java (lock): Typo fix.
(tryLock): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FileBasedFactory.
* gnu/java/util/prefs/FileBasedPreferences.java: New file.
* java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
(clear): Likewise.
(putSpi): Likewise.
(newNode): Likewise.
(node): Likewise.
* gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
* gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
field.
(systemRoot): Use it.
(userPreferences): New field.
(userRoot): Use it.
|
| |
|
|
|
|
| |
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
(create): Initially set the directory to the current working directory.
(setDirectory): Removed else-if. No need for this check.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Javadoc fix.
* gnu/java/util/prefs/EventDispatcher.java: New file.
* gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
(NodeWriter): Specify UTF-8.
(writeHeader): Emit DOCTYPE.
* java/util/prefs/Preferences.java (getFactory): Add cause to
exception.
(exportNode): Documented.
(exportSubtree): Likewise.
(importPreferences): Likewise.
* java/util/prefs/NodeChangeEvent.java (readObject): New method.
(writeObject): Likewise.
* java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
(writeObject): Likewise.
* java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
(nodeListeners): New field.
(preferenceListeners): Likewise.
(addNodeChangeListener): Implemented.
(addPreferenceChangeListener): Likewise.
(removeNodeChangeListener): Likewise.
(removePreferenceChangeListener): Likewise.
(fire): New methods.
(put): Fire event.
(remove): Likewise.
(purge): Likewise. Fixed synchronization.
(removeNode): Fixed synchronization.
(getNode): Fire event.
(flushNode): Fixed synchronization.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
Amended class documentation.
(encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
STRING.
(decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
a BIT STRING construct.
* gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
documentation.
(encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
STRING.
(decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
a BIT STRING construct.
* gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
(engineVerify): Added logging.
|
| |
|
|
|
|
| |
* gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
up.
(getRequestProperties): Rewrote.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
up.
(ChunkedInputStream): Extend InputStream.
(in): New field.
(headers): Moved to top of class.
(constructor): Save referenct to in.
(read(byte[])): Removed method.
(read(byte[], int, int)): Made synchronized and throw IOException
on error parsing chunk header.
(available): New method.
(close): New method.
|
| |
|
|
|
|
| |
(imports): Cleaned up.
(GetHTTPPropertiesAction): Removed, and moved contents to ...
(constructor): ... Here, using SystemProperties instead of System.
|