mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d657d7bc6 |
No files matched your search
@@ -20,6 +20,3 @@ mono.spec
|
||||
autom4te.cache
|
||||
mint.pc
|
||||
stamp-h1
|
||||
config.h.in
|
||||
_tmpinst
|
||||
tmpinst-dir.stamp
|
||||
@@ -1,788 +1,3 @@
|
||||
2004-10-24 Jonathan Pryor <[email protected]>
|
||||
|
||||
* man/mono.1: Add documentation for the MONO_TRACE environment variable.
|
||||
|
||||
2004-10-14 Joe Shaw <[email protected]>
|
||||
|
||||
* man/mono.1: Fix the syntax of the M: trace syntax
|
||||
|
||||
2004-10-10 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in: Add some checks for cygwin weirdness.
|
||||
|
||||
2004-10-08 Zoltan Varga <[email protected]>
|
||||
|
||||
* support/Makefile.am (libMonoPosixHelper_la_SOURCES): Do not build
|
||||
zlib_macros if zlib.h is not found.
|
||||
|
||||
* configure.in: Add check for zlib.h.
|
||||
|
||||
2004-09-28 Neale Ferguson <[email protected]>
|
||||
|
||||
* mini-s390.c: Fix AND_IMM/OR_IMM/DIV_IMM/REM_IMM
|
||||
|
||||
2004-09-28 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am ($(tmpinst)/bin/pedump): New.
|
||||
(mcs-do-run-test-profiles): Depend on it.
|
||||
|
||||
2004-09-27 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (mono-do-testjit): New target, unused for now. Runs
|
||||
the mono testsuite in tests/.
|
||||
(tmpinst-dir): Create etc/mono/2.0.
|
||||
($(tmpinst)/bin/ilasm, $(tmpinst)/etc/mono/2.0/machine.config): New.
|
||||
|
||||
2004-09-21 Neale Ferguson <[email protected]>
|
||||
|
||||
* configure.in: Cater for S/390 on Linux
|
||||
|
||||
2004-09-21 <[email protected]>
|
||||
|
||||
* configure.in: Link with ole32 on windows.
|
||||
|
||||
2004-09-20 Jackson Harper <[email protected]>
|
||||
|
||||
* support/map.c/h: Add poll events map functions. Use values
|
||||
instead of names for defines.
|
||||
|
||||
2004-09-17 Martin Baulig <[email protected]>
|
||||
|
||||
* Makefile.am (mcs-do-compiler-tests): Reverted Raja's latest
|
||||
change in this target.
|
||||
|
||||
2004-09-14 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (mcs-do-full-build): Pass NO_SIGN_ASSEMBLIES=yes to
|
||||
reduce the number of passes. We will get the assemblies signed in
|
||||
the 'populate-runtime-subdir' phase.
|
||||
(mcs-do-run-test-profiles): Rename from mcs-do-run-tests. Use
|
||||
'test-profiles' to test all profiles.
|
||||
(mcs-do-compiler-tests): Use 'compiler-tests' target in mcs/.
|
||||
(bootstrap-check): Update.
|
||||
* runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
|
||||
Simplify.
|
||||
|
||||
2004-09-10 Zoltan Varga <[email protected]>
|
||||
|
||||
* Makefile.am (populate-runtime-subdir): Avoid -path argument to find
|
||||
since it is not supported on solaris.
|
||||
|
||||
2004-09-03 Martin Baulig <[email protected]>
|
||||
|
||||
* Makefile.am (bootstrap-world): New target.
|
||||
|
||||
2004-09-02 Martin Baulig <[email protected]>
|
||||
|
||||
* runtime/net_1_1/Makefile.am (install-data-local): Install
|
||||
mscorlib.dll.mdb into $(corlibdir).
|
||||
|
||||
* runtime/net_2_0/Makefile.am: Likewise.
|
||||
|
||||
2004-08-30 Zoltan Varga <[email protected]>
|
||||
|
||||
* scripts/mcs.in: Remove obsolete comment.
|
||||
|
||||
2004-08-27 Lluis Sanchez Gual <[email protected]>
|
||||
|
||||
* data/net_1_1/DefaultWsdlHelpGenerator.aspx: Little fix.
|
||||
* data/net_2_0/DefaultWsdlHelpGenerator.aspx: Added information about
|
||||
basic profile compliance.
|
||||
* data/net_2_0/machine.config: Use 2.0 assembly versions.
|
||||
|
||||
2004-08-26 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (mcs-do-run-test): Depend on '$(tmpinst)/bin/mbas'.
|
||||
($(tmpinst)/bin/mbas): Create temporary wrapper file, so that the
|
||||
testcases pick the built 'mbas.exe'.
|
||||
|
||||
2004-08-17 Zoltan Varga <[email protected]>
|
||||
|
||||
* mono/os/gc_wrapper.h: Only use thread local alloc if using the included libgc, since the
|
||||
stock one has broken headers.
|
||||
|
||||
* configure.in (PLATFORM_WIN32): Make the included libgc the default on windows.
|
||||
|
||||
2004-08-17 Dick Porter <[email protected]>
|
||||
|
||||
* configure.in: Correct intl library for FreeBSD and OpenBSD.
|
||||
Fixes bug 62884, patch by Tom McLaughlin ([email protected]).
|
||||
|
||||
2004-08-16 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in: Set new automake variable LIBGC_STATIC_LIBS.
|
||||
|
||||
2004-08-14 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in (HAVE_KW_THREAD): Pass USE_COMPILER_TLS to libgc if
|
||||
__thread works.
|
||||
|
||||
2004-08-11 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in: Fix __thread test.
|
||||
|
||||
2004-08-07 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in: Add proper checks for the 'undefined reference to '__tls_get_addr' problem.
|
||||
|
||||
2004-08-06 Geoff Norton <[email protected]>
|
||||
|
||||
* configure.in: Add a kqueue check
|
||||
|
||||
2004-08-03 Neale Ferguson <[email protected]>
|
||||
|
||||
* configure.in: Enable S/390 64-bit JIT.
|
||||
|
||||
2004-07-31 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in: Enable AMD64 JIT.
|
||||
|
||||
2004-07-30 Martin Baulig <[email protected]>
|
||||
|
||||
* Makefile.am: The symbol writer is now called
|
||||
Mono.CompilerServices.SymbolWriter.dll.
|
||||
|
||||
2004-07-30 Raja R Harinath <[email protected]>
|
||||
|
||||
* runtime/Makefile.am (monoone_DATA): Add mcs.exe.config.
|
||||
(gmcs_exe): Add gmcs.exe.config.
|
||||
($(monoone_DATA) $(monotwo_DATA) ...): Add location of the .config
|
||||
files too.
|
||||
|
||||
2004-07-29 Lluis Sanchez Gual <[email protected]>
|
||||
|
||||
* Makefile.am: Copy machine.config in the correct _tmpinst subdirectory.
|
||||
|
||||
2004-07-28 Lluis Sanchez Gual <[email protected]>
|
||||
|
||||
* configure.in: Added data/net_1_1 and data/net_2_0 to the build.
|
||||
* data/Makefile.am: Removed installation of machine.config and
|
||||
DefaultWsdlHelpGenerator.aspx. Those now are in a version-specific
|
||||
directory.
|
||||
* data/net_1_1/Makefile.am, data/net_2_0/Makefile.am: new makefiles for
|
||||
installing 1.1 and 2.0 makefiles.
|
||||
* runtime/net_1_1/Makefile.am, runtime/net_2_0/Makefile.am: Install mscorlib
|
||||
at the correct version specific directory.
|
||||
|
||||
2004-07-27 John Merryweather Cooper <[email protected]>
|
||||
* configure.in: Disable __thread test (TLS) for FreeBSD as
|
||||
it succeeds on FreeBSD 5.x when it should fail. Fix pthread
|
||||
library detection for FreeBSD 4.x since pthread is embedded
|
||||
in libc_r on this platform. Fix some typos in my host
|
||||
regexes for freebsd.
|
||||
|
||||
2004-07-23 Dick Porter <[email protected]>
|
||||
|
||||
* configure.in: Changes for FreeBSD thread support by John
|
||||
Merryweather Cooper <[email protected]>.
|
||||
|
||||
2004-07-15 Jackson Harper <[email protected]>
|
||||
|
||||
* man/gacutil.1: MONO_GAC_PREFIX not MONO_GAC_PATH
|
||||
|
||||
2004-07-12 Massimiliano Mantione <[email protected]>
|
||||
|
||||
* docs/abc-removal.txt: Updated documentation for ABC removal.
|
||||
|
||||
2004-07-12 Massimiliano Mantione <[email protected]>
|
||||
|
||||
* mono/mini/abcremoval.c: Rewritten most of ABC removal.
|
||||
* mono/mini/abcremoval.h: Rewritten most of ABC removal.
|
||||
* mono/mini/build_relations_propagation_table.pl: Deleted (unneeded after the rewrite).
|
||||
* mono/mini/propagated_relations_table.def: Deleted (unneeded after the rewrite).
|
||||
|
||||
2004-07-03 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in: Add --with-tls option to replace the misnamed
|
||||
--with-nptl option.
|
||||
|
||||
2004-07-02 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (mcs-do-basic-build, mcs-do-short-build):
|
||||
Pass NO_SIGN_ASSEMBLY=yes to sub-make.
|
||||
($(tmpinst)/bin/mono) [PLATFORM_WIN32]: Make it work.
|
||||
|
||||
2004-07-02 Zoltan Varga <[email protected]>
|
||||
|
||||
* man/mono.1: Added 'aot' to trace options.
|
||||
|
||||
2004-06-30 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in: Fix trunc check + add SPARC64 defines.
|
||||
|
||||
2004-06-29 Jackson Harper <[email protected]>
|
||||
|
||||
* man/gacutil.1: Update man with new command line options.
|
||||
|
||||
2004-06-29 Raja R Harinath <[email protected]>
|
||||
Atsushi Enomoto <[email protected]>
|
||||
|
||||
* runtime/net_1_1/Makefile.am (GAC_ROOT_DIR): Renamed from GAC_DIR.
|
||||
(GAC_DIR): New define that doesn't include $(DESTDIR).
|
||||
(install-data-local,uninstall-local): Use them. Use in-tree mono
|
||||
runtime, not the installed one.
|
||||
|
||||
2004-06-29 Raja R Harinath <[email protected]>
|
||||
|
||||
* runtime/Makefile.am (gmcs_exe): New. Set only if not W32.
|
||||
(monotwo_DATA): Use it.
|
||||
From Atsushi Enomoto.
|
||||
|
||||
2004-06-24 Raja R Harinath <[email protected]>
|
||||
|
||||
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Put back
|
||||
ICSharpCode.SharpZipLib, not that it has a different version.
|
||||
|
||||
2004-06-24 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (MCS_DIRS, MCS_FILES): Add back Mono.CSharp.Debugger.
|
||||
(tmpinst-dir-contents, $(tmpinst)/bin/mono.bat): Remove mono.bat
|
||||
in W32. Use 'mono' and 'mcs' in W32 too.
|
||||
(bootstrap) [PLATFORM_WIN32]: Back to single stage bootstrap.
|
||||
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Don't mention
|
||||
nunit.*, IBM.Data.DB2, ICSharpCode.SharpZipLib.
|
||||
Fix for #60443, the GAC .DLL-Hell.
|
||||
|
||||
2004-06-22 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (bootstrap) [PLATFORM_WIN32]: Make two-stage.
|
||||
|
||||
2004-06-18 Jackson Harper <[email protected]>
|
||||
|
||||
* man/mono.1: Add MONO_LOG_LEVEL and MONO_LOG_MASK. Add
|
||||
instructions on setting multiple mask values.
|
||||
|
||||
Fri Jun 18 19:39:09 CEST 2004 Paolo Molaro <[email protected]>
|
||||
|
||||
* Makefile.am: process data before runtime, so the config file is
|
||||
installed and gacutil has a chance to work (finding symlink).
|
||||
|
||||
2004-06-18 Raja R Harinath <[email protected]>
|
||||
|
||||
* runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
|
||||
Test if files exist in the mcs/ tree before creating symlinks.
|
||||
Remove symlinks before creating them again.
|
||||
* runtime/net_1_1/Makefile.am (mscorlib.dll $(gac_assemblies)): Likewise.
|
||||
* runtime/net_2_0/Makefile.am (mscorlib.dll $(gac_assemblies)): Likewise.
|
||||
|
||||
2004-06-18 Raja R Harinath <[email protected]>
|
||||
|
||||
* scripts/Makefile.am (REWRITE): New. Common rewriting 'sed' command.
|
||||
(bin_SCRIPTS): Unify all the script generating rules into one.
|
||||
|
||||
2004-06-16 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (bootstrap) [PLATFORM_WIN32]: Open code. Don't
|
||||
build and populate net_2_0 profile.
|
||||
(populate-runtime-subdir): Make into subroutine that takes list of
|
||||
profiles to populate.
|
||||
(faststrap): Update.
|
||||
(MCS_DIRS, MCS_FILES, MONO_CSHARP_DEBUGGER_DIR, MONO_CSHARP_DEBUGGER_FILE):
|
||||
Avoid automake conditional/+= problems.
|
||||
(populate-runtime-subdir): Rewrite sanity check.
|
||||
|
||||
2004-06-16 Raja R Harinath <[email protected]>
|
||||
|
||||
Include prototype completely-untested 'make bootstrap' support for W32.
|
||||
* Makefile.am (bootstrap): Define to fasterstrap for W32.
|
||||
(MCS_DIRS, MCS_FILES): Don't refer to Mono.CSharp.Debugger in W32.
|
||||
(tmpinst-dir): Change sub-make invoke to ...
|
||||
(tmpinst-dir-contents): ... this. Build 'mono.bat' in W32 instead
|
||||
of 'mono' and 'mcs'.
|
||||
($(tmpinst)/bin/mono.bat): New.
|
||||
|
||||
2004-06-15 Dick Porter <[email protected]>
|
||||
|
||||
* configure.in: Check for struct ip_mreqn and struct ip_mreq on
|
||||
windows too. Fixes bug 55040.
|
||||
|
||||
Mon Jun 14 18:38:34 CEST 2004 Paolo Molaro <[email protected]>
|
||||
|
||||
* configure.in: better explain that --with-nptl is not related to
|
||||
NPTL, but to __thread support. Set sigaltstack support to off by
|
||||
default.
|
||||
|
||||
2004-06-12 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (populate-runtime-subdir): Add _tmpinst directory
|
||||
to the PATH.
|
||||
|
||||
2004-06-11 Jackson Harper <[email protected]>
|
||||
|
||||
* runtime/net_2_0/Makefile.am:
|
||||
* runtime/net_1_1/Makefile.am: Remove signing patches
|
||||
|
||||
2004-06-11 Jackson Harper <[email protected]>
|
||||
|
||||
* man/mono.1: Add documentation for MONO_GAC_PREFIX.
|
||||
* runtime/net_2_0/Makefile.am:
|
||||
* runtime/net_1_1/Makefile.am: Sign assemblies before
|
||||
installing. Do not sign ziplib, npgsql, or nunit assemblies. Sign mscorlib.
|
||||
|
||||
2004-06-11 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (populate-runtime-subdir): New target. Does a
|
||||
controlled "make install" in the 'mcs/' directory to populate the
|
||||
'runtime' directory.
|
||||
(fasterstrap): Use it.
|
||||
|
||||
2004-06-10 Raja R Harinath <[email protected]>
|
||||
|
||||
* runtime/Makefile.am ($(monoone_DATA),$(monotwo_DATA),$(monobins_DATA)):
|
||||
Don't copy from prefix. Use $(LN_S) to point to the mcs/ tree.
|
||||
* runtime/net_1_1/Makefile.am (mscorlib.dll,$(gac_assemblies)):
|
||||
Use $(LN_S) to point to the mcs/ tree, rather than copying.
|
||||
* runtime/net_2_0/Makefile.am (mscorlib.dll,$(gac_assemblies)): Likewise.
|
||||
|
||||
2004-06-10 Raja R Harinath <[email protected]>
|
||||
|
||||
Support the new assembly signing setup in mcs/.
|
||||
* Makefile.am (mcs-do-basic-build): Pass 'USE_BOOT_COMPILE' to sub-makes.
|
||||
($(tmpinst)/etc/mono/machine.config): New target.
|
||||
(tmpinst-dir.stamp): Remove and rewrite into ...
|
||||
($(tmpinst)/bin/mcs): ... this and ...
|
||||
($(tmpinst)/bin/mono): ... this. Update to use the in-tree machine.config.
|
||||
(tmpinst-dir): Rewrite to invoke above $(tmpinst)/... targets directly.
|
||||
* configure.in (AC_PROG_LN_S): New check to define $(LN_S).
|
||||
|
||||
Thu Jun 3 14:39:17 CEST 2004 Paolo Molaro <[email protected]>
|
||||
|
||||
* configure.in: libc setting for NetBSD (patch from [email protected]).
|
||||
|
||||
2004-06-01 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (bootstrap,faststrap,fasterstrap): Refactor.
|
||||
Fix 'faststrap' to be corlib-version-change-safe.
|
||||
(one-stage-strap,two-stage-strap,three-stage-strap): Remove.
|
||||
(monolite-bootstrap): Update.
|
||||
|
||||
2004-05-31 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* configure.in: fixlets for windows.
|
||||
|
||||
2004-05-29 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in: export CC instead of passing it to libgc/configure.
|
||||
|
||||
2004-05-28 Duncan Mak <[email protected]>
|
||||
|
||||
* runtime/Makefile.am:
|
||||
* scripts/Makefile.am: Include mono-find-provides and
|
||||
mono-find-requires.
|
||||
|
||||
* scripts/mono-find-provides.in:
|
||||
* scripts/mono-find-requires.in: New wrapper scripts.
|
||||
|
||||
2004-05-27 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in: Pass CC to libgc configure.
|
||||
|
||||
2004-05-27 Gert Driesen ([email protected])
|
||||
|
||||
* monowiz.win32.nsi: normalized line-endings to unix (LF)
|
||||
|
||||
2004-05-27 Gert Driesen ([email protected])
|
||||
|
||||
* monowiz.win32.nsi: do not include mono subdirectory in
|
||||
MonoConfigDir registry key, to match batch files
|
||||
|
||||
2004-05-26 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* data/DefaultWsdlHelpGenerator.aspx: fixed querystring attribute
|
||||
values. Now they are URlEncoded.
|
||||
|
||||
* data/browscap.ini.gz: updated.
|
||||
|
||||
2004-05-26 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (mcs-do-basic-build): No need to set MCS here.
|
||||
* runtime/net_1_1/Makefile.am (gac_assemblies_list): Update to
|
||||
reflect new names for nunit.util and nunit.framework. Add
|
||||
nunit.core.
|
||||
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Likewise.
|
||||
|
||||
2004-05-25 Ben Maurer <[email protected]>
|
||||
|
||||
* config.h.in: remove
|
||||
|
||||
2004-05-25 18:30 CET Patrik Torstensson <[email protected]>
|
||||
|
||||
* configure.in: Check for trunc instead of truncl (HAVE_TRUNC)
|
||||
|
||||
2004-05-21 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* Makefile.am:
|
||||
* monowiz.win32.nsi: improved windows installer script.
|
||||
|
||||
2004-05-21 Raja R Harinath <[email protected]>
|
||||
|
||||
* README: Update to include instructions for the various new
|
||||
bootstrap-like targets.
|
||||
|
||||
2004-05-20 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (get-monolite-latest, monolite-bootstrap):
|
||||
New bootstrap targets to build from monolite.
|
||||
Based on idea from Jaroslaw Kowalski <[email protected]>.
|
||||
|
||||
2004-05-20 Raja R Harinath <[email protected]>
|
||||
|
||||
* configure.in (AC_OUTPUT): Add tools/Makefile and
|
||||
tools/locale-builder/Makefile.
|
||||
* Makefile.am (SUBDIRS): Remove tools.
|
||||
(DIST_SUBDIRS): Add 'tools'.
|
||||
(bootstrap): Rewrite so that we get two new targets.
|
||||
(faststrap): New two-stage build.
|
||||
(fasterstrap): New one-stage build.
|
||||
|
||||
2004-05-19 Jackson Harper <[email protected]>
|
||||
|
||||
* tools/
|
||||
* tools/Makefile.am: Add tools directory
|
||||
* tools/locale-builder: Add the locale-builder tool, this tool is
|
||||
not built by default as it is only needed by people that wish to
|
||||
moidify culture data.
|
||||
* Makefile.am: Add tools to build
|
||||
|
||||
Wed May 19 13:22:19 EDT 2004 Paolo Molaro <[email protected]>
|
||||
|
||||
* configure.in: make MacOSX default to use the included libgc.
|
||||
|
||||
2004-05-18 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in: Get rid of -DMONO_USE_EXC_TABLES.
|
||||
|
||||
2004-05-19 Raja R Harinath <[email protected]>
|
||||
|
||||
* configure.in: Use proper autoconf idiom to pass additional
|
||||
arguments to libgc/configure.
|
||||
(PLATFORM_WIN32, NEED_LINK_UNLINK): Use three-argument AC_DEFINE.
|
||||
* acconfig.h: Update to reflect changes.
|
||||
|
||||
2004-05-17 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (tmpinst-dir): Creates _tmpinst tree if
|
||||
necessary. Move body ...
|
||||
(tmpinst-dir.stamp): ... here.
|
||||
(stage3): Don't remove _tmpinst tree.
|
||||
(bootstrap-clean, bootstrap-check): New rules. They run the
|
||||
corresponding rules in the mcs/ tree.
|
||||
|
||||
2004-05-14 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am: Revert unlogged unexplained changes.
|
||||
(stage3): Make 'all-profiles' since the mono source tarball
|
||||
carries all the net_2_0 preview dlls.
|
||||
|
||||
2004-05-11 Jackson Harper <[email protected]>
|
||||
|
||||
* runtime/net_1_1/Makefile.am:
|
||||
* runtime/net_2_0/Makefile.am: cscompmgd.dll is lowercase now.
|
||||
|
||||
2004-05-10 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile.am (tmpinst-dir): Always add $tmpinst/lib to MONO_PATH.
|
||||
Fix quoting of commands.
|
||||
|
||||
2004-05-08 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* monowiz.win32.nsi: some changes i made to build the 0.91 win32 setup
|
||||
file.
|
||||
|
||||
2004-05-07 Bernie Solomon <[email protected]>
|
||||
|
||||
* man/mono.1: mention MONO_EGD_SOCKET
|
||||
|
||||
2004-05-07 Raja R Harinath <[email protected]>
|
||||
|
||||
Goodbye 'fullbuild', hello 'bootstrap'.
|
||||
* Makefile.am (bootstrap): New target for building from CVS. New
|
||||
improved version of 'fullbuild' -- does not install any files.
|
||||
(fullbuild): Obsolete target. Bootstraps and installs tree.
|
||||
(mcs-tree-safe-build,xinstall-runtime,mcs-rest,remove-binaries):
|
||||
Removed.
|
||||
(stage1,stage1-mcs,stage1-mono,stage2,stage3)
|
||||
(tmpinst-dir,tmpinst-runtime): New targets used to implement a
|
||||
two-stage bootstrap.
|
||||
|
||||
2004-05-05 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* configure.in: scandir check is no longer needed.
|
||||
|
||||
2004-05-05 Bernie Solomon <[email protected]>
|
||||
|
||||
* configure.in: set LIBC on HPUX
|
||||
|
||||
2004-05-05 Zoltan Varga <[email protected]>
|
||||
|
||||
* configure.in: Detect JNI headers in GNU classpath sources as well.
|
||||
|
||||
2004-05-05 Raja R Harinath <[email protected]>
|
||||
|
||||
* runtime/net_2_0/Makefile.am (install-data-local, uninstall-local):
|
||||
Only disable this if INSTALL_2_0 is disabled.
|
||||
|
||||
2004-05-05 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* data/DefaultWsdlHelpGenerator.aspx: add any cookie in the request to
|
||||
the request we do for the actual web service.
|
||||
|
||||
2004-05-04 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* configure.in: check for SIGEV_THREAD being defined before checking
|
||||
for AIO support. Fixes compilation under FreeBSD.
|
||||
|
||||
2004-05-04 Raja R Harinath <[email protected]>
|
||||
|
||||
* runtime/net_1_1/Makefile.am (mono_runtime): Use USE_JIT, not
|
||||
JIT_SUPPORTED.
|
||||
(install-data-local, uninstall-data-local): Run runtime with
|
||||
libtool.
|
||||
* runtime/net_2_0/Makefile.am: Likewise.
|
||||
Report from Urs C Muff <[email protected]>.
|
||||
|
||||
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
|
||||
@@ -1319,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.
|
||||
|
||||
+25
-211
@@ -1,11 +1,8 @@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
ACLOCAL_AMFLAGS = -I .
|
||||
|
||||
SUBDIRS = $(libgc_dir) mono $(ikvm_jni_dir) docs data runtime scripts man samples support web
|
||||
SUBDIRS = @libgc_dir@ mono web docs runtime scripts man data samples support
|
||||
|
||||
# Keep in sync with SUBDIRS
|
||||
## 'tools' is not normally built
|
||||
DIST_SUBDIRS = libgc mono ikvm-jni docs data runtime scripts man samples support web tools
|
||||
# EXTRA_SUBDIRS = libgc
|
||||
|
||||
EXTRA_DIST= mono.pc.in mono.spec.in mint.pc.in
|
||||
|
||||
@@ -18,220 +15,31 @@ endif
|
||||
DISTCLEANFILES= mono.pc mint.pc
|
||||
|
||||
#
|
||||
# The following targets are used to compile and install
|
||||
# The following target is used to compile and install
|
||||
# mono and mcs without running into the out-of-sync
|
||||
# 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: bootstrap faststrap fasterstrap bootstrap-clean bootstrap-check get-monolite-latest monolite-bootstrap
|
||||
.PHONY: tmpinst-dir tmpinst-mcs-basic-build tmpinst-mcs-short-build tmpinst-mcs-full-build tmpinst-monolite
|
||||
.PHONY: mono-do-runtime-only mcs-do-basic-build mcs-do-short-build mcs-do-full-build mcs-do-clean-profiles mcs-do-run-test
|
||||
.PHONY: populate-runtime-subdir
|
||||
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
|
||||
|
||||
if USE_JIT
|
||||
mono_runtime = mono/mini/mono
|
||||
else
|
||||
mono_runtime = mono/interpreter/mint
|
||||
endif
|
||||
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)
|
||||
|
||||
# Minimal set of directories to build, and files used to run the 'mcs' compiler
|
||||
MCS_BASIC_DIRS = jay mcs class/corlib class/System
|
||||
MCS_BASIC_FILES = \
|
||||
$(mcs_topdir)/mcs/mcs.exe \
|
||||
$(mcs_topdir)/class/lib/default/mscorlib.dll \
|
||||
$(mcs_topdir)/class/lib/default/System.dll
|
||||
mcs-rest:
|
||||
(cd ../mcs/class; $(MAKE))
|
||||
|
||||
# Set of directories and files the 'mcs' compiler can use
|
||||
## We build class/System twice to resolve the cyclic dependency of class/System.XML
|
||||
MCS_DIRS = $(MCS_BASIC_DIRS) class/System.XML class/System class/Mono.CSharp.Debugger
|
||||
MCS_FILES = $(MCS_BASIC_FILES) \
|
||||
$(mcs_topdir)/class/lib/default/System.Xml.dll \
|
||||
$(mcs_topdir)/class/lib/default/Mono.CompilerServices.SymbolWriter.dll
|
||||
remove-binaries:
|
||||
rm ../mcs/class/lib/mscorlib.dll ../mcs/mcs/mcs.exe runtime/*dll runtime/*.exe > /dev/null 2>&1; echo
|
||||
|
||||
tmpinst = _tmpinst
|
||||
|
||||
if PLATFORM_WIN32
|
||||
|
||||
populate_profiles = default:net_1_1
|
||||
|
||||
# bootstraps using the .NET C# compiler
|
||||
bootstrap: tmpinst-dir mono-do-runtime-only
|
||||
$(MAKE) fasterstrap
|
||||
|
||||
else
|
||||
|
||||
populate_profiles = default:net_1_1 net_2_0:net_2_0
|
||||
|
||||
bootstrap: tmpinst-mcs-basic-build mono-do-runtime-only
|
||||
$(MAKE) tmpinst-mcs-short-build
|
||||
$(MAKE) fasterstrap
|
||||
|
||||
endif
|
||||
|
||||
faststrap: tmpinst-mcs-short-build
|
||||
$(MAKE) mono-do-runtime-only
|
||||
$(MAKE) fasterstrap
|
||||
|
||||
fasterstrap: tmpinst-mcs-full-build
|
||||
$(MAKE) populate-runtime-subdir
|
||||
$(MAKE)
|
||||
|
||||
bootstrap-clean: clean mcs-do-clean-profiles
|
||||
|
||||
bootstrap-check: check mcs-do-run-test-profiles #mono-do-testjit
|
||||
|
||||
mono-do-testjit: $(tmpinst)/bin/ilasm
|
||||
tmpinst=`cd $(tmpinst) && pwd` ; \
|
||||
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
|
||||
cd mono/tests && $(MAKE) test
|
||||
|
||||
# building with monolite
|
||||
|
||||
get-monolite-latest:
|
||||
wget -O $(srcdir)/../monolite-latest.tar.gz http://www.go-mono.com/daily/monolite-latest.tar.gz
|
||||
|
||||
monolite-bootstrap: tmpinst-monolite mono-do-runtime-only
|
||||
rm -f $(MCS_FILES)
|
||||
$(MAKE) tmpinst-mcs-short-build
|
||||
$(MAKE) fasterstrap
|
||||
|
||||
bootstrap-world:
|
||||
$(MAKE) bootstrap-clean
|
||||
$(MAKE) bootstrap
|
||||
$(MAKE) install
|
||||
$(MAKE) mcs-do-compiler-tests
|
||||
|
||||
# internal targets
|
||||
|
||||
tmpinst-mcs-basic-build: mcs-do-basic-build tmpinst-dir
|
||||
mv -f $(MCS_BASIC_FILES) $(tmpinst)/lib
|
||||
|
||||
tmpinst-mcs-short-build: mcs-do-short-build tmpinst-dir
|
||||
mv -f $(MCS_FILES) $(tmpinst)/lib
|
||||
|
||||
tmpinst-mcs-full-build: mcs-do-full-build tmpinst-dir
|
||||
cp -f $(MCS_FILES) $(tmpinst)/lib
|
||||
|
||||
tmpinst-monolite: tmpinst-dir
|
||||
-rm -f $(tmpinst)/lib/mcs.exe $(tmpinst)/lib/*.dll
|
||||
-rm -fr $(tmpinst)/monolite-*
|
||||
srcdir=`cd $(srcdir) && pwd` && cd $(tmpinst) && ( gzip -d -c $$srcdir/../monolite-latest.tar.gz | tar xf - )
|
||||
mv -f $(tmpinst)/monolite-*/mcs.exe $(tmpinst)/monolite-*/*.dll $(tmpinst)/lib
|
||||
rm -fr $(tmpinst)/monolite-*
|
||||
|
||||
# Build enough of 'mono' to run the stage1 mcs.exe
|
||||
mono-do-runtime-only: $(CONFIG_HEADER)
|
||||
for dir in $(libgc_dir) mono data; do \
|
||||
(cd $$dir && $(MAKE)) || exit 1 ; \
|
||||
done
|
||||
|
||||
mcs-do-basic-build:
|
||||
rm -f $(MCS_FILES)
|
||||
for dir in $(MCS_BASIC_DIRS); do \
|
||||
(cd $(mcs_topdir)/$$dir && $(MAKE) PROFILE=default NO_SIGN_ASSEMBLY=yes USE_BOOT_COMPILE=yes BOOTSTRAP_MCS="mcs -d:BOOTSTRAP_WITH_OLDLIB") || exit 1 ; \
|
||||
done
|
||||
|
||||
mcs-do-short-build:
|
||||
tmpinst=`cd $(tmpinst) && pwd` ; \
|
||||
PATH=$$tmpinst/bin:$$PATH; export PATH ; \
|
||||
for dir in $(MCS_DIRS); do \
|
||||
(cd $(mcs_topdir)/$$dir && $(MAKE) PROFILE=default NO_SIGN_ASSEMBLY=yes) || exit 1 ; \
|
||||
done
|
||||
|
||||
mcs-do-full-build:
|
||||
tmpinst=`cd $(tmpinst) && pwd` ; \
|
||||
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
|
||||
cd $(mcs_topdir) && $(MAKE) NO_SIGN_ASSEMBLY=yes all-profiles
|
||||
|
||||
mcs-do-clean-profiles:
|
||||
cd $(mcs_topdir) && $(MAKE) clean-profiles
|
||||
|
||||
mcs-do-run-test-profiles: tmpinst-dir $(tmpinst)/bin/mbas $(tmpinst)/bin/ilasm $(tmpinst)/bin/pedump
|
||||
tmpinst=`cd $(tmpinst) && pwd` ; \
|
||||
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
|
||||
cd $(mcs_topdir) && $(MAKE) run-test-profiles
|
||||
|
||||
mcs-do-compiler-tests:
|
||||
tmpinst=`cd $(tmpinst) && pwd` ; \
|
||||
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
|
||||
cd $(mcs_topdir) && $(MAKE) compiler-tests
|
||||
|
||||
populate-runtime-subdir:
|
||||
test -n '$(populate_profiles)'
|
||||
@srcdir=`cd $(srcdir) && pwd`; tmpinst=`pwd`/$(tmpinst) ; \
|
||||
PATH=$$tmpinst/bin:$$PATH ; export PATH ; \
|
||||
for profile in $(populate_profiles); do \
|
||||
( set fnord `echo $$profile | sed 's,:, ,g'` && \
|
||||
echo "cd $(mcs_topdir) && $(MAKE) PROGRAM_INSTALL_DIR=$$srcdir/runtime PROFILE=$$2 LIBRARY_INSTALL_DIR=$$srcdir/runtime/$$3 prefix=$$tmpinst/prefix install" && \
|
||||
cd $(mcs_topdir) && \
|
||||
$(MAKE) PROGRAM_INSTALL_DIR=$$srcdir/runtime PROFILE=$$2 LIBRARY_INSTALL_DIR=$$srcdir/runtime/$$3 prefix=$$tmpinst/prefix install ) || exit 1 ; \
|
||||
done
|
||||
find $(tmpinst)/prefix -type f -name '*jay*' -exec rm -f '{}' ';'
|
||||
for i in `find $(tmpinst)/prefix -type d -name '*jay*' -print`; do rm -f $$i/*; done
|
||||
test -z "`find $(tmpinst)/prefix -type f -print`"
|
||||
rm -rf $(tmpinst)/prefix
|
||||
|
||||
tmpinst-dir:
|
||||
mkdir -p $(tmpinst) $(tmpinst)/bin $(tmpinst)/lib $(tmpinst)/etc/mono/1.0 $(tmpinst)/etc/mono/2.0
|
||||
$(MAKE) tmpinst-dir-contents
|
||||
|
||||
tmpinst-dir-contents: $(tmpinst)/bin/mono $(tmpinst)/bin/mcs $(tmpinst)/etc/mono/1.0/machine.config $(tmpinst)/etc/mono/2.0/machine.config
|
||||
|
||||
if PLATFORM_WIN32
|
||||
|
||||
$(tmpinst)/bin/mono: $(srcdir)/Makefile.am
|
||||
echo '#! /bin/sh' > $@
|
||||
echo 'builddir="'`pwd`'"; win_builddir="'`cygpath -w -a .`'"' >> $@
|
||||
echo 'tmpinst="$$win_builddir\\$(tmpinst)"' >> $@
|
||||
echo 'if test -z "$$MONO_PATH" ; then MONO_PATH="$$tmpinst\\lib"; else MONO_PATH="$${MONO_PATH};$$tmpinst\\lib" ; fi' >> $@
|
||||
echo 'MONO_CFG_DIR="$$tmpinst\\etc"' >> $@
|
||||
echo 'export MONO_PATH MONO_CFG_DIR' >> $@
|
||||
echo 'exec "$$builddir/libtool" --mode=execute "$$builddir/$(mono_runtime).exe" "$$@"' >> $@
|
||||
chmod +x $@
|
||||
|
||||
else
|
||||
|
||||
$(tmpinst)/bin/mono: $(srcdir)/Makefile.am
|
||||
echo '#! /bin/sh' > $@
|
||||
echo 'builddir="'`pwd`'"; tmpinst=$$builddir/$(tmpinst)' >> $@
|
||||
echo 'if test -z "$$MONO_PATH" ; then MONO_PATH=$$tmpinst/lib; else MONO_PATH=$${MONO_PATH}:$$tmpinst/lib ; fi' >> $@
|
||||
echo 'MONO_CFG_DIR=$$tmpinst/etc' >> $@
|
||||
echo 'export MONO_PATH MONO_CFG_DIR' >> $@
|
||||
echo 'exec "$$builddir/libtool" --mode=execute "$$builddir/$(mono_runtime)" --config "$$builddir/data/config" "$$@"' >> $@
|
||||
chmod +x $@
|
||||
|
||||
endif
|
||||
|
||||
$(tmpinst)/bin/pedump: $(srcdir)/Makefile.am
|
||||
(b=`pwd`; echo '#! /bin/sh'; echo 'exec "'"$$b/libtool"'" --mode=execute "'"$$b/mono/metadata/pedump"'" "$$@"') > $@
|
||||
chmod +x $@
|
||||
|
||||
$(tmpinst)/bin/mcs: $(srcdir)/Makefile.am
|
||||
(t=`cd $(tmpinst) && pwd`; echo '#! /bin/sh'; echo 'exec "'"$$t/bin/mono"'" "'"$$t/lib/mcs.exe"'" "$$@"') > $@
|
||||
chmod +x $@
|
||||
|
||||
# Used only by 'bootstrap-check' -- so, can safely use runtime/.
|
||||
$(tmpinst)/bin/mbas $(tmpinst)/bin/ilasm: $(srcdir)/Makefile.am
|
||||
t=`cd $(tmpinst) && pwd`; r=`cd $(srcdir)/runtime && pwd`; \
|
||||
( echo '#! /bin/sh'; echo 'exec "'"$$t/bin/mono"'" "'"$$r/$(@F).exe"'" "$$@"' ) > $@
|
||||
chmod +x $@
|
||||
|
||||
$(tmpinst)/etc/mono/1.0/machine.config: $(srcdir)/data/net_1_1/machine.config
|
||||
rm -f $@
|
||||
srcdir=`cd $(srcdir) && pwd`; cd $(tmpinst)/etc/mono/1.0 && $(LN_S) $$srcdir/data/net_1_1/machine.config machine.config
|
||||
|
||||
$(tmpinst)/etc/mono/2.0/machine.config: $(srcdir)/data/net_2_0/machine.config
|
||||
rm -f $@
|
||||
srcdir=`cd $(srcdir) && pwd`; cd $(tmpinst)/etc/mono/2.0 && $(LN_S) $$srcdir/data/net_2_0/machine.config machine.config
|
||||
|
||||
# Obsolete target -- don't use.
|
||||
.PHONY: fullbuild
|
||||
fullbuild: bootstrap
|
||||
$(MAKE) install
|
||||
echo "*** 'fullbuild' is an obsolete target. Use 'make bootstrap && make install'."
|
||||
exit 1
|
||||
|
||||
win32getdeps:
|
||||
wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
|
||||
@@ -250,4 +58,10 @@ win32getdeps:
|
||||
unzip -n -d / nsis4cygwin.zip
|
||||
|
||||
win32setup:
|
||||
makensis /DMILESTONE=$(VERSION) /DSOURCE_INSTALL_DIR=$(SOURCE_INSTALL_DIR) /DBUILDNUM=$(BUILDNUM) monowiz.win32.nsi
|
||||
cp /usr/lib/libglib-2.0-0.dll @prefix@/lib
|
||||
cp /usr/lib/iconv.dll @prefix@/lib
|
||||
cp /usr/lib/libgmodule-2.0-0.dll @prefix@/lib
|
||||
cp /usr/lib/libgobject-2.0-0.dll @prefix@/lib
|
||||
cp /usr/lib/libgthread-2.0-0.dll @prefix@/lib
|
||||
cp /usr/lib/libintl-1.dll @prefix@/lib
|
||||
makensis /DMILESTONE=@VERSION@ /DSOURCE_INSTALL_DIR=`cygpath -a -w @prefix@`\\* monowiz.win32.nsi
|
||||
@@ -59,31 +59,14 @@ This is Mono.
|
||||
|
||||
tar xzf mcs-XXXX.tar.gz
|
||||
tar xzf mono-XXXX.tar.gz
|
||||
mv mono-XXX mono
|
||||
mv mcs-XXX mcs
|
||||
cd mono
|
||||
cd mono-XXXX
|
||||
./autogen.sh --prefix=/usr/local
|
||||
make bootstrap
|
||||
make fullbuild
|
||||
|
||||
c. Building the software from CVS
|
||||
---------------------------------
|
||||
|
||||
If you are building the software from CVS, make sure that you
|
||||
have up-to-date mcs and mono sources:
|
||||
|
||||
cvs co mono mcs
|
||||
|
||||
Then, go into the mono directory, and configure:
|
||||
|
||||
cd mono
|
||||
./autogen.sh --prefix=/usr/local
|
||||
|
||||
Depending on whether you have an existing Mono installation or
|
||||
not, you can try the following:
|
||||
|
||||
i. If you have an existing Mono installation
|
||||
-----------------------------------------
|
||||
c. Upgrade from CVS
|
||||
-------------------
|
||||
|
||||
If you are upgrading from CVS you will need an existing Mono installation.
|
||||
First verify that you have a working installation:
|
||||
|
||||
echo 'class X { static void Main () { System.Console.Write("OK");}}' > x.cs
|
||||
@@ -96,86 +79,25 @@ This is Mono.
|
||||
|
||||
mono x.exe
|
||||
|
||||
If you get the output `OK' and no errors, and you have mono
|
||||
version 0.31 or later, continue. Otherwise, you can try option
|
||||
(ii) below.
|
||||
If you get the output `OK' and no errors, you are ready to start your CVS upgrade.
|
||||
|
||||
You are ready to start your CVS upgrade. Compile with
|
||||
First, make sure that you have up-to-date mcs and mono sources:
|
||||
|
||||
make bootstrap
|
||||
cvs co mono mcs
|
||||
|
||||
This will automatically go into the mcs/ tree and build the
|
||||
binaries there, and copy them into the appropriate
|
||||
sub-directories of mono/runtime/.
|
||||
Then, go into the mono directory, and configure:
|
||||
|
||||
Now, go to step (iii) below.
|
||||
cd mono
|
||||
./autogen.sh --prefix=/usr/local
|
||||
|
||||
ii. If you don't have a working Mono installation
|
||||
---------------------------------------------
|
||||
Then compile using the special target `fullbuild':
|
||||
|
||||
If you don't have a working Mono installation, an obvious choice
|
||||
is to install the latest released packages of 'mono' for your
|
||||
distribution and go back to step (i).
|
||||
make fullbuild
|
||||
|
||||
You can also try a slightly more risky approach that should work
|
||||
almost all the time.
|
||||
|
||||
This works by first getting the latest version of the 'monolite'
|
||||
distribution, which contains just enough to run the 'mcs'
|
||||
compiler. You do this by
|
||||
|
||||
make get-monolite-latest
|
||||
|
||||
This should place a monolite-latest.tar.gz in the parent
|
||||
directory of the 'mono' source tree. You can then run:
|
||||
|
||||
make monolite-bootstrap
|
||||
|
||||
This will automatically gunzip and untar the tarball, place the
|
||||
files appropriately, and then complete the bootstrap.
|
||||
|
||||
iii. Testing and Installation
|
||||
------------------------
|
||||
|
||||
You can run the mono and mcs testsuites with the command:
|
||||
|
||||
make -k bootstrap-check
|
||||
|
||||
Expect to find several testsuite failures, especially in the
|
||||
mcs/ tree. As a sanity check, you can compare the failures you
|
||||
got with
|
||||
|
||||
http://go-mono.com/tests/displayTestResults.php
|
||||
|
||||
You can now install it:
|
||||
|
||||
make install
|
||||
This step will compile and install at the same time.
|
||||
|
||||
Failure to follow these steps will result in a broken installation.
|
||||
|
||||
iv. Other useful "bootstrap"-like facilities
|
||||
----------------------------------------
|
||||
|
||||
If you have a CVS snapshot that you keep updating periodically,
|
||||
and/or do your development in, you may try using a couple of
|
||||
specialty make targets that may be slightly faster than a
|
||||
"make bootstrap".
|
||||
|
||||
You can try a two-stage bootstrap with:
|
||||
|
||||
make faststrap
|
||||
|
||||
This assumes that you have already run a "make bootstrap" on the
|
||||
tree before.
|
||||
|
||||
If you want to avoid waiting even for that, you can try the
|
||||
riskier one-stage build:
|
||||
|
||||
make fasterstrap
|
||||
|
||||
This should be attempted only if you're sure that the sources of
|
||||
the mcs compiler itself and the sources of the libraries used by
|
||||
it have not been changed.
|
||||
|
||||
2. Using Mono
|
||||
=============
|
||||
|
||||
+2
-1
@@ -10,6 +10,7 @@
|
||||
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
|
||||
#undef USE_MONO_MUTEX
|
||||
#undef HAVE_LARGE_FILE_SUPPORT
|
||||
#undef PLATFORM_WIN32
|
||||
#undef HAVE_NEW_ICONV
|
||||
#undef NAME_DEV_RANDOM
|
||||
#undef HAVE_CRYPT_RNG
|
||||
@@ -20,6 +21,7 @@
|
||||
#undef HAVE_TM_GMTOFF
|
||||
#undef MONO_SIZEOF_SUNPATH
|
||||
#undef MONO_ZERO_ARRAY_LENGTH
|
||||
#undef NEED_LINK_UNLINK
|
||||
#undef PTHREAD_POINTER_ID
|
||||
#undef HAVE_GC_H
|
||||
#undef HAVE_GC_GCJ_MALLOC
|
||||
@@ -33,5 +35,4 @@
|
||||
#undef HAVE_SOCKLEN_T
|
||||
#undef HAVE_TRUNCL
|
||||
#undef HAVE_AINTL
|
||||
#undef HAVE_SCANDIR
|
||||
#undef HAVE_WORKING_SIGALTSTACK
|
||||
+159
@@ -0,0 +1,159 @@
|
||||
/* config.h.in. Generated from configure.in by autoheader. */
|
||||
#undef HAVE_INET_PTON
|
||||
#undef HAVE_INET_ATON
|
||||
#undef HAVE_MSG_NOSIGNAL
|
||||
#undef HAVE_SOL_IP
|
||||
#undef HAVE_SOL_TCP
|
||||
#undef HAVE_SOL_IPV6
|
||||
#undef HAVE_IP_PKTINFO
|
||||
#undef HAVE_STRUCT_IP_MREQN
|
||||
#undef HAVE_STRUCT_IP_MREQ
|
||||
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
|
||||
#undef USE_MONO_MUTEX
|
||||
#undef HAVE_LARGE_FILE_SUPPORT
|
||||
#undef PLATFORM_WIN32
|
||||
#undef HAVE_NEW_ICONV
|
||||
#undef NAME_DEV_RANDOM
|
||||
#undef HAVE_CRYPT_RNG
|
||||
#undef HAVE_BOEHM_GC
|
||||
#undef USE_INCLUDED_LIBGC
|
||||
#undef DISABLE_SHARED_HANDLES
|
||||
#undef HAVE_TIMEZONE
|
||||
#undef HAVE_TM_GMTOFF
|
||||
#undef MONO_SIZEOF_SUNPATH
|
||||
#undef MONO_ZERO_ARRAY_LENGTH
|
||||
#undef NEED_LINK_UNLINK
|
||||
#undef PTHREAD_POINTER_ID
|
||||
#undef HAVE_GC_H
|
||||
#undef HAVE_GC_GCJ_MALLOC
|
||||
#undef HAVE_GC_ENABLE
|
||||
#undef WITH_BUNDLE
|
||||
#undef HAVE_GETHOSTBYNAME2_R
|
||||
#undef HAVE_ICU
|
||||
#undef HAVE_KW_THREAD
|
||||
#undef HAVE_SIGNBIT
|
||||
#undef USE_MACH_SEMA
|
||||
#undef HAVE_SOCKLEN_T
|
||||
#undef HAVE_TRUNCL
|
||||
#undef HAVE_AINTL
|
||||
#undef HAVE_WORKING_SIGALTSTACK
|
||||
|
||||
/* Define to 1 if you have the <aio.h> header file. */
|
||||
#undef HAVE_AIO_H
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <elf.h> header file. */
|
||||
#undef HAVE_ELF_H
|
||||
|
||||
/* Define to 1 if you have the `finite' function. */
|
||||
#undef HAVE_FINITE
|
||||
|
||||
/* Define to 1 if you have the <gc/gc.h> header file. */
|
||||
#undef HAVE_GC_GC_H
|
||||
|
||||
/* Define to 1 if you have the <gc.h> header file. */
|
||||
#undef HAVE_GC_H
|
||||
|
||||
/* Define to 1 if you have the `inet_aton' function. */
|
||||
#undef HAVE_INET_ATON
|
||||
|
||||
/* Define to 1 if you have the `inet_pton' function. */
|
||||
#undef HAVE_INET_PTON
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the `isfinite' function. */
|
||||
#undef HAVE_ISFINITE
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the <netdb.h> header file. */
|
||||
#undef HAVE_NETDB_H
|
||||
|
||||
/* Define to 1 if you have the `poll' function. */
|
||||
#undef HAVE_POLL
|
||||
|
||||
/* Define to 1 if you have the `pthread_attr_setstacksize' function. */
|
||||
#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
|
||||
|
||||
/* Define to 1 if you have the <pthread.h> header file. */
|
||||
#undef HAVE_PTHREAD_H
|
||||
|
||||
/* Define to 1 if you have the `pthread_mutex_timedlock' function. */
|
||||
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
|
||||
|
||||
/* Define to 1 if you have the <semaphore.h> header file. */
|
||||
#undef HAVE_SEMAPHORE_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <sys/filio.h> header file. */
|
||||
#undef HAVE_SYS_FILIO_H
|
||||
|
||||
/* Define to 1 if you have the <sys/sockio.h> header file. */
|
||||
#undef HAVE_SYS_SOCKIO_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/un.h> header file. */
|
||||
#undef HAVE_SYS_UN_H
|
||||
|
||||
/* Define to 1 if you have the `truncl' function. */
|
||||
#undef HAVE_TRUNCL
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the <utime.h> header file. */
|
||||
#undef HAVE_UTIME_H
|
||||
|
||||
/* Define to 1 if you have the <valgrind/memcheck.h> header file. */
|
||||
#undef HAVE_VALGRIND_MEMCHECK_H
|
||||
|
||||
/* Define to 1 if you have the <wchar.h> header file. */
|
||||
#undef HAVE_WCHAR_H
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* The size of a `void *', as computed by sizeof. */
|
||||
#undef SIZEOF_VOID_P
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
+90
-554
@@ -1,11 +1,9 @@
|
||||
AC_INIT(README)
|
||||
AC_CANONICAL_SYSTEM
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE(mono,1.1.2)
|
||||
AM_INIT_AUTOMAKE(mono,0.31)
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
AC_PROG_LN_S
|
||||
|
||||
dnl
|
||||
dnl libgc checks
|
||||
dnl
|
||||
@@ -32,29 +30,21 @@ AC_SUBST(libmono_ldflags)
|
||||
dnl if linker handles the version script
|
||||
no_version_script=no
|
||||
|
||||
# Set to yes if Unix sockets cannot be created in an anonymous namespace
|
||||
need_link_unlink=no
|
||||
|
||||
# Thread configuration inspired by sleepycat's db
|
||||
AC_MSG_CHECKING([host platform characteristics])
|
||||
libgc_threads=no
|
||||
case "$host" in
|
||||
*-*-mingw*|*-*-cygwin*)
|
||||
platform_win32=yes
|
||||
AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
|
||||
CC="gcc -mno-cygwin -g"
|
||||
AC_DEFINE(PLATFORM_WIN32)
|
||||
CC="gcc -mno-cygwin"
|
||||
HOST_CC="gcc"
|
||||
# So libgc configure gets -mno-cygwin
|
||||
export CC
|
||||
# latest libgc already defines GC_WIN32_THREADS
|
||||
# CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
|
||||
CPPFLAGS="$CPPFLAGS -DWIN32_THREADS"
|
||||
libdl=
|
||||
libgc_threads=win32
|
||||
gc_default=included
|
||||
with_nptl=default
|
||||
with_sigaltstack=no
|
||||
LN_S=cp
|
||||
gc_default=boehm
|
||||
;;
|
||||
*-*-*netbsd*)
|
||||
platform_win32=no
|
||||
@@ -62,80 +52,25 @@ case "$host" in
|
||||
libmono_cflags="-D_REENTRANT"
|
||||
LDFLAGS="$LDFLAGS -pthread"
|
||||
libmono_ldflags="-pthread"
|
||||
need_link_unlink=yes
|
||||
libdl=
|
||||
libgc_threads=no
|
||||
;;
|
||||
# these flags will work for all versions of -STABLE
|
||||
#
|
||||
*-*-*freebsd4*)
|
||||
platform_win32=no
|
||||
if test "x$PTHREAD_CFLAGS" = "x"; then
|
||||
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_FREEBSD_THREADS"
|
||||
libmono_cflags="-D_THREAD_SAFE"
|
||||
else
|
||||
CPPFLAGS="$CPPFLAGS $PTHREAD_CFLAGS -DGC_FREEBSD_THREADS"
|
||||
libmono_cflags="$PTHREAD_CFLAGS"
|
||||
fi
|
||||
if test "x$PTHREAD_LIBS" = "x"; then
|
||||
LDFLAGS="$LDFLAGS -pthread"
|
||||
libmono_ldflags="-pthread"
|
||||
else
|
||||
LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
|
||||
libmono_ldflags="$PTHREAD_LIBS"
|
||||
fi
|
||||
need_link_unlink=yes
|
||||
AC_DEFINE(PTHREAD_POINTER_ID)
|
||||
AC_DEFINE(NEED_LINK_UNLINK)
|
||||
libdl=
|
||||
libgc_threads=pthreads
|
||||
# TLS isn't implemented at all on -STABLE
|
||||
with_nptl=no
|
||||
with_tls=pthread
|
||||
;;
|
||||
# older versions of -CURRENT will break with these flags but testing
|
||||
# indicates these older versions won't run Mono anyway
|
||||
#
|
||||
*-*-*freebsd5*)
|
||||
*-*-*freebsd*|*-*-*openbsd*)
|
||||
platform_win32=no
|
||||
if test "x$PTHREAD_CFLAGS" = "x"; then
|
||||
CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS"
|
||||
libmono_cflags=
|
||||
else
|
||||
CPPFLAGS="$CPPFLAGS $PTHREAD_CFLAGS -DGC_FREEBSD_THREADS"
|
||||
libmono_cflags="$PTHREAD_CFLAGS"
|
||||
fi
|
||||
if test "x$PTHREAD_LIBS" = "x"; then
|
||||
LDFLAGS="$LDFLAGS -lpthread"
|
||||
libmono_ldflags="-lpthread"
|
||||
else
|
||||
LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
|
||||
libmono_ldflags="$PTHREAD_LIBS"
|
||||
fi
|
||||
need_link_unlink=yes
|
||||
AC_DEFINE(PTHREAD_POINTER_ID)
|
||||
libdl=
|
||||
libgc_threads=pthreads
|
||||
# TLS is only partially implemented on -CURRENT (compiler support
|
||||
# but NOT library support)
|
||||
#
|
||||
with_nptl=no
|
||||
with_tls=pthread
|
||||
;;
|
||||
*-*-*openbsd*)
|
||||
platform_win32=no
|
||||
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_FREEBSD_THREADS"
|
||||
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
|
||||
libmono_cflags="-D_THREAD_SAFE"
|
||||
LDFLAGS="$LDFLAGS -pthread"
|
||||
libmono_ldflags="-pthread"
|
||||
need_link_unlink=yes
|
||||
AC_DEFINE(NEED_LINK_UNLINK)
|
||||
AC_DEFINE(PTHREAD_POINTER_ID)
|
||||
libdl=
|
||||
libgc_threads=pthreads
|
||||
;;
|
||||
*-*-linux*)
|
||||
platform_win32=no
|
||||
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT"
|
||||
libmono_cflags="-D_REENTRANT"
|
||||
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions"
|
||||
libmono_cflags="-DMONO_USE_EXC_TABLES -fexceptions -D_REENTRANT"
|
||||
libmono_ldflags="-lpthread"
|
||||
libdl="-ldl"
|
||||
libgc_threads=pthreads
|
||||
@@ -148,27 +83,28 @@ case "$host" in
|
||||
libmono_cflags="-D_REENTRANT"
|
||||
libmono_ldflags="-lpthread"
|
||||
libgc_threads=pthreads
|
||||
need_link_unlink=yes
|
||||
AC_DEFINE(NEED_LINK_UNLINK)
|
||||
;;
|
||||
*-*-solaris*)
|
||||
platform_win32=no
|
||||
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
|
||||
need_link_unlink=yes
|
||||
AC_DEFINE(NEED_LINK_UNLINK)
|
||||
libmono_cflags="-D_REENTRANT"
|
||||
libgc_threads=pthreads
|
||||
;;
|
||||
*-*-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"
|
||||
need_link_unlink=yes
|
||||
AC_DEFINE(NEED_LINK_UNLINK)
|
||||
AC_DEFINE(PTHREAD_POINTER_ID)
|
||||
AC_DEFINE(USE_MACH_SEMA)
|
||||
no_version_script=yes
|
||||
libdl=
|
||||
libgc_threads=pthreads
|
||||
libgc_threads=no
|
||||
gc_default=none
|
||||
;;
|
||||
*)
|
||||
AC_MSG_WARN([*** Please add $host to configure.in checks!])
|
||||
@@ -177,12 +113,8 @@ case "$host" in
|
||||
;;
|
||||
esac
|
||||
AC_MSG_RESULT(ok)
|
||||
|
||||
if test x$need_link_unlink = xyes; then
|
||||
AC_DEFINE(NEED_LINK_UNLINK, 1, [Define if Unix sockets cannot be created in an anonymous namespace])
|
||||
fi
|
||||
|
||||
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
|
||||
@@ -219,20 +151,10 @@ 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)
|
||||
|
||||
AC_CHECK_HEADER(zlib.h, [have_zlib=yes], [have_zlib=no])
|
||||
|
||||
AM_CONDITIONAL(HAVE_ZLIB, test x$have_zlib = xyes)
|
||||
# for mono/mini/tramp-x86.c
|
||||
AC_CHECK_HEADERS(valgrind/memcheck.h)
|
||||
|
||||
# for mono/metadata/debug-symfile.c
|
||||
AC_CHECK_HEADERS(elf.h)
|
||||
@@ -299,50 +221,20 @@ AC_SUBST(GLIB_LIBS)
|
||||
AC_SUBST(GMODULE_CFLAGS)
|
||||
AC_SUBST(GMODULE_LIBS)
|
||||
|
||||
if test x$platform_win32 = xyes; then
|
||||
AC_MSG_CHECKING(for cygwin glib2-dev package)
|
||||
if [ cygcheck --f /usr/lib/libglib-2.0.dll.a | grep -q glib2-devel ]; then
|
||||
AC_MSG_RESULT(found)
|
||||
AC_MSG_ERROR([Mono cannot be built with the cygwin glib2-devel package installed, because that package doesn't work with -mno-cygwin. Please uninstall it then re-run configure.])
|
||||
else
|
||||
AC_MSG_RESULT(not found, ok)
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for broken gwin32.h)
|
||||
glib_include=`$PKG_CONFIG --cflags-only-I glib-2.0 | sed -e 's/ -I.*//g' | sed -e 's/-I//g'`
|
||||
if test -f $glib_include/glib/gwin32.h; then
|
||||
if [ grep ftruncate $glib_include/glib/gwin32.h | grep -q define ]; then
|
||||
AC_MSG_RESULT(failed)
|
||||
hashmark='#'
|
||||
AC_MSG_ERROR([Your version of gwin32.h is broken and will cause compilation errors when building mono. Please fix it by deleting the line: '$hashmark define ftruncate...' from '$glib_include/glib/gwin32.h' then re-run configure.])
|
||||
fi
|
||||
fi
|
||||
AC_MSG_RESULT(ok)
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(gc, [ --with-gc=boehm,included,none],[gc=$with_gc],[gc=$gc_default])
|
||||
|
||||
# Enable support for fast thread-local storage
|
||||
# Some systems have broken support, so we allow to disable it.
|
||||
AC_ARG_WITH(tls, [ --with-tls=__thread,pthread select Thread Local Storage implementation],[],[with_tls=__thread])
|
||||
|
||||
# Kept for compatibility
|
||||
AC_ARG_WITH(nptl, [ --with-nptl=yes,no deprecated, use --with-tls instead],[],[with_nptl=default])
|
||||
|
||||
if test "x$with_nptl" != "xdefault"; then
|
||||
if test "x$with_nptl" = "xyes"; then
|
||||
AC_MSG_WARN([--with-nptl=yes is deprecated, use --with-tls=__thread option instead.])
|
||||
with_tls=__thread
|
||||
fi
|
||||
if test "x$with_nptl" = "xno"; then
|
||||
AC_MSG_WARN([--with-nptl=no is deprecated, use --with-tls=pthread option instead.])
|
||||
with_tls=pthread
|
||||
fi
|
||||
fi
|
||||
# Enable support for NPTL only features like fast thread-local storage
|
||||
# We can't reliably detect nptl at compile & run time
|
||||
# so this option will stay until nptl becomes more widespread
|
||||
AC_ARG_WITH(nptl, [ --with-nptl=yes,no enable/disable support for NPTL],[],[with_nptl=yes])
|
||||
|
||||
# Enable support for using sigaltstack for SIGSEGV and stack overflow handling
|
||||
# This does not work on some platforms (bug #55253)
|
||||
AC_ARG_WITH(sigaltstack, [ --with-sigaltstack=yes,no enable/disable support for sigaltstack],[],[with_sigaltstack=no])
|
||||
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],[
|
||||
@@ -354,7 +246,6 @@ AM_CONDITIONAL(WITH_BUNDLE, test x$with_bundle != xno)
|
||||
|
||||
LIBGC_CFLAGS=
|
||||
LIBGC_LIBS=
|
||||
LIBGC_STATIC_LIBS=
|
||||
libgc_dir=
|
||||
case "x$gc" in
|
||||
xboehm|xbohem|xyes)
|
||||
@@ -371,7 +262,6 @@ case "x$gc" in
|
||||
AC_DEFINE(HAVE_BOEHM_GC)
|
||||
AC_SUBST(HAVE_BOEHM_GC)
|
||||
LIBGC_LIBS="-lgc $libdl"
|
||||
LIBGC_STATIC_LIBS="$LIBGC_LIBS"
|
||||
|
||||
# AC_CHECK_FUNCS does not work for some reason...
|
||||
AC_CHECK_LIB(gc, GC_gcj_malloc, found_gcj_malloc="yes",,$libdl)
|
||||
@@ -394,7 +284,6 @@ case "x$gc" in
|
||||
|
||||
LIBGC_CFLAGS='-I$(top_srcdir)/libgc/include'
|
||||
LIBGC_LIBS='$(top_builddir)/libgc/libmonogc.la'
|
||||
LIBGC_STATIC_LIBS='$(top_builddir)/libgc/libmonogc-static.la'
|
||||
|
||||
AC_DEFINE(HAVE_BOEHM_GC)
|
||||
AC_SUBST(HAVE_BOEHM_GC)
|
||||
@@ -415,14 +304,13 @@ case "x$gc" in
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# tell libgc/configure about what we want
|
||||
ac_configure_args="$ac_configure_args --disable-embed-check --with-libgc-threads=$libgc_threads"
|
||||
we_are_embedded_in_mono=yes
|
||||
export we_are_embedded_in_mono
|
||||
export libgc_threads
|
||||
|
||||
AM_CONDITIONAL(INCLUDED_LIBGC, test x$use_included_gc = xyes)
|
||||
AC_SUBST(LIBGC_CFLAGS)
|
||||
AC_SUBST(LIBGC_LIBS)
|
||||
AC_SUBST(LIBGC_STATIC_LIBS)
|
||||
AC_SUBST(libgc_dir)
|
||||
|
||||
dnl
|
||||
@@ -430,69 +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
|
||||
if test -f $with_jdk_dir/include/jni_md.h; then
|
||||
# GNU Classpath sources
|
||||
jdk_platform=
|
||||
else
|
||||
jdk_headers_found=no
|
||||
fi
|
||||
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)
|
||||
AC_CHECK_FUNCS(kqueue)
|
||||
|
||||
dnl ******************************************************************
|
||||
dnl *** Check for large file support ***
|
||||
dnl *** (If we were using autoconf 2.50 we'd use AC_SYS_LARGEFILE) ***
|
||||
@@ -734,20 +559,9 @@ if test x$platform_win32 = xno; then
|
||||
dnl *****************************
|
||||
dnl *** Checks for libpthread ***
|
||||
dnl *****************************
|
||||
# on FreeBSD -STABLE, the pthreads functions all reside in libc_r
|
||||
# and libpthread does not exist
|
||||
#
|
||||
case "${host}" in
|
||||
*-*-*freebsd4*)
|
||||
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -pthread")
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
|
||||
;;
|
||||
esac
|
||||
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;
|
||||
@@ -765,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_tls" != "x__thread"; 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_MSG_RESULT(no)
|
||||
with_tls=pthread
|
||||
])
|
||||
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
|
||||
AC_DEFINE(HAVE_KW_THREAD)
|
||||
fi
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
|
||||
dnl ********************************
|
||||
dnl *** Checks for semaphore lib ***
|
||||
@@ -976,70 +690,11 @@ if test x$platform_win32 = xno; then
|
||||
dnl *********************
|
||||
dnl *** Check for AIO ***
|
||||
dnl *********************
|
||||
AC_MSG_CHECKING([for SIGEV_THREAD definition])
|
||||
dnl Some systems (FreeBSD at least) may have aio_read
|
||||
dnl but don't support/define SIGEV_THREAD.
|
||||
AC_TRY_COMPILE([
|
||||
#include <sys/signal.h>
|
||||
],[
|
||||
int x = SIGEV_THREAD;
|
||||
],[
|
||||
ac_cv_c_sigev_thread=yes
|
||||
AC_MSG_RESULT(yes)
|
||||
],[
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
|
||||
if test "$ac_cv_c_sigev_thread" = "yes" ; then
|
||||
AC_CHECK_HEADERS(aio.h sys/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'])
|
||||
fi
|
||||
AC_CHECK_HEADERS(aio.h)
|
||||
AC_CHECK_LIB(rt, aio_read, [ LIBS="$LIBS -lrt" ],)
|
||||
else
|
||||
jdk_headers_found=no
|
||||
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?))
|
||||
AC_CHECK_LIB(ole32, main, LIBS="$LIBS -lole32", AC_ERROR(bad mingw install?))
|
||||
|
||||
dnl *********************************
|
||||
dnl *** Check for struct ip_mreqn ***
|
||||
dnl *********************************
|
||||
AC_MSG_CHECKING(for struct ip_mreqn)
|
||||
AC_TRY_COMPILE([#include <ws2tcpip.h>], [
|
||||
struct ip_mreqn mreq;
|
||||
mreq.imr_address.s_addr = 0;
|
||||
], [
|
||||
# Yes, we have it...
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_STRUCT_IP_MREQN)
|
||||
], [
|
||||
# We'll just have to try and use struct ip_mreq
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_CHECKING(for struct ip_mreq)
|
||||
AC_TRY_COMPILE([#include <ws2tcpip.h>], [
|
||||
struct ip_mreq mreq;
|
||||
mreq.imr_interface.s_addr = 0;
|
||||
], [
|
||||
# Yes, we have it...
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_STRUCT_IP_MREQ)
|
||||
], [
|
||||
# No multicast support
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
])
|
||||
fi
|
||||
|
||||
dnl socklen_t check
|
||||
@@ -1057,26 +712,13 @@ ac_cv_c_socklen_t=yes
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
|
||||
AC_MSG_CHECKING(for array element initalizer support)
|
||||
AC_TRY_COMPILE([#include <sys/socket.h>], [
|
||||
const int array[] = {[1] = 2,};
|
||||
], [
|
||||
# Yes, we have it...
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_ARRAY_ELEM_INIT,1,[Supports C99 array initialization])
|
||||
], [
|
||||
# We'll have to use signals
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
|
||||
AC_CHECK_FUNCS(trunc, , AC_MSG_CHECKING(for trunc in math.h)
|
||||
# Simply calling trunc (0.0) is no good since gcc will optimize the call away
|
||||
AC_CHECK_FUNCS(truncl, , AC_MSG_CHECKING(for truncl in math.h)
|
||||
AC_TRY_LINK([#include <math.h>],
|
||||
[ static void *p = &trunc; ],
|
||||
[ truncl(0.0); ],
|
||||
[
|
||||
AC_DEFINE(HAVE_TRUNC)
|
||||
AC_DEFINE(HAVE_TRUNCL)
|
||||
AC_MSG_RESULT(yes)
|
||||
ac_cv_trunc=yes
|
||||
ac_cv_truncl=yes
|
||||
],
|
||||
AC_MSG_RESULT(no)))
|
||||
|
||||
@@ -1102,7 +744,7 @@ case "{$target}" in
|
||||
dnl Win32 does not have /dev/random, they have their own method...
|
||||
|
||||
*-*-mingw*|*-*-cygwin*)
|
||||
ac_cv_have_dev_random=no
|
||||
ac_cv_have_dev_random = no
|
||||
;;
|
||||
|
||||
dnl Everywhere else, it's /dev/random
|
||||
@@ -1145,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
|
||||
|
||||
@@ -1158,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)
|
||||
@@ -1193,7 +820,6 @@ ACCESS_UNALIGNED="yes"
|
||||
|
||||
JIT_SUPPORTED=no
|
||||
LIBC="libc.so.6"
|
||||
INTL="libc.so.6"
|
||||
|
||||
jit_wanted=false
|
||||
case "$host" in
|
||||
@@ -1209,29 +835,20 @@ case "$host" in
|
||||
;;
|
||||
x86_64-*-* | amd64-*-*)
|
||||
TARGET=AMD64;
|
||||
arch_target=amd64;
|
||||
JIT_SUPPORTED=yes
|
||||
jit_wanted=true
|
||||
arch_target=x86-64;
|
||||
JIT_SUPPORTED=no
|
||||
;;
|
||||
sparc*-*-*)
|
||||
if test "x$ac_cv_sizeof_void_p" = "x8"; then
|
||||
TARGET=SPARC64
|
||||
else
|
||||
TARGET=SPARC
|
||||
fi
|
||||
TARGET=SPARC;
|
||||
arch_target=sparc;
|
||||
JIT_SUPPORTED=yes
|
||||
ACCESS_UNALIGNED="no"
|
||||
LIBC="libc.so"
|
||||
INTL="libintl.so"
|
||||
jit_wanted=true
|
||||
;;
|
||||
alpha*-*-linux* | alpha*-*-osf*)
|
||||
TARGET=ALPHA;
|
||||
ACCESS_UNALIGNED="no"
|
||||
JIT_SUPPORTED=no
|
||||
arch_target=alpha;
|
||||
;;
|
||||
# alpha*-*-linux* | alpha*-*-osf*)
|
||||
# TARGET=ALPHA;
|
||||
# ACCESS_UNALIGNED="no"
|
||||
# ;;
|
||||
# ia64-*-linux* | ia64-*-hpux*)
|
||||
# TARGET=IA64;
|
||||
# arch_target=ia64;
|
||||
@@ -1246,12 +863,6 @@ case "$host" in
|
||||
# TARGET=M68K
|
||||
# ;;
|
||||
hppa2.0w-hp-hpux11.00 | hppa64-hp-hpux11.00)
|
||||
TARGET=HPPA;
|
||||
arch_target=hppa;
|
||||
LIBC="libc.sl"
|
||||
ACCESS_UNALIGNED="no"
|
||||
;;
|
||||
hppa*linux*)
|
||||
TARGET=HPPA;
|
||||
arch_target=hppa;
|
||||
ACCESS_UNALIGNED="no"
|
||||
@@ -1261,7 +872,6 @@ case "$host" in
|
||||
TARGET=POWERPC;
|
||||
arch_target=ppc;
|
||||
JIT_SUPPORTED=yes
|
||||
jit_wanted=true
|
||||
;;
|
||||
arm-*-linux-* | armv4l-*-linux-*)
|
||||
TARGET=ARM;
|
||||
@@ -1272,17 +882,10 @@ case "$host" in
|
||||
TARGET=S390;
|
||||
arch_target=s390;
|
||||
ACCESS_UNALIGNED="no"
|
||||
JIT_SUPPORTED=yes
|
||||
;;
|
||||
s390x-*-linux*)
|
||||
TARGET=S390x;
|
||||
arch_target=s390x;
|
||||
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
|
||||
])
|
||||
|
||||
@@ -1305,55 +908,10 @@ libsuffix=".so"
|
||||
case "$host" in
|
||||
powerpc-*-darwin*)
|
||||
libsuffix=".dylib"
|
||||
LIBC="libc.dylib"
|
||||
INTL="libintl.dylib"
|
||||
;;
|
||||
*-*-*netbsd*)
|
||||
LIBC="libc.so.12"
|
||||
INTL="libintl.so.0"
|
||||
;;
|
||||
*-*-*freebsd*)
|
||||
LIBC="libc.so"
|
||||
INTL="libintl.so"
|
||||
;;
|
||||
*-*-*openbsd*)
|
||||
LIBC="libc.so"
|
||||
INTL="libintl.so"
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(libsuffix)
|
||||
|
||||
if test "x$TARGET" != "xAMD64"; then
|
||||
# valgrind headers don't compile under x86-64
|
||||
AC_CHECK_HEADERS(valgrind/memcheck.h)
|
||||
fi
|
||||
|
||||
if test "x$TARGET" = "xAMD64" -o "x$TARGET" = "xX86"; then
|
||||
if test "x$with_tls" = "x__thread"; then
|
||||
#
|
||||
# On some linux distributions, TLS works in executables, but linking
|
||||
# against a shared library containing TLS fails with:
|
||||
# undefined reference to `__tls_get_addr'
|
||||
#
|
||||
rm -f conftest.c conftest.so conftest
|
||||
echo "static __thread int foo; void main () { foo = 5; }" > conftest.c
|
||||
gcc -fPIC --shared -o conftest.so conftest.c > /dev/null 2>&1
|
||||
gcc -o conftest conftest.so > /dev/null 2>&1
|
||||
if test ! -f conftest; then
|
||||
AC_MSG_WARN([Disabling usage of __thread.]);
|
||||
with_tls=pthread
|
||||
fi
|
||||
rm -f conftest.c conftest.so conftest
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$with_tls" = "x__thread"; then
|
||||
AC_DEFINE(HAVE_KW_THREAD)
|
||||
# Pass the information to libgc
|
||||
CPPFLAGS="$CPPFLAGS -DUSE_COMPILER_TLS"
|
||||
export CPPFLAGS
|
||||
fi
|
||||
|
||||
if test ${TARGET} = ARM; then
|
||||
dnl ******************************************
|
||||
dnl *** Check to see what FPU is available ***
|
||||
@@ -1382,19 +940,9 @@ 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)
|
||||
AM_CONDITIONAL(SPARC64, test x$TARGET = xSPARC64)
|
||||
AM_CONDITIONAL(X86, test x$TARGET = xX86)
|
||||
AM_CONDITIONAL(AMD64, test x$TARGET = xAMD64)
|
||||
AM_CONDITIONAL(ALPHA, test x$TARGET = xALPHA)
|
||||
@@ -1403,13 +951,11 @@ AM_CONDITIONAL(M68K, test x$TARGET = xM68K)
|
||||
AM_CONDITIONAL(POWERPC, test x$TARGET = xPOWERPC)
|
||||
AM_CONDITIONAL(ARM, test x$TARGET = xARM)
|
||||
AM_CONDITIONAL(S390, test x$TARGET = xS390)
|
||||
AM_CONDITIONAL(S390x, test x$TARGET = xS390x)
|
||||
AM_CONDITIONAL(HPPA, test x$TARGET = xHPPA)
|
||||
|
||||
AM_CONDITIONAL(JIT_SUPPORTED, test x$JIT_SUPPORTED = xyes)
|
||||
|
||||
AC_SUBST(LIBC)
|
||||
AC_SUBST(INTL)
|
||||
|
||||
AC_SUBST(arch_target)
|
||||
AC_SUBST(CFLAGS)
|
||||
@@ -1435,7 +981,6 @@ mono/arch/hppa/Makefile
|
||||
mono/arch/ppc/Makefile
|
||||
mono/arch/sparc/Makefile
|
||||
mono/arch/s390/Makefile
|
||||
mono/arch/s390x/Makefile
|
||||
mono/arch/arm/Makefile
|
||||
mono/arch/alpha/Makefile
|
||||
mono/interpreter/Makefile
|
||||
@@ -1448,33 +993,24 @@ 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
|
||||
docs/Makefile
|
||||
data/Makefile
|
||||
data/net_1_1/Makefile
|
||||
data/net_2_0/Makefile
|
||||
samples/Makefile
|
||||
support/Makefile
|
||||
data/config
|
||||
mono.spec
|
||||
tools/Makefile
|
||||
tools/locale-builder/Makefile
|
||||
])
|
||||
|
||||
echo "
|
||||
|
||||
GC: $gc
|
||||
ICU: $enable_icu
|
||||
TLS: $with_tls
|
||||
NPTL: $with_nptl
|
||||
SIGALTSTACK: $with_sigaltstack
|
||||
Engine: $jit_status
|
||||
2.0 Alpha: $PREVIEW
|
||||
JNI support: $jdk_headers_found
|
||||
|
||||
|
||||
"
|
||||
@@ -2,3 +2,4 @@ Makefile.in
|
||||
Makefile
|
||||
config
|
||||
.cvsignore
|
||||
browscap.ini
|
||||
@@ -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);
|
||||
@@ -316,7 +313,7 @@ string GetTestResult ()
|
||||
{
|
||||
if (fill) {
|
||||
if (qs != "") qs += "&";
|
||||
qs += Request.QueryString.GetKey(n) + "=" + Server.UrlEncode (Request.QueryString [n]);
|
||||
qs += Request.QueryString.GetKey(n) + "=" + Request.QueryString [n];
|
||||
}
|
||||
if (Request.QueryString.GetKey(n) == "ext") fill = true;
|
||||
}
|
||||
@@ -338,17 +335,6 @@ string GetTestResult ()
|
||||
try
|
||||
{
|
||||
WebRequest req = WebRequest.Create (location + "/" + CurrentOperationName + "?" + qs);
|
||||
HttpCookieCollection cookies = Request.Cookies;
|
||||
int last = cookies.Count;
|
||||
if (last > 0) {
|
||||
CookieContainer container = new CookieContainer ();
|
||||
for (int i = 0; i < last; i++) {
|
||||
HttpCookie hcookie = cookies [i];
|
||||
Cookie cookie = new Cookie (hcookie.Name, hcookie.Value, hcookie.Path, hcookie.Domain);
|
||||
container.Add (cookie);
|
||||
}
|
||||
((HttpWebRequest) req).CookieContainer = container;
|
||||
}
|
||||
WebResponse resp = req.GetResponse();
|
||||
StreamReader sr = new StreamReader (resp.GetResponseStream());
|
||||
string s = sr.ReadToEnd ();
|
||||
@@ -1596,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") {%>
|
||||
|
||||
<!--
|
||||
**********************************************************
|
||||
@@ -1726,7 +1710,9 @@ This service does not contain any public web method.
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
<%} else if (CurrentPage == "proxy") {%>
|
||||
<%}%>
|
||||
|
||||
<% if (CurrentPage == "proxy") {%>
|
||||
<!--
|
||||
**********************************************************
|
||||
Client Proxy
|
||||
@@ -1747,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
|
||||
|
||||
+8
-3
@@ -1,10 +1,15 @@
|
||||
SUBDIRS = net_1_1 net_2_0
|
||||
|
||||
monodir = $(sysconfdir)/mono
|
||||
|
||||
EXTRA_DIST = config.in \
|
||||
browscap.ini
|
||||
machine.config \
|
||||
DefaultWsdlHelpGenerator.aspx \
|
||||
browscap.ini.gz
|
||||
|
||||
mono_DATA = config \
|
||||
machine.config \
|
||||
DefaultWsdlHelpGenerator.aspx \
|
||||
browscap.ini
|
||||
|
||||
browscap.ini: browscap.ini.gz
|
||||
gunzip -c $^ > $@
|
||||
|
||||
-13082
File diff suppressed because it is too large.
Load diff
Binary file not shown.
+16
-5
@@ -1,10 +1,21 @@
|
||||
<configuration>
|
||||
<dllmap dll="cygwin1.dll" target="@LIBC@" />
|
||||
<dllmap dll="libc" target="@LIBC@" />
|
||||
<dllmap dll="libintl" target="@INTL@" />
|
||||
<dllmap dll="libxslt.dll" target="libxslt@libsuffix@" />
|
||||
<dllmap dll="libmySQL.dll" target="libmysqlclient@libsuffix@" />
|
||||
<dllmap dll="odbc32.dll" target="libodbc@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="db2cli" target="libdb2_36@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>
|
||||
+60
-80
@@ -3,63 +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" />
|
||||
<section name="clientTarget"
|
||||
type="System.Web.Configuration.ClientTargetSectionHandler, 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 />
|
||||
@@ -67,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"/>
|
||||
@@ -77,25 +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="*.asmx" validate="false" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<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="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" />
|
||||
<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="/">
|
||||
@@ -126,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" /> -->
|
||||
@@ -152,12 +151,6 @@
|
||||
enableSessionState="true"
|
||||
autoEventWireup="true"
|
||||
validateRequest="true" />
|
||||
<clientTarget>
|
||||
<add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" />
|
||||
<add alias="ie4" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
|
||||
<add alias="uplevel" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
|
||||
<add alias="downlevel" userAgent="Unknown" />
|
||||
</clientTarget>
|
||||
</system.web>
|
||||
|
||||
<system.runtime.remoting>
|
||||
@@ -168,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>
|
||||
@@ -198,19 +191,6 @@
|
||||
</system.diagnostics>
|
||||
<system.drawing>
|
||||
</system.drawing>
|
||||
|
||||
<strongNames>
|
||||
<pubTokenMapping>
|
||||
<!-- ECMA key -->
|
||||
<map Token="b77a5c561934e089" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
<!-- Microsoft (final) key -->
|
||||
<map Token="b03f5f7f11d50a3a" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
<!-- Microsoft (Web Service Enhancement) key -->
|
||||
<map Token="31bf3856ad364e35" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
<!-- IBM (DB2 Data Provider) key -->
|
||||
<map Token="7c307b91aa13d208" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
</pubTokenMapping>
|
||||
</strongNames>
|
||||
</configuration>
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,8 +0,0 @@
|
||||
monodir = $(sysconfdir)/mono/1.0
|
||||
|
||||
EXTRA_DIST = machine.config \
|
||||
DefaultWsdlHelpGenerator.aspx
|
||||
|
||||
mono_DATA = machine.config \
|
||||
DefaultWsdlHelpGenerator.aspx
|
||||
|
||||
@@ -1,216 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<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"/>
|
||||
<sectionGroup name="system.web">
|
||||
<section name="httpHandlers"
|
||||
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="httpModules"
|
||||
type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="machineKey"
|
||||
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="authentication"
|
||||
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="authorization"
|
||||
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="globalization"
|
||||
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="sessionState"
|
||||
type="System.Web.SessionState.SessionStateSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="trace"
|
||||
type="System.Web.Configuration.TraceConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="webServices"
|
||||
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services, Version=1.0.5000.0 Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="webControls"
|
||||
type="System.Web.Configuration.WebControlsSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="compilation"
|
||||
type="System.Web.Configuration.CompilationConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="httpRuntime"
|
||||
type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="customErrors"
|
||||
type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="pages"
|
||||
type="System.Web.Configuration.PagesConfigurationHandler, System.Web, Version=1.0.5000.0, Culture=neutral" />
|
||||
<section name="clientTarget"
|
||||
type="System.Web.Configuration.ClientTargetSectionHandler, System.Web, Version=1.0.5000.0, Culture=neutral" />
|
||||
</sectionGroup>
|
||||
<sectionGroup name="system.net">
|
||||
<section name="settings"
|
||||
type="System.Net.Configuration.NetConfigurationHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="connectionManagement"
|
||||
type="System.Net.Configuration.ConnectionManagementHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="authenticationModules"
|
||||
type="System.Net.Configuration.NetAuthenticationModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="defaultProxy"
|
||||
type="System.Net.Configuration.DefaultProxyHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="webRequestModules"
|
||||
type="System.Net.Configuration.WebRequestModuleHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
</sectionGroup>
|
||||
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
</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" />
|
||||
</authenticationModules>
|
||||
<defaultProxy>
|
||||
<proxy />
|
||||
<!-- bypassonlocal and proxyaddress are ok -->
|
||||
<!-- 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" />
|
||||
</webRequestModules>
|
||||
<settings>
|
||||
<ipv6 enabled="false"/>
|
||||
</settings>
|
||||
</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="*.asmx" validate="false" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<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" />
|
||||
</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" />
|
||||
</httpModules>
|
||||
<authentication mode="Forms">
|
||||
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
|
||||
<credentials passwordFormat="Clear">
|
||||
<!--<user name="gonzalo" password="gonz"/>-->
|
||||
</credentials>
|
||||
</forms>
|
||||
</authentication>
|
||||
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
|
||||
<globalization requestEncoding="utf-8"
|
||||
responseEncoding="utf-8"
|
||||
fileEncoding="utf-8"/>
|
||||
<!--
|
||||
culture="en-US"
|
||||
uiculture="en-US" />
|
||||
-->
|
||||
<sessionState mode="InProc" />
|
||||
<webServices>
|
||||
<protocols>
|
||||
<add name="HttpSoap"/>
|
||||
<add name="HttpPost"/>
|
||||
<add name="HttpGet"/>
|
||||
<add name="Documentation"/>
|
||||
</protocols>
|
||||
<wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
|
||||
</webServices>
|
||||
<webControls clientScriptsLocation="/web_scripts" />
|
||||
<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" />
|
||||
<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" />
|
||||
</compilers>
|
||||
<assemblies>
|
||||
<!--<add assembly="mscorlib" /> -->
|
||||
<add assembly="System" />
|
||||
<add assembly="System.Xml" />
|
||||
<add assembly="System.Data" />
|
||||
<add assembly="System.Web" />
|
||||
<add assembly="System.Web.Services" />
|
||||
<add assembly="System.Drawing" />
|
||||
<add assembly="*" /> <!-- Add assemblies in bin directory -->
|
||||
</assemblies>
|
||||
</compilation>
|
||||
<httpRuntime executionTimeout="90"
|
||||
maxRequestLength="4096"
|
||||
useFullyQualifiedRedirectUrl="false"
|
||||
minFreeThreads="8"
|
||||
minLocalRequestFreeThreads="4"
|
||||
appRequestQueueLimit="100" />
|
||||
<pages buffer="true"
|
||||
enableSessionState="true"
|
||||
autoEventWireup="true"
|
||||
validateRequest="true" />
|
||||
<clientTarget>
|
||||
<add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" />
|
||||
<add alias="ie4" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
|
||||
<add alias="uplevel" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
|
||||
<add alias="downlevel" userAgent="Unknown" />
|
||||
</clientTarget>
|
||||
</system.web>
|
||||
|
||||
<system.runtime.remoting>
|
||||
<application>
|
||||
<channels>
|
||||
<channel ref="http client" displayName="http client (delay loaded)" delayLoadAsClientChannel="true" />
|
||||
<channel ref="tcp client" displayName="tcp client (delay loaded)" delayLoadAsClientChannel="true" />
|
||||
</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" />
|
||||
</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" />
|
||||
</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" />
|
||||
</serverProviders>
|
||||
</channelSinkProviders>
|
||||
</system.runtime.remoting>
|
||||
|
||||
<appSettings>
|
||||
<!--<add key="yourkey" value="your value" /> -->
|
||||
<!--<remove key="a key defined higher in the hierarchy" /> -->
|
||||
<!--<clear/> Removes all defined settings -->
|
||||
</appSettings>
|
||||
<system.diagnostics>
|
||||
<trace autoflush="false" indentsize="4" />
|
||||
</system.diagnostics>
|
||||
<system.drawing>
|
||||
</system.drawing>
|
||||
|
||||
<strongNames>
|
||||
<pubTokenMapping>
|
||||
<!-- ECMA key -->
|
||||
<map Token="b77a5c561934e089" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
<!-- Microsoft (final) key -->
|
||||
<map Token="b03f5f7f11d50a3a" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
<!-- Microsoft (Web Service Enhancement) key -->
|
||||
<map Token="31bf3856ad364e35" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
<!-- IBM (DB2 Data Provider) key -->
|
||||
<map Token="7c307b91aa13d208" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
</pubTokenMapping>
|
||||
</strongNames>
|
||||
</configuration>
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,8 +0,0 @@
|
||||
monodir = $(sysconfdir)/mono/2.0
|
||||
|
||||
EXTRA_DIST = machine.config \
|
||||
DefaultWsdlHelpGenerator.aspx
|
||||
|
||||
mono_DATA = machine.config \
|
||||
DefaultWsdlHelpGenerator.aspx
|
||||
|
||||
@@ -1,216 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<configuration>
|
||||
|
||||
<configSections>
|
||||
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSectionHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false"/>
|
||||
<sectionGroup name="system.web">
|
||||
<section name="httpHandlers"
|
||||
type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="httpModules"
|
||||
type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="machineKey"
|
||||
type="System.Web.Configuration.MachineKeyConfigHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="authentication"
|
||||
type="System.Web.Configuration.AuthenticationConfigHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="authorization"
|
||||
type="System.Web.Configuration.AuthorizationConfigHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="globalization"
|
||||
type="System.Web.Configuration.GlobalizationConfigurationHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="sessionState"
|
||||
type="System.Web.SessionState.SessionStateSectionHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="trace"
|
||||
type="System.Web.Configuration.TraceConfigurationHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="webServices"
|
||||
type="System.Web.Services.Configuration.WebServicesConfigurationSectionHandler, System.Web.Services, Version=2.0.3600.0 Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="webControls"
|
||||
type="System.Web.Configuration.WebControlsSectionHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="compilation"
|
||||
type="System.Web.Configuration.CompilationConfigurationHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="httpRuntime"
|
||||
type="System.Web.Configuration.HttpRuntimeConfigurationHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="customErrors"
|
||||
type="System.Web.Configuration.CustomErrorsConfigHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<section name="pages"
|
||||
type="System.Web.Configuration.PagesConfigurationHandler, System.Web, Version=2.0.3600.0, Culture=neutral" />
|
||||
<section name="clientTarget"
|
||||
type="System.Web.Configuration.ClientTargetSectionHandler, System.Web, Version=2.0.3600.0, Culture=neutral" />
|
||||
</sectionGroup>
|
||||
<sectionGroup name="system.net">
|
||||
<section name="settings"
|
||||
type="System.Net.Configuration.NetConfigurationHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="connectionManagement"
|
||||
type="System.Net.Configuration.ConnectionManagementHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="authenticationModules"
|
||||
type="System.Net.Configuration.NetAuthenticationModuleHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="defaultProxy"
|
||||
type="System.Net.Configuration.DefaultProxyHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<section name="webRequestModules"
|
||||
type="System.Net.Configuration.WebRequestModuleHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
</sectionGroup>
|
||||
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
</configSections>
|
||||
<system.net>
|
||||
<connectionManagement>
|
||||
<add address="*" maxconnection="2" />
|
||||
</connectionManagement>
|
||||
<authenticationModules>
|
||||
<add type="System.Net.BasicClient, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<add type="System.Net.DigestClient, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<add type="System.Net.NtlmClient, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
</authenticationModules>
|
||||
<defaultProxy>
|
||||
<proxy />
|
||||
<!-- bypassonlocal and proxyaddress are ok -->
|
||||
<!-- usessystemdefault is not supported -->
|
||||
</defaultProxy>
|
||||
<webRequestModules>
|
||||
<add prefix="http" type="System.Net.HttpRequestCreator, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<add prefix="https" type="System.Net.HttpRequestCreator, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
</webRequestModules>
|
||||
<settings>
|
||||
<ipv6 enabled="false"/>
|
||||
</settings>
|
||||
</system.net>
|
||||
<system.web>
|
||||
<httpHandlers>
|
||||
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add verb="*" path="*.asmx" validate="false" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.3600.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=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
</httpHandlers>
|
||||
<httpModules>
|
||||
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
</httpModules>
|
||||
<authentication mode="Forms">
|
||||
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
|
||||
<credentials passwordFormat="Clear">
|
||||
<!--<user name="gonzalo" password="gonz"/>-->
|
||||
</credentials>
|
||||
</forms>
|
||||
</authentication>
|
||||
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
|
||||
<globalization requestEncoding="utf-8"
|
||||
responseEncoding="utf-8"
|
||||
fileEncoding="utf-8"/>
|
||||
<!--
|
||||
culture="en-US"
|
||||
uiculture="en-US" />
|
||||
-->
|
||||
<sessionState mode="InProc" />
|
||||
<webServices>
|
||||
<protocols>
|
||||
<add name="HttpSoap"/>
|
||||
<add name="HttpPost"/>
|
||||
<add name="HttpGet"/>
|
||||
<add name="Documentation"/>
|
||||
</protocols>
|
||||
<wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
|
||||
</webServices>
|
||||
<webControls clientScriptsLocation="/web_scripts" />
|
||||
<compilation debug="false" defaultLanguage="c#">
|
||||
<compilers>
|
||||
<compiler language="cs;c#;csharp" extension=".cs" warningLevel="1" compilerOptions=""
|
||||
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
|
||||
warningLevel="1" compilerOptions=""
|
||||
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
</compilers>
|
||||
<assemblies>
|
||||
<!--<add assembly="mscorlib" /> -->
|
||||
<add assembly="System" />
|
||||
<add assembly="System.Xml" />
|
||||
<add assembly="System.Data" />
|
||||
<add assembly="System.Web" />
|
||||
<add assembly="System.Web.Services" />
|
||||
<add assembly="System.Drawing" />
|
||||
<add assembly="*" /> <!-- Add assemblies in bin directory -->
|
||||
</assemblies>
|
||||
</compilation>
|
||||
<httpRuntime executionTimeout="90"
|
||||
maxRequestLength="4096"
|
||||
useFullyQualifiedRedirectUrl="false"
|
||||
minFreeThreads="8"
|
||||
minLocalRequestFreeThreads="4"
|
||||
appRequestQueueLimit="100" />
|
||||
<pages buffer="true"
|
||||
enableSessionState="true"
|
||||
autoEventWireup="true"
|
||||
validateRequest="true" />
|
||||
<clientTarget>
|
||||
<add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" />
|
||||
<add alias="ie4" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
|
||||
<add alias="uplevel" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
|
||||
<add alias="downlevel" userAgent="Unknown" />
|
||||
</clientTarget>
|
||||
</system.web>
|
||||
|
||||
<system.runtime.remoting>
|
||||
<application>
|
||||
<channels>
|
||||
<channel ref="http client" displayName="http client (delay loaded)" delayLoadAsClientChannel="true" />
|
||||
<channel ref="tcp client" displayName="tcp client (delay loaded)" delayLoadAsClientChannel="true" />
|
||||
</channels>
|
||||
</application>
|
||||
<channels>
|
||||
<channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
</channels>
|
||||
<channelSinkProviders>
|
||||
<clientProviders>
|
||||
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
</clientProviders>
|
||||
<serverProviders>
|
||||
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
</serverProviders>
|
||||
</channelSinkProviders>
|
||||
</system.runtime.remoting>
|
||||
|
||||
<appSettings>
|
||||
<!--<add key="yourkey" value="your value" /> -->
|
||||
<!--<remove key="a key defined higher in the hierarchy" /> -->
|
||||
<!--<clear/> Removes all defined settings -->
|
||||
</appSettings>
|
||||
<system.diagnostics>
|
||||
<trace autoflush="false" indentsize="4" />
|
||||
</system.diagnostics>
|
||||
<system.drawing>
|
||||
</system.drawing>
|
||||
|
||||
<strongNames>
|
||||
<pubTokenMapping>
|
||||
<!-- ECMA key -->
|
||||
<map Token="b77a5c561934e089" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
<!-- Microsoft (final) key -->
|
||||
<map Token="b03f5f7f11d50a3a" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
<!-- Microsoft (Web Service Enhancement) key -->
|
||||
<map Token="31bf3856ad364e35" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
<!-- IBM (DB2 Data Provider) key -->
|
||||
<map Token="7c307b91aa13d208" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
|
||||
</pubTokenMapping>
|
||||
</strongNames>
|
||||
</configuration>
|
||||
|
||||
|
||||
@@ -1,302 +0,0 @@
|
||||
|
||||
Here "abc" stays for "array bounds check", or "array bound checks", or
|
||||
some combination of the two...
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
USAGE
|
||||
|
||||
Simply use the "abcrem" optimization invoking mono.
|
||||
|
||||
To see if bound checks are actually removed, use "mono -v" and grep for
|
||||
"ARRAY-ACCESS" in the output, there should be a message for each check
|
||||
that has been removed.
|
||||
|
||||
To trace the algorithm execution, use "-v -v -v", and be prepared to be
|
||||
totally submersed by debugging messages...
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
EFFECTIVENESS
|
||||
|
||||
The abc removal code can now always remove bound checks from "clean"
|
||||
array scans in loops, and generally anyway there are clear conditions that
|
||||
already state that the index is "safe".
|
||||
|
||||
To be clearer, and give an idea of what the algorithm can and cannot do
|
||||
without describing it in detail... keep in mind that only "redunant" checks
|
||||
cannot be removed. By "redundant", I mean "already explicitly checked" in
|
||||
the method code.
|
||||
|
||||
Unfortunately, analyzing complex expressions is not so easy (see below for
|
||||
details), so the capabilities of this "abc remover" are limited.
|
||||
|
||||
These are simple guidelines:
|
||||
- Only expressions of the following kinds are handled:
|
||||
- constant
|
||||
- variable [+/- constant]
|
||||
- Only comparisons between "handled" expressions are understood.
|
||||
- "switch" statements are not yet handled.
|
||||
|
||||
This means that code like this will be handled well:
|
||||
|
||||
for (int i = 0; i < a.Length; i++) {
|
||||
a [i] = .....
|
||||
}
|
||||
|
||||
The "i" variable could be declared out of the "for", the "for" could be a
|
||||
"while", and maybe even implemented with "goto", the array could be scanned
|
||||
in reverse order, and everything would still work.
|
||||
I could have a temporary variable storing the array length, and check on
|
||||
it inside the loop, and the abc removal would still occurr, like this:
|
||||
|
||||
int i = 0;
|
||||
int l = a.Length;
|
||||
while ( i < l ) {
|
||||
a [i] ......
|
||||
}
|
||||
|
||||
or this:
|
||||
|
||||
int l = a.Length;
|
||||
for (int i = l; i > 0; i--) {
|
||||
a [i] = .....
|
||||
}
|
||||
|
||||
The following two examples would work:
|
||||
|
||||
for (int i = 0; i < (a.Length -1); i++) .....
|
||||
for (int i = 0; i < a.Length; i += 2) .....
|
||||
|
||||
But just something like this
|
||||
|
||||
int delta = -1;
|
||||
for (int i = 0; i < (a.Length + delta); i++) .....
|
||||
|
||||
or like this
|
||||
|
||||
int delta = +2;
|
||||
for (int i = 0; i < a.Length; i += delta) .....
|
||||
|
||||
would not work, the check would stay there, sorry :-(
|
||||
(unless a combination of cfold, consprop and copyprop is used, too, which
|
||||
would make the constant value of "delta" explicit).
|
||||
|
||||
Just to make you understand how things are tricky... this would work!
|
||||
|
||||
int limit = a.Length - 1;
|
||||
for (int i = 0; i < limit; i++) {
|
||||
a [i] = .....
|
||||
}
|
||||
|
||||
|
||||
A detailed explanation of the reason why things are done like this is given
|
||||
below...
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
THE ALGORITHM
|
||||
|
||||
This array bound check removal (abc removal) algorithm is based on
|
||||
symbolic execution concepts. I handle the removal like an "unreachable
|
||||
code elimination" (and in fact the optimization could be extended to remove
|
||||
also other unreachable sections of code, due to branches that "always go the
|
||||
same way").
|
||||
|
||||
In symbolic execution, variables do not have actual (numeric) values, but
|
||||
instead symbolic expressions (like "a", or "x+y").
|
||||
Also, branch conditions are handled like symbolic conditions (like "i<k"),
|
||||
which state relations between variable values.
|
||||
|
||||
The SSA representation inside mini is somewhat close to a symbolic
|
||||
representation of the execution of the compiled method.
|
||||
Particularly, the representation of variable values is exactly a symbolic
|
||||
one. It is enough to find all CEE_STIND_* instructions which store to a
|
||||
local variable, and their second argument is exactly the variable value.
|
||||
Actually, "cfg->vars [<variable-index>]->def" should contain exactly
|
||||
those store instructions, and the "get_variable_value_from_ssa_store"
|
||||
function extracts the variable value from there.
|
||||
|
||||
On the other hand, the conditions under which each basic block is
|
||||
executed are not made fully explicit.
|
||||
|
||||
However, it is not difficult to make them so.
|
||||
Each BB that has more than one exit BB, in practice must end either with
|
||||
a conditional branch instruction or with a switch instruction.
|
||||
In the first case, the BB has exactly two exit BBs, and their execution
|
||||
conditions are easy to get from the condition of the branch (see the
|
||||
"get_relation_from_branch_instruction" function, and expecially the end of
|
||||
"analyze_block" in abcremoval.c.
|
||||
If there is a switch, the jump condition of every exit BB is the equality
|
||||
of the switch argument with the particular index associated with its case
|
||||
(but the current implementation does not handle switch statements yet).
|
||||
|
||||
These individual conditions are in practice associated to each arc that
|
||||
connects BBs in the CFG (with the simple case that unconditional branches
|
||||
have a "TRUE" condition, because they always happen).
|
||||
|
||||
So, for each BB, its *proper* entry condition is the union of all the
|
||||
conditions associated to arcs that enter the BB. The "union" is like a
|
||||
logical "or", in the sense that either of the condition could be true,
|
||||
they are not necessarily all true. This means that if I can enter a BB
|
||||
in two ways, and in one case I know that "x>0", and in the other that
|
||||
"x==0", actually in the BB I know that "x>=0", which is a weaker
|
||||
condition (the union of the two).
|
||||
|
||||
Also, the *complete* entry condition for a BB is the "intersection" of all
|
||||
the entry conditions of its dominators. This is true because each dominator
|
||||
is the only way to reach the BB, so the entry condition of each dominator
|
||||
must be true if the control flow reached the BB. This translates to the
|
||||
logical "and" of all the "proper" conditions of the BBs met walking up in the
|
||||
dominator tree. So, if one says "x>0", and another "x==1", then I know
|
||||
that "x==1", which is a stronger condition (the intersection of the two).
|
||||
Note that, if the two conditions were "x>0" and "x==0", then the block would
|
||||
be unreachable (the intersection is empty), because some branch is impossible.
|
||||
|
||||
Another observation is that, inside each BB, every variable is subject to the
|
||||
complete entry condition of that very same BB, and not the one in which it is
|
||||
defined (with the "complete entry condition" being the thing I defined before,
|
||||
sorry if these terms "proper" and "complete" are strange, I found nothing
|
||||
better).
|
||||
This happens because the branch conditions are related to the control flow.
|
||||
I can define "i=a", and if I am in a BB where "a>0", then "i>0", but not
|
||||
otherwise.
|
||||
|
||||
So, intuitively, if the available conditions say "i>=0", and i is used as an
|
||||
index in an array access, then the lower bound check can be omitted.
|
||||
If the condition also says "(i>=0)&&(i<array.length)", the abc removal can
|
||||
occur.
|
||||
|
||||
So, a complete solution to the problem of abc removal would be the following:
|
||||
for each array access, build a system of equations containing:
|
||||
[1] all the symbolic variable definitions
|
||||
[2] the complete entry condition of the BB in which the array access occurs
|
||||
[3] the two "goal functions" ("index >=0" and "index < array.length")
|
||||
If the system is valid for *each possible* variable value, then the goal
|
||||
functions are always true, and the abc can be removed.
|
||||
|
||||
All this discussion is useful to give a precise specification to the problem
|
||||
we are trying to solve.
|
||||
The trouble is that, in the general case, the resulting system of equations
|
||||
is like a predicate in first order logic, which is semi-decidable, and its
|
||||
general solution is anyway too complex to be attempted in a JIT compiler
|
||||
(which should not contain a full fledged theorem prover).
|
||||
|
||||
Therefore, we must cut some corner.
|
||||
|
||||
|
||||
By the way, there is also another big problem, which is caused by "recursive"
|
||||
symbolic definitions. These definition can (and generally do) happen every
|
||||
time there is a loop. For instance, in the following piece of code
|
||||
|
||||
for ( int i = 0; i < array.length; i++ ) {
|
||||
Console.WriteLine( "array [i] = " + array [i] );
|
||||
}
|
||||
|
||||
one of the definitions of i is a PHI that can be either 0 or "i + 1".
|
||||
|
||||
Now, we know that mathematically "i = i + 1" does not make sense, and in
|
||||
fact symbolic values are not "equations", they are "symbolic definitions".
|
||||
|
||||
The actual symbolic value of i is a generic "n", where "n" is the number of
|
||||
iterations of the loop, but this is terrible to handle (and in more complex
|
||||
examples the symbolic value of i simply cannot be written, because i is
|
||||
calculated in an iterative way).
|
||||
|
||||
However, the definition "i = i + 1" tells us something about i: it tells us
|
||||
that i "grows". So (from the PHI definition) we know that i is either 0, or
|
||||
"grows". This is enough to tell that "i>=0", which is what we want!
|
||||
It is important to note that recursive definitions can only occurr inside
|
||||
PHI definitions, because actually a variable cannot be defined *only* in terms
|
||||
of itself!
|
||||
|
||||
|
||||
At this point, I can explain which corners I want to cut to make the
|
||||
problem solvable. It will not remove all the abc that could theoretically
|
||||
be removed, but at least it will work.
|
||||
|
||||
The easiest way to cut corners is to only handle expressions which are
|
||||
"reasonably simple", and ignore the rest.
|
||||
Keep in mind that ignoring an expression is not harmful in itself.
|
||||
The algorithm will be simply "less powerful", because it will ignore
|
||||
conditions that could have caused to the removal of an abc, but will
|
||||
not remove checks "by mistake" (so the resulting code will be in any case
|
||||
correct).
|
||||
|
||||
The expressions we handle are the following (all of integer type):
|
||||
- constant
|
||||
- variable
|
||||
- variable + constant
|
||||
- constant + variable
|
||||
- variable - constant
|
||||
|
||||
And, of course, PHI definitions.
|
||||
Any other expression causes the introduction of an "any" value in the
|
||||
evaluation, which makes all values that depend from it unknown as well.
|
||||
|
||||
We will call these kind of definitions "summarizable" definitions.
|
||||
|
||||
In a first attempt, we can consider only branch conditions that have the
|
||||
simplest possible form (the comparison of two summarizable expressions).
|
||||
|
||||
We can also simplify the effect of variable definitions, keeping only
|
||||
what is relevant to know: their value range with respect to zero and with
|
||||
respect to the length of the array we are currently handling.
|
||||
|
||||
One particular note on PHI functions: they work (obviously) like the logical
|
||||
"or" of their definitions, and therefore are equivalent to the "logical or"
|
||||
of the summarization of their definitions.
|
||||
|
||||
About recursive definitions (which, believe me, are the worst thing in all
|
||||
this mess), we handle only "monotonic" ones. That is, we try to understand
|
||||
if the recursive definition (which, as we said above, must happen because
|
||||
of a loop) always "grows" or "gets smaller". In all other cases, we decide
|
||||
we cannot handle it.
|
||||
|
||||
|
||||
One critical thing, once we have defined all these data structures, is how
|
||||
the evaluation is actually performed.
|
||||
|
||||
In a first attempt I coded a "brute force" approach, which for each BB
|
||||
tried to examine all possible conditions between all variables, filling
|
||||
a sort of "evaluation matrix". The problem was that the complexity of this
|
||||
evaluation was quadratic (or worse) on the number of variables, and that
|
||||
many wariables were examined even if they were not involved in any array
|
||||
access.
|
||||
|
||||
Following the ABCD paper (http://citeseer.ist.psu.edu/bodik00abcd.html),
|
||||
I rewrote the algorithm in a more "sparse" way.
|
||||
Now, the main data structure is a graph of relations between variables, and
|
||||
each attempt to remove a check performs a traversal of the graph, looking
|
||||
for a path from the index to the array length that satisfies the properties
|
||||
"index >= 0" and "index < length". If such a path is found, the check is
|
||||
removed. It is true that in theory *each* traversal has a complexity which
|
||||
is exponential on the number of variables, but in practice the graph is not
|
||||
very connected, so the traversal terminates quickly.
|
||||
|
||||
|
||||
Then, the algorithm to optimize one method looks like this:
|
||||
|
||||
[1] Preparation:
|
||||
[1a] Build the SSA representation.
|
||||
[1b] Prepare the evaluation graph (empty)
|
||||
[1b] Summarize each varible definition, and put the resulting relations
|
||||
in the evaluation graph
|
||||
[2] Analyze each BB, starting from the entry point and following the
|
||||
dominator tree:
|
||||
[2a] Summarize its entry condition, and put the resulting relations
|
||||
in the evaluation graph (this is the reason why the BBs are examined
|
||||
following the dominator tree, so that conditions are added to the
|
||||
graph in a "cumulative" way)
|
||||
[2b] Scan the BB instructions, and for each array access perform step [3]
|
||||
[2c] Process children BBs following the dominator tree (step [2])
|
||||
[2d] Remove from the evaluation area the conditions added at step [2a]
|
||||
(so that backtracking along the tree the area is properly cleared)
|
||||
[3] Attempt the removal:
|
||||
[3a] Summarize the index expression, to see if we can handle it; there
|
||||
are three cases: the index is either a constant, or a variable (with
|
||||
an optional delta) or cannot be handled (is a "any")
|
||||
[3b] If the index can be handled, traverse the evaluation area searching
|
||||
a path from the index variable to the array length (if the index is
|
||||
a constant, just examine the array length to see if it has some
|
||||
relation with this constant)
|
||||
[3c] Use the results of step [3b] to decide if the check is redundant
|
||||
|
||||
|
||||
+1
-14
@@ -69,16 +69,7 @@
|
||||
not interfere with code in other domains. This is useful if
|
||||
you want to host different applications in your program.
|
||||
|
||||
Now, it is necessary to transfer control to Mono, and setup
|
||||
the threading infrastructure, you do this like this:
|
||||
|
||||
void *user_data = NULL;
|
||||
|
||||
mono_runtime_exec_managed_code (domain, main_thread_handler, user_data);
|
||||
|
||||
Where your main_thread_handler can load your assembly and execute it:
|
||||
|
||||
static void main_thread_handler (gpointer user_data)
|
||||
Then you can load an assembly containing code into the domain:
|
||||
|
||||
MonoAssembly *assembly;
|
||||
|
||||
@@ -121,10 +112,6 @@
|
||||
layer, so in each file where you use pthread.h you should
|
||||
include the <gc/gc.h> file.
|
||||
|
||||
If you can not do this for any reasons, just remember that you
|
||||
can not store pointers to Mono Objects on the stack, you can
|
||||
store them safely in the heap, or in global variables though
|
||||
|
||||
* Exposing C code to the CIL universe
|
||||
|
||||
The Mono runtime provides two mechanisms to expose C code to
|
||||
|
||||
@@ -1,173 +0,0 @@
|
||||
Rules for opening shared files
|
||||
==============================
|
||||
|
||||
File is already open, with share set to none:
|
||||
|
||||
Can not open again
|
||||
|
||||
|
||||
File is already open for reading, with read share:
|
||||
|
||||
Can open for reading only, share must include read (can have write too)
|
||||
|
||||
|
||||
File is already open for reading, with write share:
|
||||
|
||||
Can open for writing only, share must include read (can have write too)
|
||||
|
||||
|
||||
File is already open for reading, with read + write share:
|
||||
|
||||
Can open for read, writing or both, share must include read (can have write too)
|
||||
|
||||
|
||||
File is already open for writing, with read share:
|
||||
|
||||
Can open for reading only, share must include write (can have read too)
|
||||
|
||||
|
||||
File is already open for writing, with write share:
|
||||
|
||||
Can open for writing only, share must include write (can have read too)
|
||||
|
||||
|
||||
File is already open for writing, with read + write share:
|
||||
|
||||
Can open for reading, writing or both, share must include write (can have read too)
|
||||
|
||||
|
||||
File is already open for reading + writing, with read share:
|
||||
|
||||
Can open for reading only, share must be read + write
|
||||
|
||||
|
||||
File is already open for reading + writing, with write share:
|
||||
|
||||
Can open for for writing only, share must be read + write
|
||||
|
||||
|
||||
File is already open for reading + writing, with read + write share:
|
||||
|
||||
Can open for read, writing or both, share must be read + write
|
||||
|
||||
|
||||
|
||||
Executive Summary
|
||||
-----------------
|
||||
|
||||
Second open must have access within first share, must set second share to at least first access
|
||||
|
||||
|
||||
|
||||
|
||||
Documenting code
|
||||
----------------
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <windows.h>
|
||||
|
||||
int access[] = {
|
||||
GENERIC_READ,
|
||||
GENERIC_WRITE,
|
||||
GENERIC_READ | GENERIC_WRITE
|
||||
};
|
||||
|
||||
char *access_names[] = {
|
||||
"G_READ",
|
||||
"G_WRITE",
|
||||
"G_READ|G_WRITE"
|
||||
};
|
||||
|
||||
int share[] = {
|
||||
FILE_SHARE_READ,
|
||||
FILE_SHARE_WRITE,
|
||||
FILE_SHARE_READ | FILE_SHARE_WRITE
|
||||
};
|
||||
|
||||
char *share_names[] = {
|
||||
"SHARE_READ",
|
||||
"SHARE_WRITE",
|
||||
"SHARE_READ|SHARE_WRITE"
|
||||
};
|
||||
|
||||
void lockfiles(int access1, int share1, int access2, int share2)
|
||||
{
|
||||
HANDLE h1, h2;
|
||||
BOOL ret;
|
||||
|
||||
if (access2 == 0 && share2 == 0) {
|
||||
printf("\n");
|
||||
printf("%22.22s\n%22.22s", access_names[access1], share_names[share1]);
|
||||
}
|
||||
|
||||
h1 = CreateFile("lockedfile",
|
||||
access[access1],
|
||||
share[share1],
|
||||
NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if (h1 == INVALID_HANDLE_VALUE) {
|
||||
printf("Open1 failed: %d\n", GetLastError());
|
||||
return;
|
||||
}
|
||||
|
||||
h2 = CreateFile("lockedfile",
|
||||
access[access2],
|
||||
share[share2],
|
||||
NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
if (h2 == INVALID_HANDLE_VALUE) {
|
||||
printf(" %4.4s", "");
|
||||
} else {
|
||||
printf(" %4.4s", "OK");
|
||||
CloseHandle(h2);
|
||||
}
|
||||
|
||||
CloseHandle(h1);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int i, j, k, l;
|
||||
|
||||
printf("\t\t\t\t\t\t\tSecond Open\n");
|
||||
printf("%22.22s G_RE G_RE G_RE G_WR G_WR G_WR G_RW G_RW G_RW\n", "");
|
||||
printf("%22.22s S_RE S_WR S_RW S_RE S_WR S_RW S_RE S_WR S_RW", "First open --v ");
|
||||
for (i = 0; i < 3; i++) {
|
||||
for (j = 0; j < 3; j++) {
|
||||
for (k = 0; k < 3; k++) {
|
||||
for (l = 0; l < 3; l++) {
|
||||
lockfiles(i, j, k, l);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Code output
|
||||
-----------
|
||||
|
||||
Second Open
|
||||
G_RE G_RE G_RE G_WR G_WR G_WR G_RW G_RW G_RW
|
||||
First open --v S_RE S_WR S_RW S_RE S_WR S_RW S_RE S_WR S_RW
|
||||
G_READ
|
||||
SHARE_READ OK OK
|
||||
G_READ
|
||||
SHARE_WRITE OK OK
|
||||
G_READ
|
||||
SHARE_READ|SHARE_WRITE OK OK OK OK OK OK
|
||||
G_WRITE
|
||||
SHARE_READ OK OK
|
||||
G_WRITE
|
||||
SHARE_WRITE OK OK
|
||||
G_WRITE
|
||||
SHARE_READ|SHARE_WRITE OK OK OK OK OK OK
|
||||
G_READ|G_WRITE
|
||||
SHARE_READ OK
|
||||
G_READ|G_WRITE
|
||||
SHARE_WRITE OK
|
||||
G_READ|G_WRITE
|
||||
SHARE_READ|SHARE_WRITE OK OK OK
|
||||
|
||||
@@ -1,96 +0,0 @@
|
||||
Handling GC allocated objects in C
|
||||
|
||||
As part of an effort to improve our GC, we need to keep track
|
||||
precisely of where objects are stored, so we can incrementally move
|
||||
from the current conservative GC to a more advanced precise and moving GC.
|
||||
Previously, all global C variables were considered GC roots, but this makes
|
||||
the GC less efficient and increases the chances false references are found
|
||||
to GC memory, hence retaining more memory than needed.
|
||||
We need to tell the GC that some object is supposed to be kept alive
|
||||
as if it was referenced in a global variable.
|
||||
|
||||
For Mono embedders
|
||||
------------------
|
||||
|
||||
In C#, if you say:
|
||||
class T {
|
||||
static object o;
|
||||
}
|
||||
|
||||
Any object which is stored in `o' is considered to be alive -- it will
|
||||
not be collected. `o' is a member of the root set for the GC.
|
||||
|
||||
However, in C code, this is not the case. If you have:
|
||||
|
||||
static MonoObject* o = NULL;
|
||||
|
||||
The object in `o' will *NOT* be scanned.
|
||||
|
||||
If you need to store an object in a C variable and prevent it from being
|
||||
collected, you need to acquire a GC handle for it.
|
||||
|
||||
guint32 handle = mono_gchandle_new (my_object, TRUE);
|
||||
|
||||
TRUE means the object will be pinned, so it won't move in memory
|
||||
when we'll use a moving GC. You can access the MonoObject* referenced by
|
||||
a handle with:
|
||||
|
||||
MonoObject* obj = mono_gchandle_get_target (handle);
|
||||
|
||||
When you don't need the handle anymore you need to call:
|
||||
|
||||
mono_gchandle_free (handle);
|
||||
|
||||
Note that if you assign a new object to the C var, you need to get a new
|
||||
handle, it's not enough to store a new object in the C var.
|
||||
|
||||
So code that looked like this:
|
||||
|
||||
static MonoObject* o = NULL;
|
||||
...
|
||||
o = mono_object_new (...);
|
||||
/* use o */
|
||||
...
|
||||
/* when done to allow the GC to collect o */
|
||||
o = NULL;
|
||||
|
||||
should now be changed to:
|
||||
|
||||
static guint32 o_handle;
|
||||
...
|
||||
MonoObject *o = mono_object_new (...);
|
||||
o_handle = mono_gchandle_new (o, TRUE);
|
||||
/* use o or mono_gchandle_get_target (o_handle) */
|
||||
...
|
||||
/* when done to allow the GC to collect o */
|
||||
mono_gchandle_free (o_handle);
|
||||
|
||||
|
||||
For Mono runtime developers
|
||||
---------------------------
|
||||
|
||||
There are two kinds of static vars used to store pointers to GC memory
|
||||
that we need to consider:
|
||||
*) objects
|
||||
*) other memory chunks allocated with GC_MALLOC().
|
||||
|
||||
Objects should be dealt with the GC handle support as detailed above.
|
||||
Other items should register the static pointer as an area to be considered
|
||||
part of the root set with the following:
|
||||
|
||||
static gpointer my_gc_data = NULL;
|
||||
...
|
||||
MONO_GC_REGISTER_ROOT (my_gc_data);
|
||||
my_gc_data = GC_MALLOC (...);
|
||||
|
||||
Note that this registration is not necessary for *LOCAL* variables,
|
||||
as they are stored on the stack. It is only necessary for global variables,
|
||||
as they are not a part of the GC's root set.
|
||||
|
||||
Once you have done the MONO_GC_REGISTER_ROOT, the variable is just like
|
||||
a static variable in C#. To keep an object alive, you have the variable reference
|
||||
the GC memory, to remove the reference, set the variable to NULL.
|
||||
|
||||
As we prepare the code for a precise GC, GC_MALLOC () will not be used anymore
|
||||
in this way in most cases: we'll have a mechanism to specify exactly where
|
||||
references to GC memory is stored.
|
||||
+14
-35
@@ -1,15 +1,20 @@
|
||||
Mono Intermediate Representation Documentation
|
||||
|
||||
Operation: OP_ADDCC_IMM
|
||||
Operation: OP_LOCALLOC
|
||||
inst_left:
|
||||
The value
|
||||
ins->inst_left = *sp;
|
||||
ins->cil_code = ip;
|
||||
|
||||
Add immediate that will set the carry flag.
|
||||
|
||||
dreg:
|
||||
Destination register
|
||||
inst_imm
|
||||
Immediate value to add.
|
||||
sreg1:
|
||||
Source register to add.
|
||||
This is the equivalent of alloca() in a C implementation: it
|
||||
allocates a bunch of bytes on the stack dynamically. Local
|
||||
variables are allocated statically in the stack instead.
|
||||
|
||||
It is implemented by moving the stack pointer according to the
|
||||
platform ABI: you may need to keep a specific frame register
|
||||
to address local variables when LOCALLOC is used (the PPC code
|
||||
does this, for example: ifyou're doing the s390 port I suggest
|
||||
starting from that)
|
||||
|
||||
Operation: OP_CALL_HANDLER.
|
||||
|
||||
@@ -47,29 +52,3 @@ Operation: OP_CCASTCLASS
|
||||
|
||||
throws an InvalidCastException exception otherwise.
|
||||
|
||||
Operation: OP_LOCALLOC
|
||||
inst_left:
|
||||
The value
|
||||
ins->inst_left = *sp;
|
||||
ins->cil_code = ip;
|
||||
|
||||
This is the equivalent of alloca() in a C implementation: it
|
||||
allocates a bunch of bytes on the stack dynamically. Local
|
||||
variables are allocated statically in the stack instead.
|
||||
|
||||
It is implemented by moving the stack pointer according to the
|
||||
platform ABI: you may need to keep a specific frame register
|
||||
to address local variables when LOCALLOC is used (the PPC code
|
||||
does this, for example: ifyou're doing the s390 port I suggest
|
||||
starting from that)
|
||||
|
||||
Operation: OP_SUBCC_IMM
|
||||
|
||||
Substract immediate that will set the borrow flag.
|
||||
|
||||
dreg:
|
||||
Destination register
|
||||
inst_imm
|
||||
Immediate value to add.
|
||||
sreg1:
|
||||
Source register to add.
|
||||
+2
-5
@@ -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
|
||||
|
||||
@@ -422,30 +422,3 @@
|
||||
we replace one or more instructions with others that perform
|
||||
better for the given architecture or CPU.
|
||||
|
||||
* 64 bit support tips, by Zoltan Varga ([email protected])
|
||||
|
||||
For a 64-bit port of the Mono runtime, you will typically do
|
||||
the following:
|
||||
|
||||
* need to use inssel-long.brg instead of
|
||||
inssel-long32.brg.
|
||||
|
||||
* need to implement lots of new opcodes:
|
||||
OP_I<OP> is 32 bit op
|
||||
OP_L<OP> and CEE_<OP> are 64 bit ops
|
||||
|
||||
|
||||
The 64 bit version of an existing port might share the code
|
||||
with the 32 bit port (for example SPARC/SPARV9), or it might
|
||||
be separate (x86/AMD64).
|
||||
|
||||
That will depend on the similarities of the two instructions
|
||||
sets/ABIs etc.
|
||||
|
||||
The runtime and most parts of the JIT are 64 bit clean
|
||||
at this point, so the only parts which require changing are
|
||||
the arch dependent files.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
We need to switch to a new register allocator.
|
||||
The current one is split in a global and a local register allocator.
|
||||
The global one can assign only callee-saves registers and happens
|
||||
on the tree-based internal representation: it assigns local variables
|
||||
to hardware registers.
|
||||
The local one happens on the linear representation on a per basic
|
||||
block basis and assigns hard registers to virtual registers (which
|
||||
hold temporary values during expression executions) and it deals also
|
||||
with the platform-specific issues (fixed registers, call conventions).
|
||||
|
||||
Moving to a different register will help solve some of the performance
|
||||
issues introduced by the above split, make the register more easily
|
||||
portable and solve some of the issues generated by dealing with trees.
|
||||
|
||||
The general design ideas are below.
|
||||
|
||||
The new allocator should have a global view of all the method, so it can be
|
||||
able to assign variables also to some of the volatile registers if possible,
|
||||
even across basic blocks (this would improve performance).
|
||||
|
||||
The allocator would be driven by per-arch declarative data, so porting
|
||||
should be easier: an architecture needs to specify register classes,
|
||||
call convention and instructions requirements (similar to the gcc code).
|
||||
|
||||
The allocator should operate on the linear representation, this way it's
|
||||
easier and faster to track usages more correctly. We need to assign virtual
|
||||
registers on a per-method basis instead of per basic block. We can assign
|
||||
virtual registers to variables, too. Note that since we fix the stack offset
|
||||
of local vars only after this step (which happens after the burg rules are run),
|
||||
some of the burg rules that try to optimize the code won't apply anymore:
|
||||
the peephole code may need to be enhanced to do the optimizations instead.
|
||||
|
||||
We need to handle floating point registers in the global allocator, too.
|
||||
|
||||
The new allocator also needs to keep track precisely of which registers
|
||||
contain references or managed pointers to allow us to move to a precise GC.
|
||||
|
||||
It may be worth to use a single increasing set of integers for the virtual
|
||||
registers, with the class of the register stored separately (unless the
|
||||
current local allocator which keeps interger and fp registers separate).
|
||||
|
||||
Since this is a large task, we need to do it in steps as much as possible.
|
||||
The first is to run the register allocator _after_ the burg rules: this
|
||||
requires a rewrite of the liveness code, too, to use linear indexes instead
|
||||
of basic-block/tree number combinations. This can be done by:
|
||||
*) allocating virtual regs to all the locals that can be register allocated
|
||||
*) running the burg rules (some may require adjustments): the local virtual
|
||||
registers are assigned starting from global-virt-regs+1, instead of the current
|
||||
hardware-regs+1, so we can tell apart global and local virt regs.
|
||||
*) running the liveness/whatever code is needed to allocate the global registers
|
||||
*) allocate the rest of the local variables to stack slots
|
||||
*) continue with the current local allocator
|
||||
|
||||
This work could take 2-3 weeks.
|
||||
|
||||
The next step is to define the kind of declarative data an architecture needs
|
||||
and assigning virtual regs to all the registers and making the allocator
|
||||
assign from the volatile registers, too.
|
||||
Note that some of the code that is currently emitted in the arch-specific
|
||||
code, will need to be emitted as instructions that the reg allocator
|
||||
can inspect: think of a method that returns the first argument which is
|
||||
received in a register: the current code copies it to either a local slot or
|
||||
to a global reg in the prolog an copies it back to the return register
|
||||
int he basic block, but since neither the regallocator nor the peephole code
|
||||
knows about the prolog code, the first store cannot be optimized away.
|
||||
The gcc code has some example of how to specify register classes in a
|
||||
declarative way.
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
While the Boehm GC is quite good, we need to move to a
|
||||
precise, generational GC for better performance and smaller
|
||||
memory usage (no false-positives memory retentions with big
|
||||
allocations).
|
||||
|
||||
This is a large task, but it can be done in steps.
|
||||
|
||||
1) use the GCJ support to mark reference fields in objects, so
|
||||
scanning the heap is faster. This is mostly done already, needs
|
||||
checking that it is always used correctly (big objects, arrays).
|
||||
There are also some data structures we use in the runtime that are
|
||||
currently untyped that are allocated in the Gc heap and used to
|
||||
keep references to GC objects. We need to make them typed as to
|
||||
precisely track GC references or make them non-GC memory,
|
||||
by using more the GC hnadle support code (MonoGHashTable, MonoDomain,
|
||||
etc).
|
||||
|
||||
2) don't include in the static roots the .bss and .data segments
|
||||
to save in scanning time and limit false-positives. This is mostly
|
||||
done already.
|
||||
|
||||
3) keep track precisely of stack locations and registers in native
|
||||
code generation. This basically requires the regalloc rewrite code
|
||||
first, if we don't want to duplicate much of it. This is the hardest
|
||||
task of all, since proving it's correctness is very hard. Some tricks,
|
||||
like having a build that injects GC.Collect() after every few simple
|
||||
operations may help. We also need to decide if we want to handle safe
|
||||
points at calls and back jumps only or at every instruction. The latter
|
||||
case is harder to implement and requires we keep around much more data
|
||||
(it potentially makes for faster stop-the-world phases).
|
||||
The first case requires us to be able to advance a thread until it
|
||||
reaches the next safe point: this can be done with the same techniques
|
||||
used by a debugger. We already need something like this to handle
|
||||
safely aborts happening in the middle of a prolog in managed code,
|
||||
for example, so this could be an additional sub-task that can be done
|
||||
separately from the GC work.
|
||||
Note that we can adapt the libgc code to use the info we collect
|
||||
when scanning the stack in managed methods and still use the conservative
|
||||
approach for the unmanaged stack, until we have our own collector,
|
||||
which requires we define a proper icall interface to switch from managed
|
||||
to unmanaged code (hwo to we handle object references in the icall
|
||||
implementations, for example).
|
||||
|
||||
4) we could make use of the generational capabilities of the
|
||||
Boehm GC, but not with the current method involving signals which
|
||||
may create incompatibilities and is not supported on all platforms.
|
||||
We need to start using write barriers: they will be required anyway
|
||||
for the generational GC we'll use. When a field holding a reference
|
||||
is changed in an object (or an item in an array), we mark the card
|
||||
or page where the field is stored as dirty. Later, when a collection
|
||||
is run, only objects in pages marked as dirty are scanned for
|
||||
references instead of the whole heap. This could take a few days to
|
||||
implement and probably much more time to debug if all the cases were
|
||||
not catched:-)
|
||||
|
||||
5) actually write the new generational and precise collector. There are
|
||||
several examples out there as open source projects, though the CLR
|
||||
needs some specific semantics so the code needs to be written from
|
||||
scratch anyway. Compared to item 3 this is relatively easer and it can
|
||||
be tested outside of mono, too, until mono is ready to use it.
|
||||
The important features needed:
|
||||
*) precise, so there is no false positive memory retention
|
||||
*) generational to reduce collection times
|
||||
*) pointer-hopping allocation to reduce alloc time
|
||||
*) possibly per-thread lock-free allocation
|
||||
*) handle weakrefs and finalizers with the CLR semantics
|
||||
|
||||
Note: some GC engines use a single mmap area, because it makes
|
||||
handling generations and the implementation much easier, but this also
|
||||
limits the expension of the heap, so people may need to use a command-line
|
||||
option to set the max heap size etc. It would be better to have a design
|
||||
that allows mmapping a few megabytes chunks at a time.
|
||||
|
||||
The different tasks can be done in parallel. 1, 2 and 4 can be done in time
|
||||
for the mono 1.2 release. Parts of 3 and 5 could be done as well.
|
||||
The complete switch is supposed to happen with the mono 2.0 release.
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
<h1>Mono 1.0 Release Notes</h1>
|
||||
|
||||
<h2>What does Mono Include</h2>
|
||||
|
||||
<h2>Missing functionality</h2>
|
||||
|
||||
<p>COM support.
|
||||
|
||||
<p>EnterpriseServices are non-existant.
|
||||
|
||||
<p>Windows.Forms is only available as a preview, it is not
|
||||
completed nor stable.
|
||||
|
||||
<h3>Assembly: System.Drawing</h3>
|
||||
|
||||
<p>System.Drawing.Printing is not supported.
|
||||
@@ -1,3 +0,0 @@
|
||||
Makefile.in
|
||||
Makefile
|
||||
.deps
|
||||
@@ -1,24 +0,0 @@
|
||||
2004-06-24 David Waite <[email protected]>
|
||||
|
||||
* mono-jni.c: change to C90-style comments from C99/C++-style
|
||||
|
||||
Fri Jun 18 13:46:05 CEST 2004 Paolo Molaro <[email protected]>
|
||||
|
||||
* mono-jni.c: updates for the API cleanups.
|
||||
|
||||
2004-05-05 Zoltan Varga <[email protected]>
|
||||
|
||||
* mono-jni.c: Implement some missing JNI functions.
|
||||
|
||||
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.
|
||||
|
||||
@@ -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
|
||||
|
||||
-1263
File diff suppressed because it is too large.
Load diff
+1
-1
@@ -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)
|
||||
@@ -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
@@ -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)
|
||||
-121
@@ -1,121 +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 installation, removal, and listing of the
|
||||
contents of the assembly cache.
|
||||
.PP
|
||||
The GAC is relative to the Mono installation prefix:
|
||||
mono_prefix/lib/mono.
|
||||
.PP
|
||||
.SH COMMANDS
|
||||
.I -i <assembly_path> [-check_refs] [-package NAME] [-root ROOTDIR] [-gacdir GACDIR]
|
||||
.Sp
|
||||
Installs an assembly into the global assembly cache. <assembly_path>
|
||||
is the name of the file that contains the assembly manifest
|
||||
.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).
|
||||
.Sp
|
||||
The -gacdir option is used to specify the GACs base directory. Once an
|
||||
assembly has been installed to a non standard gacdir the MONO_GAC_PREFIX
|
||||
environment variable must be used to access the assembly.
|
||||
.Sp
|
||||
The -check_refs option is used to ensure that the assembly being
|
||||
installed into the GAC does not reference any non strong named
|
||||
assemblies. Assemblies being installed to the GAC should not reference
|
||||
non strong named assemblies, however the is an optional check.
|
||||
.fi
|
||||
.PP
|
||||
.I "-l" [assembly_name] [-root ROOTDIR] [-gacdir GACDIR]
|
||||
.Sp
|
||||
Lists the contents of the global assembly cache. When the
|
||||
<assembly_name> parameter is specified only matching assemblies are
|
||||
listed.
|
||||
.PP
|
||||
.I "-u" <assembly_display_name> [-package NAME] [-root ROOTDIR] [-gacdir GACDIR]
|
||||
.Sp
|
||||
Uninstalls an assembly from the global assembly cache.
|
||||
<assembly_display_name> is the name of the assembly (partial or
|
||||
fully qualified) to remove from the global assembly cache. If a
|
||||
partial name is specified all matching assemblies will be
|
||||
uninstalled. 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.
|
||||
.Sp
|
||||
.I "-us" <assembly_path> [-package NAME] [-root ROOTDIR] [-gacdir GACDIR]
|
||||
Uninstalls an assembly using the specifed assemblies full name.
|
||||
<assembly path> is the path to an assembly. The full assembly name
|
||||
is retrieved from the specified assembly if there is an assembly in
|
||||
the GAC with a matching name, it is removed. Unlike the -u option this
|
||||
option takes a file name, like this:
|
||||
.nf
|
||||
Example: -us myDll.dll
|
||||
.fi
|
||||
.Sp
|
||||
.I "-ul" <assembly_list_file> [-package NAME] [-root ROOTDIR] [-gacdir GACDIR]
|
||||
Uninstalls one or more assemblies from the global assembly cache.
|
||||
<assembly_list_file> is the path to a test file containing a list of
|
||||
assembly names on separate lines.
|
||||
.nf
|
||||
Example -ul assembly_list.txt
|
||||
.fi
|
||||
.nf
|
||||
assembly_list.txt contents:
|
||||
assembly1,Version=1.0.0.0,Culture=en,PublicKeyToken=0123456789abcdef
|
||||
assembly2,Version=2.0.0.0,Culture=en,PublicKeyToken=0123456789abcdef
|
||||
.fi
|
||||
.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
@@ -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
@@ -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.
|
||||
|
||||
@@ -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>
|
||||
@@ -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,34 +78,9 @@ 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 \-langversion:TEXT
|
||||
The option specifies the version of the language to use. The feature
|
||||
set is different in each C# version. This switch can be used to force
|
||||
the compiler to allow only a subset of the features.
|
||||
The possible values are:
|
||||
.nf
|
||||
|
||||
Default - Instruct compiler to use the latest version. Equivalent
|
||||
is to omit the switch.
|
||||
|
||||
ISO-1 - Restrict compiler to use only ISO standardized features.
|
||||
The usage of features such as generics, static classes, anonymous
|
||||
methods will lead to error.
|
||||
.I \-\-stacktrace
|
||||
Generates a stack trace at the time the error is reported, useful for
|
||||
debugging the compiler.
|
||||
.TP
|
||||
.I -lib:PATHLIST
|
||||
Each path specified in the comma-separated list will direct the
|
||||
@@ -130,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.
|
||||
@@ -152,16 +108,6 @@ Names the output file to be generated.
|
||||
.I \-\-parse
|
||||
Used for benchmarking. The compiler will only parse its input files.
|
||||
.TP
|
||||
.I \-pkg:package1[,packageN]
|
||||
The compiler will invoke pkg-config --libs on the set of packages
|
||||
specified on the command line to obtain libraries and directories to
|
||||
compile the code.
|
||||
.PP
|
||||
This is typically used with third party components, like this:
|
||||
.nf
|
||||
$ mcs -pkg:gtk-sharp demo.cs
|
||||
.fi
|
||||
.TP
|
||||
.I -resource:RESOURCE[,ID]
|
||||
Embeds to the given resource file. The optional ID can be used to
|
||||
give a different name to the resource. If not specified, the resource
|
||||
@@ -185,13 +131,9 @@ Does recursive compilation using the specified pattern. In Unix the
|
||||
shell will perform globbing, so you migth want to use it like this:
|
||||
.PP
|
||||
.nf
|
||||
$ mcs -recurse:'*.cs'
|
||||
bash$ mcs -recurse:'*.cs'
|
||||
.fi
|
||||
.TP
|
||||
.I \-\-stacktrace
|
||||
Generates a stack trace at the time the error is reported, useful for
|
||||
debugging the compiler.
|
||||
.TP
|
||||
.I \-target:KIND, \-t:KIND
|
||||
Used to specify the desired target. The possible values are: exe
|
||||
(plain executable), winexe (Windows.Forms executable), library
|
||||
@@ -278,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
|
||||
|
||||
+2
-55
@@ -1,9 +1,8 @@
|
||||
.\"
|
||||
.\" mono-config configuration page.
|
||||
.\" mono configuration page.
|
||||
.\" (C) Ximian, Inc.
|
||||
.\" Author:
|
||||
.\" Miguel de Icaza ([email protected])
|
||||
.\" Paolo Molaro ([email protected])
|
||||
.\"
|
||||
.TH Mono "Mono 1.0"
|
||||
.SH NAME
|
||||
@@ -13,9 +12,6 @@ The Mono runtime will load configuration data from the
|
||||
installation prefix /etc/mono/config file, the ~/.mono/config or from
|
||||
the file pointed by the MONO_CONFIG environment variable.
|
||||
.PP
|
||||
For each assembly loaded a config file with the name:
|
||||
/path/to/the/assembly.exe.config is loaded, too.
|
||||
.PP
|
||||
This file controls the behavior of the runtime.
|
||||
.PP
|
||||
The file contains an XML-like file with various sections, all of them
|
||||
@@ -28,37 +24,6 @@ You use the dllmap directive to map shared libraries referenced by
|
||||
P/Invoke in your assemblies to a different shared library.
|
||||
.PP
|
||||
This is typically used to map Windows libraries to Unix library names.
|
||||
The
|
||||
.B dllmap
|
||||
element takes two attributes:
|
||||
.TP
|
||||
.I dll
|
||||
This should be the same string used in the DllImport attribute
|
||||
.TP
|
||||
.I target
|
||||
This should be the name of the library where the function can be found:
|
||||
this name should be suitable for use with the platform native shared library
|
||||
loading routines (dlopen etc.), so you may want to check the manpages for that, too.
|
||||
.SH <dllentry> directive
|
||||
This directive can be used to map a specific dll/function pair to a different
|
||||
library and also a different function name. It should appear inside a
|
||||
.B dllmap
|
||||
element with only the dll attribute specified.
|
||||
.PP
|
||||
The
|
||||
.B dllentry
|
||||
element takes 3 attributes:
|
||||
.TP
|
||||
.I dll
|
||||
This is the target library, where the function can be found.
|
||||
.TP
|
||||
.I name
|
||||
This is the name of the fuction as it appears in the metadata: it is the name
|
||||
of the P/Invoke method.
|
||||
.TP
|
||||
.I target
|
||||
This is the name of the function to lookup instead of the name specified in the
|
||||
P/Invoke method.
|
||||
.SH EXAMPLES
|
||||
The following example maps references to the `cygwin1.dll' shared
|
||||
library to the `libc.so.6' file.
|
||||
@@ -67,23 +32,5 @@ library to the `libc.so.6' file.
|
||||
<dllmap dll="cygwin1.dll" target="libc.so.6"/>
|
||||
</configuration>
|
||||
.fi
|
||||
.PP
|
||||
This one maps the following C# method:
|
||||
.nf
|
||||
[DllImport ("libc")]
|
||||
static extern void somefunction ();
|
||||
.fi
|
||||
to
|
||||
.B differentfunction
|
||||
in
|
||||
.B libdifferent.so.
|
||||
.nf
|
||||
<configuration>
|
||||
<dllmap dll="libc">
|
||||
<dllentry dll="libdifferent.so" name="somefunction" target="differentfunction" />
|
||||
</dllmap>
|
||||
</configuration>
|
||||
.fi
|
||||
|
||||
.SH SEE ALSO
|
||||
.BR mono(1), monodis(1), mint(1)
|
||||
.BR mono(1), monodis(1), mint(1)
|
||||
+25
-101
@@ -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
|
||||
@@ -210,7 +197,7 @@ And individual methods are referenced with the M: prefix, and the
|
||||
standar method notation:
|
||||
.nf
|
||||
|
||||
mono --trace=M:System.Console:WriteLine app.exe
|
||||
mono --trace=M:System.Console.WriteLine app.exe
|
||||
|
||||
.fi
|
||||
As previously noted, various rules can be specified at once:
|
||||
@@ -232,40 +219,16 @@ Finally, namespaces can be specified using the N: prefix:
|
||||
mono --trace=N:System.Xml
|
||||
|
||||
.fi
|
||||
.SH DEBUGGING
|
||||
.PP
|
||||
If you are interested in debugging P/Invoke problems with your
|
||||
application, you might want to use:
|
||||
.nf
|
||||
$ MONO_LOG_LEVEL="debug" MONO_LOG_MASK="dll" mono glue.exe
|
||||
.fi
|
||||
.SH SERIALIZATION
|
||||
Mono's XML serialization engine by default will use a reflection-based
|
||||
approach to serialize which might be slow for continous processing
|
||||
(web service applications). The serialization engine will determine
|
||||
when a class must use a hand-tuned serializer based on a few
|
||||
parameters and if needed it will produce a customized C# serializer
|
||||
for your types at runtime. This customized serializer then gets
|
||||
dynamically loaded into your application.
|
||||
.PP
|
||||
You can control this with the MONO_XMLSERIALIZER_THS environment
|
||||
variable.
|
||||
.PP
|
||||
The possible values are `no' to disable the use of a C# customized
|
||||
serializer, or an integer that is the minimum number of uses before
|
||||
the runtime will produce a custom serializer (0 will produce a
|
||||
custom serializer on the first access, 50 will produce a serializer on
|
||||
the 50th use).
|
||||
.SH ENVIRONMENT VARIABLES
|
||||
.TP
|
||||
.I "GC_DONT_GC"
|
||||
Turns off the garbage collection in Mono. This should be only used
|
||||
for debugging purposes
|
||||
.TP
|
||||
.I "MONO_ASPNET_NODELETE"
|
||||
If set to any value, temporary source files generated by ASP.NET support
|
||||
classes will not be removed. They will be kept in the user's temporary
|
||||
directory.
|
||||
.I "MONO_PATH"
|
||||
Provides a search path to the runtime where to look for library files.
|
||||
Directories are separated by the platform path separator (colons on unix). Example:
|
||||
.B /home/username/lib:/usr/local/mono/lib
|
||||
.TP
|
||||
.I "MONO_CFG_DIR"
|
||||
If set, this variable overrides the default system configuration directory
|
||||
@@ -278,10 +241,8 @@ environment variable.
|
||||
.TP
|
||||
.I "MONO_DEBUG"
|
||||
If set, enables some features of the runtime useful for debugging.
|
||||
It makes the runtime display the stack traces for all the threads
|
||||
running and exit when mono is interrupted (Ctrl-C) and print some
|
||||
additional messages on error conditions. It may not exit cleanly. Use at
|
||||
your own risk.
|
||||
Currently it only makes the runtime display the stack traces for all the
|
||||
threads running and exit. It may not exit cleanly. Use at your own risk.
|
||||
.TP
|
||||
.I "MONO_DISABLE_AIO"
|
||||
If set, tells mono NOT to attempt using native asynchronous I/O services. In
|
||||
@@ -293,61 +254,18 @@ Windows I/O Emulation layer, and handles (files, events, mutexes,
|
||||
pipes) will not be shared across processes. Process creation is also
|
||||
disabled. This option is only available on Unix.
|
||||
.TP
|
||||
.I "MONO_EGD_SOCKET"
|
||||
For platforms that do not otherwise have a way of obtaining random bytes
|
||||
this can be set to the name of a file system socket on which an egd or
|
||||
prngd daemon is listening.
|
||||
.TP
|
||||
.I "MONO_EXTERNAL_ENCODINGS"
|
||||
If set, contains a colon-separated list of text encodings to try when
|
||||
turning externally-generated text (e.g. command-line arguments or
|
||||
filenames) into Unicode. The encoding names come from the list
|
||||
provided by iconv, and the special case "default_locale" which refers
|
||||
to the current locale's default encoding.
|
||||
.IP
|
||||
.TP
|
||||
When reading externally-generated text strings UTF-8 is tried first,
|
||||
and then this list is tried in order with the first successful
|
||||
conversion ending the search. When writing external text (e.g. new
|
||||
filenames or arguments to new processes) the first item in this list
|
||||
is used, or UTF-8 if the environment variable is not set.
|
||||
.TP
|
||||
.I "MONO_GAC_PREFIX"
|
||||
Provides a prefix the runtime uses to look for Global Assembly Caches.
|
||||
Directories are separated by the platform path separator (colons on
|
||||
unix). MONO_GAC_PREFIX should point to the top directory of a prefixed
|
||||
install. Or to the directory provided in the gacutil /gacdir command. Example:
|
||||
.B /home/username/.mono:/usr/local/mono/
|
||||
.TP
|
||||
.I "MONO_LOG_LEVEL"
|
||||
If set, the logging level is changed to the set value. Possible values
|
||||
are "error", "critical", "warning", "message", "info", "debug". The
|
||||
default value is "error". Messages with a logging level greater then
|
||||
or equal to the log level will be printed to stdout/stderr.
|
||||
.PP
|
||||
Use info to track the dynamic loading of assemblies.
|
||||
.TP
|
||||
.I "MONO_LOG_MASK"
|
||||
If set, the log mask is changed to the set value. Possible values are
|
||||
"asm" (assembly loader), "type", "dll" (native library loader), "gc"
|
||||
(garbage collector), "cfg" (config file loader), "aot" (precompiler), "all".
|
||||
The default value is "all". Changing the mask value allows you to display only
|
||||
messages for a certain component. You can use multiple masks by comma
|
||||
separating them. For example to see config file messages and assembly loader
|
||||
messages set you mask to "asm,cfg".
|
||||
.TP
|
||||
.I "MONO_MANAGED_WATCHER"
|
||||
If set to any value, System.IO.FileSystemWatcher will use the default
|
||||
managed implementation (slow). If unset, mono will try to use FAM under
|
||||
Unix systems and native API calls on Windows, falling back to the
|
||||
managed implementation on error.
|
||||
.TP
|
||||
.I "MONO_TRACE"
|
||||
If set, enables the System.Diagnostics.DefaultTraceListener, which will
|
||||
print the output of the System.Diagnostics Trace and Debug classes.
|
||||
It can be set to a filename, and to Console.Out or Console.Error to display
|
||||
output to standard output or standard error, respectively.
|
||||
See the System.Diagnostics.DefaultTraceListener documentation for more
|
||||
information.
|
||||
.TP
|
||||
.I "MONO_SHARED_DIR"
|
||||
If set its the directory where the ".wapi" handle state is stored.
|
||||
@@ -355,18 +273,24 @@ This is the directory where the Windows I/O Emulation layer stores its
|
||||
shared state data (files, events, mutexes, pipes). By default Mono
|
||||
will store the ".wapi" directory in the users's home directory.
|
||||
.TP
|
||||
.I "MONO_PATH"
|
||||
Provides a search path to the runtime where to look for library files.
|
||||
Directories are separated by the platform path separator (colons on unix). Example:
|
||||
.B /home/username/lib:/usr/local/mono/lib
|
||||
.I "MONO_UNMANAGED_XSLT"
|
||||
If set any value, System.Xml.Xsl.XslTransform uses libxslt-based
|
||||
transformation engine (a.k.a Unmanaged XSLT). Unmanaged XSLT has
|
||||
long been used for XSLT engine while Managed XSLT engine is so
|
||||
new and might have some bugs. Basically we recommend Managed XSLT
|
||||
solution, but if it contains some blocking bugs, then you can also
|
||||
use traditional libxslt. If you want to use msxsl:script, you have
|
||||
to select Managed XSLT.
|
||||
.TP
|
||||
.I "MONO_XMLSERIALIZER_THS"
|
||||
Controls the threshold for the XmlSerializer to produce a custom
|
||||
serializer for a given class instead of using the Reflection-based
|
||||
interpreter. The possible values are `no' to disable the use of a
|
||||
custom serializer or a number to indicate when the XmlSerializer
|
||||
should start serializing. The default value is 50, which means that
|
||||
the a custom serializer will be produced on the 50th use.
|
||||
.I "MONO_MANAGED_WATCHER"
|
||||
If set to any value, System.IO.FileSystemWatcher will use the default
|
||||
managed implementation (slow). If unset, mono will try to use FAM under
|
||||
Unix systems and native API calls on Windows, falling back to the
|
||||
managed implementation on error.
|
||||
.TP
|
||||
.I "MONO_CODEDOM_NODELETE"
|
||||
If set to any value, the C# CodeDom compiler will not remove the temporary
|
||||
source files generated.
|
||||
.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
|
||||
|
||||
+3
-3
@@ -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
@@ -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.
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
.\"
|
||||
.\" sn manual page.
|
||||
.\" Copyright 2003 Motus Technologies
|
||||
.\" Copyright 2004 Novell
|
||||
.\" Author:
|
||||
.\" Sebastien Pouliot <sebastien@ximian.com>
|
||||
.\" Sebastien Pouliot (spouliot@motus.com)
|
||||
.\"
|
||||
.TH Mono "sn"
|
||||
.SH NAME
|
||||
@@ -14,33 +13,24 @@ sn \- Digitally sign/verify/compare strongname on CLR assemblies.
|
||||
.SH DESCRIPTION
|
||||
Digitally sign, verify or compare, CLR assemblies using strongnames.
|
||||
.SH CONFIGURATION OPTIONS
|
||||
Configuration options are stored in the machine.config configuration file
|
||||
under /configuration/strongNames.
|
||||
.TP
|
||||
.I "-c provider"
|
||||
Change the default CSP (Crypto Service Provider). Currently not supported
|
||||
in Mono.
|
||||
Change the default CSP (Crypto Service Provider).
|
||||
.TP
|
||||
.I "-m [y|n]"
|
||||
Use a machine [y] key container or a user [n] key container. Currently not
|
||||
supported in Mono.
|
||||
Use a machine [y] key container or a user [n] key container.
|
||||
.TP
|
||||
.I "-Vl"
|
||||
List the verification options. The list is kept under /configuration/
|
||||
strongNames/verificationSettings in machine.config.
|
||||
List the verification options.
|
||||
.TP
|
||||
.I "-Vr assembly [userlist]"
|
||||
Exempt the specified assembly from verification for the specified user list.
|
||||
Currently not supported by sn, you must edit machine.config manually if you
|
||||
require this.
|
||||
.TP
|
||||
.I "-Vu assembly"
|
||||
Remove the exemption entry for the specified assembly. Currently not
|
||||
supported by sn, you must edit machine.config manually if you require this.
|
||||
Remove the exemption entry for the specified assembly.
|
||||
.TP
|
||||
.I "-Vx"
|
||||
Remove all exemptions entries. Currently not supported by sn, you must edit
|
||||
machine.config manually if you require this.
|
||||
Remove all exemptions entries.
|
||||
.SH CSP RELATED OPTIONS
|
||||
.TP
|
||||
.I "-d container"
|
||||
@@ -72,14 +62,11 @@ Compare if assembly1 and assembly are the same exception for their signature.
|
||||
This is done by comparing the hash of the metadata of both assembly.
|
||||
.TP
|
||||
.I "-k keypair.snk"
|
||||
Create a new strongname keypair (a 1024 bits RSA keypair) in the specified
|
||||
file.
|
||||
Create a new strongname keypair in the specified file.
|
||||
.TP
|
||||
.I "-R assembly keypair.snk"
|
||||
Resign the specified assembly using the specified strongname keypair file
|
||||
(SNK). You can only sign an assembly with the private key (SNK) that match
|
||||
the public key inside the assembly (unless it's public key token has been
|
||||
remapped in machine.config).
|
||||
(SNK).
|
||||
.TP
|
||||
.I "-Rc assembly container"
|
||||
Resign the specified assembly using the specified strongname container.
|
||||
@@ -96,10 +83,10 @@ Show the public key from the specified assembly.
|
||||
.I "-Tp assembly"
|
||||
Show the public key and the public key token from the specified assembly.
|
||||
.TP
|
||||
.I "-v assembly"
|
||||
.I "-V assembly"
|
||||
Verify the specified assembly signature.
|
||||
.TP
|
||||
.I "-vf assembly"
|
||||
.I "-Vf assembly"
|
||||
Verify the specified assembly signature (even if disabled).
|
||||
.SH HELP OPTIONS
|
||||
.TP
|
||||
@@ -117,35 +104,10 @@ Display convertion related help about this tool.
|
||||
.TP
|
||||
.I "-h sn", "-? sn"
|
||||
Display strongname related help about this tool.
|
||||
.SH CONFIGURATION FILE
|
||||
.TP
|
||||
Strongnames configuration is kept in "machine.config" file. Currently two
|
||||
features can be configured.
|
||||
.TP
|
||||
.I "/configuration/strongNames/pubTokenMapping"
|
||||
This mechanism let Mono remap a public key token, like the ECMA token, to
|
||||
another public key for verification. This is useful in two scenarios. First
|
||||
assemblies signed with the "ECMA key" needs to be verified by the "runtime"
|
||||
key (as the ECMA key isn't a public key). Second, many assemblies are signed
|
||||
with private keys that Mono can't use (e.g. System.Security.dll assembly).
|
||||
A new key cannot be used because it should change thr strongname (a new key
|
||||
pair would have a new public key which would produce a new token). Public
|
||||
key token remapping is the solution for both problems. Each token must be
|
||||
configured in a "map" entry similar to this one: <map Token="b77a5c561934e089"
|
||||
PublicKey="00..." />
|
||||
.TP
|
||||
.I "/configuration/strongNames/verificationSettings"
|
||||
It is often useful during development to use delay signed assemblies.
|
||||
Normally* the runtime wouldn't allow delay-signed assemblies to be loaded.
|
||||
This feature allows some delay-signed assemblies (based on their public key
|
||||
token, optionally assembly name and user name) to be used like they were
|
||||
fully signed assemblies. [*] Note that Mono 1.0 "runtime" doesn't validate
|
||||
strongname signatures so this option shouldn't be required in most scenarios.
|
||||
.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.
|
||||
|
||||
+45
-27
@@ -1,18 +1,18 @@
|
||||
.TH sqlsharp 1 "21 October 2004"
|
||||
.TH sqlsharp 1 "10 December 2002"
|
||||
.SH NAME
|
||||
sqlsharp \- Mono SQL Query command-line tool
|
||||
sqlsharp \- Mono SQL# command-line SQL Query tool
|
||||
.SH SYNOPSIS
|
||||
.B sqlsharp
|
||||
[\-f filename] [\-o filename] [\-s]
|
||||
.SH DESCRIPTION
|
||||
sqlsharp is a Mono SQL tool used for entering SQL queries
|
||||
to a database using Mono data providers.
|
||||
sqlsharp is the Mono SQL# tool used for entering SQL queries
|
||||
to a database using Mono ADO.NET providers.
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
The following options are supported:
|
||||
.TP
|
||||
.I "-f filename"
|
||||
Output file to load SQL commands from.
|
||||
Output file to load SQL# commands from.
|
||||
.TP
|
||||
.I "-o filename"
|
||||
Output file to send results.
|
||||
@@ -21,7 +21,7 @@ Output file to send results.
|
||||
Silent mode.
|
||||
.PP
|
||||
.SH HOW TO USE
|
||||
The SQL tool accepts commands via its command line interface. Commands
|
||||
The SQL# tool accepts commands via its command line interface. Commands
|
||||
begin with a backslash followed by the command name.
|
||||
.PP
|
||||
Example:
|
||||
@@ -344,25 +344,28 @@ ption defaulting to true.
|
||||
|
||||
PROVIDER NAME NAMESPACE ASSEMBLY
|
||||
|
||||
Oracle Oracle 8i System.Data.OracleClient System.Data.OracleClient
|
||||
PostgreSql NetPostgreSQL Npgsql Npgsql
|
||||
MySQL ByteFX MySQL ByteFX.Data.MySqlClient ByteFX.Data
|
||||
Internal
|
||||
--------
|
||||
|
||||
OleDb OLE DB System.Data.OleDb System.Data
|
||||
SqlClient MS SQL 7/2000 System.Data.SqlClient System.Data
|
||||
Odbc ODBC System.Data.Odbc System.Data
|
||||
|
||||
External to System.Data
|
||||
-----------------------
|
||||
MySql MySQL Mono.Data.MySql Mono.Data.MySql
|
||||
Sqlite SQL Lite Mono.Data.SqliteClient Mono.Data.SqliteClient
|
||||
Sybase Sybase Mono.Data.SybaseClient Mono.Data.SybaseClient
|
||||
OleDb OLE DB System.Data.OleDb System.Data
|
||||
Tds TDS Generic Mono.Data.TdsClient Mono.Data.TdsClient
|
||||
MSOdbc MS ODBC Microsoft.Data.Odbc Microsoft.Data.Odbc
|
||||
Firebird Firebird SQL FirebirdSql.Data.FirebirdSql FirebirdSql.Data.Firebird
|
||||
PostgreSql M PostgreSQL Mono.Data.PostgreSqlClient Mono.Data.PostgreSqlClient
|
||||
DB2 IBM DB2 Mono.Data.DB2Client Mono.Data.DB2Client
|
||||
Oracle Oracle 8i System.Data.OracleClient System.Data.OracleClient
|
||||
|
||||
NOTES
|
||||
External to Mono
|
||||
----------------
|
||||
|
||||
Npgsql maps to PostgreSql above.
|
||||
MySqlNet maps to MySql above.
|
||||
Odbc is treated as an external provider for .NET 1.1 and above.
|
||||
MSODBC is an external provider for compatibility with .NET 1.0
|
||||
Firebird is not included with Mono.
|
||||
Npgsql NetPostgreSQL Npgsql Npgsql
|
||||
MySQLNet ByteFX MySQL ByteFX.Data.MySQL ByteFX.Data
|
||||
|
||||
.fi
|
||||
.SH CONNECTION STRING SAMPLES
|
||||
@@ -382,6 +385,20 @@ or Mono.Data.TdsClient provider:
|
||||
|
||||
Server=DANPC;Database=pubs;User ID=saPassword=
|
||||
|
||||
|
||||
PostgreSQL via Mono.Data.PostgreSqlClient provider:
|
||||
|
||||
host=localhost;dbname=test;user=postgres;password=fun2db
|
||||
|
||||
or
|
||||
|
||||
Server=localhost;Database=test;User ID=postgres;Password=fun2db
|
||||
|
||||
|
||||
MySQL via Mono.Data.MySql provider:
|
||||
|
||||
Server=localhost;Database=test;User ID=mysql;Password=
|
||||
|
||||
|
||||
ODBC via System.Data.Odbc provider using
|
||||
a DSN named "MSSQLDSN" I set up
|
||||
@@ -410,6 +427,11 @@ Oracle via System.Data.OracleClient
|
||||
Data Source=testdb;User ID=scott;Password=tiger
|
||||
|
||||
|
||||
IBM DB2 Universal Database via Mono.Data.DB2Client
|
||||
|
||||
DSN=sample;User ID=db2admin;Password=mysecret
|
||||
|
||||
|
||||
Npgsql (.NET PostgreSQL) from
|
||||
http://gborg.postgresql.org/project/npgsql/projdisplay.php
|
||||
|
||||
@@ -421,24 +443,20 @@ http://sourceforge.net/projects/mysqlnet/
|
||||
|
||||
Server=localhost;Database=test;User ID=mysql;Password=
|
||||
|
||||
FirebirdSql via FirebirdSql.Data.Firebird (not included with Mono)
|
||||
|
||||
Database=C:\\FIREBIRD\\EXAMPLES\\EMPLOYEE.FDB;User=SYSDBA;Password=masterkey;Dialect=3;Server=localhost
|
||||
|
||||
|
||||
.fi
|
||||
.SH TRACING SUPPORT
|
||||
No support for tracing right now.
|
||||
.SH AUTHORS
|
||||
The Mono SQL Query Tool was written
|
||||
The Mono SQL# Tool was written
|
||||
.nf
|
||||
by Daniel Morgan <danielmorg[email protected]>
|
||||
by Daniel Morgan <danmorg@sc.rr.com>
|
||||
.fi
|
||||
.PP
|
||||
.SH LICENSE
|
||||
The Mono SQL Query Tool is released under the terms of the GNU GPL.
|
||||
The Mono SQL# Tool is released under the terms of the GNU GPL.
|
||||
Please read the accompanying `COPYING' file for details. Alternative
|
||||
licenses are available from Novell or Daniel Morgan.
|
||||
licenses are available from Ximian or Daniel Morgan.
|
||||
.SH BUGS
|
||||
To report bugs in the compiler, you can use `bug-buddy', or you can
|
||||
file bug reports in our bug tracking system:
|
||||
@@ -454,7 +472,7 @@ http://mail.ximian.com/mailman/mono-list
|
||||
.SH WEB SITE
|
||||
For details, visit:
|
||||
.nf
|
||||
http://www.mono-project.com
|
||||
http://www.go-mono.com
|
||||
.fi
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
|
||||
+4
-8
@@ -13,13 +13,9 @@ wsdl \- Mono's Web Service Proxy Generator
|
||||
[options] [path | url]
|
||||
.SH DESCRIPTION
|
||||
.I wsdl
|
||||
is a tool for generating proxy classes that can be used to access to
|
||||
web services. The tool reads a WSDL document from the provided path
|
||||
or url, and downloads referenced schemas or other WSDL documents if
|
||||
needed.
|
||||
.PP
|
||||
This tool is used to target the 1.x API, for targetting the 2.x API,
|
||||
please use the wsdl2 tool.
|
||||
is a tool for generating proxy classes that can be used to access to web services.
|
||||
The tool reads a WSDL document from the provided path or url, and downloads
|
||||
referenced schemas or other WSDL documents if needed.
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
The following options are available:
|
||||
@@ -77,4 +73,4 @@ Lluis Sanchez Gual ([email protected])
|
||||
wsdl is released under the terms of the GNU GPL.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
disco(1), soapsuds(1), mono(1), mcs(1), wsdl2(1)
|
||||
disco(1), soapsuds(1), mono(1), mcs(1)
|
||||
-79
@@ -1,79 +0,0 @@
|
||||
.\"
|
||||
.\" wsdl manual page.
|
||||
.\" (C) 2003 Novell, Inc.
|
||||
.\" Author:
|
||||
.\" Lluis Sanchez Gual ([email protected])
|
||||
.\"
|
||||
.TH wsdl 1
|
||||
.SH NAME
|
||||
wsdl \- Mono's Web Service Proxy Generator
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
.B wsdl
|
||||
[options] [path | url]
|
||||
.SH DESCRIPTION
|
||||
.I wsdl
|
||||
is a tool for generating proxy classes that can be used to access to web services.
|
||||
The tool reads a WSDL document from the provided path or url, and downloads
|
||||
referenced schemas or other WSDL documents if needed.
|
||||
.PP
|
||||
This tool is used to target the 2.x API, for targetting the 1.x API,
|
||||
please use the wsdl tool.
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
The following options are available:
|
||||
.TP
|
||||
.I "-appsettingurlkey:key" "-urlkey:key"
|
||||
Specifies that the url for the services should be read from the <appsettings> section
|
||||
of the configuration file, using the provided key.
|
||||
.TP
|
||||
.I "-appsettingbaseurl:url", "-baseurl:url"
|
||||
Specifies a base URL for the service. The final URL will be constructed by
|
||||
combining this value with the URL read from the
|
||||
.I -appsettingurlkey
|
||||
option, and the
|
||||
.I location
|
||||
attribute specified in the WSDL document.
|
||||
.TP
|
||||
.I "-language:language", "-l"
|
||||
Language of the code to generate. It can be CS (default) or VB.
|
||||
.TP
|
||||
.I "-namespace:name", "-n:name"
|
||||
The namespace of the generated classes. If none is specified, the default
|
||||
namespace is used.
|
||||
.TP
|
||||
.I "-out:filename", "-o:filename"
|
||||
The target file for generated code.
|
||||
.TP
|
||||
.I "-protocol:protocol", "-p:protocol"
|
||||
The protocol for which to generate code. It can be Soap (default), HttpGet or
|
||||
HttpPost.
|
||||
.TP
|
||||
.I "-sample:METHOD"
|
||||
This will display XML request and reply of the sample invocations to
|
||||
that SOAP message. You can use the -protocol: option to render the
|
||||
message in different forms.
|
||||
.TP
|
||||
.I "-server"
|
||||
Generate a server skeleton instead of a client proxy.
|
||||
.TP
|
||||
.I "-nologo"
|
||||
Supress the startup logo.
|
||||
.TP
|
||||
.I "-u:username", "-user:username"
|
||||
The user name to use when connecting to the server.
|
||||
.TP
|
||||
.I "-p:password", "-password:password"
|
||||
The password to use when connecting to the server.
|
||||
.TP
|
||||
.I "-d:domain", "-domain:domain"
|
||||
The domain to use when connecting to the server.
|
||||
.PP
|
||||
.SH AUTHORS
|
||||
Lluis Sanchez Gual ([email protected])
|
||||
.PP
|
||||
.SH LICENSE
|
||||
wsdl is released under the terms of the GNU GPL.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
disco(1), soapsuds(1), mono(1), mcs(1), wsdl(1)
|
||||
@@ -1,73 +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 "/generator:type,assembly" "/g:type,assembly"
|
||||
Indicates xsd.exe to use custom CodeDomProvider to generate code. The type name must be full name. Assembly name is a local file name that is going to be loaded. The specified Type must have the default constructor.
|
||||
.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)
|
||||
@@ -1,9 +1,3 @@
|
||||
|
||||
This list of authors is outdated. For a full list of contributors
|
||||
see:
|
||||
|
||||
http://www.go-mono.com/archive/mono-1.0.html
|
||||
|
||||
C# Compiler:
|
||||
Miguel de Icaza ([email protected])
|
||||
Ravi Pratap ([email protected])
|
||||
|
||||
+33
-146
@@ -1,116 +1,3 @@
|
||||
2004-10-29 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile (net_2_0_bootstrap_SUBDIRS,net_2_0_SUBDIRS): New.
|
||||
(profile-do--net_2_0_bootstrap--all): New target.
|
||||
(profile-do--net_2_0--all): Depend on it.
|
||||
(distdir,top_distdir): Remove.
|
||||
(dist-tarball): Define distdir here for dist-recursive.
|
||||
|
||||
2004-10-21 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile (all-profiles $(STD_TARGETS:=-profiles)): Make
|
||||
parallelizable.
|
||||
|
||||
2004-09-27 Raja R Harinath <[email protected]>
|
||||
|
||||
* nunit20/nunit-console/Makefile (PROGRAM): Put in
|
||||
profile-specific directory.
|
||||
|
||||
2004-09-21 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile (DIST_ONLY_SUBDIRS): Add 'gmcs' since it is specially
|
||||
handled by 'class/corlib/Makefile'.
|
||||
(test-installed-compiler): Run compiler tests using the installed
|
||||
compiler.
|
||||
|
||||
2004-09-14 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile (SUBDIRS): Allow to be overriden by $(TEST_SUBDIRS).
|
||||
(test-profiles, run-test-profiles): New targets.
|
||||
(test-compiler): Rename to ...
|
||||
(compiler-tests): ... this. Run tests on all profiles.
|
||||
|
||||
2004-09-03 Martin Baulig <[email protected]>
|
||||
|
||||
* Makefile (test-compiler): New target to run the compiler test.
|
||||
|
||||
2004-07-02 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile (OVERRIDE_BARE_TARGETS): Remove.
|
||||
(OVERRIDE_TARGET_ALL): Define.
|
||||
(all-recursive,$(STD_TARGETS:=-recursive)): Depend on
|
||||
'platform-check' and 'profile-check'.
|
||||
(all.override): New. Run two passes: once to build, and once to
|
||||
sign libraries.
|
||||
|
||||
2004-06-22 Todd Berman <[email protected]>
|
||||
|
||||
* configure: Patch from Mariano Suárez-Alvarez
|
||||
<[email protected]> to make configure accept jhbuild style
|
||||
/prefix /usr options, and to continue past unknown options. Currently
|
||||
this patch is a bit spammy with multiple unknown options, anyone
|
||||
who is interested is welcome to fix this.
|
||||
|
||||
2004-06-14 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile (all-profiles, clean-profiles): Simplify slightly.
|
||||
|
||||
2004-06-05 Atsushi Enomoto <[email protected]>
|
||||
|
||||
* Makefile: added target run-test-ondotnet.
|
||||
|
||||
2004-05-26 Raja R Harinath <[email protected]>
|
||||
|
||||
* nunit20/util/Makefile (EXTRA_DISTFILES): Remove
|
||||
Transform.resources.
|
||||
($(the_lib)): Make Transform.resources using internal resgen.
|
||||
* nunit20/util/Transform.resources: Rebuild.
|
||||
|
||||
2004-05-25 Sebastien Pouliot <[email protected]>
|
||||
|
||||
* nunit.key: New. NUnit private key. Due to build issues the key
|
||||
must be present in this directory.
|
||||
|
||||
2004-05-20 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile (SUBDIRS): Move 'monoresgen' ahead of 'class'.
|
||||
|
||||
2004-05-17 Raja R Harinath <[email protected]>
|
||||
|
||||
* Makefile (all, clean): Remove indirection.
|
||||
(clean-profiles): New.
|
||||
|
||||
2004-05-13 Jackson Harper <[email protected]>
|
||||
|
||||
* Makefile: default build is no longer the multi profile build. Do
|
||||
build both 1.1 and 2.0 profiles use the all-profiles target.
|
||||
|
||||
2004-05-12 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* Makefile: disable net_2_0 on windows. It doesn't build. Don't
|
||||
try to build net_1_0 and net_2_0 if we provide a PROFILE=xxx in the
|
||||
command line.
|
||||
|
||||
2004-05-10 Raja R Harinath <[email protected]>
|
||||
|
||||
* INSTALL.txt: Don't mention 'fullbuild'. Mention 'bootstrap'
|
||||
instead. Update instructions for 'monocharge'.
|
||||
|
||||
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
|
||||
@@ -245,41 +132,41 @@
|
||||
which includes a MySQL ADO.NET Provider.
|
||||
Contributed by Reggie Burnett <[email protected]>
|
||||
from ByteFX, Inc.
|
||||
ByteFX.Data 0.6.5 is Copyright 2002-2003, ByteFX, Inc.
|
||||
|
||||
Added the following files and directories:
|
||||
ByteFX.Data 0.6.5 is Copyright 2002-2003, ByteFX, Inc.
|
||||
|
||||
Added the following files and directories:
|
||||
|
||||
class/ByteFX.Data/AssemblyInfo.cs
|
||||
class/ByteFX.Data/list
|
||||
class/ByteFX.Data/ByteFX.Data.build
|
||||
class/ByteFX.Data/makefile.gnu
|
||||
class/ByteFX.Data/ChangeLog.txt
|
||||
class/ByteFX.Data/readme.txt
|
||||
class/ByteFX.Data/lgpl.txt: new files
|
||||
|
||||
BitStream.cs
|
||||
Connection.cs
|
||||
Field.cs
|
||||
Inflater.cs
|
||||
ConnectionString.cs
|
||||
HuffmanTree.cs
|
||||
NamedPipeStream.cs
|
||||
class/ByteFX.Data/Common: added files to new directory
|
||||
|
||||
Driver.cs
|
||||
command.resx
|
||||
todo.txt
|
||||
CommandBuilder.cs
|
||||
Exception.cs
|
||||
dataadapter.cs
|
||||
transcaction.cs
|
||||
Connection.cs
|
||||
Field.cs
|
||||
datareader.cs
|
||||
Connection.resx
|
||||
MysqlDefs.cs
|
||||
class/ByteFX.Data/AssemblyInfo.cs
|
||||
class/ByteFX.Data/list
|
||||
class/ByteFX.Data/ByteFX.Data.build
|
||||
class/ByteFX.Data/makefile.gnu
|
||||
class/ByteFX.Data/ChangeLog.txt
|
||||
class/ByteFX.Data/readme.txt
|
||||
class/ByteFX.Data/lgpl.txt: new files
|
||||
|
||||
BitStream.cs
|
||||
Connection.cs
|
||||
Field.cs
|
||||
Inflater.cs
|
||||
ConnectionString.cs
|
||||
HuffmanTree.cs
|
||||
NamedPipeStream.cs
|
||||
class/ByteFX.Data/Common: added files to new directory
|
||||
|
||||
Driver.cs
|
||||
command.resx
|
||||
todo.txt
|
||||
CommandBuilder.cs
|
||||
Exception.cs
|
||||
dataadapter.cs
|
||||
transcaction.cs
|
||||
Connection.cs
|
||||
Field.cs
|
||||
datareader.cs
|
||||
Connection.resx
|
||||
MysqlDefs.cs
|
||||
parameter.cs
|
||||
class/ByteFX.Data/mysqlclient: added files to new directory
|
||||
class/ByteFX.Data/mysqlclient: added files to new directory
|
||||
|
||||
command.cs
|
||||
parameter_collection.cs
|
||||
|
||||
-313
@@ -1,313 +0,0 @@
|
||||
The class libraries are grouped together in the assemblies they belong.
|
||||
|
||||
Each directory here represents an assembly, and inside each directory we
|
||||
divide the code based on the namespace they implement.
|
||||
|
||||
In addition, each assembly directory contains a Test directory that holds the
|
||||
NUnit tests for that assembly.
|
||||
|
||||
We use a new build system which is described by various README files
|
||||
in mcs/build
|
||||
|
||||
The build process typically builds an assembly, but in some cases it
|
||||
also builds special versions of the assemblies intended to be used for
|
||||
testing.
|
||||
|
||||
* Missing implementation bits
|
||||
|
||||
If you implement a class and you are missing implementation bits,
|
||||
please use the attribute [MonoTODO]. This attribute can be used
|
||||
to programatically generate our status web pages:
|
||||
|
||||
[MonoTODO]
|
||||
int MyFunction ()
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
* Supporting .NET 1.2, .NET 1.1 and .NET 1.0 builds
|
||||
|
||||
The defines NET_1_1 and NET_2_0 are used to include
|
||||
features. When NET_2_0 is defined, it also implies that the
|
||||
NET_1_1 is defined.
|
||||
|
||||
To have code which is only available in an old version, use ONLY_1_0,
|
||||
ONLY_1_1
|
||||
|
||||
* Tagging buggy code
|
||||
|
||||
If there is a bug in your implementation tag the problem by using
|
||||
the word "FIXME" in the code, together with a description of the
|
||||
problem.
|
||||
|
||||
Do not use XXX or obscure descriptions, because otherwise people
|
||||
will not be able to understand what you mean.
|
||||
|
||||
* Tagging Problematic specs.
|
||||
|
||||
If the documentation and the Microsoft implementation do
|
||||
differ (you wrote a test case to prove this), I suggest that you edit
|
||||
the file `mcs/class/doc/API-notes' so we can keep track of these problems
|
||||
and submit our comments to ECMA or Microsoft and seek clarification.
|
||||
|
||||
Sometimes the documentation might be buggy, and sometimes the implementation
|
||||
might be buggy. Lets try to identify and pinpoint which one
|
||||
is the correct one.
|
||||
|
||||
Sometimes the specification will be lame (consider Version.ToString (fieldCount)
|
||||
where there is no way of knowing how many fields are available, making the API
|
||||
not only stupid, but leading to unreliable code).
|
||||
|
||||
In those cases, use the keyword "LAMESPEC".
|
||||
|
||||
|
||||
* Coding considerations and style.
|
||||
|
||||
In order to keep the code consistent, please use the following
|
||||
conventions. From here on `good' and `bad' are used to attribute
|
||||
things that would make the coding style match, or not match. It is not
|
||||
a judgement call on your coding abilities, but more of a style and
|
||||
look call. Please try to follow these guidelines to ensure prettiness.
|
||||
|
||||
Use 8 space tabs for writing your code (hopefully we can keep
|
||||
this consistent). If you are modifying someone else's code, try
|
||||
to keep the coding style similar.
|
||||
|
||||
Since we are using 8-space tabs, you might want to consider the Linus
|
||||
Torvals trick to reduce code nesting. Many times in a loop, you will
|
||||
find yourself doing a test, and if the test is true, you will nest.
|
||||
Many times this can be changed. Example:
|
||||
|
||||
|
||||
for (i = 0; i < 10; i++) {
|
||||
if (something (i)) {
|
||||
do_more ();
|
||||
}
|
||||
}
|
||||
|
||||
This take precious space, instead write it like this:
|
||||
|
||||
for (i = 0; i < 10; i++) {
|
||||
if (!something (i))
|
||||
continue;
|
||||
do_more ();
|
||||
}
|
||||
|
||||
A few guidelines:
|
||||
|
||||
* Use a space before an opening parenthesis when calling
|
||||
functions, or indexing, like this:
|
||||
|
||||
method (a);
|
||||
b [10];
|
||||
|
||||
* Do not put a space after the opening parenthesis and the
|
||||
closing one, ie:
|
||||
|
||||
good: method (a); array [10];
|
||||
|
||||
bad: method ( a ); array[ 10 ];
|
||||
|
||||
* Inside a code block, put the opening brace on the same line
|
||||
as the statement:
|
||||
|
||||
good:
|
||||
if (a) {
|
||||
code ();
|
||||
code ();
|
||||
}
|
||||
|
||||
bad:
|
||||
if (a)
|
||||
{
|
||||
code ();
|
||||
code ();
|
||||
}
|
||||
|
||||
* Avoid using unecessary open/close braces, vertical space
|
||||
is usually limited:
|
||||
|
||||
good:
|
||||
if (a)
|
||||
code ();
|
||||
|
||||
bad:
|
||||
if (a) {
|
||||
code ();
|
||||
}
|
||||
|
||||
* When defining a method, use the C style for brace placement,
|
||||
that means, use a new line for the brace, like this:
|
||||
|
||||
good:
|
||||
void Method ()
|
||||
{
|
||||
}
|
||||
|
||||
bad:
|
||||
void Method () {
|
||||
}
|
||||
|
||||
* Properties and indexers are an exception, keep the
|
||||
brace on the same line as the property declaration.
|
||||
Rationale: this makes it visually
|
||||
simple to distinguish them.
|
||||
|
||||
good:
|
||||
int Property {
|
||||
get {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
bad:
|
||||
int Property
|
||||
{
|
||||
get {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
Notice how the accessor "get" also keeps its brace on the same
|
||||
line.
|
||||
|
||||
For very small properties, you can compress things:
|
||||
|
||||
ok:
|
||||
int Property {
|
||||
get { return value; }
|
||||
set { x = value; }
|
||||
}
|
||||
|
||||
* Use white space in expressions liberally, except in the presence
|
||||
of parenthesis:
|
||||
|
||||
good:
|
||||
|
||||
if (a + 5 > method (blah () + 4))
|
||||
|
||||
bad:
|
||||
if (a+5>method(blah()+4))
|
||||
|
||||
* For any new files, please use a descriptive introduction, like
|
||||
this:
|
||||
|
||||
//
|
||||
// System.Comment.cs: Handles comments in System files.
|
||||
//
|
||||
// Author:
|
||||
// Juan Perez ([email protected])
|
||||
//
|
||||
// (C) 2002 Address, Inc (http://www.address.com)
|
||||
//
|
||||
|
||||
* If you are modyfing someone else's code, and your contribution
|
||||
is significant, please add yourself to the Authors list.
|
||||
|
||||
* Switch statements have the case at the same indentation as the
|
||||
switch:
|
||||
|
||||
switch (x) {
|
||||
case 'a':
|
||||
...
|
||||
case 'b':
|
||||
...
|
||||
}
|
||||
|
||||
* Argument names should use the camel casing for
|
||||
identifiers, like this:
|
||||
|
||||
good:
|
||||
void Method (string myArgument)
|
||||
|
||||
bad:
|
||||
void Method (string lpstrArgument)
|
||||
void Method (string my_string)
|
||||
|
||||
* Empty methods: They should have the body of code using two
|
||||
lines, in consistency with the rest:
|
||||
|
||||
good:
|
||||
void EmptyMethod ()
|
||||
{
|
||||
}
|
||||
|
||||
bad:
|
||||
void EmptyMethod () {}
|
||||
|
||||
void EmptyMethod ()
|
||||
{}
|
||||
|
||||
* Line length: The line length for C# source code is 134 columns.
|
||||
|
||||
|
||||
If your function declaration arguments go beyond
|
||||
this point, please align your arguments to match the
|
||||
opening brace, like this:
|
||||
|
||||
void Function (int arg, string argb,
|
||||
int argc)
|
||||
{
|
||||
}
|
||||
|
||||
When invoking functions, the rule is different, the
|
||||
arguments are not aligned with the previous
|
||||
argument, instead they begin at the tabbed position,
|
||||
like this:
|
||||
|
||||
void M ()
|
||||
{
|
||||
MethodCall ("Very long string that will force",
|
||||
"Next argument on the 8-tab pos",
|
||||
"Just like this one")
|
||||
|
||||
}
|
||||
|
||||
Here are a couple of examples:
|
||||
|
||||
class X : Y {
|
||||
|
||||
bool Method (int argument_1, int argument_2)
|
||||
{
|
||||
if (argument_1 == argument_2)
|
||||
throw new Exception (Locale.GetText ("They are equal!");
|
||||
|
||||
if (argument_1 < argument_2) {
|
||||
if (argument_1 * 3 > 4)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
//
|
||||
// This sample helps keep your sanity while using 8-spaces for tabs
|
||||
//
|
||||
VeryLongIdentifierWhichTakesManyArguments (
|
||||
Argument1, Argument2, Argument3,
|
||||
NestedCallHere (
|
||||
MoreNested));
|
||||
}
|
||||
|
||||
bool MyProperty {
|
||||
get {
|
||||
return x;
|
||||
}
|
||||
|
||||
set {
|
||||
x = value;
|
||||
}
|
||||
}
|
||||
|
||||
void AnotherMethod ()
|
||||
{
|
||||
if ((a + 5) != 4) {
|
||||
}
|
||||
|
||||
while (blah) {
|
||||
if (a)
|
||||
continue;
|
||||
b++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+15
-17
@@ -25,15 +25,15 @@ compilers and tools.
|
||||
|
||||
If you only want to build a snapshot or a fresh CVS checkout of the
|
||||
sources, you should go into the `mono' sibling directory and issue the
|
||||
make bootstrap command, like this:
|
||||
make fullbuild command, like this:
|
||||
|
||||
cd ../mono
|
||||
./autogen.sh --prefix=/usr/local
|
||||
make bootstrap
|
||||
make install
|
||||
make fullbuild
|
||||
|
||||
The compilation is bundled with the build due to dependencies on the
|
||||
class libraries on the runtime.
|
||||
That will build and install the code in a single pass. The
|
||||
compilation is bundled with the build due to dependencies on the class
|
||||
libraries on the runtime.
|
||||
|
||||
Build Features for Developers of Mono.
|
||||
======================================
|
||||
@@ -73,19 +73,17 @@ The difference between the two modes is explained farther down.
|
||||
Troubleshooting
|
||||
===============
|
||||
|
||||
We try to maintain the CVS tree such that it is bootstrapable from the
|
||||
latest released version of mono and mcs. Occasionally, something in the
|
||||
compiler or runtime changes enough that an existing installation cannot
|
||||
complete a bootstrap from cvs. In this case, go to
|
||||
http://go-mono.com/daily and download a monocharge or monolite tarball.
|
||||
Unpack and copy the .dlls to $prefix/lib and .exes to $prefix/bin/.
|
||||
Then you should be able to complete the build normally (i.e. using make
|
||||
bootstrap).
|
||||
Occasionally, something in the compiler or runtime changes enough that
|
||||
an existing installation cannot complete a full build from cvs. In this case,
|
||||
go to http://go-mono.com/daily and download a monocharge or monolite tarball.
|
||||
Unpack and copy the .dlls to $prefix/lib and .exes to $prefix/bin/. Then
|
||||
you should be able to complete the build normally (i.e. using make fullbuild).
|
||||
|
||||
wget http://go-mono.com/daily/monolite-20040505.tar.gz
|
||||
tar -zxvf monolite-20040505.tar.gz
|
||||
cd monolite-20040505
|
||||
env prefix=/usr/local sh recharge.sh
|
||||
wget http://go-mono.com/daily/monolite-20031028.tar.gz
|
||||
tar -zxvf monolite-20031028.tar.gz
|
||||
cd monolite-20031028
|
||||
cp *.exe /usr/local/bin/.
|
||||
cp *.dll /usr/local/lib/.
|
||||
|
||||
Monocharges
|
||||
===========
|
||||
|
||||
+24
-51
@@ -1,61 +1,33 @@
|
||||
thisdir := .
|
||||
|
||||
SUBDIRS := build jay mcs monoresgen class mbas nunit20 ilasm tools tests errors docs
|
||||
DIST_ONLY_SUBDIRS := gmcs
|
||||
|
||||
net_2_0_bootstrap_SUBDIRS := class
|
||||
net_2_0_SUBDIRS := gmcs class tests errors tools
|
||||
|
||||
ifdef TEST_SUBDIRS
|
||||
$(PROFILE)_SUBDIRS := $(TEST_SUBDIRS)
|
||||
endif
|
||||
|
||||
ifndef NO_SIGN_ASSEMBLIES
|
||||
OVERRIDE_TARGET_ALL = yes
|
||||
endif
|
||||
|
||||
SUBDIRS := build jay mcs class mbas nunit20 monoresgen ilasm tools tests errors docs
|
||||
OVERRIDE_BARE_TARGETS = hells yeah
|
||||
include build/rules.make
|
||||
|
||||
all-recursive $(STD_TARGETS:=-recursive): platform-check profile-check
|
||||
# Define these ourselves to that the platform checks come first
|
||||
|
||||
# Used only if OVERRIDE_TARGET_ALL is defined
|
||||
all.override:
|
||||
$(MAKE) NO_SIGN_ASSEMBLY=yes all.real
|
||||
$(MAKE) all.real
|
||||
all: platform-check profile-check all-recursive #all-local
|
||||
|
||||
.PHONY: all-local $(STD_TARGETS:=-local)
|
||||
all-local $(STD_TARGETS:=-local):
|
||||
@:
|
||||
install: platform-check profile-check install-recursive #install-local
|
||||
|
||||
uninstall: platform-check profile-check uninstall-recursive #uninstall-local
|
||||
|
||||
test: platform-check profile-check test-recursive #test-local
|
||||
|
||||
run-test: run-test-recursive #run-test-local
|
||||
|
||||
clean: clean-recursive #clean-local
|
||||
|
||||
# fun specialty targets
|
||||
|
||||
PROFILES = default net_2_0
|
||||
|
||||
.PHONY: all-profiles $(STD_TARGETS:=-profiles)
|
||||
all-profiles $(STD_TARGETS:=-profiles):
|
||||
$(MAKE) $(PROFILES:%=profile-do--%--$(@:-profiles=))
|
||||
|
||||
# The % below looks like profile-name--target-name
|
||||
profile-do--%:
|
||||
$(MAKE) PROFILE=$(subst --, ,$*)
|
||||
|
||||
# Ensure these don't run in parallel, for now.
|
||||
profile-do--net_2_0--run-test: profile-do--default--run-test
|
||||
|
||||
profile-do--net_2_0--all: profile-do--net_2_0_bootstrap--all
|
||||
profile-do--net_2_0_bootstrap--all: profile-do--default--all
|
||||
|
||||
testcorlib:
|
||||
@cd class/corlib && $(MAKE) test run-test
|
||||
|
||||
compiler-tests:
|
||||
$(MAKE) TEST_SUBDIRS="tests errors" run-test-profiles
|
||||
|
||||
test-installed-compiler:
|
||||
$(MAKE) TEST_SUBDIRS="tests errors" PROFILE=default TEST_RUNTIME=mono MCS=mcs run-test
|
||||
$(MAKE) TEST_SUBDIRS="tests errors" PROFILE=net_2_0 TEST_RUNTIME=mono MCS=gmcs run-test
|
||||
# Disting. We need to override $(distdir) here.
|
||||
|
||||
package := mcs-$(VERSION)
|
||||
top_distdir = $(dots)/$(package)
|
||||
distdir = $(top_distdir)
|
||||
export package
|
||||
|
||||
DISTFILES = \
|
||||
AUTHORS \
|
||||
@@ -74,16 +46,16 @@ DISTFILES = \
|
||||
ScalableMonoIcon.svg \
|
||||
winexe.in
|
||||
|
||||
dist-local: dist-default
|
||||
|
||||
dist-pre:
|
||||
rm -rf $(package)
|
||||
mkdir $(package)
|
||||
|
||||
dist-tarball: dist-pre
|
||||
$(MAKE) distdir='$(package)' dist-recursive
|
||||
dist-post:
|
||||
tar cvzf $(package).tar.gz $(package)
|
||||
|
||||
dist-local: dist-default
|
||||
|
||||
dist-tarball: dist-pre dist-recursive dist-post
|
||||
|
||||
dist: dist-tarball
|
||||
rm -rf $(package)
|
||||
|
||||
@@ -94,10 +66,11 @@ dist: dist-tarball
|
||||
# We need to set prefix on make so class/System/Makefile can find
|
||||
# the installed System.Xml to build properly
|
||||
|
||||
distcheck: dist-tarball
|
||||
distcheck:
|
||||
rm -rf InstallTest Distcheck-MCS ; \
|
||||
mkdir InstallTest ; \
|
||||
destdir=`cd InstallTest && pwd` ; \
|
||||
$(MAKE) dist-tarball || exit 1 ; \
|
||||
mv $(package) Distcheck-MCS ; \
|
||||
(cd Distcheck-MCS && \
|
||||
$(MAKE) prefix=$(prefix) && $(MAKE) test && $(MAKE) install DESTDIR="$$destdir" && \
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
*~
|
||||
.*
|
||||
*.out
|
||||
output
|
||||
@@ -1,7 +1,3 @@
|
||||
REM LineNo: 16
|
||||
REM ExpectedError: BC30390
|
||||
REM ErrorMessage: 'C1.Private Sub S()' is not accessible in this context because it is 'Private'.
|
||||
|
||||
Imports System 'Should generate five compilation errors
|
||||
Class C1
|
||||
Private a As Integer=10
|
||||
@@ -14,6 +10,29 @@ Class C2
|
||||
Inherits C1
|
||||
Public Sub S1()
|
||||
S()
|
||||
Console.WriteLine(a)
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C3
|
||||
Public Sub S()
|
||||
Dim myC As New C1()
|
||||
myC.S()
|
||||
Console.WriteLine(myC.a)
|
||||
Console.WriteLine(myC.b)
|
||||
End Sub
|
||||
End Class
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
Dim myC1 As New C1()
|
||||
myC1.S()
|
||||
Console.WriteLine(myC1.a)
|
||||
Console.WriteLine(myC1.b)
|
||||
|
||||
Dim myC2 As New C2()
|
||||
myC2.S1()
|
||||
|
||||
Dim myC3 As New C3()
|
||||
myC3.S()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,35 +0,0 @@
|
||||
REM LineNo: 22
|
||||
REM ExpectedError: BC30390
|
||||
REM ErrorMessage: 'C1.b' is not accessible in this context because it is 'Protected'.
|
||||
|
||||
Imports System 'Should generate five compilation errors
|
||||
Class C1
|
||||
Private a As Integer=10
|
||||
Protected b As Integer=30
|
||||
Private Sub S()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C2
|
||||
Inherits C1
|
||||
Public Sub S1()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C3
|
||||
Public Sub S()
|
||||
Dim myC As New C1()
|
||||
Console.WriteLine(myC.b)
|
||||
End Sub
|
||||
End Class
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
Dim myC1 As New C1()
|
||||
|
||||
Dim myC2 As New C2()
|
||||
myC2.S1()
|
||||
|
||||
Dim myC3 As New C3()
|
||||
myC3.S()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,35 +0,0 @@
|
||||
REM LineNo: 27
|
||||
REM ExpectedError: BC30390
|
||||
REM ErrorMessage: 'C1.Private Sub S()' is not accessible in this context because it is 'Private'.
|
||||
|
||||
Imports System 'Should generate five compilation errors
|
||||
Class C1
|
||||
Private a As Integer=10
|
||||
Protected b As Integer=30
|
||||
Private Sub S()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C2
|
||||
Inherits C1
|
||||
Public Sub S1()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C3
|
||||
Public Sub S()
|
||||
Dim myC As New C1()
|
||||
End Sub
|
||||
End Class
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
Dim myC1 As New C1()
|
||||
myC1.S()
|
||||
|
||||
Dim myC2 As New C2()
|
||||
myC2.S1()
|
||||
|
||||
Dim myC3 As New C3()
|
||||
myC3.S()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,35 +0,0 @@
|
||||
REM LineNo: 27
|
||||
REM ExpectedError: BC30390
|
||||
REM ErrorMessage: 'C1.a' is not accessible in this context because it is 'Private'.
|
||||
|
||||
Imports System 'Should generate five compilation errors
|
||||
Class C1
|
||||
Private a As Integer=10
|
||||
Protected b As Integer=30
|
||||
Private Sub S()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C2
|
||||
Inherits C1
|
||||
Public Sub S1()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C3
|
||||
Public Sub S()
|
||||
Dim myC As New C1()
|
||||
End Sub
|
||||
End Class
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
Dim myC1 As New C1()
|
||||
Console.WriteLine(myC1.a)
|
||||
|
||||
Dim myC2 As New C2()
|
||||
myC2.S1()
|
||||
|
||||
Dim myC3 As New C3()
|
||||
myC3.S()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,35 +0,0 @@
|
||||
REM LineNo: 27
|
||||
REM ExpectedError: BC30390
|
||||
REM ErrorMessage: 'C1.b' is not accessible in this context because it is 'Protected'.
|
||||
|
||||
Imports System 'Should generate five compilation errors
|
||||
Class C1
|
||||
Private a As Integer=10
|
||||
Protected b As Integer=30
|
||||
Private Sub S()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C2
|
||||
Inherits C1
|
||||
Public Sub S1()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C3
|
||||
Public Sub S()
|
||||
Dim myC As New C1()
|
||||
End Sub
|
||||
End Class
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
Dim myC1 As New C1()
|
||||
Console.WriteLine(myC1.b)
|
||||
|
||||
Dim myC2 As New C2()
|
||||
myC2.S1()
|
||||
|
||||
Dim myC3 As New C3()
|
||||
myC3.S()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,12 +0,0 @@
|
||||
REM LineNo: 5
|
||||
REM ExpectedError: BC31089
|
||||
REM ErrorMessage: Types declared 'Private' must be inside another type.
|
||||
|
||||
Private Class C2
|
||||
End Class
|
||||
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
REM LineNo: 11
|
||||
REM ExpectedError: BC30451
|
||||
REM ErrorMessage: Name 'S2' is not declared.
|
||||
|
||||
Class C1
|
||||
End Class
|
||||
|
||||
Class C2
|
||||
Inherits C1
|
||||
Public Sub S1()
|
||||
S2()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,18 +0,0 @@
|
||||
REM LineNo: 11
|
||||
REM ExpectedError: BC30451
|
||||
REM ErrorMessage: Name 'C' is not declared.
|
||||
|
||||
Class C1
|
||||
End Class
|
||||
|
||||
Class C2
|
||||
Inherits C1
|
||||
Public Sub S1()
|
||||
C = 10
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,18 +0,0 @@
|
||||
REM LineNo: 11
|
||||
REM ExpectedError: BC30456
|
||||
REM ErrorMessage: 'S2' is not a member of 'C1'.
|
||||
|
||||
Class C1
|
||||
End Class
|
||||
|
||||
Class C3
|
||||
Public Sub S()
|
||||
Dim myC As New C1()
|
||||
myC.S2()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,18 +0,0 @@
|
||||
REM LineNo: 11
|
||||
REM ExpectedError: BC30456
|
||||
REM ErrorMessage: 'C' is not a member of 'C1'.
|
||||
|
||||
Class C1
|
||||
End Class
|
||||
|
||||
Class C3
|
||||
Public Sub S()
|
||||
Dim myC As New C1()
|
||||
myC.C = 20
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,12 +0,0 @@
|
||||
REM LineNo: 7
|
||||
REM ExpectedError: BC30176
|
||||
REM ErrorMessage: Only one of 'Public', 'Private', 'Protected', 'Friend', or 'Protected Friend' can be specified.
|
||||
|
||||
Imports System
|
||||
Class C1
|
||||
Public Private a As Integer
|
||||
End Class
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,9 +1,9 @@
|
||||
REM LineNo: 7
|
||||
REM ExpectedError: BC30176
|
||||
REM ErrorMessage: Only one of 'Public', 'Private', 'Protected', 'Friend', or 'Protected Friend' can be specified.
|
||||
|
||||
Imports System
|
||||
Class C1
|
||||
Public Private a As Integer
|
||||
Public Protected b As Integer
|
||||
Public Friend c As Integer
|
||||
Private Protected d As Integer
|
||||
Private Friend e As Integer
|
||||
End Class
|
||||
Module Accessibility
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
REM LineNo: 7
|
||||
REM ExpectedError: BC30176
|
||||
REM ErrorMessage: Only one of 'Public', 'Private', 'Protected', 'Friend', or 'Protected Friend' can be specified.
|
||||
|
||||
Imports System
|
||||
Class C1
|
||||
Public Protected b As Integer
|
||||
End Class
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,12 +0,0 @@
|
||||
REM LineNo: 7
|
||||
REM ExpectedError: BC30176
|
||||
REM ErrorMessage: Only one of 'Public', 'Private', 'Protected', 'Friend', or 'Protected Friend' can be specified.
|
||||
|
||||
Imports System
|
||||
Class C1
|
||||
Public Friend c As Integer
|
||||
End Class
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,12 +0,0 @@
|
||||
REM LineNo: 7
|
||||
REM ExpectedError: BC30176
|
||||
REM ErrorMessage: Only one of 'Public', 'Private', 'Protected', 'Friend', or 'Protected Friend' can be specified.
|
||||
|
||||
Imports System
|
||||
Class C1
|
||||
Private Protected d As Integer
|
||||
End Class
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,18 +0,0 @@
|
||||
REM LineNo: 11
|
||||
REM ExpectedError: BC30451
|
||||
REM ErrorMessage: Name 'S2' is not declared.
|
||||
|
||||
Class C1
|
||||
End Class
|
||||
|
||||
Class C2
|
||||
Inherits C1
|
||||
Public Sub S1()
|
||||
S2()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,12 +0,0 @@
|
||||
REM LineNo: 5
|
||||
REM ExpectedError: BC31047
|
||||
REM ErrorMessage: Protected types can only be declared inside of a class.
|
||||
|
||||
Protected Class C1
|
||||
End Class
|
||||
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
REM LineNo: 11
|
||||
REM ExpectedError: BC30389
|
||||
REM ErrorMessage: 'C1.InnerC' is not accessible in this context because it is 'Protected'.
|
||||
|
||||
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
|
||||
@@ -1,19 +0,0 @@
|
||||
REM LineNo: 16
|
||||
REM ExpectedError: BC30390
|
||||
REM ErrorMessage: 'C1.Private Sub S()' is not accessible in this context because it is 'Private'.
|
||||
|
||||
Imports System 'Should generate five compilation errors
|
||||
Class C1
|
||||
Private a As Integer=10
|
||||
Protected b As Integer=30
|
||||
Private Sub S()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C2
|
||||
Inherits C1
|
||||
Public Sub S1()
|
||||
S()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
REM LineNo: 16
|
||||
REM ExpectedError: BC30390
|
||||
REM ErrorMessage: 'C1.a' is not accessible in this context because it is 'Private'.
|
||||
|
||||
Imports System 'Should generate five compilation errors
|
||||
Class C1
|
||||
Private a As Integer=10
|
||||
Protected b As Integer=30
|
||||
Private Sub S()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C2
|
||||
Inherits C1
|
||||
Public Sub S1()
|
||||
Console.WriteLine (a)
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
REM LineNo: 16
|
||||
REM ExpectedError: BC30390
|
||||
REM ErrorMessage: 'C1.Private Sub S()' is not accessible in this context because it is 'Private'.
|
||||
|
||||
Imports System 'Should generate five compilation errors
|
||||
Class C1
|
||||
Private a As Integer=10
|
||||
Protected b As Integer=30
|
||||
Private Sub S()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C3
|
||||
Public Sub S()
|
||||
Dim myC As New C1()
|
||||
myC.S()
|
||||
End Sub
|
||||
End Class
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,22 +0,0 @@
|
||||
REM LineNo: 16
|
||||
REM ExpectedError: BC30390
|
||||
REM ErrorMessage: 'C1.a' is not accessible in this context because it is 'Private'.
|
||||
|
||||
Imports System 'Should generate five compilation errors
|
||||
Class C1
|
||||
Private a As Integer=10
|
||||
Protected b As Integer=30
|
||||
Private Sub S()
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Class C3
|
||||
Public Sub S()
|
||||
Dim myC As New C1()
|
||||
Console.WriteLine(myC.a)
|
||||
End Sub
|
||||
End Class
|
||||
Module Accessibility
|
||||
Sub Main()
|
||||
End Sub
|
||||
End Module
|
||||
@@ -1,24 +0,0 @@
|
||||
'==========================================================================================
|
||||
'Name:Manish Kumar Sinha
|
||||
'Email Address: [email protected]
|
||||
'Test Case Name: Argument passing by Reference:
|
||||
'APR-1.0.0: Argument Passing by Reference, which means the procedure can modify the variable
|
||||
' itself.
|
||||
'===========================================================================================
|
||||
|
||||
Imports System
|
||||
Module APR_1_0_0
|
||||
Sub F(ByRef p As Integer)
|
||||
p += 1
|
||||
End Sub
|
||||
|
||||
Sub Main()
|
||||
Dim a As Integer = 1
|
||||
F(a)
|
||||
if (a=1)
|
||||
Throw New System.Exception("#A1, Unexcepted Behaviour in Arguments_ByReferenceA.vb")
|
||||
end if
|
||||
End Sub
|
||||
End Module
|
||||
|
||||
'============================================================================================
|
||||
@@ -1,25 +0,0 @@
|
||||
'=============================================================================================
|
||||
'Name:Manish Kumar Sinha
|
||||
'Email Address: [email protected]
|
||||
'Test Case Name: Argument passing by Reference:
|
||||
'APR-1.4.0: If procedure is define by passing argument by reference and while calling the
|
||||
' procedure it is passes by giving parentheses around the variable then it protect
|
||||
' it from change
|
||||
'=============================================================================================
|
||||
|
||||
Imports System
|
||||
Module APR_1_4_0
|
||||
Sub F(ByRef p As Integer)
|
||||
p += 1
|
||||
End Sub
|
||||
|
||||
Sub Main()
|
||||
Dim a As Integer = 1
|
||||
F((a))
|
||||
if(a<>1)
|
||||
Throw new System.Exception ("#A1, Unexpected behavior in Arguments_ByReferenceB.vb")
|
||||
end if
|
||||
End Sub
|
||||
End Module
|
||||
|
||||
'==============================================================================================
|
||||
@@ -1,23 +0,0 @@
|
||||
'=============================================================================================
|
||||
'Name:Manish Kumar Sinha
|
||||
'Email Address: [email protected]
|
||||
'Test Case Name: Argument passing by Reference:
|
||||
'APR-1.1.0: If variable elements is of value type, i.e. it contains only a value then procedure ' can change the variable or any of its members
|
||||
'=============================================================================================
|
||||
|
||||
Imports System
|
||||
Module APR_1_1_0
|
||||
Sub F(ByRef p As String)
|
||||
p = "Sinha"
|
||||
End Sub
|
||||
|
||||
Sub Main()
|
||||
Dim a As String = "Manish"
|
||||
F(a)
|
||||
if (a="Manish")
|
||||
Throw New System.Exception("#A1, Unexcepted behaviour of ByRef of String Datatype")
|
||||
end if
|
||||
End Sub
|
||||
End Module
|
||||
|
||||
'=============================================================================================
|
||||
@@ -1,51 +0,0 @@
|
||||
'==============================================================================================
|
||||
'Name:Manish Kumar Sinha
|
||||
'Email Address: [email protected]
|
||||
'Test Case Name: Argument passing by Reference:
|
||||
'APR-1.3.0: If the variable elements is of reference type i.e. it contain a pointers to a class
|
||||
' then procedure can change the members of instance to which it points
|
||||
'==============================================================================================
|
||||
|
||||
Imports System
|
||||
Imports System.Array
|
||||
Module APR_1_3_0
|
||||
|
||||
Public Sub Increase(ByRef A() As Long)
|
||||
Dim J As Integer
|
||||
For J = 0 To 3
|
||||
A(J) = A(J) + 1
|
||||
Next J
|
||||
End Sub
|
||||
' ...
|
||||
Public Sub Replace(ByRef A() As Long)
|
||||
Dim J As Integer
|
||||
Dim K() As Long = {100, 200, 300,400}
|
||||
A = K
|
||||
For J = 0 To 3
|
||||
A(J) = A(J) + 1
|
||||
Next J
|
||||
End Sub
|
||||
' ...
|
||||
|
||||
Sub Main()
|
||||
Dim N() As Long = {10, 20, 30, 40}
|
||||
Dim N1() As Long = {11, 21, 31, 41}
|
||||
Dim N2() As Long = {101, 201, 301, 401}
|
||||
Dim i As Integer
|
||||
Increase(N)
|
||||
For i = 0 to 3
|
||||
if (N(i) <> N1(i))
|
||||
Throw New System.Exception("#A1, Unexception Behaviour in Increase Function")
|
||||
end if
|
||||
Next i
|
||||
Replace(N)
|
||||
For i= 0 to 3
|
||||
if ( N(i) <> N2(i))
|
||||
Throw New System.Exception("#A2, Unexception Behaviour in Increase Function")
|
||||
end if
|
||||
Next i
|
||||
|
||||
End Sub
|
||||
End Module
|
||||
|
||||
'==============================================================================================
|
||||
@@ -1,22 +0,0 @@
|
||||
'==========================================================================================
|
||||
'Name:Manish Kumar Sinha
|
||||
'Email Address: [email protected]
|
||||
'Test Case Name: Argument passing by Value:
|
||||
'APV-1.0.0: Argument Passing by value, which means the procedure cannot modify the variable
|
||||
' itself.
|
||||
'==========================================================================================
|
||||
Imports System
|
||||
Module APV1_0
|
||||
Sub F(ByVal p As Integer)
|
||||
p += 1
|
||||
End Sub
|
||||
|
||||
Sub Main()
|
||||
Dim a As Integer = 1
|
||||
F(a)
|
||||
if a<>1
|
||||
Throw new System.Exception("#A1, Unexcepted behaviour")
|
||||
end if
|
||||
End Sub
|
||||
End Module
|
||||
'============================================================================================
|
||||
@@ -1,22 +0,0 @@
|
||||
'=============================================================================================
|
||||
'Name:Manish Kumar Sinha
|
||||
'Email Address: [email protected]
|
||||
'Test Case Name: Argument passing by Value:
|
||||
'APV-1.4.0: By Default VB pass arguments by values, i.e if procedure is pass without mentioning
|
||||
' type then it take as ByVal type
|
||||
'=============================================================================================
|
||||
Imports System
|
||||
Module APV1_4_0
|
||||
Sub F(p As Integer)
|
||||
p += 1
|
||||
End Sub
|
||||
|
||||
Sub Main()
|
||||
Dim a As Integer = 1
|
||||
F(a)
|
||||
if a<>1
|
||||
Throw new System.Exception("#A1, uncexcepted behaviour of Default VB pass arguments")
|
||||
end if
|
||||
End Sub
|
||||
End Module
|
||||
'=============================================================================================
|
||||
@@ -1,22 +0,0 @@
|
||||
'=============================================================================================
|
||||
'Name:Manish Kumar Sinha
|
||||
'Email Address: [email protected]
|
||||
'Test Case Name: Argument passing by Value:
|
||||
'APV-1.1.0: If variable elements is of value type, i.e. it contains only a value then procedure ' cannot change the variable or any of its members
|
||||
'=============================================================================================
|
||||
|
||||
Imports System
|
||||
Module APV1_1_0
|
||||
Sub F(p As String)
|
||||
p = "Sinha"
|
||||
End Sub
|
||||
|
||||
Sub Main()
|
||||
Dim a As String = "Manish"
|
||||
F(a)
|
||||
if a<>"Manish"
|
||||
Throw New System.Exception("#A1, Unexcepted behaviour in string of APV1_1_0")
|
||||
end if
|
||||
End Sub
|
||||
End Module
|
||||
'=============================================================================================
|
||||
@@ -1,50 +0,0 @@
|
||||
'=============================================================================================
|
||||
'Name:Manish Kumar Sinha
|
||||
'Email Address: [email protected]
|
||||
'Test Case Name: Argument passing by Value:
|
||||
'APV-1.0.0: If the variable elements is of reference type i.e. it contain a pointers to a class
|
||||
' then procedure can change the members of instance to which it points
|
||||
'==============================================================================================
|
||||
|
||||
Imports System
|
||||
Imports System.Array
|
||||
Module APV1_0
|
||||
|
||||
Public Sub Increase(ByVal A() As Long)
|
||||
Dim J As Integer
|
||||
For J = 0 To 3
|
||||
A(J) = A(J) + 1
|
||||
Next J
|
||||
End Sub
|
||||
' ...
|
||||
Public Sub Replace(ByVal A() As Long)
|
||||
Dim J As Integer
|
||||
Dim K() As Long = {100, 200, 300, 400}
|
||||
A = K
|
||||
For J = 0 To 3
|
||||
A(J) = A(J) + 1
|
||||
Next J
|
||||
End Sub
|
||||
' ...
|
||||
|
||||
Sub Main()
|
||||
Dim N() As Long = {10, 20, 30, 40}
|
||||
Dim N1() As Long = {11, 21, 31, 41}
|
||||
Dim N2() As Long = {100, 200, 300, 400}
|
||||
Dim i As Integer
|
||||
Increase(N)
|
||||
For i=0 To 3
|
||||
if(N(i)<>N1(i))
|
||||
Throw new System.Exception ("#A1, Unexpected behavior in Increase function")
|
||||
end if
|
||||
Next i
|
||||
i=0
|
||||
Replace(N)
|
||||
For i=0 To 3
|
||||
if(N(i)=N2(i))
|
||||
Throw new System.Exception ("#A2, Unexpected behavior in Replace function")
|
||||
end if
|
||||
Next i
|
||||
End Sub
|
||||
End Module
|
||||
'============================================================================================
|
||||
@@ -1,53 +0,0 @@
|
||||
|
||||
Imports System
|
||||
|
||||
Module ArithmeticOperators
|
||||
|
||||
Sub main()
|
||||
Dim a1, a3 As Integer
|
||||
Dim a2 As String
|
||||
|
||||
a1 = 2 + 3
|
||||
If a1 <> 5 Then
|
||||
Console.WriteLine("#A1-AdditionOperator:Failed")
|
||||
End If
|
||||
|
||||
a1 = 1204.08 + 3433
|
||||
If a1 <> 4637 Then
|
||||
Console.WriteLine("#A2-AdditionOperator:Failed")
|
||||
End If
|
||||
|
||||
a3 = 2
|
||||
a2 = "235"
|
||||
a1 = a2 + a3
|
||||
If a1 <> 237 Then
|
||||
Console.WriteLine("#A3-AdditionOperator:Failed")
|
||||
End If
|
||||
|
||||
a1 = a3 + Nothing
|
||||
If a1 <> 2 Then
|
||||
Console.WriteLine("#A4-AdditionOperator:Failed")
|
||||
End If
|
||||
|
||||
Dim b1, b2, b3 As Char
|
||||
b1 = "a"
|
||||
b2 = "c"
|
||||
b3 = b1 + b2
|
||||
If b3 <> "a" Then
|
||||
Console.WriteLine("#A5-AdditionOperator:Failed")
|
||||
End If
|
||||
|
||||
Dim c1 As Double
|
||||
c1 = 463.338 - 338.333
|
||||
If c1 <> 125.005 Then
|
||||
Console.WriteLine("#A6-SubtractionOperator:Failed")
|
||||
End If
|
||||
|
||||
c1 = 463.338 * 338.3
|
||||
If c1 <> 156747.2454 Then
|
||||
Console.WriteLine("#A7-MultiplicationOperator:Failed")
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
@@ -1,15 +0,0 @@
|
||||
|
||||
Imports System
|
||||
|
||||
Module ArithmeticOperators1
|
||||
|
||||
Sub main()
|
||||
|
||||
Dim b1 As Decimal
|
||||
b1 = 34.45
|
||||
b1 = b1 / 0
|
||||
Console.WriteLine(b1)
|
||||
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
@@ -1,14 +0,0 @@
|
||||
|
||||
Imports System
|
||||
|
||||
Module ArithmeticOperators2
|
||||
|
||||
Sub main()
|
||||
|
||||
Dim c1 As Decimal
|
||||
c1 = 12.345
|
||||
c1 = c1 Mod 0
|
||||
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
@@ -1,15 +0,0 @@
|
||||
|
||||
Imports System
|
||||
|
||||
Module ArithmeticOperators3
|
||||
|
||||
Sub main()
|
||||
|
||||
Dim a1 As Decimal
|
||||
a1 = System.Decimal.MaxValue
|
||||
a1 = a1 ^ 2
|
||||
Console.WriteLine(a1)
|
||||
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
@@ -1,54 +0,0 @@
|
||||
|
||||
Imports System
|
||||
|
||||
Module ArithmeticOperatorsA
|
||||
|
||||
Sub main()
|
||||
|
||||
Dim a1, a2 As Double
|
||||
a1 = 3 / 2
|
||||
If a1 <> 1.5 Then
|
||||
Console.WriteLine("#A1-RegularDivisionOperator:Failed")
|
||||
End If
|
||||
|
||||
Dim b1 As Integer
|
||||
|
||||
b1 = 12 \ 2.5
|
||||
If b1 <> 6 Then
|
||||
Console.WriteLine("#A2-IntegerDivisionOperator:Failed")
|
||||
End If
|
||||
|
||||
b1 = 11 \ 4
|
||||
If b1 <> 2 Then
|
||||
Console.WriteLine("#A3-IntegerDivisionOperator:Failed")
|
||||
End If
|
||||
|
||||
b1 = 67 \ -4
|
||||
If b1 <> -16 Then
|
||||
Console.WriteLine("#A4-IntegerDivisionOperator:Failed")
|
||||
End If
|
||||
|
||||
a1 = 12 Mod 2
|
||||
If a1 <> 0 Then
|
||||
Console.WriteLine("#A5-ModOperator:Failed")
|
||||
End If
|
||||
|
||||
'a1 = 12.6 Mod 5
|
||||
'If a1 <> 2.6 Then
|
||||
'Console.WriteLine("#A6-ModOperator:Failed")
|
||||
'End If
|
||||
|
||||
a1 = 2 ^ 3
|
||||
If a1 <> 8 Then
|
||||
Console.WriteLine("#A7-ExponentialOperator:Failed")
|
||||
End If
|
||||
|
||||
a1 = (-2) ^ 3
|
||||
If a1 <> -8 Then
|
||||
Console.WriteLine("#A8-ExponentialOperator:Failed")
|
||||
End If
|
||||
|
||||
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
@@ -1,19 +0,0 @@
|
||||
REM LineNo: 16
|
||||
REM ExpectedError: BC30542
|
||||
REM ErrorMessage: Division by zero occurred while evaluating this expression.
|
||||
|
||||
Imports System
|
||||
|
||||
Module ArithmeticOperatorsC1
|
||||
|
||||
Sub main()
|
||||
Dim a1, a2 As Integer
|
||||
Dim b1 As Double
|
||||
|
||||
b1 = 12.35 / 0
|
||||
Console.WriteLine(b1)
|
||||
|
||||
a1 = 10 Mod 0
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
@@ -1,19 +0,0 @@
|
||||
REM LineNo: 13
|
||||
REM ExpectedError: BC30512
|
||||
REM ErrorMessage: Option Strict On disallows implicit conversions from 'Double' to 'Long'.
|
||||
|
||||
Option Strict On
|
||||
Imports System
|
||||
|
||||
Module ArithmeticOperatorsC2
|
||||
|
||||
Sub main()
|
||||
Dim a1, a2 As Integer
|
||||
|
||||
a1 = 12 \ 2.5
|
||||
|
||||
Dim b1 As Decimal
|
||||
b1 = 34.45D
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
@@ -1,19 +0,0 @@
|
||||
REM LineNo: 19
|
||||
REM ExpectedError: BC30512
|
||||
REM ErrorMessage: Option Strict On disallows implicit conversions from 'Double' to 'Long'.
|
||||
|
||||
Option Strict On
|
||||
Imports System
|
||||
|
||||
Module ArithmeticOperatorsC2
|
||||
|
||||
Sub main()
|
||||
Dim a1, a2 As Integer
|
||||
|
||||
a1 = 12 \ 2.5
|
||||
|
||||
Dim b1 As Decimal
|
||||
b1 = 34.45D
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
@@ -1,20 +0,0 @@
|
||||
REM LineNo: 13
|
||||
REM ExpectedError: BC30542
|
||||
REM ErrorMessage: Division by zero occurred while evaluating this expression.
|
||||
|
||||
Imports System
|
||||
|
||||
Module ArithmeticOperatorsC1
|
||||
|
||||
Sub main()
|
||||
Dim a1, a2 As Integer
|
||||
Dim b1 As Double
|
||||
|
||||
a1 = 10 \ Nothing
|
||||
Console.WriteLine(a1)
|
||||
|
||||
b1 = 12.35 / 0
|
||||
Console.WriteLine(b1)
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
@@ -1,14 +0,0 @@
|
||||
'Unhandled Exception: System.ArrayTypeMismatchException: 'ReDim' can
|
||||
' only change the rightmost dimension.
|
||||
|
||||
Imports System
|
||||
|
||||
Module Array1
|
||||
|
||||
Sub Main()
|
||||
Dim arr As Integer(,) = {{1, 2}, {3, 4}}
|
||||
ReDim Preserve arr(3, 3)
|
||||
arr(2, 2) = 12
|
||||
End Sub
|
||||
End Module
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
' System.InvalidCastException: Cast from string to integer not valid
|
||||
|
||||
Imports System
|
||||
|
||||
Module Array2
|
||||
|
||||
Sub Main()
|
||||
Dim arr As Integer(,) = {{1, "Hello"}, {3, 4}}
|
||||
If arr(0, 0) <> 1 Then
|
||||
Throw New Exception("#A1")
|
||||
End If
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
|
||||
Loaded 100 of 11367 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user