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