mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-29 23:36:17 +01:00
get_filename_charset() needs to return false for filenames not encoded in
2003-12-13 Hans Breuer <hans@breuer.org> * glib/gconvert.c : get_filename_charset() needs to return false for filenames not encoded in utf-8, which is always true on win32 * glibconfig.h.win32.in : (u)int64 modifier isn't the gcc 'll' but always the msvcrt one 'I64' * glib/glib.def : updated
This commit is contained in:
parent
4bd0876b62
commit
35a6cff869
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
|||||||
|
2003-12-13 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* glib/gconvert.c : get_filename_charset() needs to
|
||||||
|
return false for filenames not encoded in utf-8,
|
||||||
|
which is always true on win32
|
||||||
|
|
||||||
|
* glibconfig.h.win32.in : (u)int64 modifier isn't the
|
||||||
|
gcc 'll' but always the msvcrt one 'I64'
|
||||||
|
|
||||||
|
* glib/glib.def : updated
|
||||||
|
|
||||||
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gmacros.h: change #elif with no expression to #else in
|
* glib/gmacros.h: change #elif with no expression to #else in
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
2003-12-13 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* glib/gconvert.c : get_filename_charset() needs to
|
||||||
|
return false for filenames not encoded in utf-8,
|
||||||
|
which is always true on win32
|
||||||
|
|
||||||
|
* glibconfig.h.win32.in : (u)int64 modifier isn't the
|
||||||
|
gcc 'll' but always the msvcrt one 'I64'
|
||||||
|
|
||||||
|
* glib/glib.def : updated
|
||||||
|
|
||||||
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gmacros.h: change #elif with no expression to #else in
|
* glib/gmacros.h: change #elif with no expression to #else in
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
2003-12-13 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* glib/gconvert.c : get_filename_charset() needs to
|
||||||
|
return false for filenames not encoded in utf-8,
|
||||||
|
which is always true on win32
|
||||||
|
|
||||||
|
* glibconfig.h.win32.in : (u)int64 modifier isn't the
|
||||||
|
gcc 'll' but always the msvcrt one 'I64'
|
||||||
|
|
||||||
|
* glib/glib.def : updated
|
||||||
|
|
||||||
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gmacros.h: change #elif with no expression to #else in
|
* glib/gmacros.h: change #elif with no expression to #else in
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
2003-12-13 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* glib/gconvert.c : get_filename_charset() needs to
|
||||||
|
return false for filenames not encoded in utf-8,
|
||||||
|
which is always true on win32
|
||||||
|
|
||||||
|
* glibconfig.h.win32.in : (u)int64 modifier isn't the
|
||||||
|
gcc 'll' but always the msvcrt one 'I64'
|
||||||
|
|
||||||
|
* glib/glib.def : updated
|
||||||
|
|
||||||
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gmacros.h: change #elif with no expression to #else in
|
* glib/gmacros.h: change #elif with no expression to #else in
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
2003-12-13 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* glib/gconvert.c : get_filename_charset() needs to
|
||||||
|
return false for filenames not encoded in utf-8,
|
||||||
|
which is always true on win32
|
||||||
|
|
||||||
|
* glibconfig.h.win32.in : (u)int64 modifier isn't the
|
||||||
|
gcc 'll' but always the msvcrt one 'I64'
|
||||||
|
|
||||||
|
* glib/glib.def : updated
|
||||||
|
|
||||||
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gmacros.h: change #elif with no expression to #else in
|
* glib/gmacros.h: change #elif with no expression to #else in
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
2003-12-13 Hans Breuer <hans@breuer.org>
|
||||||
|
|
||||||
|
* glib/gconvert.c : get_filename_charset() needs to
|
||||||
|
return false for filenames not encoded in utf-8,
|
||||||
|
which is always true on win32
|
||||||
|
|
||||||
|
* glibconfig.h.win32.in : (u)int64 modifier isn't the
|
||||||
|
gcc 'll' but always the msvcrt one 'I64'
|
||||||
|
|
||||||
|
* glib/glib.def : updated
|
||||||
|
|
||||||
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
Thu Dec 11 10:31:21 2003 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gmacros.h: change #elif with no expression to #else in
|
* glib/gmacros.h: change #elif with no expression to #else in
|
||||||
|
@ -1088,7 +1088,12 @@ get_filename_charset (const gchar **filename_charset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#else /* G_PLATFORM_WIN32 */
|
#else /* G_PLATFORM_WIN32 */
|
||||||
#define get_filename_charset (charset) TRUE
|
static gboolean
|
||||||
|
get_filename_charset (const gchar **filename_charset)
|
||||||
|
{
|
||||||
|
g_get_charset (filename_charset);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
#endif /* G_PLATFORM_WIN32 */
|
#endif /* G_PLATFORM_WIN32 */
|
||||||
|
|
||||||
/* This is called from g_thread_init(). It's used to
|
/* This is called from g_thread_init(). It's used to
|
||||||
|
@ -29,7 +29,6 @@ glib_OBJECTS = \
|
|||||||
garray.obj \
|
garray.obj \
|
||||||
gasyncqueue.obj \
|
gasyncqueue.obj \
|
||||||
gbacktrace.obj \
|
gbacktrace.obj \
|
||||||
gbsearcharray.obj \
|
|
||||||
gcache.obj \
|
gcache.obj \
|
||||||
gcompletion.obj \
|
gcompletion.obj \
|
||||||
gconvert.obj \
|
gconvert.obj \
|
||||||
|
@ -59,9 +59,9 @@ typedef unsigned __int64 guint64;
|
|||||||
#else /* _MSC_VER */
|
#else /* _MSC_VER */
|
||||||
#define G_GINT64_CONSTANT(val) (val##i64)
|
#define G_GINT64_CONSTANT(val) (val##i64)
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
#define G_GINT64_MODIFIER "ll"
|
#define G_GINT64_MODIFIER "I64"
|
||||||
#define G_GINT64_FORMAT "lli"
|
#define G_GINT64_FORMAT "I64i"
|
||||||
#define G_GUINT64_FORMAT "llu"
|
#define G_GUINT64_FORMAT "I64u"
|
||||||
|
|
||||||
#define GLIB_SIZEOF_VOID_P 4
|
#define GLIB_SIZEOF_VOID_P 4
|
||||||
#define GLIB_SIZEOF_LONG 4
|
#define GLIB_SIZEOF_LONG 4
|
||||||
|
Loading…
Reference in New Issue
Block a user