Beiträge getagged ‘eclipse’

MercurialEclipse 1.4.1280 released

11 September 2009

Thanks to great efforts of some new committers a new version of MercurialEclipse has been released, delivering a lot of improvements in different areas. Please have a look at the changelog at http://bitbucket.org/mercurialeclipse/main, the project site. If you encounter issues, you can file them there as well.

VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

GSoC students wanted!

18 März 2009

Hi all you Eclipse programmers and Mercurial users!

MercurialEclipse is participating under the umbrella of Mercurial in the Google Summer of Code (GSoC). Being one of the mentors, I would like to encourage YOU to apply as student for one of the projects outlined on the Mercurial Summer of Code page. So if you want to participate, please let me know :). Sending an E-Mail to the Mercurial developer mailing list might be good, too. Please have a look at the GSoC User guide to know how an application should look like.

Looking forward to your application and mentoring you :).

Bastian

VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Another commit dialog post…

4 März 2009

As I’m currently trying to enhance the MercurialEclipse dialogs that are used most regularly, the dialog has seen another change.

The newly introduced dialog tray is now not only showing the diff textually, but in a compare dialog. This means, that on selection of a changed file you get the “Show diff” button enabled. Clicking on it opens the tray and embeds the Eclipse compare dialog in order to be check changes in a structural compare viewer. When the file selection changes, the diff of the new file will automatically shown.

I plan to embed this dialog into the revert dialog as well. If you got any ideas, what could further be improved in the dialog to enhance the usuability, please comment – I’ll try to incorporate those suggestions if possible. Here’s a screenshot of the latest version:

Commit dialog with open tray (as of r1045)

Commit dialog with open tray (as of r1045)

VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

New commit dialog in MercurialEclipse

28 Februar 2009

Finally, I’ve refactored our good old commit dialog. It was overdue a long time ago, but after reading new complaints about it, I thought I would give it a shot. At least, it is now maintainable for me, as I changed it to GridLayout. As adding stuff is now quite easy, I added a few small features:

  • Ctrl+Enter now triggers the Ok-button.
  • Added a text field for recording the committers name – if not filled the configured user name is used, else the entered text. This makes the correct attribution of patches a lot easier.
  • A tray showing the current working directory diff, which can be opened by clicking “Show diff”. This is definitely inspired by Merclipse. @Whitney: If you have some ideas what could be better, please tell me :). Next step: Only show the diff for the files being visible…
  • Errors are now displayed via Error message as the dialog is now capable of showing error messages.

Here are some screenshots:

The new commit dialog with open tray.

The new commit dialog with open tray.

The new commit dialog with closed tray.

The new commit dialog with closed tray.


VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

MercurialEclipse 1.3.1019 released

14 Februar 2009
MercurialEclipse 1.3.1019 on MacOs X Leopard

MercurialEclipse 1.3.1019 on MacOs X Leopard

As of today, the first of the 1.3 versions of MercurialEclipse is released: 1.3.1019. Since we heard you like bugs fixed, we did some bug fixing, but also added some new features. The changelog looks like this:

  • Enable remote compare for outgoing changesets (r1000-r1004).
    Outgoing changes can now be shown in the Eclipse compare editor.

    Outgoing changes can now be shown in the Eclipse compare editor.

  • Fix multi-threading issues (e.g. r997).
  • Use hgattic extension for shelving/unshelving if it is available (r1012).
    If the HgAttic extension is installed, shelve and unshelve will use it.

    If the HgAttic extension is installed, shelve and unshelve will use it.

  • Support aliases for repositories
  • Beginnings of a project property page (r1016).
    A property page shows associated repositories.

    A property page shows associated repositories.

  • Bumped default timeout (r1017).
  • Saved commit messages are now configurable (r955).
  • Added option to choose color and font for decoration of changed, unknown, removed, added, ignored and conflicting files (r957).
    20090215_20090214_bild_61

    Colors and fonts of decorations can now freely be chosen.

  • Fixed massive performance bug in status decoration. Big projects will see major speed-ups when an incremental build is triggered, as builds don’t trigger status updates anymore (r981).
  • Fix for username caching in repository location.
  • Allow ignoring resources that are not in the status unknown.
  • Chinese translation, fix log parsing, add Options page for Import/Export of patches.
  • Added commit message dropdown in commit dialog #83 (r952).
    The commit dialog now allows to select a previously used commit message.

    The commit dialog now allows to select a previously used commit message.

    After selection of a previous commit message, it is automatically pasted into the message area.

    After selection of a previous commit message, it is automatically pasted into the message area.


VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: +1 (from 1 vote)

Mercurial Eclipse 1.2 has been released

2 Dezember 2008

Lime Fusion

Creative Commons License photo credit: The Rocketeer

We’ve unleashed our latest release, so head over to Assembla (see link in sidebar) and download it :-). As of differences, you can find them all in the changes section of the wiki – in my opinion the most interesting new features are bookmarks, hgsubversion and rebase support.

VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Shelve it, baby

23 November 2008

#07 [from::the office]; the workspace or empty

As a some people seem to miss a shelve / unshelve feature in Mercurial, we now have a self-grown solution that works a lot like the hgshelve extension. It does the following:

  • Check if we have not already shelved something for this project. If the shelf is not empty, we notify the user and abort.
  • Determine which project files are in one of the states modified, added, removed or deleted. If the repository root is hierarchically above the project level, only the files within the current project are considered.
  • Export a diff for all of these files to the file <project-name>-patchfile.patch that resides in the folder .hg/mercurialeclipse-shelve-backup. This patch file contains the diffs for all modified files in the project.
  • Determine the changeset at which the current working directory is via hg id.
  • Update to that changeset with hg update -C -r <changeset>.
  • Refresh the resources whose diff was exported.

For Unshelving these changes we do the following:

  • Check if there are files in our backup directory that contain shelved changes. Notify user and abort if no changes are shelved.
  • Import changes via hg import <patchfile>.
  • Empty shelve by deleting the patch file.
  • Refresh the project directory for updating files and decorations within Eclipse.

The mandatory screenshot:

The shelve functionality in MercurialEclipse

The current implementation is not compatible with the hg shelve extension, but this extension a) currently does not work and b) is only using interactive mode.

VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

New wizards for importing / exporting patches

21 November 2008

Steeven Lee contributed some nice wizards to MercurialEclipse. They facilitate importing and exporting of patches. See screenshots below:

Import:

Import wizard

Export:

Export wizard

VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Bookmarks, a.k.a. local branches in MercurialEclipse

15 November 2008

Had I known yesterday that I would have another feature to blog about, I’d have skipped the previous post and put it all together in this…

Screenshot of Bookmark dialog, create tab

Anyway, a new feature is now available in the current development version of MercurialEclipse, the Mercurial team plug-in for Eclipse: So called bookmarks.

The functionality is provided by the bookmarks extension, distributed together with Mercurial versions that are newer than 24.10.2008. So what are bookmarks? Have you heard of the complaint that Mercurial can’t do deleteable named branches within one clone? Don’t you want to clone to create a branch? Then the bookmark extension could be the solution for you. But keep in mind that bookmarks do not propagate to remote repositories. They are only available on your machine.

Bookmarks are pointers to specific heads. As with git local branches, they move with each commit and always point at the head. Update: There’s a nice introduction available at the blog of the extension’s author if you want to read more about the extension.

The dialog tab in the screenshot above allows you to create such bookmarks. If nothing is selected, it just sets the new bookmark to the tip revision. If you select a revision – I trust, you get it…

Contrary to named branches, bookmarks are local only and therefore aren’t under source control. This means, you can modify them as much as you like. Below you see our interface for renaming or deleting bookmarks.

Screenshot of Bookmark dialog, modify tab

Working with bookmarks is like using branches. On the command line you can use it wherever a revision needs to be specified. So we’ve extended our “Update to different changeset dialog…” to include bookmarks. The new tab looks like this:

Screenshot of UpdateToChangeset dialog, bookmark tab

Okay, that’s it for now. The next post about this follows when new features are available.

VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)

Rebase and subversion support in MercurialEclipse

14 November 2008

Screenshot of Rebase wizard

As MercurialEclipse is steadily evolving, the development version has got a few new features:

  • Rebase support has landed, but is of course only usable with current Mercurial crew as there hasn’t been a stable Mercurial release that supports rebase. Our new wizard supports all rebase options, including aborting and continuing previously started rebases.
  • The hgsubversion extension is now supported when pulling, pushing and cloning. This means, it is now possible to read from and write to subversion repositories while still using MercurialEclipse. Therefore you won’t have to interrupt your normal workflow, you can just work as with a normal Mercurial repository. Unfortunately, you need a rather new Mercurial installation for this as well. Other dependencies can be found at our project page.
  • Finally, we’ve been able to integrate the official Mercurial logo as Matt Mackall has granted usage of the official icons, even though the plug-in is not GPL, but EPL licensed.
  • Some internationalization fixes (UTF-8) have landed.

So feel free to grab a copy at http://hg.assembla.com/mercurialeclipse and enjoy the new stuff :-).

Bastian

VN:F [1.8.3_1051]
Rating: 0.0/5 (0 votes cast)
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)