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