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
Benjamin Otte
74fd3e734f
typo in documentation
2009-06-08 15:30:28 +02:00
Benjamin Otte
29a4a0a44d
only query file info in g_file_copy() when we need it
...
The default implementation of g_file_copy() checked the size of the file
to copy to give useful progress updates unconditionally. This can cause
long delays on 1-connection FTP servers while it tries to open a second
connection before it returns EBUSY. This patch makes this query only
happen when we actually send progress updates.
2009-06-08 15:30:28 +02:00
Alexander Larsson
0bb5739f32
Reformat g_themed_icon_get_names return type to make gtk-doc work
...
Seems the gtk-doc scanner needs "const gchar* const *" to work, so switching
to that.
2009-06-01 22:10:41 +02:00
Dan Winship
ce6fbd6231
Fix multiple bugs in g_srv_target_list_sort()
...
In particular, targets with weight 0 should be very UNlikely to be
selected, not very likely, as they were before. However, even ignoring
that bug in the logic, there was an additional bug (swapping list
items would cause the 0-weight items to get re-ordered incorrectly
anyway), and the code contained several fencepost errors.
This patch also adds gio/tests/srvtarget.c, which confirms that for a
sample list of targets, we now generate all possible correct random
sortings and no incorrect sortings, and the correct sortings occur in
roughly the expected proportions (though if the current code is
still wrong, those proportions may be wrong as well).
http://bugzilla.gnome.org/show_bug.cgi?id=583398
2009-06-01 14:31:48 -04:00
Dan Winship
1ca91a2125
Clarify some GSocket docs
2009-06-01 14:24:44 -04:00
Dan Winship
5b3d62a7a6
Misc networking build fixes
...
http://bugzilla.gnome.org/show_bug.cgi?id=580301
http://bugzilla.gnome.org/show_bug.cgi?id=584176
2009-06-01 14:21:05 -04:00
Tor Lillqvist
85816117e3
Bump _WIN32_WINNT to 0x0501
...
Needed to get prototypes for getaddrinfo() and friends on mingw.
2009-06-01 14:04:49 +03:00
Hans Breuer
4a50bab276
Define fstat() for msvc build
2009-05-30 15:33:14 +02:00
Hans Breuer
75ef018248
Updated msvc build files
2009-05-30 15:29:23 +02:00
Hans Breuer
780185449f
Version resource template for gio
2009-05-30 15:24:06 +02:00
Hans Breuer
73dbe591fb
Handle EAI_NODATA==EAI_NONAME in win32 SDK
2009-05-30 15:18:02 +02:00
Hans Breuer
cbca0ac5d9
Include io.h for write() on win32
2009-05-30 15:14:01 +02:00
Hans Breuer
136793cc5e
Simplified for pre-built package use
2009-05-30 15:08:29 +02:00
Hans Breuer
f4e89ab877
Replace FIXME with proper SDK version define
2009-05-30 15:02:14 +02:00
Matthias Clasen
661bb521d1
Bump version
2009-05-28 23:50:48 -04:00
Matthias Clasen
33a2f5a212
Release 2.21.1
2009-05-28 23:44:48 -04:00
Matthias Clasen
479c45564a
Update NEWS once more
2009-05-28 23:06:24 -04:00
Matthias Clasen
62abf79be2
Another pedantic docs fix
2009-05-28 14:40:18 -04:00
Alexander Larsson
d32226da6d
Ref the right type in g_socket_control_message_deserialize
...
We were not looking at the right type at all due to a typo.
2009-05-28 15:34:57 +02:00
Alexander Larsson
390549f6c4
Document g_socket_control_message_deserialize
2009-05-28 15:34:57 +02:00
Shixin Zeng
dbe7408a5c
Fix string length bugs in GWinHttpFile ( #580347 )
2009-05-28 12:55:11 +03:00
Matthias Clasen
a859f883cf
Fix make check
2009-05-28 00:30:21 -04:00
Matthias Clasen
a39670dade
Update for 2.21.1
2009-05-28 00:09:10 -04:00
Matthias Clasen
576839adbe
Fix references to nonexisting functions
2009-05-27 22:44:31 -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
Matthias Clasen
00151ec0e1
Fix a locking problem in g_main_context_iterate()
...
We failed to ensure that the context is locked on every exit of
the function. This fixes bug 583324.
2009-05-27 12:04:35 -04:00
Hans Breuer
209a662c2f
Correct reference and implement close_fn ( #578769 )
...
Do proper referencing and unreferencing of
GWinHttpFileInputStream::file and
GWinHttpFileInputStream::file::vfs. Implement
GWinHttpFileInputStream::close_fn.
2009-05-27 15:12:31 +03:00
Alexander Larsson
623f99dc3d
Add required defines on solaris for GSocket to build ( #582856 )
...
Turns out that the msg_control and related things are not defined in the
system headers unless you define some _XOPEN_SOURCE things.
2009-05-27 11:11:37 +02:00
Alexander Larsson
f99be75ff9
Remove mention of non-existing calls from docs
...
The docs mentions a separate seekable API for the various file streams
which don't actually exists. Change this to refer to the generic
GSeekable calls.
2009-05-25 15:46:35 +02:00
Alexander Larsson
3c0feca7f1
Don't end enum with comma ( #583663 )
...
This is valid C but breaks C++, so don't put it in headers.
2009-05-25 12:47:12 +02:00
Alexander Larsson
c93c98732a
Don't return something from a void function ( #583408 )
2009-05-25 12:46:03 +02: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
Miquel Esplà
fb70c6420b
Added Valencian-Catalan translation
2009-05-25 00:24:08 +02:00
Jorge Gonzalez
bde3e9c354
Updated Spanish translation
2009-05-23 20:00:22 +02:00
Christian Persch
37bd225d7b
Fix grammar in error message
...
Bug #583198 .
2009-05-23 18:00:06 +02:00
Christian Persch
76ebe6c069
Plug a mem leak
...
Bug #583196 .
2009-05-23 17:59:54 +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
Christian Persch
54b43229f4
Use g_error_new_valist instead of a private copy of it
2009-05-23 17:53:01 +02:00
Yeti
01b79d67ef
Make g_error_new_valist public
...
Bug #569024 .
2009-05-23 17:52:58 +02:00
Alexander Larsson
14d53dcfa8
Fix connect on win32
...
We should not wait before calling connect for non-blocking connect.
Also, use the right error code for the nonblocking pending case on win32.
2009-05-20 16:40:55 +02:00
Alexander Larsson
bb66fdcce3
Fix build on win32
2009-05-20 16:40:54 +02:00
Alexander Larsson
c897cca601
Don't add unix specific APIs on win32
2009-05-20 16:40:54 +02:00
Alexander Larsson
5a46e4d140
Clarify g_cancellable_push_current docs wrt cancellable being NULL ( #575013 )
2009-05-20 14:55:14 +02:00
Alexander Larsson
ab29e09dac
Don't dereference identifier_type if it is NULL ( #579558 )
2009-05-20 14:46:51 +02:00
Robert Bragg
d0d10e847f
Take a reference on the gio file monitors while signaling pending file changes
...
It was possible for a signal handler to remove the last reference and
dispose the monitor. If there were remaining pending_file_changes they
tried to dereference the disposed monitor.
This patch simply calls g_object_{ref,unref} around the loop that signals
the changes.
2009-05-20 14:23:53 +02:00
Alexander Larsson
6a9df8256a
Use G_GSSIZE_FORMAT where needed ( #577884 )
2009-05-20 14:17:27 +02:00
Sjoerd Simons
7498049a16
Propagate errors from g_network_service_address_enumerator_next_async in its _finish function
2009-05-20 13:59:50 +02:00