Ryan Lortie
1cf14de82f
docs: Recommend against using GTimeVal
2010-11-02 22:39:09 -04:00
Ryan Lortie
5dab4727ee
Add g_get_real_time() for wall-clock int64 micros
...
Similar in spirit to g_get_monotonic_time().
2010-11-02 22:39:09 -04:00
Ryan Lortie
92df8a1d77
Drop GTimeSpec type
2010-11-02 22:39:09 -04:00
Ryan Lortie
29ce7385bb
Add g_get_environ(): portable access to 'environ'
...
Return a copy of 'environ' on platforms where that is possible, or do
something else on other platforms.
2010-10-28 22:20:56 -04:00
Ryan Lortie
7c184df292
Bug 158725 - free linked list with data
...
Add some helpers for freeing a linked list along with its elements by
providing a GDestroyNotify to call on each of them.
Add a test.
Based on a patch from Cosimo Cecchi.
2010-10-28 11:20:57 -04:00
Ryan Lortie
b7d8363fbe
Add g_source_get_time()
...
Cached version of g_get_monotonic_time() that does similar to what
g_source_get_current_time() does for g_get_current_time().
2010-10-27 09:22:12 -04:00
Ryan Lortie
ab548d240a
Add g_get_monotonic_time()
...
Gets the system monotonic time on systems that have it. Otherwise, call
g_get_current_time().
2010-10-27 09:22:12 -04:00
Ryan Lortie
ac82e74895
Add 'GTimeSpec' as 'struct timespec' equivalent
2010-10-27 09:22:12 -04:00
Matthias Clasen
727c2a58c2
Add new gmain api to the docs
2010-10-25 08:30:28 -04:00
Ryan Lortie
fff6814973
Bug 630077 - GDateTime week number support
...
Fully implement support for ISO 8601 week dates in GDateTime and
document that this is the case.
Add an exhaustive test case to ensure correctness.
2010-10-01 11:20:55 -04:00
Ryan Lortie
dda9707377
release 2.27.0
2010-09-17 18:32:35 -04:00
Ryan Lortie
5109778e93
.gitignore some sgml
2010-09-17 13:20:17 -04:00
Ryan Lortie
6b0e31ce48
Clean-up/tweaking of GDateTime and GTimeZone
2010-09-17 11:40:10 -04:00
Emmanuele Bassi
67f1e52ce2
datetime: Rework time zone support in constructors
...
Timezone handling is complicated. Really complicated.
In order to simplify it a little bit, we need to expose the GTimeZone
structure.
First of all, we allow creating time zone information directly from the
offset and the DST state, and then pass it to the g_date_time_new_full()
constructor. We also need to clean up the mess that is UTC-vs.-localtime
for the other constructors.
We also allow creating a GTimeZone from the Olson zoneinfo database
names; a time zone created like this will be "floating": it will just
reference the zoneinfo file - which are mmap()'ed, kept in a cache and
refcounted. Once the GTimeZone has been associated with a GDateTime, it
will be "anchored" to it: the offset will be resolved, as well as the
DST state.
https://bugzilla.gnome.org/show_bug.cgi?id=50076
2010-09-17 11:40:10 -04:00
David Zeuthen
3d8095588a
Fix tmpl files
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-09-09 12:00:39 -04:00
Emmanuele Bassi
64300c0cc4
datetime: Add get_week_of_year()
...
https://bugzilla.gnome.org/show_bug.cgi?id=628029
Based on a patch by: Joseph Pingenot
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
2010-09-06 11:50:30 +01:00
Jon Nordby
fb15dde6c1
docs: Inline docs from tmpl/memory.smgl
2010-09-01 09:48:16 +02:00
Emmanuele Bassi
250b1d576b
docs: Fix the section name for GDateTime
2010-08-25 16:13:24 +01:00
Emmanuele Bassi
96dc06e6e0
docs: Add GDateTime to the GLib API reference
2010-08-24 23:41:21 +01:00
Emmanuele Bassi
d62eb80c54
docs: Mention TZDIR
...
The timezone code in GDateTime honours the TZDIR environment variable,
so it should be mentioned in the list of variables GLib checks at
runtime.
2010-08-24 23:41:21 +01:00
Simon McVittie
c29d800d84
GVariant: be more explicit about adopting and returning floating refs
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=622770
2010-08-13 22:42:24 -04:00
Matthias Clasen
43c0aa9ebe
Replace the explicit list of character categories by a reference
...
to the GUnicodeType docs.
2010-08-08 23:55:12 -04:00
Matthias Clasen
4e42893369
Refer to GUnicodeScript docs instead of listing scripts explicitly
2010-08-08 23:55:11 -04:00
Matthias Clasen
733d209b14
Move GRegex docs inline
2010-08-08 23:55:11 -04:00
Matthias Clasen
def0dc01f7
Move GConvert docs inline
2010-08-08 23:55:11 -04:00
Ryan Lortie
e88eb04865
Prepare to release glib 2.25.13
2010-08-06 16:48:19 -04:00
Philip Withnall
abe820e0d9
Expand documentation about error quark naming
...
Closes: bgo#625827
2010-08-05 08:49:54 +01:00
David Zeuthen
173977a701
GCredentials: use effective uid/gid
...
Otherwise e.g. setuid root processes can't connect to the system
bus. This was discovered when porting PolicyKit's pkexec(1) command to
a PolicyKit library using GDBus.
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-07-30 11:26:43 -04:00
Ryan Lortie
1a06bd8d3f
Update the GDBus subtree example for the new API
2010-07-19 15:03:54 -04:00
Stefan Kost
463edcb045
docs: xi:include the annotation glossary to kill warnings and make them work
2010-07-14 11:57:36 +03:00
Ryan Lortie
0bb7cc3fce
Remove GUnixVolumeMonitor, GUnixMount from docs
...
David says that they're supposed to be private.
2010-07-13 09:24:16 -04:00
Ryan Lortie
5344c22810
gio/ docs fixup
2010-07-12 18:30:14 -04:00
Ryan Lortie
adde752ec5
More docs fixes
...
Remove the g*alias.h from the ignore lists
Remove other old files from ignore lists
Clean up gobject docs
2010-07-12 17:46:17 -04:00
Ryan Lortie
de5afbc7cc
More gtk-doc cleanups for glib/
2010-07-12 17:32:44 -04:00
Ryan Lortie
7791fce38a
Fix some glib docs warnings
...
Remove some symbols from glib-sections.txt that gtk-doc has no idea
about.
Add proper callback typedefs for GTester (gtk-doc dislikes inline
function types).
Fix some other minor issues.
2010-07-12 16:56:52 -04:00
Ryan Lortie
90285b0643
Bump gtk-doc dependency to 1.15
...
Use the multiple source-directory support contained therein.
2010-07-12 15:33:05 -04:00
Ryan Lortie
be247c24c6
This is glib 2.25.11
2010-07-11 12:51:33 -04:00
Matthias Clasen
358b9d6ac7
Move main loop docs inline
2010-07-10 23:56:45 -04:00
Matthias Clasen
ab8cb652c8
Fix a typo
2010-07-10 23:56:45 -04:00
Matthias Clasen
e57291efdc
Move docs for atomic operations inline
2010-07-10 23:56:45 -04:00
Matthias Clasen
e8503fddee
Move GAsyncQueue docs inline
2010-07-10 23:56:45 -04:00
Matthias Clasen
e302e919e5
Remove dead links from the IEEE float documentation
2010-07-08 19:52:36 -04:00
Matthias Clasen
0c357a2d14
Improve the long description of GString
...
It is more similar to a Java StringBuffer than to a C string.
See bug 612439.
2010-07-08 19:37:31 -04:00
Matthias Clasen
e0017f24c5
Move uri conversion functions to a better place in the docs
...
g_filename_from/to_uri are better off in the section called
"URI functions". Requested in bug 582227.
2010-07-08 17:40:13 -04:00
Ryan Lortie
d9e90c3894
GVariant: improve bytestring support
...
- add G_VARIANT_TYPE_BYTESTRING, _BYTESTRING_ARRAY, _STRING_ARRAY
- remove g_variant_{new,get}_byte_array functions
- add g_variant_{new,get,dup}_bytestring{,_array} functions
- remove undocumented support for deserialising arrays of objectpaths
or signature strngs using g_variant_get_strv()
- add and document new format strings '^ay', '^&ay', '^aay' and '^a&ay'
- update GApplication to use the new API
- update GSettings binding code to use the new API
- add tests
2010-07-07 16:25:48 -04:00
Ryan Lortie
6ae4d31e75
trivial GSettings docs fix
2010-07-07 10:46:13 -04:00
Javier Jardón
95c4ec1056
[docs] Fix typo
2010-06-21 17:28:15 +02:00
Matthias Clasen
cca48bd5b9
Add support for coverage reports with lcov
...
Patch by Patrick Hulin, bug #501057 .
2010-06-20 22:46:47 -04:00
Ryan Lortie
ede159ec45
Add enum type for GVariantParseError
2010-06-20 12:31:37 -04:00
Matthias Clasen
9a85f654c7
Add new scripts to docs
2010-06-20 11:20:54 -04:00