Sat Nov 22 22:23:46 CET 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> * Added a small TODO list This is just an off-the-top-of-my-head list of what's still sorely missing.
Sun Nov 23 00:43:48 CET 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> * Fix behaviour of S-i Vim places the cursor on the first non-blank-character before entering insert mode, not on the first column. Sun Nov 23 11:07:22 CET 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> * Corrected copypasta mistake in documentation Sun Nov 23 12:26:38 CET 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> * Added C-u and C-d to scroll half a screen. 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. --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
New patches: [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. ] hunk ./Yi/Keymap/Vim.hs 46 -- fancier :s// -- '.' -- movement parameterised \> \< +-- C-d and C-u +-- C-y in input mode +-- C-v: visual block mode +-- Support for marks +-- C-o and C-i -- -- --------------------------------------------------------------------- [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. ] hunk ./Yi/Keymap/Vim.hs 665 char 'V' ?>> vis_mode (SelectionStyle Line), char 'R' ?>> rep_mode, char 'i' ?>> ins_mode self, - char 'I' ?>> beginIns self moveToSol, + char 'I' ?>> beginIns self firstNonSpaceB, char 'a' ?>> beginIns self $ moveXorEol 1, char 'A' ?>> beginIns self moveToEol, char 'o' ?>> beginIns self $ moveToEol >> insertB '\n', [Corrected copypasta mistake in documentation Aleksandar Dimitrov <[EMAIL PROTECTED]>**20081123100722] hunk ./Yi/Buffer/HighLevel.hs 274 upScreenB :: BufferM () upScreenB = scrollScreensB (-1) --- | Scroll up 1 screen +-- | Scroll down 1 screen downScreenB :: BufferM () downScreenB = scrollScreensB 1 [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. ] hunk ./Yi/Buffer/HighLevel.hs 284 h <- askWindow height scrollB $ n * (h - 1) +-- | Scroll according to function passed. The function takes the +-- | 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 + scrollB $ n * (f h) + -- | Scroll by n lines. scrollB :: Int -> BufferM () scrollB n = do setA pointDriveA False hunk ./Yi/Keymap/Vim.hs 46 -- fancier :s// -- '.' -- movement parameterised \> \< --- C-d and C-u -- C-y in input mode -- C-v: visual block mode -- Support for marks hunk ./Yi/Keymap/Vim.hs 379 singleCmdFM = [(ctrl $ char 'b', withBuffer . upScreensB) -- vim does (firstNonSpaceB;moveXorSol) ,(ctrl $ char 'f', withBuffer . downScreensB) + ,(ctrl $ char 'u', withBuffer . scrollByB (\height -> -(height `div` 2))) + ,(ctrl $ char 'd', withBuffer . scrollByB (\height -> height `div` 2)) ,(ctrl $ char 'g', const viFileInfo) ,(ctrl $ char 'l', const refreshEditor) ,(ctrl $ char 'r', withBuffer . flip replicateM_ redoB) Context: [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: 3b08277a319d2478c2a0b2c3bfa6a0fd37240069