mono.git
16 years ago2008-04-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Tue, 22 Apr 2008 00:13:52 +0000 (00:13 -0000)]
2008-04-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>

* HttpWebResponse.cs: do not check the disposed status for properties
and methods that return response data other than the stream itself.
Fixes bug #381223.

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

16 years ago2008-04-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 21 Apr 2008 22:00:55 +0000 (22:00 -0000)]
2008-04-21  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView*: Implement support for drawing error icons.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 20:34:15 +0000 (20:34 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* debug-debugger.h (MonoDebuggerInfo): Removed `attach', `detach'
and `get_lmf_addr'; `notification_address' is no longer a pointer.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 20:28:31 +0000 (20:28 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* debug-debugger.h (MonoDebuggerInfo): Added `thread_vtable_ptr',
`thread_vtable', `event_handler_ptr' and `event_handler'.

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

16 years ago2008-04-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 21 Apr 2008 20:26:52 +0000 (20:26 -0000)]
2008-04-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Make vbar and hbar internal.
* TreeNode.cs: If collapsing the node removes one of the TreeView's
scrollbars, invalidate the whole thing.
[Fixes bug #382001]

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

16 years ago2008-04-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 21 Apr 2008 19:41:31 +0000 (19:41 -0000)]
2008-04-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Add tests for bug #382028.

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

16 years ago2008-04-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 21 Apr 2008 19:38:00 +0000 (19:38 -0000)]
2008-04-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Calling Sort() sets Sorted = true.
* TreeNodeCollection.cs: Try to find the owner TreeView to determine
if the nodes need to be sorted.
[Fixes bug #382028]

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

16 years ago* SqlDateTime.cs: Changed argument names to match MS. Code formatting.
Gert Driesen [Mon, 21 Apr 2008 19:11:01 +0000 (19:11 -0000)]
* SqlDateTime.cs: Changed argument names to match MS. Code formatting.

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

16 years ago* SqlDecimal.cs: Changed argument names to match MS. Code formatting.
Gert Driesen [Mon, 21 Apr 2008 19:09:45 +0000 (19:09 -0000)]
* SqlDecimal.cs: Changed argument names to match MS. Code formatting.
* SqlNotFilledException.cs: Changed argument names to match MS. Code
formatting.     hanged argument names to match MS. Code
* SqlChars.cs: Changed argument names to match MS. Code formatting.
* SqlTypeException.cs: Changed argument names to match MS. Code
formatting.       ed argument names to match MS. Code
* SqlXml.cs: Changed argument names to match MS. Code formatting.
* SqlInt16.cs: Changed argument names to match MS. Code formatting.
* SqlInt64.cs: Changed argument names to match MS. Code formatting.
* SqlTruncateException.cs: Changed argument names to match MS.
Code formatting.    ged argument names to match MS.
* SqlDouble.cs: Changed argument names to match MS. Code formatting.
* SqlSingle.cs: Changed argument names to match MS. Code formatting.
* SqlBytes.cs: Changed argument names to match MS. Code formatting.
* SqlNullValueException.cs: Changed argument names to match MS. Code
formatting.     hanged argument names to match MS. Code
* SqlMoney.cs: Changed argument names to match MS. Code formatting.

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

16 years ago* SqlBulkCopyColumnMappingCollection.cs: Changed argument names to
Gert Driesen [Mon, 21 Apr 2008 18:59:17 +0000 (18:59 -0000)]
* SqlBulkCopyColumnMappingCollection.cs: Changed argument names to
match MS. Code formatting.
* SqlCommand.cs: Changed argument names to match MS. Code formatting.
Do not include explicit IDbCommand implementation on 2.0 profile.
* SqlCommandBuilder.cs: Changed argument names to match MS. Code
formatting.
* SqlDataReader.cs: Changed argument names to match MS. Code
formatting.
* SqlParameterCollection.cs: Do not include IList, ICollection and
IDataParameterCollection explicit interface implementation on 2.0
profile. Code formatting.
* SqlConnection.cs: Changed argument names to match MS.
* SqlDataAdapter.cs: Changed argument names to match MS.
* SqlTransaction.cs: Do not include explicit interface implementation
of IDbTransaction.Connection on 2.0 profile. Code formatting.

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

16 years ago* OleDbDataAdapter.cs: Changed argument names to match MS. Removed
Gert Driesen [Mon, 21 Apr 2008 18:47:10 +0000 (18:47 -0000)]
* OleDbDataAdapter.cs: Changed argument names to match MS. Removed
extra explicit interface implementation.
* OleDbParameter.cs: Changed argument names to match MS.
* OleDbTransaction.cs: Do not include IDbConnection.Connection and
IDisposable.Dispose for 2.0 profile.
* OleDbParameterCollection.cs: Changed argument names to match MS.
Do not include explicit interface implementations on 2.0 profile.
* OleDbConnection.cs: Changed argument names to match MS. Code
formatting.

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

16 years ago* OdbcParameterCollection.cs: Changed argument names to match MS.
Gert Driesen [Mon, 21 Apr 2008 18:33:35 +0000 (18:33 -0000)]
* OdbcParameterCollection.cs: Changed argument names to match MS.
Code formatting.

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

16 years ago2008-04-21 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 21 Apr 2008 17:45:35 +0000 (17:45 -0000)]
2008-04-21  Ivan N. Zlatev  <contact@i-nz.net>

* Form.cs: Fire SizeChanged for both when the form is minimized and
restored.
* XplatUIX11.cs: Instead of tracking minimization on UnmapNotify track it
on PropertyNotify of _NET_WM_STATE. Much much cleaner.

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

16 years ago* DataColumnMappingCollection.cs: Modified argument names to match
Gert Driesen [Mon, 21 Apr 2008 17:43:13 +0000 (17:43 -0000)]
* DataColumnMappingCollection.cs: Modified argument names to match
MS. Code formatting.
* DataTableMappingCollection.cs: Modified argument names to match MS.
Code formatting.

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

16 years ago* DataRowView.cs: Modified argument names to match MS. Use
Gert Driesen [Mon, 21 Apr 2008 17:39:07 +0000 (17:39 -0000)]
* DataRowView.cs: Modified argument names to match MS. Use
String.Empty instead of "". Code formatting.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 16:47:48 +0000 (16:47 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MONO_DEBUGGER_VERSION): Bump to 69.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 16:47:35 +0000 (16:47 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* debug-debugger.h (MonoDebuggerInfo): Added `init_code_buffer';
allows delayed initialization of the `executable_code_buffer' when
attaching.

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

16 years agoThe first SLE pass.
Marek Safar [Mon, 21 Apr 2008 16:45:46 +0000 (16:45 -0000)]
The first SLE pass.

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

16 years ago2008-04-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Apr 2008 16:44:22 +0000 (16:44 -0000)]
2008-04-21  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Emit ldnull and not null expression as an instance argument
 of static method expression calls.

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

16 years ago2008-04-21 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 21 Apr 2008 16:16:16 +0000 (16:16 -0000)]
2008-04-21  Dick Porter  <dick@ximian.com>

* io.c (DeleteFile): Disable for now the bug fix for 323389, it's
breaking too much other stuff.

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

16 years agofixed
Jb Evain [Mon, 21 Apr 2008 16:10:17 +0000 (16:10 -0000)]
fixed

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

16 years ago2008-04-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Apr 2008 16:09:54 +0000 (16:09 -0000)]
2008-04-21  Jb Evain  <jbevain@novell.com>

* Expression.cs (Call): don't rely on the fact that if the
instance expression is null, then it's a static call. Explicitely
check on the MethodInfo for that.
* EmitContext.cs (EmitCall): same pattern.

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

16 years agotest for last Marek's issue
Jb Evain [Mon, 21 Apr 2008 16:05:47 +0000 (16:05 -0000)]
test for last Marek's issue

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

16 years agoNew test.
Marek Safar [Mon, 21 Apr 2008 16:01:07 +0000 (16:01 -0000)]
New test.

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

16 years ago2008-04-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Apr 2008 15:44:41 +0000 (15:44 -0000)]
2008-04-21  Marek Safar  <marek.safar@gmail.com>

A fix for bug #378200
* expression.cs: Fixed crash when creating parameterless expression tree
method call.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 15:37:03 +0000 (15:37 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* mini.h (mono_debugger_create_notification_function): Removed.
* tramp-*.c (mono_debugger_create_notification_function): Removed.

* mdb-debug-info64.s
(MONO_DEBUGGER__notification_function): Added this in the .text section.

* mdb-debug-info32.s
(MONO_DEBUGGER__notification_function): Added this in the .text section.

* Makefile.am: Fix the mdb-debug-info*.s logic; the debugger
currently only works on x86 and x86_64, so don't create it on ppc.

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

16 years agoNew test.
Marek Safar [Mon, 21 Apr 2008 15:27:33 +0000 (15:27 -0000)]
New test.

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

16 years ago2008-04-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Apr 2008 15:27:19 +0000 (15:27 -0000)]
2008-04-21  Marek Safar  <marek.safar@gmail.com>

A fix for bug #375297
* anonymous.cs: Fixed crash when inferring from null argument anonymous
method.

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

16 years ago2008-04-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 21 Apr 2008 15:21:51 +0000 (15:21 -0000)]
2008-04-21  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: If the combobox is disabled, draw a disabled
background before painting anything else.
[Fixes bug #381729]

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 14:51:28 +0000 (14:51 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* mono.1: Documented the new --debug=mdb-optimizations option.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 14:50:43 +0000 (14:50 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* mini.h (MonoDebugOptions): Added `mdb_optimizations'.

* mini.c
(mini_method_compile): In the fp elimination check, check
`debug_options.mdb_optimizations' in addition to
mono_debug_using_mono_debugger().

* driver.c (mono_main): Added `--debug=mdb-optimizations' option to
disable some JIT optimizations which are only disabled when
running inside the debugger.
Added `--help-debug' option to describe the debugging options.
(parse_debug_options): New static function to parse the `--debug'
options, so we can easily add more stuff in future.

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

16 years agoNew test.
Marek Safar [Mon, 21 Apr 2008 14:36:02 +0000 (14:36 -0000)]
New test.

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

16 years ago2008-04-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Apr 2008 14:30:20 +0000 (14:30 -0000)]
2008-04-21  Marek Safar  <marek.safar@gmail.com>

A fix for bug #377596
* decl.cs, class.cs: Emit delegate type argument attributes.

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

16 years agoFix deadlock condition.
Massimiliano Mantione [Mon, 21 Apr 2008 14:16:07 +0000 (14:16 -0000)]
Fix deadlock condition.

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

16 years agoAdded an incremental "counter delta" field to the block header.
Massimiliano Mantione [Mon, 21 Apr 2008 14:15:03 +0000 (14:15 -0000)]
Added an incremental "counter delta" field to the block header.

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

16 years agoNew tests.
Marek Safar [Mon, 21 Apr 2008 13:51:59 +0000 (13:51 -0000)]
New tests.

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

16 years ago2008-04-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Apr 2008 13:51:13 +0000 (13:51 -0000)]
2008-04-21  Marek Safar  <marek.safar@gmail.com>

A fix for bug #365314
* generic.cs, ecore.cs: Type parameter declaration cannot be of generic type

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

16 years ago2008-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 21 Apr 2008 13:44:37 +0000 (13:44 -0000)]
2008-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvert.cs: Fix HMAC to respect start index inside an array.
Patch by Kazuki Oikawa.

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

16 years ago2008-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 21 Apr 2008 13:39:10 +0000 (13:39 -0000)]
2008-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* HMACSHA1Test.cs: Add test case where data reside inside a byte
array. Patch by Kazuki Oikawa.

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

16 years ago2008-04-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 21 Apr 2008 13:37:57 +0000 (13:37 -0000)]
2008-04-21  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvert.cs: Fix HMAC to respect start index inside an array.
Patch by Kazuki Oikawa.

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

16 years ago2008-04-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Apr 2008 12:46:01 +0000 (12:46 -0000)]
2008-04-21  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay, expression.cs: ComposedCast can work with type expressions
only.

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

16 years ago2008-04-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Apr 2008 12:44:17 +0000 (12:44 -0000)]
2008-04-21  Marek Safar  <marek.safar@gmail.com>

* generic.cs (TypeParameter): Removed redundant location.

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

16 years ago* ControlTest.cs: Enabled test for bug #330501.
Gert Driesen [Mon, 21 Apr 2008 12:35:51 +0000 (12:35 -0000)]
* ControlTest.cs: Enabled test for bug #330501.

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

16 years agoFix unix2Dos
Eyal Alalouf [Mon, 21 Apr 2008 09:49:57 +0000 (09:49 -0000)]
Fix unix2Dos

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

16 years ago2008-04-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Apr 2008 07:41:34 +0000 (07:41 -0000)]
2008-04-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* SmtpClient.cs: Fix bug with string handling

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

16 years ago2008-04-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Mon, 21 Apr 2008 07:37:26 +0000 (07:37 -0000)]
2008-04-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* SmtpClient.cs: Fix formatting

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

16 years ago * X11Dnd.cs: Wehn the drag and drop operation is cancelled don't
Carlos Alberto Cortez [Mon, 21 Apr 2008 06:19:48 +0000 (06:19 -0000)]
* X11Dnd.cs: Wehn the drag and drop operation is cancelled don't
forget to send a Leave event to the target window - just as .net does
when cancelling dnd operations.

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

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

16 years ago2008-04-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 21 Apr 2008 02:01:59 +0000 (02:01 -0000)]
2008-04-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* X11Dnd.cs: Stop tracking messages as part of the dnd operation as
soon as possible - this happens when we send the drop message to the
target window. This way we avoid firing any DragOver _after_ drop finished.
Fixes #378179.

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

16 years ago2008-04-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 20 Apr 2008 20:40:17 +0000 (20:40 -0000)]
2008-04-20  Zoltan Varga  <vargaz@gmail.com>

* mini.c (set_exception_type_from_invalid_il): Avoid reading invalid memory when
the method has no body.

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

16 years ago2008-04-20 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Sun, 20 Apr 2008 17:36:51 +0000 (17:36 -0000)]
2008-04-20 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>

* SmtpClient.cs: made ParseExtension() work. After STARTTLS, reset
data retrieved from EHLO.
Fixes bug #377463.

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

16 years agorefactor
Jb Evain [Sun, 20 Apr 2008 15:12:32 +0000 (15:12 -0000)]
refactor

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

16 years agowe pass this
Jb Evain [Sun, 20 Apr 2008 15:06:12 +0000 (15:06 -0000)]
we pass this

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

16 years ago2008-04-20 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 20 Apr 2008 15:05:50 +0000 (15:05 -0000)]
2008-04-20  Jb Evain  <jbevain@novell.com>

* MemberMemberBinding.cs (Emit): implement.

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

16 years agotest for compiled member member binding
Jb Evain [Sun, 20 Apr 2008 15:04:36 +0000 (15:04 -0000)]
test for compiled member member binding

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

16 years agoMerge branch 'local'
Geoff Norton [Sun, 20 Apr 2008 14:42:19 +0000 (14:42 -0000)]
Merge branch 'local'

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

16 years ago2008-04-20 Geoff Norton <gnorton@novell.com>
Geoff Norton [Sun, 20 Apr 2008 14:41:03 +0000 (14:41 -0000)]
2008-04-20  Geoff Norton  <gnorton@novell.com>

        * src/gspan.c: Fix the _NSGetEnviron define to prevent an impropoer
        pointer dereference.

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

16 years ago2008-04-20 Geoff Norton <gnorton@novell.com>
Geoff Norton [Sun, 20 Apr 2008 14:41:01 +0000 (14:41 -0000)]
2008-04-20  Geoff Norton  <gnorton@novell.com>

        * processes.c: Fix the _NSGetEnviron define to prevent an impropoer
        pointer dereference.

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

16 years ago2008-04-20 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 20 Apr 2008 13:32:56 +0000 (13:32 -0000)]
2008-04-20  Ivan N. Zlatev  <contact@i-nz.net>

* XplatUIX11.cs: Send WM_WINDOWPOSCHANGED when a toplevel is minimized.
* Form.cs: Handle form minimization as a special state, where size doesn't
change, but we have to fire SizeChanged.
[Fixes bug #325122 for the win32 and x11 backends]

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

16 years agorefactoring
Jb Evain [Sun, 20 Apr 2008 11:06:31 +0000 (11:06 -0000)]
refactoring

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

16 years ago2008-04-20 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 20 Apr 2008 10:44:47 +0000 (10:44 -0000)]
2008-04-20  Ivan N. Zlatev  <contact@i-nz.net>

* XplatUIX11.cs: Win32 doesn't send WM_(KILL|SET)FOCUS
if the handle is disabled.
[Fixes bug #371751]

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

16 years ago2008-04-20 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 20 Apr 2008 01:43:40 +0000 (01:43 -0000)]
2008-04-20  Ivan N. Zlatev  <contact@i-nz.net>

* XplatUIX11.cs: Enable Maximize/Minimize/Close ability (not decorations)
for forms with FormBorderStyle.None.
[Fixes bug #349571]

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

16 years ago2008-04-20 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 20 Apr 2008 00:54:29 +0000 (00:54 -0000)]
2008-04-20  Ivan N. Zlatev  <contact@i-nz.net>

* XplatUIX11.cs: Implement support for WM_ENTERSIZEMOVE and
WM_EXITSIZEMOVE.
[Fixes bug #346529 for the X11 backend]

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

16 years ago2008-04-19 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 19 Apr 2008 23:40:43 +0000 (23:40 -0000)]
2008-04-19  Ivan N. Zlatev  <contact@i-nz.net>

        * XplatUIX11.cs:
          - Send a mouse Enter message after say dragging the mouse with a
          button down and then release it in another client.
          - Reset the cursor to prevent X11 from remembering it and setting it
          before the control gets WM_SETCURSOR.
          - Qeueue a mouse move after a mouse enter like win32.
          [Fixes bug #323234]

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

16 years agorevert an accidental commit.
Ivan Zlatev [Sat, 19 Apr 2008 23:39:14 +0000 (23:39 -0000)]
revert an accidental commit.

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

16 years ago2008-04-19 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 19 Apr 2008 23:10:03 +0000 (23:10 -0000)]
2008-04-19  Ivan N. Zlatev  <contact@i-nz.net>

* ContainerControl.cs, Form.cs: Expose ValidateNestedControls to
the 1.1 profile, so that the Form can explicitly validate on close.

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

16 years ago2008-04-19 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Sat, 19 Apr 2008 21:21:40 +0000 (21:21 -0000)]
2008-04-19  Jonathan Chambers <joncham@gmail.com>

* mini-amd64.c (cpuid): Implement with MSVC intrinsic as inline
assembly is not allowed in MSVC 64-bit compiler.
(mono_arch_cpu_init): Don't set floating point precision on MSVC build
as we get floating point exceptions everywhere.

* exceptions-amd64.c (get_throw_trampoline): Push empty args on stack to
correctly align arguments for call to throw_exception.
(prepare_for_guard_pages): Cast to guint64 instead of unsigned long.

Code contributed under MIT/X11 license.

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

16 years ago2008-04-19 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 19 Apr 2008 18:17:20 +0000 (18:17 -0000)]
2008-04-19  Ivan N. Zlatev  <contact@i-nz.net>

* XplatUIX11.cs: Implement limited support for WM_SYSCOMMAND.
It's sent when the form gets moved, resized, closed.
* XplatUIStructs.cs: Add SystemCommands enum for WM_SYSCOMMAND.
[Fixes bug #359193 for X11]

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

16 years agorefactor
Jb Evain [Sat, 19 Apr 2008 15:57:13 +0000 (15:57 -0000)]
refactor

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

16 years ago2008-04-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 19 Apr 2008 15:41:47 +0000 (15:41 -0000)]
2008-04-19  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Cecil.Mdb/MdbReader.cs: Update wrt interface change (i.e.
Read now provide a Dictionary to reuse the existing Hashtable
between offsets and instructions).

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

16 years ago2008-04-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 19 Apr 2008 15:41:35 +0000 (15:41 -0000)]
2008-04-19  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Cecil.Cil/CodeReader.cs:
* Mono.Cecil.Cil/ISymbolReader.cs:
Move reading of debugging symbols where it's possible to
reuse the existing Hashtable (offset, Instruction) in
the debugging libraries. Change interface to allow
passing the Hashtable.

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

16 years ago2008-04-19 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 19 Apr 2008 15:38:39 +0000 (15:38 -0000)]
2008-04-19  Ivan N. Zlatev  <contact@i-nz.net>

* Form.cs: Add a ValidateChildren for the 1.1 profile. Fixes
the build.

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

16 years ago2008-04-19 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 19 Apr 2008 15:24:22 +0000 (15:24 -0000)]
2008-04-19  Ivan N. Zlatev  <contact@i-nz.net>

* ListView.cs: Move CalculateDetailsGroupItemsCount to the NET_2_0
group. Fixes the 1.1 build.

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

16 years agoIn Test/System.Data.SqlClient:
Robert Jordan [Sat, 19 Apr 2008 15:14:40 +0000 (15:14 -0000)]
In Test/System.Data.SqlClient:
2008-04-19  Robert Jordan  <robertj@gmx.net>

* SqlCommandTest.cs: Add test case for bug #381100.

In System.Data.SqlClient:
2008-04-19  Robert Jordan  <robertj@gmx.net>

* SqlParameterCollection.cs (AddRange(SqlParameter[])):
Fix endless recursion.

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

16 years ago2008-04-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 19 Apr 2008 14:18:56 +0000 (14:18 -0000)]
2008-04-19  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h (amd64_is_imm32): Use gint64 instead of glong because of
win64.

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

16 years ago2008-04-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 19 Apr 2008 14:18:15 +0000 (14:18 -0000)]
2008-04-19  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (amd64_patch): Make the check for (%rip) addressing more strict.

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

16 years agowe pass those guys
Jb Evain [Sat, 19 Apr 2008 13:28:55 +0000 (13:28 -0000)]
we pass those guys

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

16 years ago2008-04-19 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 19 Apr 2008 13:28:34 +0000 (13:28 -0000)]
2008-04-19  Jb Evain  <jbevain@novell.com>

* EmitContext.cs: infrastructure work to attach a compiled
lambda expression to an execution scope, and to detect and store
external globals in the scope.
* ConstantExpression.cs: load globals from the scope.

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

16 years ago2008-04-19 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 19 Apr 2008 13:23:20 +0000 (13:23 -0000)]
2008-04-19  Jb Evain  <jbevain@novell.com>

* ExecutionScope.cs: change the constructor to take a list
of globals.

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

16 years agocomplete
Jb Evain [Sat, 19 Apr 2008 12:34:02 +0000 (12:34 -0000)]
complete

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

16 years agoadd test for globals
Jb Evain [Sat, 19 Apr 2008 12:27:30 +0000 (12:27 -0000)]
add test for globals

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

16 years ago2008-04-19 Jb Evain <jbevain@novell.com>
Jb Evain [Sat, 19 Apr 2008 12:14:22 +0000 (12:14 -0000)]
2008-04-19  Jb Evain  <jbevain@novell.com>

* ExpressionVisitor.cs (Visit): don't die because of Power.

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

16 years agocomplete
Jb Evain [Sat, 19 Apr 2008 11:52:33 +0000 (11:52 -0000)]
complete

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

16 years agoremove changelogs from the projects
Jb Evain [Sat, 19 Apr 2008 11:48:21 +0000 (11:48 -0000)]
remove changelogs from the projects

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

16 years agotest for lambda targets
Jb Evain [Sat, 19 Apr 2008 11:46:07 +0000 (11:46 -0000)]
test for lambda targets

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

16 years ago * ListView.cs: Use display indexes for selection in Details view, as
Carlos Alberto Cortez [Sat, 19 Apr 2008 04:19:46 +0000 (04:19 -0000)]
* ListView.cs: Use display indexes for selection in Details view, as
well as do the proper layout based on display indexes for that view
too.

2008-04-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2008-04-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 19 Apr 2008 03:21:19 +0000 (03:21 -0000)]
2008-04-18  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Focused item information is now stored as a display
index, and display indexes are used all over the place for selection,
instead of ListViewItem.Index values, which doesn't give us enough
information to modify the selection in groups mode, and was broken.

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

16 years ago2008-04-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 19 Apr 2008 00:16:16 +0000 (00:16 -0000)]
2008-04-19  Marek Habersack  <mhabersack@novell.com>

* HttpException.cs: don't write the stack trace inside html
comment if custom errors are enabled.

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

16 years ago2008-04-19 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 18 Apr 2008 23:13:00 +0000 (23:13 -0000)]
2008-04-19  Marek Safar  <marek.safar@gmail.com>

* generic.cs, parameter.cs, namespace.cs, ecore.cs, class.cs, decl.cs,
delegate.cs, iterators.cs, cs-parser.jay, const.cs, enum.cs: Use
FullNamedExpression in all declaration type expression, statements will come
later.

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

16 years ago2008-04-18 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 18 Apr 2008 23:07:45 +0000 (23:07 -0000)]
2008-04-18  Miguel de Icaza  <miguel@novell.com>

* Applied patch from Dick Porter from bug #380649

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

16 years ago2008-04-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 18 Apr 2008 22:35:47 +0000 (22:35 -0000)]
2008-04-19  Marek Habersack  <mhabersack@novell.com>

* SimpleWebHandlerParser.cs: refactoring - move code between
constructors, reader should be set before initializing the rest of
the object. Fixes bug #381364

* TemplateParser.cs: RegisterCustomControl must use absolute
virtual path when querying the virtual path provider for
file. Fixes bug #381364
2008-04-19  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: use absolute virtual path to query the
VirtualPathProvider for path existence.
When ASP.NET is self-hosted, force
        non-batch compilation. Fixes bug #380985

* ILocation.cs: added a new property, FileText.

* Location.cs: added implementation of the ILocation.FileText
property.

* ParseException.cs: use the new ILocation.FileText, if defined,
to get the file source.

* AspGenerator.cs: when TextReader is present, use it to read with
the VirtualPathProvider to read the file source. Fixes bug #381364

* AspParser.cs: added a new property FileText to provide the file
contents which was read in the constructor.

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

16 years ago2008-04-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Apr 2008 21:55:41 +0000 (21:55 -0000)]
2008-04-18  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFileTest.cs: Add test cases for creating sub-
directories and to delete them (bug #376188)

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

16 years ago2008-04-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Apr 2008 21:54:27 +0000 (21:54 -0000)]
2008-04-18  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFile.cs: Fix CreateDirectory to accept multiple
subdirectories. Avoid leaking full path in DeleteDirectory. Fix
GetDirectoryNames to work with path (and the search pattern).
[Fix bug #376188]

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

16 years ago2008-04-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 18 Apr 2008 21:50:34 +0000 (21:50 -0000)]
2008-04-18  Sebastien Pouliot  <sebastien@ximian.com>

* Path.cs: Change PathSeparatorChars from private to internal since
it's needed for IsolatedStorage.

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

16 years ago* Mono.WebBrowser/DOM/IDocument.cs, Mono.Mozilla/DOM/Document.cs,
Andreia Gaita [Fri, 18 Apr 2008 21:01:27 +0000 (21:01 -0000)]
* Mono.WebBrowser/DOM/IDocument.cs, Mono.Mozilla/DOM/Document.cs,
  Mono.Mozilla/Base.cs: Add javascript script evaluation support
* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: Add
  StatusChanged event handler and args
* Mono.Mozilla/Callback.cs: Change OnStatusChange callback signature to
  unicode, implement listeners call.

2008-04-18  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-04-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 18 Apr 2008 20:55:33 +0000 (20:55 -0000)]
2008-04-18  Ivan N. Zlatev  <contact@i-nz.net>

* CollectionEditor.cs: Select the next item after the one
removed, not the one before.
[Fixes bug #375788]

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

16 years agofix compile
Marek Habersack [Fri, 18 Apr 2008 20:31:40 +0000 (20:31 -0000)]
fix compile

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

16 years ago2008-04-18 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 18 Apr 2008 20:28:04 +0000 (20:28 -0000)]
2008-04-18  Ivan N. Zlatev  <contact@i-nz.net>

* Control.cs: Do not fire MouseDown if validation of the control has
failed.
* Form.cs: Validate the form before closing.
[Fixes bugs #330501 and #353310]

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

16 years ago2008-04-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 18 Apr 2008 20:00:19 +0000 (20:00 -0000)]
2008-04-18  Marek Habersack  <mhabersack@novell.com>

* CompilationSection.cs: when ASP.NET is self-hosted, force
non-batch compilation. Fixes bug #380985

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

16 years ago* Mono.Mozilla.dll.sources, Mono.Mozilla2K5.csproj: Added new generated
Andreia Gaita [Fri, 18 Apr 2008 19:41:57 +0000 (19:41 -0000)]
* Mono.Mozilla.dll.sources, Mono.Mozilla2K5.csproj: Added new generated
  interfaces for "Save to Disk" support and page loading monitoring
* Mono.Mozilla/interfaces/nsICancelable.cs,
  Mono.Mozilla/interfaces/nsIWebBrowserPersist.cs: Interfaces for
  "Save to Disk" support
* Mono.Mozilla/interfaces/nsIWebProgress.cs,
  Mono.Mozilla/interfaces/nsIWebProgressListener.cs: Interfaces for
  page loading monitoring

2008-04-18  Andreia Gaita <avidigal@novell.com>

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

16 years ago* tools/xpidl2cs/xpidl2cs.pl: Fix parsing for non-scriptable interfaces
Andreia Gaita [Fri, 18 Apr 2008 19:38:55 +0000 (19:38 -0000)]
* tools/xpidl2cs/xpidl2cs.pl: Fix parsing for non-scriptable interfaces

2008-04-18  Andreia Gaita <avidigal@novell.com>

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