Konstantin Triger [Sun, 13 Nov 2005 10:48:32 +0000 (10:48 -0000)]
DrawMargin, refactoring
svn path=/trunk/mcs/; revision=52960
Konstantin Triger [Sun, 13 Nov 2005 10:31:18 +0000 (10:31 -0000)]
Differentiate standard and AntiAlias stroking
svn path=/trunk/mcs/; revision=52959
Zoltan Varga [Sun, 13 Nov 2005 02:16:35 +0000 (02:16 -0000)]
2005-11-13 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_handle_exception_internal): Remove the
fp >= end_of_stack exit condition, as it is not needed, and it might
become true for fp eliminated frames.
svn path=/trunk/mono/; revision=52957
Pedro Martínez Juliá [Sat, 12 Nov 2005 22:48:09 +0000 (22:48 -0000)]
2005-11-12 Pedro Martínez Juliá <pedromj@gmail.com>
* System.Windows.Forms_test.dll.sources: Added DataGridViewElementTest.cs
DataGridViewBandTest.cs DataGridViewCellTest.cs
DataGridViewAdvancedBorderStyleTest.cs DataGridViewCellStyleTest.cs
DataGridViewRowTest.cs DataGridViewTest.cs
svn path=/trunk/mcs/; revision=52955
Pedro Martínez Juliá [Sat, 12 Nov 2005 22:45:29 +0000 (22:45 -0000)]
2005-11-12 Pedro Martínez Juliá <pedromj@gmail.com>
* DataGridViewElementTest.cs DataGridViewBandTest.cs
DataGridViewCellTest.cs DataGridViewAdvancedBorderStyleTest.cs
DataGridViewCellStyleTest.cs DataGridViewRowTest.cs DataGridViewTest.cs:
Add some DataGridView tests.
svn path=/trunk/mcs/; revision=52954
Miguel de Icaza [Sat, 12 Nov 2005 21:24:33 +0000 (21:24 -0000)]
For the big quest to run Paint.Net:
2005-11-12 Miguel de Icaza <miguel@novell.com>
* RegistryKey.cs: Add support for a Registry on Unix based on
files under ~/.mono/registry.
Vastly refactored the code, reworked the interface between the
frontend and the backends.
If "RegistryKey" was not sealed, things could have been a lot
cleaner.
svn path=/trunk/mcs/; revision=52953
Gonzalo Paniagua Javier [Sat, 12 Nov 2005 19:00:09 +0000 (19:00 -0000)]
2005-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SqlConnection.cs: don't throw NotImplementedException when using
'PERSIST SECUTIRY INFO'. Just do nothing.
svn path=/trunk/mcs/; revision=52951
Sebastien Pouliot [Sat, 12 Nov 2005 17:29:07 +0000 (17:29 -0000)]
Add a new script to allow some tools, like sn and makecert, to generate files (e.g. private keys) available only to the user (by calling umask 077 before mono)
svn path=/trunk/mono/; revision=52948
Joshua Tauberer [Sat, 12 Nov 2005 15:58:33 +0000 (15:58 -0000)]
Mono.GetOptions/OptionDetails.cs: Don't split on commas for options that have
+ a MaxOccurs of 1 (it would try, show an error, and ignore text after comma).
svn path=/trunk/mcs/; revision=52947
Chris Toshok [Sat, 12 Nov 2005 15:12:14 +0000 (15:12 -0000)]
2005-11-12 Chris Toshok <toshok@ximian.com>
* AuthorizationRuleCollection.cs, AuthorizationRule.cs,
AuthorizationSection.cs, BufferModesCollection.cs,
BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
Compiler.cs, DeploymentSection.cs,
EventMappingSettingsCollection.cs, EventMappingSettings.cs,
GlobalizationSection.cs, HealthMonitoringSection.cs,
IdentitySection.cs, OutputCacheProfileCollection.cs,
OutputCacheProfile.cs, OutputCacheSection.cs,
OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
SqlCacheDependencyDatabaseCollection.cs,
SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
SystemWebCachingSectionGroup.cs, TraceSection.cs,
TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
WebPartsPersonalization.cs, WebPartsSection.cs,
XhtmlConformanceSection.cs: a whole slew of new classes. the
fruits of tons of c&p and ibuprofen.
svn path=/trunk/mcs/; revision=52946
Raja R Harinath [Sat, 12 Nov 2005 12:38:15 +0000 (12:38 -0000)]
Rename ClsCompliaceRequired to ClsComplianceRequired (already in gmcs)
svn path=/trunk/mcs/; revision=52945
Raja R Harinath [Sat, 12 Nov 2005 12:36:55 +0000 (12:36 -0000)]
Fix typos in expected error message.
svn path=/trunk/mcs/; revision=52944
Gert Driesen [Sat, 12 Nov 2005 09:38:44 +0000 (09:38 -0000)]
* codegen.cs: Fixed typo (speficied -> specified)
svn path=/trunk/mcs/; revision=52943
Peter Dennis Bartok [Sat, 12 Nov 2005 04:12:47 +0000 (04:12 -0000)]
2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIWin32.cs:
- Clipboard methods now can translate Rtf format
- No longer removes clipboard contents whenever a new format is added
to allow placing multiple formats on the clipboard
* Clipboard.cs: Clipboard now supports getting a IDataObject and
will place all formats contained in it onto the clipboard. Also
now cleans the clipboard before placing a new object onto it
* RichTextBox.cs:
- Implemented set_Rtf
- Implemented set_SelectedRtf
- Created InsertRTFFromStream() method to allow single code base
for all properties and methods that insert RTF into document
- Removed debug output
* TextControl.cs:
- Fixed Delete(int) to fix up line numbers
- Fixed ReplaceSelection to combine start and end line
- Fixed serious DeleteChars bug that would leave the document tree
broken
- Improved DumpTree with several logic checks to detect broken
document trees
- Removed debug lines
- Fixed Caret.WordForward/WordBack moving code, now always also
updates caret.tag (fixes crash when word-selecting across tag
boundaries via keyboard)
- Added Insert() method for inserting multiline text into documents
- Fixed DeleteChars() calculation errors that would cause a broken
tag chain with multiple tag lines
- DeleteChars() no longer crashes on multi-tag lines if not all tags
- Split() no longer moves caret if split is at caret location
- ReplaceSelection() now updates the cursor and re-displays it
- ReplaceSelection() now uses new Insert() method to avoid code
duplication
- FormatText() can now handle formatting partial lines
* TextBoxBase.cs:
- Append now uses new TextControl.Insert() method (this avoids
duplicate code)
- Implemented Ctrl-X (Cut) (
- Implemented Ctrl-C (Copy)
- Implemented Ctrl-V (Paste) (Still some bugs related to screen
regeneration when pasting text; roundtripping Copy&Paste within
edit control still fails due to some calculation bugs in GenerateRTF)
- The Delete key will now remove the current selection if it is visible
* TextBox.cs: Removed debug lines
* XplatUI.cs: Trigger initialization of DataFormats (which requires the
driver to be initialized and can't therefore be done via a static ctor)
svn path=/trunk/mcs/; revision=52940
Carlos Alberto Cortez [Fri, 11 Nov 2005 22:42:02 +0000 (22:42 -0000)]
2005-11-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* codegen.cs (AssemblyClass.CheckInternalsVisibleAttribute):
Use the more explicit AssemblyName.FullName instead of
AssemblyName.Name to report errors.
svn path=/trunk/mcs/; revision=52934
Sebastien Pouliot [Fri, 11 Nov 2005 22:13:20 +0000 (22:13 -0000)]
2005-11-11 Sebastien Pouliot <sebastien@ximian.com>
* StringBuilder.cs: Fix ISerializable.GetObjectData (remoting tests
were failing under 2.0) and two possible integer overflow in CopyTo.
svn path=/trunk/mcs/; revision=52933
Zoltan Varga [Fri, 11 Nov 2005 18:36:52 +0000 (18:36 -0000)]
2005-11-11 Zoltan Varga <vargaz@gmail.com>
* class-internals.h: Add prototype for mono_type_get_full_name ().
svn path=/trunk/mono/; revision=52927
Zoltan Varga [Fri, 11 Nov 2005 17:51:24 +0000 (17:51 -0000)]
2005-11-11 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_emit_epilog): Use G_STRUCT_OFFSET instead of hard
coded offsets.
svn path=/trunk/mono/; revision=52921
Zoltan Varga [Fri, 11 Nov 2005 17:50:08 +0000 (17:50 -0000)]
2005-11-11 Zoltan Varga <vargaz@gmail.com>
* Type.cs (GetPseudoCustomAttributes): Return ComImportAttribute as well.
svn path=/trunk/mcs/; revision=52919
Zoltan Varga [Fri, 11 Nov 2005 17:46:42 +0000 (17:46 -0000)]
2005-11-11 Zoltan Varga <vargaz@gmail.com>
* TypeBuilder.cs (SetCustomAttribute): Handle ComImportAttribute as well.
svn path=/trunk/mcs/; revision=52918
Dick Porter [Fri, 11 Nov 2005 17:05:42 +0000 (17:05 -0000)]
2005-11-11 Dick Porter <dick@ximian.com>
* threads.c (mono_thread_manage): Make sure the main thread has
abandoned all its mutexes when cleaning up. Fixes bug 74680.
2005-11-11 Dick Porter <dick@ximian.com>
* threads.c: Give mutex abandoning its own exported function, so
it can be called when the runtime is cleaning up.
* handles.c (_wapi_search_handle_namespace): Do a handle
collection befre starting to check namespace strings, so that any
stale cruft gets removed.
svn path=/trunk/mono/; revision=52917
Miguel de Icaza [Fri, 11 Nov 2005 16:43:36 +0000 (16:43 -0000)]
Just a snack:
2005-11-11 Miguel de Icaza <miguel@novell.com>
* Encoding.cs, UnicodeEncoding.cs: A few 2.x methods.
* StringBuilder.cs (Text): Added serialization support in 2.x.
svn path=/trunk/mcs/; revision=52916
Atsushi Eno [Fri, 11 Nov 2005 16:22:04 +0000 (16:22 -0000)]
2005-11-11 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : Now use MONO_DISABLE_MANAGED_COLLATION.
* SortKey.cs : some members are virtual.
svn path=/trunk/mcs/; revision=52915
Dick Porter [Fri, 11 Nov 2005 14:21:20 +0000 (14:21 -0000)]
2005-11-11 Dick Porter <dick@ximian.com>
* threads.c: Move thread handles back into the shared space.
* handles.c (_wapi_handle_unref): Add support for shared handles
with close() handlers
svn path=/trunk/mono/; revision=52911
Sebastien Pouliot [Fri, 11 Nov 2005 14:18:44 +0000 (14:18 -0000)]
2005-11-11 Sebastien Pouliot <sebastien@ximian.com>
* SecureString.cs: Completed InsertAt, fixed Alloc not to re-alloc a
block of the same size. Fixed missing encryption for the char* ctor.
Only missing is access to ProtectedMemory do to the [en|de]cryption.
svn path=/trunk/mcs/; revision=52910
Marek Safar [Fri, 11 Nov 2005 13:45:44 +0000 (13:45 -0000)]
new test.
svn path=/trunk/mcs/; revision=52908
Lluis Sanchez [Fri, 11 Nov 2005 13:45:35 +0000 (13:45 -0000)]
2005-11-11 Lluis Sanchez Gual <lluis@novell.com>
* TimeZone.cs: Removed incorrect double-check lock and unneeded
hashtable access.
svn path=/trunk/mcs/; revision=52907
Marek Safar [Fri, 11 Nov 2005 13:43:35 +0000 (13:43 -0000)]
2005-11-11 Marek Safar <marek.safar@seznam.cz>
Fix #76369.
* doc.cs (FindDocumentedTypeNonArray): Don't resolve again.
svn path=/trunk/mcs/; revision=52906
Marek Safar [Fri, 11 Nov 2005 12:55:55 +0000 (12:55 -0000)]
2005-11-11 Marek Safar <marek.safar@seznam.cz>
* Type.cs: IsNested implemented, signature fixes.
svn path=/trunk/mcs/; revision=52904
Marek Safar [Fri, 11 Nov 2005 12:14:49 +0000 (12:14 -0000)]
Update
svn path=/trunk/mcs/; revision=52903
Marek Safar [Fri, 11 Nov 2005 12:08:21 +0000 (12:08 -0000)]
2005-11-11 Marek Safar <marek.safar@seznam.cz>
* attribute.cs, class.cs, cs-tokenizer.cs, parameter.cs: Sync
with mcs.
svn path=/trunk/mcs/; revision=52902
Marek Safar [Fri, 11 Nov 2005 12:07:04 +0000 (12:07 -0000)]
2005-11-11 Marek Safar <marek.safar@seznam.cz>
* compiler-tester.cs: Implemented compiler warning map checking.
Enabled message ckeck for gmcs.
svn path=/trunk/mcs/; revision=52901
Marek Safar [Fri, 11 Nov 2005 11:17:47 +0000 (11:17 -0000)]
2005-11-11 Marek Safar <marek.safar@seznam.cz>
* attribute.cs: Changed error message.
* cs-tokenizer.cs: One more check.
svn path=/trunk/mcs/; revision=52900
Senganal T [Fri, 11 Nov 2005 09:55:24 +0000 (09:55 -0000)]
2005-11-11 Senganal T <tsenganal@novell.com>
* Test/System.Data/DataSetTest2.cs : Added a testcase for bug#76517
* System.Data.dll.sources: added
System.Data/SchemaSerializationMode.cs . Enumeration for NET_2_0 compatibility
* System.Data/DataSet.cs : Added the SchemaSerializationMode Property for NET_2_0
compatibility.
* System.Data/SchemaSerializationMode.cs : Added SchemaSerializationMode Enumeration
for NET_2_0 compatibility.
Fixes bug #76517
svn path=/trunk/mcs/; revision=52899
Raja R Harinath [Fri, 11 Nov 2005 08:38:45 +0000 (08:38 -0000)]
* System/Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
* Test/System/ArrayTest.cs (Resize_null): New. Test Resize<T> with a null argument.
svn path=/trunk/mcs/; revision=52898
Raja R Harinath [Fri, 11 Nov 2005 07:34:23 +0000 (07:34 -0000)]
remove trivial differences between mcs and gmcs
svn path=/trunk/mcs/; revision=52897
Raja R Harinath [Fri, 11 Nov 2005 07:32:57 +0000 (07:32 -0000)]
Remove some trivial differences between mcs and gmcs
svn path=/trunk/mcs/; revision=52896
Ankit Jain [Fri, 11 Nov 2005 06:25:23 +0000 (06:25 -0000)]
* RichTextBoxTest.cs: Fix typos.
svn path=/trunk/mcs/; revision=52895
Atsushi Eno [Fri, 11 Nov 2005 06:24:04 +0000 (06:24 -0000)]
was incorrect copy/paste.
svn path=/trunk/mono/; revision=52894
Zoltan Varga [Fri, 11 Nov 2005 00:10:42 +0000 (00:10 -0000)]
2005-11-11 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_loader_set_error_type_load): Log a warning to the
console about the missing type.
(mono_loader_set_error_method_load): Ditto.
svn path=/trunk/mono/; revision=52889
Zoltan Varga [Thu, 10 Nov 2005 21:37:15 +0000 (21:37 -0000)]
2005-11-10 Zoltan Varga <vargaz@gmail.com>
* SortedList.cs Queue.cs Stack.cs: Implement TrimExcess methods.
svn path=/trunk/mcs/; revision=52887
Zoltan Varga [Thu, 10 Nov 2005 21:34:42 +0000 (21:34 -0000)]
2005-11-10 Zoltan Varga <vargaz@gmail.com>
* Array.cs (Resize<T>): New internal method which takes a 'length' argument
as well to avoid copying the whole array.
svn path=/trunk/mcs/; revision=52886
John Luke [Thu, 10 Nov 2005 21:06:01 +0000 (21:06 -0000)]
2005-11-10 John Luke <john.luke@gmail.com>
* Mono.Cairo/Graphics.cs:
* Mono.Cairo/Surface.cs: remove debugging output
svn path=/trunk/mcs/; revision=52885
Atsushi Eno [Thu, 10 Nov 2005 18:30:39 +0000 (18:30 -0000)]
2005-11-10 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs, XmlNode.cs :
[DebuggerDisplay] are not worthy of existing.
* XPathNavigator.cs, XPathNodeIterator.cs :
[DebuggerDisplay] are not worthy of existing.
svn path=/trunk/mcs/; revision=52880
Atsushi Eno [Thu, 10 Nov 2005 18:19:49 +0000 (18:19 -0000)]
2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlTokenizedType.cs, XmlNodeOrder.cs : so those enums happen to
have [Serializable] in .NET 1.x, and removed in 2.0 (enums are
anyways serializable, so those attributes do not make sense).
svn path=/trunk/mcs/; revision=52877
Atsushi Eno [Thu, 10 Nov 2005 18:12:16 +0000 (18:12 -0000)]
2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlValidatingReader.cs : added CanReadBinaryContent.
* XmlTextReader.cs, XmlTextReader2.cs : GetNamespacesInScope() are
now both public and private (i.e. hush IsVirtual).
* XmlWriterSettings.cs, XmlWriter.cs, XmlTextWriter.cs :
NormalizeNewLines vanished.
* XmlWriterSettingsTests.cs : NormalizeNewLines does not exist anymore
svn path=/trunk/mcs/; revision=52876
Peter Dennis Bartok [Thu, 10 Nov 2005 18:03:47 +0000 (18:03 -0000)]
2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
* System.Windows.Forms_test.dll.sources: Added
* RichTextBoxTest.cs
svn path=/trunk/mcs/; revision=52874
Peter Dennis Bartok [Thu, 10 Nov 2005 18:03:03 +0000 (18:03 -0000)]
2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
* RichTextBoxTest.cs: Added Find() tests
svn path=/trunk/mcs/; revision=52873
Peter Dennis Bartok [Thu, 10 Nov 2005 18:01:02 +0000 (18:01 -0000)]
2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs: Added backend code for finding char arrays and strings
* TextBoxBase.cs:
- Added mouse wheel scroll support
- Added support for VScroll and HScroll events
* RichTextBox.cs:
- Implemented all seven Find() variants
- Implemented GetCharFromPosition()
- Implemented GetCharIndexFromPosition()
- Implemented GetLineFromIndex()
- Implemented GetPositionFromCharIndex();
- Implemented SaveFile for PlainText and UnicodeText
- Fixed set_Font, now setting a new font applies that font to
the whole document
- Implemented generic Document to RTF converter
- Implemented SaveFile for RichText format (still missing unicode
conversion for non-ansi chars)
- Implemented get_Rtf
- Implemented get_SelectedRtf
2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
to allow any captures to be released before triggering OnClick. This
way a click handler may capture the mouse without interference.
* XplatUIX11.cs: Always send mouse messages to grab window if one exists.
This way we send them even though X may not allow a grab (if the window
isn't visible, for example)
svn path=/trunk/mcs/; revision=52872
Atsushi Eno [Thu, 10 Nov 2005 17:58:13 +0000 (17:58 -0000)]
2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs : MoveToAttribute(int) is virtual in NET_2_0.
svn path=/trunk/mcs/; revision=52871
Atsushi Eno [Thu, 10 Nov 2005 17:44:03 +0000 (17:44 -0000)]
2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : implemented VerifyTOKEN().
* XmlConvertTests.cs : tests for ToUInt16/32/64() and VerifyTOKEN().
svn path=/trunk/mcs/; revision=52870
Vladimir Krasnov [Thu, 10 Nov 2005 17:43:56 +0000 (17:43 -0000)]
System.XML.vmwcsproj: removed XmlSchemaBuiltInType.cs
svn path=/trunk/mcs/; revision=52869
Miguel de Icaza [Thu, 10 Nov 2005 17:39:44 +0000 (17:39 -0000)]
Also change the Makefile
svn path=/trunk/mono/; revision=52865
Miguel de Icaza [Thu, 10 Nov 2005 17:37:06 +0000 (17:37 -0000)]
Revert the script magic to do relocations, it does not work when the commands are symlinked
svn path=/trunk/mono/; revision=52862
Atsushi Eno [Thu, 10 Nov 2005 17:18:42 +0000 (17:18 -0000)]
2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvertTests.cs : some tests for ToInt64(), ToSByte(),
svn path=/trunk/mcs/; revision=52861
Atsushi Eno [Thu, 10 Nov 2005 17:18:16 +0000 (17:18 -0000)]
2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
* Int64.cs : ditto for long.
* Int64Test.cs : ditto for long. Numbered tests.
svn path=/trunk/mcs/; revision=52860
Zoltan Varga [Thu, 10 Nov 2005 17:02:50 +0000 (17:02 -0000)]
2005-11-10 Zoltan Varga <vargaz@gmail.com>
* StackTest.cs QueueTest.cs: Remove tests for removed TrimToSize ()
method.
svn path=/trunk/mcs/; revision=52858
Atsushi Eno [Thu, 10 Nov 2005 16:55:55 +0000 (16:55 -0000)]
2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : VerifyNCName() and VerifyName() throws
ArgumentNullException for "".
* XmlConvertTests.cs : some tests for ToInt16(), ToInt32(),
VerifyName() and VerifyNCName().
svn path=/trunk/mcs/; revision=52857
Atsushi Eno [Thu, 10 Nov 2005 16:53:31 +0000 (16:53 -0000)]
2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
* Int32.cs : Parse("
2147483648", format_provider) should be rejected.
* Int32Test.cs : Added tests for parsing "
2147483648" (should be error)
svn path=/trunk/mcs/; revision=52856
Vladimir Krasnov [Thu, 10 Nov 2005 16:35:17 +0000 (16:35 -0000)]
* FontCollection.jvm.cs: refactoring, added GetInitialFont()
* InstalledFontCollection.jvm.cs: refactoring, removed GetFamilyName
* PrivateFontCollection.jvm.cs: refactoring
* Graphics.jvm.cs: added UnitConversion property
* FontFamily.jvm.cs: refactoring
* Font.jvm.cs: refactoring
svn path=/trunk/mcs/; revision=52855
Marek Safar [Thu, 10 Nov 2005 16:33:29 +0000 (16:33 -0000)]
2005-11-10 Marek Safar <marek.safar@seznam.cz>
* class.cs,
* convert.cs,
* cs-parser.jay,
* decl.cs,
* enum.cs,
* expression.cs,
* generic.cs,
* pending.cs,
* report.cs: Fixed error reporting and typos.
* generic.cs (TypeParameter.GetSignatureForError): New method.
(ConstructedType.GetSignatureForError): Instead of DeclarationName.
* typemanager.cs (GetFullName): Refactored.
svn path=/trunk/mcs/; revision=52854
Dick Porter [Thu, 10 Nov 2005 16:22:29 +0000 (16:22 -0000)]
2005-11-10 Dick Porter <dick@ximian.com>
* DirectoryInfo.cs: Fix endless recursion problem with root
directory on windows too. Fixes bug 76191.
svn path=/trunk/mcs/; revision=52853
Ankit Jain [Thu, 10 Nov 2005 15:50:30 +0000 (15:50 -0000)]
* dump.c (dump_table_method): Load generic param constraints.
* get.c (dis_stringify_method_signature): Likewise.
* main.c (dis_method_list): Likewise.
(dis_type): Likewise.
svn path=/trunk/mono/; revision=52847
Zoltan Varga [Thu, 10 Nov 2005 14:58:16 +0000 (14:58 -0000)]
2005-11-10 Zoltan Varga <vargaz@gmail.com>
* SortedList.cs: Fix build.
svn path=/trunk/mcs/; revision=52843
Zoltan Varga [Thu, 10 Nov 2005 13:05:09 +0000 (13:05 -0000)]
2005-11-10 Zoltan Varga <vargaz@gmail.com>
* Stack.cs SortedList.cs LinkedList.cs: Update to net 2.0 RTM.
svn path=/trunk/mcs/; revision=52842
Marek Safar [Thu, 10 Nov 2005 10:27:18 +0000 (10:27 -0000)]
New test
svn path=/trunk/mcs/; revision=52840
Marek Safar [Thu, 10 Nov 2005 10:26:21 +0000 (10:26 -0000)]
2005-11-10 Marek Safar <marek.safar@seznam.cz>
* statement.cs (Block.Resolve): Ignore empty statement.
svn path=/trunk/mcs/; revision=52839
Marek Safar [Thu, 10 Nov 2005 09:39:06 +0000 (09:39 -0000)]
oups, wrong merge
svn path=/trunk/mcs/; revision=52838
Marek Safar [Thu, 10 Nov 2005 08:57:34 +0000 (08:57 -0000)]
2005-11-10 Marek Safar <marek.safar@seznam.cz>
* report.cs: Made error/warning methods more strict to avoid
their misuse.
* anonymous.cs, attribute.cs, class.cs, codegen.cs, constant.cs,
convert.cs, cs-parser.jay, cs-tokenizer.cs, decl.cs, delegate.cs,
doc.cs, driver.cs, ecore.cs, expression.cs, location.cs,
namespace.cs, parameter.cs, statement.cs, typemanager.cs: Updated.
svn path=/trunk/mcs/; revision=52837
Ankit Jain [Thu, 10 Nov 2005 06:41:01 +0000 (06:41 -0000)]
* get.c (init_key_table): Add keyword - uint.
svn path=/trunk/mono/; revision=52836
Chris Toshok [Thu, 10 Nov 2005 06:29:13 +0000 (06:29 -0000)]
2005-11-10 Chris Toshok <toshok@ximian.com>
* AppSettingsSection.cs (DeserializeElement): stop explicitly
calling Settings.DeserializeElement, as the DefaultCollection
works now.
* ConfigurationElement.cs (DeserializeElement): rework the loop
here so that we actually loop over all the content elements.
svn path=/trunk/mcs/; revision=52835
Chris Toshok [Thu, 10 Nov 2005 06:27:27 +0000 (06:27 -0000)]
remove spew
svn path=/trunk/mcs/; revision=52834
Chris Toshok [Thu, 10 Nov 2005 06:04:17 +0000 (06:04 -0000)]
nuke spew
svn path=/trunk/mcs/; revision=52832
Alexandre Rocha Lima e Marcondes [Thu, 10 Nov 2005 05:30:59 +0000 (05:30 -0000)]
2005-11-09 Renato Suga <renato.suga@gmail.com>
* mb-parser.jay: added STOP to statement rule to allow a keyword STOP
in an iteration_statement.
svn path=/trunk/mcs/; revision=52831
Miguel de Icaza [Thu, 10 Nov 2005 02:45:44 +0000 (02:45 -0000)]
Fix typo identified by Ben
svn path=/trunk/mono/; revision=52819
Miguel de Icaza [Thu, 10 Nov 2005 02:29:31 +0000 (02:29 -0000)]
2005-11-09 Miguel de Icaza <miguel@novell.com>
* mono-config.c (mono_get_config_dir): Set the system defaults if
none is specified.
svn path=/trunk/mono/; revision=52817
Miguel de Icaza [Thu, 10 Nov 2005 02:24:50 +0000 (02:24 -0000)]
2005-11-09 Miguel de Icaza <miguel@novell.com>
* assembly.c (mono_set_dirs): New API entry point to set the
assembly and the config directory in one call
A more robust framework for relocation and a public API for embedders to use.
svn path=/trunk/mono/; revision=52816
Miguel de Icaza [Thu, 10 Nov 2005 01:54:32 +0000 (01:54 -0000)]
Make a copy of the old ZipLib
svn path=/trunk/mcs/; revision=52814
Miguel de Icaza [Thu, 10 Nov 2005 01:53:55 +0000 (01:53 -0000)]
Move the ZipLib to a new directory while we retag
svn path=/trunk/mcs/; revision=52813
Chris Toshok [Thu, 10 Nov 2005 01:46:53 +0000 (01:46 -0000)]
add a bunch of stuff to the build
svn path=/trunk/mcs/; revision=52811
Chris Toshok [Wed, 9 Nov 2005 23:34:39 +0000 (23:34 -0000)]
2005-11-09 Chris Toshok <toshok@ximian.com>
* PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
HttpModulesSection.cs, HttpModuleAction.cs,
HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
SystemWebSectionGroup.cs, SiteMapSection.cs,
WebConfigurationManager.cs: flesh out the implementation.
* TagMap*.cs, TagPrefix*.cs: new implementation.
* FormsAuthentication*.cs: new implementation.
* Profile*.cs: new implementation.
* Namespace*.cs: new implementation.
* HttpRuntimeSection.cs: new implementation.
svn path=/trunk/mcs/; revision=52807
Chris Toshok [Wed, 9 Nov 2005 23:22:51 +0000 (23:22 -0000)]
2005-11-09 Chris Toshok <toshok@ximian.com>
* ViewStateEncryptionMode.cs: new 2.0 enum.
svn path=/trunk/mcs/; revision=52806
Zoltan Varga [Wed, 9 Nov 2005 22:04:32 +0000 (22:04 -0000)]
2005-11-09 Zoltan Varga <vargaz@gmail.com>
* SortedListTest.cs: New file.
svn path=/trunk/mcs/; revision=52802
Zoltan Varga [Wed, 9 Nov 2005 22:03:25 +0000 (22:03 -0000)]
2005-11-09 Zoltan Varga <vargaz@gmail.com>
* System_test.dll.sources: Add Test/System.Collections.Generic/SortedListTest.cs.
svn path=/trunk/mcs/; revision=52801
Zoltan Varga [Wed, 9 Nov 2005 22:01:04 +0000 (22:01 -0000)]
2005-11-09 Zoltan Varga <vargaz@gmail.com>
* SortedList.cs: New file.
svn path=/trunk/mcs/; revision=52800
Zoltan Varga [Wed, 9 Nov 2005 22:00:29 +0000 (22:00 -0000)]
2005-11-09 Zoltan Varga <vargaz@gmail.com>
* System.dll.sources: Add System.Collections.Generic/SortedList.cs.
svn path=/trunk/mcs/; revision=52799
Chris Toshok [Wed, 9 Nov 2005 21:03:18 +0000 (21:03 -0000)]
2005-11-09 Chris Toshok <toshok@ximian.com>
* ConfigurationSettings.cs (AppSettings): remove the #if NET_2_0
block breaks this.
(ReadSectionGroup): allow the "type" atrribute so we don't break
when reading a 2.0 config file using the 1.0 stuff.
svn path=/trunk/mcs/; revision=52797
Gert Driesen [Wed, 9 Nov 2005 20:40:17 +0000 (20:40 -0000)]
* CodeExpressionCollectionTest.cs: Fixed test case for AddRange_Self
to really discover regressions.
* CodeStatementCollectionTest.cs: same.
* CodeTypeReferenceCollectionTest.cs: same.
svn path=/trunk/mcs/; revision=52796
Chris Toshok [Wed, 9 Nov 2005 19:13:03 +0000 (19:13 -0000)]
2005-11-09 Chris Toshok <toshok@ximian.com>
* ConfigurationElement.cs: Add support for DefaultCollection
attributes.
* PropertyInformation.cs (PropertyInformation.Value): add case for
IsDefaultCollection.
* SectionGroupInfo.cs (SectionGroupInfo.ReadConfig): when we read
a "type" attribute, make sure the cached System.Type is cleared.
svn path=/trunk/mcs/; revision=52793
Miguel de Icaza [Wed, 9 Nov 2005 19:09:19 +0000 (19:09 -0000)]
2005-11-09 Miguel de Icaza <miguel@novell.com>
* unix/util.c (set_dirs): Instead of hardcoding the value to
/usr/bin, use MONO_BINDIR which comes from Automake's bindir. If
the executable is in the place configured, use the Automake
settings. Otherwise use the standard-layout based computed
paths.
svn path=/trunk/mono/; revision=52792
Sebastien Pouliot [Wed, 9 Nov 2005 16:09:41 +0000 (16:09 -0000)]
2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorageScope.cs: Added missing [Serializable] in 2.0 profile
svn path=/trunk/mcs/; revision=52790
Sebastien Pouliot [Wed, 9 Nov 2005 15:33:15 +0000 (15:33 -0000)]
2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
* X509SelectionFlag.cs: Removed extra [Serializable].
svn path=/trunk/mcs/; revision=52789
Sebastien Pouliot [Wed, 9 Nov 2005 15:18:09 +0000 (15:18 -0000)]
Added new enums for 2.0
svn path=/trunk/mcs/; revision=52788
Sebastien Pouliot [Wed, 9 Nov 2005 15:17:30 +0000 (15:17 -0000)]
2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
* AttributeTargets.cs: Added [ComVisible (true)] and [Serializable]
in 2.0 profile.
* Base64FormattingOptions.cs: Added missing [Flags] attribute.
* ConsoleKey.cs: Removed old BackSpace and WhiteSpace (they were
already replaced by Backspace and Whitespace)
* DateTime.cs: Moved DayOfWeek enum to it's own file.
* DateTimeKind.cs: New (2.0) enum.
* DayOfWeek.cs: New file (extracted from DateTime.cs).
* DomainManagerInitializationFlags.cs: Removed extra [Serializable].
* EnvironmentVariableTarget.cs: Added [ComVisible (true)] and fixed
values (-1 to all of them).
* Exception.cs: Added a LinkDemand for SerializationFormatter on
GetObjectData method.
* LoaderOptimization.cs: Added [ComVisible (true)] and [Serializable]
on enum and added [Obsolete] to DomainMask and DisallowBindings in 2.0
profile.
* PlatformID.cs: Added [ComVisible (true)] and [Serializable] in 2.0
profile.
* StringComparison.cs: New (2.0) enum (needed for Uri).
* TermInfoDriver.cs: Fixed BackSpace -> Backspace (see ConsoleKey.cs).
* TypeCode.cs: Added [ComVisible (true)] and [Serializable] in 2.0
profile.
svn path=/trunk/mcs/; revision=52787
Sebastien Pouliot [Wed, 9 Nov 2005 15:06:29 +0000 (15:06 -0000)]
2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
* X509ContentType.cs: Removed extra [Serializable] (2.0).
svn path=/trunk/mcs/; revision=52786
Sebastien Pouliot [Wed, 9 Nov 2005 15:04:04 +0000 (15:04 -0000)]
2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
* KeyNumber.cs: Added missing [Serializable] present in 2.0.
svn path=/trunk/mcs/; revision=52785
Sebastien Pouliot [Wed, 9 Nov 2005 15:03:46 +0000 (15:03 -0000)]
2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
* EnvironmentPermissionAccess.cs: Added missing [Serializable] (2.0).
* FileIOPermissionAccess.cs: Added missing [Serializable] (2.0).
* PermissionState.cs: Added missing [Serializable] (2.0).
* ReflectionPermissionFlag.cs: Added missing [Serializable] (2.0).
* RegistryPermissionAccess.cs: Added missing [Serializable] (2.0).
* UIPermissionClipboard.cs: Added missing [Serializable] (2.0).
* UIPermissionWindow.cs: Added missing [Serializable] (2.0).
svn path=/trunk/mcs/; revision=52784
Zoltan Varga [Wed, 9 Nov 2005 12:03:17 +0000 (12:03 -0000)]
2005-11-09 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_ftnptr_to_delegate): Throw a NotSupportedException if
the ftnptr was created from a delegate in a domain other than the
current domain. Fixes #75377.
* exception.h exception.c: Add mono_get_exception_not_supported ().
svn path=/trunk/mono/; revision=52782
Alexandre Rocha Lima e Marcondes [Wed, 9 Nov 2005 11:24:05 +0000 (11:24 -0000)]
2005-11-07 Renato Suga <renato.suga@gmail.com>
* Expression.cs: commented this line:
// SimpleName.Error_ObjectRefRequired (ec, loc, me.Name);
svn path=/trunk/mcs/; revision=52781
Jonathan Pryor [Wed, 9 Nov 2005 02:38:46 +0000 (02:38 -0000)]
* Catalog.cs: Exception safety improvements (don't let memory leak!); check
for errors with bindtextdomain(3) et. al.
svn path=/trunk/mcs/; revision=52774