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