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