[docs] Updated NEWS.xml
[adg.git] / docs / gnu / NEWS.xml
blobef1b387e90a4032cf1a9da771a26eaba0fcdda92
1 <?xml version="1.0"?>
2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3                          "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
5 <chapter id="NEWS">
6 <title>News archive</title>
7 <subtitle>Summary of changes between releases</subtitle>
9 <simplesect id="NEWS.0.5.5">
10 <title>ADG 0.5.5</title>
12 <para>The quote of linear dimensions can be freely positioned using the
13 AdgDim:pos property. By default, ADG keeps the quote inside the
14 extension lines if there is enough room, otherwise displaces it
15 to the "pos" coordinates.</para>
17 <para>A document describing how to contribute to the project has been
18 added. A general description of the API conventions used by is
19 also provided.</para>
21 <para>A lot of bug fixing and code clean up. A bug in the installation
22 has been solved and support for pkg-config has been added. This
23 will probably be the last release of the 0.5 branch.</para>
25 </simplesect>
27 <simplesect id="NEWS.0.5.4">
28 <title>ADG 0.5.4</title>
30 <para>AdgTable now provides a generic tabular entity customizable with
31 AdgTableStyle. It supports unlimited rows with independent cells.</para>
33 <para>Some new special entities, such as AdgLogo (the official ADG logo)
34 and AdgProjection (showing the drawing projection scheme) have
35 been implemented.</para>
37 <para>A bare title block entity, AdgTitleBlock, is now available: it is
38 allowed to set its cells content either by using string values or
39 custom entities.</para>
41 <para>AdgAlignment is a new container entity that allows to traslate its
42 children of a custom factor of the children boundary box: any
43 entity can now be right aligned or centered.</para>
45 </simplesect>
47 <simplesect id="NEWS.0.5.3">
48 <title>ADG 0.5.3</title>
50 <para>AdgRDim, a new entity to quote radial dimensions, is now available.</para>
52 <para>A bunch of new classes to manage hatches have been implemented.
53 Specifically, AdgHatch is the entity to be added to the canvas,
54 AdgFillStyle a generic abstract class that wraps cairo_pattern_t
55 and AdgRuledFill the AdgFillStyle implementation to fill an hatch
56 with a serie of parallel lines with custom spacing and angle.</para>
58 <para>The AdgModel now supports named pairs, that is any coordinates
59 can be set explicitely (as before) or as a reference to a pair
60 set by the model. The AdgPoint helper class is the object used
61 to manage this relationship. The API of dimension entities has
62 been updated to accept AdgPoint instead of plain AdgPair.</para>
64 </simplesect>
66 <simplesect id="NEWS.0.5.2">
67 <title>ADG 0.5.2</title>
69 <para>AdgADim, a new entity to quote angular dimensions, is implemented.</para>
71 <para>The linear dimensions now accept the "outside" property to reflect
72 the arrows around the extension lines. The default value of this
73 property is ADG_THREE_STATE_UNKNOWN, meaning it will be computed at
74 runtime, depending on quote size and available space.</para>
76 <para>The new AdgEdges model can now be used to programmatically build a
77 serie of vertical lines expressing the edges of another model. This
78 can be used on symmetrical shapes, often met in turned parts.</para>
80 <para>The entities now actively respond to extents requests: it is possible
81 to know the necessary space before rendering them. Any matrix change
82 now emits specific signals to fulfill this requirement.</para>
84 </simplesect>
86 <simplesect id="NEWS.0.5.1">
87 <title>ADG 0.5.1</title>
89 <para>The new AdgMarker abstract class has been added to provide a common
90 ancestor to marker entities. AdgArrow (a filled arrow) is its first
91 renderable implementation.</para>
93 <para>The rendering customization is now provided by AdgDress, an index that
94 virtualizes the underlying AdgStyle and derived instances. This allows
95 some advanced operation, such as overriding a style in a specific branch
96 of the entity hierarchy. The deprecated AdgContext class has been removed.</para>
98 <para>The AdgPath class has been splitted in AdgTrail and AdgPath. The former
99 provides low level access to CpmlPath, allowing the implementation of
100 paths that do not fit in the global/local model. AdgLDim internally
101 uses a private AdgTrail to implement base and extension lines rendering.</para>
103 </simplesect>
105 <simplesect id="NEWS.0.5.0">
106 <title>ADG 0.5.0</title>
108 <para>The old paper-model matrix approach has been superseded by a cleaner and
109 smarter approach based on global/local maps. This resulted in a great
110 code complexity reduction: check out the home page for further details.</para>
112 <para>Parent-child relationship is no more tied to AdgContainer: dependencies
113 between AdgEntities can now be expressed without a full-fledged container.</para>
115 <para>AdgDim now uses internally four AdgToyText entities to render the quote.
116 This has been made possible by the new parent-child APIs, simplyfing the
117 rendering code a lot.</para>
119 <para>A bunch of classes, most notably AdgRotable, AdgTranslatable and AdgPoint,
120 have been superseded by the new global/local map approach and have been
121 removed from the project.</para>
123 </simplesect>
125 <simplesect id="NEWS.0.4.3">
126 <title>ADG 0.4.3</title>
128 <para>Higher level operators, such as chamfer and fillet, can now be used
129 in the path definition. They do not work yet for Bézier curves but
130 the infrastructure is in place.</para>
132 <para>A Gtk+ widget for easily showing the canvas has been implemented. It
133 is based on GtkDrawingArea and provides some interaction throught the
134 mouse, such as zooming and panning. It is not viable for serious work
135 but it is funny to use and opened to improvements.</para>
137 <para>The CPML library has been enriched with the missing functions
138 needed by the above new features. Now it has a ..._length() and
139 ..._near_pos() families of functions. The mathematic behind this
140 library is far from complete: the overall design is quite stable
141 but there are a lot of placeholders, especially when curves were
142 involved.</para>
144 </simplesect>
146 <simplesect id="NEWS.0.4.2">
147 <title>ADG 0.4.2</title>
149 <para>The work on model-view separation has been started: the AdgModel
150 abstract class is now in place. Above this class, the new AdgPath
151 model is derived, providing a full set of APIs to construct paths
152 from scratch. Also, AdgPath gives full access the model throught
153 CPML, allowing to modify and manipulate the path data.</para> 
155 <para>The CPML library now natively supports arcs. Although cairo does
156 not recognize arcs, a lot of work has been done to hide the
157 complexity needed to provide an API that does the necessary
158 trasformations transparently.</para>
160 <para>The old AdgPath entity has been rewrote to AdgStroke. This is a
161 stroked view of an AdgPath model. Its implementation is trivial
162 as all the path complexity has moved to AdgPath.</para>
164 </simplesect>
166 <simplesect id="NEWS.0.4.1">
167 <title>ADG 0.4.1</title>
169 <para>The CPML library has been boosted with additional APIs to browse
170 segments/primitives and to compute intersections between different
171 constructs. Now it has its own demo program (cpml-demo), showing
172 some of the implemented feature. Although some function is still
173 a stub, the overall infrastructure is likely to be definitive.</para>
175 <para>All the CPML APIs are now properly documented.</para>
177 <para>The ldim demo has been merged into the more complex adg-demo.
178 Now the demo programs use the GtkBuilder feature, so the Gtk+
179 dependency has been raised to 2.12.</para>
181 </simplesect>
183 <simplesect id="NEWS.0.4.0">
184 <title>ADG 0.4.0</title>
186 <para>The useless wrappers in AdgPath have been removed: now the standard
187 cairo path API could be used in the path constructor callback.</para>
189 <para>AdgPoint has been added. This new core struct can be used to represent
190 a coordinate system with different model and space component.</para>
192 <para>The new AdgToyText entity can be used to show arbitrary text using the
193 cairo "toy" text API.</para>
195 <para>Two interfaces, AdgTranslatable and AdgRotable, have been implemented
196 to allow arbitrary positioning (using the new AdgPoint struct) and
197 rotation of entities where this is applicable (e.g. AdgToyText).</para>
199 <para>The CPML API has been almost rewrote from scratch: removed a lot of
200 duplicated stuff, dropped CpmlPath (by using the original cairo_path_t)
201 and implemented new functions, such as segment browsing (always in
202 forward direction), reversing and transformation.</para>
204 <para>README, NEWS, TODO and ChangeLog are now automatically generated, so
205 redundancy is removed and the maintainability improved. The originals
206 are kept in docbook format, allowing to use them also in html version.</para>
208 <para>The adg-demo program now allows to save the sample drawing in png, pdf
209 and postscript. Two useless toy text entities has been added.</para>
211 </simplesect>
213 <simplesect id="NEWS.0.3.2">
214 <title>ADG 0.3.2</title>
216 <para>The dependency on libgcontainer has been dropped: now the adg canvas
217 requires only cairo and Gtk+2 (will be optional). This allows to try
218 the demo program (demo/adg-demo) on any decent GNU/Linux distribution
219 without installing anything.</para>
221 <para>The container logic has been included in AdgEntity (the GChildable
222 portion) and AdgContainer (the GContainerable part).</para>
224 </simplesect>
226 <simplesect id="NEWS.0.3.1">
227 <title>ADG 0.3.1</title>
229 <para>Implemented the "invalidate" signal to force the cache recomputation
230 on a new rendering operation.</para>
232 <para>The new cairo "toy" API has been used to do text management in AdgDim.
233 This allows caching of the intermediate glyphs for improved
234 performances (no profiling yet done). The cairo dependency has been
235 raised to version 0.7.4 or more.</para>
237 <para>The AdgLDim entity has been rewritten to full implement the new cache
238 design. Other entities have been improved to allow a paper matrix
239 other than the default identity matrix.</para>
241 </simplesect>
243 <simplesect id="NEWS.0.3.0">
244 <title>ADG 0.3.0</title>
246 <para>Reworked styles and implemented AdgContext, a clean and well defined
247 approach to manage rendering customization.</para>
249 <para>Moved all the geometrical stuff in Cairo Path Manipulation Library
250 (CPML), an internal library depending only on cairo.</para>
251   
252 <para>Greatly improved documentation.</para>
254 </simplesect>
256 <simplesect id="NEWS.0.2.2">
257 <title>ADG 0.2.2</title>
259 <para>Strongly separated model and paper matrix concepts and updated their
260 management using nested transformations.</para>
262 <para>Reworked the rendering process in a cleaner way by propagating the
263 "render" signal and using internal entity states to let the application
264 know what changed from the previous rendering.</para>
266 </simplesect>
268 <simplesect id="NEWS.0.2.1">
269 <title>ADG 0.2.1</title>
271 <para>Reworked the sources tree in a cleaner way (to help future development)
272 and used private structs instead of populating the instance structure.</para>
274 </simplesect>
276 <simplesect id="NEWS.0.2.0">
277 <title>ADG 0.2.0</title>
279 <para>This is the first public release of the ADG library. It is in a early
280 stage of developement, but the goal is quite ambitious!</para>
282 </simplesect>
284 </chapter>