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