Gert Driesen [Sun, 13 Jan 2008 13:24:47 +0000 (13:24 -0000)]
* X509Certificate2.cs: NotAfter and NotBefore must return local time.
* X509Certificate2Test.cs: Added asserts to ensure NotAfter and
NotBefore are in local time.
* X509ChainPolicyTest.cs: Added assert to ensure VerificationTime is
in local time.
svn path=/trunk/mcs/; revision=92793
Vladimir Krasnov [Sun, 13 Jan 2008 13:22:03 +0000 (13:22 -0000)]
* Page.jvm.cs: optimized SetupResponseWriter, fixed getChildCount and getChildren methods
* Control.jvm.cs: fixed getChildCount method
svn path=/trunk/mcs/; revision=92792
Zoltan Varga [Sun, 13 Jan 2008 13:10:41 +0000 (13:10 -0000)]
2008-01-13 Zoltan Varga <vargaz@gmail.com>
* AppDomainTest.cs: Add a test for #350530.
svn path=/trunk/mcs/; revision=92791
Igor Zelmanovich [Sun, 13 Jan 2008 13:10:00 +0000 (13:10 -0000)]
remove Console.WriteLine
svn path=/trunk/mcs/; revision=92790
Igor Zelmanovich [Sun, 13 Jan 2008 13:07:12 +0000 (13:07 -0000)]
remove Console.WriteLine
svn path=/trunk/mcs/; revision=92789
Zoltan Varga [Sun, 13 Jan 2008 13:06:39 +0000 (13:06 -0000)]
2008-01-13 Zoltan Varga <vargaz@gmail.com>
* AppDomain.cs: Check for a missing entry point in the ExecuteAssembly methods.
Fixes #350530.
svn path=/trunk/mcs/; revision=92788
Igor Zelmanovich [Sun, 13 Jan 2008 13:02:45 +0000 (13:02 -0000)]
refactoring:
use Debug.WriteLine instead Console.WriteLine within #if DEBUG.
svn path=/trunk/mcs/; revision=92787
Igor Zelmanovich [Sun, 13 Jan 2008 13:01:38 +0000 (13:01 -0000)]
refactoring:
use Trace.WriteLine instead Console.WriteLine within #if TRACE.
svn path=/trunk/mcs/; revision=92786
Igor Zelmanovich [Sun, 13 Jan 2008 12:55:20 +0000 (12:55 -0000)]
refactoring:
use Debug.WriteLine instead Console.WriteLine within #if DEBUG.
svn path=/trunk/mcs/; revision=92785
Zoltan Varga [Sun, 13 Jan 2008 12:47:28 +0000 (12:47 -0000)]
2008-01-13 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Fix a typo.
svn path=/trunk/mono/; revision=92784
Konstantin Triger [Sun, 13 Jan 2008 12:17:44 +0000 (12:17 -0000)]
ensure events are wired using public interface
svn path=/trunk/mcs/; revision=92783
Igor Zelmanovich [Sun, 13 Jan 2008 12:03:58 +0000 (12:03 -0000)]
remove PagesSection as obsolete
svn path=/trunk/mcs/; revision=92781
Noam Lampert [Sun, 13 Jan 2008 11:59:49 +0000 (11:59 -0000)]
Add System.Web.Phantom to Grasshopper build system
svn path=/trunk/mcs/; revision=92780
Igor Zelmanovich [Sun, 13 Jan 2008 11:33:53 +0000 (11:33 -0000)]
removed 'mainsoft.web' section
svn path=/trunk/mono/; revision=92779
Igor Zelmanovich [Sun, 13 Jan 2008 10:03:50 +0000 (10:03 -0000)]
refactoring
svn path=/trunk/mcs/; revision=92776
Igor Zelmanovich [Sun, 13 Jan 2008 10:00:34 +0000 (10:00 -0000)]
refactoring
svn path=/trunk/mcs/; revision=92775
Igor Zelmanovich [Sun, 13 Jan 2008 09:41:36 +0000 (09:41 -0000)]
2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
* TreeView.cs:
* TreeView.js:
upgrade client side script due to changes in webform.js.
svn path=/trunk/mcs/; revision=92774
Igor Zelmanovich [Sun, 13 Jan 2008 09:38:32 +0000 (09:38 -0000)]
2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
* webform.js:
make scripts compatible with MicrosoftAjaxLibrary.
svn path=/trunk/mcs/; revision=92773
Carlos Alberto Cortez [Sat, 12 Jan 2008 20:15:49 +0000 (20:15 -0000)]
2008-01-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* X11Dnd.cs: Since we don't propagate the WM_LBUTTONUP/WM_RBUTTONUP
messages (to match .Net), we need to remove the capture ourselves.
svn path=/trunk/mcs/; revision=92762
Sebastien Pouliot [Sat, 12 Jan 2008 18:15:08 +0000 (18:15 -0000)]
2008-01-12 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: Don't wrap our own COMException inside another
one. This will provide a better error message to the user (or tool)
svn path=/trunk/mcs/; revision=92760
Sebastien Pouliot [Sat, 12 Jan 2008 17:59:40 +0000 (17:59 -0000)]
2008-01-12 Sebastien Pouliot <sebastien@ximian.com>
* SettingsPropertyValue.cs: Fix typo. Found using Gendarme.
svn path=/trunk/mcs/; revision=92758
Sebastien Pouliot [Sat, 12 Jan 2008 17:36:22 +0000 (17:36 -0000)]
2008-01-12 Sebastien Pouliot <sebastien@ximian.com>
* ConfigurationLocationCollection.cs: Avoid infinite recursion.
Found using Gendarme.
svn path=/trunk/mcs/; revision=92757
Sebastien Pouliot [Sat, 12 Jan 2008 16:58:39 +0000 (16:58 -0000)]
2008-01-12 Sebastien Pouliot <sebastien@ximian.com>
* ReferenceList.cs: Avoid infinite recursion when setting [].
Found by Gendarme.
* XmlDsigXPathTransform.cs: Fix direct comparison with NaN. Found
by Gendarme.
svn path=/trunk/mcs/; revision=92756
Sebastien Pouliot [Sat, 12 Jan 2008 16:55:24 +0000 (16:55 -0000)]
2008-01-12 Sebastien Pouliot <sebastien@ximian.com>
* DefaultContext.cs: Fix direct comparison with NaN. Found by
Gendarme.
svn path=/trunk/mcs/; revision=92755
Sebastien Pouliot [Sat, 12 Jan 2008 16:36:54 +0000 (16:36 -0000)]
2008-01-12 Sebastien Pouliot <sebastien@ximian.com>
* RelaxngInference.cs: Fix infinite recursion in TypeInference
property getter. Found by Gendarme.
svn path=/trunk/mcs/; revision=92754
Sebastien Pouliot [Sat, 12 Jan 2008 16:35:52 +0000 (16:35 -0000)]
2008-01-12 Sebastien Pouliot <sebastien@ximian.com>
* XmlSchemaInference.cs: Fix infinite recursion in TypeInference
property getter. Found by Gendarme.
svn path=/trunk/mcs/; revision=92753
Gert Driesen [Sat, 12 Jan 2008 09:52:20 +0000 (09:52 -0000)]
* WebClient.cs: Do not add trailing CRLF in UploadValuesCore. Fixes
standalone test for bug #351049.
svn path=/trunk/mcs/; revision=92723
Raja R Harinath [Sat, 12 Jan 2008 05:09:43 +0000 (05:09 -0000)]
* errors/Makefile (VALID_PROFILE): New. Disable tests for other profiles.
* tests/Makefile (VALID_PROFILE): New. Disable tests for other profiles.
svn path=/trunk/mcs/; revision=92719
Zoltan Varga [Fri, 11 Jan 2008 21:22:44 +0000 (21:22 -0000)]
2008-01-11 Zoltan Varga <vargaz@gmail.com>
* mono-io-portability.c: Include errno.h since it is needed by code inside
#ifdef DEBUG.
svn path=/trunk/mono/; revision=92690
Jonathan Pobst [Fri, 11 Jan 2008 19:50:45 +0000 (19:50 -0000)]
2008-01-11 Jonathan Pobst <monkey@jpobst.com>
* MenuAPI.cs: If we get an Alt-F4, release our capture so Windows
will process the message and close our window.
[Fixes bug #324328]
svn path=/trunk/mcs/; revision=92687
Stephane Delcroix [Fri, 11 Jan 2008 19:21:07 +0000 (19:21 -0000)]
without the typo this time
svn path=/trunk/mcs/; revision=92685
Stephane Delcroix [Fri, 11 Jan 2008 19:19:45 +0000 (19:19 -0000)]
2008-01-11 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffset.cs: Fixes the MinValue (was equal to MaxValue)...
svn path=/trunk/mcs/; revision=92684
Zoltan Varga [Fri, 11 Jan 2008 16:45:12 +0000 (16:45 -0000)]
2008-01-11 Zoltan Varga <vargaz@gmail.com>
* mono-ehash.c: Don't include os/gc_wrapper.h.
svn path=/trunk/mono/; revision=92678
Zoltan Varga [Fri, 11 Jan 2008 16:01:32 +0000 (16:01 -0000)]
2008-01-11 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_output_basic_block): Use a 4 byte load in OP_CHECK_THIS.
svn path=/trunk/mono/; revision=92677
Raja R Harinath [Fri, 11 Jan 2008 16:01:25 +0000 (16:01 -0000)]
* TypedDataSetGenerator.cs: Remove mention of NET_3_5 -- the
enclosed methods are part of 2.0 SP1.
* TypedDataSetSchemaImporterExtension.cs: Likewise.
svn path=/trunk/mcs/; revision=92676
Zoltan Varga [Fri, 11 Jan 2008 15:40:28 +0000 (15:40 -0000)]
2008-01-11 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (mono_arch_output_basic_block): Use a byte load in CHECK_THIS.
Fixes #353182.
svn path=/trunk/mono/; revision=92675
Rodrigo Kumpera [Fri, 11 Jan 2008 15:37:33 +0000 (15:37 -0000)]
2008-01-11 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (get_boxable_mono_type): check if the token is valid.
* verify.c (set_stack_value): changed to add an error if an
invalid type is set on stack. Changed all callers due to signature change.
* verify.c (do_stobj): implement stobj validation.
svn path=/trunk/mono/; revision=92674
Zoltan Varga [Fri, 11 Jan 2008 14:51:02 +0000 (14:51 -0000)]
2008-01-11 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (version.h): Make this work with non-bash shells.
svn path=/trunk/mono/; revision=92671
Zoltan Varga [Fri, 11 Jan 2008 14:48:10 +0000 (14:48 -0000)]
2008-01-11 Zoltan Varga <vargaz@gmail.com>
* reflection.c (reflection_methodbuilder_to_mono_method): No need to
set container->is_method, it was set earlier.
* metadata.c (type_in_image): Handle MVARs which belong to not finished
generic methods.
* reflection.c (mono_reflection_initialize_generic_parameter): Set
is_method of the generic container to TRUE for methods.
svn path=/trunk/mono/; revision=92669
Rodrigo Kumpera [Fri, 11 Jan 2008 14:30:05 +0000 (14:30 -0000)]
2008-01-11 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_ldfld_reference_type_by_ref.il: new test for ldfld.
* invalid_stojb_bad_token.il: test for bad ldobj token.
* invalid_stojb_token_out_of_bounds.il: same.
* make_stobj_test.sh: new test generator.
* make_test.sh: added new tests for stobj.
svn path=/trunk/mono/; revision=92668
Jb Evain [Fri, 11 Jan 2008 13:04:31 +0000 (13:04 -0000)]
stub Expression::Lambda
svn path=/trunk/mcs/; revision=92667
Marek Safar [Fri, 11 Jan 2008 10:09:54 +0000 (10:09 -0000)]
New test.
svn path=/trunk/mcs/; revision=92658
Marek Safar [Fri, 11 Jan 2008 10:09:05 +0000 (10:09 -0000)]
2008-01-11 Marek Safar <marek.safar@gmail.com>
* lambda.cs: Don't use a cast on unknown expression statement.
svn path=/trunk/mcs/; revision=92657
Geoff Norton [Fri, 11 Jan 2008 03:32:26 +0000 (03:32 -0000)]
In .:
* ControlHAndler.cs: Mark all dirty areas as dirty with the Hwnd system.
2008-01-10 Geoff Norton <gnorton@novell.com>
svn path=/trunk/mcs/; revision=92652
Geoff Norton [Fri, 11 Jan 2008 03:31:36 +0000 (03:31 -0000)]
In .:
2008-01-10 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Clip the Graphics context to the invalid area
tracked in the Hwnd. Only invalidate the dirty region to the Carbon
window manager.
svn path=/trunk/mcs/; revision=92651
Jonathan Pobst [Fri, 11 Jan 2008 00:39:15 +0000 (00:39 -0000)]
2008-01-10 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: Enforce the Form minimum size in SetBoundsCore. Fixed
failing test.
svn path=/trunk/mcs/; revision=92644
Jonathan Pobst [Thu, 10 Jan 2008 22:52:23 +0000 (22:52 -0000)]
2008-01-10 Jonathan Pobst <monkey@jpobst.com>
* XplatUIX11.cs: Set a minimum window size and enforce it. Even though
Linux doesn't care, having a minimum matches MS and keeps the window
from becoming too small to use window decorations.
[Fixes bug #338996]
svn path=/trunk/mcs/; revision=92631
Zoltan Varga [Thu, 10 Jan 2008 22:19:04 +0000 (22:19 -0000)]
2008-01-10 Zoltan Varga <vargaz@gmail.com>
* metadata.c (type_in_image): Handle type parameters properly.
* class-internals.h (MonoGenericParam): Add an 'image' argument to track
memory ownership of this structure.
svn path=/trunk/mono/; revision=92628
Jonathan Pobst [Thu, 10 Jan 2008 21:47:21 +0000 (21:47 -0000)]
2008-01-10 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Tie CheckBox/RadioButton focus rectangles to
ShowFocusCues. Make focus rectangles fit the text instead of the whole
control. [Fixes bug #325419]
svn path=/trunk/mcs/; revision=92627
Sebastien Pouliot [Thu, 10 Jan 2008 19:13:29 +0000 (19:13 -0000)]
2008-01-10 Sebastien Pouliot <sebastien@ximian.com>
* AuthenticodeDeformatter.cs: Use RSAManaged and the new overloaded
PKCS1.Verify_v15 with tryNonStandardEncoding == true when verifying
timestamping certificate signatures. Fix for #350958
svn path=/trunk/mcs/; revision=92616
Sebastien Pouliot [Thu, 10 Jan 2008 19:12:50 +0000 (19:12 -0000)]
2008-01-10 Sebastien Pouliot <sebastien@ximian.com>
* PKCS1.cs: Add a new method that optionally checks for badly
padding, technically invalid, PKCS#1 block. This is required to
support timestamping verification for Authenticode (since the
main timestamping service does this). Fix for #350958
svn path=/trunk/mcs/; revision=92615
Sebastien Pouliot [Thu, 10 Jan 2008 19:12:15 +0000 (19:12 -0000)]
2008-01-10 Sebastien Pouliot <sebastien@ximian.com>
* PKCS12.cs, X509Certificate.cs, X509Chain.cs, X509Extension.cs:
Synchronize/update with Mono.Security assembly
svn path=/trunk/mcs/; revision=92614
Sebastien Pouliot [Thu, 10 Jan 2008 19:07:50 +0000 (19:07 -0000)]
remove dead code/compiler warning
svn path=/trunk/mcs/; revision=92613
Geoff Norton [Thu, 10 Jan 2008 19:05:37 +0000 (19:05 -0000)]
2008-01-10 Geoff Norton <gnorton@novell.com>
* cs-tokenizer.cs: One more token to distinguish between method and lambda
arguments
svn path=/trunk/mcs/; revision=92612
Sebastien Pouliot [Thu, 10 Jan 2008 18:33:05 +0000 (18:33 -0000)]
2008-01-10 Sebastien Pouliot <sebastien@ximian.com>
* AuthenticodeDeformatter.cs: Use RSAManaged and the new overloaded
PKCS1.Verify_v15 with tryNonStandardEncoding == true when verifying
timestamping certificate signatures. Fix for #350958
svn path=/trunk/mcs/; revision=92611
Sebastien Pouliot [Thu, 10 Jan 2008 18:32:50 +0000 (18:32 -0000)]
2008-01-10 Sebastien Pouliot <sebastien@ximian.com>
* PKCS1.cs: Add a new method that optionally checks for badly
padding, technically invalid, PKCS#1 block. This is required to
support timestamping verification for Authenticode (since the
main timestamping service does this). Fix for #350958
svn path=/trunk/mcs/; revision=92610
Geoff Norton [Thu, 10 Jan 2008 18:07:27 +0000 (18:07 -0000)]
2008-01-10 Geoff Norton <gnorton@novell.com>
* ControlHandler.cs: Ensure we send controls a WM_WINDOWPOSCHANGED
when their bounds are changed by the carbon system. Fixes initial sizing
of PDN DocumentWorkspace bug.
svn path=/trunk/mcs/; revision=92608
Konstantin Triger [Thu, 10 Jan 2008 17:56:47 +0000 (17:56 -0000)]
TARGET_JVM: make sure XmlDateTimeSerializationMode.Unspecified works
svn path=/trunk/mcs/; revision=92606
Igor Zelmanovich [Thu, 10 Jan 2008 16:46:48 +0000 (16:46 -0000)]
2008-01-10 Igor Zelmanovich <igorz@mainsoft.com>
* webform.js:
implement useAsync feature for Callback.
svn path=/trunk/mcs/; revision=92600
Leonid Freydovich [Thu, 10 Jan 2008 16:32:33 +0000 (16:32 -0000)]
enlarge memory size
svn path=/trunk/mcs/; revision=92596
Zoltan Varga [Thu, 10 Jan 2008 16:27:10 +0000 (16:27 -0000)]
2008-01-10 Zoltan Varga <vargaz@gmail.com>
* DelegateTest.cs: Add CreateDelegate tests.
svn path=/trunk/mcs/; revision=92595
Zoltan Varga [Thu, 10 Jan 2008 16:25:48 +0000 (16:25 -0000)]
2008-01-10 Zoltan Varga <vargaz@gmail.com>
* Delegate.cs: Implement argument checking in CreateDelegate(Type,object,MethodInfo)
method. Make the CreateDelegate(Type,MethodInfo) overload calls this version.
Fixes #352805.
svn path=/trunk/mcs/; revision=92594
Rodrigo Kumpera [Thu, 10 Jan 2008 15:30:14 +0000 (15:30 -0000)]
2008-01-10 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (get_boxable_mono_type): make typedref types been just
unverifiable. check for void type.
* verify.c (do_unbox_any): added, verify opcode unbox.any.
* verify.c (do_load_function_ptr): accept method spec tokens.
svn path=/trunk/mono/; revision=92592
Rodrigo Kumpera [Thu, 10 Jan 2008 15:26:14 +0000 (15:26 -0000)]
2008-01-10 Rodrigo Kumpera <rkumpera@novell.com>
* valid_ldftn_method_spec_token.il: new test
for loading function pointers for generic methods.
svn path=/trunk/mono/; revision=92591
Konstantin Triger [Thu, 10 Jan 2008 15:10:44 +0000 (15:10 -0000)]
TARGET_JVM: use J2EEUtils.InputStreamWrapper for reading java's InputStream
svn path=/trunk/mcs/; revision=92588
Konstantin Triger [Thu, 10 Jan 2008 15:08:35 +0000 (15:08 -0000)]
implement Java InputStreamWrapper
svn path=/trunk/mcs/; revision=92587
Jonathan Pobst [Thu, 10 Jan 2008 14:56:29 +0000 (14:56 -0000)]
2008-01-10 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Guard against an NRE if the user open a new form from a
SelectedIndexChanged event. This closes the combobox dropdown, and we
were trying to dispose it. [Fixes bug #352830]
svn path=/trunk/mcs/; revision=92586
Stephane Delcroix [Thu, 10 Jan 2008 14:05:15 +0000 (14:05 -0000)]
duplicate ChageLog entry, sorry
svn path=/trunk/mcs/; revision=92585
Stephane Delcroix [Thu, 10 Jan 2008 14:04:28 +0000 (14:04 -0000)]
2008-01-10 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffset.cs: chain the Parse* methods together.
svn path=/trunk/mcs/; revision=92584
Igor Zelmanovich [Thu, 10 Jan 2008 13:35:21 +0000 (13:35 -0000)]
refactoring:
renamed methods if internal IScriptManager.
svn path=/trunk/mcs/; revision=92583
Konstantin Triger [Thu, 10 Jan 2008 11:21:52 +0000 (11:21 -0000)]
TARGET_JVM: wireup auto events only if user did not add them manually
svn path=/trunk/mcs/; revision=92581
Konstantin Triger [Thu, 10 Jan 2008 11:20:12 +0000 (11:20 -0000)]
refactoring: add internal modifier to event keys, so they can be accessed from TemplateControl
svn path=/trunk/mcs/; revision=92580
Igor Zelmanovich [Thu, 10 Jan 2008 11:18:40 +0000 (11:18 -0000)]
2008-01-10 Igor Zelmanovich <igorz@mainsoft.com>
* webform.js:
make scripts compatible with MicrosoftAjaxLibrary.
svn path=/trunk/mcs/; revision=92579
Marek Habersack [Thu, 10 Jan 2008 10:16:54 +0000 (10:16 -0000)]
2008-01-08 Dean Brettle <dean@brettle.com>
* NunitWeb/NunitWeb/WebTest.cs: copy .mdb or .pdb files with
assemblies so we get line numbers in stack traces!
svn path=/trunk/mcs/; revision=92576
Marek Habersack [Thu, 10 Jan 2008 10:03:01 +0000 (10:03 -0000)]
2008-01-10 Marek Habersack <mhabersack@novell.com>
* CSharpCodeCompiler.cs: check if running under the debugger and,
if yes, make sure that gmcs runs correctly by removing the
MONO_INSIDE_MDB environment variable before executing gmcs and
restore it after the compiler process exits. Fixes bug #352377
svn path=/trunk/mcs/; revision=92575
Igor Zelmanovich [Thu, 10 Jan 2008 09:46:48 +0000 (09:46 -0000)]
refactoring
svn path=/trunk/mcs/; revision=92574
Igor Zelmanovich [Thu, 10 Jan 2008 08:59:58 +0000 (08:59 -0000)]
avoid NullReferenceException
svn path=/trunk/mcs/; revision=92573
Carlos Alberto Cortez [Thu, 10 Jan 2008 01:24:10 +0000 (01:24 -0000)]
2008-01-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItemTest.cs: Activating the RemoveFocusedItem test,
as well as commenting the assertion that is failling _only_ in the
test scenario, not in real world (see the explanation in the test).
svn path=/trunk/mcs/; revision=92561
Rodrigo Kumpera [Thu, 10 Jan 2008 01:00:47 +0000 (01:00 -0000)]
* make_test.sh: added tests for unbox.any.
* make_unbox_any_test.sh: new test generator.
2008-01-09 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=92560
Zoltan Varga [Wed, 9 Jan 2008 23:59:18 +0000 (23:59 -0000)]
2008-01-10 Zoltan Varga <vargaz@gmail.com>
* mini.c (handle_delegate_ctor): Optimize away setting of NULL target.
svn path=/trunk/mono/; revision=92556
Andreia Gaita [Wed, 9 Jan 2008 23:10:41 +0000 (23:10 -0000)]
* Mono.Mozilla/Base.cs,
Mono.Mozilla/WebBrowser.cs,
Mono.WebBrowser/IWebBrowser.cs,
Mono.WebBrowser/Manager.cs:
Add initial support for specifying the toolkit the application is running
on (gtk or winforms). Knowing this allows gluezilla not to initialize
a gtk loop if the application is already running one (and is passing
gluezilla a gtk handle and not an X/HWND handle). This should make it
easy to also use gluezilla/Mono.Mozilla with gtk apps.
2008-01-09 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=92555
Jb Evain [Wed, 9 Jan 2008 23:09:09 +0000 (23:09 -0000)]
2008-01-10 Jb Evain <jbevain@novell.com>
* Mono.Cecil/ReflectionHelper.cs: deal with complex arrays.
svn path=/trunk/mcs/; revision=92554
Andreia Gaita [Wed, 9 Jan 2008 22:54:32 +0000 (22:54 -0000)]
2008-01-09 Andreia Gaita <avidigal@novell.com>
* build-csproj2k5: take out weird characters creeping in, vstudio
doesn't appreciate them.
svn path=/trunk/mcs/; revision=92552
Zoltan Varga [Wed, 9 Jan 2008 22:38:22 +0000 (22:38 -0000)]
2008-01-10 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_class_native_size): Always set *align even if this is called
recursively.
svn path=/trunk/mono/; revision=92551
Zoltan Varga [Wed, 9 Jan 2008 21:26:29 +0000 (21:26 -0000)]
2008-01-09 Zoltan Varga <vargaz@gmail.com>
* verify.c (mono_verify_corlib): Remove this as it was not used and was
out-of-date.
svn path=/trunk/mono/; revision=92548
Dick Porter [Wed, 9 Jan 2008 21:13:05 +0000 (21:13 -0000)]
2008-01-09 Dick Porter <dick@ximian.com>
* versioninfo.c (get_ptr_from_rva, scan_resource_dir): Make it
work on big-endian systems.
(scan_resource_dir): Copy the resource directory entry and
byteswap if necessary so it works big-endian. This fixes bug
345972 for real this time.
(VerQueryValue): String values set the length to the number of
unicode chars, but the data length reported was already correct so
don't halve it again. Fixes the previous fix for bug 345972.
(GetFileVersionInfo): On big-endian systems, scan the resource
data and turn all unicode strings into UTF-16BE. FileVersionInfo
now works big-endian.
svn path=/trunk/mono/; revision=92547
Rodrigo Kumpera [Wed, 9 Jan 2008 20:31:56 +0000 (20:31 -0000)]
2008-01-09 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: removed some old unused tables. A huge bunch of small fixes
to things found while testing the verifier with mono basic.
* verify.c (dump_stack_value): dump null literal flag to.
* verify.c (verify_type_compatibility_full): fix comparison
for types that have a generic super type.
* verify.c (verify_stack_type_compatibility): fix compatibility
between null literals and reference types. fix compatibility between
boxed valuetypes and object. fix corner case test for enums.
* verify.c (do_cmp_op): proper verification of cgt.un in case
of reference types.
* verify.c (do_invoke_method): fix error message.
* verify.c (do_store_indirect
* verify.c (check_is_valid_type_for_field_ops): proper verification
of managed pointers to valuetypes and boxed valuetypes. proper verification
of null literals.
* verify.c (do_unbox_value): expect valuetypes to be always boxed. don't
allow token to be a reference type.
* verify.c (do_cast): proper handling of boxes valuetypes.
* verify.c (do_stelem): proper handling of storing a boxed valuetype
in object[].
* verify.c (mono_method_verify): pass the opcode to do_cmp_op
to handle cgt.un properly. Implement add/mul/sub ovf opcodes.
fixed the decoding of unbox_any
svn path=/trunk/mono/; revision=92545
Rodrigo Kumpera [Wed, 9 Jan 2008 20:30:44 +0000 (20:30 -0000)]
2008-01-09 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added tests for add|sub|mul ovf;
* unverifiable_unbox_toke_is_reference_type.il: New test for regressions
found while validating vbnc.
* valid_stind_ref_with_boxed_value.il: same.
* valid_ldelema_enum_array.il: same.
svn path=/trunk/mono/; revision=92543
Jonathan Pobst [Wed, 9 Jan 2008 19:42:49 +0000 (19:42 -0000)]
2008-01-09 Jonathan Pobst <monkey@jpobst.com>
* Control.cs, Form.cs: Implement the necessary semantics for
ShowFocusCues. All paint code will need to check Control.ShowFocusCues
to determine if a focus rectangle should be drawn.
* PropertyGrid.cs: Fix property visibility to match override.
* ThemeWin32Classic.cs: Use ShowFocusCues for Button.
svn path=/trunk/mcs/; revision=92542
Jb Evain [Wed, 9 Jan 2008 19:36:05 +0000 (19:36 -0000)]
fix GetActionType for the non generic type
svn path=/trunk/mcs/; revision=92541
Marek Safar [Wed, 9 Jan 2008 18:54:57 +0000 (18:54 -0000)]
2008-01-09 Marek Safar <marek.safar@gmail.com>
* doc.cs: Report better /doc crash details.
svn path=/trunk/mcs/; revision=92539
Marek Safar [Wed, 9 Jan 2008 18:53:13 +0000 (18:53 -0000)]
New tests.
svn path=/trunk/mcs/; revision=92538
Marek Safar [Wed, 9 Jan 2008 18:52:20 +0000 (18:52 -0000)]
2008-01-08 Marek Safar <marek.safar@gmail.com>
A fix for bug #352536
* ecore.cs, assign.cs, codegen.cs: Check event assignments.
svn path=/trunk/mcs/; revision=92537
Jb Evain [Wed, 9 Jan 2008 18:43:19 +0000 (18:43 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* ExpressionTest.cs: tests for GetActionType.
svn path=/trunk/mcs/; revision=92534
Jb Evain [Wed, 9 Jan 2008 18:43:05 +0000 (18:43 -0000)]
2008-01-09 Jb Evain <jbevain@novell.com>
* Expression.cs: implement GetActionType.
svn path=/trunk/mcs/; revision=92533
Geoff Norton [Wed, 9 Jan 2008 18:39:57 +0000 (18:39 -0000)]
2008-01-09 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Scroll windows in the correct direction.
svn path=/trunk/mcs/; revision=92531
Atsushi Eno [Wed, 9 Jan 2008 18:16:30 +0000 (18:16 -0000)]
2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
* DateTimeTest.cs : mark KindPattern() as not working (wrt #352210).
svn path=/trunk/mcs/; revision=92530
Sebastien Pouliot [Wed, 9 Jan 2008 18:05:43 +0000 (18:05 -0000)]
2008-01-09 Sebastien Pouliot <sebastien@ximian.com>
* DateTimeTest.cs: In X509Certificate test case remove the Tick
assert (depends on timezone) and add a test for AdjustToUniversal
when using Z.
svn path=/trunk/mcs/; revision=92529
Atsushi Eno [Wed, 9 Jan 2008 17:12:55 +0000 (17:12 -0000)]
2008-01-09 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : revert the previous fix. It caused regression on
the buildbot.
* DateTimeTest.cs : the previous fix was reverted, so mark
corresponding test as NotWorking.
svn path=/trunk/mcs/; revision=92525
Jonathan Pobst [Wed, 9 Jan 2008 16:44:53 +0000 (16:44 -0000)]
2008-01-09 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Use GetCommandLineArgs to calculate ExecutablePath.
[Fixes bug #323552]
svn path=/trunk/mcs/; revision=92524