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