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