Add USE_LIBICONV.
authorTor Lillqvist <tml@iki.fi>
Mon, 13 Nov 2000 18:03:57 +0000 (18:03 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 13 Nov 2000 18:03:57 +0000 (18:03 +0000)
2000-11-13  Tor Lillqvist  <tml@iki.fi>

* config.h.win32.in: Add USE_LIBICONV.

* gconvert.c: Check G_OS_WIN32 only after including glib.h.

* glib.def: Update.

13 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
config.h.win32.in
gconvert.c
glib.def
glib/gconvert.c
glib/glib.def

index 465e222..4d00484 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-11-13  Tor Lillqvist  <tml@iki.fi>
+
+       * config.h.win32.in: Add USE_LIBICONV.
+
+       * gconvert.c: Check G_OS_WIN32 only after including glib.h. 
+
+       * glib.def: Update.
+
 2000-11-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * gthread.c (g_static_rec_mutex_*): Made recursive mutexes also
index 465e222..4d00484 100644 (file)
@@ -1,3 +1,11 @@
+2000-11-13  Tor Lillqvist  <tml@iki.fi>
+
+       * config.h.win32.in: Add USE_LIBICONV.
+
+       * gconvert.c: Check G_OS_WIN32 only after including glib.h. 
+
+       * glib.def: Update.
+
 2000-11-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * gthread.c (g_static_rec_mutex_*): Made recursive mutexes also
index 465e222..4d00484 100644 (file)
@@ -1,3 +1,11 @@
+2000-11-13  Tor Lillqvist  <tml@iki.fi>
+
+       * config.h.win32.in: Add USE_LIBICONV.
+
+       * gconvert.c: Check G_OS_WIN32 only after including glib.h. 
+
+       * glib.def: Update.
+
 2000-11-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * gthread.c (g_static_rec_mutex_*): Made recursive mutexes also
index 465e222..4d00484 100644 (file)
@@ -1,3 +1,11 @@
+2000-11-13  Tor Lillqvist  <tml@iki.fi>
+
+       * config.h.win32.in: Add USE_LIBICONV.
+
+       * gconvert.c: Check G_OS_WIN32 only after including glib.h. 
+
+       * glib.def: Update.
+
 2000-11-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * gthread.c (g_static_rec_mutex_*): Made recursive mutexes also
index 465e222..4d00484 100644 (file)
@@ -1,3 +1,11 @@
+2000-11-13  Tor Lillqvist  <tml@iki.fi>
+
+       * config.h.win32.in: Add USE_LIBICONV.
+
+       * gconvert.c: Check G_OS_WIN32 only after including glib.h. 
+
+       * glib.def: Update.
+
 2000-11-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * gthread.c (g_static_rec_mutex_*): Made recursive mutexes also
index 465e222..4d00484 100644 (file)
@@ -1,3 +1,11 @@
+2000-11-13  Tor Lillqvist  <tml@iki.fi>
+
+       * config.h.win32.in: Add USE_LIBICONV.
+
+       * gconvert.c: Check G_OS_WIN32 only after including glib.h. 
+
+       * glib.def: Update.
+
 2000-11-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * gthread.c (g_static_rec_mutex_*): Made recursive mutexes also
index 465e222..4d00484 100644 (file)
@@ -1,3 +1,11 @@
+2000-11-13  Tor Lillqvist  <tml@iki.fi>
+
+       * config.h.win32.in: Add USE_LIBICONV.
+
+       * gconvert.c: Check G_OS_WIN32 only after including glib.h. 
+
+       * glib.def: Update.
+
 2000-11-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * gthread.c (g_static_rec_mutex_*): Made recursive mutexes also
index 465e222..4d00484 100644 (file)
@@ -1,3 +1,11 @@
+2000-11-13  Tor Lillqvist  <tml@iki.fi>
+
+       * config.h.win32.in: Add USE_LIBICONV.
+
+       * gconvert.c: Check G_OS_WIN32 only after including glib.h. 
+
+       * glib.def: Update.
+
 2000-11-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * gthread.c (g_static_rec_mutex_*): Made recursive mutexes also
index b06c600..6beceb8 100644 (file)
 /* Define if you have the w library (-lw).  */
 /* #undef HAVE_LIBW */
 
+#define USE_LIBICONV 1
index da67e6e..d78c0a5 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
+#include "glib.h"
+#include "config.h"
+
 #ifdef G_OS_WIN32
 #include <windows.h>
 #endif
 
-#include "glib.h"
-#include "config.h"
-
 #define _(s) (s)
 
 GQuark 
@@ -692,6 +692,7 @@ g_locale_from_utf8 (const gchar *utf8string, GError **error)
 
 gchar*
 g_filename_to_utf8 (const gchar *string, GError **error)
+
 {
 #ifdef G_OS_WIN32
   return g_locale_to_utf8 (string, error);
index 41539a1..43290d2 100644 (file)
--- a/glib.def
+++ b/glib.def
@@ -151,6 +151,9 @@ EXPORTS
        g_hook_prepend
        g_hook_ref
        g_hook_unref
+       g_iconv
+       g_iconv_close
+       g_iconv_open
        g_idle_add
        g_idle_add_full
        g_idle_remove_by_data
@@ -202,6 +205,8 @@ EXPORTS
        g_list_remove_link
        g_list_reverse
        g_list_sort
+       g_locale_from_utf8
+       g_locale_to_utf8
        g_log
        g_log_default_handler
        g_log_remove_handler
index da67e6e..d78c0a5 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
+#include "glib.h"
+#include "config.h"
+
 #ifdef G_OS_WIN32
 #include <windows.h>
 #endif
 
-#include "glib.h"
-#include "config.h"
-
 #define _(s) (s)
 
 GQuark 
@@ -692,6 +692,7 @@ g_locale_from_utf8 (const gchar *utf8string, GError **error)
 
 gchar*
 g_filename_to_utf8 (const gchar *string, GError **error)
+
 {
 #ifdef G_OS_WIN32
   return g_locale_to_utf8 (string, error);
index 41539a1..43290d2 100644 (file)
@@ -151,6 +151,9 @@ EXPORTS
        g_hook_prepend
        g_hook_ref
        g_hook_unref
+       g_iconv
+       g_iconv_close
+       g_iconv_open
        g_idle_add
        g_idle_add_full
        g_idle_remove_by_data
@@ -202,6 +205,8 @@ EXPORTS
        g_list_remove_link
        g_list_reverse
        g_list_sort
+       g_locale_from_utf8
+       g_locale_to_utf8
        g_log
        g_log_default_handler
        g_log_remove_handler