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