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