Vladimir Krasnov [Wed, 7 Sep 2005 09:39:26 +0000 (09:39 -0000)]
Brush.jvm.cs: added transform methods
LinearGradientBrush.jvm.cs: FIxed transform methods
Matrix.jvm.cs: Added CopyTo(), fixed Invert()
svn path=/trunk/mcs/; revision=49620
Chris Toshok [Wed, 7 Sep 2005 06:05:36 +0000 (06:05 -0000)]
2005-09-07 Chris Toshok <toshok@ximian.com>
* ListControlTest.cs: add tests for the ControlState.
svn path=/trunk/mcs/; revision=49618
Chris Toshok [Wed, 7 Sep 2005 06:04:27 +0000 (06:04 -0000)]
2005-09-07 Chris Toshok <toshok@ximian.com>
* System.Web.dll.sources: add MinimizableAttributeTypeConverter.
* System.Web_test.dll.sources: add
MinimizableAttributeTypeConverter test.
svn path=/trunk/mcs/; revision=49617
Chris Toshok [Wed, 7 Sep 2005 06:03:18 +0000 (06:03 -0000)]
2005-09-07 Chris Toshok <toshok@ximian.com>
* HtmlInputCheckBox.cs (Checked): uncomment the
MinimizableAttributeTypeConverter attribute.
* HtmlControl.cs (Disabled): uncomment the
MinimizableAttributeTypeConverter attribute.
* HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
* HtmlTableCell.cs (NoWrap): uncomment the
MinimizableAttributeTypeConverter attribute.
* HtmlLink.cs (Href): remove the MonoTODO.
* HtmlMeta.cs (Name): remove the MonoTODO.
(Scheme): same.
(Render): add (pretty bogus, really..) implementation. not sure
why we need this one.
svn path=/trunk/mcs/; revision=49616
Chris Toshok [Wed, 7 Sep 2005 05:59:49 +0000 (05:59 -0000)]
2005-09-07 Chris Toshok <toshok@ximian.com>
* MinimizableAttributeTypeConverterTest.cs: new test.
svn path=/trunk/mcs/; revision=49615
Chris Toshok [Wed, 7 Sep 2005 05:59:17 +0000 (05:59 -0000)]
make this 2.0 only
svn path=/trunk/mcs/; revision=49614
Chris Toshok [Wed, 7 Sep 2005 05:58:31 +0000 (05:58 -0000)]
2005-09-07 Chris Toshok <toshok@ximian.com>
* MinimizableAttributeTypeConverter.cs: new class, whose existence
we know about because of corcompare, and for whose implementation
we have exclusively nunit to thank.
svn path=/trunk/mcs/; revision=49613
Chris Toshok [Wed, 7 Sep 2005 05:20:28 +0000 (05:20 -0000)]
2005-09-07 Chris Toshok <toshok@ximian.com>
* ListControl.cs (SelectedIndex): add comment about how you'd
think OnSelectedIndexChanged would be called.. and you'd be wrong.
(Text): implement in terms of SelectedValue.
(TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
(LoadControlState): implement - this is where the selected index
ArrayList gets stuffed in 2.0.
(OnInit): call Page.RegisterRequiresControlState.
(OnTextChanged): implement.
(RenderContents): for now just chain up to base.RenderContents.
(SaveControlState): save our control state properly.
(GetSelectedIndices): split this out from SaveViewState to it can
be used by both that and SaveControlState.
(SaveViewState): mangle this function so it works in both 2.0 and
1.0.
(LoadViewState): same.
svn path=/trunk/mcs/; revision=49612
Gonzalo Paniagua Javier [Wed, 7 Sep 2005 03:19:02 +0000 (03:19 -0000)]
2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpRuntime.cs: remove Console.
* System.Web/HttpApplicationFactory.cs: don't hook Session_End, but keep
the MethodInfo around for later invocation if needed. Don't call
GetMethods() for every HttpApplication (or derived class) instances.
Added a method, used by SessionStateModule, that will create use an
application without context to invoke Session_End. Keep a pool of
applications that are meant to be used by this method only.
* System.Web/HttpApplication.cs: add a SetSession method and do not
attach all the events if the application is for Session_End only.
* System.Web.SessionState/SessionStateModule.cs: Only invoke the End
event using the new method in HttpApplicationFactory and when session
state mode is InProc.
Fixes bug #71662.
svn path=/trunk/mcs/; revision=49610
Chris Toshok [Wed, 7 Sep 2005 02:57:08 +0000 (02:57 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* BaseValidator.cs (AddAttributesToRender): render our ClientID if
we weren't assigned an ID.
* ValidationSummary.cs (AddAttributesToRender): same.
svn path=/trunk/mcs/; revision=49609
Chris Toshok [Wed, 7 Sep 2005 02:23:00 +0000 (02:23 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* WebControl.cs: revert the last change.
svn path=/trunk/mcs/; revision=49608
Atsushi Eno [Wed, 7 Sep 2005 02:21:11 +0000 (02:21 -0000)]
quick build fix.
svn path=/trunk/mcs/; revision=49607
Jonathan Chambers [Wed, 7 Sep 2005 02:02:11 +0000 (02:02 -0000)]
2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertiesTab.cs: Added
svn path=/trunk/mcs/; revision=49606
Chris Toshok [Wed, 7 Sep 2005 01:40:10 +0000 (01:40 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* RootBuilder.cs (.cctor): doh, add all the new html controls
here.
svn path=/trunk/mcs/; revision=49605
Chris Toshok [Wed, 7 Sep 2005 01:25:33 +0000 (01:25 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* HtmlInputControl.cs (RenderAttributes): Check Page.Form for
null.
svn path=/trunk/mcs/; revision=49603
Jonathan Chambers [Wed, 7 Sep 2005 01:22:04 +0000 (01:22 -0000)]
2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGrid.cs : Update
* PropertyGridView.cs : Update
* System.Windows.Forms.resx : Added images and strings
svn path=/trunk/mcs/; revision=49602
Jonathan Chambers [Wed, 7 Sep 2005 01:21:20 +0000 (01:21 -0000)]
2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGrid.cs : Update
* PropertyGridView.cs : Update
* System.Windows.Forms.resx : Added images and strings
svn path=/trunk/mcs/; revision=49601
Hisham Mardam Bey [Wed, 7 Sep 2005 00:08:46 +0000 (00:08 -0000)]
* Samples/png: Fixed samples with new changes.
* Samples/x11: Fixed samples with new changes.
* Samples/gtk: Fixed samples with new changes.
svn path=/trunk/mcs/; revision=49596
Hisham Mardam Bey [Tue, 6 Sep 2005 23:41:43 +0000 (23:41 -0000)]
Fixed Samples/png/* to work with new changes.
svn path=/trunk/mcs/; revision=49595
John Luke [Tue, 6 Sep 2005 23:10:43 +0000 (23:10 -0000)]
partially fix sample
svn path=/trunk/mcs/; revision=49592
Gonzalo Paniagua Javier [Tue, 6 Sep 2005 22:38:38 +0000 (22:38 -0000)]
2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: actually unload the domain when requested. Reformatted
FinishUnavailable() and removed the 'Location' header form the error.
* HttpApplicationFactory.cs: set up the watcher for the bin directory.
This also prevents a nullref when global.asax is changed.
svn path=/trunk/mcs/; revision=49591
Chris Toshok [Tue, 6 Sep 2005 22:36:28 +0000 (22:36 -0000)]
oops
svn path=/trunk/mcs/; revision=49590
Chris Toshok [Tue, 6 Sep 2005 22:34:33 +0000 (22:34 -0000)]
add a test for validators/validationsummary's without id attributes
svn path=/trunk/mcs/; revision=49589
Chris Toshok [Tue, 6 Sep 2005 22:33:54 +0000 (22:33 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* HtmlInputControl.cs (RenderAttributes): use ClientID instead of
ID.
svn path=/trunk/mcs/; revision=49588
Chris Toshok [Tue, 6 Sep 2005 22:32:54 +0000 (22:32 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* WebControl.cs (AddAttributesToRender): always render ClientID.
* ValidationSummary.cs (Render): same.
* BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
here.
svn path=/trunk/mcs/; revision=49587
Hisham Mardam Bey [Tue, 6 Sep 2005 22:23:53 +0000 (22:23 -0000)]
* Mono.Cairo/Surface.cs: make CreateSimilar non-static
and use Content instead of Format, add Surface.Status
* Mono.Cairo/Graphics.cs: add convenience
ctor to Color with an alpha of 1.0
add Tolerance getter, Change SetDash to compute
the length automatically, rename TargetSurface to Target,
add SetSourceRGB, SetSourceRGBA, and SetSourceSurface (),
add Paint, PaintWithAlpha, Mask, and MaskSurface (),
add StrokeExtents, FillExtents, ClipPreserve (), and CopyPage ()
* Mono.Cairo/Cairo.cs: add new imports:
cairo_stroke_extents, cairo_fill_extents,
cairo_clip_preserve, cairo_mask, cairo_mask_surface,
cairo_paint_with_alpha, cairo_surface_status
add Content enum and fix cairo_surface_create_similar to use
Content not Format
svn path=/trunk/mcs/; revision=49586
Gonzalo Paniagua Javier [Tue, 6 Sep 2005 21:46:51 +0000 (21:46 -0000)]
RegisterForm is 2.0 only
svn path=/trunk/mcs/; revision=49585
Chris Toshok [Tue, 6 Sep 2005 21:43:12 +0000 (21:43 -0000)]
test for SubmitDisabledControls
svn path=/trunk/mcs/; revision=49584
Chris Toshok [Tue, 6 Sep 2005 21:42:32 +0000 (21:42 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* System.Web.dll.sources: add HtmlLink.cs and HtmlMeta.cs
* System.Web_test.dll.sources: add HtmlLinkTest and HtmlMetaTest.
svn path=/trunk/mcs/; revision=49583
Chris Toshok [Tue, 6 Sep 2005 21:40:54 +0000 (21:40 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* HtmlLinkTest.cs: add empty render test.
* HtmlMetaTest.cs: same.
svn path=/trunk/mcs/; revision=49582
Chris Toshok [Tue, 6 Sep 2005 21:40:06 +0000 (21:40 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
(AddedControl): move the HtmlTitle logic here.
(RemovedControl): clear out the title if that was the control that
was removed.
* HtmlLink.cs: new implementation.
* HtmlMeta.cs: new implementation.
svn path=/trunk/mcs/; revision=49581
Paolo Molaro [Tue, 6 Sep 2005 21:24:23 +0000 (21:24 -0000)]
Tue Sep 6 22:51:08 BST 2005 Paolo Molaro <lupus@ximian.com>
* mini-arm.c, cpu-arm.md, inssel-arm.brg: bugfixes.
svn path=/trunk/mono/; revision=49579
Chris Toshok [Tue, 6 Sep 2005 21:23:56 +0000 (21:23 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* HtmlLinkTest.cs: new tests.
* HtmlMetaTest.cs: new tests.
svn path=/trunk/mcs/; revision=49578
Chris Toshok [Tue, 6 Sep 2005 20:44:16 +0000 (20:44 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* HtmlInputControl.cs (RenderAttributes): add ourselves to the
__enabledControlArray JS array if we're currently enabled and the
form is set to SubmitDisabledControls.
* HtmlForm.cs (OnInit): call Page.RegisterForm here.
(DetermineRenderUplevel): split this out of OnPreRender and make
it internal so HtmlInputControl can call it.
(OnPreRender): add handling for SubmitDisabledControls.
svn path=/trunk/mcs/; revision=49574
Chris Toshok [Tue, 6 Sep 2005 20:40:34 +0000 (20:40 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* webform.js (wasControlEnabled): use __enabledControlArray,
generated by the HtmlControl foo when using
SubmitDisabledControls.
(WebForm_ReEnableControls): used by HtmlForm's
SubmitDisabledControls.
svn path=/trunk/mcs/; revision=49573
Peter Dennis Bartok [Tue, 6 Sep 2005 18:41:49 +0000 (18:41 -0000)]
2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
* ThemeNice.cs: Do not dispose Pens retrieved from ResPool
svn path=/trunk/mcs/; revision=49568
Gonzalo Paniagua Javier [Tue, 6 Sep 2005 18:34:57 +0000 (18:34 -0000)]
2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: fixed bug introduced when moving GetHandler call
around. Now we get error pages again.
svn path=/trunk/mcs/; revision=49567
Peter Dennis Bartok [Tue, 6 Sep 2005 18:31:59 +0000 (18:31 -0000)]
2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
a busy loop right after the Ungrab the X11 display is otherwise
blocked
svn path=/trunk/mcs/; revision=49565
Chris Toshok [Tue, 6 Sep 2005 17:50:43 +0000 (17:50 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* data/browscap.ini: Add the ecmascriptversion/w3cdomversion
attributes required for ASP.Net client side validation to the
capabilities for Mozilla 1.[78], IE 5.5 & 6.0, Safari, and Firefox
0.9 & 1.0 browsers.
svn path=/trunk/mono/; revision=49559
Chris Toshok [Tue, 6 Sep 2005 17:48:21 +0000 (17:48 -0000)]
add patch file for browscap.ini to get client side validation working. and add it to the Hacking.FAQ
svn path=/trunk/mcs/; revision=49558
Chris Toshok [Tue, 6 Sep 2005 17:44:14 +0000 (17:44 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* ValidationSummary.cs (Render): only do the JS stuff when the
validators on the page are uplevel.
* BaseValidator.cs (Render): remove unnecessary comment.
svn path=/trunk/mcs/; revision=49557
Chris Toshok [Tue, 6 Sep 2005 17:38:21 +0000 (17:38 -0000)]
2005-09-06 Chris Toshok <toshok@ximian.com>
* WebUIValidation.js (ValidatorCommonOnSubmit): reorder things so
that for validationsummary's we show the message box after we
display the summary. This is because the alert blocks further
execution.
(ValidatorGetErrorMessage): return the errormessage in preference
to the text.
(ValidatorGetText): new function, return the text in preference to
the error message.
(ValidatorFailed): use ValidatorGetText, and always set the
innerHTML, not just when we don't have validationsummary's.
svn path=/trunk/mcs/; revision=49556
Atsushi Eno [Tue, 6 Sep 2005 17:34:15 +0000 (17:34 -0000)]
forgot to mention custom offset computation as well as Parse() internal change.
svn path=/trunk/mcs/; revision=49555
Atsushi Eno [Tue, 6 Sep 2005 17:31:04 +0000 (17:31 -0000)]
2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
* TimeZone.cs, DateTime.cs :
- ToLocalTime() and ToUniversalTime() are moved to TimeZone.
- Added more COM patterns. Patch by Ankit Jain. Fixed bug #72132.
* DateTimeTest.cs : test for #72132.
svn path=/trunk/mcs/; revision=49554
Martin Baulig [Tue, 6 Sep 2005 16:06:20 +0000 (16:06 -0000)]
Fixed in SVN.
svn path=/trunk/mcs/; revision=49550
Martin Baulig [Tue, 6 Sep 2005 16:06:07 +0000 (16:06 -0000)]
Put back r49122 and make it actually work.
svn path=/trunk/mcs/; revision=49549
Florian Gross [Tue, 6 Sep 2005 15:57:38 +0000 (15:57 -0000)]
2005-09-06 Florian Gross <flgr@ccan.de>
* ObjectPrototype.cs: Implemented better working hasOwnProperty
* In.cs: Implemented JScriptIn
* LateBinding.cs: Added LateBinding.Delete, HasObjectProperty,
DirectHasObjectProperty
svn path=/trunk/mcs/; revision=49548
César Natarén [Tue, 6 Sep 2005 15:53:52 +0000 (15:53 -0000)]
2005-09-06 Cesar Lopez Nataren <cnataren@novell.com>
* CodeGenerator.cs (GetBoxType): Take into account the case where
the type is relational whose operator is In.
svn path=/trunk/mcs/; revision=49547
Miguel de Icaza [Tue, 6 Sep 2005 15:38:14 +0000 (15:38 -0000)]
2005-09-06 Miguel de Icaza <miguel@novell.com>
* HttpApplication.cs: Catch EndRequest errors as well.
svn path=/trunk/mcs/; revision=49546
Boris Kirzner [Tue, 6 Sep 2005 13:58:28 +0000 (13:58 -0000)]
Fixed GraphicsPath implementation and tests for TARGET_JVM.
svn path=/trunk/mcs/; revision=49541
Boris Kirzner [Tue, 6 Sep 2005 13:53:13 +0000 (13:53 -0000)]
Bug fix.
svn path=/trunk/mcs/; revision=49540
Konstantin Triger [Tue, 6 Sep 2005 13:52:29 +0000 (13:52 -0000)]
fix containers implementation
svn path=/trunk/mcs/; revision=49539
Jordi Mas i Hernandez [Tue, 6 Sep 2005 13:52:28 +0000 (13:52 -0000)]
2005-09-06 Jordi Mas <jordi@ximian.com>
* clipping: Sample to test clipping
svn path=/trunk/mcs/; revision=49538
Konstantin Triger [Tue, 6 Sep 2005 13:48:56 +0000 (13:48 -0000)]
implementing fitting, output transform; fixing DrawXXX, Fill, Clipping, Containers
svn path=/trunk/mcs/; revision=49537
Jordi Mas i Hernandez [Tue, 6 Sep 2005 13:39:56 +0000 (13:39 -0000)]
2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
* ThemeWin32Classic.cs: Optimise the use of clipping
svn path=/trunk/mcs/; revision=49535
Konstantin Triger [Tue, 6 Sep 2005 13:24:50 +0000 (13:24 -0000)]
perform case insensitive check
svn path=/trunk/mcs/; revision=49534
Martin Baulig [Tue, 6 Sep 2005 13:02:29 +0000 (13:02 -0000)]
2005-09-06 Martin Baulig <martin@ximian.com>
* domain.c (supported_runtimes): Added v2.0.50727.
svn path=/trunk/mono/; revision=49533
Ankit Jain [Tue, 6 Sep 2005 12:37:15 +0000 (12:37 -0000)]
* ExternTable.cs (ExternRef.is_resolved): New.
(ExternModule.Resolve, ExternAssembly.Resolve,
ExternTable.Resolve): Return if is_resolved. Set to true at the end.
svn path=/trunk/mcs/; revision=49532
Paolo Molaro [Tue, 6 Sep 2005 09:41:45 +0000 (09:41 -0000)]
Tue Sep 6 11:40:24 CEST 2005 Paolo Molaro <lupus@ximian.com>
* culture-info.h: reduce the size of some structures.
svn path=/trunk/mono/; revision=49530
Ankit Jain [Tue, 6 Sep 2005 09:22:36 +0000 (09:22 -0000)]
* main.cs (dis_directive_assemblyref): Use the row id into the AssemblyRef
table instead of 1 for dump_cattrs.
Spotted by Harinath.
svn path=/trunk/mono/; revision=49529
Jordi Mas i Hernandez [Tue, 6 Sep 2005 09:17:58 +0000 (09:17 -0000)]
2005-09-06 Jordi Mas i Hernandez <jordi@ximan.com>
* TestGraphics.cs: New test case, only clipping for now
svn path=/trunk/mcs/; revision=49527
Atsushi Eno [Tue, 6 Sep 2005 08:44:44 +0000 (08:44 -0000)]
2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : (DoParse) DateTimeStyles.AdjustToUniversal was not
handled as expected and it kept time value as local one.
Patch by Brion Vibber. Fixed bug #75995.
* DateTimeTest.cs : test for #75995.
svn path=/trunk/mcs/; revision=49526
Raja R Harinath [Tue, 6 Sep 2005 08:36:29 +0000 (08:36 -0000)]
Re-apply r49459 with some fixes.
svn path=/trunk/mcs/; revision=49525
Satya Sudha K [Tue, 6 Sep 2005 08:35:01 +0000 (08:35 -0000)]
Fixed some 'FileSystem' related testcases
svn path=/trunk/mcs/; revision=49524
Satya Sudha K [Tue, 6 Sep 2005 08:32:37 +0000 (08:32 -0000)]
2005-09-06 Satya Sudha K <ksathyasudha@novell.com>
* Strings.cs, FileSystem.cs : Minor fixes to the 'Join' and 'FileOpen' methods respectively.
svn path=/trunk/mcs/; revision=49523
Atsushi Eno [Tue, 6 Sep 2005 08:22:28 +0000 (08:22 -0000)]
2005-09-06 Atsushi Enomoto <atsushi@ximian.com>
* DateTime.cs : Literal escape (\) was not checking format as
expected. Fixed bug #75213.
* DateTimeTest.cs : test for #75213.
svn path=/trunk/mcs/; revision=49522
Ankit Jain [Tue, 6 Sep 2005 07:04:01 +0000 (07:04 -0000)]
* PEAPI.cs (MetaData.WriteTildeStream): Change minor version back to 0.
svn path=/trunk/mcs/; revision=49521
Miguel de Icaza [Tue, 6 Sep 2005 03:55:39 +0000 (03:55 -0000)]
Remove until this is in
svn path=/trunk/mcs/; revision=49520
Miguel de Icaza [Tue, 6 Sep 2005 03:37:50 +0000 (03:37 -0000)]
2005-09-05 Miguel de Icaza <miguel@novell.com>
* HttpApplication.cs: Invoke EndRequest handler before OutputPage
as FormsAuthentication will issue a Redirect from the EndRequest
handler.
svn path=/trunk/mcs/; revision=49519
Peter Dennis Bartok [Tue, 6 Sep 2005 01:38:50 +0000 (01:38 -0000)]
* Initial check-in of RTF parser required for RichTextBox control
2005-09-04 Peter Dennis Bartok <pbartok@novell.com>
* System.Windows.Forms.dll.sources: Added System.Windows.Forms.RTF
subdirectory to build
* SWF.csproj: Updated
2005-09-04 Peter Dennis Bartok <pbartok@novell.com>
* Charcode.cs: Created; provides StandardCharCode <-> character
translation
* Charset.cs: Created; provides two standard charsets, AnsiGeneral
and AnsiSymbol
* CharsetFlags.cs: Created
* CharsetType.cs: Created
* ClassDelegate.cs: Created; allows consumer to register a callback
for RTF command classes
* Color.cs: Created; provides access to RTF-defined RGB color sets
* DestinationDelegate.cs: Created; allows consumer to register a
callback for Destination class types
* Font.cs: Created; provides access to RTF-defined font descriptions
* KeysInit.cs: Created; provides translation table from RTF keyword
to Major/Minor classes
* KeyStruct.cs: Created
* Major.cs: Created; describes available RTF command groups
* Minor.cs: Created; describes available 'arguments' for command groups
* README: Created
* RTF.cs: Created; contains main RTF parser code
* rtf.csproj: Created; provides Visual Studio project that allows to
use test this assembly via the included test.cs
to provide
* RTFException.cs: Created; provides custom RTF exception class
* StandardCharCode.cs: Created
* StandardCharName.cs: Created
* Style.cs: Created; provides access to RTF-define styles
* StyleElement.cs: Created; provides support class to allow parsing
recursive styles
* StyleType.cs: Created
* test.cs: Test code showing use of RTF class (also acts as Main for
the included Visual Studio project)
* TextMap.cs: Created; allows to create simple translation table for
converting parsed RTF document to text; table-based
* TokenClass.cs: Created; describes all available RTF command classes
svn path=/trunk/mcs/; revision=49518
Chris Toshok [Mon, 5 Sep 2005 23:57:52 +0000 (23:57 -0000)]
add the new tests
svn path=/trunk/mcs/; revision=49517
Chris Toshok [Mon, 5 Sep 2005 23:57:34 +0000 (23:57 -0000)]
2005-09-05 Chris Toshok <toshok@ximian.com>
* FormViewTest.cs: new tests.
svn path=/trunk/mcs/; revision=49516
Chris Toshok [Mon, 5 Sep 2005 23:26:33 +0000 (23:26 -0000)]
2005-09-05 Chris Toshok <toshok@ximian.com>
* DataBoundControlTest.cs: new tests.
* BaseDataBoundControlTest.cs: new tests.
svn path=/trunk/mcs/; revision=49515
Chris Toshok [Mon, 5 Sep 2005 23:25:10 +0000 (23:25 -0000)]
2005-09-05 Chris Toshok <toshok@ximian.com>
* BaseDataBoundControl.cs (DataSourceID): testing reveals this is
stored in the ViewState.
svn path=/trunk/mcs/; revision=49514
Chris Toshok [Mon, 5 Sep 2005 23:24:21 +0000 (23:24 -0000)]
2005-09-05 Chris Toshok <toshok@ximian.com>
* WebPartVerbCollection.cs: class is sealed.
svn path=/trunk/mcs/; revision=49513
John Luke [Mon, 5 Sep 2005 22:12:06 +0000 (22:12 -0000)]
2005-09-05 John Luke <john.luke@gmail.com>
* Mono.Cairo/Samples/gtk/Graphics.cs:
add gtk-cairo helper that will work on win32 and
x11 based on gtk-dotnet in gtk#, not yet tested on
windows
svn path=/trunk/mcs/; revision=49511
Chris Toshok [Mon, 5 Sep 2005 20:28:49 +0000 (20:28 -0000)]
2005-09-05 Chris Toshok <toshok@ximian.com>
* HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
or in the ViewState. where then?
(DefaultFocus): this one is stored in the ViewState, not as an
Attribute.
(SubmitDisabledControls): implement just as a boolean flag, not in
the viewstate or attributes.
(RenderAttributes): defaultfocus and defaultbutton are no longer
in Attributes.
svn path=/trunk/mcs/; revision=49510
Chris Toshok [Mon, 5 Sep 2005 20:26:34 +0000 (20:26 -0000)]
2005-09-05 Chris Toshok <toshok@ximian.com>
* HtmlFormTest.cs: add some more tests to make figure out the
property spot to be storing some of these attributes.
svn path=/trunk/mcs/; revision=49509
Atsushi Eno [Mon, 5 Sep 2005 19:54:53 +0000 (19:54 -0000)]
2005-09-05 Atsushi Enomoto <atsushi@ximian.com>
quick build fix.
* get.cs : (dis_get_custom_attrs) added assembly reference support.
* main.cs: (dis_directive_assemblyref) use MONO_TOKEN_ASSEMBLY_REF.
svn path=/trunk/mono/; revision=49507
Sebastien Pouliot [Mon, 5 Sep 2005 19:48:00 +0000 (19:48 -0000)]
2005-09-05 Sebastien Pouliot <sebastien@ximian.com>
* certview.glade: Removed filenames for bitmaps.
* gcertview.cs: Fix compilation. Use resources not files for UI stuff.
* CertificateFormatter.cs: Fix compilation.
* Makefile: Build Gtk# version using resources. Minor fixes.
* TODO: All future development will occur in mono-tools.
svn path=/trunk/mcs/; revision=49505
Gonzalo Paniagua Javier [Mon, 5 Sep 2005 19:05:03 +0000 (19:05 -0000)]
2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplication.cs: when writing an error message, catch the possible
write error.
svn path=/trunk/mcs/; revision=49504
Atsushi Eno [Mon, 5 Sep 2005 18:58:40 +0000 (18:58 -0000)]
2005-09-05 Atsushi Enomoto <atsushi@ximian.com>
* gtest-200.cs : test for bug #75668.
svn path=/trunk/mcs/; revision=49503
Miguel de Icaza [Mon, 5 Sep 2005 18:37:43 +0000 (18:37 -0000)]
Add test case for bug #75852
svn path=/trunk/mcs/; revision=49502
Gonzalo Paniagua Javier [Mon, 5 Sep 2005 18:34:54 +0000 (18:34 -0000)]
2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* mini.c: ignore SIGPIPE.
svn path=/trunk/mono/; revision=49500
Miguel de Icaza [Mon, 5 Sep 2005 18:32:11 +0000 (18:32 -0000)]
Update known-issues
svn path=/trunk/mcs/; revision=49499
Miguel de Icaza [Mon, 5 Sep 2005 18:24:44 +0000 (18:24 -0000)]
2005-09-05 Miguel de Icaza <miguel@novell.com>
* expression.cs (Cast.TryReduce): Only reduce to an EnumConstant
if the underlying types are the same, otherwise we need to produce
code that will do the proper cast.
This was exposed by Marek's constant rewrite which produced
invalid code for the call site:
enum X : long { a }
void Method (X v) {}
Method ((X) 5)
This fixes test-49.cs
svn path=/trunk/mcs/; revision=49498
Miguel de Icaza [Mon, 5 Sep 2005 18:23:43 +0000 (18:23 -0000)]
2005-09-05 Miguel de Icaza <miguel@novell.com>
* expression.cs (Cast.TryReduce): Only reduce to an EnumConstant
if the underlying types are the same, otherwise we need to produce
code that will do the proper cast.
This was exposed by Marek's constant rewrite which produced
invalid code for the call site:
enum X : long { a }
void Method (X v) {}
Method ((X) 5)
This fixes test-49.cs
svn path=/trunk/mcs/; revision=49497
Atsushi Eno [Mon, 5 Sep 2005 18:10:12 +0000 (18:10 -0000)]
2005-09-05 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: reverted previous change. Sadly mono.exe has different
way to load mscorlib.dll so it won't work.
* profiles/net_1_1_bootstrap.make,
* profiles/default.make: Reverted previous changes for build fix.
svn path=/trunk/mcs/; revision=49496
Atsushi Eno [Mon, 5 Sep 2005 17:56:28 +0000 (17:56 -0000)]
2005-09-05 Atsushi Enomoto <atsushi@ximian.com>
* gcs0208-2.cs, gcs0208-3.cs, gcs0208-4.cs : added test with related
to #75772.
svn path=/trunk/mcs/; revision=49495
Atsushi Eno [Mon, 5 Sep 2005 17:54:14 +0000 (17:54 -0000)]
2005-09-05 Atsushi Enomoto <atsushi@ximian.com>
* gtest-198.cs : fix. missing main.
* gtest-199.cs : test code similar to #75772.
svn path=/trunk/mcs/; revision=49494
John Luke [Mon, 5 Sep 2005 17:52:03 +0000 (17:52 -0000)]
add compile.sh for the win32 sample
and update svn:ignore prop
svn path=/trunk/mcs/; revision=49493
Carlos Guzmán Álvarez [Mon, 5 Sep 2005 17:42:20 +0000 (17:42 -0000)]
Updated Firebird provider sources to 1.7.1 RC1 version
svn path=/trunk/mcs/; revision=49492
Atsushi Eno [Mon, 5 Sep 2005 17:35:16 +0000 (17:35 -0000)]
2005-09-05 Atsushi Enomoto <atsushi@ximian.com>
* known-issues-gmcs: new tests are not passing with gmcs.
svn path=/trunk/mcs/; revision=49491
Miguel de Icaza [Mon, 5 Sep 2005 17:23:59 +0000 (17:23 -0000)]
2005-09-05 Miguel de Icaza <miguel@novell.com>
* driver.cs (Uninstall): Add workaround, Directory.GetFiles does
not return symlinks inside the directories which makes this break
on uninstall (make distcheck on monodoc exposed this).
svn path=/trunk/mcs/; revision=49489
Atsushi Eno [Mon, 5 Sep 2005 17:23:07 +0000 (17:23 -0000)]
2005-09-05 Atsushi Enomoto <atsushi@ximian.com>
* attribute.cs : (Attribute.IsValidArgumentType): array of string/
Type/Object should be allowed as well. Fixed bug #75968.
* test-454.cs : test for #75968.
svn path=/trunk/mcs/; revision=49488
Atsushi Eno [Mon, 5 Sep 2005 17:15:55 +0000 (17:15 -0000)]
2005-09-05 Atsushi Enomoto <atsushi@ximian.com>
* expression.cs : (Binary.DoResolve): when one is enum constant and
another is constant 0, then return enum one *as enum type*.
Fixed bug 74846.
* test-453.cs : test for #75846.
svn path=/trunk/mcs/; revision=49487
Martin Baulig [Mon, 5 Sep 2005 17:09:52 +0000 (17:09 -0000)]
2005-09-05 Martin Baulig <martin@ximian.com>
* expression.cs (As.DoResolve): Use `probe_type.IsValueType'
instead of `TypeManager.IsValueType (probe_type)'; fixes #75668.
* cs-parser.jay (delegate_declaration): Small fix for #75852.
svn path=/trunk/mcs/; revision=49486
Atsushi Eno [Mon, 5 Sep 2005 17:03:29 +0000 (17:03 -0000)]
2005-09-05 Atsushi Enomoto <atsushi@ximian.com>
* typemanager.cs: (IsUnmanagedType) : generic parameter is not allowed
to be a pointer type due to the spec 25.2, so check if declaring
type is generic type definition. Fixed bug #75772.
svn path=/trunk/mcs/; revision=49485
Zoltan Varga [Mon, 5 Sep 2005 16:57:08 +0000 (16:57 -0000)]
2005-09-05 Zoltan Varga <vargaz@gmail.com>
* Hashtable.cs: Add new IEqualityComparer constructors for 2.0.
* CaseInsensitiveHashCodeProvider.cs IHashCodeProvider.cs: Mark these
as obsolete in 2.0.
svn path=/trunk/mcs/; revision=49484
Miguel de Icaza [Mon, 5 Sep 2005 16:48:02 +0000 (16:48 -0000)]
2005-09-05 Miguel de Icaza <miguel@novell.com>
* MonoType.cs: Patch from Jonathan Chambers to implement
Type.GUID.
* AppDomainSetup.cs: Full-pathization of the appBase should only
be done on Windows, the ":" condition never applied to Linux.
2005-09-05 Miguel de Icaza <miguel@novell.com>
* MonoIOError.cs: expose the ERROR_DIR_NOT_EMPTY as we are
throwing it.
* MonoIO.cs: Return a properly named error.
svn path=/trunk/mcs/; revision=49483