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