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

279 Коммитов

Автор SHA1 Сообщение Дата
smallsql e88e9e86fa implements drawImage with AffineTransform 2010-09-02 21:06:04 +00:00
jfrijters 543bde55dc - Removed the requirement to have peverify and ilasm in the PATH. They are now located automatically and if they are not found, the corresponding build steps are skipped.
- Added "managed" and "native" targets to ikvm.build to allow building just the managed parts (that don't require a C compiler to be installed).
2010-08-20 05:35:49 +00:00
smallsql 0760a2fd37 Fix regression with createImage(ImageProducer) 2010-08-09 12:36:16 +00:00
smallsql 2b82df679b Fix typus with Maximum / Minimum 2010-08-05 12:08:26 +00:00
smallsql fa66292bae implements Window.setMinimumSize() 2010-08-05 10:16:00 +00:00
jfrijters 2957ee702a Removed workaround that is no longer necessary. 2010-06-18 07:21:09 +00:00
jfrijters f333fb65b4 Added native.cs to Visual Studio project. 2010-06-14 05:34:48 +00:00
jfrijters d124af7183 Verify after build. 2010-06-11 06:58:52 +00:00
jfrijters 329e6e9d1b Add APTCA for .NET 4.0 transparency. 2010-06-11 06:58:35 +00:00
jfrijters 4a5d60a726 - Moved security critical code to C# side.
- Cleaned up code.
- Introduced safe handles where possible.
2010-06-11 06:57:44 +00:00
jfrijters c02be5c1f1 Don't assume IntPtr is 32 bit. 2010-06-11 04:58:45 +00:00
jfrijters 3bf943c905 Cleaned up interop structs. 2010-06-11 04:54:52 +00:00
jfrijters f29a1f5f66 Removed unused pinvoke methods. 2010-06-11 04:49:38 +00:00
jfrijters 5cbed24df9 Fixed SafeHandle usage and added .NET 4.0 security attributes. 2010-06-11 04:46:21 +00:00
jfrijters 8246b924df Added parameter validation and .NET 4.0 security attribute. 2010-06-11 04:14:35 +00:00
jfrijters 248559fb69 Added "first-pass" build of IKVM.AWT.WinForms.dll and moved "native" AWT code from IKVM.Runtime.dll to IKVM.AWT.WinForms.dll. 2010-06-09 12:26:28 +00:00
smallsql 15fa39c4b9 Add the Java symbolic font names to the list of all available font names. 2009-12-11 15:21:34 +00:00
natl cd808950a8 fix dragdropinprogress 2009-12-09 00:45:55 +00:00
smallsql 79deb06311 Implement MouseInfoPeer 2009-11-25 21:26:26 +00:00
smallsql e6d72c9a8d Fix the default values background, foreground and font of Window, Frame and Dialog. 2009-11-22 22:55:08 +00:00
smallsql 7018ad94a1 implements copyArea 2009-11-08 09:52:11 +00:00
smallsql f361b69e06 implement getColorModel() and fix a junit test 2009-11-07 21:14:34 +00:00
natl 20ac2d75f9 attempt to fix local datatransfer again 2009-11-02 23:45:54 +00:00
smallsql 8877fb077d PrintGraphics added 2009-11-01 12:01:38 +00:00
natl 6a45039400 add support for Reader and InputStream 2009-10-31 16:14:04 +00:00
natl bfcfa7101c fix CPU usage 2009-10-29 16:35:13 +00:00
natl a1bcaea0d6 fix local transfer 2009-10-29 16:12:40 +00:00
natl fa1e5729ab fixed filelist drop 2009-10-28 01:04:30 +00:00
natl f90ff89308 remove unused code 2009-10-27 13:15:52 +00:00
natl 549ba42430 implement Drop feature 2009-10-25 16:22:49 +00:00
natl 6101c0bf7d add explicit cast for delegate 2009-10-17 15:55:03 +00:00
natl 88c1fae75a fix preferredSize 2009-10-17 15:29:24 +00:00
natl bccefe8ed1 code cleanup #1 2009-10-17 01:29:13 +00:00
natl 55a6145687 - implements AlwaysOnTop
- add more supports for clipboard
2009-10-16 16:11:08 +00:00
natl c840872339 code reordering 2009-10-16 16:10:09 +00:00
natl 294c1dc6c9 add support for swing component text 2009-10-15 00:20:01 +00:00
natl 6fb12bfc6d call Clipboard.SetData on the right thread 2009-10-14 23:56:52 +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 1b16bbc4c5 Add getDefaultPrinterName and getAllPrinterNames to the PrintPeer 2009-10-02 18:11:51 +00:00
natl 864c77b7f9 add missing Bitmap cleanup code 2009-10-02 00:37:57 +00:00
natl f4c5bb4908 reduce number of instances needed for finalizers to reduce GC work 2009-10-02 00:05:56 +00:00
natl 144fbfa2a1 - implement setExtendedState on FramePeer
- move icon implementation from Frame to Window
- reuse initialize method as a way to initialize component (may not be the great idea as it will be called when subclass' constructor hasn't finish executing.. if we can clean up such that all subclass' constructor are empty then we're okay)
2009-10-02 00:05:19 +00:00
natl d51fba4fec fix a bug where the default foreground/background color in paint method are not derived from the color setting of the component 2009-09-30 16:22:14 +00:00
smallsql b072ef34a0 If the .NET control does not accept the new bounds (minimum size, maximum size) then we need to reflect the real bounds on the .NET site to the Java site 2009-09-20 09:39:33 +00:00
smallsql 13009f3905 COMPONENT_MOVED event added 2009-09-19 14:51:45 +00:00
natl 256c55d51c add basic tray icon support (note that mouse enter / exit as well as context menu don't work as .NET NotifyIcon doesn't really support it yet) 2009-09-07 09:16:39 +00:00
natl 26096b2859 * code cleanup
* fix problem with swing shutdown
* experiment new code to dispose underlying .NET control and unhook all events when the peer is disposed instead of just hiding it
2009-09-07 01:24:31 +00:00
jfrijters db9c796794 Removed vestigial compact framework support. 2009-08-28 06:47:16 +00:00
natl 4785ee3276 - code cleanup for GUI thread invocation
- fix keyboard focus and typing issue
2009-08-26 23:47:09 +00:00
jfrijters 5d6e05b64d - Dispose registry key.
- Removed unused local variable.
2009-08-19 08:21:54 +00:00
jfrijters c259490129 Avoid obsoleted FontFamily.GetFamilies() and use more efficient FontFamily.Families 2009-08-19 08:21:16 +00:00
natl 78b6ca5d34 - added support for mouse wheel
- fixed UI related methods being called in the wrong thread
- fixed windows L&F not showing correctly on Windows platform
2009-08-18 09:11:06 +00:00
natl 700b40d71f Java allows DashPattern to have 0.0 in float array but not in .NET. Java seems to generate {1.0, 0.0} for solid pattern in some cases. Therefore, we need to fiddle with the conversion to make sure the dash pattern is valid in .NET world 2009-08-17 23:54:15 +00:00
natl 01fba1c28c make sure PointToScreen is called in the UI thread 2009-08-17 23:52:44 +00:00
natl bc24e7316b fix scrolling update and screen update during frame move 2009-08-15 16:37:55 +00:00
smallsql 4460da2db0 fix the painting bug on the bottom and right border of not resizable dialogs. 2009-08-08 18:42:19 +00:00
smallsql 0a97b23d24 * implement setResizeable for dialogs
* remove the icon from dialogs
* not resizeable border of frame was wrong
2009-08-02 19:34:13 +00:00
smallsql 6b68b40b04 Move all control access to the bogusForm thread, a .NET requirement 2009-07-31 21:29:23 +00:00
smallsql 0513036fe9 implements grab() and ungrab() 2009-07-29 17:38:42 +00:00
jfrijters b82d3bbcea Remove duplicate event queue. 2009-07-28 06:31:37 +00:00
smallsql 6f7231d956 fix the repainting bug on bottom and right border, what a regression of the last component restructuring 2009-07-26 16:20:22 +00:00
smallsql 240d5bc075 remove unused code 2009-07-26 14:28:47 +00:00
smallsql 65604b4322 Fix the wrong converting of Fonts that use another GraphicsUnit as Pixel 2009-07-26 14:03:54 +00:00
smallsql 09515cdf6f Graphics.setFont has set the wrong .NET font 2009-07-26 13:20:09 +00:00
jfrijters 114be555a4 Comment out currently unused variable. 2009-07-13 08:02:17 +00:00
smallsql 5b4cffe1a8 * WindowPeer.setModalBlocked implemented
* NetFileDialog extends from NetWindowPeer now.
2009-07-12 06:00:44 +00:00
jfrijters 8265d1ff1c Added reference to IKVM.OpenJDK.Media.dll 2009-07-10 06:04:41 +00:00
jfrijters c2ea118316 Added reference to IKVM.OpenJDK.Media.dll 2009-07-07 11:59:08 +00:00
smallsql 2d86fcfdde First step of Toolkit.lazilyLoadDesktopProperty(String) 2009-07-02 18:06:09 +00:00
smallsql 00592c77f6 Give the JDialog a border back; register sun.awt.shell.Win32ShellFolderManager2 as ShellFolderManager 2009-06-22 17:48:19 +00:00
smallsql b938eaaeb9 Fix a NPE with Graphics2D.setBackgound(null) 2009-06-21 20:41:30 +00:00
jfrijters 5d7c14ea0f Disabled background painting and added window activation. 2009-06-09 10:24:09 +00:00
jfrijters 3113757700 More component work. 2009-06-09 06:03:20 +00:00
jfrijters ef4a9c1b27 foreground color, background color and font fixes. Background color still isn't working though. 2009-06-05 07:56:02 +00:00
jfrijters 61de1cfa27 - Changed NetComponentPeer construction to match JDK's WComponentPeer structure.
- Wrapped reflection in doPrivileged() blocks.
2009-06-05 07:09:34 +00:00
smallsql de1d2fbf73 implements isModalityTypeSupported() and blockWindows() 2009-06-04 18:57:27 +00:00
smallsql 753c8ca41c Fix a thread problem with setBounds. The result can be a wrong bound if it call fast multiple times. The behavior is now more like the from Sun. 2009-06-01 16:08:52 +00:00
jfrijters e3e013c189 Implemented ComponentPeer.applyShape() 2009-06-01 08:44:20 +00:00
smallsql 6e32dec337 first step for support of InputMethod but disable now 2009-05-31 20:28:43 +00:00
jfrijters d3ad771d0c Toolkit.getInputMethodAdapterDescriptor() is allowed to return null. 2009-05-31 09:04:50 +00:00
jfrijters 4acd3e7fec Handle odd length dash arrays. 2009-05-31 09:04:17 +00:00
smallsql 2653e25818 fixing the painting of the GlyphVector with the StandardGlyphVector from Sun 2009-05-30 21:32:32 +00:00
smallsql 8a2d9b09b2 implementing of requestFocus 2009-05-30 19:47:29 +00:00
smallsql e6294e5ad3 fix a System.InvalidOperationException: Object is currently in use elsewhere 2009-05-25 20:07:04 +00:00
smallsql dd1602d706 Implement createCompatibleVolatileImage(int,int) 2009-05-23 15:21:58 +00:00
smallsql 81eae362e3 implement WindowPeer.updateFocusableWindowState() 2009-05-22 21:08:24 +00:00
smallsql 05b4398c57 Implement FramePeer.setMaximizedBounds 2009-05-22 18:44:48 +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
smallsql f98701c51a extends the NetToolkit from the SunToolkit instead of GNU ClasspathToolkit 2009-05-08 12:04:59 +00:00
smallsql 081a361661 implements some GlyphVector methods for Swing 2009-05-07 19:00:56 +00:00
smallsql 8a7787a4fe Loading the GraphicsEnvironment with the Sun mechanism 2009-05-07 12:52:48 +00:00
smallsql f9e9ae8793 Add the new methods of the JDK6 peers with a NotImplementedException 2009-05-03 20:17:02 +00:00
jfrijters bbd714c2cc Integrated OpenJDK java/awt/image and java/awt/image/renderable packages. 2009-04-17 06:36:01 +00:00
jfrijters 9e01662f07 Handle Graphics2D.setPaint(null) correctly. 2009-04-17 06:34:41 +00:00
jfrijters e3f95b0bcd converter.cs
- ConvertRoundRect - correction in representation differences
- LineJoin, LineCap, Dash conversions
- CreateFontFamily - case sensitivity fix
fonts.cs, fonts-0.95.cs
- overriding FontMetrics.getStringBounds
- y coordinate of the returned rectangle should be the negative ascent in Java
graphics.cs
- NetGraphics.drawArc, fillArc - correction in representation differences
- NetGraphics.drawRoundRect, fillRoundRect - correction in representation differences
- NetGraphics.drawString - text was mispositioned
- NetGraphics.setStroke - BasicStroke support for LineCap, LineJoin, LineDash
- NetGraphicsEnvironment.createGraphics returned empty image
images.cs
- NetProducerImage.setPixels - implementation for byte[] argument
toolkit.cs, toolkit-0.95.cs
toolkit.cs: NetToolkit implements ikvm.awt.IkvmToolkit, see BufferedImage.createGraphics implementation
NetToolkit - getBestCursorSize, createCustomCursor implementation
NetToolkit - DoubleClick, ContextMenu support
NetToolkit - MapKeyCode did not work for Enter and Delete keys
NetToolkit - OnBoundsChanged - component resized event seems to be missing
NetToolkit - createImage(ImageProducer) implementation
NetToolkit - setCursorImpl, NetCustomCursor
NetDialogPeer - setting the title of the dialog
NetFramePeer - setting icon for the frame

Contributed by: Judit Vasko-Szedlar (Chemaxon)
2009-04-15 04:58:12 +00:00
jfrijters af7a06b956 Remove unused files. 2009-04-15 04:22:00 +00:00
jfrijters 4edd2b727d Disable warnings about obsolete members. 2009-04-15 04:21:47 +00:00
smallsql 0029f0d8ff Graphics improvement 2009-03-13 11:26:52 +00:00
jfrijters 9b902cde18 Use new RunnableDelegate. 2009-03-07 08:40:46 +00:00