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