Commit Graph

1376 Commits

Author SHA1 Message Date
Bjorn Winckler e9232cd96a Removed log messages
git-svn-id: http://macvim.googlecode.com/svn/trunk@69 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 10:29:32 +00:00
Bjorn Winckler b0d1020fca Added menu related todos.
git-svn-id: http://macvim.googlecode.com/svn/trunk@68 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-03 10:30:58 +00:00
Bjorn Winckler 80036f94e5 Changed File and Window menus to follow Apple HIG more closely.
git-svn-id: http://macvim.googlecode.com/svn/trunk@67 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-03 10:30:31 +00:00
Bjorn Winckler 53d930bf5e - Cleanup of menu add code - Buffers menu gets updated now - Main menu update changed; Vim now in control of entire menu, menu named "Window" is set to be the Window menu.
git-svn-id: http://macvim.googlecode.com/svn/trunk@66 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-03 10:29:43 +00:00
Bjorn Winckler 0860847814 Modified tab/window selection keyboard mappings.
git-svn-id: http://macvim.googlecode.com/svn/trunk@65 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-02 08:34:00 +00:00
Bjorn Winckler 15eb437c2d Pending: text inset, scrollbars do not cover resize box
git-svn-id: http://macvim.googlecode.com/svn/trunk@64 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-02 07:07:06 +00:00
Bjorn Winckler 0dfd3cad43 Ensure that vertical scrollbars do not cover the resize corner (Cocoa never lets them do it anyway, but there were drawing artifacts, so now there is an explicit check).
git-svn-id: http://macvim.googlecode.com/svn/trunk@63 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-02 06:35:51 +00:00
Bjorn Winckler 4fd52452a9 Added -inset[left|right|top|bottom] command line arguments.
git-svn-id: http://macvim.googlecode.com/svn/trunk@62 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-02 06:22:43 +00:00
Bjorn Winckler 2fb4387bdc - Text view now drawn with inset - Added user defaults to control text view inset -inset[left|right|top|bottom]
git-svn-id: http://macvim.googlecode.com/svn/trunk@61 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-02 06:19:18 +00:00
Bjorn Winckler 18737386cd Less active, more pending.
git-svn-id: http://macvim.googlecode.com/svn/trunk@60 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 18:56:17 +00:00
Bjorn Winckler 3e62aa74cd Added "Special Characters..." menu item with key equivalent.
git-svn-id: http://macvim.googlecode.com/svn/trunk@59 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 18:53:27 +00:00
Bjorn Winckler 7805a8a6b0 Added menu items "New Vim Window", "New Tab", "Close Tab" with key equivalents.
git-svn-id: http://macvim.googlecode.com/svn/trunk@58 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 18:39:12 +00:00
Bjorn Winckler 215d49a732 Removed "New Window" and "New Tab" menu items.
git-svn-id: http://macvim.googlecode.com/svn/trunk@57 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 18:38:29 +00:00
Bjorn Winckler a182287130 Window menu changed, had to update hard coding as to where it is placed.
git-svn-id: http://macvim.googlecode.com/svn/trunk@56 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 18:37:30 +00:00
Bjorn Winckler f3ffb6bd76 App will terminate when last window closes (because of menu problems).
git-svn-id: http://macvim.googlecode.com/svn/trunk@55 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 18:35:47 +00:00
Bjorn Winckler 97e7df1850 Added system gvimrc file to project.
git-svn-id: http://macvim.googlecode.com/svn/trunk@54 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 17:56:18 +00:00
Bjorn Winckler 853caf4272 Added support for key equivalents on menu items.
git-svn-id: http://macvim.googlecode.com/svn/trunk@52 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 14:17:23 +00:00
Bjorn Winckler b6ec24bf15 More to read and to do.
git-svn-id: http://macvim.googlecode.com/svn/trunk@51 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 07:55:21 +00:00
Bjorn Winckler 5a32d86fba - Text system set up in awakeFromNib instead of open window (fixing bug where the background color wouldn't get set properly since textView was nil) - Open window no longer has rows&columns as parameters
git-svn-id: http://macvim.googlecode.com/svn/trunk@50 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 07:43:31 +00:00
Bjorn Winckler ef4c73ed05 OpenVimWindowMsgID no longer has rows&columns as parameters.
git-svn-id: http://macvim.googlecode.com/svn/trunk@49 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 07:41:21 +00:00
Bjorn Winckler e8a4e1095f Open window no longer has rows&columns as paramters.
git-svn-id: http://macvim.googlecode.com/svn/trunk@48 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 07:40:30 +00:00
Bjorn Winckler f21b4dcc33 Rows & columns no longer sent with draw messages.
git-svn-id: http://macvim.googlecode.com/svn/trunk@47 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 07:24:00 +00:00
Bjorn Winckler aedb944c55 - Handles setFont: and setDefaultColorsBackground::. - Text storage dimensions now set in setTextDimensionsWithRows::. - No longer responds to NSLayoutManager delegate messages. - Zooming now defaults to height-only zoom. - Fixed bug in window resizing code, where views were not placed properly if the window didn't change size (but views still needed placing) - Text storage no longer resized in placeViews; if text storage dimensions need to change Vim is notified and dimensions change as soon as setTextDimensionsWithRows:: is called.
git-svn-id: http://macvim.googlecode.com/svn/trunk@46 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 07:09:46 +00:00
Bjorn Winckler f830df220f - When in processCommandQueue: no input is sent to Vim; instead it is put on a queue and sent when done processing. - Lets MMWindowController handle setFont: and setDefaultColorsBackground::. - Resizing of text storage moved from performBatchDrawWithData: to SetTextDimensionsMsgID.
git-svn-id: http://macvim.googlecode.com/svn/trunk@45 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 06:52:38 +00:00
Bjorn Winckler bce6dd3d60 Notifying MacVim when SetTextDimensionsMsgID received.
git-svn-id: http://macvim.googlecode.com/svn/trunk@44 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 06:48:05 +00:00
Bjorn Winckler 2c5b0aa100 Added debug strings for message enum.
git-svn-id: http://macvim.googlecode.com/svn/trunk@43 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 06:46:40 +00:00
Bjorn Winckler d1d6ab7382 - Simpler size calculations, which don't use NSLayoutManager - Lazy resizing - Width calculations based on cellWidth instead of widthOfEmptyRow
git-svn-id: http://macvim.googlecode.com/svn/trunk@42 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-01 06:45:32 +00:00
Bjorn Winckler 55f25ba6df Active
git-svn-id: http://macvim.googlecode.com/svn/trunk@41 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-31 11:40:57 +00:00
Bjorn Winckler 4e595ed2db Code cleanup.
git-svn-id: http://macvim.googlecode.com/svn/trunk@40 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-31 11:40:43 +00:00
Bjorn Winckler 13808e78e5 - Added ex_action command (uses support file Actions.plist which defines all allowable actions). - Added selectNextWindow: and selectPreviousWindow: actions to MMAppController
git-svn-id: http://macvim.googlecode.com/svn/trunk@39 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-30 17:03:24 +00:00
Bjorn Winckler b45f1d37c6 Active & Pending
git-svn-id: http://macvim.googlecode.com/svn/trunk@38 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 18:03:33 +00:00
Bjorn Winckler a02a149dc2 - Added registering of user defaults, supported defaults: nowindow, tabminwidth, tabmaxwidth, taboptimumwidth, statuslineoff - Implemented hiding of status line via user default 'statuslineoff'
git-svn-id: http://macvim.googlecode.com/svn/trunk@37 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 18:01:14 +00:00
Bjorn Winckler 37a8aa2661 - The leftmost horizontal scrollbar is stretced to cover the tab view - Scrollbars are clipped to fit the tab view
git-svn-id: http://macvim.googlecode.com/svn/trunk@36 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 17:11:01 +00:00
Bjorn Winckler c2b80619a0 - The range is clipped to maxRows in rectForRowsInRange: - The range is clipped to maxColumns in rectForColumnsInRange:
git-svn-id: http://macvim.googlecode.com/svn/trunk@35 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 17:10:05 +00:00
Bjorn Winckler a2405dbee9 Enabled native exception handling.
git-svn-id: http://macvim.googlecode.com/svn/trunk@34 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 15:22:12 +00:00
Bjorn Winckler 3e1b8d1c0d Added exception handling to deal with time-outs in sendMessage:::
git-svn-id: http://macvim.googlecode.com/svn/trunk@33 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 15:21:52 +00:00
Bjorn Winckler 44c6ee46ee Don't wait on ScrollbarEventMsgID.
git-svn-id: http://macvim.googlecode.com/svn/trunk@32 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 15:20:26 +00:00
Bjorn Winckler cc7e1b9b11 Active & pending changed
git-svn-id: http://macvim.googlecode.com/svn/trunk@31 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 15:01:17 +00:00
Bjorn Winckler 26a06f581f - Status line shows 'title' text on :browse - Status line shows dimensions when user drags/zooms the window
git-svn-id: http://macvim.googlecode.com/svn/trunk@30 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 14:55:37 +00:00
Bjorn Winckler a7d20e4dee Added :browse support for DO.
git-svn-id: http://macvim.googlecode.com/svn/trunk@29 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 12:40:25 +00:00
Bjorn Winckler 2ddd79ba97 Patched up memory leak by balancing two unmatched alloc/release calls.
git-svn-id: http://macvim.googlecode.com/svn/trunk@28 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 11:58:38 +00:00
Bjorn Winckler 5381551a05 colorscheme now works (even after resizing window).
git-svn-id: http://macvim.googlecode.com/svn/trunk@27 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 11:10:45 +00:00
Bjorn Winckler c10ae3882e - Tabs no longer uses 'size to fit'. - Added some cautionary comments to certain sendMessage:data:wait: calls.
git-svn-id: http://macvim.googlecode.com/svn/trunk@26 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 10:27:18 +00:00
Bjorn Winckler e70a969683 Added connection to event tracking mode so that live resize works for DO.
git-svn-id: http://macvim.googlecode.com/svn/trunk@25 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 10:25:33 +00:00
Bjorn Winckler a1011f566a Added support for 'wait' flag in sendMessage:data:wait:.
git-svn-id: http://macvim.googlecode.com/svn/trunk@24 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-29 10:24:42 +00:00
Bjorn Winckler 0fd41065f9 More bugs...
git-svn-id: http://macvim.googlecode.com/svn/trunk@21 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-28 20:21:18 +00:00
Bjorn Winckler 2bb270f60c - Added support for Distributed Objects, as an alternative to NSPortMessage for communicating between processes (MM_USE_DO=0 to disable in MacVim.h) - MMWindowController, MMTextView does not communicate directly with backend anymore, instead they have to go through MMVimController sendMessage:data:wait:. - If window is closed by clicking the red button, Vim now displays a message if a buffer has been modified.
git-svn-id: http://macvim.googlecode.com/svn/trunk@20 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-28 20:19:20 +00:00
Bjorn Winckler 0f60f1a416 Changed the misnomer 'emptyColumn*' to 'emptyRow*'.
git-svn-id: http://macvim.googlecode.com/svn/trunk@19 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-27 06:24:00 +00:00
Bjorn Winckler b3a6a7c442 Vim runtime is now copied using a 'Copy Files Build Phase' instead of using a shell script.
git-svn-id: http://macvim.googlecode.com/svn/trunk@17 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-26 07:19:08 +00:00
Bjorn Winckler 5bd7a8c04b Don't wait on SetTextDimensionsMsgID while in live resize.
git-svn-id: http://macvim.googlecode.com/svn/trunk@16 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-26 07:17:17 +00:00