You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(9) |
Oct
(124) |
Nov
(120) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(6) |
Feb
(34) |
Mar
(49) |
Apr
(81) |
May
(25) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(37) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Dale H. <da...@us...> - 2002-06-13 22:03:22
|
Update of /cvsroot/corelinux/corelinux/admin
In directory usw-pr-cvs1:/tmp/cvs-serv20327
Modified Files:
ac_cxx_have_std.m4 ac_cxx_namespaces.m4
Log Message:
Formatted for better clarity.
Index: ac_cxx_have_std.m4
===================================================================
RCS file: /cvsroot/corelinux/corelinux/admin/ac_cxx_have_std.m4,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ac_cxx_have_std.m4 12 Jun 2002 23:02:56 -0000 1.1
--- ac_cxx_have_std.m4 13 Jun 2002 22:03:19 -0000 1.2
***************
*** 8,28 ****
dnl
AC_DEFUN([AC_CXX_HAVE_STD],
! [AC_CACHE_CHECK(whether the compiler supports ISO C++ standard library,
! ac_cv_cxx_have_std,
! [AC_REQUIRE([AC_CXX_NAMESPACES])
! AC_LANG_SAVE
! AC_LANG_CPLUSPLUS
! AC_TRY_COMPILE([#include <iostream>
! #include <map>
! #include <iomanip>
! #include <cmath>
! #ifdef HAVE_NAMESPACES
! using namespace std;
! #endif],[return 0;],
! ac_cv_cxx_have_std=yes, ac_cv_cxx_have_std=no)
! AC_LANG_RESTORE
! ])
! if test "$ac_cv_cxx_have_std" = yes; then
! AC_DEFINE(HAVE_STD,,[define if the compiler supports ISO C++ standard library])
! fi
! ])
--- 8,33 ----
dnl
AC_DEFUN([AC_CXX_HAVE_STD],
! [
! AC_CACHE_CHECK(whether the compiler supports ISO C++ standard library,
! ac_cv_cxx_have_std,
! [
! AC_REQUIRE([AC_CXX_NAMESPACES])
! AC_LANG_SAVE
! AC_LANG_CPLUSPLUS
! AC_TRY_COMPILE([#include <iostream>
! #include <map>
! #include <iomanip>
! #include <cmath>
! #ifdef HAVE_NAMESPACES
! using namespace std;
! #endif],
! [return 0;],
! ac_cv_cxx_have_std=yes,
! ac_cv_cxx_have_std=no)
! AC_LANG_RESTORE
! ])
! if test "$ac_cv_cxx_have_std" = yes; then
! AC_DEFINE(HAVE_STD,,[define if the compiler supports ISO C++ standard library])
! fi
! ]
! )
Index: ac_cxx_namespaces.m4
===================================================================
RCS file: /cvsroot/corelinux/corelinux/admin/ac_cxx_namespaces.m4,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ac_cxx_namespaces.m4 12 Jun 2002 23:02:57 -0000 1.1
--- ac_cxx_namespaces.m4 13 Jun 2002 22:03:19 -0000 1.2
***************
*** 8,22 ****
dnl
AC_DEFUN([AC_CXX_NAMESPACES],
! [AC_CACHE_CHECK(whether the compiler implements namespaces,
! ac_cv_cxx_namespaces,
! [AC_LANG_SAVE
! AC_LANG_CPLUSPLUS
! AC_TRY_COMPILE([namespace Outer { namespace Inner { int i = 0; }}],
! [using namespace Outer::Inner; return i;],
! ac_cv_cxx_namespaces=yes, ac_cv_cxx_namespaces=no)
! AC_LANG_RESTORE
! ])
! if test "$ac_cv_cxx_namespaces" = yes; then
! AC_DEFINE(HAVE_NAMESPACES,,[define if the compiler implements namespaces])
! fi
! ])
--- 8,30 ----
dnl
AC_DEFUN([AC_CXX_NAMESPACES],
! [
! AC_CACHE_CHECK(whether the compiler implements namespaces,
! ac_cv_cxx_namespaces,
! [
! AC_LANG_SAVE
! AC_LANG_CPLUSPLUS
! AC_TRY_COMPILE(
! [
! namespace Outer { namespace Inner { int i = 0; }}
! ],
! [using namespace Outer::Inner; return i;],
! ac_cv_cxx_namespaces=yes,
! ac_cv_cxx_namespaces=no)
! AC_LANG_RESTORE
! ]
! )
! if test "$ac_cv_cxx_namespaces" = yes; then
! AC_DEFINE(HAVE_NAMESPACES,,[define if the compiler implements namespaces])
! fi
! ]
! )
|
|
From: Dale H. <da...@us...> - 2002-06-13 22:01:17
|
Update of /cvsroot/corelinux/corelinux In directory usw-pr-cvs1:/tmp/cvs-serv19348 Modified Files: configure.in Log Message: Changed name of autoconf macro to AC_CXX_REQUIRE_STD_NAMESPACE to better reflect what is actually happening. Index: configure.in =================================================================== RCS file: /cvsroot/corelinux/corelinux/configure.in,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -r1.33 -r1.34 *** configure.in 12 Jun 2002 23:07:53 -0000 1.33 --- configure.in 13 Jun 2002 22:01:13 -0000 1.34 *************** *** 75,79 **** dnl Checks for libraries. ! AC_CXX_HAVE_STD dnl Checks for header files. --- 75,79 ---- dnl Checks for libraries. ! AC_CXX_REQUIRE_STD_NAMESPACE dnl Checks for header files. |
|
From: Dale H. <da...@us...> - 2002-06-13 21:44:24
|
Update of /cvsroot/corelinux/corelinux/admin In directory usw-pr-cvs1:/tmp/cvs-serv12130 Added Files: ac_cxx_require_std_namespace.m4 Log Message: This autoconf macro builds on ac_cxx_have_std.m4 and ac_cxx_namespaces.m4 to help determine if the compiler being used requires that "using namespace std;" be used for C++ Standard library headers like <iostream>. ***** Error reading new file: [Errno 2] No such file or directory: 'ac_cxx_require_std_namespace.m4' |
|
From: Dale H. <da...@us...> - 2002-06-13 16:58:23
|
Update of /cvsroot/corelinux/corelinux
In directory usw-pr-cvs1:/tmp/cvs-serv13385
Modified Files:
corelinux-config.in
Log Message:
Removed ${pkglibdir}/include from cflags as we don't actually place anything there.
Index: corelinux-config.in
===================================================================
RCS file: /cvsroot/corelinux/corelinux/corelinux-config.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** corelinux-config.in 12 Jun 2002 21:26:27 -0000 1.1
--- corelinux-config.in 13 Jun 2002 16:58:20 -0000 1.2
***************
*** 14,19 ****
transform=@program_transform_name@
! CFLAGS="-I${pkglibdir}/include"
! test "x@includedir@" = "x/usr/include" || CFLAGS="${CFLAGS} -I@includedir@"
LIBDIRS="-L@libdir@"
--- 14,19 ----
transform=@program_transform_name@
! CFLAGS=""
! test "x@includedir@" = "x/usr/include" || CFLAGS="-I@includedir@"
LIBDIRS="-L@libdir@"
|
|
From: Dale H. <da...@us...> - 2002-06-12 23:07:59
|
Update of /cvsroot/corelinux/corelinux In directory usw-pr-cvs1:/tmp/cvs-serv2062 Modified Files: configure.in Log Message: Added macro to check for std namespace. Index: configure.in =================================================================== RCS file: /cvsroot/corelinux/corelinux/configure.in,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -r1.32 -r1.33 *** configure.in 12 Jun 2002 21:28:52 -0000 1.32 --- configure.in 12 Jun 2002 23:07:53 -0000 1.33 *************** *** 75,78 **** --- 75,79 ---- dnl Checks for libraries. + AC_CXX_HAVE_STD dnl Checks for header files. |
|
From: Dale H. <da...@us...> - 2002-06-12 23:02:59
|
Update of /cvsroot/corelinux/corelinux/admin In directory usw-pr-cvs1:/tmp/cvs-serv32500 Added Files: ac_cxx_have_std.m4 ac_cxx_namespaces.m4 Log Message: Autoconf macros obtained from the GNU Autoconf macro archive (http://www.gnu.org/software/ac-archive/). These will check to see if we need to use the std namespace when using <iostream>. ***** Error reading new file: [Errno 2] No such file or directory: 'ac_cxx_have_std.m4' ***** Error reading new file: [Errno 2] No such file or directory: 'ac_cxx_namespaces.m4' |
|
From: Dale H. <da...@us...> - 2002-06-12 22:10:43
|
Update of /cvsroot/corelinux/corelinux/src/testdrivers/ex22 In directory usw-pr-cvs1:/tmp/cvs-serv6893 Modified Files: .cvsignore Log Message: Added directories .deps and .libs. Index: .cvsignore =================================================================== RCS file: /cvsroot/corelinux/corelinux/src/testdrivers/ex22/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** .cvsignore 12 Jan 2001 22:46:36 -0000 1.2 --- .cvsignore 12 Jun 2002 22:10:40 -0000 1.3 *************** *** 1,2 **** --- 1,5 ---- Makefile Makefile.in + .deps + .libs + ex22 |
|
From: Dale H. <da...@us...> - 2002-06-12 22:00:10
|
Update of /cvsroot/corelinux/corelinux In directory usw-pr-cvs1:/tmp/cvs-serv1366 Modified Files: Makefile.am Log Message: Added in bin_SCRIPTS directive. This will place corelinux-config in the $PREFIX/bin directory. Index: Makefile.am =================================================================== RCS file: /cvsroot/corelinux/corelinux/Makefile.am,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** Makefile.am 30 Jul 2000 21:22:57 -0000 1.6 --- Makefile.am 12 Jun 2002 22:00:00 -0000 1.7 *************** *** 12,15 **** --- 12,16 ---- SUFFIXES = .cpp .hpp .c .h .f .F .o .moc + bin_SCRIPTS = corelinux-config EXTRA_DIST = autorun.sh master.dxx README.emacs |
|
From: Dale H. <da...@us...> - 2002-06-12 21:58:47
|
Update of /cvsroot/corelinux/corelinux In directory usw-pr-cvs1:/tmp/cvs-serv948 Modified Files: .cvsignore Log Message: Added in corelinux-config. Index: .cvsignore =================================================================== RCS file: /cvsroot/corelinux/corelinux/.cvsignore,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** .cvsignore 12 Jan 2001 22:47:04 -0000 1.7 --- .cvsignore 12 Jun 2002 21:58:43 -0000 1.8 *************** *** 18,19 **** --- 18,20 ---- stamp-h.in update_macro.pl + corelinux-config |
|
From: Dale H. <da...@us...> - 2002-06-12 21:35:02
|
Update of /cvsroot/corelinux/corelinux/src/classlibs/corelinux In directory usw-pr-cvs1:/tmp/cvs-serv20863 Modified Files: .cvsignore Log Message: Added EventSemaphore.lo and EventSemaphoreGroup.lo. Might this be easier if we just made the rule *.lo? Index: .cvsignore =================================================================== RCS file: /cvsroot/corelinux/corelinux/src/classlibs/corelinux/.cvsignore,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** .cvsignore 14 Aug 2000 01:01:34 -0000 1.3 --- .cvsignore 12 Jun 2002 21:35:00 -0000 1.4 *************** *** 24,27 **** --- 24,29 ---- Environment.lo Exception.lo + EventSemaphore.lo + EventSemaphoreGroup.lo Facade.lo Flyweight.lo |
|
From: Dale H. <da...@us...> - 2002-06-12 21:28:54
|
Update of /cvsroot/corelinux/corelinux In directory usw-pr-cvs1:/tmp/cvs-serv18773 Modified Files: configure.in Log Message: Added in line to generate corelinux-config and to set it to executable. Index: configure.in =================================================================== RCS file: /cvsroot/corelinux/corelinux/configure.in,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -r1.31 -r1.32 *** configure.in 28 Apr 2001 11:06:38 -0000 1.31 --- configure.in 12 Jun 2002 21:28:52 -0000 1.32 *************** *** 85,88 **** --- 85,89 ---- AC_OUTPUT(Makefile \ corelinux.spec \ + corelinux-config \ admin/Makefile \ debian/Makefile \ *************** *** 134,136 **** src/testdrivers/ex21/include/Makefile \ src/testdrivers/ex22/Makefile \ ! src/testdrivers/ex22/include/Makefile , [ chmod +x debian/rules ] ) --- 135,137 ---- src/testdrivers/ex21/include/Makefile \ src/testdrivers/ex22/Makefile \ ! src/testdrivers/ex22/include/Makefile, [ chmod +x debian/rules ], [ chmod +x corelinux-config ] ) |
|
From: Dale H. <da...@us...> - 2002-06-12 21:26:30
|
Update of /cvsroot/corelinux/corelinux
In directory usw-pr-cvs1:/tmp/cvs-serv17403
Added Files:
corelinux-config.in
Log Message:
Initial Import of corelinux-config.in. This is to help make it easier for people to get all the include flags and libraries right when compiling against CoreLinux.
--- NEW FILE ---
#!/bin/sh
# this is shamelessly stolen from gtkmm-config.in
# by Dale Hirt
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
bindir=${exec_prefix}/bin
pkglibdir=${libdir}/@PACKAGE@
transform=@program_transform_name@
CFLAGS="-I${pkglibdir}/include"
test "x@includedir@" = "x/usr/include" || CFLAGS="${CFLAGS} -I@includedir@"
LIBDIRS="-L@libdir@"
corelinux_libs="$LIBDIRS -lcl++"
corelinux_cflags="$CFLAGS "
usage()
{
cat <<EOF
Usage: corelinux-config [OPTION]... [LIBRARY]...
Generic options
--version output corelinux version information
--help display this help and exit
Compilation support options
--cflags print pre-processor and compiler flags
--libs print library linking information
--libs-only-L only print the -L/-R part of --libs
--libs-only-l only print the -l part of --libs
Known values for LIBRARY are:
cl++
EOF
exit $1
}
if test $# -eq 0; then
usage 1
fi
cflags=false
libs_L=false
libs_l=false
any=no
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--version)
echo @VERSION@
exit 0
;;
--help)
usage 0
;;
--prefix=*)
prefix=$optarg
;;
--cflags)
cflags=true
;;
--libs)
libs_L=true
libs_l=true
;;
--libs-only-L)
libs_L=true
;;
--libs-only-l)
libs_l=true
;;
cl++)
the_libs="$the_libs $corelinux_libs"
the_flags="$the_flags $corelinux_cflags"
any=yes
;;
*)
usage 1
;;
esac
shift
done
if test "x$any" = xno; then
the_libs="$the_libs $corelinux_libs"
the_flags="$the_flags $corelinux_cflags"
fi
if $cflags; then
all_flags="$the_flags"
fi
if $libs_L || $libs_l; then
all_flags="$all_flags $the_libs"
fi
if test -z "$all_flags" || test "x$all_flags" = "x "; then
exit 1
fi
# Straight out any possible duplicates, but be careful to
# get `-lfoo -lbar -lbaz' for `-lfoo -lbaz -lbar -lbaz'
other_flags=
lib_L_flags=
rev_libs=
for i in $all_flags; do
case "$i" in
# a library, save it for later, in reverse order
-l*) rev_libs="$i $rev_libs" ;;
-L*|-R*)
if $libs_L; then
case " $lib_L_flags " in
*\ $i\ *) ;; # already there
*) lib_L_flags="$lib_L_flags $i" ;; # add it to output
esac
fi;;
*)
case " $other_flags " in
*\ $i\ *) ;; # already there
*) other_flags="$other_flags $i" ;; # add it to output
esac ;;
esac
done
ord_libs=
if $libs_l; then
for i in $rev_libs; do
case " $ord_libs " in
*\ $i\ *) ;; # already there
*) ord_libs="$i $ord_libs" ;; # add it to output in reverse order
esac
done
fi
echo $other_flags $lib_L_flags $ord_libs
exit 0
|
|
From: Christophe Prud'h. <pru...@us...> - 2001-10-11 15:52:42
|
Update of /cvsroot/corelinux/corelinux/debian
In directory usw-pr-cvs1:/tmp/cvs-serv31431
Removed Files:
Tag: rel-0-4-32
diversions.ex info.ex
Log Message:
no need to be here
--- diversions.ex DELETED ---
--- info.ex DELETED ---
|
|
From: Frank V. C. <fr...@us...> - 2001-07-08 10:03:48
|
Update of /cvsroot/corelinux/htdocs In directory usw-pr-cvs1:/tmp/cvs-serv30945 Modified Files: download.php Log Message: Updated for debs Index: download.php =================================================================== RCS file: /cvsroot/corelinux/htdocs/download.php,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -r1.32 -r1.33 *** download.php 2001/06/03 10:18:46 1.32 --- download.php 2001/07/08 10:03:44 1.33 *************** *** 9,13 **** $cl_release_deb=1; $clfw_release="0.2.8"; ! $clfwdeb_release="0.2.7"; $clfw_release_rpm=1; $clfw_release_deb=1; --- 9,13 ---- $cl_release_deb=1; $clfw_release="0.2.8"; ! $clfwdeb_release="0.2.8"; $clfw_release_rpm=1; $clfw_release_deb=1; |
|
From: Frank V. C. <fr...@us...> - 2001-06-24 10:33:18
|
Update of /cvsroot/corelinux/clfw In directory usw-pr-cvs1:/tmp/cvs-serv20910 Modified Files: configure.in README Log Message: Prep for 0.2.9 Index: configure.in =================================================================== RCS file: /cvsroot/corelinux/clfw/configure.in,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -r1.26 -r1.27 *** configure.in 2001/05/04 22:53:15 1.26 --- configure.in 2001/06/24 10:33:15 1.27 *************** *** 10,14 **** CLFW_MAJOR_VERSION=0 CLFW_MINOR_VERSION=2 ! CLFW_MICRO_VERSION=8 dnl --- 10,14 ---- CLFW_MAJOR_VERSION=0 CLFW_MINOR_VERSION=2 ! CLFW_MICRO_VERSION=9 dnl Index: README =================================================================== RCS file: /cvsroot/corelinux/clfw/README,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** README 2001/06/03 10:13:17 1.17 --- README 2001/06/24 10:33:15 1.18 *************** *** 1,4 **** ==================================================== ! CoreLinux++ Framework Source Distribution Beta 0.2.8 ==================================================== --- 1,4 ---- ==================================================== ! CoreLinux++ Framework Source Distribution Beta 0.2.9 ==================================================== |
|
From: Frank V. C. <fr...@us...> - 2001-06-03 10:39:03
|
Update of /cvsroot/corelinux/htdocs
In directory usw-pr-cvs1:/tmp/cvs-serv19078
Modified Files:
news.php download.php
Log Message:
Release 0.2.8 (clfw)
Index: news.php
===================================================================
RCS file: /cvsroot/corelinux/htdocs/news.php,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -r1.37 -r1.38
*** news.php 2001/05/12 12:08:04 1.37
--- news.php 2001/06/03 10:18:46 1.38
***************
*** 41,44 ****
--- 41,50 ----
<?
+ add_breaking_news("06/03/2001",
+ "libclfw++ 0.2.8 released!",
+ "New Library Release",
+ "rel-0-2-8",
+ "Refined MetaClass resolution and added ability to define Schema class for instantiation.");
+
add_breaking_news("05/12/2001",
"libclfll++ 0.1.1 Released!",
***************
*** 269,272 ****
--- 275,279 ----
echo "<table compact width=100% border=0>\n";
+ add_small_news("06/03/01","rel-0-2-8","libclfw++ 0.2.8");
add_small_news("05/12/01","rel-0-1-1","libclfll++ 0.1.1");
add_small_news("04/28/01","rel-0-2-7","libclfw++ 0.2.7");
Index: download.php
===================================================================
RCS file: /cvsroot/corelinux/htdocs/download.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -r1.31 -r1.32
*** download.php 2001/05/16 02:54:54 1.31
--- download.php 2001/06/03 10:18:46 1.32
***************
*** 8,12 ****
$cl_release_rpm=1;
$cl_release_deb=1;
! $clfw_release="0.2.7";
$clfwdeb_release="0.2.7";
$clfw_release_rpm=1;
--- 8,12 ----
$cl_release_rpm=1;
$cl_release_deb=1;
! $clfw_release="0.2.8";
$clfwdeb_release="0.2.7";
$clfw_release_rpm=1;
|
|
From: Frank V. C. <fr...@us...> - 2001-06-03 10:13:20
|
Update of /cvsroot/corelinux/clfw In directory usw-pr-cvs1:/tmp/cvs-serv18217 Modified Files: README Log Message: Release 0.2.8 stuff Index: README =================================================================== RCS file: /cvsroot/corelinux/clfw/README,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** README 2000/12/23 22:37:03 1.16 --- README 2001/06/03 10:13:17 1.17 *************** *** 1,4 **** ==================================================== ! CoreLinux++ Framework Source Distribution Beta 0.2.7 ==================================================== --- 1,4 ---- ==================================================== ! CoreLinux++ Framework Source Distribution Beta 0.2.8 ==================================================== *************** *** 18,26 **** 0. Pre-pre-amble ! With the LibraryLoad abstraction working, we now move our focus to providing ! an abstract Persist framework. This release contains some of the building ! blocks as we work out the details. ! Did anyone say this wouldn't be fun? See ChangeLog for more details --- 18,27 ---- 0. Pre-pre-amble ! This release includes a few refinements to the Ontology and MetaSpace ! methods which resolve a MetaClass by name or identifier. ! In addition, we have added the ability for the Schema class to be ! identified and stored for instantiation of a Schema through the ! SchemaCatalog. See ChangeLog for more details *************** *** 29,35 **** ------------ ! libclfw requires libuuid ! libclfw-0.2.6 require libcorelinux at least 0.4.30 Documentation --- 30,36 ---- ------------ ! libclfw requires libuuid and libgdbm ! libclfw-0.2.8 require libcorelinux at least 0.4.32 Documentation *************** *** 76,80 **** CoreLinux++ ! Copyright (C) 1999, 2000 CoreLinux++ Consortium These CoreLinux++ Libraries are free software; you can redistribute it and/or --- 77,81 ---- CoreLinux++ ! Copyright (C) 1999-2001 CoreLinux++ Consortium These CoreLinux++ Libraries are free software; you can redistribute it and/or |
|
From: Frank V. C. <fr...@us...> - 2001-05-27 11:51:37
|
Update of /cvsroot/corelinux/clfw In directory usw-pr-cvs1:/tmp/cvs-serv11652 Modified Files: ChangeLog Log Message: 420094 SchemaClass support in SchemaCatalog::createEntry Index: ChangeLog =================================================================== RCS file: /cvsroot/corelinux/clfw/ChangeLog,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -r1.25 -r1.26 *** ChangeLog 2001/05/15 18:46:30 1.25 --- ChangeLog 2001/05/27 11:51:33 1.26 *************** *** 1,2 **** --- 1,7 ---- + 2001-05-27 Frank V. Castellucci <fr...@ca...> + + * Feature 425600 - Improved MetaClass resolution + * Feature 420094 - Added "SchemaClass" to createEntry collection directives + 2001-05-15 Christophe Prud'homme <pru...@mi...> |
|
From: Frank V. C. <fr...@us...> - 2001-05-27 11:51:36
|
Update of /cvsroot/corelinux/clfw/clfw/Persist
In directory usw-pr-cvs1:/tmp/cvs-serv11652/clfw/Persist
Modified Files:
SchemaCatalog.hpp
Log Message:
420094 SchemaClass support in SchemaCatalog::createEntry
Index: SchemaCatalog.hpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/clfw/Persist/SchemaCatalog.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** SchemaCatalog.hpp 2001/04/25 03:27:22 1.9
--- SchemaCatalog.hpp 2001/05/27 11:51:33 1.10
***************
*** 222,225 ****
--- 222,240 ----
+ /**
+ Resolve or use default SchemaClass UniversalIdentifier
+ to assign a newly created Schema entry in the catalog
+ User override is "SchemaClass"
+ @param Collection from user initiated call
+ @returns UniveralIdentifier of default or resolved
+ type
+ */
+
+ UniversalIdentifierCref resolveSchemaClassUuid
+ (
+ CollectionPtr
+ );
+
+ MetaClassPtr findClass( CharCptr );
private:
|
|
From: Frank V. C. <fr...@us...> - 2001-05-27 11:51:36
|
Update of /cvsroot/corelinux/clfw/src/libs/Persist
In directory usw-pr-cvs1:/tmp/cvs-serv11652/src/libs/Persist
Modified Files:
SchemaCatalog.cpp
Log Message:
420094 SchemaClass support in SchemaCatalog::createEntry
Index: SchemaCatalog.cpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/src/libs/Persist/SchemaCatalog.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** SchemaCatalog.cpp 2001/04/25 03:27:22 1.11
--- SchemaCatalog.cpp 2001/05/27 11:51:33 1.12
***************
*** 81,84 ****
--- 81,85 ----
const FrameworkString defCollection("SetCollection");
const FrameworkString catMode("Write");
+ const FrameworkString schemaClass("SchemaClass");
//
***************
*** 295,307 ****
// Get the collection instance
! aSchemaCol = this->resolveCollectionAssignment(aCollection);
! // Get unique identifier for schema
! aUid = this->resolveUuidAssignment(aCollection);
! // Create and assign name and collection
! // SchemaPtr aSchema = this->createSchema( aUid, *aName, aSchemaCol );
// Make the catalog entry and persist
--- 296,311 ----
// Get the collection instance
! aSchemaCol = this->resolveCollectionAssignment( aCollection );
! // Get Schema class uid to use for instantiation
! UniversalIdentifierCref aSCUid
! (
! this->resolveSchemaClassUuid( aCollection )
! );
! // Get unique identifier for schema
! aUid = this->resolveUuidAssignment(aCollection);
// Make the catalog entry and persist
***************
*** 331,339 ****
aStore->setCollectionType( *aSchemaCol );
aStore->setSchemaUid( UniversalIdentifier( aUid.getValue() ) );
! aStore->setSchemaClassId
! (
! Schema::getTypeDescriptor()->getIdentifier()
! );
!
//
--- 335,339 ----
aStore->setCollectionType( *aSchemaCol );
aStore->setSchemaUid( UniversalIdentifier( aUid.getValue() ) );
! aStore->setSchemaClassId( aSCUid );
//
***************
*** 708,711 ****
--- 708,767 ----
//
+ // Get the user supplied class resolved or use the
+ // default corelinux::Schema type id
+ //
+
+ UniversalIdentifierCref SchemaCatalog::resolveSchemaClassUuid
+ (
+ CollectionPtr aCollection
+ )
+ {
+ MetaTypeCptr aType( Schema::getTypeDescriptor() );
+ FrameworkStringPtr aResult
+ (
+ Store::resolveValueAssignment
+ (
+ aCollection,
+ &schemaClass
+ )
+ );
+
+ if( aResult != NULLPTR )
+ {
+ //
+ // Segment and search
+ //
+
+ try
+ {
+ MetaClassPtr aClass( this->findClass(aResult->getValue()) );
+
+ // Make sure it is of type Schema
+
+ if( aClass->getType()->isTypeOf( aType ) == true )
+ {
+ aType = aClass->getType();
+ }
+ else
+ {
+ ; // do nothing
+ }
+
+ }
+ catch( DescriptorNotFoundRef aD )
+ {
+ ; // swallow, use default
+ }
+
+ }
+ else
+ {
+ ; // do nothing
+ }
+
+ return aType->getIdentifier();
+ }
+
+ //
// Resolve or default the schema collection type
//
***************
*** 885,888 ****
--- 941,971 ----
}
+
+ //
+ // Break up ontology::classname and resolve
+ //
+
+ MetaClassPtr SchemaCatalog::findClass( CharCptr aBase )
+ {
+ FrameworkString workString( aBase );
+ CharPtr workOntology( workString.getValue() );
+ CharPtr workClass( NULLPTR );
+ CharPtr needle( NULLPTR );
+
+ if( ( needle = std::strstr( workOntology,"::" ) ) != NULLPTR )
+ {
+ *needle++ = 0;
+ ++needle;
+ workClass = needle;
+ }
+ else
+ {
+ workClass = workOntology;
+ workOntology = NULLPTR;
+ }
+
+ return Ontology::getClassFor( workClass, workOntology );
+ }
+
//
|
|
From: Frank V. C. <fr...@us...> - 2001-05-25 04:10:12
|
Update of /cvsroot/corelinux/clfw/src/libs/clfw
In directory usw-pr-cvs1:/tmp/cvs-serv31015/src/libs/clfw
Modified Files:
MetaSpace.cpp Ontology.cpp
Log Message:
425600 Improve MetaClass resolution
Index: MetaSpace.cpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/MetaSpace.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** MetaSpace.cpp 2000/11/15 23:07:21 1.5
--- MetaSpace.cpp 2001/05/25 04:10:08 1.6
***************
*** 25,37 ****
#if !defined(__METASPACE_HPP)
! #include <MetaSpace.hpp>
#endif
#if !defined(__ONTOLOGY_HPP)
! #include <Ontology.hpp>
#endif
#if !defined(__METACLASS_HPP)
! #include <MetaClass.hpp>
#endif
--- 25,37 ----
#if !defined(__METASPACE_HPP)
! #include <clfw/MetaSpace.hpp>
#endif
#if !defined(__ONTOLOGY_HPP)
! #include <clfw/Ontology.hpp>
#endif
#if !defined(__METACLASS_HPP)
! #include <clfw/MetaClass.hpp>
#endif
***************
*** 40,43 ****
--- 40,48 ----
#endif
+ #if !defined(__CORELINUXASSOCIATIVEITERATOR_HPP)
+ #include <corelinux/CoreLinuxAssociativeIterator.hpp>
+ #endif
+
+
#include <cstring>
***************
*** 296,299 ****
--- 301,351 ----
}
}
+
+ //
+ // Create iterator for ontologies
+ //
+
+ AssociativeIterator<CharCptr,OntologyPtr> *MetaSpace::createIterator( void )
+ {
+
+ AssociativeIterator<CharCptr,OntologyPtr> *aItrPtr( NULLPTR );
+
+ if( MetaSpace::theInitializedFlag == true )
+ {
+ OntologyMapPtr theMap( (OntologyMapPtr)MetaSpace::theHead );
+ aItrPtr = new
+ CoreLinuxAssociativeIterator<OntologyMapIterator,CharCptr,OntologyPtr>
+ (
+ theMap->begin(),
+ theMap->end()
+ );
+
+ }
+ else
+ {
+ ; // good question
+ }
+
+ return aItrPtr;
+ }
+
+
+ void MetaSpace::destroyIterator
+ (
+ AssociativeIterator<CharCptr,OntologyPtr> *aItrPtr
+ )
+ throw ( NullPointerException )
+ {
+ if( aItrPtr == NULLPTR )
+ {
+ throw NullPointerException( LOCATION );
+ }
+ else
+ {
+ delete (CoreLinuxAssociativeIterator<OntologyMapIterator,CharCptr,OntologyPtr>*)aItrPtr;
+
+ }
+ }
+
}
Index: Ontology.cpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/Ontology.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** Ontology.cpp 2001/05/20 10:03:47 1.9
--- Ontology.cpp 2001/05/25 04:10:08 1.10
***************
*** 173,197 ****
if( aOPtr != NULLPTR )
{
! Iterator<MetaClassCptr> *aIterator( aOPtr->createIterator() );
- while( aIterator->isValid() == true && aPtr == NULLPTR )
- {
- MetaClassPtr aClass = (MetaClassPtr) aIterator->getElement();
- if( std::strcmp(aClassName,aClass->getInstanceTypeName()) == 0 )
- {
- aPtr = aClass;
- }
- else
- {
- ; // do nothing
- }
- aIterator->setNext();
- }
- aOPtr->destroyIterator( aIterator );
-
if( aPtr == NULLPTR )
{
throw DescriptorNotFound(aClassName, LOCATION );
}
}
else
--- 173,186 ----
if( aOPtr != NULLPTR )
{
! aPtr = aOPtr->getClass( aClassName );
if( aPtr == NULLPTR )
{
throw DescriptorNotFound(aClassName, LOCATION );
}
+ else
+ {
+ ; // do nothing
+ }
}
else
***************
*** 230,254 ****
if( aOPtr != NULLPTR )
{
! Iterator<MetaClassCptr> *aIterator( aOPtr->createIterator() );
- while( aIterator->isValid() == true && aPtr == NULLPTR )
- {
- MetaClassPtr aClass = (MetaClassPtr) aIterator->getElement();
- if( aClass->getIdentifier() == aClassId )
- {
- aPtr = aClass;
- }
- else
- {
- ; // do nothing
- }
- aIterator->setNext();
- }
- aOPtr->destroyIterator( aIterator );
-
if( aPtr == NULLPTR )
{
throw DescriptorNotFound( LOCATION );
}
}
else
--- 219,232 ----
if( aOPtr != NULLPTR )
{
! aPtr = aOPtr->getClass( aClassId );
if( aPtr == NULLPTR )
{
throw DescriptorNotFound( LOCATION );
}
+ else
+ {
+ ; // do nothing
+ }
}
else
***************
*** 434,438 ****
Iterator<MetaClassCptr> *Ontology::createIterator( void )
{
! return new CoreLinuxAssociativeIterator<ClassMapIterator,MetaTypeCptr,MetaClassCptr>
(
theClassMap.begin(),
--- 412,417 ----
Iterator<MetaClassCptr> *Ontology::createIterator( void )
{
! return new CoreLinuxAssociativeIterator
! <ClassMapIterator,MetaTypeCptr,MetaClassCptr>
(
theClassMap.begin(),
***************
*** 443,447 ****
Iterator<MetaClassCptr> *Ontology::createRootIterator( void )
{
! return new CoreLinuxAssociativeIterator<ClassMapIterator,MetaTypeCptr,MetaClassCptr>
(
theRootMap.begin(),
--- 422,427 ----
Iterator<MetaClassCptr> *Ontology::createRootIterator( void )
{
! return new CoreLinuxAssociativeIterator
! <ClassMapIterator,MetaTypeCptr,MetaClassCptr>
(
theRootMap.begin(),
***************
*** 455,459 ****
void Ontology::destroyIterator( Iterator<MetaClassCptr> *anIterator )
{
! delete (CoreLinuxAssociativeIterator<ClassMapIterator,MetaTypeCptr,MetaClassCptr>*)anIterator;
}
--- 435,440 ----
void Ontology::destroyIterator( Iterator<MetaClassCptr> *anIterator )
{
! delete (CoreLinuxAssociativeIterator
! <ClassMapIterator,MetaTypeCptr,MetaClassCptr>*)anIterator;
}
|
|
From: Frank V. C. <fr...@us...> - 2001-05-25 04:10:11
|
Update of /cvsroot/corelinux/clfw/clfw
In directory usw-pr-cvs1:/tmp/cvs-serv31015/clfw
Modified Files:
MetaSpace.hpp
Log Message:
425600 Improve MetaClass resolution
Index: MetaSpace.hpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/clfw/MetaSpace.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** MetaSpace.hpp 2000/11/15 23:07:20 1.5
--- MetaSpace.hpp 2001/05/25 04:10:08 1.6
***************
*** 26,32 ****
#endif
namespace corelinux
{
- DECLARE_CLASS( Ontology );
DECLARE_CLASS( MetaSpace );
DECLARE_CLASS( MetaClass );
--- 26,39 ----
#endif
+ #if !defined(__ONTOLOGY_HPP)
+ #include <clfw/Ontology.hpp>
+ #endif
+
+ #if !defined(__ASSOCIATIVEITERATOR_HPP)
+ #include <corelinux/AssociativeIterator.hpp>
+ #endif
+
namespace corelinux
{
DECLARE_CLASS( MetaSpace );
DECLARE_CLASS( MetaClass );
***************
*** 41,44 ****
--- 48,55 ----
public:
+ //
+ // Accessors
+ //
+
/**
Given a meta type, get it's meta class
***************
*** 49,58 ****
static MetaClassPtr getClassForType( MetaTypePtr );
- /**
- stores a metatype prior to initialize
- @param MetaType const pointer to type
- */
-
- static void storeType( MetaTypeCptr );
/**
--- 60,63 ----
***************
*** 65,68 ****
--- 70,76 ----
static OntologyPtr getOntology( CharCptr domain = NULLPTR );
+ //
+ // Mutators
+ //
/**
Initialize the MetaSpace, creating
***************
*** 71,74 ****
--- 79,114 ----
static void initialize( void );
+
+ /**
+ stores a metatype prior to initialize
+ @param MetaType const pointer to type
+ */
+
+ static void storeType( MetaTypeCptr );
+
+ //
+ // Iteration
+ //
+
+ /**
+ Create an iterator over all the ontologies
+ in the MetaSpace
+ @returns Iterator pointer of Ontology pointers
+ */
+
+ static AssociativeIterator<CharCptr,OntologyPtr> *createIterator( void );
+
+ /**
+ Destroys the iterator
+ @param Iterator pointer of Ontology pointers
+ @exception NullPointer exception if pointer
+ argument is NULLPTR
+ */
+
+ static void destroyIterator
+ (
+ AssociativeIterator<CharCptr,OntologyPtr> *
+ )
+ throw ( NullPointerException );
protected:
|
|
From: Frank V. C. <fr...@us...> - 2001-05-20 10:03:50
|
Update of /cvsroot/corelinux/clfw/src/libs/clfw
In directory usw-pr-cvs1:/tmp/cvs-serv7546/src/libs/clfw
Modified Files:
Ontology.cpp
Log Message:
Updates for 425600
Index: Ontology.cpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/src/libs/clfw/Ontology.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** Ontology.cpp 2001/04/21 21:39:01 1.8
--- Ontology.cpp 2001/05/20 10:03:47 1.9
***************
*** 203,206 ****
--- 203,207 ----
return aPtr;
}
+
//
// Resolve class by id
***************
*** 254,257 ****
--- 255,336 ----
{
throw DescriptorNotFound("Ontology not found", LOCATION );
+ }
+ }
+
+ return aPtr;
+ }
+
+ //
+ // Resolve class by name
+ //
+
+ MetaClassPtr Ontology::getClass
+ (
+ CharCptr aClassName
+ )
+ throw ( NullPointerException )
+ {
+ MetaClassPtr aPtr( NULLPTR );
+
+ if( aClassName == NULLPTR )
+ {
+ throw NullPointerException( LOCATION );
+ }
+ else
+ {
+ ClassMapIterator begin( theClassMap.begin() );
+ ClassMapIterator end( theClassMap.end() );
+ while( begin != end )
+ {
+ MetaTypePtr aType = (*begin).first;
+ MetaClassPtr aClass = (*begin).second;
+ if( std::strcmp(aClassName, aType->getInstanceTypeName()) == 0 )
+ {
+ aPtr = aClass;
+ begin = end;
+ }
+ else
+ {
+ ++begin;
+ }
+ }
+ }
+
+ return aPtr;
+ }
+
+ //
+ // Resolve class by id
+ //
+
+ MetaClassPtr Ontology::getClass
+ (
+ UniversalIdentifierCref aClassId
+ )
+ throw ( NullPointerException )
+ {
+ MetaClassPtr aPtr( NULLPTR );
+
+ if( aClassId.isZero() == true )
+ {
+ throw NullPointerException( LOCATION );
+ }
+ else
+ {
+ ClassMapIterator begin( theClassMap.begin() );
+ ClassMapIterator end( theClassMap.end() );
+ while( begin != end )
+ {
+ MetaTypePtr aType = (*begin).first;
+ MetaClassPtr aClass = (*begin).second;
+ if( aType->getIdentifier() == aClassId )
+ {
+ aPtr = aClass;
+ begin = end;
+ }
+ else
+ {
+ ++begin;
+ }
}
}
|
|
From: Frank V. C. <fr...@us...> - 2001-05-20 10:03:49
|
Update of /cvsroot/corelinux/clfw/clfw
In directory usw-pr-cvs1:/tmp/cvs-serv7546/clfw
Modified Files:
Ontology.hpp
Log Message:
Updates for 425600
Index: Ontology.hpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/clfw/Ontology.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** Ontology.hpp 2001/04/21 21:39:01 1.8
--- Ontology.hpp 2001/05/20 10:03:46 1.9
***************
*** 123,126 ****
--- 123,147 ----
)
throw ( NullPointerException, DescriptorNotFound );
+
+ /**
+ Get the metaclass as defined by the name, in this ontology
+ @param Char pointer to class name (i.e. "Integer")
+ @returns MetaClass pointer to resolved class or null if
+ not found
+ @exception NullPointerException if argument is null
+ */
+
+ MetaClassPtr getClass( CharCptr )
+ throw ( NullPointerException );
+
+ /**
+ Get the metaclass as defined by the class id in this ontology
+ @param Char pointer to class name (i.e. "Integer")
+ @returns MetaClass pointer to resolved class or null
+ @exception NullPointerException if identifier is zero
+ */
+
+ MetaClassPtr getClass( UniversalIdentifierCref )
+ throw ( NullPointerException );
//
// Mutators
|
|
From: Frank V. C. <fr...@us...> - 2001-05-16 02:54:57
|
Update of /cvsroot/corelinux/htdocs In directory usw-pr-cvs1:/tmp/cvs-serv28683 Modified Files: download.php Log Message: Updated for debs Index: download.php =================================================================== RCS file: /cvsroot/corelinux/htdocs/download.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -r1.30 -r1.31 *** download.php 2001/05/12 12:08:04 1.30 --- download.php 2001/05/16 02:54:54 1.31 *************** *** 14,19 **** $clfll_release="0.1.1"; $clfll_release_rpm=1; ! $clflldeb_release="0.1.0"; ! $clfll_release_deb=1; $prefix="http://prdownloads.sourceforge.net/corelinux"; --- 14,19 ---- $clfll_release="0.1.1"; $clfll_release_rpm=1; ! $clflldeb_release="0.1.1"; ! $clfll_release_deb=3; $prefix="http://prdownloads.sourceforge.net/corelinux"; |