Release 2.5.0
Was already merged in Bitbucket before import, marked as merged by the import user
-
Starting '2.5.0' branch.
-
Fixed warnings about resources management with try-with-resources.
-
Fixed some warnings about strings not being translated.
-
Changed formatting preference to format the entire file on save.
-
Fixed deprecation warnings related to property pages.
-
Trimmed trailing spaces.
-
Converted Patch action set to a toolbar due to the deprecation notice of actions sets.
-
Converted team ("Mercurial") action set to a toolbar due to the deprecation notice of actions sets.
-
Fixed a deprecation warning.
-
Fixed warnings about "generic types Class should be parameterized".
-
Changed the wording of a few sentences.
-
Harmonized naming conventions back to the Patch toolbar/action set.
-
Overhaul of UI elements (commands, handlers, etc.) defined in plugin.xml: refactoring in order to remove deprecated APIs.
-
Changes for dealing with deprecation notices.
-
Removed classes contributed to org.eclipse.core.resources that were used for supporting old Eclipse APIs.
-
Fixed Checkstyle warnings about star imports.
-
Sort entries in ui.commands in alphabetical order.
-
Sort entries in ui.handlers in alphabetical order.
-
Fixed deprecation notice on ViewerSorter.
-
Fixed deprecation notice on IDE.getEditorDescriptor.
-
Fixed deprecation notice on Plugin.savePluginPreferences().
-
Fixed deprecation notice on ContextChangeSet.getComment() in the Mylyn API.
-
Fixed some warnings about using deprecated methods.
-
Code cleaning: made some methods static.
-
Removed implementation of an org.eclipse.core.resources v3.12 method after setting the API baseline to Neon.R (v3.11).
-
Deleted obsolete platform target files.
-
Updated formatter profile to support ON/OFF tags.
-
Updated readme file for building 2.4.0+ versions.
-
Changed version numbers to 2.5.0
-
Split the synchronization handler into distinct specialized handlers.
-
Renamed the Synchronize handler.
-
Reverted code rewriting in HgPath and HgRoot due to an unexpected exception (#538 (closed)/#541 (closed)).
-
Reverted type modification.
-
Fixed classpath issue in project 'plugin-m2e'.
-
Fixes an exception when opening the project properties page on Java projects.
-
Updated (in the readme file) instructions for setting up a development environment.
-
Updated versions of dependencies to their standard versions in Neon.R 4.6.0.
-
Fixed a project reference in the MavenInit launch.
-
Updated dependencies to JavaHg 0.11 and Guava 18.0.
-
Fixed unqualified reference to a constant.
-
Harmonized the use of expression definitions.
-
Fixes issue #562 (closed) Highlight the default changeset in the Synchronize view.
-
Minor. Comments + contributor list.
-
Fixes #564 (closed) Add option for using timestamp instead of the age in the Synchronize view.
-
Fixes issue #563 (closed) Failure to enable toolbar icons.
-
Starting 'feature-check-command-handlers' branch
-
Overhauled the command handling: checked enablement of all toolbar icons and refactored some command handlers.
-
Fixes #561 (closed) Unwanted decoration overlay on changesets in the Synchronize view.
-
Fixes #512 (closed) After pull, the obtained revisions are in Draft phase instead of Public phase.
This issue occurred in cases where MercurialEclipse had cached the incoming changesets in a temporary bundle file. Apparently, pulling changesets from a bundle file always puts those changesets into Draft phase in the local repo, regardless of whether they are Draft or Public phase in the remote repo.
After pulling changesets from the temporary bundle file, MercurialEclipse now also performs an additional pull from the remote repository. This second pull transmits only phase information, which updates the changesets pulled from the bundle file so they have the correct phase.
This implementation is an improvement on the previous solution, which solved the problem simply by always pulling the changesets from the other repo instead of the bundle file. While this worked, it had the unfortunate effect of double-transmitting the changesets (once to create the bundle, and again for the actual pull). This revised implementation will only transmit the changesets from the remote repo to the local disk once.
Technical notes: The previous solution for issue #512 (closed) was merged into the default branch in changeset 05738cad8ff0. However, I believe it was inadvertently backed out by merge changeset e7f5d7695761. So, this new changeset serves not only to improve upon the previous solution but also to re-address the original issue after it was reintroduced. Ironically, the inadvertent back-out was actually helpful for this, since many of the changes from the original solution needed to be backed out anyway for this improved solution.
-
Fixed the enablement of the Compare With Another Changeset handler.
-
Fixes #569 (closed) Remove command fails.
-
Minor. Comments.
-
Added white border keyline to the Incoming an Outgoing and changed the overlay position from top right to bottom right.
-
resolves #565 (closed) Add read-only option for hgrc
This changeset adds the "Do not modify the repository hgrc file" setting to the general preferences page. The setting is disabled by default, so the plugin behavior does not change without explicit user action. When the setting is enabled, no modifications will be made to hgrc files when a new default repository is selected (i.e. those changes will be persisted only in the Eclipse preferences).
-
Issue #561 (closed): added status icon overlays for the files in the Incoming and Outgoing groups.
-
Minor: refactoring.
-
Fix enable state initialization for file label incoming changeset preference
On the performance preference page, the "Show incoming changeset information for files (very slow)" preference has no effect unless the "Show changeset information for files (slow)" preference is selected. The enable state for the preference was correctly updated as its dependency preference value was changed, but the initial state was always enabled. Now the preference checkbox is initially enabled only when the dependency preference is selected. Restoring default settings also updates the enable state now.
-
Fixes #513 (closed) Label description sometimes shows push needed even when it is not needed
This changeset adds a performance preference to control how unpublished changesets are determined for the project resource label. Two stategies are supported - Draft changesets and Outgoing changesets.
The "Draft changesets" option uses the current behavior of simply counting the number of local changesets that are in the draft phase. This is a local operation, so no interaction with remote repositories will occur.
The "Outgoing changeets" option uses the 'hg outgoing' command to compare the local repository against its default remote repository to see how many changesets are in the local repository but not in the remote repository. This option guarantees an accurate count of changesets to be transferred but requires interaction with the remote repository to execute. This option uses the outgoing changeset cache to ensure that the outgoing changesets are calculated only once per repository, which prevents repeated executions (and repeated communications with remote repositories) for repositories that contain multiple projects.
Pushing local changesets to a remote repository will normally shift their phase from draft to public, but pushing to a non-publishing repository will keep the changesets in draft phase. The option for "Draft changesets" is the default as it works well for most cases (except for non-publishing repositories, due to the changesets remaining in draft phase after pushing) and does not require network communications. When working with non-publishing repositories, the "Outgoing changesets" option will accurately determine the number of local changesets that are not in the default remote repository, although factors such as network latency could reduce performance.
-
Added preference for enabling or disabling SCM icon overlays on changeset files of the Synchronize view.
-
Fixed Show History, Add and Revert commands and handlers.
-
Added header required for Java 9 compatibility.
-
Closing branch: 2.5.0.
-
Release 2.5.0
-
Added tag RELEASE_2.5.0 for changeset 76a5f90efc46