Dan Christian <dchristian@google.com>


Found Patch
r29277, r28512, r25340 r30589, r29792, r29646, r29448, r26384, r26237, r25211, r24872, r24765

r30589 | glasser | 2008-04-14 19:19:39 -0500 (Mon, 14 Apr 2008)

Configuration for apr_memcache.

The tricky bit here is that apr_memcache is distributed as a
standalone library but will also be in apr-util 1.3.

* Makefile.in
  Add substituted SVN_APR_MEMCACHE_* variables.

* aclocal.m4
  Include apr_memcache.m4.

* build.conf
  (libsvn_subr): Depend on apr_memcache.
  (apr_memcache): New.

* build/ac-macros/apr_memcache.m4
  New.

* configure.ac
  Run apr_memcache code, and define SVN_HAVE_MEMCACHE.

* gen-make.py
  Pass through and document --with-apr_memcache arg.

Patch by: Dan Christian <dchristian@google.com>
          me


r29792 | kfogel | 2008-03-07 19:31:58 -0600 (Fri, 07 Mar 2008)

Add some more information on the FSFS improvements.

* www/svn_1.5_releasenotes.html
  (fsfs-sharding): Edit.
  (fsfs-isolate-immutable): New section.

Patch by: Dan Christian <dchristian@google.com>
(Tweaked by me.)


r29646 | glasser | 2008-02-29 15:58:32 -0600 (Fri, 29 Feb 2008)

* configure.ac:
  Rename enable_dso to use_dso so --enable-dso is truly ignored as an
  argument.

Patch by: Dan Christian <dchristian@google.com>


r29448 | epg | 2008-02-20 12:32:35 -0600 (Wed, 20 Feb 2008)

Expand ESTALE macros to cover two other recoverable error cases, and
rename them.

* subversion/libsvn_fs_fs/fs_fs.c
  (RECOVERABLE_RETRY_COUNT): Rename from SVN_ESTALE_RETRY_COUNT.
  (RETRY_RECOVERABLE): Rename from SVN_RETRY_ESTALE; also retry
    on NOENT and EIO; and expand comments.
  (IGNORE_RECOVERABLE): Rename from SVN_IGNORE_ESTALE and also ignore EIO.
  (read_current, svn_fs_fs__revision_proplist,
   get_and_increment_txn_key_body): Pass new filehandle argument to
    RETRY_RECOVERABLE.

Patch by: Dan Christian <dchristian@google.com>
(Tweaked by me.)


r29277 | glasser | 2008-02-11 15:17:39 -0600 (Mon, 11 Feb 2008)

Followup to r27098: fix potential segfault by using pools correctly.

* subversion/libsvn_fs_fs/fs_fs.c
 (svn_fs_fs__rev_get_root): Keep a string out of a pool that might
  be cleared.

Found by: epg
          Dan Christian <dchristian@google.com>


r28512 | glasser | 2007-12-17 14:09:14 -0600 (Mon, 17 Dec 2007)

Fix use of uninitialized pointer (introduced in r28403) in wc-to-repos
copy code mergeinfo calculation.

* subversion/libsvn_client/copy.c
  (wc_to_repos_copy): Don't add a mergeinfo property change element to
   outgoing_prop_changes unless we actually have mergeinfo.

Found by: Dan Christian <dchristian@google.com>
Review by: cmpilato


r26384 | rooneg | 2007-08-29 14:17:50 -0500 (Wed, 29 Aug 2007)

If a test exits due to a signal, then show the signal number.  If the
test exits with a non-0 value, show the value.  This only has effect
in verbose mode and on platforms that return status values.

Patch by: Dan Christian <dchristian@google.com>

* subversion/tests/cmdline/svntest/main.py
  (spawn_process):  Fix exit code handling and add messages.


r26237 | rooneg | 2007-08-21 17:29:03 -0500 (Tue, 21 Aug 2007)

Convert old svn_hash_read calls in fs_fs.c to new svn_hash_read2.  This
ends up saving 4 file system calls per transaction.  Much of the change
is concerned with handling the semantic difference betweent he two, where
svn_hash_read silently handles empty files and svn_hash_read2 does not.
This case is avoided by simply not creating the empty files in the first
place.

Patch by: Dan Christian <dchristian@google.com>

* subversion/libsvn_fs_fs/fs_fs.c
  (svn_fs_fs__revision_proplist): Switch to svn_hash_read2, and fix a minor
   memory leak that happened if we retried on ESTALE.
  (get_txn_proplist, get_txn_mergeinfo): Open without APR_CREATE and switch
   to svn_hash_read2.
  (svn_fs_fs__change_txn_prop, svn_fs_fs__change_txn_mergeinfo): Handle
   file not existing yet.


r25340 | hwright | 2007-06-08 16:16:29 -0500 (Fri, 08 Jun 2007)

* subversion/libsvn_ra_serf/log.c
  (svn_ra_serf__get_log): Fix parameter order to match declaration.

Found by: Dan Christian <dchristian@google.com>


r25211 | epg | 2007-05-30 14:25:38 -0500 (Wed, 30 May 2007)

Avoid branching using uninitialized data (valgrind).

* subversion/libsvn_ra_serf/serf.c
* subversion/libsvn_ra_serf/update.c
  Initialize last_status_code when conn is created.

Patch by: Dan Christian <dchristian@google.com>


r24872 | cmpilato | 2007-05-01 13:23:30 -0500 (Tue, 01 May 2007)

Fix use of obsolete APIs.

* tools/examples/headrev.c: 
  (main): Update to use svn_ra_open2 and svn_ra_get_latest_revnum.

Patch by: Dan Christian <dchristian@google.com>


r24765 | epg | 2007-04-24 16:54:52 -0500 (Tue, 24 Apr 2007)

* subversion/libsvn_subr/io.c
  (svn_io_remove_dir): Remove all non-directory files, rather
  than just APR_REG files.

Patch by: Dan Christian <dchristian@google.com>