933 Commits

Author SHA1 Message Date
Dmitry Cherepanov
7019b37e8c 6829180: Removing focused component from a window causes a JVM crash for JDK7b50+ on WinXP/Vista
Access pData on the toolkit thread

Reviewed-by: art, anthony, naoto
2009-06-05 17:30:05 +04:00
Yuri Nesterenko
1770d3d03e 6839645: Swing application prints message in Control Panel if language is changed
Just remove debug printout from production builds; ignore multicharacter-generating keys

Reviewed-by: uta
2009-06-03 17:41:05 +04:00
Andrei Dmitriev
fb9bba27b9 6844750: Solaris build failed after 6799099
Reviewed-by: yan
2009-05-25 18:22:23 +04:00
Andrei Dmitriev
072ba357bf 6799099: All automatic regression tests that create Robot fail on X11
Reviewed-by: art, ant
2009-05-22 16:09:45 +04:00
Anton Tarasov
b02a9e2e05 6833019: KeyboardFocusManager.getCurrentKeyboardFocusManager() throws unspecified HeadlessException
Reviewed-by: art
2009-05-21 15:04:23 +04:00
Artem Ananiev
55c50f50d0 6794764: Translucent windows are completely repainted on every paint event, on Windows
6719382: Printing of AWT components on windows is not working
6726866: Repainting artifacts when resizing or dragging JInternalFrames in non-opaque toplevel
6683775: Painting artifacts is seen when panel is made setOpaque(false) for a translucent window

Reviewed-by: anthony, tdv, alexp
2009-05-21 12:29:25 +04:00
Anthony Petrov
c403935e34 6839999: Cumulative fix for 6762511 and 6838003
Adds support for ARGB and ABGR X11 surfaces.

Reviewed-by: art, yan
2009-05-19 17:03:13 +04:00
Anthony Petrov
7648a0d70b 6812298: Dynamic GraphicsConfig changes don't work on X11 platforms
The peer gets recreated if the visual of the new GC differs from the previous one

Reviewed-by: art, dcherepanov
2009-05-19 14:14:31 +04:00
Anthony Petrov
41def7835d 6811219: Deadlock java AWT in XWarningWindow
The locking scheme has been re-architected, the code slightly refactored.

Reviewed-by: art, dcherepanov
2009-05-19 12:15:18 +04:00
Yuri Nesterenko
db67339fc1 6834525: PIT: RowToleranceTransitivityTest test fail with crash on rhel4 x86 and rhel 5x86
Do not try to use released XKB resources

Reviewed-by: art
2009-05-18 12:39:58 +04:00
Artem Ananiev
fb42efb4c9 6678385: Random java.lang.StackOverflowError from various JDKs
Reviewed-by: stayer
2009-05-15 15:40:35 +04:00
Anthony Petrov
a9fe649f3d 6838046: Rollback 6762511 due to build failure (6838003)
Reviewed-by: yan
2009-05-06 20:06:23 +04:00
Artem Ananiev
825bafa0ea 6837004: java.awt.GraphicsDevice.setFullScreenWindow throws NPE for windows with background color not set
Reviewed-by: yan, dcherepanov
2009-05-06 12:39:23 +04:00
Anthony Petrov
2c819571f1 6762511: Translucency is not working on Linux using Metacity
Introduced additional blits and new X11 surface types (ARGB, ABGR)

Reviewed-by: art, avu
2009-05-05 14:45:56 +04:00
Yuri Nesterenko
33484a2710 Merge 2009-04-28 13:41:11 -07:00
Yuri Nesterenko
06a805b13f Merge 2009-04-28 13:30:42 -07:00
Peter Zhelezniakov
c738ebdc67 6591875: Nimbus Swing Look and Feel
Reviewed-by: jasper, ohair
2009-04-25 21:17:50 +04:00
Tim Bell
cdcdf54d1e Merge 2009-04-21 21:26:21 -07:00
Anthony Petrov
176a41f92e 6802853: API: shaped & translucent windows
A public API for the feature forward-ported from 6u10.

Reviewed-by: yan
2009-04-21 11:35:52 +04:00
Martin Buchholz
c0b32f4e3c 6278014: java.util.logging.LogRecord.getThreadID() should provide real thread id
Make j.u.l. thread id a copy of Thread's id, for small values of thread id.

Reviewed-by: alanb
2009-04-20 21:57:01 -07:00
Jeremy Manson
8d5b9cfad8 6830220: Logging issues due to regression from bug fix 6797480
Reviewed-by: swamyv
2009-04-20 21:23:47 -07:00
Dmitry Cherepanov
fbea8d87f4 6825362: Avoid calling peer.setZOrder on Window instances
Reviewed-by: anthony
2009-04-20 19:18:41 +04:00
Dmitry Cherepanov
76fedc71ad 6770457: Using ToolTips causes inactive app window to exhibit active window behavior
Reviewed-by: art, ant
2009-04-20 17:05:34 +04:00
Dmitry Cherepanov
75d9b0f986 6633354: AppletPanel loads Swing classes
Reviewed-by: art, anthony
2009-04-20 14:41:24 -04:00
Alan Bateman
d4a0d0c66d 6831461: (sample) Copy -r fails with IllegalArgumentexception: 'maxDepth' is negative
Reviewed-by: chegar
2009-04-20 13:27:23 +01:00
Tim Bell
f70e9b8dd9 Merge 2009-04-18 14:10:27 -07:00
Abhijit Saha
d3af1f284c Merge 2009-04-17 09:21:27 -07:00
Anthony Petrov
4b321c2bfc 6829858: JInternalFrame is not redrawing heavyweight children properly
The Container.recursiveApplyCurrentShape() is now recursively called for all hw containers, even those having non-null layout

Reviewed-by: art, dcherepanov
2009-04-17 16:42:14 +04:00
Anthony Petrov
c0f20f9d47 6821948: Consider removing the constraints for bounds of untrusted top-level windows
The constrainBounds() methods are removed.

Reviewed-by: art, dcherepanov
2009-04-17 16:30:15 +04:00
Karl Helgason
b426a72177 6823446: Gervill SoftLowFrequencyOscillator fails when freq is set to 0 cent or 8.1758 Hz
Reviewed-by: amenkov
2009-04-17 16:28:02 +04:00
Karl Helgason
2f6783dce5 6823445: Gervill SoftChannel/ResetAllControllers jtreg test fails after portamento fix from last merge
Reviewed-by: amenkov
2009-04-17 16:20:50 +04:00
Anthony Petrov
e06ad08fd4 6826104: Getting a NullPointer exception when clicked on Application & Toolkit Modal dialog
The addition of window peers to the windows collection has been restored in XWindowPeer.

Reviewed-by: art, dcherepanov
2009-04-17 16:16:14 +04:00
Karl Helgason
b136abc344 6821030: Merge OpenJDK Gervill with upstream sources, Q1CY2009
Reviewed-by: darcy, amenkov
2009-04-17 16:13:43 +04:00
Alex Menkov
9a0763bf6b 6806019: 38 JCK api/javax_sound/midi/ tests fails starting from jdk7 b46
Reviewed-by: kalli
2009-04-17 15:15:20 +04:00
Alex Menkov
d15fceaa77 4895403: SPEC: documentation of javax.sound.sampled.spi.MixerProvider should be detailed
Reviewed-by: malenkov
2009-04-17 15:11:43 +04:00
Alex Menkov
8d4e786794 4672194: FloatControl should provide consistent policy for the floats
Reviewed-by: alexp
2009-04-17 15:10:05 +04:00
Alex Menkov
a758339886 5050147: RFE: Add More Useful Constructors to MidiMessage Subclasses
Reviewed-by: alexp
2009-04-17 15:02:46 +04:00
Artem Ananiev
fd76ca6d80 6829923: Test javax/swing/system/6799345/TestShutdown.java fails on X11 platforms
XAWT toolkit thread is correctly interrupted when AppContext is disposed

Reviewed-by: anthony, peterz
2009-04-17 12:46:24 +04:00
Alan Bateman
dd28a663e4 Merge 2009-04-17 09:38:24 +01:00
Yuri Nesterenko
4f420274a7 Merge 2009-04-16 23:14:12 -07:00
Abhijit Saha
885f8851c5 Merge 2009-04-16 22:47:29 -07:00
Abhijit Saha
32bc86d541 Merge 2009-04-16 21:08:04 -07:00
Xueming Shen
c435a0905d 4244499: ZipEntry() does not convert filenames from Unicode to platform
4532049: IllegalArgumentException in ZipInputStream while reading unicode file
5030283: Incorrect implementation of UTF-8 in zip package
4700978: ZipFile can't treat Japanese name in a zipfile properly
4980042: Cannot use Surrogates in zip file metadata like filenames
4820807: java.util.zip.ZipInputStream cannot extract files with Chinese chars in name

Add new constructors for zip classes to support non-UTF-8 encoded names/comments in ZIP file

Reviewed-by: alanb, martin
2009-04-16 21:00:42 -07:00
Xiomara Jayasena
c9560133fd Merge 2009-04-16 19:10:32 -07:00
Chris Hegarty
26ae13fe80 4927640: Implementation of the sctp protocol
An implementation-specific API for the Stream Control Transmission Protocol

Reviewed-by: alanb, michaelm, jccollet
2009-04-16 17:42:00 +01:00
Weijun Wang
3119cce77d 6830658: Changeset ec64fd74aa69 breaks the fastdebug build in NativeCreds.c
Reviewed-by: tbell
2009-04-16 11:16:40 +08:00
Alan Bateman
26dc2b8949 6543863: (fc) FileLock.release can deadlock with FileChannel.close
6429910: (fc) FileChannel.lock() IOException: Bad file number, not AsynchronousCloseException
6814948: (fc) test/java/nio/channels/AsynchronousFileChannel/Lock.java failed intermittently
6822643: (fc) AsynchronousFileChannel.close does not invalidate FileLocks

Reviewed-by: sherman
2009-04-15 16:16:35 +01:00
Alan Bateman
9e2590b7bf 6795561: (bf) CharBuffer.subSequence() uses wrong capacity value for new buffer
Reviewed-by: sherman, iris
2009-04-15 14:53:34 +01:00
Lana Steuck
1c53c596df Merge 2009-04-14 04:21:02 -07:00
Anthony Petrov
9c7b1e8b5b 6825342: Security warning may change Z-order of top-level
Added the SWP_NOOWNERZORDER flag when calling ::SetWindowPos()

Reviewed-by: art, dcherepanov
2009-04-14 14:17:31 +04:00