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