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