glib/glib
Tor Lillqvist 9d80c36141 Use CSIDL_LOCAL_APPDATA on Windows
Make g_get_user_data_dir() return the CSIDL_LOCAL_APPDATA folder on
Windows, and not CSIDL_PERSONAL. On Windows 7, that corresponds to the
subfolders AppData\Local vs. Documents under the profile ("home")
folder. This matches what Qt does, for instance, and has been widely
requested.

Also make g_get_user_config_dir() return this and not the (roaming)
CSIDL_APPDATA folder. The reason for this change is that it would be
surprising and hard to justify if g_get_user_data_dir() returned the
local application data folder while g_get_user_config_dir() would
return the roaming one. Nothing in the function names or the XDG specs
suggests that any roaming vs. local dichotomy would be involved.

Document the new semantics and the fact that these two functions now
return the same directory on Windows.

Note that in reality, code that really truly wants to support Windows
as well as possible probably will not use these GLib functions anyway,
but Win32 APIs directly to be sure what it is doing...

Should hopefully satisfy complaints in bug #620710 and related bugs.
2010-10-18 14:43:21 +03:00
..
glib-mirroring-tab removed all .cvsignore files. SVN doesn't need them. 2007-01-03 11:22:36 +00:00
gnulib Replace -I with $(glib_INCLUDES) and friends 2010-08-06 13:10:34 -04:00
libcharset Replace -I with $(glib_INCLUDES) and friends 2010-08-06 13:10:34 -04:00
pcre Add const to _pcre_ucp_othercase() definition in pcre_internal.h 2010-08-23 12:34:53 -05:00
tests GVariant tests: fix bad allignment assumption 2010-10-05 02:11:22 -04:00
update-pcre Replace -I with $(glib_INCLUDES) and friends 2010-08-06 13:10:34 -04:00
.gitignore move glibconfig.h to glib/ 2010-07-12 15:33:05 -04:00
abicheck.sh move glibconfig.h to glib/ 2010-07-12 15:33:05 -04:00
galloca.h docs: Inline docs from tmpl/memory.smgl 2010-09-01 09:48:16 +02:00
garray.c Remove two redundant comments 2010-08-08 23:55:11 -04:00
garray.h Bug 580450 – Reference counting and boxed types for arrays 2009-04-29 11:17:23 -04:00
gasyncqueue.c GAsyncQueue: use g_queue_init() not g_queue_new() 2010-08-13 00:33:04 -04:00
gasyncqueue.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gatomic-gcc.c More header inclusion cleanup 2010-09-05 00:23:03 -04:00
gatomic.c More header inclusion cleanup 2010-09-05 00:23:03 -04:00
gatomic.h Move docs for atomic operations inline 2010-07-10 23:56:45 -04:00
gbacktrace.c Fix build on Windows and possibly other non-Linux platforms 2010-09-06 15:57:32 +03:00
gbacktrace.h Remove redundant header inclusions 2010-09-03 19:41:49 -04:00
gbase64.c Whitespace cleanup 2010-09-03 19:34:28 -04:00
gbase64.h Whitespace cleanup 2010-09-03 19:34:28 -04:00
gbitlock.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gbitlock.h gbitlock: fix gtkdoc brokenness 2010-01-30 12:32:37 -05:00
gbookmarkfile.c Don't assert too much 2010-08-03 10:25:54 -04:00
gbookmarkfile.h Fix a typo 2010-07-10 23:56:45 -04:00
gbsearcharray.h [gbsearcharray] Use malloc() instead of realloc(NULL,...) 2009-07-20 16:03:25 -04:00
gbuffer.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gbuffer.h GBuffer: very small cosmetic fix to header file 2010-03-14 15:56:18 -04:00
gcache.c Whitespace cleanup 2010-09-03 19:38:56 -04:00
gcache.h Whitespace cleanup 2010-09-03 19:38:56 -04:00
gchecksum.c Build fixes for the fall-out of the inclusion changes 2010-09-04 18:04:34 +01:00
gchecksum.h Remove redundant header inclusions 2010-09-03 19:49:34 -04:00
gcompletion.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gcompletion.h Deprecate some rarely-used APIS 2010-06-23 22:32:35 -04:00
gconvert.c Fix build on Windows and possibly other non-Linux platforms 2010-09-06 15:57:32 +03:00
gconvert.h Move GConvert docs inline 2010-08-08 23:55:11 -04:00
gdataset.c Bug 630185 — Allow NULL strings in g_quark_try_string() 2010-09-21 10:35:36 +01:00
gdataset.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gdatasetprivate.h Don't include glib.h in other headers 2010-09-03 21:24:40 -04:00
gdate.c Fix build on Windows and possibly other non-Linux platforms 2010-09-06 15:57:32 +03:00
gdate.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gdatetime.c Bug 630077 - GDateTime week number support 2010-10-01 11:20:55 -04:00
gdatetime.h Bug 630077 - GDateTime week number support 2010-10-01 11:20:55 -04:00
gdebug.h Move the compiler-dependency in the G_GNUC_INTERNAL definition from 2007-05-17 16:36:53 +00:00
gdir.c gdir: Clarify in documentation that ordering is not defined 2010-09-20 13:25:24 -04:00
gdir.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gen-script-table.pl Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gen-unicode-tables.pl Apply a patch from Behdad Esfahbod to use a faster lookup table for 2005-11-04 22:27:04 +00:00
gerror.c More header inclusion cleanup 2010-09-05 00:23:03 -04:00
gerror.h Make g_error_new_valist public 2009-05-23 17:52:58 +02:00
gfileutils.c Fix build on Windows and possibly other non-Linux platforms 2010-09-06 15:57:32 +03:00
gfileutils.h Bug 594034 - Add g_mkstemp_full() 2009-09-04 22:45:07 +02:00
ghash.c Build fixes for the fall-out of the inclusion changes 2010-09-04 18:04:34 +01:00
ghash.h GHash: move docs from tmpl to inline comments 2010-01-28 22:36:48 -05:00
ghook.c More include cleanups 2010-09-03 23:03:14 -04:00
ghook.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
ghostutils.c Build fixes for the fall-out of the inclusion changes 2010-09-04 18:04:34 +01:00
ghostutils.h Add hostname-related utilities in glib/ghostutils.h 2009-04-22 08:36:02 -04:00
gi18n-lib.h Bug 548321 – <string.h> is not included in gi18n-lib.h 2008-09-11 16:48:44 +00:00
gi18n.h Bug 548321 – <string.h> is not included in gi18n-lib.h 2008-09-11 16:48:44 +00:00
giochannel.c Fix typo 2010-09-20 22:51:26 -04:00
giochannel.h Fix problems on 64-bit Windows. Avoid warnings, some of which indicated 2008-07-28 00:24:14 +00:00
giounix.c build: Fix warnings caused by missing includes 2010-09-06 11:43:04 +01:00
giowin32.c Annotate all custom GIO GSource using g_source_set_name 2010-07-10 20:09:34 -04:00
gkeyfile.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gkeyfile.h Support 64bit integers in GKeyFile 2010-05-08 21:30:27 -04:00
glib_probes.d Initial support for dtrace and systemtap 2010-05-27 14:51:41 -04:00
glib_trace.h Initial support for dtrace and systemtap 2010-05-27 14:51:41 -04:00
glib-object.h gobject: Add GBinding 2010-06-15 16:06:18 +01:00
glib.h Clean-up/tweaking of GDateTime and GTimeZone 2010-09-17 11:40:10 -04:00
glib.py glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
glib.rc.in Update copyright years 2010-02-04 00:12:50 +02:00
glib.stp.in Initial support for dtrace and systemtap 2010-05-27 14:51:41 -04:00
glib.symbols Bug 618737 - "dispatch to context" functionality 2010-10-03 17:34:16 -04:00
glibconfig.h.win32.in move glibconfig.h to glib/ 2010-07-12 15:33:05 -04:00
glibintl.h Add C_() to glibintl.h 2010-08-24 22:48:15 +01:00
glist.c Remove excessive header inclusions 2010-09-03 20:57:05 -04:00
glist.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gmacros.h Add G_GNUC_DEPRECATED_FOR macro 2010-04-23 15:26:49 +01:00
gmain.c Bug 618737 - "dispatch to context" functionality 2010-10-03 17:34:16 -04:00
gmain.h Bug 618737 - "dispatch to context" functionality 2010-10-03 17:34:16 -04:00
gmappedfile.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gmappedfile.h GMappedFile: add refcounting, switch to GSlice 2009-06-18 15:01:18 -04:00
gmarkup.c Const 'parser' arg to g_markup_parse_context_push 2010-09-13 12:14:08 -04:00
gmarkup.h Const 'parser' arg to g_markup_parse_context_push 2010-09-13 12:14:08 -04:00
gmem.c docs: Inline docs from tmpl/memory.smgl 2010-09-01 09:48:16 +02:00
gmem.h docs: Inline docs from tmpl/memory.smgl 2010-09-01 09:48:16 +02:00
gmessages.c Remove excessive header inclusions 2010-09-03 20:51:08 -04:00
gmessages.h Fix C++ warnings in g_error() code 2009-06-27 11:03:47 +03:00
gmirroringtable.h Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gnode.c Remove some unneeded headers 2010-09-03 20:46:40 -04:00
gnode.h Improve some GNode docs 2010-07-08 19:26:25 -04:00
goption.c Deal with gtk-doc's insane sensitivty to spaces 2010-09-17 13:14:59 -04:00
goption.h Fix a doc typo. 2010-02-21 17:59:15 -05:00
gpattern.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gpattern.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gpoll.c Include giochannel.c for G_IO_IN, etc. 2010-09-13 16:52:51 +02:00
gpoll.h Move main loop docs inline 2010-07-10 23:56:45 -04:00
gprimes.c Remove redundant header inclusions 2010-09-03 20:41:52 -04:00
gprimes.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gprintf.c More header inclusion cleanup 2010-09-05 00:23:03 -04:00
gprintf.h make it possible to disable single-file includes by defining 2008-03-14 19:30:38 +00:00
gprintfint.h Fix #147651, reported by Oliver Guntermann: 2004-07-21 17:51:28 +00:00
gqsort.c More include cleanups 2010-09-03 23:03:14 -04:00
gqsort.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gquark.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gqueue.c Remove excessive header inclusions 2010-09-03 20:55:17 -04:00
gqueue.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
grand.c Build fixes for the fall-out of the inclusion changes 2010-09-04 18:04:34 +01:00
grand.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gregex.c Fix header cleaup fallout when using system pcre 2010-09-18 12:52:58 -04:00
gregex.h Move GRegex docs inline 2010-08-08 23:55:11 -04:00
grel.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
grel.h Deprecate some rarely-used APIS 2010-06-23 22:32:35 -04:00
gscanner.c Build fixes for the fall-out of the inclusion changes 2010-09-04 18:04:34 +01:00
gscanner.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gscripttable.h Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gsequence.c Remove redundant header inclusions 2010-09-03 20:27:45 -04:00
gsequence.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gshell.c Build fixes for the fall-out of the inclusion changes 2010-09-04 18:04:34 +01:00
gshell.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gslice.c Fix build on Windows and possibly other non-Linux platforms 2010-09-06 15:57:32 +03:00
gslice.h Remove redudant check for direct #include gslice.h 2010-02-22 00:35:45 -05:00
gslist.c Remove redundant header inclusions 2010-09-03 20:15:16 -04:00
gslist.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gspawn-win32-helper.c glib/giowin32.c glib/gmain.c glib/gspawn-win32.c Change gssize casts 2008-08-04 18:46:59 +00:00
gspawn-win32.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gspawn.c build: Fix warnings caused by missing includes 2010-09-06 11:43:04 +01:00
gspawn.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gstdio.c Fix build on Windows and possibly other non-Linux platforms 2010-09-06 15:57:32 +03:00
gstdio.h Fix build breakage on Unix 2010-03-30 20:46:46 +03:00
gstrfuncs.c More include cleanups 2010-09-03 23:03:14 -04:00
gstrfuncs.h Add g_dc[p]gettext, and use it in gsettings 2010-05-20 21:16:29 +02:00
gstring.c Remove redundant header inclusions 2010-09-03 20:34:15 -04:00
gstring.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gtester-report Make this thing work 2010-08-26 00:16:30 -04:00
gtester.c Bug 578295 - gtester has a race condition 2010-08-07 19:59:36 -04:00
gtestutils.c Fix some glib docs warnings 2010-07-12 16:56:52 -04:00
gtestutils.h Fix some glib docs warnings 2010-07-12 16:56:52 -04:00
gthread.c rename configure.in to configure.ac 2010-07-13 11:59:16 -04:00
gthread.h Clean Glib header #include issues: gthread 2010-05-06 17:42:09 +02:00
gthreadpool.c More include cleanups 2010-09-03 23:03:14 -04:00
gthreadpool.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gthreadprivate.h Bug 548967 - 1 bit mutex lock 2010-01-28 12:40:46 -05:00
gtimer.c Fix build on Windows and possibly other non-Linux platforms 2010-09-06 15:57:32 +03:00
gtimer.h #define __GLIB_H_INSIDE__ around including everything. 2008-05-05 15:02:15 +00:00
gtimezone.c Clean-up/tweaking of GDateTime and GTimeZone 2010-09-17 11:40:10 -04:00
gtimezone.h Clean-up/tweaking of GDateTime and GTimeZone 2010-09-17 11:40:10 -04:00
gtree.c Remove redundant header inclusions 2010-09-03 20:05:27 -04:00
gtree.h GTree: switch to GSlice, add refcounts (#587773) 2009-07-05 12:30:54 +01:00
gtypes.h Add byteswap macros for gsize/gssize. 2009-11-30 19:53:30 -05:00
gunibreak.c Remove redundant header inclusions 2010-09-03 20:38:30 -04:00
gunibreak.h Remove redundant header inclusions 2010-09-03 20:38:30 -04:00
gunichartables.h Bug 491554 – Update to Unicode 5.1.0 2008-04-08 02:59:05 +00:00
gunicode.h Add Unicode 5.2 scripts 2010-06-20 01:14:55 -04:00
gunicodeprivate.h Don't include glib.h in other headers 2010-09-03 21:12:03 -04:00
gunicollate.c Add some more individual own header includes where required 2010-09-12 14:05:49 +03:00
gunicomp.h Update to final Unicode Character Database 5.0.0. (#336281) 2006-07-19 22:35:17 +00:00
gunidecomp.c More header inclusion cleanup 2010-09-05 00:23:03 -04:00
gunidecomp.h Update to final Unicode Character Database 5.0.0. (#336281) 2006-07-19 22:35:17 +00:00
guniprop.c Add some more individual own header includes where required 2010-09-12 14:05:49 +03:00
gurifuncs.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gurifuncs.h don't #include <glib.h> from other public headers 2010-01-30 00:01:26 -05:00
gutf8.c Add missing gstrfuncs.h include 2010-09-04 17:22:18 +01:00
gutils.c Use CSIDL_LOCAL_APPDATA on Windows 2010-10-18 14:43:21 +03:00
gutils.h avoid warning in gutils.h when using gcc with -Wconversion 2010-08-05 23:18:45 +02:00
gvariant-core.c Bug 629709 - Empty variants 2010-09-15 11:21:44 -04:00
gvariant-core.h merge GVariant 2010-02-10 11:35:01 -05:00
gvariant-internal.h GVariant variable arguments, tests, cleanups 2010-03-08 10:31:19 -05:00
gvariant-parser.c Remove redundant header inclusions 2010-09-03 20:12:09 -04:00
gvariant-serialiser.c Bug 629709 - Empty variants 2010-09-15 11:21:44 -04:00
gvariant-serialiser.h GVariant variable arguments, tests, cleanups 2010-03-08 10:31:19 -05:00
gvariant.c GVariant: avoid byteswapping in some cases 2010-10-03 22:55:39 -04:00
gvariant.h GVariant: improve bytestring support 2010-07-07 16:25:48 -04:00
gvarianttype.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gvarianttype.h GVariant: improve bytestring support 2010-07-07 16:25:48 -04:00
gvarianttypeinfo.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gvarianttypeinfo.h GVariant variable arguments, tests, cleanups 2010-03-08 10:31:19 -05:00
gwin32.c glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
gwin32.h glib/gutils.h Deprecate G_WIN32_DLLMAIN_FOR_DLL_NAME(), 2008-09-13 20:23:17 +00:00
libglib-gdb.py.in Initial support for gdb python macros 2009-09-21 15:39:00 +02:00
Makefile.am Clean-up/tweaking of GDateTime and GTimeZone 2010-09-17 11:40:10 -04:00
makefile.msc.in glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
win_iconv.c dos2unix glib/win_iconv.c 2010-09-11 12:08:32 +03:00