summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Tag npos with GLIBMM_API, in order to dllexport it on win32. Bug #332438.Cedric Gustin2006-02-272-2/+7
| | | | | | | 2006-02-27 Cedric Gustin <cedric.gustin@gmail.com> * glib/glibmm/ustring.h: Tag npos with GLIBMM_API, in order to dllexport it on win32. Bug #332438.
* fix a typo in the documenation for uppercase()Rob Page2006-02-072-1/+5
| | | | | | 2006-02-07 Rob Page <page.rob@gmail.com> * glib/glibmm/ustring.h: fix a typo in the documenation for uppercase()
* Increase version for release.Murray Cumming2006-01-293-2/+16
|
* add_entry_with_wrapper(): Copy the CppOptionEntry into the map _after_Murray Cumming2006-01-283-11/+16
| | | | | | | | 2006-01-28 Murray Cumming <murrayc@murrayc.com> * glib/src/optiongroup.ccg: add_entry_with_wrapper(): Copy the CppOptionEntry into the map _after_ setting entry_ so that we really delete it in release_c_arg(), to avoid a memory leak.
* Fix the link to the Main page. Bug #328299.Rob Page2006-01-282-2/+7
| | | | | | | 2006-01-28 Rob Page <rob@gmail.com> * docs/reference/glibmm_header.html_fragment: Fix the link to the Main page. Bug #328299.
* Constructor: Avoid memory leak caused by double instantiation of gobject_.Murray Cumming2006-01-273-14/+21
| | | | | | | 2006-01-27 Murray Cumming <murrayc@murrayc.com> * glib/src/optionentry.ccg: Constructor: Avoid memory leak caused by double instantiation of gobject_.
* Hide some internal stuff from Doxygen. Add/Improve the DoxygenMurray Cumming2005-12-164-30/+63
| | | | | | | | | | | | 2005-12-16 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/object.h: * glib/glibmm/objectbase.h: Hide some internal stuff from Doxygen. Add/Improve the Doxygen documentation. * glib/src/convert.hg: Correct the declaration of filename_display_name() to match the implementation. Previously this would have been unusable due to a linker error.
* Define the @newin aliases, as in gtkmm. Convert Since: in gtk-doc text toMurray Cumming2005-11-303-1/+20
| | | | | | | | | 2005-11-30 Murray Cumming <murrayc@murrayc.com> * docs/reference/Doxyfile.in: Define the @newin aliases, as in gtkmm. * tools/pm/DocsParser.pm: Convert Since: in gtk-doc text to @newin for our doxygen docs.
* Added --enable-use-deprecations, defaulting to no (do not check for them),Murray Cumming2005-11-294-2/+23
| | | | | | | | | | | | 2005-11-29 Murray Cumming <murrayc.com> * build_shared/Makefile_build.am_fragment: * configure.in: Added --enable-use-deprecations, defaulting to no (do not check for them), so that the tarball will still build when newer versions of glib deprecate some API. * examples/Makefile.am_fragment: Use the deprecation, if wanted.
* Added --enable-deprecated-api option. When set to disabled, it does notMurray Cumming2005-11-295-1/+30
| | | | | | | | | | | | | 2005-11-29 Murray Cumming <murrayc@murrayc.com> * build_shared/Makefile_build.am_fragment: * configure.in: Added --enable-deprecated-api option. When set to disabled, it does not build deprecated API. This reduces the size of the library, and might be useful for embedded devices. * glib/src/date.ccg: * glib/src/date.hg: Use _DEPRECATE_IFDEF_START/END around the deprecated set_time() method.
* Add _DEPRECATE_IFDEF_START and _DEPRECATE_IFDEF_END macros, to #ifdef-outMurray Cumming2005-11-298-17/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-29 Murray Cumming <murrayc@murrayc.com> * tools/m4/base.m4: Add _DEPRECATE_IFDEF_START and _DEPRECATE_IFDEF_END macros, to #ifdef-out generated methods. Added _DEPRECATE_IFDEF_CLASS_START and _DEPRECATE_IFDEF_CLASS_END for whole classes. Put _DEPRECATE_IFDEF_CLASS* around all generated code. It does nothing if the class is not deprecated. * tools/m4/class_gtkobject.m4: Add _DEPRECATED macro, used to mark a class as deprecated. * tools/m4/method.m4: Take an extra parameter, to optionally mark the method as deprecated, to add #ifdefs around the code, with _DEPRECATE_IFDEF_START/END * tools/pm/Output.pm: _DEPRECATE_IFDEF_START/END around the declarations of deprecated methods. * tools/pm/WrapParser.pm: Check for an optional deprecated parameter to _WRAP_METHOD(). * tools/m4/member.m4: Allow optional deprecated method for _MEMBER_GET/SET*() to ifdef the code out. * tools/generate_wrap_init.pl.in: Put an #ifdef around use of deprecated classes.
* Depend on glib 2.9, which has new API.Murray Cumming2005-11-234-7/+63
| | | | | | | | | | | | | 2005-11-23 Murray Cumming <murrayc@murrayc.com> * configure.in: Depend on glib 2.9, which has new API. * glib/src/date.ccg: * glib/src/date.hg: Wrap glib_date_set_time_t() and glib_date_set_time_val(). Deprecate set_time(GTime) in favour of the new method overloads. Added set_time_current(), wrapping the case that the time_t is 0.
* 2.8.2:Murray Cumming2005-11-234-3/+16
| | | | | | | | 2005-11-23 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/containers.h: Do not use g_assert() in a header, because g++ sometimes warns that it has no effect.
* AL_PROG_GNU_MAKE(): Use -make instead of , which apparently fixes a buildMurray Cumming2005-10-292-1/+9
| | | | | | | | | | 2005-10-29 Murray Cumming <murrayc@murrayc.com> * scripts/macros.m4: AL_PROG_GNU_MAKE(): Use -make instead of , which apparently fixes a build problem on some Solaris systems. Thanks to Mark Rouchal in bug #307480.
* Increased versionMurray Cumming2005-10-193-2/+8
|
* Check for glib 2.8. Bug #317913.Murray Cumming2005-10-192-1/+5
| | | | | | 2005-10-19 Murray Cumming <murrayc@murrayc.com> * configure.in: Check for glib 2.8. Bug #317913.
* 2.8.0:Murray Cumming2005-09-064-32/+22
| | | | Updated NEWS and increased version to 2.8.0.
* Increased versionMurray Cumming2005-08-173-2/+8
|
* Regenerated with docextract_to_xml.py Regenerated with enums.plMurray Cumming2005-08-174-1090/+5320
| | | | | | | | 2005-08-17 Murray Cumming <murrayc@murrayc.com> * glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py * glib/src/glib_enums.defs: Regenerated with enums.pl * glib/src/glib_functions.defs: Regenerated with h2defs.py
* Stuff I forgot to commit.Murray Cumming2005-07-316-26/+119
|
* Increased versionMurray Cumming2005-06-092-1/+10
|
* 2005-06-08 Murray Cumming <murrayc@murrayc.comMurray Cumming2005-06-082-12/+36
| | | | | | | | * glib/glibmm/propertyproxy.h: PropertyProxy_ReadOnly<>::get_value(), PropertyProxy_WriteOnly<>::set_value(): Add implementations instead of casting to unrelated PropertyProxy() and calling it there. The AIX compiler did not like this hack. Bug #301610
* In get_home_dir, return an empty string when HOME is not defined (Win9x).Cedric Gustin2005-06-073-2/+11
| | | | | | | | | | 2005-06-07 Cedric Gustin <cedric.gustin@swing.be> * glib/glibmm/miscutils.cc: In get_home_dir, return an empty string when HOME is not defined (Win9x). Bug #306310 from Michael Hofmann. * glib/glibmm/miscutils.h: Updated docstring for the get_home_dir method.
* Inherit signal handler objects from sigc::trackable. This is necessaryMurray Cumming2005-04-275-4/+13
| | | | | | | | | | | 2005-04-27 Murray Cumming <murrayc@murrayc.com> * examples/child_watch/main.cc: * examples/thread/dispatcher.cc: * examples/thread/thread.cc: * glib/glibmm/dispatcher.cc: Inherit signal handler objects from sigc::trackable. This is necessary with some libsigc++ patches, though not currently necessary with regular libsigc++.
* Regenerate with enums.pl Regenerate with h2defs.py This adds theMurray Cumming2005-04-223-12/+20
| | | | | | | | | 2005-04-22 Murray Cumming <murrayc@murrayc.com> * glib/src/gmodule_enums.defs: Regenerate with enums.pl * glib/src/gmodule_functions.defs: Regenerate with h2defs.py This adds the BIND_LOCAL enum value. Bug #172748 from Phillip Neiswanger.
* output_wrap_property(): Do not add the const read-only method override ifMurray Cumming2005-04-072-0/+25
| | | | | | | | | | | | 2005-04-05 Murray Cumming <murrayc@murrayc.com> * tool/pm/Output.pm: output_wrap_property(): Do not add the const read-only method override if the property can not be read. Be careful because this removes a little API from generated code. You should hand-code the wrongly-generated methods and mark them as deprecated. * glib/glibmm/refptr.h: Added cast_const<>, like the existing cast_dynamic<> and cast_static.
* output_wrap_property(): Do not add the const read-only method override ifMurray Cumming2005-04-062-2/+10
| | | | | | | | | | 2005-04-05 Murray Cumming <murrayc@murrayc.com> * tool/pm/Output.pm: output_wrap_property(): Do not add the const read-only method override if the property can not be read. Be careful because this removes a little API from generated code. You should hand-code the wrongly-generated methods and mark them as deprecated.
* Updated with h2defs.py.Murray Cumming2005-03-312-130/+778
| | | | | | | 2005-03-31 Murray Cumming <murrayc@murrayc.com> * glib/src/glib_functions.defs: Updated with h2defs.py.
* Added MainContext::signal_child_watch() Added child_watch/ exampleYair Hershkovitz2005-03-148-6/+203
| | | | | | | | 2005-03-13 Yair Hershkovitz <yairhr@gmail.com> * glib/glibmm/main.h, glib/glibmm/main.cc: Added MainContext::signal_child_watch() * examples/: Added child_watch/ example
* Mark HEAD in the ChangeLogMurray Cumming2005-03-141-0/+3
|
* Add blank.cpp to EXTRA_DIST. Remove sarray.cc from the list of sourceCedric Gustin2005-03-0911-13/+19
| | | | | | | | | | | 2005-03-09 Cedric Gustin <cedric.gustin@swing.be> * MSVC_Net2003/Makefile.am: Add blank.cpp to EXTRA_DIST. * MSVC_Net2003/glibmm/glibmm.vcproj: Remove sarray.cc from the list of source files. * MSVC_Net2003/examples/*/*.vcproj, MSVC_Net2003/tests/glibmm_value/glibmmvalue.vcproj: Change name of PDB file to $(OutDir)/$(TargetName).pdb.
* 2.6.1:Murray Cumming2005-03-074-5/+20
| | | | | | | | 2005-03-07 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/interface.cc: Disable the new check for pre-existing interface implementations, because it checks all base gtypes and not just the current gtype. Bug #169442 by Bryan Forbes.
* Increased versionMurray Cumming2005-03-063-3/+17
|
* Increased versionMurray Cumming2005-02-233-2/+13
|
* Interface_Class:add_interface(), used by add_interface() methods ofMurray Cumming2005-02-182-6/+16
| | | | | | | | | 2005-02-18 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/interface.cc: Interface_Class:add_interface(), used by add_interface() methods of Interfaces: Do not add interfaces that have been added before, to avoid the warning from glib. This allows application code to be simpler.
* Add the documentation to the const property() accessor as well as theMurray Cumming2005-02-182-2/+8
| | | | | | | 2005-02-18 Murray Cumming <murrayc@murrayc.com> * tools/pm/Output.pm: Add the documentation to the const property() accessor as well as the non-const one.
* Use g_param_spec_get_blurb() to output the documentation for theMurray Cumming2005-02-136-6/+41
| | | | | | | | | | | | | | 2005-02-13 Murray Cumming <murrayc@murrayc.com> * tools/extra_defs_gen/generate_extra_defs.cc: Use g_param_spec_get_blurb() to output the documentation for the properties in the .defs file. * tools/m4/property.m4: Take an extra docs argument, and put it in the doxygen docs. * tools/pm/Output.pm: Add the extra docs argument when calling the property m4 macro. * tools/pm/Property.pm: Read in the new docs part of the .defs, and add a period at the end if neccessary.
* Use g_param_spec_get_blurb() to output the documentation for theMurray Cumming2005-02-132-0/+9
| | | | | | | | 2005-02-13 Murray Cumming <murrayc@murrayc.com> * tools/extra_defs_gen/generate_extra_defs.cc: Use g_param_spec_get_blurb() to output the documentation for the properties in the .defs file.
* Removed the #ifdef for AIX, because sigc::bind now works on AIX.Murray Cumming2005-02-014-25/+5
| | | | | | | 2005-02-01 Murray Cumming <murrayc@murrayc.com> * examples/threadpool.cc, dispatcher.cc, dispatcher2.cc: Removed the #ifdef for AIX, because sigc::bind now works on AIX.
* Reverted to 2.4 for the library version number.Cedric Gustin2005-01-272-1/+6
| | | | | | | 2005-01-27 Cedric Gustin <cedric.gustin@swing.be> * MSVC_Net2003/glibmm/glibmm.rc.in: Reverted to 2.4 for the library version number.
* Increased versionMurray Cumming2005-01-263-2/+17
|
* Reverted to 2.4 for the library version number.Cedric Gustin2005-01-262-1/+6
| | | | | | | 2005-01-26 Cedric Gustin <cedric.gustin@swing.be> * MSVC_Net2003/glibmm/glibmm.vcproj: Reverted to 2.4 for the library version number.
* Added MSVC_Net2003 directory. Added mkfifo #define (for mingw32). AddedCedric Gustin2005-01-2446-33/+1998
| | | | | | | | | | | | | | | | | 2005-01-24 Cedric Gustin <cedric.gustin@swing.be> * Makefile.am, configure.in: Added MSVC_Net2003 directory. * config.h.in: Added mkfifo #define (for mingw32). * glib/glibmmconfig.h.in: Added new #define's to MSVC section. * examples/iochannel_stream/Makefile.am: Do not build on win32 with mingw32 (mkfifo not available). * scripts/cxx_std.m4: Fixed typo in AC_DEFINE macros. * build_shared/Makefile_build.am_fragment: Removed $(sublib_name)_COMPILATION variable (is useless now on cygwin/mingw as all symbols are dll exported). * MSVC_Net2003/*: Initial commit imported from glibmm-2-4 branch. * MSVC_Net2003/glibmm/Makefile.am: Rewrote rule for local copy of glibmmconfig.h (required for 'make distcheck').
* Added new compiler tests to see whether extern C functions are put in theMurray Cumming2005-01-218-20/+130
| | | | | | | | | | | | | | | | | 2005-01-21 Murray Cumming <murrayc@murrayc.com> * configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added new compiler tests to see whether extern C functions are put in the global namespace, even when we use extern C inside a namespace declaration. The AIX xlC compiler does this, but allows us to redeclare the namespace inside the extern C block. * glib/glibmm/property.h: Use the new #ifdef GLIBMM_MUST_REDECLARE_NAMESPACES_INSIDE_EXTERNC and redeclare the namespace when necessary. * examples/thread/dispatcher.cc, dispatcher2.cc: Use sigc::bind<1> instead of just sigc::bind<> because the AIX xlC compiler needs the extra hint. However, the linker then fails, so the use of sigc::bind is ifdefed out for _AIX. See the comments in the code
* Added new compiler tests. 1. To see whether it allows use of non extern CMurray Cumming2005-01-2117-30/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-21 Murray Cumming <murrayc@localhost.localdomain> * configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added new compiler tests. 1. To see whether it allows use of non extern C functions as extern C callbacks, because the Tru64 compiler does not allow this, when using strict_ansi. We do not actually use this yet. 2. To see whether it allows us to define a template that uses an undefined type, even if we do not use it before defining the type. Tru64 does not allow this. That's probably correct. * glib/glibmm/container.h: #ifdef out a dynamic_cast that Tru64 does not allow, and which I can not think of a better place to put. See the comment in the code. * glib/glibmm/containerhandler_helpers.h: When the compiler does not alllow the GObject and GtkObject (dynamic_cast of) specializations here, then put them in glib/glibmm/object.h and gtkmm/gtk/src/object.hg instead.- needed by Tru64 compiler. * glib/glibmm/value.h, value_custom.[h|cc]: Conditionally moved the RefPtr Value specialization into object.h, as above. * glib/src/ optiongroup.ccg, spawn.ccg, thread.ccg: Make C callacks separate extern C. * glib/src/optiongroup.ccg: Do not use the StringArrayHandle, because the Tru64 compiler has problems with it - see comments in code. * glib/src/optionentry.hg: Remove the include of value.h, because it is not used and it causes a Tru64 compile error in optioncontext.cc because its templates are included before the types that the template uses. 2005-01-19 Murray Cumming <murrayc@murrayc.com> * configure.in, scripts/cxx.m4, glibmm/glibmmconfig.h.in: Added a compiler test, because the IRIX MipsPro compiler does not allow the inline initialization of ustring::npos. * glib/glibmm/ustring.[h|cc]: When the compiler does not support the inline initialization of npos, initialize it in the .cc file. Declare partial specializations of the SequenceString inner class inside the class - needed by IRIX MipsPro compiler.
* Temporarily reverted some stuff. I will recommit some of it.Murray Cumming2005-01-2124-711/+103
|
* #include glibmmconfig.h so thatMurray Cumming2005-01-213-1/+10
| | | | | | | | | | 2005-01-21 Murray Cumming <murrayc@localhost.localdomain> * glib/glibmm/class.h: #include glibmmconfig.h so that GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS can be defined. * glib/glibmm/class.cc: Use ifdef instead of ifndef where that is what I meant. Fixes the build.
* Fix the buildMurray Cumming2005-01-202-7/+1
|
* I mean Tru64, not MipsProMurray Cumming2005-01-209-21/+34
|
* More use of exern C, with an intermediate callback, to satisfy the IRIXMurray Cumming2005-01-205-0/+53
| | | | | | | | | | 2005-01-20 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/class.h: More use of exern C, with an intermediate callback, to satisfy the IRIX MipsPro compiler. * glib/glibmm/container.h: #ifdef out a dynamic_cast that MipsPro does not allow, and which I can not think of a better place to put. See the comment in the code.