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