| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GTimeVal has been deprecated in glib. Remove its wrapping in glibmm.
* examples/dbus/server_without_bus.cc:
* examples/dbus/session_bus_service.cc: Replace TimeVal by DateTime.
* gio/src/fileinfo.[ccg|hg]: Remove [set_]modification_time().
Add set/get_modification_date_time().
* glib/glibmm.h:
* glib/glibmm/filelist.am: Remove timeval.
* glib/glibmm/timeval.[cc|h]: Removed files.
* glib/src/date.[ccg|hg]: Remove set_time(const GTimeVal& timeval).
* glib/src/datetime.[ccg|hg]: Remove create_now_local/utc(const TimeVal& tv)
and to_timeval(). Add create_from_iso8601(), format_iso8601() and
operator bool().
* tools/m4/convert_glib.m4:
* tools/m4/convert_gio.m4: Remove conversions for GTimeVal.
|
|
|
|
| |
Bug 786824
|
|
|
|
| |
Bug 86864
|
| |
|
|
|
|
| |
This seems to work.
|
|
|
|
|
| |
Using std::unique_ptr. ScopedPtr is now deprecated.
Bug #760223
|
| |
|
| |
|
|
|
|
| |
*.[hg|ccg]: Remove uselless Subversion tags.
|
|
|
|
|
|
|
| |
* build/c_std.m4:
* glib/src/date.[hg|ccg]: Use std::time_t instead of ::time_t. Only
std::time_t is required to be declared in <ctime>, which is recommended
instead of <time.h> in C++ programs.
|
|
|
|
|
|
|
| |
* glib/src/date.ccg: The latter function is deprecated. This fixes
the build with the master branch of glib with deprecations disabled
though there's one small error related to the Threads discussion on
the mailing list that will still have to be looked at.
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Removed the --enable-api-exceptions, --enable-api-properties,
--enable-api-vfuncs and --enable-api-default-signal-handlers options.
* build/reduced.m4: Removed.
* tools/m4/*.m4:
* tools/pm/Output.pm: Remove any use of ifdefs and auto_ptr for reduced API.
* *.[hg|ccg|h|cc]: Remove the idefed code.
|
|
|
|
|
|
|
| |
* gio/src/*.ccg
* glib/src/*.ccg: Use 0 instead of NULL because this is C++ where
NULL is generally not a good idea. I didn't see any places where it
was a real problem though.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* glib/glibmm/timeval.cc:
* glib/glibmm/timeval.h: Wrapped g_time_val_from_iso8601() and
g_time_val_to_iso8601().
* glib/src/date.ccg:
* glib/src/date.hg: Wrapped g_date_get_iso8601_week_of_year().
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=749
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-09 José Alburquerque <jaalburqu@svn.gnome.org>
* glib/src/date.ccg:
* glib/src/date.hg: Added copy constructor and assignment operator;
Made GDate constructor visible.
* configure.in:
* tests/Makefile.am:
* tests/glibmm_date/Makefile.am:
* tests/glibmm_date/main.cc: Added simple test to test Glib::Date.
svn path=/trunk/; revision=661
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-28 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm/error.cc:
* glib/glibmm/exception.cc:
* glib/src/convert.ccg:
* glib/src/date.ccg: Include glib.h instead of gmessages.h or
gtestutils.h so this builds with all versions of glib.
svn path=/trunk/; revision=474
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-22 Murray Cumming <murrayc@murrayc.com>
* Merged this change from 2007-03-03 from the glibmm-2-12 branch, which was
missing from this branch:
* configure.in:
* glib/glibmmconfig.h.in:
* glib/src/date.ccg:
* glib/src/date.hg:
* scripts/Makefile.am:
* scripts/c_std.m4: Added a test for the case that time_t is equivalent to
guint32, as seems to be the case on NetBSD-4.99.6/amd64, so we can ifdef-out
the (deprecated, anyway) Glib::Date::set_time(GTime) method when necessary, because
GTime is also equivalent to guint32.
Bug #386990.
svn path=/trunk/; revision=456
|
|
|
|
|
|
|
| |
2006-07-16 Jonathon Jongsma <jonathon.jongsma@gmail.com>
* glib/src/date.ccg: fix implementation of Glib::Date::set_time_current() so
that it doesn't set the date to Dec 31, 1969.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
2004-01-22 Murray Cumming <murrayc@usa.net>
* glib/date.[hg|ccg]: Added clamp_min() and clamp_max() to wrap the
case where g_date_clamp() takes null values.
|
| |
|
|
|