Everaldo Canuto [Wed, 30 Jul 2008 06:54:39 +0000 (06:54 -0000)]
* MenuAPI.cs: When montion don't set the keyboard navigation state to
'navigating'. Fixes bug #411356.
2008-07-30 Everaldo Canuto <ecanuto@novell.com>
* ContextMenu.cs: Create tracker on construction.
svn path=/trunk/mcs/; revision=109237
Everaldo Canuto [Wed, 30 Jul 2008 05:40:00 +0000 (05:40 -0000)]
Fix changelog
svn path=/trunk/mcs/; revision=109233
Everaldo Canuto [Wed, 30 Jul 2008 05:12:38 +0000 (05:12 -0000)]
2008-07-30 Everaldo Canuto <ecanuto@novell.com>
* MenuItem.cs: UpdateMenuItem added to track the shotcut changes.
* MenuAPI.cs: Don't create tracker on TrackPopupMenu, it will be created in
MainMenu (already done) and ContextMenu creation.
* ContextMenu.cs: Create tracker on construction.
svn path=/trunk/mcs/; revision=109231
Everaldo Canuto [Wed, 30 Jul 2008 03:53:54 +0000 (03:53 -0000)]
* MenuAPI.cs: For ContextMenu set GrabControl on TrackPopupMenu, it make
possible to instantiate MenuTracker without GrabControl.
2008-07-30 Everaldo Canuto <ecanuto@novell.com>
svn path=/trunk/mcs/; revision=109228
Everaldo Canuto [Wed, 30 Jul 2008 03:35:03 +0000 (03:35 -0000)]
2008-07-30 Everaldo Canuto <ecanuto@novell.com>
* MenuAPI.cs: On constructor dont set the GrabControl for non ContextMenu.
* MainMenu.cs: Set GrabControl on SetForm using current form.
svn path=/trunk/mcs/; revision=109226
Everaldo Canuto [Wed, 30 Jul 2008 03:18:07 +0000 (03:18 -0000)]
* MenuAPI.cs: Chage grab_control to GrabControl and make it public.
2008-07-30 Everaldo Canuto <ecanuto@novell.com>
svn path=/trunk/mcs/; revision=109224
Everaldo Canuto [Wed, 30 Jul 2008 03:09:34 +0000 (03:09 -0000)]
2008-07-30 Everaldo Canuto <ecanuto@novell.com>
* MenuAPI.cs: Check if menu is activated before deactivate it in
ProcessShortcut.
svn path=/trunk/mcs/; revision=109222
Ivan Zlatev [Tue, 29 Jul 2008 22:05:25 +0000 (22:05 -0000)]
2008-07-30 Ivan N. Zlatev <contact@i-nz.net>
* TableLayoutStyleCollection, TableLayoutStyle.cs, RowStyle.cs,
ColumnStyle.cs:
Make the TableLayoutStyle owned by the the TableLayoutPanel, so that:
- One style instance can only participate in a single style collection.
- Styles can request their owner to layout whenever their properties
change.
* TableLayoutTest.cs: Add tests for bug #412582
[Fixes bugs #412583 and #412582]
svn path=/trunk/mcs/; revision=109209
Jonathan Pobst [Tue, 29 Jul 2008 21:42:14 +0000 (21:42 -0000)]
2008-07-29 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Make test not font dependent.
svn path=/trunk/mcs/; revision=109208
Ivan Zlatev [Tue, 29 Jul 2008 20:31:03 +0000 (20:31 -0000)]
2008-07-29 Ivan N. Zlatev <contact@i-nz.net>
* X11Keyboard.cs: Implement the generation of the LParam for
all keyboard messages.
[Fixes bug #378728]
svn path=/trunk/mcs/; revision=109201
Jonathan Pobst [Tue, 29 Jul 2008 19:35:58 +0000 (19:35 -0000)]
2008-07-29 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Don't let the user set TopIndex so high that it
scrolls up far enough to show empty items.
[Fixes bug #412728]
2008-07-29 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Add test for bug #412728.
svn path=/trunk/mcs/; revision=109194
Carlos Alberto Cortez [Tue, 29 Jul 2008 16:09:04 +0000 (16:09 -0000)]
2008-07-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ThemeWin32Classic.cs: Actually commit the changes to fix #410880
(I'm an idiot and forgot to commit the actual changes, as well as
specify the right file, which is this one, not ListView.cs).
svn path=/trunk/mcs/; revision=109170
Dick Porter [Tue, 29 Jul 2008 14:18:34 +0000 (14:18 -0000)]
2008-07-29 Dick Porter <dick@ximian.com>
* processes.c (get_module_name): Make a last-ditch effort to
figure out the process name. Fixes bug 413723, patch by Casey
Marshall <casey.s.marshall@gmail.com>
svn path=/trunk/mono/; revision=109160
Marek Habersack [Tue, 29 Jul 2008 13:01:55 +0000 (13:01 -0000)]
2008-07-29 Marek Habersack <mhabersack@novell.com>
* SessionStateModule.cs: use Request.FilePath instead of
Request.BaseVirtualDirectory to retrieve the cookie-less session
identifier. Fixes bug #397418
2008-07-29 Marek Habersack <mhabersack@novell.com>
* UrlUtils.cs: fixed a typo in HasSessionId which made it always
return False. Fixes bug #397418
2008-07-29 Marek Habersack <mhabersack@novell.com>
* SessionStateModule.cs: use Request.FilePath instead of
Request.BaseVirtualDirectory to retrieve the cookie-less session
identifier. Fixes bug #397418
2008-07-29 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: if the FilePath contains embedded cookie-less
session identifier, remove it before computing the base virtual
directory. Fixes bug #397418
svn path=/trunk/mcs/; revision=109156
Marek Safar [Tue, 29 Jul 2008 12:30:55 +0000 (12:30 -0000)]
2008-07-28 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Removed ExecuteFile.
svn path=/trunk/mcs/; revision=109155
Marek Safar [Tue, 29 Jul 2008 12:09:17 +0000 (12:09 -0000)]
New test.
svn path=/trunk/mcs/; revision=109152
Marek Safar [Tue, 29 Jul 2008 12:08:12 +0000 (12:08 -0000)]
2008-07-29 Marek Safar <marek.safar@gmail.com>
A fix for bug #412880 by Atsushi Enomoto <atsushi@ximian.com>
* modifiers.cs (GetDescription): Fixed FamANDAssem case.
svn path=/trunk/mcs/; revision=109150
Marek Safar [Tue, 29 Jul 2008 11:33:54 +0000 (11:33 -0000)]
Wrong test.
svn path=/trunk/mcs/; revision=109145
Marek Safar [Tue, 29 Jul 2008 11:33:35 +0000 (11:33 -0000)]
New tests.
svn path=/trunk/mcs/; revision=109144
Marek Safar [Tue, 29 Jul 2008 11:33:08 +0000 (11:33 -0000)]
2008-07-29 Marek Safar <marek.safar@gmail.com>
A fix for bug #412595
* typemanager.cs, convert.cs, expression.cs: Some types are never
convertible to each other.
svn path=/trunk/mcs/; revision=109143
Marek Safar [Tue, 29 Jul 2008 10:19:09 +0000 (10:19 -0000)]
Updated.
svn path=/trunk/mcs/; revision=109138
Marek Safar [Tue, 29 Jul 2008 10:18:58 +0000 (10:18 -0000)]
2008-07-29 Marek Safar <marek.safar@gmail.com>
* nullable.cs (CreateNullConstant): An error messages update.
svn path=/trunk/mcs/; revision=109136
Marek Safar [Tue, 29 Jul 2008 10:16:24 +0000 (10:16 -0000)]
2008-07-29 Marek Safar <marek.safar@gmail.com>
A fix for bug #412595
* cfold.cs: Don't cast undefined bool constant.
svn path=/trunk/mcs/; revision=109134
Massimiliano Mantione [Tue, 29 Jul 2008 09:10:27 +0000 (09:10 -0000)]
Fix bug 412473.
svn path=/trunk/mono/; revision=109120
Martin Baulig [Tue, 29 Jul 2008 07:33:35 +0000 (07:33 -0000)]
2008-07-29 Martin Baulig <martin@ximian.com>
* symbolwriter.cs
(SymbolWriter.Reset): New public static method.
* driver.cs
(CompilerCallableEntryPoint.Reset): Call SymbolWriter.Reset().
svn path=/trunk/mcs/; revision=109114
Martin Baulig [Tue, 29 Jul 2008 07:17:52 +0000 (07:17 -0000)]
2008-07-29 Martin Baulig <martin@ximian.com>
* compiler-tester.cs: Added `-compiler-options' command line
argument to specify global compiler options in addition to the
ones which are read from the test cases.
svn path=/trunk/mcs/; revision=109112
Zoltan Varga [Mon, 28 Jul 2008 22:55:18 +0000 (22:55 -0000)]
2008-07-29 Zoltan Varga <vargaz@gmail.com>
* monitor.c (mono_monitor_try_enter_internal): Allow nterruption of the
wait if the thread is in StopRequested state.
svn path=/trunk/mono/; revision=109082
Zoltan Varga [Mon, 28 Jul 2008 22:52:48 +0000 (22:52 -0000)]
2008-07-29 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_from_name): Refactor the module searching code into
a separate function so it can be reused in the AOT case too.
svn path=/trunk/mono/; revision=109081
Zoltan Varga [Mon, 28 Jul 2008 22:48:39 +0000 (22:48 -0000)]
2008-07-29 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c: Use MonoImage's as keys in the aot_modules hash so the aot
can work with netmodules.
svn path=/trunk/mono/; revision=109080
Geoff Norton [Mon, 28 Jul 2008 21:55:15 +0000 (21:55 -0000)]
2008-07-28 Geoff Norton <gnorton@novell.com>
* mini-x86.h: Correct the frame alignment on OSX. Fixes the jit
regression tests.
svn path=/trunk/mono/; revision=109075
Zoltan Varga [Mon, 28 Jul 2008 20:53:34 +0000 (20:53 -0000)]
2008-07-28 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Use custom-modifiers.2.cs instead of custom-modifiers.cs
to fix make dist.
svn path=/trunk/mono/; revision=109074
Rodrigo Kumpera [Mon, 28 Jul 2008 20:46:28 +0000 (20:46 -0000)]
2008-07-28 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_generic_type_with_explicit_layout.il: New test.
* Makefile: Fix C# files compilation.
svn path=/trunk/mono/; revision=109073
Rodrigo Kumpera [Mon, 28 Jul 2008 19:25:01 +0000 (19:25 -0000)]
2008-07-28 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_type_is_valid_in_context): Improve the error message.
Check both the type and it's generic type definition for loader errors.
* verify.c (mono_method_is_valid_in_context): Don't generate another
error when a type errors occur, this leads to the wrong exception been
thrown.
svn path=/trunk/mono/; revision=109071
Massimiliano Mantione [Mon, 28 Jul 2008 19:14:39 +0000 (19:14 -0000)]
Fix the "allocation summaries" feature.
svn path=/trunk/mono/; revision=109069
Bill Holmes [Mon, 28 Jul 2008 19:01:18 +0000 (19:01 -0000)]
2008-07-28 Bill Holmes <billholmes54@gmail.com>
* libtest.c, winx64structs.cs :
Adding tests to exercise calling managed code from native with struct
arguments on Winx64.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=109066
Gert Driesen [Mon, 28 Jul 2008 19:01:02 +0000 (19:01 -0000)]
* SqlCommandTest.cs: Enabled test for bug #412569.
* SqlCommand.cs (ExecuteReader): When behavior includes SingleRow,
then only return a single result. Fixes bug #412569.
svn path=/trunk/mcs/; revision=109065
Zoltan Varga [Mon, 28 Jul 2008 18:39:23 +0000 (18:39 -0000)]
2008-07-28 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_emit_call): Emi the osx stack alignment at the
correct place.
svn path=/trunk/mono/; revision=109062
Gert Driesen [Mon, 28 Jul 2008 18:37:07 +0000 (18:37 -0000)]
* SqlCommand.cs: Fixed order of arguments for ArgumentException in
CommandTimeout.
* SqlConnection.cs (ChangePassword): Do not allow empty connection
string. Updated exception messages.
* SqlConnectionTest.cs: Enabled tests for ChangePassword argument
checks.
svn path=/trunk/mcs/; revision=109060
Gert Driesen [Mon, 28 Jul 2008 18:15:17 +0000 (18:15 -0000)]
* SqlCommand.cs: Fixed param name in ArgumentException for negative
CommandTimeout to match MS. On 2.0 profile, throw NRE in Prepare
when connection is NULL. In Prepare, return immediately after
connection check (2.0 only) for stored procedures, or when no
parameters are added. Added check to see if transaction is
associated with same connection as the command and updated
exception messages.
* SqlCommandTest.cs: Enabled CommandTimeout test. Enabled test for
Prepare with NULL connection. Enabled test for bug #412586.
* SqlCommandTest.cs: Enabled and improved tests for pending transaction
and transaction that is not associated with connection. Added tests for
Prepare.
svn path=/trunk/mcs/; revision=109058
Atsushi Eno [Mon, 28 Jul 2008 16:40:11 +0000 (16:40 -0000)]
2008-07-28 Atsushi Enomoto <atsushi@ximian.com>
* XmlNamespaceManager.cs : check null arg.
* XmlTextReader.cs : fixed bug #412657; now we populate nametable
and namespace manager in case they are null in parser context, and
use them instead of the members in the parser context.
* XmlTextReaderTests.cs : added test for bug #412657.
svn path=/trunk/mcs/; revision=109049
Dick Porter [Mon, 28 Jul 2008 16:30:37 +0000 (16:30 -0000)]
2008-07-28 Dick Porter <dick@ximian.com>
* Process.cs: When passing handle references around, it needs to
be duplicated and freed so the OS doesn't close it. Makes the
testcase in 410743 work again now the underlying bug has been
fixed.
svn path=/trunk/mcs/; revision=109048
Dick Porter [Mon, 28 Jul 2008 16:28:54 +0000 (16:28 -0000)]
2008-07-28 Dick Porter <dick@ximian.com>
* icall-def.h
* process.c
(ves_icall_System_Diagnostics_Process_ProcessHandle_duplicate):
New internal calls to duplicate and close a process handle.
svn path=/trunk/mono/; revision=109046
Dick Porter [Mon, 28 Jul 2008 16:27:47 +0000 (16:27 -0000)]
2008-07-28 Dick Porter <dick@ximian.com>
* handles.c (_wapi_handle_count_signalled_handles): Remove an
unmatched _wapi_handle_ref(). Fixes bug 410743.
svn path=/trunk/mono/; revision=109045
Bill Holmes [Mon, 28 Jul 2008 16:18:01 +0000 (16:18 -0000)]
2008-07-28 Bill Holmes <billholmes54@gmail.com>
* mini-amd64.c (get_call_info): Winx64 fix for passing floats.
The float param registers and other param registers must be the
same index on Windows x64.
* mini-amd64.c (mono_arch_allocate_vars) : Implementing the
ArgValuetypeAddrInIReg argument case. Setting the argument
op to OP_VTARG_ADDR (OP_REGOFFSET)).
* mini-amd64.c (mono_arch_call_opcode) : Winx64 fix. Use the size
variable computed above as the copy length for arguments of storage
type ArgValuetypeAddrInIReg.
* mini-amd64.c (mono_arch_emit_call) : Implementing the
ArgValuetypeAddrInIReg argument case. This case will rely on
mono_arch_emit_outarg_vt to emit the correct code later in the process.
* mini-amd64.c (mono_arch_emit_call) : On Winx64 there always needs to be
a 32 byte stack allocation for all calls. We will omit the adjustment for
jump and tail call instructoins as they do not follow the typical call behavior.
* mini-amd64.c (mono_arch_emit_outarg_vt) : Implementing the case for
ArgValuetypeAddrInIReg. The code emitted will copy the argument to a
local variable and pass the local variable by reference to the called method.
* mini-amd64.c (mono_arch_emit_prolog, emit_load_volatile_arguments) :
Implementing the ArgValuetypeAddrInIReg argument case. When the address
of a struct is passed in a register it must be saved with the other
volatile argument on the stack.
* mini-amd64.c (mono_arch_emit_prolog) : Winx64 fix. When omitting the
frame pointer the stack adjustment value must be saved to the unwind
info structure.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=109044
Gert Driesen [Mon, 28 Jul 2008 16:17:55 +0000 (16:17 -0000)]
* SqlCommand.cs: Added bool argument to ValidateCommand to specify
whether an async method is being executed. Minor changes to exception
messages to match MS.
* SqlCommandTest.cs: Enabled and improved tests for Execute* with closed
connection.
* SqlCommandTest.cs: Enabled and improved tests for Execute* with only a
transaction set.
svn path=/trunk/mcs/; revision=109043
Marek Habersack [Mon, 28 Jul 2008 16:08:02 +0000 (16:08 -0000)]
2008-07-28 Marek Habersack <mhabersack@novell.com>
* TreeView.cs: when TreeView is displaying a site map and there is
no node selected by the user, select the node corresponding to the
current page, if any.
svn path=/trunk/mcs/; revision=109040
Carlos Alberto Cortez [Mon, 28 Jul 2008 16:05:55 +0000 (16:05 -0000)]
2008-07-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Don't draw ListViewSubItem instances from
DrawListViewItem - we need to reuse the main item's drawing for the
first sub item in case owner draw is true, but wants the system to
do the default draw for the first sub item, without incurring in a
recursion problem.
Fixes #410880.
svn path=/trunk/mcs/; revision=109039
Ivan Zlatev [Mon, 28 Jul 2008 15:50:25 +0000 (15:50 -0000)]
2008-07-28 Ivan N. Zlatev <contact@i-nz.net>
* TableLayout.cs: MS adds rows instead of columns even when
GrowStyle is AddColumns, but RowCount is 0.
svn path=/trunk/mcs/; revision=109036
Gert Driesen [Mon, 28 Jul 2008 15:44:30 +0000 (15:44 -0000)]
* SqlCommand.cs: Avoid NRE in CloseDataReader when connection is NULL.
Fixes bug #412584. Removed unused moreResults eargument from
CloseDataReader. Removed behavior argument from Execute, and have it
use the behavior field instead. In ValidateCommand, throw
InvalidOperationException instead of NRE when Connection is NULL.
* SqlDataReader.cs: Sync with SqlCommand's CloseDataReader signature
change.
* SqlCommandTest.cs: Enabled test for bug #412584.
svn path=/trunk/mcs/; revision=109033
Gert Driesen [Mon, 28 Jul 2008 15:15:54 +0000 (15:15 -0000)]
* SqlCommand.cs: (Transaction): On the 1.0 profile, do not allow
Transaction to be set when a reader is open for the current connection.
Fixes bug #412579.
* SqlCommandTest.cs: Enabled test for bug #412579.
svn path=/trunk/mcs/; revision=109021
Gert Driesen [Mon, 28 Jul 2008 15:07:45 +0000 (15:07 -0000)]
* SqlCommand.cs (Connection): Do not throw InvalidOperationException
if transaction is in progress. Fixes bug #412576. On 1.0 profile, throw
InvalidOperationException when a reader is open for the current
connection. Do not set transaction to NULL when changing connection,
instead set it to null in Transaction when transaction is no longer
open.
* SqlCommandTest.cs: Enabled and improved test for bug #412576.
Enabled test for changing Connection while reader is open.
svn path=/trunk/mcs/; revision=109018
Jonathan Pobst [Mon, 28 Jul 2008 15:06:55 +0000 (15:06 -0000)]
2008-07-28 Jonathan Pobst <monkey@jpobst.com>
* ToolStripButton.cs: Update Checked for CheckOnClick before
raising the Click event. [Fixes bug #412505]
svn path=/trunk/mcs/; revision=109017
Gert Driesen [Mon, 28 Jul 2008 14:46:55 +0000 (14:46 -0000)]
* SqlConnection.cs: Use null as default value for connectionString
field. Remove Init method, as initialization is done in
SetDefaultConnectionParameters. Initialize parms in
SetDefaultConnectionParameters to avoid calling Reset on newly
initialized collection. In Dispose (bool), also invoke base.Dispose if
SqlConnection was already disposed. Fixes bug #412571.
* SqlConnectionTest.cs: Enabled and improved test for bug #412571.
svn path=/trunk/mcs/; revision=109013
Gert Driesen [Mon, 28 Jul 2008 13:55:24 +0000 (13:55 -0000)]
Flush
svn path=/trunk/mcs/; revision=109010
Gert Driesen [Mon, 28 Jul 2008 13:53:56 +0000 (13:53 -0000)]
* SqlConnection.cs(ChangeState): Return immediately when new state
equals original state. Fixes bug #412574. Removed extra whitespace.
* SqlConnectionTest.cs: Enabled test for bug #412574.
svn path=/trunk/mcs/; revision=109009
Gert Driesen [Mon, 28 Jul 2008 12:58:58 +0000 (12:58 -0000)]
* SqlCommandTest.cs: Moved tests that do not require connection to
regular test suite. Improved existing tests, and added set of new
tests. Reduce failure count.
* SqlConnectionTest.cs: Moved tests that do not require connection to
regular test suite. Improved existing tests, and added set of new
tests. Reduce failure count.
* SqlTransactionTest.cs: Added several tests.
svn path=/trunk/mcs/; revision=108997
Marek Habersack [Mon, 28 Jul 2008 12:38:07 +0000 (12:38 -0000)]
2008-07-28 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs:
Do not add the root node retrieved from BuildSiteMapRecursive in
BuildMap, if the node is already the current root node. Fixes bug
#412495
svn path=/trunk/mcs/; revision=108992
Gert Driesen [Mon, 28 Jul 2008 12:03:19 +0000 (12:03 -0000)]
* SqlCommandTest.cs: Added tests for bug #412584, #412586, Moved tests
that do not require connection from ProviderTests.
* SqlConnectionTest.cs: Moved tests that do not require connection
from ProviderTests.
svn path=/trunk/mcs/; revision=108989
Gert Driesen [Mon, 28 Jul 2008 11:57:05 +0000 (11:57 -0000)]
* SqlNotificationRequestTest.cs: Added ctor and property tests.
* SqlNotificationRequest.cs: Implemented ctors, and fixed
argument checks.
* System.Data_test.dll.sources: Added SqlNotificationRequestTest.cs.
svn path=/trunk/mcs/; revision=108988
Marek Habersack [Mon, 28 Jul 2008 11:43:22 +0000 (11:43 -0000)]
2008-07-28 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProvider.cs: set the base ResourceKey to the name of
our associated site map file, so that localization works
correctly. Fixes bug #412493
svn path=/trunk/mcs/; revision=108985
Marek Safar [Mon, 28 Jul 2008 10:44:57 +0000 (10:44 -0000)]
2008-07-28 Marek Safar <marek.safar@gmail.com>
* GregorianCalendar.cs: Delay DateTime .cctor invocation.
svn path=/trunk/mcs/; revision=108983
Marek Safar [Mon, 28 Jul 2008 10:44:06 +0000 (10:44 -0000)]
2008-07-28 Marek Safar <marek.safar@gmail.com>
* File.cs: Delay DateTime .cctor invocation.
svn path=/trunk/mcs/; revision=108982
Marek Safar [Mon, 28 Jul 2008 10:42:43 +0000 (10:42 -0000)]
2008-07-28 Marek Safar <marek.safar@gmail.com>
* KnownTerminals.cs: Don't initialize rarely used static arrays.
svn path=/trunk/mcs/; revision=108981
Marek Safar [Mon, 28 Jul 2008 10:39:15 +0000 (10:39 -0000)]
2008-07-28 Marek Safar <marek.safar@gmail.com>
* cs-tokenizer.cs (IsLambdaOpenParens): Optimized using more stop tokens.
* expression.cs (ElementAccess): Exact size allocation.
svn path=/trunk/mcs/; revision=108980
Marek Habersack [Mon, 28 Jul 2008 09:54:39 +0000 (09:54 -0000)]
Forgotten changelog
svn path=/trunk/mcs/; revision=108979
Marek Habersack [Mon, 28 Jul 2008 08:20:59 +0000 (08:20 -0000)]
2008-07-28 Marek Habersack <mhabersack@novell.com>
* MasterPage.cs: decouple processing of content templates in
CreateMasterPage from checking whether all the content place
holder ids are defined. Fixes bug #325114
2008-07-28 Marek Habersack <mhabersack@novell.com>
* StandardUrl.cs: added a new standard url -
PAGE_WITH_MASTER_INVALID_PLACE_HOLDER.
2008-07-28 Marek Habersack <mhabersack@novell.com>
* MyPageWithMasterInvalidPlaceHolder.aspx: added
2008-07-28 Marek Habersack <mhabersack@novell.com>
* MasterPageTest.cs: added a test for situations when a page tries
to use a content place holder not defined in the associated master
page (bug #325114)
2008-07-28 Marek Habersack <mhabersack@novell.com>
* NunitWeb/Makefile (NunitWeb.dll): added dependency on
NunitWeb/Resources/MyPageWithMasterInvalidPlaceHolder.aspx, it is
also included in the resources.
svn path=/trunk/mcs/; revision=108975
Gert Driesen [Mon, 28 Jul 2008 07:48:34 +0000 (07:48 -0000)]
* ConnectionManager.cs: Fixed exception message. Code formatting.
* DataProvider.cs: Code formatting.
* DBHelper.cs: Removed extra using statement.
svn path=/trunk/mcs/; revision=108974
Gert Driesen [Mon, 28 Jul 2008 07:46:52 +0000 (07:46 -0000)]
* OdbcParameterTest.cs: Fixed compilation on 1.0 profile.
svn path=/trunk/mcs/; revision=108973
Atsushi Eno [Mon, 28 Jul 2008 06:45:50 +0000 (06:45 -0000)]
2008-07-28 Atsushi Enomoto <atsushi@ximian.com>
* NtlmClient.cs : if host is not provided in NetworkCredential, get
it from WebRequest. Fixed bug #323375.
svn path=/trunk/mcs/; revision=108971
Zoltan Varga [Sun, 27 Jul 2008 22:43:54 +0000 (22:43 -0000)]
2008-07-28 Zoltan Varga <vargaz@gmail.com>
* inssel-x86.brg (stmt): Add missing OP_X86_OUTARG_ALIGN_STACK rule
which got lost in the merge.
svn path=/trunk/mono/; revision=108967
Ivan Zlatev [Sun, 27 Jul 2008 21:21:45 +0000 (21:21 -0000)]
2008-07-28 Ivan N. Zlatev <contact@i-nz.net>
* Form.cs: Remove some seems leftover code for non-TopLevel's
CreateParams, which is breaking ClientSize sizing, because it
removes the border window styles.
svn path=/trunk/mcs/; revision=108964
Ivan Zlatev [Sun, 27 Jul 2008 19:18:49 +0000 (19:18 -0000)]
2008-07-27 Ivan N. Zlatev <contact@i-nz.net>
* RootCodeDomSerializer.cs: Clear the fields as well.
svn path=/trunk/mcs/; revision=108961
Ivan Zlatev [Sun, 27 Jul 2008 19:12:52 +0000 (19:12 -0000)]
2008-07-27 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs: Invalidate the View when the PropertyTab
changes.
svn path=/trunk/mcs/; revision=108959
Zoltan Varga [Sun, 27 Jul 2008 19:11:06 +0000 (19:11 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c: Make the helper_sig variables extern to fix the ppc
build.
svn path=/trunk/mono/; revision=108958
Andreas Färber [Sun, 27 Jul 2008 18:03:39 +0000 (18:03 -0000)]
2008-07-27 Andreas Faerber <andreas.faerber@web.de>
* object.c (CHECK_ADD_OVERFLOW_UN): Add missing bracket. Fixes #412499.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=108956
Zoltan Varga [Sun, 27 Jul 2008 17:34:19 +0000 (17:34 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_call_body): Add a no_patch case missed earlier.
svn path=/trunk/mono/; revision=108954
Zoltan Varga [Sun, 27 Jul 2008 17:25:19 +0000 (17:25 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (emit_call_body): Avoid aligning the call instruction on
icalls, since they won't be patched.
svn path=/trunk/mono/; revision=108953
Zoltan Varga [Sun, 27 Jul 2008 17:11:08 +0000 (17:11 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_get_restore_context_full): Use a slightly
different code sequence when running under valgrind to prevent some valgrind
errors.
svn path=/trunk/mono/; revision=108952
Miguel de Icaza [Sun, 27 Jul 2008 17:05:35 +0000 (17:05 -0000)]
Update man page
svn path=/trunk/mono/; revision=108951
Igor Zelmanovich [Sun, 27 Jul 2008 16:40:30 +0000 (16:40 -0000)]
merge r108947-108948
svn path=/trunk/mcs/; revision=108949
Zoltan Varga [Sun, 27 Jul 2008 16:25:45 +0000 (16:25 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* iltests.il.in: Add new regression test.
* method-to-ir.c (mono_method_to_ir2): Fix handling of inlined methods which
end with a throw.
svn path=/trunk/mono/; revision=108946
Igor Zelmanovich [Sun, 27 Jul 2008 15:14:59 +0000 (15:14 -0000)]
merge r108940-108941
svn path=/trunk/mcs/; revision=108943
Zoltan Varga [Sun, 27 Jul 2008 15:13:28 +0000 (15:13 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* scripts/patch-quiet.sh: Make the libtool --quiet flag configurable by
V=1 as well.
svn path=/trunk/mono/; revision=108942
Zoltan Varga [Sun, 27 Jul 2008 15:06:20 +0000 (15:06 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* test-runner.cs: Cleanup terminated processes on the main thread to prevent
races.
svn path=/trunk/mono/; revision=108940
Zoltan Varga [Sun, 27 Jul 2008 14:59:13 +0000 (14:59 -0000)]
Fix a typo in the last patch.
svn path=/trunk/mono/; revision=108938
Zoltan Varga [Sun, 27 Jul 2008 14:58:12 +0000 (14:58 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (unload_thread_main): Attach the unload thread to the runtime.
svn path=/trunk/mono/; revision=108937
Zoltan Varga [Sun, 27 Jul 2008 14:55:51 +0000 (14:55 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (runtest-managed): Make this depend on test-runner.exe.
svn path=/trunk/mono/; revision=108935
Zoltan Varga [Sun, 27 Jul 2008 14:37:02 +0000 (14:37 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Use get_vreg_to_inst () instead of
accessing cfg->vreg_to_inst directly to prevent a crash in LDFLD.
svn path=/trunk/mono/; revision=108934
Zoltan Varga [Sun, 27 Jul 2008 13:15:41 +0000 (13:15 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* iltests.il.in: Add new test.
svn path=/trunk/mono/; revision=108927
Zoltan Varga [Sun, 27 Jul 2008 13:14:59 +0000 (13:14 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Fix some warnings.
* decompose.c (mono_decompose_long_opts): Implement OP_ICONV_TO_OVF_I8_UN.
Fixes #412494.
svn path=/trunk/mono/; revision=108926
Robert Jordan [Sun, 27 Jul 2008 10:26:42 +0000 (10:26 -0000)]
2008-07-27 Robert Jordan <robertj@gmx.net>
* class.c (mono_class_init): Don't compute class.has_finalize for
valuetypes. Fixes #412477.
svn path=/trunk/mono/; revision=108917
Zoltan Varga [Sun, 27 Jul 2008 03:09:38 +0000 (03:09 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* driver.c (mono_main): Fix the --gc=none build. Fixes #412482.
(mini_usage_jitdeveloper): Add a missing --wapi option.
svn path=/trunk/mono/; revision=108899
Zoltan Varga [Sun, 27 Jul 2008 01:49:28 +0000 (01:49 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Make most tests which had a separate execution rule use the
normal test runner, make the output less verbose.
svn path=/trunk/mono/; revision=108896
Zoltan Varga [Sun, 27 Jul 2008 00:56:18 +0000 (00:56 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (runtest-managed): New experimental target which uses the
new test runner.
* test-runner.cs: New managed test driver with support for parallel
execution.
svn path=/trunk/mono/; revision=108890
Zoltan Varga [Sun, 27 Jul 2008 00:08:08 +0000 (00:08 -0000)]
2008-07-27 Zoltan Varga <vargaz@gmail.com>
* Process.cs (SetExitCallbackIfNeeded): Avoid a race condition by not
checking for HashExited.
svn path=/trunk/mcs/; revision=108887
Zoltan Varga [Sat, 26 Jul 2008 18:41:05 +0000 (18:41 -0000)]
2008-07-25 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c: Simplify the is_fp macros.
(free_up_ireg): Remove, use free_up_reg instead.
(free_up_reg): Fix the fp case.
svn path=/trunk/mono/; revision=108873
Zoltan Varga [Sat, 26 Jul 2008 18:33:28 +0000 (18:33 -0000)]
2008-07-26 Zoltan Varga <vargaz@gmail.com>
* appdomain-unload.cs: Disable the timeout test as there is no timeout in
the runtime any more.
* Makefile.am: Unify the different 'test' targets somewhat.
svn path=/trunk/mono/; revision=108872
Marek Safar [Sat, 26 Jul 2008 18:06:45 +0000 (18:06 -0000)]
Put back lost changes
svn path=/trunk/mcs/; revision=108871
Gert Driesen [Sat, 26 Jul 2008 17:54:28 +0000 (17:54 -0000)]
* HttpCachePolicy.cs: Removed extra tabs and regions. Code formatting.
svn path=/trunk/mcs/; revision=108870
Gert Driesen [Sat, 26 Jul 2008 17:52:42 +0000 (17:52 -0000)]
* HttpCachePolicy.cs: Only add Expires header if expire date is
actually set.
svn path=/trunk/mcs/; revision=108869