[Mono-dev] [PATCH] Improvements to browser file handling

Dean Brettle dean at brettle.com
Mon Dec 29 00:21:36 EST 2008

Hi all,

Marek Habersack emailed me about problems putting machine level browser
files in the App_Browsers folder to workaround limitations in Mono's default
machine level browser file (Compat.browser) .  It turns out that putting
replacement machine level browser files in App_Browsers is not supported
under .NET either, so allowing app developers to do that under Mono would
only encourage creation of non-portable apps.  Instead, the attached patch
allows app developers to place replacement machine-level browser files in
App_Data/Mono_Machine_Browsers/.  If any browser files are found in that
location, they are used as the machine-level browser files and the default
machine-level browser files are ignored.  I chose to use a location under
App_Data so that the browser files would be hidden under both Mono and .NET.

The patch also fixes a compatibility bug where Mono required an
<identification> section in each browser def, while .NET did not.

Comments?  OK to commit to mono-2-2 and trunk?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081228/64505b19/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono_machine_browsers.patch
Type: text/x-patch
Size: 5078 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081228/64505b19/attachment.bin 

More information about the Mono-devel-list mailing list