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