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