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