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