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