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