mono.git
15 years agore-enable ResolveEntity in XmlReader and derived classes
Stephane Delcroix [Thu, 21 Aug 2008 15:25:09 +0000 (15:25 -0000)]
re-enable ResolveEntity in XmlReader and derived classes

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

15 years agoadding DtdProcessing and MaxCharactersFromEntities properties for 2.1
Stephane Delcroix [Thu, 21 Aug 2008 15:25:02 +0000 (15:25 -0000)]
adding DtdProcessing and MaxCharactersFromEntities properties for 2.1

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

15 years ago2008-08-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Aug 2008 14:14:46 +0000 (14:14 -0000)]
2008-08-21  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_magic_trampoline): Add a sync wrapper here,
use mono_jit_info_table_find () to avoid recursion.
(mono_delegate_trampoline): Add a sync wrapper here.

* method-to-ir.c (mono_method_to_ir2): Don't call mono_ldftn_nosyc
here.

* mini.c (mono_method_to_ir): Ditto.

* mini-trampolines.c (mono_create_jit_trampoline_in_domain): Remove
add_sync_wrapper argument. Don't add a sync wrapper here.
(mono_create_jump_trampoline): Don't add a sync wrapper here.

* jit-icalls.c (mono_ldftn_nosync): Removed, no longer needed.

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

15 years ago2008-08-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Aug 2008 14:06:05 +0000 (14:06 -0000)]
2008-08-21  Zoltan Varga  <vargaz@gmail.com>

* console-io.c (console_set_signal_handlers): Fix a warning.

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

15 years ago2008-08-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Aug 2008 14:04:48 +0000 (14:04 -0000)]
2008-08-21  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_synchronized_wrapper): Call the wrapper
method normally, the JIT will take care of avoiding recursion.

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

15 years ago2008-08-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 21 Aug 2008 14:01:20 +0000 (14:01 -0000)]
2008-08-21  Zoltan Varga  <vargaz@gmail.com>

* synchronized.cs: Test synchronized state using Monitor.Pulse since
Monitor.Exit no longer throws an exception.

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

15 years agoUpdated known issues of the logging profiler.
Massimiliano Mantione [Thu, 21 Aug 2008 13:30:51 +0000 (13:30 -0000)]
Updated known issues of the logging profiler.

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

15 years agoUpdated description of the logging profiler.
Massimiliano Mantione [Thu, 21 Aug 2008 13:30:49 +0000 (13:30 -0000)]
Updated description of the logging profiler.

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

15 years ago2.1 profile uses an Address property in OpenReadCompletedEventArgs
Stephane Delcroix [Thu, 21 Aug 2008 11:45:15 +0000 (11:45 -0000)]
2.1 profile uses an Address property in OpenReadCompletedEventArgs

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

15 years agoAdded support for correct accounting of allocations which happened at JIT time.
Massimiliano Mantione [Thu, 21 Aug 2008 10:27:37 +0000 (10:27 -0000)]
Added support for correct accounting of allocations which happened at JIT time.

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

15 years agoNew tests.
Marek Safar [Thu, 21 Aug 2008 09:54:55 +0000 (09:54 -0000)]
New tests.

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

15 years ago2008-08-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 21 Aug 2008 09:54:38 +0000 (09:54 -0000)]
2008-08-21  Marek Safar  <marek.safar@gmail.com>

* convert.cs, expression.cs: Use single ExplicitReferenceConversion routine.

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

15 years agonew DtdProcessing enum for the 2.1 profile
Stephane Delcroix [Thu, 21 Aug 2008 09:38:10 +0000 (09:38 -0000)]
new DtdProcessing enum for the 2.1 profile

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

15 years agoenable the DownloadStringAsync code
Stephane Delcroix [Thu, 21 Aug 2008 09:21:16 +0000 (09:21 -0000)]
enable the DownloadStringAsync code

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

15 years ago2008-08-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 21 Aug 2008 08:15:04 +0000 (08:15 -0000)]
2008-08-21  Marek Safar  <marek.safar@gmail.com>

* convert.cs: Implement explicit array to IList<T> conversion.

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

15 years agoIndent
Miguel de Icaza [Thu, 21 Aug 2008 06:24:53 +0000 (06:24 -0000)]
Indent

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

15 years agoDrop the inssels from primates, as they're broken.
Geoff Norton [Thu, 21 Aug 2008 01:14:37 +0000 (01:14 -0000)]
Drop the inssels from primates, as they're broken.

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

15 years ago2008-08-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 20 Aug 2008 22:35:31 +0000 (22:35 -0000)]
2008-08-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: When calling OnCacheVirtualItems, cast to the right
type of delegate, instead of EventHandler - this was causing a type
cast exception in all apps handling this event.
Fixes #417876.

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

15 years agoremove unecessary InternalsVisibleTo attributes
Jb Evain [Wed, 20 Aug 2008 22:24:29 +0000 (22:24 -0000)]
remove unecessary InternalsVisibleTo attributes

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

15 years agoremove unecessary InternalsVisibleTo attributes
Jb Evain [Wed, 20 Aug 2008 22:14:06 +0000 (22:14 -0000)]
remove unecessary InternalsVisibleTo attributes

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

15 years ago2008-08-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 20 Aug 2008 22:10:14 +0000 (22:10 -0000)]
2008-08-20  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripDropDownItem.cs: Always raise DropDownOpening in
ShowDropDown to give the user a chance to dynamically add
drop down items.  [Step 1 of fixing bug #417877]

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

15 years ago2008-08-21 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 20 Aug 2008 22:03:29 +0000 (22:03 -0000)]
2008-08-21  Jb Evain  <jbevain@novell.com>

* Makefile: add wcf and cardspace to the build.

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

15 years ago2008-08-20 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 20 Aug 2008 21:39:13 +0000 (21:39 -0000)]
2008-08-20  Bill Holmes  <billholmes54@gmail.com>

* exceptions-amd64.c (seh_handler):  For Winx64 adding missing copy
  of nonvolatile registers back from MonoContext to CONTEXT.

Contributed under MIT/X11 license.

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

15 years ago2008-08-20 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 20 Aug 2008 21:35:04 +0000 (21:35 -0000)]
2008-08-20  Jb Evain  <jbevain@novell.com>

* Consts.cs.in: add NET_3_0 case for wcf.

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

15 years ago2008-08-20 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 20 Aug 2008 21:33:06 +0000 (21:33 -0000)]
2008-08-20  Bill Holmes  <billholmes54@gmail.com>

* mini-amd64.c (mono_arch_get_delegate_invoke_impl):  When shifting the
  arguments on Winx64 there are only 4 argument registers.  For this
  logic to work the last argument must be pulled from the stack.

Contributed under MIT/X11 license.

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

15 years agoadapt olive Makefiles to mcs
Jb Evain [Wed, 20 Aug 2008 21:32:10 +0000 (21:32 -0000)]
adapt olive Makefiles to mcs

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

15 years agomove to from olive to mcs
Jb Evain [Wed, 20 Aug 2008 21:25:05 +0000 (21:25 -0000)]
move to from olive to mcs

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

15 years agomove to from olive to mcs
Jb Evain [Wed, 20 Aug 2008 21:24:37 +0000 (21:24 -0000)]
move to from olive to mcs

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

15 years agomove to from olive to mcs
Jb Evain [Wed, 20 Aug 2008 21:24:07 +0000 (21:24 -0000)]
move to from olive to mcs

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

15 years agomove to from olive to mcs
Jb Evain [Wed, 20 Aug 2008 21:23:41 +0000 (21:23 -0000)]
move to from olive to mcs

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

15 years agomove to from olive to mcs
Jb Evain [Wed, 20 Aug 2008 21:22:38 +0000 (21:22 -0000)]
move to from olive to mcs

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

15 years ago2008-08-20 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 20 Aug 2008 21:22:07 +0000 (21:22 -0000)]
2008-08-20  Bill Holmes  <billholmes54@gmail.com>

* console-io.c : Fixing builds for platforms that do not have <termios.h>.

Code is contributed under MIT/X11 license.

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

15 years ago * X11Dnd.cs: Don't fire pseudo motion DragOver events if we haven't
Carlos Alberto Cortez [Wed, 20 Aug 2008 21:09:49 +0000 (21:09 -0000)]
* X11Dnd.cs: Don't fire pseudo motion DragOver events if we haven't
had any mouse motion since the call to StartDrag, to match the dnd
behaviour of .net.
Fixes part of #381876.

2008-08-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

15 years ago2008-08-20 Mike Voorhees <vernish13@gmail.com>
Miguel de Icaza [Wed, 20 Aug 2008 20:22:52 +0000 (20:22 -0000)]
2008-08-20  Mike Voorhees <vernish13@gmail.com>

* Patch from Mike Voorhees to fix various problems with
g_utf8_validate compared to the glib implementation and unit tests
to ensure that there are no regressions.

From a mailing list post to mono-devel-list on August 19th, 2008

[Mono-dev] utf8 related patches. Please review.

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

15 years ago2008-08-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 20 Aug 2008 20:18:43 +0000 (20:18 -0000)]
2008-08-20  Sebastien Pouliot  <sebastien@ximian.com>

* MoonIsolatedStorageFile.cs: More fixes to match unit tests.

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

15 years agodelete this relic
Jb Evain [Wed, 20 Aug 2008 19:45:08 +0000 (19:45 -0000)]
delete this relic

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

15 years ago2008-08-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 20 Aug 2008 19:07:27 +0000 (19:07 -0000)]
2008-08-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* XplatUIX11.cs: Only do the children control bounds check for EnterNotify
if mode is NotifyUngrab, and let it flow if mode is NotifyNormal.
Also, if we are actually moving into a different window after
grabbing, generate a LeaveNotify event for the previous window, since
we need to fire the leave events until the grab ends, not when
actually moving outside of the control.

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

15 years agoupdate with new test failure for smcs
Raja R Harinath [Wed, 20 Aug 2008 17:02:02 +0000 (17:02 -0000)]
update with new test failure for smcs

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

15 years agoNew test.
Marek Safar [Wed, 20 Aug 2008 16:56:23 +0000 (16:56 -0000)]
New test.

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

15 years ago2008-08-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 20 Aug 2008 16:56:06 +0000 (16:56 -0000)]
2008-08-20  Marek Safar  <marek.safar@gmail.com>

A fix for bug #362740
* cs-tokenizer.cs: Handle UTF-16 surrogates.

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

15 years ago2008-08-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Aug 2008 16:15:04 +0000 (16:15 -0000)]
2008-08-20  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MONO_AOT_FILE_VERSION): Bump aot file format version.

* aot-runtime.c aot-compiler.c patch-info.h mini.c: Get rid of
MONO_PATCH_INFO_WRAPPER, encode/decode wrapper methods like the others in
encode/decode_method_ref ().

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

15 years agomake static
Jb Evain [Wed, 20 Aug 2008 15:48:28 +0000 (15:48 -0000)]
make static

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

15 years ago2008-08-20 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 20 Aug 2008 15:40:21 +0000 (15:40 -0000)]
2008-08-20  Sebastien Pouliot  <sebastien@ximian.com>

* MoonIsolatedStorageFile.cs: Fix API to match SL2 beta2. Start
implementing new feature (while writing unit tests).
* MoonIsolatedStorageFileStream.cs: Add new async methods [Begin|
End][Read|Write] present in b2. Fix endless recursion in WriteByte.

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

15 years agoUpdate
Miguel de Icaza [Wed, 20 Aug 2008 15:39:13 +0000 (15:39 -0000)]
Update

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

15 years ago2008-08-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Aug 2008 15:35:20 +0000 (15:35 -0000)]
2008-08-20  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (encode_patch): Handle STATIC_RGCTX_INVOKE wrappers.

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

* mini.c (mono_resolve_patch_target): Handle RGCTX_FETCH sub-patches of type
MONO_PATCH_INFO_METHOD.

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

15 years agoUpdate man page
Miguel de Icaza [Wed, 20 Aug 2008 15:29:09 +0000 (15:29 -0000)]
Update man page

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

15 years agoMissing MonoTODO
Marek Safar [Wed, 20 Aug 2008 14:55:50 +0000 (14:55 -0000)]
Missing MonoTODO

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

15 years agoNew test.
Marek Safar [Wed, 20 Aug 2008 14:48:16 +0000 (14:48 -0000)]
New test.

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

15 years agoNew test + update
Marek Safar [Wed, 20 Aug 2008 14:45:36 +0000 (14:45 -0000)]
New test + update

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

15 years ago2008-08-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 20 Aug 2008 14:44:13 +0000 (14:44 -0000)]
2008-08-20  Marek Safar  <marek.safar@gmail.com>

* generic.cs, support.cs, typemanager.cs, lambda.cs, parameter.cs,
pending.cs, ecore.cs, linq.cs, class.cs, decl.cs, delegate.cs,
flowanalysis.cs, iterators.cs, cs-parser.jay, convert.cs, anonymous.cs,
expression.cs, attribute.cs, statement.cs, doc.cs: Refactored parameters
handling to use just one type of infrastructure and deal with generics
more effectivelly.

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

15 years ago2008-08-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Aug 2008 14:06:58 +0000 (14:06 -0000)]
2008-08-20  Marek Habersack  <mhabersack@novell.com>

* HttpResponseHeader.cs: encode header values if
httpRuntime.enableHeaderChecking is true (default). Fixes bug
#418620
2008-08-20  Marek Habersack  <mhabersack@novell.com>

* HttpRuntimeConfig.cs: implemented the undocumented (but
supported in .NET 1.1) option EnableHeaderChecking to support fix
for bug #416620

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

15 years agoOptimization of the bug #418620 fix, by Juraj Skripsky <juraj@hotfeet.ch>, thanks!
Marek Habersack [Wed, 20 Aug 2008 12:46:13 +0000 (12:46 -0000)]
Optimization of the bug #418620 fix, by Juraj Skripsky <juraj@hotfeet.ch>, thanks!

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

15 years ago2008-08-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 20 Aug 2008 11:50:54 +0000 (11:50 -0000)]
2008-08-20  Marek Habersack  <mhabersack@novell.com>

* HttpResponseHeader.cs: encode header values in the 2.0 profile
if httpRuntime.enableHeaderChecking is true (default). Fixes bug
#418620

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

15 years ago * mono-profiler-logging.c: Added directives block, and used it to
Massimiliano Mantione [Wed, 20 Aug 2008 09:51:11 +0000 (09:51 -0000)]
* mono-profiler-logging.c: Added directives block, and used it to
state that "allocation attribution" done using the stack tracking (so
that allocation callers are directly written in the log file).

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

15 years agoAdded stack tracking (even if still unused).
Massimiliano Mantione [Wed, 20 Aug 2008 09:45:47 +0000 (09:45 -0000)]
Added stack tracking (even if still unused).

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

15 years ago2008-08-20 Daniel Morgan <monodanmorg@yahoo.com>
Daniel Morgan [Wed, 20 Aug 2008 05:59:33 +0000 (05:59 -0000)]
2008-08-20  Daniel Morgan <monodanmorg@yahoo.com>

* System.Data.OracleClient/OracleConnection.cs: allow
the use of a connection string which allows a
TNS network description that is parentheses delimited
like the following which has the hostname, port, and
service name without requiring use of a TNSNAMES.ORA
file.

User ID=SCOTT;Password=TIGER;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.101)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TESTDB)))

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

15 years ago2008-08-12 Gert Driesen <drieseng@users.sourceforge.net>
Miguel de Icaza [Wed, 20 Aug 2008 05:06:13 +0000 (05:06 -0000)]
2008-08-12  Gert Driesen  <drieseng@users.sourceforge.net>

* corlib.dll.sources: Removed ReflectionSerializationHolder.cs.

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

15 years ago2008-08-20 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 20 Aug 2008 05:05:47 +0000 (05:05 -0000)]
2008-08-20  Miguel de Icaza  <miguel@novell.com>

* console-io.c (sigcont_handler): We need to restore the entire
termios state, not only the original settings, as things like echo
can be controlled after this (Booish exposes this issue with its
own ReadLine implementation).

Additionally, we need to set the terminal back into keypad_xmit
mode.

(ves_icall_System_ConsoleDriver_TtySetup): Take the keypad xmit
string as a paramter as well.   Otherwise we get different
keyboard sequences.

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

15 years ago2008-08-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Aug 2008 05:00:35 +0000 (05:00 -0000)]
2008-08-20  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (decode_exception_debug_info): Decode the contents of
MonoGenericJitInfo.

* aot-compiler.c (emit_exception_debug_info): Emit the contents of
MonoGenericJitInfo.

* method-to-ir.c (emit_imt_argument): Fix AOT+gshared support.

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

15 years ago2008-08-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Aug 2008 01:40:46 +0000 (01:40 -0000)]
2008-08-20  Zoltan Varga  <vargaz@gmail.com>

* pinvoke2.cs libtest.c: Add test for out marshalling of delegates.
Fix warnings.

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

15 years ago2008-08-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Aug 2008 01:38:38 +0000 (01:38 -0000)]
2008-08-20  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (emit_marshal_object): Avoid managed-to-native marshalling of
delegates with byref out parameter passing. Fixes #351520.

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

15 years ago2008-08-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Aug 2008 00:42:32 +0000 (00:42 -0000)]
2008-08-20  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (add_valuetype): Use a dummy gsctx if we didn't receive
one from the caller.

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

15 years ago2008-08-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Aug 2008 00:40:21 +0000 (00:40 -0000)]
2008-08-20  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (decode_generic_inst): New function to decode and
return a interned generic inst.
(decode_klass_ref): Use it.
(decode_method_ref): Ditto.

* aot-compiler.c (emit_exception_debug_info): Save
jinfo->has_generic_jit_info too.

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

15 years ago2008-08-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 20 Aug 2008 00:35:34 +0000 (00:35 -0000)]
2008-08-20  Zoltan Varga  <vargaz@gmail.com>

* debug-helpers.c (mono_context_get_desc): New helper function to stringify
a generic context.
(mono_type_get_desc): Add the type arguments for GENERICINST.
(mono_method_full_name): Stringify the class name using mono_type_full_name
so it picks up generic arguments.

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

15 years ago * XplatUIX11.cs: The check inside EnterNotify case to fire MouseEnter
Carlos Alberto Cortez [Tue, 19 Aug 2008 22:53:32 +0000 (22:53 -0000)]
* XplatUIX11.cs: The check inside EnterNotify case to fire MouseEnter
events only for client windows was wrong - we need to compare the
client window against the window receiving the EnterNotify event, not
against zero (since client window is never Zero, btw).
This prevents having unnecessary handling of EnterNotify events for
non-client windows when a gran begins.

2008-08-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

15 years ago2008-08-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 19 Aug 2008 22:32:24 +0000 (22:32 -0000)]
2008-08-19  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* XplatUIX11.cs: Handling X ButtonPress events, we must *not* generate
MouseMove/MotionNotify events at all (which should only happen after
MouseUp/ButtonRelease, as .Net does).
This avoids firing an extra and unnecessary MouseMove event just after
every MouseDown event.

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

15 years ago2008-08-20 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 19 Aug 2008 22:25:51 +0000 (22:25 -0000)]
2008-08-20  Marek Habersack  <mhabersack@novell.com>

* Membership.cs: implemented the HashAlgorithmType property. Fixes
bug #418458

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

15 years ago2008-08-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 19 Aug 2008 21:54:57 +0000 (21:54 -0000)]
2008-08-19  Jonathan Pobst  <monkey@jpobst.com>

* LinkLabel.cs: Always clear any previous links when LinkArea
is set.  [Fixes bug #410709]

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

* LinkLabelTest.cs: Add test for bug #410709.

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

15 years ago2008-08-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 19 Aug 2008 21:22:51 +0000 (21:22 -0000)]
2008-08-19  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripProfessionalRenderer.cs: Revert last change.
* ProfessionalColorTable.cs: For Classic, use SystemColors.Window
for ToolStripDropDownBackground.

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

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

* ToolStripProfessionalRenderer.cs: Use Window color for the
background of dropdowns to match .Net when the user is not
using the default white.  [Fixes bug #418108]

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

15 years agoTab
Miguel de Icaza [Tue, 19 Aug 2008 20:17:43 +0000 (20:17 -0000)]
Tab

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

15 years agoRemoved merge failure leftover.
Gert Driesen [Tue, 19 Aug 2008 20:02:48 +0000 (20:02 -0000)]
Removed merge failure leftover.

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

15 years ago* console-io.c: Removed debug output.
Gert Driesen [Tue, 19 Aug 2008 19:58:40 +0000 (19:58 -0000)]
* console-io.c: Removed debug output.

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

15 years ago2008-08-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 19 Aug 2008 19:47:39 +0000 (19:47 -0000)]
2008-08-19  Marek Habersack  <mhabersack@novell.com>

* JsonSerializer.cs: implemented a work-around for a bug in the
SerializedLazyDictionary which would fail to serialize a type if
any of its properties would throw an exception.

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

15 years ago2008-08-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Aug 2008 19:13:07 +0000 (19:13 -0000)]
2008-08-19  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c (mono_arch_output_basic_block): Add OP_FCONV_TO_I.

* iltests.il.in: Add a test for fconv_to_i.

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

15 years agoUpdate
Miguel de Icaza [Tue, 19 Aug 2008 18:38:23 +0000 (18:38 -0000)]
Update

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

15 years agoIn .:
Rodrigo Kumpera [Tue, 19 Aug 2008 16:56:30 +0000 (16:56 -0000)]
In .:
2008-08-19 Rodrigo Kumpera  <rkumpera@novell.com>

reflection.c (mono_reflection_create_runtime_class): Alloc
the nested classes linked list using the dynamic image mempool.
Fixes leak in corlib compilation.

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

15 years agosl2b2 update
Jb Evain [Tue, 19 Aug 2008 16:26:20 +0000 (16:26 -0000)]
sl2b2 update

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

15 years ago2008-08-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 19 Aug 2008 15:39:02 +0000 (15:39 -0000)]
2008-08-19  Miguel de Icaza  <miguel@novell.com>

* console-io.c: Fix incredibly annoying behavior on the console
after resuming execution after control-z.   This affected every
console application.

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

15 years ago2008-08-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Aug 2008 14:23:37 +0000 (14:23 -0000)]
2008-08-19  Zoltan Varga  <vargaz@gmail.com>

* liveness.c: Disable the liveness2 pass for now to save space.

* regalloc2.c: Include mempool-internals.h to fix warnings.

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

15 years ago2008-08-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Aug 2008 14:15:15 +0000 (14:15 -0000)]
2008-08-19  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (encode_method_ref): Encode the context of generic
instance methods.

* aot-runtime.c (decode_method_ref): Inflate generic methods using
the context saved in the aot file.

* mini.h (MONO_AOT_FILE_VERSION): Bump aot file format version.

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

15 years ago2008-08-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 19 Aug 2008 12:54:17 +0000 (12:54 -0000)]
2008-08-19  Marek Habersack  <mhabersack@novell.com>

* ThemeDirectoryBuildProvider.cs: theme directory dependencies
should use only virtual paths for CSS files. Fixes bug #397187

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

15 years ago2008-08-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Aug 2008 10:55:22 +0000 (10:55 -0000)]
2008-08-19  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_output_basic_block): Disable AOT for OP_JMP.

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

15 years ago2008-08-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 19 Aug 2008 10:34:46 +0000 (10:34 -0000)]
2008-08-19  Marek Habersack  <mhabersack@novell.com>

* UrlUtils.cs: fail gracefully if the path passed to GetSessionId
is null.

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

15 years ago2008-08-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Aug 2008 07:46:18 +0000 (07:46 -0000)]
2008-08-19  Atsushi Enomoto  <atsushi@ximian.com>

* XplatUIWin32.cs : SetTimer() used to set wrong window handle and
  it caused timer registration twice. Fixed bug #418107.

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

15 years ago2008-08-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 19 Aug 2008 01:21:29 +0000 (01:21 -0000)]
2008-08-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

[Correction: This is the actual change to X11Dnd issue, not the
previous one, which was actually a different issue.]

* X11Dnd.cs: Increase the interval for the Timer, to not fire our
pseudo motion HandleMouseOver method so aggresive. Also, don't call it
when the pointer is actually in motion, but only when the pointer
seems to stop (as .net does).
Fixes part of #381876.

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

15 years ago* Mono.Mozilla/Base.cs: Clean up list of webcontrol objects when
Andreia Gaita [Tue, 19 Aug 2008 01:08:07 +0000 (01:08 -0000)]
* Mono.Mozilla/Base.cs: Clean up list of webcontrol objects when
  shutting down, and switch the initialized flag when there are no
  more controls loaded. Lock initialization and shutdown.

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

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

15 years ago* Fix inconsistent newlines. Add eol-style property.
Andreia Gaita [Tue, 19 Aug 2008 00:43:07 +0000 (00:43 -0000)]
* Fix inconsistent newlines. Add eol-style property.

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

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

15 years ago2008-08-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Aug 2008 00:31:04 +0000 (00:31 -0000)]
2008-08-19  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir2): When using CEE_JMP, make arguments
volatile so they won't be optimized away.

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

15 years agoIn .:
Rodrigo Kumpera [Tue, 19 Aug 2008 00:28:34 +0000 (00:28 -0000)]
In .:
2008-08-19  Rodrigo Kumpera  <rkumpera@novell.com>

* ssa.c:
* ssa2.c:
* mini.c:
* regalloc2.c:
* dominators.c: Remove duplicated functions that now are in
mempool-internals.h.

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

15 years ago2008-08-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Aug 2008 00:21:38 +0000 (00:21 -0000)]
2008-08-19  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Fix warnings.

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

15 years ago2008-08-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Aug 2008 00:01:08 +0000 (00:01 -0000)]
2008-08-19  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (decode_klass_ref): Add support for VARs/MVARs.

* aot-compiler.c (encode_klass_ref): Encode is_method too for VARs/MVARs.

* method-to-ir.c (emit_get_rgctx_method): Use MONO_PATCH_INFO_METHODCONST
as the patch type.

* mini.c (mono_resolve_patch_target): Ditto.

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

15 years ago2008-08-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 19 Aug 2008 00:00:55 +0000 (00:00 -0000)]
2008-08-19  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (decode_klass_ref): Add support for VARs/MVARs.

* aot-compiler.c (encode_klass_ref): Encode is_method too for VARs/MVARs.

* method-to-ir.c (emit_get_rgctx_method): Use MONO_PATCH_INFO_METHODCONST
as the patch type.

* mini.c (mono_resolve_patch_target): Ditto.

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

15 years ago2008-08-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 18 Aug 2008 23:10:28 +0000 (23:10 -0000)]
2008-08-19  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (encode_patch): Add support for RGCTX_FETCH.
(encode_klass_ref): Add support for encoding VARs/MVARs.

* mini.c (mono_patch_info_dup_mp): Handle RGCTX_FETCH.

* aot-runtime.c (decode_patch_info): Rename to 'decode_patch'. Split out
the handling of the got entries into a separate 'decode_got_entry' function.
Add support for RGCTX_FETCH.

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

15 years ago2008-08-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 18 Aug 2008 23:04:02 +0000 (23:04 -0000)]
2008-08-19  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c mini-amd64.h: Change the VTABLE_REG to RDI since RAX is
clobbered by the trampoline code.

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

15 years ago2008-08-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 18 Aug 2008 22:03:54 +0000 (22:03 -0000)]
2008-08-19  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c mini-amd64.h: Change the VTABLE_REG to RAX since that is
not clobbered by the indirect calling code.

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

15 years agoIn .:
Rodrigo Kumpera [Mon, 18 Aug 2008 20:59:54 +0000 (20:59 -0000)]
In .:
2008-08-18 Rodrigo Kumpera  <rkumpera@novell.com>

* mempool-internals.h: Header for mono private mempool functions. The first
two function are for allocating glib linked lists using pools.

* mempool.c: Added g_list_prepend_mempool and g_slist_prepend_mempool.

* Makefile.am: Added mempool-internals.h.

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

15 years ago2008-08-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 18 Aug 2008 20:45:46 +0000 (20:45 -0000)]
2008-08-18  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_patch_code): Handle RGCTX_FETCH/GENERIC_CLASS_INIT
to fix the build.

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

15 years ago2008-08-18 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 18 Aug 2008 20:29:38 +0000 (20:29 -0000)]
2008-08-18  Jonathan Pobst  <monkey@jpobst.com>

* ListBox.cs: Fix CopyTo implementation.
[Fixes bug #409169]

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

15 years agoIn .:
Rodrigo Kumpera [Mon, 18 Aug 2008 20:16:26 +0000 (20:16 -0000)]
In .:
2008-08-18  Rodrigo Kumpera  <rkumpera@novell.com>

* method-to-ir.c (mono_emit_method_call_full): Alloc the constructor
signature using the compilation mempool otherwise we would leak it.

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