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