Recent Releases

0.9.003 Jan 2017 08:05 minor feature: Doc: correct typo in NEWS. Build: share dist flags. Build: initial import of build/build-win 32,64 . Build: rename USRDIR to HOSTPRE. Build: include Lua support in the NSIS installer. Cpml: cast to int in primitive to avoid clang warning. Build: enable GTK+2 and GTK+3 build testing in TravisCI. Build: GTK+3 is called libgtk-3-dev in TravisCI. Build: use INTROSPECTION_ GIRDIR,TYPELIBDIR . Build: make cairo-gobject requirement optional. Doc: introspection clean up. Adg: add DECIMALS property to AdgDimStyle. Adg: implement DECIMALS in AdgLDim. Tests: use adg_assert_isapprox where relevant. Demo: remove gtk_adjustment_value_changed(). Tests: update tracker URL. Tests: ref_sink before unref a GtkWidget. Tests: improve GTK+ testing for GTK+3. Build: move fallback code on its own. Adg: type of va_start last parameter. Adg: refactor AdgPath code for calculating primitive length. Adg: reduce complexity of REMAPPED macro in AdgPath. Tests: add new test on AdgPath.has_current_point. Adg: use GPtrArray in adg_path_append_valist. Tests: improve adg_path_reflect() testing. Tests: test also adg_model_set_named_pair_explicit(). Adg: set AdgDimStyle:decimals to 2 by default. Adg: 0 is a valid value for AdgDimStyle:decimals. Adg: default value initialization of AdgDimStyle:decimals. Adg: use AdgDimStyle:decimals in AdgADim. Adg: add AdgDimStyle:number-arguments property. Adg: implement adg_dim_style_format(). Adg: default AdgDimStyle values. Adg: add adg_dim_get_text() helper method. Tests: include adg_dim_set_limits(). Adg: use adg_dim_get_text() where relevant. Adg: new ADG_DRESS_DIMENSION_ANGULAR dress. Tests: include adg_rdim_new_full_from_model(). Tests: add required casting to test-adim. Adg: new ADG_DRESS_DIMENSION_RADIUS dress. Doc: add installation instructions to Adg: remove space between R and the quote in AdgRDim. Adg: new ADG_DRESS_DIMENSION_DIAMETER dress. Build: raise GLib dependency to 2.14.0. Adg: new adg_single_strchr() API. Adg: doc typo in AdgThreeState
0.8.008 Mar 2015 11:45 minor feature: The code shared by tests has been moved on an internal library (libadgtest) shared by both CPML and ADG. The test coverage is now checked by leveraging the Coveralls service provided by GitHub. The percentage has been raised from 53 to 94 . A fistful of bugs found while improving the test coverage has been corrected, most notably cpml_extents_is_inside(), cpml_segment_reverse() and some intersection algorithm. Children widgets now own weak references to parents, avoiding the circular dependency introduced by strong references. The overall sanity of the ADG library has been improved by adding additional checks where needed. The CPML library is not subject to those checks because by design it is not supposed to be sane.
0.7.624 Jan 2015 07:05 minor feature: Page margins and paddings are now managed consistently across the different surfaces and their behavior has been documented. The NSIS script for generating the Windows installers has been subject to many improvements: it can now optionally install ADG and CPML manuals (either in HTML and in PDF format) and the localization data (only italian for now). It should also handle the application icons properly. The adg_canvas_export() function can save a canvas to a file in one command. It needs a patched gobject-introspection though: see bug #743364. The localization infrastructure has been improved up to the point gettextize and intltool are no more required.
0.7.512 Jan 2015 11:29 cleanup: The algorithm to use for offsetting BΓ©zier curves is now selectable by calling the non-reentrant cpml_curve_offset_algorithm() function. A new offsetting algorithm (BAIOCA) has been implemented. It tries to minimize the error between the offset curve and the ideal offset point on evenly spaced t values. The source code has been revamped to minimize the warnings raised by new versions of gcc, gtk-doc and gobject-introspection. The internal sources have been refactored to handle GTK+2 and GTK+3 differences with the same codebase.