Documentation update, including TODO cleanup
[deps.git] / NEWS
bloba0c67b52f9f975d2367c0022c3225db6cc8cd9cb
1 Version 0.13 - UNRELEASED
3  End-user-visible changes
5  * Added a node style to display the number of ingredient nodes and of
6    internal edges in a group (GroupStats), activated by default.
8  * Updated documentation.
10  Bugs fixed:
12  * The path-handling functions in the default project class were
13    confused by leading "./" in paths and failed to idendify some
14    dependencies.
16  * The root graph can now be included in arguments to
17    Transform::Consolidate, and "--consolidate 0-<N>" is now valid.
19  * The tulip renderer had been broken by an API change in 0.12.
21  * Ingredientable::ingredients() method now always returns a list,
22    even in scalar context when there is only one ingredient.
24  Changes for the plugin writer:
26  * New node style attributes "label" and "extralabel" for the dot
27    renderer.
29  * Added support for edge styling, and support for "label" attribute
30    in the dot renderer.  New WeightLabel edge styler to replace old
31    ad-hoc code.
33  * Class moves and renames: transforms, styles.
35 ==================================================
37 Version 0.12 - 2006-02-03
39  End-user-visible changes
41  * Start of a renaming of the whole toolkit to DEPS (Dependency
42    Extraction and Processing System), graph-includes being only the
43    current user frontend.
45  * Graphs of grouped nodes now only include the defined groups.  The
46    new --consolidate flag is now available to merge such graphs in a
47    manner such that nodes of a given group-level, not included in any
48    higher-level group, are shown as well.  As a side-effect, this flag
49    also controls the highest group-level of the nodes to be drawn, in
50    place of the --group flag.
52  * The --group flag to render groups as node clusters is not available
53    any more.  It will come back in a later release, under a more suitable
54    name.
56  * The documentation previously found in the README file is now
57    available in DocBook XML format, in the doc/ directory.
59  Bugs fixed:
61  * Fixed the uniqueincludes project class, which has been broken since
62    the 0.6 reorganization.
64  * Calculation of edge weights was wrong.
66  Changes for the class writer:
68  * A project is now made of a set of graphs, themselves connected as a
69    graph representing the transformations used to produce them from the
70    other graphs.  Most APIs changed consequently.
72  * Projects are now expected to provide a nlevels() method matching
73    the number of grouping levels defined, and the filelabel() methods
74    are now allowed to return undef when a node does not belong to any
75    group at the requested level.
77  * Arbitrary transformations and styles can now be defined, although
78    no facility is provided yet by the master graph-includes script to
79    apply them, short of editing the script.  Currently available
80    transformations are "compatgroup" (use the old filelabel() mechanism
81    to define grouping levels), "consolidate" (merge several group levels
82    in a single graph to show non-grouped nodes as well), and
83    "transitivereduction".  The only currently available styler allows to
84    apply style attributes (like colors) to a node according to the group
85    it belongs to at a given grouping level.
87  Under the hood:
89  * Objects now get their hash locked in the constructors, to catch
90    typos, unwanted modifications, and other errors likely to occur
91    during subsequent refactorings.
93  * Introduced graph, node, and edge objects (splitted out from
94    project, along with relevant methods).  A project now has a stack
95    of graphs.
97  * Many other changes, fixing some bugs, and introducing brand new ones.
99 ==================================================
101 Version 0.11 - 2005-12-06
103  End-user-visible changes
105  * Generalized support for node coloring, with renderer::dot
106    supporting 2 coloring levels (background and outline)
108  * Improved portability to non-UNIX platforms, was successfully run on
109    win32.
111  * The C extractor now looks in for system headers in /usr/include by
112    default.
114  * The Perl extractor uses the default @INC value to locate system
115    headers.
117  Changes for the class writer:
119  * Per-language extractors can now declare a default system-include
120    path.
122  Bugs fixed:
124  * The --color flag was broken.
126 ==================================================
128 Version 0.10 - 2005-11-29
130  End-user-visible changes
132  * Added a --renderer flag to select another renderer than dot.
134  * Added preliminary support to use tulip as renderer.
136 ==================================================
138 Version 0.9.2 - 2005-11-2
140  * Start of a "tutorial" or "how to use" section in the doc.
142  * Explicitely written down the plan for the upcoming redesign.
144 ==================================================
146 Version 0.9.1 - 2005-06-01
148  Bugs fixed:
150  * Fixed a typo preventing the recursive search to see .c and .h
151    files.
153 ==================================================
155 Version 0.9 - 2005-06-01
157  Bugs fixed:
159  * Now fails nicely when no dependencies are found for any reason.
161  Other end-user-visible changes
163  * Command-line and version are now logged in the report file.
165  * New --version flag.
167  * Can now be run from source dir with no effort.
169  * Exit with usage on command-line.
171  * Updated usage summary with recent options.
173 ==================================================
175 Version 0.8 - 2005-05-26
177  End-user-visible changes
179  * Directory arguments are now searched for files, allowing to handle
180    projects with a large number of files.
182  * New --fileregexp option to override the per-language regexp used to
183    look for files inside directories.
185  * More statistics are available in the report file.
187  Changes for the class writer:
189  * extractors' getdeps methods cannot rely any more on @ARGV
190    containing the files list, and must get it from the FILES instance
191    variable.
193 ==================================================
195 Version 0.7 - 2005-05-10
197  Bugs fixed:
199  * The '.graph-includes.report' suffix used when using --output did
200    not include the first dot.
202  Other end-user-visible changes
204  * Visible edges are now labelled with the number of real dependencies
205    they represent, so we have some visual feedback of transitive
206    reduction.
208  * Huge performance boost for the transitive reduction.
210  * When cycles are present, the specific reduction selected is usually
211    a different one than in 0.6.1 and below, as a side-effect of
212    implementation changes.
214  * More documentation has been written.
216  Changes for the class writer:
218  * project::record_missing_dep was split out of project::record_dep.
220  * Dependencies are now stored in a hash instead of an array.
222  * The "label" special_edge attribute is now an array of strings, to
223    be presented on several lines.
225 ==================================================
227 Version 0.6.1 - 2005-04-26
229  Bugs fixed:
231  * Fixed the distribution which misses the C and perl extractors.
233 ==================================================
235 Version 0.6 - 2005-04-24
237  Bugs fixed:
239  * A typo in the graphincludes::params package prevented the
240    parameters default values to be used.
242  Command-line changes:
244  * New --language flag to select syntax of source files.
246  * Preliminary support for extracting perl dependencies, using
247    "--language perl"
249  Changes for the class writer:
251  * C-specific behaviour is now located in new extractor::C class.
253  * Changed special_edge() return value to an hash of graphviz node
254    attribute/value pairs
256  * More methods were moved from project::default up to ancestor
257    classes.
259 ==================================================
261 Version 0.5 - 2005-04-20
263  Command-line changes:
265  * --Include is now recognized as long form for -I.
267  * New --sysInclude option to specify system directories.  Included
268    files not found in the project, but found in those directories are
269    not considered as "not found".
271  Other end-user-visible changes
273  * Removed inconditional duplicate warnings flooding the output.
275  * Verbose diagnostics are now output unconditionally into a
276    graph-includes.report (or <file>.graph-includes.report) file.
278  Changes for the class writer:
280  * The constructor for the project classes now uses named parameters,
281    instead of positional parameters.
282  * Global parameters were moved to a new graphincludes::params package.
284 ==================================================
286 Version 0.4 - 2005-04-17
288  Command-line changes:
290  * Implemented cpp-like "-I <dir>" syntax for #include lookup,
291    dropping the infamous former ad-hoc heuristic.
293  Other end-user-visible changes
295  * `#include "..."' are now analyzed using the standard cpp semantics,
296    and `#include <...>' line are now considered as well.
298  Under the hood
300  * Many code cleanups.
302 ==================================================
304 Version 0.3 - 2005-04-14
306  Bugs fixed:
308  * Fixed a bug in the ad-hoc #include resolver which caused some
309    dependencies to be ignored
311  Command-line changes:
313  * New --paper option to get a graph printable on paper (for now, only
314    a4, a3 and letter)
316  Other end-user-visible changes
318  * More documentation has been written.
320 ==================================================
322 Version 0.2 - 2005-04-01
324  Bugs fixed:
326  * --output would reject its argument.
328  * --focus and --showdropped caused invalid output.
330  Command-line changes:
332  * New --prefixstrip option to make the graph more readable by
333    stripping a common prefix from all filenames.
335  * Obsolete (pre 0.1 !) --allfiles option was completely dropped.
337  Other end-user-visible changes
339  * More documentation has been written.
341  * The default project-class (and the sample wesnoth class) now
342    provide default singleton level-2 groups (so "--group 2-2" should
343    work on all projects).
345  Changes for the class writer:
347  * The tool expect a project class to build its dependency graph in an
348    init() method, instead of in the constructor.
350  * The project class constructor now takes an additional prefixstrip
351    argument.  More changes to come in this area to cause such changes
352    to be less disruptive in the future.
354  * A project class can now specify excuses for abusive dependencies,
355    to be shown in as edges of a different color, and with the excuse
356    as a label.
358 ==================================================
360 Version 0.1 - 2005-03-28
362  Initial public release.