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