Commit Graph

6950 Commits

Author SHA1 Message Date
Benjamin Otte
dfda26d1a9 Propagate the right error 2009-07-20 14:29:51 +02:00
Jorge González
2cf3e2ed27 Updated Spanish translation 2009-07-19 13:15:06 +02:00
Theppitak Karoonboonyanan
555aa2d28d Updated Thai translation. 2009-07-19 16:33:06 +07:00
Chao-Hsiung Liao
f8d1201248 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2009-07-18 21:09:14 +08:00
Matthias Clasen
9c278ded7d 2.21.4 2009-07-17 20:31:28 -04:00
Matthias Clasen
4e273d4650 Updates 2009-07-17 19:01:47 -04:00
Yair Hershkovitz
e845e09524 Updated Hebrew translation 2009-07-17 22:53:56 +03:00
Martin Nordholts
e4bf2ac41d Support silent build rules with automake 1.11
Support silent build rules, requires at least automake-1.11. Enable by
either passing --enable-silent-rules to configure or passing V=0 to
make. Bug #588863.
2009-07-17 16:57:37 +02:00
Claude Paroz
ad0c04c6e9 Updated French translation 2009-07-14 22:39:31 +02:00
Claude Paroz
9bc2088357 Add missing files in POTFILES.in 2009-07-14 18:54:58 +02:00
Kjartan Maraas
d439c22e0f Updated Norwegian bokmål translation. 2009-07-13 11:20:09 +02:00
Chao-Hsiung Liao
e2844da68a Updated Traditional Chinese translation(Hong Kong and Taiwan) 2009-07-12 15:19:23 +08:00
Matthias Clasen
f7f16dc3a2 Remove outdated paragraph
We no longer use PATCH or API keywords.
2009-07-10 22:33:03 -04:00
Matthias Clasen
7ba9674d71 Avoid some compiler warnings. 2009-07-10 13:13:18 -04:00
Matthias Clasen
91925d2cf0 Another possible error code clash, yay 2009-07-10 13:11:28 -04:00
Matthias Clasen
c23536cefe Improve g_str_equal docs
Add a reference to g_strcmp0(), cf. bug 587938.
2009-07-10 11:18:31 -04:00
Benjamin Otte
6f48065958 Fix a typo in GRegex documentation 2009-07-09 15:35:43 +02:00
Maxim V. Dziumanenko
c6884a7ec9 Updated Ukrainian translation 2009-07-09 10:51:15 +03:00
Jorge González
4cecb335f4 Updated Spanish translation 2009-07-07 22:34:35 +02:00
Ryan Lortie
593ea5f6b0 Ensure GTree is consistent after _destroy()
See comment #9 on bug 587773
2009-07-07 21:29:46 +01:00
Daniel Nylander
7d2bb5f1b1 Updated Swedish translation 2009-07-07 19:46:59 +02:00
Tor Lillqvist
474ba7dbc3 Make it compile on Windows.
Surround a symlink-related code snippet with ifdef S_ISLNK.
2009-07-07 14:39:10 +03:00
Ryan Lortie
10ba0c2e5c Merge branch 'tree-refcount' 2009-07-07 09:45:31 +01:00
Matthias Clasen
eff73c95e8 Bump version 2009-07-06 00:33:49 -04:00
Matthias Clasen
400959ddbd 2.21.3 2009-07-06 00:31:47 -04:00
Matthias Clasen
3d1e812778 Document support_thread_contexts 2009-07-06 00:00:42 -04:00
Matthias Clasen
d5a5130519 Minor doc fix 2009-07-05 23:55:00 -04:00
Matthias Clasen
563c55bb71 Fix a segfault in g_cancellable_cancel 2009-07-05 23:38:09 -04:00
Matthias Clasen
66e9b50b2c Updates 2009-07-05 22:55:26 -04:00
Matthias Clasen
5694ab7642 Revert "Move gio tests from gio/tests/ to tests/gio/"
This reverts commit 2262d76b33.

Move GIO tests back to where they belong.
2009-07-05 22:49:24 -04:00
Matthias Clasen
8de4be69a9 Move comment to the right place 2009-07-05 22:35:55 -04:00
Matthias Clasen
aa065346d3 Register ids for new file attributes 2009-07-05 22:26:11 -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
Benjamin Otte
c85ff0c750 [gio] minor improvements to g_cancellable_cancel()
- make this function not crash when cancellable is NULL
- avoid locking when the cancellable has already been cancelled
2009-07-05 21:36:03 +02:00
Yaron Shahrabani
8a2e617e41 Updated Hebrew translation 2009-07-05 18:06:57 +03: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
Christian Persch
6d1474e7f1 Add @basename@ substitution to glib-mkenums
Since @filename@ contains the full filename as given to the glib-mkenum
command, possibly including path elements (e.g. when using a non-srcdir
build), it is unsuitable to use in a #include statement in the generated
file if one wants to distribute it. This patch adds @basename@ which
expands to the base name of the input filename. Bug #587307.
2009-07-03 20:50:27 +02:00
Mattias Põldaru
dfd83f419c Updating Estonian translation 2009-07-02 05:23:26 +03:00
Dan Winship
29e6525b1e Two "make check" fixes for late changes to the thread-context patch
g_simple_async_result_complete() now checks that it's being run from
the correct main loop, so tests/gio/simple-async-result was failing,
because it called it from outside any main loop. (And gio's pltcheck
was failing because I hadn't added g_main_current_source() to it.)
2009-07-01 13:52:49 -04:00
Benjamin Otte
2262d76b33 Move gio tests from gio/tests/ to tests/gio/
This avoids getting tests built every time when working on libgio and
running make in the gio/ directory.
2009-07-01 19:03:19 +02:00
Dan Winship
65cc5d895a Support g_main_context_push_thread_default() in gio
GFile allows for the possibility that external implementations may not
support thread-default contexts yet, via
g_file_supports_thread_contexts(). GVolumeMonitor is not yet
thread-default-context aware.

Add a test program to verify that basic gio async ops work correctly
in non-default contexts.

http://bugzilla.gnome.org/show_bug.cgi?id=579984
2009-07-01 09:02:46 -04: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
Dan Winship
90381ecdbd Use low-level GSource methods in a few more places
(in preparation for thread-default context support)
2009-07-01 09:01:48 -04:00
Dan Winship
28a39fab5a Remove some unused code 2009-06-30 19:05:44 -04:00
Dan Winship
70e8eed6ac Fix GResolver for g_simple_async_result_set_op_res_gpointer change
Previously, re-setting the pointer value would cause the old
GDestroyNotify to be lost; now it causes it to be run.

http://bugzilla.gnome.org/show_bug.cgi?id=587415
2009-06-30 18:48:36 -04:00
Benjamin Otte
d589da7e86 Bug 587434 – regression tests fail
make this test not only compile, but also run successfully with mad
CFLAGS.
2009-06-30 20:42:14 +02:00
Benjamin Otte
80561f9718 Bug 587434 – regression tests fail
I missed one s/tmpfile/tmp_file/ which caused crashes.
2009-06-30 20:40:52 +02:00
Dan Winship
53beca955e Add GCancellables to GSocket ops
Currently, to implement cancellability correctly, all synchronous
calls to GSocket must be preceded by a g_socket_condition_wait() call,
(even though GSocket does this internally as well) and all
asynchronous calls must do occasional manual
g_cancellable_is_cancelled() checks. Since it's trivial to do these
checks inside GSocket instead, and we don't particularly want to
encourage people to use the APIs non-cancellably, move the
cancellation support into GSocket and simplify the existing callers.

http://bugzilla.gnome.org/show_bug.cgi?id=586797
2009-06-30 11:42:17 -04:00