-
JodyGoldberg authored
2006-10-24 Jody Goldberg <jody@gnome.org> * src/func.c (gnm_func_group_fetch_with_translation) : warning suppression. 2006-10-24 Jody Goldberg <jody@gnome.org> * src/expr.c (relocate_cellref) : delete and take a different range based approach. (cellref_shift) : delete. (invalidate_sheet_cellrange) : split out from the old relocate_cellrange. (relocate_range) : new code to relocate a range (do not handle abs/rel here). If the entire range is enclosed then move it, otherwise extend any of the sides that are enclosed but do not allow inversion. eg relocating the bottom above the top. (reloc_normalize_cellref) : new code to map from abs/rel cellref to straight cellpos. Take into account the 'check_rels' flag for use with names that disables relocation of relative references (Not used yet). (reloc_restore_cellref) : reverse the process in reloc_normalize_cellref and do bounds checking. (relocate_cellrange) : rewrite, much simpler conceptually than the old code. Rather than handling abs/rel and in/out as part of the process always do the conversions then generate a result if something changed. This code also handles full col/row refs better. (gnm_expr_relocate) : merge the ignore_rel flag into a new wrapper 'RelocInfoInternal' (gnm_expr_top_relocate) : check 'from_inside' here rather than for every ref and use the new internal Reloc struct to pass the extra information. * src/ranges.c (range_make_full) : new.
114cdca4