This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2.20.0 (stable):
* Documentation fixes (Daniel Elstner)
2.19.8 (unstable):
(2.19.4 to 2.19.8 were skipped)
* Added FILE_CREATE_REPLACE_DESTINATION enum value.
* Added Error::TOO_MANY_OPEN_FILES error code.
* Fix some compiler warnings about extra ;s.
(Murray Cumming)
2.19.3 (unstable):
* New API:
* BufferedInputStream: buffer_size property
* BufferedOutputStream: buffer_size, auto_grow properties
* DataInputStream: byte_order, newline_type properties
* DataOutputStream: byte_order property
* FilterInputStream: close_base_stream property, get/set_close_base_stream()
* FilterOutputStream: close_base_stream property, get/set_close_base_stream()
* UnixInputStream: fd and close_fd properties, get_fd(), get/set_close_fd()
* UnixOutputStream: fd and close_fd properties, get_fd(), get/set_close_fd()
* Make licenses consistent with eachother (library gpl vs. lesser gpl, etc)
(Deng Xiyue)
* Fixed some problems when building with exceptions disabled (Murray Cumming)
* Build fixes (Theppitak Karoonboonyanan)
2.19.2 (unstable):
* File: Added make_directory_with_parents() method overload with no parameter.
Bug #566003 (Philip Belemezov).
* NoteTree: Do not use a non-ASCII dash character in a comment, to
avoid the MSVC++ warning C4819 with Visual Studio 2008.
(Tao Wang) Bug #568072
* spawn_*() functions: Added alternative API for when
GLIBMM_EXCEPTIONS_ENABLED is not enabled. (Murray Cumming)
Bug #565487 (Jonathon Jongsma)
* uri_*() functions: Fix memory leak.
(Jonathan Jongsma) Bug #566845 (Jason Kasper)
* ustring: Add an overload which takes only a format string and no arguments
to be substituted. (Daniel Elstner) Bug #506394.
2.19.1 (unstable):
* Fix accidental ABI breakage in 2.19.0 caused by adding default handlers for
new Gio::Drive signals
2.19.0 (unstable):
* wrapped new glib 2.19.x API
* Gio::AppInfo: get_commandline(), can_delete(), do_delete(),
reset_type_associations(), launch_default_for_uri()
* Gio::Drive: new signals changed, disconnected, and eject_button
* Gio::Icon: create(std::string), to_string()(),
* Gio::Mount: guess_content_type_sync(), is_shadowed(), shadow(), unshadow()
* Gio::content_type_from_mine_type();
* Gio::DesktopAppInfo: create_from_keyfile()
* Gio::Emblem: new class
* Gio::EmblemedIcon: new class
* Gio::MemoryOutputStream: new class
* Bugs Fixed:
* 555743 - warning in glibmm
* 562716 - warning fixing cause more warnings.
* 396963 - Add Glib::signal_idle().connect_once()
* Thanks to contributions from Przemysław Grzegorczyk, Dave Foster, Hubert
Figuiere, and Jonathon Jongsma for changes in this release
2.18.1 (stable):
* Many windows build improvements
* Bugs fixed:
* 506410 - Call of overloaded Stringify is ambiguous
* 529496 - Gio::Error::HOST_NOT_FOUND clashes with a netdb.h #define
* 539891 - Can't use doxygen commands in *_override.xml
* 555576 - name clash in fileinfo.h with winbase.h from VS2005
* 556315 - Extra defs generation utility forgets to generate signals for inter...
* 556387 - FileEnumerator::next_file reference counting problems
* Thanks to contributions from Armin Burgmeier, Jonathon Jongsma, José
Alburquerque, Murray Cumming, and Szilárd Pfeiffer
* Bug 526831: G_OPTION_REMAINING no longer works with OptionEntry
* Bug 527687: ustring::erase(iterator) incorrect for non ascii character
* add API documentation for spawn_* functions
* fix possible memory leak in OptionEntr
2.14.2:
* Build: Hopefully fix the build on NetBSD-4.99.6/amd64.
Bug #386990. (was already in 2.12.7) (Murray Cumming)
* gmmproc: Added support for the new _CONFIGINCLUDE() macro.
(Armin Burgmeier)
* Glib::wrap(): Don't fail when wrapping an interface that
is implemented by an unrecognized type.
gmmproc-generated code now uses the new wrap_auto_interface(),
so newly-generated source code will require this latest glibmm
version.
* Increase version number check for glib.
Changes 2.14:
* New Regex class, allowing string searching with regular expressions.
* New KeyFile class.
* Main: Added SignalTimeout::connect_seconds().
* OptionContext: Added get/set_summary(), get/set_description(),
set_translation_domain() and set_translate_func().
* Added Glib::get_user_special_dir(), get_user_data_dir(),
get_user_config_dir(), and get_user_cache_dir().
* Improved documentation.
* Fix the build when properties are disabled.
Changes 2.12.9:
* Correctly ifdef-out initialization of deprecated classes.
* Build: Cope with newer m4 versions.
Changes 2.12.8:
* Glib::ObjectBase::is_derived_() is now public, though it is still only for
internal use. This allows us to do some optimization of default signal handlers and
vfuncs.
* Gtk::Main: Actually do cleanup in the constructor, to allow repeated use and
avoid theoretical memory leaks.
* Build: Hopefully fix the build on NetBSD-4.99.6/amd64.
Changes 2.12.6:
* Options: Don't overwrite default arguments. This change was lost in
March 2006, but now it is back.
* gmmproc improvements:
- gmmproc: Allow () in property and signal docuemntation.
- gmmproc: Do not try to remove a common prefix from the
C enam values, if there is no common prefix.
- enum.pl: Allow whitespace in front of an enum typedef.
- enum.pl: Fix an infinite loop.
* Glib::Value: When registering float parameters, use
G_MAXFLOAT as the minimum, instead of G_MINFLOAT.
Likewise for doubles.
* ObjectBase: Added connect_property_changed(),
as an alternative to use when the property proxies are not
available because GLIBMM_PROPERTIES_ENABLED is not defined.
* Documentation:
- Small ustring reference documentation improvement.
* Support optional ifdef parameters in the .hg macros,
to allow, for instance the --enable-atk=no option,
to disable the build and use of the atkmm API,
for use in embedded environments.
Changes 2.12.0:
* Added the --enable-api-default-signal-handlers option, for use in
embedded environments that have reduced resources. See configure --help
for the other subsets.
* Value: Added init(const GValue*), so we can copy GValue instances
of any type at runtime. Needed by the new branch of libgdamm.
Changes 2.11.3:
* Build: Added the --enable-api-default-signal-handlers option, for use in
embedded environments that have reduced resources. See configure --help
for the other subsets.
Changes 2.11.2:
* Date: Fix implementation of Glib::Date::set_time_current() so
that it doesn't set the date to Dec 31, 1969.
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
* gmmproc: Corrections to code generation, to prevent some methods from being empty.
This was a regression introduced by the addition of the --enable-api-* options.
* Added --enable-api-properties, --enable-api-vfuncs, and --enable-api-exceptions.
When using these, the API, and any API generated by gmmproc, will be
changed. This allows users of embedded platforms to reduce the code size of *mm
libraries and *mm-using applications, at the small cost of losing some rarely-used
API. Alternatives exist for that API, as show in the examples.
* Windows Build:
- Define GLIBMM_DLL when building with mingw32 or cygwin,
because it is needed by gtkmm.
* OptionGroup: Allow default values, by not initializing them all.
* Slight code size reduction by marking private functions as static.
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
* Windows Build:
- ustring.h: Tag npos with GLIBMM_API, in order to
dllexport it on win32. Bug 332438.
- Updated MSVC++ build files and README, for MS Visual Studio 2005.
* gmmproc code generator:
- WRAP_METHOD() Take an extra optional argument: deprecated depractiontext -
so that we can insert the appropriate doxygen tag in the documentation, where
the C documentation does not do it for us.
* filename_display_name(): Correct the declaration to fix
the linker error.
* Build: For reduced-resources devices, optionally allow deprecated
API to be left out of the library.
* Documentation:
- Show Since and Deprecated lists of API.
Changes 2.8.2:
* Solaris build fix: Correct the detection of make.
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
popular GUI library GTK+. Highlights include typesafe callbacks, widgets
extensible via inheritance and a comprehensive set of widget classes that
can be freely combined to quickly create complex user interfaces.