Permalink
Browse files

preparing first beta

darcs-hash:20090120083945-b9143-16ea4e487445bfe435959eaed6b05bd4c8869da4.gz
  • Loading branch information...
1 parent a74147f commit b9a55c2e7a54775b7b2708f1e5ff95d0fdfaaa6d info committed Jan 20, 2009
Showing with 13,525 additions and 7,009 deletions.
  1. 0 data/gpl.txt → LICENSE
  2. +12 −13 Readme
  3. +7 −4 data/Current.session
  4. +6 −4 data/Default.candy
  5. +45 −35 data/Default.keymap
  6. +136 −0 data/Default.menu
  7. +18 −8 data/Default.prefs
  8. +339 −0 data/LICENSE
  9. +21 −0 data/Module.template
  10. BIN data/ide_error_next.png
  11. BIN data/ide_error_prev.png
  12. BIN data/ide_reexported.png
  13. BIN data/ide_source.png
  14. BIN data/leksah.gif
  15. BIN data/leksah.png
  16. BIN data/pointer.png
  17. +0 −61 doc/Todo.txt
  18. +2,964 −171 doc/leksah_manual.lyx
  19. BIN doc/leksah_manual.pdf
  20. BIN doc/screenshots/AfterStart.png
  21. BIN doc/screenshots/AtWork.png
  22. BIN doc/screenshots/ConstructModule.png
  23. BIN doc/screenshots/EditMenu.png
  24. BIN doc/screenshots/EditPrefs.png
  25. BIN doc/screenshots/FileMenu.png
  26. BIN doc/screenshots/FindBar.png
  27. BIN doc/screenshots/FirstStart.png
  28. BIN doc/screenshots/GUIPrefs.png
  29. BIN doc/screenshots/InfoPane.png
  30. BIN doc/screenshots/MetadataMenu.png
  31. BIN doc/screenshots/MetadataPrefs.png
  32. BIN doc/screenshots/ModulesPane.png
  33. BIN doc/screenshots/PackageEditor1.png
  34. BIN doc/screenshots/PackageEditor2.png
  35. BIN doc/screenshots/PackageFlags.png
  36. BIN doc/screenshots/PackageMenu.png
  37. BIN doc/screenshots/SearchPane.png
  38. BIN doc/screenshots/SelectModule.png
  39. BIN doc/screenshots/SessionMenu.png
  40. BIN doc/screenshots/SourceCandy.png
  41. BIN doc/screenshots/UsagePane.png
  42. BIN doc/screenshots/ViewMenu.png
  43. +49 −46 leksah.cabal
  44. +86 −0 src/Control/Event.hs
  45. +7 −7 src/{IDE/Utils → }/DeepSeq.hs
  46. +6 −4 src/{IDE/Utils → }/Default.hs
  47. +288 −0 src/Graphics/UI/Editor/Basics.hs
  48. +144 −92 src/{IDE/Framework/CompositeEditors.hs → Graphics/UI/Editor/Composite.hs}
  49. +241 −0 src/Graphics/UI/Editor/MakeEditor.hs
  50. +42 −12 src/{IDE/Framework → Graphics/UI/Editor}/Parameters.hs
  51. +208 −159 src/{IDE/Framework/SimpleEditors.hs → Graphics/UI/Editor/Simple.hs}
  52. +137 −0 src/Graphics/UI/Frame/Panes.hs
  53. +191 −232 src/{IDE/Framework → Graphics/UI/Frame}/ViewFrame.hs
  54. +0 −315 src/IDE/BuildInfoEditor.hs
  55. +0 −219 src/IDE/CallersPane.hs
  56. +0 −26 src/IDE/Completion.hs
  57. +0 −370 src/IDE/Core/Panes.hs
  58. +282 −112 src/IDE/Core/State.hs
  59. +0 −20 src/IDE/Core/State.hs-boot
  60. +215 −154 src/IDE/Core/Types.hs
  61. +32 −31 src/IDE/DescriptionPP.hs
  62. +26 −24 src/IDE/{Core → }/Exception.hs
  63. +93 −34 src/IDE/{Utils/File.hs → FileUtils.hs}
  64. +504 −0 src/IDE/Find.hs
  65. +0 −361 src/IDE/FindPane.hs
  66. +0 −90 src/IDE/Framework/EditorBasics.hs
  67. +0 −265 src/IDE/Framework/MakeEditor.hs
  68. +97 −0 src/IDE/GUIHistory.hs
  69. +0 −305 src/IDE/InfoPane.hs
  70. +5 −4 src/IDE/Keymap.hs
  71. +244 −108 src/IDE/Leksah.hs
  72. +0 −244 src/IDE/Log.hs
  73. +149 −216 src/IDE/Menu.hs
  74. +0 −386 src/IDE/Metainfo/Info.hs
  75. +339 −335 src/IDE/Metainfo/InterfaceCollector.hs
  76. +504 −0 src/IDE/Metainfo/Provider.hs
  77. +142 −227 src/IDE/Metainfo/SourceCollector.hs
  78. +357 −264 src/IDE/Package.hs
  79. +0 −368 src/IDE/PackageEditor.hs
  80. +0 −207 src/IDE/PackageFlags.hs
  81. +288 −0 src/IDE/Pane/Callers.hs
  82. +407 −269 src/IDE/{ModulesPane.hs → Pane/ClassHierarchy.hs}
  83. +345 −0 src/IDE/Pane/Info.hs
  84. +707 −0 src/IDE/Pane/Log.hs
  85. +1,094 −0 src/IDE/Pane/Modules.hs
  86. +724 −0 src/IDE/Pane/PackageEditor.hs
  87. +268 −0 src/IDE/Pane/PackageFlags.hs
  88. +467 −0 src/IDE/Pane/Preferences.hs
  89. +365 −0 src/IDE/Pane/Search.hs
  90. +397 −262 src/IDE/{SourceEditor.hs → Pane/SourceBuffer.hs}
  91. +0 −350 src/IDE/Preferences.hs
  92. +14 −7 src/IDE/PrinterParser.hs
  93. +0 −21 src/IDE/ProvideInfo.hs
  94. +0 −36 src/IDE/RecoverPanes.hs
  95. +0 −247 src/IDE/ReplacePane.hs
  96. +258 −74 src/IDE/SaveSession.hs
  97. +25 −45 src/IDE/SourceCandy.hs
  98. +211 −69 src/IDE/SpecialEditors.hs
  99. +0 −95 src/IDE/ToolbarPane.hs
  100. +19 −1 src/Main.hs
View
File renamed without changes.
View
25 Readme
@@ -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.
View
@@ -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})
View
@@ -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
@@ -27,4 +30,3 @@
"delta" 0x03b4
"epsilon" 0x03b5
-
View
@@ -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"
@@ -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
@@ -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
View
@@ -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>
View
@@ -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
Oops, something went wrong.

0 comments on commit b9a55c2

Please sign in to comment.