Permalink
Commits on Oct 1, 2011
  1. Sometime type parameters' positions seem to be undefined and this mak…

    …es the ScalaStructureBuilder failing (the exception is swallowed and an entry appear in the Error Log). To prevent this,check if the position is defined for the type parameter symbol before using it. If it's not defined then we log the problem so that we can get a better picture of why the position is undefined.
    dotta committed Oct 1, 2011
Commits on Sep 30, 2011
  1. Improved logger infrastructure. Specifically, created a trait HasLogg…

    …er that can be used by classes if they want to have access to the logger (HasLogger declares a dependency to the Logger). Further, the Logger's interface is now decoupled from its implementation so that in the future we can easily replace the default logger.
    dotta committed Sep 30, 2011
  2. Fixed #1000524, #1000568 and #1000586.

    ScalaStructureBuilder now correctly expose methods with generic signature to JDT. We use the Scala compiler for generating the java signature from a symbol, since that functionality is already there (call to erasure.javaSig(Symbol)).
    JavaSig class encapsulate the call to erasure.javaSig.
    
    In order to correct mapping of Scala Arrays (ticket #1000586) into Java ones, a new mapType(Type) method has been added to ScalaJavaMapper class. This method is also used to map types in absence of a java signature (which can occur if the method does not have any generic type in its declaration).
    
    All snippet of code that were provided with the tickets have been added to the regression suite. I also had to make some correction to existing tests, particularly for the structurebuilder test named _traits_, as the test's oracle was wrong.
    
    While with this commit we improve a lot interoperability of Java with Scala members, works still has to be done for mapping type parameters of classes. We have an open ticket for that (#1000625), but fixing it should be relatively easy now that we have a good infrastructure for retrieving generic java signature.
    dotta committed Sep 30, 2011
Commits on Sep 29, 2011
  1. Merge branch 'issue/no-line-breakpoint-in-object-private-method-3271'…

    … into release/scala-ide-2.0.x
    skyluc committed Sep 29, 2011
Commits on Sep 28, 2011
  1. Switched to SBT builder by default. Moved IDESettings from package un…

    …til to 'properties', to be together with
    
    the other Scala compiler settings.
    dragos committed Sep 28, 2011
  2. Fixed #1000605. SBT builder will choose a scala-library only if the s…

    …cala-library.jar exists on disk.
    dragos committed Sep 28, 2011
  3. Fixed #3271. Modified how elements at a position are searched for, so…

    … the best anwser possible is returned.
    skyluc committed Sep 28, 2011
Commits on Sep 26, 2011
  1. Merge branch 'wip_experiment'

    dotta committed Sep 26, 2011
  2. Merge branch 'wip_experiment'

    dotta committed Sep 26, 2011
  3. @Ignore failing test.

    dragos committed Sep 26, 2011
  4. Added test for dependency tracking. Should fail with SBT 0.11.0, but …

    …succeed once we move to 0.11.1 (tonight). Then #1000584 should be fixed.
    dragos committed Sep 26, 2011
  5. Better dependency between sdt.core project and sbt.full.library. The …

    …project name matches the bundle name and all jars are
    
    correctly exported by the project. The normal Plugin Dependencies mechanisms correctly adds the project to sdt.core's class path,
    so no more hard coded names to sbt jars in the sdt.core project.
    dragos committed Sep 26, 2011
  6. Bump sbt version

    hubertp committed Sep 26, 2011
Commits on Sep 25, 2011
Commits on Sep 23, 2011
  1. Allow for more 0.11.0.qualifiers.

    dragos committed Sep 23, 2011
  2. Fixed #1000618. The partition type for multi-line string was not full…

    …y known by the editor. This also fixed a similar problem with the 'indent' command.
    skyluc committed Sep 23, 2011
Commits on Sep 22, 2011
Commits on Sep 21, 2011
  1. Enable/disable 'additional command line parameter widget' according t…

    …o the status of 'use project settings'
    skyluc committed Sep 21, 2011
  2. Re-order save actions so the additionnal command line parameters sett…

    …ing is always correctly saved
    skyluc committed Sep 21, 2011
Commits on Sep 20, 2011