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