Граф коммитов

512 Коммитов

Автор SHA1 Сообщение Дата
jfrijters bb6abdf18a Updated base adresses. 2010-06-08 05:56:01 +00:00
jfrijters ce4dfa49da Removed exception mapping methods from Throwable and consolidated into a single method (actually, two methods, but the dynamic one should not be necessary and should be removed later). 2010-05-30 06:53:49 +00:00
jfrijters b242c1026b Moved ExceptionHelper into proper namespace and some cleanup. 2010-05-27 16:07:56 +00:00
jfrijters 2cbe4b732b Moved the last part of ExceptionHelper from Java to C# side. 2010-05-27 15:24:29 +00:00
jfrijters 0d2012757f Moved the remainder of the exception mapping to the C# side. 2010-05-27 14:54:41 +00:00
jfrijters 63fac84c10 - Added new public API to unmap exception (ikvm.runtime.Util.unmapException()).
- Moved (parts of) mapping and unmapping to C# side.
2010-05-27 14:08:58 +00:00
jfrijters d67bc55267 Moved more ExceptionHelper methods to C# side. 2010-05-27 13:23:04 +00:00
jfrijters fa0e1b04f0 Yet more ExceptionHelper moving. 2010-05-27 13:03:26 +00:00
jfrijters fe0f5df2a1 Moved a few more ExceptionHelper methods to C# side. 2010-05-27 12:36:40 +00:00
jfrijters 4da8e27cf7 Moved printStackTrace to C# side. 2010-05-27 12:08:01 +00:00
jfrijters d18d00788b Moved ExceptionHelper.getStackTrace() to "native" code of Thread. 2010-05-27 11:47:41 +00:00
jfrijters a4500fdb47 Moved readObject/writeObject to C# side. 2010-05-27 11:21:23 +00:00
jfrijters 195f6ce2c6 First step of moving all exception handling code to C#. 2010-05-27 09:17:56 +00:00
jfrijters ef1cad0880 Removed fake core class library types from ikvmstub and added a -bootstrap option to run without dependency on runtime/core class library. 2010-05-19 15:48:52 +00:00
jfrijters c1b4c62675 Implemented OperatingSystemMXBean. 2010-05-02 08:20:59 +00:00
jfrijters 0ec793d843 Implemented RuntimeMXBrean. Feature request #2994310. 2010-04-30 07:59:03 +00:00
jfrijters f296e383cb Prepare for forking. 2010-04-30 07:46:54 +00:00
jfrijters 68a8b9557a Remove use of reflection for getting the slot of a java.lang.reflect.Field. 2010-04-28 14:22:51 +00:00
jfrijters 0431018659 Added .dll extension to referenced assemblies, to avoid relying on what is now a legacy feature of ikvmc. 2010-04-23 05:05:13 +00:00
jfrijters c773ca6986 - Rewrote assembly loading for ikvmc and ikvmstub (and unified it). It now no longer depends on the runtime to do assembly name to path resolution and behaves more csc like.
- Added -nostdlib and -lib options to ikvmc and ikvmstub.
- openjdk.build now uses our System.Core.dll (unless we're building on .NET 4.0).
2010-04-23 04:58:36 +00:00
jfrijters e904756592 Changed ikvm.runtime.Startup.setProperties() to take an IDictionary instead of Hashtable. This allows a Dictionary<string, string> to be passed in now and avoids future problems if/when we want to target Silverlight (which doesn't have System.Collections.Hashtable). 2010-04-21 06:51:18 +00:00
jfrijters 5a91126566 Removed lib/security/local_policy.jar from vfs.zip (because OpenJDK builds the restricted version, by default) and instead make a vfs alias for it that points to the unrestricted US_export_policy.jar. 2010-04-21 06:16:37 +00:00
jfrijters 3e9d36b9fb Added System.Core target to build a tiny custom version of System.Core.dll that contains only System.Runtime.CompilerServices.ExtensionAttribute and will allow us to build on .NET 2.0 without having to figure out where System.Core.dll lives (or without it even being present). 2010-04-20 05:33:11 +00:00
jfrijters 73c4ad4d2d Moved security sensitive bitmap copying to separate methods and added validation. Decorated methods with SecuritySafeCriticalAttribute (as required by .NET 4.0 security model). 2010-04-13 12:41:43 +00:00
jfrijters 642a5e1b2d Use FileDescriptor.sync() instead of duplicating FileStream flushing here. 2010-04-12 14:09:14 +00:00
jfrijters 6e4ffb2002 Prep for .NET 4.0 security model:
- added more SecurityCritical attributes
- added SecuritySafeCritical/TreatAsSafe attributes to Direct-X-Buffer classes
2010-04-12 06:38:46 +00:00
jfrijters 562b15ceb2 Prep for .NET 4.0 security model:
- serialization methods must be critical.
2010-04-12 04:17:39 +00:00
jfrijters 393bfcc810 Moved Posix file flushing to C# to be able to use delegate instead of reflection to invoke the Mono.Posix method. Also added DangerousAddRef/Release to prevent the handle from being closed while flushing. 2010-04-08 13:06:36 +00:00
jfrijters 70555c315b Integrated OpenJDK 6 b18. 2010-04-02 03:54:06 +00:00
jfrijters 0a5c0d2e57 Don't allow unitialized class loader to be used as parent. 2010-02-26 13:30:44 +00:00
jfrijters 6d5d5be5c9 Removed ../../openjdk6-b16 path from tools response file. 2010-02-19 14:38:41 +00:00
jfrijters aa8481692f Removed ../../openjdk6-b16 path from response files. 2010-02-19 14:31:14 +00:00
jfrijters 0751ab4d76 Intrinsified ThreadLocal (under specific circumstances). 2010-02-11 10:36:01 +00:00
jfrijters ff779a78f7 Introduced a base class for intrisified AtomitcReferenceFieldUpdaters. This reduces the size of the generates classes somewhat and allows for a public type to represent all intrinsified instances (instead of the HideFromJava nested type). 2010-02-11 10:20:24 +00:00
jfrijters 9ddff837c5 - Moved thread dump code from Thread.java to openjdk.cs.
- Changed thread dump code to write to System.Console.Out, instead of java.lang.System.out.
- Changed formatting slightly and added some info to make it more like the JDK output.
2010-02-04 05:08:55 +00:00
smallsql 28b2619037 Move init of CTRL-BREAK from System to Startup. It should be init if a Java application run and not if a library is linked. 2010-01-31 14:08:26 +00:00
smallsql ab38ca8fa7 Change the method dumpAllStacks() from hide to internal 2010-01-31 13:13:30 +00:00
smallsql 071cda53f0 Register the default signal handler for BREAK 2010-01-30 15:50:35 +00:00
smallsql 9902d81941 Add a method for dumping all stacktraces to the console. 2010-01-30 15:49:05 +00:00
jfrijters 19be487fe0 Removed pre-generated stub jars from cvs and modified build process to generate them during the build. 2010-01-28 08:06:56 +00:00
smallsql 2966abd1dc Thread.getAllStackTraces() has ever suspend all Threads 2010-01-16 20:33:54 +00:00
jfrijters 56080735b2 Fix for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41696 2010-01-11 14:30:16 +00:00
smallsql 3fd3c67214 fire IIORead events to the listeners 2009-12-30 09:52:08 +00:00
smallsql 3c57ded8b8 Fix Font.getFamilyName for logical and styled fonts 2009-12-29 14:39:56 +00:00
smallsql deba18899f Fix strikethrough and underline metric if .NET 3.0 is installed 2009-12-12 21:56:07 +00:00
jfrijters 2bc458795f - New snapshot version.
- Update base addresses.
2009-12-07 07:38:34 +00:00
smallsql d6e58ff235 Fix the LineMetrics and solve some JUnit tests 2009-11-29 10:20:27 +00:00
smallsql bed70d1b66 Implements some methods in the sun.font package 2009-11-25 15:01:20 +00:00
smallsql 61a42ad9ed fix a NPE in constructor 2009-11-21 22:20:56 +00:00
jfrijters c8dd69be99 Updated base addresses 2009-11-12 14:09:57 +00:00
jfrijters 929d0a6013 Created IKVM.OpenJDK.Tools.dll (which is going to be the equivalent of tools.jar). 2009-11-12 07:40:52 +00:00
jfrijters 3fc3b157bc Removed classes that aren't supposed to be in the boot class path (they're from tools.jar). This includes the entire IKVM.OpenJDK.XML.RelaxNG assembly. 2009-11-12 07:23:16 +00:00
jfrijters d2bdb26352 Added a couple of missing classes (that tools.jar depends on). 2009-11-12 07:05:04 +00:00
smallsql 45d2af68e6 adding Java Debugging Interface 2009-11-11 19:11:38 +00:00
jfrijters 252e89e3be Removed two unused source files from list. 2009-11-05 07:26:56 +00:00
smallsql f65cead627 Printing API next step 2009-11-01 12:03:01 +00:00
smallsql 8877fb077d PrintGraphics added 2009-11-01 12:01:38 +00:00
smallsql d9ca87d8b7 first implementation of getLogicalBounds() but it is not 100% right 2009-10-30 15:38:16 +00:00
smallsql 4aca12595a Add class sun.print.Win32PrintJob 2009-10-28 11:06:17 +00:00
smallsql e28519682e set system property java.awt.printerjob 2009-10-27 19:07:24 +00:00
smallsql 9c63eabe38 Add the class because it will be instantiate via reflection currently 2009-10-27 19:05:43 +00:00
natl 3c1930d4eb - code cleanup as per Jereon's suggestion
- add support for java.awt.Image
- fix problem with HDROP
2009-10-14 15:31:47 +00:00
natl efb671c7f1 add primitive support for clipboard and drag and drop 2009-10-14 13:44:27 +00:00
smallsql caa7085e18 First implementation of Win32PrintServiceLookup 2009-10-02 18:21:53 +00:00
smallsql 54772b74aa Placeholder for future implementations 2009-10-02 18:16:19 +00:00
smallsql 1b16bbc4c5 Add getDefaultPrinterName and getAllPrinterNames to the PrintPeer 2009-10-02 18:11:51 +00:00
smallsql 6cdfe4ad23 more files of the print API added 2009-09-26 21:01:58 +00:00
jfrijters e6879ad203 Updated base addresses. 2009-09-09 05:15:41 +00:00
jfrijters db9c796794 Removed vestigial compact framework support. 2009-08-28 06:47:16 +00:00
natl 57d021fc22 add Motif look and feel 2009-08-26 23:43:25 +00:00
jfrijters 70efd72b68 Updated base addresses. 2009-08-14 13:37:25 +00:00
smallsql 51a08412cf fix the missing alpha chanel on windows shell icons 2009-08-12 18:36:49 +00:00
jfrijters 76fb68033d Base addresses updated. 2009-08-11 06:04:41 +00:00
jfrijters 21a741cb16 Make java.lang.Throwable .NET serializable. 2009-08-11 05:59:52 +00:00
jfrijters 2cb0073b40 Automagic .NET serialization support (for classes that are Java serializable). 2009-08-11 05:58:44 +00:00
jfrijters 3855d129ce Removed unused attribute (Method.Type). 2009-08-06 06:46:54 +00:00
jfrijters 117d156352 More serialization interop support code. 2009-07-31 12:41:08 +00:00
jfrijters bf089524b1 Removed @Deprecated from methods that aren't deprecated in JDK. 2009-07-31 09:56:48 +00:00
jfrijters f2c338ad59 Internal API should not be visible to Java code. 2009-07-31 09:56:12 +00:00
jfrijters 43fd0daf07 Implemented support for .NET serialization of Java enums.
(The CreateEnumEnum move in FakeTypes.cs is because java.lang.Enum now has a dependency on custom attribute annotations.)
2009-07-29 09:36:56 +00:00
jfrijters 03892b621b Prepare for forking java/lang/Enum.java. 2009-07-29 08:35:42 +00:00
jfrijters 2c2388d152 Implemented .NET serialization support for java.lang.Class objects. 2009-07-29 07:04:42 +00:00
jfrijters 45a57e8ec5 Moved most java.lang.Class changes from map.xml to java source. 2009-07-28 13:01:25 +00:00
smallsql 4f27a7c9c6 fix a copy & paste mistake 2009-07-26 08:05:18 +00:00
jfrijters 6e61c1475d Changes to make <clinit> trivial. 2009-07-16 06:15:08 +00:00
jfrijters 85c32e0516 Eagerly create MS1252 and UTF-8 charsets to avoid reflection. 2009-07-16 06:11:47 +00:00
jfrijters 75405d1664 Prepare sun/nio/cs/StandardCharsets.java for forking. 2009-07-16 06:10:00 +00:00
jfrijters 0117d63b18 Use CallerID.getCallerClassLoader() to bypass Class.getClassLoader(). 2009-07-14 08:45:36 +00:00
jfrijters 2e1ccef008 Removed unneeded initialization of static fields. 2009-07-14 07:58:39 +00:00
jfrijters 64e5615aaa Moved responsibility for creating java.lang.Class instances for "fast literal" enable types into ClassLiteral<T>, this allows class literals to be really cheap, because non of the underlying reflection is needed, the class will cache the Type and lazily resolve it to its TypeWrapper. 2009-07-14 06:27:41 +00:00
jfrijters ab8f450751 Made signature computation lazy. 2009-07-13 07:20:15 +00:00
jfrijters f8ebf42589 Prepare for forking of java.io.ObjectStreamField. 2009-07-13 07:01:12 +00:00
smallsql e43f32c78c package sun.java2d.pisces added 2009-07-12 08:39:48 +00:00
smallsql 921afc5023 Fix some font metrics problems 2009-07-09 19:07:53 +00:00
jfrijters aad67feea4 Split off Beans and Media from Misc. 2009-07-03 14:12:03 +00:00
jfrijters 6955c80148 Removed unused file. 2009-07-03 14:11:06 +00:00
jfrijters 4dbba1a431 Split off IKVM.OpenJDK.Remoting.dll from Misc. 2009-07-03 12:20:16 +00:00
jfrijters 0ae116f0ae Split IKVM.OpenJDK.Naming.dll off from Misc. 2009-07-03 09:56:00 +00:00
jfrijters 2d49edfbd1 Removed javax.print.ServerUI workaround that is no longer needed. 2009-07-03 07:14:13 +00:00
jfrijters ce02d8c695 Removed SystemProperties.java that is not used anymore. 2009-07-03 07:06:28 +00:00
jfrijters 2f2e69613c - Set runtime version during build, instead of computing it a runtime.
- Set OpenJDK version in openjdk.build instead of VMSystemProperty source.
2009-07-03 06:57:06 +00:00
jfrijters 0e0dd9b037 - Consolidated system property initialization in VMSystemProperties.
- Fixed bug that caused startup properties set with ikvm.runtime.Startup.setProperties() to be forgotten when doing a System.setProperties(null).
2009-07-03 06:40:51 +00:00
jfrijters 049ea653fe Moved startup system properties temporary cache from VMSystemProperties to Startup to allow VMSystemProperties to be private instead of internal. 2009-07-03 06:22:10 +00:00
jfrijters e45016df54 Moved gnu.classpath.Configuration to java.lang.PropertyConstants. 2009-07-03 06:09:49 +00:00
jfrijters 7a856abc0a Moved VMSystemProperties from gnu.classpath to java.lang. 2009-07-03 05:55:58 +00:00
jfrijters 82fb3d2682 Removed GNU Classpath related stuff. 2009-07-03 05:28:19 +00:00
smallsql 95b689f692 Implement the font name methods. 2009-07-02 19:34:51 +00:00
jfrijters cf953b8850 Split XPath off from Parse. 2009-06-29 10:30:30 +00:00
jfrijters cb4e9c37ca Added a mechanism to prevent accidentally introducing new dependencies in the OpenJDK assemblies. 2009-06-29 09:32:59 +00:00
jfrijters f6cbd1dd50 Specify -baseaddress:<address> option for all runtime assemblies. This should make ngen images more efficient. 2009-06-29 08:53:33 +00:00
jfrijters 8684e20df1 Split XML assembly into 7 parts. With thanks to Michael Kay. 2009-06-29 08:03:51 +00:00
jfrijters 7693f933c7 sun.text package should be in Text. 2009-06-29 06:50:03 +00:00
jfrijters ca5dbdb482 Untangled circular dependency between Jdbc and Misc:
- Moved com.sun.rowset package to Jdbc
- Moved java.sql.Timestamp to Core
2009-06-29 06:39:28 +00:00
smallsql 4e63ff4dcf change fontSupportsDefaultEncoding 2009-06-27 21:22:19 +00:00
smallsql b6ef7dab19 implements getIcon() in ShellFolder 2009-06-27 20:43:42 +00:00
smallsql 70f80fc10f listFiles(boolean) must return instances Win32ShellFolders2 2009-06-27 17:51:28 +00:00
smallsql 54ac3bb847 Add the Win32ShellFolder to the build process 2009-06-27 15:45:05 +00:00
smallsql b68744dfe0 Fix different bugs in ShellFolder 2009-06-27 10:22:34 +00:00
smallsql 4a07b62050 Win32ShellFolder2 Step 2 2009-06-21 19:22:29 +00:00
jfrijters d18a4b2bf2 Added rmi stub generation to build process, instead of relying on .class files in stripped zip. 2009-06-08 15:01:11 +00:00
smallsql 7dc25aa680 Add resources in com/sun/swing/internal/plaf/* 2009-06-04 18:26:08 +00:00
smallsql e0dcc2c034 The ascent and height was negative 2009-05-31 20:18:09 +00:00
smallsql 2653e25818 fixing the painting of the GlyphVector with the StandardGlyphVector from Sun 2009-05-30 21:32:32 +00:00
jfrijters 4ae285f4bb Removed classpath-0.95 directory. 2009-05-26 06:21:39 +00:00
jfrijters 21865b8c20 Moved java.applet package from GNU Classpath to OpenJDK.
This was the last dependency on the classpath-0.95 directory. Yay!
2009-05-26 06:14:34 +00:00
jfrijters 6e7ef327a9 Moved java.awt.im package from GNU Classpath to OpenJDK. 2009-05-26 05:56:14 +00:00
jfrijters 6f178d1adb Removed no longer needed GNU Classpath classes and copied two GNU Classpath utility classes into IKVM. 2009-05-26 05:44:06 +00:00
jfrijters e30dc87909 Fixed formatting. 2009-05-26 05:31:32 +00:00
smallsql 66da5fffd2 closeSplashScreen changed 2009-05-22 19:59:24 +00:00
jfrijters 1442ab7841 - Moved unsafe operations into Java and added link demand for unmanaged code to them.
- Added some deprecated unsafe methods that are apparantly still being used (or at least referenced) by JRuby.
2009-05-17 06:16:34 +00:00
smallsql fccc39b788 Replace the GNU ClasspathToolkit with the SunToolkit in .NET Code. Replace the usage of the FontPeer with the Java2D. Replace the NetGlyphVector with the StandardGlyphVector 2009-05-16 16:34:40 +00:00
jfrijters 070ea26337 Removed workaround that is no longer needed, now that ikvmc automatically works around this issue. 2009-05-12 04:10:12 +00:00
smallsql f98701c51a extends the NetToolkit from the SunToolkit instead of GNU ClasspathToolkit 2009-05-08 12:04:59 +00:00
smallsql 9a424a8338 use assembly name from the build process for the GraphicsEnvironment 2009-05-07 20:41:48 +00:00
smallsql 52798fc6a0 fix some NPE in the package sun.font 2009-05-07 18:47:07 +00:00
smallsql 443bfe88c9 Replace the AWT / Swing implementation from GNU with Sun 2009-05-03 19:17:35 +00:00
smallsql 2cf9cf2033 Replace the Sun class with an dummy implementation for compiler that throw an exception in constructor 2009-05-03 19:13:54 +00:00
smallsql 857374b3fc Replace the Sun implementation with an empty abstract class 2009-05-03 19:11:37 +00:00
smallsql 5657ae444b Replace the Sun implementation with a wrapper on a Graphics2D. Currently without constructor. This need added later. 2009-05-03 19:09:48 +00:00
smallsql 4ba95fcb12 Use the the GNU implementation of AlphaCompositeContext.java for SunCompositeContext.java 2009-05-03 19:06:35 +00:00
smallsql 4b8d63ca3c Create a wrapper GraphicsEnvironment for headless support 2009-05-03 19:05:09 +00:00
smallsql 40b82787c5 Add more methods to this dummy class for the compiler 2009-05-03 19:01:48 +00:00
smallsql 051d6f6e91 The original Sun Code without an unused import which produce additional references on currently not existing code 2009-05-03 19:01:00 +00:00
smallsql 30e3acbb2c Add an additional Constructor 2009-05-03 18:57:32 +00:00
smallsql 6d83b5e6ee A patched Sun class, all references to a SurfaceManager was removed 2009-05-03 18:50:35 +00:00
smallsql 18a6d1fdb7 A patched Sun class, the method createCompatibleVolatileImage was replaced with a abstract dummy method. 2009-05-03 18:48:25 +00:00
smallsql aa7cf242e8 More Sun classes (SwingUtilities2) 2009-05-01 11:29:00 +00:00
smallsql 5079ec4983 More Sun classes (SwingUtilities2) 2009-04-30 19:52:43 +00:00
smallsql 9a20d46d58 replace many of the GNU font code with the Sun implementation 2009-04-25 21:18:50 +00:00
smallsql dd3e76dd4b More Sun classes (package sun.awt) 2009-04-22 16:27:56 +00:00