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