Home | Back
2006-12-22  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgstyle.[ch]: removed the `tolerance_format' unused field from
the AdgDimStyle structure. Also, modified the ISO measure_format to be
the more appropriated `%-.7g'.
* demo/adg-demo.c: general code cleanup and added more dimensions.

2006-12-21  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgpair.[ch]: added AdgVector (alias to AdgPair) to improve API
understanding. Renamed some APIs. Implemented the long waited
adg_pair_intersection() and adg_pair_projection().
* adg/adgldim.c: implemented adg_ldim_set_pos() using the new pair
* demo/adg-demo.c: modified the quote instantiation with the new
syntax. It works quite well now!
* adg/adgpart.[ch]: moved to adg/adgmodel.[ch]
* adg/adgmodel.[ch]: renamed part to model. Hopefully, this is a
better global known name.
* docs/*: renamed part to model.

2006-12-18  Fontana Nicola  <ntd@users.sourceforge.net>
* adg/adgdim.c: after some attempts to use Pango, I implemented
_adg_dim_render_quote() protected method using the "toy" text API of
Cairo. This does not mean I do not intend to use Pango, but I'm
not ready to use it. Furthermore, I quickly need something to render
text to let the Adg library be usable.

2006-09-06  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgpair.[ch]: improved APIs consistency.

2006-09-05  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgdim.[ch]: terminated the double tolerance implementation.
Added the automatic measure calculation and the labelize_...
virtual methods.
* adg/adgldim.c: implemented AdgDim::labelize_measure.

2006-09-04  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgdimprivate.h: added private structure to AdgDim to cache the
quote text elements (label, tolerances and note).

2006-09-01  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgpair.[ch]: removed adg_pair_assign() as duplicate of
adg_pair_copy(). Replaced all its occurrences with the correct name.
* adg/adgdim.[ch]: modified tolerance type from dynamic string to
double: this will allow to offset the automatic measure for
asymmethrical tolerances. To be terminated ...

2006-08-31  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgprivate.h: merged in adgutil.h.
* adg/adgutil.h: improved STUB() and renamed in ADG_STUB(). Added some
debugging macros.
* adg/adgldim.[hc]: splitted update and render processes. Added a
quote rendering method, to be moved in AdgDim as general quote

2006-08-30  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgpoint.[ch]: renamed point to pair to better suite xy items
different from points (such as sizes, offsets and others). Added
public APIs: adg_pair_dup and adg_pair_copy.
* *: update with AdgPair instead AdgPoint.
* adg/adgutil.[ch]: added AdgMatrix as wrapper to cairo_matrix_t.
* adg/adgcontainer.[ch]: added stuff to manage the "matrix" and "ctm"
fields. "matrix" is the transformation apported by the AdgContainer,
while "ctm" is the current transformation matrix to use while
* adg/adgentity.[ch]: added the "ctm-changed" signal.
* adg/adgmatrix.[ch]: moved the AdgMatrix stuff from adgutil.[ch] to
its own place. Added public APIs: adg_matrix_dup, adg_matrix_copy and
* adg/adgentity.[ch]: implemented the GChildable interface instead of
derive AdgEntity from GChild. Added generic style management.
* adg/adgcanvas.[ch]: removed unused properties: "title", "scale",
"file". Added fallback style properties: "line_style", "font_style",
"arrow_style" and "dim_style".
* adg/adgpath.[ch]: added line_style field in AdgPath. Implemented
get_line_style and set_line_style.

2006-08-29  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgutil.[ch], adg/adgpoint.[ch]: added AdgPoint structure. Moved
geometrical stuff about points from adgutil to adgpoint.
* adg/adgdim.[ch]: implemented the dimension properties.
* adg/adgldim.[ch]: added AdgLDim, a base implementation of AdgDim to
draw linear dimension. To be improved ...
* adg/docs/*: added the new classes. Updated "Requirements".

2006-08-28  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/tests: moved to adg/demo.
* configure.ac, Makefile.am: updated.
* adg/adgstyle.[ch]: added arrow rendering function stubs.

2006-08-25  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/style.[ch]: added to AdgDimStyle some new fields to manage the
text layout.
* tests/adgdemo.[ch]: added in the dimension test the {from,to}_offset
management given by AdgDimStyle.

2006-08-24  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgutil.[ch]: added some geometrical stuff here.
* adg/adgdim.[ch]: added tolerance_up, tolerance_down and note fields
to AdgDim (with their _get _set functions). Filled all empty functions
with STUB().
* adg/Makefile.am: updated.
* docs/adg-{docs.xml,sections.txt}: added documentation hooks for
adgdim.[ch], adgstyle.[ch] and adgutil.[ch].

2006-08-23  Fontana Nicola  <ntd@users.sourceforge.net>

* configure.ac, Makefile.am: updated to make gettext happy.
* adg/adgprivate.h: added to manage some private macros (ex.: STUB()).
* adg/adgstyle.[ch]: added some style management stuff. Some functions
are stubs.
* adg/adgdim.[ch]: this is a stub AdgDim object as base class for all
dimension entities.
* tests/adgdemo.c: started to do some cairo text manipulations to be
ready to implement a simple linear dimension entity.

2006-08-22  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgdim.*: added stubs for common dimension management.
* adg/Makefile.am: updated.

2006-08-21  Fontana Nicola  <ntd@users.sourceforge.net>

* test: renamed to tests.

2006-07-05  gettextize  <bug-gnu-gettext@gnu.org>

* Makefile.am (ACLOCAL_AMFLAGS): New variable.
(EXTRA_DIST): Add config.rpath, mkinstalldirs, m4/ChangeLog.
* configure.ac (AC_CONFIG_FILES): Add po/Makefile.in.

2006-07-05  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgpath.*: implemented the cairo path manual construction using
a GArray structure.
* adg/adgview.*: removed (superseded by AdgCanvas).
* test/adg-demo.c: provide a primitive test to check if - now - all
can work without core dumps.
* *: added i18n stuff.
* adg/adgstyle.*: added a stub for style management.

2006-07-03  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgpath.*: defined adg_path* Cairo path wrapper functions.
Implemented all these functions but adg_path_arc() and

2006-07-02  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgentity.*: added "uptodate-set" signal. Removed the "rendered"
property: an AdgEntity will be ever rendered when requested.
* adg/adgcontainer: implemented the update, outdate and render virtual

2006-06-29  Fontana Nicola  <ntd@users.sourceforge.net>

* adg/adgentity.*: changed "uptodate" and "rendered" from properties
to AdgEntity flags.
* adg/Makefile.am: generate adg/adgtypebuiltins.* source files and
added to libadg (needed to register AdgEntityFlags).

2006-06-28  Fontana Nicola  <ntd@users.sourceforge.net>

* ChangeLog: started.
* adg/adgcontainer.[hc]: heavly modified to use libgcontainer as
container manager. Now AdgContainer simply implements the
GContainerable interface. libgcontainer can be downloaded from
* configure.ac: added stuff to link against gcontainer.
* adg/adgentity.*: remove container code and derived AdgEntity from
GChild base class of gcontainer.