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