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