svn commit: r1096147 - in /subversion/trunk/subversion: include/private/svn_cache.h libsvn_subr/cache.c

2011-04-23 Thread stefan2
Author: stefan2 Date: Sat Apr 23 13:44:53 2011 New Revision: 1096147 URL: http://svn.apache.org/viewvc?rev=1096147&view=rev Log: Fix conversion and potential overflow warnings in cache stats: caches may be outside the current process -> use 64 bits for sizes and counts as well as doub

svn commit: r1096148 - in /subversion/trunk/subversion: libsvn_delta/svndiff.c libsvn_ra_svn/cram.c libsvn_subr/config.c libsvn_subr/config_file.c libsvn_subr/io.c svnserve/serve.c

2011-04-23 Thread stefan2
Author: stefan2 Date: Sat Apr 23 13:51:58 2011 New Revision: 1096148 URL: http://svn.apache.org/viewvc?rev=1096148&view=rev Log: Silence char conversion warnings identified by VisualStudio. * subversion/libsvn_delta/svndiff.c (window_handler): explicitly cast to 'char' * subversi

svn commit: r1096150 - /subversion/trunk/subversion/svnadmin/main.c

2011-04-23 Thread stefan2
Author: stefan2 Date: Sat Apr 23 13:59:23 2011 New Revision: 1096150 URL: http://svn.apache.org/viewvc?rev=1096150&view=rev Log: * subversion/svnadmin/main.c (subcommand_crashtest): silence 'not all control paths return a value' warning in VisualStudio Modified: su

svn commit: r1096152 - in /subversion/trunk/subversion: libsvn_fs_fs/fs_fs.c libsvn_subr/mergeinfo.c

2011-04-23 Thread stefan2
Author: stefan2 Date: Sat Apr 23 14:06:59 2011 New Revision: 1096152 URL: http://svn.apache.org/viewvc?rev=1096152&view=rev Log: Fix conversion warnings. * subversion/libsvn_fs_fs/fs_fs.c (read_representation): use the proper type * subversion/libsvn_subr/mergein

svn commit: r1096157 - in /subversion/trunk/subversion/libsvn_subr: config_win.c stream.c

2011-04-23 Thread stefan2
Author: stefan2 Date: Sat Apr 23 15:00:29 2011 New Revision: 1096157 URL: http://svn.apache.org/viewvc?rev=1096157&view=rev Log: Silence conversion warnings in VisualStudio. * subversion/libsvn_subr/config_win.c (parse_section): interpret data buffer as array of bytes * subversion/libsvn_

svn commit: r1096927 [1/3] - in /subversion/trunk: ./ subversion/include/ subversion/include/private/ subversion/libsvn_fs_fs/ subversion/libsvn_fs_util/ subversion/libsvn_ra/ subversion/libsvn_subr/

2011-04-26 Thread stefan2
Author: stefan2 Date: Tue Apr 26 22:01:40 2011 New Revision: 1096927 URL: http://svn.apache.org/viewvc?rev=1096927&view=rev Log: Moving membuffer cache related configuration code from deep inside the FS layer to the svn utilities where all other cache related code lives. Details on the discus

svn commit: r1096927 [3/3] - in /subversion/trunk: ./ subversion/include/ subversion/include/private/ subversion/libsvn_fs_fs/ subversion/libsvn_fs_util/ subversion/libsvn_ra/ subversion/libsvn_subr/

2011-04-26 Thread stefan2
Modified: subversion/trunk/subversion/libsvn_fs_fs/caching.c URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/caching.c?rev=1096927&r1=1096926&r2=1096927&view=diff == --- subversion/trunk/subversi

svn commit: r1096932 - /subversion/trunk/subversion/mod_dav_svn/mod_dav_svn.c

2011-04-26 Thread stefan2
Author: stefan2 Date: Tue Apr 26 22:15:07 2011 New Revision: 1096932 URL: http://svn.apache.org/viewvc?rev=1096932&view=rev Log: Follow-up to r1096927: mod_dav_svn had not been enabled in my Windows build -> adapt it to the API changes now * subversion/mod_dav_svn/mod_dav_svn.c (#i

svn commit: r1096933 - /subversion/trunk/build.conf

2011-04-26 Thread stefan2
Author: stefan2 Date: Tue Apr 26 22:26:39 2011 New Revision: 1096933 URL: http://svn.apache.org/viewvc?rev=1096933&view=rev Log: Planned follow-up to r1096927: remove library dependencies that have become obsolete due to the cache API move. * build.conf (svnadmin, svnserve, libsvn_ra): re

svn commit: r1100523 - /subversion/trunk/subversion/svnadmin/main.c

2011-05-07 Thread stefan2
Author: stefan2 Date: Sat May 7 12:43:36 2011 New Revision: 1100523 URL: http://svn.apache.org/viewvc?rev=1100523&view=rev Log: Fix an "unreachable code" warning introduced in r1096150. * subversion/svnadmin/main.c (subcommand_crashtest): use SVN_ERR_MALFUNCTION instead of abo

svn commit: r1100536 - /subversion/trunk/subversion/libsvn_subr/io.c

2011-05-07 Thread stefan2
Author: stefan2 Date: Sat May 7 13:49:59 2011 New Revision: 1100536 URL: http://svn.apache.org/viewvc?rev=1100536&view=rev Log: Partly redo r1072299 as it minimizes the APR for small buffers on Win32 and document the rationales. Also, handle the case that APR might fail *after* writing some

svn commit: r1100546 - in /subversion/trunk/subversion/libsvn_client: client.h commit.c commit_util.c copy.c

2011-05-07 Thread stefan2
Author: stefan2 Date: Sat May 7 14:17:53 2011 New Revision: 1100546 URL: http://svn.apache.org/viewvc?rev=1100546&view=rev Log: Speed up "harvest" phase for very large numbers of changed items. Previously, look_up_committable caused O(n^2) runtime with a very small factor. Intro

svn propchange: r1100536 - svn:log

2011-05-07 Thread stefan2
Author: stefan2 Revision: 1100536 Modified property: svn:log Modified: svn:log at Sat May 7 14:23:51 2011 -- --- svn:log (original) +++ svn:log Sat May 7 14:23:51 2011 @@ -1,6 +1,6 @@ -Partly redo r1072299 as it

svn commit: r1100553 - in /subversion/trunk/tools/dev/benchmarks/large_dirs: ./ create_bigdir.sh

2011-05-07 Thread stefan2
Author: stefan2 Date: Sat May 7 14:41:28 2011 New Revision: 1100553 URL: http://svn.apache.org/viewvc?rev=1100553&view=rev Log: Add a simple test shell script that will execute and gauge basic operations on increasingly large directories in working copies. It supports ra_local and svn proto

svn commit: r1100649 - /subversion/trunk/tools/dev/benchmarks/large_dirs/create_bigdir.sh

2011-05-07 Thread stefan2
Author: stefan2 Date: Sat May 7 23:02:16 2011 New Revision: 1100649 URL: http://svn.apache.org/viewvc?rev=1100649&view=rev Log: Several fixes to the "large dirs" benchmark: * tools/dev/benchmarks/large_dirs/create_bigdir.sh - add license header - allow for svnserve to u

svn commit: r1100658 - /subversion/trunk/tools/dev/benchmarks/large_dirs/create_bigdir.sh

2011-05-07 Thread stefan2
Author: stefan2 Date: Sat May 7 23:20:25 2011 New Revision: 1100658 URL: http://svn.apache.org/viewvc?rev=1100658&view=rev Log: * tools/dev/benchmarks/large_dirs/create_bigdir.sh Fix valgrind parameters for the "delete 1 file" case. Modified: subversion/trunk/tools/

svn commit: r1100738 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-08 Thread stefan2
Author: stefan2 Date: Sun May 8 13:48:33 2011 New Revision: 1100738 URL: http://svn.apache.org/viewvc?rev=1100738&view=rev Log: Make membuffer cache segmentation dynamic, i.e. don't segment smaller caches. That will allow for much larger objects to be cached such as large directories.

svn commit: r1100742 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-08 Thread stefan2
Author: stefan2 Date: Sun May 8 14:03:01 2011 New Revision: 1100742 URL: http://svn.apache.org/viewvc?rev=1100742&view=rev Log: Follow-up to r1100738: Min segment size should be 32MB (not 2MB). * subversion/libsvn_subr/cache-membuffer.c (MIN_SEGMENT_SIZE): fix typo Modified: subver

svn commit: r1100744 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-08 Thread stefan2
Author: stefan2 Date: Sun May 8 14:21:43 2011 New Revision: 1100744 URL: http://svn.apache.org/viewvc?rev=1100744&view=rev Log: Follow-up to r1100742: Remove some debug output that slipped through. * subversion/libsvn_subr/cache-membuffer.c (svn_cache__membuffer_cache_create): remove pr

svn commit: r1101091 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-09 Thread stefan2
Author: stefan2 Date: Mon May 9 16:28:16 2011 New Revision: 1101091 URL: http://svn.apache.org/viewvc?rev=1101091&view=rev Log: Fix a number of conversion and formatting issues. * subversion/libsvn_subr/cache-membuffer.c (MIN_SEGMENT_SIZE): ensure that cache sizes > 4

svn commit: r1101102 - in /subversion/trunk/subversion: include/svn_wc.h libsvn_client/patch.c svn/notify.c

2011-05-09 Thread stefan2
Author: stefan2 Date: Mon May 9 16:36:28 2011 New Revision: 1101102 URL: http://svn.apache.org/viewvc?rev=1101102&view=rev Log: Fix conversion and signedness comparison warnings concerning the "fuzz" factor. That value is non-negative, thus we can use the same type as for the

svn commit: r1101219 - /subversion/trunk/notes/knobs

2011-05-09 Thread stefan2
Author: stefan2 Date: Mon May 9 20:54:37 2011 New Revision: 1101219 URL: http://svn.apache.org/viewvc?rev=1101219&view=rev Log: * notes/knobs: reformat; add all SVN-specific defines used by #ifdef or #ifndef Modified: subversion/trunk/notes/knobs Modified: subversion/trunk/notes/knobs

svn commit: r1101616 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-10 Thread stefan2
Author: stefan2 Date: Tue May 10 19:49:45 2011 New Revision: 1101616 URL: http://svn.apache.org/viewvc?rev=1101616&view=rev Log: See also: http://svn.haxx.se/dev/archive-2011-05/0243.shtml * subversion/libsvn_subr/cache-membuffer.c (svn_cache__membuffer_cache_create): remove unnecessary

svn commit: r1103413 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-15 Thread stefan2
Author: stefan2 Date: Sun May 15 14:52:22 2011 New Revision: 1103413 URL: http://svn.apache.org/viewvc?rev=1103413&view=rev Log: If an in-place modification of some cache entry failed, we must remove that entry because it might have become invalid or even corrupted. * subversion/libsvn_

svn commit: r1103414 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c

2011-05-15 Thread stefan2
Author: stefan2 Date: Sun May 15 14:54:34 2011 New Revision: 1103414 URL: http://svn.apache.org/viewvc?rev=1103414&view=rev Log: Don't give the impression that init_txn_callbacks might fail. * subversion/libsvn_fs_fs/caching.c (init_txn_callbacks): void is the appropriate return typ

svn commit: r1103419 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c

2011-05-15 Thread stefan2
Author: stefan2 Date: Sun May 15 15:02:04 2011 New Revision: 1103419 URL: http://svn.apache.org/viewvc?rev=1103419&view=rev Log: * subversion/libsvn_fs_fs/caching.c (remove_txn_cache): improve commentary Found by: danielsh Modified: subversion/trunk/subversion/libsvn_fs_fs/cachi

svn commit: r1103422 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c

2011-05-15 Thread stefan2
Author: stefan2 Date: Sun May 15 15:10:50 2011 New Revision: 1103422 URL: http://svn.apache.org/viewvc?rev=1103422&view=rev Log: Fix a copy'n'pasto: we want to check whether the cache object got created. * subversion/libsvn_fs_fs/caching.c (init_txn_callbacks): fix level of indir

svn commit: r1103486 - /subversion/trunk/subversion/libsvn_subr/svn_string.c

2011-05-15 Thread stefan2
Author: stefan2 Date: Sun May 15 18:01:36 2011 New Revision: 1103486 URL: http://svn.apache.org/viewvc?rev=1103486&view=rev Log: Allocate stringbuf_t objects using a single apr_palloc call. * subversion/libsvn_subr/svn_string.c (svn_stringbuf_create_ensure): model in symmetr

svn commit: r1103490 - /subversion/trunk/subversion/libsvn_ra_svn/marshal.c

2011-05-15 Thread stefan2
Author: stefan2 Date: Sun May 15 18:06:23 2011 New Revision: 1103490 URL: http://svn.apache.org/viewvc?rev=1103490&view=rev Log: Eliminate an svn_string_t header allocation and assignment in ra_svn protocol handling code. * subversion/libsvn_ra_svn/marshal.c (read_string): "hero-cast&

svn commit: r1103493 - in /subversion/trunk/subversion: include/svn_io.h libsvn_subr/io.c

2011-05-15 Thread stefan2
Author: stefan2 Date: Sun May 15 18:10:51 2011 New Revision: 1103493 URL: http://svn.apache.org/viewvc?rev=1103493&view=rev Log: Provide svn_io_dir_close() in symmetry to svn_io_dir_open(). * subversion/include/svn_io.h (svn_io_dir_close): declare * subversion/libsvn_subr/

svn commit: r1103578 - in /subversion/trunk/subversion: include/svn_wc.h libsvn_client/update.c libsvn_wc/deprecated.c libsvn_wc/update_editor.c

2011-05-15 Thread stefan2
Author: stefan2 Date: Mon May 16 00:02:05 2011 New Revision: 1103578 URL: http://svn.apache.org/viewvc?rev=1103578&view=rev Log: Eliminate unnecessary stat calls during checkout, part 1 of 2. Most c/o will be to an otherwise empty directory. In that case, we don't need to check for obs

svn commit: r1103671 - in /subversion/trunk/subversion/libsvn_wc: wc_db.c wc_db_pristine.c wc_db_private.h wc_db_wcroot.c

2011-05-16 Thread stefan2
Author: stefan2 Date: Mon May 16 10:13:25 2011 New Revision: 1103671 URL: http://svn.apache.org/viewvc?rev=1103671&view=rev Log: Reverse merged revision(s) 1103589 from subversion/trunk after discussion with Bert. Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c subversion/t

svn commit: r1103749 - /subversion/trunk/subversion/libsvn_wc/wc_db_wcroot.c

2011-05-16 Thread stefan2
Author: stefan2 Date: Mon May 16 14:28:45 2011 New Revision: 1103749 URL: http://svn.apache.org/viewvc?rev=1103749&view=rev Log: SVN status will try to read the .format file for every folder in the working copy. That is very expensive, so do a stat call to check whether the .format file ex

svn commit: r1103762 - /subversion/trunk/subversion/libsvn_wc/questions.c

2011-05-16 Thread stefan2
Author: stefan2 Date: Mon May 16 15:07:38 2011 New Revision: 1103762 URL: http://svn.apache.org/viewvc?rev=1103762&view=rev Log: Speed up svn st for added files (and anything else whose status can be determined from looking at the DB info alone). * subversion/libsvn_wc/questio

svn commit: r1103765 - in /subversion/trunk/subversion: libsvn_wc/update_editor.c libsvn_wc/wc_db.c libsvn_wc/wc_db.h tests/libsvn_wc/db-test.c tests/libsvn_wc/op-depth-test.c

2011-05-16 Thread stefan2
Author: stefan2 Date: Mon May 16 15:24:59 2011 New Revision: 1103765 URL: http://svn.apache.org/viewvc?rev=1103765&view=rev Log: Finding the w/c base folder using svn_wc__db_wcroot_parse_local_abspath can be expensive if being called for many different paths (e.g. files instead of their par

svn propchange: r1103589 - svn:log

2011-05-17 Thread stefan2
Author: stefan2 Revision: 1103589 Modified property: svn:log Modified: svn:log at Tue May 17 10:43:47 2011 -- --- svn:log (original) +++ svn:log Tue May 17 10:43:47 2011 @@ -1,3 +1,5 @@ +Reverted in r1103671. + Eliminate

svn commit: r1104122 - /subversion/trunk/notes/meetings/berlin-11-agenda

2011-05-17 Thread stefan2
Author: stefan2 Date: Tue May 17 10:53:10 2011 New Revision: 1104122 URL: http://svn.apache.org/viewvc?rev=1104122&view=rev Log: * notes/meetings/berlin-11-agenda: dropping the "P" word Modified: subversion/trunk/notes/meetings/berlin-11-agenda Modified: subversion/trunk/

svn commit: r1104160 - /subversion/trunk/subversion/libsvn_subr/utf.c

2011-05-17 Thread stefan2
Author: stefan2 Date: Tue May 17 11:27:25 2011 New Revision: 1104160 URL: http://svn.apache.org/viewvc?rev=1104160&view=rev Log: Speed up UTF8 conversion, especially if APR_HAS_THREADS. Provide global * subversion/libsvn_subr/utf.c (SVN_UTF_NTOU_XLATE_HANDLE, SVN_UTF_UTON_XLATE_HA

svn commit: r1104209 - /subversion/trunk/subversion/libsvn_subr/utf.c

2011-05-17 Thread stefan2
Author: stefan2 Date: Tue May 17 12:54:57 2011 New Revision: 1104209 URL: http://svn.apache.org/viewvc?rev=1104209&view=rev Log: Fix breakage with pre-1.3 APRs, introduced in r1104160. Introduce a utility function that checks for APR version as well as threading settings and provides

svn commit: r1104236 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-17 Thread stefan2
Author: stefan2 Date: Tue May 17 13:31:47 2011 New Revision: 1104236 URL: http://svn.apache.org/viewvc?rev=1104236&view=rev Log: Following a proposal by Ivan, defer cache index initialization inside cache-membuffer to the first write access. That allows for multi-GB caches to be created virtu

svn commit: r1104246 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-17 Thread stefan2
Author: stefan2 Date: Tue May 17 13:42:47 2011 New Revision: 1104246 URL: http://svn.apache.org/viewvc?rev=1104246&view=rev Log: Follow-up to r1104236: only allocate and initialize as many bits in the "group_initialized" vector as are actually used. * subversion/libsvn_subr/cac

svn commit: r1104275 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-17 Thread stefan2
Author: stefan2 Date: Tue May 17 14:23:52 2011 New Revision: 1104275 URL: http://svn.apache.org/viewvc?rev=1104275&view=rev Log: Fix index range arithmetics in membuffer cache index initialization code. * subversion/libsvn_subr/cache-membuffer.c (initialize_group): fix range bit mask Modi

svn propchange: r1104275 - svn:log

2011-05-17 Thread stefan2
Author: stefan2 Revision: 1104275 Modified property: svn:log Modified: svn:log at Tue May 17 14:24:33 2011 -- --- svn:log (original) +++ svn:log Tue May 17 14:24:33 2011 @@ -2,3 +2,5 @@ Fix index range arithmetics in

svn commit: r1104277 - /subversion/trunk/subversion/libsvn_subr/utf.c

2011-05-17 Thread stefan2
Author: stefan2 Date: Tue May 17 14:26:11 2011 New Revision: 1104277 URL: http://svn.apache.org/viewvc?rev=1104277&view=rev Log: * subversion/libsvn_subr/utf.c (atomic_swap): mark as "should be inlined" Suggested by: Ivan Modified: subversion/trunk/subversion/libsvn_subr/u

svn commit: r1104306 - /subversion/trunk/subversion/libsvn_client/update.c

2011-05-17 Thread stefan2
Author: stefan2 Date: Tue May 17 14:57:11 2011 New Revision: 1104306 URL: http://svn.apache.org/viewvc?rev=1104306&view=rev Log: Various improvements to the "clean checkout" optimization applicability check. See http://svn.haxx.se/dev/archive-2011-05/0479.shtml for details

svn commit: r1104319 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-17 Thread stefan2
Author: stefan2 Date: Tue May 17 15:15:53 2011 New Revision: 1104319 URL: http://svn.apache.org/viewvc?rev=1104319&view=rev Log: * subversion/libsvn_subr/cache-membuffer.c (membuffer_cache_set_partial): remove a redundant check Suggested by: danielsh Modified: subversion/trunk/subver

svn commit: r1104332 - /subversion/trunk/subversion/libsvn_fs_fs/tree.c

2011-05-17 Thread stefan2
Author: stefan2 Date: Tue May 17 15:26:57 2011 New Revision: 1104332 URL: http://svn.apache.org/viewvc?rev=1104332&view=rev Log: * subversion/libsvn_fs_fs/tree.c (make_txn_root): add missing SVN_ERR wrapper Suggested by: danielsh Modified: subversion/trunk/subversion/libsvn_fs_fs/tr

svn commit: r1124207 - /subversion/trunk/subversion/mod_dav_svn/mod_dav_svn.c

2011-05-18 Thread stefan2
Author: stefan2 Date: Wed May 18 11:53:53 2011 New Revision: 1124207 URL: http://svn.apache.org/viewvc?rev=1124207&view=rev Log: Make the SVNInMemoryCacheSize mod_dav_svn module setting interpret its parameter value as "kB" instead of "MB". This is more in line with how a

svn commit: r1124210 - /subversion/site/publish/docs/release-notes/1.7.html

2011-05-18 Thread stefan2
Author: stefan2 Date: Wed May 18 12:04:25 2011 New Revision: 1124210 URL: http://svn.apache.org/viewvc?rev=1124210&view=rev Log: Follow-up to r1124207: update the release notes * site/publish/docs/release-notes/1.7.html (server-performance-tuning): update example Modified: subversion/

svn commit: r1124255 - in /subversion/trunk/subversion: include/private/svn_cache.h libsvn_fs_fs/dag.c libsvn_fs_fs/dag.h libsvn_fs_fs/temp_serializer.c libsvn_fs_fs/temp_serializer.h tests/libsvn_sub

2011-05-18 Thread stefan2
Author: stefan2 Date: Wed May 18 13:24:34 2011 New Revision: 1124255 URL: http://svn.apache.org/viewvc?rev=1124255&view=rev Log: Make the declaration of svn_cache__deserialize_func_t match its actual usage: the DATA buffer going in is already a local copy and the function should modify

svn commit: r1124659 - /subversion/trunk/subversion/libsvn_subr/cache-inprocess.c

2011-05-19 Thread stefan2
Author: stefan2 Date: Thu May 19 10:12:34 2011 New Revision: 1124659 URL: http://svn.apache.org/viewvc?rev=1124659&view=rev Log: Eliminate unnecessary integer conversions in cache-inprocess.c. All sizes and size-like values should be unsigned as well. * subversion/libsvn_subr/cache-inproce

svn commit: r1124677 - in /subversion/trunk/subversion: include/svn_string.h libsvn_ra_svn/marshal.c libsvn_subr/svn_string.c

2011-05-19 Thread stefan2
Author: stefan2 Date: Thu May 19 10:37:06 2011 New Revision: 1124677 URL: http://svn.apache.org/viewvc?rev=1124677&view=rev Log: Introduce a "conversion" method that will extract a svn_string_t structure from an existing svn_stringbuf_t instance without the need to allocate

svn commit: r1124687 - /subversion/trunk/subversion/include/svn_string.h

2011-05-19 Thread stefan2
Author: stefan2 Date: Thu May 19 11:29:25 2011 New Revision: 1124687 URL: http://svn.apache.org/viewvc?rev=1124687&view=rev Log: * subversion/include/svn_string.h (svn_cstring_split): in docstring, make clear what kind of strings will be returned Modified: subversion/trunk/subver

svn commit: r1125302 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c

2011-05-20 Thread stefan2
Author: stefan2 Date: Fri May 20 09:55:36 2011 New Revision: 1125302 URL: http://svn.apache.org/viewvc?rev=1125302&view=rev Log: Make dumping cache statistics not break our tests. * subversion/libsvn_fs_fs/caching.c (dump_cache_statistics): print statistics using SVN_DBG() Modi

svn commit: r1125304 - /subversion/trunk/subversion/tests/cmdline/svntest/main.py

2011-05-20 Thread stefan2
Author: stefan2 Date: Fri May 20 09:59:06 2011 New Revision: 1125304 URL: http://svn.apache.org/viewvc?rev=1125304&view=rev Log: Ignore DBG: lines during repo loading as well. * tests/cmdline/svntest/main.py (filter_dbg): new utility function (copy_repos): ignore DBG: lines Patc

svn commit: r1125312 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c

2011-05-20 Thread stefan2
Author: stefan2 Date: Fri May 20 10:21:04 2011 New Revision: 1125312 URL: http://svn.apache.org/viewvc?rev=1125312&view=rev Log: * subversion/libsvn_fs_fs/caching.c (init_callbacks, svn_fs_fs__initialize_caches, init_txn_callbacks, init_txn_callbacks, svn_fs_fs__initialize_txn_caches):

svn commit: r1125316 - /subversion/trunk/subversion/include/private/svn_debug.h

2011-05-20 Thread stefan2
Author: stefan2 Date: Fri May 20 10:44:31 2011 New Revision: 1125316 URL: http://svn.apache.org/viewvc?rev=1125316&view=rev Log: Fix build breakage: teach the preprocessor to simply ignore SVN_DBG in non-debug builds. * subversion/include/private/svn_debug.h (SVN_DBG): define as no-op

svn commit: r1125338 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c

2011-05-20 Thread stefan2
Author: stefan2 Date: Fri May 20 12:01:39 2011 New Revision: 1125338 URL: http://svn.apache.org/viewvc?rev=1125338&view=rev Log: Prepare for SVN_DBG being reverted to its previous definition. * subversion/libsvn_fs_fs/caching.c (dump_cache_statistics): disable the stats output code in rel

svn commit: r1125340 - /subversion/trunk/subversion/include/private/svn_debug.h

2011-05-20 Thread stefan2
Author: stefan2 Date: Fri May 20 12:08:26 2011 New Revision: 1125340 URL: http://svn.apache.org/viewvc?rev=1125340&view=rev Log: Basically revert r1125316 but keep the "non-debug" section in the code and explain why we don't define SVN_DBG there. Obviously, people like me t

svn propchange: r1125316 - svn:log

2011-05-20 Thread stefan2
Author: stefan2 Revision: 1125316 Modified property: svn:log Modified: svn:log at Fri May 20 12:09:36 2011 -- --- svn:log (original) +++ svn:log Fri May 20 12:09:36 2011 @@ -1,3 +1,5 @@ +Reverted in r1125340. + Fix build

svn commit: r1125724 - in /subversion/trunk/subversion/libsvn_subr: config.c kitchensink.c

2011-05-21 Thread stefan2
Author: stefan2 Date: Sat May 21 15:10:02 2011 New Revision: 1125724 URL: http://svn.apache.org/viewvc?rev=1125724&view=rev Log: Since string-to-boolean conversion is frequently needed in parameter and configuration processing, make all variants supported by svn_config_* interfaces t

svn commit: r1125725 - in /subversion/trunk/subversion: include/svn_hash.h libsvn_subr/hash.c

2011-05-21 Thread stefan2
Author: stefan2 Date: Sat May 21 15:13:32 2011 New Revision: 1125725 URL: http://svn.apache.org/viewvc?rev=1125725&view=rev Log: Provide hash lookup functions that will return default values if either the hash itself or the keyed entry are unavailable. This is useful where options are store

svn commit: r1125728 - in /subversion/trunk/subversion: libsvn_fs/fs-loader.c libsvn_repos/repos.c

2011-05-21 Thread stefan2
Author: stefan2 Date: Sat May 21 15:22:02 2011 New Revision: 1125728 URL: http://svn.apache.org/viewvc?rev=1125728&view=rev Log: Simplify code used to access hashed FS configuration info. * subversion/libsvn_repos/repos.c (svn_repos_create): use svn_hash_get_* to simplify the code * subver

svn commit: r1125729 - in /subversion/trunk/subversion: include/svn_fs.h libsvn_fs_fs/caching.c

2011-05-21 Thread stefan2
Author: stefan2 Date: Sat May 21 15:32:16 2011 New Revision: 1125729 URL: http://svn.apache.org/viewvc?rev=1125729&view=rev Log: First step towards removing FSFS-specific options from the global cache configuration structure. In the future, these settings shall be configurable on a per-reposi

svn commit: r1125733 - in /subversion/trunk/subversion: bindings/javahl/native/ include/ libsvn_ra_local/ libsvn_repos/ mod_dav_svn/ svnadmin/ svnlook/ svnserve/ tests/

2011-05-21 Thread stefan2
Author: stefan2 Date: Sat May 21 15:50:41 2011 New Revision: 1125733 URL: http://svn.apache.org/viewvc?rev=1125733&view=rev Log: Add a bit plumbing: add an fs_config parameter to svn_repos_open, so the latter may pass it on to svn_fs_open. Update all callers to use a NULL configuration here.

svn commit: r1125766 - in /subversion/trunk/subversion/mod_dav_svn: dav_svn.h mod_dav_svn.c repos.c

2011-05-21 Thread stefan2
Author: stefan2 Date: Sat May 21 18:55:43 2011 New Revision: 1125766 URL: http://svn.apache.org/viewvc?rev=1125766&view=rev Log: Add "SVNCacheTextDeltas" and "SVNCacheFullTexts" per-directory (repository) mod_dav_svn configuration parameters. Pass them on to the s

svn commit: r1125768 - /subversion/trunk/subversion/include/svn_repos.h

2011-05-21 Thread stefan2
Author: stefan2 Date: Sat May 21 19:01:52 2011 New Revision: 1125768 URL: http://svn.apache.org/viewvc?rev=1125768&view=rev Log: * subversion/include/svn_repos.h (svn_repos_open): add missing SVN_DEPRECATED flag Found by: danielsh Modified: subversion/trunk/subversion/include/svn_rep

svn commit: r1126005 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c

2011-05-22 Thread stefan2
Author: stefan2 Date: Sun May 22 15:52:39 2011 New Revision: 1126005 URL: http://svn.apache.org/viewvc?rev=1126005&view=rev Log: Follow-up to r1125729: Fix a compiler warning and check the "cache fulltexts" flag instead of "cache txdeltas" to enable fulltext caching. *

svn commit: r1126098 - /subversion/trunk/subversion/svnadmin/main.c

2011-05-22 Thread stefan2
Author: stefan2 Date: Sun May 22 17:11:11 2011 New Revision: 1126098 URL: http://svn.apache.org/viewvc?rev=1126098&view=rev Log: Switch FS cache configuration in svnadmin from global cache settings to per-repository parameters. * subversion/svnadmin/main.c (open_repos): pass "e

svn commit: r1126110 - in /subversion/trunk/subversion/svnserve: main.c serve.c server.h

2011-05-22 Thread stefan2
Author: stefan2 Date: Sun May 22 17:24:19 2011 New Revision: 1126110 URL: http://svn.apache.org/viewvc?rev=1126110&view=rev Log: Switch FS cache configuration in svnserve from global cache settings to per-repository parameters. Also, provide new command line parameters "--cache-txde

svn commit: r1126111 - in /subversion/trunk/subversion: include/svn_cache_config.h libsvn_fs_fs/caching.c libsvn_subr/svn_cache_config.c

2011-05-22 Thread stefan2
Author: stefan2 Date: Sun May 22 17:24:49 2011 New Revision: 1126111 URL: http://svn.apache.org/viewvc?rev=1126111&view=rev Log: Finally remove FS-specific caching flags from global cache config. * subversion/include/svn_cache_config.h (svn_cache_config_t): drop cache_fulltexts

svn commit: r1126203 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-22 Thread stefan2
Author: stefan2 Date: Sun May 22 19:36:52 2011 New Revision: 1126203 URL: http://svn.apache.org/viewvc?rev=1126203&view=rev Log: * subversion/libsvn_subr/cache-membuffer.c (), (ensure_data_insertable): improve commentary Modified: subversion/trunk/subversion/libsvn_subr/cache-membuff

svn commit: r1127695 - /subversion/trunk/subversion/libsvn_client/update.c

2011-05-25 Thread stefan2
Author: stefan2 Date: Wed May 25 21:41:34 2011 New Revision: 1127695 URL: http://svn.apache.org/viewvc?rev=1127695&view=rev Log: Make the "clean checkout" detection actually work: reading a dir will *always* end with an ENOENT error. Expect that and disable the optimization only if

svn commit: r1127702 - /subversion/trunk/subversion/include/private/svn_cache.h

2011-05-25 Thread stefan2
Author: stefan2 Date: Wed May 25 21:59:40 2011 New Revision: 1127702 URL: http://svn.apache.org/viewvc?rev=1127702&view=rev Log: Clarify pool usage by properly naming the pool parameters in the svn_cache APIs. This is basically the patch posted here with a few tweaks on my part:

svn commit: r1127705 - in /subversion/trunk/subversion/libsvn_subr: cache-inprocess.c cache-membuffer.c cache-memcache.c cache.c cache.h

2011-05-25 Thread stefan2
Author: stefan2 Date: Wed May 25 22:13:58 2011 New Revision: 1127705 URL: http://svn.apache.org/viewvc?rev=1127705&view=rev Log: Follow-up to r1127702: apply the same pool names to all implementations of the svn_cache APIs. * subversion/libsvn_subr/cache.h (svn_cache__vtable_t): sync

svn commit: r1127709 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

2011-05-25 Thread stefan2
Author: stefan2 Date: Wed May 25 22:20:25 2011 New Revision: 1127709 URL: http://svn.apache.org/viewvc?rev=1127709&view=rev Log: Fix a pool usage issue: svn_cache__get_partial() may be called many times in a row. Thus, the internal pool used to construct keys should be cleared in this functio

svn commit: r1128857 - /subversion/trunk/subversion/libsvn_diff/lcs.c

2011-05-29 Thread stefan2
Author: stefan2 Date: Sun May 29 10:35:40 2011 New Revision: 1128857 URL: http://svn.apache.org/viewvc?rev=1128857&view=rev Log: Simpler/faster LCS algorithm in libsvn_diff by elimination of idx. * subversion/libsvn_diff/lcs.c (svn_diff__snake): Removed idx parameter (always 0) (svn_diff_

svn commit: r1128861 - /subversion/trunk/subversion/libsvn_diff/diff.h

2011-05-29 Thread stefan2
Author: stefan2 Date: Sun May 29 10:47:59 2011 New Revision: 1128861 URL: http://svn.apache.org/viewvc?rev=1128861&view=rev Log: * subversion/libsvn_diff/diff.h (svn_diff__lcs): add docstring Modified: subversion/trunk/subversion/libsvn_diff/diff.h Modified: subversion/trunk/subver

svn commit: r1128862 - /subversion/trunk/subversion/libsvn_diff/lcs.c

2011-05-29 Thread stefan2
Author: stefan2 Date: Sun May 29 10:49:58 2011 New Revision: 1128862 URL: http://svn.apache.org/viewvc?rev=1128862&view=rev Log: Describe the general idea behind the LCS algorithm in place. * subversion/libsvn_diff/lcs.c (svn_diff__lcs): add description Patch by: Morten Kloster Modi

svn commit: r1128872 - /subversion/trunk/subversion/libsvn_diff/lcs.c

2011-05-29 Thread stefan2
Author: stefan2 Date: Sun May 29 13:16:30 2011 New Revision: 1128872 URL: http://svn.apache.org/viewvc?rev=1128872&view=rev Log: Follow-up to r1128862: Move the description to the beginning of the file. * subversion/libsvn_diff/lcs.c (svn_diff__lcs): remove description ... (): ... and pu

svn commit: r1128921 - /subversion/trunk/subversion/libsvn_diff/lcs.c

2011-05-29 Thread stefan2
Author: stefan2 Date: Sun May 29 18:04:50 2011 New Revision: 1128921 URL: http://svn.apache.org/viewvc?rev=1128921&view=rev Log: Faster LCS algorithm in libsvn_diff by reworking fp argument. * subversion/libsvn_diff/lcs.c (svn_diff__snake): expect sum of fp and k as a single argu

svn propchange: r1128921 - svn:log

2011-05-29 Thread stefan2
Author: stefan2 Revision: 1128921 Modified property: svn:log Modified: svn:log at Sun May 29 18:08:46 2011 -- --- svn:log (original) +++ svn:log Sun May 29 18:08:46 2011 @@ -1,7 +1,10 @@ Faster LCS algorithm in

svn commit: r1130512 - in /subversion/trunk/subversion: include/svn_string.h libsvn_subr/svn_string.c

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 12:24:36 2011 New Revision: 1130512 URL: http://svn.apache.org/viewvc?rev=1130512&view=rev Log: Finally, make svn_string_from_stringbuf useful: This kind of conversion usually takes place at the end of some internal processing using variable sized strings and

svn commit: r1130522 - in /subversion/trunk/subversion: include/svn_io.h libsvn_subr/stream.c

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 12:33:13 2011 New Revision: 1130522 URL: http://svn.apache.org/viewvc?rev=1130522&view=rev Log: Since svn_stream_readline_detect_eol will only work for streams that support mark & seek, note that in the docstring and move the EOL detecting from the

svn commit: r1130525 - /subversion/trunk/subversion/libsvn_subr/svn_string.c

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 12:40:23 2011 New Revision: 1130525 URL: http://svn.apache.org/viewvc?rev=1130525&view=rev Log: Follow-up to r1130512: Fix conversion warning. * subversion/libsvn_subr/svn_string.c (svn_string_from_stringbuf): use the right target type in cast Modi

svn commit: r1130528 - in /subversion/trunk/subversion: libsvn_client/patch.c libsvn_repos/hooks.c libsvn_subr/mergeinfo.c libsvn_subr/subst.c libsvn_subr/utf.c libsvn_wc/props.c svn/util.c

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 12:59:59 2011 New Revision: 1130528 URL: http://svn.apache.org/viewvc?rev=1130528&view=rev Log: Replace calls to svn_string_create_from_buf with the much cheaper svn_string_create_from_buf. This is possible in all places where source and target objects

svn commit: r1130548 - in /subversion/trunk/subversion: include/ include/private/ libsvn_client/ libsvn_ra_svn/ libsvn_repos/ libsvn_subr/ libsvn_wc/ svn/

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 13:46:27 2011 New Revision: 1130548 URL: http://svn.apache.org/viewvc?rev=1130548&view=rev Log: After some discussion on IRC, rename svn_string_from_stringbuf to svn_stringbuf__morph_into_string and move it to a private header. * include/pri

svn commit: r1130559 - /subversion/trunk/subversion/libsvn_ra_neon/replay.c

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 14:04:00 2011 New Revision: 1130559 URL: http://svn.apache.org/viewvc?rev=1130559&view=rev Log: Follow-up to 1130548: My build (and renames) had not covered the neon code. * subversion/libsvn_ra_neon/replay.c (end_element): call renamed function Modi

svn commit: r1130560 - /subversion/trunk/subversion/libsvn_ra_neon/replay.c

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 14:07:42 2011 New Revision: 1130560 URL: http://svn.apache.org/viewvc?rev=1130560&view=rev Log: * subversion/libsvn_ra_neon/replay.c: fix typo in include path Modified: subversion/trunk/subversion/libsvn_ra_neon/replay.c Modified: subversion/t

svn commit: r1130561 - /subversion/trunk/notes/knobs

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 14:09:41 2011 New Revision: 1130561 URL: http://svn.apache.org/viewvc?rev=1130561&view=rev Log: * notes/knobs Put a clarification in the Introduction section to prevent the impression that SVN_* identifiers would be public. Modified: subversion/t

svn commit: r1130585 - /subversion/trunk/notes/knobs

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 14:44:09 2011 New Revision: 1130585 URL: http://svn.apache.org/viewvc?rev=1130585&view=rev Log: Add purpose descriptions for most items in knobs that didn't have one, yet. * notes/knobs (CHECK_FOR_SAME_FILE, SVN_DISABLE_EN

svn commit: r1130598 - /subversion/trunk/build.conf

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 15:10:33 2011 New Revision: 1130598 URL: http://svn.apache.org/viewvc?rev=1130598&view=rev Log: Fix Windows build: tell the build scripts that libsvn_subr has a new private header. * build.conf (libsvn_sub): add private\svn_string_private.h to exports Modi

svn commit: r1130622 - in /subversion/trunk/subversion/libsvn_fs_fs: caching.c fs_fs.h

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 16:02:17 2011 New Revision: 1130622 URL: http://svn.apache.org/viewvc?rev=1130622&view=rev Log: Remove duplicate docstrings. * subversion/libsvn_fs_fs/fs_fs.h (svn_fs_fs__initialize_caches, svn_fs_fs__initialize_txn_caches): improve docstrings * subver

svn commit: r1130624 - /subversion/trunk/subversion/libsvn_fs_fs/caching.c

2011-06-02 Thread stefan2
Author: stefan2 Date: Thu Jun 2 16:10:50 2011 New Revision: 1130624 URL: http://svn.apache.org/viewvc?rev=1130624&view=rev Log: * subversion/libsvn_fs_fs/caching.c (init_callbacks, init_txn_callbacks): improve docstrings Suggested by: julianfoad Modified: subversion/trunk/subver

svn commit: r1135210 - /subversion/trunk/subversion/libsvn_ra_svn/marshal.c

2011-06-13 Thread stefan2
Author: stefan2 Date: Mon Jun 13 18:22:42 2011 New Revision: 1135210 URL: http://svn.apache.org/viewvc?rev=1135210&view=rev Log: Fuse read_long_string and read_string functionality in an attempt to increase test code overage. Keep the overhead small for short strings. * subversion/libsvn_ra

svn commit: r1139501 - /subversion/trunk/subversion/libsvn_delta/svndiff.c

2011-06-25 Thread stefan2
Author: stefan2 Date: Sat Jun 25 08:05:41 2011 New Revision: 1139501 URL: http://svn.apache.org/viewvc?rev=1139501&view=rev Log: Optimize data processing in svndiff if we don't want to compress input. * subversion/libsvn_delta/svndiff.c (zlib_encode): bypass pointless zlib call with t

svn commit: r1139502 - /subversion/trunk/subversion/libsvn_subr/svn_base64.c

2011-06-25 Thread stefan2
Author: stefan2 Date: Sat Jun 25 08:12:50 2011 New Revision: 1139502 URL: http://svn.apache.org/viewvc?rev=1139502&view=rev Log: Base64 encoding / decoding accounts for a significant part of the protocol handling with NEON. Make that 3 .. 4 times faster. * subversion/libsvn_subr/svn_base

svn commit: r1139508 - /subversion/site/publish/docs/release-notes/1.7.html

2011-06-25 Thread stefan2
Author: stefan2 Date: Sat Jun 25 08:58:06 2011 New Revision: 1139508 URL: http://svn.apache.org/viewvc?rev=1139508&view=rev Log: In 1.7 release note examples, fix the name SVN's apache module. * site/publish/docs/release-notes/1.7.html (server-performance-tuning): fix config examples

svn commit: r1139931 - /subversion/trunk/subversion/libsvn_subr/svn_base64.c

2011-06-26 Thread stefan2
Author: stefan2 Date: Sun Jun 26 20:04:02 2011 New Revision: 1139931 URL: http://svn.apache.org/viewvc?rev=1139931&view=rev Log: Silence two signed / unsigned char assignment warnings. * subversion/libsvn_subr/svn_base64.c (encode_line, decode_line): explicitly cast rhs to lhs Foun

svn commit: r1139932 - /subversion/trunk/subversion/libsvn_subr/svn_base64.c

2011-06-26 Thread stefan2
Author: stefan2 Date: Sun Jun 26 20:19:26 2011 New Revision: 1139932 URL: http://svn.apache.org/viewvc?rev=1139932&view=rev Log: * subversion/libsvn_subr/svn_base64.c (encode_bytes, decode_bytes): Clarify docstrings. Patch by: danielsh Modified: subversion/trunk/subversion/libsvn_

  1   2   3   4   5   6   7   8   9   10   >