gst/gstregistryxml.c: Use g_remove and g_rename instead of remove and rename that...
authorSébastien Moutte <sebastien@moutte.net>
Wed, 17 May 2006 13:40:20 +0000 (13:40 +0000)
committerSébastien Moutte <sebastien@moutte.net>
Wed, 17 May 2006 13:40:20 +0000 (13:40 +0000)
Original commit message from CVS:
* gst/gstregistryxml.c: (gst_registry_xml_write_cache):
Use g_remove and g_rename instead of remove and rename that don't
handle utf8 characters. rename was failing for users who had specific
characters in their name then the registry was built at each gstreamer init.
* win32/vs6/gst_inspect.dsp:
* win32/vs6/gst_launch.dsp:
* win32/vs6/libgstbase.dsp:
* win32/vs6/libgstcoreelements.dsp:
* win32/vs6/libgstreamer.dsp:
Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG build
of libgstreamer and clean unused libraries in project links settings.

ChangeLog
common
gst/gstregistryxml.c
win32/vs6/gst_inspect.dsp
win32/vs6/gst_launch.dsp
win32/vs6/libgstbase.dsp
win32/vs6/libgstcoreelements.dsp
win32/vs6/libgstreamer.dsp

index 7f33410..71ed1e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
+       
+       * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
+         Use g_remove and g_rename instead of remove and rename that don't 
+         handle utf8 characters. rename was failing for users who had specific
+         characters in their name then the registry was built at each gstreamer init.
+       * win32/vs6/gst_inspect.dsp:
+       * win32/vs6/gst_launch.dsp:
+       * win32/vs6/libgstbase.dsp:
+       * win32/vs6/libgstcoreelements.dsp:
+       * win32/vs6/libgstreamer.dsp:
+         Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG build
+         of libgstreamer and clean unused libraries in projects link settings.
+
 2006-05-17  Edward Hervey  <edward@fluendo.com>
 
        * plugins/elements/gstqueue.c: (gst_queue_push_one):
diff --git a/common b/common
index 3062df9..7a056f8 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 3062df90281144cbdb55bd58ee9f0714ab346c23
+Subproject commit 7a056f8737474de939f05f189e6ef0986a4b34c8
index e431f2d..0d43e80 100644 (file)
@@ -866,9 +866,9 @@ gst_registry_xml_write_cache (GstRegistry * registry, const char *location)
 
   if (g_file_test (tmp_location, G_FILE_TEST_EXISTS)) {
 #ifdef WIN32
-    remove (location);
+    g_remove (location);
 #endif
-    rename (tmp_location, location);
+    g_rename (tmp_location, location);
   }
 
   g_free (tmp_location);
index 5800de1..8c32c7f 100644 (file)
@@ -51,7 +51,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib libxml2.lib wsock32.lib intl.lib /nologo /subsystem:console /machine:I386 /out:"Release/gst-inspect-0.10.exe"
+# ADD LINK32 glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib /nologo /subsystem:console /machine:I386 /out:"Release/gst-inspect-0.10.exe"
 # Begin Special Build Tool
 TargetPath=.\Release\gst-inspect-0.10.exe
 SOURCE="$(InputPath)"
@@ -81,7 +81,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 glib-2.0D.lib gobject-2.0D.lib gthread-2.0D.lib gmodule-2.0D.lib libxml2.lib wsock32.lib intl.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug/gst-inspect-0.10.exe" /pdbtype:sept
+# ADD LINK32 glib-2.0D.lib gobject-2.0D.lib gthread-2.0D.lib gmodule-2.0D.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug/gst-inspect-0.10.exe" /pdbtype:sept
 # Begin Special Build Tool
 TargetPath=.\Debug\gst-inspect-0.10.exe
 SOURCE="$(InputPath)"
index d879a31..b2d586e 100644 (file)
@@ -51,7 +51,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib libxml2.lib wsock32.lib intl.lib /nologo /subsystem:console /machine:I386 /out:"Release/gst-launch-0.10.exe"
+# ADD LINK32 glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib /nologo /subsystem:console /machine:I386 /out:"Release/gst-launch-0.10.exe"
 # Begin Special Build Tool
 TargetPath=.\Release\gst-launch-0.10.exe
 SOURCE="$(InputPath)"
@@ -81,7 +81,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 glib-2.0D.lib gobject-2.0D.lib gthread-2.0D.lib gmodule-2.0D.lib libxml2.lib wsock32.lib intl.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug/gst-launch-0.10.exe" /pdbtype:sept
+# ADD LINK32 glib-2.0D.lib gobject-2.0D.lib gthread-2.0D.lib gmodule-2.0D.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug/gst-launch-0.10.exe" /pdbtype:sept
 # Begin Special Build Tool
 TargetPath=.\Debug\gst-launch-0.10.exe
 SOURCE="$(InputPath)"
index fdb76c7..15c97a5 100644 (file)
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib libxml2.lib wsock32.lib intl.lib /nologo /dll /machine:I386 /out:"Release/libgstbase-0.10.dll"
+# ADD LINK32 glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib /nologo /dll /machine:I386 /out:"Release/libgstbase-0.10.dll"
 # Begin Special Build Tool
 TargetPath=.\Release\libgstbase-0.10.dll
 SOURCE="$(InputPath)"
@@ -86,7 +86,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 glib-2.0D.lib gobject-2.0D.lib gthread-2.0D.lib gmodule-2.0D.lib libxml2.lib wsock32.lib intl.lib /nologo /dll /debug /machine:I386 /out:"Debug/libgstbase-0.10.dll" /pdbtype:sept
+# ADD LINK32 glib-2.0D.lib gobject-2.0D.lib gthread-2.0D.lib gmodule-2.0D.lib /nologo /dll /debug /machine:I386 /out:"Debug/libgstbase-0.10.dll" /pdbtype:sept
 # Begin Special Build Tool
 TargetPath=.\Debug\libgstbase-0.10.dll
 SOURCE="$(InputPath)"
index 405c2de..9b243ea 100644 (file)
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib libxml2.lib wsock32.lib intl.lib /nologo /dll /machine:I386
+# ADD LINK32 glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib /nologo /dll /machine:I386
 # Begin Special Build Tool
 TargetPath=.\Release\libgstcoreelements.dll
 SOURCE="$(InputPath)"
@@ -86,7 +86,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 glib-2.0D.lib gobject-2.0D.lib gthread-2.0D.lib gmodule-2.0D.lib libxml2.lib wsock32.lib intl.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 glib-2.0D.lib gobject-2.0D.lib gthread-2.0D.lib gmodule-2.0D.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
 # Begin Special Build Tool
 TargetPath=.\Debug\libgstcoreelements.dll
 SOURCE="$(InputPath)"
index d56a6c6..a4cf7fc 100644 (file)
@@ -54,7 +54,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib libxml2.lib wsock32.lib intl.lib /nologo /dll /machine:I386 /out:"Release/libgstreamer-0.10.dll"
+# ADD LINK32 glib-2.0.lib gobject-2.0.lib gthread-2.0.lib gmodule-2.0.lib libxml2.lib /nologo /dll /machine:I386 /out:"Release/libgstreamer-0.10.dll"
 # Begin Special Build Tool
 TargetPath=.\Release\libgstreamer-0.10.dll
 SOURCE="$(InputPath)"
@@ -86,7 +86,7 @@ BSC32=bscmake.exe
 # ADD BSC32 /nologo
 LINK32=link.exe
 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 glib-2.0D.lib gobject-2.0D.lib gthread-2.0D.lib gmodule-2.0D.lib libxml2.lib wsock32.lib intl.lib /nologo /dll /debug /machine:I386 /out:"Debug/libgstreamer-0.10.dll" /pdbtype:sept
+# ADD LINK32 glib-2.0D.lib gobject-2.0D.lib gthread-2.0D.lib gmodule-2.0D.lib libxml2D.lib /nologo /dll /debug /machine:I386 /out:"Debug/libgstreamer-0.10.dll" /pdbtype:sept
 # Begin Special Build Tool
 TargetPath=.\Debug\libgstreamer-0.10.dll
 SOURCE="$(InputPath)"