Sun Nov 30 21:51:38 EST 2008 [EMAIL PROTECTED] * Yi.MiniBuffer: +Promptable instance for Char Note that the code is a little sticky since we're fed a String, but there's no empty char to default to if the user has been so churlish as to feed us an empty string.
Sun Nov 30 21:53:48 EST 2008 [EMAIL PROTECTED] * Yi.Eval: +useful type signatures One type signature supports String -> String -> BufferM (). This lets us run 'replaceString' from the minibuffer. Another type signature supports Char -> BufferM (). This fixes a runtime error for 'insertB'. Sun Nov 30 21:56:03 EST 2008 [EMAIL PROTECTED] * Yi.Keymap.Keys, Yi.Modes: +2 pragmas Sun Nov 30 22:04:55 EST 2008 [EMAIL PROTECTED] * Yi.Buffer.HighLevel: +replaceString, readCharB Sun Nov 30 22:06:45 EST 2008 [EMAIL PROTECTED] * Yi.Keymap.Emacs: rm unused import Sun Nov 30 22:07:52 EST 2008 [EMAIL PROTECTED] * Yi.Keymap.Keys: -Wall, +missing type sig Sun Nov 30 22:08:41 EST 2008 [EMAIL PROTECTED] * Yi.Main: +replaceString to M-x Sun Nov 30 22:09:12 EST 2008 [EMAIL PROTECTED] * Yi.Main: +ireader actions to M-x One to go into ireader-mode, and one to save buffer as article as that is somewhat awkward to do inside ireader-mode. --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 New patches: [Yi.MiniBuffer: +Promptable instance for Char [EMAIL PROTECTED] Ignore-this: b864645bee50f85e9b9c753d6af85492 Note that the code is a little sticky since we're fed a String, but there's no empty char to default to if the user has been so churlish as to feed us an empty string. ] hunk ./Yi/MiniBuffer.hs 11 matchingBufferNames ) where - -import Prelude (filter) +import Prelude (filter, length) import Data.List (isInfixOf) import Data.Maybe import Yi.Config hunk ./Yi/MiniBuffer.hs 147 getPromptedValue = return getPrompt _ = "String" +instance Promptable Char where + getPromptedValue x = if length x == 0 then error "Please supply a character." + else return $ head x + getPrompt _ = "Char" + instance Promptable Int where getPromptedValue = return . read getPrompt _ = "Integer" [Yi.Eval: +useful type signatures [EMAIL PROTECTED] Ignore-this: 2596d06fba7df3ab24ba70dd7f2cf5d9 One type signature supports String -> String -> BufferM (). This lets us run 'replaceString' from the minibuffer. Another type signature supports Char -> BufferM (). This fixes a runtime error for 'insertB'. ] hunk ./Yi/Eval.hs 86 mkAct = [ toDyn (makeAction :: BufferM () -> Action), toDyn (makeAction :: BufferM Bool -> Action), + toDyn (makeAction :: BufferM Char -> Action), toDyn (makeAction :: BufferM Int -> Action), toDyn (makeAction :: BufferM String -> Action), toDyn (makeAction :: BufferM Region -> Action), hunk ./Yi/Eval.hs 103 toDyn (makeAction :: (String -> YiM ()) -> Action), + toDyn (makeAction :: (String -> String -> BufferM ()) -> Action), + toDyn (makeAction :: (Char -> BufferM ()) -> Action), + toDyn (makeAction :: (BufferRef -> EditorM ()) -> Action) ] [Yi.Keymap.Keys, Yi.Modes: +2 pragmas [EMAIL PROTECTED] Ignore-this: 45a24fdeb03d743e0668f13d0b83ae4d ] hunk ./Yi/Keymap/Keys.hs 1 +{-# LANGUAGE FlexibleContexts #-} -- Copyright (c) 2008 Jean-Philippe Bernardy -- | Combinators for building keymaps. hunk ./Yi/Modes.hs 1 +{-# LANGUAGE Rank2Types #-} module Yi.Modes (fundamentalMode, cppMode, cabalMode, srmcMode, ocamlMode, ottMode, gnuMakeMode, [Yi.Buffer.HighLevel: +replaceString, readCharB [EMAIL PROTECTED] Ignore-this: 9ade46850806e9e6c128d0f4d9a28cd4 ] hunk ./Yi/Buffer/HighLevel.hs 5 -- Copyright (C) 2008 JP Bernardy module Yi.Buffer.HighLevel where - -import Prelude (FilePath, map) - -import Yi.Prelude import Control.Applicative import Control.Monad.RWS.Strict (ask) import Control.Monad.State hunk ./Yi/Buffer/HighLevel.hs 10 import Data.Char import Data.List (isPrefixOf, sort, lines, drop, filter, length, takeWhile, dropWhile) - -import Data.Maybe - - ( fromMaybe, listToMaybe ) +import Data.Maybe (fromMaybe, listToMaybe) +import Prelude (FilePath, map) +import Yi.Prelude import Yi.Buffer.Basic import Yi.Buffer.Misc hunk ./Yi/Buffer/HighLevel.hs 90 -- | Go to the first non space character in the line; -- if already there, then go to the beginning of the line. - -moveNonspaceOrSol :: BufferM () +moveNonspaceOrSol :: BufferM () moveNonspaceOrSol = do prev <- readPreviousOfLnB if and . map (isSpace) $ prev then moveToSol else firstNonSpaceB hunk ./Yi/Buffer/HighLevel.hs 145 readLnB :: BufferM String readLnB = readUnitB Line +readCharB :: BufferM (Maybe Char) +readCharB = liftM listToMaybe (readUnitB Character) + -- | Read from point to end of line readRestOfLnB :: BufferM String readRestOfLnB = readRegionB =<< regionOfPartB Line Forward hunk ./Yi/Buffer/HighLevel.hs 196 -- | Delete whole line moving to the next line deleteLineForward :: BufferM () - -deleteLineForward = +deleteLineForward = do moveToSol -- Move to the start of the line deleteToEol -- Delete the rest of the line not including the newline char deleteN 1 -- Delete the newline character hunk ./Yi/Buffer/HighLevel.hs 200 - - + -- | Transpose two characters, (the Emacs C-t action) swapB :: BufferM () hunk ./Yi/Buffer/HighLevel.hs 295 scrollB $ n * (h - 1) -- | Scroll according to function passed. The function takes the - --- | Window height in lines, its result is passed to scrollB +-- | Window height in lines, its result is passed to scrollB -- | (negative for up) scrollByB :: (Int -> Int) -> Int -> BufferM () scrollByB f n = do h <- askWindow height hunk ./Yi/Buffer/HighLevel.hs 396 -- in the given direction. lineStreamB :: Direction -> BufferM [String] lineStreamB dir = fmap (LazyUTF8.toString . rev) . drop 1 . LB.split newLine <$> (streamB dir =<< pointB) - - where rev = case dir of + where rev = case dir of Forward -> id Backward -> LB.reverse hunk ./Yi/Buffer/HighLevel.hs 444 modifyExtendedSelectionB :: TextUnit -> (String -> String) -> BufferM () - -modifyExtendedSelectionB unit transform +modifyExtendedSelectionB unit transform = modifyRegionB transform =<< unitWiseRegion unit =<< getSelectRegionB hunk ./Yi/Buffer/HighLevel.hs 453 -- the same search and replace over multiple regions however we are -- unlikely to perform several search and replaces over the same region -- since the first such may change the bounds of the region. - -searchReplaceRegionB :: +searchReplaceRegionB :: String -- ^ The String to search for -> String -- ^ The String to replace it with -> Region -- ^ The region to perform this over hunk ./Yi/Buffer/HighLevel.hs 466 -- | Peform a search and replace on the selection - -searchReplaceSelectionB :: +searchReplaceSelectionB :: String -- ^ The String to search for -> String -- ^ The String to replace it with hunk ./Yi/Buffer/HighLevel.hs 474 searchReplaceSelectionB from to = modifySelectionB $ substituteInList from to +replaceString :: String -> String -> BufferM () +replaceString a b = do end <- sizeB + let region = mkRegion 0 end + searchReplaceRegionB a b region -- | Prefix each line in the selection using -- the given string. hunk ./Yi/Buffer/HighLevel.hs 481 - -linePrefixSelectionB :: +linePrefixSelectionB :: String -- ^ The string that starts a line comment -> BufferM () -- The returned buffer action hunk ./Yi/Buffer/HighLevel.hs 516 substituteInList :: Eq a => [ a ] -> [ a ] -> [ a ] -> [ a ] substituteInList _from _to [] = [] substituteInList from to list@(h : rest) - - | isPrefixOf from list = + | isPrefixOf from list = to ++ (substituteInList from to $ drop (length from) list) | otherwise = h : (substituteInList from to rest) [Yi.Keymap.Emacs: rm unused import [EMAIL PROTECTED] Ignore-this: dfb5a5c93886c2f29dbcf92865a74b23 ] hunk ./Yi/Keymap/Emacs.hs 33 , scrollUpE , cabalConfigureE , switchBufferE - - , withMinibuffer , askSaveEditor , argToInt , promptTag [Yi.Keymap.Keys: -Wall, +missing type sig [EMAIL PROTECTED] Ignore-this: 431cc943bcab8042067b74c0552c5b ] hunk ./Yi/Keymap/Keys.hs 39 do Event (KASCII c) [] <- eventBetween (modifier $ char l) (modifier $ char h) return c - -shift,ctrl,meta :: Event -> Event +shift,ctrl,meta,super :: Event -> Event shift (Event (KASCII c) ms) | isAlpha c = Event (KASCII (toUpper c)) ms | otherwise = error "shift: unhandled event" shift (Event k ms) = Event k $ nub $ sort (MShift:ms) [Yi.Main: +replaceString to M-x [EMAIL PROTECTED] Ignore-this: d1e08a91031d717a5037a000ef0993f7 ] hunk ./Yi/Main.hs 233 , ("regionOfPartNonEmptyB" , box regionOfPartNonEmptyB) , ("reloadEditor" , box reloadEditor) , ("reloadProjectE" , box reloadProjectE) + , ("replaceString" , box replaceString) , ("revertE" , box revertE) , ("shell" , box shell) , ("setAnyMode" , box setAnyMode) [Yi.Main: +ireader actions to M-x [EMAIL PROTECTED] Ignore-this: 83b94848209f97423abd07b5c7a72388 One to go into ireader-mode, and one to save buffer as article as that is somewhat awkward to do inside ireader-mode. ] hunk ./Yi/Main.hs 17 import qualified Yi.Keymap.Cua as Cua import Yi.Modes import qualified Yi.Mode.Haskell as Haskell +import Yi.Mode.IReader (ireaderMode, ireadMode) +import Yi.IReader (nextArticle, saveAsNewArticle) import qualified Yi.Mode.Latex as Latex import {-# source #-} Yi.Boot import Yi.Config hunk ./Yi/Main.hs 194 AnyMode ottMode, AnyMode perlMode, AnyMode pythonMode, + AnyMode ireaderMode, AnyMode fundamentalMode] , debugMode = False , configKillringAccumulate = False hunk ./Yi/Main.hs 225 , ("getSelectRegionB" , box getSelectRegionB) , ("grepFind" , box grepFind) , ("insertB" , box insertB) - - , ("leftB" , box leftB) + , ("ireadMode" , box (withBuffer ireadMode >> nextArticle)) + , ("ireadSaveAsArticle" , box saveAsNewArticle) + , ("leftB" , box leftB) , ("linePrefixSelectionB" , box linePrefixSelectionB) , ("mkRegion" , box mkRegion) , ("moveB" , box moveB) Context: [Support Unicode and Font Substitution in Cocoa [EMAIL PROTECTED] Unfortunately, this translates from character positions to buffer positions in a highly inefficient manner. To be really usable, this translation must be improved. ] [Position new windows correctly [EMAIL PROTECTED] [Cocoa Wall Police [EMAIL PROTECTED] [Unfinished support for rectangle selection in Cua [EMAIL PROTECTED] [Yi.Mode.IReader: simplify, rm useless cm setting, restore *.irtxt association [EMAIL PROTECTED] [+Gwern.hs: my Yi config [EMAIL PROTECTED] [fix skipScanner [EMAIL PROTECTED] [fix issue 205 [EMAIL PROTECTED] [generalize withOtherWindow [EMAIL PROTECTED] [doc [EMAIL PROTECTED] [blog work [EMAIL PROTECTED] [remove old stuff from cabal file [EMAIL PROTECTED] [haskell: save only every intermediate state in 50 [EMAIL PROTECTED] This halved memory usage on Lemmih's test case. Please let me know if there are problems. ] [add skipScanner that saves only every other intermediate state [EMAIL PROTECTED] [doc [EMAIL PROTECTED] [Rework drawing of tabs, closer to how Vim looks Jeff Wheeler <[EMAIL PROTECTED]>**20081128224446 Feel free to change the styles in Yi.Style.Library; it's not quite perfect. ] [Remove deprecated MkConfig.hs Jeff Wheeler <[EMAIL PROTECTED]>**20081128174707 This file hasn't been in use in years, I think it's time to clean up and get rid of it. If we ever decide to use it, it's available in darsc. ] [fix misc haddocks [EMAIL PROTECTED] [Yi.Mode.Interactive: +ghciHome: a function for Home specialized for ghci prompt [EMAIL PROTECTED] [Ireader: add a nextArticle [EMAIL PROTECTED] nextArticle is non-destructive, and we call it upon entering ireaderMode. ] [Yi.Buffer.HighLevel: +moveNonspaceOrSol & supporting function [EMAIL PROTECTED] moveNonspaceOrSol is a smarter Home binding; it moves to the beginning of the line's contents or, if already there, then it acts like a normal Home. The supporting function reads the contents of a line prior to the point (the existing function only reads *after*). This Home binding is very useful in coding modes, where you usually, but not always want to go to the beginning of the code, not the beginning of the line. ] [doc [EMAIL PROTECTED] [Yi.Mode.IReader: +toplevel 'ireadMode' [EMAIL PROTECTED] [Yi.IReader: simplify getBufferContents per Nicolas Pouillard [EMAIL PROTECTED] [+some CPP pragmas for ghci [EMAIL PROTECTED] [+Yi.IReader, Yi.Mode.IReader: my article reading mode [EMAIL PROTECTED] This implements a mode that stores articles/books/texts in a file in ~/.yi and then lets the user cycle around them, editing them to fit their purpose. ] [sp 05-Prototypes.text [EMAIL PROTECTED] [Shim/Utils.hs: cm out unused import [EMAIL PROTECTED] The only function using the Exception module is likewise commented out. ] [replace all RankNTypes with Rank2Types [EMAIL PROTECTED] [+a few missing RankNTypes entries [EMAIL PROTECTED] [yi.cabal: rm dupe entry for Yi.Accessor [EMAIL PROTECTED] This makes cabal check slightly happier. ] [jp: force the colors of the selection [EMAIL PROTECTED] [cocoa: fix leaking of objects when buffer is filled by other threads [EMAIL PROTECTED] [Replace PatternSignatures with ScopedTypeVariables to fix warnings Jeff Wheeler <[EMAIL PROTECTED]>**20081126044157 This may not work in 6.8, but 6.10 warns on the previous usage. ] [jp: more intelligent choice of frontends [EMAIL PROTECTED] [cocoa: highlight the currently searched stuff [EMAIL PROTECTED] [doc: improve the sample config [EMAIL PROTECTED] [blog: updated post 02 with mapLines Paulo Tanimoto <[EMAIL PROTECTED]>**20081123233918 Changed modifyLines to mapLines. ] [emacs: search for literal rather than regexp [EMAIL PROTECTED] [blog: work on next post [EMAIL PROTECTED] [scrap search dead code [EMAIL PROTECTED] [Vim: improve searchCurrentWord using QuoteRegex. Nicolas Pouillard <[EMAIL PROTECTED]>**20081123121403 Ignore-this: eb425bb0f03fddb0221174c2ec1acca0 ] [C-u, C-d: minor style change. Nicolas Pouillard <[EMAIL PROTECTED]>**20081123121331 Ignore-this: 9076c83eae080aea7900fa8c21944ee2 ] [Vim: extend the TODO list Nicolas Pouillard <[EMAIL PROTECTED]>**20081123120955 Ignore-this: c2c97ae3fd70bf457bca6144cdac7e9e ] [Added C-u and C-d to scroll half a screen. Aleksandar Dimitrov <[EMAIL PROTECTED]>**20081123112638 The vim behaviour is to leave the cursor on the same line it was before, relative to the screen. Currently, this is not mimiced strictly, the curosor is 'dragged' to the outer screen edge opposite the movement direction. ] [Corrected copypasta mistake in documentation Aleksandar Dimitrov <[EMAIL PROTECTED]>**20081123100722] [Fix behaviour of S-i Aleksandar Dimitrov <[EMAIL PROTECTED]>**20081122234348 Vim places the cursor on the first non-blank-character before entering insert mode, not on the first column. ] [Added a small TODO list Aleksandar Dimitrov <[EMAIL PROTECTED]>**20081122212346 This is just an off-the-top-of-my-head list of what's still sorely missing. ] [fix qrReplaceCurrent [EMAIL PROTECTED] [Update yi(1) man page Jeff Wheeler <[EMAIL PROTECTED]>**20081122231041 I'm not sure of the best way to rephrase the Copyright section. I looked at the Emacs man page Author section for a better way to do that part. ] [add a makefile rule to load Yi in ghci [EMAIL PROTECTED] [fix isMakefile [EMAIL PROTECTED] [emacs: fix yank-pop [EMAIL PROTECTED] [rewrite qrReplaceAll to do all replaces in one buffer operation [EMAIL PROTECTED] [refactor searchAndRepRegion [EMAIL PROTECTED] [regex: implement literal search [EMAIL PROTECTED] [use Either instead of Maybe as result monad of make regex [EMAIL PROTECTED] [Require newer regex-tdfa Jeff Wheeler <[EMAIL PROTECTED]>**20081121234545 I had a lot of trouble running regex-tdfa ==0.95.1 on 6.10 on my machine; upgrading to 0.95.2 worked for me, and might fix the issue for others as well. ] [blog: prepare next post [EMAIL PROTECTED] [blog: incremental parsing [EMAIL PROTECTED] [jp: more fun with inputting unicode characters [EMAIL PROTECTED] [emacs: propose the correct file name upon writing [EMAIL PROTECTED] [fix M-w [EMAIL PROTECTED] [Makefile mode: set shiftWidth to 8 [EMAIL PROTECTED] [refactor handling of indentation [EMAIL PROTECTED] [add string -> literal regex function [EMAIL PROTECTED] [jp: add negation [EMAIL PROTECTED] [add styling for makefile actions [EMAIL PROTECTED] [fix warnings [EMAIL PROTECTED] [update Makefile for darcs 2 [EMAIL PROTECTED] [Add ghc == 6.10.1 as a possible dep when turning on the ghcAPI flag David Waern <[EMAIL PROTECTED]>**20081115173532] [Use custom findPackageDesc in Shim.CabalInfo David Waern <[EMAIL PROTECTED]>**20081109205721 When looking for .cabal files, we need to use our version of Cabal's findPackageDesc modified so that it doesn't print errors to stdout. Otherwise the errors will be dislayed directly in the buffer. ] [Remove some unused Cabal imports from Shim.Hsinfo David Waern <[EMAIL PROTECTED]>**20081109200247] [Update Shim.Hsinfo, Shim.GhcCompat & Shim.SessionMonad to build with GHC 6.10.1 David Waern <[EMAIL PROTECTED]>**20081109192647 We use the reflectGhc primitive from HscTypes to simulate the old GHC API using the new monadic version. We will have to see how well this works. At the moment, nothing has been done to make sure error handling works correctly. ] [Update Shim.ExprSearch to build with GHC 6.10.1 David Waern <[EMAIL PROTECTED]>**20081109153021] [Support indenting/commenting in Cua (OSX style) [EMAIL PROTECTED] [Fix toggleCommentSelectionB [EMAIL PROTECTED] [Get empty select region if selection is invisible [EMAIL PROTECTED] [Ensure that bspace/del/enter kills selection in Cua [EMAIL PROTECTED] [Add OSX style movements to Cua. [EMAIL PROTECTED] [Parameterize Cua keymap on ctrl/super for OSX compat [EMAIL PROTECTED] [Recognize delete key in Cocoa [EMAIL PROTECTED] [Add support for Super/Command key in Cocoa. [EMAIL PROTECTED] [whoops, forgot the file [EMAIL PROTECTED] [jp: change my favourite font size [EMAIL PROTECTED] [latex: ensure the environment names match directly in the syntax [EMAIL PROTECTED] [add monadic interface for the incremental parsers [EMAIL PROTECTED] [move latex stuff to its own module + factor our toggle comment selection [EMAIL PROTECTED] [Ensure that the whole window is updated on each event. [EMAIL PROTECTED] [Run syntax highlighting with correct window. [EMAIL PROTECTED] [Only call setAllowsNonContiguousLayout when available [EMAIL PROTECTED] [Vim: add a missing space. Nicolas Pouillard <[EMAIL PROTECTED]>**20081112222210 Ignore-this: 4be32d4e7ae0400750586e605bf11fbd ] [Vim: add a :cabal command and improve the catchall :<cmd> completer. Nicolas Pouillard <[EMAIL PROTECTED]>**20081112221949 Ignore-this: 90142bd733d4a31816e128c15940b2e4 ] [Add a type sig for isMakefile Nicolas Pouillard <[EMAIL PROTECTED]>**20081112104108 Ignore-this: f1e3ff56529284f3e7a6e7206664584c ] [Vim: remove dead code Nicolas Pouillard <[EMAIL PROTECTED]>**20081112093838 Ignore-this: b7345579f7a47f82ca109c94402c5d41 ] [Be specific about which version of base we use [EMAIL PROTECTED] [Build with GHC 6.10.1 David Waern <[EMAIL PROTECTED]>**20081108120509] [Cocoa/TextStorage cleanup. [EMAIL PROTECTED] [Support quick access for NSLink attribute [EMAIL PROTECTED] [Avoid recreating the YiLBString object. [EMAIL PROTECTED] [Improve speed of ignoring Cocoa attribute adds. [EMAIL PROTECTED] [Use setAllowsNonContiguousLayout in Leopard. [EMAIL PROTECTED] [Improve Cocoa rendering speed. [EMAIL PROTECTED] [Implement Cocoa support for Drag and Drop. [EMAIL PROTECTED] [Vim: add a basic support for ctags Nicolas Pouillard <[EMAIL PROTECTED]>**20081103202012 Ignore-this: 476a5902556737bbec974777b85eb14 Supported commands: * CTRL-] * :tag <ident> * :set tags=<file>* ] [Properly implement Cocoa Copy and Paste [EMAIL PROTECTED] [Ghci: go to the bottom of the buffer when a new command is sent. [EMAIL PROTECTED] [Change last active window from WindowRef to Window [EMAIL PROTECTED] [Specify Cocoa imports explicitly. [EMAIL PROTECTED] [Fix Cocoa build. [EMAIL PROTECTED] [Incomplete support for Cocoa clipboard [EMAIL PROTECTED] [define an input method function [EMAIL PROTECTED] [improvements to my config file [EMAIL PROTECTED] [add replaceRegionClever [EMAIL PROTECTED] [ghci: add ghci to published actions. Nicolas Pouillard <[EMAIL PROTECTED]>**20081027224723] [fix editor reload [EMAIL PROTECTED] [fix derive-related issues [EMAIL PROTECTED] [Vim: The replace command 'r' don't move the cursor. Nicolas Pouillard <[EMAIL PROTECTED]>**20081027132116] [rename the main rule to 'main' in BasicTemplate and Python lexers Nicolas Pouillard <[EMAIL PROTECTED]>**20081027131246] [Re-sync the literate haskell mode with the clever haskell mode. Nicolas Pouillard <[EMAIL PROTECTED]>**20081027131233 It would be nice to keep at least the lexers in sync. ] [Improve style/layout of the Haskell Lexer. Nicolas Pouillard <[EMAIL PROTECTED]>**20081027130751] [Ott,lexer: fix local comments (swap '>>' and '<<') and change the style of 'IN'. Nicolas Pouillard <[EMAIL PROTECTED]>**20081024131525] [export viWords abstractly [EMAIL PROTECTED] [export the Delimited unit abstractly [EMAIL PROTECTED] [export the Word unit abstractly [EMAIL PROTECTED] [vim: small cleanup [EMAIL PROTECTED] [normalize the usage of Delimiter (no more pattern matching on it) [EMAIL PROTECTED] [push the "reverse" attribute in its correct place and simplify vty translation [EMAIL PROTECTED] [pango: fix background [EMAIL PROTECTED] [eradicate runBufferDummyWindow from Pango UI [EMAIL PROTECTED] [some pango improvements [EMAIL PROTECTED] [extract rendering of selection out of Vty-specific code [EMAIL PROTECTED] [fix endlines [EMAIL PROTECTED] [fix backwards search [EMAIL PROTECTED] [simplify and fix withMiniBufferGen to use the correct window when putting the default value in. [EMAIL PROTECTED] [fix getMarkB [EMAIL PROTECTED] [fix gtk and pango build [EMAIL PROTECTED] [make sure the marks are treated in the correct order [EMAIL PROTECTED] [simplify the management of window-relative marks [EMAIL PROTECTED] [remove some dead code [EMAIL PROTECTED] [warnings [EMAIL PROTECTED] [some makefile cleanup [EMAIL PROTECTED] [vim: cleanup some code in preparation for ghc 6.10 [EMAIL PROTECTED] [further preparation for ghc 6.10 and base 4.0 [EMAIL PROTECTED] [use correct version of GHC to rebuild custom Yi (issue 191) [EMAIL PROTECTED] [move the HCAR entry to doc directory [EMAIL PROTECTED] [fix issue 193; also rename msgClr to clrStatus [EMAIL PROTECTED] [gtk: correct values for white (fix issue 177) [EMAIL PROTECTED] [better error messages for undefined styles [EMAIL PROTECTED] [better error message for missing mode function [EMAIL PROTECTED] [use newer version of regex-tdfa [EMAIL PROTECTED] [fix gtk build [EMAIL PROTECTED] [comments [EMAIL PROTECTED] [don't specially catch errors in Vim write file functions [EMAIL PROTECTED] also move them to Yi.File ] [show error messages in errorStyle [EMAIL PROTECTED] [forgot import [EMAIL PROTECTED] [Use Cabal 1.6 [EMAIL PROTECTED] [Fix two bugs in the Ott lexer. Nicolas Pouillard <[EMAIL PROTECTED]>**20081010143841] [Add an URL to the Ott website. Nicolas Pouillard <[EMAIL PROTECTED]>**20081010135622] [Add a lexer for the Ott language. Nicolas Pouillard <[EMAIL PROTECTED]>**20081010135147] [BasicTemplate.x: whitespaces... Nicolas Pouillard <[EMAIL PROTECTED]>**20081010094029] [bump version [EMAIL PROTECTED] [activity update [EMAIL PROTECTED] [warnings [EMAIL PROTECTED] [factor out toggle-comment-selection [EMAIL PROTECTED] [fix wording in Release notes [EMAIL PROTECTED] [cleanup incremental parse module [EMAIL PROTECTED] [Floated beginIns to the top level of Keymap.Vim [EMAIL PROTECTED] Needed for customizations of normal mode from a user keymap where the action causes insert mode to be entered. ] [Adding OnlineTree to installed modules [EMAIL PROTECTED] [add 1st implementation of OnlineTree [EMAIL PROTECTED] [switch to generalized error-correcting parsing engine [EMAIL PROTECTED] [(vim keymap) Modify :q, :q!, :qa to behave closer to vim. [EMAIL PROTECTED] Vim's behavior with forcing a window to close that was viewing a modified buffer is different than Yi's. Yi keeps around the modified buffer while Vim appears to revert all modifications to the buffer, but keeps around the unmodified buffer for quick access. I actually like Yi's behavior better, still, it is different. The previous implementations are still in the keymap for reference. I'm not 100% sure there are no regressions caused by this patch. ] [Use "cabal configure/build" instead "runhaskell configure/build" [EMAIL PROTECTED] [Resolves issue 192 [EMAIL PROTECTED] [Updating documentation for genAtBoundaryB [EMAIL PROTECTED] [Moving RegionStyle and regionFromTo to Buffer.Normal [EMAIL PROTECTED] regionFromTo has been renamed mkRegionOfStyle. Moved RegionStyle to Buffer.Normal as RegionStyle conceptually resembles a type of text unit. Moved extendRegionToBoundaries and unitWiseRegion from Buffer.HighLevel to Buffer.Normal as both methods resemble the other TextUnit/Region buffer operations in Buffer.Normal. ] [Adding test data for issue 192 [EMAIL PROTECTED] [Expanding the predicate used to detect Makefiles [EMAIL PROTECTED] [Adding comments about how shell code should be processed to Makefile test data. [EMAIL PROTECTED] [(Makefile lexer) simplified comment handling. Documentation. [EMAIL PROTECTED] [Adding a Makefile to test the GNU Makefile lexer. [EMAIL PROTECTED] [(Makefile Lexer) Adding support for continueing comments with a trailing slash. [EMAIL PROTECTED] [Always use tab character instead of spaces in Makefile Jeff Wheeler <[EMAIL PROTECTED]>**20081006213306] [Start of a (GNU) Makefile lexer. [EMAIL PROTECTED] [Adding a basic Alex based Lexer that can be used as a template for new lexers. [EMAIL PROTECTED] [couple of random tiny fixes [EMAIL PROTECTED] [tiny fixes over the Tags implementation [EMAIL PROTECTED] [Add support for CTags and interface for emacs mode. [EMAIL PROTECTED] Not having M-. was killing me. Added TagTable as part of the global state, Emacs prompting for getting tags, and trie structure for reasonably fast hinting. I'll try add a vi interface too. ] [Fix single quote highlighting issue in python mode [EMAIL PROTECTED] [old tag: 0.5.0.1 [EMAIL PROTECTED] [bump version number [EMAIL PROTECTED] [TAG 0.5.0 [EMAIL PROTECTED] Patch bundle hash: fe2bb04073ab124e3ae20d639708c1c99c485532 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkkzVawACgkQvpDo5Pfl1oKnHACdHQqL6G02OsvO+nWO69aZheyV Y1MAnAuLJQLLo+yEVuNRVbIZYcIyiKta =bpKt -----END PGP SIGNATURE-----