summaryrefslogtreecommitdiff
path: root/glib/glibmm/arrayhandle.h
Commit message (Collapse)AuthorAgeFilesLines
* ArrayHandle: Make it compilable with MSVC 2005, 2008, 2010.Krzesimir Nowak2011-03-291-43/+52
| | | | | | * glib/glibmm/arrayhandle.h: Put operator std::container methods definitions inside class template definition. Also added decrementation operators for ArrayHandleIterator for MSVC 2005.
* Vectorutils, ArrayHandle: Check for NULL pointers.Krzesimir Nowak2011-03-211-6/+6
| | | | | | | | | | | | | | | * glib/glibmm/vectorutils.[h|cc]: Don't crash in compute_array_size2, when NULL is passed - in that case just return 0. Also, array_to_vector method return empty vector in such case. * glib/glibmm/arrayhandle.[h|cc]: Set array_size to zero if passed array is NULL. * tests/glibmm_null_vectorutils/main.cc: New test for NULL arrays and lists for vectorutils. * tests/glibmm_null_containerhandle/main.cc: New test for NULL arrays and lists for containerhandles. * tests/Makefile.am: Added new tests to build. Spotted by Kalev Lember. Bug #645245.
* Fix the build with --enable-warnigns=fatal.Murray Cumming2011-02-211-2/+2
| | | | | | * glib/glibmm/arrayhandle.h: Remove some typename keywords to avoid this compiler warning: "error: using ‘typename’ outside of template"
* Added bool specialization for Glib::ArrayHandle.Krzesimir Nowak2011-02-211-0/+214
| | | | | | | | | | | * glib/glibmm/arrayhandle.h: Added specialization for bool ArrayHandle. This is needed because std::vector<bool> is a specialization for which iterators does not return a reference to actual value it holds. * glib/glibmm/arrayhandle.cc: New file implementing destructor of bool ArrayHandle - the only method that is not inlined. * tests/glibmm_bool_arrayhandle/main.cc: New file implementing test checking if bool ArrayHandle actually works. * tests/Makefile.am: Added new test to build.
* ArrayHandle, ListHandle, SListHandle: Document these as almost-deprecated.Murray Cumming2011-01-281-2/+13
| | | | | | | | | | * glib/glibmm/arrayhandle.h: * glib/glibmm/listhandle.h: * glib/glibmm/slisthandle.h: Mention that we try not to use these now, though we cannot actually deprecate them yet without forcing other libraries such as pangomm to deprecate the methods that use them, which they cannot really do because they cannot just add a method overload without introducing ambiguity.
* Get rid of all uses of GLIBMM_USING_STD()Daniel Elstner2009-08-161-3/+1
| | | | | | | | | | * glib/src/*.{ccg,hg}: Remove all uses of GLIBMM_USING_STD(). We definitely do not need this anymore, and probably never did. We never covered all symbols from namespace std anyway and never got any complaint about it. Also, be careful to always include the glibmmconfig.h header when it is needed. * glib/glibmm/*.{cc,h}: ditto. * glib/glibmmconfig.h.in: Clean up and re-indent.
* Change license header to mention Lesser General Public License version 2.1Deng Xiyue2009-01-191-4/+4
| | | | | | | | | | 2009-01-20 Deng Xiyue <manphiz@gmail.com> * Change license header to mention Lesser General Public License version 2.1 instead of Library General Public License, to be consistent with COPYING. svn path=/trunk/; revision=779
* 2003-04-21 Murray Cumming <murrayc@localhost.localdomain>commit -mMurray Cumming2003-04-211-4/+4
|
* GTKMM_ m4 tests and #defines are now prefixed with GLIBMM_Murray Cumming2003-01-221-4/+4
| | | | | | 2003-01-22 Murray Cumming <murrayc@usa.net> * GTKMM_ m4 tests and #defines are now prefixed with GLIBMM_
* Initial revisionMurray Cumming2003-01-071-0/+522