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