2010-06-17 Mikkel Kamstrup Erlandsen <kamstrup@hardback>
* src/zeitgeist-timestamp.c:
* src/zeitgeist-timestamp.h:
* tests/test-timestamp.c:
* bindings/zeitgeist-1.0-custom.vala:
* bindings/zeitgeist-1.0.gi:
* bindings/zeitgeist-1.0.metadata:
* bindings/zeitgeist-1.0.namespace:
* bindings/zeitgeist-1.0.vapi:
* doc/reference/zeitgeist-1.0-docs.sgml:
* doc/reference/zeitgeist-1.0-sections.txt:
* src/Makefile.am:
* src/zeitgeist-event.c:
* src/zeitgeist-timerange.c:
* src/zeitgeist-timerange.h:
* src/zeitgeist.h:
* tests/Makefile.am:
Merge lp:~libzeitgeist-developers/libzeitgeist/timestamps. WARNING: This causes an API break.
Add a new namespace Zeitgeist.TimeStamp/zeitgeist_timestamp with convenience functions and constants for dealing with timestamps.
The following macros have been changed:
- ZEITGEIST_TIMESTAMP_TO_GTIMEVAL is now zeitgeist_timestamp_to_timeval
- ZEITGEIST_GTIMEVAL_TO_TIMESTAMP is now zeitgeist_timestamp_from_timeval
2010-06-17 Mikkel Kamstrup Erlandsen <kamstrup@hardback>
* bindings/zeitgeist-1.0-custom.vala:
* bindings/zeitgeist-1.0.gi:
* bindings/zeitgeist-1.0.metadata:
* bindings/zeitgeist-1.0.namespace:
* bindings/zeitgeist-1.0.vapi:
Vala: The Zeitgeist.Timestamp namespace should still include zeitgeist.h not zeitgeist-1.0-custom.h
2010-06-17 Mikkel Kamstrup Erlandsen <kamstrup@hardback>
* bindings/zeitgeist-1.0-custom.vala:
* bindings/zeitgeist-1.0.vapi:
Update VAPI with new Zeitgeist.Timestamp bindings and remove timestamp_to_timeval() and timeval_to_timestamp()
2010-06-17 Mikkel Kamstrup Erlandsen <kamstrup@hardback>
* bindings/zeitgeist-1.0-custom.vala:
* bindings/zeitgeist-1.0.vapi:
* src/zeitgeist-result-set.h:
Sync with trunk
2010-06-17 Mikkel Kamstrup Erlandsen <kamstrup@hardback>
* tests/test-timestamp.c:
* doc/reference/zeitgeist-1.0-sections.txt:
* src/zeitgeist-timestamp.c:
* src/zeitgeist-timestamp.h:
* tests/Makefile.am:
Add some tests for timestamp handling
Fix rounding errors where gint64 conversions where used
Add the methods zeitgeist_timestamp_to_date, zeitgeist_timestamp_from_dmy, and zeitgeist_timestamp_from_date
2010-06-17 Mikkel Kamstrup Erlandsen <kamstrup@hardback>
* doc/reference/zeitgeist-1.0-docs.sgml:
* doc/reference/zeitgeist-1.0-sections.txt:
* src/zeitgeist-timestamp.c:
Hook up gtk-docs for the new zeitgeist-timestamp APIs
2010-06-17 Mikkel Kamstrup Erlandsen <kamstrup@hardback>
* src/zeitgeist-event.c:
* src/zeitgeist-timerange.c:
* src/zeitgeist-timerange.h:
* src/zeitgeist-timestamp.c:
* src/zeitgeist-timestamp.h:
API BREAK: Implement initial stab add convenience functions for dealing with timestamps
The following macros have been changed:
- ZEITGEIST_TIMESTAMP_TO_GTIMEVAL is now zeitgeist_timestamp_to_timeval
- ZEITGEIST_GTIMEVAL_TO_TIMESTAMP is now zeitgeist_timestamp_from_timeval
2010-06-16 Mikkel Kamstrup Erlandsen <kamstrup@hardback>
* src/zeitgeist-timestamp.c:
* src/zeitgeist-timestamp.h:
* src/Makefile.am:
* src/zeitgeist.h:
Import stub source files to hold the timestamp code and wire it up in the build system
2010-06-17 Mikkel Kamstrup Erlandsen <kamstrup@hardback>
* bindings/zeitgeist-1.0-custom.vala:
* bindings/zeitgeist-1.0.vapi:
* src/zeitgeist-result-set.h:
Vala: Patch from Michal Hruby to not ref the Events when iterating over a ResultSet with foreach
2010-06-16 Mikkel Kamstrup Erlandsen <kamstrup@hardback>
* bindings/zeitgeist-1.0.metadata:
Mark the Cancellable argument for Zeitgeist.Index.search() as nullable in the VAPI metadata
2010-06-16 Mikkel Kamstrup Erlandsen <kamstrup@hardback>
* src/zeitgeist-timerange.h:
Doc typo