Yoshiki Hayashi <yoshiki@xemacs.org> (yoshiki)
Patch |
Suggested |
r841336,
r841335,
r841334,
r841272,
r841261,
r841260,
r841259,
r841258,
r841257,
r841256,
r841242,
r841241,
r841239,
r841175,
r841174,
r841135,
r841100,
r841091,
r841090,
r841089,
r840917,
r840916,
r840873,
r840872,
r840871,
r840870,
r840869,
r840828,
r840827,
r840826,
r840739,
r840738,
r840737,
r840736,
r840667,
r840654,
r840653,
r840640,
r840639,
r840638,
r840637,
r840636,
r840635,
r840634,
r840633,
r840632,
r840614,
r840581,
r840580,
r840579,
r840578,
r840577,
r840576,
r840575,
r840574,
r840573,
r840552,
r840543,
r840542,
r840541,
r840540,
r840522,
r840492,
r840469,
r840428,
r840416 |
r840324 |
r840324 | kfogel | 2001-10-16 19:09:48 +0000 (Tue, 16 Oct 2001)
* reps-strings.c (svn_fs__rep_deltify): Use APR_SIZE_T_FMT and no cast
instead of guessing at a format string.
Suggested by: Yoshiki Hayashi <yoshiki@xemacs.org>
r840416 | yoshiki | 2001-10-29 14:07:21 +0000 (Mon, 29 Oct 2001)
Importing Ruby binding.
r840428 | yoshiki | 2001-10-30 07:35:50 +0000 (Tue, 30 Oct 2001)
* util.c: Fix included header file name.
r840469 | yoshiki | 2001-11-05 05:03:03 +0000 (Mon, 05 Nov 2001)
* error.c
(ruby_errinfo): Use EXTERN instead of extern. Ruby header does a little
trick with EXTERN so that Windows DLL can find symbols.
(svn_ruby_init_error): Define Svn::Error::WcUnexpectedKind.
r840492 | yoshiki | 2001-11-07 07:25:05 +0000 (Wed, 07 Nov 2001)
Sync up with svn_stringbuf cleanup.
* fs_txn.c
(txn_prop):
(change_txn_prop):
Change type of property name to const char * and value to
svn_string_t.
* fs.c
(fs_revision_prop):
(fs_change_rev_prop): Ditto.
* fs_root.c
(change_node_prop): Ditto.
* fs_node.c
(prop): Ditto.
r840522 | yoshiki | 2001-11-13 12:10:17 +0000 (Tue, 13 Nov 2001)
* svn_ruby.c (Init_svn): Renamed from Init_Svn.
r840540 | yoshiki | 2001-11-16 11:26:34 +0000 (Fri, 16 Nov 2001)
Synch with rev 462 change, ancestor -> url renaming.
* wc.c
(wc_entry_url): Renamed from wc_entry_ancestor.
(svn_ruby_init_wc): Rename Svn::WcEntry:ATTR_ANCESTOR to Svn::WcEntry:ATTR_URL.
Rename instance method ancestor to url.
* error.c
(svn_ruby_init_error): Rename exception Svn::Error::WcEntryMissingAncestry
to Svn::Error:WcEntryMissingURL.
r840541 | yoshiki | 2001-11-16 11:30:47 +0000 (Fri, 16 Nov 2001)
Synch with rev 453 change.
* client.c
(cl_checkout): Untabify.
(cl_delete): Take an optional argument aMessage which must be string or nil.
pass auth_baton and message to svn_client_delete.
(svn_ruby_init_client): Change delete to an instance method.
r840542 | yoshiki | 2001-11-16 11:33:03 +0000 (Fri, 16 Nov 2001)
Synch with rev 454 change.
* error.c (svn_ruby_init_error): Define new exception Svn::Error::BadURL.
r840543 | yoshiki | 2001-11-16 11:39:46 +0000 (Fri, 16 Nov 2001)
Synch with rev 438 change.
* wc.c
(wc_has_binary_prop): Renmaed from has_binary_prop so that
function name doesn't shadow local variable name.
(svn_ruby_init_wc): Use wc_has_binary_prop instead of has_binary_prop.
Define new constant Svn::WcEntry::EXISTENCE_COPIED.
Define new constant Svn::WcEntry::VALUE_COPIED.
r840552 | yoshiki | 2001-11-19 08:41:55 +0000 (Mon, 19 Nov 2001)
* configure.in: Add new option --enable-dso. Default is
--disable-dso. When enabled, libsvn_client tries to load
RA libraries at run time. Otherwise, RA libraries are
dynamically linked.
r840573 | yoshiki | 2001-11-26 11:54:07 +0000 (Mon, 26 Nov 2001)
Implement Svn::Ra#getLog.
* ra.c
(struct log_receover_baton_t): New struct.
(log_receiver): New function. Convert argument to Ruby object and
call block.
(ra_get_log): New function. Convert Ruby object to Subversion object and
call get_log.
(svn_ruby_init_ra): Register ra_get_log.
* util.c (svn_ruby_protect_call5): New function.
* util.h (svn_ruby_protect_call5): Declare it.
r840574 | yoshiki | 2001-11-26 11:54:22 +0000 (Mon, 26 Nov 2001)
* client.c (cl_prompt): Bug fix. Return error correctly.
r840575 | yoshiki | 2001-11-26 11:54:30 +0000 (Mon, 26 Nov 2001)
Implement close_func argument of Svn::Ra#getCommitEditor.
* ra.c
(struct close_commit_baton_t): New struct.
(ra_close_commit): New function of type svn_ra_close_commit_func_t.
(ra_get_commit_editor): Pass in ra_close_commit to get_commit_editor
if closeFunc is given.
r840576 | yoshiki | 2001-11-26 11:54:38 +0000 (Mon, 26 Nov 2001)
Add dummy initialize method to Svn::Fs.
* fs.c
(open_or_create): Call initialize method with 1 arg.
(fs_initialize): New function.
(svn_ruby_init_fs): Register Svn::Fs#initialize.
r840577 | yoshiki | 2001-11-26 11:54:47 +0000 (Mon, 26 Nov 2001)
Start writing Svn::Repos binding.
* fs.c
(repos_open): New function.
(svn_ruby_init_fs): Define Svn::Repos. Register Svn::Fs.new and Svn::Fs.open.
r840578 | yoshiki | 2001-11-26 11:55:02 +0000 (Mon, 26 Nov 2001)
Implement Svn::FsDir#delta.
* fs_root.c
(cSvnFsRoot): Enlarge scope of this variable to the file.
(svn_ruby_is_fs_root): New function. Return TRUE when argument is
an Svn::FsRoot.
* fs_root.h
(svn_ruby_is_fs_root): Declare.
* fs_node.c
(dir_delta): New function.
(svn_ruby_init_fs_node): Register Svn::FsDir#delta.
r840579 | yoshiki | 2001-11-26 11:55:13 +0000 (Mon, 26 Nov 2001)
* txdelta.c
(txdelta_new): Delegate initialization to the method initialize.
(txdelta_init): New function.
(svn_ruby_init_txdelta): Register Svn::TextDelta#initialize.
r840580 | yoshiki | 2001-11-26 11:55:33 +0000 (Mon, 26 Nov 2001)
Fix Ruby string -> svn_string(buf) conversion.
Property value can be binary.
* delta_editor.c
(ce_change_dir_prop): Use svn_stringbuf_ncreate.
(ce_change_file_prop): Ditto.
* fs.c (fs_change_rev_prop): Use svn_string_ncreate.
* fs_txn.c (change_txn_prop): Use svn_string_ncreate.
* fs_root.c (change_node_prop): Use svn_string_ncreate.
* wc.c (wc_prop_set): Use svn_string_ncreate.
r840581 | yoshiki | 2001-11-26 12:21:07 +0000 (Mon, 26 Nov 2001)
* delta_editor.c
Recover contents of this file. It's messed up in rev 506.
r840614 | yoshiki | 2001-11-28 04:24:05 +0000 (Wed, 28 Nov 2001)
Reapply Karl's replace -> open renaming in revision 492.
* delta_editor.c (open_root, open_directory,
open_file): Replace replace_root, replace_directory, replace_file,
respectively, and change name/error strings accordingly.
(rb_editor): Adjust for above.
(em_open_root, em_open_directory, em_open_file): Replace
em_replace_root, em_replace_directory, em_replace_file, respectively.
(ce_open_root, ce_open_directory, ce_open_file): Replace
ce_replace_root, ce_replace_directory, ce_replace_file, respectively.
(ce_add_directory, ce_change_dir_prop, ce_add_file,
ce_apply_textdelta, ce_change_file_prop): Adjust error strings
accordingly, and also fix for 80 column lines.
(svn_ruby_init_delta_editor): Adjust method names and bindings.
r840632 | yoshiki | 2001-11-29 06:47:38 +0000 (Thu, 29 Nov 2001)
Sync with rev 484 change.
* wc.c
(wc_entry_copied): New function.
(svn_ruby_init_wc): Remove Svn::WcEntry::EXISTENCE_COPIED.
Add Svn::WcEntry::ATTR_COPIED.
Remove Svn::WcEntry::VALUE_COPIED.
Register Svn::WcEntry#copied?.
r840633 | yoshiki | 2001-11-29 06:47:50 +0000 (Thu, 29 Nov 2001)
Implement Svn::FsRoot#checkPath.
* fs_root.c:
(check_path): New function.
(svn_ruby_init_fs_root): Register Svn::FsRoot#checkPath.
r840634 | yoshiki | 2001-11-29 06:48:04 +0000 (Thu, 29 Nov 2001)
* client.c
(cl_copy): Implement the body of Svn::Client#copy.
(svn_ruby_init_client): Move copy from class method to instance method.
r840635 | yoshiki | 2001-11-29 06:48:17 +0000 (Thu, 29 Nov 2001)
* stream.c
(file_init): New function.
(svn_ruby_init_stream): Register file_init as Svn::FileStream#initialize.
r840636 | yoshiki | 2001-11-29 06:48:30 +0000 (Thu, 29 Nov 2001)
* error.c (svn_ruby_init_error): Define new exception Svn::Error:RaPropsNotFound.
r840637 | yoshiki | 2001-11-29 06:48:45 +0000 (Thu, 29 Nov 2001)
* client.c (cl_copy): Take additional argumens, beforeEditor and afterEditor.
r840638 | yoshiki | 2001-11-29 06:49:08 +0000 (Thu, 29 Nov 2001)
Implement Svn::Client.propset, Svn::Client.propget and Svn::Client.proplist.
* util.c (svn_ruby_strbuf_hash): Helper function to convert
char * -> svn_stringbuf_t * apr_hash_t to Ruby hash table.
* util.h (svn_ruby_strbuf_hash): Declare it.
* client.c
(cl_propset): New function.
(cl_propget): New function.
(cl_proplist): New function.
(svn_ruby_init_client): Register propset, propget and proplist methods.
r840639 | yoshiki | 2001-11-29 06:49:23 +0000 (Thu, 29 Nov 2001)
Implement Svn::Client.propset, Svn::Client.propget and Svn::Client.proplist.
* util.c (svn_ruby_strbuf_hash): Helper function to convert
char * -> svn_stringbuf_t * apr_hash_t to Ruby hash table.
* util.h (svn_ruby_strbuf_hash): Declare it.
* client.c
(cl_propset): New function.
(cl_propget): New function.
(cl_proplist): New function.
(svn_ruby_init_client): Register propset, propget and proplist methods.
r840640 | cmpilato | 2001-11-29 17:13:25 +0000 (Thu, 29 Nov 2001)
This patch allows you to commit files without providing get_func.
Current code will lose information because it will succeed to commit
even when it should result in conflict. It should version_url
according to revision, which is not always the latest revision.
Patch by: Yoshiki Hayashi <yoshiki@xemacs.org>
* subversion/libsvn_ra_dav/commit.c
(get_version_url): Take revision as argument. Returns the property
of the latest revision when revision is invalid. Otherwise, get the
property of specified revision.
(add_child): Take revision as argument and pass it to
get_version_url.
(commit_open_root): Pass SVN_INVALID_REVNUM to get_version_url.
(commit_add_dir, commit_add_file): Pass SVN_INVALID_REVNUM to add_child.
(commit_open_dir, commit_open_file): Pass base_revision to add_child.
r840653 | yoshiki | 2001-11-30 12:15:48 +0000 (Fri, 30 Nov 2001)
Implement Svn::Client#log.
* ra.c
(struct log_receiver_baton_t): Moved to log.c.
(log_receiver): Moved to log.c
(ra_get_log): Move the body of this function to log.c.
* log.c
(struct log_receiver_baton_t): Moved from ra.c.
(log_receiver): Moved from ra.c.
(get_log): New function.
(svn_ruby_ra_get_log): New function.
(svn_ruby_client_log): New function.
* log.h
(svn_ruby_ra_get_log): Declare it.
(svn_ruby_client_log): Declare it.
* client.c
(cl_log): New function.
(svn_ruby_init_client): Register new instance method log.
r840654 | yoshiki | 2001-11-30 12:16:05 +0000 (Fri, 30 Nov 2001)
Implement Svn::Ra#check_path.
* ra.c (ra_check_path): New function.
(svn_ruby_init_ra): Add checkPath method to Svn::Ra.
r840667 | cmpilato | 2001-12-04 17:03:26 +0000 (Tue, 04 Dec 2001)
Remove user argument to svn_client_import. User is retrieved via
auth_baton.
Patch by: Yoshiki Hayashi <yoshiki@xemacs.org>
* subversion/include/svn_client.h
(svn_client_import): Remove user parameter.
(svn_client_commit): Docstring edit.
* subversion/libsvn_client/commit.c
(svn_client_import): Remove user parameter.
* subversion/clients/cmdline/import-cmd.c
(cl_import): Adjust argument of svn_client_import.
* subversion/bindings/ruby/client.c
(cl_import): Adjust argument of svn_client_import.
r840736 | yoshiki | 2001-12-18 10:26:07 +0000 (Tue, 18 Dec 2001)
Sync with rev 624 change.
* delta_editor.c
(delete_entry): Add revision argument.
(em_delete_entry): Add revision argument.
(ce_delete_entry): Add revision argument.
(svn_ruby_init_delta_editor): Adjust argument number of
Svn::RubyEditor#deleteEntry and Svn::CommitEditor#deleteEntry.
r840737 | yoshiki | 2001-12-18 10:49:18 +0000 (Tue, 18 Dec 2001)
Sync with rev 642 change.
Remove existence attribute.
(wc_entry_existence): Removed.
(svn_ruby_init_wc): Remove Svn::WcEntry::EXISTENCE_NORMAL,
Svn::WcEntry::EXISTENCE_ADDED and Svn::WcEntry::EXISTENCE_DELETED.
Remove Svn::WcEntry::ATTR_EXISTENCE, Svn::WcEntry#existence.
r840738 | yoshiki | 2001-12-18 10:50:06 +0000 (Tue, 18 Dec 2001)
Move svn_repos stuff to new file, repos.h. Note that this commit only
moves contents so this file does not compile yet.
* fs.c (repos_open): Moved to repos.c
(svn_ruby_init_fs): Move Svn::Repos to repos.c
* repos.c: New file.
(repos_open): Moved from fs.c
(svn_ruby_init_repos): New function. Contents is moved from fs.c
* svn_ruby.h (svn_ruby_init_repos): Declare.
* svn_ruby.c (Init_svn): Call svn_ruby_init_repos.
r840739 | yoshiki | 2001-12-18 10:50:48 +0000 (Tue, 18 Dec 2001)
Make repos.c compile.
* repos.c:
(svn_ruby_repos_t): New structure.
(repos_free): New function. Finalizer for Svn::Repos objects.
(repos_open): Use svn_ruby_repos_t instead of svn_ruby_fs_t.
(svn_ruby_init_repos): Now Svn::Repos is a subclass of Object, not Svn::Fs.
r840826 | yoshiki | 2002-01-08 07:45:10 +0000 (Tue, 08 Jan 2002)
* ra.c (ra_get_commit_editor): Add new_rev, committed_date,
committed_author arguments to get_commit_editor.
r840827 | yoshiki | 2002-01-08 08:26:30 +0000 (Tue, 08 Jan 2002)
* client.c (cl_import, cl_commit): Adjust argument to svn_client functions.
Return array of committed_rev, committed_date and committed_author.
Fix memory leak.
r840828 | yoshiki | 2002-01-08 08:37:14 +0000 (Tue, 08 Jan 2002)
* fs.c
(fs_free): Use refcount to manage pool.
(svn_ruby_fs_new): New function to create Svn::Fs object.
(open_or_create): Use svn_ruby_fs_new.
(fs_initialize): Change parameters.
(svn_ruby_init_fs): Register Svn::Fs#initialize as a variable argument method.
* repos.c
(repos_free): Use refcount to mangae pool. This pool might be share
with Svn::Fs object.
(repos_create): New function.
(repos_delete): New function.
(repos_init): New function.
(repos_is_closed): New function.
(repos_close): New function.
(repos_fs): New function.
(svn_ruby_init_repos): Register Svn::Repos.create, Svn::Repos.delete,
Svn::Repos#initialize, Svn::Repos#closed?, Svn::Repos#close and
Svn::Repos#fs.
r840869 | yoshiki | 2002-01-10 04:11:34 +0000 (Thu, 10 Jan 2002)
Add new file, fs.h. I thought I added this before but svn st showed I
didn't.
* fs.h (svn_ruby_fs_new): Declare.
r840870 | yoshiki | 2002-01-10 04:12:16 +0000 (Thu, 10 Jan 2002)
* ra.c (ra_close_commit): Change prototype to match
svn_ra_close_commit_func_t. Pass rev_date and rev_author to Ruby method.
r840871 | yoshiki | 2002-01-10 06:02:59 +0000 (Thu, 10 Jan 2002)
* client.c (cl_file_diff): Removed.
(svn_ruby_init_client): Remove Svn::Client.fileDiff.
r840872 | yoshiki | 2002-01-10 06:19:11 +0000 (Thu, 10 Jan 2002)
* client.c (cl_import, cl_commit): Return nil when committed_date and
committed_author are unavailable.
r840873 | yoshiki | 2002-01-10 06:25:43 +0000 (Thu, 10 Jan 2002)
* client.c (cl_status): When UPDATE is true, return array of
youngest revision and status hash.
r840916 | yoshiki | 2002-01-11 10:05:39 +0000 (Fri, 11 Jan 2002)
* error.c (svn_ruby_init_error): Define new errors,
Svn::Error::IoInconsisstentEOL, Svn::Error::IoUnknownEOL,
Svn::Error::IoCorruptEOL, Svn::Error::ExternalProgram.
* wc.c (svn_ruby_init_wc): Define new constannt Svn::Status::UNVERSIONED.
r840917 | yoshiki | 2002-01-11 10:07:21 +0000 (Fri, 11 Jan 2002)
Sync with pool removeal from svn_client_auth_baton_t.
* client.c
(free_cl): Remove reference to pool in auth baton.
(cl_new): Ditto.
r841089 | yoshiki | 2002-01-22 12:03:07 +0000 (Tue, 22 Jan 2002)
Fix typo. Thanks for trying to keep ruby bindings area up to date but
it seems I need to repost build system patch. :-)
* wc.c
(wc_prop_set): Fix typo.
(is_wc_prop): Fix typo.
r841090 | yoshiki | 2002-01-22 12:09:06 +0000 (Tue, 22 Jan 2002)
New new commit_info structure.
* client.c
(commit_info_to_array): New function.
(cl_mkdir): Pass commit_info to svn_clinet_mkdir. Call commit_info_to_array
to return object.
(cl_delete): Pass commit_info to svn_clinet_delete. Call commit_info_to_array
to return object.
(cl_import): Pass commit_info to svn_clinet_import. Call
commit_info_to_array to return object.
(cl_commit): Pass commit_info to svn_clinet_commit. Call commit_info_to_array
to return object.
(cl_copy): Pass commit_info to svn_clinet_copy. Call commit_info_to_array
to return object.
r841091 | yoshiki | 2002-01-22 12:18:30 +0000 (Tue, 22 Jan 2002)
Fix typo again. Thank Greg Stein for catching this.
* wc.c (wc_prop_set): Create svn_string_t, not svn_stringbuf_t.
r841100 | cmpilato | 2002-01-23 15:05:21 +0000 (Wed, 23 Jan 2002)
Fix the problem that change_dir_prop always tries to create an
svn_string_t even when local_value is NULL (which means deleting
property).
Patch by: Yoshiki Hayashi <yoshiki@xemacs.org>
* get_editor.c (change_dir_prop): When local_value is NULL, simply set
propchange->value to NULL.
r841135 | kfogel | 2002-01-25 16:45:00 +0000 (Fri, 25 Jan 2002)
The comment above import_dir says calling EDITOR->close_directory is
the caller's job. Now, import_dir calls import_dir recursively. It
needs to close directories it opened.
Patch by: Yoshiki Hayashi <yoshiki@xemacs.org>
* subversion/libsvn_client/commit.c (import_dir): Call close_directory
for directories you opened.
r841174 | yoshiki | 2002-01-29 06:27:01 +0000 (Tue, 29 Jan 2002)
Implement freeing directory baton using reference counting.
* trace-commit.c
(struct dir_baton): New members, subpool and ref_count.
(decrement_dir_ref_count): New function, copied from
libsvn_ra_local/commit_editor.
(open_root): Create subpool corresponding the directory. Initialize refcount.
(add_directory): Create subpool. Initialize refcount. Increment parent's
refcount.
(open_directory): Ditto.
(close_directory): Call decrement_dir_ref_count.
(close_file): Ditto.
(add_file): Increase parent's refcount. Use parent directory's pool.
(open_file): Ditto.
Review by: Karl Fogel <kfogel@collab.net>
r841175 | yoshiki | 2002-01-29 07:52:04 +0000 (Tue, 29 Jan 2002)
Sync with latest change. Now svn_txdelta_window_t has its own pool
so no need to refcount parent's pool.
(struct svn_ruby_txdelta_window_t): Add new member pool, which is
associated with this object.
(send_string): Use svn_string_t instead of svn_stringbuf_t.
(free_txdelta_window): Remove refcount stuff. Destroy pool.
(free_txdelta_stream): Remove call to svn_txdelta_free.
(txdelta_stream_init): Remove instance variables used for refcount.
(txdelta_stream_close): Remove refcount stuff.
(txdelta_stream_next_window): Pass in pool. Remove refcount stuff.
r841239 | yoshiki | 2002-02-04 06:09:54 +0000 (Mon, 04 Feb 2002)
* extconf.rb: Move up code to get dependent flags and libs. Add apr to
required library list.
r841241 | yoshiki | 2002-02-04 08:27:28 +0000 (Mon, 04 Feb 2002)
Sync with svn_client_revision_t change.
* util.c (svn_ruby_parse_revision): New function.
* util.h (svn_ruby_parse_revision): Declare it.
* client.c (cl_checkout): Call svn_ruby_parse_revision.
(cl_update): Ditto.
(cl_copy): Ditto.
* log.c (get_log): Call svn_ruby_parse_revision to get svn_client_revision_t
in svn_client_log case.
r841242 | yoshiki | 2002-02-04 08:36:55 +0000 (Mon, 04 Feb 2002)
Ditch ugly callback arg and implement it in terms of Ruby module.
* ra.c (get_authenticator): Remove unused code.
(ra_helpler_get_username): New function.
(ra_helper_get_user_and_pass): New function.
(ra_open): Remove callback argument. Use self as the object responsible for
providing authentication methods.
(svn_ruby_init_ra): Add Svn::RaHelper, Svn::RaHelper#getUsername and
Svn::RaHelper##getUserAndPass. Svn::Ra include the module Svn::RaHelper.
Svn::Ra#open now takes one arg.
r841256 | yoshiki | 2002-02-05 08:25:35 +0000 (Tue, 05 Feb 2002)
Refactor argument parsing code to separate Ra and Client bindings of get_log.
* log.c
(struct svn_ruby_log_receiver_baton_t): Renamed from log_receiver_baton_t.
(svn_ruby_log_receiver): Renamed from log_receiver.
(svn_ruby_get_log_args): New function.
(get_log): Removed.
(svn_ruby_ra_get_log): Move necessary code from get_log.
(svn_ruby_client_log): Ditto.
r841257 | yoshiki | 2002-02-05 08:34:13 +0000 (Tue, 05 Feb 2002)
Move ra binding of log to ra.c and client binding to client.c
* log.h
(svn_ruby_ra_get_log): Removed
(svn_ruby_client_log): Removed.
(struct svn_ruby_log_receiver_baton_t): Moved from log.c.
(svn_ruby_log_receiver): Declare.
(svn_ruby_get_log_args): Declare.
* ra.c (ra_get_log): Move contents of svn_ruby_ra_get_log.
* client.c (cl_log): Move contents of svn_ruby_client_log.
* log.c
(struct svn_ruby_log_receiver_baton_t): Moved to log.c.
(svn_ruby_ra_get_log): Incorporated into ra.c.
(svn_ruby_client_log): Incorporated into client.c.
r841258 | yoshiki | 2002-02-05 08:52:31 +0000 (Tue, 05 Feb 2002)
Move svn_ruby_parse_revision to client.c and remove
#include <svn_client.h> from upper level bindings.
* util.c (svn_ruby_parse_revision): Moved to client.c
* util.h (svn_ruby_parse_revision): Removed declaration.
* delta_editor.c: Remove #include <svn_client.h>
* fs.c: Ditto.
* fs_node.c: Ditto.
* fs_txn.c: Ditto.
* repos.c: Ditto.
* wc.c: Ditto.
r841259 | yoshiki | 2002-02-05 08:53:24 +0000 (Tue, 05 Feb 2002)
* client.c (parse_revision): Renamed from svn_ruby_parse_revision.
All callers are changed.
r841260 | yoshiki | 2002-02-05 13:24:01 +0000 (Tue, 05 Feb 2002)
* fs.c (free_fs): Do not call svn_fs_close_fs because it will toss pool fs is
allocated. The pool might be also used by Svn::Repos object.
r841261 | yoshiki | 2002-02-05 13:30:10 +0000 (Tue, 05 Feb 2002)
One more place to fix too early pool deallocation.
* fs.c (fs_close): Do not call svn_fs_close_fs because it will toss
the pool fs is allocated. The pool might be also used by Svn::Repos
object.
r841272 | yoshiki | 2002-02-06 11:27:51 +0000 (Wed, 06 Feb 2002)
Fix bad interaction of pool destruction in Svn::Repos and Svn::Fs objects.
* fs.c (svn_ruby_fs_new): Fix documentation.
* repos.c (repos_free): Do not call svn_repos_close. This blows away repos->fs.
When there's any Svn::Fs objects created by Svn::Repos#fs are left and
Svn::Fs methods are called, it will segfault. Just rely on pool clean up
functions to do the right thing.
(repos_create): Add reference count to the pool repos is allocated.
(repos_close): Remove call to svn_repos_close.
r841334 | yoshiki | 2002-02-13 07:13:30 +0000 (Wed, 13 Feb 2002)
Try to close Fs and Repos object as early as possible.
* fs.c (close_fs): New function to handle reference count.
(fs_free): Call close_fs.
(fs_close): Call close_fs.
* repos.c (close_repos): New function to handle reference count.
(repos_free): Call close_repos.
(repos_close): Call close_repos.
r841335 | yoshiki | 2002-02-13 07:16:56 +0000 (Wed, 13 Feb 2002)
* txdelta.c (send_stream): New function.
(svn_ruby_init_txdelta): Add Svn::TextDelta#sendStream.
* wc.c (wc_statuses): Add new parameter strict.
(svn_ruby_init_wc): Add Svn::WcEntry::ATTR_COPYFROM_URL and
Svn::WcEntry::ATTR_COPYFROM_REV. Adjust number of argument of
Svn::WcStatus.statuses.
r841336 | yoshiki | 2002-02-13 07:31:42 +0000 (Wed, 13 Feb 2002)
* fs_node.c (dir_delta): Add new arg use_copyfrom_args.
(svn_ruby_init_fs_node): Adjust argument.