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