Zoltan Varga [Sun, 20 Feb 2005 18:18:13 +0000 (18:18 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* mini-ops.h inssel-amd64.brg cpu-amd64.md mini-amd64.c: Implement
some Interlocked functions as inline ops.
svn path=/trunk/mono/; revision=40951
Zoltan Varga [Sun, 20 Feb 2005 18:16:00 +0000 (18:16 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* InterlockedTest.cs: Enable 2.0 tests.
svn path=/trunk/mcs/; revision=40950
Zoltan Varga [Sun, 20 Feb 2005 18:14:57 +0000 (18:14 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* threads-types.h threads.c icall.c: Implement the net 2.0 interlocked
functions based on a patch by Luca Barbieri (luca.barbieri@gmail.com).
svn path=/trunk/mono/; revision=40949
Zoltan Varga [Sun, 20 Feb 2005 17:05:21 +0000 (17:05 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* InterlockedTest.cs: New file. Tests from
Luca Barbieri (luca.barbieri@gmail.com).
svn path=/trunk/mcs/; revision=40947
Zoltan Varga [Sun, 20 Feb 2005 17:04:37 +0000 (17:04 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* corlib_test.dll.sources: Add System.Threading.InterlockedTest.cs.
svn path=/trunk/mcs/; revision=40946
Zoltan Varga [Sun, 20 Feb 2005 17:03:42 +0000 (17:03 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* Interlocked.cs: Applied patch from Luca Barbieri (luca.barbieri@gmail.com). Add NET 2.0 methods.
svn path=/trunk/mcs/; revision=40945
Zoltan Varga [Sun, 20 Feb 2005 16:49:37 +0000 (16:49 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* mini.c (move_basic_block_to_end): Fix bug in last patch.
svn path=/trunk/mono/; revision=40944
Alexander Olk [Sun, 20 Feb 2005 14:57:21 +0000 (14:57 -0000)]
- BrightnessControl and ColorMatrixControl don't draw on a bitmap anymore (changed from PictureBox to Panel)
- Changed drawing for BaseColorControl
- Added basic support for handling inputs in the TextBoxes
svn path=/trunk/mcs/; revision=40941
Kazuki Oikawa [Sun, 20 Feb 2005 14:44:04 +0000 (14:44 -0000)]
2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
* IComparer.cs, IDictionary.cs: Corrected the wrong declaration.
svn path=/trunk/mcs/; revision=40938
Kazuki Oikawa [Sun, 20 Feb 2005 14:43:21 +0000 (14:43 -0000)]
2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
* Corrected the order of the fields and the methods.
* Added missing attributes.
svn path=/trunk/mcs/; revision=40937
Zoltan Varga [Sun, 20 Feb 2005 14:20:40 +0000 (14:20 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* mini.h (MonoBasicBlock): Reorganize fields a bit.
* mini-ops.h inssel.brg: Add OP_NOT_REACHED.
* mini.c: Add support for OP_NOT_TAKEN.
svn path=/trunk/mono/; revision=40936
Francisco Figueiredo Jr. [Sun, 20 Feb 2005 14:17:39 +0000 (14:17 -0000)]
2005-02-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Npgsql/NpgsqlCommand.cs: Fixed a problem when using prepare commands inside a transaction. Portal wasn't being released. We use the unnamed portal now. Thanks Marcin (marcin at floryan dot neostrada dot pl) for the heads up.
svn path=/trunk/mcs/; revision=40935
Zoltan Varga [Sun, 20 Feb 2005 14:16:51 +0000 (14:16 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* amd64/amd64-codegen.h (amd64_jump_code_size): Do not emit a rex.
svn path=/trunk/mono/; revision=40934
Zoltan Varga [Sun, 20 Feb 2005 14:15:52 +0000 (14:15 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (emit_thread_interrupt_checkpoint_call): Mark the bblock
containing the checkpoint call with NOT_TAKEN.
svn path=/trunk/mono/; revision=40933
Zoltan Varga [Sun, 20 Feb 2005 14:06:23 +0000 (14:06 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* cil-opcodes.xml opcode.def: Correct definition of mono_classconst and
add mono_not_taken which is used for branch prediction hints.
svn path=/trunk/mono/; revision=40931
Zoltan Varga [Sun, 20 Feb 2005 13:38:30 +0000 (13:38 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_get_managed_wrapper): Emit interrupt
checkpoint before pushing the arguments, so they won't have to be
spilled to stack.
svn path=/trunk/mono/; revision=40930
Zoltan Varga [Sun, 20 Feb 2005 13:36:48 +0000 (13:36 -0000)]
2005-02-20 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.h mini-amd64.c: Add support for passing/returning small
structures in registers for pinvoke wrappers.
* mini-amd64.c: Fix warnings.
svn path=/trunk/mono/; revision=40929
Daniel Morgan [Sun, 20 Feb 2005 12:04:57 +0000 (12:04 -0000)]
2005-02-20 Daniel Morgan <danielmorgan@verizon.net>
* System.Data.OracleClient/OracleCommand.cs: fix bug #72407
ExecuteNonQuery with a SELECT SQL statement caused an error
svn path=/trunk/mcs/; revision=40927
Daniel Morgan [Sun, 20 Feb 2005 10:52:16 +0000 (10:52 -0000)]
2005-02-20 Daniel Morgan <danielmorgan@verizon.net>
* System.Data.OracleClient/OracleDateTime.cs: modified -
added functions for converting the date format strings between
OracleDateTime and DateTime based on
the NLS_DATE_FORMAT on the Oracle server
* System.Data.OracleClient/OracleConnection.cs: implement
internal function GetNlsInfo to get NLS info from the Oracle server
for the session or environment. Also, implemented function
GetSessionNlsDateFormat to get Oracle's NLS_DATE_FORMAT string
* System.Data.OracleClient/OracleParameter.cs: for input parameters,
fixed setting the parameter value to DBNull.Value and fixed the
setting of a DateTime or OracleDateTime. Tried to fix CLOBs/BLOBs, but
it is still a TODO.
* Test/TestOracleClient.cs: updated the parameters test
* System.Data.OracleClient.Oci/OciHandle.cs: implement
internal function SetAttributeString
* System.Data.OracleClient.Oci/OciCalls.cs: add DllImport
OCIBindByNameBytes so byte array can be passed instead of IntPtr
for the value, add DllImport OCIDateTimeFromText,
and added DllImport for OCINlsGetInfo to get NLS info,
such as, NLS_DATE_FORMAT
* System.Data.OracleClient.Oci/OciAttributeType.cs: added
attribute for date format (not used)
* System.Data.OracleClient.Oci/OciNlsServiceType.cs: added new file
for an enum to hold NLS Service types which is to be used with GetNlsInfo()
in OracleConnection
* System.Data.OracleClient.dll.sources: added OciNlsServiceType.cs to
the build
svn path=/trunk/mcs/; revision=40926
Peter Dennis Bartok [Sun, 20 Feb 2005 10:43:14 +0000 (10:43 -0000)]
2005-02-20 Peter Bartok <pbartok@novell.com>
* Control.cs:
- Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
only process mnemonics on those)
- Fixed event sequence for key handling; first calling
ProcessKeyEventArgs now
* TextBoxBase.cs:
- Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
for processing non-character keys
- Fixed WM_CHAR to generate proper event sequence before processing
* XplatUIWin32.cs: Added ALT key state to ModifierKeys property
generation
svn path=/trunk/mcs/; revision=40925
Nick Drochak [Sun, 20 Feb 2005 09:01:40 +0000 (09:01 -0000)]
Flush
svn path=/trunk/mcs/; revision=40924
Nick Drochak [Sun, 20 Feb 2005 08:56:43 +0000 (08:56 -0000)]
2005-02-20 Nick Drochak <ndrochak@ieee.org>
* SoapServicesTest.cs: Make test work on cygwin again. Order in which
tests are run can make a difference.
svn path=/trunk/mcs/; revision=40922
Peter Dennis Bartok [Sun, 20 Feb 2005 01:40:28 +0000 (01:40 -0000)]
2005-02-19 Peter Bartok <pbartok@novell.com>
* UserControl.cs: Added TextChanged event; added attributes
* SizeGrip.cs: Implemented resizing and optional display of grip
* Form.cs: Fixed attribute
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
Changed meaning of ScrollWindow bool argument; instead of the
clear attribute (which will be true usually anyway), it gives the
option of moving child controls as well.
* XplatUIX11.cs:
- Changed to match new ScrollWindow argument
- Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
now handles the implicit parent window a WM puts around us
* ScrollableControl.cs: Implemented (not the prettiest, but it seems
to work)
* TextBoxBase.cs: Adjusted to new ScrollWindow arguments
* TreeView.cs: Adjusted to new ScrollWindow arguments
svn path=/trunk/mcs/; revision=40918
Jordi Mas i Hernandez [Sat, 19 Feb 2005 21:33:54 +0000 (21:33 -0000)]
2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
* Form.cs: Menu integration with non-client area
* MenuItem.cs: Menu integration with non-client area
* MenuAPI.cs: Menu integration with non-client area
svn path=/trunk/mcs/; revision=40914
Zoltan Varga [Sat, 19 Feb 2005 19:19:38 +0000 (19:19 -0000)]
2005-02-19 Zoltan Varga <vargaz@freemail.hu>
* mini.h (MonoCompile): Add 'ret_var_is_local' field.
* mini.h mini.c (mono_arch_create_vars): Add new arch specific hook.
* mini.c (NEW_RETLOADA): If the ret variable is a local, use its
address instead of loading the address from it.
* mini-x86.c: Add support for returning small structs in registers
on Win32. Fixes part of #70864.
svn path=/trunk/mono/; revision=40912
Zoltan Varga [Sat, 19 Feb 2005 19:18:30 +0000 (19:18 -0000)]
2005-02-19 <vargaz@freemail.hu>
* pinvoke3.cs libtest.c: Add more small struct tests.
svn path=/trunk/mono/; revision=40911
Ben Maurer [Sat, 19 Feb 2005 16:25:06 +0000 (16:25 -0000)]
2005-02-19 Ben Maurer <bmaurer@ximian.com>
* RandomTest.cs (NextDouble): Disable. See comment.
svn path=/trunk/mcs/; revision=40910
Miguel de Icaza [Sat, 19 Feb 2005 16:03:29 +0000 (16:03 -0000)]
2005-02-19 Miguel de Icaza <miguel@novell.com>
* MsPrjHelper.cs, MdPrjHelper.cs: Escape path names, as they might
contain empty spaces in the path.
svn path=/trunk/mcs/; revision=40909
Paolo Molaro [Sat, 19 Feb 2005 14:04:48 +0000 (14:04 -0000)]
Missing const bit.
svn path=/trunk/mono/; revision=40908
Paolo Molaro [Sat, 19 Feb 2005 14:02:40 +0000 (14:02 -0000)]
Sat Feb 19 15:19:46 CET 2005 Paolo Molaro <lupus@ximian.com>
* domain.c, assembly.c, domain-internals.h: make some data
const and relocation-free.
svn path=/trunk/mono/; revision=40907
Kazuki Oikawa [Sat, 19 Feb 2005 11:43:59 +0000 (11:43 -0000)]
2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
* Array.cs: Reverse the order in the Equals calls.
svn path=/trunk/mcs/; revision=40906
Kazuki Oikawa [Sat, 19 Feb 2005 11:42:05 +0000 (11:42 -0000)]
2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
* SortedList.cs, Stack.cs: Reverse the order in the Equals calls.
svn path=/trunk/mcs/; revision=40905
Alexander Olk [Sat, 19 Feb 2005 10:57:12 +0000 (10:57 -0000)]
ColorComboBox added, needs a lot of love...
svn path=/trunk/mcs/; revision=40904
Paolo Molaro [Sat, 19 Feb 2005 09:56:54 +0000 (09:56 -0000)]
Sat Feb 19 11:12:34 CET 2005 Paolo Molaro <lupus@ximian.com>
* object.c, appdomain.c, class-internals.h: introduce the
MonoClassRuntimeInfo structure to hold the info needed to
use a class at runtime. Made mono_class_vtable() lock-free
for all the appdomains.
svn path=/trunk/mono/; revision=40903
Paolo Molaro [Sat, 19 Feb 2005 09:54:08 +0000 (09:54 -0000)]
Sat Feb 19 11:11:12 CET 2005 Paolo Molaro <lupus@ximian.com>
* metadata-internals.h, image.c: introduce a per-image mempool to
be used for memory that has the same lifetime as the image.
svn path=/trunk/mono/; revision=40902
Ben Maurer [Sat, 19 Feb 2005 03:24:35 +0000 (03:24 -0000)]
typo
svn path=/trunk/mcs/; revision=40901
Ben Maurer [Sat, 19 Feb 2005 02:02:23 +0000 (02:02 -0000)]
avoid writing stuff to the assembly dir. use the temp folder
svn path=/trunk/mcs/; revision=40900
Peter Dennis Bartok [Sat, 19 Feb 2005 00:21:34 +0000 (00:21 -0000)]
- Added several missing enums and classes
svn path=/trunk/mcs/; revision=40899
Gonzalo Paniagua Javier [Fri, 18 Feb 2005 23:31:08 +0000 (23:31 -0000)]
2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* io.c: another leftover.
svn path=/trunk/mono/; revision=40898
Zoltan Varga [Fri, 18 Feb 2005 21:23:03 +0000 (21:23 -0000)]
2005-02-18 Zoltan Varga <vargaz@freemail.hu>
* pinvoke3.cs libtest.c: Add tests for passing and returning small
structs from delegates. Currently fails on windows.
svn path=/trunk/mono/; revision=40893
Lluis Sanchez [Fri, 18 Feb 2005 20:39:12 +0000 (20:39 -0000)]
2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
* System.Web.dll.sources: New file:
System.Web.UI.WebControls/CollectionDataSource.cs
svn path=/trunk/mcs/; revision=40889
Lluis Sanchez [Fri, 18 Feb 2005 20:38:49 +0000 (20:38 -0000)]
2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
* HtmlHead.cs: Method name fix.
svn path=/trunk/mcs/; revision=40888
Lluis Sanchez [Fri, 18 Feb 2005 20:38:29 +0000 (20:38 -0000)]
2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
* Style.cs: Method name fix.
* HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
* BaseCompareValidator.cs: Method signature fix.
* CollectionDataSource.cs: Implemented DataSource wrapper for collections.
* BaseDataList.cs, Repeater.cs: Fixed data binding code.
* BulletedList.cs: Added missing method.
* DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
svn path=/trunk/mcs/; revision=40887
Lluis Sanchez [Fri, 18 Feb 2005 20:38:10 +0000 (20:38 -0000)]
2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
* Page.cs: Implemented missing events.
svn path=/trunk/mcs/; revision=40886
Peter Dennis Bartok [Fri, 18 Feb 2005 20:36:20 +0000 (20:36 -0000)]
2005-02-18 Peter Bartok <pbartok@novell.com>
* XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
* Form.cs: Added handling for Menu-related Non-client messages
svn path=/trunk/mcs/; revision=40885
Gonzalo Paniagua Javier [Fri, 18 Feb 2005 20:01:10 +0000 (20:01 -0000)]
2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs: send the calculated content length even when it's 0.
Fixes bug #72655.
svn path=/trunk/mcs/; revision=40880
Lluis Sanchez [Fri, 18 Feb 2005 18:50:05 +0000 (18:50 -0000)]
2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
* domain.c: In mono_init_internal(), instead of selecting the first
runtime version supported by an executable, get a list of all
supported versions and select the one for which an mscorlib exists
(since even if the runtime supports a given version, it doesn't mean
that the framework for that version is installed).
Modified get_runtimes_from_exe to support this behavior.
In supported_runtimes, added information about additional system
assembly versions.
* assembly.c: Added support for more than one system assembly version
per runtime version. Updated the assembly list.
In mono_assembly_remap_version, removed the initial version check,
since we don't know to which version we need to compare until we
get the version set on which the assembly is based.
Moved the code for loading corlib into the new method
mono_assembly_load_corlib(), so it can be used by the initialization
code.
* domain-internals.h: Updated data structures and added declaration
for mono_assembly_load_corlib.
svn path=/trunk/mono/; revision=40877
Zoltan Varga [Fri, 18 Feb 2005 18:39:30 +0000 (18:39 -0000)]
2005-02-18 Zoltan Varga <vargaz@freemail.hu>
* trace.c (get_token): Improve error checking.
svn path=/trunk/mono/; revision=40875
Miguel de Icaza [Fri, 18 Feb 2005 18:06:02 +0000 (18:06 -0000)]
Update
svn path=/trunk/mono/; revision=40873
Miguel de Icaza [Fri, 18 Feb 2005 18:04:40 +0000 (18:04 -0000)]
Set default
svn path=/trunk/mcs/; revision=40872
Ben Maurer [Fri, 18 Feb 2005 17:55:53 +0000 (17:55 -0000)]
0 failures here. YAY
svn path=/trunk/mcs/; revision=40871
Marek Safar [Fri, 18 Feb 2005 17:46:59 +0000 (17:46 -0000)]
2005-02-18 Marek Safar <marek.safar@seznam.cz>
* test-349.cs: New test.
svn path=/trunk/mcs/; revision=40870
Marek Safar [Fri, 18 Feb 2005 17:08:54 +0000 (17:08 -0000)]
2005-02-18 Marek Safar <marek.safar@seznam.cz>
* class.cs (EmitFieldInitializers): Don't emit field initializer
for default values when optimilization is on.
* constant.cs (Constant.IsDefaultValue): New property.
* driver.cs: Add /optimize handling.
* constant.cs,
* ecore.cs,
* literal.cs: Implement new IsDefaultValue property.
* rootcontext.cs (Optimize): New field, holds /optimize option.
svn path=/trunk/mcs/; revision=40869
Ritvik Mayank [Fri, 18 Feb 2005 16:59:26 +0000 (16:59 -0000)]
* Removed DefaultAttr*.vb - all were replicas of DefaultProp*.vb
2005-02-18 Ritvik Mayank <mritvik@novell.com>
svn path=/trunk/mcs/; revision=40867
Paolo Molaro [Fri, 18 Feb 2005 16:20:37 +0000 (16:20 -0000)]
Fri Feb 18 17:37:29 CET 2005 Paolo Molaro <lupus@ximian.com>
* io.c: fixed logic in checking errno in rev 40815.
svn path=/trunk/mono/; revision=40866
Atsushi Eno [Fri, 18 Feb 2005 16:17:37 +0000 (16:17 -0000)]
2005-02-18 Atsushi Enomoto <atsushi@ximian.com>
* XslCopy.cs, XslCopyOf.cs : copy namespace nodes in the
transformation input == not limited to "local" namespace nodes.
svn path=/trunk/mcs/; revision=40865
Zoltan Varga [Fri, 18 Feb 2005 16:09:12 +0000 (16:09 -0000)]
2005-02-18 Zoltan Varga <vargaz@freemail.hu>
* Exception.cs (StackTrace): Implement this in managed code since it is
needed by CAS. Fixes #72146.
svn path=/trunk/mcs/; revision=40864
Paolo Molaro [Fri, 18 Feb 2005 14:50:44 +0000 (14:50 -0000)]
Fri Feb 18 16:00:29 CET 2005 Paolo Molaro <lupus@ximian.com>
* threads.c: we don't depend on the GC checking tls
slots anymore.
* processes.c: remove unused ref to GC headers.
svn path=/trunk/mono/; revision=40863
Raja R Harinath [Fri, 18 Feb 2005 14:39:32 +0000 (14:39 -0000)]
Fix crasher in re-opened #72347.
* namespace.cs (Namespace.Lookup): Return null if
DeclSpace.DefineType returns null.
svn path=/trunk/mcs/; revision=40862
Raja R Harinath [Fri, 18 Feb 2005 14:02:52 +0000 (14:02 -0000)]
remove stray newline.
svn path=/trunk/mcs/; revision=40861
Raja R Harinath [Fri, 18 Feb 2005 13:42:55 +0000 (13:42 -0000)]
Fix #72678.
* mcs/expression.cs (Argument.Resolve): Handle a case of CS0120 here.
* errors/cs0120-5.cs: New test from #72678.
svn path=/trunk/mcs/; revision=40860
Satya Sudha K [Fri, 18 Feb 2005 13:26:33 +0000 (13:26 -0000)]
Fixed a bug w.r.t operations involving enum and other types.
svn path=/trunk/mcs/; revision=40859
Ritvik Mayank [Fri, 18 Feb 2005 13:25:38 +0000 (13:25 -0000)]
2005-02-18 Ritvik Mayank <mritvik@novell.com>
* Throwing the Error Message with System.Exception for all the Conversion Tests
svn path=/trunk/mcs/; revision=40858
Ritvik Mayank [Fri, 18 Feb 2005 12:36:23 +0000 (12:36 -0000)]
2005-02-18 Ritvik Mayank <mritvik@novell.com>
* removed some replicated test cases
svn path=/trunk/mcs/; revision=40856
Raja R Harinath [Fri, 18 Feb 2005 11:43:51 +0000 (11:43 -0000)]
* cs0131-3.cs: New test from #63202.
svn path=/trunk/mcs/; revision=40855
Raja R Harinath [Fri, 18 Feb 2005 10:39:35 +0000 (10:39 -0000)]
* Makefile (TEST_HARNESS_EXTRAS): Add test-74.cs.
svn path=/trunk/mcs/; revision=40852
Raja R Harinath [Fri, 18 Feb 2005 10:23:38 +0000 (10:23 -0000)]
* AssemblyInfo.cs [BOOTSTRAP_WITH_OLDLIB]: Disable SecurityPermission.
mcs 1.1.2 has trouble with this.
svn path=/trunk/mcs/; revision=40851
Raja R Harinath [Fri, 18 Feb 2005 09:54:12 +0000 (09:54 -0000)]
Fix remainder of #63202. Change semantics of DoResolveLValue: it
now returns null if it cannot resolve to an lvalue.
* ecore.cs (Expression.DoResolveLValue): Return 'null' by default.
(Expression.ResolveLValue): Emit CS0131 error if DoResolveLValue
returned null. Remove check for SimpleName.
(EventExpr.DoResolveLValue): New.
* iterators.cs (Iterator.FieldExpression.DoResolveLValue): New.
* expression.cs (Argument.Error_LValueRequired): New. Move CS1510
error from ...
(Argument.Resolve): ... here. Use it. Use DoResolveLValue to
avoid CS0131 error.
(Unary.ResolveOperator): Move CS0211 check ...
(Unary.DoResolve): ... here. Use DoResolveLValue to avoid
CS0131 error.
(Unary.DoResolveLValue): Simplify.
(AddressOf.DoResolveLValue): New.
(ArrayAccess.DoResolveLValue): New.
svn path=/trunk/mcs/; revision=40848
Satya Sudha K [Fri, 18 Feb 2005 09:46:27 +0000 (09:46 -0000)]
* ecore.cs :
Modified Implicit Constant conversions to :
* Handle Long/Float/Double Constants also
* Throw a compile time error if constant cannot be converted to a specified type
(as with vbc)
* assign.cs :
* expression.cs :
Widening Enum constants to constants of underlying type
before doing the conversions
* cfold.cs :
Added support for exponentiation operator for constants
* enum.cs : Allowing double values to be specified as enum values
svn path=/trunk/mcs/; revision=40847
Raja R Harinath [Fri, 18 Feb 2005 08:11:52 +0000 (08:11 -0000)]
* Makefile (EXTRA_DISTFILES): Distribute all *.resx and *.resources.prebuilt.
svn path=/trunk/mcs/; revision=40846
Atsushi Eno [Fri, 18 Feb 2005 08:11:22 +0000 (08:11 -0000)]
2004-02-18 Atsushi Enomoto <atsushi@ximian.com>
* Expression.cs : string() function expects "Infinity" and "-Infinity"
instead of "INF" for conversion from number. XmlConvert is for XSD,
not for XSLT.
svn path=/trunk/mcs/; revision=40845
Atsushi Eno [Fri, 18 Feb 2005 06:37:45 +0000 (06:37 -0000)]
2005-02-18 Atsushi Enomoto <atsushi@ximian.com>
* BUGS-MS.txt : more bug records.
svn path=/trunk/mcs/; revision=40843
Atsushi Eno [Fri, 18 Feb 2005 06:24:10 +0000 (06:24 -0000)]
2005-02-18 Atsushi Enomoto <atsushi@ximian.com>
* XmlNamespaceManager.cs : Prefix "xml" is bound to the fixed
namespace "http://www.w3.org/XML/1998/namespace", but it is not
vice versa (i.e. we can use other prefixes for this namespace URI).
svn path=/trunk/mcs/; revision=40842
Peter Dennis Bartok [Fri, 18 Feb 2005 04:11:58 +0000 (04:11 -0000)]
- Fixed visibility
svn path=/trunk/mcs/; revision=40841
Peter Dennis Bartok [Fri, 18 Feb 2005 04:11:30 +0000 (04:11 -0000)]
- Added missing attributes and organized into regions
svn path=/trunk/mcs/; revision=40840
Ben Maurer [Fri, 18 Feb 2005 04:06:05 +0000 (04:06 -0000)]
more failing tests
svn path=/trunk/mcs/; revision=40839
Gonzalo Paniagua Javier [Fri, 18 Feb 2005 00:54:05 +0000 (00:54 -0000)]
more
svn path=/trunk/mcs/; revision=40837
Gonzalo Paniagua Javier [Thu, 17 Feb 2005 22:42:20 +0000 (22:42 -0000)]
build fix
svn path=/trunk/mcs/; revision=40835
Atsushi Eno [Thu, 17 Feb 2005 22:11:11 +0000 (22:11 -0000)]
2005-02-17 Atsushi Enomoto <atsushi@ximian.com>
* XslNumber.cs : maybe I had better explain why I needed own Round().
svn path=/trunk/mcs/; revision=40833
Atsushi Eno [Thu, 17 Feb 2005 21:55:04 +0000 (21:55 -0000)]
2005-02-17 Atsushi Enomoto <atsushi@ximian.com>
* BUGS-MS.txt : added MS bug information.
svn path=/trunk/mcs/; revision=40832
Atsushi Eno [Thu, 17 Feb 2005 21:54:04 +0000 (21:54 -0000)]
2005-02-17 Atsushi Enomoto <atsushi@ximian.com>
* XslNumber.cs : We must round double value before formatting it as
alphabets or roman numbers.
svn path=/trunk/mcs/; revision=40831
Peter Dennis Bartok [Thu, 17 Feb 2005 21:41:37 +0000 (21:41 -0000)]
2005-02-17 Peter Bartok <pbartok@novell.com>
* UpDownBase.cs: Fixed typo, compilation errors
* DomainUpDown.cs: Fixed attribute value
svn path=/trunk/mcs/; revision=40828
Miguel de Icaza [Thu, 17 Feb 2005 21:29:47 +0000 (21:29 -0000)]
2005-02-16 Miguel de Icaza <miguel@novell.com>
* UpDownBase.cs: Attach entry events.
Propagate events.
Add ForeColor property, Focused, InterceptArrowKeys (interception
does not work yet).
svn path=/trunk/mcs/; revision=40826
Zoltan Varga [Thu, 17 Feb 2005 20:47:21 +0000 (20:47 -0000)]
2005-02-17 Zoltan Varga <vargaz@freemail.hu>
* jit-icalls.c (mono_ldvirtfn): Explicitly check for a NULL obj here.
svn path=/trunk/mono/; revision=40822
Zoltan Varga [Thu, 17 Feb 2005 20:36:32 +0000 (20:36 -0000)]
2005-02-17 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (resolve_object): Fix the creation of the signature in
the SignatureHelper case.
svn path=/trunk/mono/; revision=40821
Gonzalo Paniagua Javier [Thu, 17 Feb 2005 19:18:41 +0000 (19:18 -0000)]
oops
svn path=/trunk/mcs/; revision=40819
Zoltan Varga [Thu, 17 Feb 2005 19:13:11 +0000 (19:13 -0000)]
2005-02-17 Zoltan Varga <vargaz@freemail.hu>
* assembly.c (mono_assembly_remap_version): Fix binary search.
svn path=/trunk/mono/; revision=40818
Paolo Molaro [Thu, 17 Feb 2005 18:44:34 +0000 (18:44 -0000)]
Added test case.
svn path=/trunk/mcs/; revision=40817
Paolo Molaro [Thu, 17 Feb 2005 18:41:34 +0000 (18:41 -0000)]
Thu Feb 17 19:57:11 CET 2005 Paolo Molaro <lupus@ximian.com>
* io.c: remove _wapi_thread_cur_apc_pending () checks
when the siscall should return immediatly and handle
the case when a syscall is interrupted without
erroring out, but returning a 0 read/write if possible.
Still the cases of read from file need to be handled.
svn path=/trunk/mono/; revision=40816
Gonzalo Paniagua Javier [Thu, 17 Feb 2005 17:50:46 +0000 (17:50 -0000)]
2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.dll.sources: new files.
* System.Web.UI/BoundPropertyEntry.cs:
* System.Web.UI/PropertyEntry.cs:
* System.Web.UI/TwoWayBoundPropertyEntry.cs: implemented.
* System.Web.Compilation/ExpressionBuilderContext.cs:
* System.Web.Compilation/ExpressionBuilder.cs: implemented.
svn path=/trunk/mcs/; revision=40815
Gonzalo Paniagua Javier [Thu, 17 Feb 2005 17:46:55 +0000 (17:46 -0000)]
2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.dll.sources: added CodeDomConfigurationHandler.
* System.CodeDom.Compiler/CodeDomProvider.cs: implemented IsDefined* and
GetCompilerInfo.
* System.CodeDom.Compiler/CompilerInfo.cs: implemented.
* System.CodeDom.Compiler/CodeDomConfigurationHandler.cs: system.codedom
section reader.
svn path=/trunk/mcs/; revision=40814
Dick Porter [Thu, 17 Feb 2005 16:24:20 +0000 (16:24 -0000)]
Add an explanatory comment about ftruncate.
svn path=/trunk/mono/; revision=40813
Sebastien Pouliot [Thu, 17 Feb 2005 16:23:59 +0000 (16:23 -0000)]
2005-02-17 Sebastien Pouliot <sebastien@ximian.com>
* mini.h: Moved MONO_EXCEPTION_* enum to metadata/class-internals.h so
it can be reused for MonoClass.
* mini.c: Renamed MONO_EXCEPTION_SECURITY to MONO_EXCEPTION_SECURITY
_LINKDEMAND.
svn path=/trunk/mono/; revision=40812
Sebastien Pouliot [Thu, 17 Feb 2005 16:23:48 +0000 (16:23 -0000)]
2005-02-17 Sebastien Pouliot <sebastien@ximian.com>
* class.c: Added inheritance check when a method is overloaded (from a
virtual method or when implementing an interface) and when a class is
inherited. Added functions to set a failure for a class and to
retreive the exception from a failure.
* class-internals.h: Added fields to MonoClass to keep the exception
information status for inheritance (or other exceptions) to be thrown
later (i.e. not at load time).
* object.c: Throw the inheritance SecurityException when a type is to
be created with either class or method inheritance violations.
* reflection.c|h: Fix when getting declsec from a class. Removed
unrequired code for class. Improved sanity in parameter naming.
* security-manager.c|h: Added functions to check for class and method
inheritance.
svn path=/trunk/mono/; revision=40811
Jordi Mas i Hernandez [Thu, 17 Feb 2005 15:29:33 +0000 (15:29 -0000)]
menu fixes
svn path=/trunk/mcs/; revision=40808
Atsushi Eno [Thu, 17 Feb 2005 13:52:01 +0000 (13:52 -0000)]
2005-02-17 Atsushi Enomoto <atsushi@ximian.com>
* Outputter.cs,
TextOutputter.cs,
GenericOutputter.cs : removed WriteStartDocument(), WriteEndDocument()
and WriteState. Writing XML declaration is done inside
DetermineOutputMethod().
* ManagedXslTransform.cs : no need to write XML declaration here.
svn path=/trunk/mcs/; revision=40807
Zoltan Varga [Thu, 17 Feb 2005 12:51:09 +0000 (12:51 -0000)]
2005-02-17 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (mono_reflection_create_runtime_class): Set has_cctor
and has_finalize in dynamic types as well.
svn path=/trunk/mono/; revision=40806
Peter Dennis Bartok [Thu, 17 Feb 2005 11:16:31 +0000 (11:16 -0000)]
- Sigh. I forgot to save the fixed file before checkin.
svn path=/trunk/mcs/; revision=40804
Manjula GHM [Thu, 17 Feb 2005 11:15:42 +0000 (11:15 -0000)]
Support relational operator for other types
svn path=/trunk/mcs/; revision=40803
Manjula GHM [Thu, 17 Feb 2005 11:14:02 +0000 (11:14 -0000)]
Test cases for Relational operators
svn path=/trunk/mcs/; revision=40802