[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ChangeLog src/preproc/tbl/main.cpp
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff ChangeLog src/preproc/tbl/main.cpp |
Date: |
Sun, 11 Feb 2007 21:55:49 +0000 |
CVSROOT: /cvsroot/groff
Module name: groff
Changes by: Werner LEMBERG <wl> 07/02/11 21:55:49
Modified files:
. : ChangeLog
src/preproc/tbl: main.cpp
Log message:
improve ChangeLog entry
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1059&r2=1.1060
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/tbl/main.cpp?cvsroot=groff&r1=1.9&r2=1.10
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1059
retrieving revision 1.1060
diff -u -b -r1.1059 -r1.1060
--- ChangeLog 9 Feb 2007 22:03:18 -0000 1.1059
+++ ChangeLog 11 Feb 2007 21:55:49 -0000 1.1060
@@ -1,24 +1,36 @@
2007-02-09 Eric S. Raymond <address@hidden>
- * src/preproc/tbl/table.cpp, src/preproc/tbl/table.h: A try at the
- new rule for block column allocation is now enabled by the new
- "experimental" flag. It doesn't work right as yet; there appears
- to be some error in the computation of 3avail, the available line
- length. The purpose of this patch is (a) to make experimenting
- with other formulas easy, and (b) leave the infrastructure for
- flag 'experimental' in place for future experiments. Do not
- document any behavior associated with this flag!
-
- * src/preproc/tbl/table.cpp: New table::count_block_colums()
- method counts columns in the table that have T{ T} entries.
- Requires the new parent field in the table_entry class. Not
- yet used for anything.
-
- * src/preproc/tbl/table.cpp: Initializers for table_entry()
- and all its subclasses now receive a pointer to their parent
- table and use it to set a parent field in the instance. This
- changes no behavior in itself, because the parent field
- is not yet used for anything. But there are plans.
+ A try at the new rule for block column allocation is now enabled by
+ the new `experimental' global option: The horizontal space up to the
+ right margin which is not used by columns without text blocks is
+ evenly distributed to the columns with text blocks.
+
+ It doesn't work right as yet; there appears to be some error in the
+ computation of `3avail', the available line length. The purpose of
+ this patch is (a) to make experimenting with other formulas easy,
+ and (b) leave the infrastructure for flag `experimental' in place
+ for future experiments. Do not document any behavior associated
+ with this flag!
+
+ * src/preproc/tbl/table.h: Include `stdbool.h'.
+ (table): Make `flags' public.
+ Add `count_block_columns' function.
+ Add `blockflag' array.
+ Add `EXPERIMENTAL' enumeration value.
+
+ * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): New
+ macros.
+ (table_entry): New member `parent' so that class and subclass
+ members can set a parent field. Update all users.
+ (block_entry::do_divert): Handle `EXPERIMENTAL' flag.
+ (block_entry::do_width): Set the parent's `blockflag'.
+ (table::allocate): Handle `blockflag'.
+ (table::count_block_columns): New function.
+ (compute_span_width): Adjust AVAILABLE_REG.
+ (table::compute_widths): Handle COLCOUNT_REG and AVAILABLE_REG.
+
+ * src/preproc/tbl/main.cpp (process_options): Handle `experimental'
+ option.
2007-02-08 Zhao, Yu (William) <address@hidden>
Index: src/preproc/tbl/main.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/tbl/main.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- src/preproc/tbl/main.cpp 9 Feb 2007 22:03:19 -0000 1.9
+++ src/preproc/tbl/main.cpp 11 Feb 2007 21:55:49 -0000 1.10
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003, 2004, 2005
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003, 2004, 2005,
+ 2007
Free Software Foundation, Inc.
Written by James Clark (address@hidden)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ChangeLog src/preproc/tbl/main.cpp,
Werner LEMBERG <=