Gonzalo Paniagua Javier [Wed, 30 Nov 2005 21:36:52 +0000 (21:36 -0000)]
2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateControlCompiler.cs: handle data bound attributes for html
controls. Fixes bug #76785.
svn path=/trunk/mcs/; revision=53708
Peter Dennis Bartok [Wed, 30 Nov 2005 20:59:25 +0000 (20:59 -0000)]
2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs:
- No longer artificially moves text 2 pixels down (now that we have
borders this is no longer needed)
- Added calcs for left, hanging and right indent
svn path=/trunk/mcs/; revision=53707
Zoltan Varga [Wed, 30 Nov 2005 20:48:16 +0000 (20:48 -0000)]
2005-11-30 Zoltan Varga <vargaz@gmail.com>
* exceptions.cs: Disable test_0_long_cast () test, since it fails on a lot
of platforms.
svn path=/trunk/mono/; revision=53706
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 20:02:31 +0000 (20:02 -0000)]
2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
for cells.
* HtmlTable.cs: moved WriteLine around.
svn path=/trunk/mcs/; revision=53705
Gert Driesen [Wed, 30 Nov 2005 18:54:17 +0000 (18:54 -0000)]
* CodeGeneratorFromStatementTest.cs: Added tests for
CodeAssignStatement, CodeAttachEventStatement,
CodeConditionStatement, CodeExpressionStatement,
CodeIterationStatement, CodeLabeledStatement,
CodeMethodReturnStatement, CodeRemoveEventStatement,
CodeSnippetStatement, CodeStatement, CodeVariableDeclarationStatement.
* CodeRemoveEventStatementTest.cs: Added tests for ctors.
* IndentedTextWriterTest.cs: Added tests for Indent property.
* CodeGeneratorFromStatementTest.cs: Added tests for
CodeAssignStatement, CodeAttachEventStatement, CodeConditionStatement,
CodeExpressionStatement, CodeIterationStatement,
CodeLabeledStatement, CodeMethodReturnStatement,
CodeRemoveEventStatement and CodeSnippetStatement.
* CSharpCodeGenerator.cs: No longer output semicolon and newline for
CodeVariableDeclarationStatement in for statement, fixes #75292.
Fixed NRE in GenerateEventReferenceExpression. Cosmetic changes to
code generated for iteration to match MS.NET. Temporary reduce
indentation for label and no longer escape label if its a keyword.
* CodeRemoveEventStatement.cs: Event returns new CodeEventReference
if underlying value is null.
* System_test.dll.sources: Added CodeRemoveEventStatementTest.cs from
System.CodeDom.
* CodeGenerator.cs: Corrected line endings. Set eol-style to native.
* IndentedTextWriter.cs: Indent can no longer become negative.
* VBCodeGenerator.cs: Fixed NRE in GenerateEventReferenceExpression,
and escape event name. Indent statements for iteration. Avoid
ArgumentNullException if expression is not set for CodeReturnStatement.
Temporary reduce indentation for label, and fixed ArgumentNullException
if no statement is set. Cosmetic changes to code generated for
condition to match MS.NET. In OutputTypeNamePair, escape name.
svn path=/trunk/mcs/; revision=53703
Paolo Molaro [Wed, 30 Nov 2005 18:26:58 +0000 (18:26 -0000)]
Wed Nov 30 19:09:50 CET 2005 Paolo Molaro <lupus@ximian.com>
* WindowsIdentity.cs: remove check for an invalid user token on Posix
systems and check for PlatformID.Unix, too.
svn path=/trunk/mcs/; revision=53701
Mike Kestner [Wed, 30 Nov 2005 18:13:52 +0000 (18:13 -0000)]
2005-11-23 Mike Kestner <mkestner@novell.com>
* Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
svn path=/trunk/mcs/; revision=53700
Atsushi Eno [Wed, 30 Nov 2005 17:19:28 +0000 (17:19 -0000)]
2005-11-30 Atsushi Enomoto <atsushi@ximian.com>
* CP1252.cs CP28592.cs CP437.cs CP861.cs CP10079.cs CP863.cs CP865.cs
CP28593.cs CP1253.cs CP28597.cs CP850.cs CP860.cs CP28605.cs
CP1250.cs : made the same changes as CP10000.cs had in the previous
commit.
svn path=/trunk/mcs/; revision=53697
Paolo Molaro [Wed, 30 Nov 2005 17:16:29 +0000 (17:16 -0000)]
Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
* NumberFormatter.cs: work around arch-specific ulong cast behaviour
with large numbers.
svn path=/trunk/mcs/; revision=53696
Marek Safar [Wed, 30 Nov 2005 15:56:09 +0000 (15:56 -0000)]
new test
svn path=/trunk/mcs/; revision=53695
Marek Safar [Wed, 30 Nov 2005 15:48:54 +0000 (15:48 -0000)]
2005-11-30 Marek Safar <marek.safar@seznam.cz>
Fix #76859.
* ecore.cs (Expression.ResolveAsConstant): Report constant error only when
no error was reported.
*expression.cs (Binary.DoResolve): left can be null.
svn path=/trunk/mcs/; revision=53694
Sebastien Pouliot [Wed, 30 Nov 2005 15:47:54 +0000 (15:47 -0000)]
Fix compilation
svn path=/trunk/mcs/; revision=53693
Atsushi Eno [Wed, 30 Nov 2005 15:41:24 +0000 (15:41 -0000)]
2005-11-30 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : now it uses unsafe pointers.
* ByteEncoding.cs : Now there is three versions of ToBytes(): the only
one with pointers will be in use in the future. ToBytes(string) and
ToBytes() with arrays will be implemented to dispatch pointer-based
one and will be only one conversion implementation while they keep
avoiding extra array creation.
* Makefile : now it uses unsafe pointers.
* CP10000.cs : Added 2.0 fallback support and modified ToBytes() from
array to pointers, and commented ToBytes(string) out (uses virtual
implementation in ByteEncoding).
svn path=/trunk/mcs/; revision=53691
Sebastien Pouliot [Wed, 30 Nov 2005 15:39:24 +0000 (15:39 -0000)]
2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
* OrderedDictionary.cs: OnDeserialization is protected virtual (not
private).
svn path=/trunk/mcs/; revision=53690
Sebastien Pouliot [Wed, 30 Nov 2005 15:27:48 +0000 (15:27 -0000)]
2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
* CodeCompilerCas.cs: MS doesn't demand EnvironmentPermission under
1.x.
svn path=/trunk/mcs/; revision=53688
Alexandre Rocha Lima e Marcondes [Wed, 30 Nov 2005 15:24:42 +0000 (15:24 -0000)]
2005-11-29 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* test-mbas.pl: Parsing Test Files in order to find necessary
compilerOptions and generate the correct CompileCommand.
svn path=/trunk/mcs/; revision=53687
Konstantin Triger [Wed, 30 Nov 2005 15:05:18 +0000 (15:05 -0000)]
TARGET_JVM build system changes
svn path=/trunk/mcs/; revision=53683
Paolo Molaro [Wed, 30 Nov 2005 14:52:41 +0000 (14:52 -0000)]
Wed Nov 30 15:48:22 CET 2005 Paolo Molaro <lupus@ximian.com>
* icall.c: fixed Enum.ToObject() to correctly convert the values.
svn path=/trunk/mono/; revision=53682
Sebastien Pouliot [Wed, 30 Nov 2005 14:36:10 +0000 (14:36 -0000)]
2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
* KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
Now internal.
* KeyedListEnumerator.cs: Now internal.
svn path=/trunk/mcs/; revision=53681
Sebastien Pouliot [Wed, 30 Nov 2005 13:56:34 +0000 (13:56 -0000)]
Added more unit tests (and CAS tests) for System.Collections.Specialized
svn path=/trunk/mcs/; revision=53680
Sebastien Pouliot [Wed, 30 Nov 2005 13:55:40 +0000 (13:55 -0000)]
2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
* BitVector32Cas.cs: New. CAS unit tests.
* BitVector32Test.cs: More test cases to increase coverage.
* CollectionsUtilCas.cs: New. CAS unit tests.
* HybridDictionaryCas.cs: New. CAS unit tests.
* HybridDictionaryTest.cs: More test cases to increase coverage.
* ListDictionaryCas.cs: New. CAS unit tests.
* ListDictionaryTest.cs: More test cases to increase coverage.
* NameObjectCollectionBaseCas.cs: New. CAS unit tests.
* NameObjectCollectionBaseTest.cs: New. Unit tests.
* NameValueCollectionCas.cs: New. CAS unit tests.
* NameValueCollectionTest.cs: More test cases to increase coverage.
* OrderedDictionaryCas.cs: New. CAS unit tests.
* OrderedDictionaryTest.cs: New. Unit tests.
* StringCollectionCas.cs: New. CAS unit tests.
* StringCollectionTest.cs: More test cases to increase coverage.
* StringDictionaryCas.cs: New. CAS unit tests.
* StringDictionaryTest.cs: New. Unit tests.
svn path=/trunk/mcs/; revision=53679
Sebastien Pouliot [Wed, 30 Nov 2005 13:55:28 +0000 (13:55 -0000)]
2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
* BitVector32.cs: Fixed 2.0 API changes and this[int] setter under 2.0
* HybridDictionary.cs: Fixed Contains different behaviour under 2.0.
* IOrderedDictionary.cs: Added missing GetEnumarator to the interface.
* NameObjectCollectionBase.cs: Fixed 2.0 API changes and
serialization.
* NameValueCollection.cs: Fixed 2.0 API changes.
* OrderedDictionary.cs: Fixed API changes, serialization and this[int]
setter.
* StringDictionary.cs: Added missing null checks.
svn path=/trunk/mcs/; revision=53678
Jackson Harper [Wed, 30 Nov 2005 11:27:13 +0000 (11:27 -0000)]
- Don't let Mdi children draw/handle menus.
svn path=/trunk/mcs/; revision=53677
Jackson Harper [Wed, 30 Nov 2005 11:17:57 +0000 (11:17 -0000)]
* Menu.cs: Make sure the parent of the items get set correctly
when they are added. And the owners are notified of the changes.
* Form.cs: Create an ActiveMenu property, so that when MDI is used
we can change the menu being displayed/handled by the form without
changing the menu assosciated with the form.
svn path=/trunk/mcs/; revision=53676
Jackson Harper [Wed, 30 Nov 2005 10:58:06 +0000 (10:58 -0000)]
* MdiChildContext.cs: Set the cloned menus forms, as these don't
get cloned as part of CloneMenu ().
svn path=/trunk/mcs/; revision=53674
Jackson Harper [Wed, 30 Nov 2005 10:21:22 +0000 (10:21 -0000)]
* Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
a MenuChanged event. Just to make the API a little more
consistent.
* MainMenu.cs:
* MenuItem.cs: Use the new OnMenuChanged
* MdiChildContext.cs: Handle menu merging.
* Form.cs: Implement MergedMenu.
svn path=/trunk/mcs/; revision=53673
Konstantin Triger [Wed, 30 Nov 2005 10:19:03 +0000 (10:19 -0000)]
use Convert.ToInt32() instead of cast to throw OverflowException
svn path=/trunk/mcs/; revision=53671
Jackson Harper [Wed, 30 Nov 2005 09:54:17 +0000 (09:54 -0000)]
* Menu.cs: We were misusing Add. Add goes behind the specified
index according to the docs, and does not replace the specified
index. So I added an Insert method.
svn path=/trunk/mcs/; revision=53670
Peter Dennis Bartok [Wed, 30 Nov 2005 08:20:43 +0000 (08:20 -0000)]
2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
is for Jackson
* RichTextBox.cs: Added calls to base for DnD events
svn path=/trunk/mcs/; revision=53669
Peter Dennis Bartok [Wed, 30 Nov 2005 08:04:59 +0000 (08:04 -0000)]
2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
* TextControl.cs:
- Fixed drag-selection related crash; style fixes
- Implemented undo class
o Implemented method to capture document state for specified
range in document tree
o Implemented method to restore captured document state
o Implemented cursor tracking
o Implemented basic undo stack
- Added undo cursor tracking to methods altering cursor location
- Added undo tracking to selection deletion (still missing
other text-altering hookups)
* RichTextBox.cs:
- Added SelectionLength property
- Implemented CanPaste()
- Implemented Paste()
- Added missing protected methods
- Fixed RTF->Document conversion; now uses font index 0 and color
index 0 as the default font for the parsed text
- Fixed RTF<->Document font size translation
- Fixed RTF generation, now properly handles cross-tag boundaries
for single line selection
- No longer always appends blank line to generated RTF
- Removed TODOs
- Added missing attributes
- Hooked up undo-related methods
* TextBoxBase.cs:
- Implemented Copy()
- Implemented Paste()
- Implemented Cut()
- Fixed caret mis-behaviour on backspace across line-boundaries
svn path=/trunk/mcs/; revision=53667
Jackson Harper [Wed, 30 Nov 2005 07:10:17 +0000 (07:10 -0000)]
* TreeView.cs: raise a click when items are clicked.
svn path=/trunk/mcs/; revision=53665
Jackson Harper [Wed, 30 Nov 2005 06:47:38 +0000 (06:47 -0000)]
* MdiClient.cs: Add a method for activating mdi children. Very
basic right now. I imagine someday it might need more girth.
* MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
children windows names are added to the menu item.
* ThemeWin32Classic.cs: Draw the arrow if the item is an
mdilist. This happens regardless of whether or not there are any
mdi windows to see in the list, and according to my tests happens
before the items are even added. Also happens if there isn't even
an mdi client to get windows from.
svn path=/trunk/mcs/; revision=53664
Jackson Harper [Wed, 30 Nov 2005 05:46:19 +0000 (05:46 -0000)]
flush
svn path=/trunk/mcs/; revision=53661
Atsushi Eno [Wed, 30 Nov 2005 03:32:11 +0000 (03:32 -0000)]
2005-11-30 Atsushi Enomoto <atsushi@ximian.com>
* ScriptCompilerInfo.cs : (VBCompilerInfo) There was a space between
'#' and 'ExternalResource'. bug #75789 should be fixed.
svn path=/trunk/mcs/; revision=53660
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 01:53:24 +0000 (01:53 -0000)]
2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Test/System.Web.UI/ControlCollectionTest.cs: new tests.
* System.Web_test.dll.sources: add new file.
* System.Web.UI/ControlCollection.cs: allow 'null' in Remove.
svn path=/trunk/mcs/; revision=53659
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 01:31:50 +0000 (01:31 -0000)]
svn path=/trunk/mono/; revision=53658
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 01:23:08 +0000 (01:23 -0000)]
2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.c: workaround for a bug that shows up on the Mac:
select()+connect() on a blocking socket is not like it should
be, so we proceed to connect() in that case, wasting the I/O
threadpool thread until connect succeedes. Fixes bug #75436.
svn path=/trunk/mono/; revision=53656
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 00:57:25 +0000 (00:57 -0000)]
2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.c: fix typo when setting filde descriptor states.
svn path=/trunk/mono/; revision=53652
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 00:51:29 +0000 (00:51 -0000)]
2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: define PLATFORM_MACOSX.
svn path=/trunk/mono/; revision=53651
Zoltan Varga [Tue, 29 Nov 2005 22:31:59 +0000 (22:31 -0000)]
2005-11-29 Zoltan Varga <vargaz@gmail.com>
* objects.cs basic-calls.cs: Move a test depending on valuetypes to
objects.cs.
svn path=/trunk/mono/; revision=53647
Alexander Olk [Tue, 29 Nov 2005 17:18:03 +0000 (17:18 -0000)]
2005-11-29 Alexander Olk <alex.olk@googlemail.com>
* ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
* ThemeNice.cs: Fix drawing of flatstyle radiobuttons
svn path=/trunk/mcs/; revision=53644
Atsushi Eno [Tue, 29 Nov 2005 17:11:53 +0000 (17:11 -0000)]
2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs : direct fast-path optimization for IndexOf().
svn path=/trunk/mcs/; revision=53642
Miguel de Icaza [Tue, 29 Nov 2005 16:23:17 +0000 (16:23 -0000)]
It never happened
svn path=/trunk/mcs/; revision=53640
Miguel de Icaza [Tue, 29 Nov 2005 15:58:02 +0000 (15:58 -0000)]
2005-11-12 Pedro MartÃnez Juliá <pedromj@gmail.com>
* System.Windows.Forms_test.dll.sources: Added DataGridViewElementTest.cs
DataGridViewBandTest.cs DataGridViewCellTest.cs
svn path=/trunk/mcs/; revision=53637
Miguel de Icaza [Tue, 29 Nov 2005 15:25:24 +0000 (15:25 -0000)]
Just a stub to run some apps
svn path=/trunk/mcs/; revision=53635
Miguel de Icaza [Tue, 29 Nov 2005 15:25:11 +0000 (15:25 -0000)]
Just a stub to run some apps
svn path=/trunk/mcs/; revision=53634
Zoltan Varga [Tue, 29 Nov 2005 15:09:38 +0000 (15:09 -0000)]
2005-11-29 Zoltan Varga <vargaz@gmail.com>
* inssel-long32.brg (CEE_CONV_I8): Remove unused labels.
svn path=/trunk/mono/; revision=53633
Zoltan Varga [Tue, 29 Nov 2005 14:56:49 +0000 (14:56 -0000)]
2005-11-29 Zoltan Varga <vargaz@gmail.com>
* inssel-long32.brg (CEE_CONV_I8): Convert this to a branchless version.
svn path=/trunk/mono/; revision=53632
Atsushi Eno [Tue, 29 Nov 2005 13:13:02 +0000 (13:13 -0000)]
2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs :
- CompareQuick(): added immediateBreakup to avoid extraneous sortkey
computation.
- QuickCheckPossible(): index used for s1 was incorrect.
svn path=/trunk/mcs/; revision=53631
Atsushi Eno [Tue, 29 Nov 2005 12:12:50 +0000 (12:12 -0000)]
2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs : added another quick check for CompareInternal()
that does almost ordinal comparison for quick-checkable strings.
(It affects on Compare(), IndexOf(), IsSuffix() etc. as well.)
svn path=/trunk/mcs/; revision=53630
Paolo Molaro [Tue, 29 Nov 2005 10:44:07 +0000 (10:44 -0000)]
Tue Nov 29 05:41:34 EST 2005 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c, cpu-g4.md: ensure a fp register is converted to
single precision before storing to a single precision location.
svn path=/trunk/mono/; revision=53629
Paolo Molaro [Tue, 29 Nov 2005 10:41:22 +0000 (10:41 -0000)]
Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
* Convert.cs: fix endianess issue when converting to base-8
format. All the base code would need a rewrite for efficience.
svn path=/trunk/mcs/; revision=53628
Jackson Harper [Tue, 29 Nov 2005 10:27:28 +0000 (10:27 -0000)]
* FontDialog.cs: Implement missing Apply stuff, and ToString. Move
creation of the panel so that the options set on the dialog are
seen when the panel is created.
svn path=/trunk/mcs/; revision=53627
Jordi Mas i Hernandez [Tue, 29 Nov 2005 10:25:38 +0000 (10:25 -0000)]
2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
* DataGridTableStyle.cs:
- Create always the styles for the missing columns even if they are
provided by the user (not default table style)
* DataGrid.cs:
- Fixes bug 76770
- Fixes SetDataBinding (always re-attach source)
- Fixes SetNewDataSource (only clear styles if they are not for
this source)
- Expands OnTableStylesCollectionChanged to handle style refresh
and remove properly
svn path=/trunk/mcs/; revision=53626
Jackson Harper [Tue, 29 Nov 2005 09:54:28 +0000 (09:54 -0000)]
* FileDialog.cs: Implement missing bits, remove some dead
code.
svn path=/trunk/mcs/; revision=53625
Jackson Harper [Tue, 29 Nov 2005 08:52:46 +0000 (08:52 -0000)]
* MdiClient.cs: Pass some signature methods through to base.
svn path=/trunk/mcs/; revision=53623
Atsushi Eno [Tue, 29 Nov 2005 07:43:20 +0000 (07:43 -0000)]
2005-11-29 Atsushi Enomtoto <atsushi@ximian.com>
* cormissing.js : support for "target documentation" selector.
svn path=/trunk/mono/; revision=53622
Atsushi Eno [Tue, 29 Nov 2005 07:41:13 +0000 (07:41 -0000)]
2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
* mono-api.xsl : added toggle switch for referenced documentation
(monodoc/msdn/msdn2).
svn path=/trunk/mcs/; revision=53621
Atsushi Eno [Tue, 29 Nov 2005 03:53:05 +0000 (03:53 -0000)]
2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
* CompareInfo.cs : IsSortable() are static.
* CharUnicodeInfo.cs : became non-static in RTM.
* Calendar.cs : added support for Clone() and IsReadOnly.
* HijriCalendar.cs ThaiBuddhistCalendar.cs HebrewCalendar.cs
GregorianCalendar.cs KoreanCalendar.cs JulianCalendar.cs
TaiwanCalendar.cs JapaneseCalendar.cs PersianCalendar.cs :
check IsReadOnly on every setter.
svn path=/trunk/mcs/; revision=53615
Chris Toshok [Tue, 29 Nov 2005 03:00:19 +0000 (03:00 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* ProviderSettings.cs: use ConfigurationProperty's to implement
the properties.
svn path=/trunk/mcs/; revision=53614
Gonzalo Paniagua Javier [Tue, 29 Nov 2005 01:12:19 +0000 (01:12 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HandlerFactoryConfiguration.cs: copy the parents' mappings
into the new one to allow for removing without affecting the
parent configuration mappings. Fixes bug #76842.
svn path=/trunk/mcs/; revision=53610
Jonathan Pryor [Tue, 29 Nov 2005 01:04:12 +0000 (01:04 -0000)]
* Mono.Posix_test.dll.sources: Move StdlibTest into the Mono.Unix.Native
directory.
* Test/Mono.Unix.Native: Directory Added.
* Test/Mono.Unix.Native/ChangeLog: Started.
* Test/Mono.Unix.Native/StdlibTest.cs: Moved from ../Mono.Unix.
Test Mono.Unix.Native
svn path=/trunk/mcs/; revision=53609
Jonathan Pryor [Tue, 29 Nov 2005 00:54:28 +0000 (00:54 -0000)]
* Stdlib.cs: Prelink all SignalHandlers passed to Stdlib.signal(). This is
so that mono doesn't have to JIT the handler within signal context.
svn path=/trunk/mcs/; revision=53608
Chris Toshok [Mon, 28 Nov 2005 23:42:36 +0000 (23:42 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* SessionStateSection.cs (CookieLess): correct the compat function
implementation.
svn path=/trunk/mcs/; revision=53604
Chris Toshok [Mon, 28 Nov 2005 23:35:29 +0000 (23:35 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* SessionStateModule.cs: CONFIGURATION_2_0 work.
* SessionSQLServerHandler.cs: CONFIGURATION_2_0 work.
* SessionInProcHandler.cs: CONFIGURATION_2_0 work.
* SessionStateServerHandler.cs: CONFIGURATION_2_0 work.
* ISessionHandler.cs (Init): @config is a SessionStateSection if
CONFIGURATION_2_0.
svn path=/trunk/mcs/; revision=53603
Chris Toshok [Mon, 28 Nov 2005 23:08:22 +0000 (23:08 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* GlobalizationSection.cs (GetEncoding): if the encoding name is
null, default to utf-8 before we hit the try block, so we don't
throw and generate a spurious warning.
* SessionStateSection.cs: The Cookieless handling needs a custom
parser, it appears, as the converter is a StringConverter, not a
GenericEnumConverter.
(ParseCookieMode): the parser.
svn path=/trunk/mcs/; revision=53602
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 23:07:30 +0000 (23:07 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlForm.cs: more class-status fixes.
svn path=/trunk/mcs/; revision=53601
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 23:03:37 +0000 (23:03 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ListBox.cs: Rows and SelectionMode are virtual in 1.1
svn path=/trunk/mcs/; revision=53600
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 22:51:59 +0000 (22:51 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStream.cs: flush the filter stream before closing.
Patch by Geir Bergum that fixes bug #76753.
svn path=/trunk/mcs/; revision=53599
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 22:45:16 +0000 (22:45 -0000)]
new tests by Robert Jordan
svn path=/trunk/mcs/; revision=53598
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 22:44:57 +0000 (22:44 -0000)]
2005-11-28 Robert Jordan <robertj@gmx.net>
* SimpleWorkerRequest.cs: fixed MapPath () for the case
app_virtual_dir.Length == 1 && path.Length == 1.
* SimpleWorkerRequest.cs: implemented SendResponseFromMemory ().
svn path=/trunk/mcs/; revision=53597
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 22:37:29 +0000 (22:37 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ApplicationHost.cs: make this work with paths that that
contain non-ASCII characters. Fixes bug #76807.
svn path=/trunk/mcs/; revision=53596
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 22:06:10 +0000 (22:06 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTextAreaTest.cs: add new test for 'Name'.
svn path=/trunk/mcs/; revision=53595
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 21:58:56 +0000 (21:58 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
svn path=/trunk/mcs/; revision=53594
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 21:48:58 +0000 (21:48 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTable.cs: use the base class RenderChildren, as '_rows'
might not be the actual collection being used. Fixes bug #76815.
svn path=/trunk/mcs/; revision=53593
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 21:47:25 +0000 (21:47 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlTableTest.cs: remove white-space characters when comparing
the output.
svn path=/trunk/mcs/; revision=53592
Jonathan Pryor [Mon, 28 Nov 2005 21:20:41 +0000 (21:20 -0000)]
* Mono.Unix/Catalog.cs, Mono.Unix/UnixDirectory.cs,
Mono.Unix/UnixDirectoryInfo.cs, Mono.Unix/UnixDriveInfo.cs,
Mono.Unix/UnixEnvironment.cs, Mono.Unix/UnixFile.cs,
Mono.Unix/UnixFileInfo.cs, Mono.Unix/UnixFileSystemInfo.cs,
Mono.Unix/UnixGroup.cs, Mono.Unix/UnixGroupInfo.cs,
Mono.Unix/UnixProcess.cs, Mono.Unix/UnixSymbolicLinkInfo.cs,
Mono.Unix/UnixUser.cs, Mono.Unix/UnixUserInfo.cs: Change types of
[Obsolete] members for consistency and CLS compliance;
Mono.Unix.Native type migration.
* Mono.Unix/FileTypes.cs: s/Special/Device/g
(CharacterSpecial ==> CharacterDevice). The *Special was a BSD
convention, while UnixFileSystemInfo uses *Device in property names, and
these should be consistent. Changing the enum is simpler than changing
the UnixFileSystemInfo properties.
* Mono.Unix/UnixIOException.cs: s/error/errno/g (FxCop suggestion); change
type of ErrorCode property.
* Mono.Unix/UnixMarshal.cs: s/error/errno/g (FxCop suggestion);
Mono.Unix.Native type migration.
* Test/Mono.Unix/UnixGroupTest.cs: The type of UnixGroupInfo.GroupId changed.
UnixGroup is deprecated; use UnixGroupInfo instead.
* Test/Mono.Unix/UnixUserTest.cs: The type of UnixUserInfo.UserId changed.
UnixUser if deprecated; use UnixUserInfo instead.
svn path=/trunk/mcs/; revision=53591
Jackson Harper [Mon, 28 Nov 2005 21:16:23 +0000 (21:16 -0000)]
* ListView.cs: Raise the click event when items are clicked.
svn path=/trunk/mcs/; revision=53590
Chris Toshok [Mon, 28 Nov 2005 21:10:21 +0000 (21:10 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* HttpContext.cs (Profile): remove the #if false from around this,
as we now have the ProfileBase type.
(GetConfig): add CONFIGURATION_2_0 version.
(GetSection): add CONFIGURATION_2_0 version.
svn path=/trunk/mcs/; revision=53589
Chris Toshok [Mon, 28 Nov 2005 21:05:15 +0000 (21:05 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* PagesSection.cs (GetInstance): nuke.
* CompilationSection.cs (GetInstance): nuke.
svn path=/trunk/mcs/; revision=53588
Jackson Harper [Mon, 28 Nov 2005 21:04:09 +0000 (21:04 -0000)]
* MdiClient.cs: Make this algorithm even more beautiful. And fix
a nullref.
svn path=/trunk/mcs/; revision=53587
Chris Toshok [Mon, 28 Nov 2005 21:03:50 +0000 (21:03 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* SmtpClient.cs: ignore warning 618 (obsolete) when compiling an
already obsolete api (in the 2.0 case).
* MailAttachment.cs: same.
* MailMessageWrapper.cs: same.
* MailMessage.cs: same.
svn path=/trunk/mcs/; revision=53586
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 21:03:20 +0000 (21:03 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* EndPointListener.cs:
* HttpListenerRequest.cs: don't require the Host header for 1.0. Just
map that to the '*' or '+' host.
svn path=/trunk/mcs/; revision=53585
Chris Toshok [Mon, 28 Nov 2005 20:59:45 +0000 (20:59 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* CachingCompiler.cs (Compile): CONFIGURATION_2_0 work.
* BaseCompiler.cs (GetCompiledType): CONFIGURATION_2_0 work.
svn path=/trunk/mcs/; revision=53584
Chris Toshok [Mon, 28 Nov 2005 20:56:56 +0000 (20:56 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* WebEncoding.cs (FileEncoding, ResponseEncoding,
RequestEncoding): CONFIGURATION_2_0 work.
svn path=/trunk/mcs/; revision=53583
Chris Toshok [Mon, 28 Nov 2005 20:54:41 +0000 (20:54 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* Page.cs (GetFormatter): CONFIGURATION_2_0 work.
* TemplateParser.cs (..ctor): CONFIGURATION_2_0 work.
(PagesConfig): add a CONFIGURATION_2_0 version that returns a
PagesSection.
* PageParser.cs (ProcessMainAttributes): CONFIGURATION_2_0 work.
* BaseParser.cs (CompilationConfig): add a CONFIGURATION_2_0
version that returns a CompilationSection.
svn path=/trunk/mcs/; revision=53582
Chris Toshok [Mon, 28 Nov 2005 20:39:16 +0000 (20:39 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* FormsAuthenticationModule.cs (OnAuthenticateRequest):
CONFIGURATION_2_0 work.
(OnEndRequest): same.
svn path=/trunk/mcs/; revision=53581
Chris Toshok [Mon, 28 Nov 2005 20:35:51 +0000 (20:35 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
* QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
* HttpRequest.cs (AnonymousID): add 2.0 property.
(MakeInputStream): CONFIGURATION_2_0 work.
* HttpApplication.cs (InitOnce): change around the
CONFIGURATION_2_0 stuff since we need additional Culture foo for
it.
svn path=/trunk/mcs/; revision=53580
Chris Toshok [Mon, 28 Nov 2005 20:30:39 +0000 (20:30 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* HttpApplication.cs (InitOnce): change around the
CONFIGURATION_2_0 stuff since we need additional Culture foo for
it.
svn path=/trunk/mcs/; revision=53579
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 20:28:54 +0000 (20:28 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpListenerTest.cs: disable 2 tests. We're throwing the wrong
exception.
svn path=/trunk/mcs/; revision=53578
Chris Toshok [Mon, 28 Nov 2005 20:25:48 +0000 (20:25 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* HttpHandlerAction.cs: add some c&p code from the 1.1 config
stuff to look for matching handlers.
(..ctor): add parameterless ctor.
* HttpHandlerActionCollection.cs: clean up formatting.
(CreateNewElement): call the parameter-less ctor for
HttpHandlerAction.
* HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
the default collection.
(get_Handlers): implement.
(LocateHandler): copy over (and massage) some 1.1 config code.
* MachineKeySection.cs: move some code over from the 1.1 config
code to deal with autogeneration of keys, as well as converting
from the string rep to the byte[] rep.
svn path=/trunk/mcs/; revision=53577
Chris Toshok [Mon, 28 Nov 2005 20:21:00 +0000 (20:21 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* HttpModuleActionCollection.cs (CreateNewElement): use the new
HttpModuleAction ctor.
* HttpModuleAction.cs: add internal ctor with no parameters, for
use in HttpModuleActionCollection.
svn path=/trunk/mcs/; revision=53576
Chris Toshok [Mon, 28 Nov 2005 20:12:27 +0000 (20:12 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* GlobalizationSection.cs (..cctor): the encoding
ConfigurationProperties are of type "string", even though the
properties themselves are of type Encoding. we do conversions
manually in the setter/getters. gross. Add code (mostly c&p +
massaged from GlobalizationConfigurationHandler) for this and also
to handle the culture gettes.
svn path=/trunk/mcs/; revision=53575
Chris Toshok [Mon, 28 Nov 2005 19:51:05 +0000 (19:51 -0000)]
2005-11-28 Chris Toshok <toshok@ximian.com>
* SettingValueElement.cs: wrap a few more things in
CONFIGURATION_DEP.
svn path=/trunk/mcs/; revision=53573
Alexandre Rocha Lima e Marcondes [Mon, 28 Nov 2005 18:40:00 +0000 (18:40 -0000)]
2005-11-28 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* decl.cs: Avoid to stop searching for class members after
encountering the first member, in order to find the inherited
or overloaded members.
svn path=/trunk/mcs/; revision=53571
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 18:06:53 +0000 (18:06 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlInputFile.cs: if no one else set the encoding type for the
containing form and there's a HtmlInputFile, set Enctype to
'multipart/form-data'. Fixes bug #76837.
svn path=/trunk/mcs/; revision=53567
Alexandre Rocha Lima e Marcondes [Mon, 28 Nov 2005 17:17:32 +0000 (17:17 -0000)]
2005-11-28 Jelmer Vernooij <jelmer@samba.org>
* Fix to Bugzilla Bug #76476: bash-specific code in
mbas/Test/misc/Makefile
svn path=/trunk/mcs/; revision=53564
Raja R Harinath [Mon, 28 Nov 2005 15:41:18 +0000 (15:41 -0000)]
* class-internals.h (MonoGenericContainer.is_signature): Remove.
* metadata.c (mono_metadata_parse_method_signature_full): Don't
create a temporary signature container.
(mono_metadata_parse_generic_param): Update to changes.
(mono_type_create_from_typespec_full): Update to changes.
* loader.c (method_from_memberref): Don't use a
MonoGenericContainer while parsing a memberref signature.
(method_from_methodspec): Remove dead-store of the 'container'
variable. It's overwritten before use.
svn path=/trunk/mono/; revision=53560
Konstantin Triger [Mon, 28 Nov 2005 14:47:28 +0000 (14:47 -0000)]
refactoring
svn path=/trunk/mcs/; revision=53558
Raja R Harinath [Mon, 28 Nov 2005 14:25:59 +0000 (14:25 -0000)]
* metadata.c (mono_type_create_from_typespec_full): Make debugging
checks tighter.
(mono_metadata_parse_generic_param): Likewise.
* loader.c (find_method_in_class): Does not need a
MonoGenericContainer. Use 'mono_method_signature' rather than
'mono_method_signature_full'.
(find_method, mono_get_method_constrained, method_from_memberref):
Update to changes.
svn path=/trunk/mono/; revision=53556