Alp Toker [Wed, 23 Aug 2006 11:04:13 +0000 (11:04 -0000)]
2006-08-23 Alp Toker <alp@atoker.com>
* cilc.cs: Add more GInterface support, both defining and implementing
svn path=/trunk/mcs/; revision=64232
Igor Zelmanovich [Wed, 23 Aug 2006 09:11:39 +0000 (09:11 -0000)]
fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
refactoring: Name and Names properties has same source in bag.
svn path=/trunk/mcs/; revision=64230
Igor Zelmanovich [Wed, 23 Aug 2006 09:02:51 +0000 (09:02 -0000)]
restored r63894: for 1.x is refactoring only
svn path=/trunk/mcs/; revision=64229
Konstantin Triger [Wed, 23 Aug 2006 08:02:03 +0000 (08:02 -0000)]
* ConfigurationSettings.cs: remove CONFIGURATION_2_0 #if since NET_2_0
implies it.
svn path=/trunk/mcs/; revision=64228
Konstantin Triger [Wed, 23 Aug 2006 07:57:52 +0000 (07:57 -0000)]
* ServiceDescriptionReflector.cs: remove CONFIGURATION_2_0 #if since NET_2_0
implies it.
* ServiceDescription.cs: Added TARGET_JVM to workaround lack of TARGET_JVM
support for 'new T()' in generics.
svn path=/trunk/mcs/; revision=64227
Konstantin Triger [Wed, 23 Aug 2006 07:41:15 +0000 (07:41 -0000)]
* ConfigurationSection.cs: for net 1.1 SectionHandlers: return null in case
RawXml is null, as net 1.1 does.
svn path=/trunk/mcs/; revision=64226
Martin Baulig [Wed, 23 Aug 2006 02:04:41 +0000 (02:04 -0000)]
Patch #53.
svn path=/trunk/mcs/; revision=64225
Martin Baulig [Wed, 23 Aug 2006 02:04:27 +0000 (02:04 -0000)]
Patch #52.
svn path=/trunk/mcs/; revision=64224
Martin Baulig [Wed, 23 Aug 2006 02:04:12 +0000 (02:04 -0000)]
Patch #51.
svn path=/trunk/mcs/; revision=64223
Martin Baulig [Wed, 23 Aug 2006 02:03:59 +0000 (02:03 -0000)]
Patch #50.
svn path=/trunk/mcs/; revision=64222
Sebastien Pouliot [Wed, 23 Aug 2006 02:03:14 +0000 (02:03 -0000)]
2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
* StringTest.cs: Add a missing test case and split some existing (to
use nunit2 syntax).
svn path=/trunk/mcs/; revision=64221
Sebastien Pouliot [Wed, 23 Aug 2006 02:03:01 +0000 (02:03 -0000)]
2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
* string-icalls.c: Add shortcut in ves_icall_System_String_ctor_charp
when value is NULL (and should remove CID #51).
svn path=/trunk/mono/; revision=64220
Miguel de Icaza [Tue, 22 Aug 2006 23:52:33 +0000 (23:52 -0000)]
2006-08-22 Miguel de Icaza <miguel@novell.com>
* MethodImplOptions.cs, MethodCodeType.cs, LoadHint.cs,
CompilationRelaxations.cs: Add serializable.
svn path=/trunk/mcs/; revision=64219
Miguel de Icaza [Tue, 22 Aug 2006 23:52:17 +0000 (23:52 -0000)]
2006-08-22 Miguel de Icaza <miguel@novell.com>
* MulticastDelegate.cs: Make DynamicInvokeImpl internal in 2.0
* Converter.cs: update signature to final.
* ModuleHandle.cs: Removed the [Obsolete] flags as they removed
those in the final 2.0
* DateTime.cs: Fixed the signature.
* Convert.cs: Removed API calls that were deprecated in final 2.0
* Enum.cs: Updated to use the obsoletes flagged in 2.0.
* ConsoleCancelEventArgs.cs: Updated to 2.0
svn path=/trunk/mcs/; revision=64218
Miguel de Icaza [Tue, 22 Aug 2006 23:51:19 +0000 (23:51 -0000)]
2006-08-16 Miguel de Icaza <miguel@novell.com>
* Hashtable.cs (PutImpl): Do not access the table twice, only
once.
(TestPrime): optimize, take the sqrt out of the loop.
svn path=/trunk/mcs/; revision=64217
Miguel de Icaza [Tue, 22 Aug 2006 21:59:41 +0000 (21:59 -0000)]
Add a test case for bug #79125
svn path=/trunk/mono/; revision=64213
Sebastien Pouliot [Tue, 22 Aug 2006 20:37:50 +0000 (20:37 -0000)]
2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.cs: Fix GdipGetImageWidth to use an uint for it's
width out parameter.
* Image.cs: Cast the uint into an int for the Width property.
svn path=/trunk/mcs/; revision=64211
Jackson Harper [Tue, 22 Aug 2006 20:14:00 +0000 (20:14 -0000)]
- Use the original clip rectangle for checking if the area
between
the two scrollbars is visible, not the viewport adjusted
clipping
rectangle.
svn path=/trunk/mcs/; revision=64209
Jackson Harper [Tue, 22 Aug 2006 20:01:58 +0000 (20:01 -0000)]
* TreeView.cs: Make sure both scrollbars get displayed and sized
correctly when the other bar is visible.
svn path=/trunk/mcs/; revision=64208
Jackson Harper [Tue, 22 Aug 2006 18:34:28 +0000 (18:34 -0000)]
* Binding.cs: We don't use IsBinding because it requires the
control to be created, which really shouldn't be necessary just
to
set a property on the control.
svn path=/trunk/mcs/; revision=64204
Gonzalo Paniagua Javier [Tue, 22 Aug 2006 18:32:04 +0000 (18:32 -0000)]
svn path=/trunk/mono/; revision=64203
Gonzalo Paniagua Javier [Tue, 22 Aug 2006 18:31:19 +0000 (18:31 -0000)]
svn path=/trunk/mono/; revision=64202
Gonzalo Paniagua Javier [Tue, 22 Aug 2006 18:25:28 +0000 (18:25 -0000)]
2006-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* image.c: moved 2 functions to ../utils.
svn path=/trunk/mono/; revision=64201
Gonzalo Paniagua Javier [Tue, 22 Aug 2006 18:24:17 +0000 (18:24 -0000)]
2006-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Makefile.am:
* mono-path.[ch]: new files with functions to handle/resolve paths.
svn path=/trunk/mono/; revision=64200
Sebastien Pouliot [Tue, 22 Aug 2006 15:34:56 +0000 (15:34 -0000)]
2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
* DateTimeTest.cs: Split the X509Certificate test in two - so the 'Z'
literal case can be marked as NotWorking under 2.0 (anyway this doesn't
affect X.509 certificate parsing).
svn path=/trunk/mcs/; revision=64196
Miguel de Icaza [Tue, 22 Aug 2006 15:33:42 +0000 (15:33 -0000)]
Add class used by VB
svn path=/trunk/mcs/; revision=64195
Igor Zelmanovich [Tue, 22 Aug 2006 15:28:55 +0000 (15:28 -0000)]
fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
added ClearDefaults method for 2.0.
svn path=/trunk/mcs/; revision=64194
Martin Baulig [Tue, 22 Aug 2006 15:19:52 +0000 (15:19 -0000)]
Patch #49.
svn path=/trunk/mcs/; revision=64193
Paolo Molaro [Tue, 22 Aug 2006 15:18:01 +0000 (15:18 -0000)]
Tue Aug 22 17:16:53 CEST 2006 Paolo Molaro <lupus@ximian.com>
* Makefile.am: link to libgmodule (patch by Alexander Larsson
alexl@redhat.com).
svn path=/trunk/mono/; revision=64192
Vladimir Krasnov [Tue, 22 Aug 2006 14:58:50 +0000 (14:58 -0000)]
* System.Web20.vmwcsproj: added AssemblyInfo.cs
svn path=/trunk/mcs/; revision=64191
Paolo Molaro [Tue, 22 Aug 2006 13:54:44 +0000 (13:54 -0000)]
Tue Aug 22 15:53:29 CEST 2006 Paolo Molaro <lupus@ximian.com>
* gc.c: cope with the target object of a GC handle being NULL
(bug #78877).
svn path=/trunk/mono/; revision=64190
Vladimir Krasnov [Tue, 22 Aug 2006 13:01:15 +0000 (13:01 -0000)]
* ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value should be false
svn path=/trunk/mcs/; revision=64189
Sebastien Pouliot [Tue, 22 Aug 2006 12:47:35 +0000 (12:47 -0000)]
TypeTest.cs: Fix the unit tests build (for 2.0) so that monobuild can run them (both profiles).
svn path=/trunk/mcs/; revision=64187
Vladimir Krasnov [Tue, 22 Aug 2006 12:18:22 +0000 (12:18 -0000)]
* Control.cs: implemented AppRelativeTemplateSourceDirectory for aspx parser 2.0
* TemplateControl.jvm.cs: fixed AppRelativeVirtualPath
fixed TemplateSourceDirectory, should not work on master pages.
svn path=/trunk/mcs/; revision=64186
Konstantin Triger [Tue, 22 Aug 2006 10:49:31 +0000 (10:49 -0000)]
add JAVA define
svn path=/trunk/mcs/; revision=64184
Paolo Molaro [Tue, 22 Aug 2006 09:12:09 +0000 (09:12 -0000)]
Tue Aug 22 11:10:33 CEST 2006 Paolo Molaro <lupus@ximian.com>
* class.c: recursively check parent's explicit implementations
of interface methods (fixes bug #79125).
svn path=/trunk/mono/; revision=64181
Igor Zelmanovich [Tue, 22 Aug 2006 08:46:05 +0000 (08:46 -0000)]
Fixed: Unit.ToString() already include unit (e.g. "3px")
svn path=/trunk/mcs/; revision=64180
Raja R Harinath [Tue, 22 Aug 2006 08:30:38 +0000 (08:30 -0000)]
* runtime/Makefile.am (mcs-compileall): Remove mention of Microsoft.VisualBasic.
svn path=/trunk/mono/; revision=64179
Miguel de Icaza [Tue, 22 Aug 2006 04:47:39 +0000 (04:47 -0000)]
Update the TODO
svn path=/trunk/mono/; revision=64178
Aaron Bockover [Tue, 22 Aug 2006 03:28:02 +0000 (03:28 -0000)]
Removed unnecessary free()
svn path=/trunk/mono/; revision=64177
Duncan Mak [Tue, 22 Aug 2006 00:44:11 +0000 (00:44 -0000)]
Add some missing frees. Somehow, test_queue_push and
svn path=/trunk/mono/; revision=64173
Duncan Mak [Mon, 21 Aug 2006 23:46:30 +0000 (23:46 -0000)]
I am the GQ(ueue) man.
2006-08-21 Duncan Mak <duncan@a-chinaman.com>
* src/gqueue.c: GQueue implementation.
* src/glib.h: Add prototypes.
* src/Makefile.am (libeglib_la_SOURCES): Include gqueue.c.
* test/queue.c:
* test/Makefile.am (SOURCES):
* test/tests.h (DEFINE_TEST_GROUP_INIT_H): add tests for GQueue.
svn path=/trunk/mono/; revision=64172
Gonzalo Paniagua Javier [Mon, 21 Aug 2006 23:34:02 +0000 (23:34 -0000)]
2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: handle the 'renamed' event too.
svn path=/trunk/mcs/; revision=64171
Gonzalo Paniagua Javier [Mon, 21 Aug 2006 23:32:38 +0000 (23:32 -0000)]
2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* InotifyWatcher.cs: handle CloseWrite, as it might happen without other
modify events.
svn path=/trunk/mcs/; revision=64170
Jonathan Pryor [Mon, 21 Aug 2006 22:58:20 +0000 (22:58 -0000)]
* UnixStream.cs: .Close() shouldn't close(2) the fd unless owner==true;
.Flush() should be a no-op (as System.IO.Stream.Flush doesn't gaurantee
that .Flush() actually flush to disk, and .Flush() slows things down a
lot); see: http://joeshaw.org/2006/08/21/415.
svn path=/trunk/mcs/; revision=64169
Aaron Bockover [Mon, 21 Aug 2006 22:22:50 +0000 (22:22 -0000)]
2006-08-21 Aaron Bockover <abockover@novell.com>
* src/gstr.c: fixed bug/invalid read/write on malloc-only case (no
realloc/delimiter token not found); use memcpy instead of strncpy for
better performance
* test/test.c (run_group): allow running specific tests under a group;
added copied g_strsplit/g_strfreev from EGlib source as eg_strsplit
and eg_strfreev to avoid performance skews in the driver
* test/driver.c: allow user-specified group name to contain specific
test to run under the group as 'group_name:test1,test2,...testN'
* test/string-util.c: Added more g_strsplit tests
* test/slist.c:
* test/ptrarray.c:
* test/fake.c:
* test/string.c:
* test/list.c:
* test/array.c:
* test/hashtable.c: make test names shorter (no need to prefix with
the group since it runs under the group)
svn path=/trunk/mono/; revision=64167
Carlos Alberto Cortez [Mon, 21 Aug 2006 18:58:32 +0000 (18:58 -0000)]
2006-08-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBoxTest.cs: Add tests for CB.ObjectCollection
methods throwing ArgumentNullException.
svn path=/trunk/mcs/; revision=64160
Carlos Alberto Cortez [Mon, 21 Aug 2006 18:57:40 +0000 (18:57 -0000)]
2006-08-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ComboBox.cs: Some CB.ObjectCollection methods must throw
ArgumentNullReferenceException when the argument is null.
svn path=/trunk/mcs/; revision=64159
Jackson Harper [Mon, 21 Aug 2006 16:40:49 +0000 (16:40 -0000)]
* Timer.cs: Track the thread that the timer is started in (NOT
CREATED), this way messages for it will only be triggered on its
queue.
* XEventQueue.cs: Track the timers here, this makes timers per
thread, like MS.
* XplatUIX11.cs: The timers are moved to the XEventQueue.
svn path=/trunk/mcs/; revision=64150
Andrew Skiba [Mon, 21 Aug 2006 15:35:33 +0000 (15:35 -0000)]
run NunitWeb on GH 2.0
svn path=/trunk/mcs/; revision=64149
Martin Baulig [Mon, 21 Aug 2006 15:25:13 +0000 (15:25 -0000)]
Patch #48.
svn path=/trunk/mcs/; revision=64148
Sebastien Pouliot [Mon, 21 Aug 2006 14:32:53 +0000 (14:32 -0000)]
2006-08-21 Sebastien Pouliot <sebastien@ximian.com>
* FileIOPermissionTest.cs: Added new test cases for union (#79118) and
subpath handling.
svn path=/trunk/mcs/; revision=64146
Sebastien Pouliot [Mon, 21 Aug 2006 14:31:04 +0000 (14:31 -0000)]
2006-08-21 Sebastien Pouliot <sebastien@ximian.com>
* FileIOPermission.cs: Fix union of paths (#79118). Implement subpaths
handling correctly. Change some internal methods to static.
svn path=/trunk/mcs/; revision=64145
Sebastien Pouliot [Mon, 21 Aug 2006 14:28:27 +0000 (14:28 -0000)]
2006-08-21 Sebastien Pouliot <sebastien@ximian.com>
* Path.cs: Added internal method IsPathSubsetOf required to implement
correctly FileIOPermission (better located here).
svn path=/trunk/mcs/; revision=64144
Andrew Skiba [Mon, 21 Aug 2006 13:51:22 +0000 (13:51 -0000)]
soap formatter compiles on GH 2.0
svn path=/trunk/mcs/; revision=64143
Boris Kirzner [Mon, 21 Aug 2006 13:28:10 +0000 (13:28 -0000)]
Batch fixes, solution and project files for NET_2_0 tests run.
svn path=/trunk/mcs/; revision=64142
Andrew Skiba [Mon, 21 Aug 2006 10:25:57 +0000 (10:25 -0000)]
fix run-mono-tests.bat for GH 2.0
svn path=/trunk/mcs/; revision=64136
Andrew Skiba [Mon, 21 Aug 2006 09:27:16 +0000 (09:27 -0000)]
add projects and batch files for GH 2.0 tests
svn path=/trunk/mcs/; revision=64132
Andrew Skiba [Mon, 21 Aug 2006 09:07:40 +0000 (09:07 -0000)]
change case to make 1.1 happy
svn path=/trunk/mcs/; revision=64131
Andrew Skiba [Mon, 21 Aug 2006 09:07:01 +0000 (09:07 -0000)]
add ref to Soap formatter
svn path=/trunk/mcs/; revision=64130
Boris Kirzner [Mon, 21 Aug 2006 07:15:04 +0000 (07:15 -0000)]
Fix batch file and tests code for NET_2_0 run. UTF-8 encoding for project file
svn path=/trunk/mcs/; revision=64129
Boris Kirzner [Mon, 21 Aug 2006 07:12:29 +0000 (07:12 -0000)]
Fix resources handling with msbuild trick. UTF-8 encoding for project file
svn path=/trunk/mcs/; revision=64128
Konstantin Triger [Mon, 21 Aug 2006 07:08:14 +0000 (07:08 -0000)]
TARGET_JVM: add msbuild project file
svn path=/trunk/mcs/; revision=64127
Konstantin Triger [Mon, 21 Aug 2006 07:00:53 +0000 (07:00 -0000)]
* ServiceDescriptionCollection.cs: refactoring for Add(), removing using of
ServiceDescriptionImporter for java profile as there is no support for
code generation.
svn path=/trunk/mcs/; revision=64126
Konstantin Triger [Mon, 21 Aug 2006 06:51:02 +0000 (06:51 -0000)]
use correct public documented API (SendOrPost calls Send internally)
svn path=/trunk/mcs/; revision=64125
Konstantin Triger [Mon, 21 Aug 2006 06:47:06 +0000 (06:47 -0000)]
Java profile does not support code generation
svn path=/trunk/mcs/; revision=64124
Miguel de Icaza [Mon, 21 Aug 2006 06:12:50 +0000 (06:12 -0000)]
Update TODO
svn path=/trunk/mono/; revision=64123
Miguel de Icaza [Mon, 21 Aug 2006 06:08:47 +0000 (06:08 -0000)]
Small comment
svn path=/trunk/mono/; revision=64122
Miguel de Icaza [Mon, 21 Aug 2006 05:55:48 +0000 (05:55 -0000)]
2006-08-21 Miguel de Icaza <miguel@novell.com>
* src/glib.h (g_hash_table_new_full): Add missing prototype.
Replace g_free(x) with plain free, so it can be used as a function
argument.
Add ABS
* src/ghashtable.c: Add rehashing.
* test/hashtable.c: Add a bunch of extra tests.
svn path=/trunk/mono/; revision=64121
Miguel de Icaza [Mon, 21 Aug 2006 05:11:02 +0000 (05:11 -0000)]
2006-08-21 Miguel de Icaza <miguel@novell.com>
* src/ghashtable.c (g_hash_table_new): The glib test suite
uncovered a bunch of bugs, the g_hash_table_new should actually
have parameters.
(g_hash_table_remove, g_hash_table_foreach_remove): Fixed bugs
uncovered.
* src/goutput.c: Fix g_log so it actually formats the data.
svn path=/trunk/mono/; revision=64120
Duncan Mak [Mon, 21 Aug 2006 04:15:35 +0000 (04:15 -0000)]
Implment g_list_insert_before.
svn path=/trunk/mono/; revision=64119
Aaron Bockover [Mon, 21 Aug 2006 00:00:00 +0000 (00:00 -0000)]
Updated
svn path=/trunk/mono/; revision=64118
Miguel de Icaza [Sun, 20 Aug 2006 21:13:50 +0000 (21:13 -0000)]
2006-08-20 Miguel de Icaza <miguel@novell.com>
* HttpListener2Test.cs: Add test case for bug #79112
Question: why in the response I do not get my `Miguel is love' message?
svn path=/trunk/mcs/; revision=64115
Miguel de Icaza [Sun, 20 Aug 2006 20:34:46 +0000 (20:34 -0000)]
2006-08-20 Miguel de Icaza <miguel@novell.com>
* RequestStream.cs (Read): A bug fix for #79112 and what I
consider to be an important change.
The bug fix is that we update the "available" variable as soon as
we consume data from Read, this means that a second call into Read
wont block. Available was only being updated on a secondary code
path, now we alwaysupdate it after using FillFromBuffer.
The second component is what I believe the right behavior should
be. There was a check for "if count > available" that set count
to available in that case. The idea was to limit the data read
from the buffer that belonged to this particular request, to allow
pipelining.
But this test was done after FillFromBuffer, which assumed that
all the data held in the buffer (the one used by FillFromBuffer)
must belong to the this request, and only future data did not.
I think my change is correct, but it assumes that the initialized
RequestStream will be used for other pipelined HTTP requests,
which is not something am 100% sure of, so Gonzalo needs to check
this.
svn path=/trunk/mcs/; revision=64114
Miguel de Icaza [Sun, 20 Aug 2006 17:59:08 +0000 (17:59 -0000)]
This is not supported now
svn path=/trunk/mcs/; revision=64112
Miguel de Icaza [Sun, 20 Aug 2006 17:41:34 +0000 (17:41 -0000)]
Man page updates
svn path=/trunk/mono/; revision=64111
Miguel de Icaza [Sun, 20 Aug 2006 17:32:31 +0000 (17:32 -0000)]
Fix formatting, per Gert's request
svn path=/trunk/mono/; revision=64110
Aaron Bockover [Sun, 20 Aug 2006 17:24:39 +0000 (17:24 -0000)]
2006-08-20 Aaron Bockover <abockover@novell.com>
* src/gmisc.c: added g_setenv, g_getenv, g_unsetenv
* src/gstr.c: added g_snprintf, g_sprintf, g_fprintf, g_printf
* src/glib.h: added macros for above va_args printf functions
* src/Makefile.am: added gmisc.c
* test/whats-implemented: script to see what needs to be implemented
svn path=/trunk/mono/; revision=64109
Chris Toshok [Sun, 20 Aug 2006 15:33:32 +0000 (15:33 -0000)]
* test/array.c (test_array_big): add a test from the glib
documentation.
2006-08-20 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mono/; revision=64107
Chris Toshok [Sun, 20 Aug 2006 15:30:31 +0000 (15:30 -0000)]
2006-08-20 Chris Toshok <toshok@ximian.com>
* test/tests.h: add array tests to the mix.
* test/array.c: a few array tests.
* src/glib.h: add array prototypes.
* src/garray.c: initial array foo.
* test/Makefile.am (SOURCES): add array.c
* src/Makefile.am (libeglib_la_SOURCES): add garray.c
svn path=/trunk/mono/; revision=64106
Vladimir Krasnov [Sun, 20 Aug 2006 15:20:55 +0000 (15:20 -0000)]
* BaseHttpServlet.cs: merged TLS fixes, workaround for thread problem
svn path=/trunk/mcs/; revision=64105
Gert Driesen [Sun, 20 Aug 2006 14:46:19 +0000 (14:46 -0000)]
* EventInstanceTest.cs: Added tests for EventInstance.
* EventLog.cs: Removed namespace import.
* EventInstance.cs: Added range checks and check whether specified
entry type is defined.
* System_test.dll.sources: Added EventInstanceTest.cs
svn path=/trunk/mcs/; revision=64104
Yoni Klain [Sun, 20 Aug 2006 13:13:06 +0000 (13:13 -0000)]
svn path=/trunk/mcs/; revision=64099
Yoni Klain [Sun, 20 Aug 2006 13:11:15 +0000 (13:11 -0000)]
Request for additional functionality
svn path=/trunk/mcs/; revision=64098
Vladimir Krasnov [Sun, 20 Aug 2006 12:57:38 +0000 (12:57 -0000)]
* ThemeDirectoryCompiler.jvm.cs: implemented GetCompiledInstance
* MasterPageParser.jvm.cs: fixed path resolving GetCompiledMasterInstance
svn path=/trunk/mcs/; revision=64097
Vladimir Krasnov [Sun, 20 Aug 2006 12:49:54 +0000 (12:49 -0000)]
* PageMapper.cs: fixes for aspx parser 2.0
svn path=/trunk/mcs/; revision=64095
Konstantin Triger [Sun, 20 Aug 2006 12:27:21 +0000 (12:27 -0000)]
fixing NET_2_0 signature compliancy
svn path=/trunk/mcs/; revision=64093
Joshua Tauberer [Sun, 20 Aug 2006 12:27:11 +0000 (12:27 -0000)]
2006-08-20 Joshua Tauberer <jt@occams.info>
* SqliteConnection.cs: Changed Version property (which is
read-only) from internal to public so users can know
which version of Sqlite was actually connected to.
svn path=/trunk/mcs/; revision=64092
Gert Driesen [Sun, 20 Aug 2006 11:56:20 +0000 (11:56 -0000)]
* mono.1 : Document MONO_EVENTLOG_TYPE, replaces MONO_EVENTLOG_PATH.
svn path=/trunk/mono/; revision=64089
Gert Driesen [Sun, 20 Aug 2006 11:54:06 +0000 (11:54 -0000)]
* System.dll.sources: Added Win32EventLog.cs.
* EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
Obsolete attribute to correct property.
* EventSourceCreationData.cs: Updated copyright. For internal ctor,
set log name to "Application" if value is null or zero-length string.
* EventLogImpl.cs: EventImpl now acts as base class for event log
implemenations.
* NullEventLog.cs: Modified to implement new abstract methods of base
class. Removed factory class.
* EventLog.cs: EventLog implementation that delegates just about
everything to individual eventlog providers. To specify the event log
implementation to use, the MONO_EVENTLOG_TYPE environment variable can
be used. Possible values are:
- win32 : read/write entries using the native win32 eventlog
- local[:path] : read/write entries as files to a local directory
- null : silently ignore all entries
The default is "null" on unix (and versions of Windows before NT,
meaning Windows 98, ...), and "win32" on Windows NT (and higher).
When "the local" implementation is used, the directory in which to
store the event logs, event sources and entries can be specified as
part of MONO_EVENTLOG_TYPE environment variable using the syntax
"local:<path>" (eg. local:/home/myuser/mono/eventlog).
* LocalFileEventLog.cs: Event log implementation which uses a local
file store. The directory to use for persistence can be specified
as part of the MONO_EVENTLOG_TYPE environment variable (see above).
If that directory is not explicitly set, then the following directory
will be used for storing eventlog entries:
- windows : %APPDATA%\mono\eventlog
- unix : /var/lib/mono/eventlog
On unix, the directory permission for individual eventlog log
directories will be set to 777 (with +t bit) allowing everyone to
read and write eventlog entries while only allowing entries to be
deleted by the user(s) that created them.
Format of log files was modified to allow it contain all necessary
information for an event log entry.
* Win32EventLog.cs: Event log implementation for Windows NT and
higher which uses the Win32 native event log for reading/writing
eventlog entries, and which uses the registry to store event log and
event source registration information.
* EventLogEntryCollection.cs: Delegate implementation to event log
implementation. Use lazy init for enumerating entries. Cache current
item in 2.0 profile.
* EventLogTest.cs: Enable tests. On 2.0 profile, set MONO_EVENTLOG_TYPE
environment variable to force local file implementation to be used for
unit tests. This avoids permission issues for the unit tests, and
allows us to clean up the files/directory that are created during the
test run. Skip tests that cannot pass when the null implementation is
active (on 1.0 profile). Added tests for all WriteEntry and WriteEvent
(2.0 only) overloads, Clear, Entries, Exists and LogNameFromSourceName.
svn path=/trunk/mcs/; revision=64088
Konstantin Triger [Sun, 20 Aug 2006 11:53:16 +0000 (11:53 -0000)]
replace OnStateChanged with OnStateChange according to .net 2.0
svn path=/trunk/mcs/; revision=64086
Gert Driesen [Sun, 20 Aug 2006 11:27:59 +0000 (11:27 -0000)]
* RegistryValueOptions.dll: Added the real one (sorry!).
svn path=/trunk/mcs/; revision=64085
Alp Toker [Sun, 20 Aug 2006 11:19:16 +0000 (11:19 -0000)]
Comment typofix
svn path=/trunk/mcs/; revision=64084
Atsushi Eno [Sun, 20 Aug 2006 10:57:30 +0000 (10:57 -0000)]
2006-08-20 Atsushi Enomoto <atsushi@ximian.com>
* RegistryValueOptions.cs : build fix, easier than reverting
all.
svn path=/trunk/mcs/; revision=64083
Gert Driesen [Sun, 20 Aug 2006 09:04:01 +0000 (09:04 -0000)]
* InvalidEnumArgumentException.cs: Beautify error message.
svn path=/trunk/mcs/; revision=64077
Gert Driesen [Sun, 20 Aug 2006 07:03:46 +0000 (07:03 -0000)]
* IRegistryApi.cs: Modified GetValue to take RegistryValueOptions enum
and removed obsolete return_default_value argument.
* RegistryKey.cs: Added missing ComVisible attribute on SetValue.
Use new GetValue method on IRegistryApi that takes RegistryValueOptions
enum. Added GetValue overload that takes RegistryValueOptions (2.0).
* Win32RegistryApi.cs: Modified GetValue to take RegistryValueOptions
enum, and removed obsolete returnDefaultValue argument. Added support
for ExpandString value type. Do no expand if DoNotExpand... is set.
* UnixRegistryApi.cs: Modified KeyHandler.GetValue to take
RegistryValueOptions enum, and do no expand environment variables in
an ExpandString if DoNotExpandEnvironmentNames is set. Modified
UnixRegistryApi.GetValue to take RegistryValueOptions enum, and
removed obsolete return_default_value argument.
* RegistryKeyTest.cs: Added test for expanding environment variables.
* corlib.dll.sources: Added RegistryValueOptions.cs.
svn path=/trunk/mcs/; revision=64076
Aaron Bockover [Sun, 20 Aug 2006 04:24:58 +0000 (04:24 -0000)]
2006-08-19 Aaron Bockover <abockover@novell.com>
* src/gstring.c: optimize and generalize reallocation by providing
a GROW_IF_NECESSARY macro, do not use strcpy/strcat as they are
very, very slow; GString is now much closer to GLib's implementation
in terms of performance
* test/string.c: added speed-specific tests to beat on reallocation code
* test/test-both: run make if the test drivers don't exist
svn path=/trunk/mono/; revision=64075
Miguel de Icaza [Sun, 20 Aug 2006 04:17:02 +0000 (04:17 -0000)]
Add tests for attribute equality
svn path=/trunk/mcs/; revision=64074
Miguel de Icaza [Sun, 20 Aug 2006 03:33:19 +0000 (03:33 -0000)]
2006-08-19 Miguel de Icaza <miguel@novell.com>
* Attribute.cs: This needs to do a deep compare, not a shallow
one. Ran into this bug with the VBNC compiler that compares two
separate attributes for equality using this.
svn path=/trunk/mcs/; revision=64073
Chris Toshok [Sun, 20 Aug 2006 02:26:16 +0000 (02:26 -0000)]
remove ;
svn path=/trunk/mono/; revision=64072