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