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