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