Commit Graph

1151 Commits

Author SHA1 Message Date
Pankaj Bansal
70c9e026b6 8272148: JDesktopPane:getComponentCount() returns one extra than expected with GTKLookAndFeel
Reviewed-by: prr, serb
2021-09-10 06:13:32 +00:00
Andrey Turbanov
2e321dc782 8273528: Avoid ByteArrayOutputStream.toByteArray when converting stream to String
Reviewed-by: bpb, xuelei, serb, aivanov
2021-09-09 21:47:59 +00:00
Matthias Baesken
6eba443428 8273387: remove some unreferenced gtk-related functions
Reviewed-by: pbansal, clanger
2021-09-09 06:15:15 +00:00
Andrey Turbanov
59c9f75041 8273375: Remove redundant 'new String' calls after concatenation in java.desktop
Reviewed-by: aivanov
2021-09-08 14:28:07 +00:00
Andrey Turbanov
1513dc7afc 8271603: Unnecessary Vector usage in java.desktop
Reviewed-by: prr, serb
2021-09-08 04:36:41 +00:00
Andrey Turbanov
708407eddc 8273168: Remove superfluous use of boxing in java.desktop
Reviewed-by: aivanov
2021-09-07 21:12:35 +00:00
Prasanta Sadhukhan
df05b4d1a1 8271923: [macos] the text color on the selected disabled tabbed pane button remains white making text unreadable
Reviewed-by: jdv
2021-09-07 15:50:27 +00:00
Daniel Gredler
70ed6c5b8c 8272878: JEP 381 cleanup: Remove unused Solaris code in sun.font.TrueTypeGlyphMapper
Reviewed-by: prr, jdv
2021-09-06 08:13:22 +00:00
Sergey Bylokhov
7fff22afe7 8272805: Avoid looking up standard charsets
Reviewed-by: weijun, naoto, dfuchs, azvegint, erikj
2021-09-02 22:56:20 +00:00
Sergey Tsypanov
152e66923d 8273140: Replace usages of Enum.class.getEnumConstants() with Enum.values() where possible
Reviewed-by: tschatzl
2021-09-02 08:10:40 +00:00
Andrey Turbanov
d732c3091f 8272863: Replace usages of Collections.sort with List.sort call in public java modules
Reviewed-by: serb, dfuchs, naoto
2021-08-26 20:47:02 +00:00
Alexey Ushakov
c420530549 8272481: [macos] javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java fails
Reviewed-by: serb, jdv
2021-08-26 12:56:03 +00:00
Prasanta Sadhukhan
e43a907f20 8271315: Redo: Nimbus JTree renderer properties persist across L&F changes
Reviewed-by: aivanov
2021-08-26 12:04:10 +00:00
Alexey Ushakov
49b2789a49 8262751: RenderPipelineState assertion error in J2DDemo
Reviewed-by: jdv
2021-08-26 07:28:26 +00:00
Phil Race
f681d6544a 8272806: [macOS] "Apple AWT Internal Exception" when input method is changed
Reviewed-by: serb, dmarkov, azvegint
2021-08-24 15:23:15 +00:00
Prasanta Sadhukhan
22ef4f0653 5015261: NPE may be thrown if JDesktopIcon is set to null on a JInternalFrame
Reviewed-by: serb, prr, aivanov
2021-08-24 04:02:03 +00:00
Maxim Kartashev
9bc023220f 8269223: -Xcheck:jni WARNINGs working with fonts on Linux
Reviewed-by: prr, serb
2021-08-23 20:28:17 +00:00
Phil Race
ddcd851c43 8272602: [macos] not all KEY_PRESSED events sent when control modifier is used
Reviewed-by: kizune
2021-08-20 00:08:42 +00:00
Alexander Zuev
481c1f0549 8269951: [macos] Focus not painted in JButton when setBorderPainted(false) is invoked
Reviewed-by: serb, psadhukhan
2021-08-18 05:48:26 +00:00
Alexey Ushakov
17b9350023 8266079: Lanai: AlphaComposite shows differences on Metal compared to OpenGL
Reviewed-by: serb
2021-08-14 10:40:37 +00:00
Prasanta Sadhukhan
0c4be76f7f 8058704: Nimbus does not honor JTextPane background color
6789980: JEditorPane background color not honored with Nimbus L&F

Reviewed-by: aivanov, serb
2021-08-13 05:12:59 +00:00
Sergey Bylokhov
148935279d 8271718: Crash when during color transformation the color profile is replaced
Reviewed-by: prr
2021-08-10 22:22:42 +00:00
Andrey Turbanov
35b399aca8 8269130: Replace usages of Collection.toArray() with Collection.toArray(T[]) to avoid redundant array copying
Reviewed-by: mullan, serb
2021-08-10 13:27:59 +00:00
Artem Semenov
9c6457f222 8267385: Create NSAccessibilityElement implementation for JavaComponentAccessibility
8262031: Create implementation for NSAccessibilityNavigableStaticText protocol
8264287: Create implementation for NSAccessibilityComboBox protocol peer
8264303: Create implementation for NSAccessibilityTabGroup protocol peer
8264292: Create implementation for NSAccessibilityList protocol peer
8267387: Create implementation for NSAccessibilityOutline protocol
8267388: Create implementation for NSAccessibilityTable protocol
8264286: Create implementation for NSAccessibilityColumn protocol peer
8264298: Create implementation for NSAccessibilityRow protocol peer
8264291: Create implementation for NSAccessibilityCell protocol peer

Reviewed-by: kizune, pbansal, serb
2021-08-09 16:21:35 +00:00
Yi Yang
ea9a59520d 8270058: Use Objects.check{Index,FromIndexSize} for java.desktop
Reviewed-by: psadhukhan, pbansal, jdv
2021-08-05 06:39:20 +00:00
Sergey Bylokhov
6b55ef3b58 8271456: Avoid looking up standard charsets in "java.desktop" module
Reviewed-by: jdv, azvegint, aivanov
2021-08-04 18:44:18 +00:00
Prasanta Sadhukhan
4df1bc4bc6 6350025: API documentation for JOptionPane using deprecated methods.
Reviewed-by: jdv
2021-08-04 11:38:07 +00:00
Jayathirth D V
efcdcc7fb7 8270893: IndexOutOfBoundsException while reading large TIFF file
Reviewed-by: prr, serb
2021-08-04 09:16:35 +00:00
Sergey Tsypanov
6a3f8343bc 8268113: Re-use Long.hashCode() where possible
Reviewed-by: redestad
2021-08-02 12:49:41 +00:00
Prasanta Sadhukhan
baf7797b09 8049301: Suspicious use of string identity checks in JComponent.setUIProperty
Reviewed-by: azvegint
2021-07-30 15:37:30 +00:00
Emmanuel Bourg
d09b028407 8271396: Spelling errors
Reviewed-by: tschatzl, chegar, iris, psadhukhan, cjplummer
2021-07-29 16:03:31 +00:00
Tejpal Rebari
ecd445562f 8266510: Nimbus JTree default tree cell renderer does not use selected text color
Reviewed-by: psadhukhan, pbansal
2021-07-28 04:29:27 +00:00
Weijun Wang
90cd2fa164 8270859: Post JEP 411 refactoring: client libs with maximum covering > 10K
Reviewed-by: serb
2021-07-27 17:34:19 +00:00
Jesper Wilhelmsson
0dcfc42f23 Merge 2021-07-24 01:06:15 +00:00
Alexander Zuev
8adf008b15 8269984: [macos] JTabbedPane title looks like disabled
Reviewed-by: kcr, psadhukhan
2021-07-23 17:36:44 +00:00
Jesper Wilhelmsson
c36755dedf Merge 2021-07-22 00:46:18 +00:00
Phil Race
1c8b9727b7 8262477: Enhance String Conclusions
Reviewed-by: rhalade, mschoene, psadhukhan, jdv, serb
2021-07-21 20:28:56 +00:00
Phil Race
7b6410f213 8260453: Improve Font Bounding
Reviewed-by: rhalade, psadhukhan, mschoene, serb
2021-07-21 20:28:55 +00:00
Alexander Zuev
a033866d78 8269637: javax/swing/JFileChooser/FileSystemView/SystemIconTest.java fails on windows
Reviewed-by: aivanov
2021-07-14 18:25:57 +00:00
Jesper Wilhelmsson
6b123b0591 Merge 2021-07-13 10:50:18 +00:00
Phil Race
254600658a 8270216: [macOS] Update named used for Java run loop mode
Reviewed-by: serb
2021-07-10 19:12:59 +00:00
Jesper Wilhelmsson
a18a112963 Merge 2021-07-06 00:12:23 +00:00
Alexander Zuev
97e0e9e73d 8268775: Password is being converted to String in AccessibleJPasswordField
Reviewed-by: prr
2021-07-02 19:37:15 +00:00
Jesper Wilhelmsson
b0e186792e Merge 2021-07-02 01:07:50 +00:00
Maxim Kartashev
18f356a38e 8267307: Introduce new client property for XAWT: xawt.mwm_decor_title
Reviewed-by: azvegint, serb
2021-07-01 09:53:28 +00:00
Jayathirth D V
f7ffd5872d 8267602: [macos] [lanai] java/awt/PrintJob/Text/stringwidth.sh doesn't exit on cancelling print dialog
Reviewed-by: aghaisas, serb
2021-07-01 03:01:30 +00:00
Alexander Zvegintsev
51a1299b68 8264125: Specification of Taskbar::getIconImage doesn't mention that the returned image might not be equal to the Taskbar::setIconImage one. (eg on Mac OS)
Reviewed-by: kizune, prr
2021-06-26 15:57:45 +00:00
Anton Litvinov
c0b4407d09 8262731: [macOS] Exception from "Printable.print" is swallowed during "PrinterJob.print"
Reviewed-by: prr
2021-06-14 13:27:59 +00:00
Phil Race
991ca14279 8267430: GraphicsDevice.setDisplayMode(REFRESH_RATE_UNKNOWN) throws IAE: Unable to set display mode!
Reviewed-by: serb
2021-06-09 20:52:43 +00:00
Sergey Bylokhov
f6f82c3168 8266421: Deadlock in Sound System
Reviewed-by: prr, azvegint
2021-06-09 00:14:40 +00:00
Ajit Ghaisas
89da2021ee 8266159: macOS ARM + Metal pipeline shows artifacts on Swing Menu with Java L&F
Reviewed-by: jdv, prr
2021-06-08 09:45:35 +00:00
Alexey Ushakov
7e55569ede 8261549: Adjust memory size in MTLTexurePool.m
Reviewed-by: prr
2021-06-07 17:36:52 +00:00
Tejpal Rebari
042f0bdb35 8256465: [macos] Java frame and dialog presented full screen freeze application
Reviewed-by: kcr, serb, prr
2021-06-06 04:08:05 +00:00
Sergey Bylokhov
b2e9eb9e47 8268087: Update documentation of the JPasswordField
Reviewed-by: trebari, azvegint, prr
2021-06-05 15:41:04 +00:00
Pankaj Bansal
3025f05970 8264305: Create implementation for native accessibility peer for Statusbar java role
Reviewed-by: kizune
2021-06-04 05:18:33 +00:00
Weijun Wang
508cec7535 8267521: Post JEP 411 refactoring: maximum covering > 50K
Reviewed-by: dfuchs, prr
2021-06-02 15:48:50 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Dmitry Batrak
236bd89dc3 8263583: Emoji rendering on macOS
Reviewed-by: serb, prr
2021-05-31 07:14:53 +00:00
Alexander Zuev
7f52c50ba3 8182043: Access to Windows Large Icons
Reviewed-by: aivanov, azvegint, prr
2021-05-27 21:49:20 +00:00
Naoto Sato
a4c46e1e4f 8263202: Update Hebrew/Indonesian/Yiddish ISO 639 language codes to current
Reviewed-by: joehw
2021-05-26 15:52:39 +00:00
Pankaj Bansal
45e05970bc 8264302: Create implementation for Accessibility native peer for Splitpane java role
Reviewed-by: kizune
2021-05-26 12:17:21 +00:00
Alexander Zuev
d86f91642d 8267066: New NSAccessibility peers should return they roles and subroles directly
Reviewed-by: pbansal
2021-05-25 06:46:22 +00:00
Alexander Zuev
49f622c947 8208747: [a11y] [macos] In Optionpane Demo, inside ComponentDialog Example, unable to navigate to all items, with VO on
Reviewed-by: pbansal
2021-05-24 12:01:54 +00:00
Pankaj Bansal
4d26f22b9a 8264304: Create implementation for NSAccessibilityToolbar protocol peer
Reviewed-by: kizune
2021-05-23 03:00:48 +00:00
Ajit Ghaisas
72c9567b46 8263486: Clean up MTLSurfaceDataBase.h
Reviewed-by: serb
2021-05-22 03:16:17 +00:00
Prasanta Sadhukhan
e48d7d6658 8264218: Public method javax.swing.JMenu.setComponentOrientation() has no spec
Reviewed-by: aivanov
2021-05-21 09:37:48 +00:00
Phil Race
005d8a7fca 8256372: [macos] Unexpected symbol was displayed on JTextField with Monospaced font
Reviewed-by: erikj, serb
2021-05-20 19:49:03 +00:00
Alexander Zuev
f07dcf471c 8264290: Create implementation for NSAccessibilityComponentGroup protocol peer
Reviewed-by: pbansal
2021-05-20 10:31:37 +00:00
Sergey Bylokhov
e6705c0e4b 8266949: Check possibility to disable OperationTimedOut on Unix
Reviewed-by: azvegint, kizune
2021-05-18 19:30:33 +00:00
Alexey Ushakov
3e97b07a68 8267116: Lanai: Incorrect AlphaComposite for VolatileImage graphics
Reviewed-by: serb, aghaisas
2021-05-18 06:06:42 +00:00
Ajit Ghaisas
79b39445f6 8266520: Revert to OpenGL as the default 2D rendering pipeline for macOS
Reviewed-by: azvegint, trebari, kcr, prr
2021-05-17 16:32:51 +00:00
Pankaj Bansal
6c107fdff2 8264299: Create implementation of native accessibility peer for ScrollPane and ScrollBar Java Accessibility roles
Reviewed-by: kizune
2021-05-13 18:45:53 +00:00
Prasanta Sadhukhan
b50fc5f992 8265528: Specification of BasicSplitPaneDivider::getMinimumSize,getPreferredSize doesn't match with its behavior.
Reviewed-by: kizune
2021-05-13 04:42:38 +00:00
Alexey Ushakov
7433821910 8250658: Performance of ClipFlatOval Renderperf test is very low
Reviewed-by: jdv, aghaisas
2021-05-12 12:33:45 +00:00
Denis Konoplev
0e7bdae0f6 8265062: Remove duplication constant MaxTextureSize
Reviewed-by: prr, serb
2021-05-11 03:24:01 +00:00
Jayathirth D V
53db2a0acd 8226384: Implement a better logic to switch between OpenGL and Metal pipeline
Reviewed-by: prr
2021-05-10 10:36:23 +00:00
Pankaj Bansal
3af4efdfcf 8265291: Error in Javadoc for doAccessibleAction API in AccessibleJSlider class
Reviewed-by: azvegint, jdv
2021-05-08 10:56:29 +00:00
Tejpal Rebari
ebb68d2b86 8049700: Deprecate obsolete classes and methods in javax/swing/plaf/basic
Reviewed-by: psadhukhan, prr, serb, azvegint, iris
2021-05-07 05:12:57 +00:00
Jayathirth D V
2438498a3f 8252758: Lanai: Optimize index calculation while copying glyphs
Reviewed-by: aghaisas, pbansal
2021-05-06 12:35:13 +00:00
Matthias Baesken
ea30bd6684 8263362: Avoid division by 0 in java/awt/font/TextJustifier.java justify
Reviewed-by: psadhukhan
2021-05-06 11:57:20 +00:00
Phil Race
138d573c35 8262392: Update Mesa 3-D Headers to version 21.0.3
Reviewed-by: serb, jdv, kcr
2021-05-05 19:39:15 +00:00
Prasanta Sadhukhan
b71f85ad9d 8264398: BevelBorderUIResource​(int, Color, Color) and BevelBoder(int, Color, Color) spec should clarify about usage of highlight and shadow color
Reviewed-by: serb
2021-05-05 06:19:54 +00:00
Phil Race
80323b7f66 8261169: Upgrade HarfBuzz to the latest 2.8.0
Reviewed-by: serb
2021-05-04 18:23:09 +00:00
Phil Race
9c4efddb4a 8263124: Missed initialization of baselineY in sun.font.StrikeMetrics
Reviewed-by: azvegint, kizune, pbansal
2021-05-04 18:03:46 +00:00
Tejpal Rebari
30ccd8081b 8264950: Set opaque for JTooltip in config file of NimbusLookAndFeel
Reviewed-by: serb, pbansal
2021-05-04 04:53:25 +00:00
Sergey Bylokhov
020236cb98 8264786: [macos] All Swing/AWT apps cause Allow Notifications prompt to appear when app is launched
Reviewed-by: azvegint, kizune
2021-05-03 20:53:35 +00:00
Ajit Ghaisas
8fa50ebdf2 8263363: Minor cleanup of Lanai code - unused code removal and comments correction
Reviewed-by: serb
2021-05-03 04:37:24 +00:00
Sergey Bylokhov
dedddd5ab2 8266248: Compilation failure in PLATFORM_API_MacOSX_MidiUtils.c with Xcode 12.5
Reviewed-by: prr, azvegint
2021-05-02 05:29:12 +00:00
Alexey Ushakov
87de5b750d 8266040: Lanai: Incorrect calculations of clipping boundaries
Reviewed-by: jdv
2021-04-30 13:53:58 +00:00
Alexander Scherbatiy
e9370a13b6 8265761: Font with missed font family name is not properly printed on Windows
Reviewed-by: serb, prr
2021-04-30 08:46:58 +00:00
Alexey Ushakov
155da257fd 8265005: Introduce the new client property for mac: apple.awt.windowTitleVisible
Reviewed-by: serb
2021-04-29 07:31:10 +00:00
Yasumasa Suenaga
49372149e5 8266174: -Wmisleading-indentation happens in libmlib_image sources
Reviewed-by: azvegint
2021-04-29 04:21:57 +00:00
Alexey Ushakov
3bf4c904fb 8264317: Lanai: IncorrectUnmanagedImageRotatedClip.java fails on apple M1
Reviewed-by: serb
2021-04-25 20:52:08 +00:00
Ajit Ghaisas
cb8394a841 8265304: Temporarily make Metal the default 2D rendering pipeline for macOS
Reviewed-by: jdv, kcr, azvegint, prr
2021-04-17 12:33:07 +00:00
Denis Konoplev
926e3bc0c1 8264143: Lanai: RenderPerfTest.BgrSwBlitImage has artefacts on apple M1
Reviewed-by: jdv
2021-04-17 06:07:44 +00:00
Pankaj Bansal
6b907155f7 8265278: doc build fails after JDK-8262981
Reviewed-by: jdv, trebari
2021-04-15 14:04:22 +00:00
Denis Konoplev
0fee6ecac2 8264318: Lanai: DrawHugeImageTest.java fails on apple M1
Reviewed-by: serb, jdv
2021-04-15 13:50:22 +00:00
Pankaj Bansal
9d669c912d 8262981: Create implementation for NSAccessibilitySlider protocol
Reviewed-by: kizune
2021-04-15 11:45:41 +00:00
Alexey Ushakov
714ae54f91 8258788: incorrect response to change in window insets [lanai]
Reviewed-by: serb, jdv
2021-04-12 16:28:14 +00:00
Aleksey Shipilev
051c117bf0 8264923: PNGImageWriter.write_zTXt throws Exception with a typo
Reviewed-by: aivanov, jdv, azvegint, kizune
2021-04-09 06:24:48 +00:00