3 2005-03-07 Murray Cumming <murrayc@murrayc.com>
5 * glib/glibmm/interface.cc: Disable the new check for pre-existing
6 interface implementations, because it checks all base gtypes and
7 not just the current gtype. Bug #169442 by Bryan Forbes.
13 2005-02-18 Murray Cumming <murrayc@murrayc.com>
15 * glib/glibmm/interface.cc: Interface_Class:add_interface(), used by
16 add_interface() methods of Interfaces: Do not add interfaces that
17 have been added before, to avoid the warning from glib. This
18 allows application code to be simpler.
20 2005-02-18 Murray Cumming <murrayc@murrayc.com>
22 * tools/pm/Output.pm: Add the documentation to the const property()
23 accessor as well as the non-const one.
25 2005-02-13 Murray Cumming <murrayc@murrayc.com>
27 * tools/extra_defs_gen/generate_extra_defs.cc: Use
28 g_param_spec_get_blurb() to output the documentation for the
29 properties in the .defs file.
30 * tools/m4/property.m4: Take an extra docs argument, and put it in the
32 * tools/pm/Output.pm: Add the extra docs argument when calling the
34 * tools/pm/Property.pm: Read in the new docs part of the .defs, and
35 add a period at the end if neccessary.
37 2005-02-01 Murray Cumming <murrayc@murrayc.com>
39 * examples/threadpool.cc, dispatcher.cc, dispatcher2.cc: Removed the
40 #ifdef for AIX, because sigc::bind now works on AIX.
42 2005-01-27 Cedric Gustin <cedric.gustin@swing.be>
44 * MSVC_Net2003/glibmm/glibmm.rc.in: Reverted to 2.4 for the
45 library version number.
49 2005-01-26 Cedric Gustin <cedric.gustin@swing.be>
51 * MSVC_Net2003/glibmm/glibmm.vcproj: Reverted to 2.4 for the
52 library version number.
54 2005-01-24 Cedric Gustin <cedric.gustin@swing.be>
56 * Makefile.am, configure.in: Added MSVC_Net2003 directory.
57 * config.h.in: Added mkfifo #define (for mingw32).
58 * glib/glibmmconfig.h.in: Added new #define's to MSVC section.
59 * examples/iochannel_stream/Makefile.am: Do not build on win32
60 with mingw32 (mkfifo not available).
61 * scripts/cxx_std.m4: Fixed typo in AC_DEFINE macros.
62 * build_shared/Makefile_build.am_fragment: Removed
63 $(sublib_name)_COMPILATION variable (is useless now on
64 cygwin/mingw as all symbols are dll exported).
65 * MSVC_Net2003/*: Initial commit imported from glibmm-2-4 branch.
66 * MSVC_Net2003/glibmm/Makefile.am: Rewrote rule for local copy of
67 glibmmconfig.h (required for 'make distcheck').
69 2005-01-21 Murray Cumming <murrayc@murrayc.com>
71 * configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added new
72 compiler tests to see whether extern "C" functions are put in the
73 global namespace, even when we use extern "C" inside a namespace
74 declaration. The AIX xlC compiler does this, but allows us to
75 redeclare the namespace inside the extern "C" block.
76 * glib/glibmm/property.h: Use the new
77 #ifdef GLIBMM_MUST_REDECLARE_NAMESPACES_INSIDE_EXTERNC and redeclare
78 the namespace when necessary.
79 * examples/thread/dispatcher.cc, dispatcher2.cc: Use sigc::bind<1>
80 instead of just sigc::bind<> because the AIX xlC compiler needs the
81 extra hint. However, the linker then fails, so the use of sigc::bind
82 is ifdefed out for _AIX. See the comments in the code.
84 2005-01-21 Murray Cumming <murrayc@murrayc.com>
86 * configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added new
88 1. To see whether it allows use of non extern C functions
89 as extern C callbacks, because the Tru64 compiler does not
90 allow this, when using strict_ansi. We do not actually use this yet.
91 2. To see whether it allows us to define a template that uses an
92 undefined type, even if we do not use it before defining the type.
93 Tru64 does not allow this. That's probably correct.
94 * glib/glibmm/container.h: #ifdef out a dynamic_cast that Tru64
95 does not allow, and which I can not think of a better place to put.
96 See the comment in the code.
97 * glib/glibmm/containerhandler_helpers.h: When the compiler does not
98 alllow the GObject and GtkObject (dynamic_cast of) specializations
99 here, then put them in glib/glibmm/object.h and
100 gtkmm/gtk/src/object.hg instead.- needed by Tru64 compiler.
101 * glib/glibmm/value.h, value_custom.[h|cc]: Conditionally moved
102 the RefPtr Value specialization into object.h, as above.
103 * glib/src/ optiongroup.ccg, spawn.ccg, thread.ccg: Make C callacks
105 * glib/src/optiongroup.ccg: Do not use the StringArrayHandle,
106 because the Tru64 compiler has problems with it - see comments
108 * glib/src/optionentry.hg: Remove the include of value.h, because
109 it is not used and it causes a Tru64 compile error in
110 optioncontext.cc because its templates are included before the
111 types that the template uses.
113 2005-01-19 Murray Cumming <murrayc@murrayc.com>
115 * configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added a
116 compiler test, because the IRIX MipsPro compiler does not allow the
117 inline initialization of ustring::npos.
118 * glib/glibmm/ustring.[h|cc]: When the compiler does not support the
119 inline initialization of npos, initialize it in the .cc file.
120 Declare partial specializations of the SequenceString inner class
121 inside the class - needed by IRIX MipsPro compiler.
123 2005-01-18 Murray Cumming <murrayc@murrayc.com>
125 * glibmm/src/optiongroup.[hg|ccg]: CppOptionEntry::convert_c_to_cpp():
126 Copy the strings to the vector in a loop, instead of using the
127 ArrayHandle constructor, because that does not seem to work with the
132 2005-01-10 Murray Cumming <murrayc@murrayc.com>
134 * glibmm/src/optiongroup.[hg|ccg]: Added a castitem constructor
135 that always takes ownership, needed by Gtk::Main. Added the new
136 FLAG_REVERSE flag value. Added reference documentation.
140 2005-01-09 Murray Cumming <murrayc@murrayc.com>
142 * glib/glibmm/misc_utils.[h|cc]: Added setenv() and unsetenv(),
143 wrapping new functions added in glib 2.4.
144 * glib/src/convert.[hg|ccg]: Added filename_display_name() and
145 filename_display_basename().
147 2005-01-09 Murray Cumming <murrayc@murrayc.com>
149 * glib/src/optionentry.ccg: Copy constructor: Copy the short name
150 form the src, not from itself. Bug #16331 from Daniel Holbach.
152 2005-01-09 Murray Cumming <murrayc@murrayc.com>
154 * glib/src/optionentry.[hg|cc]: Add add_entry(entry, bool&), to wrap
155 use of G_OPTION_ARG_NONE. Bug #163325 from Daniel Holbach.
156 * examples/options/main.cc: Use the new add_entry() overload.
158 2005-01-06 BenoƮt Dejean <TazForEver@dlfp.org>
160 * glib/glibmm/dispatcher.cc:
161 * glib/glibmm/error.cc:
162 * glib/glibmm/exceptionhandler.cc:
163 * glib/glibmm/main.cc:
164 * glib/glibmm/threadpool.cc:
165 * glib/glibmm/ustring.cc:
166 * glib/glibmm/wrap.cc: Don't export private API.
169 2005-01-04 Chris Vine <chris@cvine.freeserve.co.uk>
171 * examples/iochannel_stream/: Provide a means of obtaining
172 Glib::IOChannel error information from the streambuffer. Remove
173 the code conversion option from the fdstream/fdstreambuf
174 constructors and add comments in fdstream.h about code conversion
175 and other matters. Add a detach() function and a destructor to
176 fdstreambuf. Correct an error in fdstreambuf::xsgetn(). Include
177 missing <string> header file in main.cc.
181 2004-12-19 Murray Cumming <murrayc@murrayc.com>
183 * examples/: Adapted and added iochannel_stream example from
184 Chris Vine in bug #138259.
186 2004-12-19 Murray Cumming <murrayc@murrayc.com>
188 * glib/src/: Added glib_docs.xml, generated with docsextract_to_xml.py
189 and glib_docs_override.xml, to generate some API reference from
191 * glib/src/Makefile.am: Mention the new files.
193 2004-12-19 Murray Cumming <murrayc@murrayc.com>
195 * docs/reference/: Added a copy of the libstdc++ doxygen tags file,
196 but it still does not seem to work, for example with std::vector<>
199 2004-12-19 Murray Cumming <murrayc@murrayc.com>
201 * docs/reference/Doxyfile.in: Use the libstdc++ TAG files, so that
202 references to std:: classes take people to their docs.
203 * glib/src/: Added glib_docs.xml and glib_docs_override.xml, and
204 mentioned them in Makefile.am.
206 2004-12-19 Murray Cumming <murrayc@murrayc.com>
208 * glib/src/date.hg, glib/glibmm/main.h,
209 glib/glibmm/signalproxy_connectionnode.h: Deal with some doxygen
210 warnings about undocumented parameters.
211 * glib/glibmm/ustring.h: Added documentation for the size() and
214 2004-11-21 Murray Cumming <murrayc@murrayc.com>
216 * glib/src/optionentry.[hg|ccg]: Removed OptionEntry enum and
217 set_arg_data(), because they are not needed any more.
221 2004-11-01 Murray Cumming <murrayc@murrayc.com>
223 * glib/src/optiongroup.[hg|ccg]: Added add_entry() for vector<ustring>
224 and add_entry_filename() for std::string and vector<std::string>.
225 * examples/options/main.cc: Test these new methods.
227 2004-10-30 Murray Cumming <murrayc@murrayc.com>
229 * glib/src/optiongroup.[hg|ccg]: Added gobj_give_ownership().
230 * glib/src/optioncontext.[hg|ccg]: add_group(), set_main_group(): Use
231 gobj_give_ownership() because GOptionContext deletes the GOptionGroups
234 2004-10-26 Murray Cumming <murrayc@murrayc.com>
236 * glib/src/optionentry.hg: Remove accessors for arg and arg_data.
237 * glib/src/optiongroup.[hg|ccg]: add_entry(): Remove arg_type parameter
238 and instead add overrides which take specific C++ value types.
239 Add CppOptionEntry inner class to hold information about each entry
240 and its dynamically allocated C value.
241 Add map_entries_ map to store them, so we can iterate over them during
244 2004-10-21 Murray Cumming <murrayc@murrayc.com>
246 * build_shared/Makefile_build.am_fragment: Patch from Roger Leigh in
247 bug # 15589 to use PLATFORM_WIN32 rather than OS_WIN32 to enable
248 -no-undefined. This allows glibmm to build in a cgwin environment,
253 2004-10-17 Murray Cumming <murrayc@murrayc.com>
255 * glib/src/optioncontext.[hg|ccg]: add_entry(): Fixed crash by
256 creating a temporary array, with a nulled last item, which is what the
257 C function wants. In callbacks, ignore the group parameter because our
258 option group in the data parameter is the same, and does not require
259 construction of a second C++ wrapper instance for the same C instance.
260 * glib/src/optiongroup.[hg|ccg]: Removed the cast constructor, because
261 it is not needed anymore, and there is no clear way to implement it.
263 2004-10-14 Murray Cumming <murrayc@murrayc.com>
265 * tools/pm/WrapParser.pm: on_wrap_property(): Convert property name to
266 canonical form, so that we can recognise notifications of property
267 value changes. Bug #152764.
269 2004-10-07 Philip Langdale <plangdale@vmware.com>
271 * glib/glibmm/signalproxy_connectionnode.cc: Remove unnecessary warning
272 when notify() is called after destroy_notify_handler(). (bug #154498)
274 2004-10-01 Murray Cumming <murrayc@murrayc.com>
276 * glib/src/option*.[hg|ccg], examples/options/main.cc: Rethought the
277 structure now that I see how the parts work together. Rearranged the
278 example to show how the parsing can fill values in member variables
279 of a derived OptionGroup class. However, 1. it crashes now, 2. we need
280 extra code to map the GOption C types to suitable C++ types, probably
281 by doing pre and post parsing to create temporary C types for the C++
284 2004-09-27 Murray Cumming <murrayc@murrayc.com>
286 * glib/src/option*.[hg|ccg]: Wrapped more methods, but I have still not
288 * examples/options/: Started an example.
290 2004-09-26 Murray Cumming <murrayc@murrayc.com>
292 * glib/src/glib_functions.defs: Regenerated with h2defs.py
293 * glib/src/: Added optionentry.[hg|ccg], optiongroup.[hg|ccg],
294 optioncontext.[hg|ccg].
296 2004-09-19 Murray Cumming <murrayc@murrayc.com>
298 * This is the HEAD branch.
300 2004-09-13 Cedric Gustin <cedric.gustin@swing.be>
302 * examples/thread/dispatcher.cc: Fixed a race condition on win32
303 that involved the combined use of auto_ptr and multithreading (bug
308 2004-07-23 Martin Schulze <mschulze@cvs.gnome.org>
310 * glib/glibmm/main.cc: Move deletion of SourceConnectionNode object
311 into destroy_notify_callback() exclusively; do not delete from
315 2004-07-10 Murray Cumming <murrayc@murrayc.com>
317 * glib/glibmm/signalproxy_connectionnode.cc: notify(): Do not delete
318 the connection after disconnecting it, because disconnecting it
319 always causes disconnect_notify to be called, so just delete it there.
320 This prevents double deletes and reading of deleting memory, found in
323 2004-07-09 Murray Cumming <murrayc@murrayc.com>
325 * glib/glibmm/signalproxy.h.m4: Added some documentation.
327 2004-06-20 Daniel Elstner <daniel.elstner@gmx.net>
329 * glib/glibmm/objectbase.cc: Spring cleaning.
330 * glib/glibmm/object.cc: ditto.
334 2004-06-18 Daniel Elstner <daniel.elstner@gmx.net>
336 * scripts/macros.m4 (GTKMM_ARG_ENABLE_WARNINGS): Add
337 -Wno-long-long to the list of tried warning flags.
339 2004-06-16 Daniel Elstner <daniel.elstner@gmx.net>
341 * glib/glibmm/dispatcher.cc (DispatchNotifier::create_pipe): There
342 is no point in calling g_file_error_from_errno() on win32 since we
343 have no real errno. Also fix the error text to say "event" rather
346 2004-06-14 Daniel Elstner <daniel.elstner@gmx.net>
348 * scripts/cxx.m4: Add a couple of casts to void in order to suppress
349 warnings about unused variables. I still have no idea as to why the
350 hardcore warning flags are remembered when running make distcheck...
352 2004-06-14 Daniel Elstner <daniel.elstner@gmx.net>
354 * examples/thread/dispatcher.cc: Explicitely join all threads.
355 Hopefully that'll fix the crash on win32 (see bug #109966).
357 2004-06-13 Daniel Elstner <daniel.elstner@gmx.net>
359 * examples/thread/dispatcher*.cc (main): Remove unused parameter
360 names to fix building with -Werror.
362 2004-06-13 Daniel Elstner <daniel.elstner@gmx.net>
364 * configure.in (GTKMM_ENABLE_DEBUG_REFCOUNTING): s/^GTK/GLIB/
366 2004-06-08 Daniel Elstner <daniel.elstner@gmx.net>
368 * build_shared/Makefile_build.am_fragment (all_includes): Remove
369 left-over include paths for pango, atk, gdk and gtk.
371 2004-06-07 Daniel Elstner <daniel.elstner@gmx.net>
373 * glib/glibmm/stringutils.h: Replace a couple of double quotes with
374 " to prevent doxygen from escaping the enclosed HTML entities.
376 2004-06-04 Daniel Elstner <daniel.elstner@gmx.net>
378 * glib/glibmm/ustring.h: Use /*! instead of /** to introduce
379 doxygen comments in order to avoid cluttering the long method list
380 of class Glib::ustring. Replace a few double quotes with "
381 to prevent doxygen from escaping the enclosed HTML entities.
385 2004-06-03 Daniel Elstner <daniel.elstner@gmx.net>
387 * scripts/Makefile.am (EXTRA_DIST): Remove mkinstalldirs, because
388 automake-1.8 doesn't use it anymore and prior versions should pick
389 it up automatically anyway.
391 2004-06-03 Daniel Elstner <daniel.elstner@gmx.net>
393 * glib/glibmm/dispatcher.cc: Complete overhaul of the Win32
394 implementation of Glib::Dispatcher. That is, mutex locking is
395 done correctly now and dynamic memory allocation is no longer
396 used, plus a few other cleanups. See reopened bug #109966.
398 2004-06-03 Daniel Elstner <daniel.elstner@gmx.net>
400 * glib/glibmm/signalproxy_connectionnode.cc
401 (SignalProxyConnectionNode::SignalProxyConnectionNode):
402 Reorder the initializer list to match the declaration order.
404 (SignalProxyConnectionNode::notify): Add missing return 0.
406 2004-05-26 Daniel Elstner <daniel.elstner@gmx.net>
408 * glib/glibmm/ustring.{cc,h}: Globally apply some minor code
409 cleanup and optimization tweaks.
411 (get_unichar_from_std_iterator): Replace implementation with a
412 hand-optimized and profiled variant that has been lurking in my
413 local tree for quite some time, thus should be well tested.
414 Also add the G_GNUC_PURE() attribute.
416 (operator+): Explicitely instantiate and return a temporary string,
417 instead of accessing the reference ustring::operator+=() returns.
418 This quite often allows the compiler to eliminate the additional
419 copy constructor invocation.
421 2004-05-25 Murray Cumming <murrayc@murrayc.com>
423 * configure.in, Makefile.am: Removed the glibmm.spec files, because
424 it is broken and nobody has volunteered to fix it.
426 2004-05-20 Daniel Elstner <daniel.elstner@gmx.net>
428 * examples/thread/dispatcher.cc: Revert last commit because it's
429 silly. To make the code truly exception-safe it would be necessary
430 to either join all threads or to notify them, which is way beyond
431 the scope of this example.
433 2004-05-20 Daniel Elstner <daniel.elstner@gmx.net>
435 * examples/thread/dispatcher.cc: Set a good example and
436 be paranoid about possible memory leaks due to exeptions.
438 2004-05-20 Daniel Elstner <daniel.elstner@gmx.net>
440 * examples/thread/dispatcher.cc: Code cleanup. Most importantly,
441 get rid of the locking around std::cout since it obfuscates the
442 purpose of using Glib::Dispatcher.
444 2004-05-13 Daniel Elstner <daniel.elstner@gmx.net>
446 * glib/glibmm/object.{cc,h} (ConstructParams::ConstructParams):
447 Implement the copy constructor in a way that actually works if used.
448 Relying on the compiler to optimize it away is a bad idea. (#132300)
450 2004-05-04 Murray Cumming <murrayc@murrayc.com>
452 * glib/glibmm/ustring.h: Documented the constructors, based on
453 the libstdc++ documentation, to make it clear that sizes are in
454 characters rather than bytes.
456 2004-05-01 Murray Cumming <murrayc@murrayc.com>
458 * configure.in: Increase glib dependency to 2.4.0.
460 2004-04-30 Murray Cumming <murrayc@murrayc.com>
462 * tools/m4/gobject.m4: Allow use of _CUSTOM_DTOR(), needed by
463 Gnome::Gda::Connection.
467 2004-04-17 Murray Cumming <murrayc@murrayc.com>
469 * docs/reference/Makefile.am: Make the generated html depend on the
470 beautify_docs.pl.in source instead of the generated beautify_docs.pl,
471 so that the html is not rebuilt from tarballs.
473 2004-04-17 Murray Cumming <murrayc@murrayc.com>
475 * glib/glibmm/container_handle.h: Reimplemented more of the
476 to_cpp_type() methods without using dependent methods, so that they
477 work with g++ 3.4 (cvs versions).
481 2004-04-11 Murray Cumming <murrayc@murrayc.com>
483 * tools/pm/WrapParser.pm, Output.pm, m4/signal.m4: Allow _WRAP_SIGNAL()
484 to take an refreturn argument, so that Gtk::Widget::on_get_accessible()
485 can do an extra ref before returning the Atk::Object.
487 2004-04-09 Murray Cumming <murrayc@murrayc.com>
489 * tools/pm/Output.pm: output_wrap_property(): Provide the actual
490 property name as well as one with - replace with _, so we can
491 test for the correct value in notification signal handler.
492 * tools/m4/property.m4: Use the actual property name when calling
497 2004-03-24 Murray Cumming <murrayc@murrayc.com>
499 * scripts/cxx.m4: Corrected parentheses, which cause the docs to be
500 written into config.h. Thanks to Alexander Nedotsukov.
502 2004-03-23 Murray Cumming <murrayc@murrayc.com>
504 * scripts/cxx.m4: Corrected the ambiguous const template test, which
505 failed on all platforms because it generated bad code.
507 2004-03-20 Martin Schulze <mschulze@cvs.gnome.org>
509 * glibmm/main.cc: Bug fix in SourceConnectionNode::notify() (#137030).
511 2004-03-18 Murray Cumming <murrayc@murrayc.com>
513 * tools/generate_wrap_init.pl: Change a regex so that files are
514 included without full path. Apparently this helps when building outside
515 of the source directory, though I'm sceptical. By Victor Zverovich in
520 2004-03-14 Murray Cumming <murrayc@murrayc.com>
522 * scripts/sun.m4: Set the correct variable, so it is actually set in
525 2004-03-14 Murray Cumming <murrayc@murrayc.com>
526 * glib/glibmm/containerhandle_shared.h value.h: Used ifdef
527 GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS to avoid
528 problems with the SUN Forte compiler.
530 2004-03-14 Murray Cumming <murrayc@murrayc.com>
532 * scripts/cxx.m4: Added CAN_DISAMBIGUATE_CONST_TEMPLATE_SPECIALIZATIONS
533 m4 macro to use in configure.in, to check for the SUN Forte problem -
534 see the comments in cxx.m4.
535 * scripts/sun.m4: Moved some brackets around to make the define
538 2004-03-13 Murray Cumming <murrayc@murrayc.com>
540 * glib/glibmm/containerhandle_shared.h: TypeTraits to_cpp_type()
541 specializations: Use wrap_auto() directly instead of a specific
542 wrap() overload that would be dependent. Needed for g++ 3.4.
543 * glib/glibmm/containers.h: Same again.
545 2004-03-13 Murray Cumming <murrayc@murrayc.com>
547 * tools/m4/class_shared.m4: Remove the parent get_type() call from
548 the Class::init() function, because it is optimised away, and g++ 3.4
549 actually complains that it does nothing.
550 * glib/glibmm/object.[h|cc]: Add a public ConstructParams copy
551 constructor, needed by g++ 3.4. See comments in the code.
552 * tests/glibmm_value/glibmm_value.cc: Instantiate instances of
553 value types, to fix the g++ 3.4 build. I don't know what the code
554 was meant to do before anyway.
556 2004-03-11 Murray Cumming <murrayc@murrayc.com>
558 * scripts/: Added sun.m4, copied from libsigc++-1.2/scripts and
559 modified, so we can detect the SUN Forte compiler.
560 * configure.in: Used the m4 macro.
561 * glibmm/glibmm-config.h: Undef the GLIBMM_COMPILER_SUN_FORTE macro
562 so that it will be defined if configure sets it.
564 2004-03-09 Murray Cumming <murrayc@murrayc.com>
566 * Some, but not all, SUN Forte build fixes:
567 * tools/m4/convert_gdk.m4, convert_glib.m4: Use existing
568 sun-specific conversion when converting from any
569 RefPtr<const Something> to *Something.
571 2004-04-08 Hagen Moebius <hagen.moebius@starschiffchen.de>
573 * tools/pm/DocsParser.pm: Another change to give better warnings and
574 errors at gmmproc-runtime. Further improvment of parsing parameter names
575 to strip traling underscres. This not only for reference text, but for
576 the parameter list also.
578 2004-04-07 Hagen Moebius <hagen.moebius@starschiffchen.de>
580 * tools/pm/DocsParser.pm: Allow overrides to only override
581 part of the docs. Add a <mapping> tag to associate non-prefixed
582 functions with classes. Improve parsing of parameter names so they
583 can now have numbers in the names.
587 2004-03-03 Murray Cumming <murrayc@murrayc.com>
589 * Added glib/glibmm/i18n.h and i18n-lib.h which defines _() and friends
590 for internationalization. See the comments in the header - you must
591 include things in the right order.
592 * glib/src/spawn.[hg|ccg]: Added spawn_close_id() as wrapper for
594 * glib/glibmm/main.[h|cc]: Added MainLoop::depth() as wrapper for
597 2004-03-02 Murray Cumming <murrayc@murrayc.com>
599 * tools/pm/Function.pm: parse_param(): Only parse const as an
600 individual part of the type name if it is followed by a space, so
601 that we can have const const_iterator& types.
603 2004-02-27 Martin Schulze <teebaum@cvs.gnome.org>
605 * CHANGES: Fix typo reported by Chris Vine.
607 2004-02-13 Martin Schulze <teebaum@cvs.gnome.org>
609 * documentation fixes and corrections in the comments reflecting
610 the shift to libsigc++ 2.
611 * make all source files in example thread use libsigc++ 2 instead
616 2004-02-10 Murray Cumming <murrayc@usa.net>
618 * glibmm now uses libsigc++ 2 instead of libsigc++ 1.2. See bug
619 #125061 for more details. We must update CHANGES later.
623 2004-02-02 Murray Cumming <murrayc@usa.net>
625 * glib/glibmm/containerhandle_shared.h: Traits<const T*>: Added
626 const_cast, needed by TreeView::get_columns() const: bug #126721.
628 2004-01-29 Murray Cumming <murrayc@usa.net>
630 * tools/pm/Parser.pm, Output.pm, tools/m4/signal.m4: Add an optional
631 custom_c_callback parameter to _WRAP_SIGNAL to allow special code
632 for the SelectionData& output parameter in Gtk::Widget signals.
633 Hopefully we won't need too many more of these hacks - the m4 is
634 becoming very hard to read, with all these nested ifelse() statements.
636 2004-01-27 Cedric Gustin <cedric.gustin@swing.be>
638 * build_shared/Makefile_build.am_fragment: Added win32-specific
639 --export-all-symbols to linker flags. This is backported from
641 * README.win32: Updated text for glibmm-2.4.
642 * tools/generate_wrap_init.pl.in: Replaced GTKMM_WIN32 by the
647 2004-01-22 Murray Cumming <murrayc@usa.net>
649 * glib/date.[hg|ccg]: Added clamp_min() and clamp_max() to wrap the
650 case where g_date_clamp() takes null values.
652 2004-01-18 Alberto Paro <alberto@paro.homeunxi.org>
654 * glib/src/date.hg: documentated Glib::Date functions.
655 * glib/glibmm/main.h: documentated Glib::MainLoop,Glib::MainContext
656 and Glib::Source functions.
658 2004-01-18 Murray Cumming <murrayc@usa.net>
660 * tools/pm/Output.pm, tools/m4/property.m4: When the property is not
661 read-only, add a second read-only propertyproxy for the same property,
662 with a const accessor. This allows setting of properties in const
663 methods. Make all read-only propertyproxies have const accessors.
664 * glib/glibmm/propertyproxy.h: Added class documentation.
665 * tools/pm/Output.pm: Declare _vfuncs as virtual methods - fixing
666 an error in my last change.
668 2004-01-16 Murray Cumming <murrayc@usa.net>
670 * tools/pm/Output.pm, tools/m4/vfunc.m4:
671 - Generate const vfuncs when requested with _WRAP_VFUNC().
672 - Put the *_vfunc() decleraration directly into the header, where
673 the _WRAP_VFUNC() macro appears, instead of in a separate section.
674 This allows us to add doxygen documentation before the _WRAP_VFUNC()
675 in the .hg file. However, we must check that all of our _WRAP_VFUNC()
676 macros are in protected: sections.
678 2004-01-12 Murray Cumming <murrayc@usa.net>
680 * glib/glibmm/object.cc: Object::Object() default constructor.
681 Remove the warning because we really need this to implement a custom
682 TreeModel. Derive a new GType, as in the
683 Object::Object(ConstructParams) constructor. Like that constructor,
684 the default one also assumes that you have called a suitable
685 ObjectBase constructor, such as ObejctBase(typeid(MyCustomClass)).
687 2004-01-09 Murray Cumming <murrayc@usa.net>
689 * tools/pm/Output.pm: output_wrap_property(): Allow construct-only
690 properties to be wrapped, as read-only properties.
692 2004-01-03 Murray Cumming <murrayc@usa.net>
694 * tools/gmmproc.in, pm/WrapParser.pm, DocsParser.pm: Removed the
695 mergecdocs option - because we always want to merge C docs, to avoid
696 accidental upload of half-complete docs.
698 2003-12-29 Murray Cumming <murrayc@usa.net>
700 * Makefile.am: Add scripts and tests directories to SUBDIRS instead of
701 DIST_SUBDIRS, so that their Makefile.am files are actually used.
702 * scripts/macros.m4: renamed GTKMM_CHECK_PERL() to GLIBMM_CHECK_PERL()
703 and install it as glibmm_check_perl.m4, so that other *mm projects
704 can use it. They need the PERL_PATH for Doxygen.
706 2003-12-22 Murray Cumming <murrayc@usa.net>
708 * docs/reference: generate beautify_docs.pl from beautify_docs.pl.in,
709 so it can have the perl path in it. Install it, so other *mm
712 2003-12-13 Murray Cumming <murrayc@usa.net>
714 * tools/m4/*.m4: Added fuller Doxygen documentation to all gobj() and
715 wrap() methods. Doxygen should not emit warnings about these now.
719 2003-11-29 Murray Cumming <murrayc@usa.net>
721 * tools/m4/signal.m4: Add spaces inside signal_proxy template types,
722 to avoid << and >> when using templated types.
724 2003-11-27 Murray Cumming <murrayc@usa.net>
726 * tools/pm/WrapParser.pm, Output.pm: Added WRAP_METHOD_DOCS_ONLY()
728 * docs/internal/using_gmmproc.txt: Explained the new macro.
730 2003-11-02 Murray Cumming <murrayc@usa.net>
732 * glib/glibmm/: Added init.[h|cc] with Glib::init() so that the
733 gnomemm init() methods do not need to initialize gtkmm.
734 * tools/m4/class_gobject.m4, class_gtkobject.m4: Added
735 _GMMPROC_PROTECTED_GCLASS macro, needed by libgnomecanvasmm. This
736 was not previously properly merged from gtkmm2.
737 * tools/m4/property.m4: Re-added PropertyProxy reference documentation
738 that did not survive a previous merge from gtkmm2.
740 2003-11-01 Murray Cumming <murrayc@usa.net>
742 * glib/glibmm/propertyproxy.h, propertyproxy_base.[h|cc]: Now uses
743 ObjectBase instead of Object, because glib can now have properties
744 on interfaces. This is needed, for instance, by the GtkFileChooser
745 interface wrapper in gtkmm.
746 * glib/glibmm/object.h: Moved get/set_property() methods into
747 ObjectBase, for the same reason.
748 * tools/pm/WrapParser.pm, Output.pm: Added optional no_default_handler
749 parameter to gmmproc _WRAP_SIGNAL() macro, for signals whose
750 default signal handler is not in the klass struct and therefore
751 can not be overridden.
753 2003-10-31 Murray Cumming <murrayc@usa.net>
755 * docs/Makefile_web.am_fragment: Corrected install location,
756 so that links from the gtkmm docs work when they are installed.
758 2003-10-30 Murray Cumming <murrayc@usa.net>
760 * docs: Added images directory, copied from gtkmm, for the reference
762 * configure.in: Mention docs/images/Makefile.
763 * docs/reference/Doxyfile.in: Genereate glibmm_doxygen_tags instead
764 of gtkmm_doxygen_tags.
765 * docs/reference/Makefile.am: dist glibmm_doxygen_tags.
766 * docs/reference: gtkmm*.html_fragment are now glibmm*.html_fragment.
770 2003-10-23 Murray Cumming <murrayc@usa.net>
772 * tools/pm/Output.pm: output_wrap_create(): Used
773 args_types_and_names_with_default_values() intead of
774 args_types_and_names(), so that create() functions .in .h files have
775 the default values as specified in _WRAP_CREATE() in .hg files.
776 * tools/pm/WrapParser.pm: on_ignore_signals(): Strip the quotes, to
777 make _IGNORE_SIGNAL() really work in .hg files.
779 2003-10-02 J. Abelardo Gutierrez <jabelardo@cantv.net>
781 * examples/threads/dispatcher.cc
782 examples/threads/dispatcher2.cc: fixed to cast out all gktmm code,
783 now they only need glimm.
784 * configure.in: Added examples/threads because they don't use gtkmm
785 anymore. Now all examples/threads compiles and run just fine.
789 2003-09-30 Murray Cumming <murrayc@usa.net>
791 * configure.in: Removed examples/threads because we don't build or
792 distribute it, because it doesn't build, because it uses gtkmm.
794 2003-09-30 Murray Cumming <murrayc@usa.net>
796 * glib/glibmm/object_base.h: ObjectBase inherits virtually from
797 Sigc::Object. See bug #116280.
799 2003-09-27 Cedric Gustin <cedric.gustin@swing.be>
801 * glib/glibmm/threadpool.cc: Removed
802 _GTKMMPROC_SIGNAL_H_AND_CC(#ifndef G_OS_WIN32) restrictions. These
803 functions are now implemented in the latest (2.2.4) GTK+ on win32.
804 * README.win32 : Updated list of unsupported functions.
806 2003-08-20 Frank Naumann <fnaumann@freemint.de>
808 * glib/src/thread.hg,
809 glib/src/unicode.hg: Warning bugfix for VisualStudio .NET 2003;
810 made wrapper functions returning bool from glib functions
811 returning int (C lacks builtin type bool) explicit by adding
812 an != 0 check. Otherwise VisualStudio .NET warn about implicit
815 2003-07-26 Murray Cumming <murrayc@usa.net>
817 * glib/glibmm/dispatcher.cc: Added #include <algorithm>, needed
818 by MSVC++, as suggested by Frank Naumann in bug #118215.
820 2003-05-31 Murray Cumming <murrayc@usa.net>
822 * tools/gmmproc.in: Corrected location of installed .pm files. They
823 are now in a glibmm-2.3 folder instead of a glibmm-2.4 folder.
825 2003-05-14 Murray Cumming <murrayc@usa.net>
827 * Applied some of MSVC++ .NET 2003 changes from jburris. For instance,
828 use of Gtk:: prefix with manage, because MSVC++ can not guess it. Also
829 corrected the out-of-sync protected/private modifiers in the private
830 gtype classes and their prototypes.
832 2003-05-09 Cedric Gustin <cedric.gustin@swing.be>
834 * glib/glibmm/dispatcher.cc: small typo in G_OS_WIN32 condition.
836 2003-05-07 Murray Cumming <murrayc@usa.net>
838 * scripts/macros.m4: Made the --enable-debug-refcounting configure
839 option set GLIBMM_* instead of GTKMM_*.
841 2003-05-02 Murray Cumming <murrayc@usa.net>
843 * tools/m4/*.m4: Added doxygen comments to gobj() methods.
844 * examples/markup/parser.cc: Commented-out a std::right that gcc 2.93
847 2003-04-23 Andrew Makeev
849 * glib/glibmm/dispatcher.cc: Added some #ifdefed code to implement
850 Glib::Dispatcher on WIN32. See comments with the code.
852 2003-04-22 Murray Cumming <murrayc@usa.net>
854 * Install headers in a glibmm-2.3 directory instead of glibmm-2.4,
855 to be consistent with gtkmm 2.4.
857 2003-04-21 Murray Cumming <murrayc@usa.net>
859 * arrayhandle.h, listhandle, slisthandle.h:
860 Glib::ListHandle, Glib::ListHandle, Glib::SListHandle: Added
861 reference docs explaining that people can use STL containers.
863 2003-04-21 Murray Cumming <murrayc@usa.net>
865 * Removed examples/idle: It's now updated and in gtkmm/examples/book.
867 2003-04-19 Murray Cumming <murrayc@usa.net>
869 * tools/pm/GtkDefs.pm: get_unwrapped(): Changed some & to && to
870 avoid warnings and because that is probably what they should be.
872 * tools/m4/extra_defs_gen/generate_defs_glib.cc: Removed parameter
873 names from main(), because they are not used. Avoid warning.
875 2003-03-26 Ross Burton <ross@burtonini.com>
877 * glib/src/module.hg: Added API documentation.
879 2003-03-18 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
881 * scripts/*.m4, configure.in:
882 Added description to several AC_DEFINE statements to make 'autoheader'
885 Added ACLOCAL_AMFLAGS to make 'autoreconf' work
887 2003-03-18 Cedric Gustin <cgustin@ibelgique.com>
889 * Makefile.am : removed examples from DIST_SUBDIRS
891 2003-03-18 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
893 * examples/Makefile.am_fragment: Added DESTDIR-support.
895 2003-03-14 Cedric Gustin <cgustin@ibelgique.com>
897 * Install examples. The are built by default too. Patch adapted for
898 glibmm 2.4 by Murray Cumming.
900 2003-03-04 Cedric Gustin <cgustin@ibelgique.com>
902 * configure.in : Removed libstdc++ in LDFLAGS on win32. Latest
903 libtool is taking care of it.
904 * build_shared/Makefile_build.am_fragment,
905 tools/extra_defs_gen/Makefile.am : Added
906 --export-all-symbols linker flag on win32 (required by latest
907 libtool to build DLLs).
908 * build_shared/Makefile_gensrc.am_fragment : Modifiy rule that
909 builds wrap_init.cc. wrap_init.cc now contains reference to all
910 objects, event on win32. #ifdefs are included when needed.
911 * README.win32 : updated for version 2.2. Added list of missing
912 methods and signals on win32
913 * tools/m4/base.m4 : Added _GTKMMPROC_SIGNAL_H_AND_CC macro.
916 2003-03-14 Martin Schulze <MHL.Schulze@t-online.de>
918 * docs/internal/using_gtkmmproc.txt: Correct name of
919 [...]signals.defs generation utiliy.
921 2003-01-30 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu>
923 * glib/src/thread.hg Cond: Add documentation
925 2003-01-27 Murray Cumming <murrayc@usa.net>
927 * glib/glibmm/refptr.h: Removed RefPtr<>::is_null() to encourage use
928 of more pointer-like operator bool() instead. Wanted to remove clear()
929 too, but there is no =0 equivalent yet.
930 * tools/gmmproc.in: Change harcoded gtkmm-2.0/m4 path to glibmm-2.4/m4.
932 2003-01-22 Murray Cumming <murrayc@usa.net>
934 * GTKMM_ m4 tests and #defines are now prefixed with GLIBMM_
936 2003-01-21 Murray Cumming <murrayc@usa.net>
938 * tests/Makefile.am_fragment, examples/Makefile.am_fragment:
939 Corrected LIBS and CFLAGS. Not all of these build because they
940 use gtkmm stuff too. They need to be reduced to glibmm-only code.
942 2003-01-21 Murray Cumming <murrayc@usa.net>
944 * glib/Makefile.am, glib/glibmm/Makefile.am: Install headers in
945 glibmm-2.4 directory rather than gtkmm-2.4
947 2003-01-21 Murray Cumming <murrayc@usa.net>
949 * configure.in: Use GLIBMM_* instead of GTKMM_* to avoid config.h
950 clashes with gtkmm 2.4.
951 * glib/glibmm-2.4.pc.in: Correct cflags - report 2.4 instead of 2.0.
953 2003-01-21 Murray Cumming <murrayc@usa.net>
955 * tools/extra_defs_gen/Makefile.am: Changed extra_defs library name
956 from 2.4 to 2.3, so it can be unstable.
958 2003-01-09 Daniel Elstner <daniel.elstner@gmx.net>
960 * glib/glibmm/utility.h (GLIBMM_INITIALIZE_STRUCT): Replace
961 __builtin_bzero() with __builtin_memset() because the former is
962 deprecated. Also, it looks like GCC is able to optimize the 0 case
963 so we don't lose anything here.
965 2003-01-09 Daniel Elstner <daniel.elstner@gmx.net>
967 * glib/glibmm/miscutils.cc (Glib::build_path): Reserve 256 bytes
968 in advance to improve performance.
970 2003-01-09 Daniel Elstner <daniel.elstner@gmx.net>
972 * glib/glibmm/miscutils.{cc,h} (Glib::build_path): Fix to make it
973 behave exactly like g_build_path(). (#102885, Jarek Dukat)
975 (Glib::build_filename(const std::string&, const std::string&)):
976 Implement in terms of Glib::build_path().
978 2003-01-21 Murray Cumming <murrayc@usa.net>
980 * Renamed gtkmmproc to gmmproc.
982 2003-01-08 Murray Cumming <murrayc@usa.net>
984 * glib/glibmm/refptr.h: Removed the operator=(CppObject*), as
985 suggested in the TODO comment.
987 2003-01-08 Murray Cumming <murrayc@usa.net>
989 * make distcheck works.
991 2003-01-08 Murray Cumming <murrayc@usa.net>
993 * It now builds, though I haven' tried installing it. The
994 library names and header directories should now all have 2.4
995 instead of 2.0 in their name.
997 glibmm was previously part of gtkmm2.