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