mono.git
17 years agoFix typo in MergeCollections (); refactoring
Konstantin Triger [Mon, 30 Apr 2007 07:53:58 +0000 (07:53 -0000)]
Fix typo in MergeCollections (); refactoring

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

17 years ago2007-04-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 30 Apr 2007 06:44:10 +0000 (06:44 -0000)]
2007-04-30  Marek Habersack  <mhabersack@novell.com>

        * TemplateControlCompiler.cs: fix generation of code for
        declarative attribute assignments of the form Font-Size="small"
        (i.e. when a font size is assigned a symbolic, relative size
        value). This fixes for example rendering of the 0th level of
        TreeView controls.

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

17 years ago2007-04-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 29 Apr 2007 21:58:12 +0000 (21:58 -0000)]
2007-04-30  Zoltan Varga  <vargaz@gmail.com>

* metadata.c (mono_metadata_parse_type_full): Avoid an invalid free since the type
is now allocated from a mempool.

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

17 years ago* RBTree.cs: New red-black tree implementation for use with SortedDictionary.
Raja R Harinath [Sun, 29 Apr 2007 19:15:54 +0000 (19:15 -0000)]
* RBTree.cs: New red-black tree implementation for use with SortedDictionary.

I'll integrate it into SortedDictionary tomorrow, if no one else gets to it.

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

17 years ago2007-04-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 29 Apr 2007 18:05:17 +0000 (18:05 -0000)]
2007-04-29  Zoltan Varga  <vargaz@gmail.com>

* abcremoval.c (summarize_integer_value): Handle OP_LCONV_TO_I4 to fix abcrem on
64 bit platforms.

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

17 years ago* TabControl.cs: Implement missing 2.0 methods (SelectTab,
Andreia Gaita [Sun, 29 Apr 2007 16:08:03 +0000 (16:08 -0000)]
* TabControl.cs: Implement missing 2.0 methods (SelectTab,
DeselectTab). Implement missing 2.0 TabPageCollection methods
(Add, ContainsKey, RemoveByKey, IndexOfKey)

Test/System.Windows.Forms
* TabControlTest.cs: Add more 2.0 select and deselect tab tests.

2007-04-29  Andreia Gaita  <avidigal@novell.com>

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

17 years ago2007-04-29 Duncan Mak <duncan@a-chinaman.com>
Duncan Mak [Sun, 29 Apr 2007 14:51:35 +0000 (14:51 -0000)]
2007-04-29  Duncan Mak  <duncan@a-chinaman.com>

* SWF.csproj:
* SWF2k5.csproj: Updated.

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

17 years ago2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 29 Apr 2007 13:58:11 +0000 (13:58 -0000)]
2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>

* FormsAuthenticationModule.cs:
Redirect to login page doesn't cause thread abort.

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

17 years ago2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 29 Apr 2007 13:55:59 +0000 (13:55 -0000)]
2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>

* HttpContext.jvm.cs: Response.End() must abort thread if not async.

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

17 years ago2007-04-29 Pedro Martínez Juliá <pedromj@gmail.com>
Pedro Martínez Juliá [Sun, 29 Apr 2007 13:51:24 +0000 (13:51 -0000)]
2007-04-29  Pedro Martínez Juliá  <pedromj@gmail.com>

* DataGridViewColumn.cs: Make HeaderText take preference over Name.

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

17 years agoadd support for SOAP1.2 to pass action in ContentType HTTP header. See http://www...
Konstantin Triger [Sun, 29 Apr 2007 13:27:34 +0000 (13:27 -0000)]
add support for SOAP1.2 to pass action in ContentType HTTP header. See w3.org/TR/soap12-part0/#L4697

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

17 years agodo not throw on unknown color
Konstantin Triger [Sun, 29 Apr 2007 12:02:13 +0000 (12:02 -0000)]
do not throw on unknown color

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

17 years agoUpdate Java profile with recent changes
Konstantin Triger [Sun, 29 Apr 2007 11:59:08 +0000 (11:59 -0000)]
Update Java profile with recent changes

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

17 years ago2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 29 Apr 2007 11:42:31 +0000 (11:42 -0000)]
2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>

* HttpApplication.cs: doesn't cache httpHandlersSection in instance,
that allows to consider httpHandlers section in nested web.config.

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

17 years agoProper exceptions throwing / handling under NET_2_0 target.
Ilya Kharmatsky [Sun, 29 Apr 2007 09:08:22 +0000 (09:08 -0000)]
Proper exceptions throwing / handling under NET_2_0 target.

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

17 years ago* RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
Gert Driesen [Sun, 29 Apr 2007 08:13:50 +0000 (08:13 -0000)]
* RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
Fixes bug #81479. Include details of exception when LoadFile fails.

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

17 years ago2007-04-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 28 Apr 2007 20:50:57 +0000 (20:50 -0000)]
2007-04-28  Zoltan Varga  <vargaz@gmail.com>

* threads.c (build_wait_tids): Do not call mono_monitor_enter () here since the
caller holds threads_lock, leading to deadlocks. Fixes #81476.

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

17 years agoForgot this one.
Gert Driesen [Sat, 28 Apr 2007 13:41:17 +0000 (13:41 -0000)]
Forgot this one.

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

17 years ago* DataBindingTest.cs: Avoid using anonymous methods to allow tests to
Gert Driesen [Sat, 28 Apr 2007 13:07:30 +0000 (13:07 -0000)]
* DataBindingTest.cs: Avoid using anonymous methods to allow tests to
build using csc 1.x.
* CurrencyManagerTest.cs: Same.

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

17 years agoAdded missing setter
Alan McGovern [Sat, 28 Apr 2007 11:37:15 +0000 (11:37 -0000)]
Added missing setter

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

17 years agoFix MONO_TYPE_VALUETYPE processing.
Neale Ferguson [Sat, 28 Apr 2007 02:06:43 +0000 (02:06 -0000)]
Fix MONO_TYPE_VALUETYPE processing.

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

17 years ago2007-04-27 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Sat, 28 Apr 2007 01:50:11 +0000 (01:50 -0000)]
2007-04-27  Jonathan Chambers <joncham@gmail.com>

* src/eglib-config.hw: Forgot to add for msvc build.
* src/vasprintf: Forgot to add for msvc build.

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

17 years ago2007-04-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 28 Apr 2007 01:47:05 +0000 (01:47 -0000)]
2007-04-27  Miguel de Icaza  <miguel@novell.com>

* statement.cs (If.CloneTo): Only clone the FalseStatement if it
exists.

* lambda.cs (ContextualReturn.Resolve): An expression is valid
inside the ContextualReturn, it does not have to be an
ExpressionStatement.

2007-04-27  Miguel de Icaza  <miguel@novell.com>

* generic.cs (TypeManager.LambdaInfer): now this routine will
make only one inference from the list of lambda expression that
have not participated in inferring a type.

(TypeManager.InferTypeArguments): The logic that drives the type
inference in lambda expressions is now driven here.

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

17 years ago* ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
Andreia Gaita [Fri, 27 Apr 2007 22:37:20 +0000 (22:37 -0000)]
* ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
Hide methods (not complete). Implement missing 2.0 OnPopup event.

2007-04-27  Andreia Gaita  <avidigal@novell.com>

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

17 years ago2007-04-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 27 Apr 2007 22:13:14 +0000 (22:13 -0000)]
2007-04-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
removed in ly last commit (it was breaking the Label edit feature).

* ThemeWin32Classic.cs: When drawing a ListViewItem use
StringAlignment.Near for LineAlignment (match .Net).

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

17 years ago2007-04-27 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 27 Apr 2007 21:24:57 +0000 (21:24 -0000)]
2007-04-27  Jonathan Chambers <joncham@gmail.com>

* src/gstr.c: Fix off by one error for NULL terminator.

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

17 years ago2007-04-27 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 27 Apr 2007 20:12:25 +0000 (20:12 -0000)]
2007-04-27  Jonathan Chambers <joncham@gmail.com>

Combined patch from Michael Jerris <mike@jerris.com> and me.
* winconfig.h: Config file for msvc builds.
* configure.ac: Add AC_CHECK_HEADERS for getopt.h,  sys/time.h,
sys/wait.h, and pwd.h.

* src/gspawn.c: Include config.h and use HAVE_* macros.
* src/eglib-config.h.in: Add inclusion guards.
* src/ghashtable.c: Fix warnings.
* src/gmisc.c: Windows implementation of g_getenv, g_setenv,
and g_unsetenv.
* src/gpath.c: Include config.h and use HAVE_* macros.
* src/gmarkup.c: Fix warnings.
* src/gptrarray.c: Fix warnings.
* src/gstr.c: Fix warnings and use HAVE_* macros.
* src/glib.h: Move macros to eglib-config.h and include it.
* src/gdate.c: Implement g_get_current_time on windows.
* src/gpattern.c: Fix warnings.
* src/gdir.c: Implement g_dir on windows.
* src/gfile.c: Implement mkstemp and g_file_test on windows.
* src/gtimer.c: Implement g_timer on windows.
* src/gmodule.c: Fix warnings.
* src/gunicode.c: Fix warnings.
* src/gutf8.c: Fix warnings.

* test/ptrarray.c: Fix warnings.
* test/string.c: Fix warnings.
* test/list.c: Fix warnings.
* test/pattern.c: Use HAVE_* macros.
* test/dir.c: Use HAVE_* macros.
* test/file.c: Use HAVE_* macros and use system specific files for tests.
* test/test.c: Fix warnings and use HAVE_* macros.
* test/timer.c: Use HAVE_* macros.
* test/string-util.c: Fix warnings.
* test/test.h: Supress warnings on msvc.
* test/module.c: Use HAVE_* macros.
* test/utf8.c: Fix warnings.
* test/spawn.c: Use HAVE_* macros.
* test/driver.c: Fix warnings and use HAVE_* macros.
* test/path.c: Use HAVE_* macros and use system specific files for tests.
* test/sizes.c: Fix warnings.

2007-04-27  Jonathan Chambers <joncham@gmail.com>

Combined patch from Michael Jerris <mike@jerris.com> and me.
* getopt.c: Added public domain implementation for Windows.
* getopt.h: Added public domain implementation for Windows.
* getopt_long.c: Added public domain implementation for Windows.
* test_eglib.vcproj: Update project.
* eglib.vcproj: Update project. Add pre-build step to copy
winconfig.h to config.h for msvc build.

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

17 years ago* TabControl.cs: Change SetTab so it adds the tabpage to the list
Andreia Gaita [Fri, 27 Apr 2007 19:48:00 +0000 (19:48 -0000)]
* TabControl.cs: Change SetTab so it adds the tabpage to the list
of controls if it isn't already there - was blowing up when doing
tabcontrol.TabPages[i]=new TabPage().
SetTab now does a replace by removing the page at the index.
Add a new InsertTab method that inserts a page in a given index
instead of replacing.
Implements TabPageCollection.Insert(int, TabPage).

2007-04-27  Andreia Gaita  <avidigal@novell.com>

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

17 years agoAdded ignore for test
Alan McGovern [Fri, 27 Apr 2007 19:44:06 +0000 (19:44 -0000)]
Added ignore for test

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

17 years ago* mini-s390x.c: Remove redeclaration of CompRelation and
Wade Berrier [Fri, 27 Apr 2007 19:39:05 +0000 (19:39 -0000)]
* mini-s390x.c: Remove redeclaration of CompRelation and
CompType (defined in mini.h) to fix build on s390x.

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

17 years ago2007-04-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 27 Apr 2007 19:38:33 +0000 (19:38 -0000)]
2007-04-27  Chris Toshok  <toshok@ximian.com>

* BindingManagerBase.cs: fill in CurrentItemChanged (and have an
internal handler that can be invoked from our subclasses.)  Also,
add a comment to PushData about how we need to fix it.

* CurrencyManager.cs: tons of changes here.  trying to get things
matching the behavior of .net wrt event orders (ItemChanged,
CurrentChanged, PositionChanged.)  I've implemented a private .net
symbol (ChangeRecordState) that appears in stack traces because
it's actually easier to do this than to effective inline all its
various behaviors at every call site.

* RelatedPropertyManager.cs: guard against an exception here by
not using parent.Current if the position is set to -1 (if the
parent datasource is cleared, for instance).

* Binding.cs: don't parse data in PushData (this might be wrong,
but it jives with MS's behavior.)  Also, don't call PushData when
we get a CurrentChanged event.

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

17 years ago2007-04-27 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 27 Apr 2007 19:38:11 +0000 (19:38 -0000)]
2007-04-27  Chris Toshok  <toshok@ximian.com>

* CurrencyManagerTest.cs, DataBindingTests.cs,
BindingManagerBaseTest.cs, BindingSourceTest.cs, BindingTest.cs:
lots of misc changes.

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

17 years ago* WebBrowser.cs,
Andreia Gaita [Fri, 27 Apr 2007 18:31:21 +0000 (18:31 -0000)]
* WebBrowser.cs,
  WebBrowserBase.cs,
  WebBrowserSiteBase.cs,
  HtmlDocument.cs: Stubbed out classes, no real implementations
  yet.

2007-04-27  Andreia Gaita  <avidigal@novell.com>

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

17 years ago2007-04-27 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 27 Apr 2007 16:52:08 +0000 (16:52 -0000)]
2007-04-27  Everaldo Canuto  <everaldo@simios.org>

* MainMenu.cs: In draw method without parameters call draw method with
PaintEvent, another one (just rect) adjust rectangle and we dont need it
as Rect property is already adjusted. Fixes #80694.

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

17 years ago2007-04-27 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 27 Apr 2007 16:49:44 +0000 (16:49 -0000)]
2007-04-27  Jonathan Pobst  <monkey@jpobst.com>

* Application.cs: Need to handle keyboard menu deselection here.
* Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
navigation, allowing keyboard to work on X11.
* ToolStrip.cs: Don't worry about handling the Menu key here anymore.

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

17 years ago * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
Everaldo Canuto [Fri, 27 Apr 2007 16:20:34 +0000 (16:20 -0000)]
* MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
menu bar. It fixes some drawing issues in menu bar.

2007-04-27  Everaldo Canuto  <everaldo@simios.org>

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

17 years ago2007-04-27 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 27 Apr 2007 15:27:15 +0000 (15:27 -0000)]
2007-04-27  Everaldo Canuto  <everaldo@simios.org>

* MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
when <alt> key is pressed.

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

17 years ago2007-04-26 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Fri, 27 Apr 2007 13:16:11 +0000 (13:16 -0000)]
2007-04-26  Everaldo Canuto  <everaldo@simios.org>

* XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
example just set visible to false and make this prevent from other problems.
In SystrayAdd always remove pending expose. Fixes #81072.

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

17 years ago2007-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Apr 2007 12:35:21 +0000 (12:35 -0000)]
2007-04-27  Zoltan Varga  <vargaz@gmail.com>

* Environment.cs (StackTrace): Avoid skipping a frame to be compatible with MS.

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

17 years ago2007-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Apr 2007 12:33:48 +0000 (12:33 -0000)]
2007-04-27  Zoltan Varga  <vargaz@gmail.com>

* StackTrace.cs: Fix ToString () to be compatible with MS. Fixes #81207.

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

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 09:43:14 +0000 (09:43 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* data/net_2_0/web.config: use fully qualified assembly names in
<compilation><assemblies>.

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

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 09:41:49 +0000 (09:41 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* AppCodeCompiler.cs: Resolve assembly names from the global web.config to their
locations before passing them to the compiler provider.

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

17 years ago2007-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Apr 2007 09:28:14 +0000 (09:28 -0000)]
2007-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* DefaultWsdlHelpGenerator.aspx :
  ProfileViolations could be null, when there is no Binding. So,
  don't omit null check.

  Stop your bad habit of missing ChangeLog. Former changes (as long
  as logged) can be seen in ../../ChangeLog.

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

17 years ago2007-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 27 Apr 2007 08:50:19 +0000 (08:50 -0000)]
2007-04-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidatingReader.cs : nsResolver field must be initialized.
  Fixed bug #81460.

* XsdValidatingReaderTests.cs : added test for bug #81460.

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

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 08:44:00 +0000 (08:44 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* AppCodeCompiler.cs: do not look at the number of errors, check
the compiler return code instead.

* AssemblyBuilder.cs: as above

* AppResourcesCompiler.cs: as above

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

17 years ago2007-04-27 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Fri, 27 Apr 2007 08:41:17 +0000 (08:41 -0000)]
2007-04-27  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* VBCodeCompiler.cs: In CompileFromFileBatch don't create error messages if compilation succeeded.

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

17 years ago2007-04-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 27 Apr 2007 01:35:32 +0000 (01:35 -0000)]
2007-04-26  Jonathan Pobst  <monkey@jpobst.com>

* System.Windows.Forms.dll.sources: Add DrawListViewColumnHeaderEventHandler.cs,
DrawListViewItemEventHandler.cs, DrawListViewSubItemEventHandler.cs.

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

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 01:00:43 +0000 (01:00 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* AspComponentFoundry.cs: formatting changes.
AssemblyFoundry looks for the specified namespace+type in the
top-level assemblies if necessary.

2007-04-27  Marek Habersack  <mhabersack@novell.com>

* TemplateControlParser.cs: 2.0 allows 'Namespace' without the
'Assembly' attribute on tag prefix registration.

* TemplateParser.cs: do not rely on assembly name being not null.

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

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 00:23:19 +0000 (00:23 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
paths that might happen in them.

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

17 years ago2007-04-27 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 27 Apr 2007 00:01:40 +0000 (00:01 -0000)]
2007-04-27  Marek Habersack  <mhabersack@novell.com>

* XmlSiteMapProvider.cs: add support for siteMapFile attribute.

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

17 years ago2007-04-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Apr 2007 23:11:08 +0000 (23:11 -0000)]
2007-04-26  Marek Safar  <marek.safar@gmail.com>

* TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
value is set.

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

17 years agoAdded some missing 2.0 stuff to ListView
Alan McGovern [Thu, 26 Apr 2007 22:53:08 +0000 (22:53 -0000)]
Added some missing 2.0 stuff to ListView

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

17 years agoFixed two mistakes in my stubbing
Alan McGovern [Thu, 26 Apr 2007 22:41:19 +0000 (22:41 -0000)]
Fixed two mistakes in my stubbing

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

17 years agoFixed typo
Alan McGovern [Thu, 26 Apr 2007 22:39:33 +0000 (22:39 -0000)]
Fixed typo

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

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 20:48:59 +0000 (20:48 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeBase.cs: Synch with latest Mono.Security version
* AuthenticodeDeformatter.cs: Synch with latest Mono.Security version

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

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 20:38:48 +0000 (20:38 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeDeformatter.cs: Don't reset an existing reason inside
IsTrusted.

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

17 years ago2007-04-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 26 Apr 2007 20:29:24 +0000 (20:29 -0000)]
2007-04-26  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripTest.cs: Fix the failing MethodGetNextItem test.

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

17 years ago2007-04-26 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 26 Apr 2007 20:25:18 +0000 (20:25 -0000)]
2007-04-26  Jonathan Pobst  <monkey@jpobst.com>

* Application.cs: Create a shortcut path so that currently selected
MenuStrips can intercept keyboard events without having focus.
* Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
* MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
keyboard navigation (arrows, tab, enter, esc) on Windows.  Still need to
generate WM_SYSCOMMAND message in X11 for other platforms.
* ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
* ToolStripSplitButton.cs: Add DefaultItem property.

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

17 years ago2007-04-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Apr 2007 20:23:51 +0000 (20:23 -0000)]
2007-04-26  Marek Habersack  <mhabersack@novell.com>

* AssemblyBuilder.cs: handle compilation failures in a better
way.

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

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 19:58:52 +0000 (19:58 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* Color.cs: Try to avoid calling GetName in GetHashCode when the color
isn't named. Commented code (#81465) to remove the string name member
for the 2.0 profile (to avoid a reference in a struct).
* ColorConverter.cs: Use the new KnownColor static uint array.
* ColorTranslator.cs: Share code between From[Win32|Ole] (both BGR).
Reduce ToHtml switch size (when html name == known color name).
* KnownColors.cs: Remove the array of struct for every known colors.
Add an array of uint with color values and a method to return the name
of a known color. Big reduction of the static ctor code size.

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

17 years ago2007-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Apr 2007 19:26:09 +0000 (19:26 -0000)]
2007-04-26  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_loader_error_prepare_exception): Fix crash caused by calling
mono_loader_clear_error () too late. Fixes #81463.

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

17 years ago2007-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Apr 2007 15:50:30 +0000 (15:50 -0000)]
2007-04-26  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (peephole_pass_1): Fix and reenable this pass.

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

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 15:45:43 +0000 (15:45 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* MetafileTest.cs: Add test cases for some .ctor(Stream...)

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

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 15:44:51 +0000 (15:44 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* Metafile.cs: Reduce size by reusing more complex ctors. Add Linux
support to metafile recoding with the new delegate-based functions.

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

17 years agogdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafileFromDelegate[I]_linux.
Sebastien Pouliot [Thu, 26 Apr 2007 15:44:27 +0000 (15:44 -0000)]
gdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafileFromDelegate[I]_linux.

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

17 years ago2007-04-26 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 26 Apr 2007 15:17:09 +0000 (15:17 -0000)]
2007-04-26  Dick Porter  <dick@ximian.com>

* mono.1: Document MONO_DISABLE_SHM

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

17 years ago2007-04-26 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Thu, 26 Apr 2007 15:13:36 +0000 (15:13 -0000)]
2007-04-26  Everaldo Canuto  <everaldo@simios.org>

* MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
fixes some menu draw problem on Windows with border diferent from default
it also fixes #81403.

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

17 years agoUpdate man page
Miguel de Icaza [Thu, 26 Apr 2007 15:05:46 +0000 (15:05 -0000)]
Update man page

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

17 years ago* VirtualPathUtilityTest.cs: refactoring:
Igor Zelmanovich [Thu, 26 Apr 2007 15:01:56 +0000 (15:01 -0000)]
* VirtualPathUtilityTest.cs: refactoring:
make tests run in TARGET_JVM environment

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

17 years ago2007-04-26 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 26 Apr 2007 14:45:27 +0000 (14:45 -0000)]
2007-04-26  Dick Porter  <dick@ximian.com>

* shared.c (_wapi_shm_semaphores_init): Need to check
MONO_DISABLE_SHM in this entry point, as it's called before
_wapi_shm_attach().  Fixes bug 81436.

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

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 13:29:39 +0000 (13:29 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* signcode.cs: Fix individual/commercial mixup (#81462).

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

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 11:54:06 +0000 (11:54 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* MetafileTest.cs: Add test cases for more .ctors

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

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 11:53:10 +0000 (11:53 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
and it's parameter's validations.

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

17 years ago2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Apr 2007 11:51:50 +0000 (11:51 -0000)]
2007-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* Metafile.cs: Complete all ctors (except for stream-based one outside
Windows) with calls into GDI+.

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

17 years agogdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafile[FileName|FromStream...
Sebastien Pouliot [Thu, 26 Apr 2007 11:51:37 +0000 (11:51 -0000)]
gdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafile[FileName|FromStream][I].

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

17 years ago* Form.cs: Refactor WndProc into separate methods, just like Control is
Rolf Bjarne Kvinge [Thu, 26 Apr 2007 10:00:36 +0000 (10:00 -0000)]
* Form.cs: Refactor WndProc into separate methods, just like Control is
  doing it.

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

17 years ago2007-04-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 26 Apr 2007 09:28:04 +0000 (09:28 -0000)]
2007-04-26  Marek Habersack  <mhabersack@novell.com>

* PageCompiler.cs: the Master property must be in the partial
class if present. Fixes bug #81442

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

17 years ago* Control.cs: set_Text: move the call to the driver into a seperate
Rolf Bjarne Kvinge [Thu, 26 Apr 2007 08:59:00 +0000 (08:59 -0000)]
* Control.cs: set_Text: move the call to the driver into a seperate
  virtual method so that Form can override it.
* MaskedTextBox.cs: Corcompare fixes.
* Form.cs: Override UpdateWindowText and only update the styles if the
  form has been shown (fixes #81405).

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

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Apr 2007 04:34:04 +0000 (04:34 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* Driver.cs : use invariant culture to sort culture names.
  Fixed bug #81150, patch by Changwoo Ryu.

* culture-info-table.h : regenerated.

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

17 years ago2007-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 23:09:16 +0000 (23:09 -0000)]
2007-04-26  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_local_regalloc): Disable the new peephole_pass_1 as it
causes the corlib unit tests to fail.

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

17 years ago2007-04-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 25 Apr 2007 19:57:30 +0000 (19:57 -0000)]
2007-04-25  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
WM_ACTIVATEAPP.  This fixes menus not disappearing on X11 when
the form lost focus or another control was clicked.

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

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 19:37:49 +0000 (19:37 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConvert.cs : MinValue and MaxValue, same for ToDateTime().

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

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 19:31:47 +0000 (19:31 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConvert.cs : MinValue and MaxValue are unchanged by the
  serialization mode (unlike DateTime.ToString()).

* XmlCustomFormatter.cs : fix GenerateToXmlString() as well.

* XmlConvertTests.cs : added test for MaxValue serialization with
  every XmlDateTimeSerializationMode.

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

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 18:42:15 +0000 (18:42 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* appdomain.c (add_assemblies_to_domain): Fix crash when an assembly reference
is missing.

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

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 18:22:32 +0000 (18:22 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConvert.cs : in 2.0, use F instead of f in dateTime formatting.

* XmlCustomFormatter.cs :
  in 2.0, use F instead of f for dateTime formatting.

* XmlSerializationWriterTests.cs, XmlSerializerTests.cs :
  fixed wrong dateTime formatting tests.

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

17 years ago* DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
Gert Driesen [Wed, 25 Apr 2007 17:59:34 +0000 (17:59 -0000)]
* DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
fixed.

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

17 years agoSetting svn:eol-style.
Rolf Bjarne Kvinge [Wed, 25 Apr 2007 17:31:45 +0000 (17:31 -0000)]
Setting svn:eol-style.

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

17 years ago* DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
Rolf Bjarne Kvinge [Wed, 25 Apr 2007 17:31:20 +0000 (17:31 -0000)]
* DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  DrawListViewItemEventHandler.cs,
  DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  Added.
* X11Structs.cs: More ToString implementation.

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

17 years ago2007-04-25 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 25 Apr 2007 17:31:19 +0000 (17:31 -0000)]
2007-04-25  Jonathan Chambers  <joncham@gmail.com>

* mono.sln: Added eglib projects.
* test_eglib.vcproj: Added.
* pedump.vcproj: Change output directories for uniformity.
* monodiet.vcproj: Change output directories for uniformity.

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

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 17:09:35 +0000 (17:09 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeTest.cs : looks like 'F' even removes preceding '.' ...

* DateTimeTest.cs : test for 'F' rmoving preceding '.'

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

17 years ago2007-04-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 25 Apr 2007 17:00:04 +0000 (17:00 -0000)]
2007-04-25  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
* ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.

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

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 16:43:44 +0000 (16:43 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_opcode_to_type): Fix a bug in the previous patch.

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

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 16:02:28 +0000 (16:02 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReader.cs : fixed wrong depth comparison in ReadToNextSibling().
  Fixed bug #81451, by Eric Mercier.

* XmlReaderCommonTests.cs : added test for bug #81451.

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

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 15:39:48 +0000 (15:39 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (peephole_pass_1): New pass to perform before local regalloc.

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

17 years ago2007-04-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 Apr 2007 15:36:29 +0000 (15:36 -0000)]
2007-04-25  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : implemented new-2.0 'F' pattern letter.

* DateTimeTest.cs : test for new-2.0 'F' pattern letter.

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

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 15:23:24 +0000 (15:23 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_opcode_to_cond): New helper function to convert conditional
opcodes to the comparison relations.

* mini-codegen.c (mono_opcode_to_type): New helper function to convert conditional
opcodes to their types.

* mini-ia64.c mini-amd64.c: Use mono_opcode_to_cond and mono_opcode_to_type.

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

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 15:01:14 +0000 (15:01 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (get_call_info): Allocate the result from the cfg mempool and cache
it in cfg->arch.cinfo.

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

17 years ago2007-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Apr 2007 14:30:48 +0000 (14:30 -0000)]
2007-04-25  Zoltan Varga  <vargaz@gmail.com>

* local-propagation.c (mono_local_cprop_bb): Fix a warning.

* mini.h mini.c branch-opts.c: Change bbhash to be an array and store it in
cfg->cil_offset_to_bb.

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

17 years ago2007-04-25 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 25 Apr 2007 13:55:05 +0000 (13:55 -0000)]
2007-04-25  Dick Porter  <dick@ximian.com>

* Makefile.am: Put the mingw enforced-optimisation back into the
PLATFORM_WIN32 section.

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

17 years agoReinstate this change.
Dick Porter [Wed, 25 Apr 2007 13:53:05 +0000 (13:53 -0000)]
Reinstate this change.

2007-04-05  Dick Porter  <dick@ximian.com>

* Directory.cs: Pass combined path and pattern to
MonoIO.GetFileSystemEntries()

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