mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af150fc45b |
No files matched your search
@@ -1,275 +1,3 @@
|
||||
2002-12-27 Jeroen Janssen <[email protected]>
|
||||
* fixed url for System.Windows.Forms in the class status
|
||||
|
||||
2002-12-18 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* configure.in: moved struct tm field tm_gmtoff check before the check
|
||||
for timezone global variable. This makes Timezone work for me (debian
|
||||
sid, linux, x86, which has both the field and the global variables).
|
||||
|
||||
2002-12-10 Daniel Morgan <[email protected]>
|
||||
|
||||
* doc/oracle: added file which is
|
||||
a new web page oracle.html
|
||||
|
||||
* doc/ado-net: clean up and add link
|
||||
to oracle.html
|
||||
|
||||
* doc/web/commands
|
||||
* doc/web/makefile: added oracle.html
|
||||
|
||||
2002-12-10 Daniel Morgan <[email protected]>
|
||||
|
||||
* man/Makefile.am: changed sqlsharpcli.1 to sqlsharp.1
|
||||
|
||||
* man/sqlsharpcli.1: renamed to sqlsharp.1
|
||||
|
||||
2002-12-09 Tim Haynes <[email protected]>
|
||||
|
||||
* mono/jit/jit.c
|
||||
* mono/metadata/icall.c: added mono_install_get_config_dir() to
|
||||
utilize the MONO_CFG_DIR environment variable for specifying
|
||||
different machine.configs.
|
||||
|
||||
2002-12-06 Duncan Mak <[email protected]>
|
||||
|
||||
* data/Makefile.am (EXTRA_DIST): Add machine.config
|
||||
(DISTCLEANFILES): Add config.
|
||||
|
||||
2002-11-30 Daniel Morgan <[email protected]>
|
||||
|
||||
* man/sqlsharpcli.1: added file - a man page
|
||||
for SQL# CLI
|
||||
|
||||
* man/Makefile.am: added sqlsharpcli.1 to man_MANS
|
||||
|
||||
2002-11-20 Daniel Morgan <[email protected]>
|
||||
|
||||
* doc/firebird: updated web page
|
||||
|
||||
2002-11-19 Mike Kestner <[email protected]>
|
||||
|
||||
* data/Config.in : added the gtk# dll mapping entries
|
||||
|
||||
2002-11-19 Daniel Morgan <[email protected]>
|
||||
|
||||
* doc/firebird: updated web page based on input
|
||||
from the firebird .net data provider author
|
||||
|
||||
Mon Nov 18 16:40:34 CET 2002 Paolo Molaro <[email protected]>
|
||||
|
||||
* configure.in, mono/os/gc_wrapper.h: check that the gc headers have
|
||||
been installed.
|
||||
|
||||
2002-11-12 Daniel Morgan <[email protected]>
|
||||
|
||||
* doc/oledb
|
||||
* doc/odbc
|
||||
* doc/mysql
|
||||
* doc/sqlite
|
||||
* doc/sqlclient
|
||||
* doc/tdsclient
|
||||
* doc/sybase
|
||||
* doc/firebird: added web pages
|
||||
for each specific data provider
|
||||
|
||||
* doc/ado-net
|
||||
* doc/postgresql: updated web page
|
||||
with current status
|
||||
|
||||
* doc/web/commands
|
||||
* doc/web/makefile: updated to include
|
||||
new web pages
|
||||
|
||||
2002-11-06 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* autogen.sh: make it work when MONO_PATH is set and it has more than
|
||||
one directory or ends in ":". Also check that the directory added to
|
||||
ACLOCAL_FLAGS and PATH exist (aclocal fails if they don't).
|
||||
|
||||
2002-10-22 Miguel de Icaza <[email protected]>
|
||||
|
||||
* configure.in: Also allow the miss-spelled bohem.
|
||||
|
||||
2002-10-18 Daniel Morgan <[email protected]>
|
||||
|
||||
* doc/ado-net
|
||||
* doc/postgresql
|
||||
* doc/tds-providers: cleaned up the web pages
|
||||
|
||||
* doc/web/commands: postgresql.html page was mistyped
|
||||
|
||||
2002-10-18 Daniel Morgan <[email protected]>
|
||||
|
||||
* doc/ado-net: updated status of
|
||||
the ADO.NET functionality and providers
|
||||
and added link to tds-providers.html
|
||||
|
||||
* doc/tds-providers: added file to
|
||||
describe the design and status of
|
||||
the SqlClient, SybaseClient, and TdsClient
|
||||
ADO.NET providers.
|
||||
|
||||
* doc/web/makefile
|
||||
* doc/web/command: added new web page
|
||||
tds-providers.html to build of www.go-mono.com web site
|
||||
|
||||
2002-10-17 Daniel Morgan <[email protected]>
|
||||
|
||||
* doc/web/makefile
|
||||
* doc/web/commands: web page
|
||||
postgresql needed to be added
|
||||
|
||||
2002-10-13 Mark Crichton <[email protected]>
|
||||
|
||||
* doc/index: Even more spelling errors fixed.
|
||||
|
||||
2002-10-13 Daniel Morgan <[email protected]>
|
||||
|
||||
* doc/adonet: updated status of all providers, added links,
|
||||
and added information
|
||||
about the Mono.Data.SqliteClient provider that
|
||||
Vladimir Vukicevic contributed. Added Brian Ritchie's
|
||||
and Vladimir Vukicevic's email addresses as
|
||||
people to contact about ADO.NET in Mono.
|
||||
Added information about SQL#, configuration tools,
|
||||
and an ADO.NET Multiplexor, etc...
|
||||
|
||||
2002-10-10 Daniel Morgan <[email protected]>
|
||||
|
||||
* doc/index: corrected some mistypes
|
||||
|
||||
* doc/adonet: updated the status and plans of all the ADO.NET providers
|
||||
and moved PostgreSQL specific stuff to doc/postgresql
|
||||
|
||||
* doc/postgresql: added new file to detail
|
||||
the status of the PostgreSQL ADO.NET provider
|
||||
and provide test notes for setting it up
|
||||
|
||||
2002-10-09 Daniel Morgan <[email protected]>
|
||||
|
||||
* data/config.in: add entry for MySQL native shared libraries
|
||||
which are different on Windows and Linux
|
||||
|
||||
2002-10-04 Diego Sevilla Ruiz <[email protected]>
|
||||
|
||||
* doc/ccvs: Fixed some ugly formatting.
|
||||
|
||||
2002-10-03 Dick Porter <[email protected]>
|
||||
|
||||
* acconfig.h:
|
||||
* configure.in: Freebsd pthread_t is a pointer
|
||||
|
||||
2002-10-01 Duncan Mak <[email protected]>
|
||||
|
||||
* mono/os/Makefile.am: Add gc_wrapper.h.
|
||||
|
||||
* runtime/Makefile.am: Fix the path for monoresgen.exe.
|
||||
|
||||
2002-09-27 Dick Porter <[email protected]>
|
||||
|
||||
* configure.in: Check for semaphore.h. Patch for BSD from
|
||||
[email protected] (Julio Merino).
|
||||
|
||||
2002-09-20 Duncan Mak <[email protected]>
|
||||
|
||||
* data/config.in: Added reference to libxslt.
|
||||
|
||||
2002-09-20 Mark Crichton <[email protected]>
|
||||
|
||||
* configure.in: added NEED_LINK_UNLINK to make io-layer more portable.
|
||||
Linux has a "virtual fs" for UNIX sockets, Solaris and BSD don't.
|
||||
For systems that do not have such a virtual FS, define
|
||||
NEED_LINK_UNLINK.
|
||||
|
||||
* acconfig.h: added NEED_LINK_UNLINK
|
||||
|
||||
Wed Sep 4 18:09:58 CEST 2002 Paolo Molaro <[email protected]>
|
||||
|
||||
* configure.in: add some needed defines to fix support of
|
||||
threads in the GC.
|
||||
|
||||
2002-09-19 Mark Crichton <[email protected]>
|
||||
|
||||
* configure.in: Added checks for Solaris to use X/Open functionality.
|
||||
Really needed for the io-layer code.
|
||||
|
||||
2002-09-15 Andrew Birkett <[email protected]>
|
||||
|
||||
* man/mcs.1: --probe is now --expect-error.
|
||||
|
||||
2002-09-09 Dick Porter <[email protected]>
|
||||
|
||||
* acconfig.h:
|
||||
* configure.in: Simplify thread checks, by using canned rules for
|
||||
particular systems (based on the sleepycat db configure.in).
|
||||
Tested on linux/x86, freebsd and w32. Solaris also added, but I
|
||||
don't have a solaris machine to try it on.
|
||||
|
||||
2002-09-04 Juli Mallett <[email protected]>
|
||||
|
||||
* configure.in: Include <sys/types.h> when checking <sys/un.h> stuff.
|
||||
|
||||
2002-09-02 Diego Sevilla Ruiz <[email protected]>
|
||||
|
||||
* doc/ccvs: Added how to convert SSH keys (from SSH Communications
|
||||
Security) to the OpenSSH keys required by mono CVS
|
||||
access.
|
||||
|
||||
2002-09-01 Juli Mallett <[email protected]>
|
||||
|
||||
* configure.in, mono/interpreter/interp.c,
|
||||
mono/io-layer/handles.c, mono/io-layer/processes.c,
|
||||
mono/io-layer/threads.c, mono/io-layer/timed-thread.c,
|
||||
mono/io-layer/wait.c, mono/jit/helpers.c, mono/jit/jit.c,
|
||||
mono/metadata/appdomain.c, mono/metadata/class.c,
|
||||
mono/metadata/domain.c, mono/metadata/gc.c,
|
||||
mono/metadata/object.c, mono/metadata/reflection.c,
|
||||
mono/metadata/threads.c, mono/os/gc_wrapper.h,
|
||||
mono/utils/mono-hash.c: Add a new header, gc_wrapper.h, to
|
||||
wrap inclusion of gc.h for boehm, since from FreeBSD and
|
||||
OpenBSD ports, gc.h is <gc.h>, but on GNU it seems to be
|
||||
in <gc/gc.h>. This will reduce the diffs FreeBSD ports has
|
||||
to apply, and also makes it possible for me to build with
|
||||
GC on OpenBSD/macppc built by hand.
|
||||
|
||||
2002-09-01 Juli Mallett <[email protected]>
|
||||
|
||||
* configure.in: On BSD don't try to use -ldl, we simply don't use it.
|
||||
|
||||
2002-09-01 Juli Mallett <[email protected]>
|
||||
|
||||
* mono/dis/dis-cil.c:
|
||||
* configure.in: Check for <wchar.h> via autoconf, don't use it if
|
||||
it isn't there, as it seems to work fine without it on OpenBSD.
|
||||
|
||||
2002-08-28 Dick Porter <[email protected]>
|
||||
|
||||
* mono/os/win32/util.c:
|
||||
* mono/os/unix/util.c:
|
||||
* mono/os/util.h: mono_set_rootdir() doesnt take any args now.
|
||||
(It doesn't do anything on unix builds, and the w32 version no
|
||||
longer needs an arg.)
|
||||
|
||||
* configure.in: Add HOST_CC for w32 builds
|
||||
|
||||
Tue Aug 27 18:17:43 CEST 2002 Paolo Molaro <[email protected]>
|
||||
|
||||
* configure.in: remove iconv checks.
|
||||
|
||||
2002-08-24 Juli Mallett <[email protected]>
|
||||
|
||||
* configure.in: Recognise OpenBSD/macppc as PowerPC.
|
||||
|
||||
Tue Aug 20 15:15:52 CEST 2002 Paolo Molaro <[email protected]>
|
||||
|
||||
* configure.in: patch by [email protected] (Daniel Resare)
|
||||
to error out if bison is missing.
|
||||
|
||||
2002-08-17 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* configure.in: don't link against libdl on windoze.
|
||||
|
||||
2002-08-12 Dick Porter <[email protected]>
|
||||
|
||||
* mono.pc.in: Add $includedir to Cflags
|
||||
@@ -796,4 +524,3 @@ Wed Jul 11 00:36:36 CEST 2001 Paolo Molaro <[email protected]>
|
||||
|
||||
* NEWS:
|
||||
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
SUBDIRS = mono doc docs runtime scripts man data
|
||||
SUBDIRS = mono doc docs runtime scripts man
|
||||
|
||||
EXTRA_DIST= mono.pc.in mono.spec.in
|
||||
EXTRA_DIST= mono.pc.in
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA= mono.pc
|
||||
|
||||
@@ -1,953 +1,3 @@
|
||||
Hello!
|
||||
|
||||
Version 0.17 of Mono has been released.
|
||||
|
||||
There are plenty of new features, bug fixes, new classes,
|
||||
performance improvements, optimizations and much more
|
||||
available in this release.
|
||||
|
||||
* Stats
|
||||
|
||||
2605 cvs commits to the Mono repository since October 1st, an
|
||||
average of 37 commits per day including weekends.
|
||||
|
||||
212 commits to the Mono module.
|
||||
1438 commits to the MCS module.
|
||||
|
||||
* Mono Improvements:
|
||||
|
||||
Work has begun to make the runtime run a finalizer thread and
|
||||
invoke all the finalizers from this thread. This is the same
|
||||
behavior as Java and the Microsoft runtime, but it is disabled
|
||||
on this build.
|
||||
|
||||
Integrated the s390 work from Neale Ferguson.
|
||||
|
||||
Beginning of the work for pre-compiling code (Ahead of time
|
||||
compilation) for Mono (based on the early work of Zoltan).
|
||||
|
||||
New option `--noboundscheck' for benchmark purposes, it
|
||||
disables array bound checks.
|
||||
|
||||
Uses mmap instead of SysV shared memory for the Windows API
|
||||
emulation layer.
|
||||
|
||||
Plenty of bug fixes, improvements and integration with the
|
||||
upper layer class libraries.
|
||||
|
||||
New exception handling code uses the GCC native support for
|
||||
stack-walking if available and gives big performance boost
|
||||
(15% on mcs bootstrap).
|
||||
|
||||
A lot of the work in the new release of Mono is required for
|
||||
the Mono Debugger (which will be released separately). The
|
||||
Mono debugger is interesting, because it can debug both
|
||||
managed and unmanaged applications, but it only supports the
|
||||
JITer for debugging.
|
||||
|
||||
Dick, Dietmar, Gonzalo, Martin and Paolo were in charge of
|
||||
most of these changes.
|
||||
|
||||
* Compiler improvements:
|
||||
|
||||
Many bug fixes as usual, better C# compliancy.
|
||||
|
||||
Performance improvements. The new release of the Mono C#
|
||||
compiler is 37% faster than the previous version (self-compile
|
||||
is down to 8 seconds). On my P4 1.8Ghz machine, the Mono C#
|
||||
compiler compiles (342,000 lines per minute).
|
||||
|
||||
Thanks to go Ravi and Martin for helping out with the bug
|
||||
fixing hunt.
|
||||
|
||||
* Cryptography and Security classes
|
||||
|
||||
Sebastien Pouliot and Andrew Birkett were extremely busy
|
||||
during the past two months working on the cryptography
|
||||
classes, many of the crypto providers are now working
|
||||
|
||||
Jackson on the other hand helped us with the security
|
||||
classes, he said about those:
|
||||
|
||||
`Writing security classes is the most exciting thing I have
|
||||
ever done, I can not wait to write more of them'.
|
||||
|
||||
* ASP.NET:
|
||||
|
||||
We have now moved the code from the XSP server (which was our
|
||||
test bed for ASP.NET) into the right classes inside
|
||||
System.Web, and now any web server that was built by using the
|
||||
System.Web hosting interfaces can be used with Mono.
|
||||
|
||||
The sample XSP server still exists, but it is now just a
|
||||
simple implementation of the WorkerRequest and ApplicationHost
|
||||
classes and can be used to test drive ASP.NET. A big thanks
|
||||
goes to Gonzalo who worked on this night and day (mostly
|
||||
night).
|
||||
|
||||
Gaurav keeps helping us with the Web.Design classes, and
|
||||
improving the existing web controls.
|
||||
|
||||
* ADO.NET:
|
||||
|
||||
New providers are available in this release. The relentless
|
||||
System.Data team (Brian, Dan, Rodrigo, Tim and Ville) are
|
||||
hacking non-stop on the databse code. Improving existing
|
||||
providers, and new providers.
|
||||
|
||||
The new providers on this release:
|
||||
|
||||
* Oracle
|
||||
* MS SQL
|
||||
* ODBC
|
||||
* Sybase
|
||||
* Sqlite (for embedded use).
|
||||
|
||||
Many regression tests have been added as well (Ville has been
|
||||
doing a great job here).
|
||||
|
||||
Stuart Caborn contributed Writing XML from a DataSet.
|
||||
|
||||
* System.XML:
|
||||
|
||||
Atsushi has taken the lead in fixing and plugging the missing
|
||||
parts of the System.XML namespace, many fixes, many
|
||||
improvements.
|
||||
|
||||
* CodeDom and the C# provider.
|
||||
|
||||
Jackson Harper has been helping us with the various interface
|
||||
classes from the CodeDOM to the C# compiler, in this release
|
||||
a new assembly joins us: Cscompmgd. It is a simple assembly,
|
||||
and hence Microsoft decided not to waste an entire "System"
|
||||
"dot" on it.
|
||||
|
||||
* Testing
|
||||
|
||||
Nick Drochak has integrated the new NUnit 2.0 system.
|
||||
|
||||
* Monograph:
|
||||
|
||||
Monograph now has a --stats option to get statistics on
|
||||
assembly code.
|
||||
|
||||
|
||||
CVS Contributors to this release:
|
||||
|
||||
Alejandro Sanchez, Alp Toker, Andrew Birkett, Atsushi Enomoto,
|
||||
Brian Ritchie, Cesar Octavio Lopez Nataren, Chris Toshok,
|
||||
Daniel Morgan, Daniel Stodden, Dennis Hayes, Dick Porter,
|
||||
Diego Sevilla, Dietmar Maurer, Duncan Mak, Eduardo Garcia,
|
||||
Ettore Perazzoli, Gaurav Vaish, Gonzalo Paniagua, Jackson
|
||||
Harper, Jaime Anguiano, Johannes Roith, John Sohn, Jonathan
|
||||
Pryor, Kristian Rietveld, Mads Pultz, Mark Crichton, Martin
|
||||
Baulig, Martin Willemoes Hansen, Miguel de Icaza, Mike
|
||||
Kestner, Nick Drochak, Nick Zigarovich, Paolo Molaro, Patrik
|
||||
Torstensson, Phillip Pearson, Piers Haken, Rachel Hestilow,
|
||||
Radek Doulik, Rafael Teixeira, Ravi Pratap, Rodrigo Moya,
|
||||
Sebastien Pouliot, Tim Coleman, Tim Haynes, Ville Palo,
|
||||
Vladimir Vukicevic, and Zoltan Varga.
|
||||
|
||||
(Am sorry, I could not track everyone from the ChangeLog
|
||||
messages, I apologize in advance for the missing
|
||||
contributors).
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
Hello!
|
||||
|
||||
Version 0.16 of Mono has been released! This is mostly a bug
|
||||
fix release, a lot of work has been going on to make existing
|
||||
features more robust and less buggy. Also, contributions are
|
||||
too varied, so it is hard to classify them in groups.
|
||||
|
||||
* Stats
|
||||
|
||||
795 commits to mono and mcs since August 23rd.
|
||||
|
||||
* News
|
||||
|
||||
The changes that got in this releases are mostly
|
||||
bugfixes. Miguel, Martin and Ravi attacked lots of bugs in the
|
||||
compiler, Dick fixed a bunch of bugs related to processes and
|
||||
threads. Mark Crichton resumed his work on the SPARC port and
|
||||
made lots of progress there. Juli Mallett has been working on
|
||||
making sure Mono also builds on BSD systems. As usual, Dietmar
|
||||
and Paolo supplied their continuous stream of fixes to the
|
||||
runtime.
|
||||
|
||||
Dietmar has completed the work on the runtime side for
|
||||
remoting support and we ship now with a sample channel, the
|
||||
System.Runtime.Remoting.Sample. This can be used as a
|
||||
reference implementation for anyone interested in implementing
|
||||
other channels (like a CORBA channel).
|
||||
|
||||
Duncan got preliminary XSLT support done by using
|
||||
libxslt.
|
||||
|
||||
Gonzalo (with some help from Patrik) has been working hard
|
||||
making our ASP.NET implementation work on both Mono and MS by
|
||||
migrating the existing xsp code to the class library. Gaurav
|
||||
started working on the classes in System.Design.dll and Chris
|
||||
Toshok checked in Mono.Directory.LDAP, which will be the
|
||||
foundation to implement the System.DirectoryServices assembly.
|
||||
|
||||
Various fixes from Kral, Jason, Piers and Gonzalo were
|
||||
committed to System.Xml; Martin Algiers reports that the
|
||||
upcoming NAnt release will be fully compatible with Mono.
|
||||
|
||||
Miguel imported Sergey Chaban's Mono.PEToolkit and ilasm code
|
||||
to CVS. Nick, as always, continues to refine our testing
|
||||
framework by improving our tests. Andrew Birkett continues to
|
||||
improve the implementation of our security/cryptographic
|
||||
classes. Jonathan Pryor contributed type-reflector the our
|
||||
list of tools.
|
||||
|
||||
* Other News From Behind de Curtain.
|
||||
|
||||
While the above is pretty impressive on its own, various other
|
||||
non-released portions of Mono have been undergoing: Adam Treat
|
||||
has been leading the effort to document our class libraries
|
||||
and produce the tools required for it.
|
||||
|
||||
Martin Baulig has been working on the Mono Debugger which is
|
||||
not being released yet. This debugger allows both native
|
||||
Linux application as well as CIL applications to be debugged
|
||||
at the same time (and in fact, you can use this to debug the
|
||||
JIT engine). The debugger is written in C# with some C glue
|
||||
|
||||
In the meant A new JIT engine is under development, focused on
|
||||
adding more of the high-end optimizations which will be
|
||||
integrated on an ahead-of-time-compiler. Dietmar and Paolo
|
||||
have been working on this.
|
||||
|
||||
* Contributors to this release
|
||||
|
||||
* Non-Ximian developers: Adam Treat, Andrew Birkett, Dennis
|
||||
Hayes, Diego Sevilla, Franklin Wise, Gaurav Vaish ,Jason
|
||||
Diamond, Johannes Roith, John Sohn, Jonathan Pryor, Juli
|
||||
Mallett, Kral Ferch, Mike Crichton, Nick Drochak, Nick
|
||||
Zigarovich, Piers Haken, Rafael Teixeira, Ricardo Fernandez
|
||||
Pascual, Sergey Chaban, Tim Coleman.
|
||||
|
||||
* Ximian developers: Dietmar, Paolo, Dick, Duncan, Ravi,
|
||||
Miguel, Martin, Chris, Joe, Gonzalo, Rodrigo.
|
||||
|
||||
|
||||
---------------------------------------------------------------------------------
|
||||
* Sergey Chaban added thread-safe support to
|
||||
System.Collections.SortedList.
|
||||
|
||||
* Fixes to the compiler by Andrew Birkett.
|
||||
|
||||
* Tim Coleman contributed the OleDb provider for System.Data and started
|
||||
work on System.Web.Services.
|
||||
|
||||
* Radek fixed a lot of problems on the PPC side. [*]
|
||||
|
||||
* Miguel and Martin committed the new type lookup system.
|
||||
|
||||
* Dietmar rewrote the marshalling code. [*]
|
||||
|
||||
* Peter Williams and Martin contributed the new Makefiles, with help
|
||||
from Alp Toker as well.
|
||||
|
||||
* Contributors to this release:
|
||||
|
||||
* Non-Ximian developers: Nick Drochak, Martin Baulig, Tim
|
||||
Coleman, Mike Kestner, Alp Toker, Jonathan Pryor, Jaime
|
||||
Anguiano, Piers Haken, Rafael Teixeira, Mark Crichton,
|
||||
Sergey Chabon, Ajay Kumar Dwivedi, Andrew Birkett, Dennis
|
||||
Hayes (SWF), Adam Treat, Johannes Roith and Lawrence Pit.
|
||||
|
||||
* Ximian developers: Duncan, Ravi, Dick, Dietmar, Paolo,
|
||||
Gonzalo, Rachel, Radek, Rodrigo, Jeff, Peter Williams and
|
||||
Miguel.
|
||||
|
||||
Special thanks to Duncan for helping me put this release together.
|
||||
|
||||
Hello!
|
||||
|
||||
A new version of Mono (0.12), is out.
|
||||
|
||||
Mono is an open source implementation of the Microsoft.NET
|
||||
Framework, and ships with a C# compiler, a runtime engine
|
||||
(with a JIT on x86 cpus) and a set of class libraries.
|
||||
|
||||
Mono is know to work on a number of platforms:
|
||||
x86/Linux, x86/Windows, x86/FreeBSD; sparc/solaris;
|
||||
linuxppc/linux; strongarm/linux.
|
||||
|
||||
There have been many changes since the last release of Mono in
|
||||
late April, thanks to Duncan for assembling the list of new
|
||||
features, any omissions are my fault.
|
||||
|
||||
Changes since 0.11:
|
||||
|
||||
It is hard to keep track of the changes, as there are 1632
|
||||
patches that were posted to the mailing list. One third of
|
||||
the total number of patches since we opened mono-patches
|
||||
list. I am sure I missed some stuff and probably missed some
|
||||
contributors. I apologize in advance.
|
||||
|
||||
Runtime:
|
||||
|
||||
Paolo: New Reflection.Emit generation code generates
|
||||
code that can be executed in Windows. Now binaries
|
||||
generated by Mono/MCS will run on Windows.
|
||||
|
||||
Paolo got Activator.CreateInstance to work.
|
||||
|
||||
Sergey's CPU-optimization for CPBLK.
|
||||
|
||||
Many many bug fixes to the runtime from Dick, Dan
|
||||
Lewis, Dietmar, Gonzalo, Martin, Paolo, Radek and Sergey,
|
||||
|
||||
Compiler:
|
||||
|
||||
Many bug fixes: The compiler can now compile Gtk#,
|
||||
Vorbis#, System.Data assembly and System.Xml assembly
|
||||
which previously did not work (Dietmar, Miguel, Paolo,
|
||||
Piers, Ravi, Miguel). Thanks to all the bug
|
||||
reporters.
|
||||
|
||||
Class Libraries:
|
||||
|
||||
Mike started work on System.Xml.XPath
|
||||
|
||||
Christian, Dennis, Daniel and friends got more stubs
|
||||
for System.Windows.Forms in.
|
||||
|
||||
Ajay revamped System.Xml.Schema. And Jason and Duncan
|
||||
updated System.Xml
|
||||
|
||||
Daniel also checked in a working CodeDOM
|
||||
implementation and a C# provider.
|
||||
|
||||
Many bug fixes by everyone. Thanks to Daniel, Duncan,
|
||||
Jonathan, Lawrence, Martin Mike, Nick and Piers. I am
|
||||
missing a lot of contributors that should be listed.
|
||||
|
||||
ASP.NET support
|
||||
|
||||
A lot of work from Gonzalo allows some small and
|
||||
modest ASP.NET applications to run (you still need the
|
||||
unreleased XSP code though).
|
||||
|
||||
System.Data:
|
||||
|
||||
Integrated the MySQL provider from Brad Merryl.
|
||||
|
||||
Lots of work by Dan, Rodrigo, Tim.
|
||||
|
||||
Microsoft.VisualBasic runtime support
|
||||
|
||||
Rafael and Chris have been working on the VisualBasic
|
||||
runtime support DLLs
|
||||
|
||||
Hello everyone!
|
||||
|
||||
Mono 0.11 is out!
|
||||
|
||||
This new version has new features:
|
||||
|
||||
* Massive:
|
||||
|
||||
* Ultrich Kunitz implemented the whole calendar set of
|
||||
classes. Yes, thats right. The whole thing, with a
|
||||
complete test suite. Thanks Ultrich!
|
||||
|
||||
* JIT/runtime features:
|
||||
|
||||
* Martin's debugging framework is included (see web
|
||||
site for details on how to use it). (Martin)
|
||||
|
||||
* Transparent Proxy has been implemented for the
|
||||
runtime (lets you run/debug/hack on remoting for Mono) (Dietmar)
|
||||
|
||||
* Inline and constant folding/propagation support
|
||||
in the JIT engine (Dietmar)
|
||||
|
||||
* Profiling support for the JIT engine (--profile).
|
||||
|
||||
* Cool runtime hacks, that made our compiler twice as fast:
|
||||
|
||||
* New string rewrite: faster, speedier, leaner, cooler!
|
||||
|
||||
Paolo had been talking about a new string rewrite,
|
||||
and super hacker Patrik Torstensson started the
|
||||
implementation, Dietmar then switched the object
|
||||
layout and the Mono team helped iron out a few of
|
||||
the details.
|
||||
|
||||
* New array reprensetation: Dan Lewis contributed a new
|
||||
faster and smaller array implementation.
|
||||
|
||||
* Improved Reflection.Emit: Paolo improved our
|
||||
reflection emit code.
|
||||
|
||||
* ADO.NET
|
||||
|
||||
* Daniel Morgan, Rodrigo Moya have some pieces of the
|
||||
Sql classes ready to run. he first signs of life
|
||||
this week (we can connect, insert rows; do transactions:
|
||||
commit/rollback; SQL errors and exceptions work).
|
||||
|
||||
* Http Runtime
|
||||
|
||||
* The HTTP runtime (to be used by our ASP.NET implementation)
|
||||
was contributed by Patrik Torstensson. Patrik not only
|
||||
contributed a massive ammount of classes, but he immediately
|
||||
went on to implement ThreadPools and then helped out with the
|
||||
new String rewrite.
|
||||
|
||||
* XML improvements:
|
||||
|
||||
* Kral Ferch and Duncan Mak contributed more
|
||||
improvements to the XML implementation.
|
||||
|
||||
* Work on Xml Serialization from John Donagher.
|
||||
|
||||
* Documentation:
|
||||
|
||||
* MonoDoc ships for the first time!
|
||||
(John Barnette, Adam Treat and John Sohn)
|
||||
|
||||
* New documentation stubs ready to be filled, and translated
|
||||
included (thanks to our doc team!)
|
||||
|
||||
* General fixes:
|
||||
|
||||
* Piers Haken fixed many of our attributes and many
|
||||
little problems that were exposed by his CorCompare tool
|
||||
|
||||
* Many Mono C# compiler bug fixes.
|
||||
|
||||
* Other improvements:
|
||||
|
||||
* NUnit works on Linux! (Patrik Torstensson)
|
||||
|
||||
* More NUnit tests (Nick Drochak)
|
||||
|
||||
* Windows.Forms progress: Dennis Hayes and Christian
|
||||
Meyer have been contributing stubs for the
|
||||
Windows.Forms work.
|
||||
|
||||
* Full Parse implementations and bug fixing by Gonzalo
|
||||
|
||||
* Dan Lewis contributed some missing classes for the
|
||||
Regexp implementation.
|
||||
|
||||
* Jonathan's trace classes
|
||||
|
||||
* This Month's Mono is brought to you by:
|
||||
|
||||
Adam Treat, Chris Podugriel, Christian Meyer, Daniel Lewis,
|
||||
Daniel Morgan, Dennis Hayes, Dick Porter, Dietmar Maurer,
|
||||
Duncan Mak, Guarav Vaish, Gonzalo Paniagua, Jaime Anguiano,
|
||||
Jason Diamond, Joe Shaw, John Barnette, John Donagher, John
|
||||
Sohn, Jonathan Pryor, Kral Ferch, Martin Baulig, Miguel de
|
||||
Icaza, Mike Kestner, Nick Drochak, Paolo Molaro, Patrik
|
||||
Tostensson, Piers Haken, Ravi Pratap, Rodrigo Moya, Sergey
|
||||
Chanben, Ultrich Kunitz, Wictor Wilen.
|
||||
|
||||
I know that I missed some features, there is a lot of work
|
||||
that happens in a month. I apologize in advance for any
|
||||
features I omited by accident.
|
||||
|
||||
Special thanks go to Duncan for helping out with all those
|
||||
little details in the project. And also Nick who has been
|
||||
keeping us in good shape by maintaining and helping new
|
||||
contributors provide more test suites.
|
||||
|
||||
* Reporting bugs
|
||||
|
||||
If you find a bug in Mono, please file a bug here:
|
||||
|
||||
http://bugzilla.ximian.com
|
||||
|
||||
That way we wont loose your bug report, and will be able to
|
||||
follow up properly with it. Also try to provide simple test
|
||||
cases whenever possible and try as hard as possible to
|
||||
identify the root of a problem (compiler, runtime, class
|
||||
libraries).
|
||||
|
||||
* Forum
|
||||
|
||||
The [email protected] mailing list is open for
|
||||
those of you who want to discuss the future of Mono.
|
||||
|
||||
Hello everyone!
|
||||
|
||||
Mono "Self Hosting" 0.10 is out! (Alex insisted I used the
|
||||
<blink> tag for "Self Hosting", but was dissapointed when he
|
||||
realized most mailers dont support this).
|
||||
|
||||
Too many things have happened since the the 0.9 release,
|
||||
almost an entire month. The big news is that we are shipping
|
||||
a the self-hosting Mono C# compiler. This has been tested on
|
||||
Linux/x86 only.
|
||||
|
||||
Also, we delayed the release for one reason or other, but it
|
||||
turns out that as a extra bonus, Paolo fixed the last
|
||||
outstanding bug in the JIT engine, so the compiler now runs in
|
||||
the JIT engine instead of the interpreter.
|
||||
|
||||
The mono-0.10 release includes the libraries required to run
|
||||
the compiler as well as assorted .NET programs [1].
|
||||
|
||||
* What is new
|
||||
|
||||
There is so much stuff in this release that is hard to keep
|
||||
track of it.
|
||||
|
||||
Jason, Kral and Duncan have done an amazing job with
|
||||
System.Xml, up to the point that it is even being used by
|
||||
gtk-sharp's code generator (and it all comes with great test
|
||||
suites to verify that it works!). Ajay's XmlSchema code is
|
||||
also shipped.
|
||||
|
||||
Martin worked on our debugging infrastructure (the JIT can
|
||||
load dwarf files, and our class libraries now generate dwarf
|
||||
debugging info; we are in the process of adding this to the
|
||||
compiler, the patch did not make it to this release though).
|
||||
|
||||
For the first time the System.Web assembly has built without
|
||||
all the excludes, so you can get your hands on Gaurav and
|
||||
Lee's massive code base.
|
||||
|
||||
Lots of new tests to the runtime, class libraries and compiler
|
||||
are included. As always, big thanks go to Nick for continued
|
||||
guidance to new developers, and writing new tests.
|
||||
|
||||
Dan removed the System.PAL dependency, we now have moved to an
|
||||
internalcall setup for all the System.IO calls, and dropped
|
||||
the MonoWrapper shared library.
|
||||
|
||||
Porting wise: Sergey's StrongARM port is included now; Jeff's
|
||||
SPARC port and Radek's PowerPC port have been updated to
|
||||
reflect the new changes in the engine.
|
||||
|
||||
Runtime wise: Dietmar also got us asyncronous delegates
|
||||
implemented. Dick continues his work on our foundation
|
||||
classes, and has resumed his work on the IO layer.
|
||||
|
||||
Paolo is the hero behind self hosting on Linux. Send your
|
||||
congrats (and wine) to him.
|
||||
|
||||
And without the help from Mike, Duco, David, Piers, Nick,
|
||||
Sergey, Mark, Jonathan, John, Adam and Dennis this release
|
||||
would have not been possible.
|
||||
|
||||
This release is mostly ECMA compatible. I did not expect this
|
||||
to happen so soon. I am very grateful to everyone who has
|
||||
made this happen
|
||||
|
||||
* The goods
|
||||
|
||||
The runtime sources and binaries to the compiler/libraries:
|
||||
|
||||
http://www.go-mono.com/archive/mono-0.10.tar.gz
|
||||
|
||||
The class and compiler sources:
|
||||
|
||||
http://www.go-mono.com/archive/mcs-0.10.tar.gz
|
||||
|
||||
* Requirements:
|
||||
|
||||
You still need glib-2, and pkg-config. If you plan on
|
||||
compiling large applications, getting the Boehm GC is a plus
|
||||
(we will integrate this in a future version, for now it is an
|
||||
external requirement).
|
||||
|
||||
Boehm GC is available in packaged format for Debian and Red
|
||||
Hat systems.
|
||||
|
||||
* To compile on Linux
|
||||
|
||||
Do your regular chores with mono-0.10.tar.gz, you know the
|
||||
drill. In the end, after you reach the `make install' phase,
|
||||
now you can do some cool stuff.
|
||||
|
||||
If you want to compile the compiler (just to try it out),
|
||||
untar the sources to the compiler (mcs-0.10.tar.gz) and do
|
||||
manually:
|
||||
|
||||
cd mcs-0.10
|
||||
(cd jay; make)
|
||||
(cd mcs; make monomcs)
|
||||
|
||||
Now you will end up with a nice mcs4.exe in the mcs/mcs
|
||||
directory, that is the compiler. If you want to use that,
|
||||
replace the mcs.exe we distribute with the mcs4.exe you got.
|
||||
|
||||
* Gadgets
|
||||
|
||||
Man pages for mcs, mono and mint are included for your
|
||||
enjoyment.
|
||||
|
||||
Particularly of interest is `mint --profile' which is awesome
|
||||
to profile your application, the output is very useful.
|
||||
|
||||
Also, if you want to impress your friends, you might want to
|
||||
run the JIT with the `-d' flag, that shows you how the JITer
|
||||
compiles the code (and shows the basic blocks and the forst of
|
||||
trees as it goes).
|
||||
|
||||
* Next steps
|
||||
|
||||
More classes are missing. These are required so we can run
|
||||
nant and nunit natively. Once we achieve that, we will be
|
||||
able to ship a complete environment that compiles on Linux.
|
||||
|
||||
Currently our makefiles still use csc, as we still need
|
||||
nunit/nant to work.
|
||||
|
||||
[1] Of course, .NET programs that try to use classes we have not yet
|
||||
implemented, will be left wondering `why did this happen to me?'.
|
||||
|
||||
Hello!
|
||||
|
||||
I have just uploaded Mono 0.9 to the web server, you can get
|
||||
the goodies here:
|
||||
|
||||
http://www.go-mono.com/archive/mono-0.9.tar.gz
|
||||
http://www.go-mono.com/archive/mcs-0.9.tar.gz
|
||||
|
||||
mono-0.9.tar.gz contains the source code to the runtime (JIT
|
||||
and interpreter) as well as a pre-compiled version of the
|
||||
compiler (mcs.exe) and the class libraries.
|
||||
|
||||
To compile the compiler and the class libraries, you still
|
||||
need Windows with the .NET SDK, as our runtime can not host
|
||||
the compiler completely yet.
|
||||
|
||||
* Improved Build System
|
||||
|
||||
You can check http://www.go-mono.com/download.html for the
|
||||
new and fresh compilation instructions. Same requirements as
|
||||
the last version (pkg-config, glib 1.3.xx need to be
|
||||
installed).
|
||||
|
||||
* What is new:
|
||||
|
||||
Compiler can compile about 75% of our regression test suite
|
||||
on Linux. Most of this work is on the class libraries and
|
||||
Paolo has been the magician behind the work here.
|
||||
|
||||
JIT can run the compiler now (Dietmar)
|
||||
|
||||
Mint works on Windows now (Dick).
|
||||
|
||||
Application Domains have been implemented (Dietmar)
|
||||
|
||||
* Two modes of operation are available, depending on
|
||||
your needs: share code, or maximize speed (does not
|
||||
share code). This is described by the the
|
||||
LoaderOptimization enumeration in .NET.
|
||||
|
||||
Corlib no longer has references to mscorlib (Daniel Lewis)
|
||||
|
||||
Ports:
|
||||
PowerPC has been updated (Radek Doulik)
|
||||
New SPARC port (Jeffrey Stedfast)
|
||||
|
||||
Documentation system:
|
||||
Adam Treat has been working on finishing the Doctools
|
||||
to maintain the Mono class library documentation. We
|
||||
still need a GUI editor though.
|
||||
|
||||
Tracking progress:
|
||||
Nick's new tools to track progress are included in
|
||||
this release.
|
||||
|
||||
Many new more regression tests for the class library
|
||||
(David Brandt, Mark Crichton, Nick Drochak, Bob Doan,
|
||||
Duco Fijma).
|
||||
|
||||
Lots of new code:
|
||||
Gaurav Vaish (the hacking god behind System.Web),
|
||||
Chris Podugriel (System.Data) and Mark Crichton (Crypto)
|
||||
|
||||
Runtime:
|
||||
Socket layer is finished (Dick Porter)
|
||||
|
||||
Compiler has full support for unsafe code now (Miguel)
|
||||
Still a few things missing: constant folding is not
|
||||
finished everywhere and access permissions are not
|
||||
enforced yet.
|
||||
|
||||
Many many many bug fixes everywhere from everyone on the team:
|
||||
|
||||
Paolo Molaro, Daniel Lewis, Daniel Stodden, Dietmar
|
||||
Maurer, Jeff Stedfast, Nick Drochak, Duco Fijma, Ravi Pratap,
|
||||
Dick Porter, Duncan Mak, Jeff Stedfast and Miguel de Icaza.
|
||||
|
||||
I am sorry if I left a major component out of the
|
||||
announcement, this were some intense 11 days of work.
|
||||
|
||||
* What is obviously missing
|
||||
|
||||
Currently our System.Reflection.Emit is lacking array and
|
||||
pointer support, which is why many programs still do not
|
||||
compile, but this should be taken care of next week.
|
||||
|
||||
* How can you help
|
||||
|
||||
There are many ways to help the project, check the details
|
||||
documentation in:
|
||||
|
||||
http://www.go-mono.com/contributing.html
|
||||
|
||||
You might also want to stop by our IRC channel on
|
||||
irc.gnome.org, channel #mono if you are interested in
|
||||
contributing.
|
||||
|
||||
Have a happy weekend!
|
||||
Miguel.
|
||||
|
||||
Hey guys!
|
||||
|
||||
Mono 0.7 has been released.
|
||||
|
||||
It has been a long time since the last release of Mono (almost
|
||||
three weeks). We have made an incredible ammount of work in the past
|
||||
three weeks.
|
||||
|
||||
* Highlights of this release:
|
||||
|
||||
* The monoburg: BURS-instruction selector implemented (for our
|
||||
portable JIT engine).
|
||||
|
||||
* JIT engine works for very simple programs (Fibonacci works
|
||||
for instance). It is about 30% faster running than the
|
||||
equivalent code compiled with Kaffe.
|
||||
|
||||
The interesting part is that this was accomplished with the
|
||||
a minimum register allocator, and very simple monoburg
|
||||
rules, so there is a *lot* of room to improve here.
|
||||
|
||||
* The Interpreter has madured a lot. Value Types are fully
|
||||
supported now; We dropped the FFI dependency, as we now
|
||||
have our own code generator.
|
||||
|
||||
* The runtime has been expanded and extended as to support
|
||||
real file I/O (including console I/O). So Hello World works
|
||||
in there.
|
||||
|
||||
* The compiler can generate code for most statements now; It
|
||||
also performs semantic analysis on most expressions.
|
||||
Creation of new objects is supported, access to parameters,
|
||||
fields and local variables works. Method invocation works.
|
||||
Implicit type conversions, assignments and much more.
|
||||
|
||||
Operator overloading is implemented, but broken on this
|
||||
release, hopefully this will be fixed soon.
|
||||
|
||||
Delegates and Attributes are now declared and passed around,
|
||||
but no code generation for those exist yet.
|
||||
|
||||
* More classes (look for details). Sergey and Paolo have been
|
||||
working on various classes in System.Reflection.Emit to get
|
||||
the compiler self-hosting.
|
||||
|
||||
* NUnit is now part of the distribution, so it should be
|
||||
trivial to write test cases (and if you want to help out,
|
||||
this is one way to do it, we really need more tests cases).
|
||||
|
||||
I am going to try to switch to Nick's JB for C# this week or next
|
||||
week. But the excitement of having the compiler deal with real C#
|
||||
programs is too much to be contained, and I can not keep my hands of
|
||||
the code generation in the compiler.
|
||||
|
||||
* Availability:
|
||||
|
||||
http://www.go-mono.com/archive/mono-0.7.tar.gz
|
||||
http://www.go-mono.com/archive/mcs-0.7.tar.gz
|
||||
|
||||
* Details
|
||||
|
||||
Class Library Changes:
|
||||
|
||||
Many enumerations have been revamped to have the same value
|
||||
definitions as those in .NET as those cause problems. They were also
|
||||
missing the [Flags] attributes, so we got that right too.
|
||||
|
||||
* System
|
||||
SerializableAttribute impl (Miguel)
|
||||
String updates (Jeff)
|
||||
System.Char (Ravi)
|
||||
|
||||
* System.Configuration
|
||||
ConfigurationSettings impl (Christopher Podurgiel)
|
||||
SingleTagSectionHandler impl (Christopher Podurgiel)
|
||||
DictionarySectionHandler impl (Christopher Podurgiel)
|
||||
|
||||
* System.Collections.Specialized
|
||||
NameObjectCollectionBase impl (Nick Drochak)
|
||||
|
||||
* System.Diagnostics
|
||||
StackFrame stubs (alexk)
|
||||
StackTrace stubs (alexk)
|
||||
|
||||
* System.IO
|
||||
File stubs (Jim Richardson)
|
||||
IOException impl (Paolo)
|
||||
StreamWriter impl (Dietmar)
|
||||
StreamReader stubs (Dietmar)
|
||||
|
||||
* System.Net
|
||||
ConnectionModes (Miguel)
|
||||
ProxyUseType (Miguel)
|
||||
WebStatus (Miguel)
|
||||
|
||||
* System.Reflection
|
||||
Assembly (stubs) (Paolo)
|
||||
MethodBase (Paolo)
|
||||
MethodInfo (Paolo)
|
||||
|
||||
* System.Reflection.Emit
|
||||
EventToken (Sergey)
|
||||
FieldToken (Sergey)
|
||||
FlowControl (Sergey)
|
||||
ILGenerator (stubbed) (Paolo)
|
||||
Label (Paolo)
|
||||
MethodToken (Sergey)
|
||||
OpCode.cs (Sergey)
|
||||
OpCodeType (Sergey)
|
||||
OpCodes.cs (Sergey)
|
||||
OperandType (Sergey)
|
||||
PEFileKinds (Paolo)
|
||||
PackingSize (Sergey)
|
||||
ParameterToken (Sergey)
|
||||
PropertyToken (Sergey)
|
||||
SignatureToken (Sergey)
|
||||
StackBehaviour (Sergey)
|
||||
StringToken (Sergey)
|
||||
TypeToken (Sergey)
|
||||
|
||||
* System.Threading
|
||||
|
||||
Most classes stubbed out by Dick Porter (Dick)
|
||||
|
||||
* System.Web
|
||||
HttpWorkerRequest stubs (Bob Smith)
|
||||
|
||||
* System.Web.Hosting (Bob Smith)
|
||||
AppDomainFactory stubs (Bob Smith)
|
||||
ApplicationHost stubs (Bob Smith)
|
||||
IAppDomainFactory stubs (Bob Smith)
|
||||
IISAPIRuntime stubs (Bob Smith)
|
||||
ISAPIRuntime stubs (Bob Smith)
|
||||
SimpleWorkerRequest stubs (Bob Smith)
|
||||
|
||||
* System.Web.UI
|
||||
LiteralControl implemented (Bob Smith)
|
||||
HtmlContainerControl bugfixes (Bob Smith)
|
||||
BuildMethod
|
||||
BuildTemplateMethod
|
||||
HtmlTextWriterAttribute
|
||||
HtmlTextWriterStyle
|
||||
HtmlTextWriterTag
|
||||
IAttributeAccessor
|
||||
IDataBindingsAccessor
|
||||
INamingContainer
|
||||
IParserAccessor
|
||||
IPostBackDataHandler
|
||||
IPostBackEventHandler
|
||||
IStateManager
|
||||
ITagNameToTypeMapper
|
||||
ITemplate
|
||||
IValidator
|
||||
ImageClickEventHandler
|
||||
OutputCacheLocation
|
||||
PersistanceMode
|
||||
StateItem
|
||||
|
||||
* System.Web.UI.HtmlControls
|
||||
HtmlAnchor impl (Leen Teolen)
|
||||
HtmlTextArea impl (Leen Teolen)
|
||||
|
||||
* System.Web.UI.WebControls
|
||||
WebControl.cs (Gaurav Vaish)
|
||||
|
||||
* System.XML
|
||||
Lots of enumerations (Miguel)
|
||||
(will add later)
|
||||
|
||||
* Add loads of enumerations throughout (Sergey)
|
||||
(will add later)
|
||||
|
||||
Compiler Changes:
|
||||
|
||||
* Assignment (Miguel)
|
||||
|
||||
* expression semantic analysis (Miguel)
|
||||
|
||||
* constructor creation, chaining (Miguel)
|
||||
|
||||
* Unified error reporting (Ravi)
|
||||
|
||||
* initial attribute support (Ravi)
|
||||
|
||||
* calling convention support (Miguel)
|
||||
|
||||
* loop construct code generation (Miguel)
|
||||
|
||||
* conditional statement code generation (Miguel)
|
||||
|
||||
* indexer declarations (Ravi)
|
||||
|
||||
* event declarations (Ravi)
|
||||
|
||||
* try/catch parsing fixed (Ravi)
|
||||
|
||||
* initial delegate support (Ravi)
|
||||
|
||||
* operator overload (Ravi)
|
||||
|
||||
Tools Changes:
|
||||
|
||||
* Add NUnit windows binaries to distribution (Nick Drochak, Miguel)
|
||||
|
||||
Runtime Changes:
|
||||
|
||||
* First JIT implementation (Dietmar, Paolo)
|
||||
|
||||
* value type size calculation (Dietmar)
|
||||
|
||||
* full value type support (Paolo)
|
||||
|
||||
* frequently used types cache (Paolo)
|
||||
|
||||
* FileStream support (Paolo)
|
||||
|
||||
* Console input/output support (Dietmar)
|
||||
|
||||
* print arguments and exception name in stack trace (Paolo)
|
||||
|
||||
* beginnings of virtual call support (Paolo)
|
||||
|
||||
* reimplement pinvoke support (Dietmar)
|
||||
|
||||
* remove libffi dependency (Dietmar)
|
||||
|
||||
* IBURG code generator implementation (Dietmar)
|
||||
|
||||
* new opcodes implemented: starg.s, ldobj, isinst, (Paolo, Miguel)
|
||||
ldarg, starg, ldloc, ldloca, stloc, initobj,
|
||||
cpblk, sizeof, conv.i, conv.i1, conv.i2, conv.i4,
|
||||
conv.i8, conv.u1, conv.u2, conv.u4, conv.r4,
|
||||
conv.r8, ldelema, ceq, cgt, clt.
|
||||
|
||||
* This list
|
||||
|
||||
Parts of this list of features were compiled by Alex by following
|
||||
the CVS mailing list. My deepest thanks to Alex for helping me out
|
||||
with this. I want to apologize for the missing features that I did
|
||||
not document here, Mono is moving too fast to keep track of all the
|
||||
changes.
|
||||
|
||||
2002-Feb-11 Miguel de Icaza <[email protected]>
|
||||
|
||||
New release, functional x86-JIT, x86 interpreter, ppc interpreter
|
||||
|
||||
@@ -8,40 +8,17 @@ Installation:
|
||||
|
||||
http://www.go-mono.com/download.html
|
||||
|
||||
* Using Mono
|
||||
|
||||
Once you have installed the software, you can run a few programs:
|
||||
|
||||
* runtime engine
|
||||
|
||||
mono program.exe
|
||||
or
|
||||
mint program.exe
|
||||
|
||||
* C# compiler
|
||||
|
||||
mcs program.cs
|
||||
|
||||
* CIL Disassembler
|
||||
|
||||
monodis program.exe
|
||||
|
||||
See the man pages for mono(1), mint(1), monodis(1) and mcs(2)
|
||||
for further details.
|
||||
|
||||
* A directory roadmap:
|
||||
A directory roadmap:
|
||||
|
||||
doc/
|
||||
Contains documentation and the web site contents.
|
||||
|
||||
mono/
|
||||
The core of the Mono Runtime.
|
||||
The core of the executable.
|
||||
|
||||
metadata/
|
||||
The object system and metadata reader.
|
||||
|
||||
jit/
|
||||
The Just in Time Compiler.
|
||||
The library to deal with executables and libraries for
|
||||
.NET
|
||||
|
||||
dis/
|
||||
CIL executable Disassembler
|
||||
@@ -49,10 +26,6 @@ Installation:
|
||||
cli/
|
||||
Common code for the JIT and the interpreter.
|
||||
|
||||
io-layer/
|
||||
The I/O layer and system abstraction for
|
||||
emulating the .NET IO model.
|
||||
|
||||
cil/
|
||||
Common Intermediate Representation, XML
|
||||
definition of the CIL bytecodes.
|
||||
@@ -60,7 +33,20 @@ Installation:
|
||||
interp/
|
||||
Interpreter for CLI executables.
|
||||
|
||||
arch/
|
||||
Architecture specific portions.
|
||||
* Using Mono
|
||||
|
||||
Once you have installed the software, you can run a few programs:
|
||||
|
||||
monodis program.exe
|
||||
|
||||
That will dump the bytecodes for program.exe. Monodis support
|
||||
a number of options that dumps various metadata tables
|
||||
(chapter 23 of the Partition III).
|
||||
|
||||
You can try the interpreter like this:
|
||||
|
||||
mint program.exe
|
||||
|
||||
|
||||
|
||||
|
||||
+1
-2
@@ -5,6 +5,7 @@
|
||||
#undef HAVE_SOL_TCP
|
||||
#undef HAVE_IP_PKTINFO
|
||||
#undef HAVE_STRUCT_IP_MREQN
|
||||
#undef HAVE_PTHREAD
|
||||
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
|
||||
#undef USE_MONO_MUTEX
|
||||
#undef HAVE_LARGE_FILE_SUPPORT
|
||||
@@ -17,5 +18,3 @@
|
||||
#undef HAVE_TIMEZONE
|
||||
#undef HAVE_TM_GMTOFF
|
||||
#undef MONO_SIZEOF_SUNPATH
|
||||
#undef NEED_LINK_UNLINK
|
||||
#undef PTHREAD_POINTER_ID
|
||||
+2
-11
@@ -8,17 +8,8 @@ srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
if [ -n "$MONO_PATH" ]; then
|
||||
# from -> /mono/lib:/another/mono/lib
|
||||
# to -> /mono /another/mono
|
||||
for i in `echo ${MONO_PATH} | tr ":" " "`; do
|
||||
i=`dirname ${i}`
|
||||
if [ -n "{i}" -a -d "${i}/share/aclocal" ]; then
|
||||
ACLOCAL_FLAGS="-I ${i}/share/aclocal $ACLOCAL_FLAGS"
|
||||
fi
|
||||
if [ -n "{i}" -a -d "${i}/bin" ]; then
|
||||
PATH="${i}/bin:$PATH"
|
||||
fi
|
||||
done
|
||||
ACLOCAL_FLAGS="-I $MONO_PATH/share/aclocal $ACLOCAL_FLAGS"
|
||||
PATH="$MONO_PATH/bin:$PATH"
|
||||
export PATH
|
||||
fi
|
||||
|
||||
|
||||
+136
-118
@@ -1,55 +1,25 @@
|
||||
|
||||
AC_INIT(README)
|
||||
AC_CANONICAL_SYSTEM
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE(mono, 0.17)
|
||||
AM_INIT_AUTOMAKE(mono, 0.13)
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
#
|
||||
# These are the flags that need to be stored in the mono.pc file for
|
||||
# compiling code that will embed Mono
|
||||
#
|
||||
libmono_cflags=""
|
||||
AC_SUBST(libmono_cflags)
|
||||
|
||||
# Thread configuration inspired by sleepycat's db
|
||||
AC_MSG_CHECKING([host platform characteristics])
|
||||
dnl ****************************************
|
||||
dnl *** Check if we're building on win32 ***
|
||||
dnl ****************************************
|
||||
AC_MSG_CHECKING([if building for some Win32 platform])
|
||||
case "$host" in
|
||||
*-*-mingw*|*-*-cygwin*)
|
||||
platform_win32=yes
|
||||
AC_DEFINE(PLATFORM_WIN32)
|
||||
CC="gcc -mno-cygwin"
|
||||
HOST_CC="gcc"
|
||||
CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS"
|
||||
libdl=
|
||||
;;
|
||||
*-*-*bsd*)
|
||||
platform_win32=no
|
||||
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
|
||||
libmono_cflags="-D_THREAD_SAFE"
|
||||
LDFLAGS="$LDFLAGS -pthread"
|
||||
AC_DEFINE(NEED_LINK_UNLINK)
|
||||
AC_DEFINE(PTHREAD_POINTER_ID)
|
||||
libdl=
|
||||
;;
|
||||
*-*-linux*)
|
||||
platform_win32=no
|
||||
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions"
|
||||
libmono_cflags="-DMONO_USE_EXC_TABLES -fexceptions -D_REENTRANT"
|
||||
libdl="-ldl"
|
||||
;;
|
||||
*-*-solaris*)
|
||||
platform_win32=no
|
||||
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
|
||||
AC_DEFINE(NEED_LINK_UNLINK)
|
||||
libmono_cflags="-D_REENTRANT"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_WARN([*** Please add $host to configure.in checks!])
|
||||
platform_win32=no
|
||||
libdl="-ldl"
|
||||
;;
|
||||
esac
|
||||
AC_MSG_RESULT(ok)
|
||||
AC_MSG_RESULT($platform_win32)
|
||||
AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
|
||||
|
||||
AC_CHECK_TOOL(CC, gcc, gcc)
|
||||
@@ -57,12 +27,6 @@ AC_PROG_CC
|
||||
AM_PROG_CC_STDC
|
||||
AC_PROG_INSTALL
|
||||
|
||||
AC_CHECK_PROG(BISON, bison,yes,no)
|
||||
if test "x$BISON" = "xno";
|
||||
then
|
||||
AC_MSG_ERROR([You need to install bison])
|
||||
fi
|
||||
|
||||
dnl may require a specific autoconf version
|
||||
dnl AC_PROG_CC_FOR_BUILD
|
||||
dnl CC_FOR_BUILD not automatically detected
|
||||
@@ -81,14 +45,14 @@ AC_HEADER_STDC
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h)
|
||||
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h)
|
||||
|
||||
AC_CHECK_HEADERS(iconv.h)
|
||||
AC_CHECK_HEADERS(giconv.h)
|
||||
|
||||
# for mono/metadata/debug-symfile.c
|
||||
AC_CHECK_HEADERS(elf.h)
|
||||
|
||||
# for mono/dis
|
||||
AC_CHECK_HEADERS(wchar.h)
|
||||
|
||||
# not 64 bit clean in cross-compile
|
||||
AC_CHECK_SIZEOF(void *, 4)
|
||||
|
||||
@@ -134,41 +98,35 @@ AC_SUBST(GLIB_LIBS)
|
||||
AC_SUBST(GMODULE_CFLAGS)
|
||||
AC_SUBST(GMODULE_LIBS)
|
||||
|
||||
gc_headers=no
|
||||
AC_CHECK_HEADERS(gc.h gc/gc.h, gc_headers=yes)
|
||||
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes",,$libdl)
|
||||
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes")
|
||||
gc=auto
|
||||
AC_ARG_WITH(gc, [ --with-gc=boehm,none],[gc=$with_gc])
|
||||
|
||||
case "x$gc" in
|
||||
xboehm|xbohem|xyes)
|
||||
xboehm|xyes)
|
||||
if test "x$found_boehm" != "xyes"; then
|
||||
AC_MSG_ERROR("GC requested but libgc not found!")
|
||||
fi
|
||||
if test "x$gc_headers" != "xyes"; then
|
||||
AC_MSG_ERROR("GC requested but header files not found! You may need to install them by hand.")
|
||||
fi
|
||||
|
||||
AC_DEFINE(HAVE_BOEHM_GC)
|
||||
AC_SUBST(HAVE_BOEHM_GC)
|
||||
LIBS="$LIBS -lgc $libdl"
|
||||
LIBS="$LIBS -lgc"
|
||||
;;
|
||||
xnone)
|
||||
AC_MSG_WARN("Compiling mono without GC.")
|
||||
;;
|
||||
*)
|
||||
# If libgc was found, use it. Otherwise just warn.
|
||||
dnl When the JIT works with libgc, use this chunk.
|
||||
dnl # If libgc was found, use it. Otherwise just warn.
|
||||
if test "x$found_boehm" != "xyes"; then
|
||||
AC_MSG_WARN("Compiling mono without GC.")
|
||||
else
|
||||
if test "x$gc_headers" != "xyes"; then
|
||||
AC_MSG_ERROR("Found libgc but not its header files! You may need to install them by hand.")
|
||||
fi
|
||||
AC_DEFINE(HAVE_BOEHM_GC)
|
||||
AC_SUBST(HAVE_BOEHM_GC)
|
||||
LIBS="$LIBS -lgc $libdl"
|
||||
LIBS="$LIBS -lgc"
|
||||
gc="boehm"
|
||||
fi
|
||||
dnl AC_MSG_WARN("Compiling mono without GC.")
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -314,7 +272,6 @@ if test x$platform_win32 = xno; then
|
||||
AC_MSG_CHECKING(size of sockaddr_un.sun_path)
|
||||
AC_CACHE_VAL(cv_mono_sizeof_sunpath,
|
||||
[AC_TRY_RUN([
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/un.h>
|
||||
|
||||
@@ -331,43 +288,87 @@ if test x$platform_win32 = xno; then
|
||||
AC_MSG_RESULT($cv_mono_sizeof_sunpath)
|
||||
AC_DEFINE_UNQUOTED(MONO_SIZEOF_SUNPATH, $cv_mono_sizeof_sunpath)
|
||||
|
||||
dnl *****************************
|
||||
dnl *** Checks for libxnet ***
|
||||
dnl *****************************
|
||||
case "${host}" in
|
||||
*solaris* )
|
||||
AC_MSG_CHECKING(for Solaris XPG4 support)
|
||||
if test -f /usr/lib/libxnet.so; then
|
||||
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
|
||||
CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
|
||||
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED=1"
|
||||
LIBS="$LIBS -lxnet"
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
if test "$GCC" = "yes"; then
|
||||
CFLAGS="$CFLAGS -Wno-char-subscripts"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
dnl *****************************
|
||||
dnl *** Checks for libpthread ***
|
||||
dnl *****************************
|
||||
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
|
||||
AC_CHECK_FUNCS(pthread_mutex_timedlock)
|
||||
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
|
||||
AC_TRY_COMPILE([ #include <pthread.h>], [
|
||||
pthread_mutexattr_t attr;
|
||||
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
|
||||
AC_SEARCH_LIBS(pthread_create, pthread c_r, [
|
||||
AM_CONDITIONAL(THREADS_PTHREAD, true)
|
||||
AC_DEFINE(HAVE_PTHREAD)
|
||||
|
||||
# Need pthread_mutex_timedlock
|
||||
pthread_CFLAGS=""
|
||||
orig_CPPFLAGS=$CPPFLAGS
|
||||
# This is a gcc-specific error, but we already set
|
||||
# gcc-specific options in CFLAGS
|
||||
CPPFLAGS="$CPPFLAGS -Werror-implicit-function-declaration"
|
||||
AC_MSG_CHECKING(for pthread_mutex_timedlock)
|
||||
AC_TRY_COMPILE([ #include <pthread.h>], [
|
||||
pthread_mutex_t mut=PTHREAD_MUTEX_INITIALIZER;
|
||||
pthread_mutex_timedlock(&mut, NULL);
|
||||
], [
|
||||
# Works!
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_PTHREAD_MUTEX_TIMEDLOCK)
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
|
||||
# glibc requires -D_GNU_SOURCE before it will declare
|
||||
# this function
|
||||
AC_MSG_CHECKING(whether _GNU_SOURCE is needed for pthread_mutex_timedlock)
|
||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
||||
AC_TRY_COMPILE([ #include <pthread.h>], [
|
||||
pthread_mutex_t mut=PTHREAD_MUTEX_INITIALIZER;
|
||||
pthread_mutex_timedlock(&mut, NULL);
|
||||
], [
|
||||
AC_MSG_RESULT(yes)
|
||||
pthread_CFLAGS="-D_GNU_SOURCE"
|
||||
AC_DEFINE(HAVE_PTHREAD_MUTEX_TIMEDLOCK)
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
dnl Add other variants here
|
||||
AC_MSG_WARN(Working around pthread_mutex_timedlock)
|
||||
])
|
||||
])
|
||||
CPPFLAGS=$orig_CPPFLAGS
|
||||
CPPFLAGS="$CPPFLAGS $pthread_CFLAGS"
|
||||
|
||||
# Need PTHREAD_MUTEX_RECURSIVE
|
||||
pthread_CFLAGS=""
|
||||
orig_CPPFLAGS=$CPPFLAGS
|
||||
# This is a gcc-specific error, but we already set
|
||||
# gcc-specific options in CFLAGS
|
||||
CPPFLAGS="$CPPFLAGS -Werror-implicit-function-declaration"
|
||||
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
|
||||
AC_TRY_COMPILE([ #include <pthread.h>], [
|
||||
pthread_mutexattr_t attr;
|
||||
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
|
||||
], [
|
||||
# Works!
|
||||
AC_MSG_RESULT(ok)
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
|
||||
# glibc requires -D_GNU_SOURCE before it will declare
|
||||
# this macro
|
||||
AC_MSG_CHECKING(whether _GNU_SOURCE is needed for PTHREAD_MUTEX_RECURSIVE)
|
||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
||||
AC_TRY_COMPILE([ #include <pthread.h>], [
|
||||
pthread_mutexattr_t attr;
|
||||
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
|
||||
], [
|
||||
AC_MSG_RESULT(ok)
|
||||
pthread_CFLAGS="-D_GNU_SOURCE"
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
dnl Add other variants here
|
||||
AC_MSG_WARN(Using mono_mutex_t for recursive mutexes)
|
||||
AC_DEFINE(USE_MONO_MUTEX)
|
||||
])
|
||||
])
|
||||
CPPFLAGS=$orig_CPPFLAGS
|
||||
CPPFLAGS="$CPPFLAGS $pthread_CFLAGS"
|
||||
], [
|
||||
AC_MSG_RESULT(ok)
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN(Using mono_mutex_t for recursive mutexes)
|
||||
AC_DEFINE(USE_MONO_MUTEX)
|
||||
AC_MSG_ERROR([libpthread is required on non-win32 hosts])
|
||||
])
|
||||
|
||||
dnl ********************************
|
||||
@@ -378,31 +379,35 @@ if test x$platform_win32 = xno; then
|
||||
dnl ********************************
|
||||
dnl *** Checks for timezone stuff **
|
||||
dnl ********************************
|
||||
AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,
|
||||
AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone,
|
||||
AC_TRY_COMPILE([
|
||||
#include <time.h>
|
||||
], [
|
||||
struct tm tm;
|
||||
tm.tm_gmtoff = 1;
|
||||
], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no))
|
||||
if test $ac_cv_struct_tm_gmtoff = yes; then
|
||||
AC_DEFINE(HAVE_TM_GMTOFF)
|
||||
], [
|
||||
timezone = 1;
|
||||
], ac_cv_var_timezone=yes, ac_cv_var_timezone=no))
|
||||
if test $ac_cv_var_timezone = yes; then
|
||||
AC_DEFINE(HAVE_TIMEZONE)
|
||||
else
|
||||
AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone,
|
||||
AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff,
|
||||
AC_TRY_COMPILE([
|
||||
#include <time.h>
|
||||
], [
|
||||
timezone = 1;
|
||||
], ac_cv_var_timezone=yes, ac_cv_var_timezone=no))
|
||||
if test $ac_cv_var_timezone = yes; then
|
||||
AC_DEFINE(HAVE_TIMEZONE)
|
||||
], [
|
||||
struct tm tm;
|
||||
tm.tm_gmtoff = 1;
|
||||
], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no))
|
||||
if test $ac_cv_struct_tm_gmtoff = yes; then
|
||||
AC_DEFINE(HAVE_TM_GMTOFF)
|
||||
else
|
||||
AC_ERROR(unable to find a way to determine timezone)
|
||||
fi
|
||||
fi
|
||||
else
|
||||
AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?))
|
||||
AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw install?))
|
||||
AM_CONDITIONAL(THREADS_PTHREAD, false)
|
||||
# This is a kludge, we really ought to test for libws2_32, but
|
||||
# I can't make AC_CHECK_LIB link (the symbols seem to be mangled
|
||||
# with @num suffixes)
|
||||
LIBS="$LIBS -lws2_32"
|
||||
CFLAGS="$CFLAGS -mno-cygwin"
|
||||
fi
|
||||
|
||||
dnl ****************************
|
||||
@@ -470,6 +475,27 @@ if test "x$ac_cv_have_dev_random" = "xno" \
|
||||
***]])
|
||||
fi
|
||||
|
||||
if test "x$cross_compiling" = "xno"; then
|
||||
# check for new iconv version
|
||||
AC_MSG_CHECKING(for new iconv)
|
||||
AC_CACHE_VAL(new_iconv,[
|
||||
AC_TRY_RUN([#include <stdio.h>
|
||||
#include <iconv.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
exit (iconv_open ("UTF-16le", "UTF-8") == (iconv_t)-1);
|
||||
}
|
||||
],
|
||||
new_iconv=yes,new_iconv=)])
|
||||
if test -n "$new_iconv"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_NEW_ICONV)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([if inter-process shared handles are requested])
|
||||
AC_ARG_ENABLE(shared-handles, [ --disable-shared-handles disable inter-process shared handles], try_shared_handles=$enableval, try_shared_handles=yes)
|
||||
AC_MSG_RESULT($try_shared_handles)
|
||||
@@ -487,9 +513,8 @@ i*86-*-*) TARGET=X86; arch_target=x86;;
|
||||
sparc*-*-*) TARGET=SPARC; arch_target=sparc; ACCESS_UNALIGNED="no";;
|
||||
#alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; ACCESS_UNALIGNED="no";;
|
||||
#m68k-*-linux*) TARGET=M68K;;
|
||||
macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | powerpc-*-sysv*) TARGET=POWERPC; arch_target=ppc;;
|
||||
powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; arch_target=ppc;;
|
||||
arm-*-linux-* | armv4l-*-linux-*) TARGET=ARM; arch_target=arm; ACCESS_UNALIGNED="no";;
|
||||
s390-*-linux*) TARGET=S390; arch_target=s390; ACCESS_UNALIGNED="no";;
|
||||
esac
|
||||
|
||||
if test ${TARGET} = unknown; then
|
||||
@@ -509,10 +534,6 @@ AM_CONDITIONAL(ALPHA, test x$TARGET = xALPHA)
|
||||
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)
|
||||
|
||||
LIBC="libc.so.6"
|
||||
AC_SUBST(LIBC)
|
||||
|
||||
AC_SUBST(arch_target)
|
||||
AC_SUBST(CFLAGS)
|
||||
@@ -533,7 +554,6 @@ mono/os/unix/Makefile
|
||||
mono/arch/x86/Makefile
|
||||
mono/arch/ppc/Makefile
|
||||
mono/arch/sparc/Makefile
|
||||
mono/arch/s390/Makefile
|
||||
mono/arch/arm/Makefile
|
||||
mono/interpreter/Makefile
|
||||
mono/tests/Makefile
|
||||
@@ -548,8 +568,6 @@ scripts/Makefile
|
||||
man/Makefile
|
||||
doc/Makefile
|
||||
docs/Makefile
|
||||
data/Makefile
|
||||
mono.spec
|
||||
])
|
||||
|
||||
echo "
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
monodir = $(sysconfdir)/mono
|
||||
|
||||
EXTRA_DIST = config.in machine.config
|
||||
|
||||
mono_DATA = config machine.config
|
||||
|
||||
DISTCLEANFILES = config
|
||||
|
||||
config: config.in Makefile
|
||||
sed -e 's^\@LIBC\@^libc.so.6^g' < $(srcdir)/config.in > config.tmp \
|
||||
&& mv config.tmp config
|
||||
@@ -1,14 +0,0 @@
|
||||
<configuration>
|
||||
<dllmap dll="cygwin1.dll" target="@LIBC@" />
|
||||
<dllmap dll="libc" target="@LIBC@" />
|
||||
<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="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" />
|
||||
</configuration>
|
||||
@@ -1,47 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<configuration>
|
||||
|
||||
<configSections>
|
||||
<section name="appSettings" type="System.Configuration.NameValueFileSectionHandler, System" />
|
||||
|
||||
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System" />
|
||||
<sectionGroup name="system.web">
|
||||
<section name="httpHandlers" type="System.Web.Configuration.HttpHandlersSectionHandler, System.Web" />
|
||||
<section name="httpModules" type="System.Web.Configuration.HttpModulesConfigurationHandler, System.Web" />
|
||||
<section name="machineKey" type="System.Web.Configuration.MachineKeyConfigHandler, System.Web" />
|
||||
<section name="authentication" type="System.Web.Configuration.AuthenticationConfigHandler, System.Web" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<system.web>
|
||||
<httpHandlers>
|
||||
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory" />
|
||||
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler" />
|
||||
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler" />
|
||||
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler" />
|
||||
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler" />
|
||||
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler" />
|
||||
</httpHandlers>
|
||||
<httpModules>
|
||||
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />
|
||||
</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" />
|
||||
</system.web>
|
||||
|
||||
<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>
|
||||
</configuration>
|
||||
|
||||
+4
-9
@@ -1,12 +1,7 @@
|
||||
WEB_FILES= \
|
||||
ado-net anoncvs asp-net books ccvs c-sharp class-library contact contributing devel-faq documentation download \
|
||||
embedded-api faq firebird gcc-frontend hackers ideas index \
|
||||
java jit-debug languages mailing-lists monodoc-xml mysql odbc \
|
||||
oledb papers \
|
||||
passport plans porting postgresql ppc projects rationale \
|
||||
resources roadmap runtime sqlclient sqlite sybase tdsclient \
|
||||
tds-providers team status team testing thanks tools \
|
||||
porting anoncvs monodoc-xml winforms
|
||||
WEB_FILES= \
|
||||
ado-net c-sharp class-library contact contributing documentation download \
|
||||
faq gcc-frontend ideas index passport rationale resources \
|
||||
roadmap runtime status team testing thanks tools porting anoncvs monodoc-xml winforms
|
||||
|
||||
OTHERS= pending resources-pending todo mono-build.sh mono-build-w32.sh
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 448 B |
+741
-141
@@ -1,157 +1,343 @@
|
||||
* ADO.NET
|
||||
|
||||
The coordinator for the ADO.NET implementation is
|
||||
<a href="mailto:[email protected]">Rodrigo Moya</a>,
|
||||
with the collaboration of:
|
||||
<a href="mailto:[email protected]">Daniel Morgan</a>,
|
||||
<a href="mailto:[email protected]">Tim Coleman</a>,
|
||||
<a href="mailto:[email protected]">Brian Ritchie</a>, and
|
||||
<a href="mailto:[email protected]">Vladimir Vukicevic</a>.
|
||||
The coordinator for the ADO.NET implementation is <a
|
||||
href="mailto:[email protected]">Rodrigo Moya</a>, with
|
||||
the collaboration of <a href="mailto:[email protected]">Daniel
|
||||
Morgan</a> and <a href="mailto:[email protected]">Tim Coleman</a>.
|
||||
|
||||
|
||||
* Action plan
|
||||
|
||||
<p>The current plan to implement ADO.NET is as follows:
|
||||
The current plan to implement ADO.NET is as follows:
|
||||
|
||||
<b>Step 1:</b> Initial <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatasqlclient.asp?frame=true">System.Data.SqlClient</a> Provider:
|
||||
|
||||
<ul>
|
||||
<li>Either create ADO.NET providers or modify pre-exiting ADO.NET providers to
|
||||
work with Mono
|
||||
* Initial implementation of System.Data.SqlClient is based on
|
||||
the <a href="http://www.postgresql.org/idocs/">PostgreSQL C API</a> which is a
|
||||
client API to the PostgreSQL DBMS. PostgreSQL was chosen so we could quickly
|
||||
create and test the System.Data classes.
|
||||
|
||||
* Once the <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatasqlclient.asp?frame=true">System.Data.SqlClient</a>
|
||||
code is functional and is usable by other people, we willl move it to
|
||||
Mono.Data.PostgreSQL, and will convert the existing
|
||||
System.Data.SqlClient to be just a wrapper around
|
||||
Mono.Data.PostgreSQL.
|
||||
|
||||
</ul>
|
||||
|
||||
<b>Step 2:</b> <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDataOleDb.asp?frame=true">System.Data.OleDb</a> Provider:
|
||||
|
||||
<ul>
|
||||
<li>Create ADO.NET Providers
|
||||
|
||||
<ul>
|
||||
<li><a href="http://www.go-mono.com/mysql.html">MySQL</a>
|
||||
<li><a href="http://www.go-mono.com/odbc.html">ODBC</a>
|
||||
<li><a href="http://www.go-mono.com/oracle.html">Oracle</a>
|
||||
<li><a href="http://www.go-mono.com/oledb.html">OLE DB</a>
|
||||
<li><a href="http://www.go-mono.com/postgresql.html">PostgreSQL</a>
|
||||
<li><a href="http://www.go-mono.com/sqlclient.html">Microsoft SQL Server</a>
|
||||
<li><a href="http://www.go-mono.com/sqlite.html">SQL Lite</a>
|
||||
<li><a href="http://www.go-mono.com/sybase.html">Sybase</a>
|
||||
<li><a href="http://www.go-mono.com/tdsclient.html">TDS Generic</a>
|
||||
<li>Providers which we do not have, but we would like to have. Currently,
|
||||
some of these databases are supported via the ODBC or OLEDB providers.
|
||||
<ul>
|
||||
<li><a href="http://www-3.ibm.com/software/data/db2/">IBM DB2 Universal Database</a>
|
||||
<li><a href="http://www.hughes.com.au/">miniSQL</a></li>
|
||||
<li><a href="http://www.sleepycat.com/">BerkeleyDB (Sleepycat)</a></li>
|
||||
<li><a href="http://www.sapdb.org/">SapDB</a></li>
|
||||
<li>Microsoft Access - could be done by creating C# bindings to <a href="http://mdbtools.sourceforge.net">MDB Tools</a></li>
|
||||
<li>dbase or xbase type database files</li>
|
||||
<li>Others are welcome</li>
|
||||
</ul>
|
||||
</ul>
|
||||
<br>
|
||||
<li>Modify Pre-existing ADO.NET Providers to work with Mono. This may
|
||||
require fixing or implementing areas of Mono too.
|
||||
<ul>
|
||||
<li><a href="http://www.go-mono.com/firebird.html">Firebird Interbase</a></li>
|
||||
<li><a href="http://gborg.postgresql.org/project/npgsql/projdisplay.php">Npgsql</a> is a PostgreSQL Managed data provider written
|
||||
in 100% C# and does not require a client library </li>
|
||||
<li><a href="http://sourceforge.net/projects/mysqlnet/">MySQLNet</a> is a MySQL Manager data provider written in 100% C# and does not
|
||||
require a client library</li>
|
||||
<li><a href="http://sourceforge.net/projects/mysqldrivercs/">MySQLDriverCS</a> is a MySQL data provider written in C#</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<br>
|
||||
<li>Create Tools for Configuration, Testing, and Entering SQL Queries
|
||||
<ul>
|
||||
<li><b>SQL# CLI - a command-line tool</b> written in C# to
|
||||
execute SQL commands,
|
||||
test connection strings, and connect to various ADO.NET
|
||||
providers in Mono. The SQL# CLI can be found in
|
||||
mcs/tools/SqlSharp/SqlSharpCli.cs</li>
|
||||
<li><p><b>SQL# GUI - a GUI tool</b> written in C# to
|
||||
execute SQL commands.
|
||||
Currently, there is SQL# For GTK# which
|
||||
can be found at
|
||||
mcs/tools/SqlSharp/gui/gtk-sharp
|
||||
It has a SQL editor with
|
||||
syntax hi lighting of SQL keywords</li>
|
||||
<li><b>Configuration Command-Line and GUI Tools for ADO.NET</b>.
|
||||
These tools have not been started. The tools would be written in
|
||||
C# and run on Mono. The
|
||||
configuration tool can be used to do the following:
|
||||
<ul>
|
||||
<li>setup DSNs for the ODBC and OLE-DB
|
||||
providers and configurations for
|
||||
their underlying libraries (unixODBC and libgda)</li>
|
||||
<li>setup configurations for the Mono.Data.ProviderFactory
|
||||
that Brian Ritchie created</li>
|
||||
<li>setup native database client library configurations too, such as,
|
||||
freetds.conf for Microsoft SQL Server and Sybase</li>
|
||||
</ul>
|
||||
</li>
|
||||
* <p>On Unix systems: System.Data.OleDb will use the
|
||||
<a href="http://www.gnome-db.org/">LibGDA</a>
|
||||
engine.
|
||||
|
||||
<p>LibGDA is a data access engine like ADO/OLE-DB, but for Unix. The
|
||||
GDA in libGDA stands for GNU/GNOME Data Access, but it does not require GNOME.
|
||||
It only requires glib2 and libxml2. LibGDA is used by
|
||||
libgnomedb, GNOME-DB, and gaSQL.
|
||||
|
||||
<p>There is work under way to get libgda working under
|
||||
Windows using Cygwin by the GNOME-DB developers.
|
||||
|
||||
<p>LibGDA has providers for MySQL, PostgreSQL, XML, ODBC,
|
||||
and MDB Tools (MS Access support).
|
||||
|
||||
* On Windows systems: System.Data.OleDb will use OLE-DB as
|
||||
its engine. It may have the option of using libgda too.
|
||||
</ul>
|
||||
|
||||
<b>Step 3:</b> <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatasqlclient.asp?frame=true">System.Data.SqlClient</a> Provider:
|
||||
|
||||
<ul>
|
||||
* <p>System.Data.SqlClient will then become a managed
|
||||
provider for Microsoft SQL Server, both on Windows and
|
||||
Linux, to be compatible with applications written
|
||||
for the Microsoft .NET Development Framework.
|
||||
|
||||
<p>Once Step 1 has been completed and the PostgreSQL
|
||||
provider support has been moved to its own place at
|
||||
System.Data.PostgreSQL, we will use
|
||||
<a href="http://www.freetds.org/">FreeTDS</a> as the basis
|
||||
for providing access to Microsoft SQL Server databases.
|
||||
|
||||
<P>FreeTDS is a C API for Unix and Windows that implements
|
||||
the TDS (Tabular Data Stream) protocol used in accessing
|
||||
Microsoft SQL Server and Sybase databases. A .NET Data Provider could be
|
||||
created for Sybase databases as well, but this would be put in Mono.Data.Sybase.
|
||||
</ul>
|
||||
|
||||
<b>Step 4:</b> <a href="http://msdn.microsoft.com/downloads/sample.asp?url=/MSDN-FILES/027/001/668/msdncompositedoc.xml&frame=true">System.Data.Odbc</a> Provider:
|
||||
|
||||
<ul>
|
||||
* We will create a .NET Managaed Provider for ODBC
|
||||
in System.Data.Odbc for those using ODBC.
|
||||
On Unix and Windows, <a href="http://www.unixodbc.org/">unixODBC</a> mabye used.
|
||||
iODBC is an alternative to using unixODBC.
|
||||
|
||||
<p>unixODBC works on Unix and Windows. Well, I have not actually
|
||||
used it on Cygwin, but it does build and install without problems.
|
||||
|
||||
<p>unixODBC has providers for:
|
||||
Oracle, Microsoft SQL Server and Sybase via FreeTDS,
|
||||
MySQL, PostgreSQL, Informix, IBM DB2 (Universal Database),
|
||||
Interbase, miniSQL (mSQL), AdabasD, Empress, YARD SQL, and others.
|
||||
|
||||
</ul>
|
||||
|
||||
<b>Step 5:</b> Other System.Data providers:
|
||||
|
||||
<ul>
|
||||
* <p>The idea in Microsoft .NET System.Data is to have
|
||||
a managed provider for each supported DBMS. System.Data.SqlClient
|
||||
for Microsoft SQL Server.
|
||||
System.Data.OracleClient for Oracle 8i and 9i.
|
||||
|
||||
<p>We will need to have Mono.Data.MySQL, Mono.Data.PostgreSQL,
|
||||
Mono.Data.DB2, and Mono.Data.miniSQL. Others,
|
||||
of course, are welcomed.
|
||||
|
||||
<p>System.Data has been designed so
|
||||
non-database providers can be created too.
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
* Current Status
|
||||
|
||||
<p>Variouls ADO.NET Providers have been created: PostgreSQL, MySQL, Sybase, SQL Lite,
|
||||
Microsoft SQL Server, OLE DB, ODBC, and TDS Generic. See their respective web page for
|
||||
more information.
|
||||
|
||||
<p><b>DataSet, DataAdaptor, DataTable, DataRelation, DataRow, DataColumn,
|
||||
DataColumnCollection, DataRowCollection, and others</b> need more work. There are
|
||||
many classes that are just stubs and need to be implemented.
|
||||
|
||||
<p><b>XML support in System.Data</b> needs work. This involves working on
|
||||
the classes: DataSet, XmlDataDocument, and the method ExecuteXmlReader() that
|
||||
exists in a provider's class that implements IDbCommand, and others.
|
||||
Stuart Caborn has started the XML support in a DataSet. Tim Coleman started
|
||||
XML support in the ExecuteXmlReader() in a SqlCommand.
|
||||
<p>We are working on Steps 1, 2, and 5. We have only just begun on
|
||||
steps 2 and 5 though. We still have tons and tons of stuff to do.
|
||||
If you have any ideas, let us know.
|
||||
|
||||
<p><b>ADO.NET Provider Factory</b> has been started by Brian Ritchie. The
|
||||
Provider Factory is used to dynamically create
|
||||
connections, commands, parameters, and data adapters based on configuration information. This
|
||||
provider factory can also provide utility functions needed by a lot of
|
||||
providers but are not exposed via the provider.
|
||||
<p>For Step 1, the PostgreSQL is starting to come together - it
|
||||
still needs a lot of work.
|
||||
|
||||
<p>For Step 2, Rodrigo Moya has begun System.Data.OleDb which will use libgda
|
||||
which is an OLE-DB/ADO data access for Unix. The C-Sharp bindings to libgda
|
||||
currently work - meaning they can compile, run, and you can connect to a
|
||||
PostgreSQL database via libgda via the C-Sharp bindings to libgda. He has also
|
||||
added class stubs for System.Data.OleDb to cvs.
|
||||
|
||||
<p>For Step 3, we need someone to start the FreeTDS .NET Data Provider so
|
||||
we can have data access to Microsoft SQL Server and Sybase databases, or either
|
||||
add the support in libgda.
|
||||
|
||||
<p>For Step 4, we need someone to start the unixODBC .NET Data Provider, or add
|
||||
the support in libgda.
|
||||
|
||||
<p>For Step 5, we have just begun creating a Mono.Data .NET Provider - a MySQL
|
||||
.NET Provider that uses the MySQL C Client Library. This provider is
|
||||
found in Mono.Data.MySql. We can currently connect and do a SQL INSERT and insert
|
||||
a row into a MySQL database. However, it currently only works on Cygwin because
|
||||
the MySQL client library libmySQL.dll is different
|
||||
from the library on Linux libmysqlclient.dll. Another problem, mysql thread functions
|
||||
do not load for some reason. Also, the provider only runs if you use "mint" (the Mono
|
||||
runtime interpreter). It does not work on "mono" (the Mono Just-In-Time compiler).
|
||||
The C# Bindings to MySQL are thanks to Brad Meril.
|
||||
|
||||
<p><b>Integration with ASP.NET</b> has not been started, such as, data binding
|
||||
to a System.Web.UI.WebControls.DataGrid. This may involve implementing many classes
|
||||
in System.Web and System.Data. Gonzalo, Gaurav, Leen, Patrik, Duncan, and others are
|
||||
<p>We are able to do simple CREATE TABLE, DROP TABLE, UPDATE, INSERT, and
|
||||
DELETE SQL commands using the ExecuteNonQuery method in SqlCommand.
|
||||
|
||||
<p>We can execute multiple queries and do a NextResult() in SqlDataReader()
|
||||
to get the next result set.
|
||||
|
||||
<p>We are also able to do simple aggregate functions,
|
||||
ie, count(), sum(), min(), and max()
|
||||
in a simple SELECT SQL query using the ExecuteScalar() now.
|
||||
|
||||
<p>We are also able to retrieve data with a simple SELECT SQL query
|
||||
using ExecuteReader() which returns a SqlDataReader. We are able to
|
||||
use GetSchemaTable() to get the meta data about the table columns.
|
||||
We are able to Read() to get each row from the result set.
|
||||
|
||||
<p>Here is a sample of code that is based on PostgresTest.cs and
|
||||
TestSqlDataReader.cs tests:
|
||||
<pre>
|
||||
|
||||
static void SelectData (IDbConnection cnc) {
|
||||
|
||||
IDbCommand selectCommand = cnc.CreateCommand();
|
||||
IDataReader reader;
|
||||
|
||||
selectCommand.CommandType = CommandType.Text;
|
||||
selectCommand.CommandText =
|
||||
"select * from pg_user;" +
|
||||
"select * from pg_tables;" +
|
||||
"select * from pg_database";
|
||||
|
||||
reader = selectCommand.ExecuteReader ();
|
||||
|
||||
do {
|
||||
// get the DataTable that holds
|
||||
// the schema
|
||||
DataTable dt = rdr.GetSchemaTable();
|
||||
|
||||
if(rdr.RecordsAffected != -1) {
|
||||
// Results for
|
||||
// SQL INSERT, UPDATE, DELETE Commands
|
||||
// have RecordsAffected >= 0
|
||||
Console.WriteLine("Result is from a SQL Command (INSERT,UPDATE,DELETE). Records Affected: " + rdr.RecordsAffected);
|
||||
}
|
||||
else if (dt == null)
|
||||
Console.WriteLine("Result is from a SQL Command not (INSERT,UPDATE,DELETE). Records Affected: " + rdr.RecordsAffected);
|
||||
else {
|
||||
// Results for
|
||||
// SQL not INSERT, UPDATE, nor DELETE
|
||||
// have RecordsAffected = -1
|
||||
Console.WriteLine("Result is from a SQL SELECT Query. Records Affected: " + rdr.RecordsAffected);
|
||||
|
||||
// Results for a SQL Command (CREATE TABLE, SET, etc)
|
||||
// will have a null reference returned from GetSchemaTable()
|
||||
//
|
||||
// Results for a SQL SELECT Query
|
||||
// will have a DataTable returned from GetSchemaTable()
|
||||
|
||||
results++;
|
||||
Console.WriteLine("Result Set " + results + "...");
|
||||
|
||||
// number of columns in the table
|
||||
Console.WriteLine(" Total Columns: " +
|
||||
dt.Columns.Count);
|
||||
|
||||
// display the schema
|
||||
foreach (DataRow schemaRow in dt.Rows) {
|
||||
foreach (DataColumn schemaCol in dt.Columns)
|
||||
Console.WriteLine(schemaCol.ColumnName +
|
||||
" = " +
|
||||
schemaRow[schemaCol]);
|
||||
Console.WriteLine();
|
||||
}
|
||||
|
||||
int nRows = 0;
|
||||
string output, metadataValue, dataValue;
|
||||
// Read and display the rows
|
||||
Console.WriteLine("Gonna do a Read() now...");
|
||||
while(rdr.Read()) {
|
||||
Console.WriteLine(" Row " + nRows + ": ");
|
||||
|
||||
for(c = 0; c < rdr.FieldCount; c++) {
|
||||
// column meta data
|
||||
DataRow dr = dt.Rows[c];
|
||||
metadataValue =
|
||||
" Col " +
|
||||
c + ": " +
|
||||
dr["ColumnName"];
|
||||
|
||||
// column data
|
||||
if(rdr.IsDBNull(c) == true)
|
||||
dataValue = " is NULL";
|
||||
else
|
||||
dataValue =
|
||||
": " +
|
||||
rdr.GetValue(c);
|
||||
|
||||
// display column meta data and data
|
||||
output = metadataValue + dataValue;
|
||||
Console.WriteLine(output);
|
||||
}
|
||||
nRows++;
|
||||
}
|
||||
Console.WriteLine(" Total Rows: " +
|
||||
nRows);
|
||||
}
|
||||
} while(rdr.NextResult());
|
||||
Console.WriteLine("Total Result sets: " + results);
|
||||
|
||||
rdr.Close();
|
||||
}
|
||||
|
||||
</pre>
|
||||
|
||||
<p>We are able to get
|
||||
String data (char, character, text, varchar), Int16 (smallint),
|
||||
Int32 (integer), Int64 (bigint), DateTime (time, date, timestamp),
|
||||
Boolean (boolean), Single (float), and Double (double).
|
||||
More data types will come later. Note, the types that do work still
|
||||
need thorough testing.
|
||||
|
||||
<p>Rows that are returned which contain columns that are NULL are handled now.
|
||||
The SqlDataReader method IsDBNull() needs to be called to determine
|
||||
if a field IS NULL before trying to read data from that field.
|
||||
|
||||
<p>Calling PostgreSQL stored procedures works. It does not work perfectly. It may not
|
||||
even work to specification - yet. If you want to test it yourself, look at
|
||||
TestSqlDataReader.cs or PostgresTest.cs in
|
||||
mcs/class/System.Data/Test.
|
||||
|
||||
<p>Below, I have some sample code you can
|
||||
use to call a PostgreSQL stored procedure named "version". This stored
|
||||
procedure returns a string containing the PostgreSQL server version. Notice
|
||||
the CommandType is StoredProcedure and the method ExecuteScalar() is called.
|
||||
|
||||
<p>ExecuteScalar() is a lightweight method in class SqlCommand that only returns
|
||||
one row and one column as one object - even if there is more than row or column.
|
||||
|
||||
<pre>
|
||||
static string GetDatabaseServerVersion (SqlConnection cnc)
|
||||
{
|
||||
SqlCommand cmd = cnc.CreateCommand ();
|
||||
string data;
|
||||
|
||||
cmd.CommandType = CommandType.StoredProcedure;
|
||||
cmd.CommandText = "version";
|
||||
|
||||
data = (string) cmd.ExecuteScalar ();
|
||||
|
||||
return data;
|
||||
}
|
||||
</pre>
|
||||
|
||||
<p>We have the beginnings of Parameters support PostgreSQL. Only
|
||||
Input Parameters are currently supported. Output, Input/Output,
|
||||
and Return parameters still need to be done.
|
||||
|
||||
<p>A lot of functionality in System.Data is missing, but the
|
||||
infrastructure is starting to come together.
|
||||
|
||||
<p>A lot of Exceptions need to be thrown for various exceptions. However,
|
||||
SqlException, SqlErrorCollection, and SqlError have been partially
|
||||
implemented.
|
||||
|
||||
<p>Tim Coleman and Rodrigo Moya got the beginnings of the
|
||||
SqlDataAdapter/DataSet/DataTable/DataRow to work. Currently,
|
||||
the SqlDataAdapter can Fill() relational data into a DataTable in a DataSet.
|
||||
See the test mcs/class/System.Data/Test/TestSqlDataAdapter.cs to see it in action.
|
||||
Below, I show a snippets from the test:
|
||||
|
||||
<pre>
|
||||
string connectionString;
|
||||
string sqlQuery;
|
||||
SqlDataAdapter adapter;
|
||||
DataSet dataSet = null;
|
||||
|
||||
connectionString =
|
||||
"host=localhost;" +
|
||||
"dbname=test;" +
|
||||
"user=postgres";
|
||||
|
||||
sqlQuery = "select * from pg_tables";
|
||||
|
||||
adapter = new SqlDataAdapter (sqlQuery,
|
||||
connectionString);
|
||||
|
||||
dataSet = new DataSet ();
|
||||
|
||||
adapter.Fill (dataSet);
|
||||
|
||||
if (dataSet != null) {
|
||||
foreach (DataRow row in dataSet.Tables["Table"].Rows)
|
||||
Console.WriteLine("tablename: " + row["tablename"]);
|
||||
}
|
||||
</pre>
|
||||
|
||||
<p>We do need help on the DataSet/DataAdaptor/DataTable/DataRelation/XML
|
||||
functionality so we can integrate with
|
||||
the ASP.NET controls and Windows.Forms controls by allowing the controls to bind
|
||||
to a data source. Gonzalo, Gaurav, Leen, Patrik, Duncan, and others are
|
||||
working very hard on the ASP.NET support. If you want to help,
|
||||
contact <a href="mailto:[email protected]">Gonzalo Paniagua Javier</a>
|
||||
|
||||
<p><b>Integration with Windows.Forms</b> has not been started, such as, data binding
|
||||
to a System.Windows.Forms.DataGrid. This may involve implementing many classes
|
||||
in System.Windows.Forms and System.Data.
|
||||
|
||||
<p><b>Integration with <a href="http://gtk-sharp.sourceforge.net/">GTK#</a></b>
|
||||
has not been started, such as, data binding
|
||||
to a GtkTreeView. This may involve creating new classes
|
||||
to go between the glist data model and the ADO.NET data model.
|
||||
Mike Kestner would be the best person to ask for help on GTK#.
|
||||
|
||||
<p><b>Integration with QT#</b> has not been started. Any information on
|
||||
how this can be done is appreciated. Adam Treat would be the best
|
||||
person to ask about QT#.
|
||||
|
||||
<p><b>Integration with GDA#</b> has not been started. It is
|
||||
included in the GTK# project, GDA#
|
||||
does not require GTK+ nor GNOME. GDA# is C# bindings
|
||||
to <a href="http://www.gnome-db.org/">GDA</a> which
|
||||
is an ADO/OLE-DB like layer for Linux provided as a C library. Classes
|
||||
that would bind data between the ADO.NET data model and the GDA data model will
|
||||
need to be created. Rodrigo Moya is the best person to contact about this.
|
||||
|
||||
<p><b>Integration with GnomeDb#</b> has not been started. It is
|
||||
included in the GTK# project and uses GDA# for its data access model.
|
||||
Creating classes to bind data between the data model in ADO.NET
|
||||
and the data model that exists in GDA# and GnomeDb# will
|
||||
need to be started. GnomeDb# is C# bindings to
|
||||
<a href="http://www.gnome-db.org/">GnomeDb</a> which uses
|
||||
<a href="http://www.gnome-db.org/">GDA</a> as its data access layer. GnomeDb
|
||||
is a C API in a library that contains
|
||||
gtk+ widgets (GUI controls) for data access. There are some nifty widgets
|
||||
(GUI controls) that can be used, such as, GnomeDbGrid, GnomeDbBrowswer,
|
||||
GnomeDbSqlEditor, GnomeDbList, GnomeDbLogin, GnomeDbReportEditor, GnomeDbTableEditor,
|
||||
GnomeDbCombo, and GnomeDbForm. Rodrigo Moya is the best person to contact.
|
||||
|
||||
<p><b>Building System.Data</b>
|
||||
<P>Need to add XML support in System.Data. This involves working on
|
||||
the classes: DataSet and XmlDataDocument and the ExecuteXmlReader() in SqlCommand.
|
||||
|
||||
<p>The System.Data.dll gets built with the rest of the class library.
|
||||
To compile the System.Data.dll assembly separately, you need:
|
||||
@@ -166,8 +352,7 @@
|
||||
* compile System.Data.dll:
|
||||
<pre>
|
||||
cd mcs/class/System.Data<br>
|
||||
mcs --target library -o \
|
||||
System.Data.dll @list
|
||||
mcs --target library -o System.Data.dll @list
|
||||
</pre>
|
||||
</ul>
|
||||
|
||||
@@ -185,12 +370,427 @@
|
||||
../../nant/NAnt.exe
|
||||
</pre>
|
||||
|
||||
* This will automatically copy the System.Data.dll to Test.
|
||||
If you need to do a clean for the System.Data.dll assembly,<br><br>
|
||||
This will automatically copy the System.Data.dll to Test.
|
||||
If you need to do a clean for the System.Data.dll assembly,<br><br>
|
||||
|
||||
<pre>
|
||||
<pre>
|
||||
cd mcs/class/System.Data
|
||||
../../nant/NAnt.exe clean
|
||||
../../nant/NAnt.exe clean
|
||||
</pre>
|
||||
</ul>
|
||||
|
||||
* Testing
|
||||
|
||||
<p>In order to test System.Data.SqlClient, you will need to have
|
||||
access to a remote PostgreSQL DBMS, or you will have to install
|
||||
one locally. PostgreSQL is the DBMS used for the initial
|
||||
implementation of System.Data.SqlClient.
|
||||
|
||||
<p>Why? Because it is open source, has a client
|
||||
library that is easy to use, PostgreSQL is easy to install on
|
||||
Unix and Windows (using the Cygwin install program), not difficult to setup after
|
||||
installation, and it runs under: Linux,
|
||||
Windows (via cygwin and ipc-daemon), Unix, and
|
||||
others. This allowed us to create the
|
||||
System.Data functionality in Mono much quicker.
|
||||
|
||||
<p>If you plan on using a remote PostgreSQL DBMS Server,
|
||||
than you will need to have the PostgreSQL client software on your
|
||||
local computer that includes libpq.so (pq.dll on Windows).
|
||||
|
||||
<p>The System.Data tests use this connection string to connect
|
||||
to the PostgreSQL database named "test" at host "localhost" as
|
||||
user "postgres".
|
||||
|
||||
<pre>
|
||||
"host=localhost;dbname=test;user=postgres"
|
||||
</pre>
|
||||
|
||||
<p>Installation instructions for PostgreSQL DBMS:
|
||||
|
||||
<b>On Unix</b>
|
||||
|
||||
<ul>
|
||||
* Read the PostgreSQL Installation Instructions
|
||||
at \usr\doc\postgresql-x.x.x\html\installation.html
|
||||
|
||||
* Depending on your Unix system,
|
||||
PostgreSQL maybe already installed, a database user 'postgres' created,
|
||||
a linux user 'postgres' created and initdb ran. Or maybe not.
|
||||
|
||||
<pre>
|
||||
su
|
||||
adduser postgres
|
||||
mkdir /usr/local/pgsql/data
|
||||
chown postgres /usr/local/pgsql/data
|
||||
su - postgres
|
||||
initdb -D /usr/local/pgsql/data
|
||||
postmaster -i -D /usr/local/pgsql/data
|
||||
createdb test
|
||||
psql test
|
||||
</pre>
|
||||
|
||||
* Make sure you have a database user named postgres. It is best to install
|
||||
the PostgreSQL DBMS under linux user postgres. When you run the postmaster,
|
||||
run it under the user postgres as well. If this was not done, then you
|
||||
will need to create a user named postgres for the System.Data tests.
|
||||
|
||||
* If you already installed PostgeSQL and you do not have a database
|
||||
user named postgres, then you can create user postgres using psql:
|
||||
|
||||
<pre>
|
||||
psql test
|
||||
create user postgres with password 'fun2db';
|
||||
</pre>
|
||||
|
||||
* The postmaster must be run with -i option.
|
||||
|
||||
* In the /usr/local/pgsql/data/pg_hba.conf file, you need
|
||||
to have the AUTH_TYPE set to md5. You can read more on this at
|
||||
/usr/doc/postgresql-7.2.1/html/client-authentication.html
|
||||
or wherever your
|
||||
PostgreSQL html docs are located. See the 2nd line below,
|
||||
host 127.0.0.1 has an AUTH_TYPE md5 in pg_hba.conf.
|
||||
|
||||
<pre>
|
||||
# TYPE DATABASE IP_ADDRESS MASK AUTH_TYPE
|
||||
|
||||
local all trust
|
||||
host all 127.0.0.1 255.255.255.255 md5
|
||||
</pre>
|
||||
|
||||
* If you can not find your PostgreSQL documentation locally or you
|
||||
did not install it, then you
|
||||
can get it <a href="http://www.postgresql.org/idocs/">here</a>.
|
||||
|
||||
</ul>
|
||||
|
||||
<b>On Windows</b>
|
||||
|
||||
<ul>
|
||||
* Use the <a href="http://www.cygwin.com/">Cygwin</a> installer to
|
||||
install the PostgreSQL DBMS. It is
|
||||
found in the database category.
|
||||
|
||||
* <p>Read the file postgres-x.x.README at /usr/doc/Cygwin and read
|
||||
the requirements to install PostgreSQL. Those requirements
|
||||
are included with cygwin except cygipc. A default installtion
|
||||
of cygwin does not install everything you will need, so on the
|
||||
safe side, just include everything when installing cygwin.
|
||||
|
||||
* <p>The -x.x in postgres-x.x is the version of your PostgreSQL DBMS.
|
||||
|
||||
* <p>Once Cygwin has installed the PostgreSQL DBMS on your computer,
|
||||
read the file FAQ_MSWIN which is available
|
||||
in /usr/doc/postgres-x.x
|
||||
|
||||
* <p>Important notes from this file are:
|
||||
|
||||
<ul>
|
||||
<p><b>2.</b> - Install the latest <a href="http://www.neuro.gatech.edu/users/cwilson/cygutils/OBSOLETE/V1.1/cygipc/index.html">CygIPC</a> package.
|
||||
|
||||
<p>The cygipc package contains the ipc-daemon you will need
|
||||
to run before you can
|
||||
run the PostgreSQL DBMS Server daemon (postmaster) or run
|
||||
initdb which initializes the PostgreSQL database.
|
||||
|
||||
<p><b>3.</b> The Cygwin bin directory has to be placed in
|
||||
the path before the Windows program directories,
|
||||
for example, C:\cygwin\bin
|
||||
|
||||
<p><b>My own note.</b> In the Windows control panel, I set
|
||||
the environment variables PATH to my cygwin /usr/local/bin,
|
||||
/usr/bin, and /bin. I also set my LD_LIBRARY_PATH to
|
||||
/usr/local/lib and /usr/lib. For example:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
PATH=c:\cygwin\usr\local\bin;c:\cygwin\usr\bin;c:\cygwin\bin;
|
||||
LD_LIBRARY_PATH=c:\cygwin\usr\local\lib;c:\cygwin\usr\lib;
|
||||
</pre>
|
||||
|
||||
<p><b>4.</b> Start the ipc-daemon that came with the cygipc
|
||||
package. There
|
||||
are two ways to do this: run it from the command line as:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
ipc-daemon &
|
||||
</pre>
|
||||
<p>or you can set it up as a Windows service. See the
|
||||
file cygrunsrv.README at /usr/doc/Cygwin on how to do this
|
||||
for ipc-daemon and postmaster. Note the
|
||||
troubleshooting section at the end of
|
||||
the cygrunsrv.README file.
|
||||
|
||||
<p>To install ipc-daemon as a service,
|
||||
you just have to run
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
ipc-daemon --install-as-service' (--remove-as-service)
|
||||
</pre>
|
||||
|
||||
<p>and then run
|
||||
|
||||
<pre>
|
||||
net start ipc-daemon
|
||||
</pre>
|
||||
</ul>
|
||||
|
||||
<p>Read the installation.html file
|
||||
at /usr/doc/postgresql-x.x/html/installation.html
|
||||
|
||||
<p>You will see in this file that you will need to
|
||||
run the following commands:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
mkdir /usr/local/pgsql/data
|
||||
initdb -D /usr/local/pgsql/data
|
||||
postmaster -D /usr/local/pgsql/data
|
||||
createdb test
|
||||
psql test
|
||||
</pre>
|
||||
|
||||
<p>When you need to connect to the database,
|
||||
you will need ipc-daemon and postmaster running. Start ipc-daemon
|
||||
before any of the command above. If you restart your computer, you
|
||||
need to start ipc-daemon and postmaster either manually or as a
|
||||
service.
|
||||
|
||||
<p>psql is a command-line PostgreSQL client tool to
|
||||
enter and run SQL commands and queries.
|
||||
|
||||
<p>If there is no database user named postgres, create a user named
|
||||
postgres with the following SQL command in the client tool psql:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
psql test
|
||||
create user postgres with password 'fun2db';
|
||||
</pre>
|
||||
<p>The only reason I say this is so you can easily use the System.Data tests
|
||||
without having to change the database, userid, etc.
|
||||
</ul>
|
||||
|
||||
<p>In the path mcs/class/System.Data/Test
|
||||
there is a PostgreSQL test program named
|
||||
PostgreTest.cs. Thanks goes to Gonzalo for creating the original
|
||||
PostgreSQL test.
|
||||
|
||||
<p>To use it to test System.Data, you
|
||||
modify the file to your PostgreSQL database
|
||||
connection requirements:
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
<li><b>dbname</b> database, ie., test</li>
|
||||
<li><b>host</b> hostname of the PostgreSQL DBMS Server to connect to, ie., localhost</li>
|
||||
<li><b>user</b> username, ie., someuser</li>
|
||||
<li><b>password</b> password, ie., mypass1234</li>
|
||||
</ul>
|
||||
|
||||
<p>The connection string is in OLE-DB connection string format. Internally,
|
||||
SqlConnection converts this to the PostgreSQL connection string format.
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
OLE-DB: "host=localhost;dbname=test;user=joe;password=smoe"
|
||||
PostgreSQL: "host=localhost dbname=test user=joe password=smoe"
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
Note that OLE-DB includes the semicolons while PostgreSQL's connection
|
||||
string does not.
|
||||
|
||||
<p>
|
||||
To compile the PostgresTest.cs program, do:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
mcs PostgresTest.cs -r System.Data.dll
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
To run using mint, do:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
mint PostgresTest.exe
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
To run using mono, do:
|
||||
<pre>
|
||||
mono PostgresTest.exe
|
||||
</pre>
|
||||
|
||||
<p>Below, I show how the output from PostgresTest. I have omitted a lot
|
||||
of the meta data for the columns except two columns. The classes
|
||||
used were from System.Data.SqlClient and were used to connect to a
|
||||
PostgreSQL database and retrieve data.
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
|
||||
danmorg@DANPC ~/mono/mcs/class/System.Data/Test
|
||||
$ mcs PostgresTest.cs -r System.Data.dll
|
||||
|
||||
danmorg@DANPC ~/mono/mcs/class/System.Data/Test
|
||||
$ mono PostgresTest.exe
|
||||
Postgres provider specific tests...
|
||||
|
||||
Drop table:
|
||||
Error (don't worry about this one)SqlError:PGRES_FATAL_ERROR ERROR: table "mono
|
||||
_postgres_test" does not exist
|
||||
<Stack Trace>
|
||||
|
||||
Create table with all supported types:
|
||||
OK
|
||||
Insert values for all known types:
|
||||
OK
|
||||
Update values:
|
||||
OK
|
||||
Insert values for all known types:
|
||||
OK
|
||||
Aggregate: count(*)
|
||||
Agg Result: 2
|
||||
Aggregate: min(text_value)
|
||||
Agg Result: This is a text
|
||||
Aggregate: max(int4_value)
|
||||
Agg Result: 1048000
|
||||
Aggregate: sum(int4_value)
|
||||
Agg Result: 1048003
|
||||
Select values from the database:
|
||||
Result is from a SELECT SQL Query. Records Affected: -1
|
||||
Result Set 1...
|
||||
Total Columns: 28
|
||||
ColumnName = boolean_value
|
||||
ColumnOrdinal = 1
|
||||
ColumnSize = 1
|
||||
NumericPrecision = 0
|
||||
NumericScale = 0
|
||||
IsUnique = False
|
||||
IsKey =
|
||||
BaseCatalogName =
|
||||
BaseColumnName = boolean_value
|
||||
BaseSchemaName =
|
||||
BaseTableName =
|
||||
DataType = System.Boolean
|
||||
AllowDBNull = False
|
||||
ProviderType = 16
|
||||
IsAliased = False
|
||||
IsExpression = False
|
||||
IsIdentity = False
|
||||
IsAutoIncrement = False
|
||||
IsRowVersion = False
|
||||
IsHidden = False
|
||||
IsLong = False
|
||||
IsReadOnly = False
|
||||
|
||||
...
|
||||
|
||||
ColumnName = null_timestamp_value
|
||||
ColumnOrdinal = 28
|
||||
ColumnSize = 8
|
||||
NumericPrecision = 0
|
||||
NumericScale = 0
|
||||
IsUnique = False
|
||||
IsKey =
|
||||
BaseCatalogName =
|
||||
BaseColumnName = null_timestamp_value
|
||||
BaseSchemaName =
|
||||
BaseTableName =
|
||||
DataType = System.DateTime
|
||||
AllowDBNull = False
|
||||
ProviderType = 1184
|
||||
IsAliased = False
|
||||
IsExpression = False
|
||||
IsIdentity = False
|
||||
IsAutoIncrement = False
|
||||
IsRowVersion = False
|
||||
IsHidden = False
|
||||
IsLong = False
|
||||
IsReadOnly = False
|
||||
|
||||
Gonna do a Read() now...
|
||||
Row 0:
|
||||
Col 0: boolean_value: False
|
||||
Col 1: int2_value: 5
|
||||
Col 2: int4_value: 3
|
||||
Col 3: bigint_value: 9
|
||||
Col 4: float_value: 3.141590
|
||||
Col 5: double_value: 3.14159
|
||||
Col 6: numeric_value: 123456789012.345
|
||||
Col 7: char_value: Mono.Data!
|
||||
Col 8: varchar_value: It was not me!
|
||||
Col 9: text_value: We got data!
|
||||
Col 10: point_value: (1,0)
|
||||
Col 11: time_value: 01/01/1 21:13:14
|
||||
Col 12: date_value: 02/29/2000 00:00:00
|
||||
Col 13: timestamp_value: 02/29/2004 14:00:11
|
||||
Col 14: null_boolean_value is NULL
|
||||
Col 15: null_int2_value is NULL
|
||||
Col 16: null_int4_value is NULL
|
||||
Col 17: null_bigint_value is NULL
|
||||
Col 18: null_float_value is NULL
|
||||
Col 19: null_double_value is NULL
|
||||
Col 20: null_numeric_value is NULL
|
||||
Col 21: null_char_value is NULL
|
||||
Col 22: null_varchar_value is NULL
|
||||
Col 23: null_text_value is NULL
|
||||
Col 24: null_point_value is NULL
|
||||
Col 25: null_time_value is NULL
|
||||
Col 26: null_date_value is NULL
|
||||
Col 27: null_timestamp_value is NULL
|
||||
Row 1:
|
||||
Col 0: boolean_value: True
|
||||
Col 1: int2_value: -22
|
||||
Col 2: int4_value: 1048000
|
||||
Col 3: bigint_value: 123456789012345
|
||||
Col 4: float_value: 3.141590
|
||||
Col 5: double_value: 3.14159
|
||||
Col 6: numeric_value: 123456789012.345
|
||||
Col 7: char_value: This is a char
|
||||
Col 8: varchar_value: This is a varchar
|
||||
Col 9: text_value: This is a text
|
||||
Col 10: point_value: (1,0)
|
||||
Col 11: time_value: 01/01/1 21:13:14
|
||||
Col 12: date_value: 02/29/2000 00:00:00
|
||||
Col 13: timestamp_value: 02/29/2004 14:00:11
|
||||
Col 14: null_boolean_value is NULL
|
||||
Col 15: null_int2_value is NULL
|
||||
Col 16: null_int4_value is NULL
|
||||
Col 17: null_bigint_value is NULL
|
||||
Col 18: null_float_value is NULL
|
||||
Col 19: null_double_value is NULL
|
||||
Col 20: null_numeric_value is NULL
|
||||
Col 21: null_char_value is NULL
|
||||
Col 22: null_varchar_value is NULL
|
||||
Col 23: null_text_value is NULL
|
||||
Col 24: null_point_value is NULL
|
||||
Col 25: null_time_value is NULL
|
||||
Col 26: null_date_value is NULL
|
||||
Col 27: null_timestamp_value is NULL
|
||||
Total Rows Retrieved: 2
|
||||
Total Result sets: 1
|
||||
Call ExecuteReader with a SQL Command. (Not INSERT,UPDATE,DELETE
|
||||
).
|
||||
Result is from a SQL Command not (INSERT,UPDATE,DELETE). Records Affected: -1
|
||||
Total Result sets: 0
|
||||
Call ExecuteReader with a SQL Command. (Is INSERT,UPDATE,DELETE)
|
||||
.
|
||||
Result is from a SQL Command (INSERT,UPDATE,DELETE). Records Affected: 1
|
||||
Total Result sets: 0
|
||||
Calling stored procedure version()
|
||||
Result: PostgreSQL 7.2.1 on i686-pc-cygwin, compiled by GCC 2.95.3-5
|
||||
Database Server Version: PostgreSQL 7.2.1 on i686-pc-cygwin, compiled by GCC 2.9
|
||||
5.3-5
|
||||
Clean up...
|
||||
Drop table...
|
||||
OK
|
||||
RESULT: 0
|
||||
|
||||
</pre>
|
||||
|
||||
+2
-2
@@ -30,7 +30,7 @@
|
||||
To update your sources every day, you use this command:
|
||||
|
||||
<pre>
|
||||
export CVSROOT=:pserver:anonymous@anoncvs.go-mono.com:/mono
|
||||
export CVSROOT=:pserver:anonymous@reypastor.hispalinux.es:/mono
|
||||
cvs -z3 update -dP mcs mono gtk-sharp
|
||||
</pre>
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<a name="#mirror">
|
||||
** Becoming an AnonCVS mirror
|
||||
|
||||
To become an AnonCVS mirror, you currently need about 40
|
||||
To become an AnonCVS mirror, you currently need about 20
|
||||
megabytes of free disk space and bandwidth that you do not
|
||||
mind sharing (you probably want enough to spare).
|
||||
|
||||
|
||||
+23
-45
@@ -12,14 +12,11 @@
|
||||
programs can be run using the Mono runtime and the XSP page
|
||||
parser.
|
||||
|
||||
We are now working bug fixing and adding missing features
|
||||
after making the whole pipeline compatible with MS.
|
||||
|
||||
Tim started work on the Web Services. Although we have a
|
||||
SoapFormatter as part of the remoting infrastructure already
|
||||
(contributed by Jesus), most people will be using the ASP.NET
|
||||
Web Services support. Work for the supporting class libraries
|
||||
just started recently.
|
||||
Tim started work on the Web Services early this week.
|
||||
Although we have a SoapFormatter as part of the remoting
|
||||
infrastructure already (contributed by Jesus), most people
|
||||
will be using the ASP.NET Web-services support. Work for the
|
||||
supporting class libraries just started recently.
|
||||
|
||||
* Web Forms: The pieces
|
||||
|
||||
@@ -44,7 +41,7 @@
|
||||
files and generated the code required to run them (the code lives in
|
||||
module `xsp' along with a little web server for testing).
|
||||
|
||||
Most of the runtime support was written by Patrik Torstensson
|
||||
Most of the runtime support was mostly written by Patrik Torstensson
|
||||
(now at Intel). This was interesting, because in order to implement
|
||||
some of its features, Patrik had to go into the runtime/JIT engine and
|
||||
he spent a few weeks doing work there.
|
||||
@@ -59,25 +56,16 @@
|
||||
** HttpRuntime
|
||||
|
||||
Patrik has authored most of the HttpRuntime support (both on
|
||||
the System.Web and on the foundation).
|
||||
|
||||
We are currently working on this.
|
||||
the System.Web and on the foundation) but it is still not
|
||||
ready to run.
|
||||
|
||||
** XSP
|
||||
|
||||
This is where initial development of the .aspx/.ascx/.asax compiler
|
||||
to C# took place. That compiler is now integrated in System.Web classes
|
||||
mostly under System.Web.Compilation namespace.
|
||||
Currently XSP provides the .aspx compiler to C#. It would be
|
||||
interesting to see if it makes sense to extend the ASP.NET
|
||||
syntax to make it simpler to develop applications.
|
||||
|
||||
We added a new web server that works with mono and MS runtime and is
|
||||
being used to debug our classes. It resides in xsp/server. A couple of
|
||||
classes of this new server can be reused/extended to make an apache
|
||||
module/cgi using mono (MonoWorkerRequest and MonoApplicationHost).
|
||||
|
||||
There is also a bunch of .aspx pages to test the server along with
|
||||
a few user controls under xsp/test.
|
||||
|
||||
You can check it out from CVS and run 'make install' to test it.
|
||||
Gonzalo is in charge of the compiler.
|
||||
|
||||
** Controls
|
||||
|
||||
@@ -85,11 +73,10 @@
|
||||
implement the controls (UI.HtmlControls and UI.WebControls),
|
||||
but they have been coded mostly in the dark, and without being
|
||||
able to test them in real life: Gaurav and Leen worked very
|
||||
hard on this namespace.
|
||||
hard on this namespace, but needs to be finished.
|
||||
|
||||
We can now render all HtmlControls and almost all WebControls.
|
||||
DataGrid and DataList controls are being finished by Gaurav.
|
||||
Xml control needs some work on System.Xml related to XSL.
|
||||
We can now render all HtmlControls and some WebControls. Work is
|
||||
ongoing to make all WebControls render HTML.
|
||||
|
||||
** Extending ASP.NET
|
||||
|
||||
@@ -114,31 +101,22 @@
|
||||
but using our generated page.
|
||||
|
||||
4. Run the sample with our classes with the .NET runtime.
|
||||
<b>We are here</b>.
|
||||
|
||||
5. Run the samples with our classes with the our runtime (without
|
||||
using HttpRuntime).
|
||||
|
||||
6. Finish HttpRuntime.
|
||||
5. Finish HttpRuntime.
|
||||
|
||||
7. Running our sample code with our classes with our runtime.
|
||||
6. Running our sample code with our classes with our runtime.
|
||||
|
||||
8. Debug and add missing features.
|
||||
|
||||
We are in step 8. Among the missing features: server side includes,
|
||||
better caching, some configuration stuff, more validators...
|
||||
|
||||
** How to Help
|
||||
|
||||
Testing and fixing HtmlControls, WebControls and validators is an
|
||||
easy way to help.
|
||||
Currently we are testing and fixing HtmlControls, WebControls and
|
||||
validators.
|
||||
|
||||
In the CVS module XSP you can find a small web server used for
|
||||
testing and a directory containing sample aspx pages.
|
||||
In the CVS module XSP you can find the aspx to C# page parser,
|
||||
a little web server used for testing and a directory containing
|
||||
sample aspx pages.
|
||||
|
||||
You have some documentation under doc directory and in the README
|
||||
file of each directory. They explain how to test our System.Web.
|
||||
Testing is really easy!
|
||||
|
||||
As the server also works with MS runtime, you can use it to check
|
||||
what the expected results are.
|
||||
|
||||
+35
-19
@@ -2,25 +2,22 @@
|
||||
|
||||
MCS is currently able to compile itself and many more C#
|
||||
programs (there is a test suite included that you can use).
|
||||
It is routinely used to compile Mono, roughly half a million
|
||||
lines of C# code.
|
||||
|
||||
We are in feature completion mode right now. There are still
|
||||
a couple of areas that are not covered by the Mono compiler, but
|
||||
they are very very few at this point (security attributes),
|
||||
you can also browse the MCS <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FMCS&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">bugs</a> from Bugzilla.
|
||||
they are very very few at this point.
|
||||
|
||||
MCS was able to parse itself on April 2001, MCS compiled itself
|
||||
for the first time on December 28 2001. MCS became self hosting
|
||||
on January 3rd, 2002.
|
||||
|
||||
The Mono Runtime and the Mono execution engine were able to make
|
||||
our compiler self hosting on March 12, 2002.
|
||||
|
||||
A test suite is maintained to track the progress of
|
||||
the compiler and various programs are routinely compiled and
|
||||
ran.
|
||||
|
||||
** Slides
|
||||
|
||||
Slides for the Mono C# Compiler presentation at .NET ONE are
|
||||
available <a
|
||||
href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/Mono_C_Sharp_Overview_1007.sxi">here</a>
|
||||
in StarOffice format.
|
||||
|
||||
** Obtaining MCS
|
||||
|
||||
The Mono C# compiler is part of the `mcs' module in the Mono CVS
|
||||
@@ -30,8 +27,8 @@
|
||||
** Running MCS
|
||||
|
||||
MCS is written in C# and uses heavily the .NET APIs. MCS runs
|
||||
on Linux with the Mono runtime and on Windows with both the
|
||||
.NET runtime and the Mono runtime.
|
||||
on Linux (with the Mono runtime) and Windows (with the .NET
|
||||
framework runtime)
|
||||
|
||||
** Reporting Bugs in MCS
|
||||
|
||||
@@ -106,14 +103,33 @@
|
||||
able to use this generic CIL optimizer in their projects
|
||||
reducing their time to develop a production compiler.
|
||||
|
||||
** History
|
||||
<a name="tasks">
|
||||
** Current pending tasks
|
||||
|
||||
MCS was able to parse itself on April 2001, MCS compiled itself
|
||||
for the first time on December 28 2001. MCS became self hosting
|
||||
on January 3rd, 2002.
|
||||
Simple tasks:
|
||||
|
||||
The Mono Runtime and the Mono execution engine were able to make
|
||||
our compiler self hosting on March 12, 2002.
|
||||
<ul>
|
||||
* Redo the way we deal with built-in operators.
|
||||
</ul>
|
||||
|
||||
Larger tasks:
|
||||
<ul>
|
||||
|
||||
* Jay does not work correctly with `error'
|
||||
productions, making parser errors hard to point. It
|
||||
would be best to port the Bison-To-Java compiler to
|
||||
become Bison-to-C# compiler.
|
||||
|
||||
Nick Drochak has started a project on SourceForge for this.
|
||||
You can find the project at: <a href="http://sourceforge.net/projects/jb2csharp/">
|
||||
http://sourceforge.net/projects/jb2csharp/</a>
|
||||
|
||||
* Semantic Analysis: Return path coverage and
|
||||
initialization before use coverage are two great
|
||||
features of C# that help reduce the number of bugs
|
||||
in applications. It is one interesting hack.
|
||||
|
||||
</ul>
|
||||
|
||||
** Questions and Answers
|
||||
|
||||
|
||||
@@ -1,61 +1,15 @@
|
||||
* CVS Access
|
||||
|
||||
If you are an active Mono developer, you can get a CVS account
|
||||
that hosts the Mono source code. This web page contains
|
||||
details about how to use the CVS server as well as the
|
||||
policies to use it.
|
||||
that hosts the Mono source code.
|
||||
|
||||
If you are not a developer, but want to track the development, please
|
||||
see the <a href="anoncvs.html">AnonCVS</a> instructions.
|
||||
|
||||
Send an e-mail to miguel with your public OpenSSH key for this
|
||||
purpose. Please specify if the key was generated with SSH version 1
|
||||
or version 2.
|
||||
Send an e-mail to miguel with your public SSH key for this
|
||||
purpose. Please specify if the key was generated with SSH1 or SSH2.
|
||||
|
||||
* Policies
|
||||
|
||||
Here are some policies about the use of the Mono CVS server.
|
||||
|
||||
** Code License
|
||||
|
||||
If you are about to commit code to a module, the code that is
|
||||
being commited should be released under the same license as
|
||||
the code that the module has.
|
||||
|
||||
Check the license if you are unsure, but it is basically:
|
||||
class libraries X11; compiler and tools: GPL; runtime: LGPL.
|
||||
|
||||
If in doubt, check with the maintainers of the module, or send
|
||||
mail to [email protected].
|
||||
|
||||
** Commiting code.
|
||||
|
||||
If you are the maintainer for a piece of code, feel free to
|
||||
commit code, and delegate the work to others.
|
||||
|
||||
Use ChangeLog entries so we can keep textual descriptions of
|
||||
your work, and use the contents of your ChangeLog file as the
|
||||
CVS commit message (ie, paste the contents of this into the
|
||||
editor buffer).
|
||||
|
||||
If you are making changes to someone else's code, please make
|
||||
sure you get in touch with the maintainer of that code before
|
||||
applying patches. You want to avoid commiting conflicting
|
||||
work to someone else's code.
|
||||
|
||||
Please do not commit code that would break the compile to the
|
||||
CVS, because that normally wastes everybody's time. Two things
|
||||
are important in this step: trying to build your sources and making
|
||||
sure that you add all the new files before you do a commit.
|
||||
|
||||
|
||||
* Using CVS.
|
||||
|
||||
This is a small tutorial for using CVS.
|
||||
|
||||
** Generating an SSH key
|
||||
|
||||
If you are using SSH version 2, please generate your key using:
|
||||
If you are using SSH2, please generate your key using:
|
||||
|
||||
<pre>
|
||||
ssh-keygen -t rsa
|
||||
@@ -63,32 +17,13 @@
|
||||
|
||||
And mail me the id_rsa.pub file.
|
||||
|
||||
If you are using SSH version 1, run:
|
||||
If you are using SSH1, run:
|
||||
<pre>
|
||||
ssh-keygen
|
||||
</pre>
|
||||
|
||||
And mail me your identity.pub file.
|
||||
|
||||
If you are using SSH from SSH Communications Security (they offer
|
||||
a free SSH client for personal use), you have to use OpenSSH to
|
||||
convert your public key to the required format. You have to use
|
||||
OpenSSH's ssh-keygen program and write the following:
|
||||
|
||||
<pre>
|
||||
ssh-keygen -i -f id_XXX.pub > my_public_key.pub
|
||||
</pre>
|
||||
|
||||
where the file id_XXX.pub is your public key file,
|
||||
normally located under ~/.ssh/ or ~/.ssh2/.
|
||||
Send to miguel the my_public_key.pub file.
|
||||
|
||||
The *exact* format for this file must be:
|
||||
|
||||
<pre>
|
||||
ssh-rsa XXXXX....
|
||||
</pre>
|
||||
|
||||
You will need CVS and SSH. Windows users can get both by
|
||||
installing Cygwin (<a
|
||||
href="http://www.cygwin.com">http://www.cygwin.com</a>)
|
||||
@@ -169,7 +104,7 @@
|
||||
cvs commit file-1.cs file-2.cs
|
||||
</pre>
|
||||
|
||||
* The Mailing Lists
|
||||
** The Mailing List
|
||||
|
||||
To keep track of the various development and changes to the
|
||||
CVS tree, you can subscribe to the [email protected].
|
||||
@@ -180,15 +115,24 @@
|
||||
This will send you an email message every time a change is
|
||||
made to the CVS repository, together with the information that
|
||||
the author of the changes submitted.
|
||||
|
||||
You might also want to track the live changes, subscribe to
|
||||
the <a
|
||||
href="mailto:[email protected]">[email protected]</a>
|
||||
to receive the patches as they are checked into CVS.
|
||||
|
||||
|
||||
** Recommendations
|
||||
|
||||
Please do not commit code that would break the compile to the
|
||||
CVS, because that normally wastes everybody's time. Two things
|
||||
are important in this step: trying to build your sources and making
|
||||
sure that you add all the new files before you do a commit.
|
||||
|
||||
To build the sources, most of the type trying the `make' command
|
||||
is enough. In some cases (the class libraries) we use nant, so
|
||||
you need to run nant manually.
|
||||
|
||||
Use ChangeLog entries so we can keep textual descriptions of
|
||||
your work, and use the contents of your ChangeLog file as the
|
||||
CVS commit message (ie, paste the contents of this into the
|
||||
editor buffer).
|
||||
|
||||
If you are making changes to someone else's code, please make
|
||||
sure you get in touch with the maintainer of that code before
|
||||
applying patches. You want to avoid commiting conflicting
|
||||
work to someone else's code.
|
||||
+9
-34
@@ -1,42 +1,17 @@
|
||||
* Status of the various pieces of the class library
|
||||
|
||||
Classes in Mono are organized by the assembly that they belong to.
|
||||
You can browse the status of the class library and see who has
|
||||
registered to work on what parts of the system. These list
|
||||
work-in-progress components currently.
|
||||
|
||||
Here is the status of the different assemblies:
|
||||
<ul>
|
||||
<li><a href="http://www.go-mono.com/class-status-corlib.html">corlib</a>: The core library.
|
||||
<li><a href="http://www.go-mono.com/class-status-System.html">System</a>.
|
||||
<li><a href="http://www.go-mono.com/class-status-System.Xml.html">System.Xml</a>.
|
||||
Browse the current <a href="class-status/index.html">status</a>.
|
||||
|
||||
<li><a
|
||||
href="http://www.go-mono.com/class-status-System.Data.html">System.Data</a>:
|
||||
Database access functionality (also check the <a href="ado-net.html">Mono ADO.NET status</a> pages).
|
||||
You can also download the XML <a
|
||||
href="class-status/maintainers.xml">maintainers</a> file that
|
||||
contains the actual maintainers list.
|
||||
|
||||
<li><a href="http://www.go-mono.com/class-status-System.Drawing.html">System.Drawing</a>.
|
||||
|
||||
<li><a
|
||||
href="http://www.go-mono.com/class-status-System.Web.html">System.Web</a>:
|
||||
ASP.NET classes, also check the <a href="asp-net.html">Mono ASP.NET status pages</a>
|
||||
|
||||
<li><a href="http://www.go-mono.com/class-status-System.Web.Services.html">System.Web.Services</a>.
|
||||
|
||||
<li><a
|
||||
href="http://www.go-mono.com/class-status-Microsoft.VisualBasic.html">Microsoft.VisualBasic</a>:
|
||||
Support runtime for Visual Basic applications
|
||||
|
||||
<li><a
|
||||
href="http://www.go-mono.com/class-status-System.Windows.Forms.html">Windows.Forms</a>:
|
||||
there is also a <a
|
||||
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mailing
|
||||
list available</a>
|
||||
|
||||
<li><a href="http://www.go-mono.com/class-status-System.EnterpriseServices.html">EnterpriseServices</a>.
|
||||
|
||||
<li><a
|
||||
href="http://www.go-mono.com/class-status-System.Runtime.Serialization.Formatters.Soap.html">System.Runtime.Serialization.Formatters.Soap</a>.
|
||||
|
||||
|
||||
</ul>
|
||||
You can also download the master <a
|
||||
href="class-status/class.xml">Class Status XML</a> file.
|
||||
|
||||
* List of not-implemented classes
|
||||
|
||||
|
||||
+70
-32
@@ -14,49 +14,87 @@
|
||||
and updating class library documentation, including:
|
||||
|
||||
<ul>
|
||||
<li><a href="#monodoc">MonoDoc - A graphical documentation editor and viewer.</a></li>
|
||||
<li><a href="#mkmaster">MkMaster - A command line tool to feed stub information to MonoDoc.</a></li>
|
||||
<li><a href="#aspnet">An ASP.NET documentation editor.</a></li>
|
||||
<li><a href="#xsltool">An xsl tool to convert monodoc xml to html documentation.</a></li>
|
||||
<li><a href="#docstub">docstub</a></li>
|
||||
<li><a href="#docverify">docverify</a></li>
|
||||
<li><a href="#docconv">docconv</a></li>
|
||||
<li><a href="#docgen">docgen</a></li>
|
||||
<li><a href="#monodoc">monodoc</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
** XML Documentation Files and Formats
|
||||
|
||||
|
||||
|
||||
*** Monodoc XML
|
||||
This XML is Mono's documentation format. Documentation and a DTD/Schema
|
||||
for Monodoc XML is located in cvs and can be found <a href="http://go-mono.org/monodoc.dtd">here</a>.
|
||||
|
||||
This XML could be generated by MonoDoc or the ASP.NET client.
|
||||
|
||||
More about the XML format <a href="http://go-mono.org/monodoc-xml.html">here</a>.
|
||||
This XML is similar to the XML documentation described in the
|
||||
C# standard, with added tags for internationalization and a
|
||||
slightly different structure. Documentation and a DTD/Schema
|
||||
for Monodoc XML is forthcoming.
|
||||
|
||||
Monodoc XML does not contain any definitive type information,
|
||||
and is only useful in conjunction with the Type definition for
|
||||
whatever is being documented.
|
||||
|
||||
This XML could be generated by hand, by monostub, or by monodoc.
|
||||
|
||||
*** Assembly XML
|
||||
This XML is generated by combining runtime type information for
|
||||
an Assembly with a collection of Monodoc XML files. The resultant
|
||||
XML (in the best of cases) contains both complete type and
|
||||
documentary information for each type in the assembly.
|
||||
|
||||
This XML contains enough information to be transformed into
|
||||
user-accessible documentation. It is likely that scripts
|
||||
will be created to generate reference docs as HTML and other
|
||||
formats.
|
||||
|
||||
Documentation and a DTD/Schema for Assembly XML is forthcoming.
|
||||
|
||||
** Documentation Tools
|
||||
|
||||
*** <a name="monodoc">MonoDoc</a>
|
||||
A graphical documentation editor and viewer. Currently, MonoDoc
|
||||
consists of a Qt# application and is in heavy development.
|
||||
|
||||
*** <a name="mkmaster">MkMaster</a>
|
||||
This tool creates the Master.xml file that MonoDoc uses as a reference
|
||||
for documentation generation. This is a reflection engine that is used
|
||||
to gather metadata from assemblies and create an xml representation.
|
||||
|
||||
*** <a name="aspnet">ASP.NET</a>
|
||||
This tool is planned.
|
||||
|
||||
*** <a name="xsltool">An XSL converter</a>
|
||||
This tool is planned. If someone wants to step forward and adopt this
|
||||
project, it would be very helpful ;)
|
||||
|
||||
*** <a name="docstub">docstub</a>
|
||||
Given a type name and an assembly, generates stub Monodoc XML
|
||||
documentation for the type. Optionally, docstub can attempt to
|
||||
populate initial documentation from an XML file in the format
|
||||
published along with the ECMA standard.
|
||||
|
||||
*** <a name="docverify">docverify</a>
|
||||
Given a Monodoc XML file and an assembly, verifies that the
|
||||
documentation matches the compiled type. Checks signatures,
|
||||
parameters, et cetera.
|
||||
|
||||
*** <a name="docconv">docconv</a>
|
||||
Converts from Monodoc XML to the standard C# compiler-emitted
|
||||
XML format and vice versa.
|
||||
|
||||
*** <a name="docgen">docgen</a>
|
||||
Given an assembly and a collection of Monodoc XML files, creates
|
||||
an Assembly XML file containing all documentation and type information
|
||||
available. This output is suitable for transforming into user
|
||||
documentation.
|
||||
|
||||
*** <a name="monodoc">monodoc</a>
|
||||
A GUI tool for documentation and translation, this encapsulates
|
||||
the capabilities of docstub, docverify, docconv, and docgen in
|
||||
a friendly user interface. In addition, monodoc provides features
|
||||
to ease translation, such as side-by-side editing and coverage
|
||||
statistics.
|
||||
|
||||
** Status and Roadmap
|
||||
|
||||
*** 16, September 2002
|
||||
*** 2 January 2002
|
||||
|
||||
A preliminary version of MonoDoc is in Mono's cvs. It is under heavy development.
|
||||
Once this is complete we will start documenting the API!
|
||||
As I write the initial version of this document, very little has been
|
||||
implemented. Currently, there is a:
|
||||
|
||||
<ul>
|
||||
<li>Preliminary version of the Monodoc XML format</li>
|
||||
<li>Preliminary version of the docstub utility</li>
|
||||
</ul>
|
||||
|
||||
Here's hoping for frequent, productive updates.
|
||||
|
||||
** Get Involved
|
||||
|
||||
Help us develop Mono's documentation tools! Subscribe to
|
||||
Help us define Mono's documentation structure! Subscribe to
|
||||
<a href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list</a>
|
||||
and wade right in.
|
||||
+1
-1
@@ -9,5 +9,5 @@
|
||||
href="http://primates.ximian.com/~miguel">http://primates.ximian.com/~miguel"</a>
|
||||
|
||||
You can also <a
|
||||
href="http://www.ximian.com/about_us/contact/">reach Ximian.</a>
|
||||
href="http://www.ximian.com/about/contact.php3">reach Ximian.</a>
|
||||
|
||||
+11
-43
@@ -1,50 +1,18 @@
|
||||
* Contributing to the Mono project
|
||||
|
||||
Mono has not been completed yet. It is a project under
|
||||
active development and with a vibrant community. If you are
|
||||
looking at ways of helping the project, you have come to the
|
||||
right web page.
|
||||
There are many ways in which you can help in the Mono project:
|
||||
|
||||
There are three different philosophical approaches to helping
|
||||
the Mono project, the selfish way, the altruistic or the
|
||||
educational way.
|
||||
<ul>
|
||||
* <b>Programmers:</b> You can work on a free
|
||||
implementation of the <a
|
||||
href="class-library.html">class libraries</a>, the
|
||||
<a href="runtime.html">runtime engine</a>, <a
|
||||
href="tools.html">the tools</a>, the <a
|
||||
href="testing.html">testing framework</a>
|
||||
|
||||
The <b>selfish</b> way is packed with adventure. You start by
|
||||
building your own software, and start using the compiler and
|
||||
tools that come with Mono. Eventually you will run into
|
||||
missing features, or a bug in the software. Since we ship all
|
||||
the source code for Mono, you can start tracking down the
|
||||
problem. Depending on how much time you have to devote to the
|
||||
problem you could: <a href="http://bugzilla.ximian.com">File a
|
||||
bug report</a>; track down the problem and provide a better
|
||||
<a href="http://bugzilla.ximian.com">bug report</a>; fix the
|
||||
bug and provide a patch (you can <a
|
||||
href="mailto:[email protected]">post it</a> to the <a
|
||||
href="http://lists.ximian.com/mailman/listinfo/mono-list">mono
|
||||
mailing list</a>; or discuss the solution on the mailing
|
||||
list. Ideally you will also write a <a
|
||||
href="testing.html">regression test</a> so the bug does not
|
||||
get re-introduced in the future.
|
||||
|
||||
The <b>altruistic</b> is probably the easiest because you get
|
||||
to pick a piece of Mono that you might want to work on. You
|
||||
can pick an unfinished <a href="class-library.html">class</a> (from our <a
|
||||
href="class-status.html">class status page</a>); help with the
|
||||
<a href="documentation.html">documentation effort</a> (<a
|
||||
href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mailing
|
||||
list for the documentation effort</a>); fix existing <a
|
||||
href=http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&product=Mono%2FRuntime&component=CORLIB&component=misc&component=System&component=System.Web&component=System.XML&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">runtime
|
||||
bugs</a>; <a
|
||||
href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FMCS&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">compiler
|
||||
bugs</a>; help with the <a href="tools.html">tools</a> or
|
||||
writing <a href="testing.html">tests</a> that help make Mono
|
||||
more robust or help with the <a
|
||||
href="http://www.go-mono.com/winforms.html">Winforms
|
||||
effort</a>.
|
||||
|
||||
The <b>educational</b> way is an interesting one, because you
|
||||
pick a technology you are interested in, and work on that
|
||||
technology to learn the technology.
|
||||
* <b>Writers:</b> You can help us bywriting <a
|
||||
href="documentation.html">documentation</a>.
|
||||
</ul>
|
||||
|
||||
Those are just broad things that need to be worked on, but
|
||||
something that would help tremendously would be to help with
|
||||
|
||||
-280
@@ -1,280 +0,0 @@
|
||||
* Cryptography
|
||||
|
||||
In the .NET framework cryptography can be found under a number of
|
||||
namespaces in several assemblies.
|
||||
|
||||
** Assembly: corlib
|
||||
|
||||
*** Namespace: <b>System.Security.Cryptography</b>
|
||||
|
||||
Thanks to the work of many people this namespace is almost complete.
|
||||
|
||||
**** Status
|
||||
<ul>
|
||||
* Every classes are present.
|
||||
|
||||
* Most classes have their unit tests.
|
||||
</ul>
|
||||
|
||||
**** TODO
|
||||
<ul>
|
||||
* Support for adding/modifying algorithms and OID using the
|
||||
<code>machine.config</code> configuration file (in progress).
|
||||
|
||||
* RNGCryptoServiceProvider is currently only working on Linux.
|
||||
The current implementation reside in Mono's runtime and use
|
||||
the <code>/dev/[u]random</code> device (which do not exists
|
||||
under Windows). A Windows alternative is in the work...
|
||||
|
||||
* Keypair persistance for RSA and DSA. This persistance must
|
||||
somehow be linked with X509 certificate stores (in planning).
|
||||
|
||||
* <code>PasswordDeriveBytes</code> is currently limited to
|
||||
generating keys with the maximum length equals to the hash
|
||||
output (as specified in PKCS #5). However the framework
|
||||
implementation allows for longer keys to be generated. Also
|
||||
the algorithms used by CryptDeriveKey (used by Windows
|
||||
applications) are unknown.
|
||||
|
||||
* Analyse the current coverage of the unit tests on the
|
||||
cryptographic classes and complete the unit tests.
|
||||
|
||||
* Optimizations (performance) on most class are possible. Some
|
||||
have been done using the Community Edition of BoundChecker
|
||||
(a free VisualStudio addon) - recommanded!
|
||||
</ul>
|
||||
|
||||
**** Notes
|
||||
<ul>
|
||||
* All cryptographic algorithms are entirely managed, including
|
||||
classes named <code>*CryptoServiceProvider</code>, with the
|
||||
exception of <code>RNGCryptoServiceProvider</code> (which
|
||||
resides in the runtime).
|
||||
</ul>
|
||||
|
||||
|
||||
*** Namespace: <b>System.Security.Cryptography.X509Certificates</b>
|
||||
|
||||
**** Status
|
||||
<ul>
|
||||
* X.509 certificates are parsed using 100% managed code.
|
||||
|
||||
* Software Publisher Certificates (SPC) used by Authenticode
|
||||
(tm) to sign assemblies are supported (extraction from PE
|
||||
files) but <b>not</b> validated.
|
||||
|
||||
* Tests are generated from a set of existing certificates
|
||||
(about a dozen) each having different properties. Another
|
||||
set of certificates (more than 300) are used for a more
|
||||
complete test (but isn't part of the test suite for size
|
||||
and time consideration).
|
||||
</ul>
|
||||
|
||||
**** TODO
|
||||
<ul>
|
||||
* Authenticode(tm) support is incomplete. We can extract the
|
||||
certificates from PE files but cannot validate the signature
|
||||
nor the certificate chain (and we're still missing some trust
|
||||
anchors).
|
||||
|
||||
* Integration with CryptoAPI isn't possible as long as the
|
||||
<code>X509Certificate(IntPtr)</code> constructor isn't
|
||||
completed.
|
||||
</ul>
|
||||
|
||||
**** Notes
|
||||
<ul>
|
||||
* <b>There's no validation of the certificates</b> done in this
|
||||
class (this isn't a restriction of Mono!). This means that
|
||||
certificate signatures and validity dates are never checked!
|
||||
|
||||
* The newer X509Certificate class included in Microsoft's Web
|
||||
Service Enhancement (WSE) is a little better (as it includes
|
||||
validation).
|
||||
|
||||
* Microsoft implementation of <code>X509Certificate</code> is
|
||||
done by using CryptoAPI. From the exceptions thrown
|
||||
Authenticode(tm) support is done via COM.
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
** Assembly: System.Security
|
||||
|
||||
*** Namespace: <b>System.Security.Cryptography.Xml</b>
|
||||
|
||||
This namespace implements the XML Digital Signature specification from
|
||||
W3C.
|
||||
|
||||
**** Status
|
||||
<ul>
|
||||
* All classes are present but some are only stubbed.
|
||||
|
||||
* Most classes have their unit tests.
|
||||
|
||||
* This assembly is present in CVS but isn't (yet) part of the
|
||||
build.
|
||||
</ul>
|
||||
|
||||
**** TODO
|
||||
<ul>
|
||||
* All the transforms needs to be done. But this requires far
|
||||
more XML knowledge than crypto.
|
||||
|
||||
* Fix the tests (see notes) then include the assembly into the
|
||||
build process.
|
||||
</ul>
|
||||
|
||||
**** Notes
|
||||
<ul>
|
||||
* Many current tests fails because the XML generated by Mono
|
||||
isn't exactly the same as the one produced by the Microsoft
|
||||
implementation (but 100% equivalent). We'll either have to
|
||||
change the XML code or the tests.
|
||||
|
||||
* Testing is difficult because the classes use CryptoConfig
|
||||
to create the required cryptographic objects. When running
|
||||
the unit tests the CryptoConfig executing is the one in
|
||||
mscorlib (not Mono's one) so it doesn't return the expected
|
||||
objects. This results in InvalidCastException.
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
** Assembly: Mono.Security.Win32
|
||||
|
||||
This assembly is to provide maximum compatibility with CryptoAPI to
|
||||
application running with Mono's runtime on the Windows operating
|
||||
system.
|
||||
|
||||
<b>This assembly should NEVER be used directly by any application</b>.
|
||||
The classes should only be used by modifying the <code>machine.config
|
||||
</code> configuration file (and then only if this increased
|
||||
compatibility is required by an application).
|
||||
|
||||
*** Namespace: Mono.Security.Cryptography
|
||||
|
||||
**** Status
|
||||
<ul>
|
||||
* A RNGCryptoServiceProvider built on top of CryptoAPI.
|
||||
|
||||
* Not (yet) commited in CVS.
|
||||
</ul>
|
||||
|
||||
**** TODO
|
||||
<ul>
|
||||
* Unmanaged versions of hash algorithms (SHA1 and MD5).
|
||||
* Unmanaged versions of symmetric encryption algorithms
|
||||
(like DES, TripleDES, RC2 and others present in CryptoAPI).
|
||||
* Unmanaged versions of asymmetric algorithms (like DSA and
|
||||
RSA) which persist their keypair into the specified CSP.
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
** Assembly: Microsoft.Web.Services
|
||||
|
||||
Microsoft Web Service Enhancement (WSE), known as Web Service
|
||||
Development Kit (WSDK) in it's beta days, is an add-on the .NET
|
||||
framework that implements WS-Security (and other WS-* specifications).
|
||||
It also includes improved support for XML Signature (replacing and/or
|
||||
extending <code>System.Security.Cryptography.Xml</code>) and X509
|
||||
certificates.
|
||||
|
||||
Note: WSE is distributed as an add-on because the WS-Security
|
||||
specification isn't yet completed by OASIS.
|
||||
|
||||
<b>There are some licensing issues to consider before stating to
|
||||
implement WS-Security. All contributors must sign an agreement with
|
||||
Microsoft before commiting anything related to WS-Security into CVS.
|
||||
</b>
|
||||
|
||||
*** Namespace: Microsoft.Web.Services.Security
|
||||
|
||||
**** Status
|
||||
<ul>
|
||||
* Nothing (yet) commited in CVS.
|
||||
</ul>
|
||||
|
||||
*** Namespace: Microsoft.Web.Services.Security.X509
|
||||
|
||||
**** Status
|
||||
<ul>
|
||||
* Nothing (yet) commited in CVS.
|
||||
</ul>
|
||||
|
||||
**** TODO
|
||||
<ul>
|
||||
* We need to define certificate stores (for both users and
|
||||
machines). These sames stores must be linked with asymmetric
|
||||
keypairs. This could also be used to store the SPC roots.
|
||||
</ul>
|
||||
|
||||
<hr>
|
||||
** Other stuff
|
||||
|
||||
There are other, not so visible, uses of cryptography both inside and
|
||||
outside the class library - such as:
|
||||
|
||||
<ul>
|
||||
* SSL/TLS for secure communication (investigation under way).
|
||||
|
||||
* Assembly signing (and verification) using StrongNames.
|
||||
|
||||
* Assembly signing (and verification) using Authenticode(tm).
|
||||
</ul>
|
||||
|
||||
|
||||
*** Tools
|
||||
|
||||
There are many tools in the .NET framework that indirectly interacts
|
||||
with some cryptographic classes. Mono will eventually need these tools.
|
||||
|
||||
**** Status
|
||||
|
||||
The following tools are complete:
|
||||
<ul>
|
||||
* <code>secutil</code> is a tool to extract certificates and
|
||||
strongnames from assemblies in a format that can be easily
|
||||
re-used in source code (C# or VB.NET syntax).
|
||||
|
||||
* <code>cert2spc</code> is a tool to transform multiple X.509
|
||||
certificates (a chain) into a Software Publisher Certificate
|
||||
(SPC) - which is a long name for a simple PKCS#7 file.
|
||||
</ul>
|
||||
|
||||
**** TODO
|
||||
The following tools are still missing or incomplete:
|
||||
<ul>
|
||||
* <code>monosn</code> is a clone of the <code>sn</code> to manage
|
||||
strongnames. This tools is part of the runtime (not the class
|
||||
library) and as such is written in C.
|
||||
|
||||
* <code>signcode</code> and <code>chktrust</code> for signing
|
||||
and validating Authenticode(tm) signatures on assemblies.
|
||||
|
||||
* <code>makecert</code> to create X.509 test certificates that
|
||||
can be used (once transformed in SPC) to sign assemblies.
|
||||
|
||||
* Other tools like a, GUI-based, certificate manager...
|
||||
</ul>
|
||||
|
||||
Note that many of the tools requires the class library and/or the
|
||||
runtime to be ready for them.
|
||||
|
||||
<hr>
|
||||
** How to Help
|
||||
|
||||
Complete any of the TODO (and feel good about it ;-).
|
||||
|
||||
Add missing unit tests to classes or methods.
|
||||
|
||||
Write some documentation on the cryptographic classes for MonkeyGuide
|
||||
(as I'm not a good writer - but you must be a good reader if you got to
|
||||
this part).
|
||||
|
||||
Optimization can also be done on algorithms as crypto is never fast
|
||||
enough. Just be sure to test every optimization (using the unit test)
|
||||
carefully - it's so fast to break an algorithm ;-).
|
||||
|
||||
Contact Sebastien Pouliot (<a href="mailto:[email protected]">home</a>
|
||||
, <a href="mailto:[email protected]">work</a>) if you need additional
|
||||
informations about the status of the cryptographic classes.
|
||||
|
||||
+264
-433
@@ -6,311 +6,72 @@
|
||||
href="runtime.html">Runtime</a> description for more details
|
||||
on this part of the project.
|
||||
|
||||
The software is also available on the `Mono' channel in <a href="http://www.ximian.com/products/redcarpet/">Red Carpet</a>.
|
||||
The code for the C# compiler as well as the language error
|
||||
test suite and the class library are in the `mcs' package, we
|
||||
will move this later into `mono' itself.
|
||||
|
||||
Some useful links: <a
|
||||
href="http://www.go-mono.org/mono-beginning.html">Resources/Beginning
|
||||
section</a>, the <a
|
||||
href="http://www.go-mono.org/faq.html">FAQ</a>.
|
||||
In order to make mcs and the class libraries you will need a computer
|
||||
running Windows with the <strong>GNU make tools</strong> from the
|
||||
<strong>Cygwin</strong> environment, <strong>Microsoft's .NET Framework
|
||||
SDK</strong>, <strong>GLIB 2.0</strong> and
|
||||
<strong>pkg-config</strong>.
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr bgcolor="#DDDDDD">
|
||||
<td>
|
||||
<b>Release 0.17</b><br>
|
||||
<a href="archive/mono-0.17">Release notes</a><br>
|
||||
Dec 9th, 2002.
|
||||
</td>
|
||||
<td>
|
||||
<table cellspacing="1" cellpadding="3">
|
||||
<tr bgcolor="#BBBBBB">
|
||||
<td>
|
||||
<b>Source Code</b>
|
||||
</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li><a href="archive/mcs-0.17.tar.gz">Mono Class Libraries and C# Compiler.</a>
|
||||
<li><a href="archive/mono-0.17.tar.gz">Mono Runtime</a>
|
||||
<li><a href="archive/gc6.1.tar.gz">Boehm GC 6.1</a>
|
||||
<li><a href="archive/xsp-0.2.tar.gz">XSP web server</a> <b><font color="#dd0000">New!</font></b>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#BBBBBB">
|
||||
<td>
|
||||
<b>Source RPMs</b><br>
|
||||
(No RPMS for XSP).
|
||||
</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li><a href="archive/libgc-6.1-1.src.rpm">libgc-6.1-1.src.rpm</a>
|
||||
<li><a href="archive/mono-0.17-2.src.rpm">mono-0.17-2.src.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#999999">
|
||||
<b>Red Hat 7.3/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/redhat-73-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-73-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-73-i386/mono-0.17-2.i386.rpm">mono-0.17-2.i386.rpm</a>
|
||||
<li><a href="archive/redhat-73-i386/mono-devel-0.17-2.i386.rpm">mono-devel-0.17-2.i386.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
<td bgcolor="#999999">
|
||||
<b>Red Hat 7.2/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/redhat-72-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-72-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-72-i386/mono-0.17-2.i386.rpm">mono-0.17-2.i386.rpm</a>
|
||||
<li><a href="archive/redhat-72-i386/mono-devel-0.17-2.i386.rpm">mono-devel-0.17-2.i386.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#999999">
|
||||
<b>Red Hat 7.1/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/redhat-71-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-71-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-71-i386/mono-0.17-2.i386.rpm">mono-0.17-2.i386.rpm</a>
|
||||
<li><a href="archive/redhat-71-i386/mono-devel-0.17-2.i386.rpm">mono-devel-0.17-2.i386.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
<td bgcolor="#999999">
|
||||
<b>Mandrake 8.2/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/mandrake-82-i386/libgc-6.1-1.i586.rpm">libgc-6.1-1.i586.rpm</a>
|
||||
<li><a href="archive/mandrake-82-i386/libgc-devel-6.1-1.i586.rpm">libgc-devel-6.1-1.i586.rpm</a>
|
||||
<li><a href="archive/mandrake-82-i386/mono-0.17-2.i586.rpm">mono-0.17-2.i586.rpm</a>
|
||||
<li><a href="archive/mandrake-82-i386/mono-devel-0.17-2.i586.rpm">mono-devel-0.17-2.i586.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#999999">
|
||||
<b>SuSE 8.0/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/suse-80-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
|
||||
<li><a href="archive/suse-80-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
|
||||
<li><a href="archive/suse-80-i386/mono-0.17-1.i386.rpm">mono-0.17-1.i386.rpm</a>
|
||||
<li><a href="archive/suse-80-i386/mono-devel-0.17-1.i386.rpm">mono-devel-0.17-1.i386.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
<td bgcolor="#999999">
|
||||
<b>Red Hat 8.0/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/redhat-80-i386/libgc-6.1-1.i386.rpm">libgc-6.1-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-80-i386/libgc-devel-6.1-1.i386.rpm">libgc-devel-6.1-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-80-i386/mono-0.17-2.i386.rpm">mono-0.17-2.i386.rpm</a>
|
||||
<li><a href="archive/redhat-80-i386/mono-devel-0.17-2.i386.rpm">mono-devel-0.17-2.i386.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#999999">
|
||||
<b>Windows Setup Wizard (NT/2000/XP)</b>
|
||||
<ul>
|
||||
<li><a href="archive/mono-0.17-stable.exe">Mono-Setup</a>
|
||||
</ul>
|
||||
</td>
|
||||
<td bgcolor="#999999">
|
||||
<b>Debian packages</b>
|
||||
<ul>
|
||||
<li><a href="http://www.atoker.com/mono/">Alp's web site</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr bgcolor="#CCCCC">
|
||||
<td>
|
||||
<b>Regression Tests</b><br>
|
||||
</td>
|
||||
<td>
|
||||
You can get binaries for the Mono Regression Test
|
||||
Suite <a href="archive/mono-tests.tar.gz">here</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
When installing Cygwin, don't forget to include
|
||||
<tt>mingw-runtime</tt>. If you omit this, you will encounter
|
||||
configure problems regarding not being able to generate
|
||||
executables.
|
||||
|
||||
<br>
|
||||
* Older Releases:
|
||||
<a name="sources">
|
||||
*** Sources
|
||||
|
||||
We provide binaries for older releases until we have packages for the new release.
|
||||
Stay up to date on the Mono team's development using the
|
||||
<a href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">
|
||||
mono-cvs-list</a> mailing list. The CVS source code can also
|
||||
be browsed <a href="http://cvs.hispalinux.es/cgi-bin/cvsweb/?cvsroot=Mono#dirlist">here</a>
|
||||
|
||||
<a name="jun-7">
|
||||
<b>Mono 0.13</b>
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr bgcolor="#DDDDDD">
|
||||
<td>
|
||||
<b>Release 0.16</b><br>
|
||||
<a href="archive/mono-0.16">Release notes</a><br>
|
||||
Oct 1st, 2002.
|
||||
</td>
|
||||
<td>
|
||||
<table cellspacing="1" cellpadding="3">
|
||||
<tr bgcolor="#BBBBBB">
|
||||
<td>
|
||||
<b>Source Code</b>
|
||||
</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li><a href="archive/mcs-0.16.tar.gz">Mono Class Libraries and C# Compiler.</a>
|
||||
<li><a href="archive/mono-0.16.tar.gz">Mono Runtime</a>
|
||||
<li><a href="archive/gc6.1.tar.gz">Boehm GC 6.1</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#BBBBBB">
|
||||
<td>
|
||||
<b>Source RPMs</b>
|
||||
</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li><a href="archive/libgc-6.1-1.src.rpm">libgc-6.1-1.src.rpm</a>
|
||||
<li><a href="archive/mono-0.16-1.src.rpm">mono-0.16-1.src.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#999999">
|
||||
<b>Linux s390</b>
|
||||
<ul>
|
||||
<li><a href="archive/s390/glib2-2.0.6-13.s390.rpm">glib2-2.0.6-13.s390.rpm</a>
|
||||
<li><a href="archive/s390/glib2-devel-2.0.6-13.s390.rpm">glib2-devel-2.0.6-13.s390.rpm</a>
|
||||
<li><a href="archive/s390/libgc-6.1alpha5-1.s390.rpm">libgc-6.1alpha5-1.s390.rpm</a>
|
||||
<li><a href="archive/s390/libgc-devel-6.1alpha5-1.s390.rpm">libgc-devel-6.1alpha5-1.s390.rpm</a>
|
||||
<li><a href="archive/s390/mono-0.16-1.s390.rpm">mono-0.16-1.s390.rpm</a>
|
||||
<li><a href="archive/s390/mono-devel-0.16-1.s390.rpm">mono-devel-0.16-1.s390.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr bgcolor="#CCCCC">
|
||||
<td>
|
||||
<b>Regression Tests</b><br>
|
||||
</td>
|
||||
<td>
|
||||
You can get binaries for the Mono Regression Test
|
||||
Suite <a href="archive/mono-tests.tar.gz">here</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr bgcolor="#DDDDDD">
|
||||
<td>
|
||||
<b>Release 0.15</b><br>
|
||||
<a href="archive/mono-0.15">Release notes</a><br>
|
||||
Aug 23rd, 2002.
|
||||
</td>
|
||||
<td>
|
||||
<table cellspacing="1" cellpadding="3">
|
||||
<tr bgcolor="#BBBBBB">
|
||||
<td>
|
||||
<b>Source Code</b>
|
||||
</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li><a href="archive/mcs-0.15.tar.gz">Mono Class Libraries and C# Compiler.</a>
|
||||
<li><a href="archive/mono-0.15.tar.gz">Mono Runtime</a>
|
||||
<li><a href="archive/gc6.1alpha5.tar.gz">Boehm GC 6.1alpha5</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#BBBBBB">
|
||||
<td>
|
||||
<b>Source RPMs</b>
|
||||
</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li><a href="archive/libgc-6.1alpha5-1.src.rpm">libgc-6.1alpha5-1.src.rpm</a>
|
||||
<li><a href="archive/mono-0.15-1.src.rpm">mono-0.15-1.src.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr bgcolor="#999999">
|
||||
<td>
|
||||
<b>Windows (win95 friendly)</b>
|
||||
<ul>
|
||||
<li><a href="archive/mono-w32-Aug_28_2002.zip">Mono-w32</a>
|
||||
</ul>
|
||||
</td>
|
||||
<td bgcolor="#999999">
|
||||
<b>Red Hat null-8.0/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/redhat-null-i386/libgc-6.1alpha5-1.i386.rpm">libgc-6.1alpha5-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-null-i386/libgc-devel-6.1alpha5-1.i386.rpm">libgc-devel-6.1alpha5-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-null-i386/mono-0.15-1.i386.rpm">mono-0.15-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-null-i386/mono-devel-0.15-1.i386.rpm">mono-devel-0.15-1.i386.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
** Binaries for other platforms.
|
||||
|
||||
Already daily volunteer's made binaries:
|
||||
New packaged versions of the Mono C# compiler and Mono runtime
|
||||
are now available. The latest version is 0.13.
|
||||
|
||||
<ul>
|
||||
* <a href="http://www.debianplanet.org/mono/">DebianPlanet</a>
|
||||
* <a href="archive/mono-0.13">Mono 0.13 release notes</a>
|
||||
|
||||
* <a href="archive/mcs-0.13.tar.gz">mcs-0.13.tar.gz</a>
|
||||
Mono C# compiler with class library source code.
|
||||
|
||||
* <a href="archive/mono-0.13.tar.gz">mono-0.13.tar.gz</a>
|
||||
Mono runtime.
|
||||
</ul>
|
||||
|
||||
* Snapshots
|
||||
|
||||
Volunteers package up daily the sources:
|
||||
|
||||
<ul>
|
||||
* <a href="http://www.atoker.com/mono">Debian Linux</a>
|
||||
* <a href="http://mono.baselabs.org/index.php/software">Red Hat Linux</a>
|
||||
* <a href="http://www.superin.formativ.net/mono/mono.htm">Windows</a> (works without cygwin!)
|
||||
</ul>
|
||||
|
||||
* Snapshots
|
||||
|
||||
<a name="snapshots">
|
||||
For up to date sources, it is recommended that you use the Mono
|
||||
source code from either the
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshots</a> or
|
||||
the <a href="anoncvs.html">Anonymous CVS</a>. The nightly
|
||||
snapshots are done every night at 10pm EST (Boston Time).
|
||||
|
||||
<a href="http://www.go-mono.com/snapshots">Nightly snapshots</a> of
|
||||
the CVS repository are made every day at 10pm EST (Boston
|
||||
Time). These are not guaranteed to build, they are just a
|
||||
snapshot of the tree.
|
||||
The nightly snapshots are not guaranteed to build, but most of the
|
||||
time they should. They should give you a window to see what we are
|
||||
up to.
|
||||
|
||||
The <a href="anoncvs.html">anoncvs</a> mirrors provided by
|
||||
Hispalinux are updated every six hours.
|
||||
You can download the GNU make tools and the Cygwin environment from
|
||||
<a href="http://www.cygwin.com">www.cygwin.com</a>.
|
||||
|
||||
* Compiling the code
|
||||
|
||||
There are a number of ways of compiling Mono
|
||||
|
||||
<ul>
|
||||
<li>From the <a href="#scripts">scripts</A>
|
||||
|
||||
<LI><a href="#install">Manually</a> for the first time.
|
||||
|
||||
<li>Manually, <a href="#upgrade">while upgrading</a> to CVS
|
||||
</ul>
|
||||
|
||||
(which is an easy way to get the latest CVS information)
|
||||
|
||||
<a name="scripts">
|
||||
* Compiling with scripts
|
||||
You can download Microsoft's .NET Framework SDK from
|
||||
<a href="http://msdn.microsoft.com/downloads">
|
||||
msdn.microsoft.com/downloads</a>.
|
||||
|
||||
There are scripts to help build mono for both Unix and Windows. Get
|
||||
<a href="mono-build.sh">mono-build.sh</a> for Unix, or <a
|
||||
@@ -331,118 +92,25 @@
|
||||
The script requires wget on either platform, and building the
|
||||
software requires make, gcc, automake, autoconf, and libtool.
|
||||
You should install these packages from your distribution or
|
||||
with the cygwin installer. You should also take care of setting
|
||||
the right environment variables as the PKG_CONFIG_FLAGS, etc.
|
||||
with the cygwin installer.
|
||||
|
||||
The script will download required packages from
|
||||
www.go-mono.com and do a cvs checkout of mono in the current
|
||||
directory. <b>IMPORTANT!:</b> The cvs server chosen defaults to
|
||||
anonymous cvs;
|
||||
directory. The cvs server chosen defaults to anonymous cvs;
|
||||
set your CVSROOT environment variable before running the script to
|
||||
select a particular cvs server.
|
||||
|
||||
** Mono Regression Test Suite
|
||||
|
||||
You can get binaries for the Mono Regression Test Suite <a
|
||||
href="archive/mono-tests.tar.gz">here</a>
|
||||
|
||||
<a name="install">
|
||||
** Building the software manually
|
||||
|
||||
You will need to obtain the Mono dependencies first: <a
|
||||
href="http://www.gtk.org">glib 2.x</a> and
|
||||
<a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a>.
|
||||
|
||||
*** Building on Linux
|
||||
*** Download the required software.
|
||||
|
||||
<ul>
|
||||
Unpack the Mono runtime distribution:
|
||||
<pre>
|
||||
tar xzvf mono-X.XX.tar.gz
|
||||
cd mono-X.XX
|
||||
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
Then configure, compile and install:
|
||||
|
||||
<pre>
|
||||
|
||||
./configure --prefix=/usr/local
|
||||
make
|
||||
make install</pre>
|
||||
|
||||
This will give you a runtime, C# compiler and runtime
|
||||
libraries.
|
||||
|
||||
If you want to recompile the runtime and the compiler,
|
||||
follow these steps, first unpack the MCS package:
|
||||
|
||||
<pre>
|
||||
tar xzvf mcs-X.XX.tar.gz
|
||||
|
||||
cd mcs-X.XX
|
||||
</pre>
|
||||
|
||||
Then use the following command to compile and install:
|
||||
|
||||
<pre>
|
||||
|
||||
make -f makefile.gnu install prefix=/usr/local
|
||||
</pre>
|
||||
|
||||
You can change /usr/local to something else if you want.
|
||||
</ul>
|
||||
|
||||
|
||||
*** On Windows, to install and work on the compiler and the class libraries:
|
||||
|
||||
**** Install Cygwin and the GNU build tools, Microsoft's .NET Framework SDK and the precompiled GLIB 2.0 and pkg-config libraries.
|
||||
|
||||
<ul>
|
||||
|
||||
* Install <a href="http://www.cygwin.com">Cygwin</a>.
|
||||
|
||||
* Install <a href="http://msdn.microsoft.com/downloads">
|
||||
Microsoft .NET Framework SDK</a>.
|
||||
|
||||
* Change to the /usr/local directory
|
||||
of your Cygwin installation.<br>
|
||||
Unzip the precompiled packages listed above.
|
||||
|
||||
</ul>
|
||||
<ul>
|
||||
|
||||
* If you downloaded the Mono
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshot
|
||||
</a>, untar the snapshot.
|
||||
|
||||
* Change directories to "mcs".
|
||||
|
||||
* Compile:
|
||||
|
||||
<pre>
|
||||
make
|
||||
</pre>
|
||||
</ul>
|
||||
|
||||
*** On Windows, to compile the mono runtime:
|
||||
|
||||
<ul>
|
||||
|
||||
* If you downloaded the Mono
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshot
|
||||
</a>, untar the snapshot.
|
||||
|
||||
* Change directories to "mono".
|
||||
|
||||
* Configure, compile and install:
|
||||
<pre>
|
||||
./configure --prefix=c:/mono
|
||||
make
|
||||
make install
|
||||
</pre>
|
||||
|
||||
</ul>
|
||||
|
||||
* Software resources and notes
|
||||
|
||||
The required and additional software can be downloaded here:
|
||||
|
||||
* Microsoft's .NET Framework SDK from
|
||||
<a href="http://msdn.microsoft.com/downloads">
|
||||
@@ -453,15 +121,14 @@
|
||||
Some people observed problems with autoconf 2.52. Installing
|
||||
autoconf 2.13 helped in those cases.
|
||||
|
||||
* Precompiled GLIB 2.0 and pkg-config packages (and
|
||||
* Precompiled GLIB 1.3 and pkg-config packages (and
|
||||
their dependencies) by the <a href="http://www.gimp.org/~tml/gimp/win32//index.html">GIMP for Windows</a> project from
|
||||
<a href="http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip">http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip</a><br>
|
||||
<a href="http://www.go-mono.com/archive/glib-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-2.0.4-20020703.zip</a> <br>
|
||||
<a href="http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip</a> <br>
|
||||
<a href="http://www.go-mono.com/archive/libiconv-1.7.zip">http://www.go-mono.com/archive/libiconv-1.7.zip</a> <br>
|
||||
<a href="http://www.go-mono.com/archive/libiconv-dev-1.7.zip">http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip</a> <br>
|
||||
<a href="http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip">http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip</a><br>
|
||||
|
||||
<a href="http://www.go-mono.com/archive/pkgconfig-0.80-tml-20020101.zip">http://www.go-mono.com/archive/pkgconfig-0.80-tml-20020101.zip</a>
|
||||
<a href="http://www.go-mono.com/archive/glib-1.3.12-20020101.zip">http://www.go-mono.com/archive/glib-1.3.12-20020101.zip</a>
|
||||
<a href="http://www.go-mono.com/archive/glib-dev-1.3.12-20020101.zip">http://www.go-mono.com/archive/glib-dev-1.3.12-20020101.zip</a>
|
||||
<a href="http://www.go-mono.com/archive/libiconv-1.7.zip">http://www.go-mono.com/archive/libiconv-1.7.zip</a>
|
||||
<a href="http://www.go-mono.com/archive/libiconv-dev-1.7.zip">http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip</a>
|
||||
<a href="http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip">http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip</a>
|
||||
|
||||
* Download the Mono source code from the
|
||||
<a href="#feb-11">packaged versions</a> or
|
||||
@@ -475,7 +142,88 @@
|
||||
</ul>
|
||||
|
||||
|
||||
*** Notes on compiling GLIB 2.0 and pkg-config from source:
|
||||
*** Install Cygwin and the GNU build tools, Microsoft's .NET Framework SDK and the precompiled GLIB 1.3 and pkg-config libraries.
|
||||
|
||||
<ul>
|
||||
|
||||
* Install <a href="http://www.cygwin.com">Cygwin</a>.
|
||||
|
||||
* Install <a href="http://msdn.microsoft.com/downloads">
|
||||
Microsoft .NET Framework SDK</a>.
|
||||
|
||||
* Change to the <strong>/usr/local</strong> directory
|
||||
of your Cygwin installation.<br>
|
||||
Unzip the precompiled packages listed above.
|
||||
|
||||
</ul>
|
||||
|
||||
*** On Windows, to install and work on the compiler and the class libraries:
|
||||
|
||||
<ul>
|
||||
|
||||
* If you downloaded the Mono
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshot
|
||||
</a>, untar the snapshot.
|
||||
|
||||
* Change directories to <strong>"mcs"</strong>.
|
||||
|
||||
* Compile:
|
||||
|
||||
<pre>
|
||||
<strong>make windows</strong>
|
||||
</pre>
|
||||
|
||||
</ul>
|
||||
|
||||
*** On Windows, to compile the mono runtime:
|
||||
|
||||
<ul>
|
||||
|
||||
* If you downloaded the Mono
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshot
|
||||
</a>, untar the snapshot.
|
||||
|
||||
* Change directories to <strong>"mono"</strong>.
|
||||
|
||||
* Configure, compile and install:
|
||||
|
||||
<pre><strong>
|
||||
./configure --prefix=c:/mono
|
||||
make
|
||||
make install
|
||||
</strong></pre>
|
||||
|
||||
</ul>
|
||||
|
||||
*** On Unix, to compile the mono runtime:
|
||||
|
||||
<ul>
|
||||
|
||||
* Install <a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a>.
|
||||
|
||||
* Install glib 1.3. You can download it
|
||||
from <a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">ftp.gtk.org</a>. Maybe you need
|
||||
to modify your ACLOCAL_FLAGS for pkg-config, for example if
|
||||
your install prefix is /usr/local:
|
||||
<pre>
|
||||
<strong>export ACLOCAL_FLAGS="-I /usr/local/share/aclocal"</strong>
|
||||
</pre>
|
||||
|
||||
* If you downloaded the Mono
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshots
|
||||
</a>, untar the snapshot.
|
||||
|
||||
* Change directories to <strong>"mono"</strong>.
|
||||
|
||||
* Configure, compile and install:
|
||||
<pre><strong>
|
||||
./configure
|
||||
make
|
||||
make install</strong>
|
||||
</pre>
|
||||
</ul>
|
||||
|
||||
*** Notes on compiling GLIB 1.3 and pkg-config from source:
|
||||
|
||||
|
||||
<ul>
|
||||
@@ -490,12 +238,12 @@
|
||||
<nobr><tt>extern char *strsignal (int sig);</tt></nobr> to
|
||||
<nobr><tt>extern const char *strsignal (int sig);</tt></nobr>.
|
||||
|
||||
<pre>
|
||||
<pre><strong>
|
||||
tar xzvf pkg-config-0.8.0.tar.gz
|
||||
cd pkg-config-0.8.0
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make install
|
||||
make install</strong>
|
||||
</pre>
|
||||
|
||||
* Download, compile and install <a href="ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.7.tar.gz">libiconv</a> from source.<br>
|
||||
@@ -506,45 +254,128 @@ make install
|
||||
|
||||
|
||||
* Download, compile and install the
|
||||
<a href="ftp://ftp.gtk.org/pub/gtk/v2.0/glib-2.0.6.tar.gz">
|
||||
glib 2.0</a> from source.
|
||||
<a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">
|
||||
glib 1.3</a> from source.
|
||||
|
||||
</ul>
|
||||
|
||||
<a name="upgrading">
|
||||
** Upgrading
|
||||
|
||||
To upgrade your Mono installation from CVS, it is very
|
||||
important that you update your Mono and MCS modules from CVS
|
||||
at the same time. Failure to do so might result in a
|
||||
problematic installation as the runtime and the class
|
||||
libraries will be out of sync.
|
||||
<a name="oldreleases">
|
||||
|
||||
Run the following commands to update your CVS tree (more
|
||||
details in <a href="ccvs.html">Cvs and Mono</a> and the <A
|
||||
href="anoncvs.html">AnonCVS and Mono</a> pages).
|
||||
*** Old releases.
|
||||
|
||||
<pre>
|
||||
(cd mono; cvs update -dP .)
|
||||
(cd mcs; cvs update -dP .)
|
||||
</pre>
|
||||
<ul>
|
||||
|
||||
Once you have updated your sources, remove any cached
|
||||
assemblies or old binaries from the Mono "runtime" directory,
|
||||
and then compile each component:
|
||||
<ul>
|
||||
<a name="apr-24">
|
||||
<b>Mono 0.11; April 24, 2002</b>
|
||||
* <a href="archive/mono-0.11">Mono 0.11 release notes</a>
|
||||
|
||||
<pre>
|
||||
(cd mono/runtime; rm *exe *dll)
|
||||
(cd mono; make)
|
||||
(cd mcs; make)
|
||||
</pre>
|
||||
* <a href="archive/mcs-0.11.tar.gz">mcs-0.11.tar.gz</a>
|
||||
Mono C# compiler
|
||||
* <a href="archive/mono-0.11.tar.gz">mono-0.11.tar.gz</a>
|
||||
Mono runtime
|
||||
</ul>
|
||||
|
||||
Now you can install the result:
|
||||
<ul>
|
||||
<a name="mar-27">
|
||||
<b>Mono 0.10; March 27, 2002</b>
|
||||
* <a href="archive/mono-0.10">Mono 0.10 release notes</a>
|
||||
* <a href="archive/mcs-0.10.tar.gz">mcs-0.10.tar.gz</a>
|
||||
Mono C# compiler
|
||||
* <a href="archive/mono-0.10.tar.gz">mono-0.10.tar.gz</a>
|
||||
Mono runtime
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<a name="feb-22">
|
||||
<b>Mono 0.9; February 22, 2002</b>
|
||||
* <a href="archive/mono-0.9">Mono 0.9 release notes</a>
|
||||
|
||||
<pre>
|
||||
(cd mono; make install)
|
||||
</pre>
|
||||
* <a href="archive/mcs-0.9.tar.gz">mcs-0.9.tar.gz</a>
|
||||
Mono C# compiler
|
||||
* <a href="archive/mono-0.9.tar.gz">mono-0.9.tar.gz</a>
|
||||
Mono runtime
|
||||
</ul>
|
||||
|
||||
<a name="feb-11">
|
||||
<b>February 11, 2002</b>
|
||||
* <a href="archive/mcs-0.8.tar.gz">mcs-0.8.tar.gz</a>
|
||||
Mono C# compiler
|
||||
* <a href="archive/mono-0.8.tar.gz">mono-0.8.tar.gz</a>
|
||||
Mono runtime
|
||||
</ul>
|
||||
|
||||
<a name="sep-18">
|
||||
<b>September 18, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mono-0.7.tar.gz">mono-0.7.tar.gz</a>: Mono Runtime 0.7 release.
|
||||
* <a href="archive/mcs-0.7.tar.gz">mcs-0.7.tar.gz</a>: Mono Compiler and Classes 0.7 release.
|
||||
* <a href="archive/mono-0.7">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
<a name="august-22">
|
||||
<b>August 22, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mono-0.6.tar.gz">mono-0.6.tar.gz</a>: Mono Runtime 0.6 release.
|
||||
* <a href="archive/mono-compiler-classes-0.6.tar.gz">mono-compiler-classes-0.6.tar.gz</a>: Mono Compiler and Classes 0.6 release.
|
||||
* <a href="archive/mono-0.6">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
|
||||
<a name="july-29">
|
||||
<b>July 29, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mono-0.5.tar.gz">mono-0.5.tar.gz</a>: Mono Runtime 0.5 release.
|
||||
* <a href="archive/mono-0.5">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
|
||||
<a name="july-22">
|
||||
<b>July 22, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mcs-22-Jul-2001.tar.gz">mcs-22-Jul-2001.tar.gz</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-Jul-22-Jul-19-2001.tar.gz">Differences since 19</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-22">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
<a name="july-19">
|
||||
<b>July 19th, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mcs-19-Jul-2001.tar.gz">mcs-19-Jul-2001.tar.gz</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-Jul-17-Jul-19-2001.tar.gz">Differences since 17</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-19">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
<a name="july-17">
|
||||
<b>July 17th, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mcs-17-Jul-2001.tar.gz">mcs-17-Jul-2001.tar.gz</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-Jul-15-Jul-17-2001.tar.gz">Differences since 15</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-17">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
<a name="july-15">
|
||||
<b>July 15th, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mcs-15-Jul-2001.tar.gz">mcs-15-Jul-2001.tar.gz</a>: CVS snapshot.
|
||||
* <a href="archive/mono-0.4.tar.gz">mono-0.4.tar.gz</a>: Packaged Source Code.
|
||||
* <a href="archive/mono-0.4">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
<a name="july-14">
|
||||
<b>July 14th, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mcs-12-Jul-2001.tar.gz">mcs-12-Jul-2001.tar.gz</a>: CVS snapshot.
|
||||
* <a href="archive/mono-0.3.tar.gz">mono-0.3.tar.gz</a>: Packaged Source Code.
|
||||
</ul>
|
||||
|
||||
<a name="july-8">
|
||||
<b>July 8th, 2001</b>
|
||||
|
||||
<ul>
|
||||
* <a href="archive/mcs-08-Jul-2001.tar.gz">mcs-08-Jul-2001.tar.gz</a>: CVS Snapshot
|
||||
* <a href="archive/mono-08-Jul-2001.tar.gz">mono-08-Jul-2001.tar.gz</a>: CVS Snapshot
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
Notice that following the above procedure does not require you
|
||||
to manually install the software in the `mcs' directory, as
|
||||
the relevant files will be copied by the `mono' makefiles.
|
||||
@@ -1,281 +0,0 @@
|
||||
* Embedding the Mono runtime, preliminary version
|
||||
|
||||
This document describes how to embed the Mono runtime in your
|
||||
application, and how to invoke CIL methods from C, and how to
|
||||
invoke C code from CIL
|
||||
|
||||
Slides for Paolo's presentation at .NET ONE on the embedding
|
||||
API are available here: <a
|
||||
href="http://primates.ximian.com/~lupus/slides/embed">Hosting the Mono
|
||||
Runtime</a>. You can also get his <a
|
||||
href="http://primates.ximian.com/~lupus/slides/embed/Mono-0.01.tar.gz">sample
|
||||
Mono module for Perl</a>
|
||||
|
||||
Authors: Paolo Molaro, Miguel de Icaza.
|
||||
|
||||
* Embedding the runtime.
|
||||
|
||||
Embedding the runtime consists of various steps:
|
||||
|
||||
<ul>
|
||||
* Compiling and linking the Mono runtime
|
||||
|
||||
* Initializing the Mono runtime
|
||||
|
||||
* Optionally expose C code to the C#/CIL universe.
|
||||
|
||||
</ul>
|
||||
|
||||
These are discussed in detail next.
|
||||
|
||||
** Compiling and Linking
|
||||
|
||||
To embed the runtime, you have to link your code against the
|
||||
Mono runtime libraries. To do this, you want to pass the
|
||||
flags returned by pkg-config to your compiler:
|
||||
|
||||
<pre>
|
||||
pkg-config --cflags --libs mono
|
||||
</pre>
|
||||
|
||||
Like this:
|
||||
|
||||
<pre>
|
||||
gcc sample.c `pkg-config --cflags --libs mono`
|
||||
</pre>
|
||||
|
||||
You can separate the compilation flags from the linking flags, for
|
||||
instance, you can use the following macros in your makefile:
|
||||
|
||||
<pre>
|
||||
CFLAGS=`pkg-config --cflags mono`
|
||||
LDFLAGS=`pkg-config --libs mono`
|
||||
</pre>
|
||||
|
||||
** Initializing the Mono runtime
|
||||
|
||||
To initialize the runtime, call mono_jit_init, like this:
|
||||
|
||||
<pre>
|
||||
MonoDomain *domain;
|
||||
|
||||
domain = mono_jit_init ("domain-name");
|
||||
</pre>
|
||||
|
||||
That will return a MonoDomain where your code will be
|
||||
executed. You can create multiple domains. Each domain is
|
||||
isolated from the other domains and code in one domain will
|
||||
not interfere with code in other domains. This is useful if
|
||||
you want to host different applications in your program.
|
||||
|
||||
Then you can load an assembly containing code into the domain:
|
||||
|
||||
<pre>
|
||||
MonoAssembly *assembly;
|
||||
|
||||
assembly = mono_domain_assembly_open (domain, "file.dll");
|
||||
if (!assembly)
|
||||
error ();
|
||||
</pre>
|
||||
|
||||
In the above example, the contents of `file.dll' will be
|
||||
loaded into the domain. This only loads the code, but it will
|
||||
not execute anything yet. You can replace `file.dll' with
|
||||
another transport file, like `file.exe'
|
||||
|
||||
To start executing code, you must invoke a method in the
|
||||
assembly, or if you have provided a static Main method (an
|
||||
entry point), you can use the convenience function:
|
||||
|
||||
<pre>
|
||||
retval = mono_jit_exec (domain, assembly, argc - 1, argv + 1);
|
||||
</pre>
|
||||
|
||||
If you want to invoke a different method, look at the
|
||||
`Invoking Methods in the CIL universe' section later on.
|
||||
|
||||
** Shutting down the runtime
|
||||
|
||||
To shutdown the Mono runtime, you have to clean up all the
|
||||
domains that were created, use this function:
|
||||
|
||||
<pre>
|
||||
mono_jit_cleanup (domain);
|
||||
</pre>
|
||||
|
||||
** Applications that use threads.
|
||||
|
||||
The Boehm GC system needs to catch your calls to the pthreads
|
||||
layer, so in each file where you use pthread.h you should
|
||||
include the <gc/gc.h> file.
|
||||
|
||||
* Exposing C code to the CIL universe
|
||||
|
||||
The Mono runtime provides two mechanisms to expose C code to
|
||||
the CIL universe: internal calls and native C code. Internal
|
||||
calls are tightly integrated with the runtime, and have the
|
||||
least overhead, as they use the same data types that the
|
||||
runtime uses.
|
||||
|
||||
The other option is to use the Platform Invoke (P/Invoke) to
|
||||
call C code from the CIL universe, using the standard P/Invoke
|
||||
mechanisms.
|
||||
|
||||
To register an internal call, use this call in the C code:
|
||||
|
||||
<pre>
|
||||
mono_add_internal_call ("Hello::Sample", sample);
|
||||
</pre>
|
||||
|
||||
Now, you need to declare this on the C# side:
|
||||
|
||||
<pre>
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
</pre>
|
||||
|
||||
|
||||
<pre>
|
||||
class Hello {
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
extern static string Sample ();
|
||||
}
|
||||
</pre>
|
||||
|
||||
Since this routine returns a string, here is the C definition:
|
||||
|
||||
<pre>
|
||||
static MonoString*
|
||||
Sample ()
|
||||
{
|
||||
return mono_string_new (mono_domain_get (), "Hello!");
|
||||
}
|
||||
</pre>
|
||||
|
||||
Notice that we have to return a `MonoString', and we use the
|
||||
`mono_string_new' API call to obtain this from a string.
|
||||
|
||||
* Invoking Methods in the CIL universe
|
||||
|
||||
Calling a method in the CIL universe from C requires a number of steps:
|
||||
|
||||
<ul>
|
||||
* Obtaining the MonoMethod handle to the method.
|
||||
|
||||
* The method invocation.
|
||||
</ul>
|
||||
|
||||
** Obtaining a MonoMethod
|
||||
|
||||
To get a MonoMethod there are several ways.
|
||||
|
||||
You can get a MonoClass (the structure representing a type)
|
||||
using:
|
||||
|
||||
<pre>
|
||||
MonoClass *
|
||||
mono_class_from_name (MonoImage *image, const char* name_space, const char *name);
|
||||
</pre>
|
||||
|
||||
and then loop in the returned class method array until you get
|
||||
the one you're looking for. There are examples of such
|
||||
searches as static functions in several C files in
|
||||
metadata/*.c: we need to expose one through the API and remove
|
||||
the duplicates.
|
||||
|
||||
The other, simpler, way is to use the functions in
|
||||
debug-helpers.h: there are examples of their use in monograph,
|
||||
mint and the jit as well. You basically use a string
|
||||
description of the method, like:
|
||||
|
||||
<pre>
|
||||
"System.Object:GetHashCode()"
|
||||
</pre>
|
||||
|
||||
and create a MonoMethodDesc out of it with:
|
||||
|
||||
<pre>
|
||||
MonoMethodDesc* mono_method_desc_new (const char *name, gboolean include_namespace);
|
||||
</pre>
|
||||
|
||||
You can then use:
|
||||
|
||||
<pre>
|
||||
MonoMethod* mono_method_desc_search_in_class (MonoMethodDesc *desc, MonoClass *klass);
|
||||
MonoMethod* mono_method_desc_search_in_image (MonoMethodDesc *desc, MonoImage *image);
|
||||
</pre>
|
||||
|
||||
to search for the method in a class or in an image. You would
|
||||
tipically do this just once at the start of the program and
|
||||
store the result for reuse somewhere.
|
||||
|
||||
** Invoking a Method
|
||||
|
||||
There are two functions to call a managed method:
|
||||
|
||||
<pre>
|
||||
MonoObject*
|
||||
mono_runtime_invoke (MonoMethod *method, void *obj, void **params,
|
||||
MonoObject **exc);
|
||||
and
|
||||
MonoObject*
|
||||
mono_runtime_invoke_array (MonoMethod *method, void *obj, MonoArray *params,
|
||||
MonoObject **exc);
|
||||
</pre>
|
||||
|
||||
obj is the 'this' pointer, it should be NULL for static
|
||||
methods, a MonoObject* for object instances and a pointer to
|
||||
the value type for value types.
|
||||
|
||||
The params array contains the arguments to the method with the
|
||||
same convention: MonoObject* pointers for object instances and
|
||||
pointers to the value type otherwise. The _invoke_array
|
||||
variant takes a C# object[] as the params argument (MonoArray
|
||||
*params): in this case the value types are boxed inside the
|
||||
respective reference representation.
|
||||
|
||||
From unmanaged code you'll usually use the
|
||||
mono_runtime_invoke() variant.
|
||||
|
||||
Note that this function doesn't handle virtual methods for
|
||||
you, it will exec the exact method you pass: we still need to
|
||||
expose a function to lookup the derived class implementation
|
||||
of a virtual method (there are examples of this in the code,
|
||||
though).
|
||||
|
||||
You can pass NULL as the exc argument if you don't want to
|
||||
catch exceptions, otherwise, *exc will be set to the exception
|
||||
thrown, if any. if an exception is thrown, you can't use the
|
||||
MonoObject* result from the function.
|
||||
|
||||
If the method returns a value type, it is boxed in an object
|
||||
reference.
|
||||
|
||||
We have plans for providing an additional method that returns
|
||||
an unmanaged->managed thunk like this:
|
||||
|
||||
<pre>
|
||||
void* mono_method_get_unmanaged_thunk (MonoMethod *method);
|
||||
</pre>
|
||||
|
||||
You'll be able to store the returned pointer in a function
|
||||
pointer with the proper signature and call that directly from
|
||||
C:
|
||||
|
||||
<pre>
|
||||
typedef gint32 (*GetHashCode) (MonoObject *obj);
|
||||
|
||||
GetHashCode func = mono_method_get_unmanaged_thunk (System_Object_GetHashCode_method);
|
||||
|
||||
gint32 hashvalue = func (myobject);
|
||||
</pre>
|
||||
|
||||
It may not be possible to manage exceptions in that case,
|
||||
though. I need to think more about it.
|
||||
|
||||
* Samples
|
||||
|
||||
See the sample programs in mono/sample/embed for examples of
|
||||
embedding the Mono runtime in your application.
|
||||
|
||||
|
||||
@@ -2,13 +2,12 @@
|
||||
<a href="#ximian">The Ximian Role in the Mono project</a><br>
|
||||
<a href="#gnome">Mono and GNOME</a><br>
|
||||
<a href="#gui">Building GUI applications with Mono</a><br>
|
||||
<a href="#winforms">Mono and WinForms</a><br>
|
||||
<a href="#msft">Mono and Microsoft</a><br>
|
||||
<a href="#platforms">Mono platforms</a><br>
|
||||
<a href="#pnpproject">Mono and the Portable.NET Project</a><br>
|
||||
<a href="#webservices">Web Services</a><br>
|
||||
<a href="#asp">Mono and ASP.NET</a><br>
|
||||
<a href="#ado">Mono and ADO.NET</a><br>
|
||||
<a href="#monodoc">MonoDoc</a><br>
|
||||
<a href="#devel">Development Tools and Issues</a><br>
|
||||
<a href="#java">Mono and Java</a><br>
|
||||
<a href="#extending">Extending Mono</a><br>
|
||||
@@ -19,10 +18,9 @@
|
||||
<a href="#licensing">Licensing</a><br>
|
||||
<a href="#patents">Patents</a><br>
|
||||
<a href="#etc">Miscellaneous Questions</a><br>
|
||||
<a href="#problems">Mono Common Problems</a><br>
|
||||
|
||||
A <a
|
||||
href="http://www.es.gnome.org/documentacion/articulos/mono-puf/mono-puf/">Spanish
|
||||
href="http://www.es.gnome.org/documentacion/articulos/MONO-PUF/MONO-PUF/">spanish
|
||||
translation</a> is also available
|
||||
|
||||
<a name="basics"></a>
|
||||
@@ -45,7 +43,7 @@ A: The ".NET Initiative" is a somewhat nebulous company-wide effort by
|
||||
framework. Mono is an implementation of the development framework,
|
||||
but not an implementation of anything else related to the .NET
|
||||
Initiative, such as Passport, software-as-a-service, or
|
||||
corporate re-branding.
|
||||
corporate rebranding.
|
||||
|
||||
Q: What technologies are included in Mono?
|
||||
|
||||
@@ -86,12 +84,10 @@ A: Mono contains a number of components useful for building new
|
||||
|
||||
Q: Where can I find the specification for these technologies?
|
||||
|
||||
A: You can find the information here:
|
||||
A: You can find the work-in-progress documentation from the T3G ECMA
|
||||
group here:
|
||||
|
||||
|
||||
C# <a href="http://www.ecma.ch/ecma1/STAND/ecma-334.htm">http://www.ecma.ch/ecma1/STAND/ecma-334.htm</a>
|
||||
|
||||
CLI <a href="http://www.ecma.ch/ecma1/STAND/ecma-335.htm">http://www.ecma.ch/ecma1/STAND/ecma-335.htm</a>
|
||||
<a href="http://www.dotnetexperts.com">http://www.dotnetexperts.com</a>
|
||||
|
||||
Q: Will you implement the .NET Framework SDK class libraries?
|
||||
|
||||
@@ -100,7 +96,7 @@ A: Yes, we will be implementing the APIs of the .NET Framework SDK
|
||||
|
||||
Q: Will you offer an ECMA-compliant set of class libraries?
|
||||
|
||||
A: Eventually we will. Our current focus is on inter-operating
|
||||
A: Eventually we will. Our current focus is on interoperating
|
||||
with the Microsoft SDK, but we will also offer an ECMA compliant
|
||||
set of libraries.
|
||||
|
||||
@@ -122,18 +118,17 @@ Q: When will you ship it?
|
||||
A: Different parts of Mono will achieve usability at different stages,
|
||||
once we are comfortable with the compiler, we will release "Mono Core",
|
||||
which contains everything needed to develop applications with the base
|
||||
class libraries, this will happen soon and in the meantime you can
|
||||
download daily snapshots of our work. Also the full ASP.NET support is
|
||||
close to completion.
|
||||
class libraries. This should be available at some point during 2002.
|
||||
|
||||
Other higher level class libraries (ASP.NET, ADO.NET, WinForms) will
|
||||
Other higher level class libraries (ASP.NET, ADO.NET) will
|
||||
be released when they become stable.
|
||||
|
||||
Q: What major components will you include in Mono?
|
||||
|
||||
A: Hopefully everything that Microsoft ships on their Framework
|
||||
(ADO.NET, ASP.NET, WinForms), and we encourage third party developers to
|
||||
create reusable components that work on both Mono and Windows.
|
||||
(ADO.NET, ASP.NET), and
|
||||
we encourage third party developers to create reusable components that
|
||||
work on both Mono and Windows.
|
||||
|
||||
Q: How can I contribute?
|
||||
|
||||
@@ -200,7 +195,7 @@ A: Mono will ship on various stages as they mature. Some people
|
||||
require only a subset of the technologies, those will ship first.
|
||||
|
||||
More advanced features will take more time to develop. A support
|
||||
time line will be available in June 2002.
|
||||
timeline will be available in June 2002.
|
||||
|
||||
<a name="gnome"></a>
|
||||
** Mono and GNOME
|
||||
@@ -229,7 +224,7 @@ A: It is still far to early for discussions of "switching over." No
|
||||
|
||||
We encourage GNOME developers to continue using the existing tools,
|
||||
libraries and components. Improvements made to GNOME will have an
|
||||
impact on Mono, as they would be the "back-end" for various classes.
|
||||
impact on Mono, as they would be the "backend" for various classes.
|
||||
|
||||
Q: Will Mono include compatibility with Bonobo components? What is the
|
||||
relationship between Mono and Bonobo?
|
||||
@@ -277,7 +272,7 @@ A: As long as your applications are 100% .NET and do not make use
|
||||
of P/Invoke to call Win32 functions, your smart client applications
|
||||
will run on Mono platforms.
|
||||
|
||||
Q: Where can I learn more about Gtk#?
|
||||
Q: Where can I learn mora about Gtk#?
|
||||
|
||||
A: The following <a href="http://gtk-sharp.sourceforge.net>link</a> sends you to the page of the project.
|
||||
|
||||
@@ -304,27 +299,61 @@ A: There is a sample file called `DbClient' in gtk-sharp/samples that you
|
||||
gtk-sharp/sample/DbClient, where there is a GTK# application that uses
|
||||
System.Data. It does not use DataAdapter, but DataReader though.
|
||||
|
||||
Q: Do you have an estimate for when Windows.Forms will be released?
|
||||
<a name="winforms"></a>
|
||||
** Mono and WinForms
|
||||
|
||||
Q: Can you tell me why aren't you implementing WinForms?.
|
||||
|
||||
A: (This is based in an original mail to mono-list written by Miguel de
|
||||
Icaza. You should read it for completion, but the core part is here).
|
||||
|
||||
First, Windows.Forms is packed with quirks and is not that great of a
|
||||
toolkit in the first place. Up to the point of the unconfirmed rumor
|
||||
that Microsoft is working on a replacement for it.
|
||||
|
||||
Once the runtime is done, we will very likely start contributing to
|
||||
the Gtk# project ourselves, and we will likely start doing feasibility
|
||||
work on getting Mono used by Gnome developers: full gnome apps and
|
||||
extending existing applications.
|
||||
|
||||
Those interested in hacking on Windows.Forms are welcome to do so,
|
||||
but Ximian will not likely look at it in the near future; if there is
|
||||
enough demand, or I can be convinced that Windows.Forms is useful for
|
||||
something Ximian might re-evaluate our resource allocation for this
|
||||
task.
|
||||
|
||||
By doing native ports, we could use the same API on all those systems.
|
||||
Also, Gtk is mature enough, we know this because we have built an entire
|
||||
desktop (and all sorts of very window system-specific hacks), and we
|
||||
have built a bunch of productivity applications with it.
|
||||
|
||||
Q: What about VCL?.
|
||||
|
||||
Someone mentioned VCL. The only problem with the VCL is that it can
|
||||
only be used for GPL applications (or I guess you could license it from
|
||||
Borland for your app), and would have to be ported from Delphi to C#
|
||||
(or someone would have to write a CIL compiler for it).
|
||||
|
||||
Q: What about doing something like the eclipse project (www.eclipse.org)?
|
||||
|
||||
A: The Eclipse toolkit is not a general purpose toolkit. It will require a
|
||||
lot of work before it is such a thing. It is a toolkit used to
|
||||
implement a development environment.
|
||||
|
||||
A: We do not know, volunteers are working on this, but there is no set
|
||||
date yet. The current approach is using the Wine Library to implement
|
||||
it.
|
||||
|
||||
<a name="msft"></a>
|
||||
** Mono and Microsoft
|
||||
|
||||
Q: Is Microsoft helping Ximian with this project?
|
||||
|
||||
A: There is no high level communication between Ximian and Microsoft
|
||||
at this point, but engineers who work on .NET or the ECMA groups
|
||||
have been very friendly, and very nice to answer our questions, or
|
||||
clarify part of the specification for us.
|
||||
A: No. Ximian CTO Miguel de Icaza had a friendly conversation with
|
||||
Microsoft software architect David Stutz, but that's about the
|
||||
extent of the contact. Microsoft is interested in other
|
||||
implementations of .NET and are willing to help make the ECMA spec
|
||||
more accurate for this purpose.
|
||||
|
||||
Microsoft is interested in other implementations of .NET and are
|
||||
willing to help make the ECMA spec more accurate for this purpose.
|
||||
|
||||
Ximian was also invited to participate in the ECMA committee
|
||||
meetings for C# and the CLI.
|
||||
Ximian representatives have also spoken with Sam Ruby at the ECMA
|
||||
TG3 committee to discuss the same issues.
|
||||
|
||||
Q: Is Microsoft or Corel paying Ximian to do this?
|
||||
|
||||
@@ -335,7 +364,7 @@ Q: Do you fear that Microsoft will change the spec and render Mono
|
||||
|
||||
A: No. Microsoft proved with the CLI and the C# language that it was
|
||||
possible to create a powerful foundation for many languages to
|
||||
inter-operate. We will always have that.
|
||||
interoperate. We will always have that.
|
||||
|
||||
Even if changes happened in the platform which were undocumented,
|
||||
the existing platform would a value on its own.
|
||||
@@ -415,57 +444,19 @@ Q: Will I be able to compile a Microsoft VB.NET application and execute
|
||||
|
||||
A: Once we have a complete VisualBasic runtime, yes.
|
||||
|
||||
Q: Can mono run the WebMatrix?
|
||||
Q: Can mono run the WebMatrix ?
|
||||
|
||||
A: No. That requires System.Windows.Forms support which is not
|
||||
currently implemented.
|
||||
A: No. That requires winforms (we don't have).
|
||||
|
||||
Q: Does mono have something like Passport?
|
||||
Will mono have a server side Passport/Similar framework for XSP as well as client classes?
|
||||
Q: Does mono have something like Passport ? (ie PassportIdentity class,somewhere
|
||||
in System.Web ?) . Will mono have a server side Passport/Similar framework
|
||||
for XSP as well as client classes ?
|
||||
|
||||
A: Not yet, but the client side API for authentication is not the problem.
|
||||
We will likely have a lot of other authentication APIs, like the Liberty
|
||||
Alliance APIs. The problem is people on the web provider end that might use
|
||||
Aliance APIs. The problem is people on the web provider end that might use
|
||||
this for authentication.
|
||||
|
||||
<a name="platforms"></a>
|
||||
** Mono Platforms
|
||||
|
||||
Q: What operating systems does Mono run on?
|
||||
|
||||
A: Mono is known to run on Linux, Unix and Windows systems.
|
||||
|
||||
Q: What architectures does Mono support?
|
||||
|
||||
A: Mono today ships with a Just-in-Time compiler for x86-based
|
||||
systems. It is tested regularly on Linux, FreeBSD and Windows
|
||||
(with the XP/NT core).
|
||||
|
||||
There is also an interpreter, which is slower that runs on the
|
||||
s390, SPARC and PowerPC architectures.
|
||||
|
||||
Q: Can Mono run on Windows 9x, or ME editions?
|
||||
|
||||
A: Mono requires Unicode versions of Win32 APIs to run,
|
||||
and only a handful of *W functions is supported under Win9x.
|
||||
|
||||
There is Microsoft Layer for Unicode that provides implementation
|
||||
of these APIs on 9x systems.
|
||||
|
||||
Unfortunately it uses linker trick for delayed load that is not
|
||||
supported by ld, so some sort of adapter is necessary.
|
||||
|
||||
You will need MSLU and one of the following libs to link Mono to
|
||||
unicows.dll <a
|
||||
href="http://mono.eurosoft.od.ua/files/unimono.zip">http://mono.eurosoft.od.ua/files/unimono.zip</a>
|
||||
or alternatively search the net for "libunicows".
|
||||
|
||||
No changes to Mono source code required, the only thing is to make
|
||||
sure that linker will resolve imports to adapter library instead of
|
||||
Win32 libs. This is achieved by inserting -lunimono before
|
||||
-lkerner32/user32 in the linker's specs file.
|
||||
|
||||
|
||||
<a name="pnpproject"></a>
|
||||
** Mono and Portable.NET
|
||||
|
||||
@@ -477,41 +468,34 @@ A: Most of Mono is being written using C#, with only
|
||||
|
||||
It is easier to describe what is unique about Mono:
|
||||
<ul>
|
||||
<li> A Just-in-Time compiler engine. This is important for
|
||||
making your applications fast.
|
||||
|
||||
<li> A self-hosting C# compiler written in C#, which is clean, easy
|
||||
to maintain.
|
||||
|
||||
<li> Focus on the .NET Framework: we are tracking down the .NET
|
||||
Framework API definition, as we believe it is the API people
|
||||
will be most familiar with.
|
||||
|
||||
<li> A multi-platform runtime engine: both a JIT engine and an
|
||||
interpreter exist. The JIT engine runs currently on x86
|
||||
systems, while the interpreter works on SPARC, StrongARM,
|
||||
s390 and PowerPC systems.
|
||||
systems, while the interpreter works on Sparc, StrongARM and
|
||||
PowerPC systems.
|
||||
|
||||
<li> Supports Linux, Windows and Solaris at this point.
|
||||
|
||||
<li> The JIT engine is written using a portable instruction
|
||||
selector which not only generates good code (we are told
|
||||
that we are faster than Rotor, but it is hard to tell) but
|
||||
is also the foundation to re-target the JIT engine to other
|
||||
is also the foundation to retarget the JIT engine to other
|
||||
systems.
|
||||
|
||||
The system employed is described in various compiler
|
||||
books and it is very similar to what is described in the
|
||||
book that covers LCC, the ANSI C retargetable C compiler.
|
||||
book that covers LCC, the Ansi C retargetable C compiler.
|
||||
|
||||
<li> The JIT engine supports in-lining, constant folding and propagation,
|
||||
<li> The JIT engine supports inlining, constant folding and propagation,
|
||||
|
||||
<li> Full support for remoting in the runtime, but the class
|
||||
libraries are still behind.
|
||||
|
||||
<li> The C# compiler, the JIT engine and the class libraries are
|
||||
mature enough that the whole system is self-hosting. This means that
|
||||
we develop Mono completely with itself at this point.
|
||||
mature enough that the whole system is self-hosting, ie, that
|
||||
it can be fully developed with itself at this point.
|
||||
|
||||
<li> We are not yet done, and there is a lot of work left to be
|
||||
done
|
||||
@@ -519,9 +503,8 @@ A: Most of Mono is being written using C#, with only
|
||||
<li> We have a great community of developers, without which Mono
|
||||
would not be possible.
|
||||
|
||||
<li> We are working on an ahead of time compilation mode to
|
||||
pre-compile code for the target architecture (this is part
|
||||
of our new code generation effort).
|
||||
<li> We will provide an ahead of time compilation mode in the
|
||||
future.
|
||||
</ul>
|
||||
|
||||
<a name="webservices"></a>
|
||||
@@ -539,7 +522,7 @@ A: Mono is only related to Web Services in that it will implement the
|
||||
Q: Can I author Web Services with Mono?
|
||||
|
||||
A: You will be able to write Web Services on .NET that run on Mono and
|
||||
vice-versa.
|
||||
viceversa.
|
||||
|
||||
Q: If Mono implements the SDK classes, will I be able to write and
|
||||
execute .NET Web Services with it?
|
||||
@@ -561,40 +544,30 @@ A: Yes. The CLI contains enough information about a class that
|
||||
exposing it to other RPC systems (like CORBA) is really simple, and
|
||||
does not even require support from an object.
|
||||
|
||||
We will be implementing CORBA inter-operation as an extension to the
|
||||
We will be implementing CORBA interoperation as an extension to the
|
||||
Mono classes so that we can integrate with Bonobo, just like
|
||||
Microsoft provides COM inter-operation classes and support
|
||||
Microsoft provides COM interoperation classes and support
|
||||
mechanisms.
|
||||
|
||||
Q: Can I serialize my objects to other things other than XML?
|
||||
|
||||
A: Yes, although the serializing tools have not yet been planned, and
|
||||
you would probably have to implement them yourself.
|
||||
you would probably have to implement them yourself.
|
||||
|
||||
Q: Will Mono use ORBit?
|
||||
|
||||
A: No. Mono will be using a new implementation of CORBA that isn't still started.
|
||||
|
||||
<a name="monodoc"></a>
|
||||
** MonoDoc
|
||||
|
||||
Q: What is MonoDoc?
|
||||
|
||||
A: MonoDoc is a graphical documentation editor and viewer. Currently, MonoDoc
|
||||
consists of a Gtk# application and is in heavy development. There is also a
|
||||
Qt# version of it.
|
||||
|
||||
|
||||
<a name="devel"></a>
|
||||
** Development Tools and Issues
|
||||
|
||||
Q: Will it be possible to use the CLI features without using byte codes
|
||||
Q: Will it be possible to use the CLI features without using bytecodes
|
||||
or the JIT?
|
||||
|
||||
A: Yes. The CLI engine will be made available as a shared library.
|
||||
The garbage collection engine, the threading abstraction, the
|
||||
object system, the dynamic type code system and the JIT will be
|
||||
available for C developers to integrate with their applications if
|
||||
available for C developers to integreate with their applications if
|
||||
they wish to do so.
|
||||
|
||||
Q: Will you have new development tools?
|
||||
@@ -635,7 +608,7 @@ Q: What about using something like Jabber instead of the System.Messaging
|
||||
namespace?.
|
||||
|
||||
A: In short, MSMQ is not something like Jabber, but asynchronous messaging
|
||||
through queues. Useful queues do more than serialize messages, they are
|
||||
through queues. Usefull queues do more than serialize messages, they are
|
||||
also platform bridges.
|
||||
|
||||
Q: Are you supporting XMLDocument and relatives?.
|
||||
@@ -646,14 +619,14 @@ A: Currently, we aren't implementing them yet. It would require updates to
|
||||
|
||||
Q: Is there any plan to develop an aspx server for Mono?.
|
||||
|
||||
A: The web server turned out to be very simple compared to the rest of the
|
||||
A: The webserver turned out to be very simple compared to the rest of the
|
||||
work. Gonzalo has got the page generator mostly done (a module called
|
||||
xsp, who has nothing to do with the XSP term used in the Apache Project).
|
||||
Patrik has done a lot of the work to get the ProcessRequest to work.
|
||||
You can try to help in the final touches to the System.Web classes and
|
||||
writing regression tests for the widgets we have.
|
||||
|
||||
Q: Is there any way I can develop the class libraries using Linux yet?
|
||||
Q: Is there any way I can develop the class libraries using linux yet?
|
||||
|
||||
A: Yes. Some class libraries can be developed on Linux. Search for
|
||||
Paolo's post (he lists which classes can be compiled fine now).
|
||||
@@ -661,7 +634,7 @@ A: Yes. Some class libraries can be developed on Linux. Search for
|
||||
Q: Is there any way I can install a known working copy of mono in /usr,
|
||||
and an experimental copy somewhere else, and have both copies use
|
||||
their own libraries? (I'm still not very good at library paths in
|
||||
Linux)
|
||||
linux)
|
||||
|
||||
A: Yes. Just use two installation prefixes.
|
||||
|
||||
@@ -671,19 +644,52 @@ A: If you do a test suite for C#, you might want to keep it
|
||||
independent of the Mono C# compiler, so that other compiler
|
||||
implementations can later use it.
|
||||
|
||||
Q: Is the current stage the implementation of mono_create_trampoline
|
||||
function? Hence the sparc-codegen.h is reasonably complete? Is
|
||||
mono/arch/x86/* the best reference material for this stuff?
|
||||
|
||||
A: sparc-codegen.h is basically complete. We may want to add some
|
||||
convenience macros along the way, but it has all the stuff you need.
|
||||
And yes, or, the ppc/ dir, since the ppc call convention is more similar
|
||||
to the sparc one than the x86 one. The current issues with the sparc
|
||||
code are. roughly:
|
||||
1) it needs to handle overflowing the out registers (the additional
|
||||
arguments need to be put on the stack)
|
||||
2) it needs to flush the icache where the generated code is stored
|
||||
3) it needs to implement mono_create_method_pointer to get delegates
|
||||
working
|
||||
4) it needs a couple of updates (mono_method_pointer_get is no longer
|
||||
needed, for example)
|
||||
|
||||
Q: Would it be too terrible to have another corlib signed as mscorlib?
|
||||
|
||||
A: We rename corlib to mscorlib also when saving the PE files, in fact,
|
||||
the runtime can execute program created by mono just fine.
|
||||
|
||||
Q: How do I build corlib under Linux?
|
||||
|
||||
A: You can build your own (see the web site on how to get the mcs
|
||||
project from cvs), but in order to build them using mcs you need a
|
||||
set of working class libraries. After building the runtime (using
|
||||
mono-build.sh) get them from the nightly build and put them (and
|
||||
mcs.exe) in your mono/install/lib directory. Then you should be able
|
||||
to do: cd mcs, then: make -f makefile.gnu, then: cp mcs/mcs.exe
|
||||
class/lib/*.dll ../install/lib Also, you should know that you can
|
||||
either get your dose of DLLs from MonoCharge, or from
|
||||
http://primates.ximian.com/~miguel/runtime. MonoCharge is updated
|
||||
automatically, while the later is only updated when Miguel is around
|
||||
Once you have the DLLs, you can use `make -f makefile.gnu' as described
|
||||
before to self-host.
|
||||
|
||||
Q: Is there a relatively straightforward way to repeat the steps taken
|
||||
by Paolo to get Mono completely self-hosted on Linux?
|
||||
by Paolo to get Mono completely self-hosted on linux?
|
||||
|
||||
A: To build the compiler and class libraries in Linux, run:
|
||||
<ul><li>make -f makefile.gnu. To install them, run: </li>
|
||||
<li>make -f makefile.gnu install prefix=/opt/mono</li>
|
||||
<li>make -f makefile.gnu install</li>
|
||||
<li>You can also specify a prefix:</li>
|
||||
<li>make -f makefile.gnu install prefix=/opt</li>
|
||||
</ul>
|
||||
|
||||
If you want to produce and distribute a monocharge tarball, run:
|
||||
make -f makefile.gnu dist
|
||||
Of course you have to run these in the top level mcs directory.
|
||||
@@ -701,23 +707,13 @@ A: The remoting infrastructure is in place. Some of the channels and
|
||||
formatters are not.
|
||||
|
||||
Q: I'm wondering if there are any plans to start using nant to build the
|
||||
class lib + test lib. i think that every project need/should use an
|
||||
class lib + test lib. i think that every project neeed/should use an
|
||||
automated build process and nant + a couple of tools enables this. is
|
||||
the problem that the compiler can't run nant yet?
|
||||
|
||||
A: Maybe well be doing some sort of automated build process + testing when
|
||||
the summer finish.
|
||||
|
||||
Q: My C code uses the __stdcall which is not availble on Linux, how can I
|
||||
make the code portable Windows/Unix across platforms?
|
||||
|
||||
A: Replace the __stdcall attribute with the STDCALL macro, and include this
|
||||
in your C code for newer gcc versions:
|
||||
|
||||
#ifndef STDCALL
|
||||
#define STDCALL __attribute__((stdcall))
|
||||
#endif
|
||||
|
||||
<a name="asp">
|
||||
** Mono and ASP.NET
|
||||
|
||||
@@ -736,7 +732,7 @@ Q: Do I need install cygwin to work on ASP.NET in mono or Linux is enough since
|
||||
|
||||
A: Linux is enough.
|
||||
|
||||
Q: Any plan to make ASP.NET in mono works with Apache in Linux?.
|
||||
Q: Any plan to make ASP.NET in mono works with Apache in linux?.
|
||||
|
||||
A: Yes, we have plans to do so, but we need to wait for Patrik's patches to
|
||||
HttpRuntime. Once that is there, writing a mod_mono should be trivial
|
||||
@@ -759,15 +755,12 @@ Q: In developing the data architecture for the application are there and
|
||||
transition (minimum code rewrite) to Mono's ADO.NET implementation? (For
|
||||
example, strongly typed datasets versus untyped datasets, etc...)
|
||||
|
||||
A: We are implementing all the classes in Microsoft .NET's System.Data, so
|
||||
you can be sure that things will work the same in Mono as with the Microsoft
|
||||
implementation.
|
||||
|
||||
Q: Does Mono can to connect to Sybase by using Mono.Data.*?
|
||||
|
||||
A: Yes. use Mono.Data.SybaseClient. First of all you have to create a
|
||||
SybaseConnection, and then, from it, use it as any other
|
||||
IDbConnection-based class.
|
||||
A: we are implementing all the classes in Microsoft .NET's System.Data, so
|
||||
you can be sure that things will work the same in Mono as with the MS's
|
||||
implementation. We'll maybe provide extra classes to fix some things
|
||||
we've found missing while developing ADO.NET in Mono, but if you keep
|
||||
using the MS's System.Data classes, things will work out of the box with
|
||||
no changes (or at least that's the plan :-)
|
||||
|
||||
<a name="java">
|
||||
** Mono and Java
|
||||
@@ -778,7 +771,7 @@ Q: Why don't you use Java? After all, there are many languages that
|
||||
A: You can get very good tools for doing Java development on free
|
||||
systems right now. <a href="http://www.redhat.com">Red Hat</a> has
|
||||
contributed a <a href="http://gcc.gnu.org">GCC</a> <a
|
||||
href="http://gcc.gnu.org/java">front-end for Java</a> that can take
|
||||
href="http://gcc.gnu.org/java">frontend for Java</a> that can take
|
||||
Java sources or Java byte codes and generate native executables; <a
|
||||
href="http://www.transvirtual.com">Transvirtual</a> has implemented
|
||||
<a href="http://www.kaffe.org">Kaffe</a> a JIT engine for Java;
|
||||
@@ -797,10 +790,10 @@ A: Yes, Java could target the CLI. We have details on a <a
|
||||
href="ideas.html#guavac">project</a> that someone could take on to
|
||||
make this happen.
|
||||
|
||||
Microsoft has an implementation of the Java language called J# that
|
||||
Microsoft has an implemenation of the Java language called J# that
|
||||
can target the CIL execution engine.
|
||||
|
||||
Q: Is it possible to write a JVM byte code to CIL converter?
|
||||
Q: Is it possible to write a JVM byte code to CIL convertor?
|
||||
|
||||
A: Yes, it is possible. Here are a few starting point:
|
||||
|
||||
@@ -820,7 +813,7 @@ A: Yes, it is possible. Here are a few starting point:
|
||||
be translated into the equivalent "meaning" in CLR-land.
|
||||
</ul>
|
||||
|
||||
Q: Could mono become a hybrid CIL/java platform?
|
||||
Q: Could mono become a hybrid cil/java platform?
|
||||
|
||||
A: No. It is quite far from the philosophy of the project. The idea of Mono
|
||||
is, to have only _one_ VM, on which all can run. And if there existing a
|
||||
@@ -828,26 +821,15 @@ A: No. It is quite far from the philosophy of the project. The idea of Mono
|
||||
like J-Sharp on Mono, you can write programs in Java, which than can run
|
||||
on Mono. You do not need two bindings (like your example: GTK-Sharp _and_
|
||||
Java-Gnome). You need only _one_ of it (GTK-Sharp). Thats the idea of Mono.
|
||||
An other point is, that there are no people, who use Open Source-JVMs. They
|
||||
An other point is, that there are no people, who use OpenSource-JVMs. They
|
||||
all prefer Suns original. But for Unix there don't exist a .NET-Framework.
|
||||
So it is possible, that in the future Mono is the standard .NET for Unixes.
|
||||
So it is possible, that in the future Mono is the standard .NET for unixes.
|
||||
|
||||
Q: Do you plan to implement a Javascript compiler?
|
||||
|
||||
A: Yes. Eto Demerzal has started a Rhino port to C#.
|
||||
After this is completed, we will begin developing
|
||||
the JavaScript compiler.
|
||||
|
||||
Q: Can Mono or .NET share system classes (loaded from mscore.dll and other
|
||||
libs) or will it behave like Sun's Java VM?
|
||||
|
||||
A: What you can do with mono is to load different applications in their own
|
||||
application domain: this is a feature of the CLR that allows sandboxing
|
||||
applications inside a single process space. This is usualy exploited to
|
||||
compartmentalize different parts of the same app, but it can also be
|
||||
effectively used to reduce the startup and memory overhead.
|
||||
Using different appdomains the runtime representation of types and
|
||||
methods is shared across applications.
|
||||
the Javascript compiler.
|
||||
|
||||
<a name="extending"></a>
|
||||
** Extending Mono
|
||||
@@ -878,7 +860,7 @@ A: Embracing a good technology is good. Extending technologies in
|
||||
encourage you to make those classes operate correctly well in both
|
||||
Mono and .NET.
|
||||
|
||||
Q: Is there any way I can develop the class libraries using Linux yet?
|
||||
Q: Is there any way I can develop the class libraries using linux yet?
|
||||
|
||||
A: Yes. Some class libraries can be developed on Linux. Search for
|
||||
Paolo's post (he lists which classes can be compiled fine now).
|
||||
@@ -886,7 +868,7 @@ A: Yes. Some class libraries can be developed on Linux. Search for
|
||||
Q: Is there any way I can install a known working copy of mono in /usr,
|
||||
and an experimental copy somewhere else, and have both copies use
|
||||
their own libraries? (I'm still not very good at library paths in
|
||||
Linux)
|
||||
linux)
|
||||
|
||||
A: Yes. Just use two installation prefixes.
|
||||
|
||||
@@ -904,7 +886,7 @@ Q: What about Mono on non Linux-based systems?
|
||||
|
||||
A: Our main intention at Ximian is to be able to develop GNOME
|
||||
applications with Mono, but if you are interested in providing a
|
||||
port of the Winforms classes to other platforms (frame buffer or
|
||||
port of the Winform classes to other platforms (frame buffer or
|
||||
MacOS X for example), we would gladly integrate them, as long
|
||||
they are under an open source license.
|
||||
|
||||
@@ -914,21 +896,21 @@ A: Mono currently runs on Linux, Windows, Solaris and FreeBSD.
|
||||
There is a JIT engine available for x86 processors that can
|
||||
generate code and optimizations tailored for a particular CPU.
|
||||
|
||||
Interpreters exist for the SPARC, PowerPC and StrongARM CPUs.
|
||||
Interpreters exist for the SPARC, PowerPC and StrongARM cpus.
|
||||
|
||||
Q: Does Mono run on Windows?
|
||||
|
||||
A: Yes. You can get pre-compiled
|
||||
binaries from <a href="http://www.go-mono.com/download.html">http://www.go-mono.com/download.html</a>
|
||||
A: Yes. The Compiler and the runtime both run on Windows.
|
||||
|
||||
Q: Does Mono run on Linux?
|
||||
Q: When will mono and mcs compile on Linux?.
|
||||
|
||||
A: Yes. You can get pre-compiled
|
||||
binaries from <a href="http://www.go-mono.com/download.html">http://www.go-mono.com/download.html</a>
|
||||
A: That happend a long time ago. Know you can download and compile
|
||||
them or even install them from already made binary packages for
|
||||
Windows and for Linux (RPM/DEB).
|
||||
|
||||
Q: Will I require Cygwin to run mono?
|
||||
|
||||
A: No. Cygwin is only required to build Mono.
|
||||
A: No. While you'll need it to compile it, it runs without cygwin and does not even require cygwin1.dll
|
||||
|
||||
Q: Will Mono depend on GNOME?
|
||||
|
||||
@@ -957,7 +939,7 @@ Q: Has anyone succeeded in building a Mac version of the C# environment.
|
||||
|
||||
A: You could try to check with the Darwin people, or the Fink people.
|
||||
Mono/C# is self hosting on Linux/PPC which is the hard part, so it
|
||||
should be relatively simple to get it to work on MacOS
|
||||
should be relatively simple to get it to work on macos
|
||||
|
||||
<a name="reuse"></a>
|
||||
** Reusing Existing Code
|
||||
@@ -1004,7 +986,7 @@ Q: Will built-in reporting be supported for crystal reports? This is a
|
||||
heavily used part of our system.
|
||||
|
||||
A: Probably not. Crystal Reports are propriety. Someone may try to emulate
|
||||
the behavior, but no-one has yet volunteered.
|
||||
the behaviour, but no-one has yet volunteered.
|
||||
|
||||
Q: Who about writing to the registry? As I understand it, Linux does not have
|
||||
a counterpart to the registry. Should I avoid relying on that feature?
|
||||
@@ -1025,7 +1007,7 @@ A: if their license is compatible with mono's, yes, we'd think about porting
|
||||
<a name="gcc"></a>
|
||||
** Mono and GCC
|
||||
|
||||
Q: Are you working on a GCC front-end to C#? A GCC back-end that will
|
||||
Q: Are you working on a GCC front-end to C#? A GCC backend that will
|
||||
generate CIL images? What about making a front-end to GCC that
|
||||
takes CIL images and generates native code?
|
||||
|
||||
@@ -1091,14 +1073,6 @@ A: The C# Compiler is released under the terms of the <a
|
||||
href="http://www.opensource.org/licenses/mit-license.html">MIT X11</a>
|
||||
license.
|
||||
|
||||
The Mono runtime and the Mono C# Compiler are also available under
|
||||
a proprietary license for those who can not use the LGPL and the
|
||||
GPL in their code.
|
||||
|
||||
For licensing details, contact <a
|
||||
href="mailto:[email protected]">[email protected]</a>
|
||||
|
||||
|
||||
Q: I would like to contribute code to Mono under a particular
|
||||
license. What licenses will you accept?
|
||||
|
||||
@@ -1106,7 +1080,7 @@ A: We will have to evaluate the licenses for compatibility first,
|
||||
but as a general rule, we will accept the code under the same
|
||||
terms of the "container" module.
|
||||
|
||||
<a name="patents"></a>
|
||||
<a name="patents></a>
|
||||
** Patents
|
||||
|
||||
Q: Could patents be used to completely disable Mono (either submarine
|
||||
@@ -1116,9 +1090,7 @@ Q: Could patents be used to completely disable Mono (either submarine
|
||||
A: No. First, its basic functional capabilities have pre-existed too
|
||||
long to be held up by patents. The basic components of Mono are
|
||||
technologically equivalent to Sun's Java technology, which has been
|
||||
around for years.
|
||||
|
||||
Mono will also implement multi-language and
|
||||
around for years. Mono will also implement multi-language and
|
||||
multi-architecture support, but there are previous technologies
|
||||
such as UCSD p-code and ANDF that also support multiple languages
|
||||
using a common intermediate language. The libraries are similar
|
||||
@@ -1144,11 +1116,11 @@ A: The key difference between CORBA (and COM) and the CLI is that the
|
||||
CLI allows "data-level interoperability" because every
|
||||
language/component uses the same data layout and memory management.
|
||||
|
||||
This means you can operate directly upon the data types that someone
|
||||
This means you can operate directly upon the datatypes that someone
|
||||
else provides, without having to go via their interfaces. It also
|
||||
means you don't have to "marshal" (convert) parameters (data
|
||||
means you don't have to "marshall" (convert) parameters (data
|
||||
layouts are the same, so you can just pass components directly) and
|
||||
you don't have to worry about memory management, because all
|
||||
you don't have to worry about memory managment, because all
|
||||
languages/components share the same garbage collector and address
|
||||
space. This means much less copying and no need for reference
|
||||
counting.
|
||||
@@ -1162,70 +1134,48 @@ Q: Will Ximian offer certifications on Mono or related technologies?.
|
||||
|
||||
A: It's possible. But there is no plan about this. So the short answer is no.
|
||||
|
||||
Q: Are there any Boehm's GC binaries?
|
||||
Q: Are there any Boehm's gc binaries?
|
||||
|
||||
A: Yes. You can find RPMs <a href="http://java.thn.htu.se/~toor/">here</a>, though
|
||||
if your distribution provides the correct packages, you should use those.
|
||||
The suggested version of the Boehm GC is 6.1.
|
||||
A: Yes. You can find them <a href="http://java.thn.htu.se/~toor/">here</a>
|
||||
|
||||
Q: I have get into trouble when trying to build the site in my Linux box, what
|
||||
can I do?.
|
||||
|
||||
A: Try to change the line "./mono-rss.exe ../index deploy/index.rss" for
|
||||
"mono ./mono-rss.exe ../index deploy/index.rss"
|
||||
|
||||
Q: How can I report a bug?
|
||||
|
||||
A: The best thing is to track down the bug and provide a simple test to
|
||||
reproduce the bug. You can then add the bug to the
|
||||
<a href="http://bugzilla.ximian.com/enter_bug.cgi">bugtracking system</a>.
|
||||
|
||||
Please provide information about what version of mono you're using
|
||||
and any relevant details to be able to reproduce the bug. Note that
|
||||
bugs reported on the mailing-list may be easily forgotten, so it's
|
||||
better to file them in the <a href="http://bugzilla.ximian.com/enter_bug.cgi">bug tracking system</a>.
|
||||
reproduce the bug. You can then add the bug to bugzilla:
|
||||
http://bugzilla.ximian.com/enter_bug.cgi or simply send it to
|
||||
[email protected].
|
||||
|
||||
Q: Does mcs support the same command line options as the MS C#
|
||||
compiler?
|
||||
|
||||
A: The Mono C# compiler now supports the same command line
|
||||
A: The Mono C# compiler on CVS now supports the same command line
|
||||
arguments as the Microsoft C# compiler does.
|
||||
|
||||
Q: I am thinking about making a VS.NET solution and include as
|
||||
projects both the library and the System.Xml.dll project
|
||||
file: is that the best way (sure at the beginning, when the
|
||||
compiler was not self hosting, you made something similar...)?
|
||||
|
||||
A: Jason and Krall did check in VS.NET files that you can use
|
||||
to compile our System.XML and even to run the System.XML tests
|
||||
(which is way cool, and way simple).
|
||||
|
||||
Q: How about getting searchable archives on lists.ximian.com?
|
||||
|
||||
A: You can perform a search on the mono-related mailing lists
|
||||
<a href="http://www.go-mono.com/mailing-lists.html">here</a>.
|
||||
A: You mean like http://www.go-mono.com/mailing-lists.html?
|
||||
|
||||
Q: When using mono from cvs or from a snapshot, I get an error messaage
|
||||
saying that Mono and the runtime are out of sync. How do I fix that?
|
||||
Q: I downloaded the lastest snapshot and did a make and make install on
|
||||
mono which ran normal but when I tried to do the same with mcs it
|
||||
errored out with a message saying Mono and Runtime out of sync.
|
||||
|
||||
A: If you use mono from cvs, you need to be prepared for changes in the
|
||||
runtime internals. This means that you should keep a working setup
|
||||
before blindling updating (a working setup may just be the last released
|
||||
tarball or a recent binary snapshot).
|
||||
Usually, compiling corlib with mcs before recompiling the C runtime does
|
||||
the right thing (but occasionally you may need to do it the other
|
||||
way around).
|
||||
A: You need to compile first the class libraries and install them with your
|
||||
existing compiler and then the runtime.
|
||||
|
||||
Q: Why are you going for a GtkHtml implementation?
|
||||
|
||||
A: GtkHTML is just a lightweight HTML rendering engine that does not
|
||||
support CSS, so we need it to look decent for those of us that will
|
||||
be using the documentation in our day-to-day work on Linux. The
|
||||
Web-based interfaces lack the agility that you get from a native GUI
|
||||
tool to browse your documentation. Probably later on, we will write
|
||||
scripts and generate a full documentation set that is web-browsable,
|
||||
but we need a command-line and GUI tools that we can use natively on
|
||||
Linux when disconnected from the Web (and that has better
|
||||
interactions than a web page).
|
||||
|
||||
Q: Is there a command-line tool that allows me to access .NET interactively?
|
||||
|
||||
A: There are several but one that is free software and uses MCS is the one
|
||||
Dennis Lu from Rice University is working on; a REPL C# interpreter.
|
||||
|
||||
Q: Is it possible to use Visual C++ with Mono?.
|
||||
|
||||
A: Well, It's possible to run VC++ generated apps under Mono though.
|
||||
|
||||
<a name="problems"></a>
|
||||
** Mono Common Problems
|
||||
|
||||
If you are having problems compiling or running Mono software
|
||||
or if you think that you found a bug, etc. Please visit the
|
||||
<a href="http://geneura.ugr.es/~jaime/deploy/mono-common-problems.html">Mono Common Problems</a> document and try there.
|
||||
|
||||
-100
@@ -1,100 +0,0 @@
|
||||
* Firebird and Interbase Data Provider
|
||||
|
||||
<ul>
|
||||
<li>Does not exist in Mono, but is a separate project</li>
|
||||
|
||||
<li><a href="http://firebird.sourceforge.net/index.php">Firebird Relational Database</a> is
|
||||
an independent project which uses source code based on the Interbase source code released
|
||||
by Borland under the Interbase Public License</li>
|
||||
|
||||
<li>Both the Firebird Relational Database and the Firebird .NET Data Provider can be
|
||||
downloaded from <a href="http://sourceforge.net/projects/firebird/firebird">here</a></li>
|
||||
|
||||
<li>The Firebird .NET Data provider has been made
|
||||
available by Carlos Guzmán Álvarez (aka "Carlos G.A."), who has also made a
|
||||
number of contributions to the OdbcJdbc code</li>
|
||||
|
||||
</ul>
|
||||
|
||||
* Current Status
|
||||
|
||||
<ul>
|
||||
<li>Currently, it is able to connect to Firebird and Interbase databases
|
||||
and execute commands</li>
|
||||
|
||||
<li>The new data
|
||||
provider/driver is written in C# and provides a high-performance native
|
||||
implementation of the GDS32/API functions. This means that .Net developers
|
||||
will be able to access Firebird databases without the need of Firebird
|
||||
client install</li>
|
||||
|
||||
<li>In support of the new module, a new mailing list
|
||||
<a href="http://lists.sourceforge.net/lists/listinfo/firebird-net-provider">firebird-net-provider</a> has
|
||||
been created. Please use this list for any
|
||||
questions that you may have about the provider</li>
|
||||
|
||||
<li>Stuff that works:
|
||||
<ul>
|
||||
<li>Currently implemented classes:
|
||||
<ul>
|
||||
<li>Connection and Connection Pooling</li>
|
||||
<li>Command</li>
|
||||
<li>Transaction</li>
|
||||
<li>CommandBuilder</li>
|
||||
<li>DataAdapter</li>
|
||||
<li>DataReader</li>
|
||||
<li>Error</li>
|
||||
<li>ErrorCollection</li>
|
||||
<li>Exception</li>
|
||||
<li>Parameter</li>
|
||||
<li>ParameterCollection</li>
|
||||
<li>Transaction</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
* Action Plan
|
||||
|
||||
<ul>
|
||||
<li>Bug fixing</li>
|
||||
<li>Improving API reference documentation</li>
|
||||
<li>Full testing with Firebird 1.5</li>
|
||||
<li>Test with Mono ( http://www.go-mono.com )
|
||||
<ul>
|
||||
<li>Status : Started</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>Support for array datatype
|
||||
<ul>
|
||||
<li>Status : Started</li>
|
||||
<li>Comments: See Interbase API reference documentation</li>
|
||||
<li>Add new file FbArray.cs for array fields management</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>Support for Stored Procs calls that have returns values
|
||||
<ul>
|
||||
<li>Status : Pending.</li>
|
||||
<li>Comments: Modify the isc_dsql_prepare method of GDS implementation for
|
||||
allow to return the output parameters.</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>Implementation of FbClientPermission and FbClientPermissionAttribute
|
||||
<ul>
|
||||
<li>Status : Pending</li>
|
||||
<li>Comments: See if these are really needed for Firebird</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>Improve Logger implementation
|
||||
<ul>
|
||||
<li>Status: Pending</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -1,21 +0,0 @@
|
||||
* Gtk#
|
||||
|
||||
<a href="http://gtk-sharp.sourceforge.net">Gtk#</a> (Gtk
|
||||
sharp) is a set of C# language bindings for the
|
||||
<a href="http://www.gtk.org">Gtk+</a> toolkit and other
|
||||
libraries that are part of the <a
|
||||
href="http://www.gnome.org">GNOME</a> platform .
|
||||
|
||||
** API of Gtk#
|
||||
|
||||
The API is browsable
|
||||
<a
|
||||
href="http://primates.ximian.com/~tvgm/gtk-sharp-docs/">here</a>
|
||||
|
||||
** Where to learn more.
|
||||
|
||||
Visit the official site for the <a
|
||||
href="http://gtk-sharp.sourceforge.net">Gtk# Project</a>.
|
||||
The <a href="http://www.go-mono.org/faq">Mono FAQ</a> has some useful
|
||||
information too.
|
||||
|
||||
@@ -13,14 +13,6 @@ Some of them may start contributing because they want a mention in the
|
||||
|
||||
* Mono Hackers
|
||||
|
||||
** Sergey Chaban
|
||||
|
||||
Sergey has been a long time contributor to the project, from the early
|
||||
work on the class libraries that were critical to Mono's origin: every
|
||||
time you use a Hashtable in Mono, it runs Sergey's code, to the
|
||||
low-level optimizations on the JIT engine and to his work on ILASM and
|
||||
the PEToolkit. And countless other things.
|
||||
|
||||
** Nick Drochak
|
||||
|
||||
The first, deserved, entry in the <b>Mono Hackers Hall Of Fame</b> is for
|
||||
|
||||
@@ -5,17 +5,12 @@
|
||||
<td>
|
||||
<a href="http://www.ximian.com">Ximian</a> announced the
|
||||
launch of the Mono project, an effort to create an open source
|
||||
implementation of the .NET Development Framework.
|
||||
implementation of the .NET Development Framework.
|
||||
|
||||
Mono includes: <a href="c-sharp.html">a compiler</a> for the
|
||||
C# language, a <a href="runtime.html">runtime</a> for the
|
||||
Common Language Infrastructure (also referred as the CLR) and a
|
||||
set of <a href="class-library.html">class libraries</a>. The
|
||||
runtime can be <a href="embedded-api.html">embedded</a> into your
|
||||
application.
|
||||
|
||||
Mono has implementations of both <a href="ado-net">ADO.NET</a>
|
||||
and <a href="asp-net">ASP.NET</a> as part of its distribution.
|
||||
Common Language Infrastructure (the CLR) and a set of <a
|
||||
href="class-library.html">class libraries</a>.
|
||||
|
||||
You can read our <a href="rationale.html">rationale</a> for
|
||||
this project. If you have questions about the project, please
|
||||
@@ -37,11 +32,6 @@
|
||||
</td>
|
||||
<td>
|
||||
<table border=1>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<b><center>Mono Status</center></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b><a href="c-sharp.html">C# Compiler</a></b>
|
||||
@@ -65,9 +55,8 @@
|
||||
</td>
|
||||
<td>
|
||||
Working:<br>
|
||||
Linux/x86, Linux/PPC, S390<br>
|
||||
In progress:<br>
|
||||
StrongARM, SPARC.
|
||||
Linux/x86, Linux/PPC<br>
|
||||
In progress: StrongARM, SPARC.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -75,7 +64,7 @@
|
||||
<b><a href="class-status.html">Classes</a></b>
|
||||
</td>
|
||||
<td>
|
||||
All assemblies compile.
|
||||
Corlib is self hosting.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -91,500 +80,17 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@item Jan 10th, 2003: Mono Weekly News.
|
||||
<b>Mono Talks:</b>
|
||||
|
||||
A new issue of the <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2003-January/004903.html">Mono
|
||||
Weekly News</a> has been published.
|
||||
<b>Valencia</b>: August 8th.
|
||||
|
||||
Check out the <a href="crypto.html">Crypto status</a> page
|
||||
that Sebastien has put together.
|
||||
|
||||
@item Jan 3rd, 2003: Glade#, Code Coverage, Apache, MBas, Debugger.
|
||||
|
||||
Rachel has made Glade# use attributes so binding C# widgets to
|
||||
the designed widgets is now easier than ever. Alp has
|
||||
improved this to use implicit names as well.
|
||||
|
||||
Martin's Mono debugger now has support for multi-thread
|
||||
debugging. Special feature: breakpoints can be defined in a
|
||||
per-thread basis now.
|
||||
|
||||
Daniel López has checked in his Apache module to integrate
|
||||
Mono and Mono's ASP.NET support as an Apache module. Gonzalo
|
||||
has folded his new Mono hosting classes into this module (they
|
||||
are now shared between XSP and mod_mono). You can get the
|
||||
mod_apache from CVS (module name: mod_mono).
|
||||
|
||||
Mono Basic improvements: Marco has added support for more
|
||||
statements on the grammar.
|
||||
|
||||
Zoltan has <a href="http://www.nexus.hu/vargaz2/">posted</a>
|
||||
his Code Coverage analysis tool for Mono.
|
||||
|
||||
@item Dec 17th, 2002: Mono: Commercial uses.
|
||||
|
||||
<a href="http://www.tipic.com">Tipic</a> today <a
|
||||
href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=tipic_mono">announced</a>
|
||||
their work on porting their Instant Messaging Server platform
|
||||
to run on Mono.
|
||||
|
||||
<a href="http://www.winfessor.com">Winfessor</a> also <a
|
||||
href="http://www.winfessor.com/press.asp">announced</a> the
|
||||
availability of their Jabber SDK to run on Mono.
|
||||
|
||||
Also two weeks ago we mentioned <a
|
||||
href="http://www.openlinksw.com">OpenLink Software's</a> <a
|
||||
href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=openlink_mono">announcement</a>
|
||||
of their product, also using Mono.
|
||||
|
||||
@item Dec 10th, 2002: Gtk# 0.6 released; Mono 0.17 packages for Windows and Debian.
|
||||
|
||||
Mike Kestner <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-December/003961.html">announced
|
||||
Gtk# 0.6</a>. This new release includes many new features and
|
||||
bug fixes, and is the perfect companion to the <a
|
||||
href="archive/mono-0.17">Mono 0.17</a> release.
|
||||
|
||||
Johannes has contributed a Windows-ready package of Mono 0.17,
|
||||
and its available from our <a
|
||||
href="download.html">download</a> page.
|
||||
|
||||
Alp Toker has <a href="http://www.atoker.com/mono/">Debian packages</a>
|
||||
|
||||
@item Dec 9th, 2002: Mono 0.17 has been released
|
||||
|
||||
Mono 0.17 has been released. Check out the <a
|
||||
href="archive/mono-0.17">release notes</a> for a more detailed
|
||||
list. You can get it <a href="download.html">here</a>.
|
||||
|
||||
Many new features as well as plenty of bug fixes. Many new
|
||||
System.Data providers and a more mature System.Web (ASP.NET)
|
||||
which can now be hosted in any web server. A simple <a
|
||||
href="archive/xsp-0.2.tar.gz">test web server</a> to host
|
||||
asp.net has been released as well.
|
||||
|
||||
This version also integrates Neale's s390 port.
|
||||
|
||||
This release also includes a new exception handling system
|
||||
that uses the gcc exception information that vastly improves
|
||||
our internalcall speed (15% faster mcs compilation times).
|
||||
|
||||
@item Dec 8th, 2002: VB.NET, Oracle Provider.
|
||||
|
||||
Marco has got the Mono Basic compiler up to speed (support for
|
||||
classes, modules, expressions, object creation, method
|
||||
invocation, local variables, and some statements). The
|
||||
compiler is based on the work from Rafael Teixeira on MCS.
|
||||
|
||||
Screenshots: <a
|
||||
href="http://modgb.sourceforge.net/monobasic_snap.png">in
|
||||
Windows doing Windows.Forms</a> and in Linux doing <a
|
||||
href="images/gtk-vb.png">VB with Gtk#</a> (courtesy of Alp).
|
||||
|
||||
Daniel Morgan has checked in his Oracle provider to the CVS
|
||||
repository as well.
|
||||
|
||||
@item Nov 27th, 2002: Press release, tutorials, Windows Forms, ADO.NET, Magazine.
|
||||
|
||||
<a
|
||||
href="http://www.business2.com/articles/mag/0,1640,45454,FF.html">The
|
||||
Penguin Takes Flight</a>: an article written by Erick
|
||||
Schonfeld appears on the December issue of <a
|
||||
href="http://www.business2.com/">Business 2.0</a> magazine.
|
||||
|
||||
<a href="http://www.openlinksw.com">OpenLink</a> and <a
|
||||
href="http://www.ximian.com">Ximian</a> made <a
|
||||
href="http://www.ximian.com/about_us/press_center/press_releases/index.html?pr=openlink_mono">joint
|
||||
announcement</a> on the plans of OpenLink to ship their <a
|
||||
href="http://www.openlinksw.com/virtuoso/index.htm">Virtuoso</a>
|
||||
server on Unix using Mono.
|
||||
|
||||
Martin Willemoes's <a href="gnometutorial">GNOME.NET
|
||||
tutorial</a> is now available from the main Mono site. This
|
||||
tutorial is a collaborative effort to teach developers how to
|
||||
use Mono to create Mono applications using <a href="http://gtk-sharp.sf.net">Gtk#</a>
|
||||
|
||||
Dennis Hayes has posted and <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-December/003800.html">update</a>
|
||||
on the work to get Windows.Forms working on Mono. There is a
|
||||
new test application that people can use to test their
|
||||
controls. If you are interested in working on Windows.Forms,
|
||||
you can participate in the <a
|
||||
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mono-winforms
|
||||
mailing list</a>
|
||||
|
||||
Brian Ritchie has been working on an ADO.NET <a
|
||||
href="http://brianritchie.webhop.net/ideas/adocodegen.aspx">data
|
||||
layer</a> and an <a
|
||||
href="http://brianritchie.webhop.net/ideas/appserver.aspx">application
|
||||
server</a> for Mono.
|
||||
|
||||
Dan Morgan has checked in his Oracle provider, and Tim Coleman
|
||||
continues to work on the TDS implementation of the data classes.
|
||||
|
||||
The rest of the team has been working on bug fixing in the
|
||||
runtime, the compiler, and the class libraries. Also,
|
||||
compilation speed has increased recently by performing a
|
||||
number of simple optimizations in the compiler.
|
||||
|
||||
@item Nov 19th, 2002: Crypto update; Books; Gtk# Datagrid; .NET ONE Slides
|
||||
|
||||
Sebastien has got DSA and RSA signatures <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003497.html">working</a>
|
||||
as well as RSA <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003502.html">encryption</a>.
|
||||
We now distribute Chew Keong TAN's BigInteger classes.
|
||||
|
||||
Brian has contributed a System.Data multiplexor in Mono, it
|
||||
can be found in the Mono.Data assembly. The details of this
|
||||
new technology are <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003400.html">here</a>.
|
||||
It works in Mono and the .NET Framework.
|
||||
|
||||
Larry O'Brien has announced the candidate book for <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003500.html">
|
||||
Thinking in C#</a>. The book is Mono-friendly.
|
||||
|
||||
Another book that covers mono (available in German only) is <a
|
||||
href="http://www.databecker.de/frames.php?PHPSESSD=4948515556575049525459495248485949485348&PHPSESSID=6cc68dbcfbcbacd7b82a984b0700d5d6&t=2">
|
||||
here</a>.
|
||||
|
||||
Dan Morgan has implemented a DataGrid widget for Gtk#, you can
|
||||
see Windows screenshots for it <a
|
||||
href="images/GtkSharpDataGridScreenshot.png">here</a> and <a
|
||||
href="images/SqlSharpGtkScreenshot4.png">here</a>.
|
||||
|
||||
Slides from the Mono developers for the .NET ONE conference are available now:
|
||||
<ul>
|
||||
<li><a
|
||||
href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/DotNetOneKeynote.sxi">
|
||||
Mono Keynote presentation</a>
|
||||
|
||||
<li><a href="http://primates.ximian.com/~lupus/slides/embed/">Hosting the Mono Runtime</a><br>
|
||||
The simple embedding of Mono in Perl is available <a
|
||||
href="http://primates.ximian.com/~lupus/slides/embed/Mono-0.01.tar.gz">here</a>
|
||||
|
||||
<li><a href="http://primates.ximian.com/~lupus/slides/jit/">The Mono JIT compiler</a>
|
||||
|
||||
<li><a href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/Mono_C_Sharp_Overview_1007.sxi">
|
||||
Mono C# Compiler Overview</a>
|
||||
</ul>
|
||||
|
||||
A couple of other presentations from Miguel's trip to Europe
|
||||
are available <a
|
||||
href="http://primates.ximian.com/~miguel/slides-europe-nov-2002/">here</a>
|
||||
in Open Office file format.
|
||||
|
||||
@item Nov 8th, 2002: Mono s390, Database work, new JIT updates.
|
||||
|
||||
Neale Ferguson has contributed <a href="download.html">RPM
|
||||
packages</a> of Mono for the Linux/s390.
|
||||
|
||||
Tim Coleman posted an <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003329.html">update</a>
|
||||
on the improvements in the System.Data
|
||||
|
||||
The new JIT engine can run 72 out of our 154 tests for the
|
||||
virtual machine, and it also got exception support this week.
|
||||
|
||||
@item Nov 1st, 2002: TDS, Crypto, Gtk#, Winforms, bug fixes.
|
||||
|
||||
Tim's SqlClient is <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-November/003161.html">now
|
||||
capable</a> of communicating with the Microsoft SQL server
|
||||
using the TDS protocol. A screenshot showing a sample client
|
||||
running with <a href="http://gtk-sharp.sf.net">Gtk#</a> on
|
||||
Windows is shown <a
|
||||
href="images/SqlSharpGtkSceenshot3.png">here</a>
|
||||
|
||||
Sebastien has made all symetric ciphers functional on all
|
||||
supported modes; All the classes in Security.Cryptography are
|
||||
present and the X590 certificates are now in too. Jackson has
|
||||
been working on the Security classes.
|
||||
|
||||
Many bug fixes all over the place: class libraries (Dick,
|
||||
Piers, Ville, Zoltan, Gonzalo, Dan, Atsushi, Nick, Phillip),
|
||||
compiler, runtime engine. A big thank goes for everyone who
|
||||
has been providing bug reports for us to track down.
|
||||
|
||||
Gaurav has been working on multiple WebControls. Gonzalo migrated
|
||||
the ASP.NET engine to use POST for interaction.
|
||||
|
||||
In the Gtk# land saw the integration of gda, gnome-db and GStreamer
|
||||
bindings.
|
||||
|
||||
Windows.Forms classes now build on Linux and Windows, check
|
||||
out the status pages for areas of collaboration.
|
||||
|
||||
@item Oct 24th, 2002: S390 support, XSP/ASP.NET, Win32 contributors, TDS.
|
||||
|
||||
Today Neal Ferguson's support for the IBM S390 was checked
|
||||
into CVS.
|
||||
|
||||
The XSP processor has been fully integrated into the
|
||||
System.Web assembly, and Gonzalo has finished the hosting
|
||||
interfaces in Mono. This means that it is possible to embed
|
||||
ASP.NET with the same APIs used in Windows, and is possible to
|
||||
easily embed it with Apache for example. The XSP module has
|
||||
now become a shell for testing the System.Web classes.
|
||||
|
||||
We are looking for contributors that know Win32 to contribute
|
||||
to the Windows.Forms implementation. If you want to help
|
||||
write some controls using the Win32 API, get in touch with our new <a
|
||||
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">[email protected]
|
||||
list</a> mailing list.
|
||||
|
||||
Tim's TDS System.Data set of classes can now talk to SQL
|
||||
servers using the TDS protocol (version 4.2) with
|
||||
connection pooling. Currently it can connect, run
|
||||
transactions, update/insert/delete, and read some types. A
|
||||
data adapter is also coming soon.
|
||||
|
||||
@item Oct 21th, 2002: Crypto, Winforms list, Database, GConf, Debugger.
|
||||
|
||||
Sebastien Poliot has made a lot of progress, he reports that
|
||||
DES and TripleDES have been fixed; Rijndael and CFB modes
|
||||
still have problems in some configurations and some areas that
|
||||
are not supported by the .NET framework.
|
||||
|
||||
Last week we created a new <a
|
||||
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mailing
|
||||
list</a> to discuss the Mono Winforms implementation.
|
||||
|
||||
Tim has started a full C# implementation of the TDS protocol
|
||||
and the providers, and Brian continues his work on his ODBC
|
||||
binding.
|
||||
|
||||
Rachel Hestilow has also checked in a binding for GConf. This
|
||||
binding <a
|
||||
href="http://toxic.magnesium.net/~hestilow/gconfsharp/intro.html">is
|
||||
unique</a> in that it uses some features in the CLI to support
|
||||
complex data types, and allows the user to keep only one
|
||||
representation of the types instead of two (the master types
|
||||
is defined in CLI-land). Also Property Editors (<a
|
||||
href="http://primates.ximian.com/~miguel/shots/gconf-shot.png">shot</a>)
|
||||
simplify the creation of user interfaces that bind their
|
||||
configuration to backend keys, following the <a
|
||||
href="http://developer.gnome.org/projects/gup/hig/1.0/">GNOME
|
||||
Human Interface Guidelines.</a>
|
||||
|
||||
Martin is now on vacation, but before leaving he produced a
|
||||
number of documents detailing the state of the debugger. The
|
||||
major missing feature is full support for debugging unmanaged
|
||||
applications (it requires dwarf-2 handlers for types). We
|
||||
will do some polishing of the user interface (<a
|
||||
href="http://primates.ximian.com/~miguel/shots/debugger-4.png">new
|
||||
shot</a>) to expose the existing and rich functionality to the
|
||||
users and try to release a preview of the debugger at the same
|
||||
time as Mono 0.17.
|
||||
|
||||
@item Oct 14th, 2002: Crypto, Database work, Debugger, Documentation.
|
||||
|
||||
Brian, Daniel and Rodrigo have been busy working on the ODBC
|
||||
provider for Mono. Daniel posted some <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-October/002755.html">updates</a>.
|
||||
Brian posted <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-October/002758.html">details
|
||||
about the ODBC.NET</a> provider.
|
||||
|
||||
Also Sebastien Pouliot has been improving the various
|
||||
cryptographic classes in Mono, something that we had not done
|
||||
in quite some time. We are looking for a way to handle
|
||||
big-nums. We need either a managed or unmanaged set of
|
||||
classes for handling large numbers, and some volunteers to
|
||||
expose this functionality to C# (Either as an internal
|
||||
assembly, or as a set of P/Invoke, Internal call wrappers).
|
||||
|
||||
Martin has got our debugger to support adding breakpoints at
|
||||
file/line combos. This was more complex than generic
|
||||
breakpoints in routines, because these breakpoints are set on
|
||||
routines that probably have not been JITed just yet. Martin's
|
||||
focus now is on stabilizing our debugger and aim for a public
|
||||
release of it.
|
||||
|
||||
We have also imported the ECMA documentation into a separate
|
||||
module, and with the help from Scott Bronson we will have the
|
||||
necessary XSLT tools to finish our native documentation
|
||||
browser for Mono. This together with the work from Adam will
|
||||
be the foundation for the <a href="classlib-doc.html">Mono
|
||||
Documentation Tools</a>.
|
||||
|
||||
@item Oct 9th, 2002: Various Mono updates.
|
||||
|
||||
Brian Ritchie, Daniel Morgan, Rodrigo Moya and Ville Palo have
|
||||
been working on various database providers. The MySQL has
|
||||
seen a lot of work, and a new ODBC provider is now on CVS and
|
||||
more extensive regression tests have been checked in.
|
||||
|
||||
Dick Porter is our background hero and keeps fixing the
|
||||
low-level bugs in the portability layer. Now the Mono handle
|
||||
daemon should be a lot more robust and will no longer leave IPC
|
||||
regions. Gonzalo Paniagua has initiated the migration of XSP
|
||||
into the System.Web class libraries now that we have a
|
||||
complete HttpRuntime implementation. This means that you are
|
||||
able to embed the ASP.NET processor into any web server you
|
||||
want. This also includes support for the system-wide
|
||||
configuration file `machine.config'.
|
||||
|
||||
Martin Baulig has been busy with the Mono Debugger, you can see how
|
||||
it looks <a
|
||||
href="http://primates.ximian.com/~miguel/debugger-1.png">here</a>
|
||||
and <a
|
||||
href="http://primates.ximian.com/~miguel/debugger-2.png">here</a>.
|
||||
Now local variables and breakpoints are supported, and we are
|
||||
working on the UI elements to simplify their use (as seen on
|
||||
the screenshot).
|
||||
|
||||
<a href="http://gtk-sharp.sf.net">Gtk#</a> has seen a lot of
|
||||
activity specially as we start to build larger applications.
|
||||
Vladimir Vukicevic, Kristian Rietveld, Rachel Hestilow, Mike
|
||||
Kestner and Miguel de Icaza have been busy improving it.
|
||||
mPhoto which is a Photo management application for Mono and
|
||||
Gtk# is seen <a
|
||||
href="http://primates.ximian.com/~miguel/shots/mphoto-2.jpg">here</a>.
|
||||
|
||||
Chris Toshok the man behind LDAP in Evolution continues to
|
||||
work on the Mono.LDAP# implementation.
|
||||
|
||||
Dietmar Maurer and Paolo Molaro are still busy working on our
|
||||
new optimized JIT/ATC engine and are making great progress.
|
||||
The code base has been designed to ease the implementation of
|
||||
more advanced compiler optimizations, and optimizations can be
|
||||
chosen individually so they can be tuned for a particular
|
||||
processor, or use profile-based information to improve the
|
||||
performance.
|
||||
|
||||
@item Oct 1st, 2002: Mono 0.16 released; Debugger updates.
|
||||
|
||||
Mono 0.16 has been released. Source and RPMs are <a
|
||||
href="download.html">available</a>. The release notes are <a
|
||||
href="archive/mono-0.16">here</a>.
|
||||
|
||||
Martin's debugger can debug both managed and unmanaged code.
|
||||
Recently Martin added support for locals, parameters, and
|
||||
breakpoints on top of the existing infrastructure (his
|
||||
debugger supported instruction-level and source-code level
|
||||
single-stepping).
|
||||
|
||||
@item Sep 19th, 2002: Mono Survey.
|
||||
|
||||
Help us plan for the future of Mono by filing out the <a
|
||||
href="http://primates.ximian.com/~miguel/monosurvey">First Mono
|
||||
Survey</a>
|
||||
|
||||
@item Sep 17th, 2002: Mono Hackers Hall of Fame: Sergey Chaban
|
||||
|
||||
The <a href="hackers.html">Mono Hackers Hall Of Fame</a>
|
||||
continues to show our appreciation to the excellent
|
||||
contributors that made <b>mono::</b> a successful free
|
||||
software project.
|
||||
|
||||
This time the Hall of Fame welcomes Sergey Chaban. Sergey has
|
||||
been a long time contributor to the project, from the early
|
||||
work on the class libraries that were critical to Mono's
|
||||
origin: every time you use a Hashtable in Mono, it runs
|
||||
Sergey's code, to the low-level optimizations on the JIT
|
||||
engine and to his work on ILASM and the PEToolkit.
|
||||
|
||||
|
||||
@item Sep 16th, 2002: Documentation Tools, ILASM, Debugger, Mono LDAP, Winforms
|
||||
|
||||
Adam Treat has started moving the documentation universe again. We
|
||||
have a new strategy to document our APIs (given that we have
|
||||
chosen <a href="classlib-doc.html">not to document the code
|
||||
inline</a>). This includes the use of a master reference file
|
||||
that will hold the entry points to document. All master files
|
||||
for our assemblies have been checked into CVS now.
|
||||
|
||||
Sergey Chaban's Mono.PEToolkit and ILASM tools have been
|
||||
checked into CVS. Although ILASM is old and will soon be
|
||||
updated, we wanted to get the build issues sorted out.
|
||||
|
||||
Martin Baulig's Mono Debugger is still on its early stages,
|
||||
but you can run and run step by step your C# code and C code
|
||||
(including the Mono runtime). Dwarf-2 is required to compile
|
||||
your code. The regular step, step-into, and assembly-level
|
||||
step and step-into are supported. And comes with a Gtk#
|
||||
UI. The debugger is written mostly in C# with some C glue
|
||||
code. Most of the work is on the engine, we will be working
|
||||
on making a good UI in the future.
|
||||
|
||||
Chris Toshok of the Hungry Programmer's fame has checked in
|
||||
Mono.Directory.LDAP, a C# wrapper for the LDAP libraries.
|
||||
This is the substrate for implementing the
|
||||
System.DirectoryServices assembly.
|
||||
|
||||
Andrew has also continued with some of the cryptographic
|
||||
classes implementation.
|
||||
|
||||
After much public debate, we have chosen a new <a
|
||||
href="winforms.html">strategy to implement winforms</a>.
|
||||
Implementing a Gtk, Qt or Aqua based version of Winforms was
|
||||
going to be almost as complex as implementing Wine itself. So
|
||||
the new strategy is to only roll out a WineLib-based
|
||||
implementation.
|
||||
|
||||
@item Sep 4th, 2002: .NET One 2002 Program available
|
||||
|
||||
The <a
|
||||
href="http://www.sigs-datacom.de/sd/kongresse/dotnet_2002/index.htm">.NET
|
||||
ONE 2002</a> conference in Frankfurt is now available. Paolo
|
||||
will be talking about the Mono JIT and embedding the Mono
|
||||
runtime in your Windows and Linux applications. Mike Kestner
|
||||
will talk about <a href="http://gtk-sharp.sf.net">Gtk#</a> and
|
||||
the automatic binding generator used by Gtk# and Miguel will
|
||||
be talking about the Mono project on Monday's keynote and on
|
||||
the Mono C# compiler on Tuesday.
|
||||
|
||||
@item Sep 3rd, 2002: Apache integration
|
||||
|
||||
<a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-September/001862.html">Sterling</a>
|
||||
announced an Apache module that hosts
|
||||
Mono, and allows CIL code to run from within Apache, giving the
|
||||
module access to the Apache runtime. This uses the Mono embedding
|
||||
API.
|
||||
|
||||
@item Aug 24th, 2002: Gtk# 0.4 released
|
||||
|
||||
Shortly after <a href="download.html">Mono 0.15</a> was
|
||||
released a fresh version of <a
|
||||
href="http://gtk-sharp.sf.net">Gtk#</a> was <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-August/001702.html">announced</a>.
|
||||
|
||||
@item Aug 23rd, 2002: Mono 0.15 released
|
||||
|
||||
Mono 0.15 has been released. Source and RPMs are <a
|
||||
href="download.html">available</a>. The release notes are <a
|
||||
href="archive/mono-0.15">here</a>
|
||||
|
||||
@item Aug 21th, 2002: Portable.NET encodings integrated into Mono.
|
||||
|
||||
Rhys Weatherley has contributed the Portable.NET encoders to
|
||||
the Mono class libraries. This is a great step towards
|
||||
cooperation between these projects. Thanks to Paolo for doing the
|
||||
merger on our side.
|
||||
|
||||
His encoders are more complete than the iconv-based approach
|
||||
that mono used, which was unreliable under certain
|
||||
circumstances.
|
||||
|
||||
@item Aug 20th, 2002: Remoting work, Resources, SPARC checkins, ADO.NET
|
||||
<b>Hong Kong:</b> August 10th. If you live in Hong
|
||||
Kong, come see Duncan Mak talk about the Mono project.
|
||||
Details are <a
|
||||
href="http://linux.org.hk/org/event/200208-talk/">here</a>
|
||||
|
||||
<b>San Francisco</b>: August 14th. Linux World Expo.
|
||||
|
||||
Mark Crichton has checked in his patches to get the SPARC port
|
||||
on par with the PPC port.
|
||||
|
||||
Dick has checked-in the resource reader and resource writers
|
||||
to the class libraries, and Dietmar checked in the C# support
|
||||
code for the remoting infrastructure.
|
||||
|
||||
More work on System.Data: the LibGDA (our OleDB backend) based
|
||||
providers are quickly maturing, and recently they executed
|
||||
their first query.
|
||||
|
||||
@item Aug 13th, 2002: MCS news, Gtk# progress, Windows.Forms, ADO.NET
|
||||
|
||||
Martin Baulig has been fixing all the known bugs in the C#
|
||||
@@ -673,7 +179,7 @@
|
||||
an update</a> on the ASP.NET widgets that are still pending. Patrik is back, and he is
|
||||
working with Gonzalo to streamline the pipeline
|
||||
|
||||
Rachel quietly committed to Gtk-Sharp support for marshaling
|
||||
Rachel quietly commited to Gtk-Sharp support for marshaling
|
||||
structures (very important for Gtk#). This uses extensively
|
||||
the new marshaling code that Dietmar added to the runtime.
|
||||
|
||||
@@ -716,7 +222,7 @@
|
||||
|
||||
@item Jul 20th, 2002: Spanish Mono Tutorial.
|
||||
|
||||
A Spanish tutorial on using Mono is <a
|
||||
A spanish tutorial on using Mono is <a
|
||||
href="http://mono.es.gnome.org/tutoriales/mono-linux/">here</a>.
|
||||
Also the <a
|
||||
href="http://mono.es.gnome.org/tutoriales/mono-puf/">FAQ</a>
|
||||
@@ -755,7 +261,7 @@
|
||||
|
||||
Sergey Chaban has got Gtk# working on Windows, you can see
|
||||
some screenshots: <a href="sshots/Gtksharp-1.jpg">sample apps</a> and
|
||||
<a href="sshots/Gtksharp-2.jpg">running with a Russian charset</a>.
|
||||
<a href="sshots/Gtksharp-2.jpg">running with a russian charset</a>.
|
||||
|
||||
@item Jul 16th, 2002
|
||||
|
||||
@@ -787,7 +293,7 @@
|
||||
run the compiler on Linux.
|
||||
|
||||
* Martin fixed the remaining bugs in the compiler that stopped it from
|
||||
compiling the `corlib'. The resulting image still contained errors though.
|
||||
compiling the `corlib'. The resuling image still contained errors though.
|
||||
|
||||
* On July 8th, Radek got the PowerPC port to bootstrap
|
||||
the C# compiler. This is important, because it exposed
|
||||
@@ -935,11 +441,11 @@
|
||||
bindings, that should simplify application development.
|
||||
|
||||
A big thanks goes to Dennis Hayes for getting the
|
||||
Windows.Forms work together, and committing so many stubs for Windows.Forms.
|
||||
Windows.Forms work together, and commiting so many stubs for Windows.Forms.
|
||||
|
||||
@item Jun 25, 2002
|
||||
|
||||
I am updating the Mono site from the UNESCO offices in
|
||||
I am updating the Mono site from the Unesco offices in
|
||||
Uruguay, the <a href="http://www.gnome.org/resources/calendar/roadshow/GNOMEenelSur.html">South-America trip</a>
|
||||
to promote free software is going very well.
|
||||
|
||||
@@ -981,7 +487,7 @@
|
||||
|
||||
@item Jun 22, 2002
|
||||
|
||||
Mono's ASP.NET has rendered its first page on Linux for the
|
||||
Mono's ASP.NET has rendered its first page on Linxu for the
|
||||
first time (Gonzalo and Paolo).
|
||||
|
||||
Also, we are getting close to
|
||||
@@ -1105,7 +611,7 @@
|
||||
Lawrence has been working really hard in fixing, improving and
|
||||
polishing the underlying network infrastructure.
|
||||
|
||||
The Rafael and Chris have committed the beginning of the
|
||||
The Rafael and Chris have commited the beginning of the
|
||||
VisualBasic.NET runtime support to CVS.
|
||||
|
||||
Jesus has contributed the beginning of the SoapFormatter
|
||||
@@ -1140,7 +646,7 @@
|
||||
This is another milestone for our <a
|
||||
href="ado-net.html">ADO.NET implementation plans</a>
|
||||
|
||||
We have a little surprise for everyone tracking the news on Tuesday ;-)
|
||||
We have a little surprise for everyone tracking the news on tuesday ;-)
|
||||
|
||||
@item May 2nd, 2002
|
||||
|
||||
@@ -1362,7 +868,7 @@
|
||||
|
||||
We are very close to have a complete self hosting environment now.
|
||||
|
||||
Mono is temporarily using the Bohem GC garbage collector while
|
||||
Mono is temporarly using the Bohem GC garbage collector while
|
||||
we deploy the more advanced ORP one.
|
||||
|
||||
@item Mar 5, 2002
|
||||
@@ -1480,7 +986,7 @@
|
||||
|
||||
AppDomains have been deployed (Dietmar). Socket work is done
|
||||
(Dick). Corlib compiled with no refs to mscorlib (Dan). New
|
||||
comprehensive tests for corlib bits (David). Nick is driving the
|
||||
comprehensive tests for colib bits (David). Nick is driving the
|
||||
regression test suite efforts and class library completeness.
|
||||
New System.Data work (Chris). Bug fixes (Paolo, Duncan, Ravi, Miguel)
|
||||
|
||||
@@ -1615,7 +1121,7 @@
|
||||
here</a>
|
||||
|
||||
Last minute breaking news: Paolo got our compiler in Linux to
|
||||
compile fib.cs, patches are coming tomorrow once we have
|
||||
compile fib.cs, patches are comming tomorrow once we have
|
||||
ChangeLog entries.
|
||||
|
||||
@item Jan 4, 2002
|
||||
@@ -1794,7 +1300,7 @@
|
||||
href="http://lists.ximian.com/archives/public/gtk-sharp-list/2001-November/000013.html">
|
||||
update</a> on his work on Gtk#.
|
||||
|
||||
Ravi committed the initial support for Attributes in the
|
||||
Ravi commited the initial support for Attributes in the
|
||||
compiler.
|
||||
|
||||
Many HTML Controls from Leen checked into CVS.
|
||||
@@ -1811,7 +1317,7 @@
|
||||
<blockquote>
|
||||
Many clean ups have been going into the class library by Nick Drochak.
|
||||
|
||||
Mega patch from Dietmar: he committed the flow analysis code
|
||||
Mega patch from Dietmar: he commited the flow analysis code
|
||||
for the JITer.
|
||||
|
||||
A lot of work has been going into the WebControls by Gaurav (4
|
||||
@@ -1821,7 +1327,7 @@
|
||||
@item Nov 1, 2001
|
||||
|
||||
<blockquote>
|
||||
Ravi committed the caller-side method selection of methods with
|
||||
Ravi commited the caller-side method selection of methods with
|
||||
variable length arguments. Now he depends on Miguel finishing
|
||||
the array handling support.
|
||||
</blockquote>
|
||||
@@ -1829,7 +1335,7 @@
|
||||
@item Oct 27, 2001
|
||||
|
||||
<blockquote>
|
||||
Lots of classes for System.Web from Gaurav were committed this
|
||||
Lots of classes for System.Web from Gaurav were commited this
|
||||
morning.
|
||||
|
||||
Some large recent developments:
|
||||
@@ -1838,7 +1344,7 @@
|
||||
partially integrated (we need to put the internalcalls in
|
||||
place now and compile and link the decimal code).
|
||||
|
||||
Derek Holden committed recently the IntegerFormatter code into
|
||||
Derek Holden commited recently the IntegerFormatter code into
|
||||
the CVS, so we got a pretty comprehensive integer formatting
|
||||
engine that we can finally use all over the place.
|
||||
|
||||
@@ -1953,7 +1459,7 @@
|
||||
|
||||
<blockquote>
|
||||
Paolo has written a section on <a href="porting.html">Porting
|
||||
Mono</a> to other architectures.
|
||||
Mono</a> to othre architectures.
|
||||
</blockquote>
|
||||
|
||||
@item Sep 18, 2001
|
||||
@@ -2007,7 +1513,7 @@
|
||||
<b>.NET Hello World is working under Mono!</b> The latest snapshots
|
||||
will let you run it.
|
||||
|
||||
Hello World consists of 1821 CIL instructions,
|
||||
Hello World consits of 1821 CIL instructions,
|
||||
performs 66 subroutine calls and loads 12 classes from the corlib.dll
|
||||
|
||||
Good work Mono team!
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
* Java
|
||||
|
||||
<b>This is an outline on how to support Java, actual
|
||||
implementations of ideas like this can be found <a href="http://radio.weblogs.com/0109845/">here</a></b>
|
||||
|
||||
|
||||
It would be interesting to support the Java language as part
|
||||
of the Mono project.
|
||||
|
||||
|
||||
+173
-15
@@ -1,23 +1,181 @@
|
||||
* Debugging information
|
||||
* How to debug your C# application with the JIT engine
|
||||
|
||||
Compile your programs using the `-g' flag in MCS, that will generate a file
|
||||
with the extension .dbg containing the dwarf symbols for your executable.
|
||||
To debug a C# application you need to run the JIT in your debugger.
|
||||
|
||||
To get stack traces with line number information, you need to run your
|
||||
program like this:
|
||||
Before you can do anything useful in a debugger, you need a symbol
|
||||
file which tells your debugger about functions, types, line numbers
|
||||
and such. Unfortunately, this symbol file needs to be recreated each
|
||||
time the JIT compiles a new method since it doesn't know anything
|
||||
about this method (especially not its memory address) before actually
|
||||
compiling it.
|
||||
|
||||
<b>
|
||||
mono --debug program.exe
|
||||
</b>
|
||||
You have two ways of creating a symbol file:
|
||||
|
||||
Notice that the program will need to be compiled with the -g
|
||||
flag and that running with --debug will slow down the execution.
|
||||
** Letting the JIT dynamically create the symbol file
|
||||
|
||||
* Mono Debugger
|
||||
This'll give you a symbol file which is suitable for debugging IL byte
|
||||
code - you won't see your C# source code.
|
||||
|
||||
However, this method has the advantage that it works with every assembly,
|
||||
no matter whether it has been compiled with Mono's C# compiler (MCS) or
|
||||
with any other compiler. It's currently the only way to debug
|
||||
<tt>corlib.dll</tt> or any other library which cannot be compiled with
|
||||
our compiler yet.
|
||||
|
||||
All that you need is a dump of the IL bytecode for each assembly (including
|
||||
all assemblies this assembly is referencing). This is done by using the
|
||||
<tt>monodis</tt> utility:
|
||||
|
||||
<pre>
|
||||
monodis /home/export/martin/MONO-LINUX/lib/corlib.dll > corlib.il<br>
|
||||
monodis /home/export/martin/MONO-LINUX/lib/System.dll > System.il<br>
|
||||
monodis /home/export/martin/MONO-LINUX/bin/mcs.exe > mcs.il
|
||||
</pre>
|
||||
|
||||
Make sure that all the .il files have the same name as their corresponding
|
||||
assembly and that they're all created in the current directory.
|
||||
|
||||
The JIT supports two different debugging file formats:
|
||||
|
||||
<ul>
|
||||
* STABS: This is a very simple debugging format, but it may be the only one
|
||||
which is supported on your system. It is limited to source files of no more
|
||||
than 65.535 lines and it's type support is also very limited. You should only
|
||||
use this if your debugger doesn't support DWARF 2.
|
||||
|
||||
To generate STABS output, use the <tt>--stabs</tt> command line argument.
|
||||
|
||||
|
||||
* DWARF 2: The DWARF 2 debugging format is a very powerful debugging format
|
||||
which can handle source files of arbitrary size and has a highly sophisticated
|
||||
type support. It's the recommended format unless you need to use STABS because
|
||||
your debugger doesn't support DWARF 2.
|
||||
|
||||
To generate DWARF 2 output, use the <tt>--dwarf</tt> command line argument.
|
||||
</ul>
|
||||
|
||||
|
||||
You need to regenerate the symbol file each time the JIT compiled a new
|
||||
method and each time you restart the JIT. You cannot reuse your symbol file
|
||||
if you start the JIT a second file, not even if you're running the same
|
||||
application with the same input data a second time.
|
||||
|
||||
Regenerating the symbol file is done by calling the JIT's
|
||||
<tt>mono_debug_make_symbols ()</tt> function from within your debugger and
|
||||
then reloading the symbol files. This function creates a <tt>filename-dwarf.s</tt>
|
||||
(or <tt>filename-stabs.s</tt>) assembler input file in the current directory and
|
||||
an object file in <tt>/tmp/filename.o</tt> - you need to tell your debugger to
|
||||
add this object file as symbol file.
|
||||
|
||||
If you're using the GNU debugger, this is done like this:
|
||||
|
||||
<pre>
|
||||
call mono_debug_make_symbols ()
|
||||
add-symbol-file /tmp/corlib.o
|
||||
add-symbol-file /tmp/mcs.o
|
||||
add-symbol-file /tmp/Mono.CSharp.Debugger.o
|
||||
</pre>
|
||||
|
||||
You can also write a GDB macro like this:
|
||||
|
||||
<pre>
|
||||
define reload
|
||||
call mono_debug_make_symbols ()
|
||||
add-symbol-file /tmp/corlib.o
|
||||
add-symbol-file /tmp/mcs.o
|
||||
add-symbol-file /tmp/Mono.CSharp.Debugger.o
|
||||
end
|
||||
</pre>
|
||||
|
||||
Then you can just say <tt>reload</tt> to have GDB recreate the symbol file.
|
||||
|
||||
There's also an <a href="jit-debug-sample.html">example debugging session</a> using
|
||||
the GNU debugger.
|
||||
|
||||
** Using a symbol file which have been created by the Mono C# compiler
|
||||
|
||||
If you compiled your application with Mono's C# compiler (MCS), you can tell it to
|
||||
create a symbol file which is then processed and rewritten by the JIT engine.
|
||||
|
||||
To do this, you must give MCS the <tt>-g</tt> option:
|
||||
|
||||
<pre>
|
||||
$ mcs -g Foo.cs
|
||||
</pre>
|
||||
|
||||
This creates a <tt>Foo-debug.s</tt> assembler input file.
|
||||
|
||||
To use this in the JIT, you must first copy it to the target machine (the machine
|
||||
where you want to run the JIT to debug your application) and run it through the
|
||||
assembler to produce an object file <tt>Foo-debug.o</tt>. This object file must be
|
||||
in the current directory.
|
||||
|
||||
Then start the JIT in your debugger and give it the <tt>--dwarf-plus</tt> command
|
||||
line argument.
|
||||
|
||||
Each time you call <tt>mono_debug_make_symbols ()</tt> from withing your debugger,
|
||||
the JIT will read this <tt>Foo-debug.o</tt>, fix some machine dependent things like
|
||||
memory addresses etc. in it and write it back to disk.
|
||||
|
||||
If you're using the GNU debugger, you'll want to use a macro like this:
|
||||
|
||||
<pre>
|
||||
define relocate
|
||||
call mono_debug_make_symbols ()
|
||||
add-symbol-file /tmp/corlib.o
|
||||
add-symbol-file mcs-debug.o
|
||||
add-symbol-file Mono.CSharp.Debugger-debug.o
|
||||
end
|
||||
</pre>
|
||||
|
||||
If there is no <tt>assembly-debug.o</tt> file, but an <tt>assembly.il</tt> one, the
|
||||
JIT will fall back to normal DWARF 2 (in the example above, <tt>corlib.dll</tt> was
|
||||
compiled with Microsoft's compiler and the JIT is thus using DWARF to debug it).
|
||||
|
||||
This debugging method only works if you compiled your assembly with MCS, but it'll
|
||||
allow you to actually debug your C# source code :-)
|
||||
|
||||
Here's an <a href="jit-debug-sample2.html">example debugging session</a> using
|
||||
the GNU debugger.
|
||||
|
||||
** Breakpoints and single stepping
|
||||
|
||||
The JIT has a <tt>--debug</tt> command line argument to insert a breakpoint at the
|
||||
beginning of this method. It takes a <tt>Namespace.Class:Method</tt> argument which
|
||||
is the method. This argument can be given multiple times.
|
||||
|
||||
However, once your application is stopped in GDB you may want to insert a breakpoint
|
||||
the next time the JIT compiles a method. There's a global variable
|
||||
<tt>mono_debug_insert_breakpoint</tt> which you can modify in your debugger.
|
||||
|
||||
If this variable is set to a non-zero value, the JIT's <tt>arch_compile_method</tt>
|
||||
will insert a breakpoint the next time it is called, ie. at the top of the next
|
||||
method it compiles. If this value has a positive value, it acts as a counter and is
|
||||
decremented after inserting the breakpoint - setting it to a negative value will let
|
||||
the JIT insert the breakpoint each time it compiles a new method.
|
||||
|
||||
There's also global variable <tt>mono_debug_last_breakpoint_address</tt> which always
|
||||
contains the address of the last inserted breakpoint. You may manually override this
|
||||
address with a <tt>nop</tt> instruction to delete the breakpoint.
|
||||
|
||||
For instance, I have a GDB macro called <tt>enter</tt> which I use to enter a method
|
||||
rather than stepping over it:
|
||||
|
||||
<pre>
|
||||
define enter
|
||||
set mono_debug_insert_breakpoint = 1
|
||||
continue
|
||||
set *mono_debug_last_breakpoint_address = 0x90
|
||||
relocate
|
||||
frame
|
||||
</pre>
|
||||
|
||||
Btw. speaking of single stepping - you should use your debuggers <tt>next</tt> command,
|
||||
not its <tt>step</tt> command for single stepping unless you compiled the JIT without
|
||||
debugging support. The reason for this is that the JIT creates machine code which contains
|
||||
calls to JIT methods such as <tt>mono_object_new_wrapper</tt> at places where you don't
|
||||
expect them - so unless the JIT is compiled at least without line numbers, your debugger
|
||||
will enter such methods if you use <tt>step</tt> rather than <tt>next</tt>.
|
||||
|
||||
A new debugger has been created in C# and using Gtk# for its
|
||||
user interface, this will simplify the debugging of CLI applications.
|
||||
|
||||
Stay turned for its first public release.
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
|
||||
<pre>
|
||||
$ gdb ~/monocvs/mono/mono/jit/mono
|
||||
(gdb) r --debug=dwarf --break Foo:Main ./Foo.exe
|
||||
Starting program: /home/martin/monocvs/mono/mono/jit/mono --debug=dwarf --break Foo:Main ./Foo.exe
|
||||
(gdb) r --dwarf --debug Foo:Main ./Foo.exe
|
||||
Starting program: /home/martin/monocvs/mono/mono/jit/mono --dwarf --debug Foo:Main ./Foo.exe
|
||||
0x081e8911 in ?? ()
|
||||
(gdb) call mono_debug_make_symbols ()
|
||||
(gdb) add-symbol-file /tmp/Foo.o
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
|
||||
<pre>
|
||||
$ gdb ~/monocvs/mono/mono/jit/mono
|
||||
(gdb) r --debug=dwarf-plus --break Foo:Main ./Foo.exe
|
||||
Starting program: /home/martin/monocvs/mono/mono/jit/mono --debug=dwarf-plus --break Foo:Main ./Foo.exe
|
||||
(gdb) r --dwarf-plus --debug Foo:Main ./Foo.exe
|
||||
Starting program: /home/martin/monocvs/mono/mono/jit/mono --dwarf-plus --debug Foo:Main ./Foo.exe
|
||||
Program received signal SIGTRAP, Trace/breakpoint trap.
|
||||
0x081e8681 in ?? ()
|
||||
(gdb) call mono_debug_make_symbols ()
|
||||
|
||||
+5
-30
@@ -8,21 +8,13 @@
|
||||
* <a href="#MonoLogo">MonoLogo</a>
|
||||
* <a href="#Oberon">Oberon</a>
|
||||
* <a href="#Forth">Forth</a>
|
||||
* <a href="#mbas">Mono Basic</a> (Mono's VB.NET compiler)
|
||||
</ul>
|
||||
|
||||
Languages which are known to run, but we have not done a
|
||||
complete ran of all their regression tests to validate it:
|
||||
|
||||
<ul>
|
||||
* Kylix.NET.
|
||||
</ul>
|
||||
|
||||
Languages we would like to have supported, with links to resources:
|
||||
|
||||
<ul>
|
||||
* <a href="#JavaScript">Java Script</a>
|
||||
* <a href="#java.html">Java</a>
|
||||
* <a href="java.html">Java</a>
|
||||
* <a href="#c">C</a>
|
||||
</ul>
|
||||
|
||||
@@ -32,16 +24,6 @@
|
||||
* <a href="#Tachy">Tachy</a> (scheme-like)
|
||||
</ul>
|
||||
|
||||
<a name="Java">
|
||||
** Java
|
||||
|
||||
There is a very interesting project to make a JavaVM for .NET
|
||||
<a href="http://radio.weblogs.com/0109845/">here</a>.
|
||||
Currently this will not work with Mono, as they use some
|
||||
pieces of Managed C++ to implement the JNI interface.
|
||||
|
||||
A workaround has been discussed, contact the author if you want to contribute.
|
||||
|
||||
<a name="MonoLogo">
|
||||
** MonoLogo
|
||||
|
||||
@@ -51,13 +33,6 @@
|
||||
hosted in the <a href="ccvs.html">Mono CVS</a> repository
|
||||
and also available on the <a href="anoncvs.html">AnonCVS</a> mirrors.
|
||||
|
||||
<a name="mbas">
|
||||
** Mono Basic (Mono's VB.NET compiler)
|
||||
|
||||
Work has resumed on the Mono Visual Basic compiler (currently
|
||||
called mbas). It is part of the standard Mono distribution,
|
||||
but its still an early compiler.
|
||||
|
||||
<a name="Oberon">
|
||||
** Oberon
|
||||
|
||||
@@ -126,10 +101,10 @@
|
||||
Ideally GCC could be modified to generate CIL, but it is a
|
||||
big task. That would give us various compilers in one pass.
|
||||
|
||||
<a href="http://www.cs.princeton.edu/software/lcc">LCC</a> 4.2
|
||||
has been recently released. This release adds support for compiling
|
||||
ANSI C programs to CIL. Note that the CIL support only works on Win32
|
||||
right now, but should be easy to convert to Mono/other architectures.
|
||||
Rumor is that the next version of the LCC compiler will
|
||||
include an IL backend. We do not know how extensive the support
|
||||
for integration with .NET will be, but it would be an interesting
|
||||
excercise to add an extension to C to call into .NET code.
|
||||
|
||||
LCC is not an open source compiler, but it is free as long as you
|
||||
do not profit from selling it.
|
||||
|
||||
@@ -71,15 +71,6 @@
|
||||
in <a href="http://bugzilla.ximian.com">Bugzilla.ximian.com</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b><a
|
||||
href="http://lists.ximian.com/mailman/listinfo/mono-winforms-list">mono-winforms-list</a></b>
|
||||
</td>
|
||||
<td>
|
||||
Used to discuss the Windows.Forms implementatation for Mono using Wine.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Other mailing lists of interest:
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
* mbas: Mono's Basic.NET Compiler.
|
||||
|
||||
MBAS is a CIL compiler for the Visual Basic language, an extended
|
||||
version of VisualBasic.NET. It's based on the MCS compiler
|
||||
and still in heavy development, though many language features are
|
||||
already supported.
|
||||
|
||||
** What works
|
||||
|
||||
<ul>
|
||||
|
||||
* Classes, Fields and Methods. Properties are still
|
||||
being worked on.
|
||||
|
||||
* Module definition and Sub functionality (TODO: Function's)
|
||||
|
||||
* Namespace Import, so can you reference, instantiate
|
||||
and call external assemblies
|
||||
|
||||
* Parameter passing between Sub's. ByVal and ByRef
|
||||
parameters are being worked on.
|
||||
|
||||
* Delegates
|
||||
|
||||
* Object creation
|
||||
|
||||
* Events - to a limited extent. You can declare a
|
||||
Class-Field as 'WithEvents' and dynamic events (i.e
|
||||
AddHandler MyButton.Click, Button1_OnClick). Please
|
||||
beware: just after committing the code, I discovered
|
||||
that the handler field in the AddHandler call is
|
||||
case-sensitive, a remnant of mBas' mcs heritage)
|
||||
|
||||
* Statements supported are 'If..Then..Else' ,
|
||||
'While..End While' and assignment statements. Simple
|
||||
operators (+, -, *, /, >, <, =) should also
|
||||
work. Other statements (For..Next, etc.) should be
|
||||
quite trivial to implement.
|
||||
</ul>
|
||||
|
||||
A lot of this stuff is implemented rebuilding proper expressions and
|
||||
statements on top of the classes provided by mcs (look at the grammar -
|
||||
mb-parser.jay - and compare it with cs-parser.jay, if interested).
|
||||
|
||||
** TODO-list
|
||||
|
||||
At this stage almost every element of the language must be still checked for
|
||||
conformance to MS'implementation. Help is particularly needed for those areas
|
||||
I know little of (mcs internals are still quite obscure to me). I'd like to
|
||||
implement class properties, the missing statements, exception handling,
|
||||
structures and actual event support (not necessarily in this order). Once we
|
||||
have all this stuff set up and reasonably bug-free, more work could be done
|
||||
on helper functions and Object-vars handling.
|
||||
|
||||
+4
-2
@@ -11,19 +11,21 @@
|
||||
|
||||
For <a href="mono-beginning/t1.html">RPM Linux based systems</a>
|
||||
|
||||
For <a href="http://monoevo.sourceforge.net/mono-windows/mono-beginning-windows/t1.html">Microsoft Windows</a>
|
||||
For <a href="mono-beginning-windows/t1.html">Microsoft Windows</a>
|
||||
|
||||
|
||||
PDF Format
|
||||
|
||||
For <a href="mono-beginning.pdf">RPM Linux based systems</a>
|
||||
|
||||
For <a href="mono-beginning-windows.pdf">Microsoft Windows</a>
|
||||
|
||||
|
||||
XML Source
|
||||
|
||||
For <a href="mono-beginning.xml">RPM Linux based systems</a>
|
||||
|
||||
For <a href="http://monoevo.sourceforge.net/mono-windows/mono-beginning-windows.xml">Microsoft Windows</a>
|
||||
For <a href="mono-beginning-windows.xml">Microsoft Windows</a>
|
||||
|
||||
|
||||
Currently Hinne is working on a Mono Tools HOWTO. Which will be
|
||||
|
||||
+12
-51
@@ -17,12 +17,6 @@ echo "Building Mono and dependencies in $here, installing to $here/install"
|
||||
|
||||
PATH=$here/install/bin:$here/install/lib:$PATH
|
||||
|
||||
# Make sure cygwin's libiconv is installed, or libtool blows its tiny mind
|
||||
if [ ! -f /usr/lib/libiconv.la ]; then
|
||||
echo "You need to install the cygwin \"libiconv\" package!"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
# Check mono out first, so we can run aclocal from inside the mono dir (it
|
||||
# needs to see which version of the real aclocal to run)
|
||||
test -z "$CVSROOT" && CVSROOT=:pserver:[email protected]:/mono
|
||||
@@ -48,18 +42,6 @@ fi
|
||||
|
||||
cvs checkout mono || exit -1
|
||||
|
||||
echo "Checking automake version"
|
||||
automake_required="1.6.2"
|
||||
automake_version=`automake --version | head -1 | awk '{print $4}' | tr -d '[a-zA-Z]' | sed 's/-.*$//g'`
|
||||
echo "Found automake version $automake_version"
|
||||
if expr $automake_version \< $automake_required > /dev/null; then
|
||||
echo "Your automake is too old! You need version $automake_required or newer."
|
||||
exit -1
|
||||
else
|
||||
echo "Automake version new enough."
|
||||
fi
|
||||
|
||||
# Select the stable version anyway...
|
||||
if [ ! -z "${AUTO_STABLE}" -o -e /usr/autotool/stable ]; then
|
||||
export AUTO_STABLE=${AUTO_STABLE:-/usr/autotool/stable}
|
||||
export AUTO_DEVEL=${AUTO_STABLE}
|
||||
@@ -67,7 +49,8 @@ fi
|
||||
|
||||
# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
|
||||
# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
|
||||
# glib we're about to install in $here/install.
|
||||
# glib we're about to install in $here/install. This script could
|
||||
# attempt to be clever and see if glib 2 is already installed, too.
|
||||
|
||||
|
||||
# --print-ac-dir was added in 1.2h according to the ChangeLog. This
|
||||
@@ -78,17 +61,15 @@ fi
|
||||
# it finds two copies of the m4 macros). The GIMP for Windows
|
||||
# pkgconfig sets its prefix based on the location of its binary, so we
|
||||
# dont need PKG_CONFIG_PATH (the internal pkgconfig config file
|
||||
# $prefix is handled similarly). For the cygwin pkgconfig we do need to
|
||||
# set it, and we need to edit the mingw pc files too.
|
||||
# $prefix is handled similarly).
|
||||
|
||||
function aclocal_scan () {
|
||||
# Quietly ignore the rogue '-I' and other aclocal flags that
|
||||
# aren't actually directories...
|
||||
#
|
||||
# cd into mono/ so that the aclocal wrapper can work out which version
|
||||
# of aclocal to run, and add /usr/share/aclocal too cos aclocal looks there
|
||||
# too.
|
||||
for i in `(cd mono && aclocal --print-ac-dir)` /usr/share/aclocal $ACLOCAL_FLAGS
|
||||
# of aclocal to run
|
||||
for i in `(cd mono && aclocal --print-ac-dir)` $ACLOCAL_FLAGS
|
||||
do
|
||||
if [ -f $i/$1 ]; then
|
||||
return 0
|
||||
@@ -115,17 +96,10 @@ function install_package() {
|
||||
fi
|
||||
}
|
||||
|
||||
# pkgconfig is only used during the build, so we can use the cygwin version
|
||||
# if it exists
|
||||
if aclocal_scan pkg.m4 ; then
|
||||
install_pkgconfig=no
|
||||
else
|
||||
install_pkgconfig=yes
|
||||
if ! aclocal_scan pkg.m4 ; then
|
||||
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
|
||||
fi
|
||||
|
||||
# But we still need to use the mingw libs for glib & co
|
||||
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
|
||||
|
||||
export PATH
|
||||
export ACLOCAL_FLAGS
|
||||
|
||||
@@ -136,28 +110,15 @@ fi
|
||||
|
||||
# Fetch and install pkg-config, glib, iconv, intl
|
||||
|
||||
if [ $install_pkgconfig = "yes" ]; then
|
||||
install_package pkgconfig-0.11-20020310.zip bin/pkg-config.exe pkgconfig
|
||||
else
|
||||
echo "Not installing pkgconfig, you already seem to have it installed"
|
||||
fi
|
||||
install_package glib-2.0.4-20020703.zip lib/libglib-2.0-0.dll glib
|
||||
install_package glib-dev-2.0.4-20020703.zip lib/glib-2.0.lib glib-dev
|
||||
install_package pkgconfig-0.80-tml-20020101.zip bin/pkg-config.exe pkgconfig
|
||||
install_package glib-1.3.12-20020101.zip lib/libglib-1.3-12.dll glib
|
||||
install_package glib-dev-1.3.12-20020101.zip lib/glib-1.3.lib glib-dev
|
||||
install_package libiconv-1.7.zip lib/iconv.dll iconv
|
||||
install_package libiconv-dev-1.7.zip lib/iconv.lib iconv-dev
|
||||
install_package libintl-0.10.40-20020101.zip lib/libintl-1.dll intl
|
||||
install_package libgc-dev.zip lib/gc.dll gc-dev
|
||||
|
||||
if [ $install_pkgconfig = "no" ]; then
|
||||
echo "Fixing up the pkgconfig paths"
|
||||
for i in $here/install/lib/pkgconfig/*.pc
|
||||
do
|
||||
mv $i $i.orig
|
||||
sed -e "s@^prefix=/target\$@prefix=$here/install@" < $i.orig > $i
|
||||
done
|
||||
export PKG_CONFIG_PATH=$here/install/lib/pkgconfig
|
||||
fi
|
||||
|
||||
# Needed to find the libgc bits
|
||||
# Needed to find the libiconv bits
|
||||
CPPFLAGS="$CPPFLAGS -I$here/install/include"
|
||||
LDFLAGS="$LDFLAGS -L$here/install/lib"
|
||||
export CPPFLAGS
|
||||
|
||||
+12
-61
@@ -1,4 +1,4 @@
|
||||
#! /usr/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
# Script to automate the building of mono and its dependencies.
|
||||
# Relies on wget being installed (could make it fall back to using
|
||||
@@ -17,44 +17,6 @@ echo "Building Mono and dependencies in $here, installing to $here/install"
|
||||
PATH=$here/install/bin:$PATH
|
||||
LD_LIBRARY_PATH=$here/install/lib:$LD_LIBRARY_PATH
|
||||
|
||||
# Find a tool to fetch files. It must take an HTTP URL on the command line and
|
||||
# save the file in the current directory. (It must also talk HTTP/1.1, which
|
||||
# rules out BSD's ftp(1), at least on FreeBSD 4.4.)
|
||||
viable_downloaders="wget fetch"
|
||||
for i in $viable_downloaders
|
||||
do
|
||||
if which $i > /dev/null; then
|
||||
downloader=`which $i`
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -z "$downloader" ]; then
|
||||
echo "Can't find a commandline download tool (tried: $viable_downloaders)"
|
||||
exit -1
|
||||
else
|
||||
echo "Using $downloader to fetch files"
|
||||
fi
|
||||
|
||||
# We need to prefer GNU make if there's a choice. BSD make falls over in
|
||||
# the glib build if gtk-doc is disabled.
|
||||
viable_makers="gmake make"
|
||||
for i in $viable_makers
|
||||
do
|
||||
if which $i > /dev/null; then
|
||||
MAKE=$i
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -z "$MAKE" ]; then
|
||||
echo "Can't find a make tool (tried: $viable_makers)"
|
||||
exit -1
|
||||
else
|
||||
echo "Using $MAKE"
|
||||
export MAKE
|
||||
fi
|
||||
|
||||
# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
|
||||
# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
|
||||
# glib we're about to install in $here/install. This script could
|
||||
@@ -102,14 +64,14 @@ function install_package() {
|
||||
|
||||
echo "Installing $name..."
|
||||
if [ ! -f $here/$tarfile ]; then
|
||||
(cd $here && $downloader http://www.go-mono.com/archive/$tarfile)
|
||||
wget http://www.go-mono.org/archive/$tarfile
|
||||
fi
|
||||
|
||||
# Assume that the package built correctly if the dir is there
|
||||
if [ ! -d $here/$dirname ]; then
|
||||
# Build and install package
|
||||
(cd $here && tar xzf $tarfile) || exit -1
|
||||
(cd $here/$dirname; ./configure --prefix=$here/install $configure_options || exit -1; $MAKE || exit -1; $MAKE install || exit -1)
|
||||
tar xzf $here/$tarfile || exit -1
|
||||
(cd $here/$dirname; ./configure --prefix=$here/install $configure_options || exit -1; make || exit -1; make install || exit -1)
|
||||
success=$?
|
||||
if [ $success -ne 0 ]; then
|
||||
echo "***** $name build failure. Run rm -rf $here/$dirname to have this script attempt to build $name again next time"
|
||||
@@ -151,23 +113,12 @@ export LD_LIBRARY_PATH
|
||||
export ACLOCAL_FLAGS
|
||||
export PKG_CONFIG_PATH
|
||||
|
||||
# Freebsd puts iconv in /usr/local, so see if we need to add
|
||||
# /usr/local/include and /usr/local/lib to CPPFLAGS and LDFLAGS. We could
|
||||
# skip this if it would add /usr/include and /usr/lib, but leaving it
|
||||
# shouldnt break anything.
|
||||
iconvh=`locate include/iconv.h`
|
||||
iconvh_dir=`dirname $iconvh`
|
||||
iconvlib_dir=`echo $iconvh_dir | sed -e 's/include/lib/'`
|
||||
|
||||
echo "Adding $iconvh_dir to CPPFLAGS"
|
||||
echo "Adding $iconvlib_dir to LDFLAGS"
|
||||
|
||||
CPPFLAGS="$CPPFLAGS -I$here/install/include -I$iconvh_dir"
|
||||
LDFLAGS="$LDFLAGS -L$here/install/lib -L$iconvlib_dir"
|
||||
CPPFLAGS="$CPPFLAGS -I$here/install/include"
|
||||
LDFLAGS="$LDFLAGS -L$here/install/lib"
|
||||
export CPPFLAGS
|
||||
export LDFLAGS
|
||||
|
||||
# Grab pkg-config, glib and libgc if necessary
|
||||
# Grab pkg-config-0.8, glib-1.3.12 if necessary
|
||||
|
||||
if [ $install_pkgconfig = "yes" ]; then
|
||||
install_package pkgconfig-0.8.0.tar.gz pkgconfig-0.8.0 pkgconfig ""
|
||||
@@ -176,16 +127,16 @@ else
|
||||
fi
|
||||
|
||||
if [ $install_glib = "yes" ]; then
|
||||
install_package glib-2.0.6.tar.gz glib-2.0.6 glib ""
|
||||
install_package glib-1.3.13.tar.gz glib-1.3.13 glib ""
|
||||
else
|
||||
echo "Not installing glib, you already seem to have it installed"
|
||||
fi
|
||||
|
||||
if [ $install_libgc = "yes" ]; then
|
||||
install_package gc6.1alpha5.tar.gz gc6.1alpha5 libgc "--enable-threads=pthreads"
|
||||
LIBS="-ldl" install_package gc6.0.tar.gz gc6.0 libgc "--enable-threads=pthreads"
|
||||
# make install didnt do the headers!
|
||||
mkdir -p $here/install/include/gc
|
||||
cp -r $here/gc6.1alpha5/include/* $here/install/include/gc
|
||||
cp -r $here/gc6.0/include/* $here/install/include/gc
|
||||
else
|
||||
echo "Not installing libgc, you already seem to have it installed"
|
||||
fi
|
||||
@@ -215,12 +166,12 @@ elif [ ${CVSROOT:0:9} = ":pserver:" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
(cd $here && cvs checkout mono) || exit -1
|
||||
cvs checkout mono || exit -1
|
||||
|
||||
# Build and install mono
|
||||
echo "Building and installing mono"
|
||||
|
||||
(cd $here/mono; ./autogen.sh --prefix=$here/install || exit -1; $MAKE || exit -1; $MAKE install || exit -1) || exit -1
|
||||
(cd $here/mono; ./autogen.sh --prefix=$here/install || exit -1; make || exit -1; make install || exit -1) || exit -1
|
||||
|
||||
|
||||
echo ""
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
* MySQL Data Provider
|
||||
|
||||
<ul>
|
||||
<li>MySQL Data Provider for
|
||||
<a href="http://www.mysql.com/">MySQL</a> databases. It is written in C# and uses
|
||||
the MySQL C Client Library
|
||||
|
||||
<li>Exists in namespace Mono.Data.MySql and assembly Mono.Data.MySql
|
||||
|
||||
<li>Works on Windows and Linux via the MySQL client shared library
|
||||
(libmySQL.dll on Windows and libmysqlclient.so on Linux).
|
||||
|
||||
<li>Started by Daniel Morgan using C# Bindings to MySQL from Brad Meril.
|
||||
|
||||
<li><a href="http://www.mysql.com/articles/dotnet/">Exploring MySQL in the Microsoft .NET Environment</a> is an article
|
||||
by Mr. Venu who is a MySQL AB developer.
|
||||
|
||||
<li>Other projects which have created a .NET Data provider for MySQL in C#
|
||||
<ul>
|
||||
<li><a href="http://sourceforge.net/projects/mysqldrivercs/">MySQLDriverCS</a> is a MySQL provider written in C#
|
||||
<li><a href="http://sourceforge.net/projects/mysqlnet/">MySQLNet</a> is a MySQL Manager provider written in C#
|
||||
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
* Current Status
|
||||
|
||||
<ul>
|
||||
<li>can connect
|
||||
|
||||
<li>can execute non-queries via ExecuteNonQuery()
|
||||
|
||||
<li>can execute aggregates via ExecuteScalar() and retrieve the
|
||||
single row/single column result
|
||||
|
||||
<li>can execute queries and retrieve results using a data reader.
|
||||
|
||||
<li>a schema DataTable has been partially
|
||||
implemented which is returned from GetSchemaTable() in MySqlDataReader.
|
||||
|
||||
<li>a DataTable in a DataSet can be filled via a MySqlDataAdapter
|
||||
|
||||
<li>The shared client libraries
|
||||
between windows version and linux are different: windows has libmySQL.dll
|
||||
while linux has libmysqlclient.so. This is handled by the
|
||||
file etc/mono/config which is mapped by the mono runtime in knowing
|
||||
which native shared library to load. In cvs, this file is mono/config.in and
|
||||
can be modified with a text editor.
|
||||
</ul>
|
||||
|
||||
* Action plan
|
||||
|
||||
The current plan to work on the MySQL data provider:
|
||||
|
||||
<ul>
|
||||
<li>Parameters support via MySqlParameter and MySqlParameterCollection
|
||||
|
||||
<li>Support LOBs (Large Object)
|
||||
|
||||
<li>Change the MySQL provider to not be dependent on a client library and
|
||||
be written in 100% C#
|
||||
|
||||
<li>Connection pooling
|
||||
|
||||
<li>Get the provider to work like other data providers
|
||||
</ul>
|
||||
@@ -1,52 +0,0 @@
|
||||
* ODBC Data Provider
|
||||
<ul>
|
||||
<li>Exists in namespace System.Data.Odbc and assembly System.Data
|
||||
|
||||
<li>Works on Windows and Linux
|
||||
|
||||
<li>Works on Windows via the native Windows odbc32.dll
|
||||
|
||||
<li>Works on Linux via <a href="http://www.unixodbc.org/">unixODBC</a>
|
||||
|
||||
<li>List of unixODBC <a href="http://www.unixodbc.org/drivers.html">drivers</a> and
|
||||
an alternative list
|
||||
|
||||
<li>An alternative to unixODBC, but not tested with this
|
||||
provider is <a href="http://www.iodbc.org">iODBC</a>
|
||||
|
||||
<li>Another alternative to unixODBC, but not tested this provider is
|
||||
<a href="http://oplweb.openlinksw.com:8080/download/">OpenLink's</a>.
|
||||
|
||||
<li>List of <a href="http://ourworld.compuserve.com/homepages/Ken_North/odbcvend.htm">ODBC Vendors</a>
|
||||
|
||||
<li>ODBC Provider created by Brian Ritchie.
|
||||
</ul>
|
||||
|
||||
* Current Status
|
||||
|
||||
<ul>
|
||||
<li>Connect on Windows via native Windows odbc32.dll
|
||||
|
||||
<li>Connect on Linux via unixODBC's libodbc.so
|
||||
|
||||
<li>Various databases have been tested using their
|
||||
ODBC drivers: MySQL, Oracle, IBM DB2, and Microsoft SQL Server
|
||||
|
||||
<li>Can execute non-query commands via ExecuteNonQuery of a OdbcCommand
|
||||
|
||||
<li>Can execute aggreates and retrieve a single row single column result via
|
||||
ExecuteScalar of a OdbcCommand
|
||||
|
||||
<li>Can execute queries via ExecuteReader of a OdbcCommand and
|
||||
retrieve results using an OdbcDataReader.
|
||||
|
||||
<li>Can get a DataTable containing schema info via GetSchemaTable() in a OdbcDataReader
|
||||
</ul>
|
||||
|
||||
* Action Plan
|
||||
|
||||
<ul>
|
||||
<li>Create a Data Adapter to Fill data into a DataTable in a DataSet
|
||||
|
||||
<li>TODO
|
||||
</ul>
|
||||
@@ -1,53 +0,0 @@
|
||||
* OLE DB Provider
|
||||
<ul>
|
||||
<li> Provides a OleDb-like provider for Mono
|
||||
using <a href="http://www.gnome-db.org/">GDA</a> as the data access layer.
|
||||
|
||||
<li> Exists in namespace System.Data.OleDb and assembly System.Data
|
||||
|
||||
<li>Created by Rodrigo Moya
|
||||
|
||||
<li>LibGDA has providers for:
|
||||
<ul>
|
||||
<li><a href="http://www.mysql.com/">MySQL</a>
|
||||
<li><a href="http://www.postgresql.org/">PostgreSQL</a>
|
||||
<li>XML
|
||||
<li>ODBC (via <a href="http://www.unixodbc.org/">unixODBC</a>)
|
||||
<li><a href="http://www.oracle.com/">Oracle</a>
|
||||
<li><a href="http://www.borland.com/products/downloads/download_interbase.html">Interbase</a>
|
||||
<li><a href="http://www.sybase.com/downloads">Sybase</a> and
|
||||
<a href="http://www.microsoft.com/sql/default.asp">Microsoft SQL Server</a> (
|
||||
via <a href="http://www.freetds.org/">FreeTDS</a>)
|
||||
<li><a href="http://www-3.ibm.com/software/data/db2/">IBM DB2 Universal Database</a>
|
||||
<li><a href="http://www.hwaci.com/sw/sqlite/download.html">SQL Lite</a>
|
||||
<li><a href="http://www.microsoft.com/office/access/default.asp">MS Access</a>
|
||||
(via <a href="http://mdbtools.sourceforge.net/">MDB Tools</a>)
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
* Current Status
|
||||
<ul>
|
||||
<li>The OleDb provider is working with libgda (an OLE-DB/ADO data access for Unix).
|
||||
The C-Sharp bindings to libgda currently work - meaning they can compile, run,
|
||||
and you can connect to a
|
||||
PostgreSQL database via libgda via the C-Sharp bindings to libgda.
|
||||
|
||||
<li>Basic
|
||||
functionality (execution of commands, data retrieval, transactions, etc) are
|
||||
now working.
|
||||
|
||||
<li>An inital implementation of GetSchemaTable() for
|
||||
the OleDbDataReader has been checked into cvs. GetSchemaTable() isn't correct for OleDb,
|
||||
but the foundation is there.
|
||||
</ul>
|
||||
|
||||
* Action Plan
|
||||
<ul>
|
||||
<li>Current focus is on filling up the missing pieces (Data adapters
|
||||
mainly) and schema support.
|
||||
|
||||
<li>We need help building libgda on Windows though. libgda
|
||||
builds find on linux though.
|
||||
|
||||
<li>Need to make the OleDb provider compatible with the OleDb provider in Microsoft .NET
|
||||
</ul>
|
||||
-52
@@ -1,52 +0,0 @@
|
||||
* Oracle Data Provider
|
||||
<ul>
|
||||
<li>Exists in namespace System.Data.OracleClient and assembly System.Data.OracleClient</li>
|
||||
|
||||
<li>Works on Windows</li>
|
||||
|
||||
<li>Works with Oracle 8i</li>
|
||||
|
||||
<li>More information about Oracle can be found at <a href="http://www.oracle.com/"/>here</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
* Current Status
|
||||
|
||||
<ul>
|
||||
<li>OracleConnection can connect to an Oracle 8i database on
|
||||
Windows via oci.dll</li>
|
||||
|
||||
<li>The native glue library only has makefiles for Borland C++ and
|
||||
Microsoft Visual C++ command line compilers. Only the makefile for
|
||||
Microsoft Visual C++ command-line compiler has been tested.</li>
|
||||
|
||||
<li>Can execute simple DML SQL statements, such as,
|
||||
INSERT a row into the EMP table via the OracleCommand's ExecuteNonQuery method</li>
|
||||
|
||||
<li>The System.Data.OracleClient.dll assembly can be built with mcs/mono via
|
||||
the makefile.gnu for System.Data.OracleClient or csc/.net via the
|
||||
System.Data.OracleClient.build nant build file. There is also a Visual Studio.NET
|
||||
solution it too.
|
||||
|
||||
</ul>
|
||||
|
||||
* Action Plan
|
||||
|
||||
<ul>
|
||||
<li>Get the makefile for the Borland C++ compiler to work
|
||||
since the <a href="http://www.borland.com/">Borland</a> C++ compiler is
|
||||
a free download</li>
|
||||
<li>Get the native glue lib System.Data.OracleClient.ocigule.dll to be built
|
||||
using gcc on Linux. This would require that Oracle 8i client software be installed
|
||||
on Linux with the oci headers and shared libraries</li>
|
||||
<li>Be able to retrieve results via a data reader</li>
|
||||
<li>Parameters support</li>
|
||||
<li>Stored Procedures, Functions, and Packages support</li>
|
||||
<li>Be able to fill a DataTable in a DataSet via a data adapter</li>
|
||||
<li>Support for Oracle 9i</li>
|
||||
<li>Figure out how to move the unmanaged OCI handling code in
|
||||
the oci glue C library to the managed C# assembly. I have been unable
|
||||
to successfully connect to an Oracle 8i database by using Platform Invoke and
|
||||
Marshalling in C# to the oci shared library (oci.dll on Windows)</li>
|
||||
|
||||
</ul>
|
||||
@@ -100,11 +100,6 @@
|
||||
available, means that trojans or worms could be built
|
||||
into the products by malicious engineers.
|
||||
|
||||
Various government officials in non-US countries also
|
||||
have a policy that no state sensitive information can
|
||||
be held by foreign companies in foreign soil. A natural
|
||||
matter of national security to some.
|
||||
|
||||
* <b>Security:</b> With a centralized system like
|
||||
Passport, imagine the repercussions of a malicious
|
||||
hacker gaining access to the Passport database.
|
||||
|
||||
-512
@@ -1,512 +0,0 @@
|
||||
* PostgreSQL Data Provider
|
||||
|
||||
<ul>
|
||||
<li>Exists in namespace Mono.Data.PostgreSql and assembly Mono.Data.PostgreSql
|
||||
|
||||
<li>Is a Mono Data Provider for the <a href="http://www.postgresql.org/">PostgreSQL</a>
|
||||
client/server database management system.
|
||||
|
||||
<li>Written in C# and has C# bindings to the PostgreSQL C Client library pq.dll on Windows
|
||||
and libpq.so on Linux.
|
||||
</ul>
|
||||
|
||||
* Current Status
|
||||
|
||||
<ul>
|
||||
<li>We are able to do simple CREATE TABLE, DROP TABLE, UPDATE, INSERT, and
|
||||
DELETE SQL commands using the ExecuteNonQuery method in PgSqlCommand.
|
||||
|
||||
<li>We can execute multiple queries and do a NextResult() in PgSqlDataReader()
|
||||
to get the next result set.
|
||||
|
||||
<li>We are also able to do simple aggregate functions,
|
||||
ie, count(), sum(), min(), and max()
|
||||
in a simple SELECT SQL query using the ExecuteScalar() now.
|
||||
|
||||
<li>We are also able to retrieve data with a simple SELECT SQL query
|
||||
using ExecuteReader() which returns a PgSqlDataReader. We are able to
|
||||
use GetSchemaTable() to get the meta data about the table columns.
|
||||
We are able to Read() to get each row from the result set.
|
||||
|
||||
<li>We are able to get
|
||||
String data (char, character, text, varchar), Int16 (smallint),
|
||||
Int32 (integer), Int64 (bigint), DateTime (time, date, timestamp),
|
||||
Boolean (boolean), Single (float), and Double (double).
|
||||
More data types will come later. Note, the types that do work still
|
||||
need thorough testing.
|
||||
|
||||
<li>Rows that are returned which contain columns that are NULL are handled now.
|
||||
The PgSqlDataReader method IsDBNull() needs to be called to determine
|
||||
if a field IS NULL before trying to read data from that field.
|
||||
|
||||
<li>Calling PostgreSQL stored procedures works. It does not work perfectly.
|
||||
It may not
|
||||
even work to specification - yet. If you want to test it yourself, look at
|
||||
TestSqlDataReader.cs or PostgresTest.cs in
|
||||
mcs/class/System.Data/Test.
|
||||
|
||||
<li>Below, I have some sample code you can
|
||||
use to call a PostgreSQL stored procedure named "version". This stored
|
||||
procedure returns a string containing the PostgreSQL server version. Notice
|
||||
the CommandType is StoredProcedure and the method ExecuteScalar() is called.
|
||||
|
||||
<li>ExecuteScalar() is a lightweight method in class PgSqlCommand that only returns
|
||||
one row and one column as one object - even if there is more than row or column.
|
||||
|
||||
<li>We have the beginnings of Parameters support PostgreSQL. Only
|
||||
Input Parameters are currently supported. Output, Input/Output,
|
||||
and Return parameters still need to be done.
|
||||
|
||||
<li>A lot of functionality in System.Data is missing, but the
|
||||
infrastructure is starting to come together.
|
||||
|
||||
<li>A lot of Exceptions need to be thrown for various exceptions. However,
|
||||
PgSqlException, PgSqlErrorCollection, and PgSqlError have been partially
|
||||
implemented.
|
||||
|
||||
<li>Tim Coleman and Rodrigo Moya got the beginnings of the
|
||||
PgSqlDataAdapter/DataSet/DataTable/DataRow to work. Currently,
|
||||
the PgSqlDataAdapter can Fill() relational data into a DataTable in a DataSet.
|
||||
See the test mcs/class/System.Data/Test/TestSqlDataAdapter.cs to see it in action.
|
||||
</ul>
|
||||
|
||||
* Testing the PostgreSQL Provider
|
||||
|
||||
<ul>
|
||||
* <p>In order to test Mono.Data.PostgreSqlClient, you will need to have
|
||||
access to a remote PostgreSQL DBMS, or you will have to install
|
||||
one locally. PostgreSQL was first ADO.NET provider created in Mono.
|
||||
|
||||
<p>Why use PostgreSQL? Because it is free software, has a client
|
||||
library that is easy to use, PostgreSQL is easy to install on
|
||||
Unix and Windows (using the Cygwin install program), not difficult to setup after
|
||||
installation, and it runs under: Linux,
|
||||
Windows (via cygwin and ipc-daemon), Unix, and
|
||||
others. This allowed us to create the
|
||||
System.Data functionality in Mono much quicker.
|
||||
|
||||
<p>If you plan on using a remote PostgreSQL DBMS Server,
|
||||
than you will need to have the PostgreSQL client software on your
|
||||
local computer that includes libpq.so (pq.dll on Windows).
|
||||
|
||||
<p>The System.Data tests use this connection string to connect
|
||||
to the PostgreSQL database named "test" at host "localhost" as
|
||||
user "postgres".
|
||||
|
||||
<pre>
|
||||
"host=localhost;dbname=test;user=postgres"
|
||||
</pre>
|
||||
</ul>
|
||||
|
||||
<p>Installation instructions for PostgreSQL DBMS:
|
||||
|
||||
<b>On Unix</b>
|
||||
|
||||
<ul>
|
||||
* Read the PostgreSQL Installation Instructions
|
||||
at \usr\doc\postgresql-x.x.x\html\installation.html
|
||||
|
||||
* Depending on your Unix system,
|
||||
PostgreSQL maybe already installed, a database user 'postgres' created,
|
||||
a linux user 'postgres' created and initdb ran. Or maybe not.
|
||||
|
||||
<pre>
|
||||
su
|
||||
adduser postgres
|
||||
mkdir /usr/local/pgsql/data
|
||||
chown postgres /usr/local/pgsql/data
|
||||
su - postgres
|
||||
initdb -D /usr/local/pgsql/data
|
||||
postmaster -i -D /usr/local/pgsql/data
|
||||
createdb test
|
||||
psql test
|
||||
</pre>
|
||||
|
||||
* Make sure you have a database user named postgres. It is best to install
|
||||
the PostgreSQL DBMS under linux user postgres. When you run the postmaster,
|
||||
run it under the user postgres as well. If this was not done, then you
|
||||
will need to create a user named postgres for the System.Data tests.
|
||||
|
||||
* If you already installed PostgeSQL and you do not have a database
|
||||
user named postgres, then you can create user postgres using psql:
|
||||
|
||||
<pre>
|
||||
psql test
|
||||
create user postgres with password 'fun2db';
|
||||
</pre>
|
||||
|
||||
* The postmaster must be run with -i option.
|
||||
|
||||
* In the /usr/local/pgsql/data/pg_hba.conf file, you need
|
||||
to have the AUTH_TYPE set to md5. You can read more on this at
|
||||
/usr/doc/postgresql-7.2.1/html/client-authentication.html
|
||||
or wherever your
|
||||
PostgreSQL html docs are located. See the 2nd line below,
|
||||
host 127.0.0.1 has an AUTH_TYPE md5 in pg_hba.conf.
|
||||
|
||||
<pre>
|
||||
# TYPE DATABASE IP_ADDRESS MASK AUTH_TYPE
|
||||
|
||||
local all trust
|
||||
host all 127.0.0.1 255.255.255.255 md5
|
||||
</pre>
|
||||
|
||||
* If you can not find your PostgreSQL documentation locally or you
|
||||
did not install it, then you
|
||||
can get it <a href="http://www.postgresql.org/idocs/">here</a>.
|
||||
|
||||
</ul>
|
||||
|
||||
<b>On Windows</b>
|
||||
|
||||
<ul>
|
||||
* Use the <a href="http://www.cygwin.com/">Cygwin</a> installer to
|
||||
install the PostgreSQL DBMS. It is
|
||||
found in the database category.
|
||||
|
||||
* <p>Read the file postgres-x.x.README at /usr/doc/Cygwin and read
|
||||
the requirements to install PostgreSQL. Those requirements
|
||||
are included with cygwin except cygipc. A default installtion
|
||||
of cygwin does not install everything you will need, so on the
|
||||
safe side, just include everything when installing cygwin.
|
||||
|
||||
* <p>The -x.x in postgres-x.x is the version of your PostgreSQL DBMS.
|
||||
|
||||
* <p>Once Cygwin has installed the PostgreSQL DBMS on your computer,
|
||||
read the file FAQ_MSWIN which is available
|
||||
in /usr/doc/postgres-x.x
|
||||
|
||||
* <p>Important notes from this file are:
|
||||
|
||||
<ul>
|
||||
<p><b>2.</b> - Install the latest <a href="http://www.neuro.gatech.edu/users/cwilson/cygutils/OBSOLETE/V1.1/cygipc/index.html">CygIPC</a> package.
|
||||
|
||||
<p>The cygipc package contains the ipc-daemon you will need
|
||||
to run before you can
|
||||
run the PostgreSQL DBMS Server daemon (postmaster) or run
|
||||
initdb which initializes the PostgreSQL database.
|
||||
|
||||
<p><b>3.</b> The Cygwin bin directory has to be placed in
|
||||
the path before the Windows program directories,
|
||||
for example, C:\cygwin\bin
|
||||
|
||||
<p><b>My own note.</b> In the Windows control panel, I set
|
||||
the environment variables PATH to my cygwin /usr/local/bin,
|
||||
/usr/bin, and /bin. I also set my LD_LIBRARY_PATH to
|
||||
/usr/local/lib and /usr/lib. For example:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
PATH=c:\cygwin\usr\local\bin;c:\cygwin\usr\bin;c:\cygwin\bin;
|
||||
LD_LIBRARY_PATH=c:\cygwin\usr\local\lib;c:\cygwin\usr\lib;
|
||||
</pre>
|
||||
|
||||
<p><b>4.</b> Start the ipc-daemon that came with the cygipc
|
||||
package. There
|
||||
are two ways to do this: run it from the command line as:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
ipc-daemon &
|
||||
</pre>
|
||||
<p>or you can set it up as a Windows service. See the
|
||||
file cygrunsrv.README at /usr/doc/Cygwin on how to do this
|
||||
for ipc-daemon and postmaster. Note the
|
||||
troubleshooting section at the end of
|
||||
the cygrunsrv.README file.
|
||||
|
||||
<p>To install ipc-daemon as a service,
|
||||
you just have to run
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
ipc-daemon --install-as-service' (--remove-as-service)
|
||||
</pre>
|
||||
|
||||
<p>and then run
|
||||
|
||||
<pre>
|
||||
net start ipc-daemon
|
||||
</pre>
|
||||
</ul>
|
||||
|
||||
<p>Read the installation.html file
|
||||
at /usr/doc/postgresql-x.x/html/installation.html
|
||||
|
||||
<p>You will see in this file that you will need to
|
||||
run the following commands:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
mkdir /usr/local/pgsql/data
|
||||
initdb -D /usr/local/pgsql/data
|
||||
postmaster -D /usr/local/pgsql/data
|
||||
createdb test
|
||||
psql test
|
||||
</pre>
|
||||
|
||||
<p>When you need to connect to the database,
|
||||
you will need ipc-daemon and postmaster running. Start ipc-daemon
|
||||
before any of the command above. If you restart your computer, you
|
||||
need to start ipc-daemon and postmaster either manually or as a
|
||||
service.
|
||||
|
||||
<p>psql is a command-line PostgreSQL client tool to
|
||||
enter and run SQL commands and queries.
|
||||
|
||||
<p>If there is no database user named postgres, create a user named
|
||||
postgres with the following SQL command in the client tool psql:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
psql test
|
||||
create user postgres with password 'fun2db';
|
||||
</pre>
|
||||
<p>The only reason I say this is so you can easily use the System.Data tests
|
||||
without having to change the database, userid, etc.
|
||||
</ul>
|
||||
|
||||
<p>In the path mcs/class/System.Data/Test
|
||||
there is a PostgreSQL test program named
|
||||
PostgreTest.cs. Thanks goes to Gonzalo for creating the original
|
||||
PostgreSQL test.
|
||||
|
||||
<p>To use it to test System.Data, you
|
||||
modify the file to your PostgreSQL database
|
||||
connection requirements:
|
||||
|
||||
<p>
|
||||
<ul>
|
||||
<li><b>dbname</b> database, ie., test</li>
|
||||
<li><b>host</b> hostname of the PostgreSQL DBMS Server, ie., localhost</li>
|
||||
<li><b>user</b> username, ie., someuser</li>
|
||||
<li><b>password</b> password, ie., mypass1234</li>
|
||||
</ul>
|
||||
|
||||
<p>The connection string is in OLE-DB connection string format. Internally,
|
||||
SqlConnection converts this to the PostgreSQL connection string format.
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
OLE-DB: "host=localhost;dbname=test;user=joe;password=smoe"
|
||||
PostgreSQL: "host=localhost dbname=test user=joe password=smoe"
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
Note that OLE-DB includes the semicolons while PostgreSQL's connection
|
||||
string does not.
|
||||
|
||||
<p>
|
||||
To compile the PostgresTest.cs program, do:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
mcs PostgresTest.cs \
|
||||
-r System.Data.dll \
|
||||
-r Mono.Data.PostgreSqlClient.dll
|
||||
</pre>
|
||||
|
||||
<p>If there are compile errors, such as, can not convert IDbConnection
|
||||
to PgSqlConnection, then you need to run mcs like:
|
||||
|
||||
<pre>
|
||||
mono f:/cygwin/home/DanielMorgan/mono/install/bin/mcs.exe \
|
||||
PostgresTest.cs \
|
||||
-r System.Data.dll \
|
||||
-r Mono.Data.PostgreSqlClient.dll
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
To run using mint, do:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
mint PostgresTest.exe
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
To run using mono, do:
|
||||
<pre>
|
||||
mono PostgresTest.exe
|
||||
</pre>
|
||||
|
||||
<p>Below, I show how the output from PostgresTest. I have omitted a lot
|
||||
of the meta data for the columns except two columns. The classes
|
||||
used were from Mono.Data.PostgreSqlClient and were used to connect to a
|
||||
PostgreSQL database and retrieve data.
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
|
||||
danmorg@DANPC ~/mono/mcs/class/System.Data/Test
|
||||
$ mcs PostgresTest.cs -r System.Data.dll
|
||||
|
||||
danmorg@DANPC ~/mono/mcs/class/System.Data/Test
|
||||
$ mono PostgresTest.exe
|
||||
Postgres provider specific tests...
|
||||
|
||||
Drop table:
|
||||
Error (don't worry about this one)SqlError:PGRES_FATAL_ERROR ERROR:
|
||||
table "mono_postgres_test" does not exist
|
||||
<Stack Trace>
|
||||
|
||||
Create table with all supported types:
|
||||
OK
|
||||
Insert values for all known types:
|
||||
OK
|
||||
Update values:
|
||||
OK
|
||||
Insert values for all known types:
|
||||
OK
|
||||
Aggregate: count(*)
|
||||
Agg Result: 2
|
||||
Aggregate: min(text_value)
|
||||
Agg Result: This is a text
|
||||
Aggregate: max(int4_value)
|
||||
Agg Result: 1048000
|
||||
Aggregate: sum(int4_value)
|
||||
Agg Result: 1048003
|
||||
Select values from the database:
|
||||
Result is from a SELECT SQL Query. Records Affected: -1
|
||||
Result Set 1...
|
||||
Total Columns: 28
|
||||
ColumnName = boolean_value
|
||||
ColumnOrdinal = 1
|
||||
ColumnSize = 1
|
||||
NumericPrecision = 0
|
||||
NumericScale = 0
|
||||
IsUnique = False
|
||||
IsKey =
|
||||
BaseCatalogName =
|
||||
BaseColumnName = boolean_value
|
||||
BaseSchemaName =
|
||||
BaseTableName =
|
||||
DataType = System.Boolean
|
||||
AllowDBNull = False
|
||||
ProviderType = 16
|
||||
IsAliased = False
|
||||
IsExpression = False
|
||||
IsIdentity = False
|
||||
IsAutoIncrement = False
|
||||
IsRowVersion = False
|
||||
IsHidden = False
|
||||
IsLong = False
|
||||
IsReadOnly = False
|
||||
|
||||
...
|
||||
|
||||
ColumnName = null_timestamp_value
|
||||
ColumnOrdinal = 28
|
||||
ColumnSize = 8
|
||||
NumericPrecision = 0
|
||||
NumericScale = 0
|
||||
IsUnique = False
|
||||
IsKey =
|
||||
BaseCatalogName =
|
||||
BaseColumnName = null_timestamp_value
|
||||
BaseSchemaName =
|
||||
BaseTableName =
|
||||
DataType = System.DateTime
|
||||
AllowDBNull = False
|
||||
ProviderType = 1184
|
||||
IsAliased = False
|
||||
IsExpression = False
|
||||
IsIdentity = False
|
||||
IsAutoIncrement = False
|
||||
IsRowVersion = False
|
||||
IsHidden = False
|
||||
IsLong = False
|
||||
IsReadOnly = False
|
||||
|
||||
Gonna do a Read() now...
|
||||
Row 0:
|
||||
Col 0: boolean_value: False
|
||||
Col 1: int2_value: 5
|
||||
Col 2: int4_value: 3
|
||||
Col 3: bigint_value: 9
|
||||
Col 4: float_value: 3.141590
|
||||
Col 5: double_value: 3.14159
|
||||
Col 6: numeric_value: 123456789012.345
|
||||
Col 7: char_value: Mono.Data!
|
||||
Col 8: varchar_value: It was not me!
|
||||
Col 9: text_value: We got data!
|
||||
Col 10: point_value: (1,0)
|
||||
Col 11: time_value: 01/01/1 21:13:14
|
||||
Col 12: date_value: 02/29/2000 00:00:00
|
||||
Col 13: timestamp_value: 02/29/2004 14:00:11
|
||||
Col 14: null_boolean_value is NULL
|
||||
Col 15: null_int2_value is NULL
|
||||
Col 16: null_int4_value is NULL
|
||||
Col 17: null_bigint_value is NULL
|
||||
Col 18: null_float_value is NULL
|
||||
Col 19: null_double_value is NULL
|
||||
Col 20: null_numeric_value is NULL
|
||||
Col 21: null_char_value is NULL
|
||||
Col 22: null_varchar_value is NULL
|
||||
Col 23: null_text_value is NULL
|
||||
Col 24: null_point_value is NULL
|
||||
Col 25: null_time_value is NULL
|
||||
Col 26: null_date_value is NULL
|
||||
Col 27: null_timestamp_value is NULL
|
||||
Row 1:
|
||||
Col 0: boolean_value: True
|
||||
Col 1: int2_value: -22
|
||||
Col 2: int4_value: 1048000
|
||||
Col 3: bigint_value: 123456789012345
|
||||
Col 4: float_value: 3.141590
|
||||
Col 5: double_value: 3.14159
|
||||
Col 6: numeric_value: 123456789012.345
|
||||
Col 7: char_value: This is a char
|
||||
Col 8: varchar_value: This is a varchar
|
||||
Col 9: text_value: This is a text
|
||||
Col 10: point_value: (1,0)
|
||||
Col 11: time_value: 01/01/1 21:13:14
|
||||
Col 12: date_value: 02/29/2000 00:00:00
|
||||
Col 13: timestamp_value: 02/29/2004 14:00:11
|
||||
Col 14: null_boolean_value is NULL
|
||||
Col 15: null_int2_value is NULL
|
||||
Col 16: null_int4_value is NULL
|
||||
Col 17: null_bigint_value is NULL
|
||||
Col 18: null_float_value is NULL
|
||||
Col 19: null_double_value is NULL
|
||||
Col 20: null_numeric_value is NULL
|
||||
Col 21: null_char_value is NULL
|
||||
Col 22: null_varchar_value is NULL
|
||||
Col 23: null_text_value is NULL
|
||||
Col 24: null_point_value is NULL
|
||||
Col 25: null_time_value is NULL
|
||||
Col 26: null_date_value is NULL
|
||||
Col 27: null_timestamp_value is NULL
|
||||
Total Rows Retrieved: 2
|
||||
Total Result sets: 1
|
||||
Call ExecuteReader with a SQL Command.
|
||||
(Not INSERT,UPDATE,DELETE
|
||||
).
|
||||
Result is from a SQL Command not (INSERT,UPDATE,DELETE).
|
||||
Records Affected: -1
|
||||
Total Result sets: 0
|
||||
Call ExecuteReader with a SQL Command.
|
||||
(Is INSERT,UPDATE,DELETE)
|
||||
.
|
||||
Result is from a SQL Command (INSERT,UPDATE,DELETE). Records Affected: 1
|
||||
Total Result sets: 0
|
||||
Calling stored procedure version()
|
||||
Result: PostgreSQL 7.2.1 on i686-pc-cygwin, compiled by GCC 2.95.3-5
|
||||
Database Server Version: PostgreSQL 7.2.1 on i686-pc-cygwin,
|
||||
compiled by GCC 2.9
|
||||
5.3-5
|
||||
Clean up...
|
||||
Drop table...
|
||||
OK
|
||||
RESULT: 0
|
||||
|
||||
</pre>
|
||||
|
||||
* Action Plan
|
||||
|
||||
<p>Eventually replace the PostgreSQL data provider in Mono
|
||||
with <a href="http://gborg.postgresql.org/project/npgsql/projdisplay.php">Npgsql</a>.
|
||||
Npgsql is a .Net Data Provider for PostgreSQL which implements
|
||||
the <a href="http://developer.postgresql.org/docs/postgres/protocol.html">PostgreSQL Frontend/Backend Protocol</a>.
|
||||
Npgsql is implemented in 100% C#. This provider was created by Francisco Figueiredo jr.
|
||||
and has many programmers developing the provider.
|
||||
+18
-58
@@ -11,13 +11,9 @@
|
||||
|
||||
The <a href="http://msdn.microsoft.com/net">Microsoft.NET site.</a>
|
||||
|
||||
The Microsoft .NET Framework 1.0 can be downloaded <a
|
||||
href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a>
|
||||
The Microsoft .NET Framework 1.0 can be downloaded <a href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a>
|
||||
|
||||
New methods that are not documented in 1.0, are documented <a
|
||||
href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/framewrkaddend.asp">here</a>
|
||||
|
||||
The changes between .NET 1.0 and .NET 1.1 are available <a href="http://www.csharphelp.com/archives2/archive406.html">here</a>
|
||||
New methods that are not documented in 1.0, are documented <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/framewrkaddend.asp">here</a>
|
||||
|
||||
** IRC
|
||||
|
||||
@@ -26,14 +22,6 @@
|
||||
|
||||
** Mono related sites.
|
||||
|
||||
The Mono Tutorial:
|
||||
|
||||
<a href="http://http://go-mono.com/gnometutorial/">GNOME.NET Tutorial</a>
|
||||
|
||||
and other useful tutorials (Gtk#, Glade#, Embeded, etc) (in Spanish) at
|
||||
|
||||
<a href="http://mono.es.gnome.org">The Mono Hispano site</a>.
|
||||
|
||||
Sergey's web page on Mono resources:
|
||||
|
||||
<a href="http://mono.eurosoft.od.ua">http://mono.eurosoft.od.ua</a>
|
||||
@@ -57,14 +45,6 @@
|
||||
href="http://www.foundstone.com/pdf/dotnet-security-framework.pdf">.NET
|
||||
security architecture</a>.
|
||||
|
||||
** Development Tools
|
||||
|
||||
A tool to compare two assemblies:
|
||||
|
||||
<ul>
|
||||
<li><a href="http://www.gotdotnet.com/userarea/keywordsrch.aspx?keyword=winchurn">http://www.gotdotnet.com/userarea/keywordsrch.aspx?keyword=winchurn</a>
|
||||
</ul>
|
||||
|
||||
** Presentations
|
||||
|
||||
Currently the <a href="Presentations/O-Reilly">O'Reilly</a>
|
||||
@@ -123,53 +103,31 @@
|
||||
|
||||
There are a number of related projects to Mono:
|
||||
|
||||
<li><b>Development tools</b></li>
|
||||
<ul>
|
||||
* <a
|
||||
href="http://www.icsharpcode.net/OpenSource/SD/default.asp">Sharp
|
||||
Develop:</a> an IDE for the C# language written in C#.
|
||||
|
||||
* <a href="http://nunit.sourceforge.net">NUnit:</a> A
|
||||
testing framework for .NET classes.
|
||||
|
||||
* <a
|
||||
href="http://xmarks.sourceforge.net/doc.html">XMarks DOC.NET:</a> For
|
||||
creating online documentation you can browse for your own classes.
|
||||
|
||||
</ul>
|
||||
|
||||
<li><b>Class Libraries</b></li>
|
||||
<ul>
|
||||
* <a href="http://9mm.com/~ogl/sdldotnet/">SDL for
|
||||
.NET:</a> Bindings for the popular SDL graphics library.
|
||||
|
||||
|
||||
* C# bindings for OpenGL and SDL are available here: <a
|
||||
href="http://csgl.sourceforge.net">http://csgl.sourceforge.net</a>
|
||||
|
||||
|
||||
* <a
|
||||
href="http://qtcsharp.sourceforge.net">Qt#:</a>
|
||||
C# bindings for the Qt toolkit.
|
||||
|
||||
* <a
|
||||
href="http://codigolivre.org.br/projects/monoqle">Project MonoQLE:</a> a C# Message Queue Server.
|
||||
Sorry only in portuguese, for now.
|
||||
href="http://www.icsharpcode.net/OpenSource/SD/default.asp">Sharp
|
||||
Develop:</a> an IDE for the C# language written in C#.
|
||||
|
||||
</ul>
|
||||
* <a
|
||||
href="http://www.improve-technologies.com/alpha/esharp/">Eclipse
|
||||
Plugin for C#</a>
|
||||
|
||||
<li><b>Programming languages:</b></li>
|
||||
<ul>
|
||||
* <a
|
||||
href="http://janet-js.sourceforge.net/">Janet:</a>
|
||||
an implemention of ECMAScript (the standarized
|
||||
version of JavaScript) in C#
|
||||
</ul>
|
||||
|
||||
<li><b>Other projects</b></li>
|
||||
<ul>
|
||||
* <a
|
||||
href="http://www.improve-technologies.com/alpha/esharp/">Eclipse
|
||||
Plugin for C#</a>
|
||||
href="http://xmarks.sourceforge.net/doc.html">XMarks DOC.NET:</a> For
|
||||
creating online documentation you can browse for your own classes.
|
||||
|
||||
* <a href="http://nunit.sourceforge.net">NUnit:</a> A
|
||||
testing framework for .NET classes.
|
||||
|
||||
* <a href="http://www.kaffe.org">Kaffe:</a> A popular
|
||||
Free Software JIT engine for Java.
|
||||
@@ -177,13 +135,15 @@
|
||||
* <a href="http://www.intel.com/research/mrl/orp">ORP:</a> A research
|
||||
JIT/VM/GC system from Intel.
|
||||
|
||||
* C# bindings for OpenGL and SDL are available here: <a
|
||||
href="http://csgl.sourceforge.net">http://csgl.sourceforge.net</a>
|
||||
|
||||
* <a
|
||||
href="http://www.southern-storm.com.au/portable_net.html">Portable.NET:</a>
|
||||
Another implementation of the CLI and C# compiler.
|
||||
|
||||
* A Free (GFDL) tutorial on C# in Spanish with
|
||||
examples, slides, and extras (under development). Get it <a
|
||||
href="http://geneura.ugr.es/~jaime/csharp/">here</a>.
|
||||
* A Free (GFDL) tutorial on C# in Spanish with examples, slides, and extras (under development). Get it <a href="http://geneura.ugr.es/~jaime/csharp/">here</a>.
|
||||
|
||||
</ul>
|
||||
|
||||
** GNOME Documentation
|
||||
|
||||
+47
-17
@@ -17,21 +17,49 @@
|
||||
</ul>
|
||||
|
||||
Currently we are using the Bohem conservative garbage
|
||||
collector.
|
||||
collector, but we working on incorporating the ORP GC engine.
|
||||
|
||||
The Mono runtime can be used as a stand-alone process, or it
|
||||
can be <a href="embedded-api">embedded into applications</a> (see
|
||||
the documentation in mono/samples/embed for more details).
|
||||
** Executing MSIL/CIL images
|
||||
|
||||
Embedding the Mono runtime allows applications to be extended
|
||||
in C# while reusing all of the existing C and C++ code.
|
||||
The code will load an executable and map the references to
|
||||
external assemblies to our own version of the assemblies on
|
||||
Linux.
|
||||
|
||||
Paolo Molaro did a presentation on the current JIT engine and
|
||||
the new JIT engine. You can find his <a
|
||||
href="http://primates.ximian.com/~lupus/slides/jit/">slides
|
||||
here</a>
|
||||
Our roadmap looks like this, this has been updated as of
|
||||
<b>Dec 18, 2001</b>:
|
||||
|
||||
** Current JIT Engine (<b>updated, July 8th, 2002</b>)
|
||||
<ul>
|
||||
|
||||
* Milestone 1: <b>Done</b> Fully read and parse all CIL byte-codes
|
||||
and metadata tokens (ie, a disassembler).
|
||||
|
||||
* Milestone 2: <b>Done</b> Complete an interpreter for CIL byte
|
||||
codes. This interpreter can be used temporarly to
|
||||
run CIL byte code on a system where no JIT is
|
||||
available.
|
||||
|
||||
* Milestone 3: <b>Done</b>Define an <i>lburg</i>-like
|
||||
instruction selector for the JITer for Intel.
|
||||
|
||||
* Milestone 4: <b>Done</b> Implement JITer. This is where our
|
||||
current efforts are focused on, the JITer currently runs
|
||||
all of the code we have tested on it. The major limitation
|
||||
is that our class libraries are not complete, and hence not
|
||||
every application can be ran.
|
||||
|
||||
* Milestone 5: Port of the JITer to non IA32 systems.
|
||||
</ul>
|
||||
|
||||
A setup similar to the Kaffe JIT engine will be used to
|
||||
layout the code to support non-IA32 architectures. Our work
|
||||
will be focused on getting a IA32 version running first.
|
||||
|
||||
The JIT engine works on Linux and Win32, although you
|
||||
will need to install the CygWin32 development tools to get a
|
||||
Unix-like compilation environment (mostly we use GNU make in
|
||||
a few of the makefiles).
|
||||
|
||||
** JIT Engine (<b>updated, July 8th, 2002</b>)
|
||||
|
||||
The JIT engine uses a code-generator generator approach for
|
||||
compilation. Given the properties of CIL byte codes, we can
|
||||
@@ -74,13 +102,15 @@
|
||||
|
||||
</ul>
|
||||
|
||||
** New JIT engine.
|
||||
** Future plans
|
||||
|
||||
We are working on a new JIT engine. The new JIT engine
|
||||
focuses on portability and in two intermediate representations
|
||||
that simplify the development of optimizations. This together
|
||||
with the Ahead-of-Time compilation will allow developers to
|
||||
deploy applications that match the speed of natively compiled code.
|
||||
We are evaluating the future directions for the JIT engine:
|
||||
both from our needs (optimizations like inlining, better register allocation,
|
||||
instruction scheduling, and porting to other CPUs).
|
||||
|
||||
We have not yet decided how we will evolve the JIT engine. We
|
||||
might just upgrade our current architecture, and provide optimizations as
|
||||
an extra layer.
|
||||
|
||||
** Garbage Collection
|
||||
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
* Microsoft SQL Server Provider
|
||||
|
||||
<ul>
|
||||
<li>ADO.NET Provider for Microsoft SQL Server 7/2000 databases
|
||||
|
||||
<li>Exists in namespace System.Data.SqlClient and assembly System.Data
|
||||
|
||||
<li>Created by Tim Coleman
|
||||
|
||||
<li>Used the <a href="http://www.freetds.org/">FreeTDS</a> and
|
||||
<a href="http://jtds.sourceforge.net/">jTDS</a> projects as resources.
|
||||
|
||||
<li>Implemented in 100% C#
|
||||
|
||||
<li>Is similar to the Mono.Data.TdsClient and Mono.Data.SybaseClient providers.
|
||||
</ul>
|
||||
|
||||
* Current Status
|
||||
|
||||
<ul>
|
||||
<li>Able to connect to Microsoft SQL Server 7/2000 databases
|
||||
|
||||
<li>Connection pooling works.
|
||||
|
||||
<li>Stored Procedures work
|
||||
|
||||
<li>Parameters work.
|
||||
|
||||
<li>Prepare works.
|
||||
|
||||
<li>SQL commands can be executed
|
||||
via ExecuteNonQuery() of a SqlCommand.
|
||||
|
||||
<li>SQL aggregates can be executed and a single row and single column
|
||||
result can be retrieved via ExecuteScalar() of a SqlCommand
|
||||
|
||||
<li>SQL queries can be executed via ExecuteReader() and results
|
||||
can be retrieved via SqlDataReader.
|
||||
|
||||
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
|
||||
in a SqlDataReader
|
||||
|
||||
<li>XML can be read via ExecuteXmlReader in a SqlCommand.
|
||||
|
||||
<li>Data can be filled in a DataTable in a DataSet via a SqlDataAdapter
|
||||
|
||||
<li>Uses TDS Protocol Version 7.0
|
||||
|
||||
<li><a href="http://www.go-mono.com/tds-providers.html">Design of the Microsoft SQL Server, Sybase, and TDS Providers in Mono</a>
|
||||
</ul>
|
||||
|
||||
* Action plan
|
||||
|
||||
<ul>
|
||||
<li>Connection timeouts is being developed now.
|
||||
|
||||
<li>TODO
|
||||
</ul>
|
||||
-28
@@ -1,28 +0,0 @@
|
||||
* SQL Lite Data Provider
|
||||
|
||||
<ul>
|
||||
<li>Exists in namespace and assembly Mono.Data.SqliteClient
|
||||
|
||||
<li>Created by Vladimir Vukicevic
|
||||
|
||||
<li><a href"http://www.hwaci.com/sw/sqlite/download.html">SQL Lite</a>
|
||||
binaries exist for Linux and Windows. sqlite.dll on Windows
|
||||
and sqlite.so on Linux.
|
||||
</ul>
|
||||
|
||||
* Current Status
|
||||
|
||||
<ul>
|
||||
<li>Able to connect, execute commands, and retrieve data...
|
||||
|
||||
<li>Works in mPhoto
|
||||
</ul>
|
||||
|
||||
* Action Plan
|
||||
|
||||
<ul>
|
||||
<li>Create a DataAdapter for SQL Lite named SqliteDataAdapter that can be used to
|
||||
Fill a DataTable in a DataSet
|
||||
|
||||
<li>TODO
|
||||
</ul>
|
||||
-48
@@ -1,48 +0,0 @@
|
||||
* Sybase Data Provider
|
||||
|
||||
<ul>
|
||||
<li>ADO.NET Provider for Sybase SQL Server databases
|
||||
|
||||
<li>Exists in namespace Mono.Data.SybaseClient and assembly Mono.Data.SybaseClient
|
||||
|
||||
<li>Created by Tim Coleman
|
||||
|
||||
<li>Used the <a href="http://www.freetds.org/">FreeTDS</a> and
|
||||
<a href="http://jtds.sourceforge.net/">jTDS</a> projects as resources.
|
||||
|
||||
<li>Implemented in 100% C#
|
||||
|
||||
<li>Is similar to the Mono.Data.TdsClient and System.Data.SqlClient providers.
|
||||
|
||||
<li>Uses TDS Protocol Version 5.0
|
||||
|
||||
<li><a href="http://www.go-mono.com/tds-providers.html">Design of the Microsoft SQL Server, Sybase, and TDS Providers in Mono</a>
|
||||
</ul>
|
||||
|
||||
* Current Status
|
||||
|
||||
<ul>
|
||||
<li>Able to connect to Sybase databases
|
||||
|
||||
<li>SQL commands can be executed
|
||||
via ExecuteNonQuery() of a SybaseCommand.
|
||||
|
||||
<li>SQL aggregates can be executed and a single row and single column
|
||||
result can be retrieved via ExecuteScalar() of a SybaseCommand
|
||||
|
||||
<li>SQL queries can be executed via ExecuteReader() and results
|
||||
can be retrieved via SybaseDataReader.
|
||||
|
||||
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
|
||||
in a SybaseDataReader
|
||||
|
||||
<li>Data can be filled in a DataTable in a DataSet via a SybaseDataAdapter
|
||||
</ul>
|
||||
|
||||
* Action plan
|
||||
|
||||
<ul>
|
||||
<li>Connection timeouts is being developed now.
|
||||
|
||||
<li>TODO
|
||||
</ul>
|
||||
@@ -1,164 +0,0 @@
|
||||
* Design of the Microsoft SQL Server, Sybase, and TDS Data Providers in Mono
|
||||
|
||||
<ul>
|
||||
* After much discussion among the Mono ADO.NET developers,
|
||||
we have come up with the design of implementing a Sybase, Microsoft
|
||||
SQL Server, and TDS Generic ADO.NET providers. These providers have
|
||||
been created and are actively developed by Tim Coleman.
|
||||
|
||||
* Since Sybase and Microsoft SQL Server databases both
|
||||
use the TDS protocol for data access, and other implementations
|
||||
of TDS (FreeTDS and jTDS) have included support for multiple
|
||||
versions of the TDS, we have decided to do the same.
|
||||
|
||||
* The TdsClient ADO.NET provider will be Mono's first provider
|
||||
written completely in C# without any dependencies except
|
||||
the usual suspects: corlib.dll, System.dll, and System.Xml.dll.
|
||||
</ul>
|
||||
|
||||
* New ADO.NET Providers
|
||||
|
||||
<p>There will be three ADO.NET providers that will use TDS.
|
||||
|
||||
<ol>
|
||||
<li><p>Mono.Data.SybaseClient namepace and assembly will
|
||||
hold the ADO.NET provider for Sybase SQL Server database.
|
||||
This provider uses TDS version 5.0 which
|
||||
can only be used with Sybase databases.
|
||||
|
||||
<li><p>System.Data.SqlClient namespace and System.Data assembly
|
||||
will hold the ADO.NET provider
|
||||
for Microsoft SQL Server 7.0/2000 databases. This provider is to be
|
||||
compatible with SqlClient in Microsoft .NET and uses TDS version 7.0
|
||||
which only supports Microsoft SQL Server 7.0/2000.
|
||||
There is TDS version 8.0
|
||||
which we will need to support as well, but it is used for
|
||||
Microsoft SQL Server 2000 databases.
|
||||
|
||||
<li><p>Mono.Data.TdsClient namespace and assembly is a generic
|
||||
provider for older TDS databases. This provider will default to
|
||||
using TDS version 4.2 which can be used by older Sybase and
|
||||
Microsoft SQL Server databases.
|
||||
</ol>
|
||||
|
||||
* Building The New Providers
|
||||
|
||||
<p> All three providers will use common internal code
|
||||
at Mono.Data.TdsClient.Internal. Any classes in
|
||||
Mono.Data.TdsClient.Internal will have the internal
|
||||
keyword and will be built with the assembly of that provider.
|
||||
<ol>
|
||||
<li><p>SqlClient will build its assembly System.Data using files
|
||||
from System.Data, System.Data.SqlClient, System.Data.SqlTypes,
|
||||
System.Data.Common, and Mono.Data.TdsClient.Internal.
|
||||
|
||||
<p>SqlClient
|
||||
will only reference the usual
|
||||
suspects: corlib.dll, System.dll, and System.Xml.dll. SqlClient will be
|
||||
a wrapper around TdsClient.Internal, but provide specific functionality to
|
||||
Microsoft SQL Server 7.0/2000 databases.
|
||||
|
||||
<p>SqlClient build example:
|
||||
|
||||
<pre>
|
||||
mcs -target:library -out:System.Data.dll \
|
||||
System.Data.SqlClient/*.cs \
|
||||
..\Mono.Data.TdsClient\Mono.Data.TdsClient.Internal\*.cs \
|
||||
[any other classes in System.Data assembly...] \
|
||||
-r corlib.dll -r System.dll -r System.Xml.dll
|
||||
</pre>
|
||||
|
||||
<li><p>SybaseClient will build its assembly Mono.Data.SybaseClient using
|
||||
files from Mono.Data.SybaseClient and Mono.Data.TdsClient.Internal.
|
||||
SybaseClient will reference
|
||||
the usual suspects plus System.Data.dll SybaseClient will
|
||||
be a wrapper around TdsClient.Internal, but provide specific
|
||||
functionality to Sybase.
|
||||
|
||||
<p>SybaseClient build example:
|
||||
|
||||
<pre>
|
||||
mcs -target:library -out:Mono.Data.SybaseClient.dll \
|
||||
Mono.Data.SybaseClient\*.cs \
|
||||
..\Mono.Data.TdsClient\Mono.Data.TdsClient.Internal\*.cs
|
||||
-r corlib.dll -r System.dll -r System.Xml.dll -r System.Data.dll
|
||||
</pre>
|
||||
|
||||
<li><p>TdsClient will build its assembly Mono.Data.TdsClient
|
||||
using files from Mono.Data.TdsClient
|
||||
and Mono.Data.TdsClient.Internal. TdsClient will reference the
|
||||
usual suspects plus System.Data.dll TdsClient is a wrapper
|
||||
provider around TdsClient.Internal used for generic
|
||||
unit tests. TdsClient will a wrapper around TdsClient.Internal
|
||||
as a generic TDS provider
|
||||
and allow TDS configuration options not exposed in SqlClient
|
||||
nor SybaseClient, such as, TdsVersion will be exposed in TdsClient
|
||||
but not in SqlClient nor SybaseClient.
|
||||
|
||||
<p>TdsClient build example:
|
||||
|
||||
<pre>
|
||||
mcs -target:library -out:Mono.Data.TdsClient.dll \
|
||||
Mono.Data.TdsClient\*.cs \
|
||||
Mono.Data.TdsClient.Internal\*.cs \
|
||||
-r corlib.dll -r System.dll -r System.Xml.dll -r System.Data.dll
|
||||
</pre>
|
||||
</ol>
|
||||
|
||||
* Classes in Mono.Data.TdsClient.Internal will:
|
||||
|
||||
<ul>
|
||||
<li>use the internal keyword to prevent exposing these classes
|
||||
to the System.Data.dll assembly.
|
||||
|
||||
<li> implement the ADO.NET interfaces just like any other ADO.NET provider, such as,
|
||||
IDbConnection, IDbCommand, IDataReader, IDataRecord, IDataAdapter, etc...
|
||||
|
||||
<li> be sealed just like other providers
|
||||
|
||||
<li> provide features to be directly used by the SqlClient and SybaseClient
|
||||
providers, such
|
||||
as, setting the default TDS version: SqlClient to 7.0 and SybaseClient
|
||||
to 5.0 and TdsClient to 4.2.
|
||||
|
||||
<li> be written completely in C# or IL assembly language (if need be).
|
||||
|
||||
<li> implement the TDS protocol version 4.2, 5.0, 7.0, and 8.0. This
|
||||
is where most of the
|
||||
work will take place.
|
||||
|
||||
<li> be an internal ADO.NET provider to the public ADO.NET providers:
|
||||
System.Data.SqlClient, Mono.Data.SybaseClient, and Mono.Data.TdsClient.
|
||||
</ul>
|
||||
|
||||
* Implementation Details of the TDS Protocol
|
||||
|
||||
<ul>
|
||||
* will be implemented in pure C# from scratch
|
||||
|
||||
* will reside in Mono.Data.TdsClient.Internal
|
||||
|
||||
* will use FreeTDS and jTDS as rerferences.
|
||||
</ul>
|
||||
|
||||
* More Information
|
||||
|
||||
<ul>
|
||||
* <a href="http://www.freetds.org/">FreeTDS</a> is C API that implements
|
||||
the TDS protocol. Has libraries for tds, ctlib, and dblib. It builds
|
||||
and runs on Windows, Linux, and other platforms. FreeTDS provides
|
||||
data access to Microsoft SQL Server and Sybase databases.
|
||||
|
||||
* <a href="http://jtds.sf.net/">jTDS</a> is a 100% Java JDBC provider
|
||||
for Microsoft SQL Server and Sybase databases.
|
||||
|
||||
* <a href="http://www.freetds.org/tds.html">TDS Protocol</a>
|
||||
</ul>
|
||||
|
||||
* Contribute
|
||||
|
||||
<p>Anybody willing to help? If so,
|
||||
contact any of the people working on the ADO.NET support
|
||||
in Mono: Rodrigo Moya, Tim Coleman, Daniel Morgan, Brian Ritchie,
|
||||
Vladimir Vukicevic, Ville Palo, Franklin Wise, and others.
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
* TDS Generic Provider
|
||||
|
||||
<ul>
|
||||
<li>ADO.NET Provider for older Sybase and Microsoft SQL Server databases
|
||||
|
||||
<li>Exists in namespace Mono.Data.TdsClient and assembly Mono.Data.TdsClient
|
||||
|
||||
<li>Created by Tim Coleman
|
||||
|
||||
<li>Used the <a href="http://www.freetds.org/">FreeTDS</a> and
|
||||
<a href="http://jtds.sourceforge.net/">jTDS</a> projects as resources.
|
||||
|
||||
<li>Implemented in 100% C#
|
||||
|
||||
<li>Is similar to the Mono.Data.SybaseClient and System.Data.SqlClient providers.
|
||||
|
||||
<li>Uses TDS Protocol Version 4.2 by default
|
||||
|
||||
<li><a href="http://www.go-mono.com/tds-providers.html">Design of the Microsoft SQL Server, Sybase, and TDS Providers in Mono</a>
|
||||
</ul>
|
||||
|
||||
* Current Status
|
||||
|
||||
<ul>
|
||||
<li>Only builds on Windows currently due to mcs does not support modules and mcs
|
||||
has problems with code that is internal.
|
||||
|
||||
<li>Able to connect to Microsoft SQL Server and Sybase databases
|
||||
|
||||
<li>SQL commands can be executed
|
||||
via ExecuteNonQuery() of a TdsCommand.
|
||||
|
||||
<li>SQL aggregates can be executed and a single row and single column
|
||||
result can be retrieved via ExecuteScalar() of a TdsCommand
|
||||
|
||||
<li>SQL queries can be executed via ExecuteReader() and results
|
||||
can be retrieved via TdsDataReader.
|
||||
|
||||
<li>a DataTable with schema info about a result can be gotten via GetSchemaTable()
|
||||
in a TdsDataReader
|
||||
|
||||
<li>Data can be filled in a DataTable in a DataSet via a TdsDataAdapter
|
||||
</ul>
|
||||
|
||||
* Action plan
|
||||
|
||||
<ul>
|
||||
<li>Connection timeouts is being developed now.
|
||||
|
||||
<li>TODO
|
||||
</ul>
|
||||
+4
-144
@@ -9,153 +9,13 @@
|
||||
** Class Library Tests
|
||||
|
||||
All classes in Mono libraries should have comprehensive unit test
|
||||
suites to go with them. Unit testing is a software engineering
|
||||
methodology that makes it easier to build correct code. Every
|
||||
suites to go with them. Unit testing is a software engineering
|
||||
methodology that makes it easier to build correct code. Every
|
||||
method in every class should have a set of tests to verify
|
||||
that they work correctly. Mono also needs a testing framework
|
||||
that they work correctly. Mono also needs a testing framework
|
||||
to make it easy to write and run lots of tests.
|
||||
|
||||
|
||||
** Getting started
|
||||
|
||||
If you are new to writing NUnit tests, there is a template you may use
|
||||
to help get started. The file is:
|
||||
|
||||
<b>mcs/class/doc/TemplateTest.cs</b>
|
||||
|
||||
Save a copy of this file in the appropriate test subdirecty
|
||||
(see below), and replace all the [text] markers with
|
||||
appropriate code. Comments in the template are there to guide
|
||||
you. You should also look at existing tests to see how other
|
||||
people have written them.
|
||||
mcs/class/corlib/Test/System.Collections/CollectionBaseTest.cs
|
||||
is a small one that might help.
|
||||
|
||||
The directory that will contain your new file depends on the
|
||||
assembly/namespace of the class for which you are creating the
|
||||
tests. Under mcs/class there is a directory for each
|
||||
assembly. In each assembly there is a Test directory,
|
||||
e.g. mcs/class/corlib/Test. In the Test directory there are
|
||||
sub-directories for each namespace in the assembly,
|
||||
e.g. mcs/class/corlib/Test/Sytem. Put your new test file in
|
||||
the appropriate sub-directory under Test for the class you are
|
||||
testing.
|
||||
|
||||
Once your test class is complete, you need to add it to the
|
||||
AllTests.cs file in the same directory as your new test. Add a
|
||||
call to "suite.AddTest()" passing the name of your new test
|
||||
class's suite property as the parameter. You will see
|
||||
examples in the AllTests.cs file, so just copy and paste
|
||||
inside there.
|
||||
|
||||
Once all of that is done, you can do a 'make test' from the top mcs
|
||||
directory. Your test class will be automagically included in the
|
||||
build and the tests will be run along with all the others.
|
||||
|
||||
* Tips on writing Unit tests.
|
||||
|
||||
You should look at the NUnit documentation, as it is a
|
||||
fantastic product, and includes fantastic documentation, but
|
||||
here are some tips for those of you who are already reading
|
||||
this web page.
|
||||
|
||||
|
||||
** Provide an unique error message for Assert()
|
||||
|
||||
Include an unique message for each Assert() so that when the assert
|
||||
fails, it is trivial to locate the failing one. Otherwise, it may be
|
||||
difficult to determine which part of the test is failing. A good way
|
||||
to ensure unique messages is to use something like #A01, #A02 etc.
|
||||
|
||||
Ok:
|
||||
<pre>
|
||||
|
||||
AssertEquals("array match", compare[0], i1[0]);
|
||||
AssertEquals("array match", compare[1], i1[1]);
|
||||
AssertEquals("array match", compare[2], i1[2]);
|
||||
AssertEquals("array match", compare[3], i1[3]);
|
||||
</pre>
|
||||
|
||||
Excellent:
|
||||
<pre>
|
||||
AssertEquals("#A01", compare[0], i1[0]);
|
||||
AssertEquals("#A02", compare[1], i1[1]);
|
||||
AssertEquals("#A03", compare[2], i1[2]);
|
||||
AssertEquals("#A04", compare[3], i1[3]);
|
||||
</pre>
|
||||
|
||||
Once you used such a number in an Assert(), don't change it later on -
|
||||
people might use it it identify the test in bug reports or in mailing
|
||||
lists.
|
||||
|
||||
** Use AssertEquals() to compare things, not Assert().
|
||||
|
||||
Do not compare two values with Assert() - if the test fails,
|
||||
people have no idea what went wrong while AssertEquals()
|
||||
reports the failed value.
|
||||
|
||||
Ok:
|
||||
<pre>
|
||||
Assert ("A01", myTicks[0] == t1.Ticks);
|
||||
</pre>
|
||||
|
||||
Excellent:
|
||||
<pre>
|
||||
AssertEquals ("A01", myTicks[0], t1.Ticks);
|
||||
</pre>
|
||||
|
||||
** Constructors
|
||||
|
||||
When writing your testcase, please make sure to provide a constructor
|
||||
which takes no arguments:
|
||||
|
||||
<pre>
|
||||
public class DateTimeTest : TestCase
|
||||
{
|
||||
|
||||
public DateTimeTest() : base ("[MonoTests.System.DateTimeTest]") {}
|
||||
public DateTimeTest (string name): base(name) {}
|
||||
|
||||
public static ITest Suite
|
||||
{
|
||||
get {
|
||||
TestSuite suite = new TestSuite ();
|
||||
return suite;
|
||||
}
|
||||
}
|
||||
}
|
||||
</pre>
|
||||
|
||||
** Namespace
|
||||
|
||||
Please keep the namespace within each test directory consistent - all
|
||||
tests which are referenced in the same AllTests.cs must be in the same
|
||||
namespace. Of course you can use subnamespaces as you like -
|
||||
especially for subdirectories of your testsuite.
|
||||
|
||||
For instance, if your AllTests.cs is in namespace "MonoTests" and you
|
||||
have a subdirectory called "System", you can put all the tests in that
|
||||
dir into namespace "MonoTests.System".
|
||||
|
||||
** Test your test with the Microsoft runtime
|
||||
|
||||
If possible, try to run your testsuite with the Microsoft runtime on
|
||||
Windows and make sure all tests in it pass. This is especially
|
||||
important if you're writing a totally new testcase - without this
|
||||
check you can never be sure that your testcase contains no bugs ....
|
||||
|
||||
Don't worry if you're writing your test on Linux, other people can
|
||||
test it for you on Windows.
|
||||
|
||||
Sometimes you may discover that a test doesn't show the expected
|
||||
result when run with the Microsoft runtime - either because there is a
|
||||
bug in their runtime or something is misleading or wrong in their
|
||||
documentation. In this case, please put a detailed description of the
|
||||
problem to mcs/class/doc/API-notes and do also report it to the list -
|
||||
we'll forward this to the Microsoft people from time to time to help
|
||||
them fix their documentation and runtime.
|
||||
|
||||
** Unit tests.
|
||||
Try <a href="http://nunit.sourceforge.net">NUnit</a>
|
||||
|
||||
Why do unit testing? It becomes simple to run automated tests
|
||||
for the whole library. Unit tests are a safety net - you can
|
||||
|
||||
+17
-33
@@ -2,13 +2,18 @@
|
||||
1,FAQ,faq.html,faq.src
|
||||
0,Mono,rationale.html,rationale.src
|
||||
1,Runtime,runtime.html,runtime.src
|
||||
2,Embedding,embedded-api.html,embedded-api.src
|
||||
1,Classes,class-library.html,class-library.src
|
||||
1,Gtk#,gtk-sharp.html,gtk-sharp.src
|
||||
1,ASP.NET,asp-net.html,asp-net.src
|
||||
1,ADO.NET,ado-net.html,ado-net.src
|
||||
1,Gtk#,http://gtk-sharp.sourceforge.net
|
||||
1,Class Status,class-status.html,class-status.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,corlib,class-status-corlib.html,class-status-corlib.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System,class-status-System.html,class-status-System.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System.Xml,class-status-System.Xml.html,class-status-System.Xml.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System.Data,class-status-System.Data.html,class-status-System.Data.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System.Drawing,class-status-System.Drawing.html,class-status-System.Drawing.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System.Web,class-status-System.Web.html,class-status-System.Web.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System.Web.Services,class-status-System.Web.Services.html,class-status-System.Web.Services.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,C# Compiler,c-sharp.html,c-sharp.src
|
||||
1,VB Compiler,mbas.html,mbas.src
|
||||
1,Status,status.html,status.src
|
||||
0,Download,download.html,download.src
|
||||
1,CVS access,ccvs.html,ccvs.src
|
||||
1,AnonCVS access,anoncvs.html,anoncvs.src
|
||||
@@ -22,6 +27,11 @@
|
||||
1,Porting,porting.html,porting.src
|
||||
2,PowerPC,ppc.html,ppc.src
|
||||
1,HOWTO,mono-contribution-howto.html,mono-contribution-howto.src
|
||||
0,Plans,plans.html,plans.src
|
||||
1,ADO.NET,ado-net.html,ado-net.src
|
||||
1,ASP.NET,asp-net.html,asp-net.src
|
||||
1,Java,java.html,java.src
|
||||
1,Windows.Forms,winforms.html,winforms.src
|
||||
0,Resources,resources.html,resources.src
|
||||
1,Beginning,mono-beginning.html,mono-beginning.src
|
||||
1,Mailing Lists,mailing-lists.html,mailing-lists.src
|
||||
@@ -31,32 +41,6 @@
|
||||
1,Papers,papers.html,papers.src
|
||||
1,Languages,languages.html,languages.src
|
||||
1,Debugging,jit-debug.html,jit-debug.src
|
||||
0,Plans,plans.html,plans.src
|
||||
1,ADO.NET,ado-net.html,ado-net.src
|
||||
1,Crypto,crypto.html,crypto.src
|
||||
2,Firebird Interbase,firebird.html,firebird.src
|
||||
2,Microsft SQL Server,sqlclient.html,sqlclient.src
|
||||
2,MySQL,mysql.html,mysql.src
|
||||
2,ODBC,odbc.html,odbc.src
|
||||
2,OLE DB,oledb.html,oledb.src
|
||||
2,Oracle,oracle.html,oracle.src
|
||||
2,PostgreSQL,postgresql.html,postgresql.src
|
||||
2,SQL Lite,sqlite.html,sqlite.src
|
||||
2,Sybase,sybase.html,sybase.src
|
||||
2,TDS Generic,tdsclient.html,tdsclient.src
|
||||
1,Java,java.html,java.src
|
||||
1,Windows.Forms,winforms.html,winforms.src
|
||||
0,Class Status,class-status.html,class-status.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,corlib,class-status-corlib.html,class-status-corlib.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,System,class-status-System.html,class-status-System.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,Xml,class-status-System.Xml.html,class-status-System.Xml.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,Data,class-status-System.Data.html,class-status-System.Data.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,Drawing,class-status-System.Drawing.html,class-status-System.Drawing.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,Web,class-status-System.Web.html,class-status-System.Web.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,Web.Services,class-status-System.Web.Services.html,class-status-System.Web.Services.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,Microsoft.VisualBasic,class-status-Microsoft.VisualBasic.html,class-status-Microsoft.VisualBasic.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,Windows.Forms,class-status-System.Windows.Forms.html,class-status-System.Windows.Forms.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,EnterpriseServices,class-status-System.EnterpriseServices.html,class-status-System.EnterpriseServices.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,Formatters.Soap,class-status-System.Runtime.Serialization.Formatters.Soap.html,class-status-System.Runtime.Serialization.Formatters.Soap.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,Cscompmgd,class-status-Cscompmgd.html,class-status-Cscompmgd.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,Example 1,jit-debug-sample.html,jit-debug-sample.src
|
||||
2,Example 2,jit-debug-sample2.html,jit-debug-sample2.src
|
||||
0,Contact,contact.html,contact.src
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.1 KiB |
+62
-70
@@ -3,79 +3,58 @@ CSC=csc
|
||||
|
||||
CORCOMPARE=../../../mcs/tools/corcompare
|
||||
|
||||
OBJECTS= \
|
||||
deploy/ado-net.html \
|
||||
deploy/firebird.html \
|
||||
deploy/mysql.html \
|
||||
deploy/odbc.html \
|
||||
deploy/oledb.html \
|
||||
deploy/oracle.html \
|
||||
deploy/postgresql.html \
|
||||
deploy/sqlclient.html \
|
||||
deploy/sqlite.html \
|
||||
deploy/sybase.html \
|
||||
deploy/tdsclient.html \
|
||||
deploy/anoncvs.html \
|
||||
deploy/asp-net.html \
|
||||
deploy/books.html \
|
||||
deploy/contributing.html \
|
||||
deploy/class-status.html \
|
||||
deploy/class-status-corlib.html \
|
||||
deploy/class-status-System.html \
|
||||
deploy/class-status-System.Xml.html \
|
||||
deploy/class-status-System.Drawing.html \
|
||||
deploy/class-status-System.Data.html \
|
||||
deploy/class-status-System.Web.html \
|
||||
deploy/class-status-System.Web.Services.html \
|
||||
deploy/class-status-Microsoft.VisualBasic.html \
|
||||
deploy/class-status-System.EnterpriseServices.html \
|
||||
deploy/class-status-System.Runtime.Serialization.Formatters.Soap.html \
|
||||
deploy/class-status-System.Windows.Forms.html \
|
||||
deploy/class-status-Cscompmgd.html \
|
||||
deploy/class-library.html \
|
||||
deploy/classlib-doc.html \
|
||||
deploy/contact.html \
|
||||
deploy/c-sharp.html \
|
||||
deploy/mbas.html \
|
||||
deploy/ccvs.html \
|
||||
deploy/documentation.html \
|
||||
deploy/download.html \
|
||||
deploy/crypto.html \
|
||||
deploy/embedded-api.html \
|
||||
deploy/faq.html \
|
||||
deploy/gcc-frontend.html \
|
||||
deploy/hackers.html \
|
||||
deploy/index.html \
|
||||
deploy/ideas.html \
|
||||
deploy/java.html \
|
||||
deploy/jit-debug.html \
|
||||
deploy/jit-debug-sample.html \
|
||||
deploy/jit-debug-sample2.html \
|
||||
deploy/languages.html \
|
||||
deploy/mailing-lists.html \
|
||||
deploy/mono-beginning.html \
|
||||
deploy/mono-contribution-howto.html \
|
||||
deploy/monodoc-xml.html \
|
||||
deploy/papers.html \
|
||||
deploy/passport.html \
|
||||
deploy/plans.html \
|
||||
deploy/porting.html \
|
||||
deploy/ppc.html \
|
||||
deploy/rationale.html \
|
||||
deploy/resources.html \
|
||||
deploy/roadmap.html \
|
||||
deploy/runtime.html \
|
||||
deploy/status.html \
|
||||
deploy/testing.html \
|
||||
deploy/tools.html \
|
||||
OBJECTS= \
|
||||
deploy/ado-net.html \
|
||||
deploy/anoncvs.html \
|
||||
deploy/asp-net.html \
|
||||
deploy/books.html \
|
||||
deploy/contributing.html \
|
||||
deploy/class-status.html \
|
||||
deploy/class-status-corlib.html \
|
||||
deploy/class-status-System.html \
|
||||
deploy/class-status-System.Xml.html \
|
||||
deploy/class-status-System.Drawing.html \
|
||||
deploy/class-status-System.Data.html \
|
||||
deploy/class-status-System.Web.html \
|
||||
deploy/class-status-System.Web.Services.html \
|
||||
deploy/class-library.html \
|
||||
deploy/classlib-doc.html \
|
||||
deploy/contact.html \
|
||||
deploy/c-sharp.html \
|
||||
deploy/ccvs.html \
|
||||
deploy/documentation.html \
|
||||
deploy/download.html \
|
||||
deploy/faq.html \
|
||||
deploy/gcc-frontend.html \
|
||||
deploy/hackers.html \
|
||||
deploy/index.html \
|
||||
deploy/ideas.html \
|
||||
deploy/java.html \
|
||||
deploy/jit-debug.html \
|
||||
deploy/jit-debug-sample.html \
|
||||
deploy/jit-debug-sample2.html \
|
||||
deploy/languages.html \
|
||||
deploy/mailing-lists.html \
|
||||
deploy/mono-beginning.html \
|
||||
deploy/mono-contribution-howto.html \
|
||||
deploy/monodoc-xml.html \
|
||||
deploy/papers.html \
|
||||
deploy/passport.html \
|
||||
deploy/plans.html \
|
||||
deploy/porting.html \
|
||||
deploy/ppc.html \
|
||||
deploy/rationale.html \
|
||||
deploy/resources.html \
|
||||
deploy/roadmap.html \
|
||||
deploy/runtime.html \
|
||||
deploy/status.html \
|
||||
deploy/testing.html \
|
||||
deploy/tools.html \
|
||||
deploy/winforms.html
|
||||
#2,Configuration.Install,class-status-System.Configuration.Install.html,class-status-System.Configuration.Install.src,cm/cormissing.css,cm/cormissing.js
|
||||
#2,Runtime.Remoting,class-status-System.Runtime.Remoting.html,class-status-System.Runtime.Remoting.src,cm/cormissing.css,cm/cormissing.js
|
||||
|
||||
# deploy/class-status-System.Configuration.Install.html \
|
||||
# deploy/class-status-System.Runtime.Remoting.html \
|
||||
# deploy/class-status-System.html \
|
||||
|
||||
NON_HTML_SOURCES= \
|
||||
NON_HTML_SOURCES= \
|
||||
../mono-build.sh \
|
||||
../mono-build-w32.sh
|
||||
|
||||
@@ -86,6 +65,9 @@ all: $(OBJECTS) deploy/index.rss
|
||||
tutorial: mono-beginning.html.stamp mono-beginning.pdf
|
||||
cp -a mono-beginning mono-beginning.xml mono-beginning.pdf deploy
|
||||
|
||||
tutorial-windows: mono-beginning-windows.html.stamp mono-beginning-windows.pdf
|
||||
cp -a mono-beginning-windows.xml mono-beginning-windows.pdf deploy
|
||||
|
||||
mono-beginning.html.stamp: mono-beginning.xml
|
||||
db2html mono-beginning.xml
|
||||
touch mono-beginning.html.stamp
|
||||
@@ -96,6 +78,16 @@ mono-beginning.pdf: mono-beginning.xml
|
||||
mono-beginning.xml: ../mono-beginning.xml
|
||||
cp ../mono-beginning.xml .
|
||||
|
||||
mono-beginning-windows.html.stamp: mono-beginning-windows.xml
|
||||
db2html mono-beginning-windows.xml
|
||||
touch mono-beginning-windows.html.stamp
|
||||
|
||||
mono-beginning-windows.pdf: mono-beginning-windows.xml
|
||||
db2pdf mono-beginning-windows.xml
|
||||
|
||||
mono-beginning-windows.xml: ../mono-beginning-windows.xml
|
||||
cp ../mono-beginning-windows.xml .
|
||||
|
||||
deploy/index.rss: mono-rss.exe ../index
|
||||
./mono-rss.exe ../index deploy/index.rss
|
||||
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ while (<COMMANDS>) {
|
||||
$menu .= "<tr><td valign=\"top\" class=\"navi" . $command[0];
|
||||
$menu .= "\"><a class=\"navi" . $command[0];
|
||||
$menu .= "\"";
|
||||
$menu .= " HREF=\"$command[2]\">$command[1]</A></td></tr>\n\n";
|
||||
$menu .= "HREF=\"$command[2]\">$command[1]</A></td></tr>\n\n";
|
||||
}
|
||||
}
|
||||
close COMMANDS;
|
||||
|
||||
@@ -2,12 +2,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>#TITLE#</title>
|
||||
<link rel="icon" href="../MonoIcon.png" type="image/png">
|
||||
<!-- background-image: url("images/bgsquares.gif"); -->
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body { font-family: "trebuchet ms", lucida, verdana, helvetica;
|
||||
|
||||
background-image: url("images/bgsquares.gif");
|
||||
background-attachment: fixed; }
|
||||
body, td, table { font-family: "trebuchet ms", lucida, verdana, helvetica;
|
||||
font-size: 14px; }
|
||||
@@ -29,7 +27,7 @@
|
||||
a.navi2:visited { color: #cccccc; }
|
||||
a.navi2:hover { color: #ee9900; text-decoration: underline; }
|
||||
|
||||
// -->
|
||||
// -->
|
||||
</style>
|
||||
#CSS#
|
||||
#SCRIPT#
|
||||
@@ -40,7 +38,7 @@
|
||||
<tr>
|
||||
<td><img src="images/pixel.gif" alt=""></td><!-- left border -->
|
||||
<td colspan="4">
|
||||
<a href="http://www.go-mono.com"><img src="images/mono-new.gif"
|
||||
<a href="http://www.go-mono.com"><img src="images/mono.gif"
|
||||
alt="mono-logo" border="0"></a></td>
|
||||
<td><img src="images/pixel.gif" alt=""></td><!-- right border -->
|
||||
</tr>
|
||||
|
||||
+15
-45
@@ -1,19 +1,9 @@
|
||||
* System.Windows.Forms
|
||||
|
||||
System.Windows.Forms is currently being implemented using the
|
||||
Win32 API, we will be using <a
|
||||
href="http://www.winehq.com">WineLib</a> on Unix systems to
|
||||
emulate the Win32 API.
|
||||
|
||||
This means that those who want to contribute to the effort can
|
||||
develop and test classes today using Windows and P/Invoke
|
||||
calls to Win32 and we will then just run the result on Unix.
|
||||
|
||||
In terms of integrating visually with the desktop, we are
|
||||
hoping to contribute to the Wine project an mechanism to make
|
||||
it use the Gtk+ themes on X11 and Cocoa on MacOS to render the
|
||||
widgets, and get the native look and feel on each of these
|
||||
platforms.
|
||||
System.Windows.Forms eventually will support multiple
|
||||
toolkits. Ximian will be delivering a product that will allow
|
||||
for System.Windows.Forms applications to integrate with GNOME
|
||||
through Gtk and MacOS X using Cocoa.
|
||||
|
||||
There are no current plans to support embedded devices, but
|
||||
Gtk/FrameBuffer is an option. If you have suggestions or
|
||||
@@ -22,28 +12,19 @@
|
||||
|
||||
* Contributing
|
||||
|
||||
The Winforms effort is being coordinated in the <a
|
||||
href="mailto:[email protected]:.com">[email protected]</a>.
|
||||
If you are interested in helping out with this effort,
|
||||
subscribe to it by sending an email message to <a
|
||||
href="mailto:[email protected]:.com">[email protected]</a>.
|
||||
Currently Ximian developers are busy making our JIT engine
|
||||
feature complete, and dealing with the low-level details of
|
||||
the Mono runtime.
|
||||
|
||||
If you want to help, you can start by writing a control and
|
||||
testing it with Windows today (or you can also try to build
|
||||
the existing library on Linux, but this is a bit more
|
||||
complicated).
|
||||
If you are interested in contributing, you can start stubbing
|
||||
out classes and providing enumerations. That will help us
|
||||
significantly when we start working on the actual bindings.
|
||||
|
||||
See the file mcs/class/System.Windows.Forms/CheckOutList for
|
||||
details on who is working on which class.
|
||||
|
||||
Please read the README document in the
|
||||
System.Windows.Forms/WINElib directory for details about how
|
||||
to build the Windows.Forms support for Mono.
|
||||
Christian Meyer is currently organizing this effort.
|
||||
|
||||
* System.Drawing
|
||||
|
||||
Using existing libraries to implement some of the
|
||||
functionality required:
|
||||
Using existing libraries to implement some of the functionality required
|
||||
|
||||
<ul>
|
||||
* gdk-pixbuf is a generic image loader that loads an image
|
||||
@@ -83,7 +64,6 @@
|
||||
|
||||
* Directory Layout
|
||||
|
||||
<pre>
|
||||
System.Drawing (assembly directory)
|
||||
System.Drawing.Blah
|
||||
Common code for "Blah"
|
||||
@@ -95,14 +75,12 @@
|
||||
MacOS
|
||||
System.Drawing.Blah
|
||||
MacOS ports of "System.Drawing.Blah"
|
||||
WineLIB
|
||||
Win32
|
||||
System.Drawing.Blah
|
||||
Win32 ports of "System.Drawing.Blah"
|
||||
</pre>
|
||||
|
||||
Notice that there is a proof of concept Gtk-backend for
|
||||
Windows.Forms, but nobody is working on it, and for the
|
||||
reasons stated before it is not a long term strategy.
|
||||
Then we use nant targets to include/exclude the right set of
|
||||
files to create the assembly.
|
||||
|
||||
* Open questions:
|
||||
|
||||
@@ -110,11 +88,3 @@
|
||||
can accept either libart-like rendering operations and
|
||||
X11-like rendering operations. This complicates matters, but
|
||||
I am not sure. Someone needs to investigate this.
|
||||
|
||||
* Historical
|
||||
|
||||
Although the original plans were to use Gtk on X and Cocoa on
|
||||
MacOS X, it would be very hard to emulate the event model in
|
||||
which some Winforms applications depend, and it would be very
|
||||
hard to implement the Wndproc method.
|
||||
|
||||
+1
-7
@@ -55,7 +55,7 @@
|
||||
|
||||
MonoAssembly *assembly;
|
||||
|
||||
assembly = mono_domain_assembly_open (domain, "file.dll");
|
||||
assembly = mono_domain_assembly_open ("file.dll");
|
||||
if (!assembly)
|
||||
error ();
|
||||
|
||||
@@ -80,12 +80,6 @@
|
||||
|
||||
mono_jit_cleanup (domain);
|
||||
|
||||
** Applications that use threads.
|
||||
|
||||
The Boehm GC system needs to catch your calls to the pthreads
|
||||
layer, so in each file where you use pthread.h you should
|
||||
include the <gc/gc.h> file.
|
||||
|
||||
* Exposing C code to the CIL universe
|
||||
|
||||
The Mono runtime provides two mechanisms to expose C code to
|
||||
|
||||
@@ -68,41 +68,3 @@ code.
|
||||
|
||||
catch handler: receives the exception object in ECX. They store that
|
||||
object into a local variable, so that rethrow can access the object.
|
||||
|
||||
|
||||
gcc support for Exceptions
|
||||
==========================
|
||||
|
||||
gcc supports exceptions in files compiled with the -fexception option. gcc
|
||||
generates DWARF exceptions tables in that case, so it is possible to unwind the
|
||||
stack. The method to read those exception tables is contained in libgcc.a, and
|
||||
in newer versions of glibc (glibc 2.2.5 for example), and it is called
|
||||
__frame_state_for(). Another usable glibc function is backtrace_symbols() which
|
||||
returns the function name corresponding to a code address.
|
||||
|
||||
We dynamically check if those features are available using g_module_symbol(),
|
||||
and we use them only when available. If not available we use the LMF as
|
||||
fallback.
|
||||
|
||||
Using gcc exception information prevents us from saving the LMF at each native
|
||||
call, so this is a way to speed up native calls. This is especially valuable
|
||||
for internal calls, because we can make sure that all internal calls are
|
||||
compiled with -fexceptions (we compile the whole mono runtime with that
|
||||
option).
|
||||
|
||||
All native function are able to call function without exception tables, and so
|
||||
we are unable to restore all caller saved registers if an exception is raised
|
||||
in such function. Well, its possible if the previous function already saves all
|
||||
registers. So we only omit the the LMF if a function has an exception table
|
||||
able to restore all caller saved registers.
|
||||
|
||||
One problem is that gcc almost never saves all caller saved registers, because
|
||||
it is just unnecessary in normal situations. But there is a trick forcing gcc
|
||||
to save all register, we just need to call __builtin_unwind_init() at the
|
||||
beginning of a function. That way gcc generates code to save all caller saved
|
||||
register on the stack.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5 sqlsharp.1
|
||||
man_MANS = mcs.1 mono.1 monostyle.1 mono-config.5
|
||||
|
||||
EXTRA_DIST = $(man_MANS)
|
||||
|
||||
@@ -44,14 +44,6 @@ the math operations checked (the default is unchecked).
|
||||
Sets the default compilation mode to `unchecked'. This makes all
|
||||
the math operations unchecked (this is the default).
|
||||
.TP
|
||||
.I -codepage:ID
|
||||
Specifies the code page used to process the input files from the
|
||||
point it is specified on. By default files will be processed in the
|
||||
Latin-1 code page. The compiler will also automatically detect
|
||||
Unicode files that have an embedded byte mark at the beginning. The
|
||||
special ID "utf8" can be used to switch to utf8 and the ID "reset"
|
||||
restores the automatic handling of code pages.
|
||||
.TP
|
||||
.I \-define:SYMLIST, -d:SYMLIST
|
||||
Defines the symbol listed by the semi-colon separeted list SYMLIST
|
||||
SYMBOL. This can be tested in the source code by the pre-processor,
|
||||
@@ -59,19 +51,11 @@ or can be used by methods that have been tagged with the Conditional
|
||||
attribute.
|
||||
.TP
|
||||
.I \-debug, \-debug+, \-g
|
||||
Generate debugging information. The debugging information is stored
|
||||
in a file with the extension .dbg (if you install system wide
|
||||
assemblies, you need to install this file as well). To get stack
|
||||
traces with debugging information, you need to invoke the mono runtime
|
||||
with the `--debug' flag.
|
||||
Generate debugging information.
|
||||
.TP
|
||||
.I \-debug-
|
||||
Do not generate debugging information.
|
||||
.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.
|
||||
.TP
|
||||
.I \-\-fatal
|
||||
This is used for debugging the compiler. This makes the error emission
|
||||
generate an exception that can be caught by a debugger.
|
||||
@@ -106,14 +90,15 @@ Names the output file to be generated.
|
||||
.I \-\-parse
|
||||
Used for benchmarking. The compiler will only parse its input files.
|
||||
.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
|
||||
name will be the file name.
|
||||
.I \-\-probe X L
|
||||
Probes for the code to generate an error named `X' in line `L'. This
|
||||
is only used by the test suite.
|
||||
.TP
|
||||
.I /resource:RESOURCE
|
||||
Embeds to the given resource file.
|
||||
.TP
|
||||
.I -linkresource:RESOURCE[,ID]
|
||||
Links to the specified RESOURCE. The optional ID can be used to give
|
||||
a name to the linked resource.
|
||||
.I /linkresource:RESOURCE
|
||||
Links to the given resource file.
|
||||
.TP
|
||||
.I \-recurse:PATTERN, --recurse PATTERN
|
||||
Does recursive compilation using the specified pattern. In Unix the
|
||||
@@ -141,14 +126,11 @@ Treat warnings as errors.
|
||||
Sets the warning level. 0 is the lowest warning level, and 4 is the
|
||||
highest. The default is 2.
|
||||
.TP
|
||||
.I -r:ASSEMBLY1[,ASSEMBLY2], \-r ASSEMBLY1[,ASSEMBLY2]
|
||||
Reference the named assemblies. Use this to use classes from the named
|
||||
.I -r:ASSEMBLY, \-r ASSEMBLY
|
||||
Reference the named assembly. Use this to use classes from the named
|
||||
assembly in your program. The assembly will be loaded from either the
|
||||
system directory where all the assemblies live, or from the path
|
||||
explicitly given with the -L option.
|
||||
.PP
|
||||
You can also use a semicolon to separate the assemblies instead of a
|
||||
comma.
|
||||
.TP
|
||||
.I \-v
|
||||
Debugging. Turns on verbose yacc parsing.
|
||||
|
||||
+11
-12
@@ -42,7 +42,6 @@ specified in the MONO_CONFIG environment variable, if set.
|
||||
.TP
|
||||
.I "--noinline"
|
||||
Disables the code inliner.
|
||||
.TP
|
||||
.SH DEBUGGING OPTIONS
|
||||
The following options are used to debug, or perfomance test the JIT
|
||||
compiler:
|
||||
@@ -68,7 +67,7 @@ the method will be compiled a thousand times.
|
||||
The following options are used to debug a JITed application. They're
|
||||
only useful when running the JIT in a debugger:
|
||||
.TP
|
||||
.I "--debug"
|
||||
.I "--debug=[format]"
|
||||
Writes out debug information in the given format or in the default format.
|
||||
See DEBUGGING FORMATS for details.
|
||||
.TP
|
||||
@@ -78,8 +77,7 @@ See DEBUGGING FORMATS for details.
|
||||
.TP
|
||||
.I "--break method"
|
||||
Inserts a breakpoint before the method whose name is `method'
|
||||
(namespace.class:methodname). Use `Main' as method name to insert a breakpoint on the
|
||||
application's main method.
|
||||
(namespace.class:methodname).
|
||||
.TP
|
||||
.I "--precompile name"
|
||||
Compiles the given class (namespace.name), method (namespace.name:methodname)
|
||||
@@ -97,9 +95,12 @@ Writes out stabs debug information.
|
||||
.I "dwarf"
|
||||
Writes out dwarf debug information.
|
||||
.TP
|
||||
.I "mono"
|
||||
Use a symbol file which has been created by MCS. It can be used to get
|
||||
source lines in stack traces.
|
||||
.I "dwarf-plus"
|
||||
Uses an extended debugging information file which has been generated
|
||||
by MCS. This extended debugging information will allow you to debug
|
||||
C# source code rather than IL code. To use it, just run the JIT in
|
||||
your debugger and call "mono_debug_make_symbols" each time the program
|
||||
stops.
|
||||
.PP
|
||||
The "stabs" and "dwarf" formats support the following options:
|
||||
.TP
|
||||
@@ -129,12 +130,10 @@ behaviour.
|
||||
Update the *.il files if their assemblies have changed, but only if the
|
||||
file already exists.
|
||||
.PP
|
||||
.SH ENVIRONMENT VARIABLES
|
||||
The "dwarf-plus" format supports the following options:
|
||||
.TP
|
||||
.I "MONO_PATH"
|
||||
Provides a search path to mono and mint 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 "dont_fallback"
|
||||
Don't fallback to normal dwarf2 if the symbol file cannot be found.
|
||||
.PP
|
||||
.SH FILES
|
||||
On Unix assemblies are loaded from the installation lib directory. If you set
|
||||
|
||||
-444
@@ -1,444 +0,0 @@
|
||||
.TH sqlsharp 1 "10 December 2002"
|
||||
.SH NAME
|
||||
sqlsharp \- Mono SQL# command-line SQL Query tool
|
||||
.SH SYNOPSIS
|
||||
.B sqlsharp
|
||||
[\-f filename] [\-o filename] [\-s]
|
||||
.SH DESCRIPTION
|
||||
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.
|
||||
.TP
|
||||
.I "-o filename"
|
||||
Output file to send results.
|
||||
.TP
|
||||
.I "-s"
|
||||
Silent mode.
|
||||
.PP
|
||||
.SH HOW TO USE
|
||||
The SQL# tool accepts commands via its command line interface. Commands
|
||||
begin with a backslash followed by the command name.
|
||||
.PP
|
||||
Example:
|
||||
.nf
|
||||
\\open
|
||||
|
||||
.fi
|
||||
.PP
|
||||
Basically, there are five commands a user should know:
|
||||
\\provider, \\connectionstring, \\open, \\quit, and \\help
|
||||
.PP
|
||||
To connect to a database, you need to do the following:
|
||||
.PP
|
||||
1. set your data provider via \\provider
|
||||
.PP
|
||||
.nf
|
||||
Example:
|
||||
SQL# \\provider mysql
|
||||
|
||||
.fi
|
||||
.PP
|
||||
2. set your connection string via \\connectionstring
|
||||
.PP
|
||||
.nf
|
||||
Example:
|
||||
SQL# \\connectionstring Database=test
|
||||
|
||||
.fi
|
||||
.PP
|
||||
3. open a connection to the database via \\open
|
||||
.PP
|
||||
.nf
|
||||
Example:
|
||||
SQL# \\open
|
||||
|
||||
.fi
|
||||
.PP
|
||||
.SH CONNECTION AND PROVIDER COMMANDS
|
||||
These commands are used to setup the provider,
|
||||
connection string, and open/close the database connnection
|
||||
.TP
|
||||
.I "ConnectionString"
|
||||
Sets the Connection String
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\ConnectionString Database=testdb
|
||||
|
||||
For more examples, see section CONNECTION STRING EXAMPLES.
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "Provider"
|
||||
Sets the Provider of the Data Source. For list of Providers, see section PROVIDERS.
|
||||
.nf
|
||||
|
||||
Example: to set the provider for MySQL:
|
||||
SQL# \\provider mysql
|
||||
|
||||
Note: if you need to load an external provider in SQL#,
|
||||
see the SQL# command \\loadextprovider
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "LoadExtProvider"
|
||||
ASSEMBLY CLASS to load an external provider. Use the complete name
|
||||
of its assembly and its Connection class.
|
||||
.nf
|
||||
|
||||
Example: to load the MySQL provider Mono.Data.MySql
|
||||
SQL# \\loadextprovider Mono.Data.MySql Mono.Data.MySql.MySqlConnection
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "Open"
|
||||
Opens a connection to the database
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\open
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "Close"
|
||||
Closes the connection to the database
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\close
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "Default"
|
||||
show default variables, such as, Provider and ConnectionString.
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\defaults
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "Q"
|
||||
Quit
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\q
|
||||
|
||||
.fi
|
||||
.SH SQL EXECUTION COMMANDS
|
||||
Commands to execute SQL statements
|
||||
.PP
|
||||
.TR
|
||||
.I "e"
|
||||
execute SQL query (SELECT)
|
||||
.nf
|
||||
|
||||
Example: to execute a query
|
||||
|
||||
SQL# SELECT * FROM EMPLOYEE
|
||||
SQL# \\e
|
||||
|
||||
Note: to get \\e to automatically work after entering a query, put a
|
||||
semicolon ; at the end of the query.
|
||||
|
||||
Example: to enter and exectue query at the same time
|
||||
|
||||
SQL# SELECT * FROM EMPLOYEE;
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "exenonquery"
|
||||
execute a SQL non query (not a SELECT)
|
||||
.nf
|
||||
|
||||
Example: to insert a row into a table:
|
||||
|
||||
SQL# INSERT INTO SOMETABLE (COL1, COL2) VALUES('ABC','DEF')
|
||||
SQL# \\exenonquery
|
||||
|
||||
Note: this can be used for those providers that are new and do not have
|
||||
the ability to execute queries yet.
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "exescalar"
|
||||
execute SQL to get a single row and single column.
|
||||
.nf
|
||||
|
||||
Example: to execute a Maxium aggregate
|
||||
SQL# SELECT MAX(grade) FROM class
|
||||
SQL# \\exescalar
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "exexml"
|
||||
FILENAME to execute SQL and save output to XML file
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# SELECT fname, lname, hire_date FROM employee
|
||||
SQL# \\exexml employee.xml
|
||||
|
||||
Note: this depends on DataAdapter, DataTable, and DataSet
|
||||
to be working properly
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.SH FILE COMMANDS
|
||||
Commands for importing commands from file to SQL# and vice versa
|
||||
.TP
|
||||
.I "f"
|
||||
FILENAME to read a batch of SQL# commands from file
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\f batch.sql#
|
||||
|
||||
Note: the SQL# commands are interpreted as they are read. If there is
|
||||
any SQL statements, the are executed.
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "o"
|
||||
FILENAME to write result of commands executed to file.
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\o result.txt
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "load"
|
||||
FILENAME to load from file SQL commands into SQL buffer.
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\load commands.sql
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "save"
|
||||
FILENAME to save SQL commands from SQL buffer to file.
|
||||
|
||||
.nf
|
||||
Example:
|
||||
SQL# \\save commands.sql
|
||||
|
||||
.fi
|
||||
.SH GENERAL PURPOSE COMMANDS
|
||||
General commands to use.
|
||||
.TP
|
||||
.I "h"
|
||||
show help (all commands).
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\h
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "s"
|
||||
TRUE, FALSE to silent messages.
|
||||
.nf
|
||||
|
||||
Example 1:
|
||||
SQL# \\s true
|
||||
|
||||
Example 2:
|
||||
SQL# \\s false
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "r"
|
||||
reset or clear the query buffer.
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\r
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "print"
|
||||
show what's in the SQL buffer now.
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\print
|
||||
|
||||
.fi
|
||||
SH VARIABLES WHICH CAN BE USED AS PARAMETERS
|
||||
Commands to set variables which can be used as Parameters in an SQL statement. If the
|
||||
SQL contains any parameters, the parameter does not have a variable set, the
|
||||
user will be prompted for the value for each missing parameter.
|
||||
.TP
|
||||
.I "set"
|
||||
NAME VALUE to set an internal variable.
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\set sFirstName John
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "unset"
|
||||
NAME to remove an internal variable.
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\unset sFirstName
|
||||
|
||||
.fi
|
||||
.TP
|
||||
.I "variable"
|
||||
NAME to display the value of an internal variable.
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\variable sFirstName
|
||||
|
||||
.fi
|
||||
.SH PROVIDER SUPPORT OPTIONS
|
||||
Enable or Disble support for a particular provider option
|
||||
.TP
|
||||
.I "UseParameters"
|
||||
TRUE,FALSE to use parameters when executing SQL which
|
||||
use the variables that were set.
|
||||
.PP
|
||||
If this option is true, the SQL
|
||||
contains parameters, and for each parameter
|
||||
which does not have a SQL# variable set, the
|
||||
user will be prompted to enter the value
|
||||
For that parameter.
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\useparameter true
|
||||
|
||||
.fi
|
||||
.PP
|
||||
Default: false
|
||||
.TP
|
||||
.I "UseSimpleReader"
|
||||
TRUE,FALSE to use simple reader when displaying results.
|
||||
.nf
|
||||
|
||||
Example:
|
||||
SQL# \\usesimplereader true
|
||||
|
||||
.fi
|
||||
.PP
|
||||
Default: false. Mostly, this is dependent on the provider. If the provider
|
||||
does not have enough of IDataReader implemented to have
|
||||
the normal reader working, then the simple reader can be used.
|
||||
Providers like SqlClient, MySQL, and PostgreSQL have this
|
||||
ption defaulting to true.
|
||||
.PP
|
||||
.SH PROVIDERS
|
||||
.nf
|
||||
|
||||
PROVIDER NAME NAMESPACE ASSEMBLY
|
||||
|
||||
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
|
||||
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
|
||||
Tds TDS Generic Mono.Data.TdsClient Mono.Data.TdsClient
|
||||
PostgreSql PostgreSQL Mono.Data.PostgreSqlClient Mono.Data.PostgreSqlClient
|
||||
|
||||
.fi
|
||||
.SH CONNECTION STRING SAMPLES
|
||||
Example connection strings for various providers to be used via the
|
||||
command \\ConnectionString
|
||||
.nf
|
||||
|
||||
Example of usage:
|
||||
\\connectionstring Database=testdb
|
||||
|
||||
|
||||
Connection String examples:
|
||||
|
||||
|
||||
Microsoft SQL Server via System.Data.SqlClient
|
||||
or Mono.Data.TdsClient provider:
|
||||
|
||||
Server=DANPC;Database=pubs;User ID=saPassword=
|
||||
|
||||
|
||||
PostgreSQL via Mono.Data.PostgreSqlClient provider:
|
||||
|
||||
host=localhost;dbname=test;user=postgres;pass=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
|
||||
in the Windows control panel's ODBC Data Sources
|
||||
which connects to Microsoft SQL Server 2000:
|
||||
|
||||
DSN=MSSQLDSN;UID=danmorg;PWD=freetds
|
||||
|
||||
|
||||
SQL Lite via Mono.Data.SqliteClient
|
||||
provider which connects to the
|
||||
database file SqliteTest.db; if not found,
|
||||
the file is created:
|
||||
|
||||
URI=file:SqliteTest.db
|
||||
|
||||
|
||||
OLE DB via System.Data.OleDb provider
|
||||
which connects to a PostgreSQL database:
|
||||
|
||||
Provider=PostgreSQL;Addr=127.0.0.1;Database=rodrigo
|
||||
|
||||
|
||||
.fi
|
||||
.SH DEBUGGING SUPPORT
|
||||
No debugging support.
|
||||
.SH AUTHORS
|
||||
The Mono SQL# Tool was written
|
||||
.nf
|
||||
by Daniel Morgan <[email protected]>
|
||||
.fi
|
||||
.PP
|
||||
.SH LICENSE
|
||||
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 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:
|
||||
.nf
|
||||
http://bugzilla.ximian.com.
|
||||
.fi
|
||||
.PP
|
||||
.SH MAILING LISTS
|
||||
For details, visit:
|
||||
.nf
|
||||
http://mail.ximian.com/mailman/mono-list
|
||||
.fi
|
||||
.SH WEB SITE
|
||||
For details, visit:
|
||||
.nf
|
||||
http://www.go-mono.com
|
||||
.fi
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
mono(1), mint(1)
|
||||
|
||||
+1
-3
@@ -1,11 +1,10 @@
|
||||
C# Compiler:
|
||||
Miguel de Icaza ([email protected])
|
||||
Ravi Pratap ([email protected])
|
||||
Martin Baulig ([email protected])
|
||||
|
||||
Class Libraries:
|
||||
Patrik Torstensson <[email protected]>
|
||||
Gaurav Vaish <gvaish[email protected]>
|
||||
Gaurav Vaish <gvaish@iitk.ac.in>
|
||||
Jeff Stedfast ([email protected])
|
||||
Joe Shaw ([email protected])
|
||||
Miguel de Icaza ([email protected])
|
||||
@@ -15,4 +14,3 @@ Class Libraries:
|
||||
Bob Smith ([email protected])
|
||||
John Barnette ([email protected])
|
||||
Daniel Morgan <[email protected]>
|
||||
Sebastien Pouliot <[email protected]>
|
||||
-340
@@ -1,340 +0,0 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
||||
+16
-140
@@ -1,127 +1,3 @@
|
||||
2003-01-10 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* README.building: New file.
|
||||
* makefile.gnu: install README.building file.
|
||||
|
||||
2003-01-09 Sebastien Pouliot <[email protected]>
|
||||
|
||||
* AUTHORS: add myself to class library list
|
||||
|
||||
2002-12-15 Alp Toker <[email protected]>
|
||||
|
||||
* makefile.gnu: make sure mcs is in PATH, otherwise tell user to read
|
||||
INSTALL.txt
|
||||
|
||||
2002-12-10 Daniel Morgan <[email protected]>
|
||||
|
||||
* makefile
|
||||
* tools/makefile
|
||||
* tools/makefile.gnu: change target
|
||||
from SqlSharpCli.exe
|
||||
to sqlsharp.exe
|
||||
|
||||
2002-12-10 Alp Toker <[email protected]>
|
||||
|
||||
* ilasm/makefile.gnu: Install ilasm executable with -m 755, not 644
|
||||
* ilasm/makefile: ditto
|
||||
|
||||
2002-12-10 Gaurav Vaish <[email protected]>
|
||||
|
||||
* AUTHORS: Corrected my email-ID.
|
||||
|
||||
2002-11-29 Daniel Morgan <[email protected]>
|
||||
|
||||
* INSTALL: renamed to INSTALL.txt because INSTALL
|
||||
interferred with "make install" on windows
|
||||
|
||||
* makefile: changes to get "make install" work
|
||||
on windows
|
||||
|
||||
* class/makefile.gnu: flush
|
||||
|
||||
* ilasm/makefile: updated for windows build
|
||||
|
||||
* monoresgen/makefile: updated for windows build
|
||||
|
||||
* tools/SqlSharp/SqlSharpCli.build: flush
|
||||
|
||||
* winexe.in: add file to be template for executable assemblies
|
||||
to be installed on windows via "make install" by providing
|
||||
a script that runs mono and the assembly
|
||||
like mcs runs mono mcs.exe
|
||||
|
||||
2002-11-28 Daniel Morgan <[email protected]>
|
||||
|
||||
* makefile.gnu: added tools directory to linux build
|
||||
|
||||
* tools/makefile.gnu: added new file to built tools and install.
|
||||
dist works too. test is just blank.
|
||||
|
||||
2002-11-16 Martin Baulig <[email protected]>
|
||||
|
||||
* makefile.gnu: `binary-snapshot' is now an alias for `dist'.
|
||||
Please update your scripts, the `dist' target will disappear soon.
|
||||
|
||||
2002-11-09 Nick Drochak <[email protected]>
|
||||
|
||||
* makefile: have test target be smart about windows/linux
|
||||
|
||||
2002-11-07 Nick Drochak <[email protected]>
|
||||
|
||||
* makefile: for the clean target, handle linux and windows differently.
|
||||
|
||||
2002-10-13 Daniel Morgan <[email protected]>
|
||||
|
||||
* class/library.build: added Mono.Data.SqliteClient
|
||||
directory to windows build
|
||||
|
||||
2002-10-10 Daniel Morgan <[email protected]>
|
||||
|
||||
* class/library.build: added Mono.Data.MySql directory to windows build.
|
||||
|
||||
2002-10-10 Rodrigo Moya <[email protected]>
|
||||
|
||||
* class/makefile.gnu: added Mono.Data.MySql directory to linux build.
|
||||
|
||||
2002-10-09 Rodrigo Moya <[email protected]>
|
||||
|
||||
* class/makefile.gnu: added System.Data.Odbc directory.
|
||||
|
||||
2002-09-14 Piers Haken <[email protected]>
|
||||
|
||||
* */makefile.gnu:
|
||||
use $(topdir)
|
||||
build nunit into $(topdir)/class/lib
|
||||
|
||||
2002-08-27 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* makefile.gnu:
|
||||
* class/library.make:
|
||||
* class/makefile.gnu:
|
||||
* class/I18N/makefile.gnu
|
||||
* class/corlib/makefile.gnu:
|
||||
* class/corlib/Test/ChangeLog:
|
||||
* class/corlib/Test/corlib_linux_test.args:
|
||||
* class/corlib/Test/makefile.gnu:
|
||||
* class/corlib/Test/run_test.sh:
|
||||
* jay/makefile.gnu:
|
||||
* mcs/makefile.gnu:
|
||||
* monoresgen/makefile.gnu:
|
||||
* nunit/makefile.gnu:
|
||||
|
||||
Allow running 'make -f makefile.gnu test' from top directory.
|
||||
In the libraries makefile.gnu you just have to add TEST_DIR=dirname
|
||||
with the name where tests reside.
|
||||
|
||||
2002-08-23 Martin Baulig <[email protected]>
|
||||
|
||||
* class/makefile.gnu: Add class/Mono.CSharp.Debugger to the build.
|
||||
|
||||
2002-08-13 Piers Haken <[email protected]>
|
||||
|
||||
* class/library.make: merge back original makefile.gnu behavior
|
||||
* */makefile.gnu: merge back original makefile.gnu behavior
|
||||
|
||||
2002-08-12 Piers Haken <[email protected]>
|
||||
|
||||
* class/library.make: use 'find' to specify source files, instead of static files
|
||||
@@ -196,20 +72,20 @@
|
||||
|
||||
* makefile (linux): Abandon the build if any of the subdir makes fail
|
||||
|
||||
2002-03-07 Nick Drochak <[email protected]>
|
||||
|
||||
* makefile: Change order of build so corlib is built before nunit since
|
||||
Nunit needs corlib now.
|
||||
|
||||
2002-02-14 Nick Drochak <[email protected]>
|
||||
|
||||
* makefile: Build mcs/doctools too when one does 'make'
|
||||
|
||||
2002-01-20 Nick Drochak <[email protected]>
|
||||
|
||||
* on the 'test' target, make sure NUnit is built first before building
|
||||
and running tests
|
||||
|
||||
2002-01-20 Nick Drochak <[email protected]>
|
||||
|
||||
2002-03-07 Nick Drochak <[email protected]>
|
||||
|
||||
* makefile: Change order of build so corlib is built before nunit since
|
||||
Nunit needs corlib now.
|
||||
|
||||
2002-02-14 Nick Drochak <[email protected]>
|
||||
|
||||
* makefile: Build mcs/doctools too when one does 'make'
|
||||
|
||||
2002-01-20 Nick Drochak <[email protected]>
|
||||
|
||||
* on the 'test' target, make sure NUnit is built first before building
|
||||
and running tests
|
||||
|
||||
2002-01-20 Nick Drochak <[email protected]>
|
||||
|
||||
* add nunit directory to the list of dirs to build in
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
The Mono project has developed mono, an x86-specific CL JIT compiler and
|
||||
mint, a portable CLI interpreter. The build process of each of these
|
||||
depends on nothing more than a C compiler, glib2 and libgc.
|
||||
|
||||
However, to provide a working runtime environment, these programs must
|
||||
be supplemented by corlib, a CLR assembly to which they are closely
|
||||
tied. This package provides the C# sources for corlib as well as some
|
||||
additional assemblies and mcs, the Mono C# compiler.
|
||||
|
||||
To build this package, you must already have a C# compiler installed.
|
||||
Build instructions for *NIX and Microsoft Windows follow.
|
||||
|
||||
Building mcs on *NIX
|
||||
====================
|
||||
|
||||
mcs provides a set of makefiles which make it easy to build and install
|
||||
mcs on *NIX systems like Linux or FreeBSD where mcs is already
|
||||
installed.
|
||||
|
||||
To build the compiler and class libraries, run:
|
||||
|
||||
make -f makefile.gnu
|
||||
|
||||
The libraries will be placed in the directory class/lib/ and the mcs
|
||||
compiler executable in mcs/.
|
||||
|
||||
To install them, run the following, where prefix identifies where you
|
||||
want the files installed:
|
||||
|
||||
make -f makefile.gnu install prefix=/usr/local
|
||||
|
||||
If you are tracking Mono's development, you may sometimes need to share
|
||||
the compiled libraries with others. If you want to produce an easily
|
||||
distributable tarball, run:
|
||||
|
||||
make -f makefile.gnu dist
|
||||
|
||||
Building mcs on Windows
|
||||
=======================
|
||||
|
||||
It is also possible to build mcs on Windows using the Microsoft .NET
|
||||
framework. This may be convenient if you do not have access to a working
|
||||
mcs setup. To build the compiler and class libraries, run:
|
||||
|
||||
make
|
||||
|
||||
The libraries will be placed in the directory class/lib/ and the mcs
|
||||
compiler executable in mcs/. They can then be copied to /usr/lib and
|
||||
/usr/bin or wherever desired on the target system.
|
||||
|
||||
-58
@@ -21,63 +21,5 @@ Layout:
|
||||
tests/
|
||||
Sample tests
|
||||
|
||||
docs/
|
||||
Some notes on the compiler and the class libraries.
|
||||
|
||||
nant/
|
||||
A copy of nant source code, used during the build process
|
||||
on Windows.
|
||||
|
||||
tools/
|
||||
Various small development tools: CorCompare used to compare
|
||||
two assemblies for differences in the API; TypeReflector is
|
||||
a tool used to introspect types from assemblies from the
|
||||
command line; MonoStyle helps you keep your code indendented
|
||||
with the Mono programming style.
|
||||
|
||||
|
||||
Thanks a lot to Sergey Chaban for his help during the development of
|
||||
the C# compiler.
|
||||
|
||||
LICENSE
|
||||
|
||||
The mcs C# compiler and monoresgen are licensed to you under the GPL, version 2.
|
||||
The complete text of the GPL is in the 'COPYING' file.
|
||||
|
||||
Copyright (C) 2001-2002 Ximian, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of version 2 of the GNU General Public License as
|
||||
published by the Free Software Foundation.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
The class libraries are licensed according to the following license:
|
||||
|
||||
Copyright (C) 2001-2002 Ximian, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
|
||||
[1] Building mono + mcs from CVS on *NIX. The Easy Way (tm)
|
||||
-------------------------------------------------------------
|
||||
1. Get mono and mcs from CVS (http://www.go-mono.com/download.html)
|
||||
|
||||
2. Use the script to build mono (mono/doc/mono-build.sh).
|
||||
|
||||
3. Copy the dlls and mcs.exe from the latest monocharge tarball
|
||||
(http://www.gnome-db.org/~gonzalo/mono/) to /where/you/installed/mono/lib and
|
||||
..../bin respectively.
|
||||
|
||||
|
||||
|
||||
[2] Keeping the stuff up to date
|
||||
----------------------------------
|
||||
Once you have followed the above steps, do these ones to keep your installation
|
||||
up to date:
|
||||
|
||||
1. In mcs directory,
|
||||
|
||||
cvs -z3 update -Pd
|
||||
make -f makefile.gnu
|
||||
|
||||
2. Use the mono-build.sh script to update, rebuild and install mono from CVS.
|
||||
Doing a cvs update of mono/doc/mono-build.sh file is also a good idea.
|
||||
|
||||
3. In mcs directory:
|
||||
|
||||
make -f makefile.gnu install prefix=/prefix/of/your/installation/path
|
||||
|
||||
4. In case of troubles (ie, unable to compile mcs/* sources) go to [1].
|
||||
|
||||
-Gonzalo
|
||||
@@ -1,566 +0,0 @@
|
||||
<?xml version="1.0" standalone="yes"?>
|
||||
<svg width="600" height="523">
|
||||
<path style="fill:#feffff" d="M600 0 L600 523 L0 523 L0 0 L600 0 z"/>
|
||||
<path style="fill:#606060" d="M142 40 C142.2 41.18 140.7 41.02 140 41 C139.8 39.82 141.3 39.98 142 40 z"/>
|
||||
<path style="fill:#0" d="M442 40 C441.8 41.18 443.3 41.02 444 41 L446 41 L447 42 L450 43 L451 44 L456 49 L457 50 L457 51 L458 52 L458 53 L459 54 L459 56 L459 58 L459 358 L459 360 L459 361 L458 362 L455 368 L454 369 L453 370 L452 371 L450 372 L449 373 L448 373 L447 374 L446 374 C445.3 374 443.8 373.8 444 375 L441 375 L153 374 L154 373 L157 369 L158 368 L159 367 L161 364 L162 363 L163 362 L165 359 L166 358 L167 357 L170 353 L171 352 L172 351 L174 348 L175 347 L176 346 L179 342 L180 341 L181 340 L183 337 L184 336 L185 335 L188 331 L189 330 L190 329 L192 326 L193 325 L194 324 L197 320 L198 319 L199 318 L201 315 L202 314 L203 313 L206 309 L207 308 L208 307 L210 304 L211 303 L212 302 L215 298 L216 297 L217 296 L219 293 L220 292 L221 291 C221.3 289.7 222.7 288.7 224 289 L225 290 L227 290 L228 291 L229 291 L230 292 L231 292 L232 293 L234 293 L235 294 L236 294 L237 295 L238 295 L239 296 L241 296 L242 297 L243 297 L244 298 L245 298 L246 299 L248 299 L249 300 L250 300 L251 301 L252 301 L253 302 L255 302 L256 303 L257 303 L258 304 L259 304 L260 305 L264 306 L265 307 L266 307 L267 308 L271 309 L272 310 L273 310 L274 311 L278 312 L279 313 L280 313 L281 314 L285 315 L286 316 L287 316 L288 317 L292 318 L293 319 L294 319 L295 320 L299 321 L300 322 L301 322 L302 323 L306 324 L307 325 L308 325 L309 326 L313 327 L314 328 L315 328 L316 329 L317 329 L318 330 L320 330 L321 331 L322 331 L323 332 L324 332 L325 333 L327 333 L328 334 L329 334 L330 335 L331 335 L332 336 L334 336 L335 337 L336 337 L337 338 L338 338 L339 339 L341 339 L342 340 L343 340 L344 341 L345 341 L346 342 L348 342 L349 343 L350 343 L351 344 L352 344 L353 345 L355 345 L356 346 L357 346 L358 347 L359 347 L360 348 C361.6 348.3 363.7 347.9 364 346 L365 345 L366 343 L367 342 L367 341 L368 340 L373 329 L374 328 L374 327 L375 326 L375 325 L376 324 L376 323 L377 322 L377 320 L378 319 L378 318 L379 317 L380 313 L381 312 L381 311 L382 310 L382 308 L383 307 L384 303 L385 302 L380 298 L379 297 L378 297 L377 296 L373 294 L372 293 L369 291 L368 290 L366 289 L365 288 L364 287 L361 285 L360 284 L359 283 L345 269 L344 268 L343 267 L342 266 L340 263 L339 262 L337 259 L336 258 L331 250 L330 249 L329 247 L328 246 L328 245 L327 244 L324 238 L324 237 L327 240 L328 241 L330 244 L331 245 L332 246 L333 247 L337 252 L338 253 L339 254 L340 255 L341 256 L342 257 L343 258 L344 259 L345 260 L346 261 L347 262 L348 263 L349 264 L355 269 L356 270 L357 271 L358 272 L362 275 L363 276 L366 278 L367 279 L368 280 L370 281 L371 282 L372 283 L374 284 L375 285 L377 286 L378 287 L380 288 L381 289 L383 290 L384 291 L386 292 C385.8 293.3 388.2 293.3 388 292 L388 291 C389.2 291.2 389 289.7 389 289 L389 287 C390.2 287.2 390 285.7 390 285 L390 282 C391.2 282.2 391 280.7 391 280 L391 277 C392.6 276.9 391.8 274.9 392 274 L392 272 L393 267 L393 242 L392 237 L392 233 L391 229 L391 227 L391 225 C391 224.3 391.2 222.8 390 223 L390 220 C390 219.3 390.2 217.8 389 218 L389 215 C389 214.3 389.2 212.8 388 213 L388 211 C388 210.3 388.2 208.8 387 209 L387 207 C387 206.3 387.2 204.8 386 205 L386 204 C386 203.3 386.2 201.8 385 202 L385 200 C385 199.3 385.2 197.8 384 198 L384 197 C384 196.3 384.2 194.8 383 195 L383 193 L382 192 L382 190 L381 189 L381 187 L380 186 L380 185 L379 184 L379 182 L378 181 L377 180 L376 179 L368 177 L367 176 L365 176 C365.2 174.8 363.7 175 363 175 L362 175 C362.2 173.8 360.7 174 360 174 L358 174 L357 173 L356 173 C356.2 171.8 354.7 172 354 172 L349 171 L348 170 L346 170 C346.2 168.8 344.7 169 344 169 L343 169 L344 168 L347 168 C346.8 169.2 348.3 169 349 169 L351 169 C350.8 170.2 352.3 170 353 170 L357 170 C356.8 171.2 358.3 171 359 171 L360 171 C360.1 172.6 362.1 171.8 363 172 L367 172 C366.8 173.2 368.3 173 369 173 L373 173 C373.1 174.6 375.1 173.8 376 174 L378 174 L382 175 C385.8 174.6 391.3 176.6 393 172 L394 171 L394 169 L395 165 L395 159 L394 154 L394 151 C393.8 150.1 394.6 148.1 393 148 L393 145 L393 143 C393 142.3 393.2 140.8 392 141 L391 134 C391 133.3 391.2 131.8 390 132 L390 131 C390 130.3 390.2 128.8 389 129 L389 127 C389 126.3 389.2 124.8 388 125 L388 124 C388 123.3 388.2 121.8 387 122 L387 120 C387 119.3 387.2 117.8 386 118 L386 117 C386 116.3 386.2 114.8 385 115 L385 114 C385 113.3 385.2 111.8 384 112 L383 108 L382 107 L382 106 L381 105 L381 104 L380 103 L379 100 L378 99 L378 98 L377 97 L375 95 L374 94 L372 93 L371 92 L367 91 L366 90 L364 90 L363 89 L361 89 L360 88 L358 88 C358.2 86.82 356.7 86.98 356 87 L355 87 C355.2 85.82 353.7 85.98 353 86 L351 86 C351.2 84.82 349.7 84.98 349 85 L346 85 C346.2 83.82 344.7 83.98 344 84 L341 84 C341.2 82.82 339.7 82.98 339 83 L336 83 C336.2 81.82 334.7 81.98 334 82 L331 82 C331.2 80.82 329.7 80.98 329 81 L326 81 C325.9 79.41 323.9 80.19 323 80 L319 80 C318.9 78.41 316.9 79.19 316 79 L312 79 C311.9 77.41 309.9 78.19 309 78 L302 78 L297 77 L294 77 C293.9 75.41 291.9 76.19 291 76 L285 76 L281 76 L275 75 L264 76 L254 76 L250 77 L248 77 L246 77 C245.3 76.98 243.8 76.82 244 78 L242 78 C241.3 77.98 239.8 77.82 240 79 L238 79 C237.3 78.98 235.8 78.82 236 80 Line truncated
|
||||
<path style="fill:#585858" d="M444 41 C443.3 41.02 441.8 41.18 442 40 C442.7 39.98 444.2 39.82 444 41 z"/>
|
||||
<path style="fill:#606060" d="M138 41 L137 42 L138 41 z"/>
|
||||
<path style="fill:#606060" d="M447 42 L446 41 L447 42 z"/>
|
||||
<path style="fill:#606060" d="M136 42 L135 43 L136 42 z"/>
|
||||
<path style="fill:#909090" d="M134 43 L133 44 L134 43 z"/>
|
||||
<path style="fill:#808080" d="M451 44 L450 43 L451 44 z"/>
|
||||
<path style="fill:#606060" d="M129 48 L128 49 L129 48 z"/>
|
||||
<path style="fill:#909090" d="M457 50 L456 49 L457 50 z"/>
|
||||
<path style="fill:#808080" d="M127 51 L126 52 L127 51 z"/>
|
||||
<path style="fill:#606060" d="M458 52 L457 51 L458 52 z"/>
|
||||
<path style="fill:#787878" d="M126 53 C126 53.66 126.2 55.15 125 55 C125 54.34 124.8 52.85 126 53 z"/>
|
||||
<path style="fill:#909090" d="M459 54 L458 53 L459 54 z"/>
|
||||
<path style="fill:#9a9b9b" d="M125 56 L125 59 L124 59 C124.2 58.05 123.4 56.06 125 56 z"/>
|
||||
<path style="fill:#909090" d="M460 58 L459 58 L459 56 C460.2 55.85 460 57.34 460 58 z"/>
|
||||
<path style="fill:#404040" d="M460 58 L460 358 L459 358 L459 58 L460 58 z"/>
|
||||
<path style="fill:#404040" d="M125 59 L126 171 L124 59 L125 59 z"/>
|
||||
<path style="fill:#7d7d7d" d="M275 75 L275 76 L264 76 L275 75 z"/>
|
||||
<path style="fill:#3a3b3b" d="M281 76 L275 76 L275 75 L281 76 z"/>
|
||||
<path style="fill:#686868" d="M254 76 L250 77 L254 76 z"/>
|
||||
<path style="fill:#a2a3a3" d="M291 76 L291 77 L285 76 L291 76 z"/>
|
||||
<path style="fill:#4a4b4b" d="M294 77 L291 77 L291 76 C291.9 76.19 293.9 75.41 294 77 z"/>
|
||||
<path style="fill:#585858" d="M246 77 L246 78 L244 78 C243.8 76.82 245.3 76.98 246 77 z"/>
|
||||
<path style="fill:#a8a8a8" d="M248 77 C248.2 78.18 246.7 78.02 246 78 L246 77 L248 77 z"/>
|
||||
<path style="fill:#a0a0a0" d="M302 78 L297 77 L302 78 z"/>
|
||||
<path style="fill:#707070" d="M242 78 C242.2 79.18 240.7 79.02 240 79 C239.8 77.82 241.3 77.98 242 78 z"/>
|
||||
<path style="fill:#606060" d="M312 79 C311.1 78.81 309.1 79.59 309 78 C309.9 78.19 311.9 77.41 312 79 z"/>
|
||||
<path style="fill:#707070" d="M238 79 C238.2 80.18 236.7 80.02 236 80 C235.8 78.82 237.3 78.98 238 79 z"/>
|
||||
<path style="fill:#656565" d="M319 80 C318.1 79.81 316.1 80.59 316 79 C316.9 79.19 318.9 78.41 319 80 z"/>
|
||||
<path style="fill:#787878" d="M235 80 C235.2 81.18 233.7 81.02 233 81 C232.8 79.82 234.3 79.98 235 80 z"/>
|
||||
<path style="fill:#606060" d="M326 81 C325.1 80.81 323.1 81.59 323 80 C323.9 80.19 325.9 79.41 326 81 z"/>
|
||||
<path style="fill:#a0a0a0" d="M232 81 L231 82 L232 81 z"/>
|
||||
<path style="fill:#707070" d="M331 82 C330.3 82.02 328.8 82.18 329 81 C329.7 80.98 331.2 80.82 331 82 z"/>
|
||||
<path style="fill:#606060" d="M229 82 L228 83 L229 82 z"/>
|
||||
<path style="fill:#909090" d="M336 83 C335.3 83.02 333.8 83.18 334 82 C334.7 81.98 336.2 81.82 336 83 z"/>
|
||||
<path style="fill:#686868" d="M195 84 L191 83 L195 84 z"/>
|
||||
<path style="fill:#808080" d="M227 83 L226 84 L227 83 z"/>
|
||||
<path style="fill:#989898" d="M341 84 C340.3 84.02 338.8 84.18 339 83 C339.7 82.98 341.2 82.82 341 84 z"/>
|
||||
<path style="fill:#606060" d="M203 85 L199 84 L203 85 z"/>
|
||||
<path style="fill:#888888" d="M346 85 C345.3 85.02 343.8 85.18 344 84 C344.7 83.98 346.2 83.82 346 85 z"/>
|
||||
<path style="fill:#5c5c5c" d="M211 86 L207 85 L211 86 z"/>
|
||||
<path style="fill:#585858" d="M229 86 C228.3 86.02 226.8 86.18 227 85 C227.7 84.98 229.2 84.82 229 86 z"/>
|
||||
<path style="fill:#606060" d="M351 86 C350.3 86.02 348.8 86.18 349 85 C349.7 84.98 351.2 84.82 351 86 z"/>
|
||||
<path style="fill:#989898" d="M217 87 L213 86 L217 87 z"/>
|
||||
<path style="fill:#a8a8a8" d="M236 87 C235.3 87.02 233.8 87.18 234 86 C234.7 85.98 236.2 85.82 236 87 z"/>
|
||||
<path style="fill:#606060" d="M355 87 C354.3 87.02 352.8 87.18 353 86 C353.7 85.98 355.2 85.82 355 87 z"/>
|
||||
<path style="fill:#a0a0a0" d="M183 87 L182 88 L183 87 z"/>
|
||||
<path style="fill:#909090" d="M225 88 L221 87 L225 88 z"/>
|
||||
<path style="fill:#686868" d="M240 88 C239.3 88.02 237.8 88.18 238 87 C238.7 86.98 240.2 86.82 240 88 z"/>
|
||||
<path style="fill:#909090" d="M358 88 C357.3 88.02 355.8 88.18 356 87 C356.7 86.98 358.2 86.82 358 88 z"/>
|
||||
<path style="fill:#909090" d="M182 88 L181 89 L182 88 z"/>
|
||||
<path style="fill:#a0a0a0" d="M232 89 C231.1 88.81 229.1 89.59 229 88 C229.9 88.19 231.9 87.41 232 89 z"/>
|
||||
<path style="fill:#606060" d="M245 89 C244.3 89.02 242.8 89.18 243 88 C243.7 87.98 245.2 87.82 245 89 z"/>
|
||||
<path style="fill:#909090" d="M361 89 L360 88 L361 89 z"/>
|
||||
<path style="fill:#606060" d="M181 89 L180 90 L181 89 z"/>
|
||||
<path style="fill:#686868" d="M242 90 L238 89 L242 90 z"/>
|
||||
<path style="fill:#6e6e6e" d="M252 90 C251.3 89.98 249.8 89.82 250 91 L246 90 C246.7 90.02 248.2 90.18 248 89 L252 90 z"/>
|
||||
<path style="fill:#a0a0a0" d="M364 90 L363 89 L364 90 z"/>
|
||||
<path style="fill:#0c0c0c" d="M252 90 L254 90 L254 91 L250 91 C249.8 89.82 251.3 89.98 252 90 z"/>
|
||||
<path style="fill:#505050" d="M260 91 L260 92 L254 91 L254 90 L260 91 z"/>
|
||||
<path style="fill:#909090" d="M367 91 L366 90 L367 91 z"/>
|
||||
<path style="fill:#989898" d="M260 92 L260 91 L266.8 92.25 C265.8 93.41 260.9 93.72 260 92 z"/>
|
||||
<path style="fill:#606060" d="M372 93 L371 92 L372 93 z"/>
|
||||
<path style="fill:#808080" d="M178 93 L177 94 L178 93 z"/>
|
||||
<path style="fill:#909090" d="M375 95 L374 94 L375 95 z"/>
|
||||
<path style="fill:#909090" d="M176 96 L175 97 L176 96 z"/>
|
||||
<path style="fill:#707070" d="M378 98 L377 97 L378 98 z"/>
|
||||
<path style="fill:#707070" d="M174 99 L173 100 L174 99 z"/>
|
||||
<path style="fill:#a0a0a0" d="M379 100 L378 99 L379 100 z"/>
|
||||
<path style="fill:#808080" d="M173 101 L172 102 L173 101 z"/>
|
||||
<path style="fill:#808080" d="M172 103 L171 104 L172 103 z"/>
|
||||
<path style="fill:#a0a0a0" d="M381 104 L380 103 L381 104 z"/>
|
||||
<path style="fill:#606060" d="M171 105 L170 106 L171 105 z"/>
|
||||
<path style="fill:#808080" d="M382 106 L381 105 L382 106 z"/>
|
||||
<path style="fill:#606060" d="M383 108 L382 107 L383 108 z"/>
|
||||
<path style="fill:#989898" d="M170 108 C170 108.7 170.2 110.2 169 110 C169 109.3 168.8 107.8 170 108 z"/>
|
||||
<path style="fill:#a5a5a5" d="M169 112 L169 121 C167.3 119.3 167.3 113.7 169 112 z"/>
|
||||
<path style="fill:#787878" d="M385 114 C383.8 114.2 384 112.7 384 112 C385.2 111.8 385 113.3 385 114 z"/>
|
||||
<path style="fill:#787878" d="M386 117 C384.8 117.2 385 115.7 385 115 C386.2 114.8 386 116.3 386 117 z"/>
|
||||
<path style="fill:#787878" d="M387 120 C385.8 120.2 386 118.7 386 118 C387.2 117.8 387 119.3 387 120 z"/>
|
||||
<path style="fill:#b0b0b0" d="M388 124 C386.8 124.2 387 122.7 387 122 C388.2 121.8 388 123.3 388 124 z"/>
|
||||
<path style="fill:#a0a0a0" d="M170 124 L169 123 L170 124 z"/>
|
||||
<path style="fill:#888888" d="M389 127 C387.8 127.2 388 125.7 388 125 C389.2 124.8 389 126.3 389 127 z"/>
|
||||
<path style="fill:#606060" d="M171 127 L170 126 L171 127 z"/>
|
||||
<path style="fill:#606060" d="M172 129 L171 128 L172 129 z"/>
|
||||
<path style="fill:#a0a0a0" d="M390 131 C388.8 131.2 389 129.7 389 129 C390.2 128.8 390 130.3 390 131 z"/>
|
||||
<path style="fill:#808080" d="M174 132 L173 131 L174 132 z"/>
|
||||
<path style="fill:#606060" d="M391 134 C389.8 134.2 390 132.7 390 132 C391.2 131.8 391 133.3 391 134 z"/>
|
||||
<path style="fill:#707070" d="M177 136 L176 135 L177 136 z"/>
|
||||
<path style="fill:#a0a0a0" d="M178 137 L177 136 L178 137 z"/>
|
||||
<path style="fill:#a0a0a0" d="M179 138 L178 137 L179 138 z"/>
|
||||
<path style="fill:#a0a0a0" d="M180 139 L179 138 L180 139 z"/>
|
||||
<path style="fill:#a0a0a0" d="M181 140 L180 139 L181 140 z"/>
|
||||
<path style="fill:#a0a0a0" d="M182 141 L181 140 L182 141 z"/>
|
||||
<path style="fill:#a0a0a0" d="M183 142 L182 141 L183 142 z"/>
|
||||
<path style="fill:#585858" d="M393 143 L392 143 L392 141 C393.2 140.8 393 142.3 393 143 z"/>
|
||||
<path style="fill:#909090" d="M184 143 L183 142 L184 143 z"/>
|
||||
<path style="fill:#606060" d="M185 144 L184 143 L185 144 z"/>
|
||||
<path style="fill:#b0b0b0" d="M393 143 L393 145 C391.8 145.2 392 143.7 392 143 L393 143 z"/>
|
||||
<path style="fill:#a0a0a0" d="M189 147 L188 146 L189 147 z"/>
|
||||
<path style="fill:#606060" d="M190 148 L189 147 L190 148 z"/>
|
||||
<path style="fill:#a0a0a0" d="M394 151 C392.4 150.9 393.2 148.9 393 148 C394.6 148.1 393.8 150.1 394 151 z"/>
|
||||
<path style="fill:#808080" d="M193 150 L192 149 L193 150 z"/>
|
||||
<path style="fill:#808080" d="M196 152 L195 151 L196 152 z"/>
|
||||
<path style="fill:#808080" d="M188 154 C188.2 155.2 186.7 155 186 155 C185.8 153.8 187.3 154 188 154 z"/>
|
||||
<path style="fill:#909090" d="M193 155 L192 154 L193 155 z"/>
|
||||
<path style="fill:#696a6a" d="M395 159 L394 159 L394 154 L395 159 z"/>
|
||||
<path style="fill:#b0b0b0" d="M185 155 C185.2 156.2 183.7 156 183 156 C182.8 154.8 184.3 155 185 155 z"/>
|
||||
<path style="fill:#606060" d="M196 156 L195 155 L196 156 z"/>
|
||||
<path style="fill:#888888" d="M181 156 C181.2 157.2 179.7 157 179 157 C178.8 155.8 180.3 156 181 156 z"/>
|
||||
<path style="fill:#808080" d="M198 157 L197 156 L198 157 z"/>
|
||||
<path style="fill:#707070" d="M177 157 C177.2 158.2 175.7 158 175 158 C174.8 156.8 176.3 157 177 157 z"/>
|
||||
<path style="fill:#a0a0a0" d="M200 158 L199 157 L200 158 z"/>
|
||||
<path style="fill:#909090" d="M174 158 C174.2 159.2 172.7 159 172 159 C171.8 157.8 173.3 158 174 158 z"/>
|
||||
<path style="fill:#606060" d="M203 159 L202 158 L203 159 z"/>
|
||||
<path style="fill:#606060" d="M209 159 L208 158 L209 159 z"/>
|
||||
<path style="fill:#787878" d="M170 159 C170.2 160.2 168.7 160 168 160 C167.8 158.8 169.3 159 170 159 z"/>
|
||||
<path style="fill:#a0a0a0" d="M205 160 L204 159 L205 160 z"/>
|
||||
<path style="fill:#606060" d="M211 160 L210 159 L211 160 z"/>
|
||||
<path style="fill:#b8b8b8" d="M395 159 L395 165 L394 165 L394 159 L395 159 z"/>
|
||||
<path style="fill:#a8a8a8" d="M167 160 C167.2 161.2 165.7 161 165 161 C164.8 159.8 166.3 160 167 160 z"/>
|
||||
<path style="fill:#606060" d="M208 161 L207 160 L208 161 z"/>
|
||||
<path style="fill:#606060" d="M213 161 L212 160 L213 161 z"/>
|
||||
<path style="fill:#808080" d="M163 161 C163.2 162.2 161.7 162 161 162 C160.8 160.8 162.3 161 163 161 z"/>
|
||||
<path style="fill:#808080" d="M210 162 L209 161 L210 162 z"/>
|
||||
<path style="fill:#606060" d="M215 162 L214 161 L215 162 z"/>
|
||||
<path style="fill:#b0b0b0" d="M160 162 C160.2 163.2 158.7 163 158 163 C157.8 161.8 159.3 162 160 162 z"/>
|
||||
<path style="fill:#606060" d="M217 163 L216 162 L217 163 z"/>
|
||||
<path style="fill:#909090" d="M156 163 C156.2 164.2 154.7 164 154 164 C153.8 162.8 155.3 163 156 163 z"/>
|
||||
<path style="fill:#707070" d="M215 164 L214 163 L215 164 z"/>
|
||||
<path style="fill:#2e2f2f" d="M226 167 L226 168 L222 167 L221 166 L217 165 L217 164 L218 163 L226 167 z"/>
|
||||
<path style="fill:#707070" d="M152 164 C152.2 165.2 150.7 165 150 165 C149.8 163.8 151.3 164 152 164 z"/>
|
||||
<path style="fill:#a0a0a0" d="M217 164 L217 165 L216 164 L217 164 z"/>
|
||||
<path style="fill:#989898" d="M149 165 C149.2 166.2 147.7 166 147 166 C146.8 164.8 148.3 165 149 165 z"/>
|
||||
<path style="fill:#929393" d="M336 166 L336 167 C331.1 167.2 332.8 162.9 336 166 z"/>
|
||||
<path style="fill:#686868" d="M395 165 L394 169 L394 165 L395 165 z"/>
|
||||
<path style="fill:#808080" d="M145 166 C145.2 167.2 143.7 167 143 167 C142.8 165.8 144.3 166 145 166 z"/>
|
||||
<path style="fill:#909090" d="M222 167 L221 166 L222 167 z"/>
|
||||
<path style="fill:#525353" d="M344 168 L343 169 L336 167 L336 166 L344 168 z"/>
|
||||
<path style="fill:#606060" d="M141 167 C141.2 168.2 139.7 168 139 168 C138.8 166.8 140.3 167 141 167 z"/>
|
||||
<path style="fill:#808080" d="M227 168 L227 169 L226 168 L226 167 L227 168 z"/>
|
||||
<path style="fill:#888888" d="M138 168 C138.2 169.2 136.7 169 136 169 C135.8 167.8 137.3 168 138 168 z"/>
|
||||
<path style="fill:#202020" d="M228 168 L228 169 L227 169 L227 168 L228 168 z"/>
|
||||
<path style="fill:#7c7c7c" d="M231 170 C230.1 169.8 228.1 170.6 228 169 L228 168 L231 170 z"/>
|
||||
<path style="fill:#989898" d="M349 169 C348.3 169 346.8 169.2 347 168 C347.7 168 349.2 167.8 349 169 z"/>
|
||||
<path style="fill:#707070" d="M134 169 C134.2 170.2 132.7 170 132 170 C131.8 168.8 133.3 169 134 169 z"/>
|
||||
<path style="fill:#808080" d="M346 170 C345.3 170 343.8 170.2 344 169 C344.7 169 346.2 168.8 346 170 z"/>
|
||||
<path style="fill:#686868" d="M353 170 C352.3 170 350.8 170.2 351 169 C351.7 169 353.2 168.8 353 170 z"/>
|
||||
<path style="fill:#909090" d="M131 170 C131.2 171.2 129.7 171 129 171 C128.8 169.8 130.3 170 131 170 z"/>
|
||||
<path style="fill:#808080" d="M231 170 C234.2 169.3 231.7 172.5 231 170 z"/>
|
||||
<path style="fill:#606060" d="M349 171 L348 170 L349 171 z"/>
|
||||
<path style="fill:#a8a8a8" d="M359 171 C358.3 171 356.8 171.2 357 170 C357.7 170 359.2 169.8 359 171 z"/>
|
||||
<path style="fill:#5a5b5b" d="M363 172 C362.1 171.8 360.1 172.6 360 171 C360.9 171.2 362.9 170.4 363 172 z"/>
|
||||
<path style="fill:#606060" d="M394 171 L393 172 L394 171 z"/>
|
||||
<path style="fill:#505050" d="M356 173 C355.3 173 353.8 173.2 354 172 C354.7 172 356.2 171.8 356 173 z"/>
|
||||
<path style="fill:#989898" d="M369 173 C368.3 173 366.8 173.2 367 172 C367.7 172 369.2 171.8 369 173 z"/>
|
||||
<path style="fill:#909090" d="M358 174 L357 173 L358 174 z"/>
|
||||
<path style="fill:#a5a5a5" d="M376 174 C375.1 173.8 373.1 174.6 373 173 C373.9 173.2 375.9 172.4 376 174 z"/>
|
||||
<path style="fill:#707070" d="M362 175 C361.3 175 359.8 175.2 360 174 C360.7 174 362.2 173.8 362 175 z"/>
|
||||
<path style="fill:#646464" d="M382 175 L378 174 L382 175 z"/>
|
||||
<path style="fill:#787878" d="M365 176 C364.3 176 362.8 176.2 363 175 C363.7 175 365.2 174.8 365 176 z"/>
|
||||
<path style="fill:#606060" d="M368 177 L367 176 L368 177 z"/>
|
||||
<path style="fill:#909090" d="M377 180 L376 179 L377 180 z"/>
|
||||
<path style="fill:#707070" d="M379 182 L378 181 L379 182 z"/>
|
||||
<path style="fill:#a0a0a0" d="M380 185 L379 184 L380 185 z"/>
|
||||
<path style="fill:#606060" d="M381 187 L380 186 L381 187 z"/>
|
||||
<path style="fill:#707070" d="M382 190 L381 189 L382 190 z"/>
|
||||
<path style="fill:#707070" d="M383 193 L382 192 L383 193 z"/>
|
||||
<path style="fill:#909090" d="M384 197 C382.8 197.2 383 195.7 383 195 C384.2 194.8 384 196.3 384 197 z"/>
|
||||
<path style="fill:#787878" d="M385 200 C383.8 200.2 384 198.7 384 198 C385.2 197.8 385 199.3 385 200 z"/>
|
||||
<path style="fill:#a0a0a0" d="M386 204 C384.8 204.2 385 202.7 385 202 C386.2 201.8 386 203.3 386 204 z"/>
|
||||
<path style="fill:#707070" d="M387 207 C385.8 207.2 386 205.7 386 205 C387.2 204.8 387 206.3 387 207 z"/>
|
||||
<path style="fill:#707070" d="M388 211 C386.8 211.2 387 209.7 387 209 C388.2 208.8 388 210.3 388 211 z"/>
|
||||
<path style="fill:#606060" d="M389 215 C387.8 215.2 388 213.7 388 213 C389.2 212.8 389 214.3 389 215 z"/>
|
||||
<path style="fill:#686868" d="M390 220 C388.8 220.2 389 218.7 389 218 C390.2 217.8 390 219.3 390 220 z"/>
|
||||
<path style="fill:#585858" d="M391 225 L390 225 L390 223 C391.2 222.8 391 224.3 391 225 z"/>
|
||||
<path style="fill:#a8a8a8" d="M391 225 L391 227 C389.8 227.2 390 225.7 390 225 L391 225 z"/>
|
||||
<path style="fill:#707070" d="M392 233 L391 229 L392 233 z"/>
|
||||
<path style="fill:#909090" d="M324 236 L323 236 C320.3 234.8 323.9 233.2 324 236 z"/>
|
||||
<path style="fill:#202020" d="M324 236 L324 237 L323 237 L323 236 L324 236 z"/>
|
||||
<path style="fill:#a0a0a0" d="M324 237 L324 238 L323 237 L324 237 z"/>
|
||||
<path style="fill:#666666" d="M393 242 L392 237 L393 242 z"/>
|
||||
<path style="fill:#a0a0a0" d="M328 241 L327 240 L328 241 z"/>
|
||||
<path style="fill:#707070" d="M328 245 L327 244 L328 245 z"/>
|
||||
<path style="fill:#606060" d="M331 245 L330 244 L331 245 z"/>
|
||||
<path style="fill:#909090" d="M332 246 L331 245 L332 246 z"/>
|
||||
<path style="fill:#909090" d="M329 247 L328 246 L329 247 z"/>
|
||||
<path style="fill:#a0a0a0" d="M333 247 L332 246 L333 247 z"/>
|
||||
<path style="fill:#707070" d="M331 250 L330 249 L331 250 z"/>
|
||||
<path style="fill:#606060" d="M338 253 L337 252 L338 253 z"/>
|
||||
<path style="fill:#606060" d="M339 254 L338 253 L339 254 z"/>
|
||||
<path style="fill:#606060" d="M340 255 L339 254 L340 255 z"/>
|
||||
<path style="fill:#606060" d="M341 256 L340 255 L341 256 z"/>
|
||||
<path style="fill:#606060" d="M342 257 L341 256 L342 257 z"/>
|
||||
<path style="fill:#606060" d="M343 258 L342 257 L343 258 z"/>
|
||||
<path style="fill:#707070" d="M337 259 L336 258 L337 259 z"/>
|
||||
<path style="fill:#606060" d="M344 259 L343 258 L344 259 z"/>
|
||||
<path style="fill:#606060" d="M345 260 L344 259 L345 260 z"/>
|
||||
<path style="fill:#606060" d="M346 261 L345 260 L346 261 z"/>
|
||||
<path style="fill:#606060" d="M347 262 L346 261 L347 262 z"/>
|
||||
<path style="fill:#707070" d="M340 263 L339 262 L340 263 z"/>
|
||||
<path style="fill:#606060" d="M348 263 L347 262 L348 263 z"/>
|
||||
<path style="fill:#606060" d="M349 264 L348 263 L349 264 z"/>
|
||||
<path style="fill:#a0a0a0" d="M343 267 L342 266 L343 267 z"/>
|
||||
<path style="fill:#808080" d="M344 268 L343 267 L344 268 z"/>
|
||||
<path style="fill:#636363" d="M393 267 L392 272 L393 267 z"/>
|
||||
<path style="fill:#606060" d="M345 269 L344 268 L345 269 z"/>
|
||||
<path style="fill:#a0a0a0" d="M356 270 L355 269 L356 270 z"/>
|
||||
<path style="fill:#909090" d="M357 271 L356 270 L357 271 z"/>
|
||||
<path style="fill:#606060" d="M358 272 L357 271 L358 272 z"/>
|
||||
<path style="fill:#a0a0a0" d="M392 274 C391.8 274.9 392.6 276.9 391 277 C391.2 276.1 390.4 274.1 392 274 z"/>
|
||||
<path style="fill:#808080" d="M363 276 L362 275 L363 276 z"/>
|
||||
<path style="fill:#a0a0a0" d="M367 279 L366 278 L367 279 z"/>
|
||||
<path style="fill:#606060" d="M368 280 L367 279 L368 280 z"/>
|
||||
<path style="fill:#a8a8a8" d="M391 280 C391 280.7 391.2 282.2 390 282 C390 281.3 389.8 279.8 391 280 z"/>
|
||||
<path style="fill:#a0a0a0" d="M371 282 L370 281 L371 282 z"/>
|
||||
<path style="fill:#606060" d="M372 283 L371 282 L372 283 z"/>
|
||||
<path style="fill:#606060" d="M360 284 L359 283 L360 284 z"/>
|
||||
<path style="fill:#a0a0a0" d="M361 285 L360 284 L361 285 z"/>
|
||||
<path style="fill:#808080" d="M375 285 L374 284 L375 285 z"/>
|
||||
<path style="fill:#909090" d="M390 285 C390 285.7 390.2 287.2 389 287 C389 286.3 388.8 284.8 390 285 z"/>
|
||||
<path style="fill:#909090" d="M378 287 L377 286 L378 287 z"/>
|
||||
<path style="fill:#606060" d="M365 288 L364 287 L365 288 z"/>
|
||||
<path style="fill:#909090" d="M366 289 L365 288 L366 289 z"/>
|
||||
<path style="fill:#909090" d="M381 289 L380 288 L381 289 z"/>
|
||||
<path style="fill:#606060" d="M225 290 L224 289 L225 290 z"/>
|
||||
<path style="fill:#808080" d="M389 289 C389 289.7 389.2 291.2 388 291 C388 290.3 387.8 288.8 389 289 z"/>
|
||||
<path style="fill:#a0a0a0" d="M228 291 L227 290 L228 291 z"/>
|
||||
<path style="fill:#606060" d="M369 291 L368 290 L369 291 z"/>
|
||||
<path style="fill:#808080" d="M384 291 L383 290 L384 291 z"/>
|
||||
<path style="fill:#606060" d="M221 291 L220 292 L221 291 z"/>
|
||||
<path style="fill:#808080" d="M230 292 L229 291 L230 292 z"/>
|
||||
<path style="fill:#a0a0a0" d="M220 292 L219 293 L220 292 z"/>
|
||||
<path style="fill:#606060" d="M232 293 L231 292 L232 293 z"/>
|
||||
<path style="fill:#606060" d="M388 292 C388.2 293.3 385.8 293.3 386 292 L388 292 z"/>
|
||||
<path style="fill:#a0a0a0" d="M235 294 L234 293 L235 294 z"/>
|
||||
<path style="fill:#a0a0a0" d="M373 294 L372 293 L373 294 z"/>
|
||||
<path style="fill:#808080" d="M237 295 L236 294 L237 295 z"/>
|
||||
<path style="fill:#606060" d="M239 296 L238 295 L239 296 z"/>
|
||||
<path style="fill:#606060" d="M217 296 L216 297 L217 296 z"/>
|
||||
<path style="fill:#a0a0a0" d="M242 297 L241 296 L242 297 z"/>
|
||||
<path style="fill:#808080" d="M378 297 L377 296 L378 297 z"/>
|
||||
<path style="fill:#909090" d="M216 297 L215 298 L216 297 z"/>
|
||||
<path style="fill:#808080" d="M244 298 L243 297 L244 298 z"/>
|
||||
<path style="fill:#606060" d="M380 298 L379 297 L380 298 z"/>
|
||||
<path style="fill:#606060" d="M246 299 L245 298 L246 299 z"/>
|
||||
<path style="fill:#a0a0a0" d="M249 300 L248 299 L249 300 z"/>
|
||||
<path style="fill:#808080" d="M251 301 L250 300 L251 301 z"/>
|
||||
<path style="fill:#606060" d="M253 302 L252 301 L253 302 z"/>
|
||||
<path style="fill:#707070" d="M212 302 L211 303 L212 302 z"/>
|
||||
<path style="fill:#a0a0a0" d="M256 303 L255 302 L256 303 z"/>
|
||||
<path style="fill:#808080" d="M385 302 L384 303 L385 302 z"/>
|
||||
<path style="fill:#a0a0a0" d="M211 303 L210 304 L211 303 z"/>
|
||||
<path style="fill:#808080" d="M258 304 L257 303 L258 304 z"/>
|
||||
<path style="fill:#606060" d="M260 305 L259 304 L260 305 z"/>
|
||||
<path style="fill:#909090" d="M265 307 L264 306 L265 307 z"/>
|
||||
<path style="fill:#606060" d="M208 307 L207 308 L208 307 z"/>
|
||||
<path style="fill:#606060" d="M267 308 L266 307 L267 308 z"/>
|
||||
<path style="fill:#909090" d="M383 307 L382 308 L383 307 z"/>
|
||||
<path style="fill:#909090" d="M207 308 L206 309 L207 308 z"/>
|
||||
<path style="fill:#909090" d="M272 310 L271 309 L272 310 z"/>
|
||||
<path style="fill:#606060" d="M274 311 L273 310 L274 311 z"/>
|
||||
<path style="fill:#606060" d="M382 310 L381 311 L382 310 z"/>
|
||||
<path style="fill:#909090" d="M279 313 L278 312 L279 313 z"/>
|
||||
<path style="fill:#909090" d="M381 312 L380 313 L381 312 z"/>
|
||||
<path style="fill:#707070" d="M203 313 L202 314 L203 313 z"/>
|
||||
<path style="fill:#606060" d="M281 314 L280 313 L281 314 z"/>
|
||||
<path style="fill:#a0a0a0" d="M202 314 L201 315 L202 314 z"/>
|
||||
<path style="fill:#a0a0a0" d="M286 316 L285 315 L286 316 z"/>
|
||||
<path style="fill:#707070" d="M288 317 L287 316 L288 317 z"/>
|
||||
<path style="fill:#707070" d="M379 317 L378 318 L379 317 z"/>
|
||||
<path style="fill:#606060" d="M199 318 L198 319 L199 318 z"/>
|
||||
<path style="fill:#a0a0a0" d="M293 319 L292 318 L293 319 z"/>
|
||||
<path style="fill:#909090" d="M198 319 L197 320 L198 319 z"/>
|
||||
<path style="fill:#707070" d="M295 320 L294 319 L295 320 z"/>
|
||||
<path style="fill:#a0a0a0" d="M378 319 L377 320 L378 319 z"/>
|
||||
<path style="fill:#a0a0a0" d="M300 322 L299 321 L300 322 z"/>
|
||||
<path style="fill:#707070" d="M302 323 L301 322 L302 323 z"/>
|
||||
<path style="fill:#606060" d="M377 322 L376 323 L377 322 z"/>
|
||||
<path style="fill:#707070" d="M194 324 L193 325 L194 324 z"/>
|
||||
<path style="fill:#a0a0a0" d="M307 325 L306 324 L307 325 z"/>
|
||||
<path style="fill:#707070" d="M376 324 L375 325 L376 324 z"/>
|
||||
<path style="fill:#a0a0a0" d="M193 325 L192 326 L193 325 z"/>
|
||||
<path style="fill:#707070" d="M309 326 L308 325 L309 326 z"/>
|
||||
<path style="fill:#808080" d="M375 326 L374 327 L375 326 z"/>
|
||||
<path style="fill:#a0a0a0" d="M314 328 L313 327 L314 328 z"/>
|
||||
<path style="fill:#808080" d="M316 329 L315 328 L316 329 z"/>
|
||||
<path style="fill:#a0a0a0" d="M374 328 L373 329 L374 328 z"/>
|
||||
<path style="fill:#606060" d="M190 329 L189 330 L190 329 z"/>
|
||||
<path style="fill:#606060" d="M318 330 L317 329 L318 330 z"/>
|
||||
<path style="fill:#909090" d="M189 330 L188 331 L189 330 z"/>
|
||||
<path style="fill:#a0a0a0" d="M321 331 L320 330 L321 331 z"/>
|
||||
<path style="fill:#808080" d="M323 332 L322 331 L323 332 z"/>
|
||||
<path style="fill:#606060" d="M325 333 L324 332 L325 333 z"/>
|
||||
<path style="fill:#a0a0a0" d="M328 334 L327 333 L328 334 z"/>
|
||||
<path style="fill:#808080" d="M330 335 L329 334 L330 335 z"/>
|
||||
<path style="fill:#707070" d="M185 335 L184 336 L185 335 z"/>
|
||||
<path style="fill:#606060" d="M332 336 L331 335 L332 336 z"/>
|
||||
<path style="fill:#a0a0a0" d="M184 336 L183 337 L184 336 z"/>
|
||||
<path style="fill:#a0a0a0" d="M335 337 L334 336 L335 337 z"/>
|
||||
<path style="fill:#808080" d="M337 338 L336 337 L337 338 z"/>
|
||||
<path style="fill:#606060" d="M339 339 L338 338 L339 339 z"/>
|
||||
<path style="fill:#a0a0a0" d="M342 340 L341 339 L342 340 z"/>
|
||||
<path style="fill:#606060" d="M181 340 L180 341 L181 340 z"/>
|
||||
<path style="fill:#808080" d="M344 341 L343 340 L344 341 z"/>
|
||||
<path style="fill:#a0a0a0" d="M368 340 L367 341 L368 340 z"/>
|
||||
<path style="fill:#a0a0a0" d="M180 341 L179 342 L180 341 z"/>
|
||||
<path style="fill:#606060" d="M346 342 L345 341 L346 342 z"/>
|
||||
<path style="fill:#a0a0a0" d="M349 343 L348 342 L349 343 z"/>
|
||||
<path style="fill:#707070" d="M367 342 L366 343 L367 342 z"/>
|
||||
<path style="fill:#808080" d="M351 344 L350 343 L351 344 z"/>
|
||||
<path style="fill:#606060" d="M353 345 L352 344 L353 345 z"/>
|
||||
<path style="fill:#a0a0a0" d="M356 346 L355 345 L356 346 z"/>
|
||||
<path style="fill:#808080" d="M365 345 L364 346 L365 345 z"/>
|
||||
<path style="fill:#808080" d="M176 346 L175 347 L176 346 z"/>
|
||||
<path style="fill:#808080" d="M358 347 L357 346 L358 347 z"/>
|
||||
<path style="fill:#a0a0a0" d="M175 347 L174 348 L175 347 z"/>
|
||||
<path style="fill:#606060" d="M360 348 L359 347 L360 348 z"/>
|
||||
<path style="fill:#606060" d="M172 351 L171 352 L172 351 z"/>
|
||||
<path style="fill:#a0a0a0" d="M171 352 L170 353 L171 352 z"/>
|
||||
<path style="fill:#808080" d="M167 357 L166 358 L167 357 z"/>
|
||||
<path style="fill:#a0a0a0" d="M166 358 L165 359 L166 358 z"/>
|
||||
<path style="fill:#a8a8a8" d="M460 358 C460 358.7 460.2 360.2 459 360 L459 358 L460 358 z"/>
|
||||
<path style="fill:#606060" d="M459 361 L458 362 L459 361 z"/>
|
||||
<path style="fill:#606060" d="M163 362 L162 363 L163 362 z"/>
|
||||
<path style="fill:#a0a0a0" d="M162 363 L161 364 L162 363 z"/>
|
||||
<path style="fill:#606060" d="M159 367 L158 368 L159 367 z"/>
|
||||
<path style="fill:#808080" d="M158 368 L157 369 L158 368 z"/>
|
||||
<path style="fill:#a0a0a0" d="M455 368 L454 369 L455 368 z"/>
|
||||
<path style="fill:#808080" d="M454 369 L453 370 L454 369 z"/>
|
||||
<path style="fill:#a0a0a0" d="M453 370 L452 371 L453 370 z"/>
|
||||
<path style="fill:#707070" d="M450 372 L449 373 L450 372 z"/>
|
||||
<path style="fill:#606060" d="M154 373 L153 374 L154 373 z"/>
|
||||
<path style="fill:#606060" d="M448 373 L447 374 L448 373 z"/>
|
||||
<path style="fill:#808080" d="M153 374 L441 375 C347.2 376 242.5 378 153 374 z"/>
|
||||
<path style="fill:#787878" d="M446 374 C446.2 375.2 444.7 375 444 375 C443.8 373.8 445.3 374 446 374 z"/>
|
||||
<path style="fill:#404040" d="M462 387 L462 388 L452 388 L462 387 z"/>
|
||||
<path style="fill:#909090" d="M462 389 L462 388 L462 387 C463.3 386.8 463.3 389.2 462 389 z"/>
|
||||
<path style="fill:#0d0e0e" d="M467 389 L468 390 L468 392 L469 393 L469 395 L470 396 L470 397 L471 399 L471 400 L469 400 L469 399 L468 398 L468 396 L467 395 L467 392 C463.7 387.1 465.4 397.8 465 400 L464 400 C464.1 396.7 462.8 382.8 467 389 z"/>
|
||||
<path style="fill:#080808" d="M476 387 L475 400 L474 392 L473 391 L473 389 L474 388 C473.8 386.8 475.3 387 476 387 z"/>
|
||||
<path style="fill:#868686" d="M475 400 L476 387 C477.4 389.3 478.4 401.9 475 400 z"/>
|
||||
<path style="fill:#0" d="M462 388 L462 389 L459 389 L458 400 L457 400 L456 389 L452 388 L462 388 z"/>
|
||||
<path style="fill:#909090" d="M474 388 L473 389 L474 388 z"/>
|
||||
<path style="fill:#404040" d="M457 400 L456 400 L456 389 L457 400 z"/>
|
||||
<path style="fill:#c0c0c0" d="M459 389 L458 400 L459 389 z"/>
|
||||
<path style="fill:#909090" d="M468 390 L467 389 L468 390 z"/>
|
||||
<path style="fill:#3b3c3c" d="M467 392 L466 400 L465 400 C465.4 397.8 463.7 387.1 467 392 z"/>
|
||||
<path style="fill:#2c2c2c" d="M473 391 L474 392 L473 394 L473 396 L472 397 L472 399 L471 399 L470 397 L473 391 z"/>
|
||||
<path style="fill:#7e7e7e" d="M475 400 L473 394 L474 392 L475 400 z"/>
|
||||
<path style="fill:#909090" d="M469 393 L468 392 L469 393 z"/>
|
||||
<path style="fill:#909090" d="M468 396 L467 395 L468 396 z"/>
|
||||
<path style="fill:#909090" d="M470 396 L469 395 L470 396 z"/>
|
||||
<path style="fill:#909090" d="M473 396 L472 397 L473 396 z"/>
|
||||
<path style="fill:#888888" d="M166 397 C166.2 398.2 164.7 398 164 398 C163.8 396.8 165.3 397 166 397 z"/>
|
||||
<path style="fill:#0" d="M175 397 C174.8 398.2 176.3 398 177 398 L179 398 L180 399 L183 400 L184 401 L185 402 L186 403 L187 404 L188 406 C187.6 407.1 189.4 407.1 189 406 L190 405 L191 404 L192 403 L195 401 L196 400 L202 398 C202.7 398 204.2 398.2 204 397 L211 397 C211.1 398.6 213.1 397.8 214 398 L217 398 L218 399 L219 399 L220 400 L222 401 L223 402 L224 403 L225 405 L226 406 L226 407 L227 408 L227 409 C227 409.7 226.8 411.2 228 411 L228 414 L228 457 L206.3 456.8 L206 421 C206 420.3 206.2 418.8 205 419 L204 417 L203 416 L202 416 L201 415 L196 415 L195 416 C193.5 416.7 191.7 418.1 192 420 L191 421 L191 422 L190 457 L168 457 L168 421 C168 420.3 168.2 418.8 167 419 L166 417 L165 416 C163 414.4 160.4 415.1 158 415 L157 416 L154 419 L153 420 L153 421 C151.8 420.8 152 422.3 152 423 L152 457 L130 457 L130 399 L150 399 C150.1 400.8 149.1 408.1 152 405 L153 404 L154 403 L155 402 L157 401 L158 400 L164 398 C164.7 398 166.2 398.2 166 397 L175 397 z"/>
|
||||
<path style="fill:#707070" d="M177 398 C176.3 398 174.8 398.2 175 397 C175.7 397 177.2 396.8 177 398 z"/>
|
||||
<path style="fill:#808080" d="M204 397 C204.2 398.2 202.7 398 202 398 C201.8 396.8 203.3 397 204 397 z"/>
|
||||
<path style="fill:#4a4b4b" d="M214 398 C213.1 397.8 211.1 398.6 211 397 C211.9 397.2 213.9 396.4 214 398 z"/>
|
||||
<path style="fill:#696a6a" d="M269 397 L264 398 L269 397 z"/>
|
||||
<path style="fill:#010101" d="M276 397 L280 398 L282 398 L284 398 C283.8 399.2 285.3 399 286 399 L287 399 L288 400 L290 400 L291 401 L296 404 L297 405 L298 406 L299 407 L300 408 L303 413 L304 414 L304 416 L305 417 L305 419 C305 419.7 304.8 421.2 306 421 L306 424 L306 432 L306 434 C304.8 433.8 305 435.3 305 436 L305 438 L304 439 L304 441 L303 442 L300 447 L299 448 L298 449 L297 450 L296 451 L293 453 L292 454 L291 454 L290 455 L289 455 L288 456 L282 457 C281.1 457.2 279.1 456.4 279 458 L276 458 L269 458 L265 458 C265.2 456.8 263.7 457 263 457 L261 457 C261.2 455.8 259.7 456 259 456 L258 456 L257 455 L252 453 L251 452 L245 446 L244 445 L243 443 L242 442 L242 441 L241 440 L241 439 C241 438.3 241.2 436.8 240 437 L240 435 C240 434.3 240.2 432.8 239 433 L239 423 C240.2 423.2 240 421.7 240 421 L240 419 C241.2 419.2 241 417.7 241 417 C241.3 414 243.4 411.5 245 409 L246 408 L249 405 L250 404 L251 403 L253 402 L254 401 L255 401 L256 400 L257 400 L258 399 L260 399 C260.7 399 262.2 399.2 262 398 L264 398 L269 397 L276 397 z"/>
|
||||
<path style="fill:#545454" d="M280 397 L280 398 L276 397 L280 397 z"/>
|
||||
<path style="fill:#b0b0b0" d="M282 398 L280 398 L280 397 C280.7 397 282.2 396.8 282 398 z"/>
|
||||
<path style="fill:#909090" d="M354 397 C354.2 398.2 352.7 398 352 398 C351.8 396.8 353.3 397 354 397 z"/>
|
||||
<path style="fill:#0" d="M364 397 C363.8 398.2 365.3 398 366 398 L367 398 L368 399 L369 399 L370 400 L372 401 L373 402 L374 403 L375 404 L377 409 C377 409.7 376.8 411.2 378 411 L378 412 L378 416 L378 457 L356.3 456.8 L356 421 C356 420.3 356.2 418.8 355 419 L355 418 L354 417 L353 416 C350.4 414.5 346.6 414.5 344 416 L343 417 L342 418 L341 419 L341 420 C339.8 419.8 340 421.3 340 422 L340 423 L339 457 L317 457 L317 399 L338 399 L339 406 L340 405 L341 404 L342 403 L345 401 L346 400 L347 400 L348 399 L349 399 L350 398 L352 398 C352.7 398 354.2 398.2 354 397 L364 397 z"/>
|
||||
<path style="fill:#b0b0b0" d="M366 398 C365.3 398 363.8 398.2 364 397 C364.7 397 366.2 396.8 366 398 z"/>
|
||||
<path style="fill:#696a6a" d="M419 397 L414 398 L419 397 z"/>
|
||||
<path style="fill:#010101" d="M426 397 L431 398 L434 398 C433.8 399.2 435.3 399 436 399 L437 399 L438 400 L440 400 L441 401 L446 404 L447 405 L448 406 L449 407 L450 408 L453 413 L454 414 L454 416 L455 417 L455 418 C455 418.7 454.8 420.2 456 420 L456 426 L456 432 L456 435 C454.8 434.8 455 436.3 455 437 L455 438 C453.8 437.8 454 439.3 454 440 L454 441 L453 442 L450 447 L449 448 L448 449 L447 450 L446 451 L445 452 L443 453 L442 454 L441 454 L440 455 L439 455 L438 456 L437 456 C436.3 456 434.8 455.8 435 457 L432 457 C431.1 457.2 429.1 456.4 429 458 L426 458 L419 458 L415 458 C415.2 456.8 413.7 457 413 457 L411 457 C411.2 455.8 409.7 456 409 456 L408 456 L407 455 L402 453 L401 452 L395 446 L394 445 L393 443 L392 442 L392 441 L391 440 L391 438 L390 437 L390 434 L389 430 L389 423 C390.2 423.2 390 421.7 390 421 L390 419 C391.2 419.2 391 417.7 391 417 L391 416 L392 415 L393 412 L394 411 L395 409 L396 408 L397 407 L398 406 L399 405 L400 404 L401 403 L403 402 L404 401 L405 401 L406 400 L407 400 C407.7 400 409.2 400.2 409 399 L410 399 C410.7 399 412.2 399.2 412 398 L414 398 L419 397 L426 397 z"/>
|
||||
<path style="fill:#606060" d="M431 398 L426 397 L431 398 z"/>
|
||||
<path style="fill:#808181" d="M130 398 L130 399 L130 457 C128.3 438.7 128.3 416.3 130 398 z"/>
|
||||
<path style="fill:#404040" d="M150 398 L150 399 L130 399 L130 398 L150 398 z"/>
|
||||
<path style="fill:#878787" d="M152 405 C149.1 408.1 150.1 400.8 150 399 L150 398 L152 405 z"/>
|
||||
<path style="fill:#606060" d="M180 399 L179 398 L180 399 z"/>
|
||||
<path style="fill:#909090" d="M218 399 L217 398 L218 399 z"/>
|
||||
<path style="fill:#787878" d="M262 398 C262.2 399.2 260.7 399 260 399 C259.8 397.8 261.3 398 262 398 z"/>
|
||||
<path style="fill:#909090" d="M286 399 C285.3 399 283.8 399.2 284 398 C284.7 398 286.2 397.8 286 399 z"/>
|
||||
<path style="fill:#c0c0c0" d="M317 398 L317 399 L317 457 C315.3 438.7 315.3 416.3 317 398 z"/>
|
||||
<path style="fill:#404040" d="M338 399 L317 399 L317 398 L338 399 z"/>
|
||||
<path style="fill:#707070" d="M350 398 L349 399 L350 398 z"/>
|
||||
<path style="fill:#808080" d="M368 399 L367 398 L368 399 z"/>
|
||||
<path style="fill:#787878" d="M412 398 C412.2 399.2 410.7 399 410 399 C409.8 397.8 411.3 398 412 398 z"/>
|
||||
<path style="fill:#909090" d="M436 399 C435.3 399 433.8 399.2 434 398 C434.7 398 436.2 397.8 436 399 z"/>
|
||||
<path style="fill:#a0a0a0" d="M469 399 L468 398 L469 399 z"/>
|
||||
<path style="fill:#808080" d="M220 400 L219 399 L220 400 z"/>
|
||||
<path style="fill:#a0a0a0" d="M258 399 L257 400 L258 399 z"/>
|
||||
<path style="fill:#606060" d="M288 400 L287 399 L288 400 z"/>
|
||||
<path style="fill:#606060" d="M348 399 L347 400 L348 399 z"/>
|
||||
<path style="fill:#707070" d="M370 400 L369 399 L370 400 z"/>
|
||||
<path style="fill:#787878" d="M409 399 C409.2 400.2 407.7 400 407 400 C406.8 398.8 408.3 399 409 399 z"/>
|
||||
<path style="fill:#606060" d="M438 400 L437 399 L438 400 z"/>
|
||||
<path style="fill:#a0a0a0" d="M472 399 L471 400 L471 399 L472 399 z"/>
|
||||
<path style="fill:#707070" d="M158 400 L157 401 L158 400 z"/>
|
||||
<path style="fill:#a0a0a0" d="M184 401 L183 400 L184 401 z"/>
|
||||
<path style="fill:#808080" d="M196 400 L195 401 L196 400 z"/>
|
||||
<path style="fill:#808080" d="M256 400 L255 401 L256 400 z"/>
|
||||
<path style="fill:#a0a0a0" d="M291 401 L290 400 L291 401 z"/>
|
||||
<path style="fill:#808080" d="M346 400 L345 401 L346 400 z"/>
|
||||
<path style="fill:#808080" d="M406 400 L405 401 L406 400 z"/>
|
||||
<path style="fill:#a0a0a0" d="M441 401 L440 400 L441 401 z"/>
|
||||
<path style="fill:#909090" d="M457 400 L458 400 C458.2 401.3 455.8 401.3 456 400 L457 400 z"/>
|
||||
<path style="fill:#909090" d="M465 400 L466 400 C466.2 401.3 463.8 401.3 464 400 L465 400 z"/>
|
||||
<path style="fill:#909090" d="M471 400 C471.2 401.3 468.8 401.3 469 400 L471 400 z"/>
|
||||
<path style="fill:#808080" d="M185 402 L184 401 L185 402 z"/>
|
||||
<path style="fill:#a0a0a0" d="M223 402 L222 401 L223 402 z"/>
|
||||
<path style="fill:#909090" d="M254 401 L253 402 L254 401 z"/>
|
||||
<path style="fill:#a0a0a0" d="M373 402 L372 401 L373 402 z"/>
|
||||
<path style="fill:#a0a0a0" d="M404 401 L403 402 L404 401 z"/>
|
||||
<path style="fill:#a0a0a0" d="M155 402 L154 403 L155 402 z"/>
|
||||
<path style="fill:#808080" d="M186 403 L185 402 L186 403 z"/>
|
||||
<path style="fill:#a0a0a0" d="M224 403 L223 402 L224 403 z"/>
|
||||
<path style="fill:#808080" d="M374 403 L373 402 L374 403 z"/>
|
||||
<path style="fill:#a0a0a0" d="M154 403 L153 404 L154 403 z"/>
|
||||
<path style="fill:#a0a0a0" d="M187 404 L186 403 L187 404 z"/>
|
||||
<path style="fill:#a0a0a0" d="M192 403 L191 404 L192 403 z"/>
|
||||
<path style="fill:#909090" d="M251 403 L250 404 L251 403 z"/>
|
||||
<path style="fill:#a0a0a0" d="M342 403 L341 404 L342 403 z"/>
|
||||
<path style="fill:#a0a0a0" d="M375 404 L374 403 L375 404 z"/>
|
||||
<path style="fill:#a0a0a0" d="M401 403 L400 404 L401 403 z"/>
|
||||
<path style="fill:#a0a0a0" d="M153 404 L152 405 L153 404 z"/>
|
||||
<path style="fill:#a0a0a0" d="M191 404 L190 405 L191 404 z"/>
|
||||
<path style="fill:#606060" d="M250 404 L249 405 L250 404 z"/>
|
||||
<path style="fill:#a0a0a0" d="M297 405 L296 404 L297 405 z"/>
|
||||
<path style="fill:#a0a0a0" d="M341 404 L340 405 L341 404 z"/>
|
||||
<path style="fill:#606060" d="M400 404 L399 405 L400 404 z"/>
|
||||
<path style="fill:#909090" d="M447 405 L446 404 L447 405 z"/>
|
||||
<path style="fill:#a0a0a0" d="M190 405 L189 406 L190 405 z"/>
|
||||
<path style="fill:#606060" d="M226 406 L225 405 L226 406 z"/>
|
||||
<path style="fill:#808080" d="M298 406 L297 405 L298 406 z"/>
|
||||
<path style="fill:#a0a0a0" d="M340 405 L339 406 L340 405 z"/>
|
||||
<path style="fill:#606060" d="M399 405 L398 406 L399 405 z"/>
|
||||
<path style="fill:#606060" d="M448 406 L447 405 L448 406 z"/>
|
||||
<path style="fill:#606060" d="M189 406 C189.4 407.1 187.6 407.1 188 406 L189 406 z"/>
|
||||
<path style="fill:#808080" d="M299 407 L298 406 L299 407 z"/>
|
||||
<path style="fill:#606060" d="M398 406 L397 407 L398 406 z"/>
|
||||
<path style="fill:#606060" d="M449 407 L448 406 L449 407 z"/>
|
||||
<path style="fill:#606060" d="M227 408 L226 407 L227 408 z"/>
|
||||
<path style="fill:#a0a0a0" d="M300 408 L299 407 L300 408 z"/>
|
||||
<path style="fill:#606060" d="M397 407 L396 408 L397 407 z"/>
|
||||
<path style="fill:#909090" d="M450 408 L449 407 L450 408 z"/>
|
||||
<path style="fill:#707070" d="M246 408 L245 409 L246 408 z"/>
|
||||
<path style="fill:#808080" d="M396 408 L395 409 L396 408 z"/>
|
||||
<path style="fill:#787878" d="M228 411 C226.8 411.2 227 409.7 227 409 C228.2 408.8 228 410.3 228 411 z"/>
|
||||
<path style="fill:#686868" d="M378 411 C376.8 411.2 377 409.7 377 409 C378.2 408.8 378 410.3 378 411 z"/>
|
||||
<path style="fill:#606060" d="M394 411 L393 412 L394 411 z"/>
|
||||
<path style="fill:#909090" d="M379 416 L378 416 L378 412 L379 416 z"/>
|
||||
<path style="fill:#606060" d="M269 413 L268 414 L269 413 z"/>
|
||||
<path style="fill:#fdfefe" d="M276 413 L277 414 L278 414 L279 415 L280 416 L281 417 L282 419 C282 419.7 281.8 421.2 283 421 L283 423 L283 432 L283 435 L282 436 L282 437 L281 438 L278 441 L277 442 L276 442 L270 442 L268 442 L267 441 L265 439 L264 438 L263 435 L262 434 L262 431 L262 425 L262 422 C263.2 422.2 263 420.7 263 420 L263 419 L264 418 L268 414 L269 413 L276 413 z"/>
|
||||
<path style="fill:#a0a0a0" d="M277 414 L276 413 L277 414 z"/>
|
||||
<path style="fill:#a0a0a0" d="M304 414 L303 413 L304 414 z"/>
|
||||
<path style="fill:#606060" d="M419 413 L418 414 L419 413 z"/>
|
||||
<path style="fill:#fdfdfd" d="M426 413 L427 414 L428 414 L429 415 L430 416 L431 417 L432 418 L432 419 L433 420 L433 423 L433 432 L433 435 L432 436 L431 439 L430 440 L429 441 L426 442 L425 443 L421 443 C421.2 441.8 419.7 442 419 442 L417 441 L416 440 L415 439 L414 438 L413 435 C413 434.3 413.2 432.8 412 433 L412 423 C413.2 423.2 413 421.7 413 421 L413 419 L414 418 L418 414 L419 413 L426 413 z"/>
|
||||
<path style="fill:#a0a0a0" d="M427 414 L426 413 L427 414 z"/>
|
||||
<path style="fill:#a0a0a0" d="M454 414 L453 413 L454 414 z"/>
|
||||
<path style="fill:#434343" d="M228 457 L228 414 C229.7 427 229.7 444 228 457 z"/>
|
||||
<path style="fill:#808080" d="M279 415 L278 414 L279 415 z"/>
|
||||
<path style="fill:#909090" d="M429 415 L428 414 L429 415 z"/>
|
||||
<path style="fill:#a0a0a0" d="M158 415 L157 416 L158 415 z"/>
|
||||
<path style="fill:#606060" d="M196 415 L195 416 L196 415 z"/>
|
||||
<path style="fill:#a0a0a0" d="M202 416 L201 415 L202 416 z"/>
|
||||
<path style="fill:#a0a0a0" d="M280 416 L279 415 L280 416 z"/>
|
||||
<path style="fill:#606060" d="M392 415 L391 416 L392 415 z"/>
|
||||
<path style="fill:#606060" d="M166 417 L165 416 L166 417 z"/>
|
||||
<path style="fill:#606060" d="M204 417 L203 416 L204 417 z"/>
|
||||
<path style="fill:#a0a0a0" d="M281 417 L280 416 L281 417 z"/>
|
||||
<path style="fill:#606060" d="M305 417 L304 416 L305 417 z"/>
|
||||
<path style="fill:#a0a0a0" d="M344 416 L343 417 L344 416 z"/>
|
||||
<path style="fill:#808080" d="M354 417 L353 416 L354 417 z"/>
|
||||
<path style="fill:#404040" d="M379 416 L378 457 L378 416 L379 416 z"/>
|
||||
<path style="fill:#a0a0a0" d="M431 417 L430 416 L431 417 z"/>
|
||||
<path style="fill:#606060" d="M455 417 L454 416 L455 417 z"/>
|
||||
<path style="fill:#686868" d="M241 417 C241 417.7 241.2 419.2 240 419 C240 418.3 239.8 416.8 241 417 z"/>
|
||||
<path style="fill:#a0a0a0" d="M343 417 L342 418 L343 417 z"/>
|
||||
<path style="fill:#707070" d="M355 418 L354 417 L355 418 z"/>
|
||||
<path style="fill:#787878" d="M391 417 C391 417.7 391.2 419.2 390 419 C390 418.3 389.8 416.8 391 417 z"/>
|
||||
<path style="fill:#707070" d="M432 418 L431 417 L432 418 z"/>
|
||||
<path style="fill:#808080" d="M264 418 L263 419 L264 418 z"/>
|
||||
<path style="fill:#808080" d="M342 418 L341 419 L342 418 z"/>
|
||||
<path style="fill:#606060" d="M414 418 L413 419 L414 418 z"/>
|
||||
<path style="fill:#989898" d="M456 420 C454.8 420.2 455 418.7 455 418 C456.2 417.8 456 419.3 456 420 z"/>
|
||||
<path style="fill:#808080" d="M154 419 L153 420 L154 419 z"/>
|
||||
<path style="fill:#686868" d="M168 421 L167 421 L167 419 C168.2 418.8 168 420.3 168 421 z"/>
|
||||
<path style="fill:#989898" d="M206 421 C204.8 421.2 205 419.7 205 419 C206.2 418.8 206 420.3 206 421 z"/>
|
||||
<path style="fill:#888888" d="M283 421 C281.8 421.2 282 419.7 282 419 C283.2 418.8 283 420.3 283 421 z"/>
|
||||
<path style="fill:#686868" d="M306 421 C304.8 421.2 305 419.7 305 419 C306.2 418.8 306 420.3 306 421 z"/>
|
||||
<path style="fill:#888888" d="M356 421 C354.8 421.2 355 419.7 355 419 C356.2 418.8 356 420.3 356 421 z"/>
|
||||
<path style="fill:#606060" d="M433 420 L432 419 L433 420 z"/>
|
||||
<path style="fill:#a0a0a0" d="M192 420 L191 421 L192 420 z"/>
|
||||
<path style="fill:#707070" d="M263 420 C263 420.7 263.2 422.2 262 422 C262 421.3 261.8 419.8 263 420 z"/>
|
||||
<path style="fill:#989898" d="M341 420 C341 420.7 341.2 422.2 340 422 C340 421.3 339.8 419.8 341 420 z"/>
|
||||
<path style="fill:#606060" d="M153 421 L153 423 L152 423 C152 422.3 151.8 420.8 153 421 z"/>
|
||||
<path style="fill:#bfc0c0" d="M168 421 L168 457 L167 421 L168 421 z"/>
|
||||
<path style="fill:#707070" d="M240 421 C240 421.7 240.2 423.2 239 423 C239 422.3 238.8 420.8 240 421 z"/>
|
||||
<path style="fill:#909090" d="M390 421 C390 421.7 390.2 423.2 389 423 C389 422.3 388.8 420.8 390 421 z"/>
|
||||
<path style="fill:#a0a0a0" d="M413 421 C413 421.7 413.2 423.2 412 423 C412 422.3 411.8 420.8 413 421 z"/>
|
||||
<path style="fill:#7c7c7c" d="M191 422 L190 457 L191 422 z"/>
|
||||
<path style="fill:#bfbfbf" d="M153 423 L152 457 L152 423 L153 423 z"/>
|
||||
<path style="fill:#888989" d="M283 432 L283 423 C284.7 424.7 284.7 430.3 283 432 z"/>
|
||||
<path style="fill:#7c7d7d" d="M340 423 L339 457 L340 423 z"/>
|
||||
<path style="fill:#a1a2a2" d="M433 432 L433 423 C434.7 424.7 434.7 430.3 433 432 z"/>
|
||||
<path style="fill:#c4c4c4" d="M306 432 L306 424 C307.6 425.3 307.6 430.7 306 432 z"/>
|
||||
<path style="fill:#404040" d="M262 425 L262 431 C260.4 430.3 260.4 425.7 262 425 z"/>
|
||||
<path style="fill:#a0a0a0" d="M456 432 L456 426 C457.6 426.7 457.6 431.3 456 432 z"/>
|
||||
<path style="fill:#585858" d="M390 434 L389 430 L390 434 z"/>
|
||||
<path style="fill:#909090" d="M240 435 C238.8 435.2 239 433.7 239 433 C240.2 432.8 240 434.3 240 435 z"/>
|
||||
<path style="fill:#808080" d="M413 435 C411.8 435.2 412 433.7 412 433 C413.2 432.8 413 434.3 413 435 z"/>
|
||||
<path style="fill:#707070" d="M263 435 L262 434 L263 435 z"/>
|
||||
<path style="fill:#707070" d="M306 434 C306 434.7 306.2 436.2 305 436 C305 435.3 304.8 433.8 306 434 z"/>
|
||||
<path style="fill:#909090" d="M283 435 L282 436 L283 435 z"/>
|
||||
<path style="fill:#a0a0a0" d="M433 435 L432 436 L433 435 z"/>
|
||||
<path style="fill:#989898" d="M456 435 C456 435.7 456.2 437.2 455 437 C455 436.3 454.8 434.8 456 435 z"/>
|
||||
<path style="fill:#888888" d="M241 439 C239.8 439.2 240 437.7 240 437 C241.2 436.8 241 438.3 241 439 z"/>
|
||||
<path style="fill:#a0a0a0" d="M282 437 L281 438 L282 437 z"/>
|
||||
<path style="fill:#707070" d="M391 438 L390 437 L391 438 z"/>
|
||||
<path style="fill:#909090" d="M265 439 L264 438 L265 439 z"/>
|
||||
<path style="fill:#606060" d="M305 438 L304 439 L305 438 z"/>
|
||||
<path style="fill:#909090" d="M415 439 L414 438 L415 439 z"/>
|
||||
<path style="fill:#888888" d="M455 438 C455 438.7 455.2 440.2 454 440 C454 439.3 453.8 437.8 455 438 z"/>
|
||||
<path style="fill:#a0a0a0" d="M416 440 L415 439 L416 440 z"/>
|
||||
<path style="fill:#606060" d="M431 439 L430 440 L431 439 z"/>
|
||||
<path style="fill:#808080" d="M242 441 L241 440 L242 441 z"/>
|
||||
<path style="fill:#a0a0a0" d="M392 441 L391 440 L392 441 z"/>
|
||||
<path style="fill:#a0a0a0" d="M417 441 L416 440 L417 441 z"/>
|
||||
<path style="fill:#606060" d="M430 440 L429 441 L430 440 z"/>
|
||||
<path style="fill:#606060" d="M268 442 L267 441 L268 442 z"/>
|
||||
<path style="fill:#a0a0a0" d="M278 441 L277 442 L278 441 z"/>
|
||||
<path style="fill:#a0a0a0" d="M304 441 L303 442 L304 441 z"/>
|
||||
<path style="fill:#a0a0a0" d="M454 441 L453 442 L454 441 z"/>
|
||||
<path style="fill:#808080" d="M243 443 L242 442 L243 443 z"/>
|
||||
<path style="fill:#aaabab" d="M276 442 C275.3 443.6 270.7 443.6 270 442 L276 442 z"/>
|
||||
<path style="fill:#909090" d="M393 443 L392 442 L393 443 z"/>
|
||||
<path style="fill:#707070" d="M421 443 C420.3 443 418.8 443.2 419 442 C419.7 442 421.2 441.8 421 443 z"/>
|
||||
<path style="fill:#808080" d="M426 442 L425 443 L426 442 z"/>
|
||||
<path style="fill:#707070" d="M245 446 L244 445 L245 446 z"/>
|
||||
<path style="fill:#707070" d="M395 446 L394 445 L395 446 z"/>
|
||||
<path style="fill:#a0a0a0" d="M300 447 L299 448 L300 447 z"/>
|
||||
<path style="fill:#909090" d="M450 447 L449 448 L450 447 z"/>
|
||||
<path style="fill:#707070" d="M299 448 L298 449 L299 448 z"/>
|
||||
<path style="fill:#606060" d="M449 448 L448 449 L449 448 z"/>
|
||||
<path style="fill:#606060" d="M298 449 L297 450 L298 449 z"/>
|
||||
<path style="fill:#606060" d="M448 449 L447 450 L448 449 z"/>
|
||||
<path style="fill:#a0a0a0" d="M297 450 L296 451 L297 450 z"/>
|
||||
<path style="fill:#808080" d="M447 450 L446 451 L447 450 z"/>
|
||||
<path style="fill:#a0a0a0" d="M446 451 L445 452 L446 451 z"/>
|
||||
<path style="fill:#909090" d="M252 453 L251 452 L252 453 z"/>
|
||||
<path style="fill:#909090" d="M402 453 L401 452 L402 453 z"/>
|
||||
<path style="fill:#a0a0a0" d="M293 453 L292 454 L293 453 z"/>
|
||||
<path style="fill:#909090" d="M443 453 L442 454 L443 453 z"/>
|
||||
<path style="fill:#808080" d="M291 454 L290 455 L291 454 z"/>
|
||||
<path style="fill:#808080" d="M441 454 L440 455 L441 454 z"/>
|
||||
<path style="fill:#606060" d="M258 456 L257 455 L258 456 z"/>
|
||||
<path style="fill:#a0a0a0" d="M289 455 L288 456 L289 455 z"/>
|
||||
<path style="fill:#606060" d="M408 456 L407 455 L408 456 z"/>
|
||||
<path style="fill:#909090" d="M439 455 L438 456 L439 455 z"/>
|
||||
<path style="fill:#787878" d="M261 457 C260.3 457 258.8 457.2 259 456 C259.7 456 261.2 455.8 261 457 z"/>
|
||||
<path style="fill:#808080" d="M411 457 C410.3 457 408.8 457.2 409 456 C409.7 456 411.2 455.8 411 457 z"/>
|
||||
<path style="fill:#a8a8a8" d="M437 456 C437.2 457.2 435.7 457 435 457 C434.8 455.8 436.3 456 437 456 z"/>
|
||||
<path style="fill:#888888" d="M265 458 C264.3 458 262.8 458.2 263 457 C263.7 457 265.2 456.8 265 458 z"/>
|
||||
<path style="fill:#606060" d="M282 457 C281.9 458.6 279.9 457.8 279 458 C279.1 456.4 281.1 457.2 282 457 z"/>
|
||||
<path style="fill:#888888" d="M415 458 C414.3 458 412.8 458.2 413 457 C413.7 457 415.2 456.8 415 458 z"/>
|
||||
<path style="fill:#606060" d="M432 457 C431.9 458.6 429.9 457.8 429 458 C429.1 456.4 431.1 457.2 432 457 z"/>
|
||||
<path style="fill:#c2c2c2" d="M276 458 C275 459.6 270 459.6 269 458 L276 458 z"/>
|
||||
<path style="fill:#c2c2c2" d="M426 458 C425 459.6 420 459.6 419 458 L426 458 z"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 52 KiB |
@@ -1,3 +0,0 @@
|
||||
.makefrag
|
||||
.response
|
||||
library-deps.stamp
|
||||
@@ -1,38 +0,0 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<!-- NAnt build file for Accessibility.dll -->
|
||||
|
||||
<project name="System" default="build">
|
||||
<property name="debug" value="false"/>
|
||||
|
||||
<target name="build">
|
||||
<mkdir dir="../lib"/>
|
||||
<csc target="library" output="../lib/Accessibility.dll" debug="${debug}">
|
||||
<arg value="/nowarn:1595"/>
|
||||
<arg value="/unsafe"/>
|
||||
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
|
||||
<arg value="/lib:../lib/"/>
|
||||
|
||||
<!-- cor compare dies with these currently -->
|
||||
<!--arg value="/nostdlib"/--> <!-- don't reference mscorlib -->
|
||||
<!--arg value="/r:corlib.dll"/-->
|
||||
<sources>
|
||||
<includes name="**/*.cs"/>
|
||||
<excludes name="Test/**"/>
|
||||
</sources>
|
||||
</csc>
|
||||
<copy file="../lib/Accessibility.dll" tofile="Test/Accessibility.dll"/>
|
||||
<!-- TODO: missing tests & buildfile
|
||||
<nant basedir="Test" target="build"/>
|
||||
-->
|
||||
</target>
|
||||
|
||||
<target name="test" depends="build">
|
||||
<nant basedir="Test" target="test"/>
|
||||
</target>
|
||||
|
||||
<target name="clean">
|
||||
<nant basedir="Test" target="clean"/>
|
||||
<delete file="../lib/Accessibility.dll" failonerror="false"/>
|
||||
</target>
|
||||
</project>
|
||||
@@ -1,3 +0,0 @@
|
||||
.makefrag
|
||||
.response
|
||||
library-deps.stamp
|
||||
@@ -1,35 +0,0 @@
|
||||
//
|
||||
// IAccessible.cs: Interface for accessible elements
|
||||
//
|
||||
// What a horrible interface.
|
||||
//
|
||||
|
||||
namespace Accessibility {
|
||||
|
||||
public interface IAccessible {
|
||||
|
||||
void accDoDefaultAction (object childID);
|
||||
object accHitTest (int xLeft, int yTop);
|
||||
void accLocation (out int pxLeft, out int pyTop, out int pcxWidth, out int pcyHeight, object childID);
|
||||
object accNavigate(int navDir, object childID);
|
||||
void accSelect(int flagsSelect, object childID);
|
||||
object get_accChild(object childID);
|
||||
string get_accDefaultAction(object childID);
|
||||
string get_accDescription(object childID);
|
||||
string get_accHelp(object childID);
|
||||
int get_accHelpTopic(out string pszHelpFile,object childID);
|
||||
string get_accKeyboardShortcut(object childID);
|
||||
string get_accName(object childID);
|
||||
object get_accRole(object childID);
|
||||
object get_accState(object childID);
|
||||
string get_accValue(object childID);
|
||||
void set_accName(object childID, string newName);
|
||||
void set_accValue(object childID, string newValue);
|
||||
|
||||
|
||||
int accChildCount { get; }
|
||||
object accFocus { get; }
|
||||
object accParent { get;}
|
||||
object accSelection { get; }
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
interface IAccessibleHandler {
|
||||
// Opaque for now.
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
2002-12-10 Jeroen Janssen <[email protected]>
|
||||
|
||||
* updated .build file to correctly build with Nant
|
||||
@@ -1,2 +0,0 @@
|
||||
Accessibility/IAccessible.cs
|
||||
Accessibility/IAccessibleHandler.cs
|
||||
@@ -1,16 +0,0 @@
|
||||
topdir = ../..
|
||||
|
||||
TEST_DIR= Test
|
||||
LIBRARY = $(topdir)/class/lib/Accessibility.dll
|
||||
|
||||
LIB_LIST = list.unix
|
||||
LIB_FLAGS = -r corlib
|
||||
|
||||
SOURCES_INCLUDE=*.cs
|
||||
SOURCES_EXCLUDE=\
|
||||
./Test*
|
||||
|
||||
|
||||
export MONO_PATH_PREFIX = $(topdir)/class/lib:
|
||||
|
||||
include $(topdir)/class/library.make
|
||||
@@ -1,47 +0,0 @@
|
||||
2003-01-08 Gaurav Vaish <gvaish_mono AT lycos.com>
|
||||
|
||||
* System.Web.Mobile : Added new directory
|
||||
|
||||
2002-12-11 Jeroen Janssen <[email protected]>
|
||||
|
||||
* enabled building Mono.Directory.LDAP and
|
||||
System.Design in .build file
|
||||
|
||||
2002-12-10 Jeroen Janssen <[email protected]>
|
||||
|
||||
* updated .build file(s) to correctly contain required buildfile
|
||||
attribute for nant
|
||||
|
||||
2002-12-09 Daniel Morgan <[email protected]>
|
||||
|
||||
* library.build: add Mono.GetOptions to windows build
|
||||
|
||||
* Mono.GetOptions/Mono.GetOptions.build: add file
|
||||
for windows build
|
||||
|
||||
2002-12-08 Radek Doulik <[email protected]>
|
||||
|
||||
* makefile.gnu (DIRS): place System.Data before Mono.GetOptions,
|
||||
Mono.GetOptions references System.Data
|
||||
|
||||
2002-12-07 Jackson Harper <[email protected]>
|
||||
|
||||
* library.build: Added Cscompmgd to the build
|
||||
|
||||
2002-12-02 Cesar Octavio Lopez Nataren <[email protected]>
|
||||
|
||||
* mcs/class: Added assembly directory System.ServiceProcess
|
||||
|
||||
2002-11-26 Daniel morgan <[email protected]>
|
||||
|
||||
* makefile.gnu: add Mono.Data.PostgreSqlClient
|
||||
to Linux build
|
||||
|
||||
* library.build: add Mono.Data.PostgreSqlClient
|
||||
to Windows build
|
||||
|
||||
2002-11-20 Nick Drochak <[email protected]>
|
||||
|
||||
* library.make: for .response allow white space at the end of
|
||||
the line
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
.response
|
||||
.makefrag
|
||||
library-deps.stamp
|
||||
@@ -1,3 +0,0 @@
|
||||
2002-12-07 Jackson Harper <[email protected]>
|
||||
|
||||
* Cscompmgd.build: Added file
|
||||
@@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
|
||||
<!-- NAnt build file for Cscompmgd.dll -->
|
||||
|
||||
<project name="Cscompmgd" default="build">
|
||||
<property name="debug" value="false"/>
|
||||
|
||||
<target name="build">
|
||||
<csc target="library" output="../lib/Cscompmgd.dll" debug="${debug}">
|
||||
<arg value="/nowarn:1595"/>
|
||||
<arg value="/unsafe"/>
|
||||
<sources>
|
||||
<includes name="**/*.cs"/>
|
||||
<excludes name="Test/**"/>
|
||||
</sources>
|
||||
|
||||
<references>
|
||||
<includes name="../lib/corlib.dll"/>
|
||||
<includes name="../lib/System.dll"/>
|
||||
</references>
|
||||
|
||||
</csc>
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete file="../lib/Cscompmgd.dll" failonerror="false"/>
|
||||
</target>
|
||||
</project>
|
||||
@@ -1,56 +0,0 @@
|
||||
2002-12-15 Jackson Harper <[email protected]>
|
||||
|
||||
* CompilerError.cs ErrorLevel.cs: Moved ErrorLevel enum into its own file
|
||||
|
||||
2002-12-12 Jackson Harper <[email protected]>
|
||||
|
||||
* Compiler.cs: Partially implemented bugreport option, also only allow valid options now
|
||||
|
||||
2002-12-07 Jackson Harper <[email protected]>
|
||||
|
||||
* Compiler.cs: Moved StreamWriter creation into a try block
|
||||
|
||||
2002-12-07 Jackson Harper <[email protected]>
|
||||
|
||||
* Compiler.cs: Source text is now implemented so you can pass strings of C# code to be compiled
|
||||
|
||||
2002-12-07 Jackson Harper <[email protected]>
|
||||
|
||||
* TODOAttribute.cs: Added file
|
||||
|
||||
2002-12-07 Jackson Harper <[email protected]>
|
||||
|
||||
* Compiler.cs CompilerError.cs: Moved file
|
||||
|
||||
2002-11-11 Jackson Harper <[email protected]>
|
||||
|
||||
* CompilerError.cs: Reordered ErrorLevel enumeration to match MS values
|
||||
|
||||
2002-11-11 Jackson Harper <[email protected]>
|
||||
|
||||
* CompilerError.cs: Error levels are now lower case to match MS spec
|
||||
|
||||
2002-11-9 Jackson Harper <[email protected]>
|
||||
|
||||
* CompilerError.cs: ToString() Do not show source file info if there was no source file in the error message
|
||||
|
||||
2002-11-6 Jackson Harper <[email protected]>
|
||||
|
||||
* Compiler.cs: No longers waits untill mcs is finished running to read output, this should prevent
|
||||
crashes from buffers filling up.
|
||||
|
||||
2002-11-4 Jackson Harper <[email protected]>
|
||||
|
||||
* Compiler.cs CompilerError.cs: Fixed (C) in header
|
||||
|
||||
2002-11-4 Jackson Harper <[email protected]>
|
||||
|
||||
* Compiler.cs: Added file
|
||||
|
||||
2002-11-4 Jackson Harper <[email protected]>
|
||||
|
||||
* CompilerError.cs: Changed FileName property to the correct name 'SourceFile'
|
||||
|
||||
2002-10-30 Jackson Harper <[email protected]>
|
||||
|
||||
* CompilerError.cs: Added class
|
||||
@@ -1,266 +0,0 @@
|
||||
// Microsoft.CSharp.Compiler
|
||||
//
|
||||
// Author(s):
|
||||
// Jackson Harper ([email protected])
|
||||
//
|
||||
// (C) 2002 Jackson Harper, All rights reserved.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace Microsoft.CSharp {
|
||||
|
||||
public class Compiler {
|
||||
|
||||
public Compiler()
|
||||
{
|
||||
}
|
||||
|
||||
[MonoTODO("Have not implemented bugreports")]
|
||||
public static CompilerError[] Compile(string[] sourceTexts,
|
||||
string[] sourceTextNames, string target, string[] imports,
|
||||
IDictionary options)
|
||||
{
|
||||
VerifyArgs (sourceTexts, sourceTextNames, target);
|
||||
|
||||
string[] temp_cs_files;
|
||||
CompilerError[] errors;
|
||||
string bugreport_path = null;
|
||||
StreamWriter bug_report = null;
|
||||
|
||||
temp_cs_files = CreateCsFiles (sourceTexts, sourceTextNames);
|
||||
|
||||
if (options != null)
|
||||
bugreport_path = (string)options["bugreport"];
|
||||
|
||||
if (bugreport_path != null) {
|
||||
bug_report = CreateBugReport (sourceTexts, sourceTextNames, bugreport_path);
|
||||
}
|
||||
|
||||
try {
|
||||
errors = CompileFiles (temp_cs_files, target, imports, options, bug_report);
|
||||
} catch {
|
||||
throw;
|
||||
} finally {
|
||||
foreach (string temp_file in temp_cs_files) {
|
||||
FileInfo file = new FileInfo (temp_file);
|
||||
file.Delete ();
|
||||
}
|
||||
if (bug_report != null)
|
||||
bug_report.Close ();
|
||||
}
|
||||
|
||||
return errors;
|
||||
}
|
||||
|
||||
//
|
||||
// Private Methods
|
||||
//
|
||||
|
||||
private static CompilerError[] CompileFiles (string[] cs_files,
|
||||
string target, string[] imports, IDictionary options, StreamWriter bug_report)
|
||||
{
|
||||
ArrayList error_list = new ArrayList ();
|
||||
Process mcs = new Process ();
|
||||
string mcs_output;
|
||||
string[] mcs_output_lines;
|
||||
|
||||
mcs.StartInfo.FileName = "mcs";
|
||||
mcs.StartInfo.Arguments = BuildArgs (cs_files,
|
||||
target, imports, options);
|
||||
mcs.StartInfo.CreateNoWindow = true;
|
||||
mcs.StartInfo.UseShellExecute = false;
|
||||
mcs.StartInfo.RedirectStandardOutput = true;
|
||||
|
||||
try {
|
||||
mcs.Start ();
|
||||
mcs_output = mcs.StandardOutput.ReadToEnd();
|
||||
mcs.WaitForExit ();
|
||||
} finally {
|
||||
mcs.Close ();
|
||||
}
|
||||
|
||||
mcs_output_lines = mcs_output.Split (
|
||||
System.Environment.NewLine.ToCharArray ());
|
||||
foreach (string error_line in mcs_output_lines) {
|
||||
CompilerError error = CreateErrorFromString (error_line);
|
||||
if (null != error)
|
||||
error_list.Add (error);
|
||||
}
|
||||
|
||||
if (bug_report != null) {
|
||||
bug_report.WriteLine ("### Compiler Output");
|
||||
bug_report.Write (mcs_output);
|
||||
}
|
||||
|
||||
return (CompilerError[])error_list.ToArray (typeof(CompilerError));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Converts an error string into a CompilerError object
|
||||
/// Return null if the line was not an error string
|
||||
/// </summary>
|
||||
private static CompilerError CreateErrorFromString(string error_string)
|
||||
{
|
||||
CompilerError error = new CompilerError();
|
||||
Regex reg = new Regex (@"^((?<file>.*)\((?<line>\d*)(,(?<column>\d*))?\)\s){0,}(?<level>\w+)\sCS(?<number>\d*):\s(?<message>.*)",
|
||||
RegexOptions.Compiled | RegexOptions.ExplicitCapture);
|
||||
|
||||
Match match = reg.Match (error_string);
|
||||
|
||||
if (!match.Success)
|
||||
return null;
|
||||
|
||||
if (String.Empty != match.Result ("${file}"))
|
||||
error.SourceFile = match.Result ("${file}");
|
||||
if (String.Empty != match.Result ("${line}"))
|
||||
error.SourceLine = Int32.Parse (match.Result ("${line}"));
|
||||
if (String.Empty != match.Result ("${column}"))
|
||||
error.SourceColumn = Int32.Parse (match.Result ("${column}"));
|
||||
error.ErrorLevel = (ErrorLevel)Enum.Parse (typeof(ErrorLevel),
|
||||
match.Result ("${level}"), true);
|
||||
error.ErrorNumber = Int32.Parse (match.Result ("${number}"));
|
||||
error.ErrorMessage = match.Result ("${message}");
|
||||
|
||||
return error;
|
||||
}
|
||||
|
||||
private static string[] CreateCsFiles (string[] source_text, string[] source_name)
|
||||
{
|
||||
ArrayList temp_file_list = new ArrayList ();
|
||||
|
||||
for (int i=0; i<source_text.Length; i++) {
|
||||
string temp_path = Path.GetTempFileName ();
|
||||
StreamWriter writer = null;
|
||||
try {
|
||||
writer = new StreamWriter (temp_path);
|
||||
writer.WriteLine (String.Format ("#line 1 \"{0}\"",
|
||||
source_name[i]));
|
||||
writer.Write (source_text[i]);
|
||||
} catch {
|
||||
} finally {
|
||||
if (writer != null)
|
||||
writer.Close ();
|
||||
}
|
||||
temp_file_list.Add (temp_path);
|
||||
}
|
||||
|
||||
return (string[])temp_file_list.ToArray (typeof(string));
|
||||
}
|
||||
|
||||
private static string BuildArgs(string[] source_files,
|
||||
string target, string[] imports, IDictionary options)
|
||||
{
|
||||
StringBuilder args = new StringBuilder ();
|
||||
|
||||
args.AppendFormat ("/out:{0} ", target);
|
||||
|
||||
if (null != imports) {
|
||||
foreach (string import in imports)
|
||||
args.AppendFormat ("/r:{0} ", import);
|
||||
}
|
||||
|
||||
if (null != options) {
|
||||
foreach (object option in options.Keys) {
|
||||
object value = options[option];
|
||||
if (!ValidOption ((string)option))
|
||||
continue;
|
||||
args.AppendFormat ("{0} ", OptionString (option,value));
|
||||
}
|
||||
}
|
||||
|
||||
foreach (string source in source_files)
|
||||
args.AppendFormat ("{0} ", source);
|
||||
|
||||
return args.ToString ();
|
||||
}
|
||||
|
||||
private static string OptionString(object option, object value)
|
||||
{
|
||||
if (null != value)
|
||||
return String.Format ("/{0}:{1}", option, value);
|
||||
|
||||
return String.Format("/{0}", option);
|
||||
}
|
||||
|
||||
private static void VerifyArgs (string[] sourceTexts,
|
||||
string[] sourceTextNames, string target)
|
||||
{
|
||||
if (null == sourceTexts)
|
||||
throw new ArgumentNullException ("sourceTexts");
|
||||
if (null == sourceTextNames)
|
||||
throw new ArgumentNullException ("sourceTextNames");
|
||||
if (null == target)
|
||||
throw new ArgumentNullException ("target");
|
||||
|
||||
if (sourceTexts.Length <= 0 || sourceTextNames.Length <= 0)
|
||||
throw new IndexOutOfRangeException ();
|
||||
}
|
||||
|
||||
private static StreamWriter CreateBugReport (string[] source_texts,
|
||||
string[] source_names, string path)
|
||||
{
|
||||
StreamWriter bug_report = null;
|
||||
|
||||
try {
|
||||
bug_report = new StreamWriter (path);
|
||||
bug_report.WriteLine ("### C# Compiler Defect Report," +
|
||||
" created {0}", DateTime.Now);
|
||||
// Compiler Version
|
||||
// Runtime
|
||||
// Operating System
|
||||
// Username
|
||||
for (int i=0; i<source_texts.Length; i++) {
|
||||
bug_report.WriteLine ("### Source file: '{0}'",
|
||||
source_names[i]);
|
||||
bug_report.Write (source_texts[i]);
|
||||
}
|
||||
} catch {
|
||||
if (bug_report != null)
|
||||
bug_report.Close ();
|
||||
throw;
|
||||
}
|
||||
|
||||
return bug_report;
|
||||
}
|
||||
|
||||
|
||||
private static bool ValidOption (string option)
|
||||
{
|
||||
switch (option) {
|
||||
case "addmodule":
|
||||
case "baseaddress":
|
||||
case "checked":
|
||||
case "d":
|
||||
case "debug":
|
||||
case "doc":
|
||||
case "filealign":
|
||||
case "incr":
|
||||
case "lib":
|
||||
case "linkres":
|
||||
case "m":
|
||||
case "nostdlib":
|
||||
case "nowarn":
|
||||
case "o":
|
||||
case "r":
|
||||
case "res":
|
||||
case "target":
|
||||
case "unsafe":
|
||||
case "w":
|
||||
case "warnaserror":
|
||||
case "win32icon":
|
||||
case "win32res":
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,108 +0,0 @@
|
||||
// Microsoft.CSharp.CompilerError
|
||||
//
|
||||
// Author(s):
|
||||
// Jackson Harper ([email protected])
|
||||
//
|
||||
// (C) 2002 Jackson Harper, All rights reserved.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Text;
|
||||
|
||||
namespace Microsoft.CSharp {
|
||||
|
||||
public class CompilerError {
|
||||
|
||||
private ErrorLevel level = ErrorLevel.None;
|
||||
private string message = null;
|
||||
private string file = null;
|
||||
private int number = 0;
|
||||
private int column = 0;
|
||||
private int line = 0;
|
||||
|
||||
public CompilerError()
|
||||
{
|
||||
}
|
||||
|
||||
~CompilerError()
|
||||
{
|
||||
message = null;
|
||||
file = null;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Public Properties
|
||||
//
|
||||
|
||||
public ErrorLevel ErrorLevel {
|
||||
get { return level; }
|
||||
set { level = value; }
|
||||
}
|
||||
|
||||
public string ErrorMessage {
|
||||
get {
|
||||
return (null == message ? String.Empty : message);
|
||||
}
|
||||
set {
|
||||
message = value;
|
||||
}
|
||||
}
|
||||
|
||||
public int ErrorNumber {
|
||||
get { return number; }
|
||||
set { number = value; }
|
||||
}
|
||||
|
||||
public int SourceColumn {
|
||||
get { return column; }
|
||||
set { column = value; }
|
||||
}
|
||||
|
||||
public string SourceFile {
|
||||
get {
|
||||
return (null == file ? String.Empty : file);
|
||||
}
|
||||
set { file = value; }
|
||||
}
|
||||
|
||||
public int SourceLine {
|
||||
get { return line; }
|
||||
set { line = value; }
|
||||
}
|
||||
|
||||
//
|
||||
// Public Methods
|
||||
//
|
||||
|
||||
/// <summary>
|
||||
/// Error message in form:
|
||||
/// filename(line,column): AAAAA CSXXX: message
|
||||
/// </summary>
|
||||
public override string ToString()
|
||||
{
|
||||
StringBuilder builder = new StringBuilder ();
|
||||
|
||||
if (String.Empty != SourceFile)
|
||||
builder.AppendFormat ("{0}({1},{2}) ",
|
||||
SourceFile, SourceLine, SourceColumn);
|
||||
builder.AppendFormat ("{0} CS{1}: {2}",
|
||||
ErrorLevelString, ErrorNumber, ErrorMessage);
|
||||
|
||||
return builder.ToString ();
|
||||
}
|
||||
|
||||
//
|
||||
// Private Properties
|
||||
//
|
||||
|
||||
private string ErrorLevelString {
|
||||
get {
|
||||
if (ErrorLevel.FatalError == ErrorLevel)
|
||||
return "Error Fatal";
|
||||
return ErrorLevel.ToString ().ToLower ();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
// Microsoft.CSharp.ErrorLevel
|
||||
//
|
||||
// Author(s):
|
||||
// Jackson Harper ([email protected])
|
||||
//
|
||||
// (C) 2002 Jackson Harper, All rights reserved.
|
||||
//
|
||||
|
||||
namespace Microsoft.CSharp {
|
||||
|
||||
public enum ErrorLevel {
|
||||
None,
|
||||
Warning,
|
||||
Error,
|
||||
FatalError,
|
||||
}
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
//
|
||||
// TODOAttribute.cs
|
||||
//
|
||||
// Author:
|
||||
// Ravi Pratap ([email protected])
|
||||
//
|
||||
// (C) Ximian, Inc. http://www.ximian.com
|
||||
//
|
||||
using System;
|
||||
|
||||
namespace Microsoft.CSharp {
|
||||
|
||||
/// <summary>
|
||||
/// The TODO attribute is used to flag all incomplete bits in our class libraries
|
||||
/// </summary>
|
||||
///
|
||||
/// <remarks>
|
||||
/// Use this to decorate any element which you think is not complete
|
||||
/// </remarks>
|
||||
[AttributeUsage (AttributeTargets.All)]
|
||||
internal class MonoTODOAttribute : Attribute {
|
||||
|
||||
string comment;
|
||||
|
||||
public MonoTODOAttribute ()
|
||||
{}
|
||||
|
||||
public MonoTODOAttribute (string comment)
|
||||
{
|
||||
this.comment = comment;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
Microsoft.CSharp/Compiler.cs
|
||||
Microsoft.CSharp/CompilerError.cs
|
||||
Microsoft.CSharp/ErrorLevel.cs
|
||||
Microsoft.CSharp/TODOAttribute.cs
|
||||
@@ -1,15 +0,0 @@
|
||||
topdir = ../..
|
||||
|
||||
TEST_DIR= Test
|
||||
LIBRARY = $(topdir)/class/lib/Cscompmgd.dll
|
||||
|
||||
LIB_LIST = list.unix
|
||||
LIB_FLAGS = -r corlib -r System
|
||||
|
||||
SOURCES_INCLUDE=*.cs
|
||||
SOURCES_EXCLUDE=\
|
||||
./Test*
|
||||
|
||||
export MONO_PATH_PREFIX = $(topdir)/class/lib:
|
||||
|
||||
include $(topdir)/class/library.make
|
||||
@@ -1,5 +0,0 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
.deps
|
||||
*.dll
|
||||
I18N-handlers.def
|
||||
@@ -1,4 +0,0 @@
|
||||
list
|
||||
.makefrag
|
||||
.response
|
||||
library-deps.stamp
|
||||
@@ -1,849 +0,0 @@
|
||||
/*
|
||||
* CP932.cs - Japanese (Shift-JIS) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace I18N.CJK
|
||||
{
|
||||
|
||||
using System;
|
||||
using System.Text;
|
||||
using I18N.Common;
|
||||
|
||||
public unsafe class CP932 : Encoding
|
||||
{
|
||||
// Magic number used by Windows for the Shift-JIS code page.
|
||||
private const int SHIFTJIS_CODE_PAGE = 932;
|
||||
|
||||
// Internal state.
|
||||
private JISConvert convert;
|
||||
|
||||
// Constructor.
|
||||
public CP932() : base(SHIFTJIS_CODE_PAGE)
|
||||
{
|
||||
// Load the JIS conversion tables.
|
||||
convert = JISConvert.Convert;
|
||||
}
|
||||
|
||||
// Get the number of bytes needed to encode a character buffer.
|
||||
public override int GetByteCount(char[] chars, int index, int count)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(index < 0 || index > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("index", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(count < 0 || count > (chars.Length - index))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("count", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Determine the length of the final output.
|
||||
int length = 0;
|
||||
int ch, value;
|
||||
#if __PNET__
|
||||
byte *cjkToJis = convert.cjkToJis;
|
||||
byte *extraToJis = convert.extraToJis;
|
||||
#else
|
||||
byte[] cjkToJis = convert.cjkToJis;
|
||||
byte[] extraToJis = convert.extraToJis;
|
||||
#endif
|
||||
while(count > 0)
|
||||
{
|
||||
ch = chars[index++];
|
||||
--count;
|
||||
++length;
|
||||
if(ch < 0x0080)
|
||||
{
|
||||
// Character maps to itself.
|
||||
continue;
|
||||
}
|
||||
else if(ch < 0x0100)
|
||||
{
|
||||
// Check for special Latin 1 characters that
|
||||
// can be mapped to double-byte code points.
|
||||
if(ch == 0x00A2 || ch == 0x00A3 || ch == 0x00A7 ||
|
||||
ch == 0x00A8 || ch == 0x00AC || ch == 0x00B0 ||
|
||||
ch == 0x00B1 || ch == 0x00B4 || ch == 0x00B6 ||
|
||||
ch == 0x00D7 || ch == 0x00F7)
|
||||
{
|
||||
++length;
|
||||
}
|
||||
}
|
||||
else if(ch >= 0x0391 && ch <= 0x0451)
|
||||
{
|
||||
// Greek subset characters.
|
||||
++length;
|
||||
}
|
||||
else if(ch >= 0x2010 && ch <= 0x9FA5)
|
||||
{
|
||||
// This range contains the bulk of the CJK set.
|
||||
value = (ch - 0x2010) * 2;
|
||||
value = ((int)(cjkToJis[value])) |
|
||||
(((int)(cjkToJis[value + 1])) << 8);
|
||||
if(value >= 0x0100)
|
||||
{
|
||||
++length;
|
||||
}
|
||||
}
|
||||
else if(ch >= 0xFF01 && ch <= 0xFFEF)
|
||||
{
|
||||
// This range contains extra characters,
|
||||
// including half-width katakana.
|
||||
value = (ch - 0xFF01) * 2;
|
||||
value = ((int)(extraToJis[value])) |
|
||||
(((int)(extraToJis[value + 1])) << 8);
|
||||
if(value >= 0x0100)
|
||||
{
|
||||
++length;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Return the length to the caller.
|
||||
return length;
|
||||
}
|
||||
|
||||
// Get the bytes that result from encoding a character buffer.
|
||||
public override int GetBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(charIndex < 0 || charIndex > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(charCount < 0 || charCount > (chars.Length - charIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charCount", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Convert the characters into their byte form.
|
||||
int posn = byteIndex;
|
||||
int byteLength = bytes.Length;
|
||||
int ch, value;
|
||||
#if __PNET__
|
||||
byte *cjkToJis = convert.cjkToJis;
|
||||
byte *greekToJis = convert.greekToJis;
|
||||
byte *extraToJis = convert.extraToJis;
|
||||
#else
|
||||
byte[] cjkToJis = convert.cjkToJis;
|
||||
byte[] greekToJis = convert.greekToJis;
|
||||
byte[] extraToJis = convert.extraToJis;
|
||||
#endif
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = chars[charIndex++];
|
||||
--charCount;
|
||||
if(posn >= byteLength)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"),
|
||||
"bytes");
|
||||
}
|
||||
if(ch < 0x0080)
|
||||
{
|
||||
// Character maps to itself.
|
||||
bytes[posn++] = (byte)ch;
|
||||
continue;
|
||||
}
|
||||
else if(ch < 0x0100)
|
||||
{
|
||||
// Check for special Latin 1 characters that
|
||||
// can be mapped to double-byte code points.
|
||||
if(ch == 0x00A2 || ch == 0x00A3 || ch == 0x00A7 ||
|
||||
ch == 0x00A8 || ch == 0x00AC || ch == 0x00B0 ||
|
||||
ch == 0x00B1 || ch == 0x00B4 || ch == 0x00B6 ||
|
||||
ch == 0x00D7 || ch == 0x00F7)
|
||||
{
|
||||
if((posn + 1) >= byteLength)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString
|
||||
("Arg_InsufficientSpace"), "bytes");
|
||||
}
|
||||
switch(ch)
|
||||
{
|
||||
case 0x00A2:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x91;
|
||||
break;
|
||||
|
||||
case 0x00A3:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x92;
|
||||
break;
|
||||
|
||||
case 0x00A7:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x98;
|
||||
break;
|
||||
|
||||
case 0x00A8:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x4E;
|
||||
break;
|
||||
|
||||
case 0x00AC:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0xCA;
|
||||
break;
|
||||
|
||||
case 0x00B0:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x8B;
|
||||
break;
|
||||
|
||||
case 0x00B1:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x7D;
|
||||
break;
|
||||
|
||||
case 0x00B4:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x4C;
|
||||
break;
|
||||
|
||||
case 0x00B6:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0xF7;
|
||||
break;
|
||||
|
||||
case 0x00D7:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x7E;
|
||||
break;
|
||||
|
||||
case 0x00F7:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x80;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if(ch == 0x00A5)
|
||||
{
|
||||
// Yen sign.
|
||||
bytes[posn++] = (byte)0x5C;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid character.
|
||||
bytes[posn++] = (byte)'?';
|
||||
}
|
||||
continue;
|
||||
}
|
||||
else if(ch >= 0x0391 && ch <= 0x0451)
|
||||
{
|
||||
// Greek subset characters.
|
||||
value = (ch - 0x0391) * 2;
|
||||
value = ((int)(greekToJis[value])) |
|
||||
(((int)(greekToJis[value + 1])) << 8);
|
||||
}
|
||||
else if(ch >= 0x2010 && ch <= 0x9FA5)
|
||||
{
|
||||
// This range contains the bulk of the CJK set.
|
||||
value = (ch - 0x2010) * 2;
|
||||
value = ((int)(cjkToJis[value])) |
|
||||
(((int)(cjkToJis[value + 1])) << 8);
|
||||
}
|
||||
else if(ch >= 0xFF01 && ch <= 0xFFEF)
|
||||
{
|
||||
// This range contains extra characters,
|
||||
// including half-width katakana.
|
||||
value = (ch - 0xFF01) * 2;
|
||||
value = ((int)(extraToJis[value])) |
|
||||
(((int)(extraToJis[value + 1])) << 8);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid character.
|
||||
value = 0;
|
||||
}
|
||||
if(value == 0)
|
||||
{
|
||||
bytes[posn++] = (byte)'?';
|
||||
}
|
||||
else if(value < 0x0100)
|
||||
{
|
||||
bytes[posn++] = (byte)value;
|
||||
}
|
||||
else if((posn + 1) >= byteLength)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"),
|
||||
"bytes");
|
||||
}
|
||||
else if(value < 0x8000)
|
||||
{
|
||||
// JIS X 0208 character.
|
||||
value -= 0x0100;
|
||||
ch = (value / 0xBC);
|
||||
value = (value % 0xBC) + 0x40;
|
||||
if(value >= 0x7F)
|
||||
{
|
||||
++value;
|
||||
}
|
||||
if(ch < (0x9F - 0x80))
|
||||
{
|
||||
bytes[posn++] = (byte)(ch + 0x81);
|
||||
}
|
||||
else
|
||||
{
|
||||
bytes[posn++] = (byte)(ch - (0x9F - 0x80) + 0xE0);
|
||||
}
|
||||
bytes[posn++] = (byte)value;
|
||||
}
|
||||
else
|
||||
{
|
||||
// JIS X 0212 character, which Shift-JIS doesn't
|
||||
// support, but we've already allocated two slots.
|
||||
bytes[posn++] = (byte)'?';
|
||||
bytes[posn++] = (byte)'?';
|
||||
}
|
||||
}
|
||||
|
||||
// Return the final length to the caller.
|
||||
return posn - byteIndex;
|
||||
}
|
||||
|
||||
// Get the number of characters needed to decode a byte buffer.
|
||||
public override int GetCharCount(byte[] bytes, int index, int count)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(index < 0 || index > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("index", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(count < 0 || count > (bytes.Length - index))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("count", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Determine the total length of the converted string.
|
||||
int length = 0;
|
||||
int byteval;
|
||||
while(count > 0)
|
||||
{
|
||||
byteval = bytes[index++];
|
||||
--count;
|
||||
++length;
|
||||
if(byteval < 0x80)
|
||||
{
|
||||
// Ordinary ASCII/Latin1 character, or the
|
||||
// single-byte Yen or overline signs.
|
||||
continue;
|
||||
}
|
||||
else if(byteval >= 0xA1 && byteval <= 0xDF)
|
||||
{
|
||||
// Half-width katakana.
|
||||
continue;
|
||||
}
|
||||
else if(byteval < 0x81 ||
|
||||
(byteval > 0x9F && byteval < 0xE0) ||
|
||||
byteval > 0xEF)
|
||||
{
|
||||
// Invalid first byte.
|
||||
continue;
|
||||
}
|
||||
if(count == 0)
|
||||
{
|
||||
// Missing second byte.
|
||||
continue;
|
||||
}
|
||||
++index;
|
||||
--count;
|
||||
}
|
||||
|
||||
// Return the total length.
|
||||
return length;
|
||||
}
|
||||
|
||||
// Get the characters that result from decoding a byte buffer.
|
||||
public override int GetChars(byte[] bytes, int byteIndex, int byteCount,
|
||||
char[] chars, int charIndex)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(byteCount < 0 || byteCount > (bytes.Length - byteIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteCount", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(charIndex < 0 || charIndex > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Determine the total length of the converted string.
|
||||
int charLength = chars.Length;
|
||||
int posn = charIndex;
|
||||
int length = 0;
|
||||
int byteval, value;
|
||||
#if __PNET__
|
||||
byte *table = convert.jisx0208ToUnicode;
|
||||
#else
|
||||
byte[] table = convert.jisx0208ToUnicode;
|
||||
#endif
|
||||
while(byteCount > 0)
|
||||
{
|
||||
byteval = bytes[byteIndex++];
|
||||
--byteCount;
|
||||
++length;
|
||||
if(posn >= charLength)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"),
|
||||
"chars");
|
||||
}
|
||||
if(byteval == 0x5C)
|
||||
{
|
||||
// Yen sign.
|
||||
chars[posn++] = '\u00A5';
|
||||
continue;
|
||||
}
|
||||
else if(byteval == 0x7E)
|
||||
{
|
||||
// Overline symbol.
|
||||
chars[posn++] = '\u203E';
|
||||
continue;
|
||||
}
|
||||
else if(byteval < 0x80)
|
||||
{
|
||||
// Ordinary ASCII/Latin1 character.
|
||||
chars[posn++] = (char)byteval;
|
||||
continue;
|
||||
}
|
||||
else if(byteval >= 0xA1 && byteval <= 0xDF)
|
||||
{
|
||||
// Half-width katakana.
|
||||
chars[posn++] = (char)(byteval - 0xA1 + 0xFF61);
|
||||
continue;
|
||||
}
|
||||
else if(byteval >= 0x81 && byteval <= 0x9F)
|
||||
{
|
||||
value = (byteval - 0x81) * 0xBC;
|
||||
}
|
||||
else if(byteval >= 0xE0 && byteval <= 0xEF)
|
||||
{
|
||||
value = (byteval - 0xE0 + (0xA0 - 0x81)) * 0xBC;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid first byte.
|
||||
chars[posn++] = '?';
|
||||
continue;
|
||||
}
|
||||
if(byteCount == 0)
|
||||
{
|
||||
// Missing second byte.
|
||||
chars[posn++] = '?';
|
||||
continue;
|
||||
}
|
||||
byteval = bytes[byteIndex++];
|
||||
--byteCount;
|
||||
if(byteval >= 0x40 && byteval <= 0x7E)
|
||||
{
|
||||
value += (byteval - 0x40);
|
||||
}
|
||||
else if(byteval >= 0x80 && byteval <= 0xFC)
|
||||
{
|
||||
value += (byteval - 0x80 + 0x3F);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid second byte.
|
||||
chars[posn++] = '?';
|
||||
continue;
|
||||
}
|
||||
value *= 2;
|
||||
value = ((int)(table[value])) |
|
||||
(((int)(table[value + 1])) << 8);
|
||||
if(value != 0)
|
||||
{
|
||||
chars[posn++] = (char)value;
|
||||
}
|
||||
else
|
||||
{
|
||||
chars[posn++] = '?';
|
||||
}
|
||||
}
|
||||
|
||||
// Return the total length.
|
||||
return posn - charIndex;
|
||||
}
|
||||
|
||||
// Get the maximum number of bytes needed to encode a
|
||||
// specified number of characters.
|
||||
public override int GetMaxByteCount(int charCount)
|
||||
{
|
||||
if(charCount < 0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charCount",
|
||||
Strings.GetString("ArgRange_NonNegative"));
|
||||
}
|
||||
return charCount * 2;
|
||||
}
|
||||
|
||||
// Get the maximum number of characters needed to decode a
|
||||
// specified number of bytes.
|
||||
public override int GetMaxCharCount(int byteCount)
|
||||
{
|
||||
if(byteCount < 0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteCount",
|
||||
Strings.GetString("ArgRange_NonNegative"));
|
||||
}
|
||||
return byteCount;
|
||||
}
|
||||
|
||||
// Get a decoder that handles a rolling Shift-JIS state.
|
||||
public override Decoder GetDecoder()
|
||||
{
|
||||
return new CP932Decoder(convert);
|
||||
}
|
||||
|
||||
#if !ECMA_COMPAT
|
||||
|
||||
// Get the mail body name for this encoding.
|
||||
public override String BodyName
|
||||
{
|
||||
get
|
||||
{
|
||||
return "iso-2022-jp";
|
||||
}
|
||||
}
|
||||
|
||||
// Get the human-readable name for this encoding.
|
||||
public override String EncodingName
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Japanese (Shift-JIS)";
|
||||
}
|
||||
}
|
||||
|
||||
// Get the mail agent header name for this encoding.
|
||||
public override String HeaderName
|
||||
{
|
||||
get
|
||||
{
|
||||
return "iso-2022-jp";
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be displayed in a Web browser.
|
||||
public override bool IsBrowserDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be saved from a Web browser.
|
||||
public override bool IsBrowserSave
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be displayed in a mail/news agent.
|
||||
public override bool IsMailNewsDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be saved from a mail/news agent.
|
||||
public override bool IsMailNewsSave
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the IANA-preferred Web name for this encoding.
|
||||
public override String WebName
|
||||
{
|
||||
get
|
||||
{
|
||||
return "shift_jis";
|
||||
}
|
||||
}
|
||||
|
||||
// Get the Windows code page represented by this object.
|
||||
public override int WindowsCodePage
|
||||
{
|
||||
get
|
||||
{
|
||||
return SHIFTJIS_CODE_PAGE;
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ECMA_COMPAT
|
||||
|
||||
// Decoder that handles a rolling Shift-JIS state.
|
||||
private sealed class CP932Decoder : Decoder
|
||||
{
|
||||
private JISConvert convert;
|
||||
private int lastByte;
|
||||
|
||||
// Constructor.
|
||||
public CP932Decoder(JISConvert convert)
|
||||
{
|
||||
this.convert = convert;
|
||||
this.lastByte = 0;
|
||||
}
|
||||
|
||||
// Override inherited methods.
|
||||
public override int GetCharCount(byte[] bytes, int index, int count)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(index < 0 || index > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("index", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(count < 0 || count > (bytes.Length - index))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("count", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Determine the total length of the converted string.
|
||||
int length = 0;
|
||||
int byteval;
|
||||
int last = lastByte;
|
||||
while(count > 0)
|
||||
{
|
||||
byteval = bytes[index++];
|
||||
--count;
|
||||
if(last == 0)
|
||||
{
|
||||
if((byteval >= 0x81 && byteval <= 0x9F) ||
|
||||
(byteval >= 0xE0 && byteval <= 0xEF))
|
||||
{
|
||||
// First byte in a double-byte sequence.
|
||||
last = byteval;
|
||||
}
|
||||
++length;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Second byte in a double-byte sequence.
|
||||
last = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Return the total length.
|
||||
return length;
|
||||
}
|
||||
public override int GetChars(byte[] bytes, int byteIndex,
|
||||
int byteCount, char[] chars,
|
||||
int charIndex)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(byteCount < 0 || byteCount > (bytes.Length - byteIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteCount", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(charIndex < 0 || charIndex > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Decode the bytes in the buffer.
|
||||
int posn = charIndex;
|
||||
int charLength = chars.Length;
|
||||
int byteval, value;
|
||||
int last = lastByte;
|
||||
#if __PNET__
|
||||
byte *table = convert.jisx0208ToUnicode;
|
||||
#else
|
||||
byte[] table = convert.jisx0208ToUnicode;
|
||||
#endif
|
||||
while(byteCount > 0)
|
||||
{
|
||||
byteval = bytes[byteIndex++];
|
||||
--byteCount;
|
||||
if(last == 0)
|
||||
{
|
||||
if(posn >= charLength)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString
|
||||
("Arg_InsufficientSpace"), "chars");
|
||||
}
|
||||
if((byteval >= 0x81 && byteval <= 0x9F) ||
|
||||
(byteval >= 0xE0 && byteval <= 0xEF))
|
||||
{
|
||||
// First byte in a double-byte sequence.
|
||||
last = byteval;
|
||||
}
|
||||
else if(byteval == 0x5C)
|
||||
{
|
||||
// Yen sign.
|
||||
chars[posn++] ='\u00A5';
|
||||
}
|
||||
else if(byteval == 0x7E)
|
||||
{
|
||||
// Overline symbol.
|
||||
chars[posn++] ='\u203E';
|
||||
}
|
||||
else if(byteval < 0x80)
|
||||
{
|
||||
// Ordinary ASCII/Latin1 character.
|
||||
chars[posn++] = (char)byteval;
|
||||
}
|
||||
else if(byteval >= 0xA1 && byteval <= 0xDF)
|
||||
{
|
||||
// Half-width katakana character.
|
||||
chars[posn++] = (char)(byteval - 0xA1 + 0xFF61);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid first byte.
|
||||
chars[posn++] = '?';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Second byte in a double-byte sequence.
|
||||
if(last >= 0x81 && last <= 0x9F)
|
||||
{
|
||||
value = (last - 0x81) * 0xBC;
|
||||
}
|
||||
else
|
||||
{
|
||||
value = (last - 0xE0 + (0xA0 - 0x81)) * 0xBC;
|
||||
}
|
||||
last = 0;
|
||||
if(byteval >= 0x40 && byteval <= 0x7E)
|
||||
{
|
||||
value += (byteval - 0x40);
|
||||
}
|
||||
else if(byteval >= 0x80 && byteval <= 0xFC)
|
||||
{
|
||||
value += (byteval - 0x80 + 0x3F);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid second byte.
|
||||
chars[posn++] = '?';
|
||||
continue;
|
||||
}
|
||||
value *= 2;
|
||||
value = ((int)(table[value])) |
|
||||
(((int)(table[value + 1])) << 8);
|
||||
if(value != 0)
|
||||
{
|
||||
chars[posn++] = (char)value;
|
||||
}
|
||||
else
|
||||
{
|
||||
chars[posn++] = '?';
|
||||
}
|
||||
}
|
||||
}
|
||||
lastByte = last;
|
||||
|
||||
// Return the final length to the caller.
|
||||
return posn - charIndex;
|
||||
}
|
||||
|
||||
} // class CP932Decoder
|
||||
|
||||
}; // class CP932
|
||||
|
||||
public class ENCshift_jis : CP932
|
||||
{
|
||||
public ENCshift_jis() : base() {}
|
||||
|
||||
}; // class ENCshift_jis
|
||||
|
||||
}; // namespace I18N.CJK
|
||||
@@ -1,143 +0,0 @@
|
||||
/*
|
||||
* CodeTable.cs - Implementation of the "System.Text.CodeTable" class.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace I18N.CJK
|
||||
{
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using I18N.Common;
|
||||
|
||||
// This class assists encoding classes for the large CJK character
|
||||
// sets by providing pointer access to table data in the resource
|
||||
// section of the current assembly.
|
||||
//
|
||||
// Code tables are named by their resource (e.g. "jis.table") and
|
||||
// contain one or more sections. Each section has an 8-byte header,
|
||||
// consisting of a 32-bit section number and a 32-bit section length.
|
||||
// The alignment of the data in the table is not guaranteed.
|
||||
|
||||
internal unsafe sealed class CodeTable : IDisposable
|
||||
{
|
||||
// Internal state.
|
||||
private Stream stream;
|
||||
|
||||
// Load a code table from the resource section of this assembly.
|
||||
public CodeTable(String name)
|
||||
{
|
||||
stream = (Assembly.GetExecutingAssembly()
|
||||
.GetManifestResourceStream(name));
|
||||
if(stream == null)
|
||||
{
|
||||
throw new NotSupportedException
|
||||
(String.Format
|
||||
(Strings.GetString("NotSupp_MissingCodeTable"),
|
||||
name));
|
||||
}
|
||||
}
|
||||
|
||||
// Implement the IDisposable interface.
|
||||
public void Dispose()
|
||||
{
|
||||
if(stream != null)
|
||||
{
|
||||
stream.Close();
|
||||
stream = null;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the starting address for a particular section within
|
||||
// the code table. This address is guaranteed to persist
|
||||
// after "Dispose" is called.
|
||||
#if __PNET__
|
||||
public byte *GetSection(int num)
|
||||
#else
|
||||
public byte[] GetSection(int num)
|
||||
#endif
|
||||
{
|
||||
// If the table has been disposed, then bail out.
|
||||
if(stream == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Scan through the stream looking for the section.
|
||||
long posn = 0;
|
||||
long length = stream.Length;
|
||||
byte[] header = new byte [8];
|
||||
int sectNum, sectLen;
|
||||
while((posn + 8) <= length)
|
||||
{
|
||||
// Read the next header block.
|
||||
stream.Position = posn;
|
||||
if(stream.Read(header, 0, 8) != 8)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
// Decode the fields in the header block.
|
||||
sectNum = ((int)(header[0])) |
|
||||
(((int)(header[1])) << 8) |
|
||||
(((int)(header[2])) << 16) |
|
||||
(((int)(header[3])) << 24);
|
||||
sectLen = ((int)(header[4])) |
|
||||
(((int)(header[5])) << 8) |
|
||||
(((int)(header[6])) << 16) |
|
||||
(((int)(header[7])) << 24);
|
||||
|
||||
// Is this the section we are looking for?
|
||||
if(sectNum == num)
|
||||
{
|
||||
#if __PNET__
|
||||
return GetAddress(stream, posn + 8);
|
||||
#else
|
||||
byte[] buf = new byte [sectLen];
|
||||
if(stream.Read(buf, 0, sectLen) != sectLen)
|
||||
{
|
||||
break;
|
||||
}
|
||||
return buf;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Advance to the next section.
|
||||
posn += 8 + sectLen;
|
||||
}
|
||||
|
||||
// We were unable to find the requested section.
|
||||
return null;
|
||||
}
|
||||
|
||||
#if __PNET__
|
||||
// Back door access into the engine to get the address of
|
||||
// an offset within a manifest resource stream.
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
extern private static byte *GetAddress(Stream stream, long position);
|
||||
#endif
|
||||
|
||||
}; // class CodeTable
|
||||
|
||||
}; // namespace I18N.CJK
|
||||
@@ -1,97 +0,0 @@
|
||||
/*
|
||||
* JISConvert.cs - Implementation of the "System.Text.JISConvert" class.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace I18N.CJK
|
||||
{
|
||||
|
||||
using System;
|
||||
|
||||
// This class assists other encoding classes in converting back
|
||||
// and forth between JIS character sets and Unicode. It uses
|
||||
// several large tables to do this, some of which are stored in
|
||||
// the resource section of the assembly for efficient access.
|
||||
|
||||
internal unsafe sealed class JISConvert
|
||||
{
|
||||
// Table identifiers.
|
||||
private const int JISX0208_To_Unicode = 1;
|
||||
private const int JISX0212_To_Unicode = 2;
|
||||
private const int CJK_To_JIS = 3;
|
||||
private const int Greek_To_JIS = 4;
|
||||
private const int Extra_To_JIS = 5;
|
||||
|
||||
// Public access to the conversion tables.
|
||||
#if __PNET__
|
||||
public byte *jisx0208ToUnicode;
|
||||
public byte *jisx0212ToUnicode;
|
||||
public byte *cjkToJis;
|
||||
public byte *greekToJis;
|
||||
public byte *extraToJis;
|
||||
#else
|
||||
public byte[] jisx0208ToUnicode;
|
||||
public byte[] jisx0212ToUnicode;
|
||||
public byte[] cjkToJis;
|
||||
public byte[] greekToJis;
|
||||
public byte[] extraToJis;
|
||||
#endif
|
||||
|
||||
// Constructor.
|
||||
private JISConvert()
|
||||
{
|
||||
// Load the conversion tables.
|
||||
CodeTable table = new CodeTable("jis.table");
|
||||
jisx0208ToUnicode = table.GetSection(JISX0208_To_Unicode);
|
||||
jisx0212ToUnicode = table.GetSection(JISX0212_To_Unicode);
|
||||
cjkToJis = table.GetSection(CJK_To_JIS);
|
||||
greekToJis = table.GetSection(Greek_To_JIS);
|
||||
extraToJis = table.GetSection(Extra_To_JIS);
|
||||
table.Dispose();
|
||||
}
|
||||
|
||||
// The one and only JIS conversion object in the system.
|
||||
private static JISConvert convert;
|
||||
|
||||
// Get the primary JIS conversion object.
|
||||
public static JISConvert Convert
|
||||
{
|
||||
get
|
||||
{
|
||||
lock(typeof(JISConvert))
|
||||
{
|
||||
if(convert != null)
|
||||
{
|
||||
return convert;
|
||||
}
|
||||
else
|
||||
{
|
||||
convert = new JISConvert();
|
||||
return convert;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}; // class JISConvert
|
||||
|
||||
}; // namespace I18N.CJK
|
||||
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
CP932.cs
|
||||
CodeTable.cs
|
||||
JISConvert.cs
|
||||
@@ -1,13 +0,0 @@
|
||||
topdir = ../../..
|
||||
|
||||
LIBRARY = $(topdir)/class/lib/I18N.CJK.dll
|
||||
|
||||
LIB_LIST = list.unix
|
||||
LIB_FLAGS = --unsafe --resource jis.table -r corlib -r mscorlib -r I18N
|
||||
|
||||
SOURCES_INCLUDE=*.cs
|
||||
SOURCES_EXCLUDE=
|
||||
|
||||
export MONO_PATH_PREFIX = $(topdir)/class/lib:
|
||||
|
||||
include $(topdir)/class/library.make
|
||||
@@ -1,4 +0,0 @@
|
||||
list
|
||||
.makefrag
|
||||
.response
|
||||
library-deps.stamp
|
||||
Loaded 100 of 4492 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user