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