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