Compare commits

..
1 Commits
Author SHA1 Message Date
nobody 5d657d7bc6 This commit was manufactured by cvs2svn to create tag 'MCS_0_31'.
svn path=/tags/MCS_0_31/mcs/; revision=24309
2004-03-18 23:25:35 +00:00
2636 changed files with 57492 additions and 139687 deletions

No files matched your search

+1 -242
View File
@@ -1,245 +1,3 @@
2004-05-03 Jackson Harper <[email protected]>
* man/gacutil.1: Basic man page for gacutil. This doesn't include
the new non-standard options yet.
2004-05-03 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added version and publickeytoken.
2004-05-01 Duncan Mak <[email protected]>
* runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Add NUnit
dlls here.
(non_gac_assemblies): Removed, every thing is migrated over to gac_assemblies.
(EXTRA_DIST): Include only gac_assemblies.
(dist_assemblies_DATA): It's referring to $(non_gac_assemblies)
and that is no gone now. So remove as well.
($(non_gac_assemblies)): Bye bye.
2004-05-01 Duncan Mak <[email protected]>
* runtime/net_1_1/Makefile.am (gac_assemblies_list): Add
System.Web.Services. Someone accidentally took the line out.
2004-04-30 Jackson Harper <[email protected]>
* runtime/net_1_1/Makefile.am:
* runtime/net_2_0/Makefile.am: These assemblies are signed now.
2004-04-30 Raja R Harinath <[email protected]>
* runtime/net_1_1/Makefile.am (gac_assemblies_list): Remove .dll
suffix.
(gac_assemblies, non_gac_assemblies, corlibdir, dist_corlib_DATA):
New variables. Use Automake idioms.
(dist-hook): Remove.
(install-local, uninstall-local): Use mscorlib.dll from current
tree when running gacutil.
(mono_runtime): New variable. Points to either JIT compiler or
interpreter.
Report from Bernie Solomon <[email protected]>
* runtime/net_2_0/Makefile.am: Likewise.
* runtime/Makefile.am (dist_monobins_DATA): Rename from
monobins_DATA.
(EXTRA_DIST): Remove.
* Makefile.am (fullbuild): Update to changes.
2004-04-30 Jackson Harper <[email protected]>
* runtime/net_2_0/Makefile.am:
* runtime/net_1_1/Makefile.am: /lib/mono/gac. Dont forget the mono.
2004-04-30 Duncan Mak <[email protected]>
* runtime/Makefile.am ($(monobins_DATA)): Add sn.exe and sn.
2004-04-29 Duncan Mak <[email protected]>
* scripts/gmcs.in: New file.
* scripts/Makefile.am (EXTRA_DIST, bin_SCRIPTS, CLEANFILES): Add
gmcs script.
2004-04-29 Jackson Harper <[email protected]>
* runtime/net_2_0/Makefile.am: install 2.0 corlib to its own
special little place.
2004-04-29 Zoltan Varga <[email protected]>
* acconfig.h configure.in: Add check for scandir.
2004-04-29 Raja R Harinath <[email protected]>
* runtime/Makefile.am (monobins_DATA): Add gacutil.exe.
(SUBDIRS): Build here before building subdirs.
* runtime/net_1_1/Makefile.am (all-local): Copy
$(gac_assemblies_list) here.
(install-data-local): Install dll from $(srcdir).
(gacutil): Pick from current tree.
* runtime/net_2_0/Makefile.am: Likewise.
* Makefile.am (fullbuild): Update to changes in tree layout.
* runtime/net_1_1/Makefile.am (install-data-local): Allow empty
$(gac_assemblies_list).
($(gac_assemblies_list)): Pick libraries from 'class/lib/default',
not 'class/lib/net_1_1'.
2004-04-28 Jackson Harper <[email protected]>
* runtime/net_1_1/Makefile.am: Grab libs from proper directory, do
not assume gacutil is installed.
* runtime/net_2_0/Makefile.am: Do not assume gacutil is installed.
2004-04-28 Jackson Harper <[email protected]>
* configure.in: Add new Makefile.amS
* runtime/Makefile.am: libs are now in profile dependant
directories.
* runtime/net_1_1/Makefile.am: Install and Uninstall the .net 1.1
libs to the GAC.
* runtime/net_2_0/Makefile.am: Install and Uninstall the .net 2.0
libs to the GAC.
* data/Makefile.am: cleanup browscap.ini
2004-04-28 Bernie Solomon <[email protected]>
* configure.in: reword message re EGD support
now it is there
2004-04-28 Gonzalo Paniagua Javier <[email protected]>
* config.h.in:
* configure.in: added check for sys/aio.h. Also check the field name
in 'union sigval'.
2004-04-28 Jackson Harper <[email protected]>
* scripts/Makefile.am:
* scripts/gacutil.in: Add a gacutil script
2004-04-26 Jackson Harper <[email protected]>
* Makefile.am: Grab libraries from lib/default now.
* runtime/Makefile.am: Grab libraries from lib/default now.
2004-04-26 Bernie Solomon <[email protected]>
* configure.in: move setting of NO_VERSION_SCRIPT
until after checking for GNU ld
2004-04-22 Urs C Muff <[email protected]>
move .net assemblies from $prefix/bin/*.exe to $prefix/lib/*.exe on
windows/cygwin refactor .nsi to simply maintenance on script/batch
generation
* runtime/Makefile.am
* script/Makefile.am
* monowiz.win32.nsi
2004-04-14 Raja R Harinath <[email protected]>
* runtime/Makefile.am ($(assemblies_DATA)): Copy file into
$(srcdir). Clean up output.
($(monobins_DATA)): Likewise.
* Makefile.am (mcs-tree-safe-build): Fix typo.
2004-04-13 Sebastien Pouliot <[email protected]>
* configure.in: Added rules to check for getgrgid_r, getgrnam_r,
getpwnam_r, getpwuid_r, getresuid and setresuid.
2004-04-13 Raja R Harinath <[email protected]>
Allow 'make fullbuild' to work on non-srcdir build.
* Makefile.am (mcs_topdir): New variable.
(mcs-tree-safe-build,mcs-rest,remove-binaries): Work in non-srcdir
build.
(xinstall-runtime): Likewise. Use $(libgc_dir) directly, don't
grep for 'libgc'.
(fullbuild): Make ordering dependencies explicit.
2004-04-12 Sachin Kumar <[email protected]>
* Makefile.am: Added 'web' in SUBDIRS
2004-04-07 Gonzalo Paniagua Javier <[email protected]>
* configure.in: don't try-run the tests for nptl and/or sigaltstack
if they are disabled in the command line.
2004-04-05 Jackson Harper <[email protected]>
* man/ilasm.1: Show /output instead of /out as the switch for
specifying output file names.
2004-04-05 Zoltan Varga <[email protected]>
* configure.in: Check for pthread_getattr_np and pthread_attr_get_np.
2004-04-02 Gonzalo Paniagua Javier <[email protected]>
* config.h.in: added HAVE_GETPWUID_R
* configure.in: check for getpwuid_r.
2004-03-23 Zoltan Varga <[email protected]>
* configure.in: Fix GNU ld check.
2004-03-22 Zoltan Varga <[email protected]>
* configure.in: Use amd64 instead of x86-64 as directory name. Fixes
#55840.
* configure.in: Disable -version-script if not using GNU ld. Fixes
#55910.
* configure.in: Speedup successful sigaltstack test.
* configure.in: don't try-run the tests for nptl and/or sigaltstack
if they are disabled in the command line.
2004-04-05 Jackson Harper <[email protected]>
* man/ilasm.1: Show /output instead of /out as the switch for
specifying output file names.
2004-04-05 Zoltan Varga <[email protected]>
* configure.in: Check for pthread_getattr_np and pthread_attr_get_np.
2004-04-02 Gonzalo Paniagua Javier <[email protected]>
* config.h.in: added HAVE_GETPWUID_R
* configure.in: check for getpwuid_r.
2004-03-23 Zoltan Varga <[email protected]>
* configure.in: Fix GNU ld check.
2004-03-22 Zoltan Varga <[email protected]>
* configure.in: Use amd64 instead of x86-64 as directory name. Fixes
#55840.
* configure.in: Disable -version-script if not using GNU ld. Fixes
#55910.
* configure.in: Speedup successful sigaltstack test.
2004-03-21 Gonzalo Paniagua Javier <[email protected]>
* configure.in: this test for sigaltstack works.
2004-03-20 Zoltan Varga <[email protected]>
* configure.in: Disable sigaltstack test for now since it can hang.
* configure.in: Add test for working sigaltstack.
2004-03-16 Duncan Mak <[email protected]>
* runtime/Makefile.am
@@ -776,6 +534,7 @@ Thu Jul 31 16:19:07 CEST 2003 Paolo Molaro <[email protected]>
* man/sqlsharp.1: changed pass= to password= for the
PostgreSql provider.
>>>>>>> 1.166
2003-03-31 Gonzalo Paniagua Javier <[email protected]>
* data/machine.config: added SessionStateModule to httpModules section.
+15 -25
View File
@@ -1,9 +1,6 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = @libgc_dir@ mono @ikvm_jni_dir@ docs runtime scripts man data samples support web
# Keep in sync with SUBDIRS
DIST_SUBDIRS = libgc mono ikvm-jni docs runtime scripts man data samples support web
SUBDIRS = @libgc_dir@ mono web docs runtime scripts man data samples support
# EXTRA_SUBDIRS = libgc
@@ -23,32 +20,25 @@ DISTCLEANFILES= mono.pc mint.pc
# problems by doing the compilation in the right order.
#
mcs_topdir=$(top_srcdir)/../mcs
fullbuild: remove-binaries mcs-tree-safe-build xinstall-runtime mcs-rest install
.PHONY: fullbuild remove-binaries mcs-tree-safe-build xinstall-runtime mcs-rest
mcs-tree-safe-build:
(cd ../mcs/jay; $(MAKE))
(cd ../mcs/mcs; $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs)
(cd ../mcs/class/corlib; $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs)
cp ../mcs/class/lib/mscorlib.dll runtime
cp ../mcs/mcs/mcs.exe runtime
fullbuild: mcs-rest
$(MAKE)
$(MAKE) install
xinstall-runtime:
if echo $(SUBDIRS) | grep "libgc " > /dev/null; then (cd libgc; $(MAKE) && $(MAKE) install); fi
(cd mono; $(MAKE) && $(MAKE) install)
(cd runtime; $(MAKE) install assemblies_DATA=mscorlib.dll monobins_DATA=mcs.exe)
mcs-tree-safe-build: remove-binaries
cd $(mcs_topdir)/jay && $(MAKE)
cd $(mcs_topdir)/mcs && $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs PROFILE=default
cd $(mcs_topdir)/class/corlib && $(MAKE) MCS=mcs BOOTSTRAP_MCS=mcs PROFILE=default
cp $(mcs_topdir)/class/lib/default/mscorlib.dll $(top_srcdir)/runtime/net_1_1
cp $(mcs_topdir)/mcs/mcs.exe $(top_srcdir)/runtime
xinstall-runtime: mcs-tree-safe-build $(CONFIG_HEADER)
if test -z "$(libgc_dir)"; then :; else cd libgc && $(MAKE) && $(MAKE) install ; fi
cd mono && $(MAKE) && $(MAKE) install
cd runtime && $(MAKE) dist_monobins_DATA=mcs.exe install-dist_monobinsDATA
cd runtime/net_1_1 && $(MAKE) install-dist_corlibDATA
mcs-rest: xinstall-runtime
cd $(mcs_topdir) && $(MAKE)
mcs-rest:
(cd ../mcs/class; $(MAKE))
remove-binaries:
rm -f $(mcs_topdir)/class/lib/default/mscorlib.dll $(mcs_topdir)/mcs/mcs.exe $(top_srcdir)/runtime/*/*.dll $(top_srcdir)/runtime/*.exe
rm ../mcs/class/lib/mscorlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe > /dev/null 2>&1; echo
win32getdeps:
-1
View File
@@ -35,5 +35,4 @@
#undef HAVE_SOCKLEN_T
#undef HAVE_TRUNCL
#undef HAVE_AINTL
#undef HAVE_SCANDIR
#undef HAVE_WORKING_SIGALTSTACK
-30
View File
@@ -56,21 +56,6 @@
/* Define to 1 if you have the <gc.h> header file. */
#undef HAVE_GC_H
/* Define to 1 if you have the `getgrgid_r' function. */
#undef HAVE_GETGRGID_R
/* Define to 1 if you have the `getgrnam_r' function. */
#undef HAVE_GETGRNAM_R
/* Define to 1 if you have the `getpwnam_r' function. */
#undef HAVE_GETPWNAM_R
/* Define to 1 if you have the `getpwuid_r' function. */
#undef HAVE_GETPWUID_R
/* Define to 1 if you have the `getresuid' function. */
#undef HAVE_GETRESUID
/* Define to 1 if you have the `inet_aton' function. */
#undef HAVE_INET_ATON
@@ -92,15 +77,9 @@
/* Define to 1 if you have the `poll' function. */
#undef HAVE_POLL
/* Define to 1 if you have the `pthread_attr_get_np' function. */
#undef HAVE_PTHREAD_ATTR_GET_NP
/* Define to 1 if you have the `pthread_attr_setstacksize' function. */
#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
/* Define to 1 if you have the `pthread_getattr_np' function. */
#undef HAVE_PTHREAD_GETATTR_NP
/* Define to 1 if you have the <pthread.h> header file. */
#undef HAVE_PTHREAD_H
@@ -110,9 +89,6 @@
/* Define to 1 if you have the <semaphore.h> header file. */
#undef HAVE_SEMAPHORE_H
/* Define to 1 if you have the `setresuid' function. */
#undef HAVE_SETRESUID
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
@@ -125,9 +101,6 @@
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/aio.h> header file. */
#undef HAVE_SYS_AIO_H
/* Define to 1 if you have the <sys/filio.h> header file. */
#undef HAVE_SYS_FILIO_H
@@ -176,9 +149,6 @@
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Pointer field name in 'union sigval' */
#undef SIGVAL_PTR
/* The size of a `void *', as computed by sizeof. */
#undef SIZEOF_VOID_P
+51 -263
View File
@@ -1,7 +1,7 @@
AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(mono,0.91)
AM_INIT_AUTOMAKE(mono,0.31)
AM_MAINTAINER_MODE
dnl
@@ -94,7 +94,7 @@ case "$host" in
;;
*-*-darwin*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS"
CPPFLAGS="$CPPFLAGS -no-cpp-precomp -D_THREAD_SAFE"
libmono_cflags="-D_THREAD_SAFE"
LDFLAGS="$LDFLAGS -pthread"
libmono_ldflags="-pthread"
@@ -114,6 +114,7 @@ case "$host" in
esac
AC_MSG_RESULT(ok)
AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
AC_CHECK_TOOL(CC, gcc, gcc)
AC_PROG_CC
@@ -150,15 +151,6 @@ AC_HEADER_STDC
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
# Test whenever ld supports -version-script
AC_PROG_LD
AC_PROG_LD_GNU
if test "x$lt_cv_prog_gnu_ld" = "xno"; then
no_version_script=yes
fi
AM_CONDITIONAL(NO_VERSION_SCRIPT, test x$no_version_script = xyes)
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h sys/un.h)
# for mono/mini/tramp-x86.c
@@ -240,6 +232,10 @@ AC_ARG_WITH(nptl, [ --with-nptl=yes,no enable/disable support for NPTL],[]
# This does not work on some platforms (bug #55253)
AC_ARG_WITH(sigaltstack, [ --with-sigaltstack=yes,no enable/disable support for sigaltstack],[],[with_sigaltstack=yes])
if test x$with_sigaltstack = "xyes"; then
AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
fi
# assembly bundle support, see metadata/make-bundle.pl for more info
AC_ARG_WITH(bundle, [ --with-bundle=bundle_template],[
BUNDLE_FILE=$with_bundle
@@ -322,63 +318,6 @@ dnl End of libgc checks
dnl
if test x$platform_win32 = xno; then
dnl ******************************************************************
dnl *** Checks for the IKVM JNI interface library ***
dnl ******************************************************************
AC_ARG_WITH(ikvm-jni, [ --with-ikvm-jni=yes,no build the IKVM JNI interface library],[with_ikvm_jni=$withval],[with_ikvm_jni=yes])
AC_ARG_WITH(jdk, [ --with-jdk=DIRECTORY Use JDK from DIRECTORY],[with_jdk_dir=$withval],[with_jdk_dir=])
ikvm_jni_dir=
if test x$with_ikvm_jni = xyes; then
AC_MSG_CHECKING([JDK headers])
if test x$with_jdk_dir = x; then
# Try JAVA_HOME variable
if test x$JAVA_HOME != x; then
with_jdk_dir=$JAVA_HOME
fi
fi
jdk_platform=
if test -d $with_jdk_dir/include; then
jdk_headers_found=yes
if test -d $with_jdk_dir/include/linux; then
jdk_platform=linux
else
if test -d $with_jdk_dir/include/solaris; then
jdk_platform=solaris
else
jdk_headers_found=no
fi
fi
else
jdk_headers_found=no
fi
if test x$jdk_headers_found = xyes; then
AC_MSG_RESULT($with_jdk_dir/include $with_jdk_dir/include/$jdk_platform)
else
AC_MSG_RESULT(not found)
fi
if test x$jdk_headers_found = xyes; then
ikvm_jni_dir=ikvm-jni
IKVM_JNI_CFLAGS="-I$with_jdk_dir/include -I$with_jdk_dir/include/$jdk_platform"
fi
fi
AC_SUBST(ikvm_jni_dir)
AC_SUBST(IKVM_JNI_CFLAGS)
AC_CHECK_FUNCS(getgrgid_r)
AC_CHECK_FUNCS(getgrnam_r)
AC_CHECK_FUNCS(getpwnam_r)
AC_CHECK_FUNCS(getpwuid_r)
AC_CHECK_FUNCS(getresuid)
AC_CHECK_FUNCS(setresuid)
dnl ******************************************************************
dnl *** Check for large file support ***
dnl *** (If we were using autoconf 2.50 we'd use AC_SYS_LARGEFILE) ***
@@ -623,7 +562,6 @@ if test x$platform_win32 = xno; then
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
AC_CHECK_HEADERS(pthread.h)
AC_CHECK_FUNCS(pthread_mutex_timedlock)
AC_CHECK_FUNCS(pthread_getattr_np pthread_attr_get_np)
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
AC_TRY_COMPILE([ #include <pthread.h>], [
pthread_mutexattr_t attr;
@@ -641,145 +579,45 @@ if test x$platform_win32 = xno; then
dnl *** Checks for working __thread ***
dnl ***********************************
AC_MSG_CHECKING(for working __thread)
if test "x$with_nptl" != "xyes"; then
AC_MSG_RESULT(disabled)
else
AC_TRY_RUN([
#include <pthread.h>
AC_TRY_RUN([
#include <pthread.h>
__thread int i;
static int res1, res2;
__thread int i;
static int res1, res2;
void thread_main (void *arg)
{
i = arg;
sleep (1);
if (arg == 1)
res1 = (i == arg);
else
res2 = (i == arg);
}
void thread_main (void *arg)
{
i = arg;
sleep (1);
if (arg == 1)
res1 = (i == arg);
else
res2 = (i == arg);
}
int main () {
pthread_t t1, t2;
int main () {
pthread_t t1, t2;
i = 5;
i = 5;
pthread_create (&t1, NULL, thread_main, 1);
pthread_create (&t2, NULL, thread_main, 2);
pthread_create (&t1, NULL, thread_main, 1);
pthread_create (&t2, NULL, thread_main, 2);
pthread_join (t1, NULL);
pthread_join (t2, NULL);
pthread_join (t1, NULL);
pthread_join (t2, NULL);
return !(res1 + res2 == 2);
}
], [
return !(res1 + res2 == 2);
}
], [
if test "x$with_nptl" != "xyes"; then
AC_MSG_RESULT(disabled)
else
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_KW_THREAD)
], [
AC_MSG_RESULT(no)
])
fi
dnl **************************************
dnl *** Checks for working sigaltstack ***
dnl **************************************
AC_MSG_CHECKING(for working sigaltstack)
if test "x$with_sigaltstack" != "xyes"; then
AC_MSG_RESULT(disabled)
else
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <pthread.h>
#include <sys/wait.h>
static void
sigsegv_signal_handler (int _dummy, siginfo_t *info, void *context)
{
exit (0);
}
static void *
loop (void *ignored)
{
char *ptr = NULL;
*ptr = 0;
return NULL;
}
static void
child ()
{
struct sigaction sa;
struct sigaltstack sas;
pthread_t id;
pthread_attr_t attr;
sa.sa_sigaction = sigsegv_signal_handler;
sigemptyset (&sa.sa_mask);
sa.sa_flags = SA_SIGINFO | SA_STACK;
if (sigaction (SIGSEGV, &sa, NULL) == -1) {
perror ("lala");
return;
}
sas.ss_sp = malloc (SIGSTKSZ);
sas.ss_size = SIGSTKSZ;
sas.ss_flags = SS_ONSTACK;
if (sigaltstack (&sas, NULL) == -1) {
perror ("lala");
return;
}
pthread_attr_init (&attr);
if (pthread_create(&id, &attr, loop, &attr) != 0) {
printf ("failed\n");
return;
}
sleep (100);
}
int
main ()
{
pid_t son;
int status;
int i;
son = fork ();
if (son == -1) {
return 1;
}
if (son == 0) {
child ();
return 0;
}
for (i = 0; i < 3; ++i) {
sleep (1);
waitpid (son, &status, WNOHANG);
if (WIFEXITED (status) && WEXITSTATUS (status) == 0)
return 0;
}
kill (son, SIGKILL);
return 1;
}
], [
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_WORKING_SIGALTSTACK)
], [
with_sigaltstack=no
AC_MSG_RESULT(no)
])
fi
fi
], [
AC_MSG_RESULT(no)
])
dnl ********************************
dnl *** Checks for semaphore lib ***
@@ -849,29 +687,11 @@ if test x$platform_win32 = xno; then
AC_MSG_RESULT(no)
])
dnl *********************
dnl * Check for scandir *
dnl *********************
AC_CHECK_FUNCS(scandir)
dnl *********************
dnl *** Check for AIO ***
dnl *********************
AC_CHECK_HEADERS(aio.h sys/aio.h)
AC_CHECK_HEADERS(aio.h)
AC_CHECK_LIB(rt, aio_read, [ LIBS="$LIBS -lrt" ],)
SIGVAL_PTR="undefined"
if test "$ac_cv_header_aio_h" = "yes" -o "$ac_cv_header_sys_aio_h" = "yes" ; then
AC_CHECK_MEMBER(union sigval.sigval_ptr,SIGVAL_PTR="sigval_ptr",, [
#include <sys/signal.h>
])
AC_CHECK_MEMBER(union sigval.sival_ptr,SIGVAL_PTR="sival_ptr",, [
#include <sys/signal.h>
])
if test "$SIGVAL_PTR" = "undefined" ; then
AC_MSG_ERROR([Unable to detect field name in 'union sigval'])
fi
fi
AC_DEFINE_UNQUOTED(SIGVAL_PTR,$SIGVAL_PTR,[Pointer field name in 'union sigval'])
else
AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?))
AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw install?))
@@ -967,8 +787,7 @@ if test "x$ac_cv_have_dev_random" = "xno" \
*** entropy collection in place, please contact <[email protected]> and
*** provide information about the system and how to access the random device.
***
*** Otherwise you can install either egd or prngd and set the environment
*** variable MONO_EGD_SOCKET to point to the daemon's socket to use that.
*** For those systems who lack a random device, EGD support is forthcoming.
***]])
fi
@@ -980,32 +799,18 @@ if test "x$try_shared_handles" != "xyes"; then
AC_SUBST(DISABLE_SHARED_HANDLES)
fi
#
# ICU
#
ICU_CFLAGS=""
ICU_LIBS=""
enable_icu=no
probe_icu=true
AC_ARG_WITH(icu, [ --with-icu=yes/no],
if test x$with_icu = xno; then
probe_icu=false;
AC_MSG_RESULT(Will not probe for ICU)
fi
)
if $probe_icu; then
AC_PATH_PROG(ICU_CONFIG, icu-config, no)
if test "x$ICU_CONFIG" = "xno" -o ! -x "$ICU_CONFIG"; then
AC_MSG_WARN([Only invariant locale available; install ICU for I18N support])
enable_icu="no, if you want full i18n support download it from: http://oss.software.ibm.com/icu/index.html"
else
enable_icu="yes. Version: `$ICU_CONFIG --version`"
AC_DEFINE(HAVE_ICU)
ICU_CFLAGS=`$ICU_CONFIG --cppflags`
ICU_LIBS=`$ICU_CONFIG --ldflags`
fi
AC_PATH_PROG(ICU_CONFIG, icu-config, no)
if test "x$ICU_CONFIG" = "xno" -o ! -x "$ICU_CONFIG"; then
AC_MSG_WARN([Only invariant locale available; install ICU for I18N support])
enable_icu="no, if you want full i18n support download it from: http://oss.software.ibm.com/icu/index.html"
else
enable_icu="yes. Version: `$ICU_CONFIG --version`"
AC_DEFINE(HAVE_ICU)
ICU_CFLAGS=`$ICU_CONFIG --cppflags`
ICU_LIBS=`$ICU_CONFIG --ldflags`
fi
AC_SUBST(ICU_CFLAGS)
AC_SUBST(ICU_LIBS)
@@ -1030,7 +835,7 @@ case "$host" in
;;
x86_64-*-* | amd64-*-*)
TARGET=AMD64;
arch_target=amd64;
arch_target=x86-64;
JIT_SUPPORTED=no
;;
sparc*-*-*)
@@ -1067,8 +872,6 @@ case "$host" in
TARGET=POWERPC;
arch_target=ppc;
JIT_SUPPORTED=yes
jit_wanted=true
LIBC="libc.dylib"
;;
arm-*-linux-* | armv4l-*-linux-*)
TARGET=ARM;
@@ -1079,11 +882,10 @@ case "$host" in
TARGET=S390;
arch_target=s390;
ACCESS_UNALIGNED="no"
JIT_SUPPORTED=yes
;;
esac
AC_ARG_WITH(jit, [ --with-jit=yes,no If you want to build scripts that default to the JIT],[
AC_ARG_WITH(jit, [ --with-jit=yes,no If you want to build scripts that default to the JIT],[
jit_wanted=true
])
@@ -1138,15 +940,6 @@ if test ${ACCESS_UNALIGNED} = no; then
CPPFLAGS="$CPPFLAGS -DNO_UNALIGNED_ACCESS"
fi
PREVIEW=no
AC_ARG_WITH(preview, [ --with-preview=yes,no If you want to install the 2.0 FX preview],[
if test x$with_preview = xyes; then
PREVIEW=yes
fi
])
AM_CONDITIONAL(INSTALL_2_0, test x$PREVIEW = xyes)
AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)
AM_CONDITIONAL(MIPS_SGI, test ${TARGET}${ac_cv_prog_gcc} = MIPSno)
AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
@@ -1200,10 +993,7 @@ mono/io-layer/Makefile
mono/handles/Makefile
mono/mini/Makefile
mono/profiler/Makefile
ikvm-jni/Makefile
runtime/Makefile
runtime/net_1_1/Makefile
runtime/net_2_0/Makefile
scripts/Makefile
man/Makefile
web/Makefile
@@ -1222,7 +1012,5 @@ echo "
NPTL: $with_nptl
SIGALTSTACK: $with_sigaltstack
Engine: $jit_status
2.0 Alpha: $PREVIEW
JNI support: $jdk_headers_found
"
+7 -8
View File
@@ -61,9 +61,6 @@ void Page_Load(object sender, EventArgs e)
Service service = desc.Services[0];
WebServiceName = service.Name;
if (desc.Bindings.Count == 0)
return;
DefaultBinding = desc.Bindings[0].Name;
WebServiceDescription = service.Documentation;
ServiceProtocols = FindServiceProtocols (null);
@@ -1585,9 +1582,7 @@ function clearForm ()
<p class="label">Web Service Overview</p>
<%#WebServiceDescription%>
<%} if (DefaultBinding == null) {%>
This service does not contain any public web method.
<%} else if (CurrentPage == "op") {%>
<%} if (CurrentPage == "op") {%>
<!--
**********************************************************
@@ -1715,7 +1710,9 @@ This service does not contain any public web method.
<% } %>
<% } %>
<%} else if (CurrentPage == "proxy") {%>
<%}%>
<% if (CurrentPage == "proxy") {%>
<!--
**********************************************************
Client Proxy
@@ -1736,7 +1733,9 @@ This service does not contain any public web method.
<div class="codePanel">
<div class="code-<%#CurrentLanguage%>"><%#GetProxyCode ()%></div>
</div>
<%} else if (CurrentPage == "wsdl") {%>
<%}%>
<% if (CurrentPage == "wsdl") {%>
<!--
**********************************************************
Service description
-2
View File
@@ -10,8 +10,6 @@ mono_DATA = config \
DefaultWsdlHelpGenerator.aspx \
browscap.ini
CLEANFILES = browscap.ini
browscap.ini: browscap.ini.gz
gunzip -c $^ > $@
+16 -15
View File
@@ -1,20 +1,21 @@
<configuration>
<dllmap dll="cygwin1.dll" target="@LIBC@" />
<dllmap dll="libc" target="@LIBC@" />
<dllmap dll="libxslt.dll" target="libxslt@libsuffix@" />
<dllmap dll="libmySQL.dll" target="libmysqlclient@libsuffix@" />
<dllmap dll="odbc32.dll" target="libodbc@libsuffix@" />
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0@libsuffix@" />
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0@libsuffix@" />
<dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0@libsuffix@" />
<dllmap dll="libpango-1.0-0.dll" target="libpango-1.0@libsuffix@" />
<dllmap dll="libatk-1.0-0.dll" target="libatk-1.0@libsuffix@" />
<dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0@libsuffix@" />
<dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0@libsuffix@" />
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0@libsuffix@" />
<dllmap dll="libglade-2.0-0.dll" target="libglade-2.0@libsuffix@" />
<dllmap dll="libxslt.dll" target="libxslt.so" />
<dllmap dll="libmySQL.dll" target="libmysqlclient.so" />
<dllmap dll="odbc32.dll" target="libodbc.so" />
<dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so" />
<dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so" />
<dllmap dll="libgthread-2.0-0.dll" target="libgthread-2.0.so" />
<dllmap dll="libpango-1.0-0.dll" target="libpango-1.0.so" />
<dllmap dll="libatk-1.0-0.dll" target="libatk-1.0.so" />
<dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so" />
<dllmap dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0.so" />
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
<dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so" />
<dllmap dll="libglade-2.0-0.dll" target="libglade-2.0.so" />
<dllmap dll="oci" target="clntsh" />
<dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0@libsuffix@" />
<dllmap dll="db2cli" target="libdb2_36@libsuffix@"/>
<dllmap dll="gstreamer" target="libgstreamer-0.6@libsuffix@" />
<dllmap dll="gtkhtml-3.0" target="libgtkhtml-3.0.so" />
<dllmap dll="db2cli" target="libdb2_36.so"/>
<dllmap dll="gstreamer" target="libgstreamer-0.6.so" />
</configuration>
+58 -58
View File
@@ -3,61 +3,61 @@
<configuration>
<configSections>
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false"/>
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System" allowLocation="false"/>
<sectionGroup name="system.web">
<section name="httpHandlers"
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
<section name="httpModules"
type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
<section name="machineKey"
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
<section name="authentication"
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
<section name="authorization"
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web" />
<section name="globalization"
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web" />
<section name="sessionState"
type="System.Web.SessionState.SessionStateSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.SessionState.SessionStateSectionHandler, System.Web" />
<section name="trace"
type="System.Web.Configuration.TraceConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Configuration.TraceConfigurationHandler, System.Web" />
<section name="webServices"
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services, Version=1.0.5000.0 Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services" />
<section name="webControls"
type="System.Web.Configuration.WebControlsSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Configuration.WebControlsSectionHandler, System.Web" />
<section name="compilation"
type="System.Web.Configuration.CompilationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Configuration.CompilationConfigurationHandler, System.Web" />
<section name="httpRuntime"
type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web" />
<section name="customErrors"
type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web" />
<section name="pages"
type="System.Web.Configuration.PagesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral" />
type="System.Web.Configuration.PagesConfigurationHandler, System.Web" />
</sectionGroup>
<sectionGroup name="system.net">
<section name="settings"
type="System.Net.Configuration.NetConfigurationHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
type="System.Net.Configuration.NetConfigurationHandler, System" />
<section name="connectionManagement"
type="System.Net.Configuration.ConnectionManagementHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
type="System.Net.Configuration.ConnectionManagementHandler, System" />
<section name="authenticationModules"
type="System.Net.Configuration.NetAuthenticationModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
type="System.Net.Configuration.NetAuthenticationModuleHandler, System" />
<section name="defaultProxy"
type="System.Net.Configuration.DefaultProxyHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
type="System.Net.Configuration.DefaultProxyHandler, System" />
<section name="webRequestModules"
type="System.Net.Configuration.WebRequestModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
type="System.Net.Configuration.WebRequestModuleHandler, System" />
</sectionGroup>
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler" />
</configSections>
<system.net>
<connectionManagement>
<add address="*" maxconnection="2" />
</connectionManagement>
<authenticationModules>
<add type="System.Net.BasicClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.DigestClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.NtlmClient, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.BasicClient" />
<add type="System.Net.DigestClient" />
<add type="System.Net.NtlmClient" />
</authenticationModules>
<defaultProxy>
<proxy />
@@ -65,9 +65,9 @@
<!-- usessystemdefault is not supported -->
</defaultProxy>
<webRequestModules>
<add prefix="http" type="System.Net.HttpRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="https" type="System.Net.HttpRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="http" type="System.Net.HttpRequestCreator, System" />
<add prefix="https" type="System.Net.HttpRequestCreator, System" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System" />
</webRequestModules>
<settings>
<ipv6 enabled="false"/>
@@ -75,26 +75,26 @@
</system.net>
<system.web>
<httpHandlers>
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web" />
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web" />
<add verb="*" path="*.asmx" validate="false"
type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services" />
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web" />
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web" />
<add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
<add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting" validate="false" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web" />
</httpHandlers>
<httpModules>
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web" />
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web" />
</httpModules>
<authentication mode="Forms">
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
@@ -125,10 +125,10 @@
<compilation debug="false" defaultLanguage="c#">
<compilers>
<compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
type="Microsoft.CSharp.CSharpCodeProvider, System" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
warningLevel="1" compilerOptions=""
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
type="Microsoft.VisualBasic.VBCodeProvider, System" />
</compilers>
<assemblies>
<!--<add assembly="mscorlib" /> -->
@@ -161,22 +161,22 @@
</channels>
</application>
<channels>
<channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting" />
<channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting" />
<channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting" />
<channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting" />
<channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting" />
<channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting" />
</channels>
<channelSinkProviders>
<clientProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting" />
</clientProviders>
<serverProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting" />
<provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting" />
</serverProviders>
</channelSinkProviders>
</system.runtime.remoting>
+2 -5
View File
@@ -375,8 +375,7 @@
variables to registers. The linear scan pass uses the
information that was previously gathered by the loop nesting
and loop structure computation to favor variables in inner
loops. This process updates the basic block `nesting' field
which is later used during liveness analysis.
loops.
Stack space is then reserved for the local variables and any
temporary variables generated during the various
@@ -490,9 +489,7 @@
operations if possible.
The rest of the code generation is fairly simple: a switch
statement is used to generate code for each of the MonoInsts,
in the mono/mini/mini-ARCH.c files, the method is called
"mono_arch_output_basic_block".
statement is used to generate code for each of the MonoInsts
We always try to allocate code in sequence, instead of just using
malloc. This way we increase spatial locality which gives a massive
-3
View File
@@ -1,3 +0,0 @@
Makefile.in
Makefile
.deps
-12
View File
@@ -1,12 +0,0 @@
2004-04-13 Zoltan Varga <[email protected]>
* mono-jni.c: Use <stdarg.h> instead of <varargs.h>.
2004-04-12 Zoltan Varga <[email protected]>
* mono-jni.c: Fix compilation under gcc 2.95 + fix warnings.
2004-04-07 Zoltan Varga <[email protected]>
* mono-jni.c Makefile.am: New files.
-15
View File
@@ -1,15 +0,0 @@
INCLUDES = \
-I$(top_srcdir) \
$(IKVM_JNI_CFLAGS) \
$(GMODULE_CFLAGS) \
$(GLIB_CFLAGS)
if JIT_SUPPORTED
lib_LTLIBRARIES = libmono-ikvm-jni.la
endif
libmono_ikvm_jni_la_SOURCES = mono-jni.c
libmono_ikvm_jni_la_LIBADD = $(top_builddir)/mono/mini/libmono.la
-1244
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -1,5 +1,5 @@
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5 sqlsharp.1 oldmono.1 ilasm.1 \
cert2spc.1 cilc.1 genxs.1 wsdl.1 disco.1 soapsuds.1 makecert.1 \
chktrust.1 setreg.1 sn.1 secutil.1 signcode.1 certmgr.1 monop.1 xsd.1 gacutil.1
chktrust.1 setreg.1 sn.1 secutil.1 signcode.1 certmgr.1 monop.1
EXTRA_DIST = $(man_MANS)
-19
View File
@@ -44,25 +44,6 @@ More details displayed on the console.
.TP
.I "-help", "-h", "-?", "/?"
Display help about this tool.
.SH FILES
.B WARNING: This details the current behavior of Mono and could change between releases.
The only safe way to interact with certificate stores is to use the certmgr
tool. The current releases of Mono keeps all the user certificate stores in
separates directories under
.I ~/.mono/certs/
.TP
For example the trusted root certificates for a user would be kept under
.I ~/.mono/certs/Trust/
.TP
Certificates files are kept in DER (binary) format (extension .cer).
.TP
The filenames either starts with
.I tbp
(thumbprint) or
.I ski
(subject key identifier).
.TP
The rest of the filename is the base64-encoded value (tbp or ski).
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
+5 -14
View File
@@ -1,9 +1,8 @@
.\"
.\" chktrust manual page.
.\" Copyright 2003 Motus Technologies
.\" Copyright 2004 Novell
.\" Author:
.\" Sebastien Pouliot (sebastien@ximian.com)
.\" Sebastien Pouliot (spouliot@motus.com)
.\"
.TH Mono "chktrust"
.SH NAME
@@ -14,33 +13,25 @@ chktrust \- Check the trust of a PE executable.
.SH DESCRIPTION
Verify if an PE executable (CLR assembly, Win32 EXE or DLL) has a valid
Authenticode(r) signature that can be traced back to a trusted certificate
authority (CA). This means that
.TP
(a) the signature is valid (i.e. file integrity) and,
.TP
(b) the code-signing certificate can be chained back to one of the
certificates in the Trust store.
authority (CA).
.SH OPTIONS
.TP
.I "-q", "-quiet"
Quiet mode. Limited display on console.
Limited display on console.
.TP
.I "-v", "-verbose"
Verbose mode. More details displayed on the console.
More details displayed on the console.
.TP
.I "-help", "-h", "-?", "/?"
Display help about this tool.
.SH KNOWN RESTRICTIONS
chktrust cannot validate Authenticode signatures on CAB files.
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
Copyright (C) 2003 Motus Technologies.
Copyright (C) 2004 Novell.
Released under BSD license.
.SH MAILING LISTS
Visit http://mail.ximian.com/mailman/mono-list for details.
.SH WEB SITE
Visit: http://www.go-mono.com for details
.SH SEE ALSO
.BR signcode(1), makecert(1), certmgr(1), setreg(1)
.BR signcode(1), makecert(1)
-87
View File
@@ -1,87 +0,0 @@
..\"
.\" gacutil manual page.
.\" (C) 2004 Novell, Inc.
.\" Author:
.\" Miguel de Icaza ([email protected])
.\"
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.TH gacutil "Mono 1.0"
.SH NAME
gacutil \- Global Asssembly Cache management utility.
.SH SYNOPSIS
.PP
.B gacutil [-user] [command] [options]
.SH DESCRIPTION
\fIgacutil\fP is a tool used by developers to install assemblies into
the system Global Assembly Cache (GAC) to become part of the
assemblies that are available for all applications at runtime.
.PP
Notice that they are not directly available to the compiler, the
convention is that assemblies must also be placed in a separate
directory for being accessed to the compiler. This is done with the
-package directive to gacutil.
.PP
The tool allows for installationl, removal, and listing of the
contents of the assembly cache.
.PP
The GAC is relative to the Mono installation prefix:
mono_prefix/lib/mono.
.SH FLAGS
The "-user" flag enables you to install/remove the assembly into the
user's assembly cache, as opposed to the global one.
.PP
.SH COMMANDS
.I "-i path_to_assembly" [-f] [-root ROOTDIR] [-package NAME]
.Sp
The above installs the assembly into the GAC, use the -f flag to force
an installation an overwrite anything in there.
.Sp
The -package option can be used to also create a directory in in
prefix/lib/mono with the name NAME, and a symlink is created from
NAME/assembly_name to the assembly on the GAC. This is used so
developers can reference a set of libraries at once.
.Sp
The -root option is used by developers integrating this with automake
tools or packaging tools that require a prefix directory to be
specified. The root represents the "libdir" component of a prefix
(typically prefix/lib).
.fi
.PP
.I "-l"
.Sp
Lists the contents of the Global Assembly Cache
.PP
.I "-u assembly_name [-root]"
.Sp
The above removes the given assembly name from the Global Assembly
Cache. As opposed to the install option that takes a filename, this
takes as an argument the assembly name, which looks like this:
.nf
MyLibrary.Something, version=1.0.0.0, publicKeyToken=xxxx,culture=neutral
.fi
.Sp
Notice that you can have spaces in the command line, there is no need
to quote them.
.Sp
The removal performs a greedy removal, if you only specifiy one
component like, "MyLibrary.Something", it will remove all versions of
the library.
.SH FILES
On Unix assemblies are loaded from the installation lib directory. If you set
`prefix' to /usr, the assemblies will be located in /usr/lib. On
Windows, the assemblies are loaded from the directory where mono and
mint live.
.PP
/etc/mono/config, ~/.mono/config
.PP
Mono runtime configuration file. See the mono-config(5) manual page
for more information.
.SH WEB SITE
Visit: http://www.go-mono.com for details
.SH SEE ALSO
.BR mcs(1), mono(1)
+1 -1
View File
@@ -16,7 +16,7 @@ CIL byte code that can be executed by any system that implemented a Common
Language Infrastructure virtual machine.
.SH OPTIONS
.TP
.B \//output:<file_name>
.B \//out:<file_name>
Specify the output file name.
.TP
.B \//exe
+44 -85
View File
@@ -1,16 +1,15 @@
.\"
.\" makecert manual page.
.\" Copyright 2003 Motus Technologies
.\" Copyright 2004 Novell
.\" Author:
.\" Sebastien Pouliot (sebastien@ximian.com)
.\" Sebastien Pouliot (spouliot@motus.com)
.\"
.TH Mono "MakeCert"
.SH NAME
MakeCert \- Create X.509 certificates for test purposes
.SH SYNOPSIS
.PP
.B makecert [options] certificate
.B MakeCert [options] certificate
.SH DESCRIPTION
Create an X.509 certificate using the provided informations. This
is useful for testing Authenticode signatures, SSL and S/MIME
@@ -18,108 +17,68 @@ technologies.
.SH PARAMETERS
.TP
.I "-# num"
Specify the certificate serial number.
Certificate serial number
.TP
.I "-n dn"
Specify the subject Distinguished Name (DN).
Subject Distinguished Name
.TP
.I "-in dn"
Specify the issuer Distinguished Name (DN).
Issuert Distinguished Name
.TP
.I "-r"
Create a self-signed, also called root, certificate.
.TP
.I "-iv pvkfile"
Specify the private key file (.PVK) for the issuer. The private key in the
specified file will be used to sign the new certificate.
.TP
.I "-ic certfile"
Extract the issuer's name from the specified certificate file - i.e. the
subject name of the specified certificate becomes the issuer name of the
new certificate.
.TP
.I "-in name"
Use the issuer's name from the specified parameter.
.TP
.I "-ik container"
Specify the key container name to be used for the issuer.
.TP
.I "-iky [signature | exchange | #]"
Specify the key number to be used in the provider (when used with -ik).
.TP
.I "-ip provider"
Specify the cryptographic provider to be used for the issuer.
.TP
.I "-ir [localmachine | currentuser]"
Specify the provider will search the user or the machine keys containers for
the issuer.
.TP
.I "-iy number"
Specify the provider type to be used for the issuer.
Create a self-signed (root) certificate
.TP
.I "-sv pkvfile"
Specify the private key file (.PVK) for the subject. The public part of the
key will be inserted into the created certificate. If non-existant the
specified file will be created with a new key pair (default to 1024 bits RSA
key pair).
Private key file (.PVK) for the subject (created if missing)
.TP
.I "-sk container"
Specify the key container name to be used for the subject.
.I "-iv pvkfile"
Private key file (.PVK) for the issuer
.TP
.I "-sky [signature | exchange | #]"
Specify the key number to be used in the provider (when used with -sk).
.TP
.I "-sp provider"
Specify the cryptographic provider to be used for the subject.
.TP
.I "-sr [localmachine | currentuser]"
Specify the provider will search the user or the machine keys containers for
the subject.
.TP
.I "-sy number"
Specify the provider type to be used for the issuer.
.TP
.I "-a hash"
Select hash algorithm. Only MD5 and SHA1 algorithms are supported.
.TP
.I "-b date"
The date since when the certificate is valid (notBefore).
.TP
.I "-e date"
The date until when the certificate is valid (notAfter).
.TP
.I "-m number"
Specify the certificate validity period in months. This is added to the
notBefore validity date which can be set with -b or will default to the
current date/time.
.TP
.I "-cy [authority|end]"
Basic constraints. Select Authority or End-Entity certificate. Only Authority
certificates can be used to sign other certificates (-ic). End-Entity can
be used by clients (e.g. Authenticode, S/MIME) or servers (e.g. SSL).
.TP
.I "-h number"
Add a path length restriction to the certificate chain. This is only
applicable for certificates that have BasicConstraint set to Authority (-cy
authority). This is used to limit the chain of certificates than can be
issued under this authority.
.TP
.I "-eku oid[,oid]"
Add some extended key usage OID to the certificate.
.I "-ic certfile"
Extract the issuer's name from the specified certificate
.TP
.I "-?"
Help (display this help message)
.TP
.I "-!"
Extended help (for advanced options)
.SH KNOWN RESTRICTIONS
Compared to the Windows version some options aren't supported (-$, -d, -l,
-nscp, -is, -sc, -ss). Also PVK files with passwords aren't supported.
.TP
.I "-a hash"
Select hash algorithm. Only MD5 and SHA1 are supported.
.TP
.I "-b date"
The date since when the certificate is valid (notBefore).
.TP
.I "-cy [authority|end]"
Basic constraints. Select Authority or End-Entity certificate.
.TP
.I "-e date"
The date until when the certificate is valid (notAfter).
.TP
.I "-eku oid[,oid]"
Add some extended key usage OID to the certificate.
.TP
.I "-h number"
Add a path length restriction to the certificate chain.
.TP
.I "-ic cert"
Take the issuer's name from the specified certificate.
.TP
.I "-in name"
Take the issuer's name from the specified parameter.
.TP
.I "-iv pvkfile"
Sign the certificate using the private key inside the PVK file.
.TP
.I "-m number"
Certificate validity period (in months).
.TP
.I "-sv pvkfile"
Create a new PVK file if non-existant, otherwise use the PVK file as the subject public key.
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
Copyright (C) 2003 Motus Technologies.
Copyright (C) 2004 Novell.
Released under BSD license.
.SH MAILING LISTS
Visit http://mail.ximian.com/mailman/mono-list for details.
-1
View File
@@ -20,5 +20,4 @@
<manpage name="soapsuds" page="soapsuds.1" />
<manpage name="setreg" page="setreg.1" />
<manpage name="certmgr" page="certmgr.1" />
<manpage name="xsd" page="xsd.1" />
</manpages>
+1 -35
View File
@@ -70,21 +70,6 @@ resource.
.I \-debug-
Do not generate debugging information.
.TP
.I \-delaysign+
Only embed the strongname public key into the assembly. The actual
signing must be done in a later stage using the SN tool. This is useful
to protect the private key during development. Note that delay signing
can only be done using a strongname key file (not a key container). The
option is equivalent to including [assembly: AssemblyDelaySign (true)]
in your source code. Compiler option takes precedence over the
attributes.
.TP
.I \-delaysign-
Default. Strongname (sign) the assembly using the strong name key file
(or container). The option is equivalent to including [assembly:
AssemblyDelaySign (false)] in your source code. Compiler option takes
precedence over the attributes.
.TP
.I \-\-expect-error X L
The compiler will expect the code to generate an error
named `X' in line `L'. This is only used by the test suite.
@@ -93,21 +78,6 @@ named `X' in line `L'. This is only used by the test suite.
This is used for debugging the compiler. This makes the error emission
generate an exception that can be caught by a debugger.
.TP
.I \-keyfile:KEYFILE
Strongname (sign) the output assembly using the key pair present in
the specified strong name key file (snk). A full key pair is required
by default (or when using delaysign-). A file containing only the
public key can be used with delaysign+. The option is equivalent to
including [assembly: AssemblyKeyFile ("KEYFILE")] in your source code.
Compiler option takes precedence over the attributes.
.TP
.I \-keycontainer:CONTAINER
Strongname (sign) the output assembly using the key pair present in
the specified container. Note that delaysign+ is ignored when using
key containers. The option is equivalent to including [assembly:
AssemblyKeyName ("CONTAINER")] in your source code. Compiler option
takes precedence over the attributes.
.TP
.I \-\-stacktrace
Generates a stack trace at the time the error is reported, useful for
debugging the compiler.
@@ -120,10 +90,6 @@ compiler to look for libraries in that specified path.
Directs the compiler to look for libraries in the specified path.
Multiple paths can be provided by using the option multiple times.
.TP
.I \-main:CLASS
Tells the compiler which CLASS contains the entry point. Useful when
you are compiling several classes with a Main method.
.TP
.I \-nostdlib, -nostdlib+
Use this flag if you want to compile the core library. This makes the
compiler load its internal types from the assembly being compiled.
@@ -254,7 +220,7 @@ Please read the accompanying `COPYING' file for details. Alternative
licenses are available from Ximian.
.PP
.SH SEE ALSO
mono(1), mint(1), sn(1)
mono(1), mint(1)
.PP
.SH BUGS
To report bugs in the compiler, you can use `bug-buddy', or you can
-13
View File
@@ -46,19 +46,6 @@ This option is used to precompile the CIL code in the specified
assembly to native code. The generated code is stored in a file with
the extension .so. This file will be automatically picked up by the
runtime when the assembly is executed.
.Sp
Ahead-of-Time compilation is most useful if you use it in combination
with the -O=all,-shared flag which enables all of the optimizations in
the code generator to be performed. Some of those optimizations are
not practical for Just-in-Time compilation since they might be very
time consuming.
.Sp
Unlike the .NET Framework, Ahead-of-Time compilation will not generate
domain independent code: it generates the same code that the
Just-in-Time compiler would produce. Since most applications use a
single domain, this is fine. If you want to optimize the generated
code for use in multi-domain applications, consider using the
-O=shared flag.
.Sp
This pre-compiles the methods, but the original assembly is still
required to execute as this one contains the metadata and exception
+3 -3
View File
@@ -16,16 +16,16 @@ parameters used in Mono.
.SH OPTIONS
.TP
.I "-q"
Quiet mode. Limited display on console.
Limited display on console.
.TP
.I "-help", "-h", "-?", "/?"
Display help about this tool.
.SH FEATURES
.TP
.I "1"
Trust the test root certificates (both Microsoft and Mono). Depending on the
Trust the test root certificates (both Micrsoft and Mono). Depending on the
value this will add (TRUE) or remove (FALSE) the two self-signed certificates
from the current user Trust store.
from the current user Trust store (~/.mono/certs/Trust/).
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
+3 -15
View File
@@ -1,9 +1,8 @@
.\"
.\" signcode manual page.
.\" Copyright 2003 Motus Technologies
.\" Copyright 2004 Novell
.\" Author:
.\" Sebastien Pouliot (sebastien@ximian.com)
.\" Sebastien Pouliot (spouliot@motus.com)
.\"
.TH Mono "signcode"
.SH NAME
@@ -14,8 +13,7 @@ signcode \- Digitally sign an PE executable using an X.509 certificate.
.SH DESCRIPTION
Digitally sign an PE executable (CLR assembly, Win32 EXE or DLL) using an
X.509 certificate and it's associated private key. The signature is compatible
with Authenticode(r) and can be validated with chktrust (either on Windows or
on any platform supported by Mono).
with Authenticode(r) and can be validated with chktrust.
.SH OPTIONS
.TP
.I "-spc spcfile"
@@ -50,7 +48,7 @@ had a valid (non-expired) certificate when the PE executable was signed.
.I "-tr #"
Number of retries to get a timestamp for the countersignature.
.TP
.I "-tw #"
.I "-td #"
Delay (in seconds) between the retries to get a timestamp for the countersignature.
.TP
.I "-k name"
@@ -70,20 +68,10 @@ CryptoAPI key location (when not using -v).
.TP
.I "-help", "-h", "-?", "/?"
Display help about this tool.
.SH OTHER CODE SIGNING TECHNOLOGIES
Assemblies are PE files that can also be strongnamed using the sn.exe tool. The
order of code signature is important if a file requires both an Authenticode
and a strongname signature. Strongname must be applied before the Authenticode
signature. Applying a strongname after the Authenticode signature, like
re-signing an assembly (e.g. delay-sign), will invalidate the Authenticode
signature.
.SH KNOWN RESTRICTIONS
signcode cannot generate Authenticode signatures for CAB files.
.SH AUTHOR
Written by Sebastien Pouliot
.SH COPYRIGHT
Copyright (C) 2003 Motus Technologies.
Copyright (C) 2004 Novell.
Released under BSD license.
.SH MAILING LISTS
Visit http://mail.ximian.com/mailman/mono-list for details.
-70
View File
@@ -1,70 +0,0 @@
.\" xsd manual page.
.\" (C) 2004 Novell, Inc.
.\" Author:
.\" Lluis Sanchez Gual ([email protected])
.\"
.TH "xsd" "1" "" "" ""
.SH "NAME"
xsd \- Mono's utility for generating schema or class files
.SH "SYNOPSIS"
.PP
.B xsd
<schema.xsd> /classes [options]
.PP
.B xsd
<schema.xsd> /dataset [options]
.PP
.B xsd
<assembly>.dll|<assembly>.exe [options]
.PP
.B xsd
<instance.xml> [<instance.xml> ...] [options]
.PP
.SH "DESCRIPTION"
.I xsd
is a tool for intended to complement the XML serialization support of Mono. It can do the following tasks:
.TP
Generate serializable classes
From a given XML schema, generate a class that can be used to read and write xml documents that conform that schema (/classes option).
.TP
Generate typed datasets
From a given XML schema, generate a typed DataSet class that can be used to read and write xml documents that conform that schema (/dataset option).
.TP
Generate XML schemas
From a given assembly and an optional type name, generate an XML schema that can be used to validate the xml documents that can be obtained by serializing objects of that type. If no type is provided, xsd generates a schema for all types in the assembly. When specifying the assembly name do not include the file extension (.dll or .exe). xsd will look for the assembly using the standard assembly loading rules.
.TP
Infer XML schemas
From a given set of XML documents, infer the XML schema that can be used to validate those documents.
.SH "OPTIONS"
The following options are available:
.TP
.I "/element:name" "/e:name"
Specifies the name of the XML schema element for which a class or a dataset has to be generated.
.TP
.TP
.I "/namespace:name" "/n:name"
Specifies the namespace of the XML schema element for which a class or a dataset has to be generated.
.TP
.I "/language:name" "/l:name"
Specifies the programming language to use for the generated code. The only supported languages are CS (C#) and VB (Visual Basic.NET).
.TP
.I "/outputdir:path" "/o:path"
Specifies the directory where to generate the code or schemas.
.TP
.I "/type:name" "/t:name"
Specifies the full name of the type (including namespace) for which to generate the XML schema.
.TP
.I "/help" "/h"
Show usage help.
.PP
.SH "AUTHORS"
Lluis Sanchez Gual ([email protected])
.br
Atsushi Enomoto ([email protected])
.PP
.SH "LICENSE"
xsd is released under the terms of the GNU GPL.
.PP
.SH "SEE ALSO"
disco(1), soapsuds(1), mono(1), mcs(1), wsdl(1)
-15
View File
@@ -1,18 +1,3 @@
2004-04-30 Raja R Harinath <[email protected]>
* Makefile (SUBDIRS): Remove 'gmcs' for now.
(all): Simplify.
(clean): Quick hack to get 'make clean' to work better.
2004-04-29 Jackson Harper <[email protected]>
* Makefile: Put the PROFILE= stuff before the target, this is more
pleasurable to cygwin users.
2004-04-28 Jackson Harper <[email protected]>
* Makefile: build the net_1_1 and net_2_0 profiles by default.
2004-01-14 Martin Willemoes Hansen <[email protected]>
* INSTALL.txt: Fixed, autogen should be autogen.sh
+2 -12
View File
@@ -5,17 +5,7 @@ include build/rules.make
# Define these ourselves to that the platform checks come first
#all: platform-check profile-check all-recursive #all-local
all:
$(MAKE) PROFILE=default all-profile
$(MAKE) PROFILE=net_2_0 all-profile
clean:
$(MAKE) PROFILE=default clean-profile
$(MAKE) PROFILE=net_2_0 clean-profile
all-profile: platform-check profile-check all-recursive
all: platform-check profile-check all-recursive #all-local
install: platform-check profile-check install-recursive #install-local
@@ -25,7 +15,7 @@ test: platform-check profile-check test-recursive #test-local
run-test: run-test-recursive #run-test-local
clean-profile: clean-recursive #clean-local
clean: clean-recursive #clean-local
# fun specialty targets
-1
View File
@@ -1,4 +1,3 @@
*~
.*
*.out
output
-23
View File
@@ -1,23 +0,0 @@
Class C1
End Class
Class C2
Inherits C1
Public Sub S1()
S2()
C = 10
End Sub
End Class
Class C3
Public Sub S()
Dim myC As New C1()
myC.S2()
myC.C = 20
End Sub
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-11
View File
@@ -1,11 +0,0 @@
Protected Class C1
End Class
Private Class C2
End Class
Module Accessibility
Sub Main()
End Sub
End Module
-13
View File
@@ -1,13 +0,0 @@
Public Class C1
Protected Class InnerC
End Class
End Class
Public Class C2
inherits C1.InnerC
End Class
Module InheritanceC3
Sub Main()
End Sub
End Module
-44
View File
@@ -1,44 +0,0 @@
Imports System
Module VariableC
Dim a() As Integer = {1, 2, 3, 4, 5}
Dim b(3) As Integer
Dim c(2), d(4) As Long
Dim e as Integer() = {1, 2, 3}
dim f(2,3) as Integer
Dim g as Integer(,) = { {1,1}, {2,2}, {3,3} }
Dim h() as Integer
Dim i as integer(,)
Dim j as integer()
Sub Main()
If a(2) <> 3 Then
Throw New Exception("#A1, value mismatch")
End If
b(0) = 0
b(1) = 5
b(2) = 10
If b(1) <> 5 Then
Throw New Exception("#A2, value mismatch")
End If
If e(1) <> 2 Then
Throw New Exception("#A3, value mismatch")
End If
If g(2,1) <> 3 Then
Throw New Exception("#A4, value mismatch")
End If
'Console.WriteLine(e(1))
'Console.WriteLine(g(2,1))
h = new Integer(){0, 1, 2}
i = new Integer(2,1){ {1,1}, {2,2}, {3,3} }
j = new Integer(2) {}
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
Imports System
Module VariableC
Dim a() As Integer ' = {1, 2, 3, 4, 5}
Sub Main()
dim arry as boolean
arry = IsArray(a)
If arry <> true then
Throw New Exception ("#A1, Not an Array")
End If
ReDim Preserve a(10)
Console.WriteLine(a(7))
End Sub
End Module
-18
View File
@@ -1,18 +0,0 @@
Imports System
Module VariableC
Dim a() As Integer = {1, 2, 3, 4, 5}
Sub Main()
ReDim Preserve a(10)
a(7) = 8
If a(7) <> 8 then
Throw New Exception ("#A1, Unexpected result")
End If
If a(2) <> 3 then
Throw New Exception ("#A2, Unexpected result - Preserve keyword not working")
End If
End Sub
End Module
-9
View File
@@ -1,9 +0,0 @@
Imports System
Module M
Dim a as Long(5)
Sub Main ()
End Sub
End Module
-9
View File
@@ -1,9 +0,0 @@
Imports System
Module M
Dim a() as Long()
Sub Main ()
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
Imports System
Module VariableC
Dim a() As Integer = {1, 2, 3, 4, 5}
Sub Main()
dim c as Integer
c = UBound(a, 1)
c = LBound(a, 1)
'c = UBound(a)
'c = LBound(a)
End Sub
End Module
-32
View File
@@ -1,32 +0,0 @@
Imports System
Module ConstantA
Public Const a As Integer = 10
Const b As Boolean = True, c As Long = 20
Const d = 20
Const e% = 10
Const f% = 10, g# = 20
Sub Main()
If a.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A1, Type mismatch found")
End If
If b.GetTypeCode() <> TypeCode.Boolean Then
Throw New System.Exception("#A2, Type mismatch found")
End If
If c.GetTypeCode() <> TypeCode.Int64 Then
Throw New System.Exception("#A3, Type mismatch found")
End If
If d.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A4, Type mismatch found")
End If
If e.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A5, Type mismatch found")
End If
If f.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A6, Type mismatch found")
End If
If g.GetTypeCode() <> TypeCode.Double Then
Throw New System.Exception("#A7, Type mismatch found")
End If
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
Class A
public const c as integer = 10
End Class
Class B
Inherits A
public shadows Const c as integer = 20
end class
Module M
Sub Main()
End Sub
End Module
-5
View File
@@ -1,5 +0,0 @@
Module ConstantC0
Const a As Integer
Sub main()
End Sub
End Module
-5
View File
@@ -1,5 +0,0 @@
Module ConstantC1
Const a(2) As Integer = {1, 2}
Sub main()
End Sub
End Module
-5
View File
@@ -1,5 +0,0 @@
Module ConstantC2
Const a As Integer = New Integer()
Sub Main()
End Sub
End Module
-8
View File
@@ -1,8 +0,0 @@
Class C
End Class
Module ConstantC3
Const a As C = New C()
Sub main()
End Sub
End Module
-5
View File
@@ -1,5 +0,0 @@
Module ConstantC4
Const a# As Integer
Sub main()
End Sub
End Module
-5
View File
@@ -1,5 +0,0 @@
Module ConstantC5
Const a As Integer, b As Integer
Sub main()
End Sub
End Module
-8
View File
@@ -1,8 +0,0 @@
Module Constant
Const a() As Integer = {1, 2}
Const b(2) As Long = {1, 2}
Const c() As String
Const d() As Long = {1, 2}, e() As Long = {1, 2}
Sub main()
End Sub
End Module
-26
View File
@@ -1,26 +0,0 @@
Imports System
Class A
public Sub New()
End Sub
public Sub New(name as String)
if name <> "abc" then
throw new exception ("#A1, Unexpected result")
end if
End Sub
End Class
Class B
' implicitly call base class default ctor
public Sub New()
End Sub
End Class
Module M
Sub Main()
dim x as A = new A()
dim y as A = new A("abc")
dim z as B = new B()
End Sub
End Module
-54
View File
@@ -1,54 +0,0 @@
Imports System
Class A
public Sub New()
End Sub
public Sub New(name as String)
if name <> "abc" then
throw new exception ("#A1, Unexpected result")
end if
End Sub
End Class
Class B
Inherits A
' call base class ctor explicitly
public Sub New()
MyBase.New()
End Sub
End Class
Class C
Inherits A
' call base class ctor with parameter
public Sub New()
MyBase.NEw("abc")
End Sub
End Class
Class D
' call another ctor in the same class
' either of the methods mentioned below should give same result
public Sub New()
MyClass.NEw("aaa")
'Me.NEw("aaa")
End Sub
public Sub New(name as String)
if name <> "aaa" then
throw new exception ("#A2, Unexpected result")
end if
End Sub
End Class
Module M
Sub Main()
dim x as B = new B()
dim y as C = new C()
dim z as D = new D()
End Sub
End Module
-45
View File
@@ -1,45 +0,0 @@
Imports System
Class A
public shared x as integer = 10
Shared Sub New()
Console.WriteLine("Shared ctor")
End Sub
public Sub New()
Console.WriteLine("ctor")
End Sub
End Class
Class B
inherits A
public shared y as integer = 20
public z as integer = 30
Shared Sub New()
Console.WriteLine("Shared ctor in derived class")
End Sub
public Sub New()
Console.WriteLine("ctor in derived class")
End Sub
Shared Sub f()
Console.WriteLine("f")
end sub
end class
Module M
Sub Main()
B.y = 25
Console.WriteLine(B.y)
Console.WriteLine(A.x)
dim c as new B()
Console.WriteLine(c.z)
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
Class A
public Sub New(a as string)
Me.New("aaa")
End Sub
public Sub New ()
Me.New()
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
Class A
public Sub New(i as String)
End Sub
End Class
Class B
Inherits A
public Sub New()
Mybase.new()
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
Imports System
Class A
Public Shared Sub New()
Console.WriteLine("Shared ctor")
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
-11
View File
@@ -1,11 +0,0 @@
Imports System
Class A
Shared Sub New(i as integer)
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
-20
View File
@@ -1,20 +0,0 @@
Imports System
Class A
Shared Sub New()
End Sub
End Class
Class B
Inherits A
Shared Sub New()
Me.New()
End Sub
End Class
Module M
Sub Main()
End Sub
End Module
-88
View File
@@ -1,88 +0,0 @@
Imports System
Module M
Enum E
A
B
C
D
E = 10
F
G = 5
H
I = D
J = -10
K
End Enum
Public Enum E1 As Long
A = 10
B = 20
End Enum
Sub Main()
dim i as integer
i = E.A
If i <> 0 Then
Throw new Exception("#A1, unexpected result")
End If
i = E.B
If i <> 1 Then
Throw new Exception("#A2, unexpected result")
End If
i = E.C
If i <> 2 Then
Throw new Exception("#A3, unexpected result")
End If
i = E.D
If i <> 3 Then
Throw new Exception("#A4, unexpected result")
End If
i = E.E
If i <> 10 Then
Throw new Exception("#A5, unexpected result")
End If
i = E.F
If i <> 11 Then
Throw new Exception("#A6, unexpected result")
End If
i = E.G
If i <> 5 Then
Throw new Exception("#A7, unexpected result")
End If
i = E.H
If i <> 6 Then
Throw new Exception("#A8, unexpected result")
End If
i = E.I
If i <> 3 Then
Throw new Exception("#A9, unexpected result")
End If
i = E.J
If i <> -10 Then
Throw new Exception("#A10, unexpected result")
End If
i = E.K
If i <> -9 Then
Throw new Exception("#A11, unexpected result")
End If
' Console.WriteLine(E.A)
' Console.WriteLine(E.B)
' Console.WriteLine(E.C)
' Console.WriteLine(E.D)
' Console.WriteLine(E.E)
' Console.WriteLine(E.F)
' Console.WriteLine(E.G)
' Console.WriteLine(E.H)
' Console.WriteLine(E.I)
' Console.WriteLine(E.J)
' Console.WriteLine(E.K)
End Sub
End Module
-15
View File
@@ -1,15 +0,0 @@
Imports System
Module M
Public Enum E1 As Long
A = 2.3
B = 2.5
End Enum
Sub Main()
Console.WriteLine (E1.A)
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
Imports System
Module M
Public Enum E1 As Long
A = 2
B
End Enum
Sub Main()
E1.A = 5
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
Imports System
Module M
Public Enum E1 As Long
A = 2
B
End Enum
Sub Main()
Dim i as long = E1.c
End Sub
End Module
-13
View File
@@ -1,13 +0,0 @@
Imports System
Module M
Public Enum E1 As Long
A = B
B
End Enum
Sub Main()
End Sub
End Module
'C:\btests\EnumC4.vb(6) : error BC30500: Constant 'A' cannot depend on its own value.- B
-13
View File
@@ -1,13 +0,0 @@
Imports System
Module M
Public Enum E1
A = System.Int64.MaxValue
B
End Enum
Sub Main()
Dim i as integer = E1.A
End Sub
End Module
-13
View File
@@ -1,13 +0,0 @@
Imports System
Module M
Public Enum E1
A = System.Int32.MaxValue
B
End Enum
Sub Main()
Dim i as integer = E1.A
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
Imports System
Class C
private Enum E
q = 10
m = 20
End Enum
End Class
Module M
Sub Main()
dim x as C = new C ()
Console.WriteLine(c.E.m)
End Sub
End Module
+12 -15
View File
@@ -1,14 +1,11 @@
Imports System
' if a class is not derived from any class
' means it is derived from Object class
Public Class C1
Function f1 (name as string)
dim t as Type = GetType()
If t.name <> name Then
Function f1()
If GetType(C1).ToString <> "C1" Then
Throw New System.Exception("#A1 Unexpected result")
End If
End If
End Function
Function fn() As Integer
@@ -18,14 +15,14 @@ End Class
Public Class C2
Inherits C1
Function f2(name as string)
f1(name)
Function f2()
f1()
End Function
End Class
Public Class C3
Public Class c3
Inherits C2
End Class
@@ -33,16 +30,16 @@ End Class
Module Inheritance
Sub Main()
Dim c1 As New C1()
c1.f1("C1")
c1.f1()
Dim c2 As New C2()
c2.f1("C2")
c2.f2("C2")
c2.f1()
c2.f2()
c2.fn()
Dim c3 As New c3()
c3.f1("C3")
c3.f2("C3")
c3.f1()
c3.f2()
c3.fn()
End Sub
End Module
End Module
-11
View File
@@ -1,11 +0,0 @@
public enum e
End enum
Public Class C2
inherits e
End Class
Module InheritanceC3
Sub Main()
End Sub
End Module
-4
View File
@@ -12,11 +12,7 @@ End Class
Module InheritanceE
Sub Main()
dim b as New C1()
b.F1()
Dim d As C2 = New C2()
d.F1()
End Sub
End Module
-10
View File
@@ -1,19 +1,9 @@
Module ClsModule
Sub New()
End Sub
Public a As Integer
Public Const b as integer = 10
Class C1
End Class
' inherited members can be declared as protected
protected Sub Finalize()
end sub
End Module
Module MainModule
Sub Main()
ClsModule.a=20
-23
View File
@@ -1,23 +0,0 @@
NameSpace NS
Public Module M1
Public a As Integer
public Const b as integer = 10
Class C1
End Class
End Module
Friend Module MainModule
Sub Main()
M1.a = 20
dim x as integer = M1.b
if (x <> 10) then
Throw new System.Exception("#A1, Unexpected result")
end if
x = NS.M1.b
if x <> 10 then
Throw new System.Exception("#A2, Unexpected result")
end if
End Sub
End Module
End NameSpace
+2 -4
View File
@@ -1,8 +1,6 @@
Module M
End Module
Module ModuleTest
System.Console.WriteLine("If you read this, then there is something wrong!!")
Sub Main()
Module M = new Module
End Sub
End Module
-6
View File
@@ -1,6 +0,0 @@
NameSpace N
Private Module M
Sub Main()
End Sub
End Module
End NameSpace
-9
View File
@@ -1,9 +0,0 @@
Module M1
Sub Main ()
End Sub
End Module
Module M2
Sub Main ()
End Sub
End Module
-4
View File
@@ -1,4 +0,0 @@
Module M1
Sub Main (argc as string)
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
Module ClsModule
Protected a As Integer
Protected Const b as integer = 10
'Protected Class C1
Class C1
End Class
protected Sub s()
end sub
End Module
Module MainModule
Sub Main()
End Sub
End Module
+1 -7
View File
@@ -1,11 +1,5 @@
Class A
Public Overridable Sub F1()
End Sub
End Class
Class B
Inherits A
Public Overrides NotOverridable Sub F1()
Public NotOverridable Sub F1()
End Sub
End Class
+2 -3
View File
@@ -1,7 +1,6 @@
Class C1
'methods that do not override any other
'method should not be declared 'notoverridable'
Public Notoverridable Sub S()
Public Notoverridable Sub S() 'methods that do not override any other method should not be declared 'notoverridable'
End Sub
End Class
Module OverrideC2
-17
View File
@@ -1,17 +0,0 @@
Class B
Public Sub F1()
End Sub
End Class
Class D
Inherits B
Public Overrides Sub F1()
End Sub
End Class
Module OverrideC1
Sub Main()
End Sub
End Module
-10
View File
@@ -1,10 +0,0 @@
Class D
Public Overrides Sub F1()
End Sub
End Class
Module OverrideC1
Sub Main()
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
Class A
Public Overridable Sub F1()
End Sub
End Class
Class B
Inherits A
Public NotOverridable Sub F1()
End Sub
End Class
Module OverrideC1
Sub Main()
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
Class A
Public Overridable Sub F1()
End Sub
End Class
Class B
Inherits A
Public Overrides Overridable Sub F1()
End Sub
End Class
Module OverrideC1
Sub Main()
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
Class A
Public Overridable Sub F1()
End Sub
End Class
Class B
Inherits A
Public Overrides Shadows Sub F1()
End Sub
End Class
Module OverrideC1
Sub Main()
End Sub
End Module
-50
View File
@@ -1,50 +0,0 @@
Imports System
Structure S
Dim a as String
Const b as integer = 25
Class c
End class
Function f(l as long) as long
f = l
End Function
Structure S1
dim g as string
End Structure
End Structure
Module M
Sub Main()
dim x as S
x.a = 10
If x.a <> 10 then
Throw new Exception ("#A1, Unexpected result")
End If
dim y as S = x
x.a = 20
If y.a <> 10 then
Throw new Exception ("#A2, Unexpected result")
End If
If x.a <> 20 then
Throw new Exception ("#A3, Unexpected result")
End If
If x.b <> 25 then
Throw new Exception ("#A4, Unexpected result")
End If
'Console.WriteLine(x.b)
If x.f(99) <> 99 then
Throw new Exception ("#A5, Unexpected result")
End If
End Sub
End Module
-16
View File
@@ -1,16 +0,0 @@
Imports System
Structure S
Dim a as String
Const b as integer = 25
Sub NEW(l as long)
End Sub
End Structure
Module M
Sub Main()
dim x as S = new S(100)
End Sub
End Module
-8
View File
@@ -1,8 +0,0 @@
Structure S
End Structure
Module M
Sub Main()
dim x as S
End Sub
End Module
-12
View File
@@ -1,12 +0,0 @@
Structure S
Dim a as String
Sub NEW()
end Sub
End Structure
Module M
Sub Main()
dim x as S
End Sub
End Module
-20
View File
@@ -1,20 +0,0 @@
Structure S
Dim a as String
Protected Const b as integer = 10
protected Class c
end class
protected sub f(l as long)
end sub
Protected Structure S1
dim g as string
End Structure
End Structure
Module M
Sub Main()
dim x as S
End Sub
End Module
-56
View File
@@ -67,7 +67,6 @@ NSA \
NSB \
ModuleTest \
ModuleA \
ModuleB \
ClassTest \
Scope \
ScopeA \
@@ -86,9 +85,6 @@ InheritanceI \
MustInherit \
MustInheritA \
NotInheritable \
ConstructorA \
ConstructorB \
ConstructorC \
Interface \
InterfaceA \
InterfaceB \
@@ -114,20 +110,6 @@ AttributesC \
AttributesD \
QualifiedNames \
Variables \
VariablesA \
VariablesB \
VariablesC \
VariablesD \
VariablesE \
ConstantA \
ConstantB \
StructureA \
StructureB \
ArrayA \
ArrayB \
ArrayC \
ArrayD \
EnumA
# All negetive test cases which should
@@ -193,10 +175,6 @@ NameSpaceC2 \
NameSpaceC3 \
ModuleTestC1 \
ModuleTestC2 \
ModuleTestC3 \
ModuleTestC4 \
ModuleTestC5 \
ModuleTestC6 \
ClassTestC1 \
ScopeC1 \
OverloadingC1 \
@@ -205,7 +183,6 @@ OverloadingC3 \
InheritanceC1 \
InheritanceC2 \
InheritanceC3 \
InheritanceC4 \
MustInheritC1 \
MustInheritC2 \
MustInheritC3 \
@@ -216,11 +193,6 @@ MustInheritC7 \
NotInheritableC1 \
NotInheritableC2 \
NotInheritableC3 \
ConstructorC1 \
ConstructorC2 \
ConstructorC4 \
ConstructorC5 \
ConstructorC6 \
InterfaceC1 \
InterfaceC2 \
InterfaceC3 \
@@ -236,16 +208,8 @@ OverrideC1 \
OverrideC2 \
OverrideC3 \
OverrideC4 \
OverrideC5 \
OverrideC6 \
OverrideC7 \
OverrideC8 \
OverrideC9 \
AccessibilityC1 \
AccessibilityC2 \
AccessibilityC3 \
AccessibilityC4 \
AccessibilityC5 \
AttributesC1 \
AttributesC2 \
AttributesC3 \
@@ -253,27 +217,7 @@ AttributesC4 \
AttributesC5 \
AttributesC6 \
ConstituentTypesC1 \
ConstantC0 \
ConstantC1 \
ConstantC2 \
ConstantC3 \
ConstantC4 \
ConstantC5 \
VariablesC1 \
VariablesC2 \
VariablesC3 \
StructureC1 \
StructureC2 \
StructureC3 \
ArrayC1 \
ArrayC2 \
EnumC1 \
EnumC2 \
EnumC3 \
EnumC4 \
EnumC5 \
EnumC6 \
EnumC7
# All negetive test cases which should fail at
# runtime goes here
+4
View File
@@ -16,6 +16,7 @@ Module VariableB
Dim o
Dim p As New cls1()
Dim q%, r&, s@, t!, u#
Dim v@, w# as integer
Sub main()
If a.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A1, Type mismatch found")
@@ -48,5 +49,8 @@ Module VariableB
If u.GetTypeCode() <> TypeCode.Double Then
Throw New System.Exception("#A10, Type mismatch found")
End If
If w.GetTypeCode() <> TypeCode.Int32 Then
Throw New System.Exception("#A11, Type mismatch found")
End If
End Sub
End Module
-59
View File
@@ -1,59 +0,0 @@
Imports System
Class A
public shared y as integer = 20
public z as integer = 30
Shared Sub New()
End Sub
public Sub New()
End Sub
Shared function f() as integer
return 50
end function
end class
Module M
Sub Main()
if (A.y <> 20) then
Throw new Exception ("#A1, Unexpected result")
end if
dim c as new A()
dim d as new A()
if(c.y <> 20) then
Throw new Exception ("#A2, Unexpected result")
end if
if(d.y <> 20) then
Throw new Exception ("#A3, Unexpected result")
end if
A.y = 25
if(c.y <> 25) then
Throw new Exception ("#A4, Unexpected result")
end if
c.y = 35
if(A.y <> 35) then
Throw new Exception ("#A5, Unexpected result")
end if
if(d.y <> 35) then
Throw new Exception ("#A6, Unexpected result")
end if
if(c.z <> 30) then
Throw new Exception ("#A7, Unexpected result")
end if
if(A.f() <> 50) then
Throw new Exception ("#A8, Unexpected result")
end if
End Sub
End Module
-14
View File
@@ -1,14 +0,0 @@
Class A
public c as integer = 10
End Class
Class B
Inherits A
public shadows c as integer = 20
end class
Module M
Sub Main()
End Sub
End Module
-45
View File
@@ -1,48 +1,3 @@
2004-04-29 Jackson Harper <[email protected]>
* library.make: Fix uninstall
2004-04-29 Martin Baulig <[email protected]>
* rules.make: Added `INTERNAL_ILASM'.
2004-04-29 Jackson Harper <[email protected]>
* library.make: Use RUNTIME instead of PLATFORM_RUNTIME for the
gacutil. gacutil needs to be run on our runtime. Make dependancys
more sane.
2004-04-28 Jackson Harper <[email protected]>
* library.make: Use the proper runtime, make sure gacutil is
built.
2004-04-28 Jackson Harper <[email protected]>
* library.make: Install these bad actors to the GAC.
2004-04-28 Raja R Harinath <[email protected]>
* library.make (test_flags): NUnit.Framework.dll is now in
class/lib/$(PROFILE).
2004-04-26 Jackson Harper <[email protected]>
* library.make:
* profiles/bootstrap.make:
* profiles/default.make: profiles are built in their ownb lib
directory now.
* profiles/net_2_0.make: new .net 2.0 profile.
2004-04-22 Martin Baulig <[email protected]>
* profiles/net_1_2.make: Removed.
* profiles/martin-generics.make: Remove.
2004-04-19 Raja R Harinath <[email protected]>
* rules.make (%-recursive): Honor 'make -k'.
2004-02-17 Martin Baulig <[email protected]>
* profiles/generics.make: Renamed to `martin-generics.make' and
+13 -17
View File
@@ -10,37 +10,33 @@
sourcefile = $(LIBRARY).sources
ifdef PLATFORM_CHANGE_SEPARATOR_CMD
response = $(depsdir)/$(PROFILE)_$(LIBRARY).response
response = $(depsdir)/$(LIBRARY).response
else
response = $(sourcefile)
endif
makefrag = $(depsdir)/$(PROFILE)_$(LIBRARY).makefrag
stampfile = $(depsdir)/$(PROFILE)_$(LIBRARY).stamp
the_lib = $(topdir)/class/lib/$(PROFILE)/$(LIBRARY)
makefrag = $(depsdir)/$(LIBRARY).makefrag
stampfile = $(depsdir)/$(LIBRARY).stamp
the_lib = $(topdir)/class/lib/$(LIBRARY)
the_pdb = $(patsubst %.dll,%.pdb,$(the_lib))
ifndef NO_TEST
test_lib = $(patsubst %.dll,%_test.dll,$(LIBRARY))
test_pdb = $(patsubst %.dll,%.pdb,$(test_lib))
test_sourcefile = $(test_lib).sources
test_response = $(depsdir)/$(PROFILE)_$(test_lib).response
test_makefrag = $(depsdir)/$(PROFILE)_$(test_lib).makefrag
test_stampfile = $(depsdir)/$(PROFILE)_$(test_lib).stamp
test_flags = /r:$(the_lib) /r:$(topdir)/class/lib/$(PROFILE)/NUnit.Framework.dll $(TEST_MCS_FLAGS)
test_response = $(depsdir)/$(test_lib).response
test_makefrag = $(depsdir)/$(test_lib).makefrag
test_stampfile = $(depsdir)/$(test_lib).stamp
test_flags = /r:$(the_lib) /r:$(topdir)/class/lib/NUnit.Framework.dll $(TEST_MCS_FLAGS)
endif
gacutil = $(topdir)/tools/gacutil/gacutil.exe
all-local: $(the_lib)
install-local: $(the_lib) $(gacutil)
$(RUNTIME) $(gacutil) -i $(the_lib) -f /root $(DESTDIR)$(prefix)/lib || exit 1 ; \
install-local: $(the_lib)
$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/lib
$(INSTALL_LIB) $(the_lib) $(DESTDIR)$(prefix)/lib
uninstall-local: $(gacutil)
$(RUNTIME) $(gacutil) /u $$(basename $(the_lib) .dll) ; \
$(gacutil):
cd $(topdir)/tools/gacutil && $(MAKE) || exit 1 ;
uninstall-local:
-rm -f $(DESTDIR)$(prefix)/lib/$(LIBRARY)
clean-local:
-rm -f $(the_lib) $(makefrag) $(test_lib) \
+2 -2
View File
@@ -14,7 +14,7 @@
# run the compiler; /r: flags are by default loaded from whatever's
# in the MONO_PATH too).
MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE):$$MONO_PATH" $(RUNTIME) --debug $(topdir)/mcs/mcs.exe
MCS = MONO_PATH="$(topdir)/class/lib:$$MONO_PATH" $(RUNTIME) $(topdir)/mcs/mcs.exe
BOOTSTRAP_MCS = $(MCS)
# nuttzing!
@@ -22,4 +22,4 @@ BOOTSTRAP_MCS = $(MCS)
profile-check:
# Causes some build errors
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:ONLY_1_1
PROFILE_MCS_FLAGS = -d:GENERICS -d:NET_1_1
+2 -2
View File
@@ -15,10 +15,10 @@
# in the MONO_PATH too).
ifdef PLATFORM_MONO_NATIVE
MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE):$$MONO_PATH" $(INTERNAL_MCS)
MCS = MONO_PATH="$(topdir)/class/lib:$$MONO_PATH" $(INTERNAL_MCS)
TEST_RUNTIME = MONO_PATH=".:$$MONO_PATH" $(RUNTIME) --debug
else
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib/$(PROFILE)
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib
endif
# nuttzing!
+21
View File
@@ -0,0 +1,21 @@
# -*- makefile -*-
#
# Generics support: this is highly experimental and unstable.
#
# As the name of this profile already says: it's basically just for me.
# February 17, 2004 Martin Baulig <[email protected]>
#
ifdef PLATFORM_MONO_NATIVE
MCS = MONO_PATH="$(topdir)/class/lib:$$MONO_PATH" $(RUNTIME) --debug $(topdir)/gmcs/gmcs.exe
BOOTSTRAP_MCS = $(MCS)
TEST_RUNTIME = MONO_PATH=".:$$MONO_PATH" $(RUNTIME) --debug
else
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib
endif
# nuttzing!
profile-check:
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_1_2 -d:GENERICS -2
@@ -15,14 +15,14 @@
# in the MONO_PATH too).
ifdef PLATFORM_MONO_NATIVE
MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE):$$MONO_PATH" $(INTERNAL_GMCS)
MCS = MONO_PATH="$(topdir)/class/lib:$$MONO_PATH" $(INTERNAL_MCS)
TEST_RUNTIME = MONO_PATH=".:$$MONO_PATH" $(RUNTIME) --debug
else
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib/$(PROFILE)
MCS = $(PLATFORM_RUNTIME) $(BOOTSTRAP_MCS) /lib:$(topdir)/class/lib
endif
# nuttzing!
profile-check:
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -2
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_1_2 -2
+2 -6
View File
@@ -25,8 +25,6 @@ INSTALL_BIN = $(INSTALL) -m 755
INSTALL_LIB = $(INSTALL_BIN)
MKINSTALLDIRS = $(SHELL) $(topdir)/mkinstalldirs
INTERNAL_MCS = $(RUNTIME) $(topdir)/mcs/mcs.exe
INTERNAL_GMCS = $(RUNTIME) $(topdir)/gmcs/gmcs.exe
INTERNAL_ILASM = $(RUNTIME) $(topdir)/ilasm/ilasm.exe
corlib = mscorlib.dll
depsdir = $(topdir)/build/deps
@@ -93,10 +91,8 @@ include $(topdir)/build/profiles/$(PROFILE).make
# Simple rules
%-recursive:
@set . $$MAKEFLAGS; \
case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
list='$(SUBDIRS)'; for d in $$list ; do \
(cd $$d && $(MAKE) $*) || $$dk ; \
@list='$(SUBDIRS)'; for d in $$list ; do \
(cd $$d && $(MAKE) $*) || exit 1 ; \
done
# note: dist-local dep, extra subdirs, $* has become $@
@@ -19,16 +19,14 @@ using System.Runtime.InteropServices;
#if (NET_1_0)
[assembly: AssemblyVersion("1.0.3300.0")]
[assembly: SatelliteContractVersion("1.0.3300.0")]
#elif (NET_2_0)
[assembly: AssemblyVersion("2.0.3600.0")]
[assembly: SatelliteContractVersion("2.0.3600.0")]
#elif (NET_1_1)
#endif
#if (NET_1_1)
[assembly: AssemblyVersion("1.0.5000.0")]
[assembly: SatelliteContractVersion("1.0.5000.0")]
[assembly: ComCompatibleVersion(1, 0, 3300, 0)]
[assembly: TypeLibVersion(1, 10)]
#endif
[assembly: AssemblyTitle("Accessibility.dll")]
[assembly: AssemblyDescription("Accessibility.dll")]
[assembly: AssemblyConfiguration("Development version")]
@@ -46,5 +44,5 @@ using System.Runtime.InteropServices;
[assembly: AllowPartiallyTrustedCallers]
[assembly: Guid("1ea4dbf0-3c3b-11cf-810c-00aa00389b71")]
[assembly: AssemblyDelaySign(true)]
[assembly: AssemblyKeyFile("../msfinal.pub")]
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
-3
View File
@@ -1,3 +0,0 @@
.makefrag
.response
library-deps.stamp
+29 -9
View File
@@ -26,13 +26,33 @@ using System.Runtime.CompilerServices;
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
#if (NET_2_0)
[assembly: AssemblyVersion ("0.7.4.2")]
#elif (NET_1_1)
[assembly: AssemblyVersion ("0.7.4.1")]
#else
[assembly: AssemblyVersion ("0.7.4.0")]
#endif
[assembly: AssemblyVersion("0.7.4.*")]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile ("../mono.pub")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified, the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified, the
// following processing occurs:
// (1) If the KeyName can be found in the CSP, that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist, the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile, the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
// located in the project directory, you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
// documentation for more information on this.
//
[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("..\\..\\bytefx.snk")]
[assembly: AssemblyKeyName("")]
-35
View File
@@ -1,38 +1,3 @@
2004-05-02 Duncan Mak <[email protected]>
* I18N/Assembly/AssemblyInfo.cs:
* Mono.CSharp.Debugger/Assembly/AssemblyInfo.cs:
* Mono.Cairo/Assembly/AssemblyInfo.cs:
* Mono.Data.SqliteClient/Assembly/AssemblyInfo.cs:
* Mono.Data.SybaseClient/Assembly/AssemblyInfo.cs:
* Mono.Data.Tds/Assembly/AssemblyInfo.cs:
* Mono.Data.TdsClient/Assembly/AssemblyInfo.cs: Fix the
AssemblyVersionAttribute ordering.
2004-05-02 Duncan Mak <[email protected]>
* ByteFX.Data/AssemblyInfo.cs:
* Mono.GetOptions/AssemblyInfo.cs:
* Microsoft.Vsa/Assembly/AssemblyInfo.cs: Add assembly-level
attributes for versioning (1.0 vs. 1.1 vs. 2.0).
2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.
2004-03-31 Dick Porter <[email protected]>
* I18N/CJK/gb2312.table:
* I18N/CJK/Gb2312Convert.cs:
* I18N/CJK/CP936.cs: Rewrote the GB2312 conversion, using the iconv
algorithm as a base. Fixes bug 53841.
2004-03-23 Sebastien Pouliot <[email protected]>
* ecma.pub: New. ECMA key to be used for strongnaming assemblies.
* msfinal.pub: New. Microsoft public key to be used for strongnaming
assemblies.
2004-02-04 Marek Safar <[email protected]>
* Makefile: Build System.dll in two steps. Because of the circular
Loaded 100 of 2636 files, more files were not shown because too many files have changed in this diff. Show more