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