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