David Zeuthen
d40767fc62
GDBus: Add an example of a GDBusProxy subclass
2010-05-12 15:52:08 -04:00
Matthias Clasen
371a3373bb
Correct env var names
...
and add a note about priority
2010-05-12 13:01:02 -04:00
Matthias Clasen
af3afc8040
placeholder for more migration docs
2010-05-12 12:13:57 -04:00
Matthias Clasen
d7095dd470
Document DBUS address env vars
2010-05-11 22:35:59 -04:00
Matthias Clasen
84a6475b6e
Trivial: tweak section heading
2010-05-11 22:03:40 -04:00
Matthias Clasen
9c128ca835
Trivial formatting fix
2010-05-11 22:00:54 -04:00
Matthias Clasen
fdfd3d5e75
Fill out the proxy section of the migration guide
2010-05-11 22:00:06 -04:00
Matthias Clasen
1af277f167
Fix a typo
2010-05-11 21:32:29 -04:00
Matthias Clasen
9b05e0bc3e
Complete the name owning section of the migration guide
2010-05-11 21:30:53 -04:00
Matthias Clasen
e4b1e48fca
Match up parameter names
...
and similar cleanups to make gtk-doc happy.
2010-05-11 20:57:44 -04:00
Matthias Clasen
8d66ede1ab
More gdbus migration stuff
2010-05-11 17:15:11 -04:00
Matthias Clasen
9a2422b216
Trivial: rename a file
2010-05-11 15:42:15 -04:00
David Zeuthen
869b4c6833
GDBus: Use call() instead of invoke_method()
...
Lots of people been suggesting this. We still use MethodInvocation /
method_invocation for handling incoming method calls so use call()
instead of invoke_method() helps to separate the client and server
facilities. Which is a good thing(tm).
2010-05-10 11:47:08 -04:00
Matthias Clasen
b96c3b6d60
Mention multithreading as a reason for not using libdbus
2010-05-09 12:24:56 -04:00
David Zeuthen
c148cafdd1
GDBus: Rework GCredentials type
...
These changes are is related to
https://bugzilla.gnome.org/show_bug.cgi?id=617483
and IRC discussions with danw.
2010-05-09 10:03:56 -04:00
Matthias Clasen
bb7106c5df
Add some conceptual changes
2010-05-09 02:27:09 -04:00
Matthias Clasen
8315eb77d5
Some documentation tweaks
...
Add links to the D-Bus docs in some places, and various
other additions.
2010-05-09 01:44:11 -04:00
Matthias Clasen
7ca2e00054
Doc improvements
...
Make sure all unix-specific apis are marked as such.
2010-05-08 23:28:17 -04:00
David Zeuthen
5134a1d151
GDBus: Document environment variables in "Running GIO applications"
2010-05-07 14:36:07 -04:00
Matthias Clasen
1ddda12d64
A quick cheat sheet
2010-05-06 20:54:04 -04:00
David Zeuthen
f309334bc6
GDBus: add a man page for gdbus(1)
2010-05-06 19:42:46 -04:00
Matthias Clasen
f14e30818c
Mention D-Bus functionality in the overview
2010-05-06 18:15:00 -04:00
Matthias Clasen
133f66538d
Add a migration chapter for dbus bits
...
Also split migration.xml into separate files per chapter, it was
getting unwieldy.
2010-05-06 17:58:29 -04:00
David Zeuthen
46ce134d51
GDBus: Add new symbols to gio.symbols
2010-05-06 17:31:51 -04:00
David Zeuthen
0fd6498cd8
Add "Since: 2.26" to all new GDBus API
2010-05-06 16:02:08 -04:00
David Zeuthen
c490c14f4e
Set up gtk-doc for GDBus
...
Also move send_credentials() and receive_credentials() to
GUnixConnection. This code might change, discussion is still ongoing
in
https://bugzilla.gnome.org/show_bug.cgi?id=617483 .
2010-05-06 15:31:45 -04:00
Torsten Schönfeld
f39a49b036
gio: Add a boxed type for GFileAttributeMatcher
...
https://bugzilla.gnome.org/show_bug.cgi?id=616892
2010-05-03 20:13:35 +02:00
Dan Winship
9ba690b386
.gitignore updates for gsettings stuff
2010-04-27 17:04:57 -04:00
Matthias Clasen
ec664445a9
Rename gschema-compile to glib-compile-schemas
...
And clean up the autofoo a bit: use an uppercase variable,
check for pkg-config, check for presence of glib-compile-schemas.
2010-04-23 17:27:26 -04:00
Matthias Clasen
e6e7015bbd
Fix up man page handling
...
Turns out the formatted man pages did not end up in the tarballs. Doh.
2010-04-23 15:03:35 -04:00
Dan Winship
29f3e3f766
GSocket: add support for timeouts
...
Also add options for testing timeouts to socket test programs
https://bugzilla.gnome.org/show_bug.cgi?id=587898
2010-04-23 12:31:31 -04:00
Javier Jardón
f68dc4d97d
[gsettings] Change AM_GSETTINGS macro to GLIB_GSETTINGS
...
So we don't use Automake's macro namespace
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616648
2010-04-23 17:36:35 +02:00
Matthias Clasen
25725345fb
Fix up distcheck
2010-04-22 22:01:19 -04:00
Matthias Clasen
4a62a00c4c
Document --dry-run option of gschema-compile
2010-04-22 20:03:53 -04:00
Dan Winship
19d8cc3375
GUnixSocketAddress: handle abstract sockets with non-0-padded names
...
There are apparently two incompatible ways of naming abstract sockets:
pad the sockaddr with 0s and use the entire thing as the name, or else
don't, and just pass a shorter length value to the relevant functions.
We previously only supported the former method. Add support for the
latter.
Also correctly handle "anonymous" unix sockaddrs (eg, the client side
of a connection, or a socketpair() socket), and add unix domain socket
support to the socket-client and socket-server test programs to make
sure this all works.
https://bugzilla.gnome.org/show_bug.cgi?id=615960
2010-04-22 11:54:41 -04:00
Matthias Clasen
f3e04973e7
Rename gsettings-tool to gsettings
...
And make it verb-based.
2010-04-22 01:17:02 -04:00
Matthias Clasen
03a0f05058
Add a note about requiring a new enough GConf
2010-04-21 12:37:38 -04:00
Matthias Clasen
3bfd739154
Rename gsettingsschemaupdatecache to the more sane gschema_compile
...
To follow existing glib pc variables for binaries.
2010-04-21 11:55:00 -04:00
Bastien Nocera
662f97fefb
Update GSettings porting guide for new m4 macro
2010-04-21 16:49:00 +01:00
Matthias Clasen
12b801cab4
Nuke the gsettingsschemadir pc variable
...
Not really useful, just use $(prefix)/glib-2.0/schemas. We are getting
m4 sugar to coat this over, anyway.
2010-04-21 10:59:17 -04:00
Bastien Nocera
9176175fc8
Add mention of GConfBridge in conversion docs
...
https://bugzilla.gnome.org/show_bug.cgi?id=616384
2010-04-21 14:37:16 +01:00
Matthias Clasen
463203ee0a
Add gettext-domain when required, and allow to specify it on the cmdline
...
Bug 616309
2010-04-20 22:55:15 -04:00
Matthias Clasen
bedf4c3259
Add documentation and translation for gsettings-tool
2010-04-20 22:55:15 -04:00
Matthias Clasen
31a5342784
Refer to the right directory
2010-04-20 19:51:28 -04:00
Matthias Clasen
1b61680abb
Flesh out the porting guide some more
2010-04-20 19:40:26 -04:00
Matthias Clasen
3277b77769
Document g_settings_bind_writable
2010-04-20 19:40:26 -04:00
Matthias Clasen
1064097504
Add a bit about autofoo for schemas
...
Always a good idea to have copiable snipplets in a porting guide...
2010-04-19 08:57:19 -04:00
Matthias Clasen
32de7d6905
Fix up docs for backend setup functions
2010-04-18 15:57:11 -04:00
Matthias Clasen
b7afff0033
Add a man page for gio-querymodules
2010-04-18 15:54:54 -04:00
Matthias Clasen
eaae8f6578
Whitespace fix
2010-04-18 15:35:22 -04:00
Matthias Clasen
a6bd74a08d
Update the gschema-compile docs
...
Correct the schema file extension, mention the usual locations
for schemas and add a reference to gsettings-schema-convert.
2010-04-18 14:58:50 -04:00
Matthias Clasen
87e68c75bc
Distcheck fixes
2010-04-17 20:13:59 -04:00
Matthias Clasen
3db0f554e4
Some build fixes
2010-04-17 16:57:28 -04:00
Matthias Clasen
0d7fbae04c
Remove garbage
2010-04-17 00:36:14 -04:00
Matthias Clasen
bd273f9e09
Merge the GSettings docs
2010-04-17 00:31:41 -04:00
Matthias Clasen
4c90d4cd45
Add indices for 2.26 api additions
2010-04-16 19:13:51 -04:00
Ryan Lortie
18ba085d0a
merge GSettingsBackend
2010-04-15 14:59:41 -04:00
Ryan Lortie
8d6492ed15
Remove accidental checkins
2010-04-15 14:44:59 -04:00
Matthias Clasen
5ba8043f12
Third try to get this right...
2010-03-26 11:15:49 -04:00
Matthias Clasen
6cce575a25
Fix a typo
2010-03-26 10:24:06 -04:00
Matthias Clasen
81e2aa941b
Some more doc cleanups
2010-03-26 10:11:46 -04:00
Matthias Clasen
431840a44e
Add g_io_module_query to docs
2010-03-26 09:22:58 -04:00
Colin Walters
f552689058
[GDesktopAppInfo] New function g_desktop_app_info_get_filename
...
This allows access to the full file path, where possible.
https://bugzilla.gnome.org/show_bug.cgi?id=612832
2010-03-14 15:45:46 -04:00
Claudio Saavedra
766183c079
Remove GUtf8InputStream leftover in docs
...
Fixes build.
2010-03-04 19:18:12 +02:00
Felix Riemann
373f3d8b52
Fix API docs for GZlibCompressor and GZlibDecompressor
...
Corrects the general descriptions and makes the signals and implemented
interfaces appear.
2010-03-03 17:44:28 +01:00
Paolo Borelli
277b9717da
Remove utf8inputstream leftovers in a few other places
2010-03-01 10:24:43 +01:00
Matthias Clasen
3983418c25
Fix up GFileDescriptorBased docs
2010-02-21 19:55:02 -05:00
Matthias Clasen
f13804f68e
Minor docs update
2010-01-25 12:46:35 -05: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
Matthias Clasen
8907bfee86
Fix up GIO docs
2009-11-29 22:54:16 -05: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
Tomas Bzatek
e95a3b0576
Documentation fixes
2009-10-13 16:21:42 +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
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
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
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
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
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
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
Alexander Larsson
0001014c37
Add helpers for connecting/disconnecting to cancelled signal
...
There are race conditions when connecting and disconnecting from the
"cancelled" signal on GCancellable which you need to do when
implementing cancellable operations. This adds helper functions that
avoid these races and mentions these races in the docs. (#572844 )
2009-04-20 13:17:03 +02:00