1. 24 Feb, 2008 3 commits
    • Tor Lillqvist's avatar
      Use alertable wait functions so that I/O completion routines or user-mode · 6eb2b427
      Tor Lillqvist authored
      2008-02-24  Tor Lillqvist  <tml@novell.com>
      
      	* glib/gmain.c (g_poll) [Win32]: Use alertable wait functions so
      	that I/O completion routines or user-mode Asynchronous Procedure
      	Calls can be run. (#517484, Vlad Grecescu)
      
      
      svn path=/trunk/; revision=6571
      6eb2b427
    • Tor Lillqvist's avatar
      Mention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be deprecated in the future. · 811b86fa
      Tor Lillqvist authored
      2008-02-24  Tor Lillqvist  <tml@novell.com>
      
      	* glib/gutils.h: Mention G_WIN32_DLLMAIN_FOR_DLL_NAME() will be
      	deprecated in the future.
      
      	* glib/gutils.c: Drop use of G_WIN32_DLLMAIN_FOR_DLL_NAME(). Use a
      	minimal DllMain() instead that just saves the DLL handle.
      	(g_win32_get_system_data_dirs_for_module, _glib_get_locale_dir)
      	(get_module_share_dir): Use
      	g_win32_get_package_installation_directory_of_module().
      
      
      svn path=/trunk/; revision=6570
      811b86fa
    • Tor Lillqvist's avatar
      New function. Supersedes g_win32_get_package_installation_directory() and · 3af00194
      Tor Lillqvist authored
      2008-02-24  Tor Lillqvist  <tml@novell.com>
      
      	* glib/gwin32.c
      	(g_win32_get_package_installation_directory_of_module): New
      	function. Supersedes g_win32_get_package_installation_directory()
      	and g_win32_get_package_installation_directory().
      
      	It makes more sense to have the function for this functionality
      	take a HMODULE as parameter instead of DLL name. The typical use
      	scenario has been to have a DllMain() function that retrieves the
      	full pathname for the DLL in question, and saves just the basename
      	of that. Then later code passes that saved dll basename to
      	g_win32_get_package_installation_directory(), which retrieves the
      	corresponding DLL handle, and then retrieves up its full
      	pathname. (Which DLlMain() already had.) It is less convoluted to
      	have a DllMain() that just saves the DLL handle, and then when
      	needed call this function to get the corresponding installation
      	folder.
      
      	(get_package_directory_from_module): Use
      	g_win32_get_package_installation_directory_of_module().
      
      	(g_win32_get_package_installation_directory)
      	(g_win32_get_package_installation_subdirectory): Mention these
      	functions will be deprecated and recommend using
      	g_win32_get_package_installation_directory_of_module() instead.
      	
      	* glib/gwin32.h: Declare
      	g_win32_get_package_installation_directory_of_module().
      
      	* glib/glib.symbols: Add it.
      
      
      svn path=/trunk/; revision=6569
      3af00194
  2. 23 Feb, 2008 10 commits
  3. 22 Feb, 2008 4 commits
  4. 21 Feb, 2008 8 commits
    • Matthias Clasen's avatar
      Doc fixes · f3144c7e
      Matthias Clasen authored
      svn path=/trunk/; revision=6554
      f3144c7e
    • Yang Zhang's avatar
      Updated zh_CN translation from manphiz · 31723eb7
      Yang Zhang authored
      svn path=/trunk/; revision=6553
      31723eb7
    • Tor Lillqvist's avatar
      glib/gutf8.c (g_get_charset) glib/gconvert.c (g_locale_from_utf8) Clarify · b60f5cf1
      Tor Lillqvist authored
      2008-02-21  Tor Lillqvist  <tml@novell.com>
      	
      	* glib/gutf8.c (g_get_charset)
      	* glib/gconvert.c (g_locale_from_utf8)
      	* docs/reference/glib/running.sgml: Clarify character set
      	issues on Windows.
      
      
      svn path=/trunk/; revision=6551
      b60f5cf1
    • David Zeuthen's avatar
      Implement this function by moving bits from glocalfileinfo.c · bfda430e
      David Zeuthen authored
      2008-02-21  David Zeuthen  <davidz@redhat.com>
      
      	* glocalfileinfo.c: (_g_local_file_info_get):
      	* gcontenttype.c:
      	(g_content_type_get_icon): Implement this function by
      	moving bits from glocalfileinfo.c
      	(g_content_type_get_description): Unalias before getting
      	description (#517687)
      
      	* gfile.c: (g_file_class_init),
      	(g_file_query_filesystem_info_async),
      	(g_file_query_filesystem_info_finish),
      	(query_filesystem_info_data_free),
      	(query_filesystem_info_async_thread),
      	(g_file_real_query_filesystem_info_async),
      	(g_file_real_query_filesystem_info_finish):
      	* gfile.h: Implement async version of
      	g_file_query_filesystem_info()
      
      	* gfileinfo.h: Add new attributes for filesystem::use-preview
      
      	* gio.symbols: Update
      
      	* gthemedicon.c: (g_themed_icon_append_name):
      	* gthemedicon.h: Add new new convenience function.
      
      	* gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
      	(get_mounts), (get_volumes), (get_connected_drives),
      	(get_volume_for_uuid), (get_mount_for_uuid),
      	(g_union_volume_monitor_init), (populate_union_monitor),
      	(g_volume_monitor_get), (_g_mount_get_for_mount_path),
      	(g_volume_monitor_adopt_orphan_mount):
      	* gvolumemonitor.c:
      	* gvolumemonitor.h: Use recursive locks so it's safe for volume
      	monitor implementations to call into the main volume monitor. Also
      	separate object initialization and volume monitor initialization
      	such that non-native volume monitors can properly adopt their
      	mounts away.
      
      
      svn path=/trunk/; revision=6550
      bfda430e
    • Alexander Larsson's avatar
      Fix doc typo · bed0b365
      Alexander Larsson authored
      2008-02-21  Alexander Larsson  <alexl@redhat.com>
      
              * gfile.c:
      	Fix doc typo
      
      
      svn path=/trunk/; revision=6549
      bed0b365
    • Alexander Larsson's avatar
      Fix doc typo · db261580
      Alexander Larsson authored
      2008-02-21  Alexander Larsson  <alexl@redhat.com>
      
              * gfile.c:
      	Fix doc typo
      
      
      svn path=/trunk/; revision=6548
      db261580
    • Alexander Larsson's avatar
      Add more documentation about how GFiles work (from #517086) · 4fb597e5
      Alexander Larsson authored
      2008-02-21  Alexander Larsson  <alexl@redhat.com>
      
              * gfile.c:
      	Add more documentation about how GFiles work (from #517086)
      
      
      svn path=/trunk/; revision=6547
      4fb597e5
    • Alexander Larsson's avatar
      Add new g_file_has_prefix that does the same as g_file_contains_file. · 6dc9b7ee
      Alexander Larsson authored
      2008-02-21  Alexander Larsson  <alexl@redhat.com>
      
              * gfile.[ch]:
              * gio.symbols:
      	Add new g_file_has_prefix that does the same as g_file_contains_file.
      	Deprecate g_file_contains_file and add a macro that converts
      	it to g_file_has_prefix.
      	The reason for this change is that the contains_file() name seems to
      	imply that this does more work than what it does, but its really only
      	a name match (from #517086)
      	
              * gdummyfile.c:
              * glocalfile.c:
              * tests/g-file.c:
      	Update to match the above change.
      
      
      svn path=/trunk/; revision=6546
      6dc9b7ee
  5. 20 Feb, 2008 2 commits
    • Benjamin Otte's avatar
      even more cases of not returning in error path · 03c51e95
      Benjamin Otte authored
      2008-02-20  Benjamin Otte  <otte@gnome.org>
      
      	* gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
      	(g_file_eject_mountable):
      	even more cases of not returning in error path
      
      
      svn path=/trunk/; revision=6545
      03c51e95
    • Benjamin Otte's avatar
      return from function in error path. · ea6cf346
      Benjamin Otte authored
      2008-02-20  Benjamin Otte  <otte@gnome.org>
      
              * gfile.c: (g_file_mount_mountable):
      	return from function in error path.
      
      svn path=/trunk/; revision=6544
      ea6cf346
  6. 19 Feb, 2008 6 commits
  7. 18 Feb, 2008 6 commits
  8. 17 Feb, 2008 1 commit