mono.git
15 years ago2008-09-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Sep 2008 01:50:25 +0000 (01:50 -0000)]
2008-09-11  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c ssa2.c mini.c mini-amd64.c decompose.c ssa.c abcremoval.c
abcremoval2.c branch-opts.c driver.c dominators.c: Disable parts of the
JIT if DISABLE_JIT is defined.

* Makefile.am: Avoid compiling/linking in inssel.c if DISABLE_JIT is
defined.

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

15 years ago2008-09-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Sep 2008 01:49:17 +0000 (01:49 -0000)]
2008-09-11  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add a DISABLE_JIT automake conditional too.

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

15 years ago2008-09-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 11 Sep 2008 01:40:21 +0000 (01:40 -0000)]
2008-09-11  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add a --enable-minimal=jit option to disable jit, only
allowing full-aot execution.

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

15 years agoOops
Miguel de Icaza [Wed, 10 Sep 2008 22:53:52 +0000 (22:53 -0000)]
Oops

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

15 years agoUpdate for csharp.exe command
Miguel de Icaza [Wed, 10 Sep 2008 22:43:40 +0000 (22:43 -0000)]
Update for csharp.exe command

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

15 years agoExpose the compiler Evaluation routine as a method,
Miguel de Icaza [Wed, 10 Sep 2008 22:43:07 +0000 (22:43 -0000)]
Expose the compiler Evaluation routine as a method,
move the REPL shell into a separate tool, the compiler
no longer has the shell.

2008-09-10  Miguel de Icaza  <miguel@novell.com>

* driver.cs: Drop --shell argument, the compiler is no longer a
REPL.

* eval.cs: Move most of the code that deals with evaluation into
this file and document the public API from repl.cs

* repl.cs: Remove from here.

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

15 years ago2008-09-10 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 10 Sep 2008 21:59:05 +0000 (21:59 -0000)]
2008-09-10  Bill Holmes  <billholmes54@gmail.com>

* process.c (complete_path) : Removing quotes from the
  input path.  The glib file routines do not handle file paths
  that have quotes around them.

Code is contributed under MIT/X11 license.

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

15 years ago2008-09-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 10 Sep 2008 21:19:53 +0000 (21:19 -0000)]
2008-09-10  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Add an internal field to force doublebuffering regardless
of what the public mechanisms are set to.  This is because MS's native
controls are doublebuffered even though their .Net bits are set to false.
* ProgressBar.cs: Set force_double_buffer to true.
[Fixes bug #406595]

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

15 years ago2008-09-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 10 Sep 2008 18:45:16 +0000 (18:45 -0000)]
2008-09-10  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCheckBoxColumn.cs: Use the threestate constructor for
the cell template.
* DataGridViewCheckBoxCell.cs: Add proper support for threestate.
* DataGridViewCell.cs: Implement GetEditedFormattedValue for types
without EditingControls, paint background selection for types without
EditingControls, reset the EditingCellValueChanged flag when the
cell's value is committed.
* DataGridView.cs: Make BeginEdit and EndEdit work with cells that don't
have EditingControls, remove a double call to a cell's OnContentClickInternal,
don't do cell changing logic in OnMouseDown if the cell didn't change.
[Fixes bug #420351]

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

15 years ago2008-09-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 10 Sep 2008 18:20:44 +0000 (18:20 -0000)]
2008-09-10  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Move the computation of export_ldflags after libtool has
been created.

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

15 years ago2008-09-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 10 Sep 2008 17:01:27 +0000 (17:01 -0000)]
2008-09-10  Mark Probst  <mark.probst@gmail.com>

* iltests.il.in: Disable the fconv test on PPC (the result is
undefined according to ECMA).

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

15 years agosimplify
Jb Evain [Wed, 10 Sep 2008 16:43:03 +0000 (16:43 -0000)]
simplify

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

15 years ago2008-09-10 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 10 Sep 2008 15:20:35 +0000 (15:20 -0000)]
2008-09-10  Bill Holmes  <billholmes54@gmail.com>

* Socket.cs : Adding a comment to provide locations where
  changes to MonoSocketAsyncResult need to be synced.

* Process.cs : Update the fields of ProcessAsyncReader to
  match MonoSocketAsyncResult metadata/socket-io.h

Code is contributed under MIT/X11 license.

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

15 years ago2008-09-10 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 10 Sep 2008 15:18:38 +0000 (15:18 -0000)]
2008-09-10  Bill Holmes  <billholmes54@gmail.com>

* socket-io.h : Adding a comment to provide locations where
  changes to MonoSocketAsyncResult need to be synced.

Code is contributed under MIT/X11 license.

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

15 years ago2008-09-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 10 Sep 2008 13:08:45 +0000 (13:08 -0000)]
2008-09-10  Zoltan Varga  <vargaz@gmail.com>

* marshal9.cs: Add test for #425001.

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

15 years ago2008-09-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 10 Sep 2008 13:07:25 +0000 (13:07 -0000)]
2008-09-10  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_custom): Call NativeToManaged for non-out
parameters as well. Fixes #425001.

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

15 years ago2008-09-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 10 Sep 2008 12:14:34 +0000 (12:14 -0000)]
2008-09-10  Mark Probst  <mark.probst@gmail.com>

* iltests.il.in: Enable tail call tests for PPC.

* mini.h: Add variable for storing incoming valuetype argument
addresses for tail calls.

* mini-ppc.c: Implement valuetype arguments and return values for
tailcalls on Linux.

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

15 years ago2008-09-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 10 Sep 2008 11:49:52 +0000 (11:49 -0000)]
2008-09-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DateTimePicker.cs: Fix the edition of am/pm specifier.

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

15 years agoNew test.
Marek Safar [Wed, 10 Sep 2008 10:42:53 +0000 (10:42 -0000)]
New test.

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

15 years ago2008-09-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Sep 2008 10:42:39 +0000 (10:42 -0000)]
2008-09-10  Marek Safar  <marek.safar@gmail.com>

A fix for bug #424684
* generic.cs: Generic class constraints must come first.

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

15 years ago2008-09-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 10 Sep 2008 10:14:39 +0000 (10:14 -0000)]
2008-09-10  Marek Safar  <marek.safar@gmail.com>

* compiler-tester.cs: Add non-varags LogLine overload.

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

15 years ago2008-09-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 10 Sep 2008 08:24:55 +0000 (08:24 -0000)]
2008-09-10  Atsushi Enomoto  <atsushi@ximian.com>

        * XmlDocument.cs, XmlDocumentNavigator.cs :
          reduce navigator fields.

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

15 years ago2008-09-10 Atsushi Enomoto <atsushi@ximian,com>
Atsushi Eno [Wed, 10 Sep 2008 08:23:42 +0000 (08:23 -0000)]
2008-09-10  Atsushi Enomoto <atsushi@ximian,com>

        * XPathEditableDocument.cs : added some overrides.

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

15 years ago2008-09-10 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Wed, 10 Sep 2008 04:56:56 +0000 (04:56 -0000)]
2008-09-10  Daniel Morgan <monodanmorg@yahoo.com>

* Test/TestOracleClient.cs: fix typo,
  enable more test,
          Tests pass for parameters for Character, Number, and Date
  for Input, Output, InputOutput, and ReturnValue and
  situations when any of these could be DBNull.Value

* System.Data.OracleClient/OracleParameter.cs: fix
handling of parameters for character, number, and date
types.  Need to redo all the other types based on the above.

* System.Data.OracleClient.Oci/OciDefineHandle.cs: rename private
method DefineLong to DefineLongVarChar

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

15 years agoFixitificate
Miguel de Icaza [Wed, 10 Sep 2008 03:01:27 +0000 (03:01 -0000)]
Fixitificate

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

15 years ago* BitVector32.cs: Minor fixes. Simplified Section.ToString and
Scott Thomas [Wed, 10 Sep 2008 01:24:11 +0000 (01:24 -0000)]
* BitVector32.cs: Minor fixes. Simplified Section.ToString and
GetHashCode, and BitVector32.Equals.

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

15 years ago2008-09-09 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 9 Sep 2008 21:47:35 +0000 (21:47 -0000)]
2008-09-09  Miguel de Icaza  <miguel@novell.com>

* cs-parser.jay: Improve error reporting for syntax errors in
statements and expressions, we now report the expected tokens
instead of reporting the useless "; expected".

Drop the strings from the token declaration, it turns out that
they did not do what I thought they did.  Instead they were adding
two sets of tokens to the tables.

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

15 years ago2008-09-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 9 Sep 2008 21:24:21 +0000 (21:24 -0000)]
2008-09-09  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Add "&" to the list of valid characters in a URL.

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

15 years ago2008-09-09 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 9 Sep 2008 19:16:15 +0000 (19:16 -0000)]
2008-09-09  Miguel de Icaza  <miguel@novell.com>

* skeleton.cs: A little refactoring to support producing a list of
tokens as opposed to a list of token strings for code that uses
the yyExpecting code.

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

15 years agoit's mostly done.
Atsushi Eno [Tue, 9 Sep 2008 19:10:57 +0000 (19:10 -0000)]
it's mostly done.

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

15 years ago2008-09-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 9 Sep 2008 18:23:57 +0000 (18:23 -0000)]
2008-09-09  Sebastien Pouliot  <sebastien@ximian.com>

* monoresgen.cs: Make resgen2 report a bit more useful by considering
the extra XmlException in the exception chain.

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

15 years agoNew tests.
Marek Safar [Tue, 9 Sep 2008 15:49:11 +0000 (15:49 -0000)]
New tests.

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

15 years ago2008-09-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 9 Sep 2008 15:48:52 +0000 (15:48 -0000)]
2008-09-09  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, generic.cs, parameter.cs, expression.cs, class.cs,
delegate.cs: Share special type check.

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

15 years ago2008-09-09 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 9 Sep 2008 15:12:25 +0000 (15:12 -0000)]
2008-09-09  Mark Probst  <mark.probst@gmail.com>

* mini-ppc.c: Partially implement tail calls (struct arguments and
return values not supported).

* method-to-ir.c: Enable tail calls on PPC.

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

15 years ago2008-09-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 9 Sep 2008 15:11:26 +0000 (15:11 -0000)]
2008-09-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DateTimePicker.cs: Before incrementing or decrementing any part in
the textbox, end any current edit. Also when ending the current edit
use the editing_part_index field instead of the current selected
value, since they can be out of synch, and we really need to work on
the *real* current edit part. Finally when PartData.Selected changes,
always try to end any ongoing edit.
This should fix some small errors handling mouse navigation and
increase/decrease operations.

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

15 years ago * TraceImpl.cs:
Jonathan Pryor [Tue, 9 Sep 2008 15:08:29 +0000 (15:08 -0000)]
* TraceImpl.cs:
  - Remove the "lock-free" code, which (come to think of it) would be
    faulty in a multithreaded environment anyway because the "other"
    threads won't wait (block) until initialization is complete...
  - Add InitOnce() calls to all public properties, so that
    `Debug.AutoFlush=true' will cause InitOnce() to be loaded, lest
    a `Debug.AutoFlush=true; Debug.Listeners.Add(...)` sequence cause
    .AutoFlush=true to be ignored as the InitOnce implied by .Add()
    will "overwrite" the .AutoFlush.
  - Split up TraceListenerCollection creation from DefaultTraceListener
    addition, as TraceListenerCollection.Add() calls back into
    TraceImpl, so if these aren't separate we get an infinite loop
    and never actually initialize anything.
  - Fixes #424370.
* TraceListenerCollection.cs: Add a TraceListenerCollection(bool)
  constructor, which provides a way to NOT add the
  DefaultTraceListener (needed by TraceImpl; see above).

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

15 years ago2008-09-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Sep 2008 13:36:50 +0000 (13:36 -0000)]
2008-09-09  Jb Evain  <jbevain@novell.com>

* Makefile: build System.Runtime.Serialization
during the net_2_1_raw profile.

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

15 years ago2008-09-09 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 9 Sep 2008 13:35:20 +0000 (13:35 -0000)]
2008-09-09  Jb Evain  <jbevain@novell.com>

* Makefile: tune System.Runtime.Serialization as well.

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

15 years agoin .:
Jb Evain [Tue, 9 Sep 2008 13:34:57 +0000 (13:34 -0000)]
in .:
2008-09-09  Atsushi Enomoto  <atsushi@ximian.com>
Jb Evain  <jbevain@novell.com>

* net_2_1_raw_System.Runtime.Serialization.dll.sources: new sources
file for the SL2 profile.
* Makefile: add support for SL2 profile.

in System.Xml.Schema:
2008-09-09  Atsushi Enomoto  <atsushi@ximian.com>
Jb Evain  <jbevain@novell.com>

* XmlSchema.cs: add helper internal class.

in System.Xml:
2008-09-09  Atsushi Enomoto  <atsushi@ximian.com>
Jb Evain  <jbevain@novell.com>

* XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs:
add support to build on the net_2_1 profile.

in System.Runtime.Serialization:
2008-09-09  Atsushi Enomoto  <atsushi@ximian.com>
Jb Evain  <jbevain@novell.com>

* IDataContractSurrogater.cs, SerializationMap.cs:
add support to build on the net_2_1 profile.

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

15 years agoTue Sep 9 15:19:48 CEST 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Sep 2008 13:22:31 +0000 (13:22 -0000)]
Tue Sep 9 15:19:48 CEST 2008 Paolo Molaro <lupus@ximian.com>

* Timer.cs: use a separate queue for timers that are far in the future
so they don't need to be looked at as often (bug #418272).
Better precision of recheduling time.

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

15 years ago2008-09-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Sep 2008 13:20:23 +0000 (13:20 -0000)]
2008-09-09  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaValidator.cs : do not try to validate CloseStartElement
  when it should be skipped. Fixed bug #422581.

* XmlSchemaValidatorTests.cs : added test for bug #422581.

* 422581.xsd, 422581.xml : new files.

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

15 years ago2008-09-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 9 Sep 2008 12:57:09 +0000 (12:57 -0000)]
2008-09-09  Marek Safar  <marek.safar@gmail.com>

* Convert.cs, Decimal.cs: Fixed float/double to decimal range check.

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

15 years ago2008-09-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 9 Sep 2008 12:21:35 +0000 (12:21 -0000)]
2008-09-09  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DateTimePicker.cs: 'hh' and 'HH' formats (12 and 24 hour formats
respectively) should handled different, since the 12 hours format
needs the value typed by the user to be adjusted depending on the
a.m/p.m value, so it is preserved, and only changed when the value
reaches the 12 value (when it changes from a.m to p.m).
Fixes part of #416555.

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

15 years ago2008-09-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 9 Sep 2008 10:11:20 +0000 (10:11 -0000)]
2008-09-09  Marek Safar  <marek.safar@gmail.com>

A test for bug #423981

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

15 years ago2008-09-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 9 Sep 2008 10:10:42 +0000 (10:10 -0000)]
2008-09-09  Marek Safar  <marek.safar@gmail.com>

A fix for bug #423981
* expression.cs (EmitBranchable): Correctly emit inverted float conditions.

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

15 years agoNew test.
Marek Safar [Tue, 9 Sep 2008 09:13:45 +0000 (09:13 -0000)]
New test.

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

15 years ago2008-09-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 9 Sep 2008 09:13:28 +0000 (09:13 -0000)]
2008-09-09  Marek Safar  <marek.safar@gmail.com>

* ecore.cs (ReducedConstantExpression): Implemented ConvertExplicitly and
ConvertImplicitly.

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

15 years agoNew test.
Marek Safar [Tue, 9 Sep 2008 07:33:21 +0000 (07:33 -0000)]
New test.

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

15 years agoNew test.
Marek Safar [Tue, 9 Sep 2008 07:32:56 +0000 (07:32 -0000)]
New test.

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

15 years ago2008-09-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 9 Sep 2008 07:31:24 +0000 (07:31 -0000)]
2008-09-09  Marek Safar  <marek.safar@gmail.com>

A fix for bugs: #324750, #335946
* cs-tokenizer.cs, cs-parser.jay, expression.cs: Use a custom
lookup rule to determine ?-based tokens.

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

15 years agoPut back cp to qh
Marek Safar [Tue, 9 Sep 2008 07:31:06 +0000 (07:31 -0000)]
Put back cp to qh

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

15 years ago2008-09-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Sep 2008 22:06:13 +0000 (22:06 -0000)]
2008-09-08  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Ensure MouseDown gets called for MenuStrip items.
* ToolStripDropDownItem.cs: Don't fire events and such again if
ShowDropDown is called on an already dropped down item.
* ToolStripMenuItem.cs: Call ShowDropDown even if there aren't any
subitems, the user may add some in the DropDownOpening event.
[Fixes bug #417877]

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

15 years agoFixes: #341443
Miguel de Icaza [Mon, 8 Sep 2008 21:59:21 +0000 (21:59 -0000)]
Fixes: #341443

2008-09-08  Miguel de Icaza  <miguel@novell.com>

* EndPointListener.cs (SearchListener): Cope with the raw_url not
being merely a path, but potentially a full URI (see the proxy
case).

* HttpListenerRequest.cs: Cope with raw_url not being merely a
path, but potentially a full Uri.   Also uses TryCreate, hoping
that one day it will be faster.

2008-09-08  Miguel de Icaza  <miguel@novell.com>

* Uri.cs (MaybeUri): A helper routine for methods in other classes
to quickly determine if something might be a Uri, before calling
the more expensive Uri.TryCreate (see bug 424192).

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

15 years agoupdate
Miguel de Icaza [Mon, 8 Sep 2008 20:51:30 +0000 (20:51 -0000)]
update

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

15 years ago2008-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 8 Sep 2008 19:20:10 +0000 (19:20 -0000)]
2008-09-08  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_wrapper_info): Omit the klass name from
runtime-invoke wrappers to work around the problem of them getting
assigned to a random class.

* aot-runtime.c (mono_aot_get_method): Ditto.

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

15 years ago2008-09-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Sep 2008 19:16:47 +0000 (19:16 -0000)]
2008-09-08  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: Fix IOORE when setting SelectedItem to null.
[Fixes bug #424270]

2008-09-08  Jonathan Pobst  <monkey@jpobst.com>

* ComboBoxTest.cs: Add test for bug #424270.

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

15 years ago* gluezilla/src/gluezilla.cpp, gluezilla/src/gluezilla.h: Return the
Andreia Gaita [Mon, 8 Sep 2008 18:13:58 +0000 (18:13 -0000)]
* gluezilla/src/gluezilla.cpp, gluezilla/src/gluezilla.h: Return the
  version of xulrunner that's being used so I can distinguish which
  cache directory to use
* mcs/class/Mono.WebBrowser/Mono.Mozilla/Base.cs: Create cache
  directory with a version specific name so there's no conflict when
  the user has both xulrunner runtime 1.8 and 1.9 installed. Get rid
  of gluezillaInstalled flag, redundant. Bind now returns bool so I
  can check if the engine is actually running properly after
  initialization. Check the return value of createBrowserWindow and
  bail out if no valid pointer is returned. Protect the string
  functions with a check so they don't get called if the engine is
  not initialized.
* mcs/class/Mono.WebBrowser/Mono.Mozilla/WebBrowser.cs: Update the
  loaded flag so users can now if the engine is actually running
  properly.

2008-09-08  Andreia Gaita <avidigal@novell.com>

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

15 years agoDocument
Miguel de Icaza [Mon, 8 Sep 2008 17:55:37 +0000 (17:55 -0000)]
Document

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

15 years ago2008-09-08 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 8 Sep 2008 17:55:29 +0000 (17:55 -0000)]
2008-09-08  Miguel de Icaza  <miguel@novell.com>

* repl.cs (OptionalAssign.EmitStatement): It is possible that some
expressions (like event adding or removing) end up here, so we
need to treat those as statements.

Add LoadAssembly method.

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

15 years ago2008-09-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Sep 2008 17:26:04 +0000 (17:26 -0000)]
2008-09-08  Jonathan Pobst  <monkey@jpobst.com>

* MdiClient.cs: When looking for menustrips on a child form to merge,
look inside ToolStripContainers.
[Fixes bug #424264]

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

15 years agoDon't build the profilers if DISABLE_PROFILER is set.
Massimiliano Mantione [Mon, 8 Sep 2008 17:23:54 +0000 (17:23 -0000)]
Don't build the profilers if DISABLE_PROFILER is set.

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

15 years agoAdded DISABLE_PROFILER automake conditional.
Massimiliano Mantione [Mon, 8 Sep 2008 17:23:49 +0000 (17:23 -0000)]
Added DISABLE_PROFILER automake conditional.

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

15 years ago2008-09-08 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 8 Sep 2008 16:57:19 +0000 (16:57 -0000)]
2008-09-08  Ivan N. Zlatev  <contact@i-nz.net>

* ErrorProvider.cs: Unbreak my previous commit.

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

15 years ago2008-09-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 8 Sep 2008 16:56:09 +0000 (16:56 -0000)]
2008-09-08  Jonathan Pobst  <monkey@jpobst.com>

* BackgroundWorker.cs: If the user sets Cancel to true, but then
throws an exception in DoWork, we need to set Cancel back to false.
[Fixes bug #328830]

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

15 years ago2008-09-08 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 8 Sep 2008 16:14:09 +0000 (16:14 -0000)]
2008-09-08  Ivan N. Zlatev  <contact@i-nz.net>

* ErrorProvider.cs: Icon should always be 16x16.
[Fixes bug #424380]

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

15 years agoIn .:
Rodrigo Kumpera [Mon, 8 Sep 2008 16:01:21 +0000 (16:01 -0000)]
In .:
2008-09-08  Rodrigo Kumpera  <rkumpera@novell.com>

* InotifyWatcher.cs: Really fix #359181.

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

15 years agoMade the ChangeLog clearer (I should have done two separate commits...).
Massimiliano Mantione [Mon, 8 Sep 2008 15:52:14 +0000 (15:52 -0000)]
Made the ChangeLog clearer (I should have done two separate commits...).

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

15 years agoRevert patch, the tests are not working on non UK timezones
Miguel de Icaza [Mon, 8 Sep 2008 15:11:48 +0000 (15:11 -0000)]
Revert patch, the tests are not working on non UK timezones

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

15 years agoAdded three icalls to control the profiler from the profiled application.
Massimiliano Mantione [Mon, 8 Sep 2008 15:02:08 +0000 (15:02 -0000)]
Added three icalls to control the profiler from the profiled application.

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

15 years ago2008-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 8 Sep 2008 14:39:31 +0000 (14:39 -0000)]
2008-09-08  Zoltan Varga  <vargaz@gmail.com>

* FieldInfoTest.cs (SetValueOpenGeneric): Fix copy-paste error.

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

15 years ago2008-09-08 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 8 Sep 2008 14:38:15 +0000 (14:38 -0000)]
2008-09-08  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs EnumTest.cs: Fix warnings.

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

15 years agoFix Windows Build
Miguel de Icaza [Mon, 8 Sep 2008 14:17:38 +0000 (14:17 -0000)]
Fix Windows Build

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

15 years ago2008-09-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 8 Sep 2008 12:34:47 +0000 (12:34 -0000)]
2008-09-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* SerialPort.cs: In BaseStream property call CheckOpen instead of
duplicating the code.

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

15 years ago2008-09-08 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Mon, 8 Sep 2008 05:14:35 +0000 (05:14 -0000)]
2008-09-08  Daniel Morgan <monodanmorg@yahoo.com>

* TestOracleClient.cs: remove some warnings
and improve OracleParameter tests
for VARCHAR2, NUMBER, DATE types
for Input, Output, InputOutput, and ReturnValue and
handle DBNull.Value for various situations.
These parameter tests work on .net 2.0 but fail on mono 2.0.

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

15 years ago2008-09-07 Andy Hume <andyhume32@yahoo.co.uk>
Miguel de Icaza [Mon, 8 Sep 2008 02:04:00 +0000 (02:04 -0000)]
2008-09-07 Andy Hume <andyhume32@yahoo.co.uk>

* DateTimeOffset.cs: DateTimeOffset currently has no
deserialization constructor, thus deserialization
fails ("SerializationException: The constructor to deserialize an
object of type System.DateTimeOffset was not found.")

Patch attached, implements GetObjectData and that constructor.
Also includes tests, which include round-tripping to/from MSFT.

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

15 years agoRemove debugging message
Miguel de Icaza [Mon, 8 Sep 2008 02:00:36 +0000 (02:00 -0000)]
Remove debugging message

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

15 years ago2008-09-07 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 7 Sep 2008 22:43:15 +0000 (22:43 -0000)]
2008-09-07  Miguel de Icaza  <miguel@novell.com>

* console-io.c: Add support for tracking the window size if it
changes.

The setup is very simple: the TtySetup function will now return a
pointer to a location in memory that tracks the current console
size.  The managed code checks its current value every time its
queried against the last value set, and updates accordingly.

With this setup we can work with multiple consoles, and we do not
require to poke into managed code from a signal handler.

Additionally, the environment for COLUMNS and LINES is now handled
in unmanaged code.

(ves_icall_System_ConsoleDriver_GetTtySize): This is now gone.

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

15 years ago2008-08-27 Marek Safar <marek.safar@gmail.com>
Miguel de Icaza [Sun, 7 Sep 2008 22:42:20 +0000 (22:42 -0000)]
2008-08-27  Marek Safar  <marek.safar@gmail.com>

* Makefile: Removed disabled global 649 warning.

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

15 years ago* DataSet.cs: Convert to a partial class and sequester NET_2_0
Raja R Harinath [Sun, 7 Sep 2008 18:29:11 +0000 (18:29 -0000)]
* DataSet.cs: Convert to a partial class and sequester NET_2_0
pieces into a separate part.

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

15 years agoStyle nits
Raja R Harinath [Sun, 7 Sep 2008 18:27:55 +0000 (18:27 -0000)]
Style nits

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

15 years agoRe-arrange some code.
Raja R Harinath [Sun, 7 Sep 2008 18:00:45 +0000 (18:00 -0000)]
Re-arrange some code.

* DataRowView.cs: Convert to a partial class, and sequester
NET_2_0 parts into a separate part.  Use partial classes instead
of ugly #region directives.
(Item): Remove redundant attributes.  Cleanup slightly.

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

15 years agoStyle nits
Raja R Harinath [Sun, 7 Sep 2008 17:59:37 +0000 (17:59 -0000)]
Style nits

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

15 years ago2008-09-07 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 7 Sep 2008 17:02:53 +0000 (17:02 -0000)]
2008-09-07  Ivan N. Zlatev  <contact@i-nz.net>

* GridEntry.cs: Invalidate the child items cache when the property
value changes.

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

15 years ago2008-09-07 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 7 Sep 2008 16:51:26 +0000 (16:51 -0000)]
2008-09-07  Ivan N. Zlatev  <contact@i-nz.net>

* GridEntry.cs, PropertyGridView.cs:
   - Update the ReadOnly detection and rendering to finally hopefully
   match the one of MSFT.
   - Niceify and move the debug CWLS.
[Fixes bug #409028]

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

15 years ago2008-09-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 7 Sep 2008 14:32:35 +0000 (14:32 -0000)]
2008-09-07  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c mini-mips.h mini-s390.h exceptions-mips.c: Kill
the CUSTOM_EXCEPTION_HANDLING and CUSTOM_STACK_WALK defines.

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

15 years ago2008-09-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 7 Sep 2008 14:28:19 +0000 (14:28 -0000)]
2008-09-07  Zoltan Varga  <vargaz@gmail.com>

* CILCompiler.cs: Override ICompiler.EmitSet too so we set op_flags for
Bitmap opcodes too. Fixes #424073.

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

15 years ago2008-09-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 7 Sep 2008 14:11:28 +0000 (14:11 -0000)]
2008-09-07  Zoltan Varga  <vargaz@gmail.com>

* FieldInfoTest.cs: Add tests for #424077.

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

15 years ago2008-09-07 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 7 Sep 2008 14:10:39 +0000 (14:10 -0000)]
2008-09-07  Zoltan Varga  <vargaz@gmail.com>

* MonoField.cs: Add check to GetValue/SetValue () to avoid crashes when it is
called on fields of open types. Fixes #424077.

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

15 years ago2008-09-07 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sun, 7 Sep 2008 10:25:11 +0000 (10:25 -0000)]
2008-09-07  Mark Probst  <mark.probst@gmail.com>

* marshal.c (mono_type_native_stack_size): Treat
MONO_TYPE_TYPEDBYREF like MONO_TYPE_VALUETYPE.

2008-09-07  Mark Probst  <mark.probst@gmail.com>

* method-to-ir.c (mono_method_to_ir2): Disable tail calls for PPC
until they're implemented properly.

* exceptions-ppc.c: Use arch-independent exception-handling code
instead of custom one.

* exceptions-ppc.c, mini-ppc.c, mini-ppc.h: Bug fixes and changes
for Linear IR.

* tramp-ppc.c, mini-ppc.c: Fixed warnings.

* decompose.c, aot-runtime.c, aot-compiler.c: PPC code also
applies when __powerpc__ is defined.

2008-09-07  Mark Probst  <mark.probst@gmail.com>

* libtest.c: Darwin structure alignment also applies to PPC.

2008-09-07  Mark Probst  <mark.probst@gmail.com>

* ppc/ppc-codegen.h (ppc_load): Inserted cast to fix some
warnings.

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

15 years ago2008-09-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 6 Sep 2008 17:42:37 +0000 (17:42 -0000)]
2008-09-06  Zoltan Varga  <vargaz@gmail.com>

* Regex.cs: Make the new regex interpreter+compiler the default.

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

15 years ago2008-09-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 6 Sep 2008 14:12:29 +0000 (14:12 -0000)]
2008-09-06  Zoltan Varga  <vargaz@gmail.com>

* libtest.c pinvoke2.cs: Add float tests.

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

15 years ago2008-09-06 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Sat, 6 Sep 2008 09:57:04 +0000 (09:57 -0000)]
2008-09-06  Daniel Morgan <monodanmorg@yahoo.com>

* ProviderSectionHandler.cs
* ProviderFactory.cs
* ProviderCollection.cs
* DataTools.cs
* Provider.cs: for the NET_2_0 profile,
added Obsolete attribute
to all classes in assembly Mono.Data because it
has been superceded by DbProviderFactories in System.Data

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

15 years ago2008-09-06 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Sat, 6 Sep 2008 09:45:42 +0000 (09:45 -0000)]
2008-09-06  Daniel Morgan <monodanmorg@yahoo.com>

* Test/TestOracleClient.cs: get oracle connected tests
going again

*  System.Data.OracleClient.Oci/OciDefineHandle.cs
* System.Data.OracleClient/OracleDataReader.cs
* System.Data.OracleClient/OracleCommand.cs: fix character
field value for a reader that was retrieved from a REF CURSOR.
It was failing due to OCI_INVALID_HANDLE - resolve the error
by passing a connection object which has a valid environment
handle.

* System.Data.OracleClient.Oci/OciCalls.cs: correct
call to OCIDefineByPos

* System.Data.OracleClient/OracleParameter.cs: better way to
determine if the input value Is Null instead of using reflection.
Flush - Re-arraning how variables are being bound.

* System.Data.OracleClient/OciGlue.cs: add function
to convert OCI Return / Error Status Code to a String Description

* System.Data.OracleClient.Oci/OciErrorHandle.cs: better
error handling

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

15 years ago2008-09-06 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Sat, 6 Sep 2008 06:06:02 +0000 (06:06 -0000)]
2008-09-06  Daniel Morgan  <monodanmorg@yahoo.com>

* machine.config: added Mono.Data.SybaseClient
to DbProviderFactories section.

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

15 years ago2008-09-06 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Sat, 6 Sep 2008 06:00:36 +0000 (06:00 -0000)]
2008-09-06  Daniel Morgan <monodanmorg@yahoo.com>

* Mono.Data.SybaseClient/SybaseClientFactory.cs:
* Mono.Data.SybaseClient/SybaseConnectionStringBuilder.cs: add new files
based on mono's System.Data.SqlClient implementation

* Mono.Data.SybaseClient.dll.sources: add files
to build:
Mono.Data.SybaseClient/SybaseClientFactory.cs
Mono.Data.SybaseClient/SybaseConnectionStringBuilder.cs

* Mono.Data.SybaseClient/SybaseDataAdapter.cs
* Mono.Data.SybaseClient/SybaseCommand.cs
* Mono.Data.SybaseClient/SybaseParameter.cs
* Mono.Data.SybaseClient/SybaseType.cs
* Mono.Data.SybaseClient/SybaseTransaction.cs
* Mono.Data.SybaseClient/SybaseCommandBuilder.cs
* Mono.Data.SybaseClient/SybaseDataReader.cs
* Mono.Data.SybaseClient/SybaseParameterCollection.cs
* Mono.Data.SybaseClient/SybaseConnection.cs: modified to
support NET_2_0 profile based on the changes done in mono's
System.Data.SqlClient implementation.

Do not forget about updating mono/data/net_2_0/machine.config
by adding Mono.Dataq.SybaseClient to DbProvidersFactory section.

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

15 years agoupdate known-issues-smcs
Raja R Harinath [Sat, 6 Sep 2008 03:46:35 +0000 (03:46 -0000)]
update known-issues-smcs

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

15 years ago2008-09-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 6 Sep 2008 03:03:46 +0000 (03:03 -0000)]
2008-09-06  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_get_method): Add another cache mapping wrapper
methods to their code to avoid computing the full name of wrappers and
doing a lookup in a string hash table.

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

15 years ago2008-09-06 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 5 Sep 2008 23:53:42 +0000 (23:53 -0000)]
2008-09-06  Atsushi Enomoto  <atsushi@ximian.com>

* Socket.cs : (SocketAsyncResult) release byte buffer early so that
  it does not have to store extra data in pool. Fixed bug #397627.

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

15 years agofix mwf 1.1 tests build
Jonathan Pobst [Fri, 5 Sep 2008 19:28:00 +0000 (19:28 -0000)]
fix mwf 1.1 tests build

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

15 years ago2008-09-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 5 Sep 2008 18:44:08 +0000 (18:44 -0000)]
2008-09-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Don't call Invalidate at all from SetItemLocation,
since we are already calling Invalidate for the entire control when
needed - and call Redraw() when size changes, since we need to paint
there by ourselved and not anymore from the mentioned method.
This should improve the layout process. Also clean some not needed calls
here and there.

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