From: Robert Spalek Date: Mon, 3 Nov 2003 14:35:50 +0000 (+0000) Subject: - giant class flag moved from attributes to card-notes X-Git-Tag: holmes-import~1171 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=b60a70444280bb7ffde516aa2d3a5d1327e192cf;p=libucw.git - giant class flag moved from attributes to card-notes - merger only marks documents by giant flag and the penalization is done in chewer - added new weight attribute to cards: Wp means weight after penalization added penalization notes in the form .Pg-50 (giant class penalized by -50) - chewer.c: card_write_start() does NOT write struct card_attr and it needs to be done manually later - chewer.c: weight records are sorted chronologically, I like it more :-) --- diff --git a/lib/index.h b/lib/index.h index c997731e..a56d1e69 100644 --- a/lib/index.h +++ b/lib/index.h @@ -79,7 +79,6 @@ enum card_flag { CARD_FLAG_MERGED = 8, /* Destination of a merge [merger] */ CARD_FLAG_IMAGE = 16, /* Is an image object [scanner] */ CARD_FLAG_FRAMESET = 32, /* Contains a frameset to be ignored [scanner] */ - CARD_FLAG_GIANT_CLASS = 64, /* Belongs to a very large class, subject to penalties [merger] */ }; #define CARD_POS_SHIFT 5 /* Card positions are shifted this # of bits to the right */