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