Miguel de Icaza [Sat, 29 Jan 2005 17:59:43 +0000 (17:59 -0000)]
2005-01-29 Miguel de Icaza <miguel@novell.com>
* pending.cs (PendingImplementation.DefineProxy): It was not `arg
i - 1' it should be arg + 1.
Fixes bug #71819.
svn path=/trunk/mcs/; revision=39747
Miguel de Icaza [Sat, 29 Jan 2005 17:58:56 +0000 (17:58 -0000)]
2005-01-29 Miguel de Icaza <miguel@novell.com>
* pending.cs (PendingImplementation.DefineProxy): It was not `arg
i - 1' it should be arg + 1.
Fixes bug #71819.
svn path=/trunk/mcs/; revision=39746
Ben Maurer [Sat, 29 Jan 2005 16:41:23 +0000 (16:41 -0000)]
oops, build systemf fuck up
svn path=/trunk/mcs/; revision=39745
Ben Maurer [Sat, 29 Jan 2005 16:39:50 +0000 (16:39 -0000)]
build error here, revert until fixed
svn path=/trunk/mcs/; revision=39744
Peter Dennis Bartok [Sat, 29 Jan 2005 16:14:52 +0000 (16:14 -0000)]
- Re-did the fix after checking in HandleData. Sorry for breaking the build :-(
svn path=/trunk/mcs/; revision=39743
Paolo Molaro [Sat, 29 Jan 2005 15:14:33 +0000 (15:14 -0000)]
Always assume 8-byte alignment for hash code purpouse.
svn path=/trunk/mono/; revision=39742
Peter Dennis Bartok [Sat, 29 Jan 2005 15:10:30 +0000 (15:10 -0000)]
- Added method for altering invalid area in HandleData
- Implemented TextBoxBase.TextLength
svn path=/trunk/mcs/; revision=39741
Paolo Molaro [Sat, 29 Jan 2005 14:46:44 +0000 (14:46 -0000)]
Sat Jan 29 15:59:05 CET 2005 Paolo Molaro <lupus@ximian.com>
* monitor.c: formatting changes to comply with the
mono coding style and remove #ifdefs from the code.
svn path=/trunk/mono/; revision=39740
Paolo Molaro [Sat, 29 Jan 2005 14:06:56 +0000 (14:06 -0000)]
Sat Jan 29 15:18:54 CET 2005 Paolo Molaro <lupus@ximian.com>
* metadata.c, private.h: remove some unneeded data
and use a more compact representation for table schemas.
svn path=/trunk/mono/; revision=39739
Paolo Molaro [Sat, 29 Jan 2005 13:58:12 +0000 (13:58 -0000)]
Unbreak the build.
svn path=/trunk/mcs/; revision=39738
Paolo Molaro [Sat, 29 Jan 2005 11:35:37 +0000 (11:35 -0000)]
Sat Jan 29 12:48:03 CET 2005 Paolo Molaro <lupus@ximian.com>
* GCHandle.cs: update for runtime changes: the unallocated handle
is -1, now.
svn path=/trunk/mcs/; revision=39737
Satya Sudha K [Sat, 29 Jan 2005 06:51:55 +0000 (06:51 -0000)]
Test cases for implicit and explicit string conversions - contributed by
Sudharsan V
svn path=/trunk/mcs/; revision=39736
Satya Sudha K [Sat, 29 Jan 2005 06:50:22 +0000 (06:50 -0000)]
Added support for string conversions
svn path=/trunk/mcs/; revision=39735
Peter Dennis Bartok [Sat, 29 Jan 2005 06:29:17 +0000 (06:29 -0000)]
- Improvement over last patch, not sending the WM_PAINT directly anymore,
instead we scroll any pending exposed areas and let the system pick out
the WM_PAINT late
svn path=/trunk/mcs/; revision=39734
Sebastien Pouliot [Sat, 29 Jan 2005 00:20:55 +0000 (00:20 -0000)]
2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
* EnvironmentTest.cs: Added a new unit for GetCommandLineArgs to track
bug #71938.
svn path=/trunk/mcs/; revision=39733
Lluis Sanchez [Sat, 29 Jan 2005 00:05:23 +0000 (00:05 -0000)]
2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/MultiView.cs
System.Web.UI.WebControls/View.cs
System.Web.UI.WebControls/ViewCollection.cs
svn path=/trunk/mcs/; revision=39732
Lluis Sanchez [Sat, 29 Jan 2005 00:04:36 +0000 (00:04 -0000)]
2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
* Table.cs: Added some 2.0 properties.
* FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
InstanceDescriptor.
* BaseValidator.cs: Fix warning.
* MultiView.cs, ViewCollection.cs, View.cs: Implemented.
svn path=/trunk/mcs/; revision=39731
Lluis Sanchez [Sat, 29 Jan 2005 00:03:46 +0000 (00:03 -0000)]
2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
* ParseChildrenAttribute.cs: Added 2.0 property.
* Pair.cs, Triplet.cs: Make classes serializable and sealed in 2.0.
* Page.cs: Added support for control state.
* TemplateBuilder.cs: ContainerType should be internal.
* Control.cs: Added some new 2.0 methods.
svn path=/trunk/mcs/; revision=39730
Lluis Sanchez [Sat, 29 Jan 2005 00:03:20 +0000 (00:03 -0000)]
2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
* Base64AttachmentEncoder.cs: Fixed warning.
svn path=/trunk/mcs/; revision=39729
Peter Dennis Bartok [Fri, 28 Jan 2005 22:13:27 +0000 (22:13 -0000)]
- Preventing racecondition in ScrollWindow
svn path=/trunk/mcs/; revision=39728
Zoltan Varga [Fri, 28 Jan 2005 20:52:12 +0000 (20:52 -0000)]
2005-01-28 Zoltan Varga <vargaz@freemail.hu>
* runtime/Makefile.am (mcs-compileall): New test to compile all methods
in our assemblies.
svn path=/trunk/mono/; revision=39727
Zoltan Varga [Fri, 28 Jan 2005 20:50:32 +0000 (20:50 -0000)]
2005-01-28 Zoltan Varga <vargaz@freemail.hu>
* driver.c (compile_all_methods_thread_main): Compile the methods
without invoking cctors.
svn path=/trunk/mono/; revision=39726
Peter Dennis Bartok [Fri, 28 Jan 2005 20:11:30 +0000 (20:11 -0000)]
- Added mechanism to automatically generate VS.Net project files
- Updated SWF.csproj with latest files (also added System.Windows.Forms.Design)
svn path=/trunk/mcs/; revision=39723
Peter Dennis Bartok [Fri, 28 Jan 2005 19:20:49 +0000 (19:20 -0000)]
- This is no longer used
svn path=/trunk/mcs/; revision=39722
Paolo Molaro [Fri, 28 Jan 2005 17:39:29 +0000 (17:39 -0000)]
Fri Jan 28 18:28:26 CET 2005 Paolo Molaro <lupus@ximian.com>
* mini.c: remove ben's "optimizations" to dup+stloc (bug #71905).
* basic-calls.cs: test for the above.
svn path=/trunk/mono/; revision=39720
Paolo Molaro [Fri, 28 Jan 2005 17:12:40 +0000 (17:12 -0000)]
Fri Jan 28 18:23:44 CET 2005 Paolo Molaro <lupus@ximian.com>
* metadata.c, metadata-internals.h: add mono_aligned_addr_hash()
to get a better distribution in hash tables.
* *.c: use mono_aligned_addr_hash() where appropriate.
* assembly.c: make var static.
svn path=/trunk/mono/; revision=39718
Zoltan Varga [Fri, 28 Jan 2005 14:54:11 +0000 (14:54 -0000)]
2005-01-28 Zoltan Varga <vargaz@freemail.hu>
* mini.c mini-exceptions.c aot.c exceptions-*.c: Update after
MonoJitInfo changes.
svn path=/trunk/mono/; revision=39710
Zoltan Varga [Fri, 28 Jan 2005 14:51:44 +0000 (14:51 -0000)]
2005-01-28 Zoltan Varga <vargaz@freemail.hu>
* domain-internals.h: Put MonoJitInfo on a diet.
* domain.c: Fix a warning.
svn path=/trunk/mono/; revision=39709
Sebastien Pouliot [Fri, 28 Jan 2005 14:51:43 +0000 (14:51 -0000)]
2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
* SecurityExceptionCas.cs: New. Permission tests for SecurityException.
svn path=/trunk/mcs/; revision=39708
Sebastien Pouliot [Fri, 28 Jan 2005 14:45:01 +0000 (14:45 -0000)]
2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
* FileNotFoundException.cs, FileLoadException.cs: Fixed bad "if ();".
svn path=/trunk/mcs/; revision=39707
Jordi Mas i Hernandez [Fri, 28 Jan 2005 14:39:43 +0000 (14:39 -0000)]
fixes for CheckedListBox
svn path=/trunk/mcs/; revision=39706
Sebastien Pouliot [Fri, 28 Jan 2005 14:39:41 +0000 (14:39 -0000)]
2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
* DirectoryCas.cs: New. Very limited permission tests for Directory.
Actually it's only there to support tests for System.Environment.
* FileLoadExceptionCas.cs: New. Permission tests for FileLoadException
* FileNotFoundExceptionCas.cs: New. Permission tests for
FileNotFoundException.
svn path=/trunk/mcs/; revision=39705
Sebastien Pouliot [Fri, 28 Jan 2005 14:30:20 +0000 (14:30 -0000)]
2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
* StackFrameCas.cs: New. Permission tests for StackFrame.
* StackTraceCas.cs: New. Permission tests for StackTrace.
svn path=/trunk/mcs/; revision=39704
Sebastien Pouliot [Fri, 28 Jan 2005 14:27:22 +0000 (14:27 -0000)]
2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
* EnvironmentCas.cs: New. Permission tests for Environment.
* ExceptionCas.cs: New. Permission tests for Exception.
svn path=/trunk/mcs/; revision=39703
Nick Drochak [Fri, 28 Jan 2005 14:26:18 +0000 (14:26 -0000)]
2005-01-28 Nick Drochak <ndrochak@ieee.org>
* ResourceReaderTest.cs: Not sure about a zero-byte length file.
svn path=/trunk/mcs/; revision=39702
Sebastien Pouliot [Fri, 28 Jan 2005 13:49:10 +0000 (13:49 -0000)]
2005-01-28 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyAlgorithmIdAttributeTest.cs: Removed CLSCompliant(false)
attribute as it wasn't required (and gives a compilation warning).
svn path=/trunk/mcs/; revision=39701
Nick Drochak [Fri, 28 Jan 2005 13:31:55 +0000 (13:31 -0000)]
2005-01-28 Nick Drochak <ndrochak@ieee.org>
* DnsTest.cs: Pick a URL we can most likely fail against.
svn path=/trunk/mcs/; revision=39700
Satya Sudha K [Fri, 28 Jan 2005 13:12:41 +0000 (13:12 -0000)]
Tests for implicit and explicit numeric conversions - contributed by Sudharsan V
svn path=/trunk/mcs/; revision=39698
Manjula GHM [Fri, 28 Jan 2005 11:28:23 +0000 (11:28 -0000)]
--tThis line, and those below, will be ignored--
M ecore.cs
svn path=/trunk/mcs/; revision=39697
Atsushi Eno [Fri, 28 Jan 2005 11:01:35 +0000 (11:01 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* DataRowViewTest.cs : added RowVersion1() test.
svn path=/trunk/mcs/; revision=39696
Atsushi Eno [Fri, 28 Jan 2005 11:00:49 +0000 (11:00 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* DataView.cs : Add to table only when the row is not in the table.
svn path=/trunk/mcs/; revision=39695
Atsushi Eno [Fri, 28 Jan 2005 10:44:04 +0000 (10:44 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* DataViewTest.cs : Enabled TestFindRows(). Added more FindRows() tests.
svn path=/trunk/mcs/; revision=39694
Atsushi Eno [Fri, 28 Jan 2005 10:37:09 +0000 (10:37 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* DataView.cs : implemented FindRows() (btw we should not use
DataTable since there are detached rows by AddNew().)
svn path=/trunk/mcs/; revision=39693
Raja R Harinath [Fri, 28 Jan 2005 09:57:41 +0000 (09:57 -0000)]
* attribute.cs (Attribute.CheckAttributeType): Make private non-virtual.
(Attribute.ResolveType): Make virtual.
(GlobalAttribute.ResolveType,GlobalAttribute.Resolve): Simplify
handling of RootContext.Tree.Types.
svn path=/trunk/mcs/; revision=39692
Manjula GHM [Fri, 28 Jan 2005 09:31:12 +0000 (09:31 -0000)]
Changed according to CompilerServices
svn path=/trunk/mcs/; revision=39691
Atsushi Eno [Fri, 28 Jan 2005 09:06:33 +0000 (09:06 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* DataView.cs :
Code cleanup: privatify some members, remove unused methods.
Some event-based invocation methods should not raise NotImplemented.
svn path=/trunk/mcs/; revision=39690
Satya Sudha K [Fri, 28 Jan 2005 08:23:35 +0000 (08:23 -0000)]
Added a few fixes for Boolean to Numeric Conversions
svn path=/trunk/mcs/; revision=39689
Atsushi Eno [Fri, 28 Jan 2005 08:17:53 +0000 (08:17 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
svn path=/trunk/mcs/; revision=39688
Atsushi Eno [Fri, 28 Jan 2005 08:14:20 +0000 (08:14 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaDataImporter.cs : empty element is not regarded as a column.
svn path=/trunk/mcs/; revision=39687
Atsushi Eno [Fri, 28 Jan 2005 06:03:38 +0000 (06:03 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* UniqueConstraint.cs : mostly reverted the previous patch + check
IsPrimaryKey before validation.
* DataTableTest.cs : PrimaryKeyColumnChecksNonNull() is working now.
svn path=/trunk/mcs/; revision=39685
Atsushi Eno [Fri, 28 Jan 2005 05:55:01 +0000 (05:55 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* DataTableTest.cs : added tests for primary key constraint check
(not working right now).
svn path=/trunk/mcs/; revision=39684
Atsushi Eno [Fri, 28 Jan 2005 05:45:32 +0000 (05:45 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* UniqueConstraintTest.cs : added DBNullAllowed().
svn path=/trunk/mcs/; revision=39683
Atsushi Eno [Fri, 28 Jan 2005 05:09:01 +0000 (05:09 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* Comparison.cs : Eval() could be direct invocation to EvalBoolean().
svn path=/trunk/mcs/; revision=39682
Atsushi Eno [Fri, 28 Jan 2005 05:08:35 +0000 (05:08 -0000)]
2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
* DataView.cs : Fixed duplicate insertion to Hashtable.
* UniqueConstraint.cs : Unique constrained pair of columns could be
nullable.
svn path=/trunk/mcs/; revision=39681
Miguel de Icaza [Fri, 28 Jan 2005 04:15:21 +0000 (04:15 -0000)]
Merge into ChangeLog
svn path=/trunk/mcs/; revision=39680
Sebastien Pouliot [Fri, 28 Jan 2005 01:05:49 +0000 (01:05 -0000)]
2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
* BadImageFormatException.cs: Protect the fusion (GAC) log from being
disclosed unless code has ControlPolicy and ControlEvidence.
svn path=/trunk/mcs/; revision=39679
Peter Dennis Bartok [Fri, 28 Jan 2005 00:18:47 +0000 (00:18 -0000)]
- Don't use form if we don't have one when running the message loop
svn path=/trunk/mcs/; revision=39678
Peter Dennis Bartok [Thu, 27 Jan 2005 23:05:06 +0000 (23:05 -0000)]
- Fixed index off by one error
svn path=/trunk/mcs/; revision=39670
Peter Dennis Bartok [Thu, 27 Jan 2005 23:04:07 +0000 (23:04 -0000)]
- GridEntry.cs: Added; Patch by Jonathan S. Chambers
- GridItem.cs: Added; Patch by Jonathan S. Chambers
- GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
- GridItemType.cs: Added; Patch by Jonathan S. Chambers
- PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
- PropertySort.cs: Added; Patch by Jonathan S. Chambers
- PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
- PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
- PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
- PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
- SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
- SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
svn path=/trunk/mcs/; revision=39669
Lluis Sanchez [Thu, 27 Jan 2005 22:08:11 +0000 (22:08 -0000)]
2005-01-27 LLuis Sanchez Gual <lluis@novell.com>
* CodeGenerator.cs: Write 'f' suffix for float constants.
svn path=/trunk/mcs/; revision=39666
Lluis Sanchez [Thu, 27 Jan 2005 22:07:51 +0000 (22:07 -0000)]
2005-01-27 LLuis Sanchez Gual <lluis@novell.com>
* InstanceDescriptor.cs: Constructors don't need to be static.
svn path=/trunk/mcs/; revision=39665
Lluis Sanchez [Thu, 27 Jan 2005 22:07:20 +0000 (22:07 -0000)]
2005-01-27 LLuis Sanchez Gual <lluis@novell.com>
* DateTimeConverter.cs, CultureInfoConverter.cs, DecimalConverter.cs,
TimeSpanConverter.cs, GuidConverter.cs, EnumConverter.cs:
Implemented support for InstanceDescriptor.
svn path=/trunk/mcs/; revision=39664
Atsushi Eno [Thu, 27 Jan 2005 21:02:02 +0000 (21:02 -0000)]
2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
* DataView.cs :
Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
when the same value is being set.
Examined UpdateIndex() and marked FIXME where MS does not invoke it.
Removed unused OnColumnChanged().
Now store rowViewPool and reuse DataRowView objects.
Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
svn path=/trunk/mcs/; revision=39663
Lluis Sanchez [Thu, 27 Jan 2005 20:28:36 +0000 (20:28 -0000)]
2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
* MarginsConverter.cs: Implemented support for InstanceDescriptor.
svn path=/trunk/mcs/; revision=39661
Lluis Sanchez [Thu, 27 Jan 2005 20:28:17 +0000 (20:28 -0000)]
2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
* PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
SizeConverter.cs, ColorConverter.cs, FontConverter.cs
: Implemented support for InstanceDescriptor.
svn path=/trunk/mcs/; revision=39660
Atsushi Eno [Thu, 27 Jan 2005 18:46:58 +0000 (18:46 -0000)]
2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
* DataViewSettings.cs : no MonoTODO anymore.
* DataViewManager.cs : pass itself to new DataView() (new ctor).
* DataRowView.cs : GetHashCode() returns its Row's hash.
* DataTablePropertyDescriptor.cs : use new ctor().
* DataView.cs : added new ctor()s that accept DataViewManager.
svn path=/trunk/mcs/; revision=39657
Sebastien Pouliot [Thu, 27 Jan 2005 18:15:44 +0000 (18:15 -0000)]
2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
* Overlapped.cs: Added check for ControlPolicy and ControlEvidence for
Unsafe pack. Added MonoTODO for missing security stack propagation.
* Thread.cs: Add security checks for ControlThread.
* ThreadPool.cs: Added declarative security checks.
svn path=/trunk/mcs/; revision=39656
Sebastien Pouliot [Thu, 27 Jan 2005 17:54:57 +0000 (17:54 -0000)]
2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
* CodeAccessPermission.cs: Process Deny for empty PermissionSet (e.g.
an unrestricted permission set must deny all permissions).
* SecurityException.cs: Added missing HResult to NET_2_0 constructors.
Added securiy permissions for GrantedSet, RefusedSet and
PermissionState properties (to avoid leaking policy informations).
Make sure that ToString() always works.
* SecurityManager.cs: Remove outdated comments (now that the
declarative attributes are in place).
svn path=/trunk/mcs/; revision=39655
Zoltan Varga [Thu, 27 Jan 2005 15:48:17 +0000 (15:48 -0000)]
2005-01-27 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c (mono_handle_exception): Compute the stack trace
eagerly if it contains dynamic methods.
svn path=/trunk/mono/; revision=39650
Zoltan Varga [Thu, 27 Jan 2005 15:26:32 +0000 (15:26 -0000)]
2005-01-27 Zoltan Varga <vargaz@freemail.hu>
* Exception.cs: Compute stack trace on demand.
svn path=/trunk/mcs/; revision=39648
Zoltan Varga [Thu, 27 Jan 2005 15:25:40 +0000 (15:25 -0000)]
2005-01-27 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c (ves_icall_System_Exception_get_trace): New icall.
* mini-exceptions.c (mono_handle_exception): Avoid computing the stack
trace, it is now computed by an icall from trace_ips.
svn path=/trunk/mono/; revision=39647
Sebastien Pouliot [Thu, 27 Jan 2005 15:03:02 +0000 (15:03 -0000)]
2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
* FileNotFoundException.cs, FileLoadException.cs: Protect the fusion
(GAC) log from being disclosed unless code has ControlPolicy and
ControlEvidence. Added missing HResult value. Fixed Message property
to match MS results. Changed ToString to use a StringBuilder.
svn path=/trunk/mcs/; revision=39646
Jordi Mas i Hernandez [Thu, 27 Jan 2005 14:47:05 +0000 (14:47 -0000)]
combobox fixes
svn path=/trunk/mcs/; revision=39645
Zoltan Varga [Thu, 27 Jan 2005 14:38:54 +0000 (14:38 -0000)]
2005-01-27 Zoltan Varga <vargaz@freemail.hu>
* mini-exceptions.c: Fix a warning.
svn path=/trunk/mono/; revision=39644
Raja R Harinath [Thu, 27 Jan 2005 13:43:22 +0000 (13:43 -0000)]
Update attribute-handling to use the SimpleName/MemberAccess
mechanisms.
* cs-parser.jay (attribute): Pass in an expression to the
constructors of Attribute and GlobalAttribute.
* attribute.cs (Attribute): Take an expression for the name.
(Attribute.ResolvePossibleAttributeTypes): New. Resolves the
passed in attribute name expression.
(Attribute.CheckAttributeType): Use it.
* ecore.cs (FullNamedExpression.ResolveAsTypeStep): New.
* expression.cs (MemberAccess.ResolveAsTypeStep): Move body to ...
(MemberAccess.ResolveNamespaceOrType): ... here. Add 'silent'
argument to prevent error messages if the lookup fails.
svn path=/trunk/mcs/; revision=39643
Sebastien Pouliot [Thu, 27 Jan 2005 13:09:50 +0000 (13:09 -0000)]
2005-01-27 Sebastien Pouliot <sebastien@ximian.com>
* StackFrame.cs: Add path discovery permission check for GetFilename
method. Changed ToString to use a StringBuilder and report correctly
(i.e. without exception) if filename is restricted. Removed dead code
(Equals/GetHashCode).
* StackTrace.cs: Removed dead code (Equals/GetHashCode).
svn path=/trunk/mcs/; revision=39642
Marek Safar [Thu, 27 Jan 2005 12:44:47 +0000 (12:44 -0000)]
2005-01-27 Marek Safar <marek.safar@seznam.cz>
* test-339.cs: New test.
svn path=/trunk/mcs/; revision=39641
Paolo Molaro [Thu, 27 Jan 2005 12:30:00 +0000 (12:30 -0000)]
Thu Jan 27 13:38:34 CET 2005 Paolo Molaro <lupus@ximian.com>
* mini-exceptions.c: don't bother getting stack trace info if
it's not going to be used.
svn path=/trunk/mono/; revision=39640
Nick Drochak [Thu, 27 Jan 2005 12:01:50 +0000 (12:01 -0000)]
Flush
svn path=/trunk/mcs/; revision=39639
Nick Drochak [Thu, 27 Jan 2005 11:58:50 +0000 (11:58 -0000)]
2005-01-27 Nick Drochak <ndrochak@ieee.org>
* UInt64Test.cs: Identify tests better
svn path=/trunk/mcs/; revision=39638
Peter Dennis Bartok [Thu, 27 Jan 2005 11:28:47 +0000 (11:28 -0000)]
- Properly generates the LocationChanged event now, even for forms
svn path=/trunk/mcs/; revision=39637
Sureshkumar T [Thu, 27 Jan 2005 11:18:28 +0000 (11:18 -0000)]
2005-01-27 Sureshkumar T <tsureshkumar@novell.com>
* SqlCommand.cs (DeriveParameters): Change parameter name to
"procedure_name".
* SqlParameter.cs (SqlParameter (object [])) : call default
constructor to create Tds.Metaparameter.
fixes bug #63122.
svn path=/trunk/mcs/; revision=39636
Francisco Figueiredo Jr. [Thu, 27 Jan 2005 11:12:34 +0000 (11:12 -0000)]
2005-01-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Npgsql/NpgsqlParameter.cs,
Npgsql/NpgsqlConnection.cs,
Npgsql/NpgsqlCommand.cs,
Npgsql/NpgsqlParameterCollection.cs,
Makefile: Fixed problem when compiling Npgsql with Mono on windows with cygwin. Thanks Atsushi Enomoto(atsushi at ximian dot com) for heads up and Rafael Teixeira(monoman at gmail dot com) for fix.
svn path=/trunk/mcs/; revision=39635
Jordi Mas i Hernandez [Thu, 27 Jan 2005 10:30:33 +0000 (10:30 -0000)]
update project file
svn path=/trunk/mcs/; revision=39634
Jordi Mas i Hernandez [Thu, 27 Jan 2005 09:47:41 +0000 (09:47 -0000)]
connect LostFocus Event
svn path=/trunk/mcs/; revision=39633
Peter Dennis Bartok [Thu, 27 Jan 2005 09:38:03 +0000 (09:38 -0000)]
- NotifyIcon improvements
- Focus on startup bug fix
svn path=/trunk/mcs/; revision=39632
Raja R Harinath [Thu, 27 Jan 2005 09:21:05 +0000 (09:21 -0000)]
* Makefile.am (common_sources): Add ssapre-cee-ops.h and ssapre-mini-ops.h.
svn path=/trunk/mono/; revision=39630
Atsushi Eno [Thu, 27 Jan 2005 08:57:44 +0000 (08:57 -0000)]
2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
* DataViewTest.cs : added test for ListChanged.
* DataRowViewTest.cs : (ItemException) fixed test. It is now working.
svn path=/trunk/mcs/; revision=39629
Jackson Harper [Thu, 27 Jan 2005 08:48:10 +0000 (08:48 -0000)]
- On windows the tabs are not filled to right if the slider is
visible.
svn path=/trunk/mcs/; revision=39628
Atsushi Eno [Thu, 27 Jan 2005 08:38:05 +0000 (08:38 -0000)]
2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
* DataView.cs, DataRowView.cs : AddNew() should not add the row to table
(it is still detached). So handle those rows differntly.
CancelEdit(), EndEdit() and Delete() propagates those events to
DataView (and handle row collection).
Eliminate "throw new Exception()".
Don't catch all the exception thrown in ListChanged event.
* DataTable.cs : made RowSorter as internal and use it in DataView.
no need to pass DataRow[] to .ctor().
svn path=/trunk/mcs/; revision=39627
Marek Safar [Thu, 27 Jan 2005 08:36:01 +0000 (08:36 -0000)]
2005-01-27 Marek Safar <marek.safar@seznam.cz>
* expression.cs (Indirection): Implemented IVariable interface
to support indirection in AddressOf operator.
(PointerArithmetic.Emit): Add optimalization for case where
result can be precomputed.
svn path=/trunk/mcs/; revision=39626
Jackson Harper [Thu, 27 Jan 2005 08:30:05 +0000 (08:30 -0000)]
ChangeLog
svn path=/trunk/mcs/; revision=39625
Jackson Harper [Thu, 27 Jan 2005 08:29:47 +0000 (08:29 -0000)]
* TabControl.cs:
- Only invalidate the effected tabs when the
selected index changes. This reduces drawing and gets rid of some
flicker.
- Only refresh if the tabs need to be shifted, otherwise only
invalidate the slider button.
svn path=/trunk/mcs/; revision=39624
Jackson Harper [Thu, 27 Jan 2005 08:13:36 +0000 (08:13 -0000)]
* TabControl.cs: Only invalidate the effected tabs when the
selected index changes. This reduces drawing and gets rid of some
flicker.
svn path=/trunk/mcs/; revision=39623
Jackson Harper [Thu, 27 Jan 2005 08:06:14 +0000 (08:06 -0000)]
* TabControl.cs: Only refresh on mouseup if we are showing the
slider. Also only invalidate the button whose state has changed.
svn path=/trunk/mcs/; revision=39622
Atsushi Eno [Thu, 27 Jan 2005 05:18:19 +0000 (05:18 -0000)]
2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
* DataTable.cs : don't create DefaultView unless it is required. It
significantly improves performance. (i.e. DataView perf. is sick ;-)
svn path=/trunk/mcs/; revision=39621
Peter Dennis Bartok [Thu, 27 Jan 2005 01:24:02 +0000 (01:24 -0000)]
- Implemented NotifyIcon and required driver support
svn path=/trunk/mcs/; revision=39620
Jackson Harper [Thu, 27 Jan 2005 01:15:24 +0000 (01:15 -0000)]
* TabControl.cs: Space vertically layed out tabs properly.
svn path=/trunk/mcs/; revision=39619
Atsushi Eno [Thu, 27 Jan 2005 00:33:01 +0000 (00:33 -0000)]
2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
* DataViewSetting.cs,
DataViewSettingCollection.cs,
DataViewManager.cs : implemented basic members.
svn path=/trunk/mcs/; revision=39614
Peter Dennis Bartok [Wed, 26 Jan 2005 23:45:02 +0000 (23:45 -0000)]
- Fix for FormStartPosition not positioning the window properly
svn path=/trunk/mcs/; revision=39611