Zoltan Varga [Thu, 6 Nov 2003 20:54:00 +0000 (20:54 -0000)]
2003-11-06 Zoltan Varga <zovarga@ws-zovarga2>
* mono/benchmark/pinvoke.cs: New benchmark for testing the performance
of the managed/unmanaged boundary.
svn path=/trunk/mono/; revision=19695
Duncan Mak [Thu, 6 Nov 2003 20:46:04 +0000 (20:46 -0000)]
(GdipDrawRectangle): Add call to gdip_pen_setup so
that we stroke with the right color.
svn path=/trunk/mcs/; revision=19694
Zoltan Varga [Thu, 6 Nov 2003 20:44:48 +0000 (20:44 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* mini.h (mono_arch_setup_jit_tls_data): New arch specific function.
* mini.c (setup_jit_tls_data): Call the new function.
* mini-x86.c mini-ppc.c mini-sparc.c: Define the new function.
* mini-x86.c: Add experimental support for fast access to the lmf
structure under NPTL/Linux 2.6.x.
svn path=/trunk/mono/; revision=19693
Duncan Mak [Thu, 6 Nov 2003 20:44:30 +0000 (20:44 -0000)]
(DrawPie): Use DrawPieI instead of DrawPie and fix
angle parameters for the integer case.
(DrawBezier): Hook it up with GdipDrawBezier.
svn path=/trunk/mcs/; revision=19692
Zoltan Varga [Thu, 6 Nov 2003 20:36:01 +0000 (20:36 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* configure.in acconfig.h: Add check for __thread keyword in gcc.
svn path=/trunk/mono/; revision=19691
Jackson Harper [Thu, 6 Nov 2003 19:26:31 +0000 (19:26 -0000)]
* System.web.dll.sources: Add SessionId.cs to build
svn path=/trunk/mcs/; revision=19690
Jackson Harper [Thu, 6 Nov 2003 19:25:32 +0000 (19:25 -0000)]
* ISessionHandler.cs: Pass the SessionStateModule to handlers when
updating.
* SessionSqlServerHandler.cs:
* SessionInProcHandler.cs: Accept SessionStateModule when
updating. Use new SessionId.Create method for creating session
ids.
* SessionStateModule.cs: Add a random number generator that will
be used for creating session ids. Pass this to handlers when
updating.
* SessionId.cs: New class for creating session ids.
svn path=/trunk/mcs/; revision=19689
Jackson Harper [Thu, 6 Nov 2003 17:39:37 +0000 (17:39 -0000)]
* ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
* BaseValidator.cs: Disable base control so the isValid flag is
not reset.
svn path=/trunk/mcs/; revision=19688
César Natarén [Thu, 6 Nov 2003 17:10:42 +0000 (17:10 -0000)]
2003-11-06 cesar lopez nataren <cesar@ciencias.unam.mx>
* FunctionDeclaration.cs: Build a ScriptFunction local variable,
if inside a nested block.
svn path=/trunk/mcs/; revision=19687
Zoltan Varga [Thu, 6 Nov 2003 15:28:22 +0000 (15:28 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* reflection.c
(reflection_methodbuilder_from_method_builder):
(reflection_methodbuilder_from_ctor_builder): New helper functions to
initialize a ReflectionMethodBuilder structure.
(mono_image_get_methodbuilder_token):
(mono_image_get_ctorbuilder_token): New functions to emit memberref
tokens which point to types in another module inside the same assembly.
* reflection.c: Use the new helper functions.
svn path=/trunk/mono/; revision=19686
Zoltan Varga [Thu, 6 Nov 2003 15:11:00 +0000 (15:11 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* ConstructorBuilder.cs (.ctor): Automatically add RTSpecialName flag
as MS does.
svn path=/trunk/mcs/; revision=19685
Martin Baulig [Thu, 6 Nov 2003 13:40:06 +0000 (13:40 -0000)]
2003-11-06 Martin Baulig <martin@ximian.com>
* ldscript: Make `GC_push_all_stack', `GC_start_blocking',
`GC_end_blocking' and 'gc_thread_vtable' public; they're used by
the debugger.
svn path=/trunk/mono/; revision=19683
Martin Baulig [Thu, 6 Nov 2003 13:13:18 +0000 (13:13 -0000)]
2003-11-06 Martin Baulig <martin@ximian.com>
* ModuleBuilder.cs (ModuleBuilder.Save): Call `build_metadata'
before writing the symbol file.
svn path=/trunk/mcs/; revision=19682
Zoltan Varga [Thu, 6 Nov 2003 12:06:58 +0000 (12:06 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (mono_image_basic_init): Initialize basedir and culture.
svn path=/trunk/mono/; revision=19680
Zoltan Varga [Thu, 6 Nov 2003 12:05:37 +0000 (12:05 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs (.ctor): Initialize the 'dir' field to something
sensible.
svn path=/trunk/mcs/; revision=19679
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 11:52:53 +0000 (11:52 -0000)]
ay
svn path=/trunk/mcs/; revision=19678
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 11:46:33 +0000 (11:46 -0000)]
2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
space in generated javascript.
svn path=/trunk/mcs/; revision=19677
Zoltan Varga [Thu, 6 Nov 2003 11:33:44 +0000 (11:33 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs (Save): Set 'created' flag.
svn path=/trunk/mcs/; revision=19676
Zoltan Varga [Thu, 6 Nov 2003 11:06:53 +0000 (11:06 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* icall.c loader.c reflection.c: Use ModuleBuilder->dynamic_image
instead of AssemblyBuilder->dynamic_assembly in the appropriate places.
* reflection.c (resolution_scope_from_image): Emit a moduleref if
neccesary.
* reflection.c (mono_image_build_metadata): Emit metadata only for the
current module. Emit the manifest only for the main module.
* reflection.c (mono_image_create_token): Add assertion when a
memberref needs to be created.
* reflection.c reflection.h (MonoDynamicAssembly): Remove unused fields.
* reflection.c (mono_reflection_get_custom_attrs_blob): Allocate a
larger buffer for the custom attribute blob. Fixes #50637.
svn path=/trunk/mono/; revision=19675
Carlos Guzmán Álvarez [Thu, 6 Nov 2003 10:48:53 +0000 (10:48 -0000)]
Changed line endings
svn path=/trunk/mcs/; revision=19674
Carlos Guzmán Álvarez [Thu, 6 Nov 2003 09:30:36 +0000 (09:30 -0000)]
2003-11-04 Carlos Guzm�n �lvarez <carlosga@telefonica.net>
* Mono.Security.Protocol.Tls/CipherSuite.cs:
- Added custom padding for record encryption.
2003-11-03 Carlos Guzm�n �lvarez <carlosga@telefonica.net>
* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
- Removed file.
* Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
- New class for handshake hashes calculation on SSL3 protocol.
* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
- Fixed mac keys clearing for SSL3 protocol.
* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
- Added changes for make use of new TlsSslHandshakeHash class.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
- Added initial implementation for SSL3 protocol.
* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
- New class for md5-sha hash calculation.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
- Make use of new MD5SHA1CryptoServiceProvider class.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
- Added initial implementation (not finished).
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
- Minor change to message processing.
- Changed verify method name to verifySignature.
* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
- Changed handshakeHashes member to be an TlsStream.
2003-10-28 Carlos Guzm�n �lvarez <carlosga@telefonica.net>
* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
- Added changes for make use of X509 classes from mono.
svn path=/trunk/mcs/; revision=19673
Zoltan Varga [Thu, 6 Nov 2003 09:03:12 +0000 (09:03 -0000)]
2003-11-06 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs (get_next_table_index): Moved to ModuleBuilder,
since table indexes are per-module.
svn path=/trunk/mcs/; revision=19672
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:54:46 +0000 (07:54 -0000)]
Throw a plain Exception here
svn path=/trunk/mcs/; revision=19671
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:51:11 +0000 (07:51 -0000)]
2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IPAddress.cs: prevent exceptions when trying to parse the static IPv6
addresses.
svn path=/trunk/mcs/; revision=19670
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:40:27 +0000 (07:40 -0000)]
2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ConfigurationSettings.cs: don't handle null or non-existent file in
the catch blocks.
svn path=/trunk/mcs/; revision=19669
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:21:26 +0000 (07:21 -0000)]
Ooops. Forgot to enable globalization section
svn path=/trunk/mono/; revision=19668
Miguel de Icaza [Thu, 6 Nov 2003 06:17:21 +0000 (06:17 -0000)]
2003-11-06 Miguel de Icaza <miguel@ximian.com>
* convert.cs (ImplicitReferenceConversion): Somehow we allowed
every value type to go through, even if it was void. Fix that.
svn path=/trunk/mcs/; revision=19667
Martin Baulig [Thu, 6 Nov 2003 06:08:48 +0000 (06:08 -0000)]
2003-11-06 Martin Baulig <martin@ximian.com>
* ICollection.cs, IList.cs, IEnumerator.cs, IEnumerable.cs:
Started to implement the System.Collections.Generic classes.
svn path=/trunk/mcs/; revision=19666
Miguel de Icaza [Thu, 6 Nov 2003 05:55:08 +0000 (05:55 -0000)]
2003-11-06 Miguel de Icaza <miguel@ximian.com>
* cs-tokenizer.cs: Use is_identifier_start_character on the start
character of the define, and the is_identifier_part_character for
the rest of the string.
svn path=/trunk/mcs/; revision=19665
Miguel de Icaza [Thu, 6 Nov 2003 02:26:12 +0000 (02:26 -0000)]
Update list
svn path=/trunk/mono/; revision=19663
Miguel de Icaza [Thu, 6 Nov 2003 02:25:06 +0000 (02:25 -0000)]
Update list
svn path=/trunk/mono/; revision=19662
Miguel de Icaza [Thu, 6 Nov 2003 02:13:58 +0000 (02:13 -0000)]
2003-11-05 Miguel de Icaza <miguel@ximian.com>
* expression.cs (UnaryMutator.EmitCode): When I updated
LocalVariableReference.DoResolve, I overdid it, and dropped an
optimization done on local variable references.
svn path=/trunk/mcs/; revision=19661
Miguel de Icaza [Thu, 6 Nov 2003 02:13:41 +0000 (02:13 -0000)]
Update makefile
svn path=/trunk/mcs/; revision=19660
Miguel de Icaza [Thu, 6 Nov 2003 01:01:17 +0000 (01:01 -0000)]
Flush
svn path=/trunk/mono/; revision=19657
Duncan Mak [Thu, 6 Nov 2003 00:14:27 +0000 (00:14 -0000)]
* Graphics.cs (DrawPie):
* gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
in graphics.c.
* graphics.c
(make_pie, make_ellipse, make_polygon): Add static keyword.
* gdip_defs.h: Update headers to include DrawBezier, DrawBeziers,
DrawEllipse, DrawPie, DrawPolygon, DrawRectangle, FillEllipse,
FillPolygon and the RenderingOrigin property.
* Makefile (install-local): Added missing semi-colons.
svn path=/trunk/mcs/; revision=19656
Bernie Solomon [Wed, 5 Nov 2003 23:44:58 +0000 (23:44 -0000)]
2003-11-03 Bernie Solomon <bernard@ugsolutions.com>
* gdip_main.h, gdip_win32.h, gdip_win32.c:
fixes for non-GCC compilers
svn path=/trunk/mcs/; revision=19653
César Natarén [Wed, 5 Nov 2003 18:01:41 +0000 (18:01 -0000)]
updates from grammar
svn path=/trunk/mcs/; revision=19647
César Natarén [Wed, 5 Nov 2003 18:00:01 +0000 (18:00 -0000)]
ChangeLog entries.
svn path=/trunk/mcs/; revision=19646
César Natarén [Wed, 5 Nov 2003 17:57:49 +0000 (17:57 -0000)]
* ScriptBlock.cs: Initiate the global block with 'null' as parent.
svn path=/trunk/mcs/; revision=19645
César Natarén [Wed, 5 Nov 2003 17:57:01 +0000 (17:57 -0000)]
* Block.cs, FunctionObject.cs, VariableDeclaration.cs: Added 'AST parent' field.
* Block.cs, FunctionDeclaration.cs, FunctionExpression.cs,
FunctionObject.cs, VariableDeclaration.cs: Added 'AST parent' parameter to constructor.
svn path=/trunk/mcs/; revision=19644
César Natarén [Wed, 5 Nov 2003 17:55:20 +0000 (17:55 -0000)]
* jscript-lexer-parser.g: Now we take care of parents. This allows
to keep track if we are inside nested blocks. At
'func_decl_or_expr', now I built the FunctionDeclaration or
FunctionExpression first and then assign its body to it - this let
me get a non-null value of the FunctionExpression or
FunctionDeclaration so I can detect if it's a nested block (thanks go to Jackson!).
svn path=/trunk/mcs/; revision=19643
Eran Domb [Wed, 5 Nov 2003 08:51:01 +0000 (08:51 -0000)]
* DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
svn path=/trunk/mcs/; revision=19642
Gonzalo Paniagua Javier [Wed, 5 Nov 2003 07:49:02 +0000 (07:49 -0000)]
2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpRequest.cs:
* System.Web/HttpResponse.cs:
* System.Web/HttpUtility.cs:
* System.Web/HttpValueCollection.cs: encoding fixes/updates.
* System.Web/HttpWriter.cs: when updating the encoding, flush the
existing stream. Encoding updates.
* System.Web.Compilation/AspGenerator.cs: use fileEncoding from
configuration files.
* System.Web.Compilation/PageCompiler.cs: add assign statements for
ContentType, ResponseEncoding and CodePage if supplied.
* System.Web.Configuration/GlobalizationConfiguration.cs: added
GetInstance method.
* System.Web.Configuration/GlobalizationConfigurationHandler.cs: warn
about unsupported encodings and provide reasonable defaults.
* System.Web.Security/FormsAuthentication.cs: encoding updates.
* System.Web.UI/LosFormatter.cs: encoding updates.
* System.Web.UI/Page.cs: implemented CodePage and ContentType.
* System.Web.UI/PageParser.cs: handle CodePage, ContentEncoding and
ResponseEncoding attributes.
* System.Web.Util/WebEncoding.cs: added properties to access
configuration files encoding.
svn path=/trunk/mcs/; revision=19641
Eran Domb [Wed, 5 Nov 2003 07:03:03 +0000 (07:03 -0000)]
* DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
on all Relations.
(GetChildRows) : Adding some checks.
(GetParentRows) : Adding some checks. Fix a bug in implementation.
(SetParentRow) : Added implementation.
* DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
* DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
* ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
* MergeManager.cs : Check that the target table is not null.
svn path=/trunk/mcs/; revision=19640
Gonzalo Paniagua Javier [Wed, 5 Nov 2003 06:14:59 +0000 (06:14 -0000)]
2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AssemblyResourceLoader.cs: fixed compilation under MS. Ben already
filed a bug report.
svn path=/trunk/mcs/; revision=19639
Pedro Martínez Juliá [Wed, 5 Nov 2003 06:00:35 +0000 (06:00 -0000)]
2003-11-05 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* DateTimeFormatInfo.cs: Hack an era for US culture. We must look
for other ways to get the ERA string.
svn path=/trunk/mcs/; revision=19638
Miguel de Icaza [Wed, 5 Nov 2003 05:02:33 +0000 (05:02 -0000)]
Make this optional for those who dont have cairo
svn path=/trunk/mcs/; revision=19637
Jackson Harper [Wed, 5 Nov 2003 00:27:31 +0000 (00:27 -0000)]
* AssemblyResourceLoader.cs: No method body for v1. This fixes the
build.
svn path=/trunk/mcs/; revision=19634
Ben Maurer [Tue, 4 Nov 2003 23:44:56 +0000 (23:44 -0000)]
add WebResource.axd support
svn path=/trunk/mono/; revision=19632
Ben Maurer [Tue, 4 Nov 2003 23:43:25 +0000 (23:43 -0000)]
2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
* HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just return false
(which makes sense, as the custom errors *arent* enabled; ie they dont work.
* HttpResponseStream.cs: you actually can write with len = 0
* AssemblyResourceLoader.cs: New file. New v2 handler.
* Control.cs (GetWebResourceUrl): new v2 function
* Page.cs (GetWebResourceUrl): ditto.
make the JS we generate work with moz if the form is not a child
of document.
* WebResourceAttribute.cs: Added, new v2 attribute.
svn path=/trunk/mcs/; revision=19631
Miguel de Icaza [Tue, 4 Nov 2003 22:59:28 +0000 (22:59 -0000)]
2003-11-04 Miguel de Icaza <miguel@ximian.com>
* ecore.cs: Convert the return from Ldlen into an int.
svn path=/trunk/mcs/; revision=19629
César Natarén [Tue, 4 Nov 2003 22:35:47 +0000 (22:35 -0000)]
grammar updates
svn path=/trunk/mcs/; revision=19627
César Natarén [Tue, 4 Nov 2003 22:03:19 +0000 (22:03 -0000)]
2003-11-04 cesar lopez nataren <cesar@ciencias.unam.mx>
* FunctionObject.cs: Handle no parameters on functions.
svn path=/trunk/mcs/; revision=19626
César Natarén [Tue, 4 Nov 2003 21:44:33 +0000 (21:44 -0000)]
2003-11-04 cesar lopez nataren <cesar@ciencias.unam.mx>
* jscript-lexer-parser.g: Allow functions without parameters.
svn path=/trunk/mcs/; revision=19624
Jackson Harper [Tue, 4 Nov 2003 21:08:20 +0000 (21:08 -0000)]
* TemplateColumn.cs: Use the same renderer for selected items as
normal items. This fixes bug #49744.
svn path=/trunk/mcs/; revision=19623
Jackson Harper [Tue, 4 Nov 2003 19:44:05 +0000 (19:44 -0000)]
* DataList.cs:
* WebControl.cs: Fix argument out of range exceptions on
properties. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19622
Atsushi Eno [Tue, 4 Nov 2003 18:56:16 +0000 (18:56 -0000)]
2003-11-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* Iterator.cs : Added bool ReverseAxis property to identify whether
the iterator is in reverse order or not. Added ComparablePosition
for correct position comparison for PredicateIterator and reverse-
order-axes. Modified AncestorIterator, AncestorOrSelfIterator,
PrecedingIterator and PrecedingSiblingIterator to make MoveNext()
return their nodes in document order. This fixes bugzilla #39079.
svn path=/trunk/mcs/; revision=19621
Miguel de Icaza [Tue, 4 Nov 2003 17:40:01 +0000 (17:40 -0000)]
Flush
svn path=/trunk/mono/; revision=19620
Miguel de Icaza [Tue, 4 Nov 2003 17:34:15 +0000 (17:34 -0000)]
Flush
svn path=/trunk/mono/; revision=19619
Miguel de Icaza [Tue, 4 Nov 2003 17:28:16 +0000 (17:28 -0000)]
Flush
svn path=/trunk/mono/; revision=19618
Miguel de Icaza [Tue, 4 Nov 2003 14:40:19 +0000 (14:40 -0000)]
Flush
svn path=/trunk/mono/; revision=19616
Miguel de Icaza [Tue, 4 Nov 2003 14:30:14 +0000 (14:30 -0000)]
Update
svn path=/trunk/mono/; revision=19615
Miguel de Icaza [Tue, 4 Nov 2003 14:03:03 +0000 (14:03 -0000)]
Flush
svn path=/trunk/mono/; revision=19614
Miguel de Icaza [Tue, 4 Nov 2003 13:38:47 +0000 (13:38 -0000)]
Build fixes
svn path=/trunk/mcs/; revision=19612
Jackson Harper [Tue, 4 Nov 2003 07:58:25 +0000 (07:58 -0000)]
* TemplateColumn.cs: If the item is selected but there is no
editItemTemplate use the itemTemplate. This matches MS
behvoir.
svn path=/trunk/mcs/; revision=19611
Jackson Harper [Tue, 4 Nov 2003 06:02:35 +0000 (06:02 -0000)]
* Repeater.cs: Always set alternating items to the AlternatingItem
type, when instantiating alternating items use the itemTemplate if
the alternatingItem template is null. This matches MS behavoir and
fixes bug #50157.
svn path=/trunk/mcs/; revision=19610
Jackson Harper [Tue, 4 Nov 2003 05:44:03 +0000 (05:44 -0000)]
* DataGridPagerStyle.cs: Name of view state attribute is
PagerVisible not Visible. Call owner.OnPagerChanged when the pager
visibility is changed. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19609
Jackson Harper [Tue, 4 Nov 2003 05:43:30 +0000 (05:43 -0000)]
* DataGridPagerStyle.cs: Name of view state attribute is
PagerVisible not Visible. Call owner.OnPagerChanged when the pager
visibility is changed. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19608
Jackson Harper [Tue, 4 Nov 2003 05:22:38 +0000 (05:22 -0000)]
* RepeatInfo.cs: When doing horizontal rendering use the repeat
columns as the number of columns in a row. This fixes bug
#49016.
svn path=/trunk/mcs/; revision=19607
Lluis Sanchez [Tue, 4 Nov 2003 00:25:33 +0000 (00:25 -0000)]
* AppDomain.cs: Added some null checks in Load methods. This fixes bug
#50356.
svn path=/trunk/mcs/; revision=19606
Jackson Harper [Mon, 3 Nov 2003 23:34:55 +0000 (23:34 -0000)]
* PagedDataSource.cs (PageCount): Return page count of 1 if there
paging is disabled. Patch by Yaron Shkop.
* PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
* TableStyle.cs (AddAttributesToRender): Render border style
collapse. Patch by Yaron Shkop.
* TableStyle.cs:
* TableItemStyle.cs:
* DataGridPagerStyle.cs: Call base copy and merge even if style is of
the wrong type. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19605
Duncan Mak [Mon, 3 Nov 2003 23:14:20 +0000 (23:14 -0000)]
Executive summary:
Reformated the code to follow GTK+ style C; renamed
types to reflect the names used in the Flat API reference. Added
implementions for Ellipses, Lines, Polygons and what not.
2003-11-01 Duncan Mak <duncan@ximian.com>
* matrix.c
(GdipCreateMatrix, GdipCreateMatrix2, GdipCloneMatrix):
(GdipDeleteMatrix, GdipInvertMatrix): Implemented; the rest of the
functions are stubbed out.
* gdip_defs.h (GpMatrixOrder): Added.
* gdip_main.h
(GpRect, GpRectF): Synonyms for Rect and RectF.
(GpMatrix): An alias of cairo_matrix_t.
* Makefile: Added matrix.c.
2003-10-28 Duncan Mak <duncan@ximian.com>
* Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
(FillEllipse, FillPolygon): implemented.
(RenderingOrigin): implemented.
* gdipFunctions.cs: Added new GDI+ equivalents.
2003-10-28 Duncan Mak <duncan@ximian.com>
* gdip_main.h, gdip_def.h:
Renamed all gdip_foo_ptr types are now GpFoo *.
Renamed Status to GpStatus.
Reformatted all C++ style comments to C style comments.
Reformatted all C function prototypes to the style used by GTK+.
* gdip_main.h (GpPoint, GpPointF): Added.
* gdip_defs.h (GpFillMode): Added.
* graphics.c (make_ellipse):
(make_polygon, make_polygon_from_integers):
(make_pie): private functions (make_foo) to be reused by DrawFoo
and FillFoo.
(convert_fill_mode): Converts a GpFillMode to a cairo_fill_rule_t.
(GdipDrawPie, GdipFillEllipse, GdipFillPolygon): Implemented.
2003-10-26 Duncan Mak <duncan@ximian.com>
* graphics.c
(GdipSetRenderingOrigin, GdipGetRenderingOrigin): Implemented.
2003-10-25 Duncan Mak <duncan@ximian.com>
* graphics.c
(GdipDrawBezier, GdipDrawBezierI):
(GdipDrawBeziers, GdipDrawBeziersI):
(GdipDrawLine, GdipDrawLineI):
(GdipDrawLines, GdipDrawLinesI): implemented.
(GdipFillRectangle):
(GdipDrawString): Make use of gdip_get_status.
* general.c
(gdip_get_status): A new function for retrieving a Status from a
cairo_t.
svn path=/trunk/mcs/; revision=19604
Gonzalo Paniagua Javier [Mon, 3 Nov 2003 23:04:04 +0000 (23:04 -0000)]
2003-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.c: notify listener on async processing handles after
invoking the async callback. Thanks to Zoltan.
svn path=/trunk/mono/; revision=19603
Jackson Harper [Mon, 3 Nov 2003 22:47:31 +0000 (22:47 -0000)]
* HttpSessionState.cs (CopyTo): Copy values not keys. Patch by
Yaron Shkop.
svn path=/trunk/mcs/; revision=19602
Jackson Harper [Mon, 3 Nov 2003 22:45:20 +0000 (22:45 -0000)]
* HttpResponse.cs (ContentEncoding): Throw
ArgumentNullException. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19601
Lluis Sanchez [Mon, 3 Nov 2003 21:36:23 +0000 (21:36 -0000)]
* SortedList.cs: Added [Serializable] to Slot class. This fixes bug #50484.
svn path=/trunk/mcs/; revision=19599
Lluis Sanchez [Mon, 3 Nov 2003 21:23:48 +0000 (21:23 -0000)]
* XmlCustomFormatter.cs: Added support for anyUri type. This fixes
bug #50041.
svn path=/trunk/mcs/; revision=19598
Jackson Harper [Mon, 3 Nov 2003 21:11:40 +0000 (21:11 -0000)]
* System.Web.dll.sources: Add SessionSQLServerHandler.cs
* makefile: Reference System.Data.dll
svn path=/trunk/mcs/; revision=19597
Jackson Harper [Mon, 3 Nov 2003 21:08:59 +0000 (21:08 -0000)]
* HttpSessionState.cs: Make the SessionDictionary accessable
* ISessionHandler.cs: Add method to update the session state
data in the handler. Pass the session config to handlers when
initializing.
* SessionConfig.cs: Add StateNetworkTimeout
* SessionInProcHandler.cs: Updates because interface has
changed, all functionality is the same.
* SessionStateModule.cs: Get new config items, allow SQLServer
session manager type. Update session handlers when the session
state has been released.
* SessionStateSectionHandler.cs: Add StateNetworkTimeout
* SessionSQLServerHandler.cs: New class allows sessions to be
stored in a database.
svn path=/trunk/mcs/; revision=19596
Zoltan Varga [Mon, 3 Nov 2003 21:07:31 +0000 (21:07 -0000)]
2003-11-03 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (create_dynamic_mono_image): Call mono_image_init to
avoid code duplication.
svn path=/trunk/mono/; revision=19595
Zoltan Varga [Mon, 3 Nov 2003 21:03:15 +0000 (21:03 -0000)]
2003-11-03 Zoltan Varga <vargaz@freemail.hu>
* TypeBuilder.cs (DefineDefaultConstructor): Pass an array instead of
null to DefineConstructor, to avoid NullReferenceExceptions in the
binder code.
svn path=/trunk/mcs/; revision=19594
Zoltan Varga [Mon, 3 Nov 2003 20:55:02 +0000 (20:55 -0000)]
2003-11-03 Zoltan Varga <vargaz@freemail.hu>
* reflection.h (MonoDynamicImage): New type which is currently unused,
but will be used through the ref.emit code in place of
MonoDynamicAssembly.
* reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
object layout.
* reflection.c (create_dynamic_mono_image): Rewrote so it now creates
a MonoDynamicImage instead of just a MonoImage.
* reflection.h reflection.c icall.c: Move nearly all AssemblyBuilder
icalls to ModuleBuilder but keep their semantics, so they will work
with moduleb->assemblyb. This will change later.
svn path=/trunk/mono/; revision=19593
Zoltan Varga [Mon, 3 Nov 2003 20:47:00 +0000 (20:47 -0000)]
2003-11-03 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs ModuleBuilder.cs ILGenerator.cs: Move getUSIndex
and getToken methods, and the associated icalls to ModuleBuilder,
since tokens are per-module.
* AssemblyBuilder.cs ModuleBuilder.cs: Partially revert the previous
patch, since having the 'is_main' field is useful in the unmanaged
code.
* AssemblyBuilder.cs ModuleBuilder.cs: Move the metadata creation and
file creation logic to ModuleBuilder:Save (), since this needs to be
done for every module. Also move the corresponding icalls to
ModuleBuilder.
svn path=/trunk/mcs/; revision=19592
Jackson Harper [Mon, 3 Nov 2003 20:44:36 +0000 (20:44 -0000)]
* BoundColumn.cs: Render readonly columns. Patch by Mohammad
DAMT.
svn path=/trunk/mcs/; revision=19591
César Natarén [Mon, 3 Nov 2003 17:10:46 +0000 (17:10 -0000)]
updates from grammar changes
svn path=/trunk/mcs/; revision=19590
Martin Baulig [Mon, 3 Nov 2003 17:08:54 +0000 (17:08 -0000)]
2003-11-03 Martin Baulig <martin@ximian.com>
* reflection.c (mono_reflection_inflate_method_or_ctor): Set
`ginst->klass' here.
(method_encode_methodspec): Don't use the `ginst->generic_method's
klass if it's a generic instance, use `ginst->klass' in this case.
svn path=/trunk/mono/; revision=19589
César Natarén [Mon, 3 Nov 2003 17:08:38 +0000 (17:08 -0000)]
ChangeLog entries.
svn path=/trunk/mcs/; revision=19588
César Natarén [Mon, 3 Nov 2003 17:05:02 +0000 (17:05 -0000)]
* jscript-lexer-parser.g: Added parsing support for formal
parameters type annotations. Build FormalParameterList accordingly.
svn path=/trunk/mcs/; revision=19587
César Natarén [Mon, 3 Nov 2003 17:03:27 +0000 (17:03 -0000)]
* SymbolTable.cs: Added Add method that receives the id and the
function declaration class. Retrieve changed to return an AST. Added
ToString method.
svn path=/trunk/mcs/; revision=19586
César Natarén [Mon, 3 Nov 2003 17:01:58 +0000 (17:01 -0000)]
* Statement.cs: Deleted Statement class (it was being used for
nothing). All classes that were having Statement as parent,
changed their parent to be AST.
svn path=/trunk/mcs/; revision=19585
César Natarén [Mon, 3 Nov 2003 17:01:06 +0000 (17:01 -0000)]
* SemanticAnalizer.cs: Fixed the file name (maybe I should erase it
and add it again with the correct name). Not based on the Visitor
pattern anymore. Deleted all the VisitFOO methods. Added a
IdentificationTable field. Added Run, Dump methods.
svn path=/trunk/mcs/; revision=19584
César Natarén [Mon, 3 Nov 2003 16:58:12 +0000 (16:58 -0000)]
* IdentificationTable.cs: Added ToString method. Retrieve now returns an AST not a VariableDeclaration.
svn path=/trunk/mcs/; revision=19583
César Natarén [Mon, 3 Nov 2003 16:56:18 +0000 (16:56 -0000)]
* FunctionObject.cs: Added MethodAttributes and type_annot
fields. Added params_types function, which returns an array of
types from each of the function's parameters.
svn path=/trunk/mcs/; revision=19582
César Natarén [Mon, 3 Nov 2003 16:54:59 +0000 (16:54 -0000)]
* FormalParameterList.cs: Added FormalParam class. Change Add method to receive the id and the type annotation from function's parameters.
svn path=/trunk/mcs/; revision=19581
César Natarén [Mon, 3 Nov 2003 16:52:32 +0000 (16:52 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=19580
César Natarén [Mon, 3 Nov 2003 16:49:17 +0000 (16:49 -0000)]
2003-11-03 <cesar@ciencias.unam.mx>
* Microsoft.JScript.dll.sources: Added IdentificationTable.cs,
SemanticAnalizer.cs and SymbolTable.cs to the build.
svn path=/trunk/mcs/; revision=19579
César Natarén [Mon, 3 Nov 2003 16:43:13 +0000 (16:43 -0000)]
2003-11-03 cesar lopez nataren <cesar@ciencias.unam.mx>
* ASTList.cs, ArrayLiteral.cs, BitwiseBinary.cs, Blocks.cs,
DebugBreak.cs, Enum.cs, Equality.cs, Eval.cs, ForIn.cs,
FunctionDeclaration.cs, FunctionExpression.cs, Import.cs,
InstanceOf.cs, Literal.cs, NumericBinary.cs, NumericUnary.cs,
Package.cs, Plus.cs, PostOrPrefixOperator.cs, Print.cs,
Relational.cs, ScriptBlock.cs, StrictEquality.cs, Throw.cs,
Try.cs, TypeOf.cs, VariableDeclaration.cs, VariableStatement.cs,
With.cs, expression.cs : Added
'Resolve' method stub.
svn path=/trunk/mcs/; revision=19578
Zoltan Varga [Mon, 3 Nov 2003 15:15:12 +0000 (15:15 -0000)]
2003-11-03 Zoltan Varga <vargaz@freemail.hu>
* reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
object layout.
* reflection.c (mono_image_build_metadata): Avoid creation of a default
main module, since it is now done by the managed code.
svn path=/trunk/mono/; revision=19575
Zoltan Varga [Mon, 3 Nov 2003 15:11:25 +0000 (15:11 -0000)]
2003-11-03 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs ModuleBuilder.cs: First steps toward a fix for
#48700 (proper module support in Ref.Emit). Remove is_main field from
ModuleBuilder and add a mainModule field to AssemblyBuilder instead.
This is neccesary, since the main module is determined during the
Save () call: the module with the same file name as the assembly is
the main module. Also create a default main module, if one is not
existing.
svn path=/trunk/mcs/; revision=19574
Martin Baulig [Mon, 3 Nov 2003 14:08:34 +0000 (14:08 -0000)]
2003-11-03 Martin Baulig <martin@ximian.com>
* reflection.c (mono_image_get_generic_method_param_info):
Removed, use mono_image_get_generic_param_info() instead.
(mono_image_get_type_info): Write the GenericParam table before
the Method table. This is neccessary because in the GenericParam
table, type parameters of the class (ie. '!0' etc.) must come
before the ones from its generic methods (ie. '!!0' etc).
svn path=/trunk/mono/; revision=19573