[cp-patches] FYI: Implementing multiple editors for JTable (with example)

2006-01-19 Thread Meskauskas Audrius
This patch add the multi-editor support for JTable. The table now supports the two editors: text and boolean. The boolean values are rendered and edited using JCheckBox. I add the more complicated table example to the Swing demo to show the table with header, multiple data types (text and boo

[cp-patches] FYI: Implementing cell editing in JTable.

2006-01-16 Thread Meskauskas Audrius
This patch implements the cell editing in JTable. The editing session can be started by double clicking on the cell and completed by pressing Enter or canceled by pressing ESC. The table is updated and stores the changed value. This can be tested in the table of the Swing demo. The implementat

[cp-patches] FYI: Render null as the empty cell in JTable

2006-01-15 Thread Meskauskas Audrius
If the JTable model returns null, our recent implementation does not set the value at all. The visible content of such cell replicates the value of the adjacent cell. Sun's implementation renders the null value as the empty cell. With one user application I have observed the strange content repl

[cp-patches] FYI:Throwing different exception in gnu/java/rmi/server/UnicastRef.java

2006-01-12 Thread Meskauskas Audrius
The Sun's implementation throws java.rmi.ConnectException (subclass of RemoteException) in the case of failure to establish the connection. Our implementation throws the RemoteException itself. This crashes applications that specifically catch ConnectException. In Classpath, this exception is

Re: [cp-patches] FYI: First class for javax.management.

2006-01-10 Thread Meskauskas Audrius
separating prefix from the main name component. Audrius Chris Burdess wrote: Meskauskas Audrius wrote: /** * The attribute name. */ final String m_name; /** * The attribute value. */ final Object m_value; Do we really need all this "m_*" Hungarian notation business? We

[cp-patches] FYI: Grammar fixes in javax.management.Attribute

2006-01-09 Thread Meskauskas Audrius
2006-01-09 Audrius Meskauskas <[EMAIL PROTECTED]> * javax.management.Attribute.java: Grammar and formatting fixes. Index: javax/management/Attribute.java === RCS file: /cvsroot/classpath/classpath/javax/management/Attribute.java,v

[cp-patches] FYI: First class for javax.management.

2006-01-09 Thread Meskauskas Audrius
2006-01-09 Audrius Meskauskas <[EMAIL PROTECTED]> * javax.management.Attribute.java: New file. /* Attribute.java -- Copyright (C) 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the term

[cp-patches] FYI:Removing non ASCII character from org/omg/CORBA/INVALID_ACTIVITY.java

2006-01-07 Thread Meskauskas Audrius
2006-01-07 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - ASCII character (line 46). Index: org/omg/CORBA/INVALID_ACTIVITY.java === RCS file: /cvsroot/classpath/classpath/org/omg/CORB

[cp-patches] FYI: CORBA Active Object Map update

2006-01-01 Thread Meskauskas Audrius
This should fix the work of POA.reference_to_servant(Object) in the case when the passed object, despite not created by this POA, has the same delegate, as some object, created by this POA. Such objects share the same servant that (if known) must be returned in such case. 2006-01-01 Audrius M

[cp-patches] FYI: More comprehensive exception in gnu.CORBA

2005-12-31 Thread Meskauskas Audrius
2005-12-31 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/Poa/gnuPOA.java (reference_to_servant): Throw WrongAdapter with explaining message. Index: gnu/CORBA/Poa/gnuPOA.java === RCS file: /cvsroot/classpath/classpath/gnu/COR

Re: [cp-patches] FYI: Disallow unsecure copy/paste exchange

2005-12-04 Thread Meskauskas Audrius
Maybe yes. The recent insecure approach comes from the historcal past. Mark Wielaard wrote: Hi, After the last discussion about TransferHandler and security issues it seemed safer to me to just disallow any copy/paste between untrusted code paths as was suggested earlier. 2005-12-04 Mark Wi

Re: [cp-patches] FYI: Getting the system clipboard in javax/swing/TransferHandler

2005-11-22 Thread Meskauskas Audrius
>Yes. But the problem was that 1) whenever there was any insecure access to the clipboard all successive calls would use this local clipboard. Yes, if the situation changes in the way that the access to the system clipboard is now permitted, the system clipboard must be returned. This patch fi

Re: [cp-patches] FYI: Stopping the DefaultCaret timer when the component looses the focus.

2005-11-22 Thread Meskauskas Audrius
Despite the current version always operates correctly, yes, the timer generally must be started regardless if the caret is now visible or not (it may get visible due blinking). I was also thinking about the version where the "visible" property is not involved into the blinking process, but in

[cp-patches] FYI: Stopping the DefaultCaret timer when the component looses the focus.

2005-11-22 Thread Meskauskas Audrius
This should fix the resource leak, stopping the caret blinking timer when the caret looses the focus. 2005-11-22 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/text/DefaultCaret.java (focusGained): Update timer status. (focusLost): Stop the timer (unless the event i

Re: [cp-patches] FYI: Getting the system clipboard in javax/swing/TransferHandler

2005-11-19 Thread Meskauskas Audrius
, Meskauskas Audrius wrote: The private method getClipboard in TransferHandler was always returning the VM local clipboard and not the system clipboard in the case when the security manager is not installed (typical case). With this patch, I am able to paste the external data from the system

[cp-patches] RFC:Modifying example build system.

2005-11-17 Thread Meskauskas Audrius
This patch makes the system to compile, zip and install the CORBA examples as well. The CORBA examples were not installed because they were placed in the more nested folders that expected by the build script. The patch should fix the PR 24911. The patch fixes problem in a primitive way, by add

[cp-patches] FYI: Added not to CORBA examples readme.

2005-11-17 Thread Meskauskas Audrius
The note explains that there is no need to build the whole Classpath system just to build the examples. 2005-11-17 Audrius Meskauskas <[EMAIL PROTECTED]> * examples/gnu/classpath/examples/CORBA/swing/README.html: Added note about the build. Index: examples/gnu/classpath/examples/CORBA/swing/

[cp-patches] FYI: Releasing the first CORBA/Swing example ( two player network strategy game)

2005-11-15 Thread Meskauskas Audrius
This example should demonstrate the work of CORBA in the Swing based network game.The game was popular in my student times. After doing some web search I concluded that the game is called Five-in-a-row in English. Five-in-a-row is a two player strategy game. The players are connected vi

[cp-patches] FYI:gnu.CORBA.OrbFunctional fix.

2005-11-15 Thread Meskauskas Audrius
This fixes interoperability problems with Sun\s 1.5 jdk. 2005-11-15 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/OrbFunctional.java (serveStep): Returning ensure that the socket is closed. Index: gnu/CORBA/OrbFunctional.java ===

Re: [cp-patches] FYI: Prevent multiple lines in JTextField

2005-11-15 Thread Meskauskas Audrius
Yes, your suggestion is the better way to fix that bug. Roman Kennke wrote: Hi again, The simplest way to reach the identical behaviour is to override setText and replaceSelection, replacing (if present) line feeds and carriage returns by spaces. I have looked into this. The simple

[cp-patches] FYI: Prevent multiple lines in JTextField

2005-11-15 Thread Meskauskas Audrius
JTextField is always a single line component. In GNU Classpath, it is possible to make it multi line by setting or pasting the line with line feeds. While this is highly impressive, the Sun's implementation never does this, replacing the line feeds by spaces instead. The unwanted resizing of th

[cp-patches] FYI: Getting the system clipboard in javax/swing/TransferHandler

2005-11-13 Thread Meskauskas Audrius
The private method getClipboard in TransferHandler was always returning the VM local clipboard and not the system clipboard in the case when the security manager is not installed (typical case). With this patch, I am able to paste the external data from the system clipboard into the text field

[cp-patches] FYI: CORBA 1.5 API fixes

2005-11-13 Thread Meskauskas Audrius
This adds several missing 1.5 methods. 2005-11-13 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/Interceptor/gnuIorInfo.java (state): Made public. * gnu/CORBA/Interceptor/gnuServerRequestInfo.java (adapter_name, orb_id, server_id): New methods. * org/omg/PortableInterceptor/IOR

Re: [cp-patches] Patch: RFC: javax.sound.sampled

2005-11-13 Thread Meskauskas Audrius
+1 Audrius. ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches

[cp-patches] FYI: Partial fix of 24749 (selection background is always black).

2005-11-12 Thread Meskauskas Audrius
This patch changes selection background color into correct one. The selected text is now visible in Metal and Ocean L&F. It is still not visible in GNU L&F because the selection background in this L&F is black anyway. The foreground must be white, but for some reason stays black, despite the t

[cp-patches] FYI: Updgrading CORBA interceptor system to CORBA 3.0.3 (jdk 1.5)

2005-11-11 Thread Meskauskas Audrius
This patch introduces IORInterceptor_3_0.java that appears from jdk 1.5 and implements changes, required for this class to work. 2005-11-11 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/PortableInterceptor/IORInterceptor_3_0.java, org/omg/PortableInterceptor/IORInterceptor_3_0Helper.j

[cp-patches] FYI: ORB_ID and SERVER_ID property support.

2005-11-10 Thread Meskauskas Audrius
This adds support for two properties that are used in CORBA since jdk 1.5. 2005-11-10 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/OrbFunctional.java (use_properties, set_parameters): Rewritten to support orb and server ids. * org/omg/CORBA/ORB.java, org/omg/PortableIntercept

[cp-patches] FYI: Two more CORBA classes

2005-11-09 Thread Meskauskas Audrius
2005-11-09 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java, * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java: New files. /* ObjectReferenceTemplateSeqHolder.java -- Copyright (C) 2005 Free Software Foundation, Inc.

[cp-patches] FYI: New 1.5 CORBA classes.

2005-11-09 Thread Meskauskas Audrius
2005-11-09 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/PortableInterceptor/ObjectReferenceTemplate.java, * org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java, * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java: New files. ObjectReferenceTemplate.tar.gz Descript

[cp-patches] FYI: ObjectReferenceFactory API fix.

2005-11-09 Thread Meskauskas Audrius
2005-11-09 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/PortableInterceptor/ObjectReferenceFactory.java: Do not inherit from org.omg.CORBA.Object Index: org/omg/PortableInterceptor/ObjectReferenceFactory.java === RCS file: /cv

[cp-patches] FYI: Fix for 24730 ("Phlegmatic work")

2005-11-08 Thread Meskauskas Audrius
This patch implements the caret blinking behavior that is usually observed in the most of applications: after any change of the caret position it immediately reappears and do no go down again earlier than the full timer blinking interval. Under very intensive work, the caret does not blink. T

[cp-patches] FYI: Clone parameter Dimension in JComponent setters.

2005-11-08 Thread Meskauskas Audrius
Our setMaximumSize, setMinimumSize, setPreferredSize do not clone the passed parameter, assigning it directly. If the user program reuses the passed object (for instance, to set the same property with different values for another component), the modifications both in Classpath and the user code

Re: [cp-patches] FYI: New TextField demo

2005-11-07 Thread Meskauskas Audrius
>2) Clicking somewhere in the text doesn't move the cursor to that point - this is a regression. This is a rather strange regression because the ordinary JTextField with absolutely no tricks in from the test case 24650 handles the mouse clicks correctly, and the Swing demo does not. This may b

[cp-patches] FYI: gnu.CORBA.IOR fix.

2005-11-06 Thread Meskauskas Audrius
2005-11-07 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/IOR.java (equals, hasCode): Compare port number as well and do not crash on .Internet==null. Index: gnu/CORBA/IOR.java === RCS file: /cvsroot/classpath/classpath/gnu/CO

[cp-patches] FYI: Fixes in org.omg.CORBA.Object._is_equivalent.

2005-11-06 Thread Meskauskas Audrius
This method provides better functionality for the org.omg.CORBA.Object._is_equivalent. If the objects are remote, it is still possible to check if they are equivalent by comparing the host and object key information. 2005-11-06 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/IOR.java (equ

[cp-patches] FYI:Implementing http://, ftp:// and file:// for org.omg.CORBA.ORB.string_to_object(String)

2005-11-06 Thread Meskauskas Audrius
This patch adds support for the three protocols that must be supported by this method as defined in CORBA 3.0.3 (formal/04-03-12). The requirement is to read from the specified location a string that must be the address string, finally following one of the older standards of the stringified obj

Re:Re: [cp-patches] FYI: Stability fix for gnu/CORBA/SocketRepository: Patch attached to fix this.

2005-11-04 Thread Meskauskas Audrius
Thanks Mark for noticing the synchronization bug. Audrius. 2005-11-04 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/SocketRepository.java (sockets): Changed type to HashMap. (put_socket, get_socket, gc): Always synchronize on 'sockets'. Index: gnu/CORBA/SocketRepository.ja

[cp-patches] RFC: Suggested change in PlainView.

2005-11-03 Thread Meskauskas Audrius
Our JTextField contains an "imaginary" end of line character (0xA), but the new text must be always inserted before it, not after. When clicking right from the last character in the field, the PlainTextView.viewToModel should return the position before the end of line character and not after th

[cp-patches] FYI: adding langel to AUTHORS.

2005-11-02 Thread Meskauskas Audrius
Lillian has recently done 168 commits, mainly focusing on tree and other complicated Swing components. Trees are very widely used not just to display the folder content, but also in various configuration panels and advanced text editors (to display the structure), being important Swing componen

[cp-patches] FYI: Stability fix for gnu/CORBA/SocketRepository

2005-10-31 Thread Meskauskas Audrius
This patch fixes some hanging problems that I observed when debugging my CORBA game example. These problems stayed unnoticed during tests because the game normally lasts much longer that it takes the test to complete. 2005-10-31 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/SocketReposi

[cp-patches] FYI: Renaming CORBA examples.

2005-10-28 Thread Meskauskas Audrius
2005-10-28 Audrius Meskauskas <[EMAIL PROTECTED]> * examples\gnu\classpath\examples\CORBA\SimpleCommunication\comServer.java, examples\gnu\classpath\examples\CORBA\SimpleCommunication\communication\passThisHolder.java, examples\gnu\classpath\examples\CORBA\SimpleCommunication\communication\retu

[cp-patches] FYI: Renaming classes in gnu/CORBA/POA, gnu/CORBA/GIOP and and gnu/CORBA/NamingService

2005-10-28 Thread Meskauskas Audrius
2005-10-28 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/Poa/AOM.java, gnu/CORBA/Poa/AccessiblePolicy.java, gnu/CORBA/Poa/DynamicImpHandler.java, gnu/CORBA/Poa/StandardPolicies.java, gnu/CORBA/Poa/ServantDelegateImpl.java, gnu/CORBA/Poa/NamingService/NameComponentComparator.java gnu/CORBA/

[cp-patches] FYI: Renaming classes in gnu/CORBA/DynAn

2005-10-28 Thread Meskauskas Audrius
2005-10-28 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/DynAn/ValueChangeListener.java gnu/CORBA/DynAn/AbstractAny.java gnu/CORBA/DynAn/RecordAny.java gnu/CORBA/DynAn/DivideableAny.java gnu/CORBA/DynAn/UndivideableAny.java: New files. * gnu/CORBA/DynAn/abstractDynAny.java, gnu/CORBA/DynA

[cp-patches] FYI: Renaming files ing gnu/CORBA/CDR

2005-10-28 Thread Meskauskas Audrius
2005-10-28 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/CDR/abstractDataInputStream.java, gnu/CORBA/CDR/abstractDataOutputStream.java, gnu/CORBA/CDR/aligningInputStream.java, gnu/CORBA/CDR/aligningOutputStream.java, gnu/CORBA/CDR/cdrBufInput.java.java, gnu/CORBA/CDR/cdrBufOutput.java gnu/

[cp-patches] FYI: Renaming 4 classes in gnu.javax.rmi.CORBA

2005-10-28 Thread Meskauskas Audrius
2005-10-28 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/javax/rmi/CORBA/corbaObjectInput.java, gnu/javax/rmi/CORBA/corbaObjectOutput.java, gnu/javax/rmi/CORBA/dwoTester.java, gnu/javax/rmi/CORBA/gnuRmiUtil: Deleted. * gnu/javax/rmi/CORBA/CorbaInput.java, gnu/javax/rmi/CORBA/C

[cp-patches] FYI: Renaming 7 remaining classes in gnu.CORBA

2005-10-28 Thread Meskauskas Audrius
2005-10-28 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/holderFactory.java, gnu/CORBA/IOR_contructed_object.java, gnu/CORBA/IOR_Delegate.java, gnu/CORBA/Simple_delegate.java, gnu/CORBA/Restricted_ORB.java, gnu/CORBA/Functional_ORB.java, gnu/CORBA/Focused_ORB.java: Rem

[cp-patches] FYI: Renaming 9 classes in gnu.CORBA

2005-10-28 Thread Meskauskas Audrius
Due historical reasons some class names in CORBA implementation packages start with the lowercase letter. I plan gradually migrate to the names starting from uppercase, except perhaps classes with gnu prefix that reads much better being in lowercase and is also very abundant. 2005-10-28 Audri

[cp-patches] FYI: Moving Classpath specific CORBA typecodes into the single package.

2005-10-28 Thread Meskauskas Audrius
This patch groups our CORBA typecodes into package gnu.CORBA.typecodes. 2005-10-28 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/typecodes/AliasTypeCode.java, gnu/CORBA/typecodes/ArrayTypeCode.java, gnu/CORBA/typecodes/FixedTypeCode.java, gnu/CORBA/typecodes/GeneralTypeCode.java, gnu/CORB

[cp-patches] FYI: PortableInterceptor ObjectId API compatibility fix.

2005-10-27 Thread Meskauskas Audrius
2005-10-27 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/PortableInterceptor/ObjectIdHelper.java: Assuming ObjectId as alias of byte[], not alias of String. Index: org/omg/PortableInterceptor/ObjectIdHelper.java === RCS file:

[cp-patches] FYI: Refreshing the bug reporting URL in BUGS.

2005-10-27 Thread Meskauskas Audrius
All bugs have moved to Bugzilla ages ago. 2005-10-27 Audrius Meskauskas <[EMAIL PROTECTED]> * BUGS: URL refreshed. Index: BUGS === RCS file: /cvsroot/classpath/classpath/BUGS,v retrieving revision 1.5 diff -u -r1.5 BUGS ---

[cp-patches] FYI: Removing gnu.CORBA.ExceptionCreator

2005-10-26 Thread Meskauskas Audrius
This file is no longer referenced and can be deleted. 2005-10-27 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/ExceptionCreator.java: Deleted. ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/

[cp-patches] FYI:ObjectReferenceFactory with friends (1.5 CORBA)

2005-10-26 Thread Meskauskas Audrius
2005-10-26 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/PortableInterceptor/ObjectReferenceFactory.java, org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java, org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java, org/omg/PortableInterceptor/ObjectReferenceFacto

[cp-patches] FYI: More 1.5 CORBA classes

2005-10-26 Thread Meskauskas Audrius
2005-10-26 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/PortableInterceptor/AdapterManagerIdHelper.java, org/omg/PortableInterceptor/AdapterNameHelper.java, org/omg/PortableInterceptor/AdapterStateHelper.java, org/omg/PortableInterceptor/ORBIdHelper.java, org/omg/PortableInterceptor/ObjectI

Re: [cp-patches] FYI: New class - WrappedPlainView

2005-10-26 Thread Meskauskas Audrius
Oh, you cannot imagine how I am happy to see somebody working on that disasterous package! Anthony Balkissoon wrote: I added the class javax.swing.text.WrappedPlainView. ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.

[cp-patches] FYI: CORBA example fix.

2005-10-25 Thread Meskauskas Audrius
Eclipse refuses to start the CORBA naming service example because the parameters of the main method are declared as final This patch makes them no longer final. 2005-10-25 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/classpath/examples/CORBA/NamingService/Demo.java (main): Make arguments not

[cp-patches] FYI: Removing misplaces org.omg.CORBA.IDLEntity.java

2005-10-25 Thread Meskauskas Audrius
This file should not be there. The correct existing class is org.omg.CORBA.portable.IDLEntity. After deleting I also needed to fix several classes that were wrongly referring to it. 2005-10-25 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/CORBA/IDLEntity.java: Deleted. *

[cp-patches] FYI: Renaming gnuSocketFactory into SocketFactory.

2005-10-25 Thread Meskauskas Audrius
Roman suggested that the gnuSocketFactory in the public interfaces should be better called 'SocketFactory' instead. It is in the interface that I plan to make public and never modify after it was once released, so such things are probably important. As Classpath is not yet released, I suggest

[cp-patches] FYI: unchecked_narrow metod (1.5) in CORBA helpers.

2005-10-25 Thread Meskauskas Audrius
All helpers in jdk 1.5 contain the additional unchecked_narrow method, discussed in http://www.omg.org/issues/issue4158.txt. This path adds the method to our helper classes. 2005-10-25 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/CosNaming/BindingIteratorHelper.java, org/omg/CosNaming/Na

[cp-patches] RFC: java.io.File.createTempFile

2005-10-23 Thread Meskauskas Audrius
This path should fix the bug #22972 (createTempFile returns the same value for parallel threads). There is a Mauve test (createFile) now that demonstrates the problem. The first idea was just to synchronize the method. However even being synchronized, it was failing if the previously returned

[cp-patches] FYI: New additional IOP constants

2005-10-23 Thread Meskauskas Audrius
2005-10-23 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/IOP/RMICustomMaxStreamFormat.java, org/omg/IOP/ExceptionDetailMessage.java: New files. /* RMICustomMaxStreamFormat.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Cl

[cp-patches] FYI: gnu/CORBA/Interceptor/Registrator.java (m_prefix): Made static.

2005-10-23 Thread Meskauskas Audrius
2005-10-23 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/Interceptor/Registrator.java (m_prefix): Made static. Index: gnu/CORBA/Interceptor/Registrator.java === RCS file: /cvsroot/classpath/classpath/gnu/CORBA/Intercept

[cp-patches] FYI: Minor RMI-IIOP bug fix.

2005-10-23 Thread Meskauskas Audrius
The readValue(...) was trying to read fields of the RMI Stub that may follow the IOR reference. The stubs, generated by rmic, have no any fields, but the bug reveals itself with the user-modified stubs. 2005-10-23 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/javax/rmi/CORBA/gnuRmiUtil

[cp-patches] FYI: Several 1.5 CORBA constants.

2005-10-22 Thread Meskauskas Audrius
These are trivial single field CORBA interfaces. 2005-10-22 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/IOP/TAG_RMI_CUSTOM_MAX_STREAM_FORMAT, org/omg/PortableInterceptor/ACTIVE.java, org/omg/PortableInterceptor/DISCARDING.java, org/omg/PortableInterceptor/HOLDING.java, org/omg/PortableInt

[cp-patches] FYI: Several 1.5 CORBA exceptions.

2005-10-22 Thread Meskauskas Audrius
2005-10-22 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/CORBA/ACTIVITY_COMPLETED.java, org/omg/CORBA/ACTIVITY_REQUIRED.java, org/omg/CORBA/BAD_QOS.java, org/omg/CORBA/CODESET_INCOMPATIBLE.java, org/omg/CORBA/INVALID_ACTIVITY.java, org/omg/CORBA/REB

[cp-patches] FYI: New 1.5 RMI CORBA class.

2005-10-22 Thread Meskauskas Audrius
This adds the new jdk 1.5 class to the javax.rmi.CORBA package. If I understand the resend talks correctly, we commit 1.5 classes to the main branch. The new class is an interface. For implementation, two simple methods are added to ValueHandlerDelegateImpl. 2005-10-22 Audrius Meskauskas <

[cp-patches] FYI: Providing workarounds for com.sun.CORBA.connection.ORBSocketFactoryClass property (or ORBConstants.SOCKET_FACTORY_CLASS_PROPERTY field).

2005-10-21 Thread Meskauskas Audrius
This property sets a custom socket factory class and is most frequently used to implement communications via SSL. Direct replacement is not possible because that class must implement the non-trivial undocumented interface from the com.sun.corba domain (subject of changes without notice anyway).

Re: [cp-patches] Re: FYI: Added missing methods in org.ietf interface declarations.

2005-10-21 Thread Meskauskas Audrius
Stuart> But having these in place does serve a documentation purpose The .equals(Object) was already declared in these two interfaces. This is probably done to add comment, explaining, that these methods must behave specifically and should normally be overridden. So this is just a documenting

[cp-patches] FYI: Added missing methods in org.ietf interface declarations.

2005-10-20 Thread Meskauskas Audrius
This patch adds the declaration of the hashCode method to these two interfaces. The method is inherited from Object, and explicit declaration just indicates that it must be overridden because the .equals must be overridden. 2005-10-20 Audrius Meskauskas <[EMAIL PROTECTED]> * org/ietf/jgss/G

[cp-patches] FYI: New method for HTMLEditorKit

2005-10-19 Thread Meskauskas Audrius
2005-10-19 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/text/html/HTMLEditorKit.java (getParser): New method. Index: javax/swing/text/html/HTMLEditorKit.java === RCS file: /cvsroot/classpath/classpath/javax/swing/text/html

[cp-patches] FYI: Fixed comments for ContentModel constructor.

2005-10-19 Thread Meskauskas Audrius
2005-10-19 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/text/html/parser/ContentModel.java: Fixed comments for parameterless constructor. Roman does great work anyway. Index: javax/swing/text/html/parser/ContentModel.java

Re: [cp-patches] javax.swing.text.html.parser cleanup

2005-10-19 Thread Meskauskas Audrius
Great patch and great work! The only arguable place is the ContentModel parameterless constructor. It is needed just because there are other constructors that take parameters. Fields are initialised to default values (null and 0) without additional code. Nothing to do between { }. Please remov

[cp-patches] FYI: gnu.CORBA.ListenerPort property.

2005-10-16 Thread Meskauskas Audrius
Various firewalls does not allow opening multiple randomly selected ports, as the default CORBA implementation used to do. The firewall must be configured to allow CORBA to work on one fixed port or (for better performance) on a small fixed range of ports. This does not restrict the maximal numbe

Re: [cp-patches]: Patch: UIDefaults fix

2005-10-16 Thread Meskauskas Audrius
xt class loaders, but are present in the execution stack. I was only able to implement the same with the help of VMStackWalker, as it was suggested by Jeroen. Tom Tromey wrote: "Audrius" == Meskauskas Audrius <[EMAIL PROTECTED]> writes: Audrius> getSystemClassLoad

[cp-patches] FYI: Completing DynamicImplementation

2005-10-15 Thread Meskauskas Audrius
DynamicImplementation must be concrete, not abstract. This patch implements the previously abstract method invoke and makes the whole class no longer abstract. As a side effect, it was required to implements Simple_delegate.request that was previously never used. 2005-10-15 Audrius Meskauskas

[cp-patches] FYI: Several new CORBA classes.

2005-10-14 Thread Meskauskas Audrius
2005-10-14 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/CORBA/PolicyErrorHelper.java, org/omg/CORBA/PolicyErrorHolder.java, org/omg/CORBA/UnknownUserExceptionHelper.java, org/omg/CORBA/UnknownUserExceptionHolder.java, org/omg/CORBA/WrongTransactionHelper.j

[cp-patches] FYI: PolicyErrorCodeHelper

2005-10-14 Thread Meskauskas Audrius
2005-10-14 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/CORBA/PolicyErrorCodeHelper.java: New class. /* PolicyErrorCodeHelper.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify

[cp-patches] FYI: New methods for org.omg.CORBA.LocalObject

2005-10-14 Thread Meskauskas Audrius
I add the missing methods for LocalObject. Sadly, java API 1.5 clearly states that they all MUST be non-functional stubs, so they are... 2005-10-14 Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/CORBA/LocalObject.java (_get_interface, _invoke, _is_local, _orb, _releaseReply,

[cp-patches] FYI: VMStackWalker in CORBA.

2005-10-13 Thread Meskauskas Audrius
This patch looks for a classloader in the classes from the stack trace, making the functionality much closer to Sun's. The original idea was suggested by Jeroen Frijters, but I decided just to use VMStackWalker instead of modifying it. 2005-10-13 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu

Re: [cp-patches]: Patch: UIDefaults fix

2005-10-13 Thread Meskauskas Audrius
Surely. Class.forName uses the class loader of the current class. As the core class was loaded by the system class loader, it will not find the user code. getSystemClassLoader returns the different loader that has loaded the application, same as the default Thread.getConextClassLoader() that I

[cp-patches] FYI: Removing message from the loop in the CORBA example.

2005-10-10 Thread Meskauskas Audrius
2005-10-11 Audrius Meskauskas <[EMAIL PROTECTED]> * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java (main): Message removed from the loop. Index: examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java

[cp-patches] (no subject)

2005-10-10 Thread Meskauskas Audrius
2005-10-10 Audrius Meskauskas <[EMAIL PROTECTED]> * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java (main): 3 sec pause replaced by while(..) loop. Index: examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java ==

[cp-patches] FYI: CORBA class loader fixes in

2005-10-10 Thread Meskauskas Audrius
Class.forName(String) in the core does not load classes from the user application. I noticed that this is required in some CORBA classes. This patch replaces Class.forName(String) ino Class.forName(String, true, Thread.currentThread().getContextClassLoader(). 2005-10-10 Audrius Meskauskas <[

Re: [cp-patches] Patch: midi example program

2005-10-05 Thread Meskauskas Audrius
1. It would be interesting to have a MIDI demo. It maybe could even emit some sounds, if the devices are available. 2. If the class is executable, should it maybe better be public? Some IDE's may not provide context command to run non-public class. Anthony Green wrote: Here's a GUI midi demo

[cp-patches] FYI: Linking to the OMG Vendor tag list.

2005-10-04 Thread Meskauskas Audrius
2005-10-04 Audrius Meskauskas <[EMAIL PROTECTED]> * doc/www.gnu.org/corba.wml: Link to http://doc.omg.org/vendor-tags. Index: doc/www.gnu.org/corba.wml === RCS file: /cvsroot/classpath/classpath/doc/www.gnu.org/corba.wml,v retrie

[cp-patches] FYI: javax.rmi.CORBA compatibility fixes.

2005-10-03 Thread Meskauskas Audrius
2005-10-03 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/rmi/CORBA/ValueHandler.java (getRunTimeCodeBase): Fixed return type. * gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java (getRunTimeCodeBase): Implemented. Index: gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java ===

[cp-patches] FYI: The small intermediate page form CORBA interoperability.

2005-10-03 Thread Meskauskas Audrius
Andrew Watson , Vice President and Technical Director of the Object Management Group, has officially assigned us 20 bit Vendor Minor Code Id: 0x47430 ("GC"). We must use this Id to mark remote Classpath - specific system exceptions that other applications may receive from our CORBA implementati

[cp-patches] FYI: News update

2005-10-03 Thread Meskauskas Audrius
2005-10-03 Audrius Meskauskas <[EMAIL PROTECTED]> * NEWS: Added entry about Classpath VMCID and IIOP. Index: NEWS === RCS file: /cvsroot/classpath/classpath/NEWS,v retrieving revision 1.97 diff -u -r1.97 NEWS ---

[cp-patches] Re: [commit-cp] classpath ./ChangeLog gnu/CORBA/CDR/Vio.java gn...

2005-10-02 Thread Meskauskas Audrius
Hi, Andreas. Thanks. * gnu/javax/rmi/CORBA/corbaObjectOutput.java (main): Removed. Andreas Tobler wrote: Hi Audrius, Found 3 semantic errors compiling "../../classpath/gnu/javax/rmi/CORBA/corbaObjectOutput.java": Index: gnu/javax/rmi/CORBA/corbaObjectOutput.java ===

[cp-patches] FYI: Removing unneeded files from javax.rmi.CORBA and related.

2005-10-02 Thread Meskauskas Audrius
The following files are no longer in use and can be removed. These stubs substituted the currently existing CORBA classes. 2005-10-02 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/javax/rmi/PortableServer.java, gnu/javax/rmi/CORBA/ValueHandlerImpl.java, javax/rmi/BAD_OPERATION.java, javax/rmi/

[cp-patches] FYI: Corrected copyright header identation.

2005-10-02 Thread Meskauskas Audrius
2005-10-02 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/CDR/Vio.java, gnu/CORBA/CDR/cdrBufOutput.java, gnu/CORBA/CDR/gnuRuntime.java, gnu/javax/rmi/CORBA/corbaObjectInput.java, gnu/javax/rmi/CORBA/dwoTester.java, gnu/javax/rmi/CORBA/gnuRmiUtil.java: Corrected copyright header identation.

Re: [cp-patches] FYI: Implemented missing RMI method

2005-10-01 Thread Meskauskas Audrius
such code maybe should run as untrusted, same as for applets. See bug #23130 for details. Thomas Fitzsimmons wrote: On Thu, 2005-09-29 at 09:19 +0200, Meskauskas Audrius wrote: Oh, this is great! In future that thing will also load classes for javax.rmi that I am finishing in

Re: [cp-patches] FYI: Implemented missing RMI method

2005-09-29 Thread Meskauskas Audrius
Oh, this is great! In future that thing will also load classes for javax.rmi that I am finishing in days. Roman Kennke wrote: I reworked java.rmi.server.RMIClassLoader a little, so that it now uses the java.rmi.server.RMIClassLoaderSpi interface. I moved the actual implementation code to gnu.j

Re: [cp-patches] [generics] Copied org/omg/PortableServer/portable/Delegate.java: How can this compile?

2005-09-22 Thread Meskauskas Audrius
Hi, Jeroen Strange, this class is involved into classes from gnu.CORBA.Poa package like gnu.CORBA.Poa.gnuServantObject, and the code without it should not compile. When possible, please check if the compiler does not mix it with org.omg.CORBA.portable.Delegate. It is a real disaster to have i

Re: [cp-patches] FYI: Update mauve results link: Not all tests run.

2005-09-17 Thread Meskauskas Audrius
Generally, very nice. http://www.object-refinery.com/classpath/mauve/report/, however, contains several strange places where it would be great to have more details in order to correct the test or Classpath problems. 1. There are 3 test for javax.swing.timer and none is mentioned in report. Th

[cp-patches] FYI: Closing swing timer bug 23918

2005-09-16 Thread Meskauskas Audrius
This closes 23918. I also add new Mauve test for this case.. 2005-09-16Audrius Meskauskas <[EMAIL PROTECTED]> * javax.swing.Timer.java (Waker.run): Do not enter loop on repeats = false. Index: javax/swing/Timer.java === RCS fil

Re: [cp-patches] Patch: improve error handling in String

2005-09-15 Thread Meskauskas Audrius
>Would it be better to use InternalError? That is a little more specific. That one is more difficult to chain (.initCause() must be used). David Daney wrote: Anthony Green wrote: - // XXX - Ignore coding exceptions? They shouldn't really happen. - return null; + // This shoul

[cp-patches] FYI: Making hashCode consistent with equals in gnu.CORBA

2005-09-14 Thread Meskauskas Audrius
2005-09-14Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/Connected_objects.java (equals), * gnu/CORBA/Poa/activeObjectMap.java (equals): Removed. * gnu/CORBA/Version.java (hashCode), * gnu/CORBA/gnuAny.java (hashCode): New method. Index: gnu/CORBA/Connected_o

[cp-patches] FYI: Hashcode for NameComponent.

2005-09-14 Thread Meskauskas Audrius
This is a hashcode function for the NameComponent, computed using Adler by content rather than by identity (same as .equals works). 2005-09-14Audrius Meskauskas <[EMAIL PROTECTED]> * org/omg/CosNaming/NameComponent (hashCode): New method. Index: org/omg/CosNaming/NameComponent.java =

Re: [cp-patches] FYI: API doc fixes in org.omg.CORBA:Surely, why to keep them sitting?

2005-09-14 Thread Meskauskas Audrius
Surely. Why to keep them sitting? The doc fixes are great! Regards. Audrius. David Gilbert wrote: I've had these (minor) API doc fixes sitting on my hard drive for a while and figured I might as well commit them: 2005-09-14 David Gilbert <[EMAIL PROTECTED]> * org/omg/CORBA/ORB.java:

[cp-patches] FYI: gnu/CORBA/Interceptor/ClientRequestInterceptors.java(send_poll)

2005-09-02 Thread Meskauskas Audrius
2005-09-02 Audrius Meskauskas <[EMAIL PROTECTED]> * gnu/CORBA/Interceptor/ClientRequestInterceptors.java(send_poll): remove ForwardRequest from declaration. Index: gnu/CORBA/Interceptor/ClientRequestInterceptors.java

  1   2   3   4   >