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