1. 16 Sep, 2004 2 commits
  2. 15 Sep, 2004 2 commits
    • Tor Lillqvist's avatar
      Convert message to UTF-8. Technically this breaks API, but the actual use · 1852bc0d
      Tor Lillqvist authored
      2004-09-15  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gwin32.c (g_win32_error_message): Convert message to
      	UTF-8. Technically this breaks API, but the actual use cases in
      	gdk/win32 have assumed it is UTF-8 anyway. Fix
      	documentation. (#152618, Kazuki Iwamoto)
      
      	* glib/gwin32.h: Don't define ftruncate as a macro. Was never a
      	good idea, and it clashes with newest mingw headers, which have a
      	ftruncate implementation as an inline function. Thanks to Dominik R.
      
      	* glib/gwin32.c (g_win32_ftruncate): Simplify implementation, just
      	call _chsize() in the C library.
      1852bc0d
    • Matthias Clasen's avatar
      Updates · 9f42b39d
      Matthias Clasen authored
      9f42b39d
  3. 11 Sep, 2004 1 commit
  4. 09 Sep, 2004 5 commits
  5. 08 Sep, 2004 1 commit
    • Tor Lillqvist's avatar
      On Win32, as last resort call g_win32_getlocale() to get the current · cbadee08
      Tor Lillqvist authored
      2004-09-08  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gutils.c (guess_category_value): On Win32, as last resort
      	call g_win32_getlocale() to get the current thread locale. There
      	usually aren't any POSIXish LANG or LC_* environment variables
      	present on Windows machines.
      
      	* glib/glib.def: Add g_get_language_names.
      cbadee08
  6. 07 Sep, 2004 1 commit
    • Matthias Clasen's avatar
      Add a function to return a list of applicable locale names. (#95587, · d209e108
      Matthias Clasen authored
      2004-09-07  Matthias Clasen  <mclasen@redhat.com>
      
      	* glib/gutils.h:
      	* glib/gutils.c (g_get_language_names): Add a function to
      	return a list of applicable locale names.  (#95587,
      	Hidetoshi Tajima)
      	(guess_category_value, compute_locale_variants):
      	(explode_locale, unalias_lang, read_aliases): Helper
      	functions for g_get_language_names()
      
      	* tests/testglib.c (main): Show the results of
      	g_get_language_names()
      d209e108
  7. 06 Sep, 2004 2 commits
  8. 05 Sep, 2004 2 commits
  9. 03 Sep, 2004 1 commit
    • Tor Lillqvist's avatar
      Update. · 1df50a98
      Tor Lillqvist authored
      2004-09-03  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/glib.def: Update.
      1df50a98
  10. 02 Sep, 2004 2 commits
  11. 01 Sep, 2004 2 commits
  12. 31 Aug, 2004 1 commit
  13. 30 Aug, 2004 3 commits
  14. 27 Aug, 2004 2 commits
  15. 26 Aug, 2004 1 commit
  16. 25 Aug, 2004 5 commits
    • Tor Lillqvist's avatar
      New function. Returns the Windows version code like GetVersion(), except · 1de0e063
      Tor Lillqvist authored
      2004-08-25  Tor Lillqvist  <tml@iki.fi>
      
      	* glib/gwin32.c (g_win32_get_windows_version): New
      	function. Returns the Windows version code like GetVersion(),
      	except that one can pretend to be running on Win9x by setting the
      	G_WIN32_PRETEND_WIN9X environment variable. This is mainly for
      	debugging purposed.
      
      	* glib/gwin32.h: Declare it. Define macros G_WIN32_WINDOWS_IS_NT_BASED
      	and G_WIN32_HAVE_WIDECHAR_API to test Windows features at run-time.
      1de0e063
    • Matthias Clasen's avatar
      Version bump. · 0d0f7c9c
      Matthias Clasen authored
      0d0f7c9c
    • Matthias Clasen's avatar
      2.5.2 · 7f014a1f
      Matthias Clasen authored
      7f014a1f
    • Matthias Clasen's avatar
      Update for 2.5.2 · adde0814
      Matthias Clasen authored
      adde0814
    • Tor Lillqvist's avatar
      Win32 equivalences of the XDG folders · a56aee27
      Tor Lillqvist authored
      2004-08-25  Tor Lillqvist  <tml@iki.fi>
      
      	Win32 equivalences of the XDG folders
      
      	* glib/gutils.c (get_special_folder): New function, calls
      	SHGetSpecialFolderLocation() to get path to places like the My
      	Documents folder.
      	(g_get_any_init): Use CSIDL_PROFILE as HOME if not
      	overridden by env vars.
      	(g_get_user_data_dir): Use CSIDL_PERSONAL.
      	(g_get_user_config_dir): Use CSIDL_APPDATA.
      	(g_get_user_cache_dir): Use CSIDL_INTERNET_CACHE. Debatable...
      	(g_get_system_data_dirs): Use CSIDL_COMMON_APPDATA and
      	CSIDL_COMMON_DOCUMENTS.
      	(g_get_system_config_dirs): Use CSIDL_COMMON_APPDATA.
      
      	* configure.in: Add -lole32 to G_LIBS_EXTRA for mingw.
      
      	* glib/glib.def: Add the new functions.
      a56aee27
  17. 24 Aug, 2004 1 commit
  18. 23 Aug, 2004 4 commits
  19. 21 Aug, 2004 2 commits