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
jfrijters
00908792ae
Switched java.awt.event package from GNU Classpath to OpenJDK.
2009-03-04 08:18:36 +00:00
smallsql
df3d349a27
Add a PrintPeer as helper class for the print API
2009-03-03 20:05:35 +00:00
jfrijters
b236ec07f1
Moved Y correction to Graphics2D float overload of drawString, so that it too positions the text (approx.) correctly.
2009-02-17 09:38:31 +00:00
jfrijters
46a4f6c9fb
Set foreground/background colors for Graphics created from Image correctly.
2009-02-17 08:12:48 +00:00
jfrijters
1a4091fad9
"implemented" Graphics.setComposite/getComposite/getFontRenderContext.
2009-02-10 09:34:12 +00:00
smallsql
6510c2726a
convert a Java filename to a .NET filename in createImage(String)
2009-01-07 14:52:20 +00:00
smallsql
ea4f6fa809
Hide new public methods in BufferedImage
2008-12-31 15:37:28 +00:00
smallsql
3d2604205a
Remove NetBufferedImage and merge the code in the class BufferedImage. Now the class BufferedImage has 2 buffers. A Java Raster and .NET Bitmap.
2008-12-30 10:28:10 +00:00
jfrijters
968e7e067c
Updated build to split IKVM.OpenJDK.ClassLibrary.dll into ten parts.
2008-12-23 07:28:20 +00:00
jfrijters
54d34837f2
Removed GNU Classpath support left overs.
2008-12-22 05:50:30 +00:00
jfrijters
90fd546fdb
- Partially implemented FileDialog peer.
...
- Implemented isFocusTraversable() (by always returning true).
2008-09-21 09:38:15 +00:00
jfrijters
bb9b51fe46
- Lock bitmap when drawing it, to make modifying the bitmap from another thread safe.
...
- Make setPixels() lots faster by using direct memory copy (although this requires full trust).
2008-09-21 09:33:09 +00:00
jfrijters
472891289e
Implemented java.awt.Frame.setResizable() support.
2008-09-18 05:41:54 +00:00
jfrijters
684cdf651e
Generified all collections.
2008-08-15 12:01:06 +00:00
jfrijters
b4f779b52e
patch #1979656 by Daniel Wilson
2008-06-01 08:11:12 +00:00
jfrijters
866cc25de6
Convert rotation angle from radians (Java) to degrees (.NET).
2008-05-09 06:00:46 +00:00
jfrijters
03657a702b
Override not implemented method because base class returns null.
2008-04-14 05:04:10 +00:00
jfrijters
d8e0a53a77
*** empty log message ***
2008-02-19 04:51:18 +00:00
jfrijters
abdba87542
- Moved common assembly attributes to single file (CommonAssemblyInfo.cs).
...
- Added IKVM.Runtime.JNI project to Visual Studio solution.
- Added atomic.cs to Visual Studio projects.
- Added SecurityCritical and AllowPartiallyTrustedCallers attributes to IKVM.Runtime.dll.
2008-01-03 09:45:49 +00:00
jfrijters
3072c89696
- Removed .NET 1.1 specific code
...
- Removed conditional compilation of .NET 2.0 specific code
2007-11-26 08:38:38 +00:00
jfrijters
83c6e5105d
- .NET 1.1 is no longer supported
...
- Removed .NET 2.0 warnings (except for the "unreachable code" ones)
2007-11-26 05:50:57 +00:00
jfrijters
ba7a5a69bd
- Removed Visual Studio 2003 solution/project files.
...
- Added Visual Studio 2008 solution.
2007-11-21 07:15:42 +00:00
jfrijters
8a79587e64
Updated version numbers to 0.37.
2007-10-22 15:45:52 +00:00
jfrijters
902cd58a62
Renamed IKVM.Hybrid.GNU.Classpath.OpenJDK.dll to IKVM.OpenJDK.ClassLibrary.dll and made OpenJDK build the default.
2007-08-22 11:51:14 +00:00
jfrijters
4ece7a11be
Removed gnu.classpath.SystemProperties usage.
2007-08-17 09:10:18 +00:00
jfrijters
786a4c3345
- Switched GNU Classpath AWT/Swing back to version 0.95.
...
- Copied GNU Classpath version of java.text.Bidi into openjdk directory.
- Copied and integrated GNU Classpath's pure Java zip support with OpenJDK zip classes.
- Added GNU Classpath 0.95 compatible versions of awt\font.cs and awt\toolkit.cs.
2007-08-16 09:53:02 +00:00
jfrijters
d691f24a49
*** empty log message ***
2007-07-18 07:42:40 +00:00
jfrijters
292fe036e6
Fixed to compile against .NET 1.1.
2007-07-04 09:16:40 +00:00
jfrijters
fef5a8394d
Updated to compile with Classpath HEAD again.
2007-07-03 06:34:54 +00:00
jfrijters
a1b74645cb
Added "hybrid" target.
2007-07-03 06:31:25 +00:00
jfrijters
e710375809
Switched Visual Studio project to hybrid build.
2007-06-22 07:00:56 +00:00
jfrijters
43b7e4a70f
Integrated OpenJDK's java.lang.reflect.* classes (except for Array).
2007-05-29 16:27:08 +00:00
jfrijters
595e22437e
Integrated GNU Classpath / OpenJDK hybrid build.
2007-05-24 12:17:38 +00:00
jfrijters
a9c461eb0a
*** empty log message ***
2007-04-12 09:30:29 +00:00
jfrijters
321b67182e
Updated version numbers.
2007-04-09 08:32:48 +00:00
jfrijters
96507f1100
New Visual Studio 2005 solution and project files.
2007-03-29 09:21:09 +00:00
jfrijters
870e2468f5
Removed .NET 2.0 specific code introduced in previous patch.
2007-03-15 07:59:33 +00:00
jfrijters
f3448608ef
Implemented java.awt.Desktop peer.
2007-03-13 08:10:13 +00:00
jfrijters
14edf6e8a4
Set AWT/WinForms thread as Background to stop it from keeping the process alive.
2007-03-09 07:11:52 +00:00
smallsql
aa6a2b79d2
Regression with setBounds() --> StackOverflow
2007-01-28 09:57:28 +00:00
smallsql
7e3ed06e95
Robot for Windows Implementiert
2007-01-27 15:40:41 +00:00
smallsql
a4e6e91923
Some fixes for GraphicsDevice
2007-01-27 15:37:35 +00:00
smallsql
d05b4a5adf
Fix some Winforms thread problems with calling of Invoke.
2007-01-21 20:29:52 +00:00
smallsql
a8104b54ae
Restructing the awt project part 2
2007-01-21 14:18:02 +00:00
smallsql
e1f31c1f66
getPaint and setPaint implemented
2007-01-21 13:04:58 +00:00
smallsql
370d5019bf
* canDisplay and canDisplayUpTo added with a hack
2007-01-21 13:03:05 +00:00
smallsql
b6c778f083
* ConvertColor added
...
* ConvertPoint added
* ConvertFont changed
2007-01-21 12:59:59 +00:00
smallsql
ba7aab9af2
Some fixes for SwingSet2 from Jeroen
2007-01-14 16:13:51 +00:00
smallsql
5c2c1adb14
* many problems with MouseEvents fix
...
* bee() implemented
* getInsets() optimized
2007-01-07 13:59:43 +00:00
jfrijters
2c274405f2
*** empty log message ***
2007-01-05 08:14:18 +00:00
smallsql
782d2c2ca2
* First Implementation of GlyphVector for .Net 1.1
...
* Compilerproblem with .NET 1.1 fixed
2007-01-04 20:43:41 +00:00
jfrijters
ccb2ddb757
*** empty log message ***
2007-01-04 07:46:38 +00:00
smallsql
e95565d4bb
Restructing of the awt files step 1
2006-12-30 15:10:54 +00:00
jfrijters
3f45beff8c
*** empty log message ***
2006-12-28 07:46:21 +00:00
jfrijters
bae5012609
*** empty log message ***
2006-12-21 08:38:07 +00:00
jfrijters
94150c5ed7
*** empty log message ***
2006-12-11 13:13:27 +00:00
jfrijters
c1a7c0e94e
*** empty log message ***
2006-12-11 07:07:12 +00:00
jfrijters
a6797b163f
*** empty log message ***
2006-11-07 09:14:08 +00:00
jfrijters
9b44ab46b1
*** empty log message ***
2006-11-01 10:15:47 +00:00
jfrijters
e123270260
*** empty log message ***
2006-09-22 05:52:10 +00:00
jfrijters
aec54826de
*** empty log message ***
2006-09-20 05:20:26 +00:00
jfrijters
8074d0f768
*** empty log message ***
2006-08-29 08:08:37 +00:00
jfrijters
f195541421
*** empty log message ***
2006-08-17 16:57:40 +00:00
jfrijters
3793579ea3
*** empty log message ***
2006-08-04 12:06:41 +00:00
jfrijters
037a008422
*** empty log message ***
2006-08-03 12:41:27 +00:00
jfrijters
b171ca8eee
*** empty log message ***
2006-08-03 08:08:51 +00:00
jfrijters
09907f030d
*** empty log message ***
2006-07-31 13:30:32 +00:00
jfrijters
f1283fb22e
*** empty log message ***
2006-07-31 13:11:44 +00:00
jfrijters
7732f0f6b6
*** empty log message ***
2006-07-31 12:46:44 +00:00
jfrijters
e0970786ec
*** empty log message ***
2006-07-18 07:38:24 +00:00
jfrijters
39e91cf332
*** empty log message ***
2006-07-04 10:13:32 +00:00
jfrijters
73e1fd5471
*** empty log message ***
2006-06-09 13:17:54 +00:00
jfrijters
03e7ccfc66
*** empty log message ***
2006-05-23 12:49:16 +00:00
jfrijters
d74992ed5a
*** empty log message ***
2006-05-16 08:34:55 +00:00
jfrijters
a505c50277
moved CompilerClassLoader.cs and remapper.cs from runtime to ikvmc
2006-04-10 09:18:37 +00:00
jfrijters
d5c157613e
*** empty log message ***
2006-03-23 11:57:41 +00:00
jfrijters
1d5f9f291c
*** empty log message ***
2006-03-11 18:35:29 +00:00
jfrijters
334ff21557
*** empty log message ***
2006-03-07 09:34:32 +00:00
jfrijters
d034223f36
*** empty log message ***
2006-01-31 10:13:12 +00:00
jfrijters
23a6923bb0
*** empty log message ***
2006-01-23 10:18:44 +00:00
jfrijters
e4052cc383
*** empty log message ***
2006-01-16 14:18:44 +00:00
jfrijters
7fb5bb4b47
*** empty log message ***
2005-12-07 09:06:32 +00:00
jfrijters
628427917b
*** empty log message ***
2005-11-14 10:16:50 +00:00