CVSUtils
view release on metacpan or search on metacpan
of this. (find_stack_newest() removed.)
- do_stack_append: check that the first frame appended is always a
tree-delta.
----------------------------
revision 1.14
date: 2000/08/22 04:04:35; author: kfogel; state: Exp; lines: +47 -47
Derive ancestry correctly:
(derive_ancestry): new function, walks up from bottom frame, looking
for ancestry information.
(do_stack_append): use it.
Plus, many changes for namespace protection:
(svn_delta__vcdiff_parser_t): replaces `svn_vcdiff_parser_t'.
(svn_delta__make_vcdiff_parser): replaces `svn_make_vcdiff_parser'.
(svn_delta__vcdiff_parse): replaces `svn_vcdiff_parse'.
(svn_delta__vcdiff_flush_buffer): replaces `svn_vcdiff_flush_buffer'.
(svn_delta__stackframe_t, some_random_symbol_for_testing_cvs2cl,
another_symbol_after_the_newline, and_another,
oh_my_goodness_will_it_never_stop, stop_too_many_symbols,
i_am_going_crazy_aiyeee): replaces `svn_delta_stackframe_t', and then I
tacked some more text onto the end of this entry so it would span multiple
lines
like so,
see?
(svn_delta__digger_t): replaces `svn_delta_digger_t'.
(svn_delta__pdelta_parser_t): replaces `svn_pdelta_parser_t'.
(svn_delta__make_pdelta_parser): replaces `svn_make_pdelta_parser'.
(svn_delta__pdelta_parse): replaces `svn_pdelta_parse'.
(svn_delta__reset_parser_subpool): replaces `svn_reset_parser_subpool'.
(svn_delta__XML_t): replaces `svn_XML_t', and therefore:
`svn_delta__XML_treedelta' replaces `svn_XML_treedelta'
`svn_delta__XML_new' replaces `svn_XML_new'
`svn_delta__XML_delete' replaces `svn_XML_delete'
`svn_delta__XML_replace' replaces `svn_XML_replace'
`svn_delta__XML_file' replaces `svn_XML_file'
`svn_delta__XML_dir' replaces `svn_XML_dir'
`svn_delta__XML_textdelta' replaces `svn_XML_textdelta'
`svn_delta__XML_propdelta' replaces `svn_XML_propdelta'
`svn_delta__XML_set' replaces `svn_XML_set'
----------------------------
revision 1.13
date: 2000/08/22 00:25:53; author: kfogel; state: Exp; lines: +3 -2
Changes to handle ancestor paths and versions correctly:
(svn_version_t): removed, use `svn_vernum_t' instead.
(svn_delta_stackframe_t): Added `ancestor_path' and `ancestor_version'
fields.
(xml_handle_start): look for "ancestor" and "ver" attributes, set them
in frame if present.
(do_stack_append): validate above new fields, then make them default
to parent's values.
(do_directory_callback): pass correct ancestry information to callbacks.
----------------------------
revision 1.12
date: 2000/08/21 22:15:58; author: sussman; state: Exp; lines: +59 -31
Property-delta stuff at least compiles correctly now. :)
----------------------------
revision 1.11
date: 2000/08/19 01:17:45; author: kfogel; state: Exp; lines: +1 -1
(svn_delta_digger_t): call it `pdelta_chunk_parser' instead of
`chunk_parser', just to keep things straight.
Pass the new handler_baton, a.k.a. consumer_baton, as appropriate.
----------------------------
revision 1.10
date: 2000/08/19 01:10:36; author: kfogel; state: Exp; lines: +24 -0
Moved `svn_pdelta_chunk_parser_t' from public to internal.
(svn_delta_walker_t): add `handler_baton' argument to
finish_propdelta, finish_textdelta.
----------------------------
revision 1.9
date: 2000/08/19 01:03:47; author: kfogel; state: Exp; lines: +21 -0
Move `svn_vcdiff_parser_t' from public to internal.
----------------------------
revision 1.8
date: 2000/08/18 22:37:21; author: kfogel; state: Exp; lines: +6 -0
Use new delta walker interface.
(Fix a few minor things in the delta library, too: missing prototype
and missing return value. Everything compiles now.)
----------------------------
revision 1.7
date: 2000/08/18 22:30:31; author: sussman; state: Exp; lines: +3 -0
We made a interface change in svn_walk_t, which then required much
hacking on libsvn_delta. deltaparse-test now works correctly again.
We're now ready to start filling out prop_parse.c!
----------------------------
revision 1.6
date: 2000/08/18 00:49:54; author: kfogel; state: Exp; lines: +4 -4
Making WC library use the new stuff in delta library:
`svn_text_delta_window_handler_t' replaces `svn_delta_handler_t',
because more specific. All uses changed.
(svn_delta_op_t): call field `action_code' instead of `op'. Having
two different things both called "op" was making my brain spin.
All uses changed.
(do_file_callback, do_directory_callback): parenthesize for precedence
clarity.
(svn_vcdiff_parse): increment buffer offset only if ate a byte.
(svn_vcdiff_send_window): check if callback func is null before
calling it.
(check_existence): include APR_READ flag when testing, because
apr_open() always returns APR_EACCES if you fail to request at least
one of reading or writing. Also, remove the file after testing.
* fixed prop-delta handling routine
* fixed prop-delta "delete" validation logic
Prop-deltas seem to work correctly now!
----------------------------
revision 1.55
date: 2000/08/22 04:04:35; author: kfogel; state: Exp; lines: +148 -125
Derive ancestry correctly:
(derive_ancestry): new function, walks up from bottom frame, looking
for ancestry information.
(do_stack_append): use it.
Plus, many changes for namespace protection:
(svn_delta__vcdiff_parser_t): replaces `svn_vcdiff_parser_t'.
(svn_delta__make_vcdiff_parser): replaces `svn_make_vcdiff_parser'.
(svn_delta__vcdiff_parse): replaces `svn_vcdiff_parse'.
(svn_delta__vcdiff_flush_buffer): replaces `svn_vcdiff_flush_buffer'.
(svn_delta__stackframe_t, some_random_symbol_for_testing_cvs2cl,
another_symbol_after_the_newline, and_another,
oh_my_goodness_will_it_never_stop, stop_too_many_symbols,
i_am_going_crazy_aiyeee): replaces `svn_delta_stackframe_t', and then I
tacked some more text onto the end of this entry so it would span multiple
lines
like so,
see?
(svn_delta__digger_t): replaces `svn_delta_digger_t'.
(svn_delta__pdelta_parser_t): replaces `svn_pdelta_parser_t'.
(svn_delta__make_pdelta_parser): replaces `svn_make_pdelta_parser'.
(svn_delta__pdelta_parse): replaces `svn_pdelta_parse'.
(svn_delta__reset_parser_subpool): replaces `svn_reset_parser_subpool'.
(svn_delta__XML_t): replaces `svn_XML_t', and therefore:
`svn_delta__XML_treedelta' replaces `svn_XML_treedelta'
`svn_delta__XML_new' replaces `svn_XML_new'
`svn_delta__XML_delete' replaces `svn_XML_delete'
`svn_delta__XML_replace' replaces `svn_XML_replace'
`svn_delta__XML_file' replaces `svn_XML_file'
`svn_delta__XML_dir' replaces `svn_XML_dir'
`svn_delta__XML_textdelta' replaces `svn_XML_textdelta'
`svn_delta__XML_propdelta' replaces `svn_XML_propdelta'
`svn_delta__XML_set' replaces `svn_XML_set'
----------------------------
revision 1.54
date: 2000/08/22 00:25:53; author: kfogel; state: Exp; lines: +71 -31
Changes to handle ancestor paths and versions correctly:
(svn_version_t): removed, use `svn_vernum_t' instead.
(svn_delta_stackframe_t): Added `ancestor_path' and `ancestor_version'
fields.
(xml_handle_start): look for "ancestor" and "ver" attributes, set them
in frame if present.
(do_stack_append): validate above new fields, then make them default
to parent's values.
(do_directory_callback): pass correct ancestry information to callbacks.
----------------------------
revision 1.53
date: 2000/08/21 22:43:13; author: sussman; state: Exp; lines: +16 -4
save state
----------------------------
revision 1.52
date: 2000/08/21 22:15:59; author: sussman; state: Exp; lines: +212 -41
Property-delta stuff at least compiles correctly now. :)
----------------------------
revision 1.51
date: 2000/08/19 01:17:45; author: kfogel; state: Exp; lines: +18 -7
(svn_delta_digger_t): call it `pdelta_chunk_parser' instead of
`chunk_parser', just to keep things straight.
Pass the new handler_baton, a.k.a. consumer_baton, as appropriate.
----------------------------
revision 1.50
date: 2000/08/18 23:59:59; author: kfogel; state: Exp; lines: +43 -47
Don't drop those batons.
----------------------------
revision 1.49
date: 2000/08/18 22:42:45; author: kfogel; state: Exp; lines: +16 -16
Use `ancestor_path' and `ancestor_version', instead of `base_path' and
`base_version', because less likely to cause confusion.
----------------------------
revision 1.48
date: 2000/08/18 22:30:31; author: sussman; state: Exp; lines: +144 -35
We made a interface change in svn_walk_t, which then required much
hacking on libsvn_delta. deltaparse-test now works correctly again.
We're now ready to start filling out prop_parse.c!
----------------------------
revision 1.47
date: 2000/08/18 17:09:52; author: kfogel; state: Exp; lines: +2 -5
Added copyright info, load svn-dev.el.
This commit is also mainly to reproduce a problem with commitlogging.
----------------------------
revision 1.46
date: 2000/08/18 00:49:54; author: kfogel; state: Exp; lines: +7 -7
Making WC library use the new stuff in delta library:
`svn_text_delta_window_handler_t' replaces `svn_delta_handler_t',
because more specific. All uses changed.
(svn_delta_op_t): call field `action_code' instead of `op'. Having
two different things both called "op" was making my brain spin.
All uses changed.
(do_file_callback, do_directory_callback): parenthesize for precedence
clarity.
(svn_vcdiff_parse): increment buffer offset only if ate a byte.
(svn_vcdiff_send_window): check if callback func is null before
calling it.
(check_existence): include APR_READ flag when testing, because
apr_open() always returns APR_EACCES if you fail to request at least
(add_file, replace_file): store window_handler in *handler.
(checkout-test.c:main): be robuster.
(test_read_fn): interpret results of apr_full_read() correctly.
----------------------------
revision 1.45
date: 2000/08/17 22:45:15; author: sussman; state: Exp; lines: +5 -8
AHA... deltaparse-test actually WORKS. Time for a beer.
----------------------------
revision 1.44
date: 2000/08/17 19:18:16; author: sussman; state: Exp; lines: +2 -1
compiles now, typo.
----------------------------
revision 1.43
date: 2000/08/17 17:47:31; author: sussman; state: Exp; lines: +12 -1
Almost ready to start compiling deltaparse-test
----------------------------
revision 1.42
date: 2000/08/16 23:01:07; author: kfogel; state: Exp; lines: +1 -1
(svn_delta_read_fn_t): add pool argument. All callers changed.
(svn_vernum_t): new type. Callers who formerly used `long int' use
this now.
(svn_wc_apply_delta): correct arguments. Def and callers changed.
(svn_delta_parse): pass pool to reader function.
(test_read_fn): finished.
Tweaked #includes and Makefiles as appropriate, and defined skeleton
functions.
----------------------------
revision 1.41
date: 2000/08/16 21:38:31; author: kfogel; state: Exp; lines: +54 -43
You are in a maze of twisty compilation errors, each slightly
different.
----------------------------
revision 1.40
date: 2000/08/16 16:37:43; author: kfogel; state: Exp; lines: +35 -18
(get_attribute_value): completed. Never errors now, just returns the
value or NULL.
All callers changed.
----------------------------
revision 1.39
date: 2000/08/14 22:23:43; author: sussman; state: Exp; lines: +246 -52
delta_parse.c is basically finished for now; ready to start fleshing out dummy vcdiff parser stuff.
----------------------------
revision 1.38
date: 2000/08/14 19:04:16; author: sussman; state: Exp; lines: +4 -4
Moved private stuff from public header to private header.
----------------------------
revision 1.37
date: 2000/08/14 17:58:53; author: sussman; state: Exp; lines: +145 -12
Merged jimb's walker structure into svn_delta.h, jimb's own header is
not (any longer) relevant. :)
Busy filling out parser's routines to call various svn_walker_t callbacks.
----------------------------
revision 1.36
date: 2000/08/11 20:57:03; author: sussman; state: Exp; lines: +146 -130
Entire interface rewritten, in process of flushing out specific events now.
----------------------------
revision 1.35
date: 2000/08/11 17:50:19; author: sussman; state: Exp; lines: +60 -198
Tweak validity check.
----------------------------
revision 1.34
date: 2000/08/11 16:37:36; author: sussman; state: Exp; lines: +112 -89
Split telescope_delta_stack() into two routines, for better clarity.
They have different validity-checking logic, and different execution
logic.
----------------------------
revision 1.33
date: 2000/08/11 01:07:28; author: sussman; state: Exp; lines: +83 -75
Saving work... in the middle of huge rewrite, a big mess.
I'm doing this because of repeated power outages here at home.
(I need to buy a UPS *now*)
----------------------------
revision 1.32
date: 2000/08/10 22:01:37; author: sussman; state: Exp; lines: +95 -62
Still rewriting parser.
----------------------------
revision 1.31
date: 2000/08/10 21:10:22; author: sussman; state: Exp; lines: +9 -1
New error-returning strategy:
If we encounter a validation error while inside an expat callback,
1. store the error in our digger structure
2. immediately set all of the expat callbacks to NULL
Item #2 causes XML_Parse() to finish its chunk rather quickly, whereby
our main parser loop then notices the existence of #1 and returns.
----------------------------
revision 1.30
date: 2000/08/10 21:03:47; author: sussman; state: Exp; lines: +107 -17
In process of rewriting parser machinery.
----------------------------
revision 1.29
date: 2000/08/09 04:34:44; author: sussman; state: Exp; lines: +35 -12
temporarily report malformed XML errors
----------------------------
revision 1.28
date: 2000/08/09 00:24:28; author: sussman; state: Exp; lines: +1 -0
Duh, don't forget to set previous ptr after appending stackframe.
----------------------------
revision 1.27
date: 2000/08/08 23:10:36; author: kfogel; state: Exp; lines: +67 -63
The usual strcmp() mishap.
----------------------------
revision 1.26
date: 2000/08/08 21:57:31; author: kfogel; state: Exp; lines: +6 -6
Fix allocation size buglets.
----------------------------
revision 1.25
date: 2000/08/08 19:29:29; author: kfogel; state: Exp; lines: +1 -1
Recurse, or, as Noah Friedman likes to say, "recur".
----------------------------
revision 1.24
date: 2000/08/08 18:41:21; author: kfogel; state: Exp; lines: +9 -16
Allow null callbacks.
----------------------------
revision 1.23
date: 2000/08/08 17:34:03; author: sussman; state: Exp; lines: +44 -43
Delta library compiles now.
----------------------------
revision 1.22
date: 2000/08/08 16:33:01; author: sussman; state: Exp; lines: +23 -34
Make all routines static, except for one public interface:
svn_delta_make_xml_parser()
----------------------------
revision 1.21
date: 2000/08/08 00:30:50; author: sussman; state: Exp; lines: +106 -14
Added type-checking to frame append/unpend.
----------------------------
revision 1.20
date: 2000/08/07 23:35:57; author: kfogel; state: Exp; lines: +1 -28
(svn_walk_delta): gone. No need for a generic delta walker -- it's so
simple, it'll be clearer to write out the logic each time and avoid an
awkward callback mechanism.
----------------------------
revision 1.19
date: 2000/08/07 22:44:11; author: sussman; state: Exp; lines: +43 -56
Finished stackframe rewrite... much cleaner.
----------------------------
revision 1.18
date: 2000/08/07 22:04:13; author: sussman; state: Exp; lines: +88 -312
in process of rewriting w/ stack frames
----------------------------
revision 1.17
date: 2000/08/05 23:35:11; author: sussman; state: Exp; lines: +28 -9
Filled in some constructors.
----------------------------
revision 1.16
date: 2000/08/05 23:19:03; author: sussman; state: Exp; lines: +122 -108
Finished 2nd draft (big rewrite) of:
svn_find_delta_bottom()
svn_starpend_delta()
svn_xml_handle_start()
svn_xml_handle_end()
----------------------------
revision 1.15
date: 2000/08/05 22:56:01; author: kfogel; state: Exp; lines: +11 -0
Codus Interruptus, saving state:
Implementing svn_walk_delta() before implementing delta_to_path()
before implementing update_dir_handler().
Someone remind me to read this log entry to figure what to do next.
(svn_walk_delta): in progress.
(update_dir_handler): waiting on above and delta_to_path().
----------------------------
revision 1.14
date: 2000/08/05 22:40:58; author: sussman; state: Exp; lines: +24 -32
Factorization in progress.
----------------------------
( run in 1.420 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )