summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* 2006-11-07 Andreas <a.tobler@schweiz.org>Andreas Tobler2006-11-061-1/+6
| | | | | * examples/Makefile.am: Add rule to install the *.html files we use in the Swing Demo.
* 2006-11-06 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-061-1/+3
| | | | | * examples/gnu/classpath/examples/swing/HtmlDemo.java: Fixed initial window size and start document.
* 2006-11-06 Roman Kennke <kennke@aicas.com>Roman Kennke2006-11-064-197/+268
| | | | | | | | | * examples/gnu/classpath/examples/swing/HtmlDemo.java: Changed to implement a minimalistic browser. * examples/gnu/classpath/examples/swing/forms.html, * examples/gnu/classpath/examples/swing/textstyles.html, * examples/gnu/classpath/examples/swing/welcome.html: Some example content.
* 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-09-222-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * resource/gnu/classpath/tools/orbd: New directory. * resource/gnu/classpath/tools/rmic: Likewise. * resource/gnu/classpath/tools/rmid: Likewise. * resource/gnu/classpath/tools/rmiregistry: Likewise. * resource/gnu/classpath/tools/tnameserv: Likewise. * tools/gnu/classpath/tools/giop: Move contents to... * tools/gnu/classpath/tools/orbd, tools/gnu/classpath/tools/tnameserv: New directories. * tools/gnu/classpath/tools/rmi/rmic: Move contents to... * tools/gnu/classpath/tools/rmic: New directory. * tools/gnu/classpath/tools/rmi/rmid: Move contents to... * tools/gnu/classpath/tools/rmid: New directory. * tools/gnu/classpath/tools/rmi/registry: Move contents to... * tools/gnu/classpath/tools/rmiregistry: New directory. * resource/gnu/classpath/tools/orbd/messages.properties: New file. * resource/gnu/classpath/tools/rmic/messages.properties: Likewise. * resource/gnu/classpath/tools/rmid/messages.properties: Likewise. * resource/gnu/classpath/tools/rmiregistry/messages.properties: Likewise. * resource/gnu/classpath/tools/tnameserv/messages.properties: Likewise. * tools/gnu/classpath/tools/orbd/Main.java, tools/gnu/classpath/tools/orbd/Messages.java, tools/gnu/classpath/tools/orbd/PersistentContext.java, tools/gnu/classpath/tools/orbd/PersistentContextMap.java, tools/gnu/classpath/tools/orbd/PersistentMap.java, tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java, tools/gnu/classpath/tools/rmic/CompilationError.java, tools/gnu/classpath/tools/rmic/Generator.java, tools/gnu/classpath/tools/rmic/GiopIo.java, tools/gnu/classpath/tools/rmic/HashFinder.java, tools/gnu/classpath/tools/rmic/Main.java, tools/gnu/classpath/tools/rmic/Messages.java, tools/gnu/classpath/tools/rmic/MethodGenerator.java, tools/gnu/classpath/tools/rmic/RMICException.java, tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java, tools/gnu/classpath/tools/rmic/RmicBackend.java, tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java, tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java, tools/gnu/classpath/tools/rmic/Variables.java, tools/gnu/classpath/tools/rmic/WrapUnWrapper.java, tools/gnu/classpath/tools/rmic/templates, tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java, tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java, tools/gnu/classpath/tools/rmid/Main.java, tools/gnu/classpath/tools/rmid/Messages.java, tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java, tools/gnu/classpath/tools/rmiregistry/Main.java, tools/gnu/classpath/tools/rmiregistry/Messages.java, tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java, tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java, tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java, tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java, tools/gnu/classpath/tools/tnameserv/Main.java, tools/gnu/classpath/tools/tnameserv/Messages.java: New files. * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import RMIC.java from cp-tools. * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry, tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic. (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid and grmic. * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip. * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Rename... (start): New method. * tools/Makefile.am: Add build support for new tool wrappers. * tools/gorbd.in: New file. * tools/grmic.in: Likewise. * tools/grmid.in: Likewise. * tools/grmiregistry.in: Likewise. * tools/gtnameserv.in: Likewise. * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to... * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New file. * tools/gnu/classpath/tools/HelpPrinter.java: Remove file. * tools/gnu/classpath/tools/rmi/Persistent.java: Move to... * tools/gnu/classpath/tools/common/Persistent.java: New file.
* 2006-09-01 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-09-011-2/+2
| | | | | * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: (createContent): Changed menu item name and tab naming.
* 2006-08-24 Roman Kennke <kennke@aicas.com>Roman Kennke2006-08-252-97/+50
| | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/swing/Demo.java (LaterMain.run): Removed unused local variable. (Demo): Don't put desktop in scrollpane. (addChildren): Removed unused method. (mkButtonBar): Added HTML demo. (mkMenuBar): Added HTML demo. (mkPanel): Removed unused method. (mkScrollPane): Removed unused method. (mkTree): Removed unused method. (valign2str): Removed unused method. * examples/gnu/classpath/examples/swing/HtmlDemo.java: Initialize text field with some HTML that already works. (DEBUG): New field. Set to true for debugging output. (createContent): Dump element tree after parsing.
* 2006-08-16 Roman Kennke <kennke@aicas.com>Roman Kennke2006-08-161-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * javax/swing/plaf/metal/MetalTreeUI.java (LineStyleListener): New property listener, that updates the line style setting if the corresponding property changes. (lineStyleListener): New field. (lineStyle): New field. (LINE_STYLE_ANGLED): New constant field. (LINE_STYLE_HORIZONTAL): New constant field. (LINE_STYLE_NONE): New constant field. (LINE_STYLE_VALUE_ANGLED): New constant field. (LINE_STYLE_VALUE_HORIZONTAL): New constant field. (LINE_STYLE_VALUE_NONE): New constant field. (LINE_STYLE_PROPERTY): New constant field. (decodeLineStyle): Implemented. (installUI): Install line style listener. Set initial lineStyle. (uninstallUI): Uninstall line style listener. (paintHorizontalPartOfLeg): Only call super for angled lineStyle. (paintVerticalPartOfLeg): Only call super for angled lineStyle. (paintHorizontalSeparators): Implemented. (paint): If lineStyle==HORIZONTAL, call paintHorizontalSeparators(). * examples/gnu/classpath/examples/swing/TreeDemo.java (createContent): Add panel for selecting line styles.
* 2006-08-16 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-08-161-17/+128
| | | | | | | | | * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java: (createContent): Rewritten. (createPlacementChangingMenuItem): New method. (createLayoutPolicyChangingMenuItem): New method. (createTabbedPane): New method. (createTabContent): New method.
* 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-291-0/+55
| | | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/management/TestBeans.java: New file. * javax/management/MBeanAttributeInfo.java: (toString()): Implemented. * javax/management/MBeanConstructorInfo.java: (toString()): Implemented. * javax/management/MBeanFeatureInfo.java: (toString()): Implemented. * javax/management/MBeanInfo.java: (toString()): Implemented. * javax/management/MBeanNotificationInfo.java: (toString()): Implemented. * javax/management/MBeanOperationInfo.java: (toString()): Implemented. * javax/management/MBeanParameterInfo.java: (toString()): Implemented. * javax/management/StandardMBean.java: (getMBeanInfo()): Fix attribute naming.
* 2006-07-25 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-07-251-0/+40
| | | | | | * examples/gnu/classpath/examples/swing/Demo.java: (mkMenuBar): Install instantiable basic look and feel. (InstantiableBasicLookAndFeel): New inner class.
* 2006-07-19 Lillian Angel <langel@redhat.com>Lillian Angel2006-07-191-2/+1
| | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/awt/Demo.java (DragDropWindow): Fixed typo in Label text. * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java (GtkDragSourceContextPeer): Removed unneeded initialization for field. (startDrag): Initialized context field. (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this function. (dragEnter): New function. (dragExit): Likewise. (dragDropEnd): Likewise. (dragMouseMoved): Likewise. (dragOver): Likewise. (dragActionChanged): Likewise.
* 2006-07-17 Lillian Angel <langel@redhat.com>Lillian Angel2006-07-171-3/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/awt/Demo.java (Demo): Added new window for DnD demo. (DragDropWindow): New class. * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java: Added new fields and declarations for native functions. (GtkDragSourceContextPeer): Implemented. (getComponentPeer): New function. (startDrag): Partially implemented. (getCursor): Implemented. (setCursor): Implemented. * include/GtkDragSourceContextPeer.h: New file. * include/Makefile.am: Added new header file. * java/awt/Component.java (addNotify): Added call to the dropTarget's addNotify. * java/awt/dnd/DragSource.java (startDrag): Fixed code to use shared instances of peer and context. (getDragThreshold): Added stub. * java/awt/dnd/DropTarget.java (DropTarget): Implemented fully. (addNotify): Added code to get the peer of the parent that is not lightweight. * java/awt/dnd/DropTargetDragEvent.java (getTransferable): Added stub. * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file. * native/jni/gtk-peer/Makefile.am: Added new c file. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java: Changed to extend GtkGenericPeer. (GtkDropTargetContextPeer): New constructor. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java: Changed to extend GtkGenericPeer. (GtkDropTargetContextPeer): New constructor.
* 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | PR 28392 * examples/gnu/classpath/examples/swing/HtmlDemo.java: Removed heading p tag from the parsing example. * gnu/javax/swing/text/html/parser/HTML_401F.java: (createHtmlContentModel): Explained. (defineElements): Call getBodyElements to get the body elements. (getBodyElements): New method. (model): Made protected from private. * gnu/javax/swing/text/html/parser/htmlValidator.java (openTag): Mind that current content model may be null. (tagIsValidForContext): If the tag is PCDATA, and it is not valid for context, but the paragraph (P) is valid for context, suggest to insert the P tag here. * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent, HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle implied P tags here. * javax/swing/text/html/HTMLEditorKit.java (getParser): Get the custom parser, using HTML_401Swing.java DTD. * javax/swing/text/html/parser/ParserDelegator.java: Removed the obsolete note that HTMLEditorKit does not exist. * gnu/javax/swing/text/html/parser/GnuParserDelegator.java, gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
* 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-07-131-1/+130
| | | | | | | | | | | | | | | | * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack, HTMLReader.insertTag, HTMLReader.insertTagEncountered, HTMLReader.pushDepth, HTMLReader.popDepth): Documented. (HRMLReader.blockClose): Mind that parser stack may be empty. (HTMLReader.handeComment, HTMLReader.handleStartTag, HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. (HTMLReader.shouldInsert): New method. (getElement(String)): Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, insertAfterStart, insertBeforeStart, setInnerHTML, SetOuterHTML): Implemented. (getInsertingReader): New method. * examples/gnu/classpath/examples/swing/HtmlDemo.java: Added buttons to demonstrate the work of the insert actions.
* 2006-07-10 Francis Kung <fkung@redhat.com>Francis Kung2006-07-106-3/+714
| | | | | | | | | | | | | | * configure.ac (AC_CONFIG_FILES): Add examples/Makefile.java2d. * examples/.cvsignore: Add Makefile.java2d. * examples/Makefile.am: Add EXAMPLE_CH_FILES for C headers. (ALL_EXAMPLE_FILES): Add C headers. (install-data-local): Add Makefile.java2d. (uninstall-local): Likewise. (EXTRA_DIST): Add Makefile.java2d.in. * examples/Makefile.java2d.in: New file. * examples/README: Add java2d instructions. * examples/gnu/classpath/examples/java2d/bench.c: New file. * examples/gnu/classpath/examples/java2d/bench.h: New file.
* 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-07-104-23/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/CORBA/SimpleCommunication/ communication/StructureToPassHelper.java, examples/gnu/classpath/examples/CORBA/SimpleCommunication/ communication/StructureToReturnHelper.java, examples/gnu/classpath/examples/CORBA/SimpleCommunication/ communication/TreeNodeHelper.java, examples/gnu/classpath/examples/CORBA/SimpleCommunication/ communication/WeThrowThisExceptionHelper.java, gnu/CORBA/ForwardRequestHelper.java, org/omg/CORBA/CompletionStatusHelper.java, org/omg/CORBA/CurrentHelper.java, org/omg/CORBA/DefinitionKindHelper.java, org/omg/CORBA/IDLTypeHelper.java, org/omg/CORBA/NameValuePairHelper.java, org/omg/CORBA/ObjectHelper.java, org/omg/CORBA/ParameterModeHelper.java, org/omg/CORBA/PolicyErrorCodeHelper.java, org/omg/CORBA/PolicyErrorHelper.java, org/omg/CORBA/PolicyHelper.java, org/omg/CORBA/PolicyListHelper.java, org/omg/CORBA/PolicyTypeHelper.java, org/omg/CORBA/ServiceDetailHelper.java, org/omg/CORBA/ServiceInformationHelper.java, org/omg/CORBA/SetOverrideTypeHelper.java, org/omg/CORBA/StringValueHelper.java, org/omg/CORBA/UnionMemberHelper.java, org/omg/CORBA/UnknownUserExceptionHelper.java, org/omg/CORBA/VisibilityHelper.java, org/omg/CORBA/WStringValueHelper.java, org/omg/CORBA/WrongTransactionHelper.java, org/omg/CosNaming/BindingHelper.java, org/omg/CosNaming/BindingIteratorHelper.java, org/omg/CosNaming/BindingListHelper.java, org/omg/CosNaming/BindingTypeHelper.java, org/omg/CosNaming/NameComponentHelper.java, org/omg/CosNaming/NameHelper.java, org/omg/CosNaming/NamingContextExtHelper.java, org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java, org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java, org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java, org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java, org/omg/CosNaming/NamingContextHelper.java, org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java, org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java, org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java, org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java, org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java, org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java, org/omg/DynamicAny/AnySeqHelper.java, org/omg/DynamicAny/DynAnyFactoryHelper.java, org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java, org/omg/DynamicAny/DynAnyHelper.java, org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java, org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java, org/omg/DynamicAny/DynAnySeqHelper.java, org/omg/DynamicAny/DynArrayHelper.java, org/omg/DynamicAny/DynEnumHelper.java, org/omg/DynamicAny/DynFixedHelper.java, org/omg/DynamicAny/DynSequenceHelper.java, org/omg/DynamicAny/DynStructHelper.java, org/omg/DynamicAny/DynUnionHelper.java, org/omg/DynamicAny/DynValueHelper.java, org/omg/DynamicAny/NameDynAnyPairHelper.java, org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, org/omg/DynamicAny/NameValuePairHelper.java, org/omg/DynamicAny/NameValuePairSeqHelper.java, org/omg/IOP/CodecFactoryHelper.java, org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java, org/omg/IOP/CodecPackage/FormatMismatchHelper.java, org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java, org/omg/IOP/CodecPackage/TypeMismatchHelper.java, org/omg/IOP/ComponentIdHelper.java, org/omg/IOP/IORHelper.java, org/omg/IOP/MultipleComponentProfileHelper.java, org/omg/IOP/ProfileIdHelper.java, org/omg/IOP/ServiceContextHelper.java, org/omg/IOP/ServiceContextListHelper.java, org/omg/IOP/ServiceIdHelper.java, org/omg/IOP/TaggedComponentHelper.java, org/omg/IOP/TaggedProfileHelper.java, org/omg/PortableInterceptor/AdapterManagerIdHelper.java, org/omg/PortableInterceptor/AdapterNameHelper.java, org/omg/PortableInterceptor/AdapterStateHelper.java, org/omg/PortableInterceptor/CurrentHelper.java, org/omg/PortableInterceptor/ForwardRequestHelper.java, org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java, org/omg/PortableInterceptor/InvalidSlotHelper.java, org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java, org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java, org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java, org/omg/PortableServer/CurrentHelper.java, org/omg/PortableServer/CurrentPackage/NoContextHelper.java, org/omg/PortableServer/ForwardRequestHelper.java, org/omg/PortableServer/POAHelper.java, org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java, org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java, org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java, org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java, org/omg/PortableServer/POAPackage/NoServantHelper.java, org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java, org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java, org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java, org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java, org/omg/PortableServer/POAPackage/WrongAdapterHelper.java, org/omg/PortableServer/POAPackage/WrongPolicyHelper.java, org/omg/PortableServer/ServantActivatorHelper.java, org/omg/PortableServer/ServantLocatorHelper.java: Remove the typecode caching and always use OrbRestricted.Singleton.
* 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-07-081-2/+6
| | | | | | | | | | | | * javax/swing/text/FlowView.java (FlowStrategy.layoutRow): Handle the forced break in the same way as exceeding the available row space. * javax/swing/text/html/HRuleView.java: Rewritten. * javax/swing/text/html/HTMLDocument.java (HTMLReader.addSpecialElement):Reserve two characters for the special elements. * examples/gnu/classpath/examples/swing/HtmlDemo.java (text): Extended the HTML example to parse.
* 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-052-0/+102
| | | | | | | | | | | | | | | | | | | | * NEWS: Updated. * doc/vmintegration.texinfo: Likewise. * examples/gnu/classpath/examples/management/TestGarbageCollector.java, * examples/gnu/classpath/examples/management/TestMemoryManager.java, * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java, * gnu/java/lang/management/MemoryManagerMXBeanImpl.java, * java/lang/management/GarbageCollectorMXBean.java: New files. * java/lang/management/ManagementFactory.java: (getGarbageCollectorMXBeans()): Implemented. (getMemoryManagerMXBeans()): Likewise. * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java, * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java: New files. * vm/reference/java/lang/management/VMManagementFactory.java: (getMemoryManagerNames()): Added. (getGarbageCollectorNames()): Added.
* 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>David Gilbert2006-07-051-8/+8
| | | | | * gnu/classpath/examples/swing/TabbedPaneDemo.java (createContent): Use different labels for buttons.
* 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-041-0/+93
| | | | | | | | | | | | | * NEWS: Updated. * doc/vmintegration.texinfo: Likewise. * examples/gnu/classpath/examples/management/TestMemoryPool.java, * gnu/java/lang/management/MemoryPoolMXBeanImpl.java: New files. * java/lang/management/ManagementFactory.java: (getMemoryPoolMXBeans()): Implemented. * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java, * vm/reference/java/lang/management/VMManagementFactory.java: New files.
* 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>generics-merge-20060702Andrew John Hughes2006-07-021-0/+48
| | | | | | | | | | | | | | | | | | * NEWS: Updated to include VMCompilationMXBeanImpl. * doc/vmintegration.texinfo: Likewise, along with update to VMMemoryMXBeanImpl as below. * examples/gnu/classpath/examples/management/TestCompilation.java, * gnu/java/lang/management/CompilationMXBeanImpl.java, * java/lang/management/CompilationMXBeanImpl.java: New files. * java/lang/management/ManagementFactory.java: (getCompilationMXBean()): Implemented. * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java: New file. * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java: (getHeapMemoryUsage()): Added default implementation.
* 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-021-0/+52
| | | | | | | | | | | | | | | | | | | | | | | * NEWS: Updated to include VMMemoryMXBeanImpl. * doc/vmintegration.texinfo: Likewise. * examples/gnu/classpath/examples/management/TestMemory.java: New file. * gnu/java/lang/management/ClassLoadingMXBeanImpl.java: Remove redundant import. * gnu/java/lang/management/MemoryMXBeanImpl.java: New file. * gnu/java/lang/management/ThreadMXBeanImpl.java: Remove redundant import. * java/lang/management/ManagementFactory.java: (getMemoryMXBean()): Implemented. * java/lang/management/MemoryMXBean.java, * java/lang/management/MemoryUsage.java: New files. * java/lang/management/ThreadInfo.java: (toString()): Updated documentation. * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java: New file.
* 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes2006-07-014-0/+250
| | | | | | | | * examples/gnu/classpath/examples/management/TestClassLoading.java, * examples/gnu/classpath/examples/management/TestOS.java, * examples/gnu/classpath/examples/management/TestRuntime.java, * examples/gnu/classpath/examples/management/TestThread.java: New files.
* 2006-06-23 Francis Kung <fkung@redhat.com>Francis Kung2006-06-232-52/+624
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java (Harness.actionPerformed): Process additional options. (J2dBenchmarkWrapper): Defer init call until after options are processed. (J2dBenchmarkWrapper.setAlias): New method. (J2dBenchmarkWrapper.setComposite): New method. (J2dBenchmarkWrapper.setFill): New method. (J2dBenchmarkWrapper.setRotation): New method. (J2dBenchmarkWrapper.setShear): New method. (J2dBenchmarkWrapper.setStroke): New method. (J2dBenchmarkWrapper.setTranslation): New method. (run): Add additional options to GUI. * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: Added protected fields for various options. (GraphicsTest.runSet_noClipping): Reset graphics settings between tests. (GraphicsTest.runSet_withClipping): Reset graphics settings between tests. (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests. (getNextColor): Renamed to setRandom. (init): Load additional image for texturing if needed. (loadBufferedImage): New method. (main): Accept additional command-line switches. (prepareGraphics): New method. (resetGraphics): New method. (runTestSuite): Accept additional image-processing options. (setRandom): Renamed from getNextColor; generate various random options (test_drawArc): Rename getNextColor to setRandom. (test_drawCubic): Likewise. (test_drawEllipse): Likewise. (test_drawGeneralPath): Likewise. (test_drawImage): Likewise. (test_drawLine): Likewise. (test_drawQuadCurve): Likewise. (test_drawRectangle): Likewise. (test_drawRoundRectangle): Likewise. (test_drawTransparentImage): Likewise. (test_fillArc): Rename getNextColor to setRandom. (test_fillEllipse): Likewise. (test_fillGeneralPath): Likewise. (test_fillRectangle): Likewise. (test_fillRoundRectangle): Likewise. (TestRecorder.getAverage): Round the average time.
* 2006-06-20 Francis Kung <fkung@redhat.com>Francis Kung2006-06-202-67/+788
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: Changed many members to be protected. (J2dBenchmark): moved to init() instead. (init): New method. (main): Call init() after creating object (testComplete): New method. (test_drawArc): Use maxTests varialbe instead of constant. (test_drawCubicCurve): Likewise. (test_drawEllipse): Likewise. (test_drawGeneralPath): Likewise. (test_drawImage): Likewise. (test_drawLine): Likewise. (test_drawQuadCurve): Likewise. (test_drawRectangle): Likewise. (test_drawRoundRectangle): Likewise. (test_drawTransparentImage): Likewise. (test_fillArc): Likewise. (test_fillEllipse): Likewise. (test_fillGeneralPath): Likewise. (test_fillRectangle): Likewise. (test_fillRoundRectangle): Likewise. (GraphicsTest.runSetNoClipping): Added runCount parameter. (GraphicsTest.runSetWithClipping): Likewise. (GraphicsTest.runSetZeroClipping): Likewise. (GraphicsTest.run): Added checks for more option flags. * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java: New file.
* 2006-06-16 Francis Kung <fkung@redhat.com>Francis Kung2006-06-165-11/+1184
| | | | | | | | | | | | * examples/gnu/classpath/examples/swing/Demo.java: (mkButtonBar): Rename FillRect to JNIOverhead. (mkMenuBar): Rename FillRect to JNIOverhead. * examples/gnu/classpath/examples/swing/FillRect.java: Removed. * examples/gnu/classpath/examples/java2d/aicas.png: New file. * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file. * examples/gnu/classpath/examples/java2d/JNIOverhead.java: Moved from old FillRect. * examples/gnu/classpath/examples/java2d/palme.java: New file.
* 2006-06-14 Roman Kennke <kennke@aicas.com>Roman Kennke2006-06-143-0/+1018
| | | | | | | * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java: New file. This is a benchmark for AWT 1.1 style graphics operations. * examples/gnu/classpath/examples/awt/palme.gif: New file. * examples/gnu/classpath/examples/awt/aicas.gif: New file.
* 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-06-091-0/+165
| | | | | | | | * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java (constructor): Do not lowercase the values. * javax/swing/text/html/HTMLDocument.java (HTMLReader.addSpecialElement): Implemented. * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
* 2006-06-07 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-06-071-0/+2
| | | | | | * examples/gnu/classpath/examples/swing/Demo.java: (mkMenuBar): Put look and feel radio buttons into appropriate button group.
* 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-311-32/+86
| | | | | | * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent): Optionally paint lines rather than rectangles. (createContent): Added option to test line painting.
* 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-291-3/+36
| | | | | | | | * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate): Rewritten. * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent): Optionally paint with translation. (createContent): Added option to test painting with translation
* 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-271-21/+35
| | | | | | * examples/gnu/classpath/examples/swing/TableDemo.java (TModed): Added editor for the icons column. (createContent): Increase the row height by 2 px.
* 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-05-252-2/+309
| | | | | | * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect paint performance demo. * examples/gnu/classpath/examples/swing/FillRect.java: New file.
* 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-05-231-5/+141
| | | | | | | | | | | | | * examples/gnu/classpath/examples/swing/TableDemo.java: (SliderCell): New inner class. (setCustomEditors, setInformativeHeaders): New fields. (createContent): Rewritten. * javax/swing/DefaultCellEditor.java (JComboBoxDelegate.shouldSelectCell): New method. * javax/swing/JTable.java (editCellAt): Call shouldSelectCell. * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler.mouseClicked): Start editing on a single click if the cell editor is not a default cell editor.
* 2006-05-23 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-05-231-0/+95
| | | | | | * examples/gnu/classpath/examples/awt/Demo.java: (MainWindow.MainWindow): Added ResolutionWindow instance as subframe. (ResolutionWindow): New inner class.
* 2006-05-13 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-05-131-3/+2
| | | | | | * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java: (WordFilter.getNextVisualPositionFrom): Added statement to check for variable pt not being null.
* 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-271-1/+36
| | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/swing/TreeDemo.java (createContent): Added root visibility and selection listener demos. * javax/swing/JTree.java (setRootVisible): If false, unselect the root node, if it is selected. * javax/swing/plaf/basic/BasicTreeUI.java (TreeTraverseAction.actionPerformed): Do not select the root if it is not visible. * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath, removeSelectionPaths): Reset lead to null if the current lead path is removed from selection. * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path. * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath): Return the same path regardless is root visible or not. (update): Reduce the identation if the root is not visible. * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath): Return the same path regardless is root visible or not. (update): Reduce the identation if the root is not visible.
* 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-261-7/+17
| | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/swing/TreeDemo.java (createContent): Call DefaultTreeModel.reload(), not the tree.repaint(). Expand the parent of the added node. * javax/swing/JTree.java (constructor): Do not call UpdateUI (and documented why). (treeDidChange): Added comment, excluding the misinterpretation of this method. * javax/swing/plaf/basic/BasicTreeUI.java (componentListener, focusListener, keyListener, mouseListener, propertyListener, selectionModelPropertyChangeListener, treeModelListener, treeSelectionListener): Made package private. (PropertyChangeHandler): If the model changes, install the listener on it. (installUI): Assign treeModel. * javax/swing/tree/DefaultMutableTreeNode.java (add): Added comment, excluding misinterpretation. * javax/swing/tree/DefaultTreeModel.java (reload): Implemented. (reload(TreeNode)): Implemented.
* 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-04-231-1/+23
| | | | | | | | | | | | | | * examples/gnu/classpath/examples/swing/TreeDemo.java: (createContent): Added check box to swith between single and multiple selection. * javax/swing/JTree.java (leadSelectionPath): Removed. (addSelectionInterval): Explained. (getLeadSelectionPath): Request the path from model. (getPathsBetweenRows): Explained. (setLeadSelectionPath): Set the path in model. * javax/swing/plaf/basic/BasicTreeUI.java (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten. (MouseHandler.mousePressed): Call selectPathForEvent.
* Fixes PR #27172.Robert Schuster2006-04-182-0/+209
| | | | | | | | | 2006-04-18 Robert Schuster <robertschuster@fsfe.org> * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java: New file. * examples/gnu/classpath/examples/swing/Demo.java: (mkMenuBar): Added NavigationFilter demo.
* 2006-04-18 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-04-182-0/+292
| | | | | | | * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java: New file. * examples/gnu/classpath/examples/swing/Demo.java: (mkMenuBar): Added DocumenFilter demo.
* 2006-04-13 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-04-133-263/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * examples/gnu/classpath/examples/swing/TextAreaDemo.java: (createCustomColoredPanel): Set background color as demo intends, changed custom selection color to red. * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Replaced various single variables with a Compound instance, added custom highlighter demo. (TextFieldDemo.DemoHighlightPainter): New class (taken from TextAreaDemo). (TextFieldDemo.Compound): New class. (createTextFieldCompound): New method. (createLeftAlignedPanel): Rewritten. (createRightAlignedPanel): Rewritten. (createCenteredPanel): Rewritten. (createCustomColoredPanel): Removed. (createCustomColoredPanel1): New method. (createCustomColoredPanel2): New method. (createCustomBordersPanel): New method. (createMiscPanel): Rewritten. (actionPerformed): Rewritten. (createContent): Add panels of new compounds to main panel, put main panel in a JScrollPane. * examples/gnu/classpath/examples/swing/Demo.java: (Demo): Put desktop in a scrollpane. (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme() method via reflection.
* Added support for using a prebuilt glibj.zipDalibor Topic2006-04-021-4/+5
| | | | | | | | | | | 2006-04-02 Dalibor Topic <robilad@kaffe.org> * configure.ac (with-glibj-zip): Added new option. * examples/Makefile.am, lib/Makefile.am, tools/Makefile.am: Adapted build classpath to use glibj.zip, in addition to classes in lib directory.
* PR gcc/26901:Tom Tromey2006-03-291-4/+4
| | | | | * tools/Makefile.am (JCOMPILER): Added encoding options. * examples/Makefile.am (JCOMPILER): Added encoding options.
* 2006-03-19 Roman Kennke <kennke@aicas.com>Roman Kennke2006-03-192-0/+589
| | | | | | | | | * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class. * examples/gnu/classpath/examples/swing/MetalThemeEditor.java: New class. * examples/gnu/classpath/examples/swing/Demo.java (mkButtonBar): Hook up theme editor. (mkMenuBar): Hook up theme editor.
* 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-03-181-6/+22
| | | | | | | | * examples/gnu/classpath/examples/swing/TableDemo.java (TModel.getColumnClass): Set second column to Icon. (TModel.isCellEditable): Say icons are not editable. (createContent): Fill the in second column with some icons from MetalIconFactory.
* 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-03-181-0/+3
| | | | | * examples/gnu/classpath/examples/swing/Demo.java (mkButtonBar): Set maximal button bar height to the preferred height.
* 2006-03-17 Robert Schuster <robertschuster@fsfe.org>Robert Schuster2006-03-171-0/+1
| | | | | * examples/gnu/classpath/examples/swing/Demo.java: (Demo): Set default closing operation to shutdown the runtime.
* 2006-03-16 Roman Kennke <kennke@aicas.com>Roman Kennke2006-03-162-270/+73
| | | | | | | | | | | | | | | | * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java Moved from examples into gnu.javax.swing.. namespace. * examples/gnu/classpath/examples/swing/GNULookAndFeel.java Moved to gnu.javax.swing.. namespace. * examples/gnu/classpath/examples/swing/Demo.java: (themesMenu): New field. Used to disable theme switch in non-Metal-L&Fs. (mkMenuBar): Added L&F menu. (ChangeThemeAction.actionPerformed): Only switch theme when in Metal L&F. (ChangeLAFAction): New class used for changing themes. * javax/swing/UIManager.java (installed): Added GNU L&F as installed L&F.
* * examples/gnu/classpath/examples/swing/badge.png: Removed.Mark Wielaard2006-03-162-1/+2
| | | | | | * examples/gnu/classpath/examples/icons/badge.png: Added. * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge from icon directory.