mono.git
19 years agoFix build
Miguel de Icaza [Sat, 8 Jan 2005 18:42:38 +0000 (18:42 -0000)]
Fix build

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

19 years agoSat Jan 8 19:03:26 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 8 Jan 2005 17:57:13 +0000 (17:57 -0000)]
Sat Jan 8 19:03:26 CET 2005 Paolo Molaro <lupus@ximian.com>

* loader.c: for P/Invoke methods, allow the "Internal" shared
library name to refer to the calling process symbol namespace.

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

19 years agoFix coding style
Miguel de Icaza [Sat, 8 Jan 2005 17:54:46 +0000 (17:54 -0000)]
Fix coding style

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

19 years ago2005-01-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 8 Jan 2005 17:54:30 +0000 (17:54 -0000)]
2005-01-08  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs: Check for null and empty strings.

I have lost another battle to Paolo.

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

19 years agoNew errors
Miguel de Icaza [Sat, 8 Jan 2005 17:54:02 +0000 (17:54 -0000)]
New errors

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

19 years agoAdded documentation for the new --security option
Sebastien Pouliot [Sat, 8 Jan 2005 15:24:46 +0000 (15:24 -0000)]
Added documentation for the new --security option

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

19 years ago2005-01-08 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Sat, 8 Jan 2005 13:08:44 +0000 (13:08 -0000)]
2005-01-08  Nick Drochak  <ndrochak@ieee.org>

* EventLogPermissionTest.cs
* PerformanceCounterPermissionTest.cs: Make tests pass on MS.NET.

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

19 years ago2005-01-08 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Sat, 8 Jan 2005 08:31:02 +0000 (08:31 -0000)]
2005-01-08  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Fix GetWindowState & SetWindowState

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

19 years ago2005-01-08 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Sat, 8 Jan 2005 07:50:41 +0000 (07:50 -0000)]
2005-01-08  Nick Drochak  <ndrochak@ieee.org>

* System_test_default.dll.config: Needed for tests to pass. Test dll name was changed.

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

19 years ago2005-01-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 8 Jan 2005 06:21:04 +0000 (06:21 -0000)]
2005-01-08  Miguel de Icaza  <miguel@ximian.com>

* syntax.cs: Applied patch from mei@work.email.ne.jp to fix bug
#71077.

* parser.cs: Turns out that \digit sequences are octal sequences
(no leading zero is needed);  And the three octal digit rule
applies to the leading zero as well.

This fixes the Unescape method.

2005-01-08  Miguel de Icaza  <miguel@ximian.com>

* RegexBugs.cs: Add new test.

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

19 years ago * TreeNode.cs: Just update the single node when it is
Jackson Harper [Sat, 8 Jan 2005 04:53:06 +0000 (04:53 -0000)]
* TreeNode.cs: Just update the single node when it is
checked. Don't refresh after toggling, the Expand/Collapse already
handles this.
* TreeView.cs: Respect clipping a little more when drawing. Try
not to redraw things that don't need to be redrawn. Just hide the
scrollbars when they are no longer needed instead of removing
them, so they don't have to be created again and again.

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

19 years ago2005-01-07 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Sat, 8 Jan 2005 04:22:44 +0000 (04:22 -0000)]
2005-01-07  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs (SetCaretPos):  We need to translate the view
        coordinates to window space to place the caret properly, FIXED.
        Implement GetWindowState & SetWindowState

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

19 years ago2005-01-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Jan 2005 22:17:02 +0000 (22:17 -0000)]
2005-01-07  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Disable inlining of ldfld wrappers with
a struct type.

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

19 years ago2005-01-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 7 Jan 2005 21:07:59 +0000 (21:07 -0000)]
2005-01-07  Sebastien Pouliot  <sebastien@ximian.com>

* driver.c: Added --security option to activate the security manager.
Right now this will allow code generation for declarative demands and
is disabled when AOT is specified.
* mini.c: Add code generation for declarative security demands.
* mini.h: Add mono_use_security_manager as an extern gboolean.

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

19 years ago2005-01-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 7 Jan 2005 21:04:38 +0000 (21:04 -0000)]
2005-01-07  Sebastien Pouliot  <sebastien@ximian.com>

* Makefile.am: Add the security manager to the build.
* security-manager.c|h: New. Initialization of the security manager.

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

19 years ago2005-01-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Jan 2005 18:57:41 +0000 (18:57 -0000)]
2005-01-07  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (mono_compile_assembly): Speed up compilation a bit by
emitting more dense assembly code.

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

19 years ago2005-01-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Jan 2005 16:38:33 +0000 (16:38 -0000)]
2005-01-07  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c mini-sparc.h exceptions-sparc.c: Enable optimized corlib
exception throwing stuff.

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

19 years ago2005-01-08 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Fri, 7 Jan 2005 15:42:31 +0000 (15:42 -0000)]
2005-01-08  Nick Drochak  <ndrochak@ieee.org>

* TypeDescriptorTests.cs:
* System.ComponentModel/ChangeLog
* System.ComponentModel/TypeDescriptorTests.cs
* System.Net.Sockets/ChangeLog
* System.Net.Sockets/SocketTest.cs
* System.Text.RegularExpressions/ChangeLog
* System.Text.RegularExpressions/RegexTest.cs
* System/ChangeLog
* System/UriTest.cs
* System/UriTest2.cs: Fix/Ignore tests for MS.NET

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

19 years ago2005-01-07 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 7 Jan 2005 15:01:01 +0000 (15:01 -0000)]
2005-01-07  Dick Porter  <dick@ximian.com>

        * threads.c:
        * monitor.c: Update thread state during Monitor and WaitHandle
        waits.  Fixes bug 71031.

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

19 years ago2005-01-07 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 7 Jan 2005 13:57:47 +0000 (13:57 -0000)]
2005-01-07 Marek Safar <marek.safar@seznam.cz>

* cs0102-14.cs: Bug #70942.

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

19 years ago2005-01-07 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 7 Jan 2005 13:48:52 +0000 (13:48 -0000)]
2005-01-07  Marek Safar  <marek.safar@seznam.cz>

Fix #70942
* class.cs (PropertyMethod): Set Parent field in ctors.
(SetMethod.InternalParameters): Add unsafe switch hack.
Override MarkForDuplicationCheck where it is appropriate.

* decl.cs (MemberCore.MarkForDuplicationCheck): New method.
It says whether container allows members with the same name.
Base default is no.
(DeclSpace.AddToContainer): Use MarkForDuplicationCheck.
Removed is_method parameter.

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

19 years ago2005-01-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Jan 2005 13:47:26 +0000 (13:47 -0000)]
2005-01-07  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (property_encode_signature): Correctly handle when the
property has no methods.

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

19 years ago2005-01-07 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 7 Jan 2005 11:23:03 +0000 (11:23 -0000)]
2005-01-07  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcDataReader.cs: Pass OdbcCType.SignedBigInt for accessing big
int columns.

* OdbcType.cs: Added a new enum for Odbc C DataTypes. This should
essentially be passed to drivers, since the public OdbcType types
differs from types expected in drivers in some cases.

* libodbc.cs : Added a ODBC method which takes OdbcCType
enumeration for SQLGetData for BigInt fields.

fixes bug #65342.

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

19 years agoAdded new files
Manjula GHM [Fri, 7 Jan 2005 11:11:53 +0000 (11:11 -0000)]
Added new files

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

19 years agosvn path=/trunk/mcs/; revision=38482
Manjula GHM [Fri, 7 Jan 2005 11:03:11 +0000 (11:03 -0000)]
svn path=/trunk/mcs/; revision=38482

19 years agoremove svn:executable property from *.vb
Raja R Harinath [Fri, 7 Jan 2005 11:00:13 +0000 (11:00 -0000)]
remove svn:executable property from *.vb

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

19 years agoAdded new files
Manjula GHM [Fri, 7 Jan 2005 10:52:09 +0000 (10:52 -0000)]
Added new files

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

19 years agosvn path=/trunk/mcs/; revision=38479
Manjula GHM [Fri, 7 Jan 2005 10:46:16 +0000 (10:46 -0000)]
svn path=/trunk/mcs/; revision=38479

19 years ago2005-01-06 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 7 Jan 2005 10:29:25 +0000 (10:29 -0000)]
2005-01-06  Duncan Mak  <duncan@ximian.com>

* cs-tokenizer.cs (xtoken): Redo the work for signaling CS1040
because the previous change led to incorrect reporting of CS1032
("Cannot define/undefine preprocessor symbols after first token in
file"). Instead of using `tokens_seen' as the only flag that
triggers CS1040, introduce `comments_seen'. This new flag is used
to signify having seen comments on the current line, so it is
unset after a newline.

* test-332.cs: New test for tracking #56460.

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

19 years ago- Implemented ClientSize property
Peter Dennis Bartok [Fri, 7 Jan 2005 08:30:32 +0000 (08:30 -0000)]
- Implemented ClientSize property
- Implemented DesktopBounds property
- Implemented DesktopLocation property
- Implemented IsRestrictedWindow property
- Implemented Size property
- Implemented TopLevel property
- Implemented FormWindowState property
- Implemented GetTopLevel() method
- Implemented SetTopLevel() method
- Added AnyPropertyType definition
- Added MapState definiton and updated XWindowAttribute struct
- Added GetWindowState() and SetWindowState() methods
- Now uses Foreground color for text added via Text property (Duh!)
- Added AutoSize logic
- Added code to remember programmatically requested size (fixes behaviour
  when Multiline is set after Size)

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

19 years ago * Tds70.cs :
Sureshkumar T [Fri, 7 Jan 2005 08:26:07 +0000 (08:26 -0000)]
* Tds70.cs :
- add a special case for datetime parameters to convert to
invariant culture. fixes bug #70209.
- change format to MMM dd yyyy, this works for both client locale
change and server login locale change. fixes bug #66564.

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

19 years ago* IMembershipCondition.cs (Equals,ToString): Disable when building
Raja R Harinath [Fri, 7 Jan 2005 08:23:45 +0000 (08:23 -0000)]
* IMembershipCondition.cs (Equals,ToString): Disable when building
with older mcs.

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

19 years ago2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Jan 2005 07:37:08 +0000 (07:37 -0000)]
2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDataInferenceLoader.cs : test driver class should be excluded.

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

19 years ago2005-01-07 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 7 Jan 2005 04:55:31 +0000 (04:55 -0000)]
2005-01-07  Sureshkumar T  <tsureshkumar@novell.com>

* Tds70.cs : add a special case for datetime parameters to convert
to invariant culture. fixes bug #70209.

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

19 years ago * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
Jackson Harper [Fri, 7 Jan 2005 01:59:21 +0000 (01:59 -0000)]
* TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.

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

19 years ago2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Jan 2005 22:38:58 +0000 (22:38 -0000)]
2005-01-06  Sebastien Pouliot  <sebastien@ximian.com>

* desweak.cs: Add test to check for regression of the bug seen in
rev 38316. The original code that failed is no more part of the
class library.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 22:00:44 +0000 (22:00 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c (mono_arch_emit_exceptions): Fix typo in previous patch. Remove
dead code.

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

19 years ago * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
Jackson Harper [Thu, 6 Jan 2005 21:35:25 +0000 (21:35 -0000)]
* ListBox.cs: Don't allow the horizontal scrollbars maximum to be
set to less then 0.

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

19 years ago#define after token
Alexandre Gomes [Thu, 6 Jan 2005 21:13:43 +0000 (21:13 -0000)]
#define after token

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

19 years ago * ScrollableControl.cs: Lazy init the scrollbars.
Jackson Harper [Thu, 6 Jan 2005 20:29:20 +0000 (20:29 -0000)]
* ScrollableControl.cs: Lazy init the scrollbars.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 19:54:41 +0000 (19:54 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (reflection_methodbuilder_to_mono_method): Remove debug stuff.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 19:50:33 +0000 (19:50 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (reflection_methodbuilder_from_method_builder): Copy
fields from mb, not rmb. Fixes #71017.

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

19 years ago2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Jan 2005 19:48:37 +0000 (19:48 -0000)]
2005-01-06  Sebastien Pouliot  <sebastien@ximian.com>

* PublisherIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.
* SiteIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.
* StrongNameIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.
* UrlIdentityPermissionTest.cs: Fixed tests for NET_1_1 profile.

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

19 years ago * Theme.cs: Speed up getting pens and solid brushes, by using
Jackson Harper [Thu, 6 Jan 2005 19:48:06 +0000 (19:48 -0000)]
* Theme.cs: Speed up getting pens and solid brushes, by using
their ARGB as a hash instead of tostring and not calling Contains.

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

19 years ago2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Jan 2005 19:16:22 +0000 (19:16 -0000)]
2005-01-06  Sebastien Pouliot  <sebastien@ximian.com>

* DESTest.cs: Updated weak key and semi-weak key tests with more
exhaustive versions.
* TripleDESTest.cs: Added tests when including a DES weak key into
a 2DES or 3DES key.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 19:05:19 +0000 (19:05 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_emit_exceptions): Remove duplicate epilog stuff
left in by mistake.

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

19 years ago2005-01-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 6 Jan 2005 19:04:49 +0000 (19:04 -0000)]
2005-01-06  Sebastien Pouliot  <sebastien@ximian.com>

* DES.cs: Change wek and semi-weak key checking to avoid memory
allocations. Old version required 2 allocations (weak+semiweak) to
unpack the key. New versions are 16x-20x faster.
*  RijndaelManaged.cs: Removed unrequired "& 0xff" when casting to
byte.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 18:57:21 +0000 (18:57 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c: Fix blittable_struct_delegate test.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 18:53:00 +0000 (18:53 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* driver.c (EXCLUDED_FROM_ALL): Disable SSAPRE until bug #70637 is
fixed.

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

19 years agodelete unused variable
César Natarén [Thu, 6 Jan 2005 18:33:33 +0000 (18:33 -0000)]
delete unused variable

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

19 years agoadd ctr's
César Natarén [Thu, 6 Jan 2005 18:31:02 +0000 (18:31 -0000)]
add ctr's

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

19 years agoadd interna ClassName property
César Natarén [Thu, 6 Jan 2005 18:28:04 +0000 (18:28 -0000)]
add interna ClassName property

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

19 years ago2005-01-06 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 6 Jan 2005 18:24:22 +0000 (18:24 -0000)]
2005-01-06  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* BooleanObject.cs: implement ctr's.

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

19 years ago2005-01-06 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 6 Jan 2005 18:22:03 +0000 (18:22 -0000)]
2005-01-06  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* BooleanPrototype.cs: back to M.J namespace. Implement contructor
property, toString and valueOf, add AssertType.

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

19 years ago2005-01-06 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 6 Jan 2005 18:17:56 +0000 (18:17 -0000)]
2005-01-06  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Convert.cs: add ToString overload and implement.

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

19 years ago2005-01-06 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 6 Jan 2005 17:33:55 +0000 (17:33 -0000)]
2005-01-06  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* JSFieldInfo.cs, JSLocalField.cs: Add conditional NET_2_0 or BOOTSTRAP_NET_2_0 's
Mono_GetGenericFieldDefinition.

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

19 years ago2005-01-06 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 6 Jan 2005 16:55:46 +0000 (16:55 -0000)]
2005-01-06  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* StringObject.cs: add ctrs.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 16:29:46 +0000 (16:29 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_ptr_to_str_conv): Add support for
ByValTStr -> string conversion. Fixes #71015.

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

19 years ago2005-01-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Jan 2005 16:23:01 +0000 (16:23 -0000)]
2005-01-06  Atsushi Enomoto  <atsushi@ximian.com>

* xml-035.cs, xml-035-ref.xml : added test for bug #71040.
* Makefile : added xml-035.

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

19 years ago2005-01-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Jan 2005 16:22:13 +0000 (16:22 -0000)]
2005-01-06  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : When searching for a type, find nested type too.
  This fixes bug #71040.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 15:50:14 +0000 (15:50 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.h mini-sparc.c: Enable out-of-line bblock support.

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

19 years ago2005-01-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Jan 2005 14:41:25 +0000 (14:41 -0000)]
2005-01-06  Atsushi Enomoto  <atsushi@ximian.com>

* xml-034.cs, xml-034-ref.xml : added test for bug #71042.
* Makefile : added xml-034.

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

19 years ago2005-01-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 6 Jan 2005 14:34:57 +0000 (14:34 -0000)]
2005-01-06  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs :
  - Warn missing member comment on those classes which also does not
    have doc comments. Fixed bug #71041.
  - Don't warn missing doc comment on default constructor.
    Fixed bug #71042.

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

19 years agoCleanup the changelog entry a bit
Duncan Mak [Thu, 6 Jan 2005 13:49:11 +0000 (13:49 -0000)]
Cleanup the changelog entry a bit

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

19 years ago2005-01-04 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 6 Jan 2005 13:47:29 +0000 (13:47 -0000)]
2005-01-04  Duncan Mak  <duncan@ximian.com>

  * cs-tokenizer.cs (xtoken): After handling traditional C-style
  comments, set `tokens_seen' to true. This allows us to detect
  misplaced preprocessor directives (i.e. not at the beginning of
  the a line, nor after whitespaces). In that case, report error
  CS1040.

  This fixes bug #56460.

2005-01-05  Duncan Mak  <duncan@ximian.com>

* mcs-expect-no-error: Removed cs1040.cs.

  * cs1040-2.cs: Added to track bug #56460.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 12:57:31 +0000 (12:57 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* tramp-*.c: Only patch vtable slots if the object is in the current
domain. Fixes appdomain-unload.exe.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Jan 2005 12:56:50 +0000 (12:56 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.c (mono_domain_owns_vtable_slot): New helper function.

* mempool.c (mono_mempool_contains_addr): New helper function.

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

19 years ago2005-01-04 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 6 Jan 2005 12:45:51 +0000 (12:45 -0000)]
2005-01-04  Duncan Mak  <duncan@ximian.com>

* cs-parser.jay (interface_member_declaration): Add checks for
IsExplicitImpl, and report CS0541 error if an interface member is
defined as an explicit interface declaration.

2005-01-05  Duncan Mak  <duncan@ximian.com>

* mcs-expect-no-error: Removed cs0541.cs.

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

19 years ago2005-01-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 6 Jan 2005 12:29:45 +0000 (12:29 -0000)]
2005-01-06  Marek Safar <marek.safar@seznam.cz>

* test-331.cs: New test for #70817.

* cls-test-12.cs: Flush.

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

19 years ago2005-01-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 6 Jan 2005 12:23:57 +0000 (12:23 -0000)]
2005-01-06  Marek Safar  <marek.safar@seznam.cz>

Fix #70817
* class.cs (PropertyMethod): Set Parent field in ctors.
(SetMethod.InternalParameters): Add unsafe switch hack.

* decl.cs (MemberCore.Parent): Cannot be readonly.

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

19 years ago2005-01-06 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Thu, 6 Jan 2005 10:14:36 +0000 (10:14 -0000)]
2005-01-06  Sureshkumar T  <tsureshkumar@novell.com>

* Tds.cs: change the typecast to ushort for
GetDateTimeValue. fixes bug #70651.

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

19 years ago- Updated
Peter Dennis Bartok [Thu, 6 Jan 2005 09:42:41 +0000 (09:42 -0000)]
- Updated

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

19 years ago- Implemented OnActivated/OnDeactivate Events and Activate() method
Peter Dennis Bartok [Thu, 6 Jan 2005 09:41:45 +0000 (09:41 -0000)]
- Implemented OnActivated/OnDeactivate Events and Activate() method
- Added WM_ACTIVATE message generation to X11 driver, active window
  notification is now en par with Win32

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

19 years ago2005-01-06 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Thu, 6 Jan 2005 07:27:41 +0000 (07:27 -0000)]
2005-01-06  Daniel Morgan <danielmorgan@verizon.net>

* Assembly/AssemblyInfo.cs: updated copyright

* System.Data.OracleClient/OracleCommand.cs: add
connection string parameter "Server" and
removed "Database" to match .NET

* System.Data.OracleClient/OracleLob.cs: handle
BLOBs and CLOBs that are not null, but are empty

* System.Data.OracleClient/OracleCommand.cs: started
implementing Clone and ExecuteOracleScalar

* System.Data.OracleClient/OracleDataReader.cs: modified
- ms.net has GetDataTypeName return data types upper case
- implement GetFieldType
- implement GetOracleValues, GetOracleValue,
  GetOracleDateTime, GetOracleNumber, GetOracleString
- modified GetOracleLob based on internal change
- fix GetSchemaTable to return the correct "DataType"
instead of always being System.String
- GetValue should return Blobs as a byte array and Clobs
as a string
- Test/TestOracleClient.cs: updated Mono Oracle Tests
- System.Data.OracleClient.Oci/OciCalls.cs: update
DllImports for data type, actual data size, and iters

* System.Data.OracleClient.Oci/OciDefineHandle.cs: modified
- added properties for precision and field type
- if ROWID is specified in a SELECT statement, handle
the data type of OciDataType.RowIdDescriptor by just
treating it as 10 byte string
- do not free a HGlobal handle for a LOB since they do
not get a HGlobal created for them
- GetValue should return an OracleLob for BLOBs and CLOBs

* System.Data.OracleClient.Oci/OciDataType.cs: make enum
OciDataType to be uint

* System.Data.OracleClient.Oci/OciParameterDescriptor.cs:
- add function to convert Oracle's data type name
to .net data type name

* System.Data.OracleClient.Oci/OciRowIdDescriptor.cs: flush

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

19 years ago* decl.cs (DeclSpace.ResolveType): Remove.
Raja R Harinath [Thu, 6 Jan 2005 07:26:22 +0000 (07:26 -0000)]
* decl.cs (DeclSpace.ResolveType): Remove.
(DeclSpace.ResolveBaseTypeExpr): Rename from ResolveTypeExpr.
Merge in code from ...
(DeclSpace.GetTypeResolvingEmitContext): ... here.  Remove.
* class.cs, enum.cs: Update to changes.

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

19 years agoRemove .cs in test name.
Raja R Harinath [Thu, 6 Jan 2005 06:51:07 +0000 (06:51 -0000)]
Remove .cs in test name.

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

19 years ago* Makefile (LIB_MCS_FLAGS): Add reference to Mono.Security.dll
Raja R Harinath [Thu, 6 Jan 2005 06:31:17 +0000 (06:31 -0000)]
* Makefile (LIB_MCS_FLAGS): Add reference to Mono.Security.dll
only in the NET 2.0 profile.  See 2004-07-07 entry.

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

19 years agoAdd new test case
Miguel de Icaza [Thu, 6 Jan 2005 05:31:51 +0000 (05:31 -0000)]
Add new test case

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

19 years ago2005-01-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 6 Jan 2005 05:30:27 +0000 (05:30 -0000)]
2005-01-06  Miguel de Icaza  <miguel@ximian.com>

* anonymous.cs: Ensure that we init the scope of our parent if it
has not been initialized yet.

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

19 years ago * ImageList.cs: Implment ctor
Jackson Harper [Thu, 6 Jan 2005 04:14:41 +0000 (04:14 -0000)]
* ImageList.cs: Implment ctor

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

19 years agoThe test framework for Ado.NET Providers
Satya Sudha K [Thu, 6 Jan 2005 03:56:33 +0000 (03:56 -0000)]
The test framework for Ado.NET Providers

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

19 years ago2005-01-05 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 6 Jan 2005 03:49:53 +0000 (03:49 -0000)]
2005-01-05  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* ObjectPrototype.cs: Add internal ctr. Implement hasOwnProperty.

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

19 years ago2005-01-05 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 6 Jan 2005 03:17:48 +0000 (03:17 -0000)]
2005-01-05  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* ObjectConstructor.cs: implemented CreateInstance.

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

19 years ago2005-01-05 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 6 Jan 2005 03:15:31 +0000 (03:15 -0000)]
2005-01-05  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs (emit_create_instance): add Boolean case.

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

19 years ago * configure.in: Add check for <checklist.h>.
Jonathan Pryor [Thu, 6 Jan 2005 01:06:37 +0000 (01:06 -0000)]
* configure.in: Add check for <checklist.h>.

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

19 years ago * fstab.c: Add support for HPUX, which uses <checklist.h>.
Jonathan Pryor [Thu, 6 Jan 2005 01:05:37 +0000 (01:05 -0000)]
* fstab.c: Add support for HPUX, which uses <checklist.h>.

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

19 years ago2005-01-05 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 5 Jan 2005 23:41:58 +0000 (23:41 -0000)]
2005-01-05  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Try.cs, Statement.cs (EmitStms), Literal.cs
(ObjectLiteralItem.Emit), CodeGenerator.cs (fall_false): delete
unused variables.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 5 Jan 2005 23:25:10 +0000 (23:25 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c mini-amd64.h: Enable out-of-line bblock support.

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

19 years ago2005-01-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 5 Jan 2005 23:13:23 +0000 (23:13 -0000)]
2005-01-06  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_local_regalloc): Port regalloc fix from
x86 branch.

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

19 years ago2005-01-05 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 5 Jan 2005 21:43:13 +0000 (21:43 -0000)]
2005-01-05  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Implement Activate/SetTopmost

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

19 years ago2005-01-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 5 Jan 2005 21:08:04 +0000 (21:08 -0000)]
2005-01-05  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (reverse_branch_op): New helper function.

* mini.c (optimize_branches): Run the new optimization only on
platforms which support it. Also reverse all kinds of branches.

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

19 years ago2005-01-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 5 Jan 2005 21:04:25 +0000 (21:04 -0000)]
2005-01-05  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (MonoBasicBlock): Add 'out_of_line' field.

* mini.c (mono_method_to_ir): Set 'out_of_line' for bblocks which have
a throw statement.

* mini.c (optimize_branches): Reverse not-equals branches if the false
bblock is a throw. This happens a lot of time with argument checking in
corlib.

* mini.c (mono_codegen): Add support for placing basic blocks after
the function epilogue.

* mini-x86.c mini-x86.h: Add support for placing basic blocks after the
function epilogue.

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

19 years ago2005-01-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 5 Jan 2005 20:42:21 +0000 (20:42 -0000)]
2005-01-05  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (MonoBasicBlock): Add 'out_of_line' field.

* mini.c (mono_method_to_ir): Set 'out_of_line' for bblocks which have
a throw statement.

* mini.c (optimize_branches): Reverse not-equals branches if the false
bblock is a throw. This happens a lot of time with argument checking in
corlib.

* mini.c (mono_codegen): Add support for placing basic blocks after
the function epilogue.

* mini-x86.c mini-x86.h: Add support for placing basic blocks after the
function epilogue.

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

19 years ago2005-01-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 5 Jan 2005 20:21:34 +0000 (20:21 -0000)]
2005-01-05  Miguel de Icaza  <miguel@ximian.com>

* mini.c (setup_stat_profiler): Only set this up if the platform
supports ITIMER_PROF.

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

19 years agoUpdate AOT docs
Miguel de Icaza [Wed, 5 Jan 2005 20:19:41 +0000 (20:19 -0000)]
Update AOT docs

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

19 years ago * Mono.Posix.dll.sources: Add Mono.Unix/StdioFileStream.cs.
Jonathan Pryor [Wed, 5 Jan 2005 20:17:08 +0000 (20:17 -0000)]
  * Mono.Posix.dll.sources: Add Mono.Unix/StdioFileStream.cs.

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

19 years ago * StdioFileStream.cs: Added; System.IO.Stream wrapper for C FILE struct.
Jonathan Pryor [Wed, 5 Jan 2005 20:16:25 +0000 (20:16 -0000)]
  * StdioFileStream.cs: Added; System.IO.Stream wrapper for C FILE struct.
  * Stdlib.cs: Correct visibility of ftell().

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

19 years ago2005-01-05 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 5 Jan 2005 20:09:46 +0000 (20:09 -0000)]
2005-01-05  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Implement SetZOrder, minor cleanup

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

19 years ago2005-01-05 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 5 Jan 2005 19:56:40 +0000 (19:56 -0000)]
2005-01-05  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Implement GetActive/SetFocus.

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

19 years ago2005-01-05 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 5 Jan 2005 19:51:52 +0000 (19:51 -0000)]
2005-01-05  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_local_regalloc): Fix a bug introduced by the
previous patch.

* inssel.brg: Fix a warning.

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