mono.git
18 years agoRefactoring
Konstantin Triger [Sun, 13 Nov 2005 13:04:38 +0000 (13:04 -0000)]
Refactoring

svn path=/trunk/mcs/; revision=52970

18 years ago2005-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 13 Nov 2005 12:17:31 +0000 (12:17 -0000)]
2005-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* test-xml-039.cs : "Compiler options" line was missing.
* test-xml-039.xml, test-xml-039-ref.xml :
  renamed incorrect filenames. Fixed asm name in the reference output.

svn path=/trunk/mcs/; revision=52968

18 years ago2005-11-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 13 Nov 2005 12:06:30 +0000 (12:06 -0000)]
2005-11-13  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : (FindDocumentedMember) use TypeManager.MemberLookup()
  instead of Type.FindMembers() since it does not handle events.
  Fixed bug #71604.

* test-xml-039.xml test-xml-039.cs : new test for bug #71604.

svn path=/trunk/mcs/; revision=52967

18 years agotext support
Konstantin Triger [Sun, 13 Nov 2005 11:35:22 +0000 (11:35 -0000)]
text support

svn path=/trunk/mcs/; revision=52966

18 years agotext support
Konstantin Triger [Sun, 13 Nov 2005 11:33:53 +0000 (11:33 -0000)]
text support

svn path=/trunk/mcs/; revision=52965

18 years ago initialize fontcollection
Konstantin Triger [Sun, 13 Nov 2005 11:19:05 +0000 (11:19 -0000)]
 initialize fontcollection

svn path=/trunk/mcs/; revision=52964

18 years agorestore quadTo as curveTo affects quality
Konstantin Triger [Sun, 13 Nov 2005 10:55:09 +0000 (10:55 -0000)]
restore quadTo as curveTo affects quality

svn path=/trunk/mcs/; revision=52963

18 years agofixing access modifiers
Konstantin Triger [Sun, 13 Nov 2005 10:52:20 +0000 (10:52 -0000)]
fixing access modifiers

svn path=/trunk/mcs/; revision=52962

18 years agoDifferentiate standard and AntiAlias stroking
Konstantin Triger [Sun, 13 Nov 2005 10:49:57 +0000 (10:49 -0000)]
Differentiate standard and AntiAlias stroking

svn path=/trunk/mcs/; revision=52961

18 years agoDrawMargin, refactoring
Konstantin Triger [Sun, 13 Nov 2005 10:48:32 +0000 (10:48 -0000)]
DrawMargin, refactoring

svn path=/trunk/mcs/; revision=52960

18 years agoDifferentiate standard and AntiAlias stroking
Konstantin Triger [Sun, 13 Nov 2005 10:31:18 +0000 (10:31 -0000)]
Differentiate standard and AntiAlias stroking

svn path=/trunk/mcs/; revision=52959

18 years ago2005-11-13 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-12 Pedro Martínez Juliá <pedromj@gmail.com>
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

18 years ago2005-11-12 Pedro Martínez Juliá <pedromj@gmail.com>
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

18 years agoFor the big quest to run Paint.Net:
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

18 years ago2005-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

18 years agoAdd a new script to allow some tools, like sn and makecert, to generate files (e...
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

18 years agoMono.GetOptions/OptionDetails.cs: Don't split on commas for options that have
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

18 years ago2005-11-12 Chris Toshok <toshok@ximian.com>
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

18 years agoRename ClsCompliaceRequired to ClsComplianceRequired (already in gmcs)
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

18 years agoFix typos in expected error message.
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

18 years ago* codegen.cs: Fixed typo (speficied -> specified)
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

18 years ago2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2005-11-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

18 years ago2005-11-11 Sebastien Pouliot <sebastien@ximian.com>
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

18 years ago2005-11-11 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-11 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-11 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-11 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-11 Dick Porter <dick@ximian.com>
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

18 years agoJust a snack:
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

18 years ago2005-11-11 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2005-11-11 Dick Porter <dick@ximian.com>
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

18 years ago2005-11-11 Sebastien Pouliot <sebastien@ximian.com>
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

18 years agonew test.
Marek Safar [Fri, 11 Nov 2005 13:45:44 +0000 (13:45 -0000)]
new test.

svn path=/trunk/mcs/; revision=52908

18 years ago2005-11-11 Lluis Sanchez Gual <lluis@novell.com>
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

18 years ago2005-11-11 Marek Safar <marek.safar@seznam.cz>
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

18 years ago2005-11-11 Marek Safar <marek.safar@seznam.cz>
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

18 years agoUpdate
Marek Safar [Fri, 11 Nov 2005 12:14:49 +0000 (12:14 -0000)]
Update

svn path=/trunk/mcs/; revision=52903

18 years ago2005-11-11 Marek Safar <marek.safar@seznam.cz>
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

18 years ago2005-11-11 Marek Safar <marek.safar@seznam.cz>
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

18 years ago2005-11-11 Marek Safar <marek.safar@seznam.cz>
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

18 years ago2005-11-11 Senganal T <tsenganal@novell.com>
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

18 years ago* System/Array.cs (Resize<T>) [2-argument variant]: Fix nullref.
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

18 years agoremove trivial differences between mcs and gmcs
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

18 years agoRemove some trivial differences between mcs and gmcs
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

18 years ago* RichTextBoxTest.cs: Fix typos.
Ankit Jain [Fri, 11 Nov 2005 06:25:23 +0000 (06:25 -0000)]
* RichTextBoxTest.cs: Fix typos.

svn path=/trunk/mcs/; revision=52895

18 years agowas incorrect copy/paste.
Atsushi Eno [Fri, 11 Nov 2005 06:24:04 +0000 (06:24 -0000)]
was incorrect copy/paste.

svn path=/trunk/mono/; revision=52894

18 years ago2005-11-11 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-10 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-10 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-10 John Luke <john.luke@gmail.com>
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

18 years ago2005-11-10 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
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

18 years ago2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
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

18 years agoSystem.XML.vmwcsproj: removed XmlSchemaBuiltInType.cs
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

18 years agoAlso change the Makefile
Miguel de Icaza [Thu, 10 Nov 2005 17:39:44 +0000 (17:39 -0000)]
Also change the Makefile

svn path=/trunk/mono/; revision=52865

18 years agoRevert the script magic to do relocations, it does not work when the commands are...
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

18 years ago2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2005-11-10 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2005-11-09 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago* FontCollection.jvm.cs: refactoring, added GetInitialFont()
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

18 years ago2005-11-10 Marek Safar <marek.safar@seznam.cz>
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

18 years ago2005-11-10 Dick Porter <dick@ximian.com>
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

18 years ago* dump.c (dump_table_method): Load generic param constraints.
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

18 years ago2005-11-10 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-10 Zoltan Varga <vargaz@gmail.com>
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

18 years agoNew test
Marek Safar [Thu, 10 Nov 2005 10:27:18 +0000 (10:27 -0000)]
New test

svn path=/trunk/mcs/; revision=52840

18 years ago2005-11-10 Marek Safar <marek.safar@seznam.cz>
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

18 years agooups, wrong merge
Marek Safar [Thu, 10 Nov 2005 09:39:06 +0000 (09:39 -0000)]
oups, wrong merge

svn path=/trunk/mcs/; revision=52838

18 years ago2005-11-10 Marek Safar <marek.safar@seznam.cz>
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

18 years ago* get.c (init_key_table): Add keyword - uint.
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

18 years ago2005-11-10 Chris Toshok <toshok@ximian.com>
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

18 years agoremove spew
Chris Toshok [Thu, 10 Nov 2005 06:27:27 +0000 (06:27 -0000)]
remove spew

svn path=/trunk/mcs/; revision=52834

18 years agonuke spew
Chris Toshok [Thu, 10 Nov 2005 06:04:17 +0000 (06:04 -0000)]
nuke spew

svn path=/trunk/mcs/; revision=52832

18 years ago2005-11-09 Renato Suga <renato.suga@gmail.com>
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

18 years agoFix typo identified by Ben
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

18 years ago2005-11-09 Miguel de Icaza <miguel@novell.com>
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

18 years ago2005-11-09 Miguel de Icaza <miguel@novell.com>
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

18 years agoMake a copy of the old ZipLib
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

18 years agoMove the ZipLib to a new directory while we retag
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

18 years agoadd a bunch of stuff to the build
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

18 years ago2005-11-09 Chris Toshok <toshok@ximian.com>
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

18 years ago2005-11-09 Chris Toshok <toshok@ximian.com>
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

18 years ago2005-11-09 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-09 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-09 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-09 Zoltan Varga <vargaz@gmail.com>
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

18 years ago2005-11-09 Chris Toshok <toshok@ximian.com>
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

18 years ago* CodeExpressionCollectionTest.cs: Fixed test case for AddRange_Self
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

18 years ago2005-11-09 Chris Toshok <toshok@ximian.com>
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

18 years ago2005-11-09 Miguel de Icaza <miguel@novell.com>
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

18 years ago2005-11-09 Sebastien Pouliot <sebastien@ximian.com>
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