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