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