Added mouse shape support
[MacVim/jjgod.git] / TODO
blob40407f48c47d67772aba645121c2593d7171983c
1 Active:
3 - Terminal support.  :!bash -> no cursor, arrow keys mucks up display
4 - Press Cmd-n multiple times and quickly press Cmd-q; sometimes two or more
5   instance of MacVim opens up
6 - hide toolbar, open new tab, show toolbar: baseline sepearator still visible
7   (seems like a drawing bug in PSMTabBarControl)
8 - file modified outside vim dialog sometimes only appear after pressing a key
9 - let user choose file encoding and format in open/save dialogs
10 - view menu option to show/hide gui status line
11 - autosave settings ?
12 - encoding -- convert strings from vim to utf-8
13 - main menu (buffers menu, window menu)
14 - standardize NSString usage (initialization & how it is passed in messages)
15 - autosave window rows&columns?
16 - set gfn=* ?
17 - improve drag and drop support (drop in command line mode not working,
18   modifier keys are ignored)
19 - grey out menus which can't be used: Tab Next/Prev/Close, Undo/Redo, etc.
20 - find/replace toolbar item (FIND_REPLACE_DIALOG)
21 - drag-to-resize, delay if mouse button held down
22 - ability to modify key equivalents at any time
23 - validate menu actions for when no windows are open (e.g. selectNextWindow:)
24 - application:openFiles: should open in tabs in current window instead of in a
25   new window, only if user default is set
26 - need E??? numbers for vim errors
27 - tab-completion for :action command?
28 - should ignore action message if is called too often (e.g. in addNewTab:)
29 - proper font handling
30 - check for memory leaks
31 - i8n
32 - change building procedure so that the Makefile compiles and links VimTask and
33   then calls pbxbuild to build MacVim (and put MacVim.app) in the src folder
34 - icons for all built in toolbar items
35 - window title is never set when starting with terminal vim and typing :gui
36 - forking doesn't work with :gui (i think)
37 - make sure [NSMutableData appendByte:length:] is never called with 0 length
38   (this will lead to a crash)
39 - update speed whilst resizing with mouse is excruciatingly slow
40 - window count should be typeset nicely in tab
41 - put marked text in status line (?)
42 - track pad scrolling is jerky
43 - sanity check all input in handlePortMessage: etc.
44 - cursor in replace mode
45 - nice looking cursors (both the block and in insert mode)
46 - support project builder external editor
47   http://www.codingmonkeys.de/techpubs/externaleditor/pbxexternaleditor.html
48 - dock icon menu
49 - horizontal scrolling with trackpad does not work
50 - got this error when clicking to close second last tab:
51     2007-07-23 08:19:29.398 MacVim[335] *** Assertion failure in -[PSMTabBarControl lockFocus], AppKit.subproj/NSView.m:3248
52     2007-07-23 08:19:29.410 MacVim[335] lockFocus sent to a view whose window is deferred and does not yet have a corresponding platform window
55 Pending:
57 - scrolling when mouse is over scrollbar doesn't work
58 - gui dialogs (FEAT_GUI_DIALOG)
59 - no warning when buffer modified outside vim (implement gui_mch_dialog())
60 - call gui_focus_change() when appropriate
61 - ability to interrupt vim (needs to check the run-loop for interrupts)
62 - got this error on Cmd-N with no other windows open:
63     2007-07-27 22:00:17.680 MacVim[454] *** -[NSToolbarView frameDidChange:]: selector not recognized [self = 0x39ba80]
64     2007-07-27 22:00:17.690 MacVim[454] Exception raised during posting of notification.  Ignored.  exception: *** -[NSToolbarView frameDidChange:]: selector not recognized [self = 0x39ba80]
65 - got this error when opening MacVim from terminal (with 'gvim gvimrc&'):
66   Frost:~/Projects/vim7/src/MacVim winckler$ 2007-08-05 13:25:01.151 MacVim[223] *** -[NSThemeFrame frameDidChange:]: selector not recognized [self = 0x3baa30]
67   2007-08-05 13:25:01.152 MacVim[223] Exception raised during posting of notification.  Ignored.  exception: *** -[NSThemeFrame frameDidChange:]: selector not recognized [self = 0x3baa30]
68   2007-08-05 13:25:01.155 MacVim[223] *** -[NSThemeFrame frameDidChange:]: selector not recognized [self = 0x3baa30]
69   2007-08-05 13:25:01.156 MacVim[223] Exception raised during posting of notification.  Ignored.  exception: *** -[NSThemeFrame frameDidChange:]: selector not recognized [self = 0x3baa30]
70   2007-08-05 13:25:01.246 MacVim[223] *** -[NSThemeFrame frameDidChange:]: selector not recognized [self = 0x3baa30]
71   2007-08-05 13:25:01.247 MacVim[223] Exception raised during posting of notification.  Ignored.  exception: *** -[NSThemeFrame frameDidChange:]: selector not recognized [self = 0x3baa30]
72 - toogle toolbar off, maximize window, toolbar on -> text view under toolbar
73 - clicking pill button does not update 'guioptions'
74 - detect Cmd-. (and Ctrl-C) for interrupt
75 - :popup
76 - popup menus
77 - when only one tab open make <D-w> close window
78 - cscope, ctags
79 - Ctrl-O in insert mode
80 - remember window position
81 - font selection dialog (:set gfn=*)
82 - services menu
83 - wide characters are badly supported: they render as too wide
84 - dropping directories does not work
85 - memory leak with text view? (need to release text storage)
86 - drag and drop inside view (FEAT_GUI_DND, gui_handle_drop())
89 Done:
91 - hide baseline separator when tabbar is visible (and make sure clicking the
92   hide/show toolbar button in the top right of the corner does not show it
93   again)
94 - toolbar drawing bug
95 - Cmd-zoom -> no input received, drawing broken
96 - scrollbars not positioned over resize box
97 - offset text away from left edge
98 - add menu options with key equiv:
99     Cmd+Option+Left/Right to change tab, Cmd+x/c/v cut/copy/paste,
100     Cmd+z/Z undo/redo, Cmd+o open, Cmd+w/W close tab/window,
101     Cmd+Option+T special characters,
102     etc.
103 - menu key equivalents
104 - startup is a bit flakey (up until openWindowWithRows:columns:)
105 - background color of text view doesn't get set if :colorscheme is in .gvimrc,
106   since textView=nil when setDefaultColorsBackground:foreground: is called
107 - resize window on font change
108 - don't clear the text storage on setMaxRows:: so that display does not go
109   blank when dragging to resize
110 - zoom&resize broken
111 - add user default for min/max tab size
112 - :colorscheme elflord, :set lines+=3 --> colors are not updated properly
113 - use DO to communicate between GUI and Vim (only for two-way communication,
114   one-way communication should still use mach ports)
115 - make scrollbar inactive if it is too small to display properly
116 - make vertical scrollbars cover command line as well
117 - setting font in .gvimrc has no effect since textStorage has not been init'ed
118 - fonts
119 - scroll bars
120 - Make MacVim project depend on PSMTabBarControl project
121 - Change Makefile so that it builds a vim executable and copy this into the
122   MacVim.app from the MacVim project
123 - warning before closing modified buffer
124 - On quitting, warn user if modified files are open
125 - An untitled window should not open when the GUI is started from the terminal
126   (figure out how to pass '-nowindow yes' option when launching GUI)
127 - support using VimTask as a standalone terminal app, with support for :gui
128 - path is set to / when not starting from command line, set it to $HOME instead
129 - input of wide characters does not work
130 - tab completion doesn't work on iMac
131 - close icons on tabs don't appear on iMac
132 - toolbar
133 - copy runtime files to bundle properly (only works for debug at the moment)
134 - don't resize to make window bigger than what can fit on screen
135 - window resizing using mouse & zoom
136 - cmd-click to maximize window, :tabnew...the text view overlaps the tabline
137 - colorscheme changes are buggy (open two tabs, change colorscheme, open new
138   tab;  the new tab has wrong color on first and last lines.)
139 - tab selection bug: open three tabs, selct middle, drag last tab so it becomes
140   middle without selecting it, select middle tab...selects middle, then last
141 - tab selection bug #2: :tabnew, drag tab #2 to pos #1, press enter.  tab #2 is
142   selected.
143 - this stuffs up the display: set go-=e; :tabnew
144 - with 2 tabs: closing one tab using mouse makes screen flash (does not happen
145   if tab is closed using :q)
146 - resize to fit every draw update
147 - insertion point
148 - copy/paste
149 - compute text storage size based on actual content
150 - color changes (:colorscheme)
151 - set text storage dimensions properly when creating text view
152 - text dimension changes
153 - notify vim task when user closes/selects tabs
154 - mouse handling in text view
155 - file type associations (Info.plist)
156 - drag and drop onto app icon
157 - remove tab update hack when flushing (edit vim code to call update)
158 - crash when typing :browse e $vim (but not :browse e $vim/)
159 - maintain queue of messages to send from task (to ensure they are passed in
160   the same order they arrive)
161 - do not include shift flag in chars that are already shifted (%, A, etc.)
162 - open file(s) in tab(s) (never open in new window?)
163 - key handling:
164     <M-Space> works, <M-S-Space> does not
165     clean up dispatchKeyEvent
166 - reordering tab pages (gui tabs must have same order as vim tabs)
167 - make sure tab is wide enough to fit label
168 - encoding (did_set_string_option, option.c, line 5675)
169   in init:
170     set_option_value((char_u *)"termencoding", 0L, (char_u *)"utf-8", 0);