Read Digital Edition


ADS BY GOOGLE
Top Three Links You Must Click On


Mono 1.1.9 Is Released
Web and drawing capabilities see big improvements

It looks to me like that the 1.1.9 release of Mono is the biggest since Version 1.0. Many components went through major changes. 118 developers received credit for work done since version 1.1.8.

System.Windows.Forms
For display-related code such as System.Windows.Forms (SWF), System.Drawing, and GDI+, the big change is the switch from Cairo 0.3 to Cairo 1.0. In the September edition of Monkey Business (.NETDJ Vol: 3, iss 9), I noted that GTK+, the base library used by System.Drawing, had been updated to use Cairo as its drawing engine. Cairo is becoming the base technology for a lot of open source graphics and GUIs. The Cairo upgrade improves Mono's display speed and stability, with some benchmarks running 30 to 50 percent faster. Memory leaks have been fixed, as have many small bugs. These add up to noticeable improvements in applications running under Mono. Functionality in SWF continues to increase. In the April edition of Monkey Business (.NETDJ Vol: 3, iss 4), 40 of the 69 controls in SWF were complete, 18 were in development, and 11 had no one working on them. By the June issue (.NETDJ Vol: 3, iss 6), only one more had been completed (41), 24 were being worked on, and only four had not been started. Now, as of early October, 51 are complete and 14 are being worked on. The four that still have not been started are the help provider, and three print dialogs. Currently 98 percent of the SWF members (methods, properties, etc.) have been implemented. SWF also now sports a snazzy new theme called "nice" in addition to the "classic" Win32 theme. There are screen shots on the MWF blog (Managed.Windows.Forms, Mono's version of SWF) at http://svn.myrealbox.com/blog/index.php under the August 30 entry. One entry above that one shows the current status of the rich text box, and one entry below shows you how Mono's SWF use of resources are coming along. Another entry down you can see a screen shot of the Nexxtia instant messenger client from Nureality Networks. Earlier this year, Ed Dumbhill listed seven cool applications that ran on Mono (see Monkey Business December 2004, Vol: 2, iss: 12) - now that list would fill pages. One of my favorites is Second Life (http://secondlife.com), a virtual reality world powered by Mono, where "residents" can add to the world using scripts (current only LSL, a special scripting language, is supported, but support for any CLR-compliant scripting language is planned). SWF is really maturing.

ASP.NET and ADO.NET
Web-related code also received a lot of attention in this release. ASP.NET received a major rewrite, starting with 67,700 lines of test code, including NUnit tests for about half the controls, extensive stand-alone tests, and JSUnit tests. JSUnit is a new unit-testing framework based on JScript (note that with this release, Mono's JScript passes 4,586 out of 5,994, or 76 percent, of the Mozilla ECMAScript test suit). Much of this came from the Google Summer of Code. Performance is greatly increased by the use of unmanaged buffers for uploads and content creation; this eliminates a lot of garbage collection, and copying between buffers. Mono's ASP.NET now uses TCP Cork to combines TCP headers and content in a single buffer, the sendfile API to have the OS transfer static pages directly, and the AppDomain now owns the socket to eliminate round trips and application domain crossings. All of these can have a big impact on performance. HttpClientCertificate is now supported on the XSP server, and will soon be supported on Apache, and the implementation of System.Configuration is nearing completion.

Reflecting the renewed emphasis on testing, ADO.NET has a new NUnit and Mono.Data-based testing framework for the System.Data namespace. OdbcComandBuilder, OracleCommandBuilder, and SybaseCommandBuilder have been implemented, although SybaseCommandBuilder will not be useful until the SybaseDataReader supports SchemaInfo command behavior. SqlCommandBuilder has also been improved. Mono.Data.Sqlite now supports named parameters, multiple semicolon delimited commands, and has a number of bugs fixed. Npgsql (Postgress) now supports refcursor type arguments, and has better support for metadata. Firebird (the open source version of the Borland Interbase) has also seen improvements.

Miscellaneous
The Nemerle (a superset of C#) programming language (http://nemerle.org/Main_Page) continues to push improvements in generic support in the Mono runtime. Most of the new things in the first draft of C# 3.0 (VS2005 is based on C# 2.0) have been in Nemerle since its inception last year. Because Nemerle still has some neat features not in the C# 3.0, the Nemerle project is (jokingly) referring to itself as C# 4.0. Mono's C# now includes support for the Namespace Alias Qualifier, and parts have been rewritten to improve anonymous methods, iterators, and partial classes, based on feedback after these features started getting used by developers. Only external alias and friend assemblies are needed for full C# 2.0 support. There are no plans to work on C# 3.0 features until Mono 1.2 is released, but don't be surprised if someone starts early.

After adding some symlinks for handle-case sensitivity in filenames and fixing some makefile issues, Mono now passes all Iron Python 0.9 regression test.

Code Access Security (CAS) and the VB.NET compiler and run time have also been the target of much work.

About Dennis Hayes
Dennis Hayes is a programmer at Georgia Tech in Atlanta Georgia where he writes software for the Adult Cognition Lab in the Psychology Department. He has been involved with the Mono project for over six years, and has been writing the Monkey Business column for over five years.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Mono 1.1.9 Is Released. It looks to me like that the 1.1.9 release of Mono is the biggest since Version 1.0. Many components went through major changes. 118 developers received credit for work done since version 1.1.8.

Mono 1.1.9 Is Released. It looks to me like that the 1.1.9 release of Mono is the biggest since Version 1.0. Many components went through major changes. 118 developers received credit for work done since version 1.1.8.


  Subscribe to our RSS feeds now and receive the next article instantly!
In It? Reprint It! Contact advertising(at)sys-con.com to order your reprints!
Subscribe to the World's Most Powerful Newsletters

ADS BY GOOGLE
There's a lot of talk about how we need to focus on our buyers' issues and provide them educational ...
SugarCRM, the world’s leading provider of open source customer relationship management (CRM) softwa...
SYS-CON Events announced today that the "Diamond" and "Platinum" sponsorship opportunities for the u...
SYS-CON Events announced today that the "show prospectus" for the 5th International Cloud Computing ...
This past weekend I set out explore some of the extension capabilities of Google Wave. One of the we...
More good news for cloud computing! Google last week released its once mysterious Chrome Operating S...
In CloudBerry Lab we are striving to make our customer service better. In this competitive market wi...
We talk a lot about social media on Marketing Trenches. And for good reason – Social media seems to...
Intel has put out its promised beta SDK for Windows (C and C++) and Moblin (C) developers working on...
InformationWeek stumbled on a Microsoft patent application dating back to 2006 deceptively titled “M...
Berlin-based ThinPrint AG, the printer virtualization house, thinks it’s got a cloud solution for th...
Behaving like it’s got a future, Sun Monday put out what it calls a significant new version of Virtu...
IBM has acquired Guardium, a seven-year-old subsidiary of Israel’s Log-On Software transplanted to M...
But on the web, access to services is implicit in the fact that the business is offering the service...
Oracle has offered to cordon off MySQL inside a combined Oracle-Sun to get the European Commission t...
The second set of charges filed last week against Indian outsourcer Satyam Computer Services founder...
Gartner told Reuters that it overestimated how many PCs Acer shipped in the last seven quarters by a...
Gartner is buying ~$40 million-a-year AMR Research Inc for close to $64 million in cash. AMD special...
Singed by user reaction to its plans to up the price of its support contracts, SAP Tuesday postponed...
Apparently Google Gears ain’t gonna stick around that long. Google Apps will eventually get their of...