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