Commit Graph

143 Commits

Author SHA1 Message Date
Dmitry Cherepanov
194fc6af43 6619458: testcase depends on a file with the name te{st.html
Using test.html instead of te{st.html in reg test

Reviewed-by: son
2008-04-03 15:00:21 +04:00
Roman Kennke
e95ef5ac21 6677332: incorrect signatures for JNI methods in XWindow.c and XlibWrapper.c
Int replaced with jint in XWindow.c and WlibWrapper.c, and BOOL replaced with Bool in MouseInfo.c.

Reviewed-by: anthony
2008-04-02 17:45:50 +04:00
Anthony Petrov
4eb04f83d5 6681889: JSN security test headline/noWarningApp failed with NPE exception
The java.awt.Component.changeSupportLock field should be initialized in the readObject() method.

Reviewed-by: son, art
2008-04-01 17:38:46 +04:00
Dmitry Cherepanov
cfaf19f278 6637204: TrayIcon.displayMessage fails to show icon twice
The icon canvas should be validated to finalize its layout

Reviewed-by: ant
2008-03-31 15:56:12 +04:00
Dmitry Cherepanov
b2b125f8a9 6508505: JComboBox collapses immediately if it is placed to embedded frame
XWindowPeer should translate absolute coordinates to local

Reviewed-by: son
2008-03-31 15:41:56 +04:00
Yuri Nesterenko
b6a8a6ebd2 Merge 2008-03-28 03:06:00 -07:00
Andrei Dmitriev
44f8b333b5 Merge 2008-03-27 12:31:18 +03:00
Anton Tarasov
16c3e83a2b Merge 2008-03-27 11:35:00 +03:00
Anthony Petrov
fa0a3d0495 6603312: Segmentation fault running java -jar SwingSet2.jar in 256 color mode
Force hiding the splashscreen if the code cannot allocate a reasonable number of color cells on PseudoColor displays

Reviewed-by: son, art
2008-03-27 11:08:37 +03:00
Anton Tarasov
911da0a796 6616792: five AWT focus regression tests should be fixed
Fixed/refactored the tests.

Reviewed-by: volk
2008-03-26 17:38:26 +03:00
Anton Tarasov
75f6b17d66 6609607: test/closed/java/awt/Focus/AppletInitialFocusTest should be rewritten
Using test.java.awt.regtesthelpers.Util. Refactoring.

Reviewed-by: volk
2008-03-26 16:56:40 +03:00
Anton Tarasov
3a0d8165ce 6680135: A number of test/closed/java/awt/Focus/* tests should be opened
The tests moved from the closed repository.

Reviewed-by: son
2008-03-26 16:20:01 +03:00
Anton Tarasov
724ce6a00e Merge 2008-03-25 18:14:15 +03:00
Anton Tarasov
5b39f2291c 6613426: two WM_TAKE_FOCUS messages on one mouse click in GNOME Metacity 2.16.0
A workaround to the metacity issue 485016.

Reviewed-by: son
2008-03-25 18:08:57 +03:00
Andrei Dmitriev
f555fe0a57 6255653: REGRESSION: Override isLightweight() causes access violation in awt.dll
Verufy that the component to restack is a HW component by checking for instanceof WComponentPeer

Reviewed-by: son, anthony
2008-03-25 16:23:09 +03:00
Andrei Dmitriev
88699393d7 6610244: modal dialog closes with fatal error if -Xcheck:jni is set
Obtain WWindowPeer class every time it is required

Reviewed-by: art
2008-03-25 15:16:03 +03:00
Andrei Dmitriev
87e915d1af 6638872: invalid links
Removed invalid links

Reviewed-by: dcherepanov
2008-03-24 18:24:15 +03:00
Yuri Nesterenko
3965384d4c Merge 2008-03-24 06:33:16 -07:00
Anton Tarasov
1f1d82e2aa 6637607: 1st char. is discarded after a modal dialogue shows up and disappears
Reset consuming next KEY_TYPED on every subsequent KEY_PRESS.

Reviewed-by: son
2008-03-24 15:51:26 +03:00
Anton Tarasov
f865626b54 6599270: Using EmbeddedFrame in SWT leads to a hang
Excluding EmbeddedFrame from the workaround of activating a toplevel in not foreground process.

Reviewed-by: son
2008-03-21 09:54:50 +03:00
Anton Tarasov
74107ff438 6598089: JDK 7: AWT often goes into busy loop when showing dialog
Preventing focus from getting in an endless loop.

Reviewed-by: son
2008-03-20 18:06:41 +03:00
Oleg Sukhodolsky
816ed65ca6 6630878: clean target in sun/xawt is incomplete
Clean target should remove .gen_icons

Reviewed-by: yan
2008-03-20 16:21:44 +03:00
Anton Tarasov
6898039064 Merge 2008-03-20 14:26:38 +03:00
Anthony Petrov
eb02c12739 4993545: NativeInLightFixer adds asynchronousity
All the hooks related to the NativeInLightFixer have been moved to the HW/LW mixing handling methods. The NativeInLightFixer itself has been removed.

Reviewed-by: son, alexp
2008-03-20 11:09:16 +03:00
Anton Tarasov
a24634be6b 6567410: PIT : java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusSetVisibleTest.java fails
A filter flag has been added to the HCBT focus hook.

Reviewed-by: dcherepanov
2008-03-19 16:23:50 +03:00
Anthony Petrov
723e255938 6589527: Window and Frame instances can hide their "Applet Warning"
Additional constraints have been added for the setBounds() operation.

Reviewed-by: son, art
2008-03-18 16:19:03 +03:00
Anthony Petrov
c195eb4ef5 6581927: REG : Non focusable frame can be minimized to very small & Frame icon can be seen on frame buttons
The SWP_NOSENDCHANGING flag should not be passed to the ::SetWindowPos() WinAPI function when we receive the WM_MOUSEMOVE message while manually handling the resizing of non-focusable frames.

Reviewed-by: son, ant
2008-03-18 15:07:42 +03:00
Anthony Petrov
8813269b78 6304277: PIT: Adding a TrayIcon closes a SplashScreen on Solaris but not on Win32
The Window.closeSplashScreen() method now verified the boolean flag isTrayIconWindow, and returns if it is true.

Reviewed-by: son, dcherepanov
2008-03-18 14:36:14 +03:00
Anthony Petrov
80a01c0796 6637796: setBounds doesn't enlarge Component
Added the areBoundsValid() method that verifies whether the current bounds of the component are valid. Using the isValid() method for this purpose previously was incorrect.

Reviewed-by: son, art
2008-03-18 14:20:28 +03:00
Anthony Petrov
cdf1fcc79d 6607660: java.awt.Container.getMouseEventTargetImpl should be invoked while holding the TreeLock
The body of the method has been wrapped into the synchronized (getTreeLock()) { } block.

Reviewed-by: son, art
2008-03-18 14:10:28 +03:00
Anthony Petrov
f92bcde478 6613927: Compilation of splashscreen png library failed on Ubuntu 7.04 (64bit)
The macro PNG_NO_MMX_CODE should be defined when compiling on 64bit Linux

Reviewed-by: yan, avu
2008-03-18 13:53:08 +03:00
Anthony Petrov
2095e90fb0 6608764: PropertyChangeListeners machinery should have a better locking scheme
Change to use a private final object java.awt.Component.changeSupportLock for locking purposes instead of using this

Reviewed-by: son, ant
2008-03-18 12:04:20 +03:00
Tim Bell
3a9b62e3d3 Merge 2008-03-17 23:03:51 -07:00
Tim Bell
fa4fe9bea5 Merge 2008-03-17 22:56:59 -07:00
Bradford Wetmore
99370e418f Merge 2008-03-17 12:27:58 -07:00
Bradford Wetmore
e5c032b7a8 Merge 2008-03-17 11:53:36 -07:00
Xue-Lei Andrew Fan
04886b6f44 6447412: Issue with socket.close() for ssl sockets when poweroff on other system
Support SSL sockets SOLINGER

Reviewed-by: chegar
2008-03-17 03:11:29 -04:00
Xue-Lei Andrew Fan
e61d136dd9 6542796: CPU issue with JSSE and tomcat
Record length count error

Reviewed-by: weijun
2008-03-16 23:46:27 -04:00
Xue-Lei Andrew Fan
4a616b5705 6618387: SSL client sessions do not close cleanly. A TCP reset occurs instead of a close_notify alert
CloseIdelConnection() does not query the cached connection correctly.

Reviewed-by: chegar
2008-03-16 01:37:44 -04:00
Xue-Lei Andrew Fan
5fc030e9d3 6648816: REGRESSION: setting -Djava.security.debug=failure result in NPE in ACC
Unchecking the null pointer of the debug handle

Reviewed-by: mullan, weijun
2008-03-15 13:43:05 -04:00
Xueming Shen
8436026352 6514993: (prefs)prefs should use java.util.ServiceLoader to lookup service providers
Reviewed-by: iris
2008-03-14 14:21:03 -07:00
Dmitry Cherepanov
9e5bc6d8bf 6578583: Regression: Modality is broken in windows vista home premium from jdk1.7 b02 onwards
WS_DISABLED style should be used to fix some modality bugs

Reviewed-by: art, son
2008-03-14 22:00:33 +03:00
Dmitry Cherepanov
ad051bbc3a 6524352: support for high-resolution mouse wheel
Added support for high-resolution mouse wheel

Reviewed-by: dav, son
2008-03-14 20:40:09 +03:00
Dmitry Cherepanov
4033c90251 6603010: Out-of-process Java Plug-In non-functional or barely functional on X11 platforms
AWT XEmbed shouldn't use _SUN_XEMBED_START message

Reviewed-by: art, son
2008-03-14 18:50:02 +03:00
Dmitry Cherepanov
f97f9eb9a5 6612497: api/java_awt/Container/index.html#isAncestorOf Container2019 hangs since JDK 7 b15
Partial rollback changes for 6567564 in the Component.getGC method

Reviewed-by: art, son
2008-03-14 18:27:34 +03:00
Sean Mullan
aa16afbf77 Merge 2008-03-14 10:33:21 -04:00
Dmitry Cherepanov
07a1367346 6522731: Location of the frame changes,when the frame is resized & non-resized
XMoveWindow() should use shell's location

Reviewed-by: son
2008-03-14 17:23:25 +03:00
Roman Kennke
eab1a9b3df 6546113: (bf) CharSequence.slice() on wrapped CharSequence doesn't start at buffer position
Reviewed-by: iris
2008-03-13 19:34:49 +00:00
Alan Bateman
66fa5dcf96 6628575: (fc) lock/tryLock methods do not work with NFS servers that limit lock range to max file size
Reviewed-by: sherman
2008-03-13 19:29:41 +00:00
Sean Mullan
cf50796ba5 6611991: Add support for parsing RFC4514 DNs to X500Principal
Added new test and made one code change to escape null characters.

Reviewed-by: vinnie
2008-03-13 13:29:27 -04:00