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