mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-21 01:09:59 +00:00
0b199ebe03
* diff2.h (point::point): New copy constructor. (point::{operator+=, operator=}): Use point::set. (point::{operator--, operator++,}): New operators. (d_path_vec::{a_size_, b_size_}): New members. (d_path_vec::max_d_): Remove this member. (d_path_vec::max_d): Compute this, now that max_d_ was removed. (point_is_valid_in_graph): Declare this new function. (end_of_fr_d_path_in_k, ): Return a bool when the end of furthest reaching past found is within the bounds of the edit graph. Add comments. (end_of_frr_d_path_in_k_plus_delta): Likewise. Also, delta can be negative; support that. Do not cross the boundaries of the edit graph when following a diagonal edge. (find_last_snake_in_path): New function. (compute_middle_snake): Make forward/reverse d_path_vec be big enough to hold paths for M+N differences. Normally M+N/2 should be enough, but we were getting weird out of bound errors. Let's handle it this way for now. Do not require that we check for overlap only when we are on a diagonal edge. Once we detected an overlap, use the new find_last_snake_in_path to find the boundaries of the snake. (ses_len): Delta can be negative. (display_edit): Small minor English nit. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
.. | ||
abg-comparison.h | ||
abg-config.h | ||
abg-corpus.h | ||
abg-diff-utils.h | ||
abg-fwd.h | ||
abg-hash.h | ||
abg-ir.h | ||
abg-libxml-utils.h | ||
abg-libzip-utils.h | ||
abg-traverse.h | ||
abg-version.h.in | ||
abg-viz-common.h | ||
abg-viz-dot.h | ||
abg-viz-svg.h | ||
Makefile.am |