summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* 2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-10-242-13/+25
| | | | | | * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS. * tools/toolwrapper.c (main): Set bootclasspath, not classpath. Add ASM_JAR to bootclasspath.
* * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):Tom Tromey2006-10-203-6/+6
| | | | | | | | Don't use mangled class name for .h file. * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass): Don't use mangled class name for .c file. * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass): Handle classes from the default package.
* 2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-10-1811-325/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties: Rename file... * resource/gnu/classpath/tools/appletviewer/messages.properties: New file. * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties: Remove file. * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: Remove file. * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: Likewise. * tools/gnu/classpath/tools/appletviewer/Messages.java: New file. * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java: Retrieve user-visible strings through Messages.getString. * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise. * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java: Likewise. * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java: Likewise. * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java: Likewise. * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java: Likewise. * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java: Likewise. * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java: Likewise.
* * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): NewTom Tromey2006-10-131-0/+5
| | | | method.
* 2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>Audrius Meskauskas2006-10-071-23/+28
| | | | | * tools/gnu/classpath/tools/rmic/RMICException.java: javadoc corrections, reformatted.
* * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don'tTom Tromey2006-09-262-7/+5
| | | | | | | call mkdirs in output-directory case. (getPrintStream): Create output directory. * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory): Don't call mkdirs.
* 2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-09-266-60/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter): Accept three additional arguments. (writePreambleImpl): New method. (getPrintStreamImpl): Likewise. (printClass): Adapted to use new methods in Printer superclass. * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise. * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise. * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field. (force): Likewise. (getParser): Add support for -o option. Check that only one of -d or -o is defined. Add support for -jni option. Add support for -force option. (makeOutputFile): New method. (writeHeaders): Removed File argument from signature. (run): Take into account newly added fields. Invoke concrete PrintStream implementations with augmented constructors. * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field. (isDirectory): Likewise. (force): Likewise. (wrotePreamble): Likewise. (Printer): Changed ctor to accept three additional arguments. (printClass): Changed signature to accept one ClassWrapper argument. (writePreambleImpl): New abstract method. (getPrintStreamImpl): Likewise. (getPrintStream): New method. (writePreamble): Likewise.
* * tools/.cvsignore: Updated.Tom Tromey2006-09-251-0/+5
|
* 2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-09-2264-1086/+3490
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * tools/gnu/classpath/tools/javah/PathOptionGroup.javaTom Tromey2006-09-2227-70/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (PathOptionGroup): Make -I a joined option. * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated. * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated. * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated. * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated. * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated. * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated. * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated. * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated. * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated. * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated. * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated. * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated. * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated. * tools/gnu/classpath/tools/appletviewer/Main.java: Updated. * tools/gnu/classpath/tools/jar/Main.java: Updated. * tools/gnu/classpath/tools/jarsigner/Main.java: Updated. * tools/gnu/classpath/tools/javah/Main.java: Updated. * tools/gnu/classpath/tools/native2ascii/Main.java: Updated. * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated. * resource/gnu/classpath/tools/getopt/Messages.properties: Removed unused entries. * resource/gnu/classpath/tools/common/Messages.properties: New file. * tools/gnu/classpath/tools/common/Messages.java: New file. * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private. * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved from getopt. (ClasspathToolParser): Add -J option here. (ClasspathToolParser): Call other constructor in this class. * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption): Handle joined options. (handleShortOptions): Likewise. (handleShortOption): Removed. (finalGroup): New field. (Parser): Initialize new field. Don't add -J option. (addFinal): New method. * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use isJoined. * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method. (Option): Check short option for validity. (Option): New constructors. (joined): New field.
* * tools/gnu/classpath/tools/javah/FieldHelper.java (print): PrintTom Tromey2006-09-111-0/+2
| | | | "volatile" when needed.
* 2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-09-081-0/+30
| | | | | * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about missing security manager when run in standalone mode.
* 2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-08-182-18/+40
| | | | | | | | | | | * configure.ac (tool-wrappers): Check for ltdl support when tool wrapper binaries are enabled. * tools/Makefile.am (LIBJVM): Remove variable. (AM_CPPFLAGS): Add LIBJVM define. (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS, gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS, gjavah_LDFLAGS): Remove variables. * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
* * tools/gnu/classpath/tools/javah/JniHelper.java (getName): ProperlyTom Tromey2006-08-092-6/+13
| | | | | | | handle arrays. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (writeFields): Print "L" after int constant. Don't mangle the field name. Only print int/long fields.
* * tools/gnu/classpath/tools/javah/Main.java (getParser): Name programTom Tromey2006-08-091-2/+2
| | | | "javah".
* 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-07-281-1/+1
| | | | * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
* 2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-07-284-12/+2
| | | | | | | | * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import. (getCallbackHandler): Fully qualify linked class in javadoc. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed. * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise. * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
* * NEWS: Updated.Tom Tromey2006-07-2819-6/+2312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * .classpath: Updated. * tools/.cvsignore: Added gjavah. * tools/Makefile.am ($(TOOLS_ZIP)): Only build javah if ASM is available. (GLIBJ_CLASSPATH): Add asm jar. (javah): New macro. (bin_PROGRAMS, bin_SCRIPTS): Added $(javah). (gjavah_SOURCES, gjavah_CFLAGS, gjavah_LDFLAGS): new macros. * tools/gjavah.in: New file. * configure.ac: Added --with-asm option. * tools/gnu/classpath/tools/javah/ClassWrapper.java: New file. * tools/gnu/classpath/tools/javah/CniIncludePrinter.java: Likewise. * tools/gnu/classpath/tools/javah/CniPrintStream.java: Likewise. * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise. * tools/gnu/classpath/tools/javah/FieldHelper.java: Likewise. * tools/gnu/classpath/tools/javah/JniHelper.java: Likewise. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise. * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise. * tools/gnu/classpath/tools/javah/Keywords.java: Likewise. * tools/gnu/classpath/tools/javah/Main.java: Likewise. * tools/gnu/classpath/tools/javah/MethodHelper.java: Likewise. * tools/gnu/classpath/tools/javah/PackageWrapper.java: Likewise. * tools/gnu/classpath/tools/javah/PathOptionGroup.java: Likewise. * tools/gnu/classpath/tools/javah/Printer.java: Likewise. * tools/gnu/classpath/tools/javah/Text.java: Likewise.
* 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-07-181-0/+123
| | | | | | | | | | | | PR Classpath/27205 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check certificate validity. (getIssuerName): New method. (getSubjectName): Likewise. (getNotAfterDate): Likewise. (getNotBeforeDate): Likewise. * resource/gnu/classpath/tools/jarsigner/messages.properties: Added messages for newly added messages in SFHelper.
* 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-07-161-2/+3
| | | | | | * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam): Condition the creation of .keystore (a default keystore) based on the createIfNotFound argument as well.
* 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-07-164-13/+49
| | | | | | | | | | | | | | | | | | | PR Classpath/28391 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): New method. (setKeyStoreParams(4)): Call the above method with false as its 1st arg. (setProviderClassNameParam): Made private. (setKeystoreTypeParam): Likewise. (setKeyPasswordParam): Likewise (setKeystorePasswordParam): Likewise. (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to create or not the keystore if it's not there, and the second is the store's password to process before loading the keystore. Amended the code accordingly. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's setKeyStoreParams(5) with true as its first argument. * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise. * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
* * tools/.cvsignore: Updated for new tools.Tom Tromey2006-07-091-0/+3
|
* * configure.ac: Create gjar, gnative2ascii, gserialver.Tom Tromey2006-06-277-6/+168
| | | | | | | | | | | | * tools/gappletviewer.in: Quote $@. * tools/gkeytool.in: Likewise. * tools/gjarsigner.in: Likewise. * tools/gjar.in: New file. * tools/gnative2ascii.in: Likewise. * tools/gserialver.in: Likewise. * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii, gserialver. (bin_SCRIPTS): Likewise.
* * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):Tom Tromey2006-06-181-0/+8
| | | | Also handle short options.
* * tools/.cvsignore: Added new tool names.Tom Tromey2006-06-161-0/+3
|
* 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-06-155-26/+26
| | | | | | | | | | | | | | | * configure.ac: Rename appletviewer to gappletviewer, jarsigner to gjarsigner and keytool to gkeytool. * doc/tools.texinfo: Add note about tool exectable names. * tools/Makefile.am: Rename appletviewer to gappletviewer, jarsigner to gjarsigner and keytool to gkeytool. * tools/appletviewer.in: Rename ... * tools/gappletviewer.in: New file. * tools/jarsigner.in: Rename ... * tools/gjarsigner.in: New file. * tools/keytool.in: Rename ... * tools/gkeytool.in: New file. * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
* 2006-06-12 Lillian Angel <langel@redhat.com>Lillian Angel2006-06-121-1/+1
| | | | | * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java (StandaloneAppletWindow): Changed title of standalone window.
* 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-06-1222-403/+538
| | | | | | | | | | | | | | | | | | | | | | | | | | * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Condition all trace/debug code based on Configuration.DEBUG. * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/Messages.java: Likewise. * tools/gnu/classpath/tools/keytool/Main.java: Likewise. * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/Command.java: Likewise. * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/CACertCmd.java: Likewise. * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise. * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise. * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise. * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise. * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise. * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Likewise.
* 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-06-112-1/+324
| | | | | | | | | | | | | | | | | * doc/tools.texinfo: Added text for new -cacert command. Re-structured sections. * resource/gnu/classpath/tools/keytool/messages.properties: Added messages for -cacert command. * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant. (_CACERT): Likewise. (shutdownThread): New field. (Main): Install shutdown thread. (main): Uninstall shutdown thread. (start): Handle new -cacert command. (getParser): Likewise. (teardown): Increased visibility. (ShutdownHook): New inner class. * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
* * tools/.cvsignore: Added .deps.Tom Tromey2006-06-091-0/+1
|
* 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-06-0111-11/+11
| | | | | | | | | | | | | | * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo. * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise. * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
* 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-06-011-1/+21
| | | | | | | * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field. (Command): Add the shutdown hook. (doCommand): Remove the shutdown hook. (ShutdownHook): New class.
* 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-06-012-34/+2
| | | | | * tools/jarsigner.in: Use @VM_BINARY@. * tools/keytool.in: Likewise.
* 2006-06-01 Lillian Angel <langel@redhat.com>Lillian Angel2006-06-011-1/+1
| | | | | | | * tools/gnu/classpath/tools/appletviewer/AppletTag.java (prependCodebase): Fixed check. No dirname was ever considered to be a file, so every applet fell into the if-statement causing a lot of classloading problems with the applets.
* 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-05-291-4/+4
| | | | * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
* 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-05-281-34/+133
| | | | | | | | | | | | | | | | | | | | | | * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant. (JKS): Likewise. (LIB): Likewise. (SECURITY): Likewise. (CACERTS): Likewise. (CACERTS_GKR): Likewise. (gkrCaCertsPathName): New field. (jksCaCertsPathName): Likewise. (selfSignedCertificate): Likewise. (start): Initialize trusted certificate key stores if -trustcacerts is specified. (ensureReplyIsOurs): Initialize selfSignedCertificate. (orderChain): Implemented. (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted certificate key stores if -trustcacerts option is specified. (findTrustInCACerts): Removed. (getCertPathParameters): New method. (validate): New method. * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
* 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-05-272-34/+57
| | | | | | | | | | * configure.ac (FOUND_CACAO): New automake conditional. Add --enable-tool-wrappers. * NEWS: Introduce the --enable-tool-wrappers option. * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries. * tools/appletviewer.c: Remove file. Make tool-indepedent and rename ... * tools/toolwrapper.c: New file.
* 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2006-05-271-0/+4
| | | | * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
* 2006-05-24 Lillian Angel <langel@redhat.com>Lillian Angel2006-05-241-9/+13
| | | | | | * tools/gnu/classpath/tools/appletviewer/AppletTag.java (prependCodeBase): Added check to determine if the documentbase points to a directory or a file.
* * resource/gnu/classpath/tools/serialver/messages.properties: NewTom Tromey2006-05-222-14/+185
| | | | | | | | | | | | | file. * tools/gnu/classpath/tools/serialver/Messages.java: New file. * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New field. (classpath): Likewise. (run): New method. (main): Use it. (addFileURL): New method. (getClassLoader): Likewise. (printMessage): Likewise.
* * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.Tom Tromey2006-05-221-0/+60
|
* PR classpath/27688:Tom Tromey2006-05-223-41/+112
| | | | | | | | | | | | | | | * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now a WorkSet. (initSet): Removed. (shouldExtract): Removed. (run): Updated. * tools/gnu/classpath/tools/jar/WorkSet.java: New file. * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New method. (listJar): Use it. (allItems): New field. (run): Initialize it. (listJar): Use it.
* 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-05-212-4/+4
| | | | | | | | | | | | | | | | | | * doc/tools.texinfo: Replaced references to MessageBundle.properties to messages.properties. * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties: Renamed to messages.properties. * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise. * resource/gnu/classpath/tools/jarsigner/messages.properties: Renamed from MessageBundle.properties. Added copyright notice. * resource/gnu/classpath/tools/keytool/messages.properties: Likewise. * tools/gnu/classpath/tools/jarsigner/Messages.java (BUNDLE_NAME): Use messages instead of MessageBundle properties file. (getFormattedString): Fixed a spelling mistake. * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
* * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.Tom Tromey2006-05-203-43/+153
| | | | | | | | | | | | | * resource/gnu/classpath/tools/native2ascii/messages.properties: New file. * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (HandleFile): New class. (input, output, encoding, reversed): New fields. (createParser): New method. (run): Likewise. (main): Use 'run'. * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java (notifyFile): Throws OptionException.
* * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,Tom Tromey2006-05-201-0/+143
| | | | from cp-tools.
* 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-05-2012-38/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc): Increased visibility. (setup): Do not trace/log passwords. (parsed): Was not setting correct (rfc) field; fixed. (print1Chain): Formatting. * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup): Do not trace/log passwords. * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise. * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise. * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise. * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise. * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise. * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise. (orderChain): Added FIXME. * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup): Do not trace/log passwords. Removed commented out code. * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise. * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise. * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting. (setKeystoreURLParam): Likewise. (setKeystorePasswordParam): Do not trace/log passwords. (saveKeyStore): Likewise.
* * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use aTom Tromey2006-05-171-2/+4
| | | | LinkedHashSet.
* * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): UseTom Tromey2006-05-155-42/+140
| | | | | | | | | | | MessageFormat. * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use MessageFormat. * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings. (run): Use MessageFormat. * resource/gnu/classpath/tools/jar/messages.properties: New file. * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings. (writeFile): Use MessageFormat.
* * tools/gnu/classpath/tools/getopt/Option.java (getDescription):Tom Tromey2006-05-154-25/+113
| | | | | | | | | | | | | Removed old comment. * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: Externalized strings. (getVersionString): Use MessageFormat. * tools/gnu/classpath/tools/getopt/Messages.java: New file. * resource/gnu/classpath/tools/getopt/Messages.properties: New file. * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings. (getArgument): Use a MessageFormat. (handleLongOption): Likewise. (parse): Likewise.
* 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>Raif S. Naffah2006-05-151-167/+162
| | | | | | | | | | | | | * tools/gnu/classpath/tools/jarsigner/Main.java: Increased visibility of fields used by parser anonymous classes. (KEYTOOL_TOOL): New constant. (cmdLineParser): Changed type to ToolParser. (fileAndAlias): new field. (main): Don't catch OptionException. (processArgs): Removed validation checks; now handled by ToolParser. (getParser): Removed. (ToolParserCallback): New inner class. (ToolParser): Likewise.