mono.git
19 years agoFix compilation breakage
Manjula GHM [Thu, 30 Jun 2005 08:49:21 +0000 (08:49 -0000)]
Fix compilation breakage

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

19 years agoSupport hexadecimal literals - supports binary value of the integer literal
Manjula GHM [Thu, 30 Jun 2005 08:35:43 +0000 (08:35 -0000)]
Support hexadecimal literals - supports binary value of the integer literal
- like &H8000S is "-32768" and not an overflow exception

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

19 years ago2005-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Jun 2005 07:53:32 +0000 (07:53 -0000)]
2005-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : compute COMBINING blah marks as
  well as those characters WITH blah.
* TestDriver.cs : added combining sortkey cases.

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

19 years ago2005-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 30 Jun 2005 06:32:25 +0000 (06:32 -0000)]
2005-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* mono-tailoring-source.txt : fixed description on '*' in sortkeys.
* SimpleCollator.cs : Now it fully uses tailoring info. Fixed
  contraction search that worked only when string is contraction.
  Removed commented code. Minor refactoring.
* TestDriver.cs : added example that uses "ZS" in Hungarian sorting.

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

19 years agorename
Ben Maurer [Thu, 30 Jun 2005 01:48:38 +0000 (01:48 -0000)]
rename

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

19 years agorename a la miguel
Ben Maurer [Thu, 30 Jun 2005 01:47:30 +0000 (01:47 -0000)]
rename a la miguel

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

19 years ago2005-06-29 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 30 Jun 2005 00:50:57 +0000 (00:50 -0000)]
2005-06-29  Ben Maurer  <bmaurer@ximian.com>

* LibSupport.cs: Rename

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

19 years ago2005-06-29 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 30 Jun 2005 00:49:09 +0000 (00:49 -0000)]
2005-06-29  Ben Maurer  <bmaurer@ximian.com>

* Makefile.am: namespace our library.

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

19 years ago2005-06-29 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 30 Jun 2005 00:23:55 +0000 (00:23 -0000)]
2005-06-29  Peter Bartok  <pbartok@novell.com>

* TextBoxBase.cs: Re-align caret after deleting a character
* TextControl.cs:
  - DeleteChars(): Ensure that tag covers the provided position
  - StreamLine(): Drop reference for dropped tag

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

19 years ago2005-06-29 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 29 Jun 2005 23:59:29 +0000 (23:59 -0000)]
2005-06-29  Peter Bartok  <pbartok@novell.com>

* TextControl.cs:
  - Selections now work properly, anchoring at the initial location
    and properly extending in either direction (SetSelectionToCaret(),
    SetSelectionStart() and SetSelectionEnd())
  - No longer redraws the whole control on selection change, now
    calculates delta between previous and new selection and only
    invalidates/redraws that area
  - Fixed FindPos() math off-by-one errors
  - Changed DeleteChars() to verify the provided tag covers the
    provided position, selections may have a tag that doesn't cover
    the position if the selection is at a tag border
  - Fixed off-by-one errors in DeleteChars()
  - Added missing streamlining check in DeleteChars() to remove
    zero-length tags
  - Implemented Invalidate() method, now properly calculates exposures
    between two given lines/positions
  - Implemented SetSelection()
  - Obsoleted and removed FixupSelection()
  - Improved RecalculateDocument() logic, removing code duplication

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

19 years ago2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 29 Jun 2005 23:24:29 +0000 (23:24 -0000)]
2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* LibSupport.cs: changes to match different input/output arguments.

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

19 years agoPatch from Greg Lonnon <greg.lonnon@hp.com>
Miguel de Icaza [Wed, 29 Jun 2005 23:15:29 +0000 (23:15 -0000)]
Patch from Greg Lonnon <greg.lonnon@hp.com>

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

19 years ago2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 29 Jun 2005 23:13:17 +0000 (23:13 -0000)]
2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* LibSupport.cs: added libsupport.so init routine.

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

19 years ago2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 29 Jun 2005 22:38:30 +0000 (22:38 -0000)]
2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* supportw.c:
* supportw.h:
* Makefile.am: new library intended to provide often P/Invoked windows
API functions not present in io-layer.

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

19 years agoOSX fixes
Miguel de Icaza [Wed, 29 Jun 2005 20:49:34 +0000 (20:49 -0000)]
OSX fixes

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

19 years ago2005-06-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 29 Jun 2005 20:00:45 +0000 (20:00 -0000)]
2005-06-29  Sebastien Pouliot  <sebastien@ximian.com>

* X509CRL.cs: Fix the case where no entry are present in the CRL (as
the structure is optional).

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

19 years ago * UnixEnvironment: Add User, Login properties.
Jonathan Pryor [Wed, 29 Jun 2005 19:51:51 +0000 (19:51 -0000)]
  * UnixEnvironment: Add User, Login properties.
  * Syscall.cs: Add locking around cuserid, crypt, encrypt, getlogin.

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

19 years ago2005-06-29 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Wed, 29 Jun 2005 19:38:39 +0000 (19:38 -0000)]
2005-06-29  Ben Maurer  <bmaurer@ximian.com>

* Makefile (TEST_MCS_FLAGS): Remove bad dep on S.Data.

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

19 years ago2005-06-29 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Wed, 29 Jun 2005 19:36:50 +0000 (19:36 -0000)]
2005-06-29  Ben Maurer  <bmaurer@ximian.com>

* DataTableTest.cs: Add Gonz's test from corlib that should be here.

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

19 years ago2005-06-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 29 Jun 2005 17:44:33 +0000 (17:44 -0000)]
2005-06-29  Miguel de Icaza  <miguel@ximian.com>

* mkbundle.cs: Add support for OSX in the generated assembly
code.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 17:35:43 +0000 (17:35 -0000)]
2005-06-29  Atsushi Enomoto <atsushi@ximian.com>

* XmlConvert.cs : ToTimeSpan() should accept milliseconds (according
  to ISO 8601 and XSD datatypes 3.2.6.1).

* XmlConvertTests.cs : added timespan milliseconds testcase.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 16:41:02 +0000 (16:41 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

Updated referenced msdn page to msdn2.microsoft.com.

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

19 years ago2005-06-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 29 Jun 2005 15:19:12 +0000 (15:19 -0000)]
2005-06-29  Marek Safar  <marek.safar@seznam.cz>

The big error and warning messages review.

* anonymous.cs,
* assign.cs,
* attribute.cs,
* class.cs,
* codegen.cs,
* convert.cs,
* cs-parser.jay,
* cs-tokenizer.cs,
* decl.cs,
* delegate.cs,
* doc.cs,
* driver.cs,
* ecore.cs,
* enum.cs,
* expression.cs,
* flowanalysis.cs,
* iterators.cs,
* literal.cs,
* location.cs,
* modifiers.cs,
* namespace.cs,
* parameter.cs,
* pending.cs,
* report.cs,
* rootcontext.cs,
* statement.cs,
* support.cs,
* tree.cs,
* typemanager.cs: Updated.

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

19 years agoerror messages review
Marek Safar [Wed, 29 Jun 2005 14:55:08 +0000 (14:55 -0000)]
error messages review

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

19 years ago2005-06-29 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Wed, 29 Jun 2005 13:31:18 +0000 (13:31 -0000)]
2005-06-29  Sureshkumar T  <tsureshkumar@novell.com>

* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsInternalException.cs: Add ctor for InnerException.
* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsComm.cs: Throw TdsInternalException rather than
  SocketException.
* System.Data/System.Data.SqlClient/SqlConnection.cs: Open (): catch TdsInternalException and throw
  SqlException.
* System.Data/System.Data.SqlClient/SqlException.cs: code re-organised to pass message as well with
  the exception.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 12:52:39 +0000 (12:52 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs,
* mono-tailoring-source.txt : removed extraneous level 4 sortkey
  which cannot be supported.
* SimpleCollator.cs : added GetContraction() and used in some places.
  Now CompareOptions is set only once. Reordered some code (e.g.
  ignorable check -> get compat char -> compare).

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

19 years ago * map.c: Handle Syslog-related changes (SyslogFacility isn't a
Jonathan Pryor [Wed, 29 Jun 2005 12:16:24 +0000 (12:16 -0000)]
* map.c: Handle Syslog-related changes (SyslogFacility isn't a
  [Flags] enum); make-map.exe changes.

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

19 years ago * Syscall.cs: SyslogFacility shouldn't be [Flags] either. Sigh.
Jonathan Pryor [Wed, 29 Jun 2005 12:13:45 +0000 (12:13 -0000)]
* Syscall.cs: SyslogFacility shouldn't be [Flags] either.  Sigh.
  Thanks to Vorobiev Maksim for pointing this out.
* make-map.cs: Don't generate conversion code for [Obsolete] enum members.
  This assumes that (1) the enum member's value is invalid, or (2) a
  corrected member with the same value exists.  This fix allows us to
  obsolete invalid members (instead of removing them) without screwing up
  the generated code -- consider LOG_USRE, the mis-spelling of LOG_USER.
  Since SyslogFacility was (incorrectly) a [Flags] enum, since both LOG_USER
  and LOG_USRE had the same value, we'd get a EINVAL error trying to convert
  a valid value, since LOG_USRE would exist, would be checked for, and the
  check would succeed (since it had the same value as LOG_USER).
  This change allows us to be slightly more permissive with versioning.

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

19 years agoFixed to pass after MS fix
Marek Safar [Wed, 29 Jun 2005 11:45:43 +0000 (11:45 -0000)]
Fixed to pass after MS fix

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

19 years agocorrection in test case
Manjula GHM [Wed, 29 Jun 2005 11:40:19 +0000 (11:40 -0000)]
correction in test case

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

19 years ago2005-06-29 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Wed, 29 Jun 2005 11:31:11 +0000 (11:31 -0000)]
2005-06-29  Sureshkumar T  <tsureshkumar@novell.com>

* ArithmeticExpressions.cs: Eval :if any one of the argument is
null for an operator, the result is also NULL.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 11:14:05 +0000 (11:14 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetReadXmlSchemaTest.cs : set [Category("InetAccess")]

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 10:59:11 +0000 (10:59 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : sort tailoring tables before actual usage.
  Support diacritical remappings (it is customized collation rule
  which does not exist in UCA).

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

19 years ago2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 29 Jun 2005 10:36:46 +0000 (10:36 -0000)]
2005-06-29  Jordi Mas i Hernandez <jordi@ximian.com>

* ControlBindingsCollection.cs
- Throws an exception on null datasource when adding
- Checks for duplicated bindings when adding

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 10:29:56 +0000 (10:29 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : build culture specific tailoring table from
  TailoringInfo and unified data array.
* create-mscompat-collation-table.cs : Added null termination to
  sortkey map tailorings (mostly to save my eyes).
* MSCompatUnicodeTable.template : added public TailoringValues.

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

19 years agoStandardize file-endings. Set svn:eol-style=native on LF-terminated files.
Raja R Harinath [Wed, 29 Jun 2005 09:50:30 +0000 (09:50 -0000)]
Standardize file-endings.  Set svn:eol-style=native on LF-terminated files.

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

19 years agoCorrection in test case
Manjula GHM [Wed, 29 Jun 2005 09:05:44 +0000 (09:05 -0000)]
Correction in test case

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

19 years agoFix csc error CS0234
Rafael Mizrahi [Wed, 29 Jun 2005 08:34:39 +0000 (08:34 -0000)]
Fix csc error CS0234

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

19 years ago2005-06-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 07:06:39 +0000 (07:06 -0000)]
2005-06-29  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c: Revert the last change as it seems to break the build.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 07:02:42 +0000 (07:02 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* SortKeyBuffer.cs : handle special weight (category 06) characters.
* Collation-notes.txt : Updated description on special weight (it was
  incorrect).
* TestDriver.cs : added special weight cases.

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

19 years agoTestcase from #75417
Raja R Harinath [Wed, 29 Jun 2005 06:39:48 +0000 (06:39 -0000)]
Testcase from #75417

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

19 years ago2005-06-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 06:02:57 +0000 (06:02 -0000)]
2005-06-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (peephole_pass): Fix the loadi1/loadi2 rules.

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

19 years ago2005-06-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 29 Jun 2005 05:53:19 +0000 (05:53 -0000)]
2005-06-29  Atsushi Enomoto  <atsushi@ximian.com>

* MSCompatUnicodeTable.template : added GetTailoringInfo().
* SimpleCollator.cs : Now tailoring information is acquired and used.
  (FrenchSort is supported but Compare() won't work expectedly since
   the table is still incomplete for those diacritical marks).
* SortKeyBuffer.cs : On reversing diacritical weights, it should
  ignore zeros. Reset() should reset frenchSorted flag.

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

19 years ago2005-06-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 04:32:18 +0000 (04:32 -0000)]
2005-06-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_cpu_init): Fix setting of fp precision in the VC build.

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

19 years ago * TreeView.cs (OnKeyDown): Support left and right properly
Jackson Harper [Wed, 29 Jun 2005 04:18:39 +0000 (04:18 -0000)]
    * TreeView.cs (OnKeyDown): Support left and right properly
        (navigates as well as expanding and collapsing.
        - Add support for Multiply, this expands all the selected nodes
        children.
        - Fix some tabbing.

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

19 years ago2005-06-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 03:41:11 +0000 (03:41 -0000)]
2005-06-28  Zoltan Varga  <vargaz@freemail.hu>

* mono-compiler.h (trunc): Define this to be floor under win32.

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

19 years ago2005-06-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 03:08:12 +0000 (03:08 -0000)]
2005-06-28  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am appdomain3.cs: Remove appdomain3 test, since it is a duplicate of appdomain-unload.

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

19 years ago2005-06-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Jun 2005 03:05:26 +0000 (03:05 -0000)]
2005-06-28  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.c (unload_thread_main): Mark this as WINAPI.

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

19 years agoFix
Miguel de Icaza [Wed, 29 Jun 2005 02:34:15 +0000 (02:34 -0000)]
Fix

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

19 years ago Add support for ADD and SUBTRACT (thanks peter).
Jackson Harper [Tue, 28 Jun 2005 23:19:50 +0000 (23:19 -0000)]
    Add support for ADD and SUBTRACT (thanks peter).

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

19 years agoOops, fix test case
Miguel de Icaza [Tue, 28 Jun 2005 22:59:55 +0000 (22:59 -0000)]
Oops, fix test case

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

19 years ago2005-06-28 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 28 Jun 2005 22:57:41 +0000 (22:57 -0000)]
2005-06-28  Miguel de Icaza  <miguel@novell.com>

* pending.cs: Do not define a proxy if the base method is virtual,
it will be picked up by the runtime (bug 75270).

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

19 years ago Add support for
Jackson Harper [Tue, 28 Jun 2005 22:56:18 +0000 (22:56 -0000)]
    Add support for
        toggling checkboxes with the space bar.

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

19 years ago2005-06-28 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 28 Jun 2005 22:54:26 +0000 (22:54 -0000)]
2005-06-28  Miguel de Icaza  <miguel@novell.com>

* pending.cs: Do not define a proxy if the base method is virtual,
it will be picked up by the runtime (bug 75270).

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

19 years agoAdd
Miguel de Icaza [Tue, 28 Jun 2005 22:53:58 +0000 (22:53 -0000)]
Add

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

19 years ago * TreeView.cs: Implement keyboard navigation, currently supports,
Jackson Harper [Tue, 28 Jun 2005 22:40:40 +0000 (22:40 -0000)]
    * TreeView.cs: Implement keyboard navigation, currently supports,
        LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END.

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

19 years ago * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
Jackson Harper [Tue, 28 Jun 2005 21:16:55 +0000 (21:16 -0000)]
    * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
        tree.

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

19 years ago2005-06-28 Elliott Draper <el@eldiablo.co.uk>
Ben Maurer [Tue, 28 Jun 2005 20:44:00 +0000 (20:44 -0000)]
2005-06-28  Elliott Draper  <el@eldiablo.co.uk>

* Activator.cs: This implements the generic Activator.CreateInstance<T>()
function for NET_2_0. It's full signature is:
public static T CreateInstance<T>();

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

19 years ago2005-06-28 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 28 Jun 2005 20:39:06 +0000 (20:39 -0000)]
2005-06-28  Ben Maurer  <bmaurer@ximian.com>

* MutexTest.cs: Re-enable the mutex tests. They seem to work for
me now when I ran them in a loop on the smp box.

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

19 years agoThis is an internal class
Miguel de Icaza [Tue, 28 Jun 2005 20:31:10 +0000 (20:31 -0000)]
This is an internal class

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

19 years ago* CodeGeneratorFromTypeTest.cs: Added additional property tests.
Gert Driesen [Tue, 28 Jun 2005 20:27:55 +0000 (20:27 -0000)]
* CodeGeneratorFromTypeTest.cs: Added additional property tests.
* CodeGenerator.cs: On 2.0 profile, internal members are also marked
virtual. Fixed access modifier for FamilyAndAssembly to match MS.NET.

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

19 years ago2005-06-27 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 28 Jun 2005 20:26:29 +0000 (20:26 -0000)]
2005-06-27  Ben Maurer  <bmaurer@ximian.com>

* mini.c (NEW_AOTCONST): make sure to call mono_get_got_var
outside of the macro, so strange stuff doesn't happen with gcc4
(NEW_AOTCONST_TOKEN): Likewise.

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

19 years ago2005-06-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Jun 2005 20:03:49 +0000 (20:03 -0000)]
2005-06-28  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : Further fixes on Jamo,
  diacritical weights by character name, and *Numbers primary weights.

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

19 years ago Add missing event.
Jackson Harper [Tue, 28 Jun 2005 19:48:32 +0000 (19:48 -0000)]
    Add missing event.

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

19 years ago * TabControl.cs: Add missing event.
Jackson Harper [Tue, 28 Jun 2005 19:45:54 +0000 (19:45 -0000)]
    * TabControl.cs: Add missing event.

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

19 years ago2005-06-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Jun 2005 19:07:52 +0000 (19:07 -0000)]
2005-06-28  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : More fix on Devanagari,
  Gujarati, Oliya, Tamil and Lao sortkeys.

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

19 years ago* CodeGeneratorFromExpressionTest.cs: No longer inherit from
Gert Driesen [Tue, 28 Jun 2005 18:17:53 +0000 (18:17 -0000)]
* CodeGeneratorFromExpressionTest.cs: No longer inherit from
CodeGeneratorTestBase. Added tests for CodeTypeReference.
* CodeTypeReferenceTest.cs: Tests for zero-length and null type names,
and null type.
* CodeGeneratorFromExpressionTest.cs: Renumbered tests for
TypeReferenceExpressionTest. Added tests for zero-length or null
type name, and object type.
* CSharpCodeGenerator.cs: Fixed GetTypeOutput to match MS.NET 1.x and 2.0.
* CodeTypeReference.cs: Also consider null type name as void, throw
ArgumentNullException for null type on 2.0 profile.
* System_test.dll.sources: Added CodeTypeReferenceTest.cs from
System.CodeDom.

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

19 years agoline ending sanity
Ben Maurer [Tue, 28 Jun 2005 18:05:08 +0000 (18:05 -0000)]
line ending sanity

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

19 years agobe less verbose
Ben Maurer [Tue, 28 Jun 2005 17:26:26 +0000 (17:26 -0000)]
be less verbose

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

19 years agoconsistant line endings
Ben Maurer [Tue, 28 Jun 2005 16:53:40 +0000 (16:53 -0000)]
consistant line endings

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

19 years ago2005-06-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Jun 2005 16:30:44 +0000 (16:30 -0000)]
2005-06-08  Martin Baulig  <martin@ximian.com>

The big Iterators rewrite :-)

* iterators.cs: Rewrite this to use the anonymous methods framework.

* rootcontext.cs (RootContext.DefineTypes): Define Delegates
before the TypeContainers; see 2test-21.cs.

* class.cs
(TypeContainer.DefineType): Don't create a new EmitContext if we
already have one (this only happens if we're an Iterator).
(TypeContainer.Define): Also call Define() on all our iterators.
(Method.CreateEmitContext): Added support for iterators.

* anonymous.cs
(AnonymousContainer): New abstract base class for `AnonymousMethod'.
(AnonymousContainer.CreateMethodHost): Moved here from
AnonymousMethod and made abstract.
(AnonymousContainer.CreateScopeType): New abstract method.
(AnonymousContainer.IsIterator): New public property.
(ScopeInfo.EmitScopeType): Call CreateScopeType() on our Host to
get the ScopeTypeBuilder rather than manually defining it here.
(ScopeInfo.EmitScopeInstance): New public method; correctly handle
iterators here.

* driver.cs (Driver.MainDriver): Call TypeManager.InitCodeHelpers()
before RootContext.DefineTypes().

* codegen.cs (EmitContext.RemapToProxy): Removed.
(EmitContext.CurrentAnonymousMethod): Changed type from
AnonymousMethod -> AnonymousContainer.
(EmitContext.ResolveTopBlock): Protect from being called twice.
(EmitContext.MapVariable, RemapParameter(LValue)): Removed.
(EmitContext.EmitThis): Removed the iterators hacks; use the
anonymous methods framework for that.

* statement.cs
(ToplevelBlock.Container): Make this a property, not a field.
(ToplevelBlock.ReParent): New public method; move the
ToplevelBlock into a new container.
(Foreach.TemporaryVariable): Simplify.

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

19 years ago2005-06-28 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 28 Jun 2005 16:20:50 +0000 (16:20 -0000)]
2005-06-28  Lluis Sanchez Gual  <lluis@novell.com>

* XmlSerializer.cs: Fix race between XmlSerializer and the
serializer generator.

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

19 years ago2005-06-28 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 28 Jun 2005 15:28:42 +0000 (15:28 -0000)]
2005-06-28  Lluis Sanchez Gual  <lluis@novell.com>

* Decimal.cs: Renamed internal fields for the sake of serialization
interoperability with MS.NET.
* Exception.cs: In the StackTrace property, return the stack trace
if it has a value, even if the exception has not been thrown
(it may have been deserialized).

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

19 years ago**** Merged r45430 from GMCS ****
Martin Baulig [Tue, 28 Jun 2005 15:11:17 +0000 (15:11 -0000)]
**** Merged r45430 from GMCS ****

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

19 years agoNew test.
Martin Baulig [Tue, 28 Jun 2005 15:10:46 +0000 (15:10 -0000)]
New test.

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

19 years ago2005-06-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Jun 2005 15:10:05 +0000 (15:10 -0000)]
2005-06-28  Martin Baulig  <martin@ximian.com>

* cs-parser.jay (interface_method_declaration): Avoid a
reduce/reduce conflict by moving some of the code into a separate
`interface_method_declaration_body' rule; fixes #75368.

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

19 years ago**** Merged r45429 from GMCS ****
Martin Baulig [Tue, 28 Jun 2005 14:41:54 +0000 (14:41 -0000)]
**** Merged r45429 from GMCS ****

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

19 years agoUpdated.
Martin Baulig [Tue, 28 Jun 2005 14:22:09 +0000 (14:22 -0000)]
Updated.

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

19 years ago2005-06-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Jun 2005 14:21:28 +0000 (14:21 -0000)]
2005-06-04  Martin Baulig  <martin@ximian.com>

**** Merged r45395 from GCS ****

The big Foreach rewrite - Part II.

* typemanager.cs (TypeManager.object_getcurrent_void): Replaced
with `PropertyInfo ienumerator_getcurrent'.

* codegen.cs (VariableStorage): Removed.

* statement.cs
(Foreach): Derive from Statement, not ExceptionStatement.
(Foreach.CollectionForeach): New nested class.  Moved all the code
dealing with collection foreach here.
(Foreach.ForeachHelperMethods): Removed.
(Foreach.TemporaryVariable): Implement IMemoryLocation.

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

19 years ago2005-06-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Jun 2005 13:41:05 +0000 (13:41 -0000)]
2005-06-28  Martin Baulig  <martin@ximian.com>

* loader.c (method_from_methodspec): Fix #75334.

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

19 years ago**** Merged r44912 from GMCS ****
Martin Baulig [Tue, 28 Jun 2005 13:40:11 +0000 (13:40 -0000)]
**** Merged r44912 from GMCS ****

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

19 years ago2005-05-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Jun 2005 13:13:28 +0000 (13:13 -0000)]
2005-05-20  Martin Baulig  <martin@ximian.com>

Merged r44808 from GMCS.

* class.cs (TypeContainer.CircularDepException): Removed.
(TypeContainer.DefineType): Removed the `InTransit' stuff.
(TypeContainer.CheckRecursiveDefinition): Check for circular class
(CS0146) and interface (CS0529) dependencies here.

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

19 years agoUpdate Visual MainWin project file to recent changes in sources
Andrew Skiba [Tue, 28 Jun 2005 12:47:42 +0000 (12:47 -0000)]
Update Visual MainWin project file to recent changes in sources

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

19 years agoKill `priv_fmt_expr'.
Martin Baulig [Tue, 28 Jun 2005 12:23:12 +0000 (12:23 -0000)]
Kill `priv_fmt_expr'.

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

19 years ago2005-06-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Jun 2005 11:56:26 +0000 (11:56 -0000)]
2005-06-28  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : Fixed Georgian, Thai, Gurmukhi
  sortkey values.

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

19 years ago2005-06-28 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 28 Jun 2005 11:50:14 +0000 (11:50 -0000)]
2005-06-28  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcDataReader.cs: GetPrimaryKeys (): use the length indicator
for GetString, otherwise, it creates a string of length 255. Use
ArrayList for keys as the columns are different from the selected
columns. fixes bug #75263.

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

19 years agoadd fixme.lst, remove fixed test cases, touch right file during make.
Andrew Skiba [Tue, 28 Jun 2005 11:37:33 +0000 (11:37 -0000)]
add fixme.lst, remove fixed test cases, touch right file during make.

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

19 years ago * map.c, map.h: Handle Syslog-related changes (SyslogLevel isn't a [Flags]
Jonathan Pryor [Tue, 28 Jun 2005 11:34:22 +0000 (11:34 -0000)]
* map.c, map.h: Handle Syslog-related changes (SyslogLevel isn't a [Flags]
  enum; change in order between LOG_USER and LOG_USRE).

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

19 years ago * Syscall.cs: correct value of LOG_CRON (it shouldn't be identical to
Jonathan Pryor [Tue, 28 Jun 2005 11:32:29 +0000 (11:32 -0000)]
* Syscall.cs: correct value of LOG_CRON (it shouldn't be identical to
  LOG_UUCP).  SyslogLevel shouldn't have [Flags].  Move LOG_USER to be
  before LOG_USRE so that the generated map code doesn't return EINVAL when
  LOG_USER is specified.

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

19 years ago * DataRow.cs: Delete (): if row is detached, do nothing.
Sureshkumar T [Tue, 28 Jun 2005 11:21:23 +0000 (11:21 -0000)]
* DataRow.cs: Delete (): if row is detached, do nothing.
donot remove proposed version as this value is depended upon by this [column].
fixes bug #75388.

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

19 years ago2005-06-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Jun 2005 11:12:17 +0000 (11:12 -0000)]
2005-06-28  Martin Baulig  <martin@ximian.com>

* gtest-177.cs: New test for #74953.

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

19 years ago2005-06-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Jun 2005 11:09:01 +0000 (11:09 -0000)]
2005-06-28  Martin Baulig  <martin@ximian.com>

* mini.c (mini_class_is_system_array): New static method; use this
instead of `klass->parent == mono_defaults.array_class' everywhere
since this also works for the new generic array class.

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

19 years ago2005-06-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Jun 2005 11:08:02 +0000 (11:08 -0000)]
2005-06-28  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : Fixed Thai character primary
  and secondary values. Fixed Thaana letters. Added more LAMESPEC
  CJK compat. Fixed some circled CJK secondary weight.
  Hacked some nonspacing mark sortkey value adjustment.

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

19 years ago2005-06-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Jun 2005 11:07:33 +0000 (11:07 -0000)]
2005-06-28  Martin Baulig  <martin@ximian.com>

Fix #74953 - Arrays now implement the generic IList<T> interface
on the 2.0 platform.

* class-internals.h (MonoDefaults): Added `generic_array_class'.

* reflection.c (mono_class_bind_generic_parameters): New public
function; similar to mono_reflection_bind_generic_parameters(),
but operates on a `MonoType *' and not on a `MonoReflectionType *'.

* domain.c (mono_init_internal): Try to initialize.
`mono_defaults.generic_array_class' here; this'll only succeed if
we're using the 2.0 corlib.

* icall.c
(ves_icall_System_Array_InternalArray_GetGenericValueImpl): Added
interncall for "System.Array/InternalArray`1:GetGenericValueImpl".
(mono_lookup_internal_call): Added support for nested classes.

* loader.c
(mono_get_method_from_token): Set `result->signature->pinvoke' if
we're an interncall and have generic arguments.

* class.c
(mono_class_inflate_generic_methods): Allow interncalls and PInvoke.
(mono_bounded_array_class_get): If we're on the 2.0 corlib, use an
instance of System.Array.InternalArray<T> for arrays, so they
implement the generic IList<T> interface.

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

19 years ago2005-06-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Jun 2005 10:56:02 +0000 (10:56 -0000)]
2005-06-28  Martin Baulig  <martin@ximian.com>

* Array.cs (Array.InternalArray<T>): New nested class; derives
from Array.  This is now used by the runtime for arrays; fixes #74953.

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

19 years ago2005-06-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Jun 2005 10:51:19 +0000 (10:51 -0000)]
2005-06-28  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.MemberLookup_FindMembers): Move the
array check after the check for TypeBuilder's.

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

19 years agoSome more corrections in test cases
Manjula GHM [Tue, 28 Jun 2005 10:23:45 +0000 (10:23 -0000)]
Some more corrections in test cases

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

19 years ago2005-06-28 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 28 Jun 2005 10:01:23 +0000 (10:01 -0000)]
2005-06-28  Sureshkumar T  <tsureshkumar@novell.com>

* DataRow.cs: Delete (): if row is detached, remove proposed
version and do nothing else. fixes bug #75388.

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

19 years ago Fix compilation error
Manjula GHM [Tue, 28 Jun 2005 10:01:20 +0000 (10:01 -0000)]
 Fix compilation error

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

19 years ago2005-06-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Jun 2005 09:44:09 +0000 (09:44 -0000)]
2005-06-28  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : CP932.TXT was not parsed as
  expected. JIS ordering was incorrect. OtherNumbers that represents
  10 or more values were incorrectly computed the offset. Some Hangul
  compat characters has different offset.

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