Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

EclipseFP changes from Summer of Code #20

Merged
merged 45 commits into from

2 participants

@serras

Hi,
I'm confident that some of my work for the Summer of Code is OK to got into the main repo, so everybody could have the latest version and sends bugs requests or suggestions.
There is more information about the features I've implemented (extended graphical Cabal file editing, package browser, HLint integration) in http://serras-haskell-gsoc.blogspot.com/2011/06/cabal-editor-hlint-suggestions.html and http://serras-haskell-gsoc.blogspot.com/2011/06/some-videos-on-haskell-browser.html

Thank you very much :)

serras added some commits
@serras serras Created project and item types for Haskell Browser. eeba1b8
@serras serras Change Package to HaskellPackage to avoid collision with java.lang.
Added methods for serializing and deserializing messages in JSON.
a641dcd
@serras serras - Preferences changes to get scion-browser executable path.
- Load scion-browser and communicate with it.
82e5e0f
@serras serras Loading of database, working on UI for non-blocking loading and
rebuilding.
54bb806
@serras serras Kill scion-browser when Eclipse is closed or when a new version of
scion-browser is selected.
87dfc8e
@serras serras Added icons and some documentation. e370817
@serras serras This version shows package information. ae89628
@serras serras Added Modules view. Added an image cache for better performance. 81c3b38
@serras serras Allow to change between flat and hierarchical style of modules. 2a203f9
@serras serras Remove some warnings. 7aad654
@serras serras Work on types and functions views. 99f50f2
@serras serras Solved bug for type synonyms. Added Haskell Browser perspective. 76ecbcb
@serras serras Show element documentation and Hackage page when double click. df8f3a7
@serras serras Small changes 5767ca1
@serras serras Moved part of the browser plugin to ui plugin, so further changes
would not create a cycle in the build.
60814b3
@serras serras Group instances from the same typeclass or applied to the same type
in the Browser.
968e742
@serras serras Refactored some parts of the views to static methods. Added classes to
represent Hoogle queries results.
971bc9c
@serras serras Refactoring in HtmlUtil to use less code and allow more customization. c1712c0
@serras serras More refactoring: moved different views into different packages so the
browser package didn't become very large, moved HtmlUtil to the
browser.util package and moved the way to show text into the views to
the corresponding Declaration elements.
ee3060c
@serras serras Add Hoogle view. f8f4370
@serras serras Added browser as plug-in of Haskell feature a4891e7
@serras serras Moved message literals in code to UITexts. dc573e5
@serras serras Added Hoogle view to Haskell perspective. 1e5dc7a
@serras serras Now the Hoogle view wraps together several definitions of the same
element defined in different modules. Added support for Hackage
browsing when double clicked an element from Hoogle view.
65000a4
@serras serras Refactored Cabal editor sections to allow widgets different from text
fields to be in the editor.
d9003c5
@serras serras Moved overview page to a new package. Added support for drop-down form
entries, and changed "License" property in Cabal editor to use it.
a596338
@serras serras Added "Advanced" page to Cabal editor. Create superclass for all Cabal
form pages to handle laziness in the page creation.
6499d82
@serras serras Work on the Overview page: added build options, working on data files. e3756e0
@serras serras Finish work on data files. 3044d42
@serras serras Always rebuild database if scion-browser is present, don't ask the
user everytime he or she starts the environment.
527c459
@serras serras Work on more editors for Cabal: source directories, modules list,
extensions list and part of dependencies manager.
8cb1aad
@serras serras Work on Dependencies selector. 01ba360
@serras serras More work on Cabal editor: creating widgets for Library page. 03a423b
@serras serras Small visual tweaks 4287833
@serras serras Work on Library page for Cabal editor, which should be completed by now.
Includes bug fixing of haskell.core.cabalmodel.ValuePosition and
haskell.core.cabalmodel.PackageDescription for adding and deleting
stanzas and elements.
3a70e63
@serras serras Created Executables page layout. 7815aee
@serras serras Work on Executables page. 43b037d
@serras serras Finished Executables page. a0781bf
@serras serras Added copyright notices. a33ae30
@serras serras Make scion-browser automatically compilable by the system, as happens
with scion-server.
2a1ea28
@serras serras Start working on HLint integration. Added builder to haskell.core
package. HLint uses JParsec as dependency.
882b21e
@serras serras Switched to JavaCC parser for HLint output and finish it. 43b0869
@serras serras Make HLint integration work.
Changed the names of some markers, so the the Cabal builder doesn't
remove all of them in each clean.
ee12acb
@serras serras Make HLint work asynchronous (advice from Eclipse plug-ins book). 374a066
@serras serras Merge remote-tracking branch 'upstream/master'
Conflicts:
	net.sf.eclipsefp.haskell-feature/feature.xml
41819e8
@JPMoresmau JPMoresmau merged commit f0e9e75 into JPMoresmau:master
@JPMoresmau
Owner

A couple of issues at first: your code doesn't compile with JDK 1.5. So far we have kept that compatibility. Especially for something trivial like String.isEmpty(), there are easy alternatives. Same thing for the Eclipse Version, I seem to have some problems building on Galileo (HaskellNature overrides non existing methods from the super class).
Is there instructions somewhere to build the JavaCC parser in the hlint project?

@JPMoresmau
Owner

I have just pushed some changes to make everything compile under Java 1.5, and I've also commited the generated hlint parser files to simplify matters.

@JPMoresmau
Owner

Can't build scion-browser on windows. Dependency on unix package, you see. Which renders it unusable to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 5, 2011
  1. @serras
  2. @serras

    Change Package to HaskellPackage to avoid collision with java.lang.

    serras authored
    Added methods for serializing and deserializing messages in JSON.
Commits on Jun 16, 2011
  1. @serras

    - Preferences changes to get scion-browser executable path.

    serras authored
    - Load scion-browser and communicate with it.
  2. @serras
  3. @serras

    Kill scion-browser when Eclipse is closed or when a new version of

    serras authored
    scion-browser is selected.
  4. @serras
Commits on Jun 17, 2011
  1. @serras
  2. @serras
  3. @serras
  4. @serras

    Remove some warnings.

    serras authored
  5. @serras
  6. @serras
Commits on Jun 18, 2011
  1. @serras
  2. @serras

    Small changes

    serras authored
  3. @serras

    Moved part of the browser plugin to ui plugin, so further changes

    serras authored
    would not create a cycle in the build.
  4. @serras
Commits on Jun 19, 2011
  1. @serras

    Refactored some parts of the views to static methods. Added classes to

    serras authored
    represent Hoogle queries results.
  2. @serras
  3. @serras

    More refactoring: moved different views into different packages so the

    serras authored
    browser package didn't become very large, moved HtmlUtil to the
    browser.util package and moved the way to show text into the views to
    the corresponding Declaration elements.
  4. @serras

    Add Hoogle view.

    serras authored
  5. @serras
  6. @serras
  7. @serras
  8. @serras

    Now the Hoogle view wraps together several definitions of the same

    serras authored
    element defined in different modules. Added support for Hackage
    browsing when double clicked an element from Hoogle view.
Commits on Jun 20, 2011
  1. @serras

    Refactored Cabal editor sections to allow widgets different from text

    serras authored
    fields to be in the editor.
Commits on Jun 21, 2011
  1. @serras

    Moved overview page to a new package. Added support for drop-down form

    serras authored
    entries, and changed "License" property in Cabal editor to use it.
  2. @serras

    Added "Advanced" page to Cabal editor. Create superclass for all Cabal

    serras authored
    form pages to handle laziness in the page creation.
  3. @serras
  4. @serras

    Finish work on data files.

    serras authored
  5. @serras

    Always rebuild database if scion-browser is present, don't ask the

    serras authored
    user everytime he or she starts the environment.
  6. @serras

    Work on more editors for Cabal: source directories, modules list,

    serras authored
    extensions list and part of dependencies manager.
Commits on Jun 22, 2011
  1. @serras

    Work on Dependencies selector.

    serras authored
  2. @serras
  3. @serras

    Small visual tweaks

    serras authored
Commits on Jun 23, 2011
  1. @serras

    Work on Library page for Cabal editor, which should be completed by now.

    serras authored
    Includes bug fixing of haskell.core.cabalmodel.ValuePosition and
    haskell.core.cabalmodel.PackageDescription for adding and deleting
    stanzas and elements.
  2. @serras
  3. @serras

    Work on Executables page.

    serras authored
Commits on Jun 24, 2011
  1. @serras

    Finished Executables page.

    serras authored
  2. @serras

    Added copyright notices.

    serras authored
  3. @serras
Commits on Jun 26, 2011
  1. @serras

    Start working on HLint integration. Added builder to haskell.core

    serras authored
    package. HLint uses JParsec as dependency.
Commits on Jun 27, 2011
  1. @serras
  2. @serras

    Make HLint integration work.

    serras authored
    Changed the names of some markers, so the the Cabal builder doesn't
    remove all of them in each clean.
  3. @serras
  4. @serras

    Merge remote-tracking branch 'upstream/master'

    serras authored
    Conflicts:
    	net.sf.eclipsefp.haskell-feature/feature.xml
Something went wrong with that request. Please try again.