Matthias Clasen
f570cf99b3
Doc cleanups
2010-02-09 09:16:23 -05:00
Ryan Lortie
3443f47ddf
G{Byte,Ptr,}Array: move docs from tmpl to .c
2010-02-01 12:39:29 -05:00
Ryan Lortie
501a2906d3
GList, GSList: move docs from tmpl to .c
2010-02-01 12:39:24 -05:00
Ryan Lortie
c8c5c5a991
remove trailing whitespace breaking .gitignore
2010-02-01 10:28:39 -05:00
Ryan Lortie
4bdf7d12a8
GIOChannel: move docs from tmpl to .c
2010-02-01 10:28:39 -05:00
Ryan Lortie
4353151449
GTree, GNode: move docs from tmpl to .c
2010-02-01 10:28:39 -05:00
Ryan Lortie
d81506a154
GThreadPool: move docs from tmpl to .c
2010-02-01 10:28:39 -05:00
Ryan Lortie
c471468ca4
GRelation: move docs from tmpl to .c
2010-02-01 10:28:39 -05:00
Ryan Lortie
21a6b69f4f
GCache: move docs from tmpl to .c
2010-02-01 10:28:39 -05:00
Ryan Lortie
fa7cafae5c
GChecksum: move docs from tmpl to .c
2010-02-01 10:28:39 -05:00
Ryan Lortie
5ee096636b
GCompletion: move docs from tmpl to .c
2010-02-01 10:28:39 -05:00
Ryan Lortie
6d52d34dff
data{list,sets}, quarks: move docs from tmpl to .c
2010-01-30 23:34:19 -05:00
Ryan Lortie
c7000fcfec
GPattern: move docs from tmpl to .c
2010-01-30 23:10:34 -05:00
Ryan Lortie
84572f81bf
String chunks: move docs from tmpl to .c
2010-01-30 23:04:52 -05:00
Ryan Lortie
4431ac5dda
Move allocator and memchunk docs from tmpl to .c
2010-01-30 22:58:43 -05:00
Ryan Lortie
3a161ee8f3
GSequence: move docs from tmpl to .c
2010-01-30 22:19:29 -05:00
Ryan Lortie
0ab7bb4b18
GShell: move docs from tmpl to .c
2010-01-30 22:15:50 -05:00
Ryan Lortie
f6482a1eaa
GTimer: move docs from tmpl to .c
2010-01-30 22:12:22 -05:00
Ryan Lortie
4c58a85dd1
Revert accidental commit "dirt"
...
This reverts commit c46bc6ba1f
.
2010-01-30 16:00:51 -05:00
Ryan Lortie
c46bc6ba1f
dirt
2010-01-30 13:30:00 -05:00
Ryan Lortie
6857767b86
move threads docs to .c
2010-01-30 13:30:00 -05:00
Ryan Lortie
4234481855
GIOChannel: fill in missing docs
2010-01-30 13:30:00 -05:00
Ryan Lortie
d51b6c471a
GRand: move docs from tmpl to inline comments
2010-01-30 12:32:37 -05:00
Ryan Lortie
c73d281843
GHash: move docs from tmpl to inline comments
2010-01-28 22:36:48 -05:00
Ryan Lortie
669b0f2d6b
Bug 548967 - 1 bit mutex lock
...
Add support for a mutex lock that consumes only one bit of storage
inside of an integer on systems that support futexes. Futex is emulated
(at a higher cost) on systems that don't have it -- but only in the
contended case.
2010-01-28 12:40:46 -05:00
Ryan Lortie
595cad2531
glib docs: Delete and ignore empty .tmpl files
2010-01-28 12:40:45 -05:00
Behdad Esfahbod
082ff883b6
Improve type documentation
2010-01-26 16:12:20 -05:00
Matthias Clasen
f13804f68e
Minor docs update
2010-01-25 12:46:35 -05:00
Ryan Lortie
0ccb288da1
merge GVariantType
...
GVariantType is the type system for GVariant
2010-01-25 11:27:28 -05:00
Alexander Larsson
fa2bced1f3
Enable threads in g_type_init()
...
This means threads will be supported for all gobject libraries/applications
and initialized early enough to not cause any problems.
This solves the problem of libraries needing threadsafety. Previosly
they just called g_threads_init() anyway, which often works but sometimes
breaks in unexpected ways.
See this thread for more details:
http://mail.gnome.org/archives/gtk-devel-list/2009-November/msg00208.html
https://bugzilla.gnome.org/show_bug.cgi?id=606775
2010-01-12 21:37:29 +01:00
Alexander Larsson
0df3ca8f9b
Relax g_thread_init() requirements
...
We now allow g_thread_init(NULL) to be called after other glib calls (with
some minor limitations). This is mainly a documentation change as this
really was already possible.
We also allow g_thread_init() to be called multiple times. Only the
first call actually initializes the threading system, further calls
are ignored (but print a warning if the argument is not NULL).
https://bugzilla.gnome.org/show_bug.cgi?id=606775
2010-01-12 21:37:20 +01:00
Stefan Kost
7211f7f8eb
docs: switch to xi:inbclude for the content to save some more seconds
2010-01-07 11:34:01 +02:00
Stefan Kost
00db5238d9
docs: switch to xi:inbclude for the content to save some more seconds
2010-01-07 11:34:00 +02:00
Stefan Kost
d01e2527ce
docs: use xi:include to use the generated indexes if available.
...
This works transparantly for people with new enough gtk-doc (>=1.11) and
significantly improves the build time.
2010-01-07 11:34:00 +02:00
Paolo Borelli
568cd48365
Add GUtf8InputStream - Bug #603270
...
Add a filter input stream that performs utf8 validation.
2009-12-06 15:23:33 +01:00
Dan Winship
91d96350a7
Add G_DEFINE_INTERFACE
...
This is a macro similar to G_DEFINE_TYPE but it lets you define
interfaces rather than classes.
For discussion, see bug #320482
2009-12-01 10:44:42 +01:00
Ryan Lortie
74a970f754
Add byteswap macros for gsize/gssize.
2009-11-30 19:53:30 -05:00
Matthias Clasen
2532707ce4
2.23.0
2009-11-30 00:09:36 -05:00
Matthias Clasen
8907bfee86
Fix up GIO docs
2009-11-29 22:54:16 -05:00
Alexander Larsson
7d51c96e5e
Add G_IMPLEMENT_INTERFACE_DYNAMIC
...
Convenience macro to easy interface addition for dynamic types.
https://bugzilla.gnome.org/show_bug.cgi?id=508157
2009-11-26 11:20:18 +01:00
Ryan Lortie
3d7edc137e
Bug 601637 - add GUnixFDList
...
change GUnixFDMessage to contain a GUnixFDList.
add test case for GUnixFDMessage and GUnixFDList.
update docs.
2009-11-24 17:55:57 -05:00
Ryan Lortie
c005878ae7
Bug 585566 - GSocketListener API issues
...
Add a new function, g_socket_listener_add_any_inet_port(), to deal with
the desired use case.
2009-11-19 10:04:27 -06:00
Ryan Lortie
983a717fa6
Bug 535159 - g_file_has_parent
...
- add a g_file_has_parent() function as a wrapper around
g_file_get_parent()
2009-11-17 20:27:38 -06:00
Javier Jardón
18b3ff33af
Don't mention g_utf32_to_utf8() and g_utf8_to_utf32()
...
These functions doesn't exist.
Suggest to use g_ucs4_to_utf8/g_utf8_to_ucs4 to produce the UTF-8
representation of a gunichar
This fix bug: https://bugzilla.gnome.org/show_bug.cgi?id=601874
2009-11-16 00:09:16 +01:00
Javier Jardón
96bf69d4cc
Suggest the use of G_STRFUNC
...
Suggest G_STRFUNC in the documentation of the deprecated functions
G_GNUC_PRETTY_FUNCTION and G_GNUC_FUNCTION
2009-11-15 23:58:23 +01:00
Tomas Bzatek
e95a3b0576
Documentation fixes
2009-10-13 16:21:42 +02:00
Matthias Clasen
4c633ff0b5
2.22.0
2009-09-22 16:57:08 -04:00
Matthias Clasen
9203da305b
some doc updates
2009-09-22 12:36:50 -04:00
Alexander Larsson
a830fbd62c
Document new gdb macros
2009-09-21 15:39:00 +02:00
Dan Winship
f393e80587
Clarify g_ptr_array_set_size() docs re: free_func
2009-09-08 11:19:13 -04:00
Benjamin Otte
4114f1214c
Bug 594034 - Use g_mkstemp_full() when creating the replacement file
...
Previous code used g_mkstemp(). But when using
G_FILE_CREATE_REPLACE_DESTINATION, no attempt was made to ensure proper
mode and flags of the created temporary file. The visible issue was that
the file was always created with mode 0600 as opposed to using 0666.
(The invisible issue was that O_RDWR was used instead of O_WRONLY.)
2009-09-04 22:45:57 +02:00
Benjamin Otte
24bec5c5bd
Bug 594034 - Add g_mkstemp_full()
...
This function exposes more variables than g_mkstemp() and therefor
allows more flexibility when creating temporary files.
The intended use is gio's code for g_file_replace() (see next patch)
2009-09-04 22:45:07 +02:00
Matthias Clasen
eadef0325a
Documentation fixes
2009-08-24 13:34:38 -04:00
Benjamin Otte
63426886ff
Add g_cancellable_release_fd()
...
This patch only adds the function. The function is a NOP.
See the API documentation for a rationale.
Part of: Bug 591388 - number of GCancellables available is too limited
2009-08-19 11:02:05 +02:00
Craig Loftus
a465508e2d
Migrate gbase64 docs from SGML template to inline comments
...
Fixes bug #589649 .
Signed-off-by: David King <davidk@openismus.com>
2009-08-10 15:40:01 +02:00
Philip Withnall
93d40918c5
Added clarification to mutex free functions
...
Clarified that it is A Bad Idea to free a mutex when it's locked.
2009-08-06 18:02:11 +01:00
Tristan Van Berkom
aac978ec72
Added clarification to GArray->len documentation
...
Clarify that GArray->len does not include the possible
terminating zero element.
2009-07-21 12:58:39 -04:00
Matthias Clasen
9c278ded7d
2.21.4
2009-07-17 20:31:28 -04:00
Benjamin Otte
6f48065958
Fix a typo in GRegex documentation
2009-07-09 15:35:43 +02:00
Ryan Lortie
10ba0c2e5c
Merge branch 'tree-refcount'
2009-07-07 09:45:31 +01:00
Matthias Clasen
400959ddbd
2.21.3
2009-07-06 00:31:47 -04:00
Matthias Clasen
f043439d78
Ignore gfileinfo-priv.h
2009-07-05 22:24:14 -04:00
David Zeuthen
99a1c47343
Allow interaction when unmounting mounts
...
For details, see bug 587482. The new api:
- Provide new _with_operation() variants of all unmount and eject methods
- Add GMountOperation::show-processes signal
- this can be used to show processes blocking an unmount operation
- Deprecate all unmount and eject methods
- Add g_drive_can_start_degraded() method
- this is to avoid auto-starting degraded drives
- Make g_drive_stop() resp. g_file_stop_mountable() take a GMountOperation
- these ops were recently added and not yet public API so it's fine
to change how they work
- Provide a way to poll mountable files, e.g. g_file_poll_mountable()
- Add some missing file attributes for mountable files
- G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE
- needed for the GDU Nautilus extensions to format a volume
- G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED:
- mimics g_drive_can_start_degraded()
- G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL:
- mimics g_drive_can_poll_for_media()
- G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC
- mimics g_drive_is_media_check_automatic()
2009-07-05 21:59:38 -04:00
Ryan Lortie
8792d862db
GTree: switch to GSlice, add refcounts ( #587773 )
2009-07-05 12:30:54 +01:00
Christian Persch
18e0bcf02f
Add @basename@ substitution to glib-mkenums
...
Move man page addition to the right place. Bug #587307 .
2009-07-03 21:20:11 +02:00
Dan Winship
4363f1932f
Add g_main_context_push_thread_default() etc
...
This allows applications to use async methods from other threads, or
in multiple independent main loops.
http://bugzilla.gnome.org/show_bug.cgi?id=579984
2009-07-01 09:02:23 -04:00
Matthias Clasen
160c39a9af
Move some uri functions to a better place
2009-06-26 23:18:17 -04:00
Matthias Clasen
35911ae00f
Fix a typo
2009-06-26 23:09:35 -04:00
David Zeuthen
0ccd18bc83
Bug 586675 – Runtime library location
...
Introduce an option to specify the runtime location for libraries via
a relative path to libdir.
Signed-off-by: David Zeuthen <davidz@redhat.com>
2009-06-23 12:58:35 -04:00
Ryan Lortie
4c791f49e5
GMappedFile: add refcounting, switch to GSlice
...
- add g_mapped_file_ref() and g_mapped_file_unref().
- deprecate g_mapped_file_free().
- move to GSlice for allocating the GMappedFile struct.
2009-06-18 15:01:18 -04:00
David Zeuthen
fae755e056
Bug 585591 – Starting/stopping drives
...
Add API for starting/stopping drives. This new API will enable
GVolumeMonitor and GVfs implementations to add support for the
following features
1. Powering down external hard disk enclosures / drives
2. Starting/stopping multi-disk devices (such as RAID/btrfs/ZFS)
3. Connecting/disconnecting iSCSI devices
4. Reacting to the user pressing e.g. the "remove drive" button on
a IBM/Lenovo Ultrabay: http://www.thinkwiki.org/wiki/Ultrabay
See the bug for the corresponding GVfs and Nautilus changes.
2009-06-15 10:59:43 -04:00
Matthias Clasen
2553df615d
Refer to the correct gcc deprecation options
...
This oversight was pointed out in bug 585520.
2009-06-15 01:09:25 -04:00
Matthias Clasen
2c5ac901d9
Fix some typos in list documentation
...
This fixes bug 585726.
2009-06-15 01:03:54 -04:00
Ryan Lortie
f7d756f5b6
add g_socket_speaks_ipv4()
...
Partial fix for Bug 585575.
2009-06-12 12:21:07 -04:00
Benjamin Otte
139af6f700
update the overview image of the gio docs
...
The old image was confusing and after some discussions in #nautilus we
made a new one.
2009-06-08 17:29:22 +02:00
Matthias Clasen
33a2f5a212
Release 2.21.1
2009-05-28 23:44:48 -04:00
Matthias Clasen
06144900ec
Documentation and coding style fixups
...
Lots of pedanic changes.
2009-05-27 18:20:08 -04:00
Matthias Clasen
eecbbb0a20
Fix the an index title
2009-05-27 12:07:13 -04:00
Alexander Larsson
ce171195d9
Add g_inet_address_get_native_size ( #583205 )
...
This can be used to get the size of g_inet_address_to_bytes().
2009-05-25 11:33:56 +02:00
Christian Persch
fc9a888b8c
Add G_G[U]INTPTR_FORMAT and G_GINTPTR_MODIFIER
...
Add macros for printf formatting for g[u]intptr. Bug 569376.
2009-05-23 17:58:10 +02:00
Christian Persch
d046bfe577
Document g[u]intptr
...
Bug 569375.
2009-05-23 17:56:10 +02:00
Yeti
01b79d67ef
Make g_error_new_valist public
...
Bug #569024 .
2009-05-23 17:52:58 +02:00
Sjoerd Simons
9033b37589
Add helper functions for connecting to service ( #583061 )
2009-05-20 12:41:50 +02:00
Alexander Larsson
9346f461f3
Add missing types to gio.types
2009-05-20 12:14:55 +02:00
Alexander Larsson
5cd86fbda6
Remove protocol names, instead use an enum with common protocols
...
The whole protocol name thing is pretty weird. The getprotobyname functions
seem to only specify one mapping for name <-> ids, so all families/types
must use the same values. Plus the values used for the protocols are
standardized by IANA, so are always the same.
So, we drop using names for protocols, intead introducing an enum with
a few commonly availible and used protocols.
2009-05-20 12:14:50 +02:00
Alexander Larsson
053f9e72b1
Add support for graceful disconnect to GTcpConnection
2009-05-20 11:19:47 +02:00
Alexander Larsson
0ffe722193
Add g_socket_shutdown
2009-05-19 11:52:33 +02:00
Alexander Larsson
03441e724a
Document GOutputVector and GInputVector
2009-05-19 11:27:07 +02:00
Alexander Larsson
e1a4389cbc
Rename g_socket_check_pending_error to g_socket_check_connect_result
...
This is only used for connect anyway, and this describes the operation
better.
2009-05-19 10:57:58 +02:00
Alexander Larsson
f24c7fa9cb
Add support for abstract unix socket addresses
2009-05-18 21:31:28 +02:00
Alexander Larsson
6ea86cc57f
Update the docs for the new network APIs
...
This imports the network APIs into the gio reference docs, and cleans
up a bunch of gtk-doc warnings and documentation issues.
2009-05-18 13:07:43 +02:00
Alexander Larsson
822abda451
Add more internal headers for gtk-doc to ignore
...
This gives less bogus output in gio-unused.txt
2009-05-18 11:29:11 +02:00
Matthias Clasen
a28215fa90
Release 2.21.0
2009-05-03 18:08:49 -04:00
Matthias Clasen
008ae16d75
Add new functions
2009-05-03 17:00:37 -04:00
Matthias Clasen
a4ac1b0552
Fix reference to g_strtoull
...
As pointed out in bug 580546, that function does not exit.
2009-05-02 22:36:15 -04:00
David Zeuthen
402847c887
Bug 580450 – Reference counting and boxed types for arrays
...
Add reference counting and boxed types for GArray, GByteArray and GPtrArray.
Signed-off-by: Matthias Clasen <mclasen@redhat.com>
2009-04-29 11:17:23 -04:00
David Zeuthen
49dfb50afc
Bug 580453 – Hash and equal functions for gint64 and gdouble
2009-04-27 13:27:44 -04:00
Dan Winship
9a3d18d2a6
GResolver wrappers: GNetworkAddress, GNetworkService, GSocketConnectable
...
Higher-level wrappers around GResolver. GSocketConnectable provides an
interface for synchronously or asynchronously iterating multiple
socket addresses, with GNetworkAddress and GNetworkService providing
interfaces based on hostname and SRV record resolution.
Part of #548466 .
2009-04-22 08:36:38 -04:00
Dan Winship
c94d3f9288
Add GResolver, a glib-ish interface to DNS
...
GResolver provides asynchronous (and synchronous-but-cancellable) APIs
for resolving hostnames, reverse-resolving IP addresses back to
hostnames, and resolving SRV records. Part of #548466 .
2009-04-22 08:36:32 -04:00
Dan Winship
68fc055627
Add network address and socket types
...
Types and methods for dealing with IPv4 and IPv6 addresses (and UNIX
domain socket addresses under UNIX). This does not include code for
actual socket I/O.
Originally from "gnio". Much of the code was written by Christian
Kellner, Samuel Cormier-Iijima, and Ryan Lortie.
Part of #548466 .
2009-04-22 08:36:10 -04:00