[docs] Updated NEWS.xml
[adg.git] / docs / gnu / NEWS.xml
blob7645065b537af6dab336039cc3d1ed534fe5c2f6
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.4">
10 <title>ADG 0.5.4</title>
12 <para>AdgTable now provides a generic tabular entity customizable with
13 AdgTableStyle. It supports unlimited rows with independent cells.</para>
15 <para>Some new special entities, such as AdgLogo (the official ADG logo)
16 and AdgProjection (showing the drawing projection scheme) have
17 been implemented.</para>
19 <para>A bare title block entity, AdgTitleBlock, is now available: it is
20 allowed to set its cells content either by using string values or
21 custom entities.</para>
23 <para>AdgAlignment is a new container entity that allows to traslate its
24 children of a custom factor of the children boundary box: any
25 entity can now be right aligned or centered.</para>
27 </simplesect>
29 <simplesect id="NEWS.0.5.3">
30 <title>ADG 0.5.3</title>
32 <para>AdgRDim, a new entity to quote radial dimensions, is now available.</para>
34 <para>A bunch of new classes to manage hatches have been implemented.
35 Specifically, AdgHatch is the entity to be added to the canvas,
36 AdgFillStyle a generic abstract class that wraps cairo_pattern_t
37 and AdgRuledFill the AdgFillStyle implementation to fill an hatch
38 with a serie of parallel lines with custom spacing and angle.</para>
40 <para>The AdgModel now supports named pairs, that is any coordinates
41 can be set explicitely (as before) or as a reference to a pair
42 set by the model. The AdgPoint helper class is the object used
43 to manage this relationship. The API of dimension entities has
44 been updated to accept AdgPoint instead of plain AdgPair.</para>
46 </simplesect>
48 <simplesect id="NEWS.0.5.2">
49 <title>ADG 0.5.2</title>
51 <para>AdgADim, a new entity to quote angular dimensions, is implemented.</para>
53 <para>The linear dimensions now accept the "outside" property to reflect
54 the arrows around the extension lines. The default value of this
55 property is ADG_THREE_STATE_UNKNOWN, meaning it will be computed at
56 runtime, depending on quote size and available space.</para>
58 <para>The new AdgEdges model can now be used to programmatically build a
59 serie of vertical lines expressing the edges of another model. This
60 can be used on symmetrical shapes, often met in turned parts.</para>
62 <para>The entities now actively respond to extents requests: it is possible
63 to know the necessary space before rendering them. Any matrix change
64 now emits specific signals to fulfill this requirement.</para>
66 </simplesect>
68 <simplesect id="NEWS.0.5.1">
69 <title>ADG 0.5.1</title>
71 <para>The new AdgMarker abstract class has been added to provide a common
72 ancestor to marker entities. AdgArrow (a filled arrow) is its first
73 renderable implementation.</para>
75 <para>The rendering customization is now provided by AdgDress, an index that
76 virtualizes the underlying AdgStyle and derived instances. This allows
77 some advanced operation, such as overriding a style in a specific branch
78 of the entity hierarchy. The deprecated AdgContext class has been removed.</para>
80 <para>The AdgPath class has been splitted in AdgTrail and AdgPath. The former
81 provides low level access to CpmlPath, allowing the implementation of
82 paths that do not fit in the global/local model. AdgLDim internally
83 uses a private AdgTrail to implement base and extension lines rendering.</para>
85 </simplesect>
87 <simplesect id="NEWS.0.5.0">
88 <title>ADG 0.5.0</title>
90 <para>The old paper-model matrix approach has been superseded by a cleaner and
91 smarter approach based on global/local maps. This resulted in a great
92 code complexity reduction: check out the home page for further details.</para>
94 <para>Parent-child relationship is no more tied to AdgContainer: dependencies
95 between AdgEntities can now be expressed without a full-fledged container.</para>
97 <para>AdgDim now uses internally four AdgToyText entities to render the quote.
98 This has been made possible by the new parent-child APIs, simplyfing the
99 rendering code a lot.</para>
101 <para>A bunch of classes, most notably AdgRotable, AdgTranslatable and AdgPoint,
102 have been superseded by the new global/local map approach and have been
103 removed from the project.</para>
105 </simplesect>
107 <simplesect id="NEWS.0.4.3">
108 <title>ADG 0.4.3</title>
110 <para>Higher level operators, such as chamfer and fillet, can now be used
111 in the path definition. They do not work yet for Bézier curves but
112 the infrastructure is in place.</para>
114 <para>A Gtk+ widget for easily showing the canvas has been implemented. It
115 is based on GtkDrawingArea and provides some interaction throught the
116 mouse, such as zooming and panning. It is not viable for serious work
117 but it is funny to use and opened to improvements.</para>
119 <para>The CPML library has been enriched with the missing functions
120 needed by the above new features. Now it has a ..._length() and
121 ..._near_pos() families of functions. The mathematic behind this
122 library is far from complete: the overall design is quite stable
123 but there are a lot of placeholders, especially when curves were
124 involved.</para>
126 </simplesect>
128 <simplesect id="NEWS.0.4.2">
129 <title>ADG 0.4.2</title>
131 <para>The work on model-view separation has been started: the AdgModel
132 abstract class is now in place. Above this class, the new AdgPath
133 model is derived, providing a full set of APIs to construct paths
134 from scratch. Also, AdgPath gives full access the model throught
135 CPML, allowing to modify and manipulate the path data.</para> 
137 <para>The CPML library now natively supports arcs. Although cairo does
138 not recognize arcs, a lot of work has been done to hide the
139 complexity needed to provide an API that does the necessary
140 trasformations transparently.</para>
142 <para>The old AdgPath entity has been rewrote to AdgStroke. This is a
143 stroked view of an AdgPath model. Its implementation is trivial
144 as all the path complexity has moved to AdgPath.</para>
146 </simplesect>
148 <simplesect id="NEWS.0.4.1">
149 <title>ADG 0.4.1</title>
151 <para>The CPML library has been boosted with additional APIs to browse
152 segments/primitives and to compute intersections between different
153 constructs. Now it has its own demo program (cpml-demo), showing
154 some of the implemented feature. Although some function is still
155 a stub, the overall infrastructure is likely to be definitive.</para>
157 <para>All the CPML APIs are now properly documented.</para>
159 <para>The ldim demo has been merged into the more complex adg-demo.
160 Now the demo programs use the GtkBuilder feature, so the Gtk+
161 dependency has been raised to 2.12.</para>
163 </simplesect>
165 <simplesect id="NEWS.0.4.0">
166 <title>ADG 0.4.0</title>
168 <para>The useless wrappers in AdgPath have been removed: now the standard
169 cairo path API could be used in the path constructor callback.</para>
171 <para>AdgPoint has been added. This new core struct can be used to represent
172 a coordinate system with different model and space component.</para>
174 <para>The new AdgToyText entity can be used to show arbitrary text using the
175 cairo "toy" text API.</para>
177 <para>Two interfaces, AdgTranslatable and AdgRotable, have been implemented
178 to allow arbitrary positioning (using the new AdgPoint struct) and
179 rotation of entities where this is applicable (e.g. AdgToyText).</para>
181 <para>The CPML API has been almost rewrote from scratch: removed a lot of
182 duplicated stuff, dropped CpmlPath (by using the original cairo_path_t)
183 and implemented new functions, such as segment browsing (always in
184 forward direction), reversing and transformation.</para>
186 <para>README, NEWS, TODO and ChangeLog are now automatically generated, so
187 redundancy is removed and the maintainability improved. The originals
188 are kept in docbook format, allowing to use them also in html version.</para>
190 <para>The adg-demo program now allows to save the sample drawing in png, pdf
191 and postscript. Two useless toy text entities has been added.</para>
193 </simplesect>
195 <simplesect id="NEWS.0.3.2">
196 <title>ADG 0.3.2</title>
198 <para>The dependency on libgcontainer has been dropped: now the adg canvas
199 requires only cairo and Gtk+2 (will be optional). This allows to try
200 the demo program (demo/adg-demo) on any decent GNU/Linux distribution
201 without installing anything.</para>
203 <para>The container logic has been included in AdgEntity (the GChildable
204 portion) and AdgContainer (the GContainerable part).</para>
206 </simplesect>
208 <simplesect id="NEWS.0.3.1">
209 <title>ADG 0.3.1</title>
211 <para>Implemented the "invalidate" signal to force the cache recomputation
212 on a new rendering operation.</para>
214 <para>The new cairo "toy" API has been used to do text management in AdgDim.
215 This allows caching of the intermediate glyphs for improved
216 performances (no profiling yet done). The cairo dependency has been
217 raised to version 0.7.4 or more.</para>
219 <para>The AdgLDim entity has been rewritten to full implement the new cache
220 design. Other entities have been improved to allow a paper matrix
221 other than the default identity matrix.</para>
223 </simplesect>
225 <simplesect id="NEWS.0.3.0">
226 <title>ADG 0.3.0</title>
228 <para>Reworked styles and implemented AdgContext, a clean and well defined
229 approach to manage rendering customization.</para>
231 <para>Moved all the geometrical stuff in Cairo Path Manipulation Library
232 (CPML), an internal library depending only on cairo.</para>
233   
234 <para>Greatly improved documentation.</para>
236 </simplesect>
238 <simplesect id="NEWS.0.2.2">
239 <title>ADG 0.2.2</title>
241 <para>Strongly separated model and paper matrix concepts and updated their
242 management using nested transformations.</para>
244 <para>Reworked the rendering process in a cleaner way by propagating the
245 "render" signal and using internal entity states to let the application
246 know what changed from the previous rendering.</para>
248 </simplesect>
250 <simplesect id="NEWS.0.2.1">
251 <title>ADG 0.2.1</title>
253 <para>Reworked the sources tree in a cleaner way (to help future development)
254 and used private structs instead of populating the instance structure.</para>
256 </simplesect>
258 <simplesect id="NEWS.0.2.0">
259 <title>ADG 0.2.0</title>
261 <para>This is the first public release of the ADG library. It is in a early
262 stage of developement, but the goal is quite ambitious!</para>
264 </simplesect>
266 </chapter>