Matthias Clasen
8907bfee86
Fix up GIO docs
2009-11-29 22:54:16 -05:00
Matthias Clasen
06c71ba399
Fix 'make check' in gio
2009-11-29 20:55:25 -05:00
Matthias Clasen
a4a69df105
Remove filter-cat from TEST_PROGS
...
Since it is not intended to be run as part of make check.
2009-11-29 20:48:52 -05:00
Paolo Borelli
e7992b7b06
Fix return type of g_converter_[in|out]put_stream.
...
Fixes bug #603265
2009-11-29 15:14:10 +01:00
Ryan Lortie
8586b636c7
Bug 589631 - enclose literals with double quotes
...
Improve strings for purpose of translation.
Based on a patch from Leonardo Ferreira Fontenelle.
2009-11-26 12:15:04 -05:00
Christian Kellner
09b1b6414b
Add "default location" support to GMount
...
The "default location" of the given mount is a path that reflects
the main entry point for the user (e.g. the home directory, or the
root of the volume).
https://bugzilla.gnome.org/show_bug.cgi?id=561998
2009-11-26 16:12:18 +01:00
Alexander Larsson
2b2195bf68
Pass in the right device to vfs->local_file_add_info for symlinks
...
We used to pass the path for the symlink, but the device of the target
which is wrong and breaks metadata access.
https://bugzilla.gnome.org/show_bug.cgi?id=593809
2009-11-26 16:05:07 +01:00
Mures Andone
96f41b6283
Fixed bug 91 (GIO monitoring not working due to bad assert)
...
https://bugzilla.gnome.org/show_bug.cgi?id=593856
2009-11-26 15:40:01 +01:00
Will Thompson
97db31fa14
Apply English pedantry to GAsyncInitable's docs
...
• "asynchronous" was misspelled as "asyncronous" in various places;
• punctuation was missing;
• g_async_initable_new_async() had a stray "and";
• references to g_async_initable_new_finish() were missing a "the".
https://bugzilla.gnome.org/show_bug.cgi?id=602417
2009-11-26 15:14:46 +01:00
Alexander Larsson
08d33b81ee
Remove unused variable
2009-11-26 13:15:11 +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
Alexander Larsson
e5a98502be
Update gio.symbols with new functions
2009-11-24 13:31:33 +01:00
Alexander Larsson
b7c4aa6152
Export g_charset_converter_get_num_fallbacks in header
2009-11-24 13:31:10 +01:00
Alexander Larsson
2af69f4135
Fix GZlibCompressorFormat names
...
What used to be called RAW is really the zlib header format.
There is a real "raw" format, so rename the default and add a RAW type.
2009-11-24 13:02:05 +01:00
Ryan Lortie
85501f5ffa
Bug 591214 - Warnings building gcancellable.o
...
- check for EINTR on read() and write() calls
- remove unused 'priv' variable
2009-11-23 13:53:39 -05:00
Ryan Lortie
48e2a57043
Bug 598712 - can't detect text file with backspace
...
looks_like_text(): Allow '\b' to appear in text files.
2009-11-23 13:47:16 -05:00
Alexander Larsson
230745a350
Add filter-cat test for GConverter streams
2009-11-23 16:22:53 +01:00
Alexander Larsson
92b9218cbf
Add GZlibCompressor
2009-11-23 16:22:53 +01:00
Alexander Larsson
38c3eb14e4
Add GZlibDecompressor for zlib decompression
2009-11-23 16:22:53 +01:00
Alexander Larsson
8cb1252d92
Add zlib dependency to gio
...
Will be used by compression APIs
2009-11-23 16:22:52 +01:00
Alexander Larsson
fce2873641
Add test for converter streams
2009-11-23 16:22:52 +01:00
Alexander Larsson
7f8991596b
Add GConverterOutputStream
...
This allows for conversion when saving
2009-11-23 16:22:52 +01:00
Alexander Larsson
afe3324fca
Add g_output_stream_is_closing
...
Need this to check how we're flushing when closing a converter
output stream.
2009-11-23 16:22:52 +01:00
Alexander Larsson
848e0bf760
Add GConverterInputStream
...
Read and convert data from an input stream
2009-11-23 16:22:52 +01:00
Alexander Larsson
134e9bd84f
Add fallback mode to GCharsetConverter
2009-11-23 16:22:52 +01:00
Alexander Larsson
4b8382823e
Add GCharsetConverter
2009-11-23 16:22:52 +01:00
Alexander Larsson
0d86b25f91
Add GConverter interface
...
This is an interface for stateful conversions of data. Its a generic
interface suitable for things like IConv, compression, decompression,
and regexp replacement.
2009-11-23 16:22:52 +01:00
Alexander Larsson
110133135d
Add G_IO_ERROR_PARTIAL_INPUT and G_IO_ERROR_INVALID_DATA errors
...
These are needed for GConverter
2009-11-23 16:22:52 +01:00
Ryan Lortie
56eee6759b
Remove #include "glocalfile.h" from GFile
...
It might give somebody the wrong idea. =)
2009-11-20 14:42:38 -06:00
Juan A. Suarez Romero
ba2b2bbca2
priv variable should only be used in win32 code
2009-11-20 16:49:47 +01:00
Ryan Lortie
8e2fa44953
g_socket_listener_add_any_inet_port is Since 2.24
...
accidentally committed an old patch without updating.
2009-11-19 10:19:01 -06: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
Christian Dywan
77baa70eda
Bug 600550 - (...) doesn't treat arguments properly
...
Add some additional checking to g_app_info_create_from_commandline to
make it handle strange inputs more elegantly.
2009-11-19 10:00:38 -06:00
Vincent Untz
3257e8ebe4
Bug 600620 - Add g_app_info_get_display_name()
...
This new API can make use of X-GNOME-FullName in .desktop files, to have
the full name of applications.
2009-11-19 09:47:46 -06:00
Ryan Lortie
9681d7e75f
Bug 595138 - GFile not robust with invalid input
...
Improve handling of g_file_query_default_handler() when called on an
invalid GFile (ie: one created with an invalid URI).
2009-11-19 09:45:53 -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
ba0a6e1911
Fix compilation warning: Initialize the variable
2009-11-17 20:44:16 +01:00
Javier Jardón
c6243026ed
Fix compilation warning: Remove unused function
2009-11-17 20:44:10 +01:00
Javier Jardón
00a331f970
Fix compilation warning: cast to (GCompareFunc)
2009-11-17 20:44:01 +01:00
Ryan Lortie
6b7b7a7602
Bug 587300 - g_cancellable_disconnect deadlock
...
add documentation to clarify that a deadlock is the expected case for
calling this function from a signal handler
2009-11-11 23:54:18 -05:00
Ryan Lortie
3d09b8e09c
Bug 591216 - Warning building resolver.o
...
check result of write system call to quiet compiler warning
2009-11-11 23:21:48 -05:00
Ryan Lortie
78e8b39b49
GSocket.receive_message: fix bogus allocation math
2009-11-11 22:22:41 -05:00
Stéphane Démurget
ef6117f78d
Bug 324930 - Nicer message for EPERM on symlink
...
Introduced a more precise error message for EPERM when symlinking to
a local filesystem.
EPERM on symlink means symlinking is not supported by the underlying
fs so it is not the general meaning of EPERM which roughly translates
to 'Operation not permitted'.
2009-11-05 14:31:14 +01:00
Matthias Clasen
f3fbf37dd8
Avoid a warning
2009-10-25 02:56:13 -04:00
Matthias Clasen
e63262d49d
Don't give up too early when collecting mime types
...
Since returning exactly one match has special significance, don't
give up matching before we've found at least 2 types. Also, make
sure that we don't return the same mime type more than once.
Bug 541236.
2009-10-25 02:55:46 -04:00
Tor Lillqvist
d105f431b0
Fix GWin32DirectoryMonitor
...
GWin32DirectoryMonitor was quite broken, but nobody had apparently
noticed, or at least not filed any bug. Only now with a bleeding edge
GTK+ file chooser does the code get exercised in common programs like
gtk-demo or GIMP, apparently. Bug #598899 .
2009-10-23 00:46:50 +03:00
Tomas Bzatek
e95a3b0576
Documentation fixes
2009-10-13 16:21:42 +02:00
Tor Lillqvist
443674faaa
Construct the gio module directory pathname at run-time on Windows
2009-10-12 00:20:28 +03:00
Alexander Larsson
2a3710872f
xdgmime: sort glob hits with larger weight first
...
Higher weight is more important, so return these first meaning
they will be used as the default.
2009-10-08 12:02:52 +02:00
Alexander Larsson
07ad638adf
remove xdgmime test
...
This is getting diverged from the xdgmime copy and we don't need it here.
2009-10-02 12:55:54 +02:00