| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This prepares the build to export symbols using compiler directives, in
our bid to drop gendef.exe. We will also mark pre-declarations of usage
of glibmm class items with GLIBMM_API as well.
|
|
|
|
| |
Bug 786824
|
|
|
|
|
|
|
| |
* gio/giomm/*.[h|cc]:
* gio/src/*.[hg|ccg]:
* glib/glibmm/*.[h|cc]:
* glib/src/*.[hg|ccg]: Strip trailing whitespace. Bug #681072.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/base.m4: Include <glibmm/ustring.h> and <sigc++/sigc++.h>
by default in header files of generated files in modules other than
glibmm. This should make compilation faster for those modules.
* gio/src/*.{h,cc}g:
* gio/giomm/slot_async.cc: Adjust includes according to the above
change.
Bug #662597
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/giomm.h:
* gio/src/dbus*.[hg|ccg]
* gio/src/error.hg: Rename all DBus* classes to remove the prefix, putting
them in a Gio::DBus namespace.
This required the use of the new _GMMPROC_EXTRA_NAMESPACE macro, to avoid
generating a confused wrap_init.cc.
Along the way, I removed unnecessary class predeclarations, instead including
the relevant header, because that is more convenient for users of the API.
* gio/src/dbuserror.[hg|ccg]: Renamed to dbuserrorutils.[hg|ccg] and
renamed the Error namespace to ErrorUtils, to avoid a clash with the
Gio::DBus::Error exception.
* gio/src/filelist.am:
* tools/m4/convert_gio.m4: Changed some conversions.
* examples/dbus/busserver.cc:
* examples/dbus/peer.cc:
* examples/dbus/userbus.cc: Adapted.
This is generally more organized. A prefix, instead of a namespace, looked
generally wrong to C++ coders.
|
|
* tools/m4/class_shared.m4:
* tools/generate_wrap_init.pl.in: Add a _GMMPROC_EXTRA_NAMESPACE(thenamespace)
macro, so that wrap_init.cc will have the correct pre-declarations of the
wrap_new() and get_type() functions.
I am suprised that we have no other way to do this already, but I cannot
find one, and this hack works.
For instance, this lets use put some classes in a Gio::DBus namespace.
|