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