Commit Graph

16004 Commits

Author SHA1 Message Date
Vitaly Provodin
eb55eb56b5 exclude sun/java2d/SunGraphics2D/EmptyClipRenderingTest.java on windows due to 8144029 2024-09-19 02:02:04 +02:00
Vitaly Provodin
578db782a9 add exclude list for Scale2 test runs 2024-09-19 02:02:04 +02:00
Vitaly Provodin
1d432330fc exclude java/awt/SplashScreen/MultiResolutionSplash/MultiResolutionSplashTest.java due to 8134231 2024-09-19 02:02:04 +02:00
Alexey Ushakov
20fe0945f4 JBR-3773 M1 java/awt/Window/WindowAppearanceTest/WindowAppearanceTest.java: : Incorrect color java.awt.Color[r=75,g=74,b=72]at (140,5)
Added more variants of colors for unfocused and focused titles
2024-09-19 02:02:04 +02:00
Nikita Gubarkov
719dbcd5a7 JBR API v0.0.2
Added file dialog customization via JBR API & fixed bugs in windows common item dialog

with fix for JBR-5300 Change source code and test files to use GPL license
2024-09-19 02:02:04 +02:00
Vitaly Provodin
bc6ec30e2e enable fixed tests to regular runs 2024-09-19 02:02:04 +02:00
Vitaly Provodin
cc975102e0 exclude javax/swing tests on mac-aarch64 due to 8277816 2024-09-19 02:02:04 +02:00
Alexey Ushakov
d9afd0d5df JBR-3954 Transparent text color rendering (needed for experimental UI)
Performed conversion from ARGB_PRE to ARGB in the grayscale text shader
2024-09-19 02:02:03 +02:00
Alexey Ushakov
8fe0cdf324 JBR-3872 [JBR17+Metal] Wrong color for scrollbars and inlay hints
Corrected typo in setTxtUniforms and fixed alpha blending in frag_gmc_text shader
2024-09-19 02:02:03 +02:00
Dmitry Batrak
d4d7379fd6 JBR-4021 Unexpected focus event order on window showing
(cherry picked from commit 2a398ebb24)

includes fix for JBR-4131 Popup doesn't get focus if created from context menu

(cherry picked from commit 685562aafc)
2024-09-19 02:02:03 +02:00
Maxim Kartashev
577659db00 JBR-3923 Internal Error in c1_Instruction.cpp
Make C1 hotspot compiler bail out during CFG construction if there's a
cycle in the graph that isn't a natural loop and that has led to an
unexpected state of stack/locals like missing a phi function.

This is a temporary measure that lets hotspot continue working
even after encountering such bytecode patterns. The full solution
will probably involve more sophisticated CFG checks.

(cherry picked from commit aa0b61cb75)
2024-09-19 02:02:03 +02:00
Vitaly Provodin
52b8d897de exclude tests spontaneously creating windows during test execution 2024-09-19 02:02:03 +02:00
Maxim Kartashev
54fd4f372e JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled
The _NET_FRAME_EXTENTS property that is used to obtain the initial
insets of a dialog window does not immediately get its value and may be
returned as 0 if queried too soon after the window creation.

In order to avoid (incorrect) guessing of dialog's insets, make 3
attempts at getting the insets with a small but increasing pause
in between them.
2024-09-19 02:02:02 +02:00
Maxim Kartashev
d14dc9cb69 Revert "JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled"
This reverts commit 8e7aed70976ec0f90c736d86b9cd3e9cf09ff6d4.
2024-09-19 02:02:02 +02:00
Nikita Provotorov
10c29d9c1a JBR-3838 AltGr on Polish keyboard triggers Ctrl+Alt shortcut.
Add regression test.

(cherry picked from commit 8df43eef4b)

with fix for JBR-5300 Change source code and test files to use GPL license
2024-09-19 02:02:02 +02:00
Maxim Kartashev
fd2a25ab3a JBR-3835 Cropped messages in all Message Dialogs in Idea on Ubuntu 18.04.5 LTS with swing alerts enabled
The _NET_FRAME_EXTENTS property that is used to obtain the initial
insets of a dialog window does not immediately get its value and may be
returned as 0 if queried too soon after the window creation.

In order to avoid (incorrect) guessing of dialog's insets, add an
artificial delay if getInsets() is called too soon.
2024-09-19 02:02:02 +02:00
Alexey Ushakov
514830b3bc JBR-3820 Gamma correction for grayscale text in Metal rendering pipeline
Added regression test to compare OGL and Metal text rendering
2024-09-19 02:02:02 +02:00
Dmitry Batrak
1cfe2ac330 JBR-2759 Typeahead issue on Linux
(cherry picked from commits 76bdaf1131, b20c56ff3e, c9609330f2, a170b4e4ae)
2024-09-19 02:02:01 +02:00
Maxim Kartashev
f3624b3bed JBR-2273 JBR musl port
Detect if we're running on a musl-based system by checking for the presence
of the libgcompat.so glibc compatibility library in the process' map.
If so, java is re-started with LD_LIBRARY_PATH set to point to the right
directory with libjvm.so. This works around the problem with the musl
dynamic library loader.

(based on commit 13a904ddb5)
2024-09-19 02:02:01 +02:00
Maxim Kartashev
2c33bad437 JBR-3664 Logging for communications with X server
Introduced logging controlled with -Dsun.awt.x11.trace.
Currently, only looks at the AWT lock and reports methods holding it
sorted by average hold time.

(based on commit 792a58ea0e)
(based on commit 770b4dc9c1)
2024-09-19 02:02:01 +02:00
Dmitry Batrak
d74dd5dc07 JBR-3726 Modal windows 'disappear' on minimize in KDE
(cherry picked from commits d9baf2d9db, 9c2841028f, 5c4fd9ceaf, f0ed32fca4)
2024-09-19 02:02:01 +02:00
Dmitry Batrak
4ce32f8895 JBR-3706 Toggling full screen mode for two frames doesn't work on macOS if invoked without delay
(cherry picked from commit 28cfc4815f)
2024-09-19 02:02:00 +02:00
Dmitry Batrak
5a30dbb18d JBR-3686 Background window steals focus when converted to full screen on macOS
(cherry-picked from commit 07a5b9672e)

with fix for JBR-6436 crash in jb/java/awt/Focus/FullScreenFocusStealing.java and jb/java/awt/Window/FullScreenTwoFrames.java

(cherry picked from commit 98b3ac5221)

with fix for JBR-6569 macOS: SIGILL at [libsystem_kernel] __kill in This decoder will only decode classes that adopt NSSecureCoding. Class 'AWTView' does not adopt it.

(cherry picked from commit 7af653070f)
2024-09-19 02:02:00 +02:00
Dmitry Batrak
0eb77d5c3c JBR-3662, JBR-3672 Focus jumps to another project tab after closing modal dialog
(cherry picked from commit bfd01081c3, 2a71dc5981)
2024-09-19 02:02:00 +02:00
Dmitry Batrak
4665b0d7e0 JBR-3642 java/awt/Window/8159168/SetShapeTest.java fails on macOS-x64 & macOS-aarch64
make sure jb/java/awt/Focus/Typeahead* tests still pass

includes fixes for JBR-3786 javax/swing/plaf/aqua/CustomComboBoxFocusTest.java fails on MacOS by timeout
(cherry picked from commit f5c5388fb5)

and JBR-4113 java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.java fails by time out on macOS

(cherry picked from commit d8d4c55a61)
2024-09-19 02:02:00 +02:00
Anton Tarasov
6371134388 JBR-3337 jb/java/jcef/HandleJSQueryTest3314.sh: fails on macOS-aarch64 with "JS Query was not handled in 2nd opened browser"
(cherry picked from commit 8678f41971)
2024-09-19 02:01:59 +02:00
Elena Sayapina
ef36549f22 JBR-2657 [TESTBUG] ChainOfPopupsFocusTest misbehaving on Windows
- changed open popup shortcut from Ctrl+N to Ctrl+M, so no new explorer windows appear if desktop gets focused by error
- added a click on the main test frame, so it gets focus when running from background cygwin process on Windows, otherwise it just flashes on the taskbar

(cherry picked from commit eda8e4d50e)
2024-09-19 02:01:59 +02:00
Dmitry Batrak
83adf83ac4 JBR-3024 Popups are shown with 1x1 size sometimes
test case only

(cherry picked part of commit ee298f5287)

with fix for JBR-5300 Change source code and test files to use GPL license
2024-09-19 02:01:59 +02:00
Vitaly Provodin
8549a2fe72 JBR-3314 add regression test
(cherry picked from commit c81adfed61)
2024-09-19 02:01:59 +02:00
Dmitry Batrak
b57cd45ee2 JBR-3072 Deadlock on nested dialog hiding
(cherry picked from commits 99242748ee, ad1595b5c2)

with fix for JBR-5300 Change source code and test files to use GPL license
2024-09-19 02:01:58 +02:00
Nikita Gubarkov
f455a45118 JBR-2924 Do not try to create native italic font when we're going to make it fake italic 2024-09-19 02:01:58 +02:00
Vitaly Provodin
f77115ab9c JBR-1718 add a regression test
(cherry picked from commit 84ff4eab21)

with fix for JBR-5300 Change source code and test files to use GPL license
2024-09-19 02:01:58 +02:00
Elena Sayapina
08886867d9 JBR-2890 [TESTUPDATE] Enable jcef tests on macOS aarch64 platform
(cherry picked from commit 1714d7b627)
2024-09-19 02:01:58 +02:00
Nikita Gubarkov
fe9e07fba5 Added JBR API
with fix for JBR-5300 Change source code and test files to use GPL license
2024-09-19 02:01:58 +02:00
Mikhail Grishchenko
281738e830 JBR-2890 Disable jcef tests on 32-bit and aarch64 platforms
(cherry picked from commit d34d6528fe)
2024-09-19 02:01:58 +02:00
Vitaly Provodin
e05d827f1c exclude bug7154030 on macosx-aarch64 due to 8268284 2024-09-19 02:01:57 +02:00
Vitaly Provodin
0d62698f1d exclude SharedMemoryPixmapsTest on macosx-all due to 8221451 2024-09-19 02:01:57 +02:00
Denis Konoplev
4ff8e75a66 JBR-3544: Generate popup invoked instead of New in this directory.
- A fix
- A regression test (cherry picked from commit 7995574c09)
2024-09-19 02:01:57 +02:00
Anton Tarasov
633ae6c3f0 JBR-2872 improve: JBR-2866 JCEF: Markdown editor steals focus from a different frame
(cherry picked from commit bad748e3d0)
2024-09-19 02:01:56 +02:00
Anton Tarasov
229726c2d1 JBR-2866 JCEF: Markdown editor steals focus from a different frame
with fix for JBR-5300 Change source code and test files to use GPL license
2024-09-19 02:01:56 +02:00
Anton Tarasov
5c8248ded7 JBR-2645 enable CefBrowser.close(true) in jcef reg tests
(cherry picked from commit 492c217125)
2024-09-19 02:01:56 +02:00
Anton Tarasov
5217a7507c JBR-2259 WebSite isn't loaded with .loadUrl method if browser isn't shown in UI
(cherry picked from commit 57bbddf071)
2024-09-19 02:01:56 +02:00
Anton Tarasov
4a686f2df7 JBR-2557 use com.jetbrains.cef.JCefAppConfig in JCEF tests
(cherry picked from commit e30a309f92)
2024-09-19 02:01:56 +02:00
Anton Tarasov
75c474d035 JBR-2282 [jcef] update to JCEF/80.0.4+g74f7b0c+chromium-80.0.3987.122
(cherry picked from commit a5adc725df)
2024-09-19 02:01:56 +02:00
Anton Tarasov
34f19db50b JBR-2305 jcef: jb/java/jcef/JCEFStartupTest.java throws java.lang.ExceptionInInitializerError
(cherry picked from commit f0385f01ec)
2024-09-19 02:01:56 +02:00
Anton Tarasov
9334cc8c94 JBR-2306 jcef: jb/java/jcef/JCEFStartupTest.java unexpectedly exits with the exit code: 0
(cherry picked from commit ff7d7bd43c)
2024-09-19 02:01:55 +02:00
Anton Tarasov
da1e86a8f0 JBR-2299 [mac] jcef requests for "chromium safe storage" keychain access
(cherry picked from commit dd1334a352)
2024-09-19 02:01:55 +02:00
Anton Tarasov
09664702bd JBR-2222 Crash during closing IDE
(cherry picked from commit d0c367b31f)
2024-09-19 02:01:55 +02:00
Anton Tarasov
73d1f5a851 JBR-2287 [jcef] add CefBrowser wrapper to jtreg tests
(cherry picked from commit fa961d1769)
2024-09-19 02:01:55 +02:00
Anton Tarasov
4e74368c75 JBR-2148 JCEF: JBR bundle has invalid app structure
(cherry picked from commit f45f84d7ed)
2024-09-19 02:01:55 +02:00