07 Nov, 2006

4 commits


06 Nov, 2006

2 commits


03 Nov, 2006

1 commit

  • The following refactoring work was performed:
    
    * removed the DN, RDN, and AVA comparator classes. The DN
      and RDN classes implement Comparable. RDN.compareTo now
      uses ordering matching rules where possible (taken from
      the original RDN Comparator class)
    
    * RDN class is now almost immutable (it's intention is to
      be 100% immutable). It is still possible to retrieve
      attribute values and modify them (attribute values should
      be immutable - issue raised)
    
    * RDN compareTo, hashCode, and equals methods now
      sort AVAs based on the type's name/oid (previously no
      sorting was performed)
    
    * provide factory methods for simple RDNs and a builder
      class for constructing more complex RDNs
    
    * DN class is now immutable with the exception described above
      for RDN attribute values. There are now factory methods for
      creating, joining, and splitting DNs
    
    * special factory method for creating null DNs - DN.nullDN()
    
    * DN.getParent() renamed to DN.getParentDNInSuffix() - all references
      updated - this method will be moved in a subsequent change
      to the DirectoryServer class
    
    * implemented a new DN.getParent() method which ignores suffixes
    
    * DN no longer copy their RDN array when constructing parent
      DNs or localNames - instead array offset+length is identifies
      which part of the array is associated with the DN
    
    * refactored and simplified much of the DN/RDN decoding routines
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@671 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew_swift
     

02 Nov, 2006

2 commits


01 Nov, 2006

3 commits


31 Oct, 2006

6 commits

  • written to standard output or standard error while the unit tests are running.
    This includes direct references to System.out and System.err as well as
    logging performed through the JDK logger.
    
    By default, there will be no change in behavior.  If the
    org.opends.test.suppressOutput property is defined and has a value of "true",
    then no output will be generated.
    
    OpenDS Issue Number:  903
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@665 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • (with a single dash) to "--nodetach" (with two dashes).  It can also be used as
    "-N" with a single dash.  This has the following benefits:
    
    - It is more consistent with our other command-line arguments, and it is
      CLIP compliant.
    
    - It makes it possible for the flag to appear anywhere in the argument list
      rather than just being the first argument.
    
    - It makes it possible to provide this feature on Windows, whereas before it
      was only available on UNIX-based systems.
    
    - On UNIX-based systems, "--nodetach" is now case-insensitive, although it is
      case-sensitive (all lowercase) on Windows systems.  The "-N" alternative is
      always case sensitive.
    
    OpenDS Issue Number:  900
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@664 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • 
    git-svn-id: https://svn.forgerock.org/opendj/trunk@663 41b1ffd8-f28e-4786-ab96-9950f0a78031
    el_kaboing
     
  • 
    git-svn-id: https://svn.forgerock.org/opendj/trunk@662 41b1ffd8-f28e-4786-ab96-9950f0a78031
    el_kaboing
     
  • shell scripts to be added twice.  This caused problems when trying to extract
    the contents of the file, and also made the resulting zip file larger than
    necessary.
    
    OpenDS Issue Number:  907
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@661 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • files will be marked for deletion as soon as possible.  This will help the
    start-ds script to exit more quickly in the event that the provided set of
    command-line arguments was invalid, as well as the case in which a valid set of
    arguments was provided but the server should not actually be started (e.g.,
    "--version").
    
    OpenDS Issue Number:  906
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@660 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

30 Oct, 2006

11 commits


29 Oct, 2006

2 commits


28 Oct, 2006

3 commits


27 Oct, 2006

1 commit

  • - Update the start-ds.bat file so that it starts in the background rather than
      the foreground, and will not exit until the server has actually started.
      Issue #590.
    
    - Update all of the batch files to explicitly set the PATH for better
      consistency and security.  Issue #607.
    
    - Consolidate a lot of the content into _client-script.bat and 
      _server-script.bat files to make the batch files more maintainable.
      Issue #873.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@643 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

26 Oct, 2006

1 commit


25 Oct, 2006

3 commits

  • draft-zeilenga-ldap-txn.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@641 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • All of these changes fall under the blanket of issue 882, but are also
    associated with a number of individual sub-issues.
    
    The changes include:
    
    - Create new "_client-script.sh" and "_server-script.sh" shell scripts that
      hold the majority of the logic required to launch the client-side and
      server-side tools (Issue #873).
    
    - Explicitly set the PATH, LD_LIBRARY_PATH, and LD_PRELOAD (and the 32-bit and
      64-bit specific variants of LD_LIBRARY_PATH and LD_PRELOAD) to ensure better
      security and more consistent behavior when invoking external commands
      (Issue #607).
    
    - Fix potential problems that could arise if either OpenDS or the Java runtime
      are installed in a path that contains spaces (Issue #820).
    
    - Update the start-ds.sh script so that it always creates a PID file, whether
      running in the foreground or in the background (Issue #859).
    
    - Update the start-ds.sh script so that when running in the background it will
      not exit until it confirms that the server is actually running.  It will also
      display any messages written to standard output/standard error during
      startup (Issue #590).
    
    - Update the stop-ds.sh script so that it can either perform a local stop (via
      kill with the TERM signal) or a remote stop (over LDAP using the shutdown
      task).  If the script is invoked with no arguments and there is a local PID
      file present, then it will be a local stop via kill, and it will wait until
      the server actually has stopped before exiting.  Otherwise it will be a
      remote stop over LDAP (Issue #871).
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@640 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • the last entry in the source file had been deleted.
    
    OpenDS Issue Number:  881
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@639 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

24 Oct, 2006

1 commit

  • remove convenience methods for creating and decoding bit string values.  These
    methods aren't really very useful for anything, and they don't properly deal
    with bit strings where the number of bits is not a multiple of eight.
    
    The updates to the test code were provided by Benjamin Damm.
    
    OpenDS Issue Number:  726
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@638 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson