Skip to content
Commits on Jun 21, 2012
  1. @skyluc

    Changed the 'kind' of the Scala library container

    See re #1000919 for explanation about container kind.
    
    Fix #1000798
    Fix #1000919
    Fix #1001022
    (manually merged from 1e308b4)
    skyluc committed Jun 21, 2012
Commits on Jun 18, 2012
  1. @dragos

    Better matching between file-system paths and workspace resources.

    A file-system path may correspond to several resources in the workspace. We used to choose
    the first one, which lead to build errors being attached to the top-level project in nested
    project setups, even when the error belonged to a nested project.
    
    Fixes #1000734, #1000621, #1000881. Should be back ported to 2.0.x
    (cherry picked from commit ca87df4)
    
    Conflicts:
    
    	org.scala-ide.sdt.core/src/scala/tools/eclipse/buildmanager/BuildReporter.scala
    	org.scala-ide.sdt.core/src/scala/tools/eclipse/buildmanager/sbtintegration/SbtBuildReporter.scala
    dragos committed Jun 15, 2012
  2. @dragos

    Fixed NPE when hovering over the 'Run As' button, for instance from P…

    …lay templates.
    
    (cherry picked from commit 7b530c4)
    dragos committed Mar 8, 2012
  3. @dotta

    Made ``Run As Scala Application`` more robust

    Display a dialog when trying to run a scala application if:
    
    * The project cannot be built (if that is the case, no binary is produced, hence the application cannot be run).
    * The package name doesn't match the source's physical location (this is a known limitation Re #1000541)
    * The main type name provided in the Launch Configuration does not point to an existing source.
    
    Fixed #1000911
    (cherry picked from commit 0b5f458)
    
    Conflicts:
    
    	org.scala-ide.sdt.core.tests/src/scala/tools/eclipse/TestsSuite.java
    dotta committed Jun 18, 2012
  4. @skyluc

    Merge pull request #123 from skyluc/issue/available-tests-bundle-1001080

    Make sdt.core.test reusable on 2.0.x
    skyluc committed Jun 18, 2012
Commits on Jun 15, 2012
  1. @skyluc

    Make sdt.core.test reusable

    Modified so the test platform can be used by other test fragments.
    Added to the update site in a dev support feature.
    
    This is a partial merge of:
    8110963 (test platform update)
    bfc88fd (new feature)
    
    Fix #1001080
    skyluc committed Jun 15, 2012
  2. @skyluc

    Clean file handle on refreshing changed files

    The custom code I wrote to read an IFile was not releasing the file handle correctly.
    It was eventually closed when the object was GCed.
    Replaced the code with some internal jdt util method.
    Removed the incorrect method.
    
    Fix #1000909
    
    This is a manual merge of bfb6d58 and part of be46489 from master.
    skyluc committed Jun 15, 2012
  3. @skyluc
Commits on May 15, 2012
  1. @dotta

    Correctly expose to JDT Scala sources' throws annotations

    Scala @throws annotation were not exposed to JDT up until now, which was
    causing wrong errors to be reported by the Scala presentation compiler.
    
    Fix #1001005, #1000707 and #1000800
    (cherry picked from commit 055a81c)
    dotta committed May 7, 2012
Commits on May 14, 2012
  1. @dotta

    Don't show Source Generation and Externalize (String) groups in edito…

    …r menu
    
    Disabled Java specific actions for Source Generation and Externalizing String.
    These actions were displayed in the editor's context menu, under the Source menu item.
    
    Created an enhancement ticket (Re #1001018).
    
    Fixed #1000972
    (cherry picked from commit 0fe0f5b)
    dotta committed May 9, 2012
Commits on May 11, 2012
  1. @dragos

    Use the configured JDK when instantiating the presentation compiler.

    The Scala compiler adds the currently running JDK to the class path, taking precedence over the JDK
    configured in the build path. This commit fixed #1000820, and generalizes the scheme used by the Sbt
    builder.(cherry picked from commit ab2137e)
    dragos committed May 10, 2012
Commits on Apr 23, 2012
  1. @dotta
Commits on Mar 23, 2012
  1. @dotta

    Revert "Re-introduced version number in org.scala-ide.sbt.full.librar…

    …y POM (it
    
    is suffixed in the name assigned to the bundled JAR)"
    
    This is not needed (and actually it turns out to be just completely useless).
    The reason is that when creating a p2 repository the version suffixed to the
    JAR's name is the ``<Bundle-Version>`` declared in the MANIFEST.
    
    Sorry for the noise.
    
    This reverts commit 4bad326.
    dotta committed Mar 23, 2012
  2. @dotta

    Re-introduced version number in org.scala-ide.sbt.full.library POM (i…

    …t is suffixed in the name assigned to the bundled JAR)
    dotta committed Mar 23, 2012
Commits on Mar 22, 2012
  1. @dotta

    Updated the scala-toolchain-scalaide-2.0.x toolchain URL defined for …

    …the 2.9.2-SNAPSHOT profile (in the pom file)
    dotta committed Mar 22, 2012
  2. @dotta

    Bumped IDE version to 2.0.2 and updated build scripts to use scala 2.…

    …9.2-SNAPSHOT (again).
    dotta committed Mar 22, 2012
Commits on Mar 21, 2012
  1. @dotta
  2. @dotta

    Some heavy cleanup of pom files and scripts. Further, I have created …

    …a parent
    
    pom project that contains properties common to all subprojects.
    dotta committed Mar 16, 2012
Commits on Mar 16, 2012
  1. @dotta
  2. @dragos @dotta
Commits on Mar 15, 2012
  1. @skyluc

    Correctly handle preferences change events

    Some Java preferences get set the first time a code template is
    used. This preference changes trigger UI updates, but the Java editor
    (base of the Scala editor) does not execute these UI updates in the right
    thread.
    Forcing those preference change to be run in the UI thread.
    Fixes #1000738
    (cherry picked from commit 8f534ee)
    
    Conflicts:
    
    	org.scala-ide.sdt.core/src/scala/tools/eclipse/ScalaSourceFileEditor.scala
    skyluc committed Mar 14, 2012
Commits on Mar 6, 2012
  1. @dotta
  2. @dotta

    Build the IDE using 2.0.x p2 repo for scalariform and scala-refactoring.

    The release/scala-ide-2.0.x branch need to be built using the release/scala-ide-2.0.x
    branches of both scala-refactoring and scalariform projects (look at the forked projects
    under scala-ide on github). To this end, I've made the necessary changes in the
    ``org.scala-ide.build`` POM file (look at the ``scala-2.9.2-SNAPSHOT`` profile).
    
    As part of this commit, I've also removed all profiles we don't use for building the
    Scala IDE 2.0.x. FInally, we don't need to build 2.0.x nightly for Scala 2.10 (it makes
    little sense, and it would actually require compiling scalariform and scala-refactoring
    with 2.10, create a Jenkins build, and such...).
    
    No review.
    dotta committed Mar 6, 2012
  3. @dotta

    Revert "Fixed build to adapt to new scalariform API."

    This reverts commit 9b7d398.
    
    The commit was needed because we used to build the release/scala-ide-2.0.x
    branch against scalariform and scala-refactoring *master*, indeed not a wise
    thing. Now, to build the release/scala-ide-2.0.x we are going to use
    the scala-ide-2.0.0-29 tag (which was created for the 2.0.0 release).
    dotta committed Mar 6, 2012
  4. @dotta

    Open Declaration via the context menu now works as expected.

    When the user right clicks on a element and select "Open Declaration" in the
    context menu, an instance of ``OpenAction`` is used to resolve the binding and
    jump to the declaration.
    
    Because the Eclipse API does not expose an extension point for this action, I
    had to create a custom extension point (using AJDT), which allows weaving in to
    JDT and can be used to intercept the creation of ``OpenAction``, if it
    originates from a Scala editor.
    
    This seem to be the only solution, which does not involve creating our own
    Scala Editor. Hopefully, we will be able to remove this custom extension point
    once we implement the Scala Editor (this is planned for Milestone 2 of the
    Scala IDE Helium).  Using AJDT for customizing the behavior of ``OpenAction``
    was also suggested by Andrew Eisenberg in the following StackOverflow question:
    
    	http://stackoverflow.com/questions/1882053/how-can-i-define-a-custom-action-for-open-declaration-shortcut-f3-in-eclipse
    
    Fix #1000920.
    (cherry picked from commit d43126d)
    dotta committed Mar 5, 2012
  5. @skyluc

    Fixed problem if typing braces at EOF.

    Added test cases.
    Re #1000926
    (cherry picked from commit 2405b62)
    skyluc committed Mar 5, 2012
  6. @skyluc

    Improved closing braces managment

    - closing brace is delete when deleting an adjoining opening brace
    - closing brace is jumped (not added) when hitting the '}' key.
    Added some weak regression tests.
    (cherry picked from commit 5af52de)
    skyluc committed Mar 5, 2012
Commits on Mar 5, 2012
  1. @dragos

    Removed useless distinction between `hasErrors` and `hasBuildErrors`.…

    …(cherry picked from commit 24a4734)
    dragos committed Feb 29, 2012
  2. @dragos
  3. @dragos

    Added project dependencies test, and refactored some other tests to r…

    …euse more code. Fixed #1000894.
    
    (cherry picked from commit 390a1cf)
    dragos committed Feb 11, 2012
  4. @dragos

    Fixed transitive and direct dependencies for project builders.

    (cherry picked from commit 493aa4f)
    dragos committed Feb 11, 2012
  5. @dragos

    Pass upstream projects API to the Sbt builder.

    Retrieve upstream analysis recursively, on all dependent projects.
    Moved the analysis store to the build manager level, instead of the compile run.
    (cherry picked from commit 8860921)
    
    Conflicts:
    
    	org.scala-ide.sdt.core/src/scala/tools/eclipse/buildmanager/sbtintegration/EclipseSbtBuildManager.scala
    	org.scala-ide.sdt.core/src/scala/tools/eclipse/buildmanager/sbtintegration/SbtConf.scala
    Iulian Dragos committed with dragos Feb 3, 2012
  6. @dragos

    Fixed 1000893. Added an option to stop building downstream projects

    if a project has compilation errors.(cherry picked from commit 0b3c20c)
    
    Conflicts:
    
    	org.scala-ide.sdt.core/src/scala/tools/eclipse/ScalaBuilder.scala
    (cherry picked from commit bbd3aea)
    Iulian Dragos committed with dragos Feb 3, 2012
  7. @dragos

    Merge pull request #77 from scala-ide/issue/code-completion-import-ba…

    …ckport-1000855
    
    Issue/code completion import backport 1000855
    dragos committed Mar 5, 2012
  8. @misto

    Perform code-completion and import-adding in one step.

    We need to to code-completion and import-adding in one step, otherwise
    we risk that adding the import fails because the code-completion has
    changed the underlying file and the AST positions are out of date for
    the refactoring-library.
    
    Fixes #1000854.
    
    This is a backport of dcec1f3.
    misto committed Jan 12, 2012
Something went wrong with that request. Please try again.