Skip to content

Commit

Permalink
New and Noteworthy 4.31
Browse files Browse the repository at this point in the history
  • Loading branch information
alshamams authored and sravanlakkimsetti committed Feb 28, 2024
1 parent 485f5eb commit 95083db
Show file tree
Hide file tree
Showing 40 changed files with 518 additions and 209 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Define topics for the What's New -->
<!-- ================================ -->
<toc label="What's New">
<topic href="whatsNew/jdt_whatsnew.html#Java21" label="Java Language Features"/>
<topic href="whatsNew/jdt_whatsnew.html#JavaEditor" label="Java Editor"/>
<topic href="whatsNew/jdt_whatsnew.html#JDTDev" label="JDT Developers"/>
<topic href="whatsNew/jdt_whatsnew.html#JavaCompiler" label="Java Compiler"/>
<topic href="whatsNew/jdt_whatsnew.html#JavaFormatter" label="JavaFormatter"/>
</toc>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
table.news tr td.content {vertical-align: top;}
ul {padding-left: 13px;}
</style>
<title>Eclipse Platform What's New in 4.30</title>
<title>Eclipse Platform What's New in 4.31</title>
</head>

<body>
<h2>What's New in Eclipse 4.30</h2>
<h2>Platform and Equinox API</h2>
<p>Here are descriptions of some of the changes of interest to plug-in developers
made to the Eclipse Platform and SWT for the 4.30 release of Eclipse.
made to the Eclipse Platform and SWT for the 4.31 release of Eclipse.
</p>
<ul><!-- NOTE: Sync ../topics_WhatsNew.xml with this! -->
<li><a href="#Platform">Platform Changes</a></li>
Expand All @@ -48,29 +48,75 @@ <h2>What's New in Eclipse 4.30</h2>
<tr>
<td id="Platform" class="section" colspan="2"><h2>Platform Changes</h2></td>
</tr>
<tr id="eclipse_search"> <!-- https://github.com/eclipse-platform/eclipse.platform.ui/pull/1054 -->
<td class="title">Eclipse Search</td>

<tr id="viewer_limit_jface"> <!-- https://github.com/eclipse-platform/eclipse.platform.ui/issues/1425 -->
<td class="title">Viewer Limit in JFace</td>
<td class="content">
<p>
The org.eclipse.search bundle has been split into core and ui bundles. This will allow headless extenders to make use of the text search engine.
</p>
<p>
The API method <code>org.eclipse.jface.viewers.ColumnViewer.setDisplayIncrementally(int incrementSize)</code> was added to
JFace. If <code>incrementSize</code> is set to some positive value, the viewer will initially show
no more than this number of child elements per parent element.
Additionally, the viewer provides a mechanism for a user to show more elements, if available, as needed.
This API solves the problem with UI hangs in case a viewer tries to display a very large number of child elements per parent element.
</p>
<p>
This feature is currently implemented in <code>org.eclipse.jface.viewers.TableViewer</code>
and <code>org.eclipse.jface.viewers.TreeViewer</code> but is not enabled by default;
<code>incrementSize</code> is <code>0</code> by default.
Each concrete viewer implementation is responsible to enable this feature if needed.
</p>
<p>Note that even though this feature is designed to be backwards compatible API,
there remains the possibility of regressions when converting existing viewer to use
the new API. Please fully test your code when enabling this functionality!
</p>
</td>
</tr>

<tr id="undo_snapshot"> <!-- https://github.com/eclipse-platform/eclipse.platform/pull/672 -->
<td class="title">Snapshot API for Undoable operations</td>
<tr id="viewer_limit_workbench"> <!-- https://github.com/eclipse-platform/eclipse.platform.ui/issues/1425 -->
<td class="title">Viewer Limit in Workbench</td>
<td class="content">
<p>Complementary to the JFace API above, <code>org.eclipse.ui.IWorkbenchPreferenceConstants</code> and
<code>org.eclipse.ui.views.WorkbenchViewerSetup</code> API's were added.
This API provides default workbench preference access and a convenient way for viewers
to use default workbench values without writing extra code to listen for preference changes.
</p>
</td>
</tr>

<tr id="eclipse-osgi-services_deprecation">
<!-- https://github.com/eclipse-equinox/equinox/issues/18 -->
<!-- https://github.com/eclipse-equinox/equinox/issues/191 -->
<!-- https://github.com/eclipse-equinox/equinox/pull/451 -->
<td class="title">Deprecation of Equinox Bundles</td>
<td class="content">
<p>
The org.eclipse.ui.ide.undo package in the org.eclipse.ui.ide bundle has been migrated into the core platform and is now available in the org.eclipse.core.resources.undo.snapshot package and it's internal counterpart. This has allowed JDT to move significant portions of their refactor and proposal logic into bundles more suited to a headless environment.
</p>
<p>
The following Equinox bundles are deprecated for removal:
</p>
<ul>
<li>
<code>org.eclipse.osgi.services</code><br/>
Its content has been replaced by the official OSGi bundles published to Maven-Central and it only re-exports these <code>org.osgi.service.*</code> bundles.
Consumers are already encouraged to replace their requirements on the bundle <code>org.eclipse.osgi.services</code> with imports of the actual required <code>org.osgi.service.*</code> packages.
This allows the OSGi runtime to choose any suitable, available provider of the package.
</li>
<li>
<code>org.eclipse.equinox.device</code><br/>
This implementation of the <code>org.osgi.service.device</code> service is not known to have any users and did not receive updates in the past.
It is deprecated for removal from future releases without replacement.
In case there are users after all, they can continue to use past releases, use an alternative implementation, or get in contact with the Equinox team.
</li>
</ul>
</td>
</tr>

<!-- ******************** End of Platform ********************** -->

<!-- *********************** SWT *********************** -->
<!--tr>
<!--
<tr>
<td id="SWT" class="section" colspan="2"><h2>SWT Changes</h2></td>
</tr-->
</tr>
-->
<!-- *********************** End of SWT *********************** -->
<tr><td colspan="2"/></tr>
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<!-- Define topics for the What's New -->
<!-- ================================ -->
<toc label="What's new">
<topic href="whatsNew/platform_whatsnew.html#Security" label="Security"/>
<topic href="whatsNew/platform_whatsnew.html#ViewsAndDialogs" label="Views, Dialogs and Toolbar"/>
<topic href="whatsNew/platform_whatsnew.html#TextEditors" label="Text Editors"/>
<topic href="whatsNew/platform_whatsnew.html#StylingThemes" label="Themes and Styling"/>
<topic href="whatsNew/platform_whatsnew.html#GeneralUpdates" label="General Updates"/>
</toc>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 95083db

Please sign in to comment.