Bug 556334 – Warning when building without selinux support
[platform/upstream/glib.git] / gio / ChangeLog
1 2008-10-14  Matthias Clasen  <mclasen@redhat.com>
2
3         Bug 556334 – Warning when building without selinux support
4
5         * glocalfileinfo.c: Avoid compiler warnings when selinux is
6         disabled. Patch by Pascal Terjan
7
8 2008-10-14  Matthias Clasen  <mclasen@redhat.com>
9
10         Bug 556335 – make check fails in abicheck.sh
11
12         * gio.symbols: Add g_file_attribute_info_list_get_type. 
13         Pointed out by Pascal Terjan.
14
15 2008-10-13  Alexander Larsson  <alexl@redhat.com>
16
17         * gdesktopappinfo.c:
18         When adding an application as handling a mime type (but
19         not as the default), copy the full list of desktop ids handling
20         that type in before adding the new one on the end of the list.
21         This means we're not accidentally changing the default by overriding
22         the info from the later directories in the search path.
23         
24         Also, fixes small leak of removed_entries.
25
26 2008-10-12  David Zeuthen  <davidz@redhat.com>
27
28         * gio.symbols:
29         * gunionvolumemonitor.c:
30         * gvolumemonitor.h:
31         Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
32
33 2008-10-10  Alexander Larsson  <alexl@redhat.com>
34
35         * gfileattribute.c (escape_byte_string):
36         Upper half of byte is >> 4, not >> 8.
37         Found by Kjartan Maraas via sparse
38
39 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
40
41         Bug 555711 – Wrong fallback order of mimetype icons
42
43         * gcontenttype.c: Don't prefer generic icons over
44         default mimetype icons.
45
46         * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon): 
47         * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
48         to generic icons.
49         Patch by Krysztof Kosiński
50
51 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
52
53         Bug 555121 – Improved build-time handling of gio module-dir
54
55         * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
56         * Makefile.am: Create the module dir.
57
58 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
59
60         * gio/glocalfileinfo.c:
61         * gio/tests/live-g-file.c:
62         * gio/gsimpleasyncresult.c: Fix gcc warnings.
63
64 2008-10-09  Alexander Larsson  <alexl@redhat.com>
65
66         * gunixinputstream.c (g_unix_input_stream_read):
67         Actually return -1 in case of cancelled, not old res value.
68
69 2008-10-06  Colin Walters  <walters@verbum.org>
70
71         Bug 554745 - GFileAttributeInfoList should be boxed
72
73         * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
74         for convenience of bindings.
75         * gio/gfileattribute.h: Prototype it.
76
77 2008-10-05  Pascal Terjan  <pterjan@linuxfr.org>
78
79         Bug 554970 – segfault when update-desktop-database is not available
80         on the system
81
82         * gdesktopappinfo.c (run_update_command): Have the error set before 
83         using it.
84
85 2008-10-01  David Zeuthen  <davidz@redhat.com>
86
87         * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
88         file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
89         instead of the gio URI (such as sftp://foo/file.avi) when using
90         g_app_info_launch() and friends. With a sufficiently recent gvfs,
91         apps using gio+gvfs will map the FUSE file:// URI back to the gio
92         URI (and thus bypass the fuse daemon) thanks the patch from bug
93         #530654.  Since Nautilus is an user of g_app_info_launch() it
94         means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
95         when launced via the file manager. Win. Fixes bug #528670.
96
97         * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
98         mapping to the description of GAppInfo.
99
100 2008-09-30  Tor Lillqvist  <tml@novell.com>
101
102         * tests/Makefile.am: Build desktop-app-info only on Unix.
103
104         * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
105         g_critical(). Pass a large enough result buffer to
106         GetVolumePathNameW(). Just use MAX_PATH.
107
108 2008-09-29  David Zeuthen  <davidz@redhat.com>
109
110         * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
111
112 2008-09-26  Dan Winship  <danw@gnome.org>
113
114         * tests/data-input-stream.c:
115         * tests/data-output-stream.c:
116         * tests/live-g-file.c:
117         * tests/memory-input-stream.c:
118         * tests/memory-output-stream.c: Use g_assert_error() and
119         g_assert_no_error()
120
121 2008-09-26  Matthias Clasen  <mclasen@redhat.com>
122         
123         Bug 545350 – GAppInfo deletion
124         Bug 545351 – Reset associations for content type
125
126         * gio.symbols:
127         * gappinfo.[hc]: New functions g_app_info_can_delete,
128         g_app_info_delete and g_app_info_reset_type_associations.
129
130         * gdesktopappinfo.c:
131         * gwin32appinfo.c: Implementations of these.
132
133         * tests/Makefile.am:
134         * tests/desktop-app-info.c: Tests for GAppInfo functionality.
135
136 2008-09-26  Dan Winship  <danw@gnome.org>
137
138         Bug 505361 – gunixinputstream.c assumes poll() available
139         Bug 509446 – portable blocking gio cancellation
140
141         * gcancellable.c (g_cancellable_make_pollfd): New method to make a
142         GPollFD for a cancellable (which is slightly more complicated on
143         Windows than Unix).
144
145         * gunixinputstream.c (g_unix_input_stream_read):
146         * gunixoutputstream.c (g_unix_output_stream_write): Use
147         g_cancellable_make_pollfd() and g_poll() rather than using poll()
148         directly.
149
150         * tests/unix-streams.c: test of GUnixInputStream,
151         GUnixOutputStream, and GCancellable.
152
153 2008-09-26  Dan Winship  <danw@gnome.org>
154
155         * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
156         cast to stop a gcc warning
157
158         * gfile.c (g_file_copy_attributes): add parens to stop a gcc
159         warning
160
161 2008-09-25  Dan Winship  <danw@gnome.org>
162
163         Bug 553426 - cancellable clarifications
164
165         * gcancellable.c (g_cancellable_class_init): Add a note to the
166         "cancelled" signal docs warning about thread-safety issues
167         (g_cancellable_cancel): Note that cancelling an asynchronous
168         operation takes effect asynchronously, not immediately.
169
170 2008-09-22  Nelson Benítez León  <nbenitez@svn.gnome.org>
171
172         * gioenums.h: Add new GFileCopyFlag, to leave target file with
173         default perms, instead of setting the source file perms, in a copy
174         operation.
175
176         * gfile.c (g_file_copy_attributes) 
177         (build_attribute_list_for_copy)
178         (should_copy): Not copy "unix::mode" attribute if we have received
179         G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
180
181 2008-09-20  Matthias Clasen  <mclasen@redhat.com>
182
183         * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
184
185 2008-09-17  Matthias Clasen  <mclasen@redhat.com>
186
187         * === Released 2.18.1 ===
188
189 2008-09-16  Michael Natterer  <mitch@imendio.com>
190
191         * gcontenttype.c (g_content_type_guess): can't assign the return
192         value of g_strdupv() to an array. Fill the array manually with
193         const strings instead (it is never freed anyway). Fixes the
194         build. Also fixed indentation.
195
196 2008-09-16  Wouter Bolsterlee  <wbolster@svn.gnome.org>
197
198         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
199         Fix trivial typo to unbreak the build (there was a colon
200         instead of a semicolon at the end of a statement).
201
202 2008-09-15  Matthias Clasen  <mclasen@redhat.com>
203
204         Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop 
205         file is empty
206
207         * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
208         an empty Path value.  
209
210 2008-09-15  Matthias Clasen  <mclasen@redhat.com>
211
212         Bug 551681 – g_content_type_guess() too naive with filenames
213
214         * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
215         at the end of the filename, and declare it a directory.
216         Patch by Bastien Nocera
217
218 2008-09-14  Cosimo Cecchi  <cosimoc@gnome.org>
219
220         Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
221         aren't clear.
222
223         * gdesktopappinfo.c: add a note in the docs clarifying what the
224         "filename" parameter really is.
225
226 2008-09-12  Tor Lillqvist  <tml@novell.com>
227
228         * gwin32appinfo.c (g_win32_app_info_launch): Don't call
229         FormatMessage() etc here. Call g_win32_error_message() instead
230         which already does all that. Besides, the code was broken as it
231         called the default "A" version of FormatMessage() but still
232         thought it produced a wide string.
233
234 2008-09-12  Michael Natterer  <mitch@imendio.com>
235
236         * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
237         in the documentation.
238
239 2008-09-08  Christian Neumair  <cneumair@gnome.org>
240
241         * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
242         * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
243         Use non-blocking pipe for mount helper I/O. Fixes #550647.
244
245 2008-09-06  Matthias Clasen  <mclasen@redhat.com>
246
247         Bug 551149 – xdgmime mem leak
248
249         * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
250         a memory leak. Patch by Christian Persch
251
252 2008-09-04  Tor Lillqvist  <tml@novell.com>
253
254         * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
255         NULL.
256
257 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
258
259         * === Released 2.18.0 ===
260
261 2008-09-02  Michael Natterer  <mitch@imendio.com>
262
263         * *.h: big header formatting cleanup: indentation, vtable
264         formatting, consistent spacing in (* vfunc), trailing whitespace
265         removal. Formatting should be pretty consistent in all GIO headers
266         now.
267
268 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
269
270         * gmount.h: Document guess_content_type sync vfunc.
271
272 2008-09-02  Michael Natterer  <mitch@imendio.com>
273
274         * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
275         fix parent_class member to be GFilterOutputStreamClass (not
276         GOutputStreamClass). Drop three pointers of padding, which is
277         exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
278         so the class struct size stays the same.
279
280 2008-09-02  Matthias Clasen  <mclasen@redhat.com>
281
282         Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
283
284         * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
285         nonexisting return values. Pointed out by Cosimo Cecchi.
286
287 2008-08-23  Tor Lillqvist  <tml@novell.com>
288
289         Bug 548988 - g_file_replace fails on Windows when the target file
290         exists already
291
292         * glocalfileoutputstream.c (g_local_file_output_stream_close): On
293         Windows, close the file before potentially renaming it (in case we
294         have been writing to a file with a temporary name).
295
296         (g_local_file_output_stream_close, handle_overwrite_open): Use
297         GLocalFileStat instead of plain struct stat, for passing to
298         _g_local_file_info_create_etag(). Thus also use _fstati64()
299         instead of plain fstat() on Windows.
300
301 2008-08-18  Matthias Clasen  <mclasen@redhat.com>
302
303         * === Released 2.17.7 ===
304
305 2008-08-15  Padraig O'Briain  <padraig.obriain@sun.com>
306
307         * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
308         Fix for #542156.
309
310 2008-08-13  Tor Lillqvist  <tml@novell.com>
311
312         * win32/gwinhttpvfs.c
313         * win32/gwinhttpvfs.h
314         * win32/gwinhttpfile.c
315         * win32/gwinhttpfileinputstream.c
316         * win32/gwinhttpfileoutputstream.c: Refactor some common code
317         snippets into helper functions. Check HTTP response status
318         codes. Implement g_winhttp_file_query_info(), looking at
319         Content-Length, Content-Type and Last-Modified.
320
321         * win32/winhttp.h: Add some symbolic constants that are not
322         publicly documented. Just a handful, so it should be OK to use
323         information from the Windows SDK's headers.
324
325 2008-08-13  Tor Lillqvist  <tml@novell.com>
326
327         Bug 546582 - Callbacks from GFileMonitor present a GFile in the
328         wrong folder
329
330         * win32/gwin32directorymonitor.c
331         (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
332
333 2008-08-13  Matthias Clasen  <mclasen@redhat.com>
334
335         * ginputstream.c:
336         * goutputstream.c: Add intro docs.
337
338 2008-08-13  Tor Lillqvist  <tml@novell.com>
339
340         * win32/gwinhttpfileoutputstream.c
341         (g_winhttp_file_output_stream_write): Don't write the
342         Content-Length header ourselves, WinHttpSendRequest() takes care
343         of that when the dwTotalLength parameter is non-zero. Increment
344         offset by the number of actual bytes sent, although I wonder if
345         such a scenario is possible where less than requested would be
346         sent and accepted by the server without errors.
347
348 2008-08-13  Tor Lillqvist  <tml@novell.com>
349
350         * win32/gwinhttpvfs.c
351         * win32/gwinhttpvfs.h
352         * win32/gwinhttpfile.c
353         * win32/gwinhttpfile.h
354         * win32/gwinhttpfileinputstream.c
355         * win32/gwinhttpfileinputstream.h
356         * win32/gwinhttpfileoutputstream.c
357         * win32/gwinhttpfileoutputstream.h: New files implementing
358         GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
359         Windows. The implementation uses the WinHttp API. Both reading and
360         writing are supported, i.e. GET and PUT requests. When writing,
361         each write call is done using a separate PUT request with a
362         Content-Range header. Requests for file URIs and plain pathnames
363         are forwarded to GLocalVfs.
364
365         * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
366         WINE. Used as there is no <winhttp.h> bundled with mingw, and
367         requiring people to download the Windows SDK just for this one
368         header is not reasonable.
369
370         * win32/Makefile.am: Add above files.
371
372         * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
373         the plumbing for the above.
374
375 2008-08-11  Sven Neumann  <sven@gimp.org>
376
377         * gfilenamecompleter.c
378         * glocaldirectorymonitor.c
379         * gmountoperation.c
380         * gunionvolumemonitor.c
381         * gunixmount.c
382         * gunixmounts.c
383         * gunixvolume.c
384         * gunixvolumemonitor.c
385         * gvolumemonitor.c
386         * gwin32mount.c
387         * gwin32volumemonitor.c: use canonical signal names.
388
389 2008-08-11  Tor Lillqvist  <tml@novell.com>
390
391         * Makefile.am: Put a list of the platform-dependent .la files in
392         the subdirectories in the platform_deps Make variable, and make
393         libgio-2.0.la depend on that, so that it gets relinked if one of
394         the dependent libraries has changed.
395
396 2008-08-11  Tor Lillqvist  <tml@novell.com>
397
398         * Makefile.am (platform_libadd): Remove -lwininet which had been
399         added by mistake. We will probably eventually be using WinHTTP,
400         not the older WinInet anyway. (Actually I am working on it.)
401
402 2008-08-10  Felix Riemann  <friemann@svn.gnome.org>
403
404         Bug 547080 – g_file_copy leaks expected errors
405
406         * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
407         before trying the next fallback routine.
408
409 2008-08-09  Loïc Minier  <lool@dooz.org>
410
411         Bug 535124 – umask 002 not being applied for new directories, new
412         files get the correct umask
413
414         * gfile.c (g_file_make_directory)
415         (g_file_make_directory_with_parents): Document ownership and
416         permissions of newly created directories as being the default
417         ones of the process.
418
419 2008-08-08  Loïc Minier  <lool@dooz.org>
420
421         Bug 535124 – umask 002 not being applied for new directories, new
422         files get the correct umask
423
424         * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
425         0755 as umask
426
427 2008-08-08  Tor Lillqvist  <tml@novell.com>
428
429         * gwin32mount.c: Remove unused code. Whitespace cleanup.
430
431         * gwin32volumemonitor.c (get_connected_drives): Put questionable
432         code that didn't actually do anything inside #if 0, and add a
433         comment wondering what the code was supposed to do. This also gets
434         rid of a leftover debugging printout.
435
436 2008-08-07  Paul Pogonyshev  <pogonyshev@gmx.net>
437
438         * gfileicon.c (g_file_icon_get_property)
439         (g_file_icon_set_property): New functions.
440         (g_file_icon_class_init): Hook them up.  Install `GFileIcon:file'
441         property.
442         (g_file_icon_new): Use the property (bug #546132).
443
444 2008-08-06  Paul Pogonyshev  <pogonyshev@gmx.net>
445
446         * gthemedicon.c (g_themed_icon_get_property): Also handle
447         `PROP_USE_DEFAULT_FALLBACKS'.
448         (g_themed_icon_class_init): Make
449         `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
450
451 2008-08-05  Behdad Esfahbod  <behdad@gnome.org>
452
453         Bug 546371 – Improve docs re g_file_monitor
454
455         * gfilemonitor.c: Mention g_file_monitor() in the docs.
456
457 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
458
459         * === Released 2.17.6 ===
460
461 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
462
463         * === Released 2.17.5 ===
464
465 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
466
467         Bug 546017 – Don't copy attributes when copying a symlink
468
469         * gfile.c (g_file_copy_attributes): Specify
470         G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to 
471         g_file_set_attributes_from_info. Patch by Christian Kellner
472
473 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
474
475         * gemblemedicon.[hc]: 
476         * gio.symbols:
477         * gemblem.[hc]: Add GEmblem to make the emblem mechanism
478         a bit more extensible. Work by Clemens Buss.
479
480         * gioenums.h: Add GEmblemOrigin.
481         * Makefile.am: Glue
482
483 2008-08-03  Carlos Garcia Campos  <carlosgc@gnome.org>
484
485         Bug 546079 – leak in xdgmime
486         
487         * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
488         
489 2008-08-03  Tor Lillqvist  <tml@novell.com>
490
491         * win32/gwin32directorymonitor.h
492         * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
493         style.
494
495 2008-08-03  Tor Lillqvist  <tml@novell.com>
496
497         * win32/gwin32directorymonitor.c
498         (g_win32_directory_monitor_callback): Make prototype match
499         LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
500         LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
501         pointer.
502
503         (g_win32_directory_monitor_constructor):
504         GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
505         names in the GLib API on Windows, so convert to UTF-16 and open
506         with CreateFileW().
507
508 2008-08-03  Tor Lillqvist  <tml@novell.com>
509
510         Bug 541036 - Gnumeric crashes when trying to open Desktop or
511         user's folder under Windows
512
513         * win32/gwin32directorymonitor.c
514         (g_win32_directory_monitor_constructor): Ignore error from
515         CreateFile() when opening directory. Instead of asserting, just
516         store INVALID_HANDLE_VALUE then in
517         GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
518         ReadDirectoryChangesW().
519         (g_win32_directory_monitor_cancel): Don't attempt to close
520         directory handle if it is INVALID_HANDLE_VALUE.
521
522 2008-08-01  Matthias Clasen  <mclasen@redhat.com>
523
524         * gdesktopappinfo.c: Remove debug spew
525
526 2008-08-01  Hans Breuer  <hans@breuer.org>
527
528         * makefile.msc : add gemblembedicon
529
530 2008-07-30  Matthias Clasen  <mclasen@redhat.com>
531
532         Bug 545457 – gdmsetup crashed with SIGSEGV in
533         g_unix_mount_guess_should_display()
534
535         * gunixvolumemonitor.c (get_mount_for_mount_path): Don't 
536         crash if no mount is found.
537
538 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
539
540         Bug 545203 – gfile.c: argument is different type.
541
542         * gfile.c (open_read_async_thread): Pass a GError **
543         to g_file_set_error_literal.
544         Reported by Kazuki Iwamoto
545
546 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
547
548         Bug 545157 – wrong/no list of "open with" applications for .cc and
549         .cpp files
550
551         * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
552         Collect all ancestors, not just direct parents. Pointed
553         out by Bastien Nocera
554
555 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
556
557         * Makefile.am: Install gemblemedicon.h
558
559 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
560
561         * gemblemedicon.[hc]: Add a GIcon implementation that can
562         add an emblem to another icon.
563
564         * gio.h:
565         * Makefile.am:
566         * gio.symbols: Glue
567
568         * gloadableicon.c:
569         * gfileicon.c: Small documentation additions.
570
571 2008-07-28  Tor Lillqvist  <tml@novell.com>
572
573         * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
574         type.
575
576 2008-07-27  Tor Lillqvist  <tml@novell.com>
577
578         * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
579
580 2008-07-24  David Zeuthen  <davidz@redhat.com>
581
582         * gmount.[ch]:
583         * gio.symbols:
584         Also export a g_mount_guess_content_type_sync() function.
585
586 2008-07-23  Matthias Clasen  <mclasen@redhat.com>
587
588         529694 – SELinux context setting support
589
590         * gfileinfo.c: Support setting selinux attributes.
591         Patch by Tomas Bzatek
592
593 2008-07-22  Priit Laes <plaes@plaes.org>
594
595         Bug 544140 - fam-helper 64-bit issue?
596
597         * fam/fam-helper.c: Added missing include so compiler doesn't complain.
598
599 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
600
601         * === Released 2.17.4 ===
602
603 2008-07-20  Matthias Clasen  <mclasen@redhat.com>
604
605         * gvolumemonitor.[hc]:
606         * gmountoperation.c:
607         * gioenums.h:
608         * gdrive.c:
609         * gvfs.c:
610         * gmount.c: Documentation fixes
611
612 2008-07-19  Matthias Clasen  <mclasen@redhat.com>
613
614         543504 – crash in Epiphany Web Browser: Opening local file
615
616         * gappinfo.c:
617         * gasyncresult.c:
618         * gdesktopappinfo.c:
619         * gdrive.c:
620         * gfile.c:
621         * gicon.c:
622         * gloadableicon.c:
623         * gmount.c:
624         * gseekable.c:
625         * gvolume.c: Register types thread-safely.
626         Patch by Christian Persch
627
628 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
629
630         * gcontenttype.c: Remove debug spew
631
632 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
633
634         Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
635         any applications
636
637         * fen/fen-kernel.c: Remove a warning that was causing
638         crashes. Reported by Lin Ma.
639
640 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
641
642         Bug 543040 – async reading on dummy file will crash on
643         GIO_USE_VFS=local
644
645         * gfile.c (open_read_async_thread): Cope with read_fn being
646         NULL. Reported by Lin Ma.  
647
648 2008-07-18  Matthias Clasen  <mclasen@redhat.com>
649
650         * gio.symbols:
651         * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
652
653 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
654
655         * gvfs.h:
656         * gdesktopappinfo.h: 
657         * giomodule.c: Rename a chapter id to avoid filename conflict.
658
659 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
660
661         Bug 540616 – mem leak in filechooser button
662
663         * gunixvolumemonitor.c (get_mount_for_mount_path): Free
664         the mount entry. Reported by Chrisitan Persch
665
666 2008-07-16  Matthias Clasen  <mclasen@redhat.com>
667
668         * gfile.c: Small documentation fixes.
669
670 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
671
672         * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
673
674 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
675
676         * gvolumemonitor.c:
677         * gfile.c:
678         * gvolume.c:
679         * gmount.c: Documentation improvements.
680
681 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
682
683         * gio.symbols:
684         * gmount.[hc]: Add g_mount_guess_content_type(). 
685
686 2008-07-06  David Zeuthen  <davidz@redhat.com>
687
688         * gio.symbols:
689         * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
690         is needed for easily handling adoption of foreign volumes by
691         out-of-process volume monitors (#541793)
692
693 2008-07-06  David Zeuthen  <davidz@redhat.com>
694
695         * gvolumemonitor.[ch]:
696         * gunionvolumemonitor.c: Export the eject-button signal on the
697         volume monitor class (#541794).
698
699 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
700
701         * gappinfo.c: More doc tweaks
702
703 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
704
705         * gappinfo.c: Clarify some docs
706
707 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
708
709         * gdesktopappinfo.c: Fix a stupid mistake.
710
711 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
712
713         * === Released 2.17.3 ===
714
715 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
716
717         * gfilemonitor.c: Fix the build.
718
719 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
720
721         Bug 536160 – Add g_file_monitor()
722
723         * gio.symbols:
724         * gfile.[hc]: Add g_file_monitor which can return either
725         a file or a directory monitor.  Proposed by Behdad Esfahbod
726
727 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
728
729         536733 – gio build failure on Irix
730
731         * glocalfile.c: Use a configure check for structfs.f_bavail.
732
733 2008-07-02  Matthias Clasen  <mclasen@redhat.com>
734
735         Bug 534639 – add g_desktop_app_info_new_from_keyfile
736
737         * gio.symbols:
738         * gdesktopappinfo.[hc]: Add a function to create a
739         GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
740
741 2008-07-02  Wouter Bolsterlee  <wbolster@svn.gnome.org>
742
743         * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
744
745 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
746
747         * gunixmounts.c: Fix a doc typo.
748
749 2008-07-01  Cody Russell  <bratsche@gnome.org>
750
751         * gio/gcontenttype.c:
752         * gio/gwin32appinfo.c:
753         * gio/gwin32volumemonitor.c:
754         * gio/gwin32mount.c: Fixed some include problems.
755
756 2008-07-01  Cody Russell  <bratsche@gnome.org>
757
758         * gio/gioenums.h:
759         * gio/giotypes.h:
760         Moved all relevant typedefs into these files.
761
762         * gio/*.[ch]:
763         Updated wrt added files.
764
765         Split types into separate file for easier maintainership. (#538564)
766
767 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
768
769         Bug 540331 – g_file_append_to () documentation: can return NULL
770
771         * gfile.c (g_file_append_to): Clarify docs.
772         Patch by Jared Moore
773
774 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
775
776         Bug 539090 – g_content_type_from_mime_type() should unalias
777
778         * gcontentype.c (g_content_type_from_mime_type): Unalias.
779         Patch by Markus Bergman
780
781 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
782
783         Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
784         g_atomic_pointer_get
785
786         * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
787         on ppc and alpha. Reported by Mart Raudsepp
788
789 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
790
791         * tests/Makefile.am: 
792         * tests/memory-output-stream.c: Add some tests for
793         GMemoryOutputStream. 
794
795 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
796
797         Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
798         0, ...)
799
800         * gmemoryoutputstream.c (array_resize): Handle truncation to
801         zero correctly. Reported by Akira Tagoh
802
803 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
804
805         * gmemoryoutputstream.c: Trivial doc fixes
806
807 2008-06-29  Matthias Clasen  <mclasen@redhat.com>
808
809         Bug 540802 – g_list_prepend doesn't concat lists
810
811         * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
812         one list to another. Pointed out by Jan Arne Petersen
813
814 2008-06-28  Michael Natterer  <mitch@imendio.com>
815
816         * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
817
818 2008-06-18  Matthias Clasen <mclasen@rdhat.com>
819
820         * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
821         to avoid problems with partial icon themes.
822         
823 2008-06-17  Hans Breuer  <hans@breuer.org>
824
825         * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from 
826         gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
827         access again on win32, see bug #538127
828         * giomodule.c : ensure GWin32VolumeMonitor is registered
829         * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
830         * Makefile.am makefile.msc : updated
831
832 2008-06-16  Hans Breuer  <hans@breuer.org>
833
834         * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration 
835         and initialization in one step avoids c99ism
836
837 2008-06-16  Christian Persch  <chpe@gnome.org>
838
839         * gio/gappinfo.c
840         * gio/gbufferedinputstream.c
841         * gio/gcancellable.c
842         * gio/gdatainputstream.c
843         * gio/gdesktopappinfo.c
844         * gio/gfile.c
845         * gio/gfileenumerator.c
846         * gio/gfileinputstream.c
847         * gio/gfileoutputstream.c
848         * gio/ginputstream.c
849         * gio/glocaldirectorymonitor.c
850         * gio/glocalfile.c
851         * gio/glocalfileenumerator.c
852         * gio/glocalfileinfo.c
853         * gio/glocalfilemonitor.c
854         * gio/glocalfileoutputstream.c
855         * gio/gmemoryinputstream.c
856         * gio/gmemoryoutputstream.c
857         * gio/goutputstream.c
858         * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from 
859         bug #535947.
860
861 2008-06-16  Tor Lillqvist  <tml@novell.com>
862
863         Bug 538362 - Get Win32 icons back in the file chooser
864
865         * gcontenttype.c (g_content_type_get_icon): Look up the icon
866         corresponding to a file extension in the Registry. Patch by Hans
867         Breuer.
868         (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
869         
870 2008-06-16  Tor Lillqvist  <tml@novell.com>
871
872         Patches by Hans Breuer:
873
874         * glocalfile.c (is_xp_or_later): Handle compiling against older
875         SDK headers with missing VerifyVersionInfo().  Conditioned on
876         _MSC_VER, but should probably use some better test.
877         * glocalfile.c (g_local_file_query_filesystem_info): Don't test
878         uninitialised statfs_result variable on Win32.
879
880 2008-06-16  Michael Natterer  <mitch@imendio.com>
881
882         * *.c: chain up unconditionally in finalize() and dispose(). Also
883         don't dereference these function pointers when calling them since
884         that has no meaning at all.
885
886 2008-06-16  Ross Burton  <ross@burtonini.com>
887
888         * gfileenumerator.c:
889         Remove check for dispose implementation as it annoys Emmanuele.
890         
891 2008-06-16  Ross Burton  <ross@burtonini.com>
892
893         Bug 536252 – GFileEnumerator should allow access to the containing
894         GFile
895         
896         * gfileenumerator.c:
897         * gfileenumerator.h:
898         * gfile.h:
899         Add g_file_enumerator_get_container() and a container writeable
900         construct-only property.  Also shuffle around typedefs to make it
901         compile.
902         
903         * glocalfileenumerator.c:
904         * glocalfileenumerator.h:
905         * glocalfile.c:
906         Instead of a string filename take a GFile in the constructor and
907         use it to set the container property.
908         
909         * gio.symbols:
910         Update with new API.
911
912 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
913
914         * gfile.c: Make includes more uniform
915
916 2008-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
917
918         * tests/live-g-file.c (sample_struct):
919         Use less fancy unicode filenames, so the test doesn't fail
920         on Mac OS X (#531476).
921
922 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
923         
924         * === Released 2.17.2 ===
925
926 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
927
928         * === Released 2.17.1 ===
929
930 2008-06-11  A. Walton  <awalton@gnome.org>
931
932         * tests/g-file.c (test_g_file_new_null):
933         Fix broken test case.
934
935 2008-06-11  Matthias Clasen <mclasen@redhat.com>
936
937         * pltcheck.sh: We use g_clear_error now.
938
939 2008-06-11  Matthias Clasen <mclasen@redhat.com>
940
941         * glocalfile.c (g_local_file_enumerate_children): Revert
942         an unintended change.
943
944 2008-06-11  Matthias Clasen <mclasen@redhat.com>
945
946         * gfile.c (g_file_replace_contents): Don't unref before the last use.
947
948 2008-06-10  Matthias Clasen <mclasen@redhat.com>
949
950         Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
951         folder
952         
953         * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
954         as icon for the desktop directory, also make user-home and
955         user-desktop the preferred icons.
956
957 2008-06-10  Matthias Clasen <mclasen@redhat.com>
958
959         * gio.symbols:
960         * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
961         to add a name to the front of the list.
962
963 2008-06-10  Matthias Clasen <mclasen@redhat.com>
964
965         Bug 537392 – Additional colon in xattr name
966
967         * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
968         too. Reported by  Alessandro Morandi 
969
970 2008-06-10  Matthias Clasen <mclasen@redhat.com>
971
972         Bug 536641 – Filesystem querying in gio does not list AFS and autofs
973         file systems
974
975         * glocalfile.c (get_fs_type): Add afs and autofs.
976         Patch by Danny Baumann.
977
978 2008-06-10  Matthias Clasen <mclasen@redhat.com>
979
980         Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
981
982         * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
983         is no parent.  (Owen Taylor, patch by Christian Neumair)
984         
985 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
986
987         * gfile.c (g_file_replace_contents): do not leak the output stream.
988
989 2008-06-10  Michael Natterer  <mitch@imendio.com>
990
991         * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
992         uninitialized memory as array index.
993
994 2008-06-10  Tor Lillqvist  <tml@novell.com>
995
996         * gcontenttype.c (g_content_type_can_be_executable)
997         (g_content_type_get_icon) [Win32]: Add TODO comments.
998
999 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
1000
1001         * xdgmime/Makefile.am: Fix the build
1002
1003 2008-06-09  Matthias Clasen  <mclasen@redhat.com>
1004
1005         * gcontenttype.c (g_content_type_get_icon): Use icons specified
1006         in the shared mime database, if available.
1007
1008         * xdgmime/*: Sync with upstream. This brings support for
1009         glob weights, generic icons, and changes the cache format to 
1010         version 1.1.
1011
1012 2008-05-28  Michael Natterer  <mitch@imendio.com>
1013
1014         * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1015         the global CPPFLAGS now.
1016
1017         * tests/data-input-stream.c
1018         * tests/data-output-stream.c
1019         * tests/g-file-info.c
1020         * tests/g-file.c
1021         * tests/live-g-file.c
1022         * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1023
1024 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
1025
1026         * === Released 2.17.0 ===
1027
1028         * tests/live-g-file.c: Clean up after the tests, so make distcheck
1029         doesn't complain about leftover files.
1030
1031 2008-05-27  simon.zheng  <simon.zheng@sun.com>
1032
1033         * glocalfile.c: (g_local_file_query_filesystem_info):
1034         Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1035
1036 2008-05-26  Michael Natterer  <mitch@imendio.com>
1037
1038         * gmemoryoutputstream.h: declare
1039         g_memory_output_stream_get_data_size().
1040
1041 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1042
1043         * tests/*: Make tests work 
1044
1045 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1046
1047         * gio.symbols: Add g_memory_output_stream_get_data_size.
1048
1049 2008-05-25  Ross Burton  <ross@burtonini.com>
1050
1051         * glocalfile.c:
1052         Fix typo in error message (#534764).
1053
1054 2008-05-25  Ross Burton  <ross@burtonini.com>
1055
1056         * Makefile.am:
1057         Fix circular dependency loop for gioenumtypes.h (#534759).
1058
1059 2008-05-19  Hans Breuer  <hans@breuer.org>
1060
1061         * Makefile.am : EXTRA_DIST += makefile.msc
1062
1063 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1064
1065         * gcontenttype.h:
1066         * gcontenttype.c: (g_content_type_from_mime_type):
1067         New function to create a content type from a mime type. (#527175,
1068         Milan Crha)
1069
1070 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1071
1072         Bug 532965 – Should not return filesystem::free for certain file systems
1073
1074         * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1075         free space for ncpfs.
1076
1077 2008-05-17  Matthias Clasen  <mclasen@redhat.com>
1078
1079         Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1080
1081         * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1082         st_dev might be zero.
1083
1084 2008-05-16  Tor Lillqvist  <tml@novell.com>
1085
1086         * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1087         get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1088
1089 2008-05-13  Bastien Nocera  <hadess@hadess.net>
1090
1091         * gfile.c (has_valid_scheme): A URI scheme must start with a
1092         letter, even if later more characters are allowed (#532852)
1093
1094 2008-05-05  Michael Natterer  <mitch@imendio.com>
1095
1096         * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1097         code from being checked in that breaks the build of applications
1098         which use G_DISABLE_SINGLE_INCLUDES.
1099
1100         * makegioalias.pl: make the alias file include "glib.h" instead of
1101         "glibconfig.h".
1102
1103         * gio.symbols: whitespace change to force regeneration of the
1104         alias file after above script change.
1105
1106         * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1107
1108         * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1109
1110         * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1111
1112         * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1113
1114 2008-04-28  David Zeuthen  <davidz@redhat.com>
1115
1116         * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1117         displaying mounts in a subdirectory not accessible to the
1118         user (#526320).
1119
1120 2008-04-22  Michael Natterer  <mitch@imendio.com>
1121
1122         * Makefile.am: fix library versioning (it was 0.0.0).
1123
1124 2008-04-21  Lin Ma  <Lin.Ma@Sun.COM>
1125
1126         * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1127         Default disable all loggings.
1128         * fen/fen-kernel.c: (printevent), (port_add_kevent),
1129         (port_fetch_event_cb): Fixed two macro nits.
1130
1131 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1132
1133         * xdgmime/xdgmime.c: Rework the timestamp checking code
1134         to protect against duplicate directories in XDG_DATA_DIRS.
1135         Fixes fd.o bug 12513, reported by Joe Shaw.
1136
1137 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1138
1139         Partically revert the last commit after realizing that
1140         xdg_mime_media_type_equal doesn't have to init at all.
1141
1142         * xdgmime/xdgmime.h:
1143         * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1144
1145         * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1146
1147 2008-04-16  Matthias Clasen  <mclasen@redhat.com>
1148
1149         Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1150         reported by Joe Shaw and Federico Mena Quintero.
1151
1152         * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1153         (xdg_mime_media_type_equal): Turn into a wrapper around the 
1154         _-prefixed version.
1155
1156         * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1157         functions throughout.
1158
1159 2008-04-16  Michael Meeks  <michael.meeks@novell.com>
1160
1161         * gdesktopappinfo.c (g_desktop_app_info_new_from_filename): 
1162         tolerate an empty TryExec= line without failing; nautilus used
1163         to create launchers with these in previous versions. Fixes #528433
1164
1165 2008-04-09  Padraig O'Briain  <padraig.obriain@sun.com>
1166
1167         * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1168         after name. Fixes #527132.
1169
1170 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
1171
1172         * gfile.c: (g_file_replace):
1173         Doc update
1174
1175 2008-04-07  Matthias Clasen  <mclasen@redhat.com>
1176
1177         Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1178
1179         * gfile.c (file_copy_fallback): Fix the argument order. Patch
1180         by Christian Kellner.
1181
1182 2008-04-04  Sebastien Bacher  <seb128@ubuntu.com>
1183
1184         * gunixmounts.c: (g_unix_mount_guess_should_display):
1185         Don't list the user directory as a mount, fix potential issue
1186         when other users have a similar naming and don't special case the
1187         gvfs mounts there since that's not required (#525866)
1188
1189 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1190
1191         * glocalfile.c (get_parent):
1192         Don't leak parent.
1193         
1194 2008-03-31  A. Walton  <awalton@svn.gnome.org>
1195
1196         * gfile.c (g_file_query_file_type):
1197         Always return a GFileType enum value (#520715).
1198
1199 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1200
1201         * glocalfileenumerator.c:
1202         Read readdir() info in chunks (of 1000) and sort
1203         the chunks by inode before stat:ing.
1204         This is a 20% performance increase in testing
1205         gvfs-ls on /usr/bin with cold cache.
1206
1207 2008-03-31  Alexander Larsson  <alexl@redhat.com>
1208
1209         * gmemoryoutputstream.c:
1210         Clarify docs for g_memory_output_stream_get_size.
1211         Add g_memory_output_stream_get_data_size.
1212
1213 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
1214
1215         * gio.symbols:
1216         * gfile.c:
1217         * gfile.h: Add g_file_query_file_type convenience function
1218         to query the type of a file.  (#520715, Mikkel Kamstrup Erlandsen)
1219
1220 2008-03-30  Matthias Clasen  <mclasen@redhat.com>
1221
1222         * gfileenumerator.c:
1223         * gfile.c: Fix some documentation typos.  (#524950, Rob Bradford)
1224
1225 2008-03-28  A. Walton  <awalton@svn.gnome.org>
1226
1227         * giomodule.c (_g_io_modules_ensure_loaded):
1228         Adds GIO_EXTRA_MODULES environment variable support, closing bug 
1229         #523039.
1230
1231 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1232
1233         * gfile.c:
1234         (copy_stream_with_progress):
1235         Fix up last commit.
1236         
1237 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1238
1239         * gfile.c:
1240         (copy_stream_with_progress):
1241         (file_copy_fallback):
1242         Fallback to g_file_query_info for source size
1243         if g_file_input_stream_query_info fails. (#524579)
1244
1245 2008-03-28  Alexander Larsson  <alexl@redhat.com>
1246
1247         * glocalfile.c (g_local_file_move):
1248         Reuse old string instead of adding new one.
1249
1250 2008-03-28  Lin Ma  <Lin.Ma@Sun.COM>
1251
1252         * fen/*.[hc]: still copyright issue. I hate copyright.
1253
1254 2008-03-27  Alexander Larsson  <alexl@redhat.com>
1255
1256         * glocalfile.c (g_local_file_move):
1257         Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1258         file over directory. This is according to the docs and what the move via
1259         copy+remove fallback does.
1260
1261 2008-03-27  Lin Ma  <Lin.Ma@Sun.COM>
1262
1263         * fen/*.[hc]: Updated copyright.
1264
1265 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
1266
1267         * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1268
1269 2008-03-20  Lin Ma  <Lin.Ma@Sun.COM>
1270
1271         * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1272         not emit attribute changed events when optimizing changed events.
1273         * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1274         warning messages.
1275
1276 2008-03-19  Matthias Clasen  <mclasen@redhat.com>
1277
1278         * gmountoperation.[hc]: Small documentation additions
1279
1280 2008-03-19  Sebastien Bacher  <seb128@ubuntu.com>
1281
1282         * gunixmounts.c: (guess_mount_type): 
1283         consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1284
1285 2008-03-19  Alexander Larsson  <alexl@redhat.com>
1286
1287         * gfile.c:
1288         (copy_stream_with_progress):
1289         Bump block side for copy to 64k to minimize
1290         overhead for low latency links. (#523015)
1291
1292 2008-03-16  Tor Lillqvist  <tml@novell.com>
1293
1294         * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1295         depend on gio.def on Windows.
1296
1297 2008-03-12  David Zeuthen  <davidz@redhat.com>
1298
1299         * gio.symbols:
1300         * gunixmounts.[ch]:
1301         Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1302
1303 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1304
1305         * gunixmounts.c:
1306         (guess_mount_type):
1307         Avoid redudant tests (#521851)
1308         Patch from Josselin Mouette
1309
1310 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1311
1312         * gfilemonitor.c:
1313         (g_file_monitor_is_cancelled):
1314         Fix C89 issue (#521672)
1315         Patch from Jens Granseuer
1316
1317 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1318
1319         * fam/fam-helper.[ch]:
1320         * fam/fam-module.c:
1321         Shut down fam (including removing fam GSource) when
1322         module is unloaded (#521513)
1323         Patch from Joe Marcus Clarke   
1324
1325 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1326
1327         * giomodule.c:
1328         (_g_io_modules_ensure_loaded):
1329         Fix up FEN ifdefs
1330
1331 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1332
1333         * glocalfile.c:
1334         (g_local_file_query_filesystem_info):
1335         Use right define name for f_fstypename member check
1336
1337 2008-03-14  Alexander Larsson  <alexl@redhat.com>
1338
1339         * Makefile.am:
1340         * fen/Makefile.am: Added.
1341         * fen/fen-data.[ch]: Added.
1342         * fen/fen-dump.[ch]: Added.
1343         * fen/fen-helper.[ch]: Added.
1344         * fen/fen-kernel.[ch]: Added.
1345         * fen/fen-missing.[ch]: Added.
1346         * fen/fen-node.[ch]: Added.
1347         * fen/fen-sub.[ch]: Added.
1348         * fen/gfendirectorymonitor.[ch]: Added.
1349         * fen/gfenfilemonitor.[ch]: Added.
1350         * giomodule.c:
1351         Added Solaris FEN file notification backend.
1352         Patch from Lin Ma <Lin.Ma@Sun.COM>
1353
1354 2008-03-13  Tor Lillqvist  <tml@novell.com>
1355
1356         * Makefile.am: Actually use the gio.def file when linking the
1357         library on Windows. Produce .lib library for Microsoft's toolchain
1358         when possible. Install the .lib and .def file like for the other
1359         libraries of GLib.
1360
1361 2008-03-13  Tomas Bzatek  <tbzatek@redhat.com>
1362
1363         * tests/live-g-file.c:
1364         Include live-g-file in standard set of tests, making a temporary
1365         directory in source structure.
1366         
1367         Clean target directory before the tests (write mode only)
1368
1369 2008-03-12  Tor Lillqvist  <tml@novell.com>
1370
1371         Bug 517419 - gio win32 directory monitor
1372         Implementation by Vlad Grecescu.
1373         
1374         * win32/Makefile.am
1375         * win32/gwin32directorymonitor.h
1376         * win32/gwin32directorymonitor.c: New files.
1377
1378         * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1379
1380         * Makefile.am: Add the win32 subdirectory.
1381
1382 2008-03-12  Tor Lillqvist  <tml@novell.com>
1383
1384         * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1385         normal struct stat on Unix but struct _stati64 on Windows to have
1386         access to 64-bit file size information. Use that instead of struct
1387         stat in the functions declared here in this private header.
1388
1389         * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1390         S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1391         warnings about unused functions and variables. Don't set
1392         meaningless attributes like inode numbers on Windows.
1393
1394 2008-03-12  Benjamin Otte  <otte@gnome.org>
1395
1396         * gvfs.h:
1397         trim whitespace so gtk-doc groks the function name
1398
1399 2008-03-12  Tor Lillqvist  <tml@novell.com>
1400
1401         * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1402         returning FALSE, on Win32.
1403
1404 2008-03-11  Alexander Larsson  <alexl@redhat.com>
1405
1406         * glocalfile.c:
1407         * glocalfileinfo.[ch]:
1408         Correctly implement can_trash by actually
1409         looking for a trash dir, not just assuming
1410         one exists.
1411
1412 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
1413         
1414         * === Released 2.16.1 ===
1415
1416 2008-03-11  Alexander Larsson  <alexl@redhat.com>
1417
1418         * gthemedicon.c:
1419         Fix crashes in new constructor and properties code
1420
1421 2008-03-10  Murray Cumming  <murrayc@murrayc.com>
1422
1423         * gfile.c: Minor spelling correction in documentation:
1424         existance -> existence.
1425
1426 2008-03-10  Matthias Clasen  <mclasen@redhat.com>
1427
1428         * === Released 2.16.0 ===
1429
1430 2008-03-10  Matthias Clasen <mclasen@redhat.com>
1431
1432         * gio.symbols: Remove g_file_contains_file here, too.
1433
1434 2008-03-10  Matthias Clasen <mclasen@redhat.com>
1435
1436         * gthemedicon.c: Add properties to make bindings happy.  (#517676,
1437         Samuel Cormier-Iijima)
1438
1439 2008-03-08  Tor Lillqvist  <tml@novell.com>
1440
1441         * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1442         winnt.h. (#521145)
1443
1444 2008-03-07  Alexander Larsson  <alexl@redhat.com>
1445
1446         * glocalfile.c:
1447         (g_local_file_query_filesystem_info):
1448         Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1449         Patch from Jasper Lievisse Adriaanse
1450
1451 2008-03-06  Tor Lillqvist  <tml@novell.com>
1452
1453         * gfileinfo.h: Correct milliseconds to microseconds in the doc
1454         comments for the *_USEC attributes.
1455
1456 2008-03-06  Alexander Larsson  <alexl@redhat.com>
1457
1458         * gfile.c (g_file_query_exists):
1459         Add g_return_val_if_fail check (#520700)
1460
1461 2008-03-06  Alexander Larsson  <alexl@redhat.com>
1462
1463         * gdesktopappinfo.c:
1464         * gfilemonitor.c:
1465         * gthemedicon.c:
1466         * gunionvolumemonitor.c:
1467         * gunixmounts.c:
1468         * tests/g-file.c:
1469         * tests/live-g-file.c:
1470         * xdgmime/xdgmimecache.c:
1471         Fix sparse warnings (#519489)
1472
1473 2008-03-05  Alexander Larsson  <alexl@redhat.com>
1474
1475         * gfilemonitor.c:
1476         Make cancellation threadsafe (i.e.
1477         guarantee its only done once, and always
1478         done)
1479         
1480         * glocaldirectorymonitor.c:
1481         Make sure we the monitor lives while the
1482         mounts_changed callback is being called (#520484)
1483
1484 2008-03-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1485
1486         * gbufferedinputstream.c: Fix typo in parameter
1487         documentation.
1488
1489 2008-03-04  Alexander Larsson  <alexl@redhat.com>
1490
1491         * gfile.c:
1492         Remove deprecated symbols we kept for one release.
1493
1494 2008-03-04  Murray Cumming  <murrayc@murrayc.com>
1495
1496         * ginputstream.c:
1497         * goutputstream.c: Tiny documentation corrections.
1498
1499 2008-03-03  Alexander Larsson  <alexl@redhat.com>
1500
1501         * gunionvolumemonitor.c:
1502         * gvolumemonitor.h:
1503         Fix the adopt_orphan_mount vfunc to take a
1504         volume_monitor reference in an ABI compat way.
1505         This change is not API compat, but the added
1506         arg is not used in the only user of this vfunc, so
1507         all we get is a harmless warning in gvfs (#520169)
1508         
1509 2008-03-01  Benjamin Otte  <otte@gnome.org>
1510
1511         * gfile.c:
1512         clarify docs for g_file_delete().
1513
1514 2008-02-29  Alexander Larsson  <alexl@redhat.com>
1515
1516         * glocalfileinfo.c:
1517         (get_content_type):
1518         Make sure empty files get text/plain type (#518720)
1519
1520 2008-02-27  Alexander Larsson  <alexl@redhat.com>
1521
1522         * gcontenttype.c:
1523         Fix type warnings
1524         
1525         * gunixvolume.c:
1526         (g_unix_volume_mount):
1527         Add missing GMountMountFlags argument
1528
1529 2008-02-26  Alexander Larsson  <alexl@redhat.com>
1530
1531         * glocalfile.c:
1532         (g_local_file_delete):
1533         Handle filesystems (like ntfs-3g) that return EEXIST instead
1534         of ENOTEMPTY (#518816)
1535
1536 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
1537
1538         * === Released 2.15.6 ===
1539
1540 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1541
1542         * gfile.c (g_file_find_enclosing_mount):
1543         * ginputstream.c (g_input_stream_set_pending):
1544         * glocalfile.c (g_local_file_find_enclosing_mount):
1545         * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1546         * goutputstream.c (g_output_stream_set_pending):
1547
1548         Fixup translator comments (#518578).
1549
1550 2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>
1551
1552         * gfile.c (g_file_find_enclosing_mount):
1553         * giomodule.c:
1554         * glocalfile.c (g_local_file_find_enclosing_mount):
1555         * goutputstream.c:
1556
1557         Fix a few typos in translator comments and documentation.
1558
1559 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1560
1561         * gfile.c:
1562         * ginputstream.c:
1563         * glocalfile.c:
1564         * gmount.c:
1565         * goutputstream.c:
1566         Add translator comments (#518578)
1567
1568 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1569
1570         * gfile.c:      
1571         Reintroduce g_file_contains_file, keep around for one
1572         unstable release cycle to avoid crashing to many apps.
1573         Make sure to delete after release.
1574
1575 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1576
1577         * gfile.[ch]:
1578         Remove deprecated g_file_contains_file.
1579
1580 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1581
1582         * gfilemonitor.c:
1583         Emit actual change signals in an idle handler.
1584         This avoids reentrance and locking problems in
1585         the file notification backends.
1586         
1587 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1588
1589         * gunixmounts.c:
1590         (g_unix_mount_guess_should_display):
1591         Remove type guessing, instead just display
1592         mounts in /media and in ~/.
1593
1594 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1595
1596         * glocalfile.c:
1597         Make new strings reuse old ones.
1598         
1599 2008-02-25  Alexander Larsson  <alexl@redhat.com>
1600
1601         * glocalfile.c:
1602         Implement trashing and filesystem::readonly for win32 (#517235)
1603         Patch from Yevgen Muntyan
1604
1605 2008-02-23  Matthias Clasen  <mclasen@redhat.com>
1606
1607         * gfileinfo.h: Documentation fixes.
1608
1609 2008-02-22  Alexander Larsson  <alexl@redhat.com>
1610
1611         * gcontenttype.c (g_content_type_get_icon):
1612         Look at old-style gnome mime icon names too, as many
1613         have not moved to the new style.
1614
1615 2008-02-21  Matthias Clasen  <mclasen@redhat.com>
1616
1617         * *.c: Correct the @include in for section docs.
1618
1619 2008-02-21  David Zeuthen  <davidz@redhat.com>
1620
1621         * glocalfileinfo.c: (_g_local_file_info_get):
1622         * gcontenttype.c:
1623         (g_content_type_get_icon): Implement this function by
1624         moving bits from glocalfileinfo.c
1625         (g_content_type_get_description): Unalias before getting
1626         description (#517687)
1627
1628         * gfile.c: (g_file_class_init),
1629         (g_file_query_filesystem_info_async),
1630         (g_file_query_filesystem_info_finish),
1631         (query_filesystem_info_data_free),
1632         (query_filesystem_info_async_thread),
1633         (g_file_real_query_filesystem_info_async),
1634         (g_file_real_query_filesystem_info_finish):
1635         * gfile.h: Implement async version of
1636         g_file_query_filesystem_info()
1637
1638         * gfileinfo.h: Add new attributes for filesystem::use-preview
1639
1640         * gio.symbols: Update
1641
1642         * gthemedicon.c: (g_themed_icon_append_name):
1643         * gthemedicon.h: Add new new convenience function.
1644
1645         * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1646         (get_mounts), (get_volumes), (get_connected_drives),
1647         (get_volume_for_uuid), (get_mount_for_uuid),
1648         (g_union_volume_monitor_init), (populate_union_monitor),
1649         (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1650         (g_volume_monitor_adopt_orphan_mount):
1651         * gvolumemonitor.c:
1652         * gvolumemonitor.h: Use recursive locks so it's safe for volume
1653         monitor implementations to call into the main volume monitor. Also
1654         separate object initialization and volume monitor initialization
1655         such that non-native volume monitors can properly adopt their
1656         mounts away.
1657
1658 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1659
1660         * gfile.c:
1661         Fix doc typo
1662         
1663 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1664
1665         * gfile.c:
1666         Add more documentation about how GFiles work (from #517086)
1667
1668 2008-02-21  Alexander Larsson  <alexl@redhat.com>
1669
1670         * gfile.[ch]:
1671         * gio.symbols:
1672         Add new g_file_has_prefix that does the same as g_file_contains_file.
1673         Deprecate g_file_contains_file and add a macro that converts
1674         it to g_file_has_prefix.
1675         The reason for this change is that the contains_file() name seems to
1676         imply that this does more work than what it does, but its really only
1677         a name match (from #517086)
1678         
1679         * gdummyfile.c:
1680         * glocalfile.c:
1681         * tests/g-file.c:
1682         Update to match the above change.
1683
1684 2008-02-20  Benjamin Otte  <otte@gnome.org>
1685
1686         * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1687         (g_file_eject_mountable):
1688         even more cases of not returning in error path
1689
1690 2008-02-20  Benjamin Otte  <otte@gnome.org>
1691
1692         * gfile.c: (g_file_mount_mountable): 
1693         return from function in error path.
1694
1695 2008-02-18  Sylvain Pasche <sylvain.pasche@gmail.com>
1696
1697         * gfile.h:
1698          Remove trailing coma in GMountMountFlags struct
1699
1700 2008-02-18  Alexander Larsson  <alexl@redhat.com>
1701
1702         * glocalfile.c:
1703         * glocalfileinfo.c:
1704         * glocalfileoutputstream.c:
1705         Use g_unlink/g_rename instead of unlink/rename;
1706         do not pass raw filenames to g_set_error. (#517239)
1707         Patch from Yevgen Muntyan.
1708
1709 2008-02-18  Alexander Larsson  <alexl@redhat.com>
1710
1711         * glocalfile.c:
1712         * glocalfileoutputstream.c:
1713         Open files with O_BINARY on windows. (#517140)
1714
1715 2008-02-14  Alexander Larsson  <alexl@redhat.com>
1716
1717         * glocalfileoutputstream.c:
1718         Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1719
1720 2008-02-14  Alexander Larsson  <alexl@redhat.com>
1721
1722         * glocalfile.c:
1723         Copy permissions with file on copy (#514084)
1724         This is what cp does and makes sure e.g. the
1725         exec permissions are kept.
1726         Its kinda weird in that it keeps the permission bits
1727         the same while the uid and gid are different. However
1728         the new uid is the user so its not a security issue,
1729         and I've heard no complaints about cp on this issue.
1730
1731 2008-02-13  Ryan Lortie  <desrt@desrt.ca>
1732
1733         * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1734
1735 2008-02-13  Alexander Larsson  <alexl@redhat.com>
1736
1737         * inotify/inotify-path.c:
1738         Define IN_ONLYDIR if not in header (#515346)
1739
1740 2008-02-12  Alexander Larsson  <alexl@redhat.com>
1741
1742         * tests/live-g-file.c:
1743         C89 fixes (#515892)
1744
1745 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1746
1747         * === Released 2.15.5 ===
1748
1749 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1750
1751         * gio.symbols: Add g_mount_mount_flags_get_type.
1752
1753 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1754
1755         * gfileinfo.c:
1756         (g_file_info_set_attribute_mask):
1757         (g_file_attribute_matcher_matches_id):
1758         Correctly handle NULL GAttributeMatcher meaning
1759         matches nothing. (Fixes #513492)
1760
1761 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1762
1763         * gfile.[ch]:
1764         * gmount.[ch]:
1765         * gvolume.[ch]:
1766         Added GMountMountFlags enum and added a flags
1767         argument to all mount calls.
1768         
1769         This is an API/ABI change for future extensibility,
1770         as I think we will need at least an
1771         inhibit-autorun flag (the panel needs this).
1772         There are no flags defined yet though.
1773
1774 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1775
1776         * gfileinfo.h:
1777         Added new standard::description attribute.
1778         Requested by Vincent, and useful for both
1779         panel and nautilus
1780
1781 2008-02-11  Alexander Larsson  <alexl@redhat.com>
1782
1783         * gdesktopappinfo.c:
1784         Minor docs cleanup
1785
1786 2008-02-11  Matthias Clasen <mclasen@redhat.com>
1787
1788         * *.c: Documentation additions
1789
1790 2008-02-10  Matthias Clasen <mclasen@redhat.com>
1791
1792         * gappinfo.h: Formatting cleanup
1793         * gappinfo.c: Fix up docs.
1794
1795 2008-02-09  Matthias Clasen <mclasen@redhat.com>
1796
1797         * gunixmounts.c: Consistently use getmntent_r() and fall
1798         back to getmntent().  (#515492)
1799
1800 2008-02-09  Matthias Clasen <mclasen@redhat.com>
1801
1802         * gbufferedinputstream.c:
1803         * ginputstream.c:
1804         * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1805
1806         * tests/data-input-stream.c:
1807         * tests/data-output-stream.c: Portability fixes.
1808
1809 2008-02-08  Alexander Larsson  <alexl@redhat.com>
1810
1811         * gio.symbols: 
1812         * gunixvolume.c:
1813         * gvolume.[ch]:
1814         Add g_volume_should_automount.
1815         Docs needed.
1816
1817 2008-02-07  Tor Lillqvist  <tml@novell.com>
1818
1819         * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1820         Win32, too Unix-specific.
1821
1822 2008-02-06  Behdad Esfahbod  <behdad@gnome.org>
1823
1824         * pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
1825         a local plt if the compiler doesn't support what we want.  Bug #514702
1826
1827 2008-02-06  Murray Cumming,,,  <murrayc@murrayc.com>
1828
1829         reviewed by: <delete if not using a buddy>
1830
1831         * gfile.c:
1832         * gunixinputstream.c:
1833         * gunixoutputstream.c:
1834
1835 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1836
1837         * tests/Makefile.am:
1838         * tests/live-g-file.c:
1839         * tests/live-g-file.txt:
1840         New GIO testing module working over real data
1841
1842 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1843
1844         * glocalfileoutputstream.c (g_local_file_output_stream_close):
1845         Fallback to rename() if link() is not available
1846         (when no support on target filesystem)
1847
1848 2008-02-06  Michael Natterer  <mitch@imendio.com>
1849
1850         * gfileinfo.c (g_file_info_get_icon): replace
1851         "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1852
1853 2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>
1854
1855         * gfile.c (g_file_create):
1856         Documentation update of error codes
1857
1858 2008-02-06  Alexander Larsson  <alexl@redhat.com>
1859
1860         * gdesktopappinfo.c:
1861         Update to use both mimeapps.list and
1862         defaults.list as discussed on xdg list.
1863
1864 2008-02-06  Benjamin Otte  <otte@gnome.org>
1865
1866         * gasyncresult.c:
1867         * gfilenamecompleter.c:
1868         Fix some typos in the documentation.
1869
1870 2008-02-06  Alexander Larsson  <alexl@redhat.com>
1871
1872         * glocalfile.c (g_local_file_trash):
1873         Don't succeed with trash if newly created
1874         trash dir has the wrong owner. (#514696)
1875
1876 2008-02-05  Alexander Larsson  <alexl@redhat.com>
1877
1878         * glocalfile.c (g_local_file_move):
1879         Don't spew warnings when destination is not
1880         a GLocalFile.
1881
1882 2008-02-03  Hans Breuer  <hans@breuer.org>
1883
1884         * makefile.msc : update
1885
1886 2008-02-01  Michael Natterer  <mitch@imendio.com>
1887
1888         * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1889         return value of xdg_mime_list_mime_parents() to a variable of the
1890         correct type.
1891
1892 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1893
1894         * gappinfo.c (g_app_info_launch_uris):
1895         Actually call the launch_uris method, not
1896         launch.
1897
1898 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1899
1900         * gdesktopappinfo.c (g_desktop_app_info_equal):
1901         Ensure appinfos with no id but same pointer value
1902         compare equal
1903
1904 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1905
1906         * gappinfo.c (g_app_info_launch_default_for_uri): 
1907         Don't leak appinfo.
1908         
1909 2008-02-01  Alexander Larsson  <alexl@redhat.com>
1910
1911         * gappinfo.[ch]:
1912         * gio.symbols:
1913         Add g_app_info_launch_default_for_uri utility
1914         function. (#513256)
1915
1916 2008-02-01  Cosimo Cecchi  <cosimoc@svn.gnome.org>
1917
1918         * gdesktopappinfo.c:
1919         Doc fix for g_app_info_get_default_for_uri_scheme ()
1920         Bug #513483.
1921
1922 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1923
1924         * gappinfo.c:
1925         Add doc comment about uris vs GFiles to
1926         g_app_info_launch()
1927         
1928         * gdesktopappinfo.c:
1929         Ensure uris passed to g_app_info_launch_uris()
1930         are not roundtriped through GFile (as that
1931         may be slightly destructive for e.g. mailto: links)
1932
1933 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1934
1935         * tests/data-input-stream.c:
1936         * tests/data-output-stream.c:
1937         C89 fixes from Jens Granseuer (#512849)
1938
1939 2008-01-30  Alexander Larsson  <alexl@redhat.com>
1940
1941         * fam/fam-helper.c:
1942         Fix gamin/fam difference build issue. (#509419)
1943
1944 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1945
1946         * gappinfo.h:
1947         * gdesktopappinfo.c:
1948         Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1949
1950 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1951
1952         * gdesktopappinfo.c:
1953         * gdesktopappinfo.h:
1954         giomodule-priv.h include moved to .c file.
1955
1956 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1957
1958         * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1959         Remove unused prio/name fields.
1960
1961 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1962
1963         * gcontenttype.c (looks_like_text):
1964         Don't treat whitespace as control chars.
1965
1966 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1967
1968         * gdesktopappinfo.c:
1969         Lazily create the desktop files for appinfos created
1970         by g_app_info_create_from_commandline() when needed
1971         for mime associations. This allows run-time use
1972         of GAppInfo object without creating unnecessary
1973         files on disk.
1974
1975 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1976
1977         * gio.symbols:
1978         Added new symbols to gio.symbols
1979
1980 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1981
1982         * gfile.[ch]:
1983         Add g_file_query_default_handler utility to easily look up
1984         the GAppInfo that handles a file.
1985         
1986         * gdesktopappinfo.[ch]:
1987         * giomodule.c:
1988         Set up an extension point for g_app_info_get_default_for_uri_scheme()
1989         
1990         * gvfs.c:
1991         Remove unused function
1992
1993 2008-01-29  Alexander Larsson  <alexl@redhat.com>
1994
1995         * gfileenumerator.c:
1996         Mention need to free returned value in
1997         g_file_enumerator_next_files_finish docs.
1998         Fix leak if g_file_enumerator_next_files_finish()
1999         not called.
2000
2001 2008-01-29  Alexander Larsson  <alexl@redhat.com>
2002
2003         * gcontenttype.c:
2004         (_g_unix_content_type_get_parents):
2005         Use list_parents, not get_parents from xdgmime, because
2006         the later doesn't use the cache.
2007         
2008         * xdgmime/xdgmimecache.c:
2009         (_xdg_mime_cache_list_mime_parents):
2010         Don't list the same type as parent multiple times.
2011
2012 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
2013
2014         * === Released 2.15.4 ===
2015
2016 2008-01-28  Alexander Larsson  <alexl@redhat.com>
2017
2018         * glocalvfs.c:
2019         Register local vfs with prio 0.
2020         
2021         * gvfs.h:
2022         Remove old name and prio class members
2023
2024 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
2025
2026         * tests/g-file.c: Disable some tests that are failing in
2027         the absence of a http backend.
2028
2029 2008-01-28  Alexander Larsson  <alexl@redhat.com>
2030
2031         * giomodule.[ch]:
2032         * gio.symbols:
2033         Add registration hooks for extension points.
2034         Register the gio extension points.
2035         
2036         * fam/gfamdirectorymonitor.c:
2037         * fam/gfamfilemonitor.c:
2038         * glocaldirectorymonitor.[ch]:
2039         * glocalfilemonitor.[ch]:
2040         * gnativevolumemonitor.h:
2041         * gunionvolumemonitor.c:
2042         * gunixvolumemonitor.c:
2043         * gvfs.[ch]:
2044         * gvolumemonitor.h:
2045         * inotify/ginotifydirectorymonitor.c:
2046         * inotify/ginotifyfilemonitor.c:
2047         Use the extension points registration instead
2048         of g_type_children().
2049
2050 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
2051         
2052         * gdrive.[hc]: 
2053         * gvolume.[hc]: Document new API. 
2054
2055         * gfile.c (g_file_copy_async): Fix docs
2056
2057 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
2058
2059         * gbufferedinputstream.c:
2060         * ginputstream.c:
2061         * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2062         __FUNCTION__.
2063         
2064 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
2065
2066         * glocalfile.c: Avoid trivial differences in translatable strings.
2067
2068 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2069
2070         * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2071         build with gcc 3.4  (#509419)
2072
2073 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2074
2075         * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2076         (#509994, Murray Cumming)
2077
2078 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2079
2080         * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2081         * gioscheduler.c: Keep calling io jobs until they return FALSE;
2082         this allows big jobs to be executed in chunks, instead of blocking
2083         the main loop for a long time.
2084
2085         * gsimpleasyncresult.c:
2086         * giofile.c: Adapt callers.
2087
2088 2008-01-25  Alexander Larsson  <alexl@redhat.com>
2089
2090         * gdesktopappinfo.c:
2091         Implement changes discussed on xdg list.
2092         Now we can add supported mimetypes by just using defaults.list
2093         We can also remove associations in defaults.list.
2094
2095 2008-01-25  Alexander Larsson  <alexl@redhat.com>
2096
2097         * gdesktopappinfo.c:
2098         Don't make local copy of desktop file
2099         for mimetype changes if the file already
2100         supports the new mimetype.
2101
2102 2008-01-25  Matthias Clasen  <mclasen@redhat.com>
2103
2104         * ginputstream.c:
2105         * goutputstream.c:
2106         * gbufferedinputstream.c:
2107         * glocalfile.c: String improvements.  (#511966, 
2108          Theppitak Karoonboonyanan)
2109
2110 2008-01-24  Matthias Clasen  <mclasen@redhat.com>
2111
2112         * gioscheduler.h: Expand docs a bit.
2113
2114 2008-01-24  Alexander Larsson  <alexl@redhat.com>
2115
2116         * gdrive.[ch]:
2117         Add g_drive_get_identifier and
2118         g_drive_enumerate_identifiers
2119
2120         * gvolume.[ch]:
2121         Add g_volume_get_identifier and
2122         g_volume_enumerate_identifiers
2123         
2124         * gio.symbols:
2125         Add symbols
2126         
2127         * gunixvolume.c:
2128         Implement identifiers for unix backend
2129
2130 2008-01-24  Alexander Larsson  <alexl@redhat.com>
2131
2132         * gfile.[ch]:
2133         * gfile.h:
2134         * gio.symbols:
2135         Add g_file_copy_async() (#511580)
2136         Based on patch from Carlos Garcia Campos
2137
2138 2008-01-23  Matthias Clasen  <mclasen@redhat.com>
2139
2140         * gioscheduler.c: Some documentation additions.
2141
2142 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2143
2144         * gdesktopappinfo.c:
2145         (g_desktop_app_info_new):
2146         Don't leak basename.
2147         
2148 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2149
2150         * gdesktopappinfo.c:
2151         (g_desktop_app_info_new_from_filename):
2152         Don't leak GKeyFile
2153
2154 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2155
2156         * glocalfileinfo.c (get_thumbnail_attributes):
2157         Fix leak of uri
2158
2159 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2160
2161         * glocalfile.c:
2162         (canonicalize_filename):
2163         Canonicalize paths that start with more than
2164         two slashes.
2165         
2166         * tests/g-file.c:
2167         (compare_two_files):
2168         (test_g_file_new_for_path):
2169         Test the above
2170
2171 2008-01-22  Alexander Larsson  <alexl@redhat.com>
2172
2173         * glocalfile.c:
2174         Allow UTF-8 in file:// parse names.
2175         
2176         * tests/Makefile.am:
2177         * tests/data-input-stream.c:
2178         * tests/data-output-stream.c:
2179         * tests/g-file-info.c:
2180         * tests/g-file.c:
2181         Added a bunch of tests from Tomas Bzatek
2182
2183 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
2184
2185         * === Released 2.15.3 ===
2186
2187 2008-01-21  Alexander Larsson  <alexl@redhat.com>
2188
2189         * gfileinputstream.[ch]:
2190         * gfileoutputstream.[ch]:
2191         * gio.symbols:
2192         Remove duplicated GSeekable functions. (#509990)
2193         Just use the g_seekable_xxx() calls instead.
2194
2195 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
2196
2197         * glocal*.c:
2198         * gvolumemanager.c: Whitespace cleanups.
2199
2200         * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2201         Use the right mode when creating the file.
2202
2203 2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>
2204
2205         * gfileenumerator.c:
2206         * gfileinputstream.c:
2207         * ginputstream.c:
2208         * goutputstream.c: Documentation: Fixed minor typos 
2209         and added more mentions of specific _finish() functions.
2210
2211 2008-01-21  Alexander Larsson  <alexl@redhat.com>
2212
2213         * inotify/Makefile.am:
2214         * inotify/inotify-helper.c:
2215         * inotify/inotify-kernel.c:
2216         * inotify/inotify-path.c:
2217         * inotify/local_inotify.h: Removed.
2218         * inotify/local_inotify_syscalls.h: Removed.
2219         Removed the included copies of the inotify
2220         headers. We now only use the <sys/inotify.h>
2221         header which exists on modern systems.
2222         This fixes problems on ARM and SH5 (#510448)
2223         but is also generally much cleaner and future
2224         safe. For instance, if other OSes add support
2225         for inotify it should "just work".
2226
2227 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
2228
2229         * inotify/*.c: Coding style fixes.
2230         * inotify/inotify-missing.c: Use g_timeout_add_seconds
2231         for the 1/4 Hz timer.
2232
2233 2008-01-20  Matthias Clasen  <mclasen@redhat.com>
2234
2235         * gfile.c:
2236         * gfilemonitor.[hc]:
2237         * gmemoryinputstream.c:
2238         * gmemoryoutputstream.c:
2239         * gmountoperation.c:
2240         * gthemedicon.c: Documentation updates
2241
2242 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
2243
2244         * gfile.c: documentation: Fixed more minor 
2245         typos.
2246
2247 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2248
2249         * gmount.c: (g_mount_remount): documentation: 
2250         Mention g_mount_remount_finish() instead of 
2251         g_mount_unmount_finish().
2252
2253 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2254
2255         * gappinfo.c:
2256         * gcancellable.c:
2257         * gfile.c: Fixed some minor typos in the 
2258         documentation. 
2259
2260 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
2261
2262         * gio/gvolumemonitor.c: 
2263         (g_volume_monitor_get_connected_drives): 
2264         (g_volume_monitor_get_volumes): 
2265         (g_volume_monitor_get_mounts): Documentation: 
2266         Clarify the ownership of the regurn GLists.
2267
2268 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2269
2270         * gfile.h:
2271         Add the async find_enclosing_mount version
2272         to the header file too.
2273
2274 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2275
2276         * gfile.c:
2277         Add async version of find_enclosing_mount
2278         with default implementation.
2279
2280 2008-01-17  Alexander Larsson  <alexl@redhat.com>
2281
2282         * gfile.c:
2283         (g_file_copy):
2284         (g_file_move):
2285         Allow calls to implementation of copy and write
2286         even if the type of the file implementations is
2287         different. This can be used to implement native
2288         upload and download calls in a vfs.
2289         
2290         * glocalfile.c:
2291         (g_local_file_move):
2292         Protect against the case where move is called
2293         with one file not being local.
2294         
2295         Make sure we call the progress callback once
2296         in the native move operation so that the caller
2297         knows how many bytes were copied.
2298
2299 2008-01-16  Murray Cumming  <murrayc@murrayc.com>
2300
2301         * gappinfo.c:
2302         * gdatainputstream.c:
2303         * gfile.c:
2304         * gfileoutputstream.c:
2305         * ginputstream.c:
2306         * gmount.c:
2307         * goutputstream.c:
2308         * gseekable.c:
2309         * gunixmounts.c: Corrected some typos in the documentation:
2310         occured -> occurred.
2311         its -> it's (where appropriate).
2312
2313 2008-01-16  Alexander Larsson  <alexl@redhat.com>
2314
2315         * gfile.[ch]:
2316         * gio.symbols:
2317         Add g_file_query_exists (#508771)
2318
2319 2008-01-15  Murray Cumming  <murrayc@murrayc.com>
2320
2321         * gdrive.c:
2322         * gfile.c:
2323         * gmount.c:
2324         * gvolume.c: For async functions that have no non-async 
2325         version, document that the GAsyncReadyCallback may be NULL.
2326         Bug #509626.
2327
2328 2008-01-15  Alexander Larsson  <alexl@redhat.com>
2329
2330         * gmemoryinputstream.c:
2331         * gmemoryoutputstream.c:
2332         Don't do pointer arithmetic on void * (#508602)
2333         Patch from Kazuki IWAMOTO
2334
2335 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
2336
2337         * === Released 2.15.2 ===
2338
2339 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2340
2341         * gfile.c (g_file_monitor_file):
2342         Don't set error here, since we fallback to polling monitor.
2343
2344 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2345
2346         * gfile.[ch]:
2347         (g_file_monitor_directory):
2348         (g_file_monitor_file):
2349         Add GError to file monitor calls
2350         
2351         * glocaldirectorymonitor.c:
2352         * glocaldirectorymonitor.h:
2353         * glocalfile.c:
2354         * glocalfilemonitor.c:
2355         * glocalfilemonitor.h:
2356         * gunixmounts.c:
2357         Update for above change
2358
2359 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2360
2361         * glocalfile.c:
2362         (match_prefix):
2363         Handle root correctly in g_file_get_relative_path (#508719)
2364
2365 2008-01-14  Alexander Larsson  <alexl@redhat.com>
2366
2367         * gasyncresult.c:
2368         Clean up docs and example for GAsyncResult (#508074)
2369
2370 2008-01-11  Murray Cumming  <murrayc@murrayc.com>
2371
2372         * gfile.c: Clarify the sentence about GAsyncReadyCallback, 
2373         and correct some spelling mistakes. Bug #508108.
2374
2375 2008-01-11  Matthias Clasen <mclasen@redhat.com>
2376
2377         * glocalfileinfo.c: Add a comment.
2378
2379 2008-01-10  Murray Cumming  <murrayc@murrayc.com>
2380
2381         * gfileinfo.c: GFileInfo description: Mention 
2382         how to actually set attributes in a GFile and how to discover 
2383         which attributes are settable. Bug #508378.
2384
2385 2008-01-10  A. Walton  <awalton@svn.gnome.org>
2386
2387         * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2388         (g_app_info_get_default_for_type):
2389         Check for NULL content types.
2390
2391 2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>
2392
2393         * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2394
2395 2008-01-09  Murray Cumming  <murrayc@murrayc.com>
2396
2397         * gfile.c: *_async() functions: Several small corrections 
2398         to the documentation, mostly correcting copy/paste errors 
2399         and improving some sentences.
2400
2401 2008-01-09  Dan Winship  <danw@gnome.org>
2402
2403         * glocalfile.c (get_unique_filename): x86_64 fix
2404
2405 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2406
2407         * gio.symbols:
2408         * gunixmount.c:
2409         * gunixmounts.[ch]:
2410         Add g_unix_mount_guess_should_display and use
2411         for unix volume monitor backend.
2412         This means we more or less show what the
2413         gnome-vfs backend did.
2414         Based on patch from Padraig O'Briain
2415
2416 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2417
2418         * gio.symbols:
2419         * gthemedicon.[ch]:
2420         Add g_themed_icon_new_with_default_fallbacks
2421         
2422         * gunixmounts.c:
2423         Use default fallbacks for icons
2424
2425 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2426
2427         * gio-marshal.list:
2428         * gmountoperation.[ch]:
2429         Change the API a bit so that unhandled methods
2430         get reported via the reply, rather than by
2431         the signal emission return value. This is because
2432         some handlers can't know this immediately without
2433         doing I/O, and this is an async operation that
2434         should not block.
2435
2436 2008-01-09  Alexander Larsson  <alexl@redhat.com>
2437
2438         * fam/fam-helper.c:
2439         * fam/gfamdirectorymonitor.c:
2440         * fam/gfamfilemonitor.c:
2441         Fix double free crash (#508224)
2442         Patch from Joe Marcus Clarke
2443
2444 008-01-07  Matthias Clasen  <mclasen@redhat.com>
2445
2446         * === Released 2.15.1 ===
2447
2448 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2449
2450         * gunixinputstream.c (g_unix_input_stream_skip_finish):
2451         Fix warning (#507835)
2452
2453 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2454
2455         * Makefile.am:
2456         Pass --internal to glib-genmarshal
2457         
2458         * gfilemonitor.c:
2459         * gmountoperation.c:
2460         * gio-marshal.list:
2461         Use better types for signal arguments (#507822)
2462
2463 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2464
2465         * Makefile.am:
2466         Build test subdir after .
2467         Remove gdirectorymonitor.[ch]
2468         
2469         * gdirectorymonitor.[ch]:
2470         * gfilemonitor.c:
2471         * gfile.[ch]:
2472         * gio.h:
2473         Remove GDirectoryMonitor and make
2474         GFileMonitor the baseclass for both file and
2475         directory monitors. Lift the more generic
2476         rate limiting code from GDirectoryMonitor
2477         into GFileMonitor.
2478         
2479         * fam/fam-helper.c:
2480         * fam/gfamdirectorymonitor.[ch]:
2481         * inotify/ginotifydirectorymonitor.[ch]:
2482         * inotify/inotify-helper.c:
2483         * glocaldirectorymonitor.[ch]:
2484         * glocalfile.c:
2485         * gvolumemonitor.c:
2486         Update for the removed GDirectoryMonitor.
2487         
2488         * gmemoryoutputstream.c:
2489         Remove ununsed variable
2490
2491 2008-01-07  Alexander Larsson  <alexl@redhat.com>
2492
2493         * gmemoryinputstream.c:
2494         Translate error strings
2495         
2496         * gio.symbols:
2497         * gmemoryoutputstream.[ch]:
2498         New implementation that avoids using GByteArray
2499         in implementation and API. (#506377)
2500
2501 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2502
2503         * tests/*: Add a test for memory input streams.
2504         
2505         * Makefile.am: Add tests to SUBDIRS.
2506
2507 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2508
2509         * glocalfilemonitor.c:
2510         * glocaldirectorymonitor.c: Mark property nicks and blurbs
2511         for translation.
2512
2513 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
2514
2515         * gdesktopappinfo.c: Fix a docs typo.
2516
2517         * gfileattribute.c: Add information about extended attributes
2518         to the documentation.  (#505058)
2519
2520 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2521
2522         * gio-marshal.list:
2523         * gmountoperation.c:
2524         Use the right type (uint) for the ask_password signal.
2525
2526 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2527
2528         * gappinfo.[ch]:
2529         * gwin32appinfo.c:
2530         * gio.symbols:
2531         Add g_app_info_supports_files() 
2532         Remove desktop arg from g_app_info_should_show().
2533         
2534         * gdesktopappinfo.[ch]:
2535         Implement g_app_info_supports_files() and new should_show()
2536         Add g_desktop_app_info_set_desktop_env() to set the desktop
2537         for should_show(). (This will be set by gtk+ later)
2538
2539 2008-01-04  Alexander Larsson  <alexl@redhat.com>
2540
2541         * gio.symbols:
2542         * gmemoryinputstream.[ch]:
2543         Improve API so that you can use multiple chunks
2544         of memory and custom destroy functions. (#506374)
2545
2546 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2547
2548         * gfileinfo.c:
2549         Handle NULL attribute matchers safely, as we return this
2550         for empty attribute matcher strings.
2551
2552 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2553
2554         * gunixmounts.c (g_unix_is_mount_path_system_internal):
2555         Add /usr/local to list of internal mountpoints
2556
2557 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2558
2559         * glocalfileinfo.c:
2560         Check for HAVE_LCHOWN (#505887)
2561         
2562 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2563
2564         * gfileinfo.h:
2565         * glocalfileinfo.c:
2566         Add define for selinux context attribute.
2567         Fix missing : -> :: namespace separator change
2568         Fix missing _ -> - name change for xattr-sys.
2569         (#505058)
2570
2571 2008-01-03  Alexander Larsson  <alexl@redhat.com>
2572
2573         * fam/Makefile.am:
2574         Link to libglib and libgobject directly (#504879)
2575         Patch from Sebastien Bacher
2576
2577 2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2578
2579         * gfile.c: Expanded the g_file_new_for_commandline_arg
2580         description a bit, based on the code and the docs of the
2581         other g_file_new_for_* functions.
2582
2583 2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2584
2585         * gfilemonitor.h: Fixed typo in docs.
2586
2587 2007-12-31  Mathias Hasselmann  <mathias@openismus.com>
2588
2589         Updates to GIO documentation. (#506395, Mikael Hermansson)
2590
2591         * gcontenttype.c: Describe memory management for return value of
2592         g_content_types_get_registered(). Missing piece from #505815.
2593         * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2594         GVolume, GDrive, GMounts, which hopefully gives the user less
2595         confusions when using this API. Following explainations from
2596         Alexander Larsson on gtk-devel-list.
2597
2598 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2599
2600         * gfileinfo.c: Expand the long description.
2601
2602 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2603
2604         * fam/Makefile.am:
2605         * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2606         fix builds with --disable-visibility.  (#500273, Christian Persch)
2607
2608 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2609
2610         * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2611         in the list of returned app infos.
2612
2613 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2614
2615         * gappinfo.c: Fix a cross-reference
2616
2617 2007-12-30  Matthias Clasen  <mclasen@redhat.com> 
2618
2619         * gfileinputstream.c:
2620         * gfileoutputstream.c:
2621         * gloadableicon.h:
2622         * gunixmounts.c:
2623         * gmount.h:
2624         * gdesktopappinfo.c:
2625         * gvolumemonitor.c: 
2626         * gfileinfo.c: Documentation updates.
2627
2628 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
2629
2630         * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
2631         Tommi Komulainen)
2632
2633 2007-12-26  Matthias Clasen  <mclasen@redhat.com> 
2634
2635         * gcontenttype.c (g_content_types_get_registered): Don't return
2636         freed memory (#505815, Mikael Hermansson)
2637
2638 2007-12-25  Paolo Borelli  <pborelli@katamail.com>
2639
2640         * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2641         used to detect statbuf->st_blocks. (#505042)
2642
2643 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
2644
2645         * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2646         environment handling.  (#504829, Cosimo Cecchi)
2647
2648 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
2649
2650         * gappinfo.c: Doc improvements
2651         
2652         * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2653         not ids.
2654
2655 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
2656
2657         * === Released 2.15.0 ===
2658
2659 2007-12-20  Hans Breuer  <hans@breuer.org>
2660
2661         * makefile.msc : don't build gdesktopappinfo.obj, it collides 
2662         with symbols gwin32appinfo.obj, added gmount.obj
2663         * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2664
2665 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2666
2667         * gfile.c:
2668         * gfileattribute.c:
2669         * gfileinfo.c:
2670         * gfileinfo.h:
2671         * gfilenamecompleter.c:
2672         * glocalfile.c:
2673         * glocalfileinfo.c:
2674         * gpollfilemonitor.c:
2675         File attribute renames:
2676         std:: -> standard::
2677         fs:: -> filesystem::
2678         id::fs -> id::filesystem
2679         
2680 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2681
2682         * gfile.[ch]:
2683         * gdrive.[ch]:
2684         * gmount.[ch]:
2685         * gvolume.[ch]:
2686         * gunixmount.c:
2687         * gunixvolume.c:
2688         * gio.symbols:
2689         Add GMountUnmountFlags to all unmount and
2690         eject calls.
2691         Add g_mount_remount() call.
2692
2693 2007-12-20  Alexander Larsson  <alexl@redhat.com>
2694
2695         * gvfs.c (get_default_vfs):
2696         Fix unused variable warning
2697
2698 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2699
2700         * pltcheck.sh: Update
2701
2702 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2703
2704         * gunionvolumemonitor.c:
2705         * gunixmount.c: Remove C99 comments
2706
2707 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
2708
2709         * gio.symbols: Add some missing symbols
2710
2711 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2712
2713         * giomodule.c:
2714         Make g_io_modules_load_all_in_directory not unuse
2715         loaded modules so that users of it can do stuff
2716         before unloading.
2717         Init internal "module" types.
2718         Initialize static prio and name for types so that
2719         we don't have to load modules to get it.
2720         
2721         * gnativevolumemonitor.h:
2722         * gvolumemonitor.h:
2723         Move is_supported to parent class so that
2724         non-native monitors can avoid being initialized
2725         too. (For instance GDaemonVolumeMonitor if we're
2726         not using GDaemonVfs.)
2727         
2728         * glocaldirectorymonitor.[ch]:
2729         * glocalfilemonitor.[ch]:
2730         * gunionvolumemonitor.c:
2731         * gunixvolumemonitor.c:
2732         * gvfs.c:
2733         Find plugins using the static prio+name to
2734         avoid unnecessarily loading the modules.
2735
2736 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2737
2738         * giomodule.c:
2739         Remove warnings
2740
2741 2007-12-19  Alexander Larsson  <alexl@redhat.com>
2742
2743         * gunionvolumemonitor.c:
2744         Store the native type as GType, not class so that
2745         we can unload it. But still avoid unnecessarily
2746         unload modules.
2747
2748 2007-12-19  David Zeuthen  <davidz@redhat.com>
2749
2750         Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2751         add signals 'disconnected' and 'eject-button' on GDrive. Add
2752         signal 'removed' on GVolume and 'unmounted' on GMount.
2753
2754         * gdrive.c: (g_drive_base_init):
2755         * gdrive.h:
2756         * gfile.c: (g_file_mount_mountable),
2757         (g_file_mount_enclosing_volume):
2758         * gio.symbols:
2759         * gioerror.h:
2760         * gmount.c: (g_mount_base_init):
2761         * gmount.h:
2762         * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2763         * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2764         * gvolume.c: (g_volume_base_init), (g_volume_mount):
2765         * gvolume.h:
2766         * gvolumemonitor.h:
2767
2768 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2769
2770         * *.c: Fix up includes in the section docs.
2771
2772 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2773
2774         * gnativevolumemonitor.h:
2775         * gunionvolumemonitor.c:
2776         * gunixvolumemonitor.c:
2777         Add is_supported() to GNativeVolumeMonitorClass so
2778         that we can avoid having to create an object to see
2779         if the backend is supported at runtime.
2780         Also add name member and an env var to pick a specific
2781         volume monitor backend.
2782         
2783         * gmountprivate.h:
2784         * glocalfile.c:
2785         Add cancellable to _g_mount_get_for_mount_path()
2786         
2787         * glocaldirectorymonitor.c:
2788         * glocalfilemonitor.c:
2789         Avoid loading and unloading modules while sorting.
2790
2791 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2792
2793         * gio.symbols:
2794         * gunixmounts.[hc]: Namespace waste reduction, move some
2795         g_get_unix_mount functions to the g_unix_mount namespace.
2796
2797         * gunixmounts.c:
2798         * gunixvolumemonitor.c:
2799         * glocalfile.c:
2800         * glocaldirectorymonitor.c: Update all callers.
2801
2802         * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2803
2804 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2805
2806         * gfile.c:
2807         Add doc comments about what GFile operations are
2808         guaranteed to not block.
2809
2810 2007-12-17  Alexander Larsson  <alexl@redhat.com>
2811
2812         * gunixmounts.c:
2813         Add missing #ifdef fixing OSX build.
2814         (#503334, patch from Richard Hult)
2815
2816 2007-12-14  David Zeuthen  <davidz@redhat.com>
2817
2818         * Makefile.am:
2819         * gio.symbols:
2820         * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2821         (g_mount_eject), (g_mount_eject_finish):
2822         * gmount.h:
2823         * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2824         (get_volume_for_uuid), (get_mount_for_uuid),
2825         (g_union_volume_monitor_class_init),
2826         (get_default_native_type_with_exclude), (get_default_native_type),
2827         (get_native_type), (update_native_type),
2828         (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2829         * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2830         (g_unix_mount_can_eject), (eject_unmount_cb),
2831         (eject_unmount_read_error), (eject_unmount_do),
2832         (g_unix_mount_unmount), (g_unix_mount_eject),
2833         (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2834         * gunixmounts.c: (g_unix_mount_guess_can_eject),
2835         (g_unix_mount_point_guess_can_eject):
2836         * gunixmounts.h:
2837         * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2838         (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2839         (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2840         (g_unix_volume_mount), (g_unix_volume_eject),
2841         (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2842         * gunixvolumemonitor.c: (get_volume_for_uuid),
2843         (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2844         (update_mounts):
2845         * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2846         (g_volume_eject), (g_volume_eject_finish):
2847         * gvolume.h:
2848         * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2849         (g_volume_monitor_get_mount_for_uuid):
2850         * gvolumemonitor.h:
2851
2852         Provide eject() on both GMount and GVolume and utility functions
2853         to guess whether a GUnixMountPoint or GUnixMountEntry should be
2854         ejected. Introduce the concept of UUID's and wire it into GVolume
2855         and GMount and provide API on GVolumeMonitor to find such
2856         instances. Also handle the case where an external
2857         GNativeVolumeMonitor fails to initialize. Lock around the
2858         _g_get_mount_for_mount_path() function such that volume monitor
2859         implementations won't have to do locking themselves.
2860
2861 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
2862
2863         * gdesktopappinfo.c:
2864         * gunixmounts.c:
2865         * gfileinfo.c:
2866         * gvolumemonitor.c:
2867         * gfile.h:
2868         * gioscheduler.c:
2869         * gvolume.h: Documentation updates
2870
2871 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2872
2873         * gunixmounts.c:
2874         * gfile.h: Doc updates
2875
2876 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
2877
2878         * gcontenttype.c:
2879         * gdesktopappinfo.c: Use hash table iterators.
2880
2881 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2882
2883         * Makefile.am:
2884         * gfileattribute.[ch]:
2885         * gfileattribute-priv.h:
2886         Move GFileAttributeValue to a private header, as
2887         its sort of ugly.
2888         
2889         * gfile.[ch]:
2890         Make set_attribute take a type + a pointer instead
2891         of a GFileAttributeValue.
2892         
2893         * gfileinfo.[ch]:
2894         Fix up for above changes.
2895         Add g_file_info_get_attribute_data to get
2896         all info in one call, g_file_info_get_attribute_status
2897         to get the status and g_file_info_get_attribute_as_string.
2898         
2899         * gio.symbols:
2900         * glocalfile.c:
2901         * glocalfileinfo.[ch]:
2902         Update for changes
2903         
2904         * gunixmounts.c:
2905         Make _guess_type static.
2906
2907 2007-12-14  Yevgen Muntyan  <muntyan@tamu.edu>
2908
2909         * Makefile.am:
2910         * inotify/Makefile.am: Fixed build when srcdir != builddir,
2911         made mkenums and friends use temporary files to avoid leaving
2912         empty generated files on failure (#503470).
2913
2914 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2915
2916         * gmountoperation.h:
2917         Fix AKS -> ASK typo
2918
2919 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2920
2921         * gappinfo.h:
2922         * gfile.[ch]:
2923         * gfileattribute.[ch]:
2924         * gio.symbols:
2925         * glocalfile.c:
2926         * glocalfileoutputstream.c:
2927         * gmountoperation.[ch]:
2928         * goutputstream.[ch]:
2929         Clean up all flags enums to not have _FLAGS in them
2930         Make the names of some of the enums better.
2931
2932         * glocalfileinfo.c:
2933         Fix warning
2934         
2935 2007-12-14  Michael Natterer  <mitch@imendio.com>
2936
2937         * gio.symbols: fix g_io_scheduler symbol names.
2938
2939 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2940
2941         * Makefile.am:
2942         * fam/Makefile.am:
2943         * gappinfo.h:
2944         * gasyncresult.h:
2945         * gbufferedinputstream.h:
2946         * gbufferedoutputstream.h:
2947         * gcancellable.h:
2948         * gcontenttype.h:
2949         * gdatainputstream.h:
2950         * gdataoutputstream.h:
2951         * gdesktopappinfo.h:
2952         * gdirectorymonitor.h:
2953         * gdrive.h:
2954         * gfile.h:
2955         * gfileattribute.h:
2956         * gfileenumerator.h:
2957         * gfileicon.h:
2958         * gfileinfo.h:
2959         * gfileinputstream.h:
2960         * gfilemonitor.h:
2961         * gfilenamecompleter.h:
2962         * gfileoutputstream.h:
2963         * gfilterinputstream.h:
2964         * gfilteroutputstream.h:
2965         * gicon.h:
2966         * ginputstream.h:
2967         * gio.h:
2968         * gioerror.h:
2969         * giomodule.h:
2970         * gioscheduler.h:
2971         * gloadableicon.h:
2972         * gmemoryinputstream.h:
2973         * gmemoryoutputstream.h:
2974         * gmount.h:
2975         * gmountoperation.h:
2976         * goutputstream.h:
2977         * gseekable.h:
2978         * gsimpleasyncresult.h:
2979         * gthemedicon.h:
2980         * gunixinputstream.h:
2981         * gunixmounts.h:
2982         * gunixoutputstream.h:
2983         * gvfs.h:
2984         * gvolume.h:
2985         * gvolumemonitor.h:
2986         * inotify/Makefile.am:
2987         Only allow including <gio/gio.h> from apps
2988
2989 2007-12-14  Alexander Larsson  <alexl@redhat.com>
2990
2991         * gioscheduler.[ch]:
2992         * gsimpleasyncresult.c:
2993         Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2994         Split out the send_to_mainloop call into two versions instead
2995         of having the block argument.
2996
2997 2007-12-13  Alexander Larsson  <alexl@redhat.com>
2998
2999         * gcancellable.[ch]:
3000         * gio.symbols:
3001         * gbufferedinputstream.c:
3002         * gfileenumerator.c:
3003         * gfileinputstream.c:
3004         * gfileoutputstream.c:
3005         * ginputstream.c:
3006         * gioscheduler.c:
3007         * goutputstream.c:
3008         g_push/pop_current_cancellable ->
3009         g_cancellable_push/pop_current
3010
3011 2007-12-13  Alexander Larsson  <alexl@redhat.com>
3012
3013         * gfile.[ch]:
3014         * gio.symbols:
3015         Rename g_mount_for_location to g_file_mount_enclosing_volume.
3016
3017 2007-12-13  Alexander Larsson  <alexl@redhat.com>
3018
3019         * gmountoperation.h:
3020         G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3021
3022 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3023
3024         * gioscheduler.c:
3025         Fix race condition when freeing proxy in
3026         g_io_job_send_to_mainloop().
3027
3028 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3029
3030         * gfileattribute.c:
3031         * gfileinfo.[ch]:
3032         * glocalfile.c:
3033         * glocalfileinfo.c:
3034         Make attribute namespace separator "::" instead of ":".
3035         Use - instead of _ as separator in attribute names.
3036
3037 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3038
3039         * gbufferedinputstream.h:
3040         * gbufferedoutputstream.h:
3041         * gdatainputstream.h:
3042         * gdataoutputstream.h:
3043         * gdirectorymonitor.h:
3044         * gfileenumerator.h:
3045         * gfileinputstream.h:
3046         * gfilemonitor.h:
3047         * gfileoutputstream.h:
3048         * gfilterinputstream.h:
3049         * gfilteroutputstream.h:
3050         * ginputstream.h:
3051         * glocalfileinputstream.h:
3052         * glocalfileoutputstream.h:
3053         * gmemoryinputstream.h:
3054         * gmemoryoutputstream.h:
3055         * gnativevolumemonitor.h:
3056         * goutputstream.h:
3057         * gunixinputstream.h:
3058         * gunixoutputstream.h:
3059         * gvfs.h:
3060         * gvolumemonitor.h:
3061         s/parent/parent_instance/ in GObjects
3062
3063 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3064
3065         * gdrive.h:
3066         * gmount.h:
3067         * gvolume.h:
3068         No need for padding for interfaces
3069         
3070 2007-12-12  Alexander Larsson  <alexl@redhat.com>
3071
3072         * gappinfo.[ch]:
3073         * gasyncresult.c:
3074         * gbufferedinputstream.c:
3075         * gbufferedoutputstream.c:
3076         * gcancellable.c:
3077         * gcontenttype.c:
3078         * gdatainputstream.[ch]:
3079         * gdesktopappinfo.c:
3080         * gdirectorymonitor.c:
3081         * gfile.[ch]:
3082         * gfileattribute.[ch]:
3083         * gfileicon.[ch]:
3084         * gfileinfo.h:
3085         * gfileinputstream.h:
3086         * gfilemonitor.[ch]:
3087         * gfileoutputstream.[ch]:
3088         * gfilterinputstream.h:
3089         * gfilteroutputstream.h:
3090         * gicon.h:
3091         * gioscheduler.c:
3092         * gloadableicon.[ch]:
3093         * gmemoryinputstream.c:
3094         * gmountoperation.c:
3095         * gthemedicon.c:
3096         Fix up a bunch of details in the docs.
3097
3098         * glocalfileinfo.c:
3099         CR/LF -> LF fixups
3100         
3101 2007-12-11  David Zeuthen  <davidz@redhat.com>
3102
3103         Rework how volumes, drives and volume monitoring is
3104         done. Previosly the model was
3105
3106          GDrive <1-1> GVolume
3107
3108         where a GDrive instance represented a mount point and a GVolume
3109         instance represented a mounted file system. This patch changes it
3110         the model to
3111
3112                 GDrive <1-N> GVolume <1-1> GMount
3113
3114         where GMount now serves the purpose of the old GVolume and the new
3115         GVolume serves the purpose of the old GDrive. In addition the new
3116         GDrive interface is used to represent a collection of GVolume
3117         instances (typically partitions) and also contains utility to query
3118         the state of the physical drive the GDrive object represents (such
3119         as checking for media, polling the drive, ejecting the media etc.).
3120
3121         Also implement mounting and unmounting in the Unix volume monitor
3122         backend. A subquent patch will introduce GDrive support for ejection
3123         of media.
3124
3125         * Makefile.am:
3126         * gdrive.c: (g_drive_is_media_check_automatic),
3127         (g_drive_is_media_removable), (g_drive_has_media),
3128         (g_drive_can_poll_for_media), (g_drive_eject),
3129         (g_drive_eject_finish), (g_drive_poll_for_media),
3130         (g_drive_poll_for_media_finish):
3131         * gdrive.h:
3132         * gfile.c: (g_file_find_enclosing_mount):
3133         * gfile.h:
3134         * gio.symbols:
3135         * glocaldirectorymonitor.c:
3136         (g_local_directory_monitor_constructor), (mounts_changed):
3137         * glocalfile.c: (get_mount_info),
3138         (g_local_file_find_enclosing_mount),
3139         (g_local_file_file_iface_init):
3140         * gnativevolumemonitor.h:
3141         * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3142         (get_connected_drives), (g_union_volume_monitor_class_init),
3143         (child_volume_added), (child_volume_removed),
3144         (child_volume_changed), (child_mount_added), (child_mount_removed),
3145         (child_mount_pre_unmount), (child_mount_changed),
3146         (child_drive_changed), (g_union_volume_monitor_add_monitor),
3147         (g_union_volume_monitor_remove_monitor),
3148         (_g_mount_get_for_mount_path):
3149         * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3150         (guess_system_internal), (_g_get_unix_mounts),
3151         (_g_get_unix_mount_points), (g_get_unix_mount_at),
3152         (g_unix_mount_free), (g_unix_mount_compare),
3153         (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3154         (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3155         (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3156         (type_to_icon), (g_unix_mount_guess_name),
3157         (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3158         (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3159         (_resolve_symlink), (_resolve_dev_root):
3160         * gunixmounts.h:
3161         * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3162         (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3163         (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3164         (g_unix_volume_get_name), (g_unix_volume_can_mount),
3165         (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3166         (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3167         (g_unix_volume_mount), (g_unix_volume_mount_finish),
3168         (g_unix_volume_volume_iface_init):
3169         * gunixvolume.h:
3170         * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3171         (get_mounts), (get_volumes), (get_connected_drives),
3172         (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3173         (mountpoints_changed), (mounts_changed),
3174         (g_unix_volume_monitor_init),
3175         (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3176         (find_mount_by_mountpath), (update_volumes), (update_mounts):
3177         * gunixvolumemonitor.h:
3178         * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3179         (g_volume_mount), (g_volume_mount_finish):
3180         * gvolume.h:
3181         * gvolumemonitor.c: (g_volume_monitor_class_init),
3182         (g_volume_monitor_get_connected_drives),
3183         (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3184         * gvolumemonitor.h:
3185
3186 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
3187
3188         * gmountoperation.h (GPasswordFlags): Close the gap
3189
3190 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
3191
3192         * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3193         * gio.symbols:
3194         * gdesktopappinfo.[hc]: Remove _-prefixes
3195
3196 2007-12-10  Tor Lillqvist  <tml@novell.com>
3197
3198         * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3199         gcc warnings.
3200
3201 2007-12-10  Alexander Larsson  <alexl@redhat.com>
3202
3203         * gfile.c (g_file_set_display_name):
3204         Don't hardcode '/' (#502727)
3205
3206 2007-12-09  Hans Breuer  <hans@breuer.org>
3207
3208         * makefile.msc : follow lib naming convention
3209         * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3210         for user and group name, tested with ../tests/gio-ls
3211
3212 2007-12-09  A. Walton  <awalton@svn.gnome.org>
3213
3214         * gdesktopappinfo.c:
3215         * gdrive.c:
3216         * gdrive.h:
3217         * gfile.c:
3218         * gfile.h:
3219         * gfileattribute.c:
3220         * gfileenumerator.c:
3221         * gioerror.c:
3222         * gioscheduler.c:
3223         * gioscheduler.h:
3224         * gloadableicon.c:
3225         * gmemoryinputstream.c:
3226         * gmemoryoutputstream.c:
3227         * goutputstream.h:
3228         * gsimpleasyncresult.c:
3229         More documentation cleanup and filling in missing information, bringing
3230         GIO to 99% symbol coverage.
3231
3232 2007-12-08  Hans Breuer  <hans@breuer.org>
3233
3234         [gio compiles and links on win32, not sure how much already works]
3235         * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3236         * glocalfile.c : use HAVE_UNISTD_H; implement file system size info 
3237         base on win32 API; prefer g_lstat() over lstat(); instead of 
3238         localtime_r() use an all GLib implementation on win32;
3239         get_mount_info() still needs a win32 specifc implementation
3240         * glocalfileinfo.c : use HAVE_*_H; start of implementation of 
3241         win32_get_file_user_info to get owner/group info without uid/gid
3242         * glocalfileinputstream.c : include <io.h> on win32
3243         * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3244         definition, use g_win32_ftruncate() for G_OS_WIN32
3245         * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3246         it is available with mingw/w32api but a mess with the M$ Platform SDKs
3247         see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3248         * makefile.msc : updated
3249
3250 2007-12-07  Alexander Larsson  <alexl@redhat.com>
3251
3252         * glocalfileenumerator.c (_g_local_file_enumerator_new):
3253         Avoid warning spew if error == NULL
3254         
3255 2007-12-07  Alexander Larsson  <alexl@redhat.com>
3256
3257         * gfile.c:
3258         Update docs wrt etags
3259
3260 2007-12-06  Alexander Larsson  <alexl@redhat.com>
3261
3262         * glocalfileinfo.h:
3263         Include sys/types.h for dev_t (#501919)
3264
3265 2007-12-06  Behdad Esfahbod  <behdad@gnome.org>
3266
3267         * gio.symbols:
3268         * pltcheck.sh:
3269         Make abicheck and pltcheck pass.
3270
3271 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3272
3273         * Makefile.am:
3274         * giomodule-priv.h: Added.
3275         * glocaldirectorymonitor.c:
3276         * glocalfilemonitor.c:
3277         * gunionvolumemonitor.c:
3278         * gvfs.c:
3279         Actually add the declaration of _g_io_modules_ensure_loaded
3280
3281 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3282
3283         * gdatainputstream.c:
3284         Fix warnings
3285         
3286         * gio.symbols:
3287         * giomodule.[ch]
3288         * glocaldirectorymonitor.c:
3289         * glocalfilemonitor.c:
3290         * gunionvolumemonitor.c:
3291         * gvfs.c:
3292         Make g_io_modules_ensure_loaded a private function and
3293         don't pass in the dirname. This means we can do magic
3294         directory finding in the win32 version.
3295         Export the actual load-modules-in-directory code so that
3296         gvfs can reuse that.
3297
3298 2007-12-05  Alexander Larsson  <alexl@redhat.com>
3299
3300         * gbufferedinputstream.c:
3301         * gbufferedoutputstream.c:
3302         * gdrive.[ch]:
3303         * gfile.[ch]:
3304         * gfileenumerator.[ch]:
3305         * gfileinputstream.c:
3306         * gfileoutputstream.[ch]:
3307         * gfilterinputstream.c:
3308         * gfilteroutputstream.c:
3309         * ginputstream.[ch]:
3310         * glocalfile.c:
3311         * glocalfileenumerator.c:
3312         * glocalfileinputstream.c:
3313         * glocalfileoutputstream.c:
3314         * gmemoryinputstream.c:
3315         * gmemoryoutputstream.c:
3316         * goutputstream.[ch]:
3317         * gseekable.[ch]:
3318         * gunixdrive.c:
3319         * gunixinputstream.c:
3320         * gunixoutputstream.c:
3321         Rename all struct members named:
3322         read, write, close, truncate, or mount
3323         to foo_fn, as these are reserved names
3324         and could be defined as macros in libc.
3325         (#501645)
3326
3327 2007-12-04  Alexander Larsson  <alexl@redhat.com>
3328
3329         * goutputstream.c:
3330         (g_output_stream_close):
3331         Only call flush if non-null.
3332
3333 2007-11-30  Dan Winship  <danw@gnome.org>
3334
3335         * ginputstream.c (g_input_stream_set_pending): Make this take a
3336         GError and return a gboolean, and do the "outstanding operation"
3337         check (and the "stream is already closed" check) itself.
3338         (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3339
3340         * goutputstream.c (g_output_stream_set_pending)
3341         (g_output_stream_clear_pending): Likewise
3342
3343         * gbufferedinputstream.c: 
3344         * gfileinputstream.c: 
3345         * gfileoutputstream.c: Update for that
3346
3347         * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3348         Like g_simple_async_report_error_in_idle, but takes a GError
3349         rather than building one.
3350
3351 2007-11-30  Dan Winship  <danw@gnome.org>
3352
3353         * goutputstream.c: Don't cheat and unset the "pending" flag around
3354         inner calls. Instead, call the class method directly rather than
3355         the wrapper function that checks "pending"
3356
3357 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
3358
3359         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3360
3361 2007-12-03  Hans Breuer  <hans@breuer.org>
3362
3363         [start of port to win32/msvc]
3364         * gcancellable.c : HAVE_UNIST_H and _pipe()
3365         * gcontenttype.c : only include <dirent.h> in the UNIX branch
3366         * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3367         * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use 
3368         HAVE_UNIST_H
3369         * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3370         * glocalvfs.c : use HAVE_PWD_H
3371         * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3372         * makefile.msc : new file (maybe later converted to makefile.msc.in)
3373         * Makefile.am : added to EXTRA_DIST
3374
3375 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
3376
3377         * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3378         (#499783)
3379
3380 2007-12-03  Alexander Larsson  <alexl@redhat.com>
3381
3382         * glocalfileinfo.c:
3383         Handle OSX style xattrs API (#500506)
3384
3385 2007-12-03  Alexander Larsson  <alexl@redhat.com>
3386
3387         * gfile.[ch]:
3388         * glocalfile.c:
3389         Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3390
3391 2007-12-02  A. Walton  <awalton@svn.gnome.org>
3392
3393         * gfile.c:
3394         * gfileattribute.c:
3395         Documentation accuracy fixes.
3396
3397 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
3398
3399         * gioenumtypes.c.template: Fix typo.
3400
3401 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3402
3403         * gioenumtypes.c.template: Make threadsafe get_type() functions.
3404
3405 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3406
3407         * gdirectorymonitor.c:
3408         * gfilemonitor.c: Add properties
3409
3410         * gbufferedoutputstream.c: Don't mark buffer-size property 
3411         as construct-only.
3412
3413 2007-12-01  Matthias Clasen <mclasen@redhat.com>
3414
3415         * gbufferedoutputstream.c: Add auto-grow property.
3416
3417 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3418
3419         * *.c: Unify the capitalization of section headings.
3420
3421 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3422
3423         * gmountoperation.c: Add properties
3424         
3425         * gdatainputstream.c: Turn byte-order and newline-type into
3426         properties.
3427
3428 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3429
3430         * gioenumtypes.[hc].template: Templates for enum registration
3431
3432         * Makefile.am: Generate gioenumtypes.[hc]
3433
3434         * gio.h: Include gioenumtypes.h
3435         * gappinfo.h:
3436         * gfile.h: Add some explicit nicks.
3437
3438         * gio.symbols: Add new symbols
3439
3440         * pltcheck.sh: Adjust
3441
3442 2007-11-30  Matthias Clasen <mclasen@redhat.com>
3443
3444         * *.c: Explain etags and link to the explanation
3445
3446 2007-11-29  Matthias Clasen <mclasen@redhat.com>
3447
3448         * *.c: Explain I/O priority.
3449
3450         * *.c: More coding style fixes.
3451
3452 2007-11-29  Matthias Clasen <mclasen@redhat.com>
3453
3454         * gasyncresult.c: Add another paragraph to the intro,
3455         adjust coding style of example.
3456
3457 2007-11-29  A. Walton <awalton@svn.gnome.org>
3458
3459         * gappinfo.c:
3460           Fixes unknown meaning in GAppLaunchContext docs.
3461         * gfile.c:
3462           Clarify asynchronous ops.
3463         * gfileattribute.c:
3464           Fix entity tag docs.
3465         * gicon.c:
3466         * gthemedicon.c:
3467           Provides missing gtk-doc section, fixes API docs slighly.
3468         * gsimpleasyncresult.c:
3469           Fill in missing info in docs.
3470         * gunixinputstream.c:
3471         * gunixoutputstream.c:
3472           Be more expressive in short description.
3473         * gunixvolume.c:
3474           Remove gtk-doc stubs for non-public API.
3475
3476 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3477
3478         * *.c: Coding style fixups
3479
3480 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3481
3482         * inotify/inotify-helper.c: Don't export the lock from libgio.
3483
3484 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3485
3486         * Makefile.am:
3487         * abicheck.sh: Fix copy-and-paste leftovers 
3488
3489 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
3490
3491         * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3492
3493 2007-11-28  Alexander Larsson  <alexl@redhat.com>
3494
3495         * Makefile.am:
3496         * gdriveprivate.h:
3497         Removed unnecessary file
3498         
3499         * gdesktopappinfo.[ch]:
3500         * gdummyfile.[ch]:
3501         * gfile.c:
3502         * glocaldirectorymonitor.[ch]:
3503         * glocalfile.[ch]:
3504         * glocalfileenumerator.[ch]:
3505         * glocalfileinputstream.[ch]:
3506         * glocalfilemonitor.[ch]:
3507         * glocalfileoutputstream.[ch]:
3508         * glocalvfs.[ch]:
3509         * gnativevolumemonitor.c:
3510         * gpollfilemonitor.[ch]:
3511         * gunionvolumemonitor.[ch]:
3512         * gunixdrive.[ch]:
3513         * gunixvolume.[ch]:
3514         * gunixvolumemonitor.[ch]:
3515         * gvfs.c:
3516         * gvolumeprivate.h:
3517         * inotify/ginotifydirectorymonitor.[ch]:
3518         * inotify/ginotifyfilemonitor.[ch]:
3519         * inotify/inotify-helper.c:
3520         Append _ to all internal functions
3521         
3522         * gio.symbols:
3523         Add missing symbols
3524         Export symbols needed for modules
3525
3526 2007-11-28  Alexander Larsson  <alexl@redhat.com>
3527
3528         * Makefile.am:
3529         * abicheck.sh: Added.
3530         * makegioalias.pl: Added.
3531         * pltcheck.sh: Added.
3532         * gio.symbols: Added.
3533         * *.c:
3534         * inotify/*.c
3535         Initial work on adding symbol handling.
3536
3537         * gvfs.h:
3538         Correct ifdef guard name
3539
3540         * fam/Makefile.am:
3541         * inotify/Makefile.am:
3542         * xdgmime/Makefile.am:
3543         Include toplevel Makefile.decl
3544
3545 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
3546
3547         * gcontenttype.c: Move doc comments to the unix section.
3548
3549         * *.[hc]: More trivial doc corrections.
3550
3551 2007-11-27  Matthias Clasen  <mclasen@redhat.com>
3552
3553         * gpollfilemonitor.c:
3554         * gunixmounts.c:
3555         * gvfs.c:
3556         * gfile.c:
3557         * gdesktopappinfo.c:
3558         * gwin32appinfo.c:
3559         * gvolume.c:
3560         * glocalvfs.c:
3561         * gvolumemonitor.c:
3562         * gdatainputstream.c:
3563         * gdatainputstream.h:
3564         * gdataoutputstream.c:
3565         * gdataoutputstream.h:
3566         * gfileinfo.h: Doc cleanups
3567
3568 2007-11-28  Andre Klapper  <a9016009@gmx.de>
3569
3570         * gdesktopappinfo.c: Fix a typo.
3571
3572 2007-11-27  Andre Klapper  <a9016009@gmx.de>
3573
3574         * glocalfileoutputstream.c: Fix a typo.
3575
3576 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3577
3578         * gio.h:
3579         Don't include removed headers
3580
3581 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3582
3583         * Makefile.am:
3584         * gsocketinputstream.[ch]: Removed.
3585         * gsocketoutputstream.[ch]: Removed.
3586         * gunixinputstream.[ch]: Added.
3587         * gunixoutputstream.[ch]: Added.
3588         Renamed GSocket*Stream to GUnix*Stream and made
3589         it unix-only, since its not really only for sockets
3590         and it only works on unix (but is highly useful there).
3591
3592 2007-11-27  Andrew Walton  <awalton@svn.gnome.org>
3593         * gappinfo.c:
3594         * gappinfo.h:
3595         * gasynchelper.c:
3596         * gasyncresult.c:
3597         * gasyncresult.h:
3598         * gbufferedinputstream.c:
3599         * gbufferedinputstream.h:
3600         * gbufferedoutputstream.c:
3601         * gbufferedoutputstream.h:
3602         * gcancellable.c: 
3603         * gcancellable.h:
3604         * gcontenttype.c:
3605         * gdatainputstream.c:
3606         * gdatainputstream.h:
3607         * gdataoutputstream.c:
3608         * gdataoutputstream.h:
3609         * gdirectorymonitor.c:
3610         * gdirectorymonitor.h:
3611         * gdrive.c: 
3612         * gdrive.h:
3613         * gfile.c:
3614         * gfile.h:
3615         * gfileattribute.c:
3616         * gfileattribute.h:
3617         * gfileenumerator.c:
3618         * gfileenumerator.h:
3619         * gfileicon.c:
3620         * gfileicon.h:
3621         * gfileinfo.c:
3622         * gfileinfo.h:
3623         * gfileinputstream.c:
3624         * gfileinputstream.h:
3625         * gfilemonitor.c:
3626         * gfilemonitor.h:
3627         * gfilenamecompleter.c:
3628         * gfilenamecompleter.h:
3629         * gfileoutputstream.c:
3630         * gfileoutputstream.h:
3631         * gfilterinputstream.c:
3632         * gfilterinputstream.h:
3633         * gfilteroutputstream.c:
3634         * gfilteroutputstream.h:
3635         * gicon.c:
3636         * gicon.h:
3637         * ginputstream.c:
3638         * ginputstream.h:
3639         * gioerror.c:
3640         * gioerror.h:
3641         * giomodule.c:
3642         * giomodule.h:
3643         * gioscheduler.c:
3644         * gioscheduler.h:
3645         * gloadableicon.c:
3646         * gloadableicon.h:
3647         * glocalfileoutputstream.c:
3648         * gmemoryinputstream.c:
3649         * gmemoryinputstream.h:
3650         * gmemoryoutputstream.c:
3651         * gmemoryoutputstream.h:
3652         * gmountoperation.c: 
3653         * gmountoperation.h:
3654         * goutputstream.c:
3655         * goutputstream.h:
3656         * gpollfilemonitor.c:
3657         * gseekable.c:
3658         * gseekable.h:
3659         * gsimpleasyncresult.c:
3660         * gsimpleasyncresult.h:
3661         * gsocketinputstream.c:
3662         * gsocketinputstream.h:
3663         * gsocketoutputstream.c:
3664         * gsocketoutputstream.h:
3665         * gthemedicon.c:
3666         * gthemedicon.h:
3667         * gunixdrive.c:
3668         * gunixmounts.c: 
3669         * gunixmounts.h:
3670         * gunixvolume.c:
3671         * gunixvolumemonitor.c:
3672         * gurifuncs.c:
3673         * gurifuncs.h:
3674         * gvfs.c:
3675         * gvfs.h:
3676         * gvolume.c:
3677         * gvolume.h:
3678         * gvolumemonitor.c: 
3679         * gvolumemonitor.h:
3680         Bumps documentation to 93% symbol coverage, touching most 
3681         of the public files. Fixes broken function documentation prototypes. 
3682         Fixes GCancellable inaccuracies. Removes unnecessary incomplete 
3683         gtk-doc headers in private files.
3684
3685 2007-11-27  Jürg Billeter  <j@bitron.ch>
3686
3687         * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3688         (g_buffered_input_stream_read_byte):
3689         * gbufferedinputstream.h:
3690         New functions for efficient access to buffer and simple single byte
3691         reads.
3692
3693         * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3694         (g_data_input_stream_read_until):
3695         * gdatainputstream.h:
3696         Use peek_buffer to avoid memcpy in scan_for_newline, implement
3697         read_until with multiple stop chars.
3698
3699 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3700
3701         * Makefile.am:
3702         * fam/Makefile.am:
3703         * inotify/Makefile.am:
3704         Use the user-specified giomoduledir
3705
3706 2007-11-27  Alexander Larsson  <alexl@redhat.com>
3707
3708         * Makefile.am
3709         * gio.h:
3710         Add catch-all gio.h header
3711         Don't install gdummyfile.h
3712
3713 2007-11-26  Alexander Larsson  <alexl@redhat.com>
3714
3715         * Makefile.am (gioinclude_HEADERS):
3716         Remove trailing whitespace
3717         
3718 2007-11-26  Alexander Larsson  <alexl@redhat.com>
3719
3720         Merge gio-standalone into glib
3721
3722 2007-11-25  Christian Kellner  <gicmo@gnome.org>
3723
3724         * gio/goutputstream.c:
3725         Fix small mistake in the docs.
3726
3727 2007-11-21  Christian Persch  <chpe@gnome.org>
3728
3729         * gio/glocalfile.c: (g_local_file_trash):
3730         Convert filenames to UTF-8 for GError.
3731         Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3732         as per xdg base dir spec.
3733
3734 2007-11-21  Christian Persch  <chpe@gnome.org>
3735
3736         * gio/gdesktopappinfo.c:
3737         Use that g_key_file_to_data cannot fail.
3738         Some misc cleanups.
3739         Use stock defines for the key file group and key names.
3740         Use bitfields.
3741
3742 2007-11-21  Alexander Larsson  <alexl@redhat.com>
3743
3744         * gio/gfile.c:
3745         (copy_stream_with_progress):
3746         Make sure we do a final progress callback with
3747         the full total size.
3748
3749 2007-11-21  Alexander Larsson  <alexl@redhat.com>
3750
3751         * gio/gfile.[ch]:
3752         Export g_file_copy_attributes
3753         Remove padding as its not needed for interfaces
3754
3755 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3756
3757         * gio/gfile.c:
3758         * gio/gioerror.h:
3759         * gio/glocalfile.c:
3760         Add G_IO_ERROR_WOULD_MERGE for
3761         copy/move dir on dir with overwrite.
3762
3763 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3764
3765         * gio/gfileinfo.h:
3766         * gio/glocalfileinfo.c:
3767         Add COPY_NAME (this is an optional
3768         non-modified utf8 version of the name) that
3769         can roundtrip.
3770
3771 2007-11-20  Alexander Larsson  <alexl@redhat.com>
3772
3773         * gio/glocalfileenumerator.c:
3774         Report errors as GIOError, not GFileError
3775
3776 2007-11-16  Alexander Larsson  <alexl@redhat.com>
3777
3778         * gio/glocalfileoutputstream.c:
3779         * gio/gwin32appinfo.c:
3780         Fix typos in strings.
3781         Patch from Luca Ferretti <elle.uca@libero.it>
3782
3783 2007-11-15  Alexander Larsson  <alexl@redhat.com>
3784
3785         * configure.ac:
3786         Post release version bump
3787
3788 === gio-standalone 0.1.2 ===
3789
3790 2007-11-15  Alexander Larsson  <alexl@redhat.com>
3791
3792         * docs/reference/gio/Makefile.am:
3793         Fix up distcheck by removing weird
3794         non-needed stuff
3795
3796         * NEWS:
3797         Update for release
3798
3799 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3800
3801         * gio/gdesktopappinfo.c:
3802         * gio/glocaldirectorymonitor.c:
3803         * gio/glocalfile.c:
3804         * gio/glocalfileinfo.c:
3805         * gio/inotify/inotify-sub.c:
3806         * programs/gio-cat.c:
3807         * programs/gio-copy.c:
3808         * programs/gio-info.c:
3809         * programs/gio-ls.c:
3810         * programs/gio-monitor-dir.c:
3811         * programs/gio-monitor-file.c:
3812         * programs/gio-mount.c:
3813         * programs/gio-move.c:
3814         * programs/gio-rm.c:
3815         * programs/gio-save.c:
3816         * programs/gio-trash.c:
3817         Leak fixes from Kjartan Maraas
3818
3819 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3820
3821         * gio/fam/fam-helper.c:
3822         * gio/gdrive.[ch]:
3823         * gio/glocalfileinfo.c:
3824         * gio/gunixdrive.c:
3825         * gio/gvfs.c:
3826         * gio/gvolume.[ch]:
3827         * gio/inotify/inotify-diag.c:
3828         * gio/inotify/inotify-kernel.c:
3829         Various code cleanups from Kjartan Maraas
3830
3831 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3832
3833         * gio/gioscheduler.c:
3834         (init_scheduler):
3835         Set up threadpool so that we cache 2 unused
3836         idle threads for at 15 secs. This means we
3837         will reuse thread-local data (like dbus connections)
3838         for them.
3839
3840 2007-11-14  Alexander Larsson  <alexl@redhat.com>
3841
3842         * gio/fam/fam-helper.c:
3843         * gio/fam/gfamdirectorymonitor.c:
3844         * gio/fam/gfamfilemonitor.c:
3845         * gio/gappinfo.c:
3846         * gio/gcontenttype.c:
3847         * gio/gdatainputstream.c:
3848         * gio/gdataoutputstream.c:
3849         * gio/gdummyfile.c:
3850         * gio/gfile.c:
3851         * gio/gfile.h:
3852         * gio/gfileattribute.h:
3853         * gio/gfileenumerator.c:
3854         * gio/gfileinfo.c:
3855         * gio/ginputstream.c:
3856         * gio/gioerror.h:
3857         * gio/glocalfile.c:
3858         * gio/glocalfileinfo.c:
3859         * gio/goutputstream.c:
3860         * gio/gpollfilemonitor.c:
3861         * gio/gsimpleasyncresult.c:
3862         * gio/gunixmounts.c:
3863         * gio/gunixmounts.h:
3864         * gio/inotify/ginotifydirectorymonitor.c:
3865         * gio/inotify/ginotifyfilemonitor.c:
3866         * gio/inotify/inotify-diag.c:
3867         * gio/inotify/inotify-kernel.c:
3868         * gio/inotify/inotify-path.c:
3869         * gio/test-gio.c:
3870         * gio/test-streams.c:
3871         * programs/gio-info.c:
3872         * programs/gio-monitor-dir.c:
3873         * programs/gio-monitor-file.c:
3874         Various code cleanups from Kjartan Maraas
3875
3876 2007-11-13  Alexander Larsson  <alexl@redhat.com>
3877
3878         * gio/gdummyfile.c:
3879         Handle the uri-scheme calls for dummy files
3880
3881 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3882
3883         * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3884         'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3885         to avoid clash with the C++ keyword.
3886
3887 2007-11-13  Marko Anastasov  <marko@marko.anastasov.name>
3888
3889         * gio/glocalfileinfo.c: Build fix, added missing semicolon
3890         to an ifdef'ed call to getpwuid() in lookup_uid_data().
3891
3892 2007-11-11  Sebastian Dröge  <slomo@circular-chaos.org>
3893
3894         * gio/glocaldirectorymonitor.c:
3895         * gio/glocalfilemonitor.c:
3896         * gio/gunionvolumemonitor.c:
3897         Don't use g_once_init_*() for initializations that could fail and
3898         could leave the initialization variable set to 0 but use GOnce.
3899         This prevents a deadlock on the second call when trying to create
3900         a monitor and no monitor type is available. Thanks to Sven Herzberg
3901         for reporting.
3902
3903 2007-11-11  Sven Herzberg  <sven@imendio.com>
3904
3905         * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3906         #ifdef (make it work on MacOS X again)
3907
3908 2007-11-09  Andrew Walton  <awalton@svn.gnome.org>
3909         * Changelog:
3910         Fixes Changelog for last two commits (sorry guys).
3911
3912 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3913         * gio/gappinfo.c:
3914         * gio/gbufferedinputstream.c:
3915         * gio/gdatainputstream.c:
3916         * gio/gfile.c:
3917         * gio/gfileoutputstream.c:
3918         * gio/gfilterinputstream.c:
3919         * gio/glocalfileinputstream.c:
3920         * gio/gurifuncs.c:
3921         * gio/gvfs.c:
3922         More consistency fixes in g*stream.c files. 
3923         Significant clean of gfile's documentation, filling in of 
3924         asynchronous operations documentation.
3925
3926 2007-11-07  Andrew Walton  <awalton@svn.gnome.org>
3927         * gio/gappinfo.c:
3928         * gio/gasyncresult.c:
3929         * gio/gbufferedinputstream.c:
3930         * gio/gbufferedoutputstream.c:
3931         * gio/gcancellable.c:
3932         * gio/gcontenttype.c:
3933         * gio/gdatainputstream.c:
3934         * gio/gdataoutputstream.c:
3935         * gio/gdesktopappinfo.c:
3936         * gio/gdrive.c:
3937         * gio/gfile.c:
3938         * gio/gfileattribute.c:
3939         * gio/gio/gfileenumerator.c:
3940         * gio/gfileinfo.c:
3941         * gio/gfileinputstream.c:
3942         * gio/gfilemonitor.c:
3943         * gio/gfileoutputstream.c:
3944         * gio/ginputstream.c:
3945         * gio/giomodule.c:
3946         * gio/gioscheduler.c:
3947         * gio/gloadableicon.c:
3948         * gio/glocalfileoutputstream.c:
3949         * gio/gmemoryoutputstream.c:
3950         * gio/gmountoperation.c:
3951         * gio/goutputstream.c:
3952         * gio/gseekable.c:
3953         * gio/gsimpleasyncresult.c:
3954         * gio/gunionvolumemonitor.c:
3955         * gio/gunixmounts.c:
3956         * gio/gunixvolume.c:
3957         * gio/gurifuncs.c:
3958         * gio/gvfs.c:
3959         * gio/gvolume.c:
3960         * gio/gvolumemonitor.c:
3961         Updated documentation stubs, working towards consistency and 
3962         completeness.
3963
3964 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3965
3966         * gio/gmemoryoutputstream.c:
3967         * gio/gmemoryoutputstream.h:
3968         Change g_memory_output_stream_set_free_on_close() to
3969         g_memory_output_stream_set_free_data() as this makes more sense and
3970         is more consistent with GMemoryInputStream.
3971
3972 2007-11-07  Alexander Larsson  <alexl@redhat.com>
3973
3974         * gio/gfile.c:
3975         Fix some docs
3976         
3977         * gio/glocalvfs.c:
3978         * gio/gvfs.[ch]:
3979         Change how we find the default vfs so that
3980         we can handle a gvfs failing to init
3981
3982 2007-11-07  Sebastian Dröge  <slomo@circular-chaos.org>
3983
3984         * gio/gbufferedoutputstream.c:
3985         * gio/gdatainputstream.c:
3986         * gio/gdataoutputstream.c:
3987         * gio/gfileinputstream.c:
3988         * gio/gfileoutputstream.c:
3989         * gio/gfilterinputstream.c:
3990         * gio/gfilteroutputstream.c:
3991         * gio/ginputstream.c:
3992         * gio/gmemoryinputstream.c:
3993         * gio/gmemoryoutputstream.c:
3994         * gio/goutputstream.c:
3995         * gio/gsimpleasyncresult.c:
3996         * gio/gsocketinputstream.c:
3997         * gio/gsocketoutputstream.c:
3998         Add guards to the remaining public functions, add a TODO for
3999         an unimplemented function and remove some useless guards.
4000
4001 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4002
4003         * configure.ac:
4004         Autoconf checks for the various types of
4005         getpwuid_r and getgrgid_r
4006         
4007         * gio/glocalfileinfo.c:
4008         Use the autoconf checks from above
4009
4010 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4011
4012         * gio/glocalfile.c:
4013         (g_local_file_query_filesystem_info):
4014         Some fixes for the statvfs case
4015         
4016 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4017
4018         * gio/glocalfile.c:
4019         (g_local_file_query_filesystem_info):
4020         Pick the "best" of statfs / statvfs for the system
4021         if both are availible.
4022
4023 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4024
4025         Solaris fixes from Halton.Huo@Sun.COM:
4026         
4027         * gio/gdrive.c:
4028         * gio/gfile.c:
4029         * gio/gvolume.c:
4030         Don't return void
4031         
4032         * gio/glocalfileinfo.c:
4033         Fix for solaris definition of getpwuid_r
4034         
4035         * gio/test-streams.c:
4036         Use G_GNUC_PRETTY_FUNCTION
4037
4038 2007-11-07  Alexander Larsson  <alexl@redhat.com>
4039
4040         * gio/gdesktopappinfo.c:
4041         (update_default_list):
4042         Remove double semicolon.
4043         Patch from Jens Granseuer
4044
4045 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4046
4047         * docs/reference/gio/gio-sections.txt:
4048         * gio/gbufferedinputstream.c:
4049         * gio/gbufferedinputstream.h:
4050         * gio/gdatainputstream.c:
4051         * gio/gfileenumerator.c:
4052         * gio/gioscheduler.c:
4053         * gio/gunionvolumemonitor.c:
4054         * gio/gvfs.c:
4055         * programs/gio-save.c:
4056         Fix typo: availible -> available. Unfortuntely this breaks API
4057         and ABI as g_buffered_input_stream_get_available() was renamed.
4058         
4059         * gio/gunixmounts.c:
4060         * gio/gbufferedinputstream.c:
4061         Add guards for public functions.
4062
4063 2007-11-06  Ross Burton  <ross@openedhand.com>
4064
4065         * docs/reference/gio/Makefile.am:
4066         Fix invalid += usage which automake 1.10 doesn't like.
4067
4068 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4069
4070         * gio/gappinfo.c:
4071         (g_app_launch_context_class_init):
4072         Fix warning
4073
4074         Patch from Ross Burton 
4075         
4076 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4077
4078         * configure.ac:
4079         Post release version bump
4080
4081 === gio-standalone 0.1.1 ===
4082
4083 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4084
4085         * configure.ac:
4086         Bump version to 0.1.1
4087         
4088         * gio/gsimpleasyncresult.c:
4089         (g_simple_async_result_set_from_error):
4090         Remove bogus g_return_if_fail
4091
4092 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4093
4094         * configure.ac:
4095         The name is gio-standalone
4096         
4097         * gio/Makefile.am:
4098         Add top src/builddir to includedir
4099
4100 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4101
4102         * docs/reference/gio/gio-sections.txt:
4103         * gio/gappinfo.c:
4104         * gio/gbufferedinputstream.c:
4105         * gio/gbufferedoutputstream.c:
4106         * gio/gcancellable.c:
4107         * gio/gdatainputstream.h:
4108         * gio/gdataoutputstream.c:
4109         * gio/gdataoutputstream.h:
4110         * gio/gdirectorymonitor.c:
4111         * gio/gfile.c:
4112         * gio/gfileattribute.c:
4113         * gio/gfileattribute.h:
4114         * gio/gfileenumerator.c:
4115         * gio/gfileenumerator.h:
4116         * gio/gfileinfo.c:
4117         * gio/gfileinfo.h:
4118         * gio/gfileinputstream.h:
4119         * gio/gfilemonitor.c:
4120         * gio/gfileoutputstream.h:
4121         * gio/glocalfilemonitor.h:
4122         * gio/glocalfileoutputstream.h:
4123         * gio/gmemoryinputstream.c:
4124         * gio/gmemoryoutputstream.c:
4125         * gio/gmountoperation.c:
4126         * gio/goutputstream.c:
4127         * gio/goutputstream.h:
4128         * gio/gseekable.h:
4129         * gio/gsimpleasyncresult.c:
4130         * gio/gunixmounts.c:
4131         * gio/gunixmounts.h:
4132         * gio/gurifuncs.h:
4133         * gio/inotify/inotify-helper.c:
4134         Fix gtk-doc warnings
4135
4136         Patch from Ross Burton 
4137         
4138 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4139
4140         * gio/gfilenamecompleter.c:
4141         (g_filename_completer_get_completions):
4142         fix warning
4143         
4144         * gio/gunixvolume.c:
4145         Remove unused function
4146
4147         Patches from Ross Burton 
4148
4149 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4150
4151         * gio/gdrive.h:
4152         * gio/gseekable.h:
4153         * gio/gvolume.h:
4154         Padding not needed for interfaces
4155
4156 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4157
4158         * gio/gfilemonitor.c:
4159         Remove debug spew
4160
4161         * gio/Makefile.am:
4162         Make giotypes.h an internal file
4163         
4164         * gio/gappinfo.h:
4165         * gio/gbufferedinputstream.h:
4166         * gio/gbufferedoutputstream.h:
4167         * gio/gcancellable.h:
4168         * gio/gdatainputstream.h:
4169         * gio/gdataoutputstream.h:
4170         * gio/gdirectorymonitor.c:
4171         * gio/gdirectorymonitor.h:
4172         * gio/gdrive.c:
4173         * gio/gdrive.h:
4174         * gio/gfile.c:
4175         * gio/gfile.h:
4176         * gio/gfileattribute.h:
4177         * gio/gfileenumerator.h:
4178         * gio/gfileicon.c:
4179         * gio/gfileicon.h:
4180         * gio/gfileinfo.c:
4181         * gio/gfileinfo.h:
4182         * gio/gfilemonitor.c:
4183         * gio/gfilemonitor.h:
4184         * gio/gfilenamecompleter.c:
4185         * gio/gfilenamecompleter.h:
4186         * gio/gfilterinputstream.h:
4187         * gio/gfilteroutputstream.h:
4188         * gio/ginputstream.h:
4189         * gio/gmemoryinputstream.h:
4190         * gio/gmemoryoutputstream.h:
4191         * gio/gmountoperation.c:
4192         * gio/gmountoperation.h:
4193         * gio/gnativevolumemonitor.c:
4194         * gio/goutputstream.h:
4195         * gio/gseekable.c:
4196         * gio/gseekable.h:
4197         * gio/gsimpleasyncresult.c:
4198         * gio/gsimpleasyncresult.h:
4199         * gio/gsocketinputstream.h:
4200         * gio/gsocketoutputstream.h:
4201         * gio/gthemedicon.c:
4202         * gio/gthemedicon.h:
4203         * gio/gvfs.h:
4204         * gio/gvolume.c:
4205         * gio/gvolume.h:
4206         * gio/gvolumemonitor.c:
4207         * gio/gvolumemonitor.h:
4208         Add padding in classes where it seems useful
4209         Don't include giotypes.h from public headers
4210         Move in Class definitions into c file where possible
4211         
4212         * gio/glocalfile.c:
4213         Fix warnings
4214
4215 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4216
4217         * docs/reference/gio/gio-docs.xml:
4218         Better structure for API docs
4219
4220 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4221
4222         * gio/gfileicon.c:
4223         * gio/gloadableicon.c:
4224         * gio/gsimpleasyncresult.c:
4225         * gio/gthemedicon.c:
4226         Add some more guards to public functions. Only files missing are now
4227         g*stream*.c.
4228
4229 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4230
4231         * docs/reference/gio/gio-docs.xml:
4232         Remove old files, add missing ones
4233
4234 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4235
4236         * docs/reference/gio/gio-sections.txt:
4237         Restructure
4238         Add missing stuff
4239         Hide implementation classes
4240         
4241         * gio/gdriveprivate.h:
4242         * gio/gvolumeprivate.h:
4243         Remove non-existing function declarations
4244
4245 2007-11-06  Sebastian Dröge  <slomo@circular-chaos.org>
4246
4247         * gio/gappinfo.c:
4248         Fix compilation warnings and add guards to the new functions.
4249         
4250         * gio/gasyncresult.c:
4251         * gio/gdummyfile.c:
4252         Add guards to the public functions.
4253         
4254         * gio/gdummyfile.c:
4255         Implement get_path().
4256
4257 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4258
4259         * gio/gfilenamecompleter.c:
4260         Make g_filename_completer_get_completions
4261         return char ** instead of GList for
4262         typesafety.
4263         
4264         * docs/reference/gio/gio-docs.xml:
4265         * docs/reference/gio/gio-sections.txt:
4266         * gio/gappinfo.c:
4267         * gio/gasyncresult.c:
4268         * gio/gbufferedinputstream.c:
4269         * gio/gbufferedoutputstream.c:
4270         * gio/gcancellable.c:
4271         * gio/gcontenttype.c:
4272         * gio/gdatainputstream.c:
4273         * gio/gdataoutputstream.c:
4274         * gio/gdesktopappinfo.c:
4275         * gio/gdirectorymonitor.c:
4276         * gio/gdrive.c:
4277         * gio/gdummyfile.c:
4278         * gio/gfile.c:
4279         * gio/gfileattribute.c:
4280         * gio/gfileenumerator.c:
4281         * gio/gfileicon.c:
4282         * gio/gfileinfo.c:
4283         * gio/gfileinputstream.c:
4284         * gio/gfilemonitor.c:
4285         * gio/gfilenamecompleter.c:
4286         * gio/gfilenamecompleter.h:
4287         * gio/gfileoutputstream.c:
4288         * gio/gfilterinputstream.c:
4289         * gio/gicon.c:
4290         * gio/ginputstream.c:
4291         * gio/giomodule.c:
4292         * gio/gioscheduler.c:
4293         * gio/gloadableicon.c:
4294         * gio/glocaldirectorymonitor.c:
4295         * gio/glocalfile.c:
4296         * gio/glocalfileinputstream.c:
4297         * gio/glocalfilemonitor.c:
4298         * gio/glocalfileoutputstream.c:
4299         * gio/glocalvfs.c:
4300         * gio/gmemoryinputstream.c:
4301         * gio/gmemoryoutputstream.c:
4302         * gio/gmountoperation.c:
4303         * gio/goutputstream.c:
4304         * gio/gpollfilemonitor.c:
4305         * gio/gseekable.c:
4306         * gio/gsimpleasyncresult.c:
4307         * gio/gsocketinputstream.c:
4308         * gio/gsocketoutputstream.c:
4309         * gio/gthemedicon.c:
4310         * gio/gunionvolumemonitor.c:
4311         * gio/gunixdrive.c:
4312         * gio/gunixmounts.c:
4313         * gio/gunixvolume.c:
4314         * gio/gunixvolumemonitor.c:
4315         * gio/gurifuncs.c:
4316         * gio/gvfs.c:
4317         * gio/gvolume.c:
4318         * gio/gvolumemonitor.c:
4319         * gio/gwin32appinfo.c:
4320         Add (mostly stub) doc strings to public functions.
4321         Patch from Andrew Walton (awalton@gmail.com)
4322
4323 2007-11-06  Alexander Larsson  <alexl@redhat.com>
4324
4325         * gio/gappinfo.[ch]:
4326         Added GAppLaunchContext object and pass that to launch.
4327         This allows simple implementation of both
4328         launch-on-screen and startup notification via a gtk+
4329         subclass of GAppLaunchContext
4330         
4331         * gio/gdesktopappinfo.c:
4332         Implement GAppLaunchContext API
4333         
4334         * gio/gwin32appinfo.c:
4335         Update to new APIs
4336
4337 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4338
4339         * gio/gmountoperation.c:
4340         Add some guards to GMountOperation's public functions.
4341
4342 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4343
4344
4345         * gio/gappinfo.c:
4346         * gio/gcancellable.c:
4347         * gio/gdirectorymonitor.c:
4348         * gio/gdrive.c:
4349         * gio/gfileenumerator.c:
4350         * gio/gfilemonitor.c:,
4351         * gio/gfilenamecompleter.c:
4352         * gio/gicon.c:
4353         * gio/giomodule.c:
4354         * gio/gioscheduler.c:
4355         * gio/gseekable.c:
4356         * gio/gurifuncs.c:
4357         * gio/gvolume.c:
4358         * gio/gvolumemonitor.c:
4359         Add even more guards to various public functions.
4360
4361 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4362
4363         * gio/gappinfo.c:
4364         Add guards to the public functions of GAppInfo.
4365
4366 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4367
4368         * gio/gcontenttype.c:
4369         Add some more guards for public functions.
4370
4371 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4372
4373         * gio/fam/fam-module.c:
4374         * gio/fam/gfamdirectorymonitor.c:
4375         * gio/fam/gfamdirectorymonitor.h:
4376         * gio/fam/gfamfilemonitor.c:
4377         * gio/fam/gfamfilemonitor.h:
4378         * gio/inotify/ginotifydirectorymonitor.c:
4379         * gio/inotify/ginotifydirectorymonitor.h:
4380         * gio/inotify/ginotifyfilemonitor.c:
4381         * gio/inotify/ginotifyfilemonitor.h:
4382         Add proper copyright information and remove an unused variable
4383         in the GInotifyFileMonitor constructor.
4384
4385         * gio/gcancellable.c:
4386         Add a guard for a public function and an assertion to prevent
4387         an undefined program state.
4388
4389 2007-11-05  Sebastian Dröge  <slomo@circular-chaos.org>
4390
4391         * gio/gfileattribute.c:
4392         Don't run into an assertion if the given attribute value is NULL
4393         in g_file_attribute_value_get_*() but instead return a fallback
4394         value that makes sense in most situations. Passing them a attribute
4395         value with the wrong type will still run into an assertion.
4396
4397 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4398
4399         * gio/gfileattribute.c:
4400         * gio/gfileinfo.c:
4401         Add even more guards to the public functions. Also fix the refcounting
4402         of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4403         let g_file_info_list_attributes() filter the attributes by namespace
4404         instead of simply ignoring the namespace parameter.
4405
4406 2007-11-03  Sven Herzberg  <sven@imendio.com>
4407
4408         * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4409         (This makes gio work on MacOS X again)
4410
4411 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4412
4413         * Makefile.am:
4414         Build the gio subdirectory before the docs. Otherwise the build will
4415         fail.
4416
4417         * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4418         (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4419         (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4420         Add guards to the public functions.
4421
4422 2007-11-02  Sebastian Dröge  <slomo@circular-chaos.org>
4423
4424         * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4425         Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4426         to prevent a compiler warning.
4427
4428         * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4429         Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4430         return something in the non-void function find_topdir_for().
4431
4432 2007-11-01  Christian Kellner  <gicmo@gnome.org>,  Ryan Lortie  <desrt@desrt.ca>
4433
4434         * configure.ac:
4435         * Makefile.am:
4436         * docs/:
4437         Gtkdocify!
4438
4439 2007-11-01  Ryan Lortie  <desrt@desrt.ca>
4440
4441         * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4442         * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4443         * gwin32appinfo.c (g_win32_app_info_launch):
4444         * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4445         envp_for_startup_id, g_desktop_app_info_launch,
4446         g_desktop_app_info_launch_uris):
4447
4448         Give an opaque 'startup_id' string instead of 'envp'.
4449         Support empty file lists for launching new windows.
4450         Fix infinite recursion bug when launching URIs.
4451
4452 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4453
4454         * gio/gfile.c:
4455         Add guard to the new g_file_get_uri_scheme() function.
4456
4457 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4458
4459         * gio/gfile.c:
4460         Convert a g_return_val_if_fail() to setting the GError instead as
4461         otherwise applications have to verify the parameter before otherwise
4462         and the parameter might come directly from the user.
4463
4464 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4465
4466         * gio/inotify/ginotify*.[ch]:
4467         Add missing copyright information.
4468
4469 2007-11-01  Sebastian Dröge  <slomo@circular-chaos.org>
4470
4471         * gio/gfile.c:
4472         Add guards in the beginning of public functions to check for valid
4473         parameters and fix a bug in copy_stream_with_progress() that could've
4474         caused writing less bytes than reading.
4475         * gio/glocalfileinfo.c:
4476         Check for a NULL parameter and set the GError accordingly then.
4477         * gio/goutputstream.c:
4478         Fix the same bug as in gfile.c that could've caused writing less bytes
4479         than reading in g_output_stream_real_splice().
4480
4481 2007-11-01  Sebastien Bacher  <seb128@ubuntu.com>
4482
4483         * gio/Makefile.am:
4484         Use the correct gvolumeprivate.h naming
4485
4486 2007-11-01  Christian Kellner  <gicmo@gnome.org>
4487
4488         * gio/Makefile.am:
4489         Remove leftover "$(daemon_sources)" entry.
4490
4491 2007-11-01  Christian Kellner  <gicmo@gnome.org>
4492
4493         * gio/fam/*.[ch]:
4494         * gio/*.[ch]:
4495         * programs/*.[ch]:
4496         Add copyright information to source files.
4497
4498 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4499
4500         * gio/gfile.[ch]:
4501         * gio/glocalfile.c:
4502         Add g_file_get_uri_scheme
4503
4504 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4505
4506         * gio/gappinfo.h:
4507         * gio/gdesktopappinfo.c:
4508         * gio/gwin32appinfo.c:
4509         Add g_app_info_get_default_for_uri_scheme.
4510
4511 2007-11-01  Alexander Larsson  <alexl@redhat.com>
4512
4513         * gio/Makefile.am:
4514         Correct filename for gdriveprivate.h
4515
4516 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4517
4518         * gio/gfileinfo.h:
4519         Rename id:value to id:file
4520         Add id:fs
4521         
4522         * gio/glocalfileinfo.c:
4523         Implement id:fs
4524
4525 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4526
4527         * gio/gunixvolume.c:
4528         * gio/gvolume.[ch]:
4529         Remove g_volume_get_platform_id, as thats not
4530         needed with the simpler union volume monitor
4531
4532 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4533
4534         * gio/Makefile.am:
4535         * gio/guniondrive.[ch]: Removed.
4536         * gio/gunionvolume.[ch]: Removed.
4537         Remove GUnionDrive/Volume
4538
4539         * gio/gunionvolumemonitor.c:
4540         Simplify union volume monitor, now we
4541         only have one native volume monitor and
4542         we use the actual volumes/drives from the
4543         child monitors instead of wrapping them
4544
4545         * gio/gnativevolumemonitor.[ch]:
4546         Base class for native volume monitors.
4547         Includes priority and get_volume_for_mountpoint
4548         
4549         * gio/gfile.[ch]:
4550         Add g_file_find_enclosing_volume
4551
4552         * gio/gfileinfo.h:
4553         Remove volume name fs attribute
4554         Add readonly fs attribute
4555         
4556         * gio/glocalfile.c:
4557         Implement readonly attribute
4558         remove volume name attribute
4559         Implement find_enclosing volume
4560         
4561         * gio/gunixmounts.c:
4562         Add a volume for "/".
4563         
4564         * gio/gunixvolume.[ch]:
4565         Set better name for /
4566         
4567         * gio/gunixvolumemonitor.[ch]:
4568         Derive from GNativeVolumeMonitor
4569         Implement get_volume_for_mountpoint
4570         
4571         * gio/gvolume.h:
4572         GVolume typedef moved to gfile.h
4573         
4574         * gio/gvolumeprivate.h:
4575         Add g_volume_get_for_mount_path
4576
4577 2007-10-31  Alexander Larsson  <alexl@redhat.com>
4578
4579         * gio/gunixmounts.[ch]:
4580         Add cache info to unix mount listers
4581         Make getmntent use threadsafe
4582         Add is_system_internal attribute for GUnixMount
4583         
4584         * gio/gunixvolume.c:
4585         (g_unix_volume_new):
4586         Use is_system_internal instead of own code
4587         
4588         * gio/glocaldirectorymonitor.c:
4589         * gio/gunixvolumemonitor.c:
4590         Update to new gunixmounts API
4591         
4592         * gio/glocalfile.c:
4593         Fix warning
4594
4595 2007-10-30  Alexander Larsson  <alexl@redhat.com>
4596
4597         * gio/gfileinfo.h:
4598         Add volume name fsinfo attribute
4599         
4600         * gio/glocalfile.c:
4601         Read volume name info
4602         
4603         * gio/gunionvolumemonitor.c:
4604         Fix infinite loops when finalizing a union volume monitor
4605
4606 2007-10-30  Alexander Larsson  <alexl@redhat.com>
4607
4608         * gio/goutputstream.[ch]:
4609         Add splice() with default implementation
4610         
4611         * gio/gsocketoutputstream.c:
4612         (g_socket_output_stream_write):
4613         Return error on cancellation correctly.
4614         
4615 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
4616
4617         * gio/glocalfile.c (g_local_file_trash):
4618         Do not leak a string.
4619
4620 2007-10-26  Paolo Borelli  <pborelli@katamail.com>
4621
4622         * gio/gfile.c (g_file_load_contents):
4623         Unref the stream after closing it.
4624
4625 2007-10-25  Alexander Larsson  <alexl@redhat.com>
4626
4627         * gio/gioscheduler.h:
4628         Fix include
4629
4630 2007-10-25  Alexander Larsson  <alexl@redhat.com>
4631
4632         * gio/gfile.[ch]:
4633         * gio/glocalfile.c:
4634         Add g_file_has_uri_scheme and implement for local files
4635
4636 2007-10-25  Paolo Borelli  <pborelli@katamail.com>
4637
4638         * gio/gdesktopappinfo.c: do not leak a string.
4639
4640 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
4641
4642         * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4643         (g_local_directory_monitor_new):
4644         * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4645         (g_local_file_monitor_new):
4646         Only look for the monitor type that should be used the first time
4647         and use g_qsort_with_data() instead of our own bubble sort
4648         implementation.
4649
4650 2007-10-24  Sebastian Dröge  <slomo@circular-chaos.org>
4651
4652         * gio/Makefile.am:
4653         * gio/fam/Makefile.am:
4654         * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4655         * gio/fam/fam-helper.h:
4656         * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4657         * gio/fam/gfamdirectorymonitor.c:
4658         * gio/fam/gfamdirectorymonitor.h:
4659         * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4660         * gio/fam/gfamfilemonitor.h:
4661         * gio/glocaldirectorymonitor.c:
4662         * gio/glocaldirectorymonitor.h:
4663         * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4664         * gio/glocalfilemonitor.h:
4665         * gio/inotify/Makefile.am:
4666         * gio/inotify/ginotifydirectorymonitor.c:
4667         * gio/inotify/ginotifydirectorymonitor.h:
4668         * gio/inotify/ginotifyfilemonitor.c:
4669         * gio/inotify/ginotifyfilemonitor.h:
4670         Implement the FAM and Inotify monitors as
4671         GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4672         their own GIO module. GLocal(Directory|File)Monitor will use the
4673         monitor with the highest rank that is supported on that machine.
4674
4675 2007-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
4676
4677         * gio/Makefile.am:
4678         Change GIO module dir to $(libdir)/gio/modules and change
4679         the log domain from GVFS to GIO. Also only export symbols starting
4680         with g_ in the resulting library.
4681         * gio/test-streams.c: (main):
4682         Set log handler for the GIO log domain.
4683
4684 2007-10-22  Alexander Larsson  <alexl@redhat.com>
4685
4686         * gio/gfilenamecompleter.[ch]:
4687         Add g_filename_completer_set_dirs_only
4688
4689 2007-10-22  Alexander Larsson  <alexl@redhat.com>
4690
4691         * gio/Makefile.am:
4692         * gio/gurifuncs.[ch]:
4693         Add some simple URI helpers
4694         
4695         * gio/gfilenamecompleter.[ch]:
4696         Added object for filename (parse name actually) completion
4697         
4698         * gio/glocalvfs.c:
4699         Handle ~ in parse names
4700
4701 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4702
4703         * gio/gfileinfo.h:
4704         * gio/glocalfileinfo.c:
4705         Add and implement id:value attribute
4706
4707 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4708
4709         * gio/gdrive.[ch]:
4710         * gio/guniondrive.c:
4711         * gio/gunixdrive.c:
4712         Add and implement g_drive_has_volumes
4713         
4714 2007-10-17  Alexander Larsson  <alexl@redhat.com>
4715
4716         * gio/gfileinfo.h:
4717         * gio/glocalfileinfo.[ch]:
4718         Add unix:is_mountpoint and implement for local files
4719
4720 2007-10-16  Alexander Larsson  <alexl@redhat.com>
4721
4722         * gio/gunionvolumemonitor.c:
4723         (g_union_volume_monitor_init):
4724         Fix up the unix type getting so that it works with gcc
4725         
4726 2007-10-12  Alexander Larsson  <alexl@redhat.com>
4727
4728         * gio/gfileinfo.h:
4729         * gio/glocalfileinfo.c:
4730         Add thumbnail:failed to file info
4731
4732 2007-10-12  Richard Hult  <richard@imendio.com>
4733
4734         * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4735         optimizing away the get_type call (happens with some gcc versions,
4736         like the one shipped with OS X 10.4).
4737
4738 2007-10-12  Alexander Larsson  <alexl@redhat.com>
4739
4740         * gio/glocalfileinfo.c:
4741         (_g_local_file_info_set_attribute):
4742         Fix build if not HAVE_XATTR
4743         Patch from Milosz Derezynski <internalerror@gmail.com>
4744
4745 2007-10-11  Sven Herzberg  <herzi@gnome-de.org>
4746
4747         * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4748         around for review, otherwise I would have asked you before
4749         committing)
4750
4751 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4752
4753         * gio/gfileinfo.h:
4754         Add thumbnail:path attribute
4755         
4756         * gio/glocalfileinfo.c:
4757         Implement thumbnail:path for local files
4758
4759 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4760
4761         * gio/glocalfileinfo.c:
4762         (_g_local_file_info_get):
4763         Avoid duplicate icon names
4764
4765 2007-10-11  Alexander Larsson  <alexl@redhat.com>
4766
4767         * gio/gthemedicon.[ch]:
4768         Change g_themed_icon_get_names return type to const
4769
4770 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4771
4772         * gio/glocalfileinfo.c:
4773         Don't reference freed memory
4774
4775 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4776
4777         * gio/gfileattribute.c:
4778         Handle objects
4779         
4780         * gio/glocalfileinfo.c:
4781         Return icon info
4782
4783 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4784
4785         * gio/gfileinfo.c:
4786         Check for NULL icons
4787
4788         * gio/gfileattribute.c:
4789         Don't dup when getting objects (same as for string attributes)
4790
4791         * gio/gicon.c (g_icon_equal):
4792         Safely handle NULLs in equal
4793
4794 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4795
4796         * gio/gfileinfo.h:
4797         Fix c++ compilation issues
4798         Patch from Milosz Derezynski <internalerror@gmail.com>
4799
4800 2007-10-10  Alexander Larsson  <alexl@redhat.com>
4801
4802         * programs/gio-monitor-dir.c:
4803         Don't crash if dir monitor not supported.
4804
4805 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4806
4807         * gio/gioerror.h:
4808         Add missing G_END_DECLS
4809
4810 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
4811
4812         * gio/gfile.c: (g_file_set_display_name),
4813         (g_file_query_settable_attributes),
4814         (g_file_query_writable_namespaces):
4815         Return NULL not FALSE on errors as the return type is a pointer.
4816
4817 2007-10-09  Sebastian Dröge  <slomo@circular-chaos.org>
4818
4819         * gio/glocalfile.c: (g_local_file_monitor_file):
4820         Don't call monitor_file on the default interface vtable (which
4821         is NULL) but simply return NULL. The caller, GFile, will create a
4822         polling monitor if NULL is returned.
4823
4824 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4825
4826         * Makefile.am:
4827         * configure.ac:
4828         * gio-unix-2.0.pc.in:
4829         Add gio-unix-2.0.pc if OS_UNIX
4830         
4831         * gio/Makefile.am:
4832         Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4833
4834 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4835
4836         * gio/gunixmounts.[ch]:
4837         Make unix mount monitoring API sane.
4838         Now its just a object with mounts_changed
4839         and mountpoints_changed signals.
4840         
4841         * gio/glocaldirectorymonitor.c:
4842         * gio/gunixvolumemonitor.c:
4843         Use new mount monitor api
4844
4845 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4846
4847         * gio/gunixmounts.[ch]:
4848         Move guess type into one call for mounts and one for mountpoints
4849         
4850         * gio/gunixdrive.c:
4851         * gio/gunixvolume.c:
4852         Update
4853
4854 2007-10-09  Alexander Larsson  <alexl@redhat.com>
4855
4856         * gio/gunixmounts.[ch]:
4857         Remove _ prefix in preparation to make this semi-public
4858         Hide implementation of structs
4859         
4860         * gio/glocaldirectorymonitor.c:
4861         * gio/gunixdrive.c:
4862         * gio/gunixvolume.c:
4863         * gio/gunixvolumemonitor.c:
4864         Update for above API changes
4865
4866 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4867
4868         * gio/gfile.c:
4869         Better polling fallback. This also handles the case where we have
4870         a monitor_file implementation, but it fails.
4871
4872 2007-10-08  Alexander Larsson  <alexl@redhat.com>
4873
4874         * gio/gfile.[ch]:
4875         * gio/glocalfile.c:
4876         * gio/gunixmounts.c:
4877         * programs/gio-monitor-dir.c:
4878         * programs/gio-monitor-file.c:
4879         Added cancellable to file monitoring calls.
4880         These are really sync calls and need this.
4881
4882 2007-10-08  Sebastian Dröge  <slomo@circular-chaos.org>
4883
4884         * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4885         (g_local_vfs_class_init):
4886         * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4887         * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4888
4889 2007-10-05  Alexander Larsson  <alexl@redhat.com>
4890
4891         * gio/gdirectorymonitorprivate.h: 
4892         * gio/gfilemonitorprivate.h: 
4893         * gio/gdirectorymonitor.h:
4894         * gio/gfilemonitor.h:
4895         Remove *private.h and move to the public API, so that
4896         we can do implementations outside gio (such as in gvfs)
4897         
4898         * gio/gdirectorymonitor.c:
4899         * gio/gfilemonitor.c:
4900         * gio/glocaldirectorymonitor.c:
4901         * gio/gpollfilemonitor.c:
4902         * gio/inotify/inotify-helper.c:
4903         * gio/fam/fam-helper.c:
4904         Update to the new header names
4905
4906 2007-10-05  Sebastian Dröge  <slomo@circular-chaos.org>
4907
4908         * gio/gdirectorymonitor.c:
4909         * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4910         GTypes as abstract.
4911
4912 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4913
4914         * gio/glocalfileinfo.c (get_access_rights):
4915         Set CAN_TRASH when we can move the file.
4916         We should really also check for a parent trash dir.
4917
4918 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4919
4920         * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4921         Add can_trash access attribute
4922
4923 2007-10-04  Alexander Larsson  <alexl@redhat.com>
4924
4925         * gio/glocalfile.c:
4926         (g_local_file_trash):
4927         Create info file first. This is per-spec and allows
4928         us to actually trash directories.
4929
4930 2007-10-02  Alexander Larsson  <alexl@redhat.com>
4931
4932         * gio/gdesktopappinfo.c:
4933         Implement the new mime support code.
4934         Always set app as handling mimetype when being set as default for it
4935
4936 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4937
4938         * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4939         Fix up check for xattrs:
4940
4941 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4942
4943         * gio/gappinfo.c:
4944         (g_app_info_set_as_default_for_extension):
4945         (g_app_info_add_supports_type):
4946         (g_app_info_can_remove_supports_type):
4947         (g_app_info_remove_supports_type):
4948         Make these fail nicely if not implemented
4949
4950 2007-10-01  Paolo Borelli  <pborelli@katamail.com>
4951
4952         * gio/glocalfileoutputstream.c:
4953         * gio/glocalfileoutputstream.h:
4954         * gio/test-gio.c:
4955         * gio/gfile.c:
4956         * gio/gfile.h:
4957         * gio/glocalfile.c:
4958         * programs/gio-save.c: 
4959         Add a GFileCreateFlags argument to operations that can create
4960         a new file.
4961
4962 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4963
4964         * gio/gappinfo.[ch]:
4965         * gio/gdesktopappinfo.c:
4966         Add more (stubbed out) mime API needed for nautilus
4967
4968 2007-10-01  Alexander Larsson  <alexl@redhat.com>
4969
4970         * gio/gappinfo.h:
4971         Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4972         Add g_app_info_set_as_default_for_extension.
4973         
4974         * gio/gdesktopappinfo.c:
4975         Dummy for g_app_info_set_as_default_for_extension
4976         Support flags in g_app_info_create_from_commandline
4977
4978         * gio/gwin32appinfo.c:
4979         * gio/test-gio.c:
4980         Update for API changes
4981         
4982         * gio/gthemedicon.c:
4983         Properly NULL-terminate list of icon names
4984
4985 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4986
4987         * gio/gloadableicon.h:
4988         Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4989
4990 2007-09-28  Alexander Larsson  <alexl@redhat.com>
4991
4992         * gio/Makefile.am:
4993         Install headers in $includedir/gio-standalone/
4994         
4995         * gio-2.0.pc.in: Added.
4996         * gio-standalone.pc.in: Removed.
4997         * configure.ac:
4998         * Makefile.am:
4999         Renamed pkg-config file to match glib (for future move)
5000         Update to the new include dir
5001         
5002         * gio/gappinfo.h:
5003         Add more TODO comments
5004
5005 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5006
5007         * gio/gdesktopappinfo.[ch]:
5008         Expose new_from_filename
5009         Add getter for is_hidden and handle it better
5010
5011 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5012
5013         * gio/gfileinfo.[ch]:
5014         Rename g_file_size_format_for_display to
5015         g_format_file_size_for_display.
5016         Now it doesn't have the g_file prefix, so we
5017         can later move it to glib.
5018
5019 2007-09-28  Alexander Larsson  <alexl@redhat.com>
5020
5021         * gio/gappinfo.[ch]:
5022         Add g_app_info_get_id and g_app_info_get_executable.
5023         Make all getters non-reffing
5024         Make g_app_info_launch take GFile arguments.
5025         Add must_support_uris argument to g_app_info_get_default_for_type.
5026         
5027         * gio/gwin32appinfo.c:
5028         Update to GAppInfo api changes
5029         
5030         * gio/gdesktopappinfo.c:
5031         Update to GAppInfo api changes
5032         Implement supports_xdg_startup_notify
5033         
5034         * gio/gfileicon.c (g_file_icon_get_file):
5035         Make getter non-reffing.
5036         
5037         * gio/test-gio.c:
5038         Update to new API
5039
5040 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5041
5042         * gio/gfileinfo.[ch]: 
5043         Add g_file_size_format_for_display helper
5044         
5045 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5046
5047         * gio/glocalfileinfo.c:
5048         Set UNIX_GID from gid, not from uid
5049
5050 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5051
5052         * gio/gfile.[ch]:
5053         Add g_file_set_attributes_async
5054
5055 2007-09-27  Alexander Larsson  <alexl@redhat.com>
5056
5057         * gio/glocalfile.c (g_local_file_set_display_name):
5058         Fix set_display_name to actually rename to the right place.
5059         Use lstat to look for existing files so we don't overwrite
5060         broken links.
5061
5062 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5063
5064         * gio/gfile.[ch]:
5065         Add g_file_set_display_name_async()
5066
5067 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5068
5069         * gio/gfile.[ch]:
5070         Add load_partial_contents async calls
5071         
5072         * gio/glocalfile.c:
5073         Make internal function static
5074
5075 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5076
5077         * gio/glocalfileinfo.c:
5078         Correctly detect broken symlinks
5079
5080 2007-09-26  Alexander Larsson  <alexl@redhat.com>
5081
5082         * gio/gcancellable.c (g_cancellable_cancel):
5083         Allow cancel on NULL cancellable
5084
5085 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5086
5087         * gio/gsimpleasyncresult.c:
5088         Don't allocate g_error manually.
5089         Fixes g_slice/g_new mixup crash
5090
5091 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5092
5093         * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5094         Actually set active_backend.
5095         This means the monitor will be cancelled correctly.
5096
5097 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5098
5099         * gio/gdirectorymonitor.c:
5100         Set timeout to NULL when destroying
5101
5102 2007-09-25  Alexander Larsson  <alexl@redhat.com>
5103
5104         * gio/gioerror.h:
5105         Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5106         that is a better description of the error.
5107
5108 2007-09-25  Sebastian Dröge  <slomo@circular-chaos.org>
5109
5110         * gio/gvfs.c: (g_vfs_get_local):
5111         Make the local vfs variable static. The same instance should
5112         always be returned.
5113
5114 2007-09-24  Alexander Larsson  <alexl@redhat.com>
5115
5116         * gio/glocalfileinfo.c:
5117         Pass in actual length read into sniffer, not the length
5118         we tried to read.
5119
5120 2007-09-21  Alexander Larsson  <alexl@redhat.com>
5121
5122         * gio/gfileenumerator.c:
5123         * gio/gfileinfo.c:
5124         * gio/gfileinfo.h:
5125         * gio/gfileinputstream.c:
5126         * gio/gfileoutputstream.c:
5127         * gio/ginputstream.c:
5128         * gio/goutputstream.c:
5129         Don't crash if async callbacks are NULL
5130
5131 2007-09-20  Alexander Larsson  <alexl@redhat.com>
5132
5133         * gio/gfile.[ch]:
5134         Add async enumerate_children method and default
5135         implementation
5136
5137 2007-09-20  Alexander Larsson  <alexl@redhat.com>
5138
5139         * gio/gfile.[ch]
5140         Add g_file_contains_file & g_file_get_relative_path, since they
5141         were needed for nautilus.
5142         Renamed g_file_resolve_relative to g_file_resolve_relative_path
5143         to make it clearer.
5144         
5145         * gio/gdummyfile.c:
5146         * gio/glocalfile.c:
5147         Implement new methods
5148
5149 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5150
5151         * gio/gfile.[ch]:
5152         * gio/gfileinputstream.[ch]:
5153         * gio/gfileoutputstream.[ch]:
5154         * gio/glocalfile.c:
5155         * gio/glocalfileenumerator.[ch]:
5156         * gio/glocalfileinfo.[ch]:
5157         * gio/glocalfileinputstream.c:
5158         * gio/glocalfileoutputstream.c:
5159         * gio/gpollfilemonitor.c:
5160         * programs/gio-copy.c:
5161         * programs/gio-info.c:
5162         * programs/gio-move.c:
5163         Rename get_file_info to query_info() to make it clearer
5164         that these are not simple getters, but do i/o.
5165
5166 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5167
5168         * gio/gdatainputstream.[ch]:
5169         * gio/test-streams.c:
5170         Use _read_XXX instead of _get_XXX for the i/o calls
5171         in GDataInputStream
5172
5173 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5174
5175         * gio/gappinfo.h:
5176         Added needed stuff to TODO comment
5177
5178 2007-09-17  Alexander Larsson  <alexl@redhat.com>
5179
5180         * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5181         Don't error out removing the backup copy if it doesn't
5182         already exist.
5183
5184 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5185
5186         * programs/Makefile.am:
5187         * programs/gvfs-*.c: 
5188         * programs/gio-*.c:
5189         Renamed apps from gvfs-xxx to gio-xxx.
5190
5191 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5192
5193         * gio/gfile.c:
5194         * gio/gfileoutputstream.[ch]:
5195         * gio/glocalfileoutputstream.c:
5196         * programs/gvfs-save.c:
5197         g_file_output_stream_get_etag doesn't do i/o, so remove
5198         cancellation and error.
5199
5200 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5201
5202         * gio/gfile.[ch]:
5203         Add new_etag output to replace_contents functions
5204
5205 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5206
5207         * gio/gfileoutputstream.[ch]:
5208         Add async get_file_info and default implementation
5209
5210 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5211
5212         * gio/gfileinputstream.c:
5213         Implement fallback wrapper for async get_file_info
5214
5215 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5216
5217         * gio/gfile.[ch]:
5218         Add etag out argument to load_contents
5219         
5220         * gio/test-gio.c:
5221         Update to new API
5222
5223 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5224
5225         * gio/gcontenttype.c (looks_like_text):
5226         Whitespace like tab, cr and lf do not make the
5227         file binary.
5228
5229 2007-09-14  Alexander Larsson  <alexl@redhat.com>
5230
5231         * gio/gfileinputstream.[ch]:
5232         Add async get_file_info.
5233
5234 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5235
5236         * gio/goutputstream.c (g_output_stream_write_all):
5237         Allow NULL for bytes_written
5238
5239 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5240
5241         * gio/gmemoryinputstream.[ch]:
5242         Add accessors for data
5243
5244 2007-09-13  Alexander Larsson  <alexl@redhat.com>
5245
5246         * gio/gdatainputstream.c (g_data_input_stream_get_until):
5247         Don't crash if length is NULL
5248