summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog13
-rw-r--r--ChangeLog.pre-2-013
-rw-r--r--ChangeLog.pre-2-1013
-rw-r--r--ChangeLog.pre-2-1213
-rw-r--r--ChangeLog.pre-2-213
-rw-r--r--ChangeLog.pre-2-413
-rw-r--r--ChangeLog.pre-2-613
-rw-r--r--ChangeLog.pre-2-813
-rw-r--r--glib.def2
-rw-r--r--glib/glib.def2
-rw-r--r--glib/gmessages.c4
-rw-r--r--glib/gthread.c2
-rw-r--r--gmessages.c4
-rw-r--r--gobject/gobject.def1
-rw-r--r--gobject/makefile.msc.in18
-rw-r--r--gthread.c2
16 files changed, 133 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 9f074075b..1635b6716 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2001-02-19 Hans Breuer <hans@breuer.org>
+
+ * glib/glib.def, gobject/gobject.def : added nissing symbols
+
+ * gobject/makefile.msc : updated
+
+ * glib/gmessages.c : call the "debug interrupt" before exiting the
+ program, if build with msvc as debug version. Which gives the opportunity
+ to see the callstack, etc.
+
+ * glib/gthread.c : thread->pid is only defined #ifdef
+ G_THREAD_USE_PID_SURROGATE
+
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 9f074075b..1635b6716 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,16 @@
+2001-02-19 Hans Breuer <hans@breuer.org>
+
+ * glib/glib.def, gobject/gobject.def : added nissing symbols
+
+ * gobject/makefile.msc : updated
+
+ * glib/gmessages.c : call the "debug interrupt" before exiting the
+ program, if build with msvc as debug version. Which gives the opportunity
+ to see the callstack, etc.
+
+ * glib/gthread.c : thread->pid is only defined #ifdef
+ G_THREAD_USE_PID_SURROGATE
+
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 9f074075b..1635b6716 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,16 @@
+2001-02-19 Hans Breuer <hans@breuer.org>
+
+ * glib/glib.def, gobject/gobject.def : added nissing symbols
+
+ * gobject/makefile.msc : updated
+
+ * glib/gmessages.c : call the "debug interrupt" before exiting the
+ program, if build with msvc as debug version. Which gives the opportunity
+ to see the callstack, etc.
+
+ * glib/gthread.c : thread->pid is only defined #ifdef
+ G_THREAD_USE_PID_SURROGATE
+
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index 9f074075b..1635b6716 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -1,3 +1,16 @@
+2001-02-19 Hans Breuer <hans@breuer.org>
+
+ * glib/glib.def, gobject/gobject.def : added nissing symbols
+
+ * gobject/makefile.msc : updated
+
+ * glib/gmessages.c : call the "debug interrupt" before exiting the
+ program, if build with msvc as debug version. Which gives the opportunity
+ to see the callstack, etc.
+
+ * glib/gthread.c : thread->pid is only defined #ifdef
+ G_THREAD_USE_PID_SURROGATE
+
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 9f074075b..1635b6716 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,16 @@
+2001-02-19 Hans Breuer <hans@breuer.org>
+
+ * glib/glib.def, gobject/gobject.def : added nissing symbols
+
+ * gobject/makefile.msc : updated
+
+ * glib/gmessages.c : call the "debug interrupt" before exiting the
+ program, if build with msvc as debug version. Which gives the opportunity
+ to see the callstack, etc.
+
+ * glib/gthread.c : thread->pid is only defined #ifdef
+ G_THREAD_USE_PID_SURROGATE
+
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 9f074075b..1635b6716 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,16 @@
+2001-02-19 Hans Breuer <hans@breuer.org>
+
+ * glib/glib.def, gobject/gobject.def : added nissing symbols
+
+ * gobject/makefile.msc : updated
+
+ * glib/gmessages.c : call the "debug interrupt" before exiting the
+ program, if build with msvc as debug version. Which gives the opportunity
+ to see the callstack, etc.
+
+ * glib/gthread.c : thread->pid is only defined #ifdef
+ G_THREAD_USE_PID_SURROGATE
+
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 9f074075b..1635b6716 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,16 @@
+2001-02-19 Hans Breuer <hans@breuer.org>
+
+ * glib/glib.def, gobject/gobject.def : added nissing symbols
+
+ * gobject/makefile.msc : updated
+
+ * glib/gmessages.c : call the "debug interrupt" before exiting the
+ program, if build with msvc as debug version. Which gives the opportunity
+ to see the callstack, etc.
+
+ * glib/gthread.c : thread->pid is only defined #ifdef
+ G_THREAD_USE_PID_SURROGATE
+
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 9f074075b..1635b6716 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,16 @@
+2001-02-19 Hans Breuer <hans@breuer.org>
+
+ * glib/glib.def, gobject/gobject.def : added nissing symbols
+
+ * gobject/makefile.msc : updated
+
+ * glib/gmessages.c : call the "debug interrupt" before exiting the
+ program, if build with msvc as debug version. Which gives the opportunity
+ to see the callstack, etc.
+
+ * glib/gthread.c : thread->pid is only defined #ifdef
+ G_THREAD_USE_PID_SURROGATE
+
Mon Feb 19 07:32:38 2001 Tim Janik <timj@gtk.org>
* glib-config-2.0.in (lib_glib): my name is glib-config-2.0!
diff --git a/glib.def b/glib.def
index a814ac9f7..b1b97f537 100644
--- a/glib.def
+++ b/glib.def
@@ -555,6 +555,8 @@ EXPORTS
g_tree_remove
g_tree_search
g_tree_traverse
+ g_try_malloc
+ g_try_realloc
g_tuples_destroy
g_tuples_index
g_ucs4_to_utf16
diff --git a/glib/glib.def b/glib/glib.def
index a814ac9f7..b1b97f537 100644
--- a/glib/glib.def
+++ b/glib/glib.def
@@ -555,6 +555,8 @@ EXPORTS
g_tree_remove
g_tree_search
g_tree_traverse
+ g_try_malloc
+ g_try_realloc
g_tuples_destroy
g_tuples_index
g_ucs4_to_utf16
diff --git a/glib/gmessages.c b/glib/gmessages.c
index ced7149ec..93122e525 100644
--- a/glib/gmessages.c
+++ b/glib/gmessages.c
@@ -435,6 +435,10 @@ g_logv (const gchar *log_domain,
#ifdef G_OS_WIN32
MessageBox (NULL, fatal_msg_buf, NULL, MB_OK);
#endif
+# if defined (_MSC_VER) && defined (_DEBUG)
+ /* let's see the call stack ... */
+ __asm int 3
+# endif
abort ();
#endif /* !G_ENABLE_DEBUG || !SIGTRAP */
}
diff --git a/glib/gthread.c b/glib/gthread.c
index dfa484630..20aa3ebdc 100644
--- a/glib/gthread.c
+++ b/glib/gthread.c
@@ -522,8 +522,10 @@ g_thread_create_proxy (gpointer data)
G_LOCK (g_thread);
G_UNLOCK (g_thread);
+#ifdef G_THREAD_USE_PID_SURROGATE
if (g_thread_use_default_impl)
SET_PRIO (thread->pid, thread->thread.priority);
+#endif /* G_THREAD_USE_PID_SURROGATE */
thread->func (thread->arg);
}
diff --git a/gmessages.c b/gmessages.c
index ced7149ec..93122e525 100644
--- a/gmessages.c
+++ b/gmessages.c
@@ -435,6 +435,10 @@ g_logv (const gchar *log_domain,
#ifdef G_OS_WIN32
MessageBox (NULL, fatal_msg_buf, NULL, MB_OK);
#endif
+# if defined (_MSC_VER) && defined (_DEBUG)
+ /* let's see the call stack ... */
+ __asm int 3
+# endif
abort ();
#endif /* !G_ENABLE_DEBUG || !SIGTRAP */
}
diff --git a/gobject/gobject.def b/gobject/gobject.def
index 1e39c405d..183282337 100644
--- a/gobject/gobject.def
+++ b/gobject/gobject.def
@@ -25,6 +25,7 @@ EXPORTS
g_closure_remove_inotify
g_closure_set_marshal
g_closure_set_meta_marshal
+ g_closure_sink
g_closure_unref
g_enum_complete_type_info
g_enum_get_value
diff --git a/gobject/makefile.msc.in b/gobject/makefile.msc.in
index 8496c56b2..e12652ade 100644
--- a/gobject/makefile.msc.in
+++ b/gobject/makefile.msc.in
@@ -3,7 +3,7 @@
TOP = ..\..
-!INCLUDE ..\build\win32\make.msc
+!INCLUDE $(TOP)\build\win32\make.msc
# Possibly override GLib version in build\win32\object.defs
GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
@@ -34,6 +34,16 @@ gobject_OBJECTS = \
gvalue.obj \
gvaluetypes.obj
+gmarshal.h : gmarshal.list glib-genmarshal.exe
+ echo #ifndef __G_MARSHAL_H__ > xgen-gmh
+ echo #define __G_MARSHAL_H__ >> xgen-gmh
+ glib-genmarshal --nostdinc --prefix=g_cclosure_marshal gmarshal.list --header >> xgen-gmh
+ echo #endif /* __G_MARSHAL_H__ */ >> xgen-gmh
+ copy xgen-gmh gmarshal.h
+
+gmarshal.c: gmarshal.list gmarshal.h glib-genmarshal.exe
+ glib-genmarshal --nostdinc --prefix=g_cclosure_marshal gmarshal.list --body > gmarshal.c
+
makefile.msc: makefile.msc.in
$(SED) -e s,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@, \
-e s,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@, <makefile.msc.in >$@
@@ -42,8 +52,4 @@ gobject-$(GLIB_VER).dll : $(gobject_OBJECTS) gobject.def
$(CC) $(CFLAGS) -LD -Fegobject-$(GLIB_VER).dll $(gobject_OBJECTS) ..\glib-$(GLIB_VER).lib $(LDFLAGS) /def:gobject.def
glib-genmarshal.exe : glib-genmarshal.c
- $(CC) -Fe$@ $(CFLAGS) -UGOBJECT_COMPILATION glib-genmarshal.c ..\glib-$(GLIB_VER).lib gobject-$(GLIB_VER).lib
-
-# I don't even try to build gmarshal.c and gmarshal.h here. If you try
-# to build this from CVS with MSVC, you will have to have a look in
-# Makefile.am or makefile.mingw.in to see how to do it.
+ $(CC) -Fe$@ $(CFLAGS) -UGOBJECT_COMPILATION glib-genmarshal.c ..\glib-$(GLIB_VER).lib
diff --git a/gthread.c b/gthread.c
index dfa484630..20aa3ebdc 100644
--- a/gthread.c
+++ b/gthread.c
@@ -522,8 +522,10 @@ g_thread_create_proxy (gpointer data)
G_LOCK (g_thread);
G_UNLOCK (g_thread);
+#ifdef G_THREAD_USE_PID_SURROGATE
if (g_thread_use_default_impl)
SET_PRIO (thread->pid, thread->thread.priority);
+#endif /* G_THREAD_USE_PID_SURROGATE */
thread->func (thread->arg);
}