1. 23 Feb, 2009 1 commit
  2. 20 Feb, 2009 1 commit
    • Alexander Larsson's avatar
      Don't ever sniff desktop files when the filename is known. In other words, · 9fdf70ba
      Alexander Larsson authored
      2009-02-20  Alexander Larsson  <alexl@redhat.com>
      
              * gcontenttype.c:
              (g_content_type_guess):
      	Don't ever sniff desktop files when the filename is known.
      	In other words, only allow desktop files with the .desktop extension
      	and when the filename isn't known.
      	This is a security precaution since desktop files can execute
      	arbitrary code when launched and we don't want to allow them to
      	try and hide as another type. There is no legit reason to not
      	have the .desktop extension anyway.
      
      
      
      svn path=/trunk/; revision=7892
      9fdf70ba
  3. 19 Feb, 2009 3 commits
  4. 18 Feb, 2009 1 commit
    • Alexander Larsson's avatar
      Bug 560564 – Replacing a symlink with its linked file truncates the · 0fd66d7e
      Alexander Larsson authored
      2009-02-18  Alexander Larsson  <alexl@redhat.com>
      
      	Bug 560564 – Replacing a symlink with its linked file truncates the original file
      
              * gioenums.h:
      	Add G_FILE_CREATE_REPLACE_DESTINATION
      
              * glocalfileoutputstream.c:
              (handle_overwrite_open):
              (_g_local_file_output_stream_replace):
      	Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
      
              * gfile.c:
              (file_copy_fallback):
      	Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
      	with overwrite.
      
      
      svn path=/trunk/; revision=7880
      0fd66d7e
  5. 17 Feb, 2009 6 commits
  6. 16 Feb, 2009 2 commits
    • Allison Karlitskaya's avatar
      Bug 505042 – add file attribute for actually used file size in bytes · e8c63584
      Allison Karlitskaya authored
      2009-02-13  Ryan Lortie  <desrt@desrt.ca>
      
      	Bug 505042 – add file attribute for actually used file size in bytes
      
      	* gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
      	"standard::allocated-size"
      	* gfileattribute.c: document
      	* glocalfileinfo.c: set the allocated size from st_blocks * 512
      
      
      svn path=/trunk/; revision=7865
      e8c63584
    • Allison Karlitskaya's avatar
      Bug 571598 – GAsyncResult with NULL gobject · 2bd1d5d7
      Allison Karlitskaya authored
      2009-02-16  Ryan Lortie  <desrt@desrt.ca>
      
              Bug 571598 – GAsyncResult with NULL gobject
      
              * gsimpleasyncresult.c: remove various assertions and add some checks
              to allow for a NULL source_object in GSimpleAsyncResult.
      
      
      svn path=/trunk/; revision=7864
      2bd1d5d7
  7. 12 Feb, 2009 1 commit
  8. 06 Feb, 2009 1 commit
    • Murray Cumming's avatar
      Correct the grammar in some property documentation. · a431c976
      Murray Cumming authored
      2009-02-06  Murray Cumming  <murrayc@murrayc.com>
      
      * gio/gfilterinputstream.c:
      * gio/gfilteroutputstream.c: Correct the grammar in some property 
      documentation.
      * gio/gdatainputstream.c:
      * glib/gregex.c: Correct the spelling of 
      occurrence in documentation.
      
      svn path=/trunk/; revision=7856
      a431c976
  9. 04 Feb, 2009 1 commit
    • Alexander Larsson's avatar
      Bug 566747 - URIs opened with firefox %u load as local files · cefebf7f
      Alexander Larsson authored
      2009-02-04  Alexander Larsson  <alexl@redhat.com>
      
      	Bug 566747 - URIs opened with firefox %u load as local files
      
      	* gdummyfile.c (g_dummy_file_get_path):
      	Dummy files are never used for local paths, so always return NULL
      	in get_path(). 
      
      
      svn path=/trunk/; revision=7849
      cefebf7f
  10. 02 Feb, 2009 1 commit
  11. 31 Jan, 2009 1 commit
    • Paolo Borelli's avatar
      plug a tiny mem leak. · 49719cca
      Paolo Borelli authored
      2009-01-31  Paolo Borelli  <pborelli@katamail.com>
      
      	* glocalfileinfo.c: plug a tiny mem leak.
      
      
      svn path=/trunk/; revision=7841
      49719cca
  12. 29 Jan, 2009 1 commit
  13. 28 Jan, 2009 1 commit
    • Allison Karlitskaya's avatar
      Bug 568575 – _async functions for GDataInputStream · 129e86cf
      Allison Karlitskaya authored
      2009-01-28  Ryan Lortie  <desrt@desrt.ca>
      
              Bug 568575 – _async functions for GDataInputStream
      
              * gdatainputstream.h:
              * gdatainputstream.c: add _async versions of read_line and read_until.
              * gio.symbols:
              * ../docs/reference/gio/gio-sections.txt: add new functions
              * tests/sleepy-stream.c: new test case for async read line
              * tests/Makefile.am: add new test
      
      
      svn path=/trunk/; revision=7835
      129e86cf
  14. 22 Jan, 2009 2 commits
    • Allison Karlitskaya's avatar
      Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1 · fc10cb46
      Allison Karlitskaya authored
      2009-01-22  Ryan Lortie  <desrt@desrt.ca>
      
              Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
      
              * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
              g_buffered_input_stream_fill): check for count < -1 instead of count <
              0 and copy modified check to non-async version for consistency.
              document the "count = -1" API.
      
      
      svn path=/trunk/; revision=7828
      fc10cb46
    • Allison Karlitskaya's avatar
      Bug 568741 – g_buffered_input_stream_fill_async doesn't work · fb50c2ae
      Allison Karlitskaya authored
      2009-01-22  Ryan Lortie  <desrt@desrt.ca>
      
              Bug 568741 – g_buffered_input_stream_fill_async doesn't work
      
              * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
              after we have successfully read data from the base stream
      
      
      svn path=/trunk/; revision=7827
      fb50c2ae
  15. 21 Jan, 2009 1 commit
    • Allison Karlitskaya's avatar
      Bug 568394 – dropping the last reference to a stream filter closes the · a9c978a3
      Allison Karlitskaya authored
      2009-01-20  Ryan Lortie  <desrt@desrt.ca>
      
              Bug 568394 – dropping the last reference to a stream filter closes the
              base stream
      
              * gfilterinputstream.h:
              * gfilterinputstream.c: add "close-base-stream" property and only
              close the base stream if it is true.  issue async close callbacks from
              correct source object.
              * gfilteroutputstream.h:
              * gfilteroutputstream.c: add a "close-base-stream" property and only
              close the base stream if it is true.  issue async close callbacks from
              correct source object.
              * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
              before closing the base stream.  fix invalid source tag comparison in
              close_async (was comparing to flush_async).
              * ../docs/reference/gio/gio-sections.txt:
              * gio.symbols: add
              g_filter_{in,out}put_stream_{g,s}et_close_base_stream
              * tests/filter-streams.c: new test cases
              * tests/Makefile.am: add new test
              * tests/.gitignore: add new test
      
      
      svn path=/trunk/; revision=7825
      a9c978a3
  16. 19 Jan, 2009 4 commits
  17. 09 Jan, 2009 2 commits
  18. 08 Jan, 2009 1 commit
  19. 05 Jan, 2009 5 commits
  20. 31 Dec, 2008 1 commit
  21. 20 Dec, 2008 1 commit
  22. 15 Dec, 2008 1 commit
  23. 13 Dec, 2008 1 commit