You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by mx...@apache.org on 2011/02/18 12:08:38 UTC
svn commit: r1071963 - in /tcl/rivet/branches/rivet-namespace: ./ ChangeLog
src/apache-2/rivetCore.c src/rivet.h src/rivetPkgInit.c
Author: mxmanghi
Date: Fri Feb 18 11:08:37 2011
New Revision: 1071963
URL: http://svn.apache.org/viewvc?rev=1071963&view=rev
Log:
2011-02-18 Massimo Manghi <mx...@apache.org>
* src/rivet.h,src/apache-2/rivetCore.c,src/rivetPkgInit.c: Core commands namespace is now '::rivet' and
the package provided by the core module is "::rivet". Also package RivetLib was renamed as 'rivetlib'.
Modified:
tcl/rivet/branches/rivet-namespace/ (props changed)
tcl/rivet/branches/rivet-namespace/ChangeLog
tcl/rivet/branches/rivet-namespace/src/apache-2/rivetCore.c
tcl/rivet/branches/rivet-namespace/src/rivet.h
tcl/rivet/branches/rivet-namespace/src/rivetPkgInit.c
Propchange: tcl/rivet/branches/rivet-namespace/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Feb 18 11:08:37 2011
@@ -1,3 +1,3 @@
/tcl/rivet/branches/2_0:939332-1027850
/tcl/rivet/branches/master-interp:1062190-1065801
-/tcl/rivet/trunk:1065843-1070813
+/tcl/rivet/trunk:1065843-1070895
Modified: tcl/rivet/branches/rivet-namespace/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/rivet-namespace/ChangeLog?rev=1071963&r1=1071962&r2=1071963&view=diff
==============================================================================
--- tcl/rivet/branches/rivet-namespace/ChangeLog (original)
+++ tcl/rivet/branches/rivet-namespace/ChangeLog Fri Feb 18 11:08:37 2011
@@ -1,3 +1,7 @@
+2011-02-18 Massimo Manghi <mx...@apache.org>
+ * src/rivet.h,src/apache-2/rivetCore.c,src/rivetPkgInit.c: Core commands namespace is now '::rivet' and
+ the package provided by the core module is "::rivet". Also package RivetLib was renamed as 'rivetlib'.
+
2011-02-14 Massimo Manghi <mx...@apache.org>
* src/apache-2/mod_rivet.[h|c],src/apache-2/rivetCore.c: Removed loading of RivetLib by default. Getting
RivetLib into the module keeps Apache to segfault in other calls. In order to gain access to commands
Modified: tcl/rivet/branches/rivet-namespace/src/apache-2/rivetCore.c
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/rivet-namespace/src/apache-2/rivetCore.c?rev=1071963&r1=1071962&r2=1071963&view=diff
==============================================================================
--- tcl/rivet/branches/rivet-namespace/src/apache-2/rivetCore.c (original)
+++ tcl/rivet/branches/rivet-namespace/src/apache-2/rivetCore.c Fri Feb 18 11:08:37 2011
@@ -1323,5 +1323,5 @@ Rivet_InitCore( Tcl_Interp *interp )
RIVET_OBJ_CMD ("testpanic",TestpanicCmd,rivet_ns);
#endif
- return Tcl_PkgProvide( interp, "Rivet", "1.2" );
+ return Tcl_PkgProvide( interp, RIVET_TCL_PACKAGE, "1.2" );
}
Modified: tcl/rivet/branches/rivet-namespace/src/rivet.h
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/rivet-namespace/src/rivet.h?rev=1071963&r1=1071962&r2=1071963&view=diff
==============================================================================
--- tcl/rivet/branches/rivet-namespace/src/rivet.h (original)
+++ tcl/rivet/branches/rivet-namespace/src/rivet.h Fri Feb 18 11:08:37 2011
@@ -23,7 +23,9 @@
#define STREQU(s1, s2) (s1[0] == s2[0] && strcmp(s1, s2) == 0)
#define STRNEQU(s1, s2) (s1[0] == s2[0] && strncmp(s1, s2, strlen(s2)) == 0)
-#define RIVET_NS "::Rivet"
+#define RIVET_NS "::rivet"
+#define RIVET_TCL_PACKAGE "rivet"
+#define RIVETLIB_TCL_PACKAGE "rivetlib"
#define TCL_CMD_HEADER(cmd) \
static int cmd(\
Modified: tcl/rivet/branches/rivet-namespace/src/rivetPkgInit.c
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/rivet-namespace/src/rivetPkgInit.c?rev=1071963&r1=1071962&r2=1071963&view=diff
==============================================================================
--- tcl/rivet/branches/rivet-namespace/src/rivetPkgInit.c (original)
+++ tcl/rivet/branches/rivet-namespace/src/rivetPkgInit.c Fri Feb 18 11:08:37 2011
@@ -67,7 +67,7 @@ Rivetlib_Init( Tcl_Interp *interp )
Rivet_InitList ( interp, rivet_ns );
Rivet_InitCrypt( interp, rivet_ns );
Rivet_InitWWW ( interp, rivet_ns );
- return Tcl_PkgProvide( interp, "RivetLib", "1.2" );
+ return Tcl_PkgProvide( interp, RIVETLIB_TCL_PACKAGE, "1.2" );
}
@@ -89,5 +89,6 @@ Rivetlib_SafeInit( Tcl_Interp *interp )
Rivet_InitList( interp, rivet_ns );
Rivet_InitCrypt( interp, rivet_ns );
Rivet_InitWWW( interp, rivet_ns );
- return Tcl_PkgProvide( interp, "RivetLib", "1.2" );
+ return Tcl_PkgProvide( interp, RIVETLIB_TCL_PACKAGE, "1.2" );
}
+
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org