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