Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency com.formdev:flatlaf-extras to v3.5.2 #735

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 15, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.formdev:flatlaf-extras 3.0 -> 3.5.2 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

JFormDesigner/FlatLaf (com.formdev:flatlaf-extras)

v3.5.2

Compare Source

Fixed bugs
  • Windows: Fixed repaint issues (ghosting) on some systems (probably depending
    on graphics card/driver). This is done by setting Java system property
    sun.java2d.d3d.onscreen to false (but only if sun.java2d.d3d.onscreen,
    sun.java2d.d3d and sun.java2d.noddraw are not yet set), which disables
    usage of Windows Direct3D (DirectX) onscreen surfaces. Component rendering
    still uses Direct3D. (issue #​887)
  • FlatLaf window decorations:
    • Iconify/maximize/close buttons did not fill whole title bar height, if some
      custom component in menu bar increases title bar height. (issue #​897)
    • Windows: Fixed possible application freeze when using custom component that
      overrides Component.contains(int x, int y) and invokes
      SwingUtilities.convertPoint() (or similar) from the overridden method.
      (issue #​878)
  • TextComponents: Fixed too fast scrolling in multi-line text components when
    using touchpads (e.g. on macOS). (issue #​892)
  • ToolBar: Fixed endless loop if button in Toolbar has focus and is made
    invisible. (issue #​884)
Other Changes
  • FlatLaf window decorations: Added client property JRootPane.titleBarHeight
    to allow specifying a (larger) preferred height for the title bar. (issue
    #​897)
  • Added system property flatlaf.useRoundedPopupBorder to allow disabling
    native rounded popup borders on Windows 11 and macOS. On macOS 14.4+, where
    rounded popup borders are disabled since FlatLaf 3.5 because of occasional
    problems, you can use this to enable rounded popup borders (at your risk).

v3.5.1

Compare Source

Fixed bugs
  • HTML: Fixed occasional cutoff wrapped text when using multi-line text in HTML
    tags <h1>...<h6>, <code>, <kbd>, <big>, <small> or <samp>.
    (issue #​873; regression in 3.5)
  • Popup: Fixed UnsupportedOperationException: PERPIXEL_TRANSLUCENT translucency is not supported exception on Haiku OS when showing popup (partly) outside of
    window. (issue #​869)
  • HiDPI: Fixed occasional wrong repaint areas when using
    HiDPIUtils.installHiDPIRepaintManager(). (see PR #​864)
  • Added system property flatlaf.useSubMenuSafeTriangle to allow disabling
    submenu safe triangle (PR #​490) for
    SWTSwing. (issue #​870)

v3.5

Compare Source

Fixed bugs
  • HTML: Fixed wrong rendering if HTML text contains <style> tag with
    attributes (e.g. <style type='text/css'>). (issue #​905; regression in 3.5.1)
  • FlatLaf window decorations:
    • Windows: Fixed possible deadlock with TabbedPane in window title area in
      "full window content" mode. (issue #​909)
    • Linux: Fixed continuous cursor toggling between resize and standard cursor
      when resizing window. (issue #​907)

v3.4.1

Compare Source

Fixed bugs
  • SplitPane: Update divider when client property JSplitPane.expandableSide
    changed.
  • TabbedPane: Fixed swapped back and forward scroll buttons when using
    TabbedPane.scrollButtonsPlacement = trailing (regression in FlatLaf 3.3).
  • Fixed missing window top border on Windows 10 in "full window content" mode.
    (issue #​809)
  • Extras:
    • FlatSVGIcon color filters now support linear gradients. (PR #​817)
    • FlatSVGIcon: Use log level CONFIG instead of SEVERE and allow
      disabling logging. (issue #​823)
    • Added support for JSplitPane.expandableSide client property to
      FlatSplitPane.
  • Native libraries: Added API version check to test whether native library
    matches the JAR (bad builds could e.g. ship a newer JAR with an older
    incompatible native library) and to test whether native methods can be invoked
    (some security software allows loading native library but blocks method
    invocation).
  • macOS: Fixed crash when running in WebSwing. (issue #​826; regression in 3.4)
Incompatibilities
  • File names of custom properties files for nested Laf classes now must include
    name of enclosing class name. E.g. nested Laf class IntelliJTheme.ThemeLaf
    used ThemeLaf.properties in previous versions, but now needs to be named
    IntelliJTheme$ThemeLaf.properties.

v3.4

Compare Source

Fixed bugs
  • SplitPane: Update divider when client property JSplitPane.expandableSide
    changed.
  • TabbedPane: Fixed swapped back and forward scroll buttons when using
    TabbedPane.scrollButtonsPlacement = trailing (regression in FlatLaf 3.3).
  • Fixed missing window top border on Windows 10 in "full window content" mode.
    (issue #​809)
  • Extras:
    • FlatSVGIcon color filters now support linear gradients. (PR #​817)
    • FlatSVGIcon: Use log level CONFIG instead of SEVERE and allow
      disabling logging. (issue #​823)
    • Added support for JSplitPane.expandableSide client property to
      FlatSplitPane.
  • Native libraries: Added API version check to test whether native library
    matches the JAR (bad builds could e.g. ship a newer JAR with an older
    incompatible native library) and to test whether native methods can be invoked
    (some security software allows loading native library but blocks method
    invocation).
  • macOS: Fixed crash when running in WebSwing. (issue #​826; regression in 3.4)
Incompatibilities
  • File names of custom properties files for nested Laf classes now must include
    name of enclosing class name. E.g. nested Laf class IntelliJTheme.ThemeLaf
    used ThemeLaf.properties in previous versions, but now needs to be named
    IntelliJTheme$ThemeLaf.properties.

v3.3

Compare Source

New features and improvements
  • macOS (10.14+): Popups (JPopupMenu, JComboBox, JToolTip, etc.) now use
    native macOS rounded borders. (PR #​772; issue #​715)
  • Native libraries: Added libflatlaf-macos-arm64.dylib and
    libflatlaf-macos-x86_64.dylib. See also
    https://www.formdev.com/flatlaf/native-libraries/.
  • ScrollPane: Support rounded border. (PR #​713)
  • SplitPane: Support divider hover and pressed background colors. (PR #​788)
  • TabbedPane: Support vertical tabs. (PR #​758, issue #​633)
  • TabbedPane: Paint rounded tab area background for rounded cards. (issue #​717)
  • ToolBar: Added styling properties separatorWidth and separatorColor.
Fixed bugs
  • Button and ToggleButton: Selected buttons did not use explicitly set
    foreground color. (issue #​756)
  • FileChooser: Catch NPE in Java 21 when getting icon for .exe files that use
    default Windows exe icon. (see
    JDK-8320692)
  • OptionPane: Fixed styling custom panel background in JOptionPane. (issue
    #​761)
  • ScrollPane: Styling ScrollPane border properties did not work if view
    component is a Table.
  • Table:
    • Switching theme looses table grid and intercell spacing. (issues #​733 and
      #​750)
    • Fixed background of boolean columns when using alternating row colors.
      (issue #​780)
    • Fixed border arc of components in complex table cell editors. (issue #​786)
  • TableHeader:
    • No longer temporary replace header cell renderer while painting. This avoids
      a StackOverflowError in case that custom renderer does this too. (see
      NetBeans issue #​6835) This
      also improves compatibility with custom table header implementations.
    • Header cell renderer background/foreground colors were not restored after
      hover if renderer uses null for background/foreground. (PR #​790)
  • TabbedPane:
    • Avoid unnecessary repainting whole tabbed pane content area when layouting
      leading/trailing components.
    • Avoid unnecessary repainting of selected tab on temporary changes.
    • Fixed "endless" layouting and repainting when using nested tabbed panes (top
      and bottom tab placement) and RSyntaxTextArea (with enabled line-wrapping)
      as tab content. (see
      jadx issue #​2030)
  • Fixed broken rendering after resizing window to minimum size and then
    increasing size again. (issue #​767)
Incompatibilities
  • Removed support for JetBrains custom decorations, which required
    JetBrains Runtime (JBR)
    8 or 11. It did not work for JBR 17. System property
    flatlaf.useJetBrainsCustomDecorations is now ignored. Note: FlatLaf
    window decorations continue to work with JBR.

v3.2.5

Compare Source

Fixed bugs
  • Popup: Fixed NPE if popup invoker is null on Windows 10. (issue #​753;
    regression in 3.2.1 in fix for #​626)

v3.2.4

Compare Source

Fixed bugs
  • Popup: Fixed NPE if popup invoker is null on Linux with Wayland and Java 21.
    (issue #​752; regression in 3.2.3)

v3.2.3

Compare Source

Fixed bugs
  • Popup: Popups that request focus were not shown on Linux with Wayland and Java 21.
    (issue #​752)

v3.2.2

Compare Source

Fixed bugs
  • Button: Fixed painting icon and text at wrong location when using HTML text,
    left/right vertical alignment and running in Java 19+. (issue #​746)
  • CheckBox and RadioButton: Fixed cut off right side when border is removed and
    horizontal alignment is set to right. (issue #​734)
  • TabbedPane: Fixed NPE when using focusable component as tab component and
    switching theme. (issue #​745)

v3.2.1

Compare Source

Fixed bugs
  • Fixed memory leak in
    MultiResolutionImageSupport.create(int,Dimension[],Function<Dimension,Image>),
    which caches images created by the producer function. Used by
    FlatSVGIcon.getImage() and FlatSVGUtils.createWindowIconImages(). If you
    use one of these methods, it is strongly recommended to upgrade to this
    version, because if the returned image is larger and painted very often it may
    result in an out-of-memory situation. (issue #​726)
  • FileChooser: Fixed occasional NPE in FlatShortcutsPanel on Windows. (issue
    #​718)
  • TextField: Fixed placeholder text painting, which did not respect horizontal
    alignment property of JTextField. (issue #​721)
  • Popup: Fixed drop shadow if popup overlaps a heavyweight component. (Windows
    10 only; issue #​626)

v3.2

Compare Source

Fixed bugs
  • Popup: Fixed NPE if popup invoker is null on Windows 10. (issue #​753;
    regression in 3.2.1 in fix for #​626)

v3.1.1

Compare Source

  • IntelliJ Themes:
    • Fixed too large menu item paddings and too large table/tree row heights (all
      "Material Theme UI Lite" themes; issue #​667; regression in FlatLaf 3.1).
    • Fixed too large tree row height in "Carbon", "Dark Purple", "Gray",
      "Material Design Dark", "Monokai Pro", "One Dark" and "Spacegray" themes.
  • Native libraries: Fixed IllegalArgumentException: URI scheme is not "file"
    when using FlatLaf in WebStart. (issue #​668; regression in FlatLaf 3.1)

v3.1

Compare Source

  • IntelliJ Themes:
    • Fixed too large menu item paddings and too large table/tree row heights (all
      "Material Theme UI Lite" themes; issue #​667; regression in FlatLaf 3.1).
    • Fixed too large tree row height in "Carbon", "Dark Purple", "Gray",
      "Material Design Dark", "Monokai Pro", "One Dark" and "Spacegray" themes.
  • Native libraries: Fixed IllegalArgumentException: URI scheme is not "file"
    when using FlatLaf in WebStart. (issue #​668; regression in FlatLaf 3.1)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner November 15, 2024 09:40
Copy link
Contributor

coderabbitai bot commented Nov 15, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@Ghost-chu Ghost-chu merged commit 3630cc6 into dev Nov 15, 2024
12 checks passed
@Ghost-chu Ghost-chu deleted the renovate/com.formdev-flatlaf-extras-3.x branch November 15, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant