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