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