[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

API review - svn_io ... svn_repos.h

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Mon, 13 Jun 2011 12:42:38 +0100

This is a list of all the changes to public symbols, with a few drive-by
remarks. Comparing 1.6.17 to trunk_at_1134000; I'll check for any
subsequent changes on trunk later.

HEADERS REVIEWED

  svn_io.h
  svn_iter.h - no change except doc clarification
  svn_md5.h - no change
  svn_mergeinfo.h
  svn_nls.h - no change
  svn_opt.h
  svn_path.h
  svn_pools.h - no change
  svn_props.h
  svn_quoprint.h - no change
  svn_ra.h
  svn_ra_svn.h
  svn_repos.h

NEW AND CHANGED SYMBOLS

svn_io.h
  svn_io_dirent2_t
  svn_io_dirent2_create()
  svn_io_dirent2_dup()
  svn_stream_t - added reset/mark/seek/skip support
  svn_stream_skip_fn_t
  svn_stream_mark_t
  svn_stream_mark_fn_t
  svn_stream_seek_fn_t
  svn_stream_set_skip()
  svn_stream_set_mark()
  svn_stream_set_seek()
  svn_stream_for_stdin()
  svn_stream_for_stderr()
  svn_stream_skip()
  svn_stream_reset()
  svn_stream_supports_mark()
  svn_stream_mark()
  svn_stream_seek()
  svn_stream_tee()
  svn_stream_contents_same2()
  svn_io_remove_file2()
  svn_io_get_dir_filenames() - deprecated
    # Should say why/what its replacement is.
  svn_io_get_dirents3()
  svn_io_stat_dirent()
  svn_io_dir_walk2()
  svn_io_start_cmd2()
  svn_io_file_putc()
  svn_io_file_read_full2()
  svn_io_dir_close()
  svn_io_file_name_get()

svn_mergeinfo.h
  svn_mergeinfo_catalog_merge()
  svn_mergeinfo_remove2()
  svn_rangelist_diff() - gets 'const' on its array inputs
  svn_rangelist_merge() - gets 'const' on its array input
  svn_rangelist_remove() - gets 'const' on its array inputs
  svn_mergeinfo_intersect2()
  svn_rangelist_intersect() - gets 'const' on its array inputs
  svn_rangelist_inheritable2()
  svn_mergeinfo_inheritable2()
  svn_rangelist_inheritable() - no change, but:
    # Should be deprecated
  svn_mergeinfo_inheritable() - no change, but:
    # Should be deprecated
  svn_rangelist_dup() - gets 'const' on its array input
  svn_mergeinfo_inheritance_t - gets an enum tag name to match typedef

svn_opt.h
  svn_opt_subcommand_help3() - new behaviour: shows aliases
  svn_opt_args_to_target_array3() - gets 'const' on its array input
  svn_opt_args_to_target_array2() - gets 'const' on its array input
  svn_opt_args_to_target_array() - gets 'const' on its array input

svn_path.h
  svn_path_internal_style() - deprecated; see dirent_uri.h
  svn_path_local_style() - deprecated; see dirent_uri.h
  svn_path_join() - deprecated; see dirent_uri.h
  svn_path_join_many() - deprecated; see dirent_uri.h
  svn_path_basename() - deprecated; see dirent_uri.h
  svn_path_dirname() - deprecated; see dirent_uri.h
  svn_path_split() - deprecated; see dirent_uri.h
  svn_path_canonicalize() - deprecated; see dirent_uri.h
  svn_path_is_canonical() - deprecated; see dirent_uri.h
  svn_path_get_longest_ancestor() - deprecated; see dirent_uri.h
  svn_path_get_absolute() - deprecated; see dirent_uri.h
  svn_path_split_if_file() - deprecated
  svn_path_condense_targets() - deprecated; see dirent_uri.h
  svn_path_is_child() - deprecated; see dirent_uri.h
  svn_path_is_ancestor() - deprecated; see dirent_uri.h

svn_props.h
  svn_prop_array_to_hash()
  svn_prop_get_value()

svn_ra.h
  svn_ra_get_wc_prop_func_t - 'relpath' param renamed 'path'
  svn_ra_open4() - new; supports redirection
  svn_ra_get_path_relative_to_session()
  svn_ra_get_path_relative_to_root()
  svn_ra_change_rev_prop2() - new; supports 'atomic' revprop changes
  svn_ra_get_mergeinfo2() - new; can validate inherited mergeinfo
  svn_ra_get_mergeinfo()
    # needs SVN_DEPRECATED
  svn_ra_get_locations() - gets 'const' on its array input
  svn_ra_get_locks2() - new; supports depth
  SVN_RA_CAPABILITY_ATOMIC_REVPROPS
  
svn_ra_svn.h
  SVN_RA_SVN_CAP_ATOMIC_REVPROPS
  svn_ra_svn_create_conn2() - can specify compression level
  svn_ra_svn_set_capabilities() - gets 'const' on its array input
  svn_ra_svn_compression_level()
    # Better name: svn_ra_svn_[conn_][get_]compression_level()?
  svn_ra_svn_parse_tuple() - gets 'const' on its array input
  svn_ra_svn_parse_proplist() - gets 'const' on its array input

svn_repos.h
  - removed svn_version.h
  svn_repos_authz_access_t - gets an enum tag name to match typedef
  svn_repos_notify_action_t
  svn_repos_notify_t
  svn_repos_notify_func_t
  svn_repos_notify_create()
  svn_repos_open2() - takes an fs_config hash input
  svn_repos_upgrade2() - uses the new repos notification system
  svn_repos_fs_pack2() - uses the new repos notification system
  svn_repos_recover4() - uses the new repos notification system
  svn_repos_trace_node_locations() - gets 'const' on its array input
  svn_repos_fs_get_mergeinfo2() - can validate inherited mergeinfo
  svn_repos_fs_get_locks2() - supports depth
  svn_repos_fs_change_rev_prop4() - supports 'atomic' rev prop change
  svn_repos_fs_change_txn_props() - gets 'const' on its array input
  svn_repos_verify_fs2() - uses the new repos notification system
  svn_repos_dump_fs3() - uses the new repos notification system
  svn_repos_load_fs3() - can validate svn props; uses new notifications
  svn_repos_get_fs_build_parser3() - can validate svn props; uses new
    notifications
  svn_repos_revision_access_level_t - gets an enum tag name to match
typedef
  svn_repos_remember_client_capabilities() - gets 'const' on its array
input

- Julian
Received on 2011-06-13 13:43:20 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.