Miguel de Icaza [Tue, 29 Apr 2003 00:24:58 +0000 (00:24 -0000)]
update
svn path=/trunk/mono/; revision=14082
Miguel de Icaza [Mon, 28 Apr 2003 22:27:03 +0000 (22:27 -0000)]
More iterators update, almost there. Only parameter remapping is missing
2003-04-28 Miguel de Icaza <miguel@ximian.com>
* ecore.cs: (FieldExpr): Handle field remapping here.
* iteratators.cs: Pass the instance variable (if the method is an
instance method) to the constructors, so we can access the field
variables on the class.
TODO: Test this with structs. I think the THIS variable on
structs might have to be a pointer, and not a refenrece
svn path=/trunk/mcs/; revision=14081
Miguel de Icaza [Mon, 28 Apr 2003 21:33:59 +0000 (21:33 -0000)]
Updates
svn path=/trunk/mono/; revision=14080
Piers Haken [Mon, 28 Apr 2003 21:00:34 +0000 (21:00 -0000)]
2003-04-28 Piers Haken <piersh@friskit.com>
* Parser.jay, Tokenizer.cs: more compliant lexical parsing of ambiguous tokens
svn path=/trunk/mcs/; revision=14078
Gonzalo Paniagua Javier [Mon, 28 Apr 2003 18:31:18 +0000 (18:31 -0000)]
2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CodeGenerator.cs:
(GenerateSnippetStatement): use WriteLine instead of Write.
svn path=/trunk/mcs/; revision=14075
Alexandre Pigolkine [Mon, 28 Apr 2003 18:28:45 +0000 (18:28 -0000)]
small improvements
svn path=/trunk/mcs/; revision=14074
Gonzalo Paniagua Javier [Mon, 28 Apr 2003 17:19:09 +0000 (17:19 -0000)]
added /unsafe
svn path=/trunk/mcs/; revision=14073
Miguel de Icaza [Mon, 28 Apr 2003 16:54:18 +0000 (16:54 -0000)]
remove debugging message
svn path=/trunk/mcs/; revision=14072
Paolo Molaro [Mon, 28 Apr 2003 16:47:14 +0000 (16:47 -0000)]
Temporary workaround.
svn path=/trunk/mono/; revision=14071
Atsushi Eno [Mon, 28 Apr 2003 15:42:21 +0000 (15:42 -0000)]
2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlAttributeTests.cs : added WriteTo.
* XmlReaderCommonTests.cs,
XmlTextReader.cs : fixed ReadInnerXml (check correct position.)
Reverted EmptyElementWithStartAndEndTag, EmptyElementWithAttribute,
and StartAndEndTagWithAttribute to XmlTextReaderTests.cs (because
they requires IsEmptyElement = false, which is always true for
XmlNodeReader).
svn path=/trunk/mcs/; revision=14070
Atsushi Eno [Mon, 28 Apr 2003 15:40:54 +0000 (15:40 -0000)]
2003-04-29 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlElement.cs : fixed IsEmpty (removed private field isEmpty).
* XmlNodeReader.cs : Fixed AttributeCount, each this[] (indexers),
MoveTo*Attribute(),
Fixed this[] to work correctly against XmlDeclarations.
Fixed ReadInnerXml() and ReadOuterXml() to call Read() correctly.
(which may prevent validations etc.)
* XmlReader.cs,
XmlNodeReader.cs,
XmlTextReader.cs : Fixed ReadString() to be compliant with each
other.
* XmlTextReader.cs : ReadInnerXml() now moves to next node correctly.
svn path=/trunk/mcs/; revision=14069
Paolo Molaro [Mon, 28 Apr 2003 15:11:17 +0000 (15:11 -0000)]
Mon Apr 28 17:03:14 CEST 2003 Paolo Molaro <lupus@ximian.com>
* mini.c: moved most of the code required to do inlining to its own
function so it can be reused. Inline also ctors if appropriate.
svn path=/trunk/mono/; revision=14068
Gonzalo Paniagua Javier [Mon, 28 Apr 2003 13:16:47 +0000 (13:16 -0000)]
2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Enum.cs: reverted my previous patch.
svn path=/trunk/mcs/; revision=14067
Zoltan Varga [Mon, 28 Apr 2003 06:59:15 +0000 (06:59 -0000)]
2003-04-28 Zoltan Varga <vargaz@freemail.hu>
* Makefile.am: Link with -export-dynamic so shared libs loaded by
the runtime can call mono API functions.
svn path=/trunk/mono/; revision=14065
Zoltan Varga [Mon, 28 Apr 2003 06:53:18 +0000 (06:53 -0000)]
2003-04-28 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_Type_GetNestedType): Fixed warnings.
svn path=/trunk/mono/; revision=14064
Miguel de Icaza [Mon, 28 Apr 2003 02:31:11 +0000 (02:31 -0000)]
Bug fixes + support for locals in iterators. Only parameters are missing.
2003-04-27 Miguel de Icaza <miguel@ximian.com>
* codegen.cs (EmitContext.Mapvariable): Adds a mechanism to map
local variables to fields in a proxy class.
* iterators.cs (PopulateProxy): Rename our internal fields to
<XXX>.
Create a <THIS> field if we are an instance method, so we can
reference our parent container variables.
(MapVariable): Called back from the EmitContext code to enter a
new variable to field mapping into the proxy class (we just create
a FieldBuilder).
* expression.cs
(LocalVariableReference.{Emit,EmitAssign,AddressOf}): Add support
for using the remapped locals to fields.
I placed the code here, because that gives the same semantics to
local variables, and only changes the Emit code.
* statement.cs (Fixed.Resolve): it is not allowed to have fixed
statements inside iterators.
(VariableInfo): Add a FieldBuilder for the cases when we are
remapping local variables to fields in a proxy class
* ecore.cs (SimpleNameResolve): Avoid testing two times for
current_block != null.
* statement.cs (Swithc.SimpleSwitchEmit): Removed code that did
not cope with strings, as it has been moved to the
TableSwitchEmit. Fixed bug in switch generation.
svn path=/trunk/mcs/; revision=14063
Miguel de Icaza [Sun, 27 Apr 2003 20:30:22 +0000 (20:30 -0000)]
Forgot this file
svn path=/trunk/mcs/; revision=14062
Miguel de Icaza [Sun, 27 Apr 2003 20:29:44 +0000 (20:29 -0000)]
update faq
svn path=/trunk/mono/; revision=14061
Lluis Sanchez [Sun, 27 Apr 2003 20:15:54 +0000 (20:15 -0000)]
* TcpChannel.cs: The port property may not be an string. Fixed.
* TcpServerChannel.cs: Added some fixes by Jerome Laban. Implemented
some channel properties.
svn path=/trunk/mcs/; revision=14060
Gonzalo Paniagua Javier [Sun, 27 Apr 2003 18:28:27 +0000 (18:28 -0000)]
2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Makefile.am: added missing man pages.
* mini.1: moved to mono.1
* mono.1: moved to oldmono.1
* oldmono.1: new file.
svn path=/trunk/mono/; revision=14059
Martin Baulig [Sun, 27 Apr 2003 18:03:14 +0000 (18:03 -0000)]
Reflect latest changes in the debugging API.
svn path=/trunk/mono/; revision=14055
Martin Baulig [Sun, 27 Apr 2003 18:02:14 +0000 (18:02 -0000)]
2003-04-27 Martin Baulig <martin@ximian.com>
* debug-mini.c (mono_debug_init_method): Added
`guint32 breakpoint_id' argument; if the method has a breakpoint,
send a notification to the debugger.
* mini.c (mono_method_to_ir): Don't insert a breakpoint if we're
running in the Mono Debugger, just pass the breakpoint number to
mono_debug_init_method().
* tramp-x86.c, tramp-ppc.c: Removed the breakpoint trampolines.
svn path=/trunk/mono/; revision=14054
Martin Baulig [Sun, 27 Apr 2003 17:58:31 +0000 (17:58 -0000)]
Removed a G_BREAKPOINT() which was just there for debugging.
svn path=/trunk/mono/; revision=14053
Martin Baulig [Sun, 27 Apr 2003 17:58:09 +0000 (17:58 -0000)]
2003-04-27 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.h (MonoDebuggerEvent): Renamed
MONO_DEBUGGER_EVENT_BREAKPOINT_TRAMPOLINE to
MONO_DEBUGGER_EVENT_BREAKPOINT.
(mono_breakpoint_trampoline_code): Removed.
(mono_debugger_event_handler): The last argument is now a
`guint32'.
(mono_debugger_insert_breakpoint_full): Removed the
`use_trampoline' argument.
(mono_debugger_method_has_breakpoint): Likewise.
(mono_debugger_trampoline_breakpoint_callback): Renamed to
mono_debugger_breakpoint_callback(); take the method and
breakpoint number as arguments.
svn path=/trunk/mono/; revision=14052
Miguel de Icaza [Sun, 27 Apr 2003 17:53:30 +0000 (17:53 -0000)]
2003-04-27 Miguel de Icaza <miguel@ximian.com>
* expression.cs (New.DoResolve): Provide more context for the user
when reporting an error.
svn path=/trunk/mcs/; revision=14051
Miguel de Icaza [Sun, 27 Apr 2003 17:47:03 +0000 (17:47 -0000)]
2003-04-27 Miguel de Icaza <miguel@ximian.com>
* ecore.cs (Expression.LoadFromPtr): Use ldind_i when loading
svn path=/trunk/mcs/; revision=14050
Miguel de Icaza [Sun, 27 Apr 2003 17:07:38 +0000 (17:07 -0000)]
Fix to the make install on windows
svn path=/trunk/mcs/; revision=14049
Miguel de Icaza [Sun, 27 Apr 2003 17:04:34 +0000 (17:04 -0000)]
2003-04-27 Miguel de Icaza <miguel@ximian.com>
* expression.cs (MemberAccess.DoResolve): When we get a type back,
check the permissions for it. Note than in a type-resolution
context the check was already present in DeclSpace.ResolveType,
but was missing from the MemberAccess.
svn path=/trunk/mcs/; revision=14048
Miguel de Icaza [Sun, 27 Apr 2003 16:51:50 +0000 (16:51 -0000)]
2003-04-27 Miguel de Icaza <miguel@ximian.com>
* expression.cs (ArrayCreation.CheckIndices): warn if the user has
more nested levels of expressions, but there are no more
dimensions specified. Avoids crash on bug 41906.
svn path=/trunk/mcs/; revision=14047
Malte Hildingson [Sun, 27 Apr 2003 16:04:54 +0000 (16:04 -0000)]
* tramp.c (alloc_code_buff): posix memory protection.
(mono_create_trampoline): new string marshaling + minor fixes.
(mono_create_method_pointer): delegates fix.
svn path=/trunk/mono/; revision=14046
Zoltan Varga [Sun, 27 Apr 2003 15:40:26 +0000 (15:40 -0000)]
Added myself.
svn path=/trunk/mono/; revision=14045
Sergey Chaban [Sun, 27 Apr 2003 14:50:16 +0000 (14:50 -0000)]
arm-WMMX.h: initial WirelessMMX support for ARM codegen;
svn path=/trunk/mono/; revision=14044
Sergey Chaban [Sun, 27 Apr 2003 14:47:57 +0000 (14:47 -0000)]
* ARM codegen update;
svn path=/trunk/mono/; revision=14043
Zoltan Varga [Sun, 27 Apr 2003 13:56:23 +0000 (13:56 -0000)]
2003-04-27 Zoltan Varga <vargaz@freemail.hu>
* RuntimeHelpers.cs: Remove workaround for bug #41550 since it is fixed
now.
svn path=/trunk/mcs/; revision=14042
Gonzalo Paniagua Javier [Sun, 27 Apr 2003 12:27:13 +0000 (12:27 -0000)]
2003-04-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Enum.cs: fixed bug #41841.
svn path=/trunk/mcs/; revision=14041
Paolo Molaro [Sun, 27 Apr 2003 11:43:59 +0000 (11:43 -0000)]
Shut up cvs (from umuff@quark.com (Urs C. Muff)).
svn path=/trunk/mono/; revision=14040
Paolo Molaro [Sun, 27 Apr 2003 11:40:11 +0000 (11:40 -0000)]
Make the debugging output off by default.
svn path=/trunk/mono/; revision=14039
Paolo Molaro [Sun, 27 Apr 2003 11:35:36 +0000 (11:35 -0000)]
Sun Apr 27 13:27:59 CEST 2003 Paolo Molaro <lupus@ximian.com>
* interp.c: check for arraytypemismatch.
svn path=/trunk/mono/; revision=14038
Paolo Molaro [Sun, 27 Apr 2003 11:25:46 +0000 (11:25 -0000)]
Sun Apr 27 13:18:04 CEST 2003 Paolo Molaro <lupus@ximian.com>
* mini.c: allow some more unsafe compares.
svn path=/trunk/mono/; revision=14037
Gonzalo Paniagua Javier [Sun, 27 Apr 2003 11:18:46 +0000 (11:18 -0000)]
added RuntimeEnvironment.cs
svn path=/trunk/mcs/; revision=14036
Miguel de Icaza [Sun, 27 Apr 2003 08:05:04 +0000 (08:05 -0000)]
more updates
svn path=/trunk/mono/; revision=14035
Miguel de Icaza [Sun, 27 Apr 2003 07:38:01 +0000 (07:38 -0000)]
Update FAQ
svn path=/trunk/mono/; revision=14034
Pedro Martínez Juliá [Sun, 27 Apr 2003 02:24:20 +0000 (02:24 -0000)]
2003-04-27 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* XmlNode.cs: ensure to get a valid Uri in BaseUri when loading the
source document from a file.
svn path=/trunk/mcs/; revision=14033
Pedro Martínez Juliá [Sat, 26 Apr 2003 21:06:24 +0000 (21:06 -0000)]
2003-04-26 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
date formats. I think that it's needed support to auto-detect
DateTime format through PgSql server configuration.
svn path=/trunk/mcs/; revision=14032
Atsushi Eno [Sat, 26 Apr 2003 19:08:34 +0000 (19:08 -0000)]
2003-04-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlReaderCommonTests.cs,
XmlTextReaderTests.cs : Moved many tests to CommonTests.
svn path=/trunk/mcs/; revision=14031
Atsushi Eno [Sat, 26 Apr 2003 19:07:44 +0000 (19:07 -0000)]
2003-04-27 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlAttribute.cs : fixed WriteTo() and WriteContentTo() to write
content EntityReference correctly.
* XmlNodeReader.cs : many fix for EndElement handling (AttributeCount,
HasAttributes, indexers, MoveTo*Attribute() and Read() ).
Modified Skip() to call Read () explicitly.
* XmlTextReader.cs :
Fixed ReadInnerXml() which ignored EndElement token in certain cases.
Implemented MoveToAttribute (local, ns), and modified GetAttribute()
in relation to this change.
Attributes for XmlDeclaration are now correctly set.
* XmlTextWriter.cs : WriteRaw() is now different from WriteString().
Simplified WriteAttributes() for XmlDeclaration.
svn path=/trunk/mcs/; revision=14030
Miguel de Icaza [Sat, 26 Apr 2003 18:29:36 +0000 (18:29 -0000)]
Remove team
svn path=/trunk/mono/; revision=14029
Paolo Molaro [Sat, 26 Apr 2003 17:59:24 +0000 (17:59 -0000)]
Missing from earlier commit:-/
svn path=/trunk/mono/; revision=14028
Gonzalo Paniagua Javier [Sat, 26 Apr 2003 17:46:05 +0000 (17:46 -0000)]
2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ColorConverter.cs:
(ConvertFrom): return a system or named color if there's one that fits
teh values parsed with Color.FromArgb.
svn path=/trunk/mcs/; revision=14027
Paolo Molaro [Sat, 26 Apr 2003 17:33:21 +0000 (17:33 -0000)]
Sat Apr 26 19:25:31 CEST 2003 Paolo Molaro <lupus@ximian.com>
* metadata.c: fix off by one when loading parameters attributes.
svn path=/trunk/mono/; revision=14026
Gonzalo Paniagua Javier [Sat, 26 Apr 2003 16:59:05 +0000 (16:59 -0000)]
2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* MonoType.cs:
(GetPropertyImpl): handle BindingFlags.IgnoreCase.
svn path=/trunk/mcs/; revision=14025
Paolo Molaro [Sat, 26 Apr 2003 10:11:17 +0000 (10:11 -0000)]
Sat Apr 26 11:55:41 CEST 2003 Paolo Molaro <lupus@ximian.com>
* mini-x86.c, Makefile.am: make distcheck works (partially from
a patch by Richard Lee <r.h.lee@attbi.com>).
* regset.c, regset.h: removed, they are unused.
svn path=/trunk/mono/; revision=14024
Miguel de Icaza [Sat, 26 Apr 2003 06:21:19 +0000 (06:21 -0000)]
Small bug fix, to render better an acurrate error
svn path=/trunk/mcs/; revision=14023
Atsushi Eno [Sat, 26 Apr 2003 04:32:43 +0000 (04:32 -0000)]
2003-04-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlTextReader.cs : fixed ReadInnerXml(). it was inconsistent with
Depth property fix.
svn path=/trunk/mcs/; revision=14021
Miguel de Icaza [Sat, 26 Apr 2003 04:27:42 +0000 (04:27 -0000)]
2003-04-26 Miguel de Icaza <miguel@ximian.com>
* statement.cs (Block): replace Implicit bool, for a generic
flags.
New flag: `Unchecked'. This is used during the EmitMeta phase
(which is out-of-line with the regular Resolve/Emit process for a
statement, as this is done ahead of time, but still gets a chance
to call constant resolve).
(Block.Flags): new enum for adding a new flag.
(Block.EmitMeta): track the state of unchecked.
(Unchecked): Set the "UnChecked" flags on any blocks we enclose,
to enable constant resolution to work there as well.
svn path=/trunk/mcs/; revision=14020
Miguel de Icaza [Sat, 26 Apr 2003 04:26:12 +0000 (04:26 -0000)]
2003-04-26 Miguel de Icaza <miguel@ximian.com>
* XmlIncludeAttribute.cs: Make XmlIncludeAttribute have the
`AllowMultiple' flags.
svn path=/trunk/mcs/; revision=14019
Miguel de Icaza [Sat, 26 Apr 2003 04:07:17 +0000 (04:07 -0000)]
Add test
svn path=/trunk/mcs/; revision=14018
Alexandre Pigolkine [Sat, 26 Apr 2003 03:46:01 +0000 (03:46 -0000)]
list.unix modified
svn path=/trunk/mcs/; revision=14017
Alexandre Pigolkine [Sat, 26 Apr 2003 03:44:25 +0000 (03:44 -0000)]
some implementation added
svn path=/trunk/mcs/; revision=14016
Alexandre Pigolkine [Sat, 26 Apr 2003 03:37:46 +0000 (03:37 -0000)]
first checkin
svn path=/trunk/mcs/; revision=14015
Alexandre Pigolkine [Sat, 26 Apr 2003 03:34:52 +0000 (03:34 -0000)]
first implementation
svn path=/trunk/mcs/; revision=14014
Alexandre Pigolkine [Sat, 26 Apr 2003 03:32:37 +0000 (03:32 -0000)]
first checkin
svn path=/trunk/mcs/; revision=14013
Alexandre Pigolkine [Sat, 26 Apr 2003 03:27:49 +0000 (03:27 -0000)]
delegate function calls to implementation
svn path=/trunk/mcs/; revision=14012
Alexandre Pigolkine [Sat, 26 Apr 2003 03:08:23 +0000 (03:08 -0000)]
switch to Linux style line terminators
svn path=/trunk/mcs/; revision=14011
Alexandre Pigolkine [Sat, 26 Apr 2003 02:56:19 +0000 (02:56 -0000)]
GC stubs for Mini, EntryPoints for Win32 API
svn path=/trunk/mcs/; revision=14010
Gonzalo Paniagua Javier [Sat, 26 Apr 2003 02:09:15 +0000 (02:09 -0000)]
2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RuntimeEnvironment.cs: New file. Stubbed by Dominik Fretz
(roboto@gmx.net).
svn path=/trunk/mcs/; revision=14009
Miguel de Icaza [Sat, 26 Apr 2003 02:02:04 +0000 (02:02 -0000)]
Fix the build
svn path=/trunk/mcs/; revision=14008
Miguel de Icaza [Sat, 26 Apr 2003 01:59:49 +0000 (01:59 -0000)]
Begin
svn path=/trunk/mcs/; revision=14007
Miguel de Icaza [Sat, 26 Apr 2003 01:56:19 +0000 (01:56 -0000)]
2003-04-25 Miguel de Icaza <miguel@ximian.com>
* SystemInformation.cs (ComputerName): Implement this.
svn path=/trunk/mcs/; revision=14006
Aleksey Ryabchuk [Fri, 25 Apr 2003 16:19:02 +0000 (16:19 -0000)]
* Control.cs : check if control is already in control collection, Created property,
ControlCollection.RemoveAt reimplemented using ControlCollection.Remove
* TabControl.cs
* TabPage.cs : some more implementation
* win32structs.cs: TCITEMHEADER replaced with TCITEM
svn path=/trunk/mcs/; revision=14004
Gonzalo Paniagua Javier [Fri, 25 Apr 2003 16:16:49 +0000 (16:16 -0000)]
2003-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CodeEventReferenceExpression.cs: fixed typo that prevented event
name from being set.
svn path=/trunk/mcs/; revision=14003
Paolo Molaro [Fri, 25 Apr 2003 15:44:51 +0000 (15:44 -0000)]
Fixed warning.
svn path=/trunk/mono/; revision=14002
Paolo Molaro [Fri, 25 Apr 2003 15:12:27 +0000 (15:12 -0000)]
Add mini to the windows build, too.
svn path=/trunk/mono/; revision=14001
Ville Palo [Fri, 25 Apr 2003 14:12:05 +0000 (14:12 -0000)]
2003-04-25 Ville Palo <vi64pa@kolumbus.fi>
* FileTest.cs: more tests..
svn path=/trunk/mcs/; revision=14000
Dick Porter [Fri, 25 Apr 2003 12:07:28 +0000 (12:07 -0000)]
2003-04-25 Dick Porter <dick@ximian.com>
* driver.c: Usage reports the name as 'mono' not 'mini'
* exceptions-x86.c: Build and run on freebsd
svn path=/trunk/mono/; revision=13999
Dietmar Maurer [Fri, 25 Apr 2003 08:22:09 +0000 (08:22 -0000)]
another test
svn path=/trunk/mono/; revision=13998
Dietmar Maurer [Fri, 25 Apr 2003 07:51:23 +0000 (07:51 -0000)]
2003-04-25 Dietmar Maurer <dietmar@ximian.com>
* BinaryReader.cs (Read): make sure the buffer is big enough (fix
bug # 40702)
svn path=/trunk/mcs/; revision=13997
Atsushi Eno [Fri, 25 Apr 2003 03:17:46 +0000 (03:17 -0000)]
2003-04-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* added XmlReflectionImporterTests.cs : added. (by Erik)
svn path=/trunk/mcs/; revision=13996
Atsushi Eno [Fri, 25 Apr 2003 03:17:06 +0000 (03:17 -0000)]
2003-04-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlWriterTests.cs : added some WriteNode() related testcases.
svn path=/trunk/mcs/; revision=13995
Atsushi Eno [Fri, 25 Apr 2003 03:16:32 +0000 (03:16 -0000)]
2003-04-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* TypeTranslator.cs : patch by Erik LeBel. Array consideration.
* XmlReflectionImporter.cs : patch by Erik LeBel.
Now uses XmlRootAttribute to determine element name.
svn path=/trunk/mcs/; revision=13994
Atsushi Eno [Fri, 25 Apr 2003 03:15:33 +0000 (03:15 -0000)]
2003-04-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocument.cs : fixed Load() to set baseURI correctly.
* XmlReader.cs : patch by Gonzalo. Fixed not to skip XmlDeclaration.
* XmlTextReader.cs :
fixed Depth. When it's on StartElement, Depth was already incremented.
fixed private SaveProperty(), which moved away its saved properties
when MoveToElement was called repeatedly.
* XmlTextWriter.cs : fixed WriteQualifiedName() to close start tag.
* XmlWriter.cs :
WriteAttributes() refactory (for XMLDecl).
WriteNode() don't Read() when the reader is Initial state, let other
invokation to Read(). In case of Element, it should write entire
element. In case of Attribute, it shouldn't Read().
WriteStartDocument() should omit standalone decl. when there is no
explicit value.
svn path=/trunk/mcs/; revision=13993
Miguel de Icaza [Fri, 25 Apr 2003 01:22:41 +0000 (01:22 -0000)]
Add another test
svn path=/trunk/mcs/; revision=13992
Miguel de Icaza [Fri, 25 Apr 2003 01:21:59 +0000 (01:21 -0000)]
Support for iterators, part 1. The only missing functionality is the
remapping of parameters and local variables to proxy values. I have a
kludge, but will soon have the right thing.
Also a few bugs fixes that I did while implementing iterators.
To use iterators, you need to pass -v2 to the compiler
2003-04-22 Miguel de Icaza <miguel@ximian.com>
* typemanager.cs (ienumerable_type): Also look up
System.Collections.IEnumerable.
2003-04-21 Miguel de Icaza <miguel@ximian.com>
TODO: Test more than one conditional per method.
* class.cs (Indexer.Define): Report the location where the user is
referencing the unsupported feature.
(MethodData): Overload the use of `conditionals' to
minimize the creation of needless ArrayLists. This saves roughly
212kb on my machine.
(Method): Implement the new IIteratorContainer interface.
(Method.SetYields): Implement the method by setting the ModFlags
to contain METHOD_YIELDS.
* expression.cs (Unary.ResolveOperator): Use expr_type, not Expr,
which just got set to null.
* iterators.cs: New file.
(Yield, YieldBreak): New statements.
* statement.cs (Return.Resolve): Flag an error if we are used in
an iterator method.
* codegen.cs (InIterator): New flag set if the code is being
compiled in an iterator method.
* modifiers.cs: New flag METHOD_YIELDS. This modifier is an
internal modifier, and we just use it to avoid adding extra
fields, as this is seldom used.
* cs-parser.jay: Add yield_statement (yield and yield break).
* driver.cs: New flag -v2 to turn on version 2 features.
* cs-tokenizer.cs (Tokenizer): Add yield and __yield to the
hashtable when v2 is enabled.
svn path=/trunk/mcs/; revision=13991
Pedro Martínez Juliá [Fri, 25 Apr 2003 00:54:43 +0000 (00:54 -0000)]
2003-04-25 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* SqlEditorSharp.cs: Change: Glib -> GLib.
* sqlsharpgtk.cs: Correct method calls because they
changed in GTK#.
* makefile.gnu: Reference gdk-sharp in assembly list.
* FileSelectionDialog.cs: Update method calls (GTK#).
* DataGrid.cs: Fix a type of a variable.
svn path=/trunk/mcs/; revision=13990
Alp Toker [Fri, 25 Apr 2003 00:02:48 +0000 (00:02 -0000)]
2003-04-25 Alp Toker <alp@atoker.com>
* Initial release of cilc
svn path=/trunk/mcs/; revision=13989
Gonzalo Paniagua Javier [Thu, 24 Apr 2003 23:01:27 +0000 (23:01 -0000)]
2003-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Microsoft.CSharp/CSharpCodeGenerator.cs:
(QuoteSnippetString): add a few common escape sequences.
* System.CodeDom.Compiler/CodeGenerator.cs:
(GenerateCodePrimitive): special case strings and chars (bool was
already a special case). Throw an exception if the type is not a
primitive type.
svn path=/trunk/mcs/; revision=13987
Miguel de Icaza [Thu, 24 Apr 2003 22:50:29 +0000 (22:50 -0000)]
2003-04-24 Miguel de Icaza <miguel@ximian.com>
* WebClient.cs (DownloadData): Instead of using a MemoryStream,
keep track of all the small chunks in an ArrayList. The
MemoryStream had the property of reallocating itself, and the
problem was that MemoryStream.GetBuffer would return the buffer
(correctly), but not something of the right size. So clients of
DownloadData would get the extra unused bytes as part of the
result.
The solution would have been to make another copy at this point,
instead, we only keep the small allocations around in the
ArrayList, and we only do one large allocation at the end.
* HttpWebResponse.cs: If there is a Content-Length header, pass
this information to our HttpWebResponseStream, so it knows when to
stop, instead of waiting for the stream to be shut down by the
other end.
* HttpWebRequest.cs: Only set the `delay-header-writing' mode on
the underlying stream if the method will do a content transfer and
no Content-Length was provided. If not (HEAD and GET or
Content-Length provided), keep going.
svn path=/trunk/mcs/; revision=13986
Ville Palo [Thu, 24 Apr 2003 18:28:44 +0000 (18:28 -0000)]
2003-04-24 Ville Palo <vi64pa@kolumbus.fi>
* FileTest.cs: Fixed tests and added some.
svn path=/trunk/mcs/; revision=13983
Piers Haken [Thu, 24 Apr 2003 18:18:04 +0000 (18:18 -0000)]
gzip errors.txt
svn path=/trunk/mcs/; revision=13982
Paolo Molaro [Thu, 24 Apr 2003 17:12:47 +0000 (17:12 -0000)]
Fix compilation.
svn path=/trunk/mcs/; revision=13980
Aleksey Ryabchuk [Thu, 24 Apr 2003 16:28:54 +0000 (16:28 -0000)]
* Control.cs: change to CreateControlInstance function
* Panel.cs: use base CreateParams
* TabControl.cs
* TabPage : started implementing
* win32Enums.cs
* win32Structs.cs
* win32functions.cs : messages, styles for TabControl
svn path=/trunk/mcs/; revision=13979
Pedro Martínez Juliá [Thu, 24 Apr 2003 16:26:16 +0000 (16:26 -0000)]
2003-04-24 Pedro Martnez Juli <yoros@wanadoo.es>
* BufferedStream.cs: Test if it's possible to seek in a Stream
before access to Position. This prevents the exception thrown when
the stream is System.Net.Sockets.NetworkStream.
svn path=/trunk/mcs/; revision=13978
Paolo Molaro [Thu, 24 Apr 2003 15:18:47 +0000 (15:18 -0000)]
Thu Apr 24 17:11:03 CEST 2003 Paolo Molaro <lupus@ximian.com>
* Makefile.am: rename mono and libmono to oldmono and liboldmono.
svn path=/trunk/mono/; revision=13977
Paolo Molaro [Thu, 24 Apr 2003 15:17:40 +0000 (15:17 -0000)]
Thu Apr 24 17:09:03 CEST 2003 Paolo Molaro <lupus@ximian.com>
* Makefile.am: install the program with the 'mono' name and
the library as libmono instead of mini and libmini.
svn path=/trunk/mono/; revision=13976
Paolo Molaro [Thu, 24 Apr 2003 15:15:42 +0000 (15:15 -0000)]
Thu Apr 24 17:08:07 CEST 2003 Paolo Molaro <lupus@ximian.com>
* driver.c: provide the APIs for the embedding interface of the old jit.
svn path=/trunk/mono/; revision=13975
Martin Baulig [Thu, 24 Apr 2003 10:44:45 +0000 (10:44 -0000)]
Ooops, increment symfile->generation here.
svn path=/trunk/mono/; revision=13968
Martin Baulig [Thu, 24 Apr 2003 09:59:47 +0000 (09:59 -0000)]
2003-04-24 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.c (mono_debugger_io_layer): Put this back.
svn path=/trunk/mono/; revision=13965
Dietmar Maurer [Thu, 24 Apr 2003 09:16:28 +0000 (09:16 -0000)]
2003-04-23 Dietmar Maurer <dietmar@ximian.com>
* jit-icalls.c (helper_stelem_ref): impl. (fix bug 41775)
svn path=/trunk/mono/; revision=13963
Martin Baulig [Thu, 24 Apr 2003 08:00:17 +0000 (08:00 -0000)]
2003-04-24 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.c: Moved all code which interacts with the
Mono Debugger here.
* debug-mono-symfile.c: This code now just deals with the symbol
file itself, the debugger code is now in mono-debug-debugger.c.
svn path=/trunk/mono/; revision=13962
Gonzalo Paniagua Javier [Thu, 24 Apr 2003 06:42:42 +0000 (06:42 -0000)]
It's official: I gotta sleep
svn path=/trunk/mcs/; revision=13961