mono.git
21 years agoGo back to the external libgc until this is properly tested.
Paolo Molaro [Mon, 9 Jun 2003 14:50:31 +0000 (14:50 -0000)]
Go back to the external libgc until this is properly tested.

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

21 years agoSmall touch ups
Miguel de Icaza [Mon, 9 Jun 2003 13:50:36 +0000 (13:50 -0000)]
Small touch ups

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

21 years agofixed typo, implementation added
Aleksey Ryabchuk [Mon, 9 Jun 2003 13:34:53 +0000 (13:34 -0000)]
fixed typo, implementation added

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

21 years agojit/Makefile is no more.
Paolo Molaro [Mon, 9 Jun 2003 13:00:26 +0000 (13:00 -0000)]
jit/Makefile is no more.

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

21 years ago2003-06-09 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Mon, 9 Jun 2003 10:03:25 +0000 (10:03 -0000)]
2003-06-09  Ville Palo <vi64pa@kolumbus.fi>

* FileStream.cs:
- removed unusefull bugfix (DirectoryNotFoundException)
- Flush before seek.

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

21 years agofixed issues breaking the build
Aleksey Ryabchuk [Mon, 9 Jun 2003 09:21:08 +0000 (09:21 -0000)]
fixed issues breaking the build

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

21 years ago2003-06-09 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Mon, 9 Jun 2003 08:50:20 +0000 (08:50 -0000)]
2003-06-09  Ville Palo <vi64pa@kolumbus.fi>

* FileStream.cs: Check buffer size before append/read -exceptios

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

21 years ago2003-06-09 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Mon, 9 Jun 2003 08:02:51 +0000 (08:02 -0000)]
2003-06-09  Ville Palo <vi64pa@kolumbus.fi>

* FileStream.cs: Check DirectoryNotFound before FileNotFound.

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

21 years ago2003-06-09 Dennis Hayes <dennish@raytek.com>
Dennis Hayes [Mon, 9 Jun 2003 07:38:51 +0000 (07:38 -0000)]
2003-06-09 Dennis Hayes <dennish@raytek.com>
for Gopal V <gopalv82@symonds.net>
* MonthCalendar.cs
* AxHost.cs
Fixed overrides

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

21 years agoAdded SymbolTable and IdentificationTable
César Natarén [Mon, 9 Jun 2003 07:29:50 +0000 (07:29 -0000)]
Added SymbolTable and IdentificationTable

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

21 years agoAdded Semantic Analyzer stub
César Natarén [Mon, 9 Jun 2003 07:22:11 +0000 (07:22 -0000)]
Added Semantic Analyzer stub

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

21 years agoAdded some new files to unix.args (see ChangeLog entry)
César Natarén [Mon, 9 Jun 2003 07:02:40 +0000 (07:02 -0000)]
Added some new files to unix.args (see ChangeLog entry)

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

21 years ago2003-06-09 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Mon, 9 Jun 2003 06:48:35 +0000 (06:48 -0000)]
2003-06-09  Ville Palo <vi64pa@kolumbus.fi>

* FileStream.cs: Does not anymore flush while writing

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

21 years agoAdded FormalParameterList class
César Natarén [Mon, 9 Jun 2003 06:43:23 +0000 (06:43 -0000)]
Added FormalParameterList class

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

21 years agoAdded VariableStatement class
César Natarén [Mon, 9 Jun 2003 06:41:01 +0000 (06:41 -0000)]
Added VariableStatement class

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

21 years agoAdded Statement class (logical representation of an Ecmascript statement
César Natarén [Mon, 9 Jun 2003 06:39:09 +0000 (06:39 -0000)]
Added Statement class (logical representation of an Ecmascript statement

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

21 years ago2003-06-09 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 9 Jun 2003 06:37:54 +0000 (06:37 -0000)]
2003-06-09  Duncan Mak  <duncan@ximian.com>

* Array.cs: Revert the last revert. I fixed it.

Here's a lesson: only commit the patches that you're absolutely
sure about. See, I committed 3 changes below, the Sort change
being the last one, and I was the least confident with it. But I
committed them all anyway. Big mistake.

So here we go again:

(Sort): Put a try-catch block around qsort, and wrap whatever
Exception we get into a InvalidOperationException.

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

21 years agoAdded VariableDeclaration AST representation
César Natarén [Mon, 9 Jun 2003 06:35:19 +0000 (06:35 -0000)]
Added VariableDeclaration AST representation

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

21 years agoAdded Visitor interface
César Natarén [Mon, 9 Jun 2003 06:32:36 +0000 (06:32 -0000)]
Added Visitor interface

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

21 years agoreflect changes on grammar file
César Natarén [Mon, 9 Jun 2003 06:26:57 +0000 (06:26 -0000)]
reflect changes on grammar file

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

21 years agoAdded some instructions to build the AST of a program (for testing).
César Natarén [Mon, 9 Jun 2003 06:25:58 +0000 (06:25 -0000)]
Added some instructions to build the AST of a program (for testing).

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

21 years agoAdded AST support for program, source_element, statement, variable_statement, variabl...
César Natarén [Mon, 9 Jun 2003 06:19:42 +0000 (06:19 -0000)]
Added AST support for program, source_element, statement, variable_statement, variable_declaration (and dependencies), function_declaration (and dependencies)

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

21 years agoAdded abstract Visit method, for Semantic Analysis
César Natarén [Mon, 9 Jun 2003 06:16:16 +0000 (06:16 -0000)]
Added abstract Visit method, for Semantic Analysis

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

21 years agoAdded Visit method, for Semantic Analysis
César Natarén [Mon, 9 Jun 2003 06:13:59 +0000 (06:13 -0000)]
Added Visit method, for Semantic Analysis

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

21 years agoheader style correction
César Natarén [Mon, 9 Jun 2003 06:08:04 +0000 (06:08 -0000)]
header style correction

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

21 years agoadded Visit method for Semantic Analysis
César Natarén [Mon, 9 Jun 2003 06:06:45 +0000 (06:06 -0000)]
added Visit method for Semantic Analysis

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

21 years agoadded initial support for Semantic Analysis
César Natarén [Mon, 9 Jun 2003 06:03:45 +0000 (06:03 -0000)]
added initial support for Semantic Analysis

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

21 years agoadded initial support for Semantic Analysis
César Natarén [Mon, 9 Jun 2003 05:45:10 +0000 (05:45 -0000)]
added initial support for Semantic Analysis

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

21 years ago * EventDef.cs: Only add one method for addon, fire, other, and
Jackson Harper [Mon, 9 Jun 2003 02:58:45 +0000 (02:58 -0000)]
    * EventDef.cs: Only add one method for addon, fire, other, and
removeon

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

21 years ago * Array.cs: Revert last patch, it broke some other functionality.
Jackson Harper [Mon, 9 Jun 2003 02:07:52 +0000 (02:07 -0000)]
    * Array.cs: Revert last patch, it broke some other functionality.

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

21 years ago * AssemblyInfo.cs: Bump version number up (way up) lots of
Jackson Harper [Mon, 9 Jun 2003 01:28:59 +0000 (01:28 -0000)]
    * AssemblyInfo.cs: Bump version number up (way up) lots of
features have been implemented since last version.

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

21 years agoAnother test.
Jackson Harper [Mon, 9 Jun 2003 01:26:11 +0000 (01:26 -0000)]
Another test.

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

21 years ago * ILParser.jay: Implement properties
Jackson Harper [Mon, 9 Jun 2003 01:25:21 +0000 (01:25 -0000)]
    * ILParser.jay: Implement properties

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

21 years agoAdd property def to build
Jackson Harper [Mon, 9 Jun 2003 01:23:45 +0000 (01:23 -0000)]
Add property def to build

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

21 years ago * TypeDef.cs: Add properties to types.
Jackson Harper [Mon, 9 Jun 2003 01:23:12 +0000 (01:23 -0000)]
* TypeDef.cs: Add properties to types.
* PropertyDef.cs: New file - Implementation of a type property feature

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

21 years ago2003-06-08 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 9 Jun 2003 01:13:29 +0000 (01:13 -0000)]
2003-06-08  Duncan Mak  <duncan@ximian.com>

* Array.cs: Throw more exceptions. This fixes the errors we see
from the Rotor testsuite.

(CreateInstance): Throw ArgumentNullException when the input are
null. Throw ArgumentOutOfRangeException when bounds + length is
greater than Int32.MaxValue.
(LastIndexOf): Throw ArgumentOutOfRangeException if index is outside
the valid range of indices of array.
(Sort): Throw InvalidOperationException when comparer is null and
none of the elements in keys implements IComparable.

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

21 years agoOops, wrong format.
Ben Maurer [Mon, 9 Jun 2003 00:43:28 +0000 (00:43 -0000)]
Oops, wrong format.

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

21 years ago2003-06-08 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 9 Jun 2003 00:41:39 +0000 (00:41 -0000)]
2003-06-08  Ben Maurer <bmaurer@users.sourceforge.net>
* StringCollection.cs: Rewrote. Now uses ArrayList. Fixes up quite
a few Rotor bugs.
* ArrayList.cs, Hashtable.cs, SortedList.cs: Enumerator fixes, error
checking
We are now passing 37% of the System.Collections.* tests that were failing!

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

21 years ago * TypeDef.cs: Fix silly null reference bug.
Jackson Harper [Sun, 8 Jun 2003 23:32:35 +0000 (23:32 -0000)]
* TypeDef.cs: Fix silly null reference bug.

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

21 years agoMore tests
Jackson Harper [Sun, 8 Jun 2003 23:25:34 +0000 (23:25 -0000)]
More tests

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

21 years ago * ILParser.jay: Add generic type parameters to types. Implement events.
Jackson Harper [Sun, 8 Jun 2003 23:23:57 +0000 (23:23 -0000)]
    * ILParser.jay: Add generic type parameters to types. Implement events.

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

21 years agoAdd eventdefs and feature attrs to build
Jackson Harper [Sun, 8 Jun 2003 23:23:13 +0000 (23:23 -0000)]
Add eventdefs and feature attrs to build

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

21 years ago * EventDef.cs: New file - An event definition.
Jackson Harper [Sun, 8 Jun 2003 23:22:26 +0000 (23:22 -0000)]
* EventDef.cs: New file - An event definition.
* FeatureAttr.cs: New file - Attributes for features (events and
properties)
* MethodRef.cs: Only resolve methods once.
* TypeDef.cs: Allow Events to be added to types. Also add
functionality to add generic type parameters to types. The
actually emission of these type parameters is commented out untill
I commit my patches to PEAPI and work out the syntax of constraints.

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

21 years agoOoops, this was wrong since we already include libgc.la in libmonoutils.la.
Martin Baulig [Sun, 8 Jun 2003 20:26:50 +0000 (20:26 -0000)]
Ooops, this was wrong since we already include libgc.la in libmonoutils.la.

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

21 years ago2003-06-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 8 Jun 2003 20:10:01 +0000 (20:10 -0000)]
2003-06-08  Martin Baulig  <martin@ximian.com>

* configure.in: Tell libgc's configure about our threads library.

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

21 years ago2003-06-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 8 Jun 2003 19:54:30 +0000 (19:54 -0000)]
2003-06-08  Martin Baulig  <martin@ximian.com>

* libgc/: Integrate the libgc module here.

[Note: A simple `cvs update' won't work this time; you either need
to re-checkout the `mono' module or manually move the `libgc'
module here.]

* configure.in (--with-gc): Added `included' option to use the
included libgc.  This is now also the default.
(LIBGC_CFLAGS, LIBGC_LIBS): Put the libgc stuff here and AC_SUBST it.
(INCLUDED_LIBGC): New automake conditional.
(USE_INCLUDED_LIBGC): #define this if appropriate.

* autogen.sh: Run libgc/autogen.sh.

* Makefile.am (SUBDIRS): Added libgc.

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

21 years ago(CreateInstance): Throw a TypeLoadException if the
Duncan Mak [Sun, 8 Jun 2003 19:25:55 +0000 (19:25 -0000)]
(CreateInstance): Throw a TypeLoadException if the
Length of the input array 'lengths' is greater than 255 so that we
won't see the g_assert that is in mono_array_class_get in class.c.

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

21 years ago2003-06-08 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Sun, 8 Jun 2003 15:59:52 +0000 (15:59 -0000)]
2003-06-08  Ville Palo <vi64pa@kolumbus.fi>

* BinaryWriterTest.cs:
* BinaryReaderTest.cs:
* DirectoryTest.cs:
* FileTest.cs: now works with ms.net, clean ups, nunit2, ...

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

21 years agoThis compiled ok with mcs. Preparing bugreport.
Gonzalo Paniagua Javier [Sun, 8 Jun 2003 13:53:02 +0000 (13:53 -0000)]
This compiled ok with mcs. Preparing bugreport.

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

21 years ago2003-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 8 Jun 2003 13:47:28 +0000 (13:47 -0000)]
2003-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
is known not to respond to that.

* ServicePoint.cs: added SendContinue property.

* WebConnection.cs: only wait 2 seconds for a continue reply. If it
timeouts, set SendContinue to false and proceeed sending data.

* WebConnectionStream.cs: if 100-continue is not received and instead we
get a 417 or anything else, don't send the data.

* WebClient.cs: implemented all missing properties and methods except
UploadFile.

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

21 years ago2003-06-07 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 7 Jun 2003 18:55:38 +0000 (18:55 -0000)]
2003-06-07  Ben Maurer <bmaurer@users.sourceforge.net>
* Stack.cs: Contains (null) works correctly. We never have the
array sized less than 16, so that the doubling logic works no
matter what. The enumerator is IClonable, like in ms. The
Enumerator correctly throws an exception if Current is called
before the enumerator is started. We now pass all the Rotor tests
for this file!

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

21 years ago2003-06-07 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 7 Jun 2003 17:07:25 +0000 (17:07 -0000)]
2003-06-07  Ben Maurer <bmaurer@users.sourceforge.net>
* Stack.cs: Contains (null) works correctly.
* StackTest.cs: Added test for Contains (null)

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

21 years ago- ReDim() was added
Marco Ridoni [Sat, 7 Jun 2003 13:31:19 +0000 (13:31 -0000)]
- ReDim() was added
- Throw was added
- Multi-line statements partly implemented (still choking on some constructs)
- Fixed line continuation character ('_')
- Fixed Mod operator
- New runtime conversion (String -> CharArray) supported
- Array declaration code was completely rewritten to allow for expressions
  to be used in a declaration
- Many sparse grammar fixes
- Started work to make the resolver case-insensitive (partially working)

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

21 years ago2003-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 7 Jun 2003 12:25:45 +0000 (12:25 -0000)]
2003-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Stack.cs: fixed Clone ().

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

21 years agoDockStyle.None & AnchorStyles
Alexandre Pigolkine [Sat, 7 Jun 2003 07:44:39 +0000 (07:44 -0000)]
DockStyle.None & AnchorStyles

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

21 years agosample added
Alexandre Pigolkine [Fri, 6 Jun 2003 22:02:48 +0000 (22:02 -0000)]
sample added

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

21 years agostubs for Save functions
Alexandre Pigolkine [Fri, 6 Jun 2003 21:59:11 +0000 (21:59 -0000)]
stubs for Save functions

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

21 years agodeclare Save functions
Alexandre Pigolkine [Fri, 6 Jun 2003 21:58:22 +0000 (21:58 -0000)]
declare Save functions

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

21 years agocall implementation
Alexandre Pigolkine [Fri, 6 Jun 2003 21:57:12 +0000 (21:57 -0000)]
call implementation

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

21 years agofiles added
Alexandre Pigolkine [Fri, 6 Jun 2003 21:54:52 +0000 (21:54 -0000)]
files added

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

21 years agofirst version
Alexandre Pigolkine [Fri, 6 Jun 2003 21:49:59 +0000 (21:49 -0000)]
first version

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

21 years agoFri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Jun 2003 17:22:19 +0000 (17:22 -0000)]
Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mono-logger.h, mono-logger.c, Makefile.am: added
selective logging code by Jerome Laban <jlaban@wanadoo.fr>.

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

21 years agostarted implementation of scrollbar classes
Aleksey Ryabchuk [Fri, 6 Jun 2003 16:18:01 +0000 (16:18 -0000)]
started implementation of scrollbar classes

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

21 years ago2003-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 Jun 2003 16:15:21 +0000 (16:15 -0000)]
2003-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list.unix: added files.

* System.Net/FileWebRequestCreator.cs: splitted from WebRequest.
* System.Net/HttpRequestCreator.cs: splitted fromWebRequest.
* System.Net/WebRequest.cs: added methods that are used by the new
configuration handler to set prefix/type name requests creators.

* System.Net.Configuration/WebRequestModuleHandler.cs: handles
system.net/webRequestModules configuration section.

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

21 years ago2003-05-28 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 6 Jun 2003 15:20:31 +0000 (15:20 -0000)]
2003-05-28  Dietmar Maurer  <dietmar@ximian.com>

* mini.c (mini_select_instructions): add explicit branch if the
following block is not the false target of a conditional branch -
we need this with any optimization that reorder or remove bblocks

* mini.c (optimize_branches): bug fixes

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

21 years ago * Form.cs : MaximumSize, MinimumSize, TopMost were implemented, small fixes...
Aleksey Ryabchuk [Fri, 6 Jun 2003 15:09:27 +0000 (15:09 -0000)]
    * Form.cs : MaximumSize, MinimumSize, TopMost were implemented, small fixes and improvements
* win32Structs.cs: WINDOWPOS structure

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

21 years ago2003-06-06 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 6 Jun 2003 13:05:31 +0000 (13:05 -0000)]
2003-06-06  Dietmar Maurer  <dietmar@ximian.com>

* mini.c (mono_method_to_ir): inline static readonly fields

* ssa.c (fold_tree): start cfold support for long (very simple
cases only)

* cfold.c (mono_constant_fold_inst): opt. CEE_CONV_I8 (OP_ICONST)

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

21 years ago2003-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 6 Jun 2003 10:13:32 +0000 (10:13 -0000)]
2003-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WaitHandle.cs: checks and exceptions.

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

21 years agoFri Jun 6 11:41:18 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 6 Jun 2003 09:49:59 +0000 (09:49 -0000)]
Fri Jun 6 11:41:18 CEST 2003 Paolo Molaro <lupus@ximian.com>

* inssel.brg: fixed memcpy (bug #44219).

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

21 years agocsc complained about this
Gonzalo Paniagua Javier [Fri, 6 Jun 2003 08:22:31 +0000 (08:22 -0000)]
csc complained about this

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

21 years agoadded authentionModules and defaultProxy sections
Gonzalo Paniagua Javier [Fri, 6 Jun 2003 07:00:57 +0000 (07:00 -0000)]
added authentionModules and defaultProxy sections

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

21 years agoCrap. Forgot to restore the original timeout value. I knew it was gonna happen.
Gonzalo Paniagua Javier [Fri, 6 Jun 2003 06:58:56 +0000 (06:58 -0000)]
Crap. Forgot to restore the original timeout value. I knew it was gonna happen.

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

21 years ago Reworked HttpWebRequest and related classes.
Gonzalo Paniagua Javier [Fri, 6 Jun 2003 06:57:36 +0000 (06:57 -0000)]
Reworked HttpWebRequest and related classes.

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

21 years ago(Requires): Add libxml2 and libxslt dependency on
Duncan Mak [Fri, 6 Jun 2003 03:16:13 +0000 (03:16 -0000)]
(Requires): Add libxml2 and libxslt dependency on
the package.

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

21 years ago2003-06-05 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 5 Jun 2003 21:03:19 +0000 (21:03 -0000)]
2003-06-05  Dick Porter  <dick@ximian.com>

* driver.c: Set the glib log levels to not abort if g_message
recurses.

g_set_prgname() has to happen before mini_init() so that the
process handle gets the info.

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

21 years ago2003-06-05 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 5 Jun 2003 21:02:47 +0000 (21:02 -0000)]
2003-06-05  Dick Porter  <dick@ximian.com>

* hps.c:
* shmdel.c:
* scratch.c: Update to new api

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

21 years ago2003-06-05 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 5 Jun 2003 21:02:19 +0000 (21:02 -0000)]
2003-06-05  Dick Porter  <dick@ximian.com>

* processes.c (process_set_current): Don't do an expensive handle
search at application startup, check the environment to see if the
process handle has already been created.

* io.c: Don't do an expensive handle search when creating stdin,
stdout and stderr handles, just create them all the first time one
is requested.

* wapi-private.h:
* shared.c:
* shared.h:
* handles.c:
* handles-private.h:
* daemon-messages.h:
* daemon-private.h:
* daemon.c: Support for "unlimited" number of handles and scratch
data.

Speed up application startup by passing process handle in the
environment, rather than let the app scan all handles (which gets
really slow when there are more than a few thousand to check.)

Initialise some structs passed to syscalls, noticed by valgrind.

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

21 years agoduh.
Paolo Molaro [Thu, 5 Jun 2003 19:49:16 +0000 (19:49 -0000)]
duh.

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

21 years agoThu Jun 5 20:18:55 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 5 Jun 2003 18:26:59 +0000 (18:26 -0000)]
Thu Jun 5 20:18:55 CEST 2003 Paolo Molaro <lupus@ximian.com>

* AssemblyBuilder.cs: implemented DefineResource ().

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

21 years agoThu Jun 5 20:11:29 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 5 Jun 2003 18:19:45 +0000 (18:19 -0000)]
Thu Jun 5 20:11:29 CEST 2003 Paolo Molaro <lupus@ximian.com>

* driver.c: add intrins to the default optimizations to get wider
exposure.

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

21 years ago * added System.Xml.Serialization/ReflectionHelper.cs to list.unix
Lluis Sanchez [Thu, 5 Jun 2003 18:19:18 +0000 (18:19 -0000)]
* added System.Xml.Serialization/ReflectionHelper.cs to list.unix

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

21 years ago * Methods.cs: added support for encoded format
Lluis Sanchez [Thu, 5 Jun 2003 18:18:50 +0000 (18:18 -0000)]
* Methods.cs: added support for encoded format

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

21 years ago * XmlTextWriter.cs : Fixed bug. After calling for example WriteStartElement ("pref...
Lluis Sanchez [Thu, 5 Jun 2003 18:18:05 +0000 (18:18 -0000)]
* XmlTextWriter.cs : Fixed bug. After calling for example WriteStartElement ("pref","ln","ns");
  a call to LookupPrefix ("pref") when still writting attributes should
  return "ns", and it didn't.

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

21 years ago * SoapReflectionImporter.cs: implemented.
Lluis Sanchez [Thu, 5 Jun 2003 18:17:28 +0000 (18:17 -0000)]
* SoapReflectionImporter.cs: implemented.
* TypeTranslator.cs: added IsPrimitive() method
* TypeMapping.cs: Added RelatedMaps property that returns all maps directly or indirectly
  used by that one. Also added Format property, that can be literal or encoded.
* XmlReflectionImporter.cs: little fixes. Moved some methods to ReflectionHelper.
* XmlReflectionMember.cs: added constructor that accepts SoapAttributes
* XmlSerializationReader.cs: implemented many methods needed to support encoded format.
* XmlSerializationReaderInterpreter.cs: added support for encoded format.
* XmlSerializationWriter.cs: added support for encoded format.
* XmlSerializationWriterInterpreter.cs: added support for encoded format.
* XmlTypeMapElementInfo.cs: added some properties needed to support encoded format
* XmlTypeMapMemberAttribute.cs: added MappedType property (enum values can be attributes,
  and a map is needed for them).
* XmlTypeMapMemberElement.cs: small fixes.
* XmlTypeMapping.cs: added some properties and methods needed to support encoded format
* ReflectionHelper.cs: added. Has some methods shared by the reflection importers.

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

21 years agoBare-bones sample loadable profiler.
Paolo Molaro [Thu, 5 Jun 2003 18:08:01 +0000 (18:08 -0000)]
Bare-bones sample loadable profiler.

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

21 years agoThu Jun 5 19:51:49 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 5 Jun 2003 18:05:21 +0000 (18:05 -0000)]
Thu Jun 5 19:51:49 CEST 2003 Paolo Molaro <lupus@ximian.com>

* profiler.h, profiler.c: made the simple profiler thread-safe,
get more accurate timing info. Allow the loading of an
externally-developed profiler module.

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

21 years ago * Form.cs : ControlBox, HelpButton, MaximizeBox, MinimizeBox, maximumSize
Aleksey Ryabchuk [Thu, 5 Jun 2003 16:44:50 +0000 (16:44 -0000)]
    * Form.cs : ControlBox, HelpButton, MaximizeBox, MinimizeBox, maximumSize
* win32Structs.cs: MINMAXINFO structure

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

21 years ago2003-06-05 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 5 Jun 2003 14:41:13 +0000 (14:41 -0000)]
2003-06-05  Nick Drochak  <ndrochak@gol.com>

* UTF8Encoding.cs: Cleanups according to class status page

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

21 years ago2003-06-05 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 5 Jun 2003 14:36:29 +0000 (14:36 -0000)]
2003-06-05  Nick Drochak  <ndrochak@gol.com>

* UnitySerializataionHolder.cs: Cleanups according to class status page

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

21 years ago (mono_marshal_get_native_wrapper): better string marshaling support.
Dietmar Maurer [Thu, 5 Jun 2003 14:29:30 +0000 (14:29 -0000)]
(mono_marshal_get_native_wrapper): better string marshaling support.

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

21 years agoadd pinvoke14.cs
Dietmar Maurer [Thu, 5 Jun 2003 13:34:28 +0000 (13:34 -0000)]
add pinvoke14.cs

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

21 years ago2003-06-05 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 5 Jun 2003 13:24:27 +0000 (13:24 -0000)]
2003-06-05  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_marshal_get_native_wrapper): improved
class/byref arguments.

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

21 years agoThu Jun 5 12:36:34 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 5 Jun 2003 10:45:01 +0000 (10:45 -0000)]
Thu Jun 5 12:36:34 CEST 2003 Paolo Molaro <lupus@ximian.com>

* OpCode.cs: implemented Equals/GetHashCode.

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

21 years agomore tests
Dietmar Maurer [Thu, 5 Jun 2003 10:19:08 +0000 (10:19 -0000)]
more tests

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

21 years ago * ILParser.jay: Assembly and module names may have dashes in them
Jackson Harper [Thu, 5 Jun 2003 03:32:27 +0000 (03:32 -0000)]
    * ILParser.jay: Assembly and module names may have dashes in them
(like gtk-sharp.dll).

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

21 years ago2003-06-04 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 4 Jun 2003 22:29:05 +0000 (22:29 -0000)]
2003-06-04  Ben Maurer <bmaurer@users.sourceforge.net>
* DictionaryEntry.cs: Throw exception if key == null. Fixes Rotor
failures

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

21 years agoStatusBar control
Philip Van Hoof [Wed, 4 Jun 2003 18:56:22 +0000 (18:56 -0000)]
StatusBar control

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

21 years agoAdded a comment
Philip Van Hoof [Wed, 4 Jun 2003 18:42:46 +0000 (18:42 -0000)]
Added a comment

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

21 years agoPrepared everything to start working on the StatusBar-control in SWF/Gtk/
Philip Van Hoof [Wed, 4 Jun 2003 18:37:12 +0000 (18:37 -0000)]
Prepared everything to start working on the StatusBar-control in SWF/Gtk/

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

21 years ago (mono_arch_output_basic_block): fix bug 43499
Dietmar Maurer [Wed, 4 Jun 2003 17:58:49 +0000 (17:58 -0000)]
(mono_arch_output_basic_block): fix bug 43499

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