/[Apache-SVN]
ViewVC logotype

Revision 1577079


Jump to revision: Previous Next
Author: ivan
Date: Thu Mar 13 09:59:55 2014 UTC (10 years, 9 months ago)
Changed paths: 18
Log Message:
Add svn_sort__array() -- simple wrapper around qsort() to sort APR array 
and use where applicable.

* subversion/include/private/svn_sorts_private.h
  (svn_sort__array): New declaration.

* subversion/libsvn_subr/sorts.c
  (svn_sort__array): New.

* subversion/libsvn_client/add.c
  (): Include svn_sorts_private.h.
  (mkdir_urls): Use svn_sort__array().

* subversion/libsvn_client/commit.c
  (): Include svn_sorts_private.h.
  (determine_lock_targets): Use svn_sort__array().

* subversion/libsvn_client/commit_util.c
  (): Remove stdlib.h and include svn_sorts_private.h.
  (svn_client__condense_commit_items): Use svn_sort__array().

* subversion/libsvn_client/ra.c
  (): Include svn_sorts_private.h.
  (svn_client__repos_location_segments): Use svn_sort__array().

* subversion/libsvn_client/resolved.c
  (): Remove stdlib.h and include svn_sorts_private.h.
  (svn_client__resolve_conflicts): Use svn_sort__array().
  
* subversion/libsvn_delta/path_driver.c
  (): Include svn_sorts_private.h.
  (svn_delta_path_driver2): Use svn_sort__array().

* subversion/libsvn_diff/parse-diff.c
  (): Include svn_sorts_private.h.
  (svn_diff_parse_next_patch): Use svn_sort__array().
  
* subversion/libsvn_fs_fs/cached_data.c
  (read_dir_entries): Use svn_sort__array().

* subversion/libsvn_fs_fs/transaction.c
  (verify_locks): Use svn_sort__array().

* subversion/libsvn_ra/compat.c
  (svn_ra__locations_from_log): Use svn_sort__array().

* subversion/libsvn_repos/log.c
  (): Include svn_sorts_private.h.
  (turn_unique_copies_into_moves, combine_mergeinfo_path_lists,
   handle_merged_revisions): Use svn_sort__array().

* subversion/libsvn_repos/replay.c
  (): Include svn_sorts_private.h.
  (svn_repos__replay_ev2): Use svn_sort__array().
  
* subversion/libsvn_repos/rev_hunt.c
  (): Include svn_sorts_private.h.
  (find_merged_revisions): Use svn_sort__array().

* subversion/libsvn_subr/mergeinfo.c
  (combine_with_lastrange, parse_revision_line, svn_mergeinfo_sort): Use 
   svn_sort__array().

* subversion/libsvn_wc/revert.c
  (): Include svn_sorts_private.h.
  (revert_restore_handle_copied_dirs): Use svn_sort__array().

* subversion/svndumpfilter/svndumpfilter.c
  (): Include svn_sorts_private.h.
  (do_filter): Use svn_sort__array().


Changed paths

Path Details
Directorysubversion/trunk/subversion/include/private/svn_sorts_private.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/add.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/commit.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/commit_util.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/ra.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_client/resolved.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_delta/path_driver.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_diff/parse-diff.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_fs_fs/cached_data.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_fs_fs/transaction.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_ra/compat.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_repos/log.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_repos/replay.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_repos/rev_hunt.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_subr/mergeinfo.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_subr/sorts.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/revert.c modified , text changed
Directorysubversion/trunk/subversion/svndumpfilter/svndumpfilter.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26