Zoltan Varga [Mon, 4 May 2009 05:56:28 +0000 (05:56 -0000)]
2009-05-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Resurrect static linking support. Kill the
half-finished no-dlsym code.
svn path=/trunk/mono/; revision=133467
Zoltan Varga [Mon, 4 May 2009 05:07:31 +0000 (05:07 -0000)]
2009-05-04 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (load_method): Kill the old and bit-rotten use_loaded_code
option.
svn path=/trunk/mono/; revision=133464
Zoltan Varga [Mon, 4 May 2009 05:04:04 +0000 (05:04 -0000)]
2009-05-04 Zoltan Varga <vargaz@gmail.com>
* mini-<ARCH>.h mini-trampolines.c aot-runtime.c: Kill the
MONO_ARCH_HAVE_CREATE_TRAMPOLINE_FROM_TOKEN define.
svn path=/trunk/mono/; revision=133463
Gonzalo Paniagua Javier [Mon, 4 May 2009 03:40:01 +0000 (03:40 -0000)]
2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TermInfoDriver.cs: replace Peek with DataAvailable.
svn path=/trunk/mcs/; revision=133461
Gonzalo Paniagua Javier [Mon, 4 May 2009 03:14:29 +0000 (03:14 -0000)]
2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Ping.cs: we just need the address(es), not a host entry. This avoids
querying the DNS server(s) when the target is an IP address.
svn path=/trunk/mcs/; revision=133459
Carlos Alberto Cortez [Sun, 3 May 2009 18:16:53 +0000 (18:16 -0000)]
2009-05-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MonthCalendar.cs: In SetBoundsCore always do the bounds check to
have valid values, even if BoundSpecified is not including
Size/Height/Width - this is useful when we are in a control using Dock
or Anchor.
Fixes part of #483146.
svn path=/trunk/mcs/; revision=133441
Miguel de Icaza [Sun, 3 May 2009 18:03:02 +0000 (18:03 -0000)]
Fix compiler build, make sure generated solutions include the actual HintPath so VS does not turn lib/basic/System.dll into GAC system.dll, so pass the entire relative path
svn path=/trunk/mono/; revision=133438
Miguel de Icaza [Sun, 3 May 2009 17:52:22 +0000 (17:52 -0000)]
Update to support the compiler buidl
svn path=/trunk/mono/; revision=133436
Miguel de Icaza [Sun, 3 May 2009 17:18:09 +0000 (17:18 -0000)]
Update
svn path=/trunk/mono/; revision=133435
Sebastien Pouliot [Sun, 3 May 2009 13:41:29 +0000 (13:41 -0000)]
2009-05-03 Sebastien Pouliot <sebastien@ximian.com>
* MethodInfoTest.cs: Add test cases from Joachim Ante for bug
#500385.
svn path=/trunk/mcs/; revision=133428
Martin Baulig [Sun, 3 May 2009 12:46:27 +0000 (12:46 -0000)]
2009-05-03 Martin Baulig <martin@ximian.com>
* debug-debugger.c (debugger_insert_source_breakpoint): Don't call
mono_debugger_insert_method_breakpoint() since the class init
handler we're inserting at the top of the method already gives us
a notification.
svn path=/trunk/mono/; revision=133425
Atsushi Eno [Sat, 2 May 2009 19:55:48 +0000 (19:55 -0000)]
2009-05-02 Atsushi Enomoto <atsushi@ximian.com>
* CredentialCache.cs : implement all not-implemented methods.
Patch by Mineda Nozomi. Close bug #499556.
* CredentialCacheTest.cs : new tests for get/add/remove.
Patch by Mineda Nozomi.
svn path=/trunk/mcs/; revision=133400
Miguel de Icaza [Sat, 2 May 2009 17:40:29 +0000 (17:40 -0000)]
The support
svn path=/trunk/mcs/; revision=133397
Miguel de Icaza [Sat, 2 May 2009 17:39:36 +0000 (17:39 -0000)]
Support the compiler
svn path=/trunk/mono/; revision=133396
Miguel de Icaza [Sat, 2 May 2009 17:26:59 +0000 (17:26 -0000)]
For MCS, override csproj-local to report the right compiler
svn path=/trunk/mcs/; revision=133395
Miguel de Icaza [Sat, 2 May 2009 16:05:58 +0000 (16:05 -0000)]
Forgot to commit this
svn path=/trunk/mono/; revision=133391
Miguel de Icaza [Sat, 2 May 2009 15:30:28 +0000 (15:30 -0000)]
This now builds System.Xml-basic
svn path=/trunk/mono/; revision=133390
Zoltan Varga [Sat, 2 May 2009 14:55:29 +0000 (14:55 -0000)]
2009-05-02 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_get_static_rgctx_trampoline): Increase the
buffer length to work with AOT code.
svn path=/trunk/mono/; revision=133387
Sebastien Pouliot [Sat, 2 May 2009 14:22:17 +0000 (14:22 -0000)]
In System.Security:
2009-05-02 Sebastien Pouliot <sebastien@ximian.com>
* CodeAccessPermission.cs (ThrowSecurityException): Don't include
CAS-specific information when throwing a SecurityException in
NET_2_1
In System:
2009-05-02 Sebastien Pouliot <sebastien@ximian.com>
* Console.cs: Remove Windows-specific p/invokes and SSC code
from the NET_2_1 build.
In System.Security.Cryptography.X509Certificates:
2009-05-02 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate.cs: Remove code to initialize from an handle
in NET_2_1 since this is only possible from Windows and would be
SC anyway.
In System.Reflection:
2009-05-02 Sebastien Pouliot <sebastien@ximian.com>
* Assembly.cs: Exclude CAS-specific code for NET_2_1
svn path=/trunk/mcs/; revision=133384
Zoltan Varga [Sat, 2 May 2009 13:59:16 +0000 (13:59 -0000)]
2009-05-02 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Handle loading errors in the
ldfld/stfld opcodes.
svn path=/trunk/mono/; revision=133382
Miguel de Icaza [Sat, 2 May 2009 06:36:24 +0000 (06:36 -0000)]
Try this
svn path=/trunk/mono/; revision=133378
Miguel de Icaza [Sat, 2 May 2009 06:30:13 +0000 (06:30 -0000)]
Buidl jay as well
svn path=/trunk/mono/; revision=133377
Miguel de Icaza [Sat, 2 May 2009 06:21:46 +0000 (06:21 -0000)]
Further tuneups
svn path=/trunk/mono/; revision=133376
Miguel de Icaza [Sat, 2 May 2009 06:10:44 +0000 (06:10 -0000)]
Update
svn path=/trunk/mono/; revision=133375
Miguel de Icaza [Sat, 2 May 2009 06:08:19 +0000 (06:08 -0000)]
fix
svn path=/trunk/mono/; revision=133374
Miguel de Icaza [Sat, 2 May 2009 06:05:19 +0000 (06:05 -0000)]
More generated files
svn path=/trunk/mono/; revision=133373
Miguel de Icaza [Sat, 2 May 2009 05:56:10 +0000 (05:56 -0000)]
Use new define: TARGET_X86 on VS as well
svn path=/trunk/mono/; revision=133372
Miguel de Icaza [Sat, 2 May 2009 05:53:35 +0000 (05:53 -0000)]
Better debug
svn path=/trunk/mono/; revision=133371
Miguel de Icaza [Sat, 2 May 2009 05:53:05 +0000 (05:53 -0000)]
Update
svn path=/trunk/mono/; revision=133370
Miguel de Icaza [Sat, 2 May 2009 05:30:59 +0000 (05:30 -0000)]
Move dead code
svn path=/trunk/mcs/; revision=133369
Veerapuram Varadhan [Sat, 2 May 2009 05:25:09 +0000 (05:25 -0000)]
ChangeLog conflict changes
svn path=/trunk/mcs/; revision=133368
Veerapuram Varadhan [Sat, 2 May 2009 05:24:42 +0000 (05:24 -0000)]
2009-04-19 Veerapuram Varadhan <vvaradhan@novell.com>
* Tds.cs (InitExec): Move initialization of state variables here. Useful
in case of asynchronous queries.
svn path=/trunk/mcs/; revision=133367
Veerapuram Varadhan [Sat, 2 May 2009 05:24:19 +0000 (05:24 -0000)]
2009-04-16 Veerapuram Varadhan <vvaradhan@novell.com>
* Tds.cs (ExecuteQuery): Reset all the variables related to LoadData when
performing queries with SequentialAccess set to true. Fixes incorrect
handling of data retrieval when consecutive queries are run with
SequentialAccess set to true.
svn path=/trunk/mcs/; revision=133366
Veerapuram Varadhan [Sat, 2 May 2009 05:23:52 +0000 (05:23 -0000)]
2009-04-14 Veerapuram Varadhan <vvaradhan@novell.com>
* Tds.cs (ExecuteQuery): Reset SequentialAccess read state variables
in order to avoid blocking forever when two consecutive queries are
executed with SequetialAccess set to true.
svn path=/trunk/mcs/; revision=133365
Miguel de Icaza [Sat, 2 May 2009 05:04:38 +0000 (05:04 -0000)]
Add prebuild commands
svn path=/trunk/mono/; revision=133364
Miguel de Icaza [Sat, 2 May 2009 00:43:09 +0000 (00:43 -0000)]
First two assemblies, will probably autogenerate this later
svn path=/trunk/mono/; revision=133347
Miguel de Icaza [Sat, 2 May 2009 00:42:51 +0000 (00:42 -0000)]
update
svn path=/trunk/mono/; revision=133346
Miguel de Icaza [Sat, 2 May 2009 00:42:15 +0000 (00:42 -0000)]
Fix some paths
svn path=/trunk/mono/; revision=133345
Miguel de Icaza [Fri, 1 May 2009 23:10:05 +0000 (23:10 -0000)]
Up
svn path=/trunk/mono/; revision=133342
Miguel de Icaza [Fri, 1 May 2009 23:04:11 +0000 (23:04 -0000)]
Upgrade to 2008
svn path=/trunk/mono/; revision=133341
Miguel de Icaza [Fri, 1 May 2009 22:58:15 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133340
Miguel de Icaza [Fri, 1 May 2009 22:58:14 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133339
Miguel de Icaza [Fri, 1 May 2009 22:58:14 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133338
Miguel de Icaza [Fri, 1 May 2009 22:58:13 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133337
Miguel de Icaza [Fri, 1 May 2009 22:58:12 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133336
Miguel de Icaza [Fri, 1 May 2009 22:58:11 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133335
Miguel de Icaza [Fri, 1 May 2009 22:58:11 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133334
Miguel de Icaza [Fri, 1 May 2009 22:58:10 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133333
Miguel de Icaza [Fri, 1 May 2009 22:58:09 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133332
Miguel de Icaza [Fri, 1 May 2009 22:58:08 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133331
Miguel de Icaza [Fri, 1 May 2009 22:58:07 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133330
Miguel de Icaza [Fri, 1 May 2009 22:58:07 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133329
Miguel de Icaza [Fri, 1 May 2009 22:58:06 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133328
Miguel de Icaza [Fri, 1 May 2009 22:58:05 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133327
Miguel de Icaza [Fri, 1 May 2009 22:58:04 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133326
Miguel de Icaza [Fri, 1 May 2009 22:58:04 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133325
Miguel de Icaza [Fri, 1 May 2009 22:58:03 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133324
Miguel de Icaza [Fri, 1 May 2009 22:58:02 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133323
Miguel de Icaza [Fri, 1 May 2009 22:58:01 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133322
Miguel de Icaza [Fri, 1 May 2009 22:58:01 +0000 (22:58 -0000)]
Copy
svn path=/trunk/mono/; revision=133321
Miguel de Icaza [Fri, 1 May 2009 22:57:59 +0000 (22:57 -0000)]
Copy
svn path=/trunk/mono/; revision=133320
Miguel de Icaza [Fri, 1 May 2009 22:57:59 +0000 (22:57 -0000)]
Copy
svn path=/trunk/mono/; revision=133319
Miguel de Icaza [Fri, 1 May 2009 22:57:58 +0000 (22:57 -0000)]
Copy
svn path=/trunk/mono/; revision=133318
Miguel de Icaza [Fri, 1 May 2009 22:57:57 +0000 (22:57 -0000)]
Copy
svn path=/trunk/mono/; revision=133317
Miguel de Icaza [Fri, 1 May 2009 22:57:56 +0000 (22:57 -0000)]
Copy
svn path=/trunk/mono/; revision=133316
Miguel de Icaza [Fri, 1 May 2009 22:57:56 +0000 (22:57 -0000)]
Copy
svn path=/trunk/mono/; revision=133315
Miguel de Icaza [Fri, 1 May 2009 22:57:55 +0000 (22:57 -0000)]
Copy
svn path=/trunk/mono/; revision=133314
Miguel de Icaza [Fri, 1 May 2009 22:57:54 +0000 (22:57 -0000)]
Copy
svn path=/trunk/mono/; revision=133313
Miguel de Icaza [Fri, 1 May 2009 22:57:53 +0000 (22:57 -0000)]
Copy
svn path=/trunk/mono/; revision=133312
Miguel de Icaza [Fri, 1 May 2009 22:57:52 +0000 (22:57 -0000)]
Copy
svn path=/trunk/mono/; revision=133311
Miguel de Icaza [Fri, 1 May 2009 22:57:52 +0000 (22:57 -0000)]
Copy
svn path=/trunk/mono/; revision=133310
Miguel de Icaza [Fri, 1 May 2009 22:53:43 +0000 (22:53 -0000)]
Remove *.input files, put everything in a single XML file
svn path=/trunk/mono/; revision=133305
Miguel de Icaza [Fri, 1 May 2009 22:49:34 +0000 (22:49 -0000)]
Remove .input files
svn path=/trunk/mono/; revision=133304
Zoltan Varga [Fri, 1 May 2009 22:41:07 +0000 (22:41 -0000)]
2009-05-01 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Use mono_pagesize () instead of the
PAGESIZE constant.
svn path=/trunk/mono/; revision=133302
Zoltan Varga [Fri, 1 May 2009 22:36:24 +0000 (22:36 -0000)]
2009-05-02 Zoltan Varga <vargaz@gmail.com>
* exceptions-x86.c (mono_arch_get_throw_exception_by_name): Simplify this
as it is not used.
svn path=/trunk/mono/; revision=133299
Sebastien Pouliot [Fri, 1 May 2009 22:24:03 +0000 (22:24 -0000)]
2009-05-01 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Don't include extra stuff into Moonlight (NET_2_1)
svn path=/trunk/mcs/; revision=133298
Zoltan Varga [Fri, 1 May 2009 22:18:49 +0000 (22:18 -0000)]
2009-05-02 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c mini-x86.c: Implement 32 bit and x86 support.
* ssa.c (mono_ssa_compute): Don't skip I8 values when using LLVM.
* mini-llvm-cpp.cpp (mono_llvm_create_ee): Update to the latest
LLVM API.
* mini.c (mini_method_compile): Set the from_llvm flag in MonoJitInfo
if needed. Don't decompose long operations when using llvm.
svn path=/trunk/mono/; revision=133297
Zoltan Varga [Fri, 1 May 2009 22:18:32 +0000 (22:18 -0000)]
2009-05-02 Zoltan Varga <vargaz@gmail.com>
* domain-internals.h (struct _MonoJitInfo): Add a 'from_llvm' flag.
svn path=/trunk/mono/; revision=133296
Jonathan Pryor [Fri, 1 May 2009 20:21:50 +0000 (20:21 -0000)]
* DiagnosticsConfigurationHandler.cs: Don't refer to TraceImpl member
while reading the .config file, instead cache the values and refer
to the cached values during initialization. This prevents recursive
initialization calls (Trace.OnInit() ... Trace.Listeners.Add() ...
Trace.OnInit() ...), and associated duplicate parsing of .config file
sections. Fixes bnc#499442.
* TraceImpl.cs: Cope with DiagnosticsConfigurationHandler changes.
* TraceListenerCollection.cs: Add internal
Add(TraceListener,TraceImplSettings) method for adding
TraceListeners during DiagnosticsConfigurationHandler initialization
(which can't access TraceImpl, as we may still be reading the
.config file to determine the TraceImpl values).
svn path=/trunk/mcs/; revision=133291
Sebastien Pouliot [Fri, 1 May 2009 19:43:33 +0000 (19:43 -0000)]
2009-05-01 Sebastien Pouliot <sebastien@ximian.com>
* SecurityCriticalAttribute.cs: Add simpler version NET_2_1
* SecuritySafeCriticalAttribute.cs: Remove MonoTODO for NET_2_1
* SecurityTransparentAttribute.cs: Remove MonoTODO for NET_2_1
svn path=/trunk/mcs/; revision=133286
Sebastien Pouliot [Fri, 1 May 2009 18:21:16 +0000 (18:21 -0000)]
2009-05-01 Sebastien Pouliot <sebastien@ximian.com>
* CodeAccessSecurityAttribute.cs, SecurityAction.cs,
SecurityAttribute.cs, SecurityPermissionAttribute.cs: Add [Obsolete]
on NET_2_1 since CAS stuff is not available in Moonlight. Note that
the types needs to be present because compiler insert them inside
assemblies.
svn path=/trunk/mcs/; revision=133279
Sebastien Pouliot [Fri, 1 May 2009 17:56:17 +0000 (17:56 -0000)]
corlib_test.dll.sources: Add unit tests for AppDomainManager and SecurityState
svn path=/trunk/mcs/; revision=133276
Sebastien Pouliot [Fri, 1 May 2009 17:54:52 +0000 (17:54 -0000)]
2009-05-01 Sebastien Pouliot <sebastien@ximian.com>
* SecurityStateTest.cs: New. Unit tests for IsStateAvailable
svn path=/trunk/mcs/; revision=133275
Sebastien Pouliot [Fri, 1 May 2009 17:53:16 +0000 (17:53 -0000)]
2009-05-01 Sebastien Pouliot <sebastien@ximian.com>
* AppDomainManagerTest.cs: New. Unit test for CheckSecuritySettings
svn path=/trunk/mcs/; revision=133274
Sebastien Pouliot [Fri, 1 May 2009 17:51:43 +0000 (17:51 -0000)]
SecurityState.cs: Implement IsStateAvailable (added in 2.0SP and part of SL API)
svn path=/trunk/mcs/; revision=133273
Sebastien Pouliot [Fri, 1 May 2009 17:49:30 +0000 (17:49 -0000)]
AppDomainManager.cs: Fix base class for NET_2_1 and implement CheckSecuritySettings (added in 2.0SP and part of SL API)
svn path=/trunk/mcs/; revision=133272
Zoltan Varga [Fri, 1 May 2009 14:29:57 +0000 (14:29 -0000)]
2009-05-01 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (load_aot_module): Get rid of another mprotect call.
svn path=/trunk/mono/; revision=133262
Mark Probst [Fri, 1 May 2009 14:01:55 +0000 (14:01 -0000)]
Don't set the domain in mono_gc_run_finalize() too late.
2009-05-01 Mark Probst <mark.probst@gmail.com>
* gc.c (mono_gc_run_finalize): Don't set the domain too late,
because mono_delegate_free_ftnptr() needs it.
svn path=/trunk/mono/; revision=133261
Gonzalo Paniagua Javier [Fri, 1 May 2009 04:28:28 +0000 (04:28 -0000)]
2009-05-01 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SqliteConnection.cs: implement Dispose for 2.0. It was leaking an fd
in using().
Bug #499864 fixed.
svn path=/trunk/mcs/; revision=133254
Gonzalo Paniagua Javier [Fri, 1 May 2009 03:28:42 +0000 (03:28 -0000)]
2009-04-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket.cs: return the last error if a connect to multiple addresses
fails.
svn path=/trunk/mcs/; revision=133252
Jonathan Chambers [Fri, 1 May 2009 01:31:30 +0000 (01:31 -0000)]
Fix typo.
svn path=/trunk/mono/; revision=133251
Miguel de Icaza [Fri, 1 May 2009 01:08:52 +0000 (01:08 -0000)]
Try this
svn path=/trunk/mono/; revision=133250
Miguel de Icaza [Fri, 1 May 2009 00:04:26 +0000 (00:04 -0000)]
Add support for reference aliases
svn path=/trunk/mono/; revision=133247
Jonathan Chambers [Thu, 30 Apr 2009 23:46:54 +0000 (23:46 -0000)]
Fix redirection of output.
svn path=/trunk/mono/; revision=133246
Miguel de Icaza [Thu, 30 Apr 2009 23:24:41 +0000 (23:24 -0000)]
More progress
svn path=/trunk/mono/; revision=133244
Rodrigo Kumpera [Thu, 30 Apr 2009 23:03:26 +0000 (23:03 -0000)]
2009-04-30 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for event map table.
* assembly-with-events.cs: New test file for producing tests
for cattr table.
* Makefile: Add new dependency.
svn path=/trunk/mono/; revision=133243
Rodrigo Kumpera [Thu, 30 Apr 2009 23:03:12 +0000 (23:03 -0000)]
2009-04-30 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the eventmap table.
svn path=/trunk/mono/; revision=133242
Rodrigo Kumpera [Thu, 30 Apr 2009 23:02:46 +0000 (23:02 -0000)]
2009-04-30 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for standalonesig table.
* assembly-with-complex-type.cs: Added more stuff for
field layout tests.
svn path=/trunk/mono/; revision=133241
Rodrigo Kumpera [Thu, 30 Apr 2009 23:02:27 +0000 (23:02 -0000)]
2009-04-30 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the standalonesig table.
svn path=/trunk/mono/; revision=133240
Rodrigo Kumpera [Thu, 30 Apr 2009 23:01:58 +0000 (23:01 -0000)]
2009-04-30 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for field layout table.
* assembly-with-complex-type.cs: Added more stuff for
field layout tests.
svn path=/trunk/mono/; revision=133239