Skip to content

Commit

Permalink
preparing first beta
Browse files Browse the repository at this point in the history
darcs-hash:20090120083945-b9143-16ea4e487445bfe435959eaed6b05bd4c8869da4.gz
  • Loading branch information
info committed Jan 20, 2009
1 parent a74147f commit b9a55c2
Show file tree
Hide file tree
Showing 100 changed files with 13,525 additions and 7,009 deletions.
File renamed without changes.
25 changes: 12 additions & 13 deletions Readme
Expand Up @@ -2,31 +2,30 @@ Leksah, an Integrated Development Environment for Haskell
=========================================================

This is Leksah, a hopefully practical tool to support the Haskell development process.
The development has been started because no such tools were available at this time.

The development of an IDE is a big issue, so Ghf is intended to become a
community project and everyone is invited to contribute.

If you are a user or just test Ghf, we would appreciate to here from you
and problems and wishes for Ghf.

Ghf uses GTK+ as GUI Toolkit with the gtk2hs binding. It is plattform independend
Leksah uses GTK+ as GUI Toolkit with the gtk2hs binding. It is plattform independend
and should run on any plattform where GTK+, gtk2hs and ghc can be installed.
It is currently been tested on Windows and Linux. It uses the Cabal package management
and build system for Package Management.
It currently only supports the Glasgow Haskell Compiler (ghc).

Documentation can be found in the doc/ subdirectory.

Please send questions and suggestions to me:
System Requirements
===================

Jutaro <jnf@arcor.de>
Leksah currently requires:
GHC version 6.10.x
gtk2hs 0.9.14
other dependencies see cabal file

Leksah works better if you install GHC and additional packages with sources

System Requirements
===================
If you are a user or just test Leksah, we would appreciate to here from you.

Please send questions and suggestions to the developers
info(at)leksah(dot)org

Haddock currently requires GHC version 6.6 or 6.8 to compile.



Expand Down
11 changes: 7 additions & 4 deletions data/Current.session
@@ -1,6 +1,9 @@
Layout: VerticalP (TerminalP (Just TopP) 0) (HorizontalP (HorizontalP (TerminalP (Just TopP) 1) (TerminalP (Just BottomP) 0) 124) (TerminalP (Just BottomP) 0) 587) 769
Population: [(Just (FindSt FindState),[RightP,TopP,TopP]),(Just (LogSt LogState),[RightP,BottomP]),(Just (ModulesSt (ModulesState 348 (Package,True) (Nothing,Nothing))),[RightP,TopP,BottomP]),(Just (ToolbarSt ToolbarState),[RightP,TopP,TopP])]
Window size: (1400,1001)
Layout: VerticalP (TerminalP (Just LeftP) (-1)) (HorizontalP (TerminalP (Just BottomP) 0) (TerminalP (Just BottomP) 1) 376) 737
Population: [(Just (LogSt LogState),[RightP,BottomP]),(Just (ModulesSt (ModulesState 335 (Package,True) (Nothing,Nothing))),[RightP,TopP]),(Just (SearchSt (SearchState {searchString = "", searchScope = System, searchMode = Prefix {caseSense = False}})),[RightP,TopP])]
Window size: (1024,780)
Active package:
Nothing
Active pane: Nothing
Active pane: Nothing
Toolbar visible:
True
FindbarState: (True,FindState {entryStr = "", entryHist = [], replaceStr = "", replaceHist = [], caseSensitive = False, entireWord = False, wrapAround = True, backward = False, lineNr = 1})
10 changes: 6 additions & 4 deletions data/Default.candy
Expand Up @@ -9,14 +9,17 @@
"&&" 0x2227 --LOGICAL AND
"||" 0x2228 --LOGICAL OR
"++" 0x2295 --CIRCLED PLUS
"::" 0x2237 --PROPORTION
--"::" 0x2551 Trimming --BAR
"::" 0x2237 Trimming --PROPORTION
".." 0x2025 --TWO DOT LEADER
"^" 0x2191 --UPWARDS ARROW
"==" 0x2261 Trimming --IDENTICAL TO
--"." 0x2218 --RING OPERATOR
"==" 0x2261 --IDENTICAL TO
" . " 0x2218 --RING OPERATOR
"\" 0x03bb --GREEK SMALL LETTER LAMBDA
--"=<<" 0x291e --
">>=" 0x21a0
"$" 0x25ca
">>" 0x226b -- MUCH GREATER THEN

"forall" 0x2200 --FOR ALL
"exist" 0x2203 --THERE EXISTS
Expand All @@ -27,4 +30,3 @@
"delta" 0x03b4
"epsilon" 0x03b5


80 changes: 45 additions & 35 deletions data/Default.keymap
@@ -1,62 +1,58 @@
--Default Keymap file for Genuine Haskell Face
--Allowed Modifiers are <shift> <ctrl> <alt> <apple> <compose>
--<ctrl> can alternatively be called <ctrl>
--Apple is the Windows key on PC keyboards
--Compose is often labelled Alt Gr.
--<apple> is the Windows key on PC keyboards
--<compose> is often labelled Alt Gr.


--File
<ctrl>n -> FileNew "Opens a new empty buffer"
<ctrl>n -> FileNew "Opens a new empty buffer"
<ctrl>o -> FileOpen "Opens an existing file"
--<ctrl>x/<ctrl>f -> FileOpen "Opens an existing file"

<ctrl>o -> FileOpen "Opens an existing file"
--<ctrl>x/<ctrl>f -> FileOpen "Opens an existing file"
<ctrl>s -> FileSave "Saves the current buffer"
--<ctrl>x/<ctrl>s -> FileSave "Saves the current buffer"

<ctrl>s -> FileSave "Saves the current buffer"
--<ctrl>x/<ctrl>s -> FileSave "Saves the current buffer"
<ctrl><shift>s -> FileSaveAs "Saves the current buffer as a new file"
--<ctrl>x/<ctrl>w -> FileSaveAs "Saves the current buffer as a new file"

<ctrl><shift>s -> FileSaveAs "Saves the current buffer as a new file"
--<ctrl>x/<ctrl>w -> FileSaveAs "Saves the current buffer as a new file"
<ctrl>w -> FileClose "Closes the current buffer"
--<ctrl>x/k -> FileClose "Closes the current buffer"

<ctrl>w -> FileClose "Closes the current buffer"
--<ctrl>x/k -> FileClose "Closes the current buffer"

<alt>F4 -> Quit "Quits this program"
--<ctrl>x/<ctrl>c -> Quit "Quits this program"
<alt>F4 -> Quit "Quits this program"
--<ctrl>x/<ctrl>c -> Quit "Quits this program"

--Edit
<ctrl>z -> EditUndo "Undos the last user action"
--<ctrl>x/u -> EditUndo "Undos the last user action"
<ctrl>z -> EditUndo "Undos the last user action"
--<ctrl>x/u -> EditUndo "Undos the last user action"

<shift><ctrl>y -> EditRedo "Redos the last user action"
--<ctrl>x/r -> EditRedo "Redos the last user action"
<shift><ctrl>y -> EditRedo "Redos the last user action"
--<ctrl>x/r -> EditRedo "Redos the last user action"

--Just "<ctrl>X" -> EditCut
--Just "<ctrl>C" -> EditCopy
--Just "<ctrl>V" -> EditPaste
-> EditDelete
<ctrl>a -> EditSelectAll "Select the whole text in the current buffer"
--<ctrl>x -> EditCut
--<ctrl>c -> EditCopy
--<ctrl>v -> EditPaste
-> EditDelete
<ctrl>a -> EditSelectAll "Select the whole text in the current buffer"

F3 -> EditFind "Quits this program"
<ctrl>f -> EditFindNext "Search for a text string"
<ctrl>f -> EditFind "Search for a text string (Toggles the "
F3 -> EditFindNext "Find the next occurence of the text string"

<ctrl><shift>f -> EditFindPrevious
"Find the previous occurence of the text string"
<ctrl>r -> EditReplace
<shift>F3 -> EditFindPrevious "Find the previous occurence of the text string"

<ctrl>l -> EditGotoLine "Go to line with a known index"
<ctrl>l -> EditGotoLine "Go to line with a known index"

<ctrl><alt>Right -> EditComment "Add a line style comment to the selected lies"
<ctrl><alt>Left -> EditUncomment "Remove a line style comment"
<alt>Right -> EditShiftRight "Shift right"
<alt>Left -> EditShiftLeft "Shift Left"
<ctrl><alt>Right -> EditComment "Add a line style comment to the selected lies"
<ctrl><alt>Left -> EditUncomment "Remove a line style comment"
<alt>Right -> EditShiftRight "Shift right"
<alt>Left -> EditShiftLeft "Shift Left"

--View
<alt><shift>Left -> ViewMoveLeft "Move the current pane left"
<alt><shift>Right -> ViewMoveRight "Move the current pane right"
<alt><shift>Up -> ViewMoveUp "Move the current pane up"
<alt><shift>Down -> ViewMoveDown "Move the current pane down"

<ctrl>2 -> ViewSplitHorizontal
<ctrl>2 -> ViewSplitHorizontal
"Split the current pane in horizontal direction"
<ctrl>3 -> ViewSplitVertical
"Split the current pane in vertical direction"
Expand All @@ -67,6 +63,7 @@ F3 -> EditFind "Quits this program"
-> ViewTabsUp "Shows the tabs of the current notebook on the top"
-> ViewTabsDown "Shows the tabs of the current notebook on the bottom"
-> ViewSwitchTabs "Switches if tabs for the current notebook are visible"
<ctrl>t -> ToggleToolbar
-> HelpDebug
-> HelpAbout

Expand All @@ -76,3 +73,16 @@ F3 -> EditFind "Quits this program"

<ctrl>j -> NextError
<ctrl><shift>j -> PreviousError

<ctrl>m -> ShowModules
<ctrl>i -> ShowInterface
<ctrl>i -> ShowInfo


<ctrl><shift>e -> EditAlignEqual
<ctrl><shift>l -> EditAlignLeftArrow
<ctrl><shift>r -> EditAlignRightArrow
<ctrl><shift>t -> EditAlignTypeSig

-- <alt>i -> AddOneImport
-- <alt><shift>i -> AddAllImports
136 changes: 136 additions & 0 deletions data/Default.menu
@@ -0,0 +1,136 @@
<ui>
<menubar>
<menu name="_File" action="File">
<menuitem name="_New" action="FileNew" />
<menuitem name="_Open" action="FileOpen" />
<menuitem name="_Save" action="FileSave" />
<menuitem name="Save_As" action="FileSaveAs" />
<menuitem name="_Revert" action="FileRevert" />
<menuitem name="_Close" action="FileClose" />
<separator/>
<menuitem name="Close All" action="FileCloseAll" />
<menuitem name="Close All but Package" action="FileCloseAllButPackage" />
<separator/>
<menuitem name="_Quit" action="Quit" />
</menu>
<menu name="_Edit" action="Edit">
<menuitem name="_Undo" action="EditUndo" />
<menuitem name="_Redo" action="EditRedo" />
<separator/>
<menuitem name="Cu_t" action="EditCut" />
<menuitem name="_Copy" action="EditCopy" />
<menuitem name="_Paste" action="EditPaste" />
<menuitem name="_Delete" action="EditDelete" />
<menuitem name="Select _All" action="EditSelectAll" />
<separator/>
<menuitem name="_Find" action="EditFind" />
<menuitem name="Find_Next" action="EditFindNext" />
<menuitem name="Find_Previous" action="EditFindPrevious" />
<menuitem name="_Goto Line" action="EditGotoLine" />
<separator/>
<menuitem name="Comment" action="EditComment" />
<menuitem name="Uncomment" action="EditUncomment" />
<menuitem name="Shift Left" action="EditShiftLeft" />
<menuitem name="Shift Right" action="EditShiftRight" />
<separator/>
<menuitem name="Align =" action="EditAlignEqual" />
<menuitem name="Align <-" action="EditAlignLeftArrow" />
<menuitem name="Align ->" action="EditAlignRightArrow" />
<menuitem name="Align ::" action="EditAlignTypeSig" />
<separator/>
<menuitem name="Source Candy" action="EditCandy" />
<menuitem name="Edit general Preferences" action="PrefsEdit" />
</menu>
<menu name="_Package" action="Package">
<menuitem name="_New Package" action="NewPackage" />
<menuitem name="_Open Package" action="OpenPackage" />
<menuitem name="_Close Package" action="ClosePackage" />
<separator/>
<menuitem name="_Edit Cabal" action="EditPackage" />
<menuitem name="Edit _Flags" action="PackageFlags" />
<separator/>
<menuitem name="Clea_n Package" action="CleanPackage" />
<menuitem name="_Configure Package" action="ConfigPackage" />
<menuitem name="_Build Package" action="BuildPackage" />
<menuitem name="_Run" action="RunPackage" />
<menuitem name="_Next Error" action="NextError" />
<menuitem name="_Previous Error" action="PreviousError" />
<separator/>
<menuitem name="C_opy Package" action="CopyPackage" />
<menuitem name="_Install Package" action="InstallPackage" />
<menuitem name="Re_gister Package" action="RegisterPackage" />
<menuitem name="_Unregister Package" action="UnregisterPackage" />
<menuitem name="Test Package" action="TestPackage" />
<menuitem name="SDist Package" action="SdistPackage" />
<menuitem name="_Build Documentation" action="DocPackage" />
<separator/>
<menuitem name="Open Documentation" action="OpenDocPackage" />
</menu>
<menu name="_Metadata" action="Metadata">
<menuitem name="Update Project" action="UpdateMetadataCurrent" />
<menuitem name="Update Library" action="UpdateMetadataLib" />
<separator/>
<menuitem name="Show _Info" action="ShowInfo" />
<menuitem name="Show _Modules" action="ShowModules" />
<menuitem name="Show _Classes" action="ShowClasses" />
</menu>
<menu name="_Session" action="Session">
<menuitem name="Save Session" action="SaveSession" />
<menuitem name="Load Session" action="LoadSession" />
<menuitem name="Forget Session" action="ForgetSession" />
</menu>
<menu name="_View" action="View">
<menuitem name="Split H_orizontal" action="ViewSplitHorizontal" />
<menuitem name="Split V_ertical" action="ViewSplitVertical" />
<menuitem name="_Collapse" action="ViewCollapse" />
<menuitem name="Close Pane" action="ViewClosePane" />
<separator/>
<menuitem name="Move _Left" action="ViewMoveLeft" />
<menuitem name="Move _Right" action="ViewMoveRight" />
<menuitem name="Move _Up" action="ViewMoveUp" />
<menuitem name="Move _Down" action="ViewMoveDown" />
<separator/>
<menuitem name="Tabs _Left" action="ViewTabsLeft" />
<menuitem name="Tabs _Right" action="ViewTabsRight" />
<menuitem name="Tabs _Up" action="ViewTabsUp" />
<menuitem name="Tabs _Down" action="ViewTabsDown" />
<menuitem name="Switch Tabs" action="ViewSwitchTabs" />
<separator/>
<menuitem name="Clear Log" action="ClearLog" />
<menuitem name="Toggle Toolbar" action="ToggleToolbar" />
</menu>
<menu name="_Help" action="Help">
<menuitem name="_About" action="HelpAbout" />
</menu>
</menubar>
<toolbar name="toolbar">
<placeholder name="FileToolItems">
<separator/>
<toolitem name="New" action="FileNew"/>
<toolitem name="Open" action="FileOpen"/>
<toolitem name="Save" action="FileSave"/>
<toolitem name="Close" action="ViewClosePane"/>
<separator/>
</placeholder>
<placeholder name="FileEditItems">
<separator/>
<toolitem name="Undo" action="EditUndo"/>
<toolitem name="Redo" action="EditRedo"/>
<separator/>
<toolitem name="Find" action="EditFind"/>
</placeholder>
<placeholder name="BuildToolItems">
<separator/>
<toolitem name="Configure" action="ConfigPackage"/>
<toolitem name="Build" action="BuildPackage"/>
<toolitem name="Run" action="RunPackage"/>
<toolitem name="Next Error" action="NextError"/>
<toolitem name="Previous Error" action="PreviousError"/>
<separator/>
<separator/>
<toolitem name="Back" action="ViewHistoryBack"/>
<toolitem name="Forward" action="ViewHistoryForth"/>
<separator/>
</placeholder>
</toolbar>
</ui>
26 changes: 18 additions & 8 deletions data/Default.prefs
@@ -1,26 +1,36 @@

Show line numbers:
True
--(True/False)
TextView Font: ""
Right margin: 96
TextView Font: "Monospace 10"
Right margin: 101
--Size or 0 for no right margin
Tab width: 4
Use standard line ends even on windows:
True
Remove trailing blanks when saving a file:
True
Source candy: Default
--Empty for do not use or the name of a candy file in a config dir
Name of the keymap:
Default
--The name of a keymap file in a config dir
LogView Font: ""
Editor Style: ""
LogView Font: "Sans 10"
Window default size:
(800,800)
--Default size of the main leksah window specified as pair (int,int)
--Default size of the main ide window specified as pair (int,int)
Browser: "firefox"
Standard source editor path:
LeftTop
Standard source pane path:
[LeftP]
Standard log pane path:
[RightP,BottomP]
Standard modules pane path:
[RightP,TopP]
Paths under which haskell sources for packages may be found:
[]
Packages which are excluded from the modules pane:
[Dependency "ghc" AnyVersion]
[Dependency (PackageName "ghc") AnyVersion]
Update metadata after every build:
True
Update metadata at startup:
True

0 comments on commit b9a55c2

Please sign in to comment.