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