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