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