Compare commits

..

1983 Commits

Author SHA1 Message Date
Bjorn Winckler b8ac483bf8 Snapshot 23 2008-03-09 21:14:50 +01:00
Bjorn Winckler 9f83b2360b Line numbers are brighter when bg=dark
This applies to ":set number" under the macvim color scheme.
2008-03-08 20:56:52 +01:00
Bjorn Winckler 88b58bbd9f Get rid of compilation warning messages 2008-03-08 15:43:16 +01:00
Bjorn Winckler dee796111a Add Universal build target to 'Edit in ODBEditor' project 2008-03-08 15:42:50 +01:00
Bjorn Winckler 8ab6c75d08 Higher constrast mouse cursor in insert mode
An Ibeam cursor with a white outline was added to make it easier to spot
when 'bg=dark'.
2008-03-08 15:41:03 +01:00
Ben Schmidt 3d8abd2669 Improved method to start Vim processes in a login shell
A login shell is started by exec'ing a shell process whose argv[0] is
prepended with a dash.  Which shell to use can be controlled with user
default MMLoginShellCommand (or by setting $SHELL).  If the shell needs
a parameter to make it a login shell then this can be set with the user
default MMLoginShellArgument.  The documentation has been updated with
these new user defaults.
2008-03-07 22:42:46 +01:00
Bjorn Winckler 12bec6e4ef Merge upstream 2008-03-06 22:46:00 +01:00
vimboss d26a1b2aad updated for version 7.1-267 2008-03-06 21:45:49 +00:00
Bjorn Winckler 68799a3f7b Integration pane: version label moved, typo fixed 2008-03-06 21:53:18 +01:00
Bjorn Winckler 164caf3832 Set <D-C-z> as key equivalent for Window->Zoom menu item
This key equivalent is the same as in iTunes.
2008-03-06 19:55:42 +01:00
Bjorn Winckler fa28669748 Recognize files with 'patch' and 'diff' extensions 2008-03-06 19:49:36 +01:00
Nico Weber 2fefb81d43 Update the Integration prefs pane
The integration pane now contains descriptive text concerning the 'Edit
in ODBEditor' input manager.
2008-03-06 19:35:22 +01:00
Nico Weber 9d568fc7c9 Merge upstream Edit in TextMate changes, remove a utf8 char 2008-03-06 19:25:56 +01:00
Bjorn Winckler 0e6bfe9367 Update help
Add comments on automatic updates in "important" section and MMZoomBoth
in "hints" section.
2008-03-02 17:36:02 +01:00
Nico Weber 042108b0ad ODB Input Manager installer is version sensitive
The Integration prefs pane states which version of the input manager
currently is installed.  The Input Manager version is bumped from 1.0
to 1.1.
2008-03-01 20:00:30 +01:00
Nico Weber 8ee6c93248 Integration prefs pane update
- Make last prefs pane persistent
- Order editor list alphabetically
- Set editor on install if it is not set
- Code cleanup
2008-03-01 16:31:36 +01:00
vimboss 3f9f756149 updated for version 7.1-266 2008-03-01 12:49:21 +00:00
Bjorn Winckler f6a5f65011 Add "Edit in ODBEditor" input manager credits 2008-02-28 18:53:41 +01:00
Nico Weber f6e817e253 Preference panel update, input manager installer
The preference panel now uses Dave Batton's DBPrefsWindowController
class.  A (preliminary) "Integration" panel has also been added which
adds buttons to install the "Edit in ODBEditor" input manager, and a way
to choose which editor to use with the input manager.

The input manager is now bundled inside MacVim.app and the source code
has been added to the project.  The original ODB input manager source
code was written by Allan Odgaard and was later modified by Chris Eidhof
and Eelco Lempsink to make it work with other editors than TextMate.

The installer uses a new AuthorizedShellCommand class.

Dave Batton is credited in the About dialog.
2008-02-28 18:30:34 +01:00
Bjorn Winckler bf22f09010 Add src/po/*.mo to .gitignore 2008-02-27 22:10:40 +01:00
vimboss 41c734a1aa updated for version 7.1-266 2008-02-27 15:14:04 +00:00
vimboss 65b46aa438 updated for version 7.1-265 2008-02-26 20:30:12 +00:00
vimboss 55790c5bb1 updated for version 7.1-264 2008-02-25 20:55:22 +00:00
vimboss 160b3ddb75 updated for version 7.1-263 2008-02-25 19:46:51 +00:00
Bjorn Winckler 4bbbab9e56 Enlarge try/catch block in connect backend
There have been reports of uncaught exception when the backend connects.
Hopefully these exceptions will no longer go uncaught.
2008-02-23 16:30:58 +01:00
vimboss 548238236c updated for version 7.1-262 2008-02-20 19:11:07 +00:00
vimboss 1f27812ec0 updated for version 7.1-261 2008-02-20 17:15:26 +00:00
vimboss 1b21020c55 updated for version 7.1-260 2008-02-20 13:59:32 +00:00
vimboss d6fb745d7b updated for version 7.1-259 2008-02-20 13:16:29 +00:00
vimboss b5d1a8c5ba updated for version 7.1-258 2008-02-20 12:43:01 +00:00
vimboss 2e80f981c6 updated for version 7.1-258 2008-02-20 12:41:56 +00:00
vimboss 43d56b9b31 updated for version 7.1-257 2008-02-20 11:44:03 +00:00
vimboss d3b99588e3 updated for version 7.1-256 2008-02-20 11:24:52 +00:00
vimboss 80e4ddf501 updated for version 7.1-255 2008-02-20 10:29:39 +00:00
vimboss 143c782109 updated for version 7.1-254 2008-02-20 09:58:18 +00:00
vimboss a9dce2fa3d updated for version 7.1-253 2008-02-18 18:42:52 +00:00
Bjorn Winckler bd394ba7b4 Cmd-click to only maximize vertically when MMZoomBoth is set 2008-02-17 20:01:19 +01:00
Bjorn Winckler 17b0feb45b Add MMZoomBoth user default
If MMZoomBoth user default is enabled, then the green zoom button will
maximize horizontally as well as vertically.
2008-02-16 19:55:44 +01:00
Nico Weber 9265b87738 No CF calls between fork() and exec()
Ensure no CoreFoundation calls are made between fork() and exec()
otherwise Mac OS X may crash and burn.
2008-02-16 18:26:01 +01:00
Jjgod Jiang 84a3908488 Cursor drawing and inset support for ATSUI renderer 2008-02-15 20:22:06 +01:00
vimboss da50fc7107 updated for version 7.1-252 2008-02-14 21:20:26 +00:00
Bjorn Winckler a2f006b7a5 Update Appcast for snapshot 22 2008-02-14 21:03:11 +01:00
vimboss ff477a8d27 updated for version 7.1-251 2008-02-13 20:49:04 +00:00
Bjorn Winckler ef149aa134 Snapshot 22
The 'make-snapshot.sh' script has also been updated.
2008-02-13 20:02:07 +01:00
Bjorn Winckler a6907b971a Add info concerning find to MacVim help 2008-02-13 19:21:51 +01:00
vimboss a8b5c51adf updated for version 7.1-250 2008-02-13 17:36:06 +00:00
Bjorn Winckler ee5a7d0bb7 Add script that builds a new snapshot
The script make-snapshot.sh will build a new snapshot, then create a
folder on the Desktop containing
    MacVim.app
    README-snapshot.txt
    mvim
The folder is then archived and compressed (to a file on the Desktop).
2008-02-13 18:03:58 +01:00
Bjorn Winckler dd78d32dd4 Fix Find Pasteboard bugs
As a temporary precaution, the Find Pasteboard is not used during a fork
since this caused the entire machine to lock up.

Also, only patterns from a search (/ and ?) are added to the pboard; not
patterns from a substitution (:s).
2008-02-13 17:54:20 +01:00
vimboss 1190edd343 updated for version 7.1-249 2008-02-13 14:21:38 +00:00
vimboss 0a00f8f69f updated for version 7.1-248 2008-02-13 11:42:46 +00:00
vimboss b5b2678f9d updated for version 7.1-247 2008-02-13 09:58:14 +00:00
vimboss 1b133a3190 updated for version 7.1-246 2008-02-13 09:28:19 +00:00
Bjorn Winckler 5e1defcf44 Update Appcast
Replaced '<' and '>' with '&lt;' and '&gt;' where necessary.
2008-02-11 22:32:43 +01:00
Bjorn Winckler 73708d6ff2 Snapshot 21 2008-02-11 22:20:22 +01:00
Bjorn Winckler 566dae45c7 Change LineNr highlight group in macvim color scheme
This color change affects ':set number' when bg=dark.
2008-02-11 21:47:43 +01:00
Bjorn Winckler 1f5a9fa89b Send cursor position on each batch draw
The cursor position is used to set the selected range in the MMTextView.
This provides some support for voice over (enable with Mac+F5).
2008-02-11 20:52:48 +01:00
Bjorn Winckler ddfeb8cac3 Implement bell
The bell uses NSBeep() and can hence be changed in the System
Preferences.  Note that the visual bell is not yet implemented.
2008-02-11 20:50:48 +01:00
Bjorn Winckler 4630903d9d Remove plist/dict from registered file types
The .plist and .dict entries were removed from Info.plist since files of
this type may be in binary format.
2008-02-11 20:44:51 +01:00
Bjorn Winckler e7d7b1f602 Find Next/Previous and Use Selection for Find menus
Implemented "Find Next", "Find Previous" and "Use Selection for Find"
menus.  In the process the Edit->Find menu has been restructured.  To
accomodate these changes the code changed so that the Find Pasteboard is
updated also when :set @/ = ... is called (previously the Find
Pasteboard was only updated when an actual search was executed).
2008-02-11 20:31:19 +01:00
vimboss 0f6e98e9fc updated for version 7.1-245 2008-02-10 21:25:55 +00:00
Bjorn Winckler 6269aa03e0 Vim search patterns are put on the OS X Find Pasteboard
By adding search patterns to the Find Pasteboard other apps can access
Vim search patterns.  For example, if the user types
    /neat<CR>
in MacVim and then switches to Safari and hits <D-g>, then Safari will
search for the string "neat".
2008-02-09 22:24:25 +01:00
Bjorn Winckler c0447dd6ed Track pad scrolling is force sensitive
When scrolling with the track pad, check the force the user is scrolling
with and adjust the number of lines scrolled accordingly.  Previously
each track pad event scrolled three lines indepent of how forceful the
scroll movement was.
2008-02-06 20:40:35 +01:00
Bjorn Winckler 67a9c70f48 Don't hide prefs panel on deactivate
The preferences panel no longer hides when MacVim loses focus.  Also,
some space has been added between buttons in the preferences panel.
2008-02-06 18:09:31 +01:00
vimboss ed474b1614 updated for version 7.1-244 2008-02-06 16:33:58 +00:00
vimboss 518615feff updated for version 7.1-243 2008-02-06 13:44:43 +00:00
Bjorn Winckler b775f355e5 Add howto comment to appcast file 2008-02-05 20:29:16 +01:00
Bjorn Winckler 72af81b0f6 Sparkle credits in About dialog 2008-02-05 20:22:35 +01:00
Bjorn Winckler 6ca6e7871d Added help on preferences 2008-02-05 20:03:55 +01:00
Bjorn Winckler 2e2af8ad40 Update preferences panel
Some esoteric options were removed; added descriptions to some options.
2008-02-05 20:02:55 +01:00
Bjorn Winckler 867d7e7d52 Removed stray entry in Info.plist dictionary 2008-02-03 21:05:02 +01:00
Bjorn Winckler 24df753553 Added MacVim Appcast file 2008-02-03 17:34:58 +01:00
Bjorn Winckler 9a62a4c05e Update Xcode project file
- add 'Universal' configuration (builds a universal binary)
- use 'apple-generic' versioning (agvtool)
2008-02-03 16:13:06 +01:00
Bjorn Winckler 66263defaa Add 'Check for updates' option to preferences 2008-02-03 14:48:34 +01:00
Nico Weber fdf5c7cf04 Sparkle support for automatic updates
With this commit the versioning scheme of MacVim has also changed;
CFBundleVersion is now a number (indicating the build), and
CFBundleShortVersionString contains the version number (e.g. 7.1).
2008-02-03 14:38:14 +01:00
Bjorn Winckler 90acffb41f Clean up object deallocation code 2008-02-01 22:09:42 +01:00
Bjorn Winckler 39b2308db7 Use Cocoa bindings for preferences panel 2008-01-31 20:51:41 +01:00
Bjorn Winckler b8a482ebf8 Always detect ^C
Sometimes Ctrl-keys are sent to the backend as text instead of as a
command key, so we must look for ^C in both cases.

This fixes a the ^W^C bug (Issue 48).
2008-01-31 19:45:22 +01:00
Bjorn Winckler 3b98d9f0dc Decrease false positives on untitled window detection
The detection algorithm is still dumb; it now thinks a window is
untitled (i.e. good for opening new files in) when its title begins with
"[No Name] - VIM".  This means that it now rejects modified buffers
which haven't been saved to a file.
2008-01-31 16:24:45 +01:00
Bjorn Winckler f2740bd858 Order window front when opening files
Ensure that the window is ordered front when opening files in an already
open window (otherwise a newly open filed may be in an obscured window).
2008-01-31 16:19:00 +01:00
Bjorn Winckler 3c18a31949 Code cleanup 2008-01-31 16:11:18 +01:00
Bjorn Winckler 2dbe83f704 Warn if multiple tabs or windows are open when quitting 2008-01-30 22:05:55 +01:00
Bjorn Winckler b8e984431a Added preference panel
The preference panel is very simplistic at the moment.  We might want to
consider making it a Safari-style preference panel if the number of
preferences increase.
2008-01-30 20:16:25 +01:00
Bjorn Winckler 112f86ba33 File->Close sends performClose:
This fixes a bug where <D-w> would close not close the about dialog box,
but instead would close a (partially) obscured window.
2008-01-29 20:05:21 +01:00
Bjorn Winckler d2b63e9e8f Revert to using NSTask to launch MacVim
Using Launch Services (LS) caused several problems, so this commit
reverts back to using NSTask to launch MacVim from a Vim process.

The most severe problem LS caused was that sometimes MacVim would never
finish launching (the dock icon kept bouncing forever).  Rebuilding the
LS database seemed to temporarily fix this problem, but it kept
reoccuring.
2008-01-27 14:37:59 +01:00
Bjorn Winckler ec81b3fea1 Launch MacVim from path instead of bundle id
Use bundle path instead of bundle identifier when MacVim is launched
from a Vim process.  This avoids problems when there are several copies
of MacVim.app on the hard drive.
2008-01-27 13:28:57 +01:00
Bjorn Winckler ff9125d6ac Highlight spotlight queries on open
When MacVim is started from a spotlight search, the query text from
spotlight is highlighted.
2008-01-26 22:25:09 +01:00
Bjorn Winckler ab38b8a17d Merge upstream 2008-01-26 21:16:00 +01:00
vimboss dfb4d1738a updated for version 7.1-242 2008-01-26 20:15:46 +00:00
Bjorn Winckler 81598be330 Added MMTexturedWindow user default
Enable MMTexturedWindow to get textured window on Tiger (Leopard always
uses a textured window).
2008-01-26 18:36:32 +01:00
Bjorn Winckler c438b122f7 Use Launch Services, user default for untitled windows
Use Launch Services when launching MacVim from a Vim process instead of
using NSTask.

Added user default 'MMUntitledWindow' which controls when an untitled
window should open.  It can take the following values:
    0 = Never open untitled window
    1 = Open untitled window on 'Open' event
    2 = Open untitled window on 'Reopen' event
    3 = Open untitled window on both 'Open' and 'Reopen' events
2008-01-26 16:40:24 +01:00
Bjorn Winckler a08f1f6181 File opening procedure changed
When files is being opened (via [MMAppController
application:openFiles:]) try to open the files in an untitled window
(either one that is already open, or one that is currently launching).
This avoids two windows opening when the 'Edit in MacVim' input manager
is used, or when files are opened from Xcode.
2008-01-25 22:14:40 +01:00
Bjorn Winckler 2d4573091b File->Open pops up a modal 'open files' dialog
The File->Open dialog lets the user choose one or more files which are
opened in tabs in a new window; it replaces the behaviour where
File->Open presented a sheet which opened (at most) one file in the
topmost window.  This conforms better with the standard File->Open
behaviour of Mac apps.
2008-01-23 21:55:43 +01:00
Bjorn Winckler 5bc6c46082 Give warning if user symlinked to Vim binary
Cocoa does not support symlinking because NSBundle then fails to find
resources.  Give a warning if possible symlinking is detected.
2008-01-23 21:21:51 +01:00
Bjorn Winckler 863b5ab5dc Removed window nib files
Windows are created programatically instead of via a nib file.
2008-01-23 20:30:49 +01:00
Bjorn Winckler bc28f07b5e <M-Up> and <M-Down> not triggered twice
The default Cocoa key bindings map these key presses to two commands
which led them to be triggered twice.  Avoid this by passing
Alt+Function key presses straight to Vim instead of to
interpretKeyEvents:.
2008-01-23 19:39:13 +01:00
Bjorn Winckler 807c425577 Window title is set on both decorated and full-screen window 2008-01-23 19:17:03 +01:00
Bjorn Winckler e5519102a7 Ensure menus are updated when window focus changes 2008-01-23 19:06:58 +01:00
Bjorn Winckler 284ae9fd34 Make text view first responder when leaving full-screen
The 'plus' button on the tabline got first responder status when leaving
full-screen, which (among other things) looks bad when full keyboard
access is enabled.

Also some code cleanup.
2008-01-22 19:50:50 +01:00
vimboss 749277ae52 updated for version 7.1-241 2008-01-22 16:50:03 +00:00
vimboss 92589cc363 updated for version 7.1-240 2008-01-22 15:02:31 +00:00
vimboss 8a854c9af4 updated for version 7.1-239 2008-01-22 11:44:47 +00:00
vimboss 5724e9d810 updated for version 7.1-238 2008-01-22 10:59:38 +00:00
vimboss 746394abc7 updated for version 7.1-237 2008-01-22 10:06:48 +00:00
Bjorn Winckler 2273c98630 Cursor color change in dark macvim color scheme 2008-01-21 22:18:58 +01:00
Bjorn Winckler a162472912 Window and view refactoring
Window and view code was refactored to better accomodate the transition
to the ATSUI text rendering code.  View specific code has been
completely moved into MMVimView and window code is now all in
MMWindowController; the window controller is also 'full-screen aware'.
Finally, the text storage is no longer referenced outside MMTextView --
the idea is that the text view is the public class for handling the
work that MMTextStorage used to be the public interface for.

This refactoring also brings some improvements:
- window resizing is more responsive
- full-screen window memory leak fixed
- proper fix for erroneous 'buffer modified' warning
- full-screen no longer tried to set 'nil-title' (this caused backend
  connection problems)
- changing lines/columns in full-screen works properly
- open dialog now works in full-screen on Tiger
2008-01-21 22:10:04 +01:00
Jjgod Jiang 41dfa1ceb3 Experimental ATSUI text rendering support
The ATSUI renderer can be enabled by setting the user default
MMAtsuiRenderer.  At the moment only very basic text drawing is supported.
2008-01-21 21:54:58 +01:00
Bjorn Winckler ba1599a054 Prepared for ATSUI renderer 2008-01-21 21:49:29 +01:00
vimboss 349aaa485c updated for version 7.1-236 2008-01-19 14:59:58 +00:00
vimboss 7fda334158 updated for version 7.1-235 2008-01-18 19:37:23 +00:00
vimboss e0ee322a35 updated for version 7.1-234 2008-01-18 16:40:00 +00:00
vimboss 60e87093c4 updated for version 7.1-233 2008-01-18 12:16:16 +00:00
vimboss a9241c754d updated for version 7.1-232 2008-01-18 10:40:55 +00:00
vimboss 363385f636 updated for version 7.1-231 2008-01-16 19:03:13 +00:00
vimboss d6ab57341f updated for version 7.1-230 2008-01-15 21:17:30 +00:00
vimboss 31b1d9b73e updated for version 7.1-229 2008-01-14 19:12:28 +00:00
vimboss 3627b2f3c1 updated for version 7.1-228 2008-01-13 20:58:13 +00:00
vimboss 351704de2b updated for version 7.1-227 2008-01-13 16:40:19 +00:00
vimboss 388d57e9ca updated for version 7.1-226 2008-01-13 16:12:10 +00:00
vimboss 2c4b19281e updated for version 7.1-225 2008-01-13 15:31:00 +00:00
vimboss 91211e9363 updated for version 7.1-224 2008-01-13 15:18:01 +00:00
vimboss 7d05538499 updated for version 7.1-223 2008-01-13 12:54:11 +00:00
vimboss d38181302e updated for version 7.1-222 2008-01-13 12:31:34 +00:00
vimboss 8c8f8b045e updated for version 7.1-221 2008-01-12 17:13:50 +00:00
vimboss 2ee18fafae updated for version 7.1-220 2008-01-12 16:12:10 +00:00
vimboss 8c222c7e58 updated for version 7.1-219 2008-01-12 15:47:10 +00:00
vimboss 4267974d65 updated for version 7.1-218 2008-01-11 20:27:45 +00:00
vimboss 8aea8c7c62 updated for version 7.1-217 2008-01-11 20:02:02 +00:00
vimboss 211a825ff1 updated for version 7.1-216 2008-01-11 19:26:36 +00:00
vimboss e7e7103b6e updated for version 7.1-215 2008-01-10 21:24:39 +00:00
vimboss 09bd51ab00 updated for version 7.1-214 2008-01-09 21:40:50 +00:00
vimboss 39d2adf550 updated for version 7.1-213 2008-01-09 19:30:36 +00:00
vimboss 3e7c128fa1 updated for version 7.1-212 2008-01-09 09:14:13 +00:00
Bjorn Winckler 46b5d6e03d Fixed potential font memory issue
The font was not retained when setting gui.norm_font leading to a pointer into
freed memory.  The font instance is now retained before its pointer value is
stored in gui.norm_font.
2008-01-07 20:28:10 +01:00
Nico Weber 38a4d64829 Fix full-screen mode for secondary monitors 2008-01-07 20:04:58 +01:00
vimboss b2c2bd07ca updated for version 7.1-211 2008-01-06 19:07:36 +00:00
vimboss 2aae59b4ef updated for version 7.1-210 2008-01-06 16:18:56 +00:00
vimboss 12666d184a updated for version 7.1-209 2008-01-06 14:17:07 +00:00
vimboss fe9562ad0e updated for version 7.1-208 2008-01-05 21:16:31 +00:00
vimboss 51acc6dc1c updated for version 7.1-207 2008-01-05 17:07:13 +00:00
vimboss 56e78127ac updated for version 7.1-206 2008-01-05 12:59:22 +00:00
vimboss 8406015ca8 updated for version 7.1-205 2008-01-05 12:35:21 +00:00
vimboss 774000c089 updated for version 7.1-204 2008-01-05 12:15:52 +00:00
vimboss 9d64e4b658 updated for version 7.1-203 2008-01-04 20:25:44 +00:00
vimboss 020105ac21 updated for version 7.1-202 2008-01-04 16:47:25 +00:00
vimboss 669a83bae4 updated for version 7.1-201 2008-01-04 15:31:21 +00:00
vimboss 7269f12a02 updated for version 7.1-200 2008-01-04 15:01:07 +00:00
vimboss 61c2723fe4 updated for version 7.1-199 2008-01-04 14:17:47 +00:00
vimboss fe91a4219a updated for version 7.1-198 2008-01-04 13:53:09 +00:00
vimboss df62283de1 updated for version 7.1-197 2008-01-04 10:54:50 +00:00
vimboss 4a3eae9188 updated for version 7.1-196 2008-01-03 19:45:15 +00:00
vimboss 0b7a45a080 updated for version 7.1-195 2008-01-03 19:22:13 +00:00
vimboss 66737e6c2f updated for version 7.1-194 2008-01-03 17:56:04 +00:00
vimboss a80249687e updated for version 7.1-193 2008-01-03 16:54:33 +00:00
vimboss b67de3af6e updated for version 7.1-192 2008-01-03 15:34:40 +00:00
vimboss b430bea05b updated for version 7.1-191 2008-01-03 15:15:07 +00:00
vimboss 7559b4ecde updated for version 7.1-190 2008-01-03 12:20:39 +00:00
vimboss 12925f4d7d updated for version 7.1-189 2008-01-03 11:43:42 +00:00
vimboss 2ccef6c79c updated for version 7.1-188 2008-01-02 21:09:33 +00:00
vimboss 80bc4d6dc9 updated for version 7.1-187 2008-01-02 20:55:27 +00:00
vimboss f7a1b45ac5 updated for version 7.1-186 2008-01-02 20:08:25 +00:00
vimboss ba0c8072f4 updated for version 7.1-185 2008-01-02 16:49:36 +00:00
vimboss 198db906c2 updated for version 7.1-184 2008-01-02 15:26:04 +00:00
vimboss e0e4842dbc updated for version 7.1-183 2008-01-02 14:35:30 +00:00
vimboss adf2f0f983 updated for version 7.1-182 2008-01-02 14:13:10 +00:00
vimboss 2f9baad13e updated for version 7.1-181 2008-01-02 12:59:21 +00:00
vimboss ffcfd31c50 updated for version 7.1-180 2008-01-01 16:37:52 +00:00
vimboss f6b49aced3 updated for version 7.1-179 2008-01-01 15:26:45 +00:00
vimboss b78bbb7a6a updated for version 7.1-178 2008-01-01 14:43:35 +00:00
vimboss f01367c69c updated for version 7.1-177 2008-01-01 13:17:56 +00:00
vimboss 45bc1b3aab updated for version 7.1-176 2007-12-31 15:42:13 +00:00
Bjorn Winckler 035e74e287 Update docs
Fixed typos, updated section on the macvim color scheme as well as the toolbar
section.
2007-12-19 23:14:20 +01:00
Bjorn Winckler 02da38accf Avoid false 'documented edited' warning when quitting
If a Vim process is quit using :wq the 'document edited' flag is never cleared,
so always clear it during cleanup.
2007-12-18 17:37:11 +01:00
Nico Weber 08e7634e76 Documentation updates
Added some info about forking on Mac OS X and some other minor improvements.
2007-12-14 19:17:29 +01:00
Bjorn Winckler 621f94828e Fix memory leak in window controller
The NSWindow object for a window controller was alloc'ed but never released
when initializing the window controller.
2007-12-14 18:56:18 +01:00
vimboss 288e582e22 updated for version 7.1-175 2007-12-09 19:26:44 +00:00
vimboss d2887e47c1 updated for version 7.1-174 2007-12-09 18:38:35 +00:00
vimboss e1a13bb449 updated for version 7.1-173 2007-12-09 18:26:22 +00:00
vimboss 6530cc5fad updated for version 7.1-172 2007-12-08 21:21:18 +00:00
vimboss f7dae3e393 updated for version 7.1-171 2007-12-07 19:28:58 +00:00
vimboss 71c63ec8b7 updated for version 7.1-170 2007-12-07 16:30:42 +00:00
vimboss 6e33c67cf0 updated for version 7.1-169 2007-12-07 16:09:32 +00:00
Nico Weber c9304c3b82 Fix forking infinite loop 2007-12-04 21:09:31 +01:00
Nico Weber 86ba888201 Fix tab color flicker problem on Leopard 2007-12-04 20:50:31 +01:00
vimboss 3f33f484ea updated for version 7.1-168 2007-12-03 21:21:03 +00:00
vimboss 7169cf4644 updated for version 7.1-167 2007-12-03 20:32:43 +00:00
Bjorn Winckler 922a70fafc Fix initial window placement
When ~/Library/Preferences/org.vim.MacVim.plist does not exist the window will
be placed according to the frame passed when initializing the NSWindow, so set
some sane default values.
2007-12-02 16:48:24 +01:00
Bjorn Winckler 81a1de822a Add mvim script, update credits 2007-12-02 15:57:54 +01:00
Bjorn Winckler 5fafa98d5f Cursor line & column darker when bg=dark in macvim color scheme 2007-12-02 15:22:47 +01:00
Nico Weber d4855706c0 Nicer looking tabs on Leopard
Make the tabs look almost identical to the Leopard Terminal.app tabs (only on
Leopard, the Tiger tabs are unchanged).
2007-12-02 15:00:37 +01:00
Nico Weber b86eee82f8 Add fork support
If vim is started via '-g', it forks and exec()s a new (!) vim instance in the
child process. But if the gui is started via `:gui`, no forking is done.

In MacVim, pass the '-f' flag when starting a new Vim process (should not fork
in this instance).
2007-12-02 13:05:14 +01:00
vimboss 7dae143cbf updated for version 7.1-166 2007-12-01 20:13:05 +00:00
vimboss b538610846 updated for version 7.1-165 2007-12-01 16:19:33 +00:00
vimboss 5f0dd0f4dc updated for version 7.1-164 2007-11-29 20:27:21 +00:00
vimboss 4e2c26c5c4 updated for version 7.1-163 2007-11-29 16:46:44 +00:00
Bjorn Winckler 88d1e3c664 Parse selection range when opening files from Xcode
Xcode sets the 'keyAEPosition' parameter in the 'odoc' Apple event. This
contains information on the line range to select when opening files.
2007-11-28 20:12:44 +01:00
Bjorn Winckler 809f415bda Docs updated on ODB support, fixed Info.plist 2007-11-27 21:38:19 +01:00
Bjorn Winckler f99ce72a11 ODB Editor protocol (aka 'external editor') support
Programs that support ODB asks MacVim to open files. When a file is written or
closed, MacVim notifies the program of these events. (At the moment the 'Burl'
parameter is parsed but ignored. The 'RdEV' parameter is ignored.)
2007-11-27 21:07:08 +01:00
vimboss a2cbf49598 updated for version 7.1-162 2007-11-24 20:50:24 +00:00
vimboss d1de3525e9 updated for version 7.1-161 2007-11-24 20:28:24 +00:00
vimboss 645bfbd1e8 updated for version 7.1-160 2007-11-24 14:44:58 +00:00
vimboss 0a2913b2d6 updated for version 7.1-159 2007-11-20 17:04:29 +00:00
vimboss bafa127dbd updated for version 7.1-158 2007-11-20 16:22:16 +00:00
vimboss 45553c0c6a updated for version 7.1-157 2007-11-20 11:31:26 +00:00
Bjorn Winckler 3a36672982 Improved support for Ctrl-mappings
Ctrl-letter keys are passed directly to the input buffer so that the backend
can separate e.g. <C-i> and <C-Tab>.
2007-11-19 21:20:56 +01:00
Bjorn Winckler 2fbfb74a77 MMLoginShell defaults to NO
Starting a tcsh shell with -c and -l doesn't work so disable this user default
until further notice.
2007-11-18 14:18:12 +01:00
Bjorn Winckler 240bb64660 Constrain window frame to screen after live resize
Always send SetTextDimensionsMsgID to Vim at the end of live resize to ensure
that resizeWindowToFit gets called.  Otherwise the window can be too big and
will then automatically resize when a dialog sheet is presented or when the
window is moved, which feels strange.
2007-11-18 14:16:42 +01:00
Bjorn Winckler 2e105da555 Fix a wide character bug
When replacing characters in the text storage it could happen that a row 'lost'
one column when a wide character was replaced with a normal one.
2007-11-17 18:03:47 +01:00
Bjorn Winckler 00e0971705 MacVim color scheme supports dark background
Change background color with ":set background=dark" (see :h 'background')
2007-11-17 15:03:56 +01:00
Bjorn Winckler 2d5e4ef21d Removed stray debug log message 2007-11-15 22:09:01 +01:00
Bjorn Winckler 8df6521434 Preserve swap files after crash
Before terminating gracefully, send a TerminateNowMsgID to every Vim process so
that they can determine whether MacVim quit or crashed.  If MacVim quits, call
getout() to exit Vim (this removes swap files), otherwise call
getout_preserve_modified() (this preserves swap files).
2007-11-15 22:04:06 +01:00
Bjorn Winckler 5ba1fac486 Fix autocommands in macvim color scheme
Calling ':set bg=dark' in .gvimrc clears colors_name which caused an error
message to pop up every time the focus changed due to the autocommands
installed in macvim.vim accessing colors_name.
2007-11-15 20:40:09 +01:00
Bjorn Winckler e3cd69d29c Improved marked text handling
Delete, enter, escape, all work as expected with marked text visible.
2007-11-13 20:18:16 +01:00
Bjorn Winckler f7e4a83a92 Add IM control support
When the default system keyboard script is non-roman the input manager is
automatically switched to a roman keyboard script when going to normal mode.
See 'imd', 'imc', 'imi' for some relevant options.  MacVim uses an
over-the-spot style of IM support.
2007-11-13 19:15:11 +01:00
Bjorn Winckler eaaacf8af6 Disable login shell with "MMLoginShell"
New Vim processes are by default launched via a login shell so that the user's
environment gets profiled.  This behavior can be disabled by setting the user
default "MMLoginShell" to 0.
2007-11-12 20:17:57 +01:00
Nico Weber 3306ace54e Enable trackpad scrolling over the black area in full-screen 2007-11-11 20:34:57 +01:00
Bjorn Winckler 8e8f563178 Support file-open check for multiple files
When dropping multiple files, make sure none of the files are already open.  If
all files were already open, then select the window and tab of the first file
that was open.  If at least one file was not already open, then simply ignore
the open files and open the unopened ones.

Also don't check if files exists inside application:openFiles: since files that
are passed here are assumed to already exists.  The existence check has been
moved to the system services message openFile:userData:error:.
2007-11-11 20:27:03 +01:00
vimboss 501bdb54dd updated for version 7.1-156 2007-11-11 18:17:28 +00:00
Bjorn Winckler ea9acd7e15 Updated help files
Updated gui_mac.txt to reflect better handling of Unicode.

Not all occurrences of ":action" and ":menukeyequiv" had been changed to
":macaction" and ":macmenukey".

Updated 'guifontwide' entry.
2007-11-11 15:46:04 +01:00
Bjorn Winckler 9d16bac368 New text drawing model, better unicode support, 'gfw' support, etc.
Characters and columns are no longer assumed to be in one-to-one
correspondence.  Thus when modifying the text storage a (row,column) pair must
be searched for.  This is managed using
    [NSString rangeOfComposedCharacterSequenceAtIndex:]
and by marking wide characters with an attribute (called "MMWideChar").  We
also provide an optimized code path for when characters and columns are in
one-to-one correspondence (no wide chars, only chars that can be represented by
one utf16 character).

A new typesetter is also used.  Instead of overriding
layoutGlyphsInLayoutManager:::: we override willSetLineFragmentRect::::.  This
typesetter can handle composing characters, whereas the old typesetter couldn't
(it can still be used by setting the user default "MMTypesetter" to
"MMTypesetter2".)

Note that text rendering still has flaws, the Cocoa Text System and Vim has
different opinions on how much space certain characters take up and this
results in display bugs.  (E.g. nonspacing marks such as U+064C are
problematic.)  Also, sometimes the layout manager hides glyphs but Vim assumes
that each character is displayed (resulting in yet more display bugs).

Added support for 'guifontwide'.  This can be set to anything (different font
size); it is quite possible to set it so that the display becomes completely
messed up.
2007-11-11 15:09:22 +01:00
vimboss dcaf86c567 updated for version 7.1-155 2007-11-10 21:51:15 +00:00
vimboss 1ff273a376 updated for version 7.1-154 2007-11-08 20:24:19 +00:00
vimboss 639fc30243 updated for version 7.1-153 2007-11-08 19:49:02 +00:00
Bjorn Winckler 94e4efed2d Don't attempt to open dropped file that is already open
When a file is dropped, each Vim process is checked to see if the file is
already open.  If so, raise the corresponding window and select the tab that
holds the opened file.  Only works when one file is dropped.
2007-11-08 20:14:34 +01:00
vimboss ef96f0b30f updated for version 7.1-152 2007-11-08 13:51:42 +00:00
vimboss 5e5a5f4cd5 updated for version 7.1-151 2007-11-08 12:04:26 +00:00
vimboss 6032cd79e6 updated for version 7.1-150 2007-11-08 09:35:50 +00:00
Bjorn Winckler 702917f6ed Add eval & add input methods to MacVim, apply to file open
Now possible to evaluate expressions in a Vim process from MacVim [MMBackend
evaluateExpression:], and to send arbitrary input to Vim [MMVimController
addVimInput:].  Expression evaluation is used to query Vim state from within
MacVim.

When opening a file use these methods to check if it is already loaded, if so
raise the corresponding window (doesn't work for multiple files).
2007-11-07 23:46:52 +01:00
Bjorn Winckler 4d517a0f74 Changed application termination procedure
On applicationShoulTerminate: check the 'documentEdited' flag of each window to
decide whether any buffers were modified instead of making a DO call to each
Vim process.
2007-11-07 22:07:21 +01:00
Bjorn Winckler 0a1ac7a24e Launch Vim process via login shell, handle spaces in file names
The user environment is not always sourced when MacVim starts.  To solve this
each Vim process is launched via a login shell like this:
    $SHELL -l -c "exec /path/to/Vim -g <args>"
Also make sure that if an argument contains a space then enclose it in quotes.
2007-11-07 21:25:05 +01:00
Bjorn Winckler 5aaf05255c Always open a dropped file in new tab
Always use ":tab drop" when dropping files.  (Used to call ":drop" when only
one file was dropped but this would not open the file in a new tab.)
2007-11-07 19:46:46 +01:00
vimboss 3165135841 updated for version 7.1-149 2007-11-06 21:27:31 +00:00
Bjorn Winckler f1236d0fd3 Disable baseline change for underlined text.
This fixes a display bug on Leopard where lines with underlined text were
higher than lines without underlined text.
2007-11-05 15:44:27 +01:00
Bjorn Winckler 67576e0281 Only respond to left, right and middle mouse clicks.
This effectively ignores mouse clicks when [NSEvent buttonNumber] > 2.
2007-11-04 18:46:03 +01:00
vimboss fcbc32865c updated for version 7.1-148 2007-11-04 14:36:18 +00:00
Bjorn Winckler 0b104808a2 Enable compilation without FEAT_MBYTE. 2007-11-02 18:18:17 +01:00
Bjorn Winckler cf69540941 Fixed typo in the credits. 2007-11-02 13:29:17 +01:00
Dan Callahan 855ff922b8 New icon set (Gnome/Matt Ball/Jonas Rask derived) 2007-11-01 17:14:45 -05:00
Nico Weber 9b639cbbe2 Vim view refactoring.
This fixes the ':set lines=1000000' problem in fu mode.  Furthermore, this
fixes a regression that the tab sizes weren't adjusted when changing the window
size.
2007-10-30 21:44:23 +01:00
Bjorn Winckler 36b97011cf Removed stray debug log message. 2007-10-30 18:09:06 +01:00
vimboss 1c106b52f2 updated for version 7.1-147 2007-10-30 16:37:15 +00:00
vimboss 1ccb3585c7 updated for version 7.1-146 2007-10-29 21:38:54 +00:00
Chris Willmore 25bf887ced Fix for Leopard Ctl-key bug.
In Leopard Ctrl-key events are sent to performKeyEquivalent: instead of
keyDown:, so we have to deal with them there as well.
2007-10-29 19:19:18 +01:00
Bjorn Winckler 75b61c87cf Optimize speed when 'matchparen' is enabled.
When matchparen is used gui_mch_update() gets called a lot.  This function
checks the run loop for new input which takes a long time.  To speed things up
make sure that the run loop is only checked every 100 ms or so (controlled by
MMUpdateTimeoutInterval in gui_macvim.m).
2007-10-28 13:51:01 +01:00
Bjorn Winckler 3d98b6f1f5 Use "macvim" color scheme as default.
The color scheme is set in $VIM/gvimrc, but only if the color scheme hasn't
already been set (in .vimrc).
2007-10-27 16:05:15 +02:00
Bjorn Winckler 4de2a14060 Ignore DRAW_TRANSP flag.
This flag is supposed to indicate that the background should be "transparent".
However, not setting the background color leads to a rendering artifact where
the character after the cursor sometimes is not drawn.  Simply ignoring the
DRAW_TRANSP flag takes care of this bug.
2007-10-26 19:51:47 +02:00
Tim Allen 85313038f6 Draw the current text view size in the titlebar during resize operations.
It seems that NSWindows get notfied of each step of the live-resize, but
NSViews get notified of the start and end events. So, we make MMTextView
forward these notifications to the window controller, and let the window
controller figure out when to change the title.

Signed-off-by: Tim Allen <screwtape@froup.com>
2007-10-26 14:14:41 +10:00
Adam Mercer 552d2c24a2 Ignore .DS_Store
Signed-off-by: Adam Mercer <ramercer@gmail.com>
2007-10-25 10:51:41 -04:00
Adam Mercer 7635d2201f Ignore the auto generated file src/auto/if_perl.c
Signed-off-by: Adam Mercer <ramercer@gmail.com>
2007-10-25 08:55:45 -04:00
Adam Mercer 9a5185ea2f Sort .gitignore in alphabetical order for consistency
Signed-off-by: Adam Mercer <ramercer@gmail.com>
2007-10-25 08:54:11 -04:00
Bjorn Winckler 1e44f71605 Add input queue to backend, fixing process leak problem.
Mouse and keyboard input is handled immediately, all other input is put on a
queue which is processed whenever gui_mch_update() is called.  This avoids DO
calls to be sent from the backend during processing of another DO call.  (See
comments in MMBackend processInput:data: and processInputQueue.)  One problem
this caused was that connectionDidDie notification was not received when
processInput:data: got called recursively (and thus processes could "leak").

Also did some code cleanup to MMBackend.
2007-10-25 19:29:44 +02:00
Bjorn Winckler d669e9d2a5 Changed DiffText and Constant highlight groups 2007-10-25 16:08:43 +02:00
Bjorn Winckler 1091b43561 Reduce update delay when resizing with mouse.
By forcing an update of the text view at the end of batch processing of draw
commands the update delay when dragging to resize is reduced.
2007-10-23 17:19:54 +02:00
Bjorn Winckler 8124b25f2b Fix ":set go+=c" and menu autoenabling bugs.
Bug: With 'go+=c' Vim could enter a key wait loop while processInput==TRUE
which caused all keyboard input to be dropped.
Fix: Don't drop keyboard input when processInput==TRUE

Bug: With 'go+c' Vim disabled all menu items before quitting which caused
autoenabling not to work so the "New Window" was sometimes grey when no windows
were open.
Fix: Enable all menu items in recurseSetAutoenablesItems.
2007-10-20 19:33:16 +02:00
Bjorn Winckler 1e7199d3e5 Replace underscores with spaces when parsing font names.
Now possible to use either
  :set gfn=Courier\ New:h10
or
  :set gfn=Courier_New:h10
to set the font.
2007-10-20 15:26:15 +02:00
Bjorn Winckler 552088f0b9 Fix cursor blinking in insert mode.
Calls to draw text with the DRAW_TRANSP flag were ignored.  By not ignoring
these calls the background of the cursor is erased also in insert mode so that
blinking works.
2007-10-20 13:51:21 +02:00
vimboss 26e2ae1b26 updated for version 7.1-145 2007-10-19 18:40:51 +00:00
vimboss f503f4d165 updated for version 7.1-144 2007-10-19 16:58:12 +00:00
vimboss 3b2adf8a41 updated for version 7.1-143 2007-10-19 15:33:39 +00:00
Nicolas Weber 592d5b8af1 Disable useless scrollbars 2007-10-19 17:19:50 +02:00
Jjgod Jiang aec04a78a5 Fix a text rending problem caused by MMTypesetter class in Leopard
In Leopard, Cocoa Text System seems need a concrete instance of
NSTypesetter for NSLayoutManager, like NSATSTypesetter, otherwise,
the call to -layoutParagraphAtPoint: simply fails. I guess that
method in NSTypesetter has become "virtual" in Leopard.
2007-10-20 04:59:46 +08:00
Bjorn Winckler d790688390 Only update menu state on actual state change.
Problem: Menu updates caused noticable delays because every menu item got
updated on state changes.
Solution: Remember old state and only pass update event on to MacVim if the new
state differs from the old one.

Also add .*.swp to .gitignore to ignore Vim swapfiles.
2007-10-19 22:13:42 +02:00
Bjorn Winckler 9aefa535e7 Remove MacVim.xcodeproj/winckler.* from repo and ignore src/TAGS 2007-10-19 19:33:55 +02:00
Tim Allen 7115fb8a78 Teach git to ignore generated files.
Adds entries to .gitignore for all the stuff that gets generated during an ordinary build of MacVim. Also, some automatically-generated files seem to have crept into the upstream repository, so let's remove them.

Signed-off-by: Tim Allen <screwtape@froup.com>
2007-10-19 17:49:49 +02:00
vimboss 48a5e7114c updated for version 7.1-142 2007-10-19 14:20:54 +00:00
vimboss 9659c16e58 updated for version 7.1-141 2007-10-19 12:33:44 +00:00
Bjorn Winckler b87efbbe54 Generated configure script 2007-10-18 17:44:44 +02:00
Bjorn Winckler 724ad5ca29 Applied MacVim r320 patch 2007-10-18 12:46:52 +02:00
Bjorn Winckler 89f8acdb4a Moved MacVim project to src/MacVim and removed runtime folder 2007-10-18 12:43:33 +02:00
Bjorn Winckler 60b1286217 Initial commit 2007-10-18 11:53:49 +02:00
Bjorn Winckler d9001e241d Ensure starting glyph is valid at layout (fixes :set lines=9999 crash)
git-svn-id: http://macvim.googlecode.com/svn/trunk@321 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-16 16:54:55 +00:00
Bjorn Winckler b63afdbf99 Merge upstream 2007-10-14 15:17:00 +00:00
vimboss fe561ae3be updated for version 7.1-140 2007-10-14 15:16:27 +00:00
Bjorn Winckler 675dab2730 Fixed spelling error
git-svn-id: http://macvim.googlecode.com/svn/trunk@320 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-14 15:08:41 +00:00
Bjorn Winckler 2f1b54d15a Added hint on slow downs caused by the "matchparen" plugin.
git-svn-id: http://macvim.googlecode.com/svn/trunk@319 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-14 14:42:58 +00:00
Bjorn Winckler 71efa28745 Cache last menu which was searched for a menu item (improves search times)
git-svn-id: http://macvim.googlecode.com/svn/trunk@318 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-14 14:26:02 +00:00
vimboss 991976cf0b updated for version 7.1-139 2007-10-14 13:33:20 +00:00
Bjorn Winckler 598e1deca6 Fixed :set gfn=* (stopped working after :action -> :macaction name change)
git-svn-id: http://macvim.googlecode.com/svn/trunk@317 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-13 16:55:12 +00:00
Bjorn Winckler c06948ead2 Changed "Enter/Leave Fullscreen" to "Toggle Full Screen" with key equiv <D-F>
git-svn-id: http://macvim.googlecode.com/svn/trunk@316 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-13 15:18:22 +00:00
Bjorn Winckler db8399ba7e Added hack to make Ctrl-Tab work on pre 10.5 systems
git-svn-id: http://macvim.googlecode.com/svn/trunk@315 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-13 14:52:22 +00:00
Bjorn Winckler 7dbb993dca Ensure the window title gets set on "drop files"
git-svn-id: http://macvim.googlecode.com/svn/trunk@314 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-13 14:35:03 +00:00
Bjorn Winckler 630bde09d3 Escape more chars (' ', '\t', '\\', '%', '#', '|' '"') in "drop files"
git-svn-id: http://macvim.googlecode.com/svn/trunk@313 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-13 14:29:58 +00:00
Bjorn Winckler 535f811536 Red close button indicates if any buffer is modified
git-svn-id: http://macvim.googlecode.com/svn/trunk@312 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-13 13:17:02 +00:00
Bjorn Winckler 66b5689f0d Changes to these colors: - status line - diff - todo
git-svn-id: http://macvim.googlecode.com/svn/trunk@311 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-13 12:34:01 +00:00
Bjorn Winckler 82fdf529ec Merged George's underline & draw speed patch
git-svn-id: http://macvim.googlecode.com/svn/trunk@310 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-13 11:55:37 +00:00
Bjorn Winckler 2df36264dc - Escape '%' with backslash in drop files - Code cleanup
git-svn-id: http://macvim.googlecode.com/svn/trunk@309 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-12 17:42:42 +00:00
Bjorn Winckler 390e648dd4 Menu items bound to :macaction are properly recognized (fixes bug where all menu items became inactive when last window closed)
git-svn-id: http://macvim.googlecode.com/svn/trunk@308 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-11 20:34:07 +00:00
Bjorn Winckler f48d84017f Now works to bind to <C-Enter>, <S-Enter>, <C-S-Enter>
git-svn-id: http://macvim.googlecode.com/svn/trunk@307 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-11 18:37:42 +00:00
Bjorn Winckler f57179ff00 - name changes :menukeyequiv ==> :macmenukey :action ==> :macaction - updated docs and $VIM/gvimrc to reflect the above change - added fontSizeUp/Down to Action list in docs - added "Enter/Leave Fullscreen" menu items to Window menu - 'transparency' range changed to 0-100
git-svn-id: http://macvim.googlecode.com/svn/trunk@306 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-11 16:53:02 +00:00
Bjorn Winckler b6d330d46d - Merged patch from Nico (code style, :popup, release vimView) - Removed FRAMEWORK_SEARCH_PATHS_QUOTED_1 from build settings (caused warning)
git-svn-id: http://macvim.googlecode.com/svn/trunk@305 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-11 14:26:02 +00:00
Bjorn Winckler ca451c546e Merged Nico's fullscreen patch
git-svn-id: http://macvim.googlecode.com/svn/trunk@304 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-09 17:49:40 +00:00
vimboss db776c6858 updated for version 7.1-138 2007-10-09 08:47:27 +00:00
Bjorn Winckler a109bb567a - 'enc' no longer set in $VIM/gvimrc (done in code) - Cmd and Opt key mappings can be disabled by setting a variable - updated docs to reflect the above changes - docs updated to say that DejaVu is the default font
git-svn-id: http://macvim.googlecode.com/svn/trunk@303 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-08 19:22:26 +00:00
vimboss 3a80d399e4 updated for version 7.1-137 2007-10-07 13:45:08 +00:00
vimboss 870308572f updated for version 7.1-136 2007-10-07 13:22:19 +00:00
vimboss 9848af5921 updated for version 7.1-135 2007-10-03 12:31:33 +00:00
vimboss c437e66464 updated for version 7.1-134 2007-10-03 11:29:44 +00:00
vimboss 0b8b1002cb updated for version 7.1-133 2007-10-03 10:50:10 +00:00
vimboss 1900fe9ac9 updated for version 7.1-132 2007-10-02 20:08:54 +00:00
vimboss a867f8b656 updated for version 7.1-131 2007-10-02 18:40:57 +00:00
Bjorn Winckler 2d3b5d5a4e Included patch by Tim Allen clarifying the macvim-encoding section
git-svn-id: http://macvim.googlecode.com/svn/trunk@302 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-10-02 17:05:27 +00:00
vimboss f76f53471d updated for version 7.1-130 2007-10-01 20:54:15 +00:00
vimboss 159efbe572 updated for version 7.1-129 2007-10-01 18:34:34 +00:00
vimboss 55fcc5e3a8 updated for version 7.1-128 2007-09-30 20:28:48 +00:00
vimboss cf7dc1ca9d updated for version 7.1-127 2007-09-30 20:11:26 +00:00
Bjorn Winckler 59843e7743 - 'encoding' defaults to 'utf-8' in $VIM/gvimrc - updated docs to reflect this
git-svn-id: http://macvim.googlecode.com/svn/trunk@300 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-30 18:50:51 +00:00
Bjorn Winckler 4f6eaaef10 Changed "date modified"
git-svn-id: http://macvim.googlecode.com/svn/trunk@299 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-30 18:39:11 +00:00
Bjorn Winckler e7ae4d9671 - Added fontSizeUp/fontSizeDown actions - Added font submenu with above actions and font panel - Key equivalents <D-=> and <D--> mapped to font size up/down menu items
git-svn-id: http://macvim.googlecode.com/svn/trunk@298 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-30 18:38:20 +00:00
Bjorn Winckler 44155c847f - renamed clearAllWithColor to clearAll - clearAll now actually clears all (nothing happened before)
git-svn-id: http://macvim.googlecode.com/svn/trunk@297 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-30 18:27:48 +00:00
Bjorn Winckler a91326dc57 - Integrated George Harker's transparency patch - Added 'transparency' option
git-svn-id: http://macvim.googlecode.com/svn/trunk@296 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-30 16:17:54 +00:00
Bjorn Winckler 1f7875d27c Inactive status line color changed
git-svn-id: http://macvim.googlecode.com/svn/trunk@295 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-30 15:59:05 +00:00
Bjorn Winckler 8feb525cbd Added list of non-standard options that MacVim supports
git-svn-id: http://macvim.googlecode.com/svn/trunk@294 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-30 15:30:01 +00:00
vimboss 8f0820092e updated for version 7.1-126 2007-09-30 12:02:55 +00:00
vimboss c7518b3a13 updated for version 7.1-125 2007-09-29 12:16:41 +00:00
vimboss b2e2e8f577 updated for version 7.1-124 2007-09-29 11:16:17 +00:00
Bjorn Winckler 1eece09852 Ctrl-PageUp/PageDown now get passed on to Vim
git-svn-id: http://macvim.googlecode.com/svn/trunk@293 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-28 20:20:44 +00:00
Bjorn Winckler d3a78b7125 Added note on differences in the default window title
git-svn-id: http://macvim.googlecode.com/svn/trunk@292 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-28 19:23:18 +00:00
Bjorn Winckler 58a943a0f7 - Renamed gui-macvim-start tag to macvim-start - Added section on the "mvim" script
git-svn-id: http://macvim.googlecode.com/svn/trunk@291 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-28 19:06:28 +00:00
Bjorn Winckler 651c2ad975 Added gui_macvim_force_flush() function (called from ui_delay())
git-svn-id: http://macvim.googlecode.com/svn/trunk@290 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-28 18:25:00 +00:00
Bjorn Winckler c4980c3ac4 - Got rid of warning message - Set lastFlushDate in processInputBegin (else update will speed suffer)
git-svn-id: http://macvim.googlecode.com/svn/trunk@289 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-28 18:22:57 +00:00
Bjorn Winckler 556a49deec - Expanded info on macvim-encoding - Added section on toolbar - Added encoding hint - Removed 'enc' todo
git-svn-id: http://macvim.googlecode.com/svn/trunk@288 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-27 17:55:28 +00:00
Bjorn Winckler 516a49f81a Got rid of multibyte chars in comment
git-svn-id: http://macvim.googlecode.com/svn/trunk@287 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-27 17:54:21 +00:00
Bjorn Winckler 42cbb40719 Got rid of multibyte chars in comment
git-svn-id: http://macvim.googlecode.com/svn/trunk@286 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-27 17:53:42 +00:00
Bjorn Winckler b88c64d80d Implemented support for 'enc' (disable with MM_ENABLE_CONV = 0)
git-svn-id: http://macvim.googlecode.com/svn/trunk@285 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-27 17:52:48 +00:00
Bjorn Winckler c0e672072c Renamed SetVimWindowTitleMsgId -> SetWindowTitleMsgId
git-svn-id: http://macvim.googlecode.com/svn/trunk@284 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-27 17:51:54 +00:00
vimboss e4fb531c40 updated for version 7.1-123 2007-09-26 20:36:32 +00:00
Bjorn Winckler ef9e2d1f75 Added to info on MacVim colorscheme
git-svn-id: http://macvim.googlecode.com/svn/trunk@283 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-26 18:17:07 +00:00
Bjorn Winckler b16bdb5fac - Inactive status line less obtrusive - Popupmenu blue instead of yellow - Math parenthesis color lighter - Visual color changes on focus change
git-svn-id: http://macvim.googlecode.com/svn/trunk@282 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-26 16:15:26 +00:00
vimboss 8dfe4814a8 updated for version 7.1-122 2007-09-25 20:13:54 +00:00
vimboss f797c329bd updated for version 7.1-121 2007-09-25 18:40:14 +00:00
vimboss c79f45be9a updated for version 7.1-120 2007-09-25 16:00:00 +00:00
Bjorn Winckler 27227a615a Added hint on Cmd-zooming
git-svn-id: http://macvim.googlecode.com/svn/trunk@281 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-25 15:16:40 +00:00
Bjorn Winckler d2ea2ef36a Don't set Visual group in gui_mch_def_colors()
git-svn-id: http://macvim.googlecode.com/svn/trunk@280 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-25 14:55:44 +00:00
vimboss 02403f6bb4 updated for version 7.1-119 2007-09-25 12:51:28 +00:00
vimboss b9ef0a3335 updated for version 7.1-118 2007-09-25 12:20:19 +00:00
vimboss 323fcaeb01 updated for version 7.1-117 2007-09-25 10:51:12 +00:00
Bjorn Winckler b83b8df6f1 lastFlushDate not set on input begin otherwise some error message were never displayed
git-svn-id: http://macvim.googlecode.com/svn/trunk@279 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-24 15:37:37 +00:00
Bjorn Winckler 665e95bfb0 Updated info on Colors.plist
git-svn-id: http://macvim.googlecode.com/svn/trunk@278 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-24 12:56:42 +00:00
Bjorn Winckler d05b2811cf Focus stealing bug fixed
git-svn-id: http://macvim.googlecode.com/svn/trunk@276 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-23 16:20:30 +00:00
Bjorn Winckler ea3c2ef74a Fixed focus stealing bug
git-svn-id: http://macvim.googlecode.com/svn/trunk@275 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-23 15:16:30 +00:00
Bjorn Winckler b9217d9388 Changed font credits
git-svn-id: http://macvim.googlecode.com/svn/trunk@274 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-23 15:04:44 +00:00
Bjorn Winckler 435f2b20d7 open files now recognizes directories as well
git-svn-id: http://macvim.googlecode.com/svn/trunk@273 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-23 15:01:08 +00:00
Bjorn Winckler 07f17f6ad8 Use system colors for text
git-svn-id: http://macvim.googlecode.com/svn/trunk@272 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-23 14:35:31 +00:00
Bjorn Winckler 554873cdce set gfn=* does not set p_guifont to "*" (fix mostly in Vim code)
git-svn-id: http://macvim.googlecode.com/svn/trunk@271 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-23 14:27:31 +00:00
Bjorn Winckler 891c4e6bf3 - Default font is now DejaVu (copyright in About box) - Fall back on Monaco if the default font is not in the app bundle - The default font is activated locally for each process (so that it is only available within MacVim)
git-svn-id: http://macvim.googlecode.com/svn/trunk@270 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-23 13:27:51 +00:00
Bjorn Winckler bda8171879 DejaVu font replaces Bitstream Vera
git-svn-id: http://macvim.googlecode.com/svn/trunk@269 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-23 12:15:42 +00:00
Bjorn Winckler 7c035d8655 Deprecated in favour of DejaVu
git-svn-id: http://macvim.googlecode.com/svn/trunk@268 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-23 12:14:28 +00:00
Bjorn Winckler f20ea2760c - New section 0 Important! - macvim colorscheme in differences section - menus section: added list of actions, key equivs _must_ specify D - hints section: list of hints typeset differently, hint on default font, hint on localized menus
git-svn-id: http://macvim.googlecode.com/svn/trunk@267 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-23 11:57:22 +00:00
Bjorn Winckler ffbae75345 Added copyright notice for inclusion of Bitstream Vera font.
git-svn-id: http://macvim.googlecode.com/svn/trunk@266 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-23 11:52:06 +00:00
Bjorn Winckler 1f487d966c Added "Bitstream Vera Sans Mono" as the default font.
git-svn-id: http://macvim.googlecode.com/svn/trunk@265 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-22 20:44:53 +00:00
Bjorn Winckler 16f1a5d99a git-svn-id: http://macvim.googlecode.com/svn/trunk@264 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-09-22 20:06:54 +00:00
Bjorn Winckler 26e1c21822 Moved
git-svn-id: http://macvim.googlecode.com/svn/trunk@262 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-22 19:52:23 +00:00
Bjorn Winckler 658181de23 - Created runtime folder - Move doc folder into runtime folder - Added MacVim colorscheme
git-svn-id: http://macvim.googlecode.com/svn/trunk@261 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-22 19:50:48 +00:00
Bjorn Winckler a74e1fe57d Can now map to Tab with modifiers
git-svn-id: http://macvim.googlecode.com/svn/trunk@260 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-22 19:05:41 +00:00
Bjorn Winckler c234e0b8dd set gfn=* shows the font panel
git-svn-id: http://macvim.googlecode.com/svn/trunk@259 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-22 15:29:49 +00:00
Bjorn Winckler c95f5d59cb Double-click, triple-click, etc. were not properly handled by MouseDownMsgID
git-svn-id: http://macvim.googlecode.com/svn/trunk@258 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-22 14:54:24 +00:00
Bjorn Winckler 5341d45b06 - Added sendMessageNow:data:timeout: method to MMVimController - At end of live resize, send resize message with above method and if that fails fit window to text storage
git-svn-id: http://macvim.googlecode.com/svn/trunk@257 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-22 14:24:37 +00:00
Bjorn Winckler 140e41866a git-svn-id: http://macvim.googlecode.com/svn/trunk@256 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-09-21 18:41:50 +00:00
Bjorn Winckler b43f3e9a2b - Updated drag-n-drop section - Added another todo
git-svn-id: http://macvim.googlecode.com/svn/trunk@255 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-21 18:33:02 +00:00
Bjorn Winckler 41583ad1dc Drag and drop in command line mode works as it should
git-svn-id: http://macvim.googlecode.com/svn/trunk@254 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-21 18:32:22 +00:00
Bjorn Winckler a68bae47a6 Added info on resetting and changing key equivalents
git-svn-id: http://macvim.googlecode.com/svn/trunk@253 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-21 12:47:55 +00:00
Bjorn Winckler f7108075fb git-svn-id: http://macvim.googlecode.com/svn/trunk@252 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-09-21 12:13:27 +00:00
Bjorn Winckler e3a3b4f609 - Added more hints - Rewrote info on HIG movement
git-svn-id: http://macvim.googlecode.com/svn/trunk@251 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-21 12:02:17 +00:00
Bjorn Winckler f14a3c0548 - HIG shift movement disabled by default - Next/previous tab uses same binding as Safari
git-svn-id: http://macvim.googlecode.com/svn/trunk@250 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-21 12:00:58 +00:00
Bjorn Winckler 4257bd5325 Added section on dialogs
git-svn-id: http://macvim.googlecode.com/svn/trunk@248 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-18 19:55:32 +00:00
Bjorn Winckler e7e145401d git-svn-id: http://macvim.googlecode.com/svn/trunk@247 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-09-18 19:39:51 +00:00
Bjorn Winckler ac51e598fe Menu section changed
git-svn-id: http://macvim.googlecode.com/svn/trunk@245 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-18 18:34:11 +00:00
Bjorn Winckler 7d904cdc76 Changed date
git-svn-id: http://macvim.googlecode.com/svn/trunk@244 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-18 15:45:43 +00:00
Bjorn Winckler b7361b8b66 Renamed gui_macvim.txt to gui_mac.txt
git-svn-id: http://macvim.googlecode.com/svn/trunk@243 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-18 15:22:48 +00:00
Bjorn Winckler 87794f1886 Renamed gui_macvim.txt to gui_mac.txt
git-svn-id: http://macvim.googlecode.com/svn/trunk@242 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-18 15:22:06 +00:00
Bjorn Winckler 605acbb708 - Disabled MM_RESEND_LAST_FAILURE as it doesn't seem to work - Call resizeWindowToFit: when live resize ends, in case SetTextDimensions DO message was lost during live resize.
git-svn-id: http://macvim.googlecode.com/svn/trunk@241 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-18 14:32:31 +00:00
Bjorn Winckler f4f647e20e Renamed newVimWindow: action to newWindow:
git-svn-id: http://macvim.googlecode.com/svn/trunk@240 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-18 14:09:38 +00:00
Bjorn Winckler 97a9ddf810 - Rephrased some sections - Fixed typos - Added new hint
git-svn-id: http://macvim.googlecode.com/svn/trunk@239 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-18 14:08:16 +00:00
vimboss f399469297 updated for version 7.1-116 2007-09-17 20:39:42 +00:00
vimboss cfc6d02732 updated for version 7.1-115 2007-09-17 20:21:33 +00:00
vimboss 72075edf2c updated for version 7.1-114 2007-09-17 19:56:01 +00:00
Bjorn Winckler fde03ae31e Removed 'wait' parameter from [MMVimController sendMessage:]
git-svn-id: http://macvim.googlecode.com/svn/trunk@238 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-17 19:43:57 +00:00
Bjorn Winckler 8c2b5058d0 Added "hints" section
git-svn-id: http://macvim.googlecode.com/svn/trunk@237 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-17 19:42:45 +00:00
Bjorn Winckler f07f3b0ed6 Disabled selection color change on focus events
git-svn-id: http://macvim.googlecode.com/svn/trunk@236 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-17 19:42:21 +00:00
vimboss 5758d09fdc updated for version 7.1-113 2007-09-17 19:38:08 +00:00
Bjorn Winckler 888ac758de Implemented resending of last failed send (MM_RESEND_LAST_FAILURE)
git-svn-id: http://macvim.googlecode.com/svn/trunk@235 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-17 19:05:38 +00:00
Bjorn Winckler 0d23ed571f - Mapping to Cmd-letter now works - Cmd-enter no longer inserts Ctrl-C
git-svn-id: http://macvim.googlecode.com/svn/trunk@234 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-17 15:05:34 +00:00
Bjorn Winckler 4257796fb2 First version of macvim help file
git-svn-id: http://macvim.googlecode.com/svn/trunk@233 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-16 19:15:47 +00:00
vimboss f92c1a6033 updated for version 7.1-112 2007-09-16 12:21:16 +00:00
vimboss 98533234ae updated for version 7.1-111 2007-09-16 11:27:42 +00:00
vimboss 106a58453d updated for version 7.1-110 2007-09-15 12:49:35 +00:00
vimboss 4ac8edd312 updated for version 7.1-109 2007-09-15 12:07:46 +00:00
vimboss 4806001f46 updated for version 7.1-108 2007-09-14 17:56:59 +00:00
vimboss f30fd93922 updated for version 7.1-107 2007-09-13 20:41:32 +00:00
vimboss f1c8ee8695 updated for version 7.1-106 2007-09-13 20:05:18 +00:00
Bjorn Winckler 16145f3115 General cleanup
git-svn-id: http://macvim.googlecode.com/svn/trunk@232 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-13 19:27:20 +00:00
vimboss 3b8e55b7d7 updated for version 7.1-105 2007-09-13 18:40:54 +00:00
vimboss 6b5676d624 updated for version 7.1-104 2007-09-13 16:26:47 +00:00
vimboss 2ca329217f updated for version 7.1-103 2007-09-13 13:34:02 +00:00
vimboss 4327922875 updated for version 7.1-102 2007-09-13 13:20:16 +00:00
vimboss 0f1abde7be updated for version 7.1-101 2007-09-13 13:01:18 +00:00
Bjorn Winckler 6395707f8e Shift-movements related to HIG can be user-disabled by adding let macvim_skip_hig_shift_movement = 1 to .vimrc (not .gvimrc!).
git-svn-id: http://macvim.googlecode.com/svn/trunk@231 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-09 17:44:23 +00:00
Bjorn Winckler ab94408077 First revision with full client/server support
git-svn-id: http://macvim.googlecode.com/svn/trunk@230 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-09 17:20:03 +00:00
vimboss 1340bab3b7 updated for version 7.1-100 2007-09-06 15:39:22 +00:00
vimboss 628e2ce968 updated for version 7.1-099 2007-09-06 14:35:35 +00:00
vimboss 800774d072 updated for version 7.1-098 2007-09-06 12:26:44 +00:00
vimboss ae7dba8235 updated for version 7.1-097 2007-09-06 11:33:37 +00:00
vimboss 695c812b30 updated for version 7.1-096 2007-09-06 10:54:51 +00:00
vimboss 7632733cd5 updated for version 7.1-095 2007-09-05 19:47:23 +00:00
Bjorn Winckler fe6c1afd1b git-svn-id: http://macvim.googlecode.com/svn/trunk@229 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-09-02 18:00:44 +00:00
Bjorn Winckler a434926ed8 Removed some warning logs
git-svn-id: http://macvim.googlecode.com/svn/trunk@228 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-02 17:57:07 +00:00
Bjorn Winckler a70e77dd16 Fixed rounding problem when looking up system colors.
git-svn-id: http://macvim.googlecode.com/svn/trunk@227 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-02 16:10:33 +00:00
Bjorn Winckler 43104e3e15 Visual bg color changed in script instead of in code.
git-svn-id: http://macvim.googlecode.com/svn/trunk@226 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-02 13:09:10 +00:00
Bjorn Winckler ffa192240a Added partial client/server support (scripting not yet supported)
git-svn-id: http://macvim.googlecode.com/svn/trunk@225 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-01 19:35:31 +00:00
Bjorn Winckler 5db52978b5 'linespace' now supported
git-svn-id: http://macvim.googlecode.com/svn/trunk@224 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-31 17:15:15 +00:00
Bjorn Winckler ccaaae3c00 Added a comment
git-svn-id: http://macvim.googlecode.com/svn/trunk@223 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-31 07:40:55 +00:00
Bjorn Winckler fb42853d27 U+2028 and U+2029 render as squares instead of causing line break.
git-svn-id: http://macvim.googlecode.com/svn/trunk@222 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-31 07:37:44 +00:00
Bjorn Winckler bd8505d54f Convert NSAttributedString to NSString in insertText:
git-svn-id: http://macvim.googlecode.com/svn/trunk@221 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-30 18:31:10 +00:00
Bjorn Winckler d2e3b1bc2d git-svn-id: http://macvim.googlecode.com/svn/trunk@220 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-08-30 17:47:43 +00:00
vimboss 9700d89be2 updated for version 7.1-094 2007-08-30 17:37:40 +00:00
Bjorn Winckler 7b599b7060 Implemented gui_mch_haskey()
git-svn-id: http://macvim.googlecode.com/svn/trunk@219 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-30 17:22:11 +00:00
vimboss 47d1110c0f updated for version 7.1-093 2007-08-30 11:53:22 +00:00
vimboss b3620c5a95 updated for version 7.1-092 2007-08-30 10:51:14 +00:00
vimboss 0545ccc958 updated for version 7.1-091 2007-08-30 10:26:19 +00:00
vimboss 2f6f652fd4 updated for version 7.1-090 2007-08-30 09:47:38 +00:00
vimboss 38f1c4a04d updated for version 7.1-089 2007-08-30 09:12:23 +00:00
vimboss 2cb6bec288 updated for version 7.1-088 2007-08-30 08:35:35 +00:00
Bjorn Winckler 0813a2ff12 Use 'keymodel=startsel' instead of 'behave mswin' since the latter ends visual mode when an arrow key is pressed.
git-svn-id: http://macvim.googlecode.com/svn/trunk@218 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 18:54:42 +00:00
Bjorn Winckler 20054e9232 - Drop input if received while other input is being processed - Change selection color when focus changes
git-svn-id: http://macvim.googlecode.com/svn/trunk@217 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 18:30:20 +00:00
Bjorn Winckler 744abd5a5d Added selection color for inactive window
git-svn-id: http://macvim.googlecode.com/svn/trunk@216 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 18:27:03 +00:00
Bjorn Winckler 2991939575 - Added possibility to look up system colors - The color for the 'Visual' highlight group is taken from the system - The background and foreground colors are taken from the system
git-svn-id: http://macvim.googlecode.com/svn/trunk@215 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 16:37:12 +00:00
Bjorn Winckler c2f8eb46f0 Added SystemColors.plist to project
git-svn-id: http://macvim.googlecode.com/svn/trunk@214 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 16:35:31 +00:00
Bjorn Winckler c49bfffc5e Fixed bug where bold/italic font didn't render at the right width
git-svn-id: http://macvim.googlecode.com/svn/trunk@213 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 14:46:55 +00:00
Bjorn Winckler 290847c707 Marked text field is hidden whenever window loses focus
git-svn-id: http://macvim.googlecode.com/svn/trunk@212 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 12:03:22 +00:00
Bjorn Winckler 0616ef9225 - Marked text is displayed in a popup window - When calculating the size of a partial cursor, use the size of a cell instead of the size of the glyph under the cursor (if the glyph is wide the cursor becomes twice too wide) - performKeyEquivalent: is disabled, now uses the superclass implementation
git-svn-id: http://macvim.googlecode.com/svn/trunk@211 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 10:50:11 +00:00
Bjorn Winckler c10671e6fd Added defaultForegroundColor
git-svn-id: http://macvim.googlecode.com/svn/trunk@210 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 10:39:36 +00:00
Bjorn Winckler 08131ebe16 Added default background color accessor.
git-svn-id: http://macvim.googlecode.com/svn/trunk@209 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 09:20:02 +00:00
Bjorn Winckler 19d29d252a Update the selected range whenver the cursor position changes.
git-svn-id: http://macvim.googlecode.com/svn/trunk@208 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-27 18:07:16 +00:00
Bjorn Winckler 277754b543 Use 'behave mswin' instead of setting 'keymodel' and 'selectmode'.
git-svn-id: http://macvim.googlecode.com/svn/trunk@207 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-27 14:37:52 +00:00
Bjorn Winckler 20c400959b git-svn-id: http://macvim.googlecode.com/svn/trunk@206 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-08-27 14:24:59 +00:00
Bjorn Winckler c66692f0a6 Mouse moved events not sent unless a window is key.
git-svn-id: http://macvim.googlecode.com/svn/trunk@205 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-27 14:10:33 +00:00
Bjorn Winckler a5bc4a7311 Font panel is updated when a window becomes main.
git-svn-id: http://macvim.googlecode.com/svn/trunk@204 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-27 13:55:58 +00:00
Bjorn Winckler 816b31faba git-svn-id: http://macvim.googlecode.com/svn/trunk@203 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-08-26 18:12:58 +00:00
Bjorn Winckler 80940e699f Shifted special keys enter select mode
git-svn-id: http://macvim.googlecode.com/svn/trunk@202 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-26 18:01:19 +00:00
Bjorn Winckler a2af9a3633 Arrow key related mappings added
git-svn-id: http://macvim.googlecode.com/svn/trunk@201 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-26 17:30:28 +00:00
Bjorn Winckler 5bc6d68fa3 The font panel is updated when the font changes.
git-svn-id: http://macvim.googlecode.com/svn/trunk@200 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-26 14:07:04 +00:00
Bjorn Winckler 739b023c51 Cursor blinking now supported
git-svn-id: http://macvim.googlecode.com/svn/trunk@199 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-26 13:19:52 +00:00
Bjorn Winckler d3cf683553 Size of partial cursor is determined by shape_table instead of having a fixed size of 2 pixels.
git-svn-id: http://macvim.googlecode.com/svn/trunk@198 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-26 11:22:55 +00:00
Bjorn Winckler a7fd626eb0 git-svn-id: http://macvim.googlecode.com/svn/trunk@196 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-08-25 20:08:26 +00:00
Bjorn Winckler 4ebf957309 Fixed various bugs related to insertion point drawing
git-svn-id: http://macvim.googlecode.com/svn/trunk@195 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-25 20:07:01 +00:00
Bjorn Winckler 4cf33421e5 Intercept 'help' key presses and clear the NSHelpKeyMask modifier flag
git-svn-id: http://macvim.googlecode.com/svn/trunk@194 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-25 11:05:08 +00:00
Bjorn Winckler 99b1200af4 Added MMApplication.[h|m] to project and made it the 'Principal Class' of the application.
git-svn-id: http://macvim.googlecode.com/svn/trunk@193 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-25 11:04:21 +00:00
Bjorn Winckler 8a79fbaa43 Added 'help' key entry
git-svn-id: http://macvim.googlecode.com/svn/trunk@192 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-25 11:03:06 +00:00
Bjorn Winckler 12cf71954f Added 'help' key entry
git-svn-id: http://macvim.googlecode.com/svn/trunk@191 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-25 11:02:35 +00:00
Bjorn Winckler 8370deb9d7 git-svn-id: http://macvim.googlecode.com/svn/trunk@190 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-08-24 20:37:59 +00:00
Bjorn Winckler a62901521e Manual drawing of the insertion point (now also works in replace mode)
git-svn-id: http://macvim.googlecode.com/svn/trunk@189 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-24 20:34:41 +00:00
Bjorn Winckler 1cd2bc7548 Code cleanup
git-svn-id: http://macvim.googlecode.com/svn/trunk@188 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-24 08:09:46 +00:00
Bjorn Winckler c8e1fb4fc2 Changed "older/newer list" key equivalent
git-svn-id: http://macvim.googlecode.com/svn/trunk@187 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-24 08:09:10 +00:00
Bjorn Winckler 6352ff194c Drag timer interval calculation now works as intended
git-svn-id: http://macvim.googlecode.com/svn/trunk@186 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-24 07:07:32 +00:00
Bjorn Winckler 19da3b8d4b Change algorithm for computing drag timer interval
git-svn-id: http://macvim.googlecode.com/svn/trunk@185 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-24 06:43:32 +00:00
Bjorn Winckler f4be07f6ad Added autoscrolling whilst dragging the mouse
git-svn-id: http://macvim.googlecode.com/svn/trunk@184 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-23 18:58:37 +00:00
Bjorn Winckler 0301e9bad8 - Now possible to have 'openFiles' events to open the files in tabs in the topmost window by enabling MMOpenFilesInTabsKey user deafult - Removed MMStatuslineOffKey user default
git-svn-id: http://macvim.googlecode.com/svn/trunk@182 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-23 16:20:09 +00:00
Bjorn Winckler fdc0627d4d Mouse cursor is set to arrow when outside text view
git-svn-id: http://macvim.googlecode.com/svn/trunk@181 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-23 07:38:58 +00:00
Bjorn Winckler 4b62116002 Added mouse shape support
git-svn-id: http://macvim.googlecode.com/svn/trunk@180 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 18:51:49 +00:00
Bjorn Winckler e71f402b6d Check for nil string argument in replaceString:::::::
git-svn-id: http://macvim.googlecode.com/svn/trunk@179 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 17:19:09 +00:00
Bjorn Winckler bbaf848f8c Fixed bugs where potentially zero-length data could be added to NSMutableData.
git-svn-id: http://macvim.googlecode.com/svn/trunk@178 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 17:15:59 +00:00
Bjorn Winckler 49506e8e99 Dragging text-clippings onto window now pastes text instead of trying to open file.
git-svn-id: http://macvim.googlecode.com/svn/trunk@177 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 16:22:32 +00:00
Bjorn Winckler 26698eed82 Special color is used (underlines now have color)
git-svn-id: http://macvim.googlecode.com/svn/trunk@176 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 16:10:46 +00:00
Bjorn Winckler 6a500c45ba - Ctrl-C is passed on to Vim and handled there (does not send SIGINT) - Cmd-. no longer sends SIGINT
git-svn-id: http://macvim.googlecode.com/svn/trunk@175 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 15:56:31 +00:00
Bjorn Winckler 142bbbf488 git-svn-id: http://macvim.googlecode.com/svn/trunk@174 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-08-22 08:06:41 +00:00
Bjorn Winckler 6d5cdb9be5 Put @try/@catch around DO calls
git-svn-id: http://macvim.googlecode.com/svn/trunk@173 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 08:04:04 +00:00
Bjorn Winckler 70f011e901 Updated MessageStrings[]
git-svn-id: http://macvim.googlecode.com/svn/trunk@172 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 08:03:31 +00:00
Bjorn Winckler ee148b2a1f gui_mch_update() now checks the run-loop
git-svn-id: http://macvim.googlecode.com/svn/trunk@171 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 08:01:24 +00:00
Bjorn Winckler 3b4c40a98c Respond to 'shouldSelectTab...', return NO, and let Vim decide whether or not to select the tab. This fixes a tab selection bug (tab selection disallowed after q:).
git-svn-id: http://macvim.googlecode.com/svn/trunk@170 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-21 19:11:33 +00:00
Bjorn Winckler c879f09400 Increased flush timeout constant
git-svn-id: http://macvim.googlecode.com/svn/trunk@169 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-21 18:59:42 +00:00
Bjorn Winckler 52d0bf3706 - Added processInputAndData to process multiple input in bulk\ - By default request timeout is 0 (MM_NO_REQUEST_TIMEOUT); this is to try to combat the 'beachball'. This has the side-effect that deliveries of messages to Vim are not guaranteed. - All backendProxy communication is inside @try/@catch
git-svn-id: http://macvim.googlecode.com/svn/trunk@168 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-21 18:55:53 +00:00
vimboss 19879d9794 updated for version 7.1-087 2007-08-21 16:03:51 +00:00
vimboss 22b3c958d8 updated for version 7.1-086 2007-08-21 15:29:56 +00:00
vimboss 7c594dd2b8 updated for version 7.1-085 2007-08-21 13:29:28 +00:00
vimboss e1e999578f updated for version 7.1-084 2007-08-21 13:07:12 +00:00
Bjorn Winckler 0592ddc98f Showing arrow cursor instead of ibeam cursor
git-svn-id: http://macvim.googlecode.com/svn/trunk@167 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-20 17:53:44 +00:00
Bjorn Winckler ed50e5f587 git-svn-id: http://macvim.googlecode.com/svn/trunk@166 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-08-20 17:34:04 +00:00
Bjorn Winckler 6bc27d1dde git-svn-id: http://macvim.googlecode.com/svn/trunk@164 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-08-19 14:49:52 +00:00
Bjorn Winckler 3c50385282 - Request/reply timeout set on root connection object - Check for unresponsive Vim processes in applicationShouldTerminate: and present alert if any are detectd - Send SIGINT to all Vim processes in applicationWillTerminate: - Started adding support for 'enc' (set MM_ENABLE_CONV in MacVim.h) - Cmd-. sends SIGINT to Vim - Use @try/@catch for starRegisterToPasteboard: calls - Removed starRegisterFromPasteboard: message
git-svn-id: http://macvim.googlecode.com/svn/trunk@163 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-19 14:47:17 +00:00
Bjorn Winckler 12a4710db4 Changed key equivalents for 'next/prev error' and 'older/newer list'
git-svn-id: http://macvim.googlecode.com/svn/trunk@162 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-19 14:12:44 +00:00
Bjorn Winckler eda16bf9f6 Code cleanup
git-svn-id: http://macvim.googlecode.com/svn/trunk@161 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-18 17:36:08 +00:00
Bjorn Winckler 2e2ee9fa7e Scroll wheel message sent to scrollers are passed on to text view.
git-svn-id: http://macvim.googlecode.com/svn/trunk@160 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-18 16:54:01 +00:00
Bjorn Winckler e33692a5ee - Changed the way input text field is place in dialogs - If a dialog has no title but a message with newlines, then use the first line of the message as a title (this makes dialogs look better)
git-svn-id: http://macvim.googlecode.com/svn/trunk@159 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-18 16:41:46 +00:00
vimboss 77f866f32d updated for version 7.1-082 2007-08-18 16:21:50 +00:00
vimboss f43f78df20 updated for version 7.1-081 2007-08-18 15:47:34 +00:00
vimboss 171fd8af5e updated for version 7.1-080 2007-08-18 15:00:42 +00:00
Bjorn Winckler b1790524df git-svn-id: http://macvim.googlecode.com/svn/trunk@158 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-08-18 13:56:50 +00:00
Bjorn Winckler b9e6968bae Initial support for alert panels with text fields
git-svn-id: http://macvim.googlecode.com/svn/trunk@157 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-18 13:46:32 +00:00
Bjorn Winckler 8d0f043ffe Dialog buttons are assigned key equivalents
git-svn-id: http://macvim.googlecode.com/svn/trunk@156 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-18 10:52:04 +00:00
Bjorn Winckler 7c1e81dc5d Don't wait on focus change messages (also added hack to make sure gui.in_focus is set whenever input is received).
git-svn-id: http://macvim.googlecode.com/svn/trunk@155 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-17 20:50:21 +00:00
Bjorn Winckler 90e76984a4 - MacVim sends focus change messages to Vim - Partial implementation of GUI dialogs
git-svn-id: http://macvim.googlecode.com/svn/trunk@154 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-17 20:30:35 +00:00
Bjorn Winckler bf2497087e Give error instead of throw exception if Vim exe is not in app bundle.
git-svn-id: http://macvim.googlecode.com/svn/trunk@153 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-17 20:15:33 +00:00
Bjorn Winckler 0c5f83c1fe Added "Close Window" menu item with key equivalent <D-W>
git-svn-id: http://macvim.googlecode.com/svn/trunk@152 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-17 14:59:45 +00:00
Bjorn Winckler b97fa8a1b1 Append KS_EXTRA, KE_CSI, to CSI byte added to input buffer when inserting text
git-svn-id: http://macvim.googlecode.com/svn/trunk@151 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-17 09:38:52 +00:00
Bjorn Winckler e4813adad0 Fixed out of range exception in insertText:
git-svn-id: http://macvim.googlecode.com/svn/trunk@150 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-17 09:11:31 +00:00
Bjorn Winckler b3ff443cd4 Ctrl-C is intercepted in MacVim and sends SIGINT to Vim process.
git-svn-id: http://macvim.googlecode.com/svn/trunk@149 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-17 07:22:52 +00:00
Bjorn Winckler 980078e79c Add tab button on tabline is back
git-svn-id: http://macvim.googlecode.com/svn/trunk@148 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-17 07:22:04 +00:00
Bjorn Winckler 0d336c2bf5 Disabled zero-link because it was driving me nuts!
git-svn-id: http://macvim.googlecode.com/svn/trunk@147 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-17 06:27:31 +00:00
Bjorn Winckler 1ff9d92d41 Fixed "Open selection ..." Services menu entry (now works if MacVim is not open)
git-svn-id: http://macvim.googlecode.com/svn/trunk@146 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-16 14:56:32 +00:00
Bjorn Winckler 1c50cfa265 Added note on PSMTabBarControl bugs and updated feature list
git-svn-id: http://macvim.googlecode.com/svn/trunk@145 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-16 08:56:39 +00:00
Bjorn Winckler 9973a221fa - Fixed bug where tab bar controller never removed itself as an observer - Shutdown changed; when connection dies, cleanup is called where all delegates, notifications etc. are reset. - Views are now initialized in the designated initializer of MMWindowController instead of in the nib. For some reason some object in the nib got deallocated more than once and this caused EXC_BAD_ACCESS errors. Hopefully this bug is now fixed. - Put @try/@catch clause around processInput:data: DO call since this can throw an exception if the underlying port is dead. - GUI status line is no longer used. - Added description methods to MMWindowController and MMVimController.
git-svn-id: http://macvim.googlecode.com/svn/trunk@144 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-16 08:56:10 +00:00
Bjorn Winckler c9ce3ae679 - VimWindow.nib is deprecated; it is replaced by EmptyWindow.nib - Removed VimWidow.nib from project and added EmptyWindow.nib
git-svn-id: http://macvim.googlecode.com/svn/trunk@143 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-16 08:44:31 +00:00
Bjorn Winckler 0c28d2ce65 Changed default title
git-svn-id: http://macvim.googlecode.com/svn/trunk@142 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-16 08:42:52 +00:00
Bjorn Winckler 2abf0b8370 Added 'Close' item to menu for debugging purposes.
git-svn-id: http://macvim.googlecode.com/svn/trunk@141 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-16 08:42:30 +00:00
vimboss bb77c5e988 updated for version 7.1-079 2007-08-15 18:41:34 +00:00
vimboss 41a68b20d4 updated for version 7.1-078 2007-08-15 18:08:50 +00:00
vimboss 8380edc499 updated for version 7.1-077 2007-08-14 21:07:36 +00:00
vimboss 5b28c3b12b updated for version 7.1-076 2007-08-14 20:54:49 +00:00
vimboss dda6c551df updated for version 7.1-075 2007-08-14 20:41:13 +00:00
vimboss 96a62707a5 updated for version 7.1-074 2007-08-14 20:29:31 +00:00
vimboss 8a55ffcfcc updated for version 7.1-073 2007-08-14 20:16:42 +00:00
Bjorn Winckler 6646d230e1 Changed which toolbar icons are hidden
git-svn-id: http://macvim.googlecode.com/svn/trunk@140 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-14 18:42:28 +00:00
Bjorn Winckler a94be50724 git-svn-id: http://macvim.googlecode.com/svn/trunk@139 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-08-14 18:42:02 +00:00
Bjorn Winckler 830ba6f4e2 - Toolbar pill button redirected to toggleToolbar: action, which passes the click on to Vim (fixes several toolbar bugs reported by Nico) - Tabline separator hide/show code has been fixed
git-svn-id: http://macvim.googlecode.com/svn/trunk@138 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-14 18:41:51 +00:00
Bjorn Winckler 5e9bd1011d Keypad enter no longer conflicts with Ctrl-C (fixing Ctrl-C bug)
git-svn-id: http://macvim.googlecode.com/svn/trunk@137 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-14 17:18:25 +00:00
Bjorn Winckler d0aa271e7a Shift-tab no longer treated as Ctrl-Y (fixes Ctrl-Y bug)
git-svn-id: http://macvim.googlecode.com/svn/trunk@136 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-14 16:42:10 +00:00
vimboss 2bc48873a9 updated for version 7.1-072 2007-08-14 15:55:42 +00:00
Bjorn Winckler 9487df63bf Command queue if flushed more often so that there are no long pauses of (seeming) inactivity when Vim is doing lengthy processing.
git-svn-id: http://macvim.googlecode.com/svn/trunk@135 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-14 15:51:24 +00:00
vimboss 513a57fc0c updated for version 7.1-071 2007-08-14 15:29:16 +00:00
vimboss 11dd30e312 updated for version 7.1-070 2007-08-14 14:57:55 +00:00
vimboss 1631cc6839 updated for version 7.1-069 2007-08-14 13:00:40 +00:00
vimboss 4551350682 updated for version 7.1-068 2007-08-12 14:55:56 +00:00
vimboss 0f3a0a18a9 updated for version 7.1-067 2007-08-12 14:38:46 +00:00
vimboss cc10f71319 updated for version 7.1-066 2007-08-12 13:51:26 +00:00
vimboss bbb1e02d56 updated for version 7.1-065 2007-08-12 13:25:01 +00:00
Bjorn Winckler c5e9d5d505 Cell width is rounded to an integer (fixes bug where window is too wide)
git-svn-id: http://macvim.googlecode.com/svn/trunk@129 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-12 11:12:56 +00:00
vimboss 67daacd48c updated for version 7.1-064 2007-08-11 20:24:10 +00:00
Bjorn Winckler c098f82deb The system vimrc is now copied to the right directory.
git-svn-id: http://macvim.googlecode.com/svn/trunk@128 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 17:59:18 +00:00
Bjorn Winckler 3a54b3e0f4 Syntax highlighting enabled by default
git-svn-id: http://macvim.googlecode.com/svn/trunk@127 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 17:58:53 +00:00
Bjorn Winckler 15f99f17de Removed some items from the toolbar so that all items were visible at the default window size.
git-svn-id: http://macvim.googlecode.com/svn/trunk@126 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 17:53:52 +00:00
Bjorn Winckler 37c3229d44 Now possible to have space and flexible space in toolbar (by creating items which math '-space.*-' and '-flexspace.*-' respectively).
git-svn-id: http://macvim.googlecode.com/svn/trunk@125 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 17:50:05 +00:00
Bjorn Winckler fb36ef1acd The wrong command line arguments were specified when launching MacVim.
git-svn-id: http://macvim.googlecode.com/svn/trunk@124 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 17:48:34 +00:00
Bjorn Winckler 6e8f33c766 Added system vimrc to project
git-svn-id: http://macvim.googlecode.com/svn/trunk@123 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 14:23:56 +00:00
Bjorn Winckler d0a09a8cfe This file is long since obsolete (Colors.plist is used instead)
git-svn-id: http://macvim.googlecode.com/svn/trunk@122 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 14:22:26 +00:00
vimboss 0b9a0534e2 updated for version 7.1-063 2007-08-11 14:00:30 +00:00
vimboss c676926be2 updated for version 7.1-062 2007-08-11 12:32:57 +00:00
vimboss 6e5b8116a2 updated for version 7.1-061 2007-08-11 11:58:23 +00:00
Bjorn Winckler a2fa2f99ed - Moved user default keys to MacVim.[h|m] - Renamed user defaults to the same name as their keys (minus "Key" at the end) - Window top left point autosave is now a string instead of a dictionary
git-svn-id: http://macvim.googlecode.com/svn/trunk@121 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 11:48:08 +00:00
vimboss d669940394 updated for version 7.1-060 2007-08-11 11:39:45 +00:00
Bjorn Winckler 4834afb74a Added support for ':popup' command.
git-svn-id: http://macvim.googlecode.com/svn/trunk@120 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 11:20:16 +00:00
Bjorn Winckler 4e599646f1 - MMTextStorage ensures that all glyphs have the same width (or twice that, for wide chars) - MMTypesetter only has to make all line fragments the same height, no glyph placement is necessary anymore - MMTextStorage cleaned up now that cell size is fixed across fonts
git-svn-id: http://macvim.googlecode.com/svn/trunk@119 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 20:13:57 +00:00
Bjorn Winckler 4588872456 Removed 'centerglyphs' user default
git-svn-id: http://macvim.googlecode.com/svn/trunk@118 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 20:09:41 +00:00
vimboss 5ca9076802 updated for version 7.1-059 2007-08-10 19:33:47 +00:00
Bjorn Winckler 959c39dac1 The flags '<' and 'C' in cpoptions are cleared and restored, so that mappings with <CR> in them work.
git-svn-id: http://macvim.googlecode.com/svn/trunk@117 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 14:22:52 +00:00
Bjorn Winckler 8155d80455 Ctrl-click is translated to right click (for people with one button mice). This behaviour can be disabled by setting user default 'translatectrlclick' to 0.
git-svn-id: http://macvim.googlecode.com/svn/trunk@116 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 13:46:49 +00:00
Bjorn Winckler 1b28266622 - Added support for popup menus - Adding a submenu to a popup menu now places the submenu under the popup menu instead of under the main menu (bug)
git-svn-id: http://macvim.googlecode.com/svn/trunk@115 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 13:28:59 +00:00
Bjorn Winckler 556bf0a410 Disabled NSTextView's popup menus
git-svn-id: http://macvim.googlecode.com/svn/trunk@114 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 10:24:28 +00:00
Bjorn Winckler b3c22363a4 - Default baselineoffset changed to -1 - Added user default 'centerglyphs' for nicer looking proportional fonts (disabled by default)
git-svn-id: http://macvim.googlecode.com/svn/trunk@113 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 10:10:52 +00:00
Bjorn Winckler 0813d7c5c2 Only bypass interpretKeyEvents: if Ctrl is held on key down (fixes bug where alt-e, e, did not produce e-acute).
git-svn-id: http://macvim.googlecode.com/svn/trunk@112 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 19:30:30 +00:00
Bjorn Winckler 9b9a6096ed Key down events in which Ctrl, Alt, or Command is held are immediately sent off to Vim instead of to interpretKeyEvents:. This is an attempt to bypass Key Bindings in Cocoa, since some key bindings cause several doCommandBySelector: messages to be sent (which means the key gets repeated). This fixed the CTRL-O bug in insert mode.
git-svn-id: http://macvim.googlecode.com/svn/trunk@111 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 18:25:16 +00:00
Bjorn Winckler ddc4ed0b35 - First window autosaves its position - Safari-like window cascading support (cascade from key window)
git-svn-id: http://macvim.googlecode.com/svn/trunk@110 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 17:48:17 +00:00
Bjorn Winckler d355ab4b00 Hides end-of-line characters
git-svn-id: http://macvim.googlecode.com/svn/trunk@109 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 11:19:08 +00:00
Bjorn Winckler ba058d45a9 - All user default key variables end with 'key' - Added user default keys: typesetter, cellwidthmultiplier, baselineoffset - Cell width calculations based on widht of 'm' (so that 'cellwidthmultiplier' is the width of a cell in em-units)
git-svn-id: http://macvim.googlecode.com/svn/trunk@108 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 10:22:52 +00:00
Bjorn Winckler be3881c8f9 Changing font via font panel now sets 'guifont' as well.
git-svn-id: http://macvim.googlecode.com/svn/trunk@107 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 09:24:29 +00:00
Bjorn Winckler 846d11d79c Added support for font panel.
git-svn-id: http://macvim.googlecode.com/svn/trunk@106 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 09:12:47 +00:00
vimboss 265980e5c2 updated for version 7.1-058 2007-08-08 20:49:37 +00:00
vimboss 6e9559fdbd updated for version 7.1-057 2007-08-08 19:42:05 +00:00
Bjorn Winckler a15c9110c0 Added custom typesetter (better wide-font support, can typeset proportional fonts)
git-svn-id: http://macvim.googlecode.com/svn/trunk@105 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 19:18:16 +00:00
Bjorn Winckler 656dcdea12 Added MMTypesetter.[m|h] to project.
git-svn-id: http://macvim.googlecode.com/svn/trunk@104 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 19:16:05 +00:00
Bjorn Winckler 4c3331492b Code cleanup
git-svn-id: http://macvim.googlecode.com/svn/trunk@103 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 12:40:30 +00:00
Bjorn Winckler e12a38b992 - Added processCommandQueueDidFinish notification to MMWindowController - Window resizing is delayed until processCommandQueueDidFinish (no more need for performSelectionOnMainThread:::)
git-svn-id: http://macvim.googlecode.com/svn/trunk@102 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 12:00:17 +00:00
Bjorn Winckler 6c59edb93e Code cleanup.
git-svn-id: http://macvim.googlecode.com/svn/trunk@101 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 09:58:41 +00:00
Bjorn Winckler ff164a8637 If only one file is dropped, use ':drop' instead of ':tab drop' (this works better when a directory is dropped).
git-svn-id: http://macvim.googlecode.com/svn/trunk@100 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 09:07:30 +00:00
Bjorn Winckler c659ac0f36 Modified default menus (which only show if no window has been opened)
git-svn-id: http://macvim.googlecode.com/svn/trunk@99 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 09:06:24 +00:00
Bjorn Winckler ed5935d1c8 Added Services menu entries
git-svn-id: http://macvim.googlecode.com/svn/trunk@98 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 09:05:42 +00:00
vimboss 870b09a30b updated for version 7.1-056 2007-08-07 20:00:31 +00:00
Bjorn Winckler 84494a00bd - Added services menu support with some simple provider messages - MMVimController observer registration moved from MMVimController init to MMWindowController windowDidLoad - Text system initialized in MMWindowController init instead of awakeFromNib
git-svn-id: http://macvim.googlecode.com/svn/trunk@96 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-07 19:23:05 +00:00
vimboss fe0e0c6689 updated for version 7.1-055 2007-08-06 20:28:43 +00:00
Bjorn Winckler b91bd4afc9 More active & pending
git-svn-id: http://macvim.googlecode.com/svn/trunk@95 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 19:09:33 +00:00
Bjorn Winckler be7c3da504 Updated outdate information
git-svn-id: http://macvim.googlecode.com/svn/trunk@94 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 19:09:09 +00:00
Bjorn Winckler 0306e0edf0 Added support for dropping text on window.
git-svn-id: http://macvim.googlecode.com/svn/trunk@93 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 18:52:11 +00:00
Bjorn Winckler 00d4006beb Added menukeyequiv for "Tools.Older List" and "Tools.Newer List".
git-svn-id: http://macvim.googlecode.com/svn/trunk@92 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 18:50:29 +00:00
Bjorn Winckler 397c6a926f Replaced "Close Tab" and "Close Window" with "Close" which maps to ":q".
git-svn-id: http://macvim.googlecode.com/svn/trunk@91 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 13:32:27 +00:00
Bjorn Winckler 31d4006d77 Added rudimentary support for drag and drop of files on window.
git-svn-id: http://macvim.googlecode.com/svn/trunk@90 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 13:23:35 +00:00
Bjorn Winckler 7249a58d74 Tab selection messages are ignored; selection is done when tabline updates.
git-svn-id: http://macvim.googlecode.com/svn/trunk@89 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 13:22:50 +00:00
Bjorn Winckler 0351dd2f05 Fixed tab selection bug where the wrong tab would get opened if multiple files were dragged onto the Vim dock icon.
git-svn-id: http://macvim.googlecode.com/svn/trunk@88 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 13:21:43 +00:00
Bjorn Winckler c732707423 Two more active, one pending.
git-svn-id: http://macvim.googlecode.com/svn/trunk@87 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-05 18:54:08 +00:00
Bjorn Winckler 9495317748 No longer uses stringWithFormat: when creating emptyRowString (%255c does not work as a format string).
git-svn-id: http://macvim.googlecode.com/svn/trunk@86 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-05 18:53:39 +00:00
vimboss 54135e65b8 updated for version 7.1-054 2007-08-05 18:10:54 +00:00
vimboss 3235b6ff67 updated for version 7.1-053 2007-08-05 17:20:43 +00:00
vimboss 27f84b42a7 updated for version 7.1-052 2007-08-05 16:49:43 +00:00
vimboss 6e7387ca70 updated for version 7.1-051 2007-08-05 16:33:12 +00:00
Bjorn Winckler ed22b4bb40 More active
git-svn-id: http://macvim.googlecode.com/svn/trunk@83 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-05 12:06:04 +00:00
Bjorn Winckler 8377ea3c5f - Removed unused stuff - No default bindings for next/prev window
git-svn-id: http://macvim.googlecode.com/svn/trunk@82 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-05 12:05:45 +00:00
Bjorn Winckler 189ba53edf Moved 'activateIgnoringOtherApps:' call to 'connectBackend:'.
git-svn-id: http://macvim.googlecode.com/svn/trunk@81 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-05 11:24:47 +00:00
Bjorn Winckler 5e3b3d9a7a - Tabline is automatically sized (set up in Interface Builder) - When tabline hidden a baseline is shown
git-svn-id: http://macvim.googlecode.com/svn/trunk@80 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 20:19:22 +00:00
Bjorn Winckler 39e8f87d4a Toolbar baseline separator always hidden.
git-svn-id: http://macvim.googlecode.com/svn/trunk@79 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 20:17:03 +00:00
Bjorn Winckler f84bd2df91 Added a tabline separator (NSBox).
git-svn-id: http://macvim.googlecode.com/svn/trunk@78 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 20:13:09 +00:00
Bjorn Winckler def350e3c8 Moved activateIgnoringOtherApps: hack from [MMWindowController openWindow] to [MMAppController applicationDidFinishLaunching:].
git-svn-id: http://macvim.googlecode.com/svn/trunk@77 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 17:39:45 +00:00
Bjorn Winckler 6957942365 Active: menu validation
git-svn-id: http://macvim.googlecode.com/svn/trunk@76 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 17:33:16 +00:00
Bjorn Winckler 4d95ec0ab8 Zoom to max only if mouse clicked with Cmd held.
git-svn-id: http://macvim.googlecode.com/svn/trunk@75 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 17:30:41 +00:00
Bjorn Winckler 91d3213c32 Added note on binding menus to ':action'
git-svn-id: http://macvim.googlecode.com/svn/trunk@74 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 17:20:15 +00:00
Bjorn Winckler f57a0e3d61 If a menu item is bound to ':action', the corresponding NSMenuItem has that action set as its action message (instead of the default 'vimMenuItemAction:').
git-svn-id: http://macvim.googlecode.com/svn/trunk@73 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 17:19:44 +00:00
Bjorn Winckler 35d1d0be99 - Added user default 'terminateafterlastwindowclosed' - Autoenabling of menu items is turned on when last window is closed
git-svn-id: http://macvim.googlecode.com/svn/trunk@72 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 17:17:36 +00:00
Bjorn Winckler 4098680553 When launching MacVim from [MMBackend checkin], use CFBundleExecutable in Info.plist to determine the name of the MacVim executable.
git-svn-id: http://macvim.googlecode.com/svn/trunk@71 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 10:58:19 +00:00
Bjorn Winckler a4e7da905c Tab next/previous were mixed up.
git-svn-id: http://macvim.googlecode.com/svn/trunk@70 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 10:31:00 +00:00
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
vimboss 4f22bd588a updated for version 7.1-050 2007-08-04 10:14:52 +00:00
vimboss 2cb3423f74 updated for version 7.1-049 2007-08-03 20:02:28 +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
vimboss fb0e31a0d6 updated for version 7.1-048 2007-08-02 21:00:50 +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
vimboss 85b24afdfc updated for version 7.1-047 2007-08-01 13:47:46 +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
vimboss 9915f43a9d updated for version 7.1-046 2007-07-30 20:32:53 +00:00
vimboss c2044ca153 updated for version 7.1-045 2007-07-30 20:00:38 +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
vimboss b7bbb25e3b updated for version 7.1-044 2007-07-29 13:03:35 +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
vimboss 8fa2a5a1d2 updated for version 7.1-043 2007-07-28 12:21:47 +00:00
vimboss c0f0ed96bd updated for version 7.1-042 2007-07-27 19:33:14 +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
vimboss 4caa7cb5a1 updated for version 7.1-041 2007-07-26 21:11:52 +00:00
vimboss c140e4cf02 updated for version 7.1-040 2007-07-26 20:58:42 +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
vimboss 21250fa474 updated for version 7.1-039 2007-07-25 20:56:39 +00:00
Bjorn Winckler 84f0068325 Changed build settings to only build for native architecture
git-svn-id: http://macvim.googlecode.com/svn/trunk@13 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-25 18:57:16 +00:00
Bjorn Winckler 9ed9a9f105 Initial import
git-svn-id: http://macvim.googlecode.com/svn/trunk@5 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-25 07:09:26 +00:00
vimboss 4bc1d521c8 updated for version 7.1-038 2007-07-24 13:26:15 +00:00
vimboss 2a2e902fff updated for version 7.1-037 2007-07-24 12:58:01 +00:00
vimboss 74ced66073 updated for version 7.1-036 2007-07-24 12:34:30 +00:00
vimboss 620bc48eec updated for version 7.1-035 2007-07-24 09:16:38 +00:00
vimboss bac0707aff updated for version 7.1-034 2007-07-24 08:45:13 +00:00
vimboss 6bc9b0c5e4 updated for version 7.1-033 2007-07-24 07:51:18 +00:00
vimboss 79cf24f237 updated for version 7.1-032 2007-07-17 16:15:36 +00:00
vimboss 883140b588 updated for version 7.1-031 2007-07-17 14:32:23 +00:00
vimboss ed9b162745 updated for version 7.1-030 2007-07-17 12:33:46 +00:00
vimboss 10663ade35 updated for version 7.1-029 2007-07-16 18:39:49 +00:00
vimboss 0295598a7b updated for version 7.1-028 2007-07-10 15:26:20 +00:00
vimboss ec3fc91813 updated for version 7.1-027 2007-07-10 15:10:54 +00:00
vimboss dd8f451752 updated for version 7.1-026 2007-07-10 12:03:33 +00:00
vimboss 37f7106970 updated for version 7.1-025 2007-07-10 11:28:55 +00:00
vimboss 3953a39af4 updated for version 7.1-024 2007-07-10 11:09:36 +00:00
vimboss 635d3f0e64 updated for version 7.1-023 2007-07-10 10:38:02 +00:00
vimboss 348b9f0b88 updated for version 7.1-022 2007-07-07 11:58:28 +00:00
vimboss 5ca7570c94 updated for version 7.1-021 2007-07-06 17:43:08 +00:00
vimboss dc21b049a0 updated for version 7.1-020 2007-07-05 08:11:42 +00:00
vimboss 014aa1df5c updated for version 7.1-019 2007-07-05 07:54:17 +00:00
vimboss 32a75074b3 updated for version 7.1-018 2007-06-28 20:18:51 +00:00
vimboss 1119034066 updated for version 7.1-017 2007-06-28 20:02:32 +00:00
vimboss 9825247a1f updated for version 7.1-016 2007-06-28 19:33:43 +00:00
vimboss a55ed8655d updated for version 7.1-015 2007-06-28 11:07:21 +00:00
vimboss 7c85e6e791 updated for version 7.1-014 2007-06-28 10:49:22 +00:00
vimboss 17efc64b9b updated for version 7.1-013 2007-06-28 10:03:45 +00:00
vimboss 00a2ab8be4 updated for version 7.1-012 2007-06-19 18:52:53 +00:00
vimboss 26aa7f971e updated for version 7.1-011 2007-06-19 18:27:18 +00:00
vimboss 1510fa1aa3 updated for version 7.1-010 2007-06-19 16:03:50 +00:00
vimboss cc2112c6af updated for version 7.1-009 2007-06-19 15:44:58 +00:00
vimboss 88b303a3fa updated for version 7.1-008 2007-06-19 15:31:05 +00:00
vimboss 0d70c62db8 updated for version 7.1-008 2007-06-19 15:19:55 +00:00
vimboss 4b2d9804d9 updated for version 7.1-007 2007-06-19 14:29:43 +00:00
vimboss ae9a7a0039 updated for version 7.1-006 2007-06-19 13:36:52 +00:00
vimboss 0d9c1da8c1 updated for version 7.1-005 2007-06-19 10:56:05 +00:00
vimboss 537b065682 updated for version 7.1-004 2007-06-19 09:51:25 +00:00
vimboss 89a13e1745 updated for version 7.1-003 2007-06-19 08:06:18 +00:00
vimboss 50846e1ff0 updated for version 7.1-002 2007-05-15 07:12:25 +00:00
vimboss 6f46710e86 updated for version 7.1-001 2007-05-14 17:38:30 +00:00
vimboss c9439d64d9 updated for version 7.1 2007-05-12 15:34:06 +00:00
vimboss f9e52be216 updated for version 7.1 2007-05-12 15:32:12 +00:00
vimboss db0d6fc3a0 updated for version 7.1 2007-05-12 15:28:06 +00:00
vimboss 8cd01eb495 updated for version 7.1 2007-05-12 15:26:47 +00:00
vimboss 9b159ceb47 updated for version 7.1 2007-05-12 15:23:40 +00:00
vimboss c3f8f16147 updated for version 7.1 2007-05-12 15:19:41 +00:00
vimboss 37f6c6a38d updated for version 7.1 2007-05-12 15:16:37 +00:00
vimboss b7453f35ad updated for version 7.1 2007-05-12 15:14:36 +00:00
vimboss ae4cbb939d updated for version 7.1 2007-05-12 15:12:15 +00:00
vimboss 33410d41f3 updated for version 7.1 2007-05-12 15:10:39 +00:00
vimboss 7ec19465a4 updated for version 7.1 2007-05-12 15:07:00 +00:00
vimboss 7877b169d8 updated for version 7.1 2007-05-12 15:05:26 +00:00
vimboss 3f5651d65a updated for version 7.1 2007-05-12 15:04:19 +00:00
vimboss 6f84493064 updated for version 7.1 2007-05-12 15:00:32 +00:00
vimboss 61d62264c9 updated for version 7.1 2007-05-12 14:59:12 +00:00
vimboss 3567315ee0 updated for version 7.1 2007-05-12 14:57:31 +00:00
vimboss fe5f000f53 updated for version 7.1 2007-05-12 14:50:38 +00:00
vimboss 35c580222e updated for version 7.1 2007-05-12 14:46:25 +00:00
vimboss 8f7d5b82fd updated for version 7.1 2007-05-12 14:42:48 +00:00
vimboss 2a8289e00a updated for version 7.1 2007-05-12 14:38:41 +00:00
vimboss 884ea50b52 updated for version 7.1 2007-05-12 14:34:30 +00:00
vimboss 97f12af058 updated for version 7.1 2007-05-12 14:32:25 +00:00
vimboss 87d60dcedc updated for version 7.1 2007-05-12 14:28:25 +00:00
vimboss a775ca5ca1 updated for version 7.1 2007-05-12 14:24:45 +00:00
vimboss 524364e7ac updated for version 7.1 2007-05-12 14:23:41 +00:00
vimboss 12b35f5f69 updated for version 7.1 2007-05-12 14:17:21 +00:00
vimboss 797d06e414 updated for version 7.1 2007-05-12 14:15:39 +00:00
vimboss 2c33e7aa04 updated for version 7.1 2007-05-12 14:13:37 +00:00
vimboss a6ca4b2f40 updated for version 7.1 2007-05-12 14:10:12 +00:00
vimboss fbfeffeca2 updated for version 7.1 2007-05-12 14:06:39 +00:00
vimboss 494fd4cf67 updated for version 7.1 2007-05-12 14:03:30 +00:00
vimboss 982751de34 updated for version 7.1 2007-05-12 13:57:53 +00:00
vimboss dd520c1666 updated for version 7.1 2007-05-12 13:56:44 +00:00
vimboss bfdbce831c updated for version 7.1 2007-05-12 13:55:30 +00:00
vimboss cd79c75da1 updated for version 7.1 2007-05-12 13:52:50 +00:00
vimboss 310de0f52f updated for version 7.1 2007-05-12 13:51:35 +00:00
vimboss 5c4b217e3e updated for version 7.1 2007-05-12 13:48:35 +00:00
vimboss 13adccfebc updated for version 7.1 2007-05-12 13:47:10 +00:00
vimboss 56b7903323 updated for version 7.1 2007-05-12 13:43:14 +00:00
vimboss d0f7b4cdbc updated for version 7.1 2007-05-12 13:40:39 +00:00
vimboss ea52721182 updated for version 7.1 2007-05-12 13:38:39 +00:00
vimboss cc8688d998 updated for version 7.1 2007-05-12 13:36:14 +00:00
vimboss 4f29e19992 updated for version 7.1 2007-05-12 13:30:28 +00:00
vimboss b273c11d03 updated for version 7.1 2007-05-12 13:28:48 +00:00
vimboss 011c362d7b updated for version 7.1 2007-05-12 13:26:40 +00:00
vimboss 6b6a2b4361 updated for version 7.1 2007-05-12 13:25:01 +00:00
vimboss 9ce550a838 updated for version 7.1 2007-05-12 13:20:15 +00:00
vimboss d27d7dcf47 updated for version 7.1 2007-05-12 13:16:04 +00:00
vimboss 40ebe92e19 updated for version 7.1 2007-05-12 13:13:51 +00:00
vimboss b5cb847890 updated for version 7.1 2007-05-12 13:12:19 +00:00
vimboss 6c559fcfe3 updated for version 7.1 2007-05-12 13:06:29 +00:00
vimboss de8a134f78 updated for version 7.1 2007-05-12 13:03:54 +00:00
vimboss 165abf2e35 updated for version 7.1 2007-05-12 13:02:42 +00:00
vimboss 287bbf0130 updated for version 7.1 2007-05-12 13:00:40 +00:00
vimboss 2e4f4234bc updated for version 7.1 2007-05-12 12:58:05 +00:00
vimboss c8061826e1 updated for version 7.1b-002 2007-05-11 18:15:45 +00:00
vimboss d8d0fd770d updated for version 7.1b-001 2007-05-10 20:17:29 +00:00
vimboss 1e90c6f106 updated for version 7.1b 2007-05-10 19:30:25 +00:00
vimboss 8bbb4780e0 updated for version 7.1b 2007-05-10 19:24:43 +00:00
vimboss 21d4ef015a updated for version 7.1b 2007-05-10 19:19:59 +00:00
vimboss 324824c936 updated for version 7.1b 2007-05-10 19:08:09 +00:00
vimboss c8ab2659ce updated for version 7.1b 2007-05-10 19:06:20 +00:00
vimboss a1963552c2 updated for version 7.1b 2007-05-10 19:00:27 +00:00
vimboss cefc0d317f updated for version 7.1b 2007-05-10 18:59:07 +00:00
vimboss 9fcb6b732b updated for version 7.1b 2007-05-10 18:52:16 +00:00
vimboss ec01c0f4a9 updated for version 7.1b 2007-05-10 18:46:18 +00:00
vimboss 6eed454ea3 updated for version 7.1b 2007-05-10 18:44:18 +00:00
vimboss 640b76e5bb updated for version 7.1b 2007-05-10 18:40:02 +00:00
vimboss c2f7b59d80 updated for version 7.1b 2007-05-10 18:38:52 +00:00
vimboss c19f76aa1f updated for version 7.1b 2007-05-10 18:32:52 +00:00
vimboss 6ce2c134ac updated for version 7.1b 2007-05-10 18:29:51 +00:00
vimboss bc17643c83 updated for version 7.1b 2007-05-10 18:25:20 +00:00
vimboss e6efe42b0d updated for version 7.1b 2007-05-10 18:19:11 +00:00
vimboss 0754eaa908 updated for version 7.1b 2007-05-10 18:07:50 +00:00
vimboss 20d281f1c6 updated for version 7.1b 2007-05-10 18:05:13 +00:00
vimboss 5ff6d4f08b updated for version 7.1b 2007-05-10 18:02:27 +00:00
vimboss e905ac12dd updated for version 7.1b 2007-05-10 18:00:30 +00:00
vimboss cac9944f08 updated for version 7.1b 2007-05-10 17:56:19 +00:00
vimboss 57ca7697bf updated for version 7.1b 2007-05-10 17:52:45 +00:00
vimboss d2e45758c4 updated for version 7.1b 2007-05-10 17:46:55 +00:00
vimboss f720b32124 updated for version 7.1b 2007-05-10 17:45:37 +00:00
vimboss 3d95cee3b1 updated for version 7.1b 2007-05-10 17:44:18 +00:00
vimboss e28e869caf updated for version 7.1b 2007-05-10 17:39:52 +00:00
vimboss f704746f42 updated for version 7.1b 2007-05-10 17:36:58 +00:00
vimboss f220dcdc52 updated for version 7.1b 2007-05-10 17:35:54 +00:00
vimboss 791c26bd39 updated for version 7.1b 2007-05-10 17:26:28 +00:00
vimboss d0451cbcb9 updated for version 7.1b 2007-05-10 17:24:16 +00:00
vimboss 3282156729 updated for version 7.1b 2007-05-10 17:17:07 +00:00
vimboss 5d1154b8bc updated for version 7.1b 2007-05-10 17:15:45 +00:00
vimboss 3b358da302 updated for version 7.1b 2007-05-10 17:06:00 +00:00
vimboss 543e630c15 updated for version 7.1b 2007-05-10 17:04:44 +00:00
vimboss 754bea531c updated for version 7.1b 2007-05-10 17:03:39 +00:00
vimboss 6d8efd56ea updated for version 7.1b 2007-05-10 17:02:32 +00:00
vimboss 764327dabd updated for version 7.1b 2007-05-10 17:00:48 +00:00
vimboss 576f7e3483 updated for version 7.1b 2007-05-10 16:58:19 +00:00
vimboss dab14322b0 updated for version 7.1b 2007-05-10 16:56:30 +00:00
vimboss 570e643786 updated for version 7.1b 2007-05-10 16:50:23 +00:00
vimboss bf843d5890 updated for version 7.1b 2007-05-10 16:48:19 +00:00
vimboss 82ebac3c63 updated for version 7.1b 2007-05-10 16:44:05 +00:00
vimboss 4aeafce480 updated for version 7.1b 2007-05-10 16:41:10 +00:00
vimboss 9cb7df172f updated for version 7.1a-001 2007-05-06 21:55:31 +00:00
vimboss 29b8025030 updated for version 7.1a 2007-05-06 17:22:46 +00:00
vimboss e39c260197 updated for version 7.1a 2007-05-06 17:19:06 +00:00
vimboss 76f0946484 updated for version 7.1a 2007-05-06 16:50:15 +00:00
vimboss 3bdb52d1b1 updated for version 7.1a 2007-05-06 16:46:03 +00:00
vimboss ca1d9c9c97 updated for version 7.1a 2007-05-06 16:41:27 +00:00
vimboss 48aad3c01c updated for version 7.1a 2007-05-06 16:39:48 +00:00
vimboss cd5fd0ca66 updated for version 7.1a 2007-05-06 16:33:11 +00:00
vimboss ed9a8cd91e updated for version 7.1a 2007-05-06 16:28:11 +00:00
vimboss 5b00938873 updated for version 7.1a 2007-05-06 16:19:19 +00:00
vimboss 2aa9f7d108 updated for version 7.1a 2007-05-06 16:15:07 +00:00
vimboss 0fac43dce7 updated for version 7.1a 2007-05-06 15:48:14 +00:00
vimboss cf0aaef43f updated for version 7.1a 2007-05-06 15:30:35 +00:00
vimboss 773df55cc6 updated for version 7.1a 2007-05-06 15:28:16 +00:00
vimboss 2d97966c7a updated for version 7.1a 2007-05-06 15:11:45 +00:00
vimboss a27ed4abc5 updated for version 7.1a 2007-05-06 14:33:06 +00:00
vimboss 33e3bf805d updated for version 7.1a 2007-05-06 14:28:38 +00:00
vimboss 9a0f248663 updated for version 7.1a 2007-05-06 14:26:48 +00:00
vimboss 3d6513cd2c updated for version 7.1a 2007-05-06 14:25:46 +00:00
vimboss 5a195f07b7 updated for version 7.1a 2007-05-06 14:15:36 +00:00
vimboss ff9a3892f3 updated for version 7.1a 2007-05-06 14:13:49 +00:00
vimboss dcb66fe62d updated for version 7.1a 2007-05-06 14:12:36 +00:00
vimboss 4bc133f05b updated for version 7.1a 2007-05-06 13:58:05 +00:00
vimboss fef40c21e9 updated for version 7.1a 2007-05-06 13:56:27 +00:00
vimboss b03112d6bb updated for version 7.1a 2007-05-06 13:54:35 +00:00
vimboss a6e664dce5 updated for version 7.1a 2007-05-06 13:49:21 +00:00
vimboss 405eede0df updated for version 7.1a 2007-05-06 13:45:52 +00:00
vimboss 5b10678a34 updated for version 7.1a 2007-05-06 13:43:09 +00:00
vimboss 0c6b2884a4 updated for version 7.1a 2007-05-06 13:38:48 +00:00
vimboss 9fcfef456e updated for version 7.1a 2007-05-06 13:32:59 +00:00
vimboss 68f787eca8 updated for version 7.1a 2007-05-06 13:28:50 +00:00
vimboss a2033f575d updated for version 7.1a 2007-05-06 13:26:41 +00:00
vimboss 1e7d260a6d updated for version 7.1a 2007-05-06 13:23:02 +00:00
vimboss 75f1bbc472 updated for version 7.1a 2007-05-06 13:22:01 +00:00
vimboss 6853880ece updated for version 7.1a 2007-05-06 13:18:29 +00:00
vimboss 5b0f0ba040 updated for version 7.1a 2007-05-06 13:12:34 +00:00
vimboss efd62618df updated for version 7.1a 2007-05-06 13:10:49 +00:00
vimboss e07767d470 updated for version 7.1a 2007-05-06 13:04:32 +00:00
vimboss a3c6365c2c updated for version 7.1a 2007-05-06 12:54:06 +00:00
vimboss 78f5730311 updated for version 7.1a 2007-05-06 12:51:41 +00:00
vimboss a1f804b6d6 updated for version 7.1a 2007-05-06 12:48:13 +00:00
vimboss bff7aaa055 updated for version 7.1a 2007-05-06 12:46:22 +00:00
vimboss 5d911ebc7e updated for version 7.1a 2007-05-06 12:44:46 +00:00
vimboss 839e0c35e6 updated for version 7.1a 2007-05-06 12:40:34 +00:00
vimboss 45aa652122 updated for version 7.1a 2007-05-06 12:39:05 +00:00
vimboss 692ac59393 updated for version 7.1a 2007-05-06 12:34:30 +00:00
vimboss 4919e40b80 updated for version 7.1a 2007-05-06 12:32:12 +00:00
vimboss 4cefc42b25 updated for version 7.1a 2007-05-06 12:30:18 +00:00
vimboss c76adda91e updated for version 7.1a 2007-05-06 12:28:24 +00:00
vimboss 4f0fa07db0 updated for version 7.1a 2007-05-06 12:26:25 +00:00
vimboss c628b8201c updated for version 7.1a 2007-05-06 12:24:45 +00:00
vimboss b3530287e7 updated for version 7.1a 2007-05-06 12:18:31 +00:00
vimboss 3cc19389db updated for version 7.1a 2007-05-06 12:12:19 +00:00
vimboss 0dc5179b8d updated for version 7.1a 2007-05-06 12:07:59 +00:00
vimboss 7e36185c93 updated for version 7.1a 2007-05-06 11:59:04 +00:00
vimboss 7504f7a7ab updated for version 7.1a 2007-05-06 11:56:32 +00:00
vimboss f91331dd34 updated for version 7.1a 2007-05-06 11:55:00 +00:00
vimboss ceb8628d01 updated for version 7.1a 2007-05-06 11:53:06 +00:00
vimboss 8ae4d75dd0 updated for version 7.1a 2007-05-06 11:29:37 +00:00
vimboss 25b571fd20 updated for version 7.1a 2007-05-05 18:27:07 +00:00
vimboss 49b03a5ce3 updated for version 7.1a 2007-05-05 18:24:42 +00:00
vimboss 05b6da1c99 updated for version 7.1a 2007-05-05 18:01:06 +00:00
vimboss b39ece0bf5 updated for version 7.1a 2007-05-05 17:59:48 +00:00
vimboss bbc12ddbca updated for version 7.1a 2007-05-05 17:56:55 +00:00
vimboss 0496d46ee2 updated for version 7.1a 2007-05-05 17:54:07 +00:00
vimboss 7a30f23656 updated for version 7.1a 2007-05-05 17:15:44 +00:00
vimboss 9895f8a1af updated for version 7.1a 2007-05-05 17:11:56 +00:00
vimboss c4208da11e updated for version 7.1a 2007-05-05 17:10:09 +00:00
vimboss 52ca0eccef updated for version 7.0-243 2007-05-05 10:52:16 +00:00
vimboss 590634ab72 updated for version 7.0-242 2007-05-04 20:29:09 +00:00
vimboss 3d1d706d0f updated for version 7.0-241 2007-05-03 20:11:13 +00:00
vimboss d05f5d020b updated for version 7.0-240 2007-05-02 19:50:14 +00:00
vimboss 4c3b1bca87 updated for version 7.0-239 2007-05-01 21:21:21 +00:00
vimboss c93ea1c7e1 updated for version 7.0-238 2007-05-01 20:04:53 +00:00
vimboss a92c118c4f updated for version 7.0-237 2007-05-01 17:05:03 +00:00
vimboss 6868c77bc3 updated for version 7.0-236 2007-05-01 11:37:47 +00:00
vimboss a10745844e updated for version 7.0-235 2007-04-29 11:53:56 +00:00
vimboss 4ab98e1db3 updated for version 7.0-234 2007-04-27 20:15:55 +00:00
vimboss b4be9e52f7 updated for version 7.0-233 2007-04-26 16:40:56 +00:00
vimboss e07e41e4e4 updated for version 7.0-232 2007-04-26 16:20:50 +00:00
vimboss 99d212d0e1 updated for version 7.0-231 2007-04-26 15:21:56 +00:00
vimboss 3c2ab31708 updated for version 7.0-230 2007-04-26 15:06:45 +00:00
vimboss 5a2a840b79 updated for version 7.0-229 2007-04-26 14:48:01 +00:00
vimboss 2006706be6 updated for version 7.0-228 2007-04-26 14:26:37 +00:00
vimboss a6b3d73a84 updated for version 7.0-227 2007-04-26 14:09:42 +00:00
vimboss 9a7d7736c6 updated for version 7.0-226 2007-04-26 09:04:31 +00:00
vimboss e60d1fec50 updated for version 7.0-225 2007-04-26 08:54:21 +00:00
vimboss b6d4f9d6b4 updated for version 7.0-224 2007-03-27 14:57:09 +00:00
vimboss f506b1020b updated for version 7.0-223 2007-03-27 10:42:05 +00:00
vimboss 02a1dd4d4b updated for version 7.0-222 2007-03-27 09:02:11 +00:00
vimboss b4869c1e7a updated for version 7.0-221 2007-03-27 08:19:43 +00:00
vimboss a6be23157b updated for version 7.0-220 2007-03-25 15:49:08 +00:00
vimboss 7cb54cefcb updated for version 7.0-219 2007-03-18 20:51:46 +00:00
vimboss 872f99870d updated for version 7.0-218 2007-03-15 21:54:01 +00:00
vimboss 81df7743d4 updated for version 7.0-217 2007-03-15 20:38:26 +00:00
vimboss b6e88f0f1e updated for version 7.0-216 2007-03-11 14:48:29 +00:00
vimboss ed4d1d577d updated for version 7.0-215 2007-03-08 19:34:12 +00:00
vimboss a3516b5939 updated for version 7.0-214 2007-03-08 17:12:08 +00:00
vimboss 8432d3dfba updated for version 7.0-213 2007-03-08 13:49:53 +00:00
vimboss a1c86812a4 updated for version 7.0-212 2007-03-08 12:36:46 +00:00
vimboss 0e5648052b updated for version 7.0-211 2007-03-08 12:10:13 +00:00
vimboss 0e7d4870f2 updated for version 7.0-210 2007-03-08 10:01:03 +00:00
vimboss bb719f5012 updated for version 7.0-209 2007-03-08 09:20:28 +00:00
vimboss 74d4b083f4 updated for version 7.0-208 2007-03-06 19:22:53 +00:00
vimboss 4b9581906b updated for version 7.0-207 2007-03-04 20:22:01 +00:00
vimboss 69cb628e1e updated for version 7.0-206 2007-03-02 18:56:27 +00:00
vimboss e162275798 updated for version 7.0-205 2007-02-27 22:03:05 +00:00
vimboss 0e9247fff2 updated for version 7.0-204 2007-02-27 17:08:16 +00:00
vimboss 991d41f4d2 updated for version 7.0-203 2007-02-27 16:21:38 +00:00
vimboss bcf1d3ce9a updated for version 7.0-202 2007-02-27 15:48:28 +00:00
vimboss 396d8a5bf1 updated for version 7.0-201 2007-02-20 03:43:38 +00:00
vimboss dc8537ca2a updated for version 7.0-200 2007-02-20 02:49:19 +00:00
vimboss 44dff99315 updated for version 7.0-199 2007-02-20 02:31:20 +00:00
vimboss 247960892f updated for version 7.0-198 2007-02-20 02:16:18 +00:00
vimboss 837110aa37 updated for version 7.0-197 2007-02-20 01:59:20 +00:00
vimboss df366a3b09 updated for version 7.0-196 2007-02-19 23:14:18 +00:00
vimboss c3fec098f4 updated for version 7.0-195 2007-02-13 05:19:30 +00:00
vimboss 4c752d635b updated for version 7.0-194 2007-02-13 03:01:39 +00:00
vimboss 69d0c57c09 updated for version 7.0-193 2007-02-13 02:47:22 +00:00
vimboss e2711b9710 updated for version 7.0-192 2007-02-07 02:41:57 +00:00
vimboss 167def3f88 updated for version 7.0-191 2007-02-04 01:58:18 +00:00
vimboss 3545da3d9a updated for version 7.0-190 2007-02-04 01:48:10 +00:00
vimboss 709192cc29 updated for version 7.0-189 2007-02-04 01:37:39 +00:00
vimboss f4c9cab83f updated for version 7.0-188 2007-01-16 21:14:45 +00:00
vimboss c17ac70563 updated for version 7.0-187 2007-01-16 20:33:19 +00:00
vimboss e7e59aad8f updated for version 7.0-186 2007-01-16 15:01:41 +00:00
vimboss 1be50a37dd updated for version 7.0-185 2007-01-16 14:46:32 +00:00
vimboss ab710f5a62 updated for version 7.0-184 2007-01-16 14:18:41 +00:00
vimboss b96c63fc67 updated for version 7.0-183 2007-01-14 14:28:34 +00:00
vimboss 01114cd149 updated for version 7.0-182 2007-01-09 19:23:12 +00:00
vimboss f0c13b0f34 updated for version 7.0-181 2007-01-09 14:37:01 +00:00
vimboss 9fd754ffb4 updated for version 7.0-180 2007-01-09 14:09:25 +00:00
vimboss a9cd2d7e92 updated for version 7.0-179 2007-01-09 13:34:50 +00:00
vimboss 1e33916fc1 updated for version 7.0-178 2006-12-05 21:06:46 +00:00
vimboss 9baec7f4bb updated for version 7.0-177 2006-12-05 20:43:17 +00:00
vimboss dd5d2b95af updated for version 7.0-176 2006-12-05 20:29:56 +00:00
vimboss 1084a99588 updated for version 7.0-175 2006-12-05 09:32:29 +00:00
vimboss b7f6aa3a42 updated for version 7.0-174 2006-11-28 20:40:00 +00:00
vimboss 7fb053dfad updated for version 7.0-173 2006-11-28 19:54:04 +00:00
vimboss 8702b475c2 updated for version 7.0-172 2006-11-28 17:36:37 +00:00
vimboss de58d656b9 updated for version 7.0-171 2006-11-28 16:43:58 +00:00
vimboss cd715abe19 updated for version 7.0-170 2006-11-28 16:16:58 +00:00
vimboss bc93c8d345 updated for version 7.0-169 2006-11-28 15:14:56 +00:00
vimboss f470423173 updated for version 7.0-168 2006-11-21 19:57:30 +00:00
vimboss 3602f133e0 updated for version 7.0-167 2006-11-21 18:36:05 +00:00
vimboss f7e636d4a6 updated for version 7.0-166 2006-11-21 10:43:23 +00:00
vimboss 7430d93327 updated for version 7.0-165 2006-11-21 10:29:45 +00:00
vimboss 7be0458198 updated for version 7.0-164 2006-11-14 19:25:02 +00:00
vimboss 45242269bc updated for version 7.0-163 2006-11-14 17:29:46 +00:00
vimboss d5e7c2a58e updated for version 7.0-162 2006-11-07 21:59:47 +00:00
vimboss 561e4f30f3 updated for version 7.0-161 2006-11-07 18:05:31 +00:00
vimboss 85e1a75489 updated for version 7.0-160 2006-11-07 17:43:47 +00:00
vimboss fc10daaefc updated for version 7.0-159 2006-11-07 17:02:30 +00:00
vimboss bb6377f539 updated for version 7.0-158 2006-11-01 20:25:45 +00:00
vimboss 23a0922869 updated for version 7.0-157 2006-11-01 17:34:40 +00:00
vimboss 3292fd90cd updated for version 7.0-156 2006-11-01 17:12:57 +00:00
vimboss b658bd3def updated for version 7.0-155 2006-11-01 14:32:36 +00:00
vimboss dcc4d68593 updated for version 7.0-154 2006-11-01 11:44:31 +00:00
vimboss 99808b521f updated for version 7.0-153 2006-10-30 21:32:28 +00:00
vimboss cd712f3c66 updated for version 7.0-152 2006-10-24 20:29:10 +00:00
vimboss e5452830cb updated for version 7.0-151 2006-10-24 20:01:06 +00:00
vimboss c2b3283e46 updated for version 7.0-150 2006-10-24 19:36:02 +00:00
vimboss 3774eda588 updated for version 7.0-149 2006-10-24 19:12:40 +00:00
vimboss a26bd6ccf9 updated for version 7.0-148 2006-10-24 11:49:25 +00:00
vimboss ad5823572c updated for version 7.0-147 2006-10-24 10:59:57 +00:00
vimboss 45bc5e553e updated for version 7.0-146 2006-10-20 18:13:14 +00:00
vimboss fde339f11e updated for version 7.0-145 2006-10-17 20:38:28 +00:00
vimboss 04eda27720 updated for version 7.0-144 2006-10-17 16:48:26 +00:00
vimboss 1c6d2c1242 updated for version 7.0-143 2006-10-17 16:34:24 +00:00
vimboss 89cbddf1c1 updated for version 7.0-142 2006-10-17 14:54:03 +00:00
vimboss 6593a02e3f updated for version 7.0-141 2006-10-17 14:25:24 +00:00
vimboss 4dc7bac632 updated for version 7.0-140 2006-10-17 13:16:39 +00:00
vimboss 449bdfa94e updated for version 7.0-139 2006-10-17 11:37:50 +00:00
vimboss cc889e4ef5 updated for version 7.0-138 2006-10-17 10:51:57 +00:00
vimboss fa57c5163b updated for version 7.0-137 2006-10-17 09:49:09 +00:00
vimboss 77abeea3dc updated for version 7.0-136 2006-10-17 09:12:21 +00:00
vimboss 986c45d61e updated for version 7.0-135 2006-10-15 20:37:38 +00:00
vimboss 1b11a5aa1f updated for version 7.0-134 2006-10-15 13:09:12 +00:00
vimboss 187a595f8d updated for version 7.0-133 2006-10-14 12:32:39 +00:00
vimboss df5317437c updated for version 7.0-132 2006-10-12 19:14:26 +00:00
vimboss aac23afcbf updated for version 7.0-131 2006-10-10 19:56:03 +00:00
vimboss bf75bb7ff2 updated for version 7.0-130 2006-10-10 16:44:07 +00:00
vimboss ca42a83a82 updated for version 7.0-129 2006-10-10 16:28:30 +00:00
vimboss e55f24d8ee updated for version 7.0-128 2006-10-10 15:35:57 +00:00
vimboss 491ed76fd5 updated for version 7.0-127 2006-10-10 14:20:13 +00:00
vimboss 4775a3fb84 updated for version 7.0-126 2006-10-10 13:49:10 +00:00
vimboss 767c686fa6 updated for version 7.0-125 2006-10-10 11:26:53 +00:00
vimboss 404a0196b7 updated for version 7.0-124 2006-10-10 10:55:47 +00:00
vimboss 00b0ef6108 updated for version 7.0-123 2006-10-10 09:41:28 +00:00
vimboss 0f75001894 updated for version 7.0-122 2006-10-09 20:11:17 +00:00
vimboss b201d19590 updated for version 7.0-121 2006-10-08 11:56:24 +00:00
vimboss 5cff763e23 updated for version 7.0-120 2006-10-06 21:33:16 +00:00
vimboss 84b0d2431c updated for version 7.0-119 2006-10-06 18:39:58 +00:00
vimboss 474213f29f updated for version 7.0-118 2006-10-03 15:21:42 +00:00
vimboss 4f510987f4 updated for version 7.0-117 2006-10-03 15:04:36 +00:00
vimboss d5ab0ef22a updated for version 7.0-116 2006-10-03 14:30:41 +00:00
vimboss af35e82206 updated for version 7.0-115 2006-10-03 13:49:29 +00:00
vimboss 5620f0d9e8 updated for version 7.0-114 2006-10-03 13:36:13 +00:00
vimboss 77e8f77cbf updated for version 7.0-113 2006-10-03 13:22:23 +00:00
vimboss eb2ace5129 updated for version 7.0-112 2006-10-03 13:02:36 +00:00
vimboss 949589e6e3 updated for version 7.0-111 2006-10-03 12:44:42 +00:00
vimboss 94f96d6d08 updated for version 7.0-110 2006-09-26 11:48:34 +00:00
vimboss e2041e2509 updated for version 7.0-109 2006-09-15 18:18:09 +00:00
vimboss 57baeb62a9 updated for version 7.0-108 2006-09-14 19:36:57 +00:00
vimboss f201f31712 updated for version 7.0-107 2006-09-14 19:04:14 +00:00
vimboss 3097f10c43 updated for version 7.0-106 2006-09-14 11:35:25 +00:00
vimboss 040794fa00 updated for version 7.0-105 2006-09-14 09:27:26 +00:00
vimboss de831fad0f updated for version 7.0-104 2006-09-14 09:07:34 +00:00
vimboss f1ed2ce68b updated for version 7.0-103 2006-09-14 08:48:14 +00:00
vimboss bbd0c29ab0 updated for version 7.0-102 2006-09-14 08:25:49 +00:00
vimboss 8181c66a34 updated for version 7.0-101 2006-09-12 20:25:24 +00:00
vimboss 3ed26e08d2 updated for version 7.0-100 2006-09-11 19:38:08 +00:00
vimboss cdfd960bff updated for version 7.0-099 2006-09-10 19:39:25 +00:00
vimboss 8449d1f0f0 updated for version 7.0-098 2006-09-10 19:07:28 +00:00
vimboss d39483be60 updated for version 7.0-097 2006-09-10 13:51:17 +00:00
vimboss 2a4ffc0507 updated for version 7.0-096 2006-09-10 11:56:59 +00:00
vimboss 844ad92767 updated for version 7.0-095 2006-09-10 11:24:31 +00:00
vimboss fbe99e481c updated for version 7.0-094 2006-09-09 12:52:42 +00:00
vimboss 2d827cb808 updated for version 7.0-093 2006-09-09 11:37:51 +00:00
vimboss 80b287d6c6 updated for version 7.0-092 2006-09-09 10:06:58 +00:00
vimboss bce72a3002 updated for version 7.0-091 2006-09-06 20:16:42 +00:00
vimboss 8d46990cf5 updated for version 7.0-090 2006-09-05 18:57:57 +00:00
vimboss 7422c0fe32 updated for version 7.0-089 2006-09-05 16:30:40 +00:00
vimboss dd628b0a8f updated for version 7.0-088 2006-09-05 15:32:11 +00:00
vimboss 727e5f27d0 updated for version 7.0-087 2006-09-05 14:31:54 +00:00
vimboss c86ef30b16 updated for version 7.0-086 2006-09-05 13:37:47 +00:00
vimboss 6d8cce8d06 updated for version 7.0-085 2006-09-05 11:36:02 +00:00
vimboss f6fb8ee7ff updated for version 7.0-084 2006-09-05 10:59:47 +00:00
vimboss d312b76c04 updated for version 7.0-083 2006-09-03 14:35:42 +00:00
vimboss cde7dd261e updated for version 7.0-082 2006-09-03 13:34:00 +00:00
vimboss 53a436e564 updated for version 7.0-081 2006-09-02 15:54:18 +00:00
vimboss d8e87a192d updated for version 7.0-080 2006-09-02 14:32:22 +00:00
vimboss c71d8cc85f updated for version 7.0-079 2006-09-02 12:50:52 +00:00
vimboss 35646ec32d updated for version 7.0-078 2006-09-02 12:04:57 +00:00
vimboss d1e020d2c3 updated for version 7.0-077 2006-09-02 11:41:07 +00:00
vimboss d945f54db5 updated for version 7.0-076 2006-08-29 20:31:34 +00:00
vimboss 8921c1b975 updated for version 7.0-075 2006-08-29 19:55:53 +00:00
vimboss 1783105012 updated for version 7.0-074 2006-08-29 19:26:50 +00:00
vimboss 50ada34de1 updated for version 7.0-073 2006-08-29 16:33:06 +00:00
vimboss 503f0dc923 updated for version 7.0-072 2006-08-29 16:13:22 +00:00
vimboss 4508032489 updated for version 7.0-071 2006-08-29 15:58:12 +00:00
vimboss e448ca81c6 updated for version 7.0-070 2006-08-29 15:30:07 +00:00
vimboss ef14548621 updated for version 7.0-069 2006-08-29 14:48:14 +00:00
vimboss bf6132088b updated for version 7.0-068 2006-08-29 14:30:35 +00:00
vimboss 7064ba6b37 updated for version 7.0-067 2006-08-29 14:07:36 +00:00
vimboss 3593c48199 updated for version 7.0-066 2006-08-22 19:48:48 +00:00
vimboss 510112e465 updated for version 7.0-065 2006-08-22 19:36:17 +00:00
vimboss 3acc89c6a3 updated for version 7.0-064 2006-08-22 17:55:55 +00:00
vimboss 0c73fc97f4 updated for version 7.0-063 2006-08-16 20:02:22 +00:00
vimboss d760520b6a updated for version 7.0-062 2006-08-16 19:41:08 +00:00
vimboss 2d9808f1fd updated for version 7.0-061 2006-08-16 19:24:22 +00:00
vimboss a0ecec7ee9 updated for version 7.0-060 2006-08-16 17:35:00 +00:00
vimboss 4c05bc8e07 updated for version 7.0-059 2006-08-16 16:17:39 +00:00
vimboss 03eb5443a9 updated for version 7.0-058 2006-08-16 16:03:34 +00:00
vimboss 32cb9810a3 updated for version 7.0-057 2006-08-16 15:34:57 +00:00
vimboss 903a8e0aa1 updated for version 7.0-056 2006-08-16 15:04:21 +00:00
vimboss b176744b2e updated for version 7.0-055 2006-08-16 14:23:04 +00:00
vimboss 61528f6a8d updated for version 7.0-054 2006-08-16 13:55:16 +00:00
vimboss 1feda6a6b9 updated for version 7.0-053 2006-08-15 20:24:14 +00:00
vimboss eb8fe63815 updated for version 7.0-052 2006-08-15 19:40:35 +00:00
vimboss 20f07bc817 updated for version 7.0-051 2006-08-11 20:55:20 +00:00
vimboss 99e24da468 updated for version 7.0-050 2006-08-08 19:34:19 +00:00
vimboss aea2ed07cb updated for version 7.0-049 2006-08-08 18:54:11 +00:00
vimboss 626e308abc updated for version 7.0-048 2006-08-08 17:53:03 +00:00
vimboss 15b6cb0620 updated for version 7.0-047 2006-08-08 17:08:52 +00:00
vimboss b45cb31563 updated for version 7.0-046 2006-08-08 16:07:03 +00:00
vimboss 3993d8b30b updated for version 7.0-045 2006-08-08 15:04:31 +00:00
vimboss d43a4ef3a1 updated for version 7.0-044 2006-08-08 14:45:44 +00:00
vimboss 4bc9f373da updated for version 7.0-043 2006-08-08 14:29:16 +00:00
vimboss fad19a1e26 updated for version 7.0-042 2006-07-23 20:37:09 +00:00
vimboss af8eee581d updated for version 7.0-041 2006-07-23 20:12:24 +00:00
vimboss 2d7305f909 updated for version 7.0-040 2006-07-23 19:51:57 +00:00
vimboss ef3668d1bd updated for version 7.0-039 2006-07-13 06:31:00 +00:00
vimboss 5f4f478ed1 updated for version 7.0-038 2006-07-12 19:49:41 +00:00
vimboss fb6a4e0a93 updated for version 7.0-037 2006-07-11 21:01:01 +00:00
vimboss 699f63cdaf updated for version 7.0-036 2006-07-11 20:36:45 +00:00
vimboss 9e140a76d5 updated for version 7.0-035 2006-06-23 19:36:29 +00:00
vimboss 1488a1991b updated for version 7.0-034 2006-06-23 15:59:09 +00:00
vimboss 34b4f98044 updated for version 7.0-033 2006-06-23 15:25:34 +00:00
vimboss 8ecc6d1181 updated for version 7.0-032 2006-06-23 14:44:06 +00:00
vimboss 81e4e2db51 updated for version 7.0-031 2006-06-23 14:33:23 +00:00
vimboss c2db5b9e12 updated for version 7.0-030 2006-06-22 19:15:58 +00:00
vimboss de936a15d3 updated for version 7.0-029 2006-06-22 19:01:34 +00:00
vimboss e379dfb744 updated for version 7.0-028 2006-06-22 17:47:10 +00:00
vimboss 448da41ee9 updated for version 7.0-027 2006-06-22 17:34:26 +00:00
vimboss 5321c8c89f updated for version 7.0-026 2006-06-22 16:19:31 +00:00
vimboss 0864ea9653 updated for version 7.0-025 2006-06-22 16:03:05 +00:00
vimboss a462a4dfaf updated for version 7.0-024 2006-06-22 15:35:14 +00:00
vimboss a70816e545 updated for version 7.0-023 2006-06-22 15:13:21 +00:00
vimboss 737970b47a updated for version 7.0-022 2006-06-20 19:10:43 +00:00
vimboss 4853b802e7 updated for version 7.0-021 2006-06-20 18:49:32 +00:00
vimboss 35161781b0 updated for version 7.0-020 2006-06-20 18:39:51 +00:00
vimboss 9b094eb108 updated for version 7.0-019 2006-06-20 18:29:34 +00:00
vimboss 208e064d83 updated for version 7.0-018 2006-06-20 16:51:47 +00:00
vimboss e8e74d840e updated for version 7.0-017 2006-05-13 15:22:39 +00:00
vimboss 24a766349b updated for version 7.0-016 2006-05-13 15:06:23 +00:00
vimboss ea8325c4c3 updated for version 7.0-015 2006-05-13 13:51:38 +00:00
vimboss 29d280905c updated for version 7.0-014 2006-05-13 13:41:03 +00:00
vimboss 1a27959c9a updated for version 7.0-013 2006-05-13 13:24:33 +00:00
vimboss c32d09bedf updated for version 7.0-012 2006-05-13 12:48:30 +00:00
vimboss 41f3e837e4 updated for version 7.0-011 2006-05-13 12:37:50 +00:00
vimboss 10f32ad022 updated for version 7.0-010 2006-05-13 12:25:55 +00:00
vimboss 850f195880 updated for version 7.0-009 2006-05-13 12:09:24 +00:00
vimboss 85d61a0656 updated for version 7.0-008 2006-05-13 11:33:27 +00:00
vimboss fba74d947e updated for version 7.0-007 2006-05-13 11:09:22 +00:00
vimboss f18ca5877d updated for version 7.0-006 2006-05-13 10:55:25 +00:00
vimboss f7dc53fb73 updated for version 7.0-005 2006-05-13 10:44:07 +00:00
vimboss e5ceef81d8 updated for version 7.0-004 2006-05-13 10:32:52 +00:00
vimboss 7057ee29a9 updated for version 7.0-003 2006-05-13 10:11:39 +00:00
vimboss fbb76b5be9 updated for version 7.0-002 2006-05-13 09:09:15 +00:00
vimboss 2d9cda8c54 updated for version 7.0-001 2006-05-09 16:15:42 +00:00
vimboss c498fb2376 updated for version 7.0 2006-05-07 15:16:06 +00:00
vimboss 3b53cf6654 updated for version 7.0g05 2006-05-06 21:47:30 +00:00
vimboss a32f897499 updated for version 7.0g05 2006-05-06 21:44:30 +00:00
vimboss 1d1bf9d262 updated for version 7.0g05 2006-05-06 21:40:45 +00:00
vimboss f5d802cdd6 updated for version 7.0g05 2006-05-06 21:38:18 +00:00
vimboss 5d8bea3cb6 updated for version 7.0g04 2006-05-05 21:18:03 +00:00
vimboss ab867c3e9e updated for version 7.0g04 2006-05-05 21:16:59 +00:00
vimboss af12ff49b8 updated for version 7.0g04 2006-05-05 21:15:17 +00:00
vimboss 4387278b94 updated for version 7.0g04 2006-05-05 21:09:41 +00:00
vimboss 32ebf73a32 updated for version 7.0g03 2006-05-04 21:57:11 +00:00
vimboss ec0517cd1c updated for version 7.0g03 2006-05-04 21:54:08 +00:00
vimboss 69078aa337 updated for version 7.0g03 2006-05-04 21:49:10 +00:00
vimboss 9850988784 updated for version 7.0g03 2006-05-04 21:47:50 +00:00
vimboss 6162683e16 updated for version 7.0g02 2006-05-03 21:29:58 +00:00
vimboss 75e458604d updated for version 7.0g02 2006-05-03 21:28:47 +00:00
vimboss 88d1ba7a31 updated for version 7.0g02 2006-05-03 21:26:49 +00:00
vimboss 6ecb651849 updated for version 7.0g01 2006-05-02 22:09:31 +00:00
vimboss 938b339827 updated for version 7.0g01 2006-05-02 22:08:30 +00:00
vimboss c7c94432ed updated for version 7.0g 2006-04-30 18:54:39 +00:00
vimboss 9822bf3d0a updated for version 7.0f05 2006-04-29 22:03:41 +00:00
vimboss 4ddf75c2ba updated for version 7.0f05 2006-04-29 22:02:36 +00:00
vimboss 53b01bc4a9 updated for version 7.0f05 2006-04-29 22:01:03 +00:00
vimboss 27ea3b7a1f updated for version 7.0f05 2006-04-29 21:55:22 +00:00
vimboss 9714d5976d updated for version 7.0f04 2006-04-28 22:41:43 +00:00
vimboss b679ad903d updated for version 7.0f04 2006-04-28 22:39:47 +00:00
vimboss d7db9a38a0 updated for version 7.0f04 2006-04-28 22:38:25 +00:00
vimboss 50a907c5c1 updated for version 7.0f04 2006-04-28 22:34:45 +00:00
vimboss 61e7ed156e updated for version 7.0f04 2006-04-28 22:32:28 +00:00
vimboss 1487401650 updated for version 7.0f03 2006-04-27 21:47:44 +00:00
vimboss a7081a05c4 updated for version 7.0f03 2006-04-27 21:40:34 +00:00
vimboss 2372438f62 updated for version 7.0f02 2006-04-27 00:02:13 +00:00
vimboss 2d1be1e482 updated for version 7.0f01 2006-04-25 22:13:59 +00:00
vimboss 0a913bdf15 updated for version 7.0f 2006-04-24 19:47:27 +00:00
vimboss 0f64520f5a updated for version 7.0e07 2006-04-23 22:40:29 +00:00
vimboss 1d32e8698a updated for version 7.0e06 2006-04-22 22:33:57 +00:00
vimboss 08257551fc updated for version 7.0e05 2006-04-21 22:12:41 +00:00
vimboss 5723a0e153 updated for version 7.0e04 2006-04-20 22:17:20 +00:00
vimboss a964e97586 updated for version 7.0e03 2006-04-19 21:23:36 +00:00
vimboss a724a19897 updated for version 7.0e02 2006-04-18 21:55:01 +00:00
vimboss 6660b6ef2d updated for version 7.0e01 2006-04-17 22:14:47 +00:00
vimboss 767c397304 updated for version 7.0e 2006-04-16 18:30:08 +00:00
vimboss 3499745502 updated for version 7.0d05 2006-04-15 20:28:54 +00:00
vimboss ad2aa3a054 updated for version 7.0d05 2006-04-15 20:27:24 +00:00
vimboss 25298151ac updated for version 7.0d05 2006-04-15 20:25:09 +00:00
vimboss 4f3fef47ba updated for version 7.0d05 2006-04-15 20:16:09 +00:00
vimboss 9b69221ad1 updated for version 7.0d04 2006-04-14 20:42:25 +00:00
vimboss e97e4d0b5a updated for version 7.0d03 2006-04-13 20:37:35 +00:00
vimboss 27f68e676c updated for version 7.0d02 2006-04-12 21:52:12 +00:00
vimboss 8afc632460 updated for version 7.0d01 2006-04-11 21:38:50 +00:00
vimboss 634f7d7ab1 updated for version 7.0d 2006-04-10 14:55:34 +00:00
vimboss a772c1db67 updated for version 7.0c13 2006-04-09 21:54:49 +00:00
vimboss 3427456f3d updated for version 7.0c12 2006-04-07 21:40:07 +00:00
vimboss ed038ea07d updated for version 7.0c12 2006-04-07 21:33:12 +00:00
vimboss e344975f94 updated for version 7.0c11 2006-04-06 20:21:51 +00:00
vimboss bd84174adc updated for version 7.0c11 2006-04-06 20:18:50 +00:00
vimboss 9f43c236b9 updated for version 7.0c10 2006-04-05 20:41:53 +00:00
vimboss 7dd92ca62c updated for version 7.0c03 2006-03-29 21:18:24 +00:00
vimboss 84df6f4731 updated for version 7.0c03 2006-03-29 21:06:37 +00:00
vimboss 318148da99 updated for version 7.0c02 2006-03-28 21:08:56 +00:00
vimboss 632759e106 updated for version 7.0c02 2006-03-28 20:57:42 +00:00
vimboss 4863ac137d updated for version 7.0c01 2006-03-27 21:03:26 +00:00
vimboss 5948cdf77a updated for version 7.0c01 2006-03-27 20:59:33 +00:00
vimboss 38744728bb updated for version 7.0c01 2006-03-27 20:58:26 +00:00
vimboss 3e4ef3b9ff updated for version 7.0c01 2006-03-27 20:55:21 +00:00
vimboss 66437cab97 updated for version 7.0c 2006-03-27 17:01:56 +00:00
vimboss e2f1a58736 updated for version 7.0b02 2006-03-26 21:06:50 +00:00
vimboss 880338a5e0 updated for version 7.0b01 2006-03-25 22:06:54 +00:00
vimboss fd3b49a941 updated for version 7.0b01 2006-03-25 22:05:04 +00:00
vimboss 73de7d58b0 updated for version 7.0b01 2006-03-25 22:02:07 +00:00
vimboss b98e0b1e7d updated for version 7.0b01 2006-03-25 21:59:56 +00:00
vimboss eb9d90364e updated for version 7.0b01 2006-03-25 21:55:52 +00:00
vimboss 9b1fe90fad updated for version 7.0b01 2006-03-25 21:52:34 +00:00
vimboss 1c32d6451b updated for version 7.0b01 2006-03-25 21:48:58 +00:00
vimboss eb9fd9fe42 updated for version 7.0b01 2006-03-25 21:46:12 +00:00
vimboss 16d8075db8 updated for version 7.0b 2006-03-24 22:46:53 +00:00
vimboss 5728c49d66 updated for version 7.0b 2006-03-24 22:21:52 +00:00
vimboss 1b9fd320b0 updated for version 7.0232 2006-03-23 22:59:57 +00:00
vimboss 4dbdfbd0cb updated for version 7.0232 2006-03-23 22:47:08 +00:00
vimboss 48af61ef3d updated for version 7.0232 2006-03-23 22:44:10 +00:00
vimboss dcb58cc10c updated for version 7.0231 2006-03-21 21:33:03 +00:00
vimboss ad92fa0e91 updated for version 7.0231 2006-03-21 21:29:36 +00:00
vimboss 64d741957f updated for version 7.0231 2006-03-21 21:23:25 +00:00
vimboss b36a6cac11 updated for version 7.0231 2006-03-21 21:20:39 +00:00
vimboss bbb8347e17 updated for version 7.0230 2006-03-20 21:59:49 +00:00
vimboss e105919f5d updated for version 7.0230 2006-03-20 21:55:45 +00:00
vimboss 87e29d0191 updated for version 7.0230 2006-03-20 21:50:15 +00:00
vimboss 33fd289021 updated for version 7.0230 2006-03-20 21:47:49 +00:00
vimboss d0dff0b92d updated for version 7.0229 2006-03-19 22:18:55 +00:00
vimboss 6d0ebed3e6 updated for version 7.0229 2006-03-19 22:15:26 +00:00
vimboss 95962ae533 updated for version 7.0229 2006-03-19 22:11:16 +00:00
vimboss d582425684 updated for version 7.0229 2006-03-19 22:08:37 +00:00
vimboss e87ef87352 updated for version 7.0228 2006-03-18 21:42:09 +00:00
vimboss 905615df73 updated for version 7.0228 2006-03-18 21:40:56 +00:00
vimboss 0fa22b2d47 updated for version 7.0228 2006-03-18 21:33:02 +00:00
vimboss 899c548e82 updated for version 7.0228 2006-03-18 21:31:46 +00:00
vimboss e821927e1b updated for version 7.0228 2006-03-18 21:30:13 +00:00
vimboss 74169f945b updated for version 7.0227 2006-03-17 23:21:19 +00:00
vimboss 04fc68a143 updated for version 7.0227 2006-03-17 23:19:38 +00:00
vimboss 0f9f226382 updated for version 7.0227 2006-03-17 23:12:21 +00:00
vimboss af195ff6bd updated for version 7.0227 2006-03-17 23:10:44 +00:00
vimboss e54eeb9e81 updated for version 7.0226 2006-03-16 21:46:52 +00:00
vimboss 51fdb4b99b updated for version 7.0226 2006-03-16 21:43:34 +00:00
vimboss 3bb6fcb20d updated for version 7.0226 2006-03-16 21:41:35 +00:00
vimboss c652aea537 updated for version 7.0226 2006-03-16 21:35:52 +00:00
vimboss 4f109ac90d updated for version 7.0225 2006-03-15 23:07:59 +00:00
vimboss 5981ea15b3 updated for version 7.0225 2006-03-15 23:06:44 +00:00
vimboss fe892ddf3c updated for version 7.0225 2006-03-15 23:04:43 +00:00
vimboss 8b2a55267a updated for version 7.0225 2006-03-15 23:03:01 +00:00
vimboss a3dc7de54b updated for version 7.0225 2006-03-15 22:59:18 +00:00
vimboss 74d39e6711 updated for version 7.0225 2006-03-15 22:53:57 +00:00
vimboss 3de53eb0cc updated for version 7.0225 2006-03-15 22:50:30 +00:00
vimboss 80f27ebe8d updated for version 7.0225 2006-03-15 22:48:35 +00:00
vimboss eb1c560a56 updated for version 7.0224 2006-03-14 23:08:30 +00:00
vimboss 85f796e984 updated for version 7.0224 2006-03-14 23:07:19 +00:00
vimboss 922f54377f updated for version 7.0224 2006-03-14 23:04:27 +00:00
vimboss 3a1088f130 updated for version 7.0224 2006-03-14 23:02:02 +00:00
vimboss bca3131758 updated for version 7.0224 2006-03-14 23:00:46 +00:00
vimboss 90eb26272b updated for version 7.0224 2006-03-14 22:55:34 +00:00
vimboss f6e6d5571b updated for version 7.0224 2006-03-14 22:53:34 +00:00
vimboss 18152ef1d0 updated for version 7.0224 2006-03-14 22:51:38 +00:00
vimboss f0d8f49f3d updated for version 7.0223 2006-03-13 22:18:45 +00:00
vimboss 8d173c6d39 updated for version 7.0223 2006-03-13 22:15:53 +00:00
vimboss 694c87e313 updated for version 7.0223 2006-03-13 22:10:45 +00:00
vimboss d2888af570 updated for version 7.0223 2006-03-13 22:08:57 +00:00
vimboss bf0f941856 updated for version 7.0223 2006-03-13 22:07:11 +00:00
vimboss 5b4ae62324 updated for version 7.0222 2006-03-12 22:19:04 +00:00
vimboss 9cbaa829a4 updated for version 7.0222 2006-03-12 22:18:00 +00:00
vimboss 6c220d053c updated for version 7.0222 2006-03-12 22:13:45 +00:00
vimboss 8e9e52b62d updated for version 7.0222 2006-03-12 22:11:10 +00:00
vimboss 488915bf47 updated for version 7.0222 2006-03-12 22:10:07 +00:00
vimboss f75e6b3d64 updated for version 7.0222 2006-03-12 22:08:12 +00:00
vimboss 7a9ffd94d1 updated for version 7.0222 2006-03-12 22:05:10 +00:00
vimboss 35c73b0a3a updated for version 7.0222 2006-03-12 22:00:48 +00:00
vimboss ba9a982b6d updated for version 7.0222 2006-03-12 21:58:43 +00:00
vimboss 04df333bc8 updated for version 7.0222 2006-03-12 21:56:11 +00:00
vimboss 259b78de79 updated for version 7.0222 2006-03-12 21:53:56 +00:00
vimboss 6e979b77ff updated for version 7.0222 2006-03-12 21:52:47 +00:00
vimboss e928d572a3 updated for version 7.0222 2006-03-12 21:50:18 +00:00
vimboss f1d8d4f13a updated for version 7.0221 2006-03-11 21:38:31 +00:00
vimboss 308fc078f9 updated for version 7.0221 2006-03-11 21:36:59 +00:00
vimboss 4456ceb64a updated for version 7.0221 2006-03-11 21:35:11 +00:00
vimboss 47b7fb050e updated for version 7.0221 2006-03-11 21:32:59 +00:00
vimboss dafe541679 updated for version 7.0221 2006-03-11 21:30:53 +00:00
vimboss 368c2ce6fc updated for version 7.0221 2006-03-11 21:29:41 +00:00
vimboss ae600a198f updated for version 7.0221 2006-03-11 21:27:59 +00:00
vimboss ee11cb8a4a updated for version 7.0221 2006-03-11 21:24:08 +00:00
vimboss 0f0301c90a updated for version 7.0221 2006-03-11 21:22:53 +00:00
vimboss eaae20d3f2 updated for version 7.0221 2006-03-11 21:18:15 +00:00
vimboss c932effe94 updated for version 7.0221 2006-03-11 21:16:47 +00:00
vimboss 6173b52047 updated for version 7.0220 2006-03-10 21:46:58 +00:00
vimboss 37faef8a17 updated for version 7.0220 2006-03-10 21:42:59 +00:00
vimboss 0e43079c42 updated for version 7.0220 2006-03-10 21:37:46 +00:00
vimboss 8f81a80187 updated for version 7.0220 2006-03-10 21:35:45 +00:00
vimboss cbd96e75ac updated for version 7.0220 2006-03-10 21:34:27 +00:00
vimboss bedcefa3bd updated for version 7.0219 2006-03-09 22:37:52 +00:00
vimboss b40abb4b0c updated for version 7.0219 2006-03-09 22:32:39 +00:00
vimboss f3d6859585 updated for version 7.0219 2006-03-09 22:27:48 +00:00
vimboss ae41e146d6 updated for version 7.0218 2006-03-08 21:32:40 +00:00
vimboss d8287a9d9f updated for version 7.0217 2006-03-07 22:38:47 +00:00
vimboss 104ed24b07 updated for version 7.0217 2006-03-07 22:29:51 +00:00
vimboss 852a687748 updated for version 7.0216 2006-03-06 23:29:24 +00:00
vimboss bc19437d12 updated for version 7.0214 2006-03-04 21:58:33 +00:00
vimboss 463f5483d1 updated for version 7.0214 2006-03-04 21:55:31 +00:00
vimboss f001d96694 updated for version 7.0214 2006-03-04 21:49:37 +00:00
vimboss 4f71de9bcf updated for version 7.0214 2006-03-04 21:46:13 +00:00
vimboss a51079b36b updated for version 7.0213 2006-03-03 23:00:03 +00:00
vimboss 92ca4dc3ca updated for version 7.0213 2006-03-03 22:58:45 +00:00
vimboss abea221158 updated for version 7.0213 2006-03-03 22:56:30 +00:00
vimboss 050845c659 updated for version 7.0213 2006-03-03 22:50:42 +00:00
vimboss 88330bde9e updated for version 7.0212 2006-03-02 22:52:09 +00:00
vimboss de9cd646b8 updated for version 7.0212 2006-03-02 22:51:05 +00:00
vimboss 60435ea65b updated for version 7.0212 2006-03-02 22:49:12 +00:00
vimboss e532bb58ed updated for version 7.0212 2006-03-02 22:43:39 +00:00
vimboss cb220b5bf2 updated for version 7.0212 2006-03-02 22:40:52 +00:00
vimboss 6a72622ee0 updated for version 7.0211 2006-03-01 22:12:31 +00:00
vimboss 1155d2f291 updated for version 7.0211 2006-03-01 22:09:21 +00:00
vimboss 55eea31b2d updated for version 7.0211 2006-03-01 22:01:55 +00:00
vimboss 3873394168 updated for version 7.0210 2006-03-01 00:01:28 +00:00
vimboss 52185b636c updated for version 7.0210 2006-02-28 23:52:23 +00:00
vimboss 56054d0197 updated for version 7.0210 2006-02-28 23:50:17 +00:00
vimboss 9c167300b4 updated for version 7.0209 2006-02-27 23:58:35 +00:00
vimboss 3504aa24b3 updated for version 7.0208 2006-02-27 00:11:10 +00:00
vimboss 2e8864ae55 updated for version 7.0208 2006-02-27 00:08:02 +00:00
vimboss 645c3a07af updated for version 7.0208 2006-02-27 00:00:52 +00:00
vimboss a030d8b3cf updated for version 7.0208 2006-02-26 23:59:20 +00:00
vimboss 69aa32005f updated for version 7.0207 2006-02-25 21:55:24 +00:00
vimboss 2a28b8157c updated for version 7.0207 2006-02-25 21:52:33 +00:00
vimboss 87af0d09cd updated for version 7.0207 2006-02-25 21:47:41 +00:00
vimboss 8d3d63c448 updated for version 7.0207 2006-02-25 21:45:02 +00:00
vimboss 9de9ee3c38 updated for version 7.0206 2006-02-24 23:53:04 +00:00
vimboss d0702ed0d2 updated for version 7.0205 2006-02-23 21:34:44 +00:00
vimboss dc8350daad updated for version 7.0205 2006-02-23 21:32:16 +00:00
vimboss 9d3239931c updated for version 7.0205 2006-02-23 21:26:58 +00:00
vimboss a0e6e3a6c4 updated for version 7.0204 2006-02-22 21:25:37 +00:00
vimboss ee98f8cb48 updated for version 7.0203 2006-02-21 22:12:05 +00:00
vimboss 52daaf0109 updated for version 7.0203 2006-02-21 22:04:51 +00:00
vimboss 85eeafb3ce updated for version 7.0203 2006-02-21 22:02:53 +00:00
vimboss ca3326f113 updated for version 7.0202 2006-02-20 21:37:40 +00:00
vimboss 711991ec7c updated for version 7.0202 2006-02-20 21:28:49 +00:00
vimboss 984d4c9589 updated for version 7.0202 2006-02-20 21:27:21 +00:00
vimboss a53ba0a6ae updated for version 7.0201 2006-02-18 22:14:51 +00:00
vimboss 5ceda50b55 updated for version 7.0200 2006-02-17 21:53:23 +00:00
vimboss b38a017c1a updated for version 7.0200 2006-02-17 21:45:41 +00:00
vimboss a402adb714 updated for version 7.0199 2006-02-16 22:11:02 +00:00
vimboss 9ae2207556 updated for version 7.0198 2006-02-15 22:18:42 +00:00
vimboss 9ff724b1f1 updated for version 7.0198 2006-02-15 22:12:56 +00:00
vimboss 0c62fae2a6 updated for version 7.0198 2006-02-15 22:11:25 +00:00
vimboss fe5ab21601 updated for version 7.0197 2006-02-14 22:29:30 +00:00
vimboss 5557a89fa4 updated for version 7.0196 2006-02-10 23:23:57 +00:00
vimboss 041a772cb9 updated for version 7.0196 2006-02-10 23:20:28 +00:00
vimboss 9fef80c409 updated for version 7.0196 2006-02-10 23:13:40 +00:00
vimboss 02de2e46dd updated for version 7.0196 2006-02-10 23:11:56 +00:00
vimboss 01830171be updated for version 7.0195 2006-02-09 23:54:54 +00:00
vimboss 98d60d4ef5 updated for version 7.0195 2006-02-09 23:53:20 +00:00
vimboss a2e01af9d4 updated for version 7.0195 2006-02-09 23:48:02 +00:00
vimboss 0cc0871e61 updated for version 7.0194 2006-02-08 09:20:24 +00:00
vimboss d30f543f5e updated for version 7.0193 2006-02-04 22:45:44 +00:00
vimboss 507cdfd713 updated for version 7.0193 2006-02-04 22:43:20 +00:00
vimboss d8399b19d2 updated for version 7.0193 2006-02-04 22:38:56 +00:00
vimboss 1243024951 updated for version 7.0193 2006-02-04 22:37:47 +00:00
vimboss 802d2eb771 updated for version 7.0192 2006-02-04 00:59:56 +00:00
vimboss a60d38bcfa updated for version 7.0192 2006-02-04 00:57:42 +00:00
vimboss 10d0ca133a updated for version 7.0192 2006-02-04 00:54:59 +00:00
vimboss b7ce93111a updated for version 7.0191 2006-02-01 21:56:25 +00:00
vimboss 10754adf98 updated for version 7.0191 2006-02-01 21:51:12 +00:00
vimboss 3872cb5f49 updated for version 7.0191 2006-02-01 21:47:16 +00:00
vimboss a8e400bdb1 updated for version 7.0189 2006-01-30 00:14:18 +00:00
vimboss f83d55c443 updated for version 7.0188 2006-01-26 22:25:15 +00:00
vimboss a92c72e088 updated for version 7.0188 2006-01-26 22:17:47 +00:00
vimboss e58218255e updated for version 7.0188 2006-01-26 22:16:34 +00:00
vimboss 7e5eff84e2 updated for version 7.0187 2006-01-25 22:10:52 +00:00
vimboss a103cda7af updated for version 7.0187 2006-01-25 22:02:51 +00:00
vimboss 9cf6f40cc4 updated for version 7.0186 2006-01-23 22:30:28 +00:00
vimboss 7260061d38 updated for version 7.0186 2006-01-23 22:23:09 +00:00
vimboss ddc2d64d91 updated for version 7.0185 2006-01-22 23:30:12 +00:00
vimboss ee741fb22a updated for version 7.0185 2006-01-22 23:25:56 +00:00
vimboss 67e8015b57 updated for version 7.0185 2006-01-22 23:22:22 +00:00
vimboss defe263bfe updated for version 7.0184 2006-01-21 22:16:51 +00:00
vimboss 05a443d5a4 updated for version 7.0184 2006-01-21 22:12:51 +00:00
vimboss 4104593f69 updated for version 7.0184 2006-01-21 22:09:43 +00:00
vimboss 612abeb222 updated for version 7.0183 2006-01-20 23:10:18 +00:00
vimboss 6668138185 updated for version 7.0183 2006-01-20 23:02:51 +00:00
vimboss af55b517a8 updated for version 7.0182 2006-01-19 22:16:24 +00:00
vimboss 9bd0739bf4 updated for version 7.0182 2006-01-19 22:09:32 +00:00
vimboss 5976528bbc updated for version 7.0181 2006-01-14 21:23:38 +00:00
vimboss 289c96db96 updated for version 7.0181 2006-01-14 21:20:41 +00:00
vimboss a1dd50dfd1 updated for version 7.0181 2006-01-14 21:18:42 +00:00
vimboss 64470a7171 updated for version 7.0181 2006-01-14 21:15:59 +00:00
vimboss d998a07829 updated for version 7.0180 2006-01-13 22:35:40 +00:00
vimboss 20ea828478 updated for version 7.0179 2006-01-12 23:22:24 +00:00
vimboss 5bc895018e updated for version 7.0178 2005-12-29 22:51:09 +00:00
vimboss dfa83b05f0 updated for version 7.0178 2005-12-29 22:48:26 +00:00
vimboss b5b9378e16 updated for version 7.0178 2005-12-29 22:45:34 +00:00
vimboss b5f491f79c updated for version 7.0178 2005-12-29 22:43:53 +00:00
vimboss 960b195915 updated for version 7.0177 2005-12-28 22:39:57 +00:00
vimboss 790e73412b updated for version 7.0176 2005-12-23 22:19:46 +00:00
vimboss 99570266c7 updated for version 7.0176 2005-12-23 22:16:03 +00:00
vimboss 90bfa3f446 updated for version 7.0176 2005-12-23 22:13:51 +00:00
vimboss 2e256916f5 updated for version 7.0176 2005-12-23 22:11:04 +00:00
vimboss 3561e701ac updated for version 7.0175 2005-12-22 22:47:02 +00:00
vimboss 2391518b08 updated for version 7.0174 2005-12-19 22:15:59 +00:00
vimboss d5c4787432 updated for version 7.0174 2005-12-19 22:14:58 +00:00
vimboss 6077dacf88 updated for version 7.0174 2005-12-19 22:08:24 +00:00
vimboss 421b200005 updated for version 7.0174 2005-12-19 22:06:56 +00:00
vimboss 5d84176ff2 updated for version 7.0173 2005-12-18 22:10:00 +00:00
vimboss bdd49afc51 updated for version 7.0173 2005-12-18 22:02:33 +00:00
vimboss e1a3f17d6d updated for version 7.0173 2005-12-18 21:59:16 +00:00
vimboss f783d77c56 updated for version 7.0172 2005-12-17 22:10:02 +00:00
vimboss 9fe7b859a6 updated for version 7.0172 2005-12-17 22:06:52 +00:00
vimboss d0fe77e4a4 updated for version 7.0172 2005-12-17 22:02:57 +00:00
vimboss f8d9e9be45 updated for version 7.0171 2005-12-16 21:55:46 +00:00
vimboss fde10f3c3d updated for version 7.0171 2005-12-16 21:53:56 +00:00
vimboss 80a265a83b updated for version 7.0171 2005-12-16 21:49:31 +00:00
vimboss d0ef63264c updated for version 7.0170 2005-12-14 22:08:35 +00:00
vimboss 48bce5c885 updated for version 7.0170 2005-12-14 22:04:43 +00:00
vimboss f7600e6004 updated for version 7.0170 2005-12-14 22:02:18 +00:00
vimboss a9790b1420 updated for version 7.0170 2005-12-14 21:59:55 +00:00
vimboss 25e99495f1 updated for version 7.0169 2005-12-13 20:09:08 +00:00
vimboss 479720bec8 updated for version 7.0169 2005-12-13 20:04:55 +00:00
vimboss 0471a03a9f updated for version 7.0169 2005-12-13 20:02:15 +00:00
vimboss d7c3aeea28 updated for version 7.0168 2005-12-12 22:05:50 +00:00
vimboss 49291d40f2 updated for version 7.0168 2005-12-12 22:02:31 +00:00
vimboss 1132e3ef91 updated for version 7.0168 2005-12-12 21:58:40 +00:00
vimboss d15595b953 updated for version 7.0167 2005-12-11 21:36:39 +00:00
vimboss 87cca2d5f2 updated for version 7.0167 2005-12-11 21:33:32 +00:00
vimboss 0828f5f7cb updated for version 7.0167 2005-12-11 21:29:51 +00:00
vimboss 8e419c02f2 updated for version 7.0167 2005-12-11 21:27:22 +00:00
vimboss 0b66a5442d updated for version 7.0166 2005-12-10 20:23:46 +00:00
vimboss 3f6fce8343 updated for version 7.0166 2005-12-10 20:19:46 +00:00
vimboss f431c968fc updated for version 7.0166 2005-12-10 20:17:30 +00:00
vimboss 3c3ff7d91a updated for version 7.0166 2005-12-10 20:15:02 +00:00
vimboss cf6e7bf7ad updated for version 7.0165 2005-12-08 22:05:05 +00:00
vimboss 2c8ac538cb updated for version 7.0165 2005-12-08 22:02:51 +00:00
vimboss bb246ded2f updated for version 7.0165 2005-12-08 22:00:22 +00:00
vimboss e09cbecb61 updated for version 7.0164 2005-12-07 21:07:59 +00:00
vimboss 8aefba6857 updated for version 7.0164 2005-12-07 21:04:31 +00:00
vimboss 7fdb53d0fd updated for version 7.0164 2005-12-07 20:59:24 +00:00
vimboss b7974ae5b6 updated for version 7.0164 2005-12-07 20:56:14 +00:00
vimboss 350d5237e0 updated for version 7.0164 2005-12-07 20:54:59 +00:00
vimboss e57b1047f2 updated for version 7.0163 2005-12-06 20:04:44 +00:00
vimboss 15d994a4ee updated for version 7.0163 2005-12-06 19:59:18 +00:00
vimboss 180d30ac20 updated for version 7.0163 2005-12-06 19:50:41 +00:00
vimboss ada9065b1f updated for version 7.0162 2005-12-02 00:50:49 +00:00
vimboss 2caa69c05e updated for version 7.0162 2005-12-02 00:46:37 +00:00
vimboss f943c7945d updated for version 7.0162 2005-12-02 00:44:04 +00:00
vimboss 97794c6698 updated for version 7.0161 2005-11-28 23:05:55 +00:00
vimboss f7e7f76470 updated for version 7.0161 2005-11-28 23:01:53 +00:00
vimboss 440a7fab56 updated for version 7.0161 2005-11-28 22:58:23 +00:00
vimboss ca4f046c52 updated for version 7.0161 2005-11-28 22:56:19 +00:00
vimboss 6157e61a40 updated for version 7.0160 2005-11-26 23:48:46 +00:00
vimboss 949d4d1e5a updated for version 7.0160 2005-11-26 23:46:11 +00:00
vimboss 1ac2f8fe25 updated for version 7.0160 2005-11-26 23:45:02 +00:00
vimboss b30e28e215 updated for version 7.0160 2005-11-26 23:42:09 +00:00
vimboss b97d391266 updated for version 7.0160 2005-11-26 23:40:59 +00:00
vimboss 5b7ed4d48d updated for version 7.0159 2005-11-25 19:58:47 +00:00
vimboss c58f280bfd updated for version 7.0159 2005-11-25 19:54:28 +00:00
vimboss e1103fbb34 updated for version 7.0159 2005-11-25 19:50:52 +00:00
vimboss 25162acccc updated for version 7.0158 2005-11-23 21:25:05 +00:00
vimboss 088332d9ea updated for version 7.0157 2005-10-12 21:01:44 +00:00
vimboss d44ee7316d updated for version 7.0157 2005-10-12 20:58:49 +00:00
vimboss 7848aaad0e updated for version 7.0157 2005-10-12 20:54:52 +00:00
vimboss 08a7eb1619 updated for version 7.0157 2005-10-12 20:52:20 +00:00
vimboss c0247c1fbb updated for version 7.0156 2005-10-11 20:34:58 +00:00
vimboss cfef781973 updated for version 7.0156 2005-10-11 20:32:28 +00:00
vimboss 102e00f389 updated for version 7.0156 2005-10-11 20:29:39 +00:00
vimboss 21c08d4cc5 updated for version 7.0155 2005-10-10 21:00:54 +00:00
vimboss d719150647 updated for version 7.0155 2005-10-10 20:59:28 +00:00
vimboss 425e8e6c4a updated for version 7.0154 2005-10-04 09:16:35 +00:00
vimboss 587fc2a643 updated for version 7.0154 2005-10-04 09:14:13 +00:00
vimboss 269de06e73 updated for version 7.0154 2005-10-04 09:12:31 +00:00
vimboss aad7d658e6 updated for version 7.0154 2005-10-04 09:08:17 +00:00
vimboss 05876b17e8 updated for version 7.0154 2005-10-04 09:06:09 +00:00
vimboss e4a87bae09 updated for version 7.0153 2005-10-03 22:05:45 +00:00
vimboss 9b8cfc874f updated for version 7.0153 2005-10-03 22:04:08 +00:00
vimboss 7e461dfaf2 updated for version 7.0153 2005-10-03 22:02:18 +00:00
vimboss df81eaed3b updated for version 7.0153 2005-10-03 21:52:09 +00:00
vimboss 78a442d417 updated for version 7.0152 2005-09-30 21:23:56 +00:00
vimboss f08b12544b updated for version 7.0152 2005-09-30 21:20:29 +00:00
vimboss dc7af9045a updated for version 7.0152 2005-09-30 21:15:37 +00:00
vimboss c5e10d4cf2 updated for version 7.0152 2005-09-30 21:12:02 +00:00
vimboss abd1a49096 updated for version 7.0151 2005-09-29 18:26:07 +00:00
vimboss 13adbf272b updated for version 7.0150 2005-09-25 22:20:24 +00:00
vimboss 59edb5bbf8 updated for version 7.0150 2005-09-25 22:16:38 +00:00
vimboss 6b898027fd updated for version 7.0149 2005-09-20 23:22:24 +00:00
vimboss 08c0b72476 updated for version 7.0148 2005-09-16 21:55:43 +00:00
vimboss 908898eed0 updated for version 7.0148 2005-09-16 21:47:57 +00:00
vimboss 3c40764276 updated for version 7.0147 2005-09-14 21:41:18 +00:00
vimboss ce4974c7d0 updated for version 7.0147 2005-09-14 21:40:12 +00:00
vimboss c8135e0e3f updated for version 7.0147 2005-09-14 21:33:59 +00:00
vimboss a877f2a1e3 updated for version 7.0147 2005-09-14 21:32:32 +00:00
vimboss ef9b7a7b6c updated for version 7.0146 2005-09-13 21:22:27 +00:00
vimboss 3e7321dc1b updated for version 7.0146 2005-09-13 21:20:47 +00:00
vimboss defe1daa65 updated for version 7.0146 2005-09-13 21:09:24 +00:00
vimboss d4b4f2d589 updated for version 7.0145 2005-09-10 19:26:26 +00:00
vimboss 7e125c7d33 updated for version 7.0145 2005-09-10 19:24:59 +00:00
vimboss 1466c4c62d updated for version 7.0145 2005-09-10 19:22:57 +00:00
vimboss 4307be7c27 updated for version 7.0145 2005-09-10 19:16:33 +00:00
vimboss 12adbb8bc9 updated for version 7.0144 2005-09-09 19:53:42 +00:00
vimboss d00579ef5b updated for version 7.0144 2005-09-09 19:52:02 +00:00
vimboss ccc7d8c4e7 updated for version 7.0144 2005-09-09 19:49:30 +00:00
vimboss 9fbe225681 updated for version 7.0144 2005-09-09 19:47:12 +00:00
vimboss 1e7cf01ea2 updated for version 7.0144 2005-09-09 19:44:31 +00:00
vimboss 7954681ab7 updated for version 7.0143 2005-09-07 21:22:27 +00:00
vimboss 87061c3480 updated for version 7.0143 2005-09-07 21:21:14 +00:00
vimboss 3ab4ac9a4d updated for version 7.0143 2005-09-07 21:18:43 +00:00
vimboss 36eb7b34a3 updated for version 7.0143 2005-09-07 21:15:32 +00:00
vimboss e688a91a81 updated for version 7.0143 2005-09-07 21:12:33 +00:00
vimboss f6be87e77a updated for version 7.0142 2005-09-06 19:25:11 +00:00
vimboss 2b7a88c216 updated for version 7.0142 2005-09-06 19:13:27 +00:00
vimboss 1f7bfc2edc updated for version 7.0141 2005-09-05 22:14:46 +00:00
vimboss 0e6e5a866d updated for version 7.0141 2005-09-05 22:11:52 +00:00
vimboss 3e56143161 updated for version 7.0141 2005-09-05 22:05:30 +00:00
vimboss 3d2cce349c updated for version 7.0140 2005-09-01 20:46:49 +00:00
vimboss 7d86ff7d5b updated for version 7.0139 2005-08-30 21:55:26 +00:00
vimboss ffac2d4e1c updated for version 7.0138 2005-08-29 22:25:38 +00:00
vimboss 5c1dd0a9b6 updated for version 7.0137 2005-08-25 21:27:31 +00:00
vimboss cb91e487cf updated for version 7.0137 2005-08-25 21:21:38 +00:00
vimboss 6c10873968 updated for version 7.0136 2005-08-24 22:16:11 +00:00
vimboss 36fa1d9f64 updated for version 7.0136 2005-08-24 22:09:56 +00:00
vimboss 0bf58a097a updated for version 7.0136 2005-08-24 22:08:48 +00:00
vimboss 6b632e457d updated for version 7.0135 2005-08-23 21:04:20 +00:00
vimboss 36ba64bb70 updated for version 7.0135 2005-08-23 21:02:42 +00:00
vimboss 64831f8355 updated for version 7.0135 2005-08-23 21:00:13 +00:00
vimboss 7ee3afaa9c updated for version 7.0134 2005-08-22 22:59:46 +00:00
vimboss 272fae4a17 updated for version 7.0134 2005-08-22 22:54:29 +00:00
vimboss d92ca41de7 updated for version 7.0133 2005-08-21 22:20:28 +00:00
vimboss 8fb3d49e3e updated for version 7.0133 2005-08-21 22:17:52 +00:00
vimboss 7d3bd12106 updated for version 7.0133 2005-08-21 22:14:09 +00:00
vimboss af3883332e updated for version 7.0133 2005-08-21 22:12:59 +00:00
vimboss dd011f0dea updated for version 7.0133 2005-08-21 22:08:24 +00:00
vimboss 3e924af90d updated for version 7.0132 2005-08-19 20:40:30 +00:00
vimboss 50cb55f4a0 updated for version 7.0132 2005-08-19 20:32:47 +00:00
vimboss e32590c6f4 updated for version 7.0131 2005-08-16 23:01:50 +00:00
vimboss 34bb2cc88a updated for version 7.0130 2005-08-15 21:41:48 +00:00
vimboss d3eb2f3af3 updated for version 7.0129 2005-08-12 19:59:19 +00:00
vimboss 7a190ec963 updated for version 7.0129 2005-08-12 19:48:49 +00:00
vimboss b8be391fbd updated for version 7.0128 2005-08-11 20:11:38 +00:00
vimboss 5efb30f584 updated for version 7.0128 2005-08-11 20:09:58 +00:00
vimboss 23d6103c30 updated for version 7.0128 2005-08-11 20:00:37 +00:00
vimboss 8138bf06af updated for version 7.0128 2005-08-11 19:59:29 +00:00
vimboss 5ce004d992 updated for version 7.0127 2005-08-10 21:07:57 +00:00
vimboss 52d43d147c updated for version 7.0126 2005-08-10 08:16:23 +00:00
vimboss 15d4c72195 updated for version 7.0126 2005-08-10 08:15:00 +00:00
vimboss f401a83ceb updated for version 7.0126 2005-08-10 07:57:38 +00:00
vimboss ca48cc063d updated for version 7.0126 2005-08-10 07:56:18 +00:00
vimboss 765d6961aa updated for version 7.0126 2005-08-10 07:51:35 +00:00
vimboss 006189f340 updated for version 7.0125 2005-08-08 22:06:28 +00:00
vimboss df0e170c88 updated for version 7.0125 2005-08-08 22:02:16 +00:00
vimboss 23aff8de20 updated for version 7.0125 2005-08-08 22:00:59 +00:00
vimboss b6fb549f7f updated for version 7.0125 2005-08-08 21:57:35 +00:00
vimboss 0436d3a7d4 updated for version 7.0124 2005-08-05 21:35:02 +00:00
vimboss b6df29bf46 updated for version 7.0124 2005-08-05 21:27:51 +00:00
vimboss c95adf1fa8 updated for version 7.0123 2005-08-04 21:32:22 +00:00
vimboss a8cf9e66da updated for version 7.0123 2005-08-04 21:29:45 +00:00
vimboss 8ccb0e6ae9 updated for version 7.0122 2005-08-01 22:02:32 +00:00
vimboss e0478e0103 updated for version 7.0122 2005-08-01 21:58:57 +00:00
vimboss 2fddbfb91e updated for version 7.0122 2005-08-01 21:54:37 +00:00
vimboss 92d1cee5fc updated for version 7.0122 2005-08-01 21:52:12 +00:00
vimboss 374edfa896 updated for version 7.0121 2005-08-01 07:19:10 +00:00
vimboss 0a8a5aae48 updated for version 7.0121 2005-08-01 07:08:33 +00:00
vimboss 055726a48a updated for version 7.0121 2005-08-01 07:04:56 +00:00
vimboss 9c8fd94869 updated for version 7.0120 2005-07-30 22:45:36 +00:00
vimboss 361ca135f0 updated for version 7.0120 2005-07-30 22:43:24 +00:00
vimboss 5fe8e1e1a7 updated for version 7.0120 2005-07-30 22:37:17 +00:00
vimboss dcde3209f5 updated for version 7.0120 2005-07-30 22:36:01 +00:00
vimboss 76f6d9a012 updated for version 7.0119 2005-07-29 22:36:03 +00:00
vimboss 4919e4a7b2 updated for version 7.0118 2005-07-28 22:36:45 +00:00
vimboss 8399d883a2 updated for version 7.0118 2005-07-28 22:28:16 +00:00
vimboss da0581fa73 updated for version 7.0117 2005-07-27 21:13:01 +00:00
vimboss 6990095e12 updated for version 7.0116 2005-07-25 20:46:57 +00:00
vimboss c210ff9c06 updated for version 7.0116 2005-07-25 20:42:36 +00:00
vimboss 04647acb79 updated for version 7.0115 2005-07-24 21:18:31 +00:00
vimboss 78bef146ce updated for version 7.0115 2005-07-24 21:16:51 +00:00
vimboss 0bd2a15a5c updated for version 7.0115 2005-07-24 21:09:41 +00:00
vimboss d15e237c7a updated for version 7.0114 2005-07-23 22:25:46 +00:00
vimboss b86bdc2df1 updated for version 7.0113 2005-07-22 21:54:43 +00:00
vimboss 0bf034848c updated for version 7.0113 2005-07-22 21:52:15 +00:00
vimboss c37b87c13d updated for version 7.0113 2005-07-22 21:46:50 +00:00
vimboss fc0c935433 updated for version 7.0112 2005-07-21 21:11:17 +00:00
vimboss 2935c24744 updated for version 7.0112 2005-07-21 21:08:21 +00:00
vimboss 7c164c7c04 updated for version 7.0112 2005-07-21 21:03:15 +00:00
vimboss 8c4755ef18 updated for version 7.0111 2005-07-20 22:06:07 +00:00
vimboss 6cce6686c4 updated for version 7.0111 2005-07-20 22:04:36 +00:00
vimboss 854479c360 updated for version 7.0111 2005-07-20 22:02:14 +00:00
vimboss 5039003993 updated for version 7.0111 2005-07-20 22:00:04 +00:00
vimboss 43cf541e3d updated for version 7.0111 2005-07-20 21:58:59 +00:00
vimboss 7d644ddd30 updated for version 7.0111 2005-07-20 21:57:28 +00:00
vimboss b498fea949 updated for version 7.0111 2005-07-20 21:56:21 +00:00
vimboss eae1179c69 updated for version 7.0111 2005-07-20 21:54:57 +00:00
vimboss 044b442f04 updated for version 7.0110 2005-07-19 22:22:13 +00:00
vimboss 8c2cf5e159 updated for version 7.0110 2005-07-19 22:21:12 +00:00
vimboss 9415e94172 updated for version 7.0110 2005-07-19 22:18:49 +00:00
vimboss cc9f303894 updated for version 7.0110 2005-07-19 22:17:30 +00:00
vimboss aea65769b9 updated for version 7.0110 2005-07-19 22:14:07 +00:00
vimboss 94fce75d51 updated for version 7.0110 2005-07-19 22:10:03 +00:00
vimboss c96ac21e60 updated for version 7.0109 2005-07-18 21:58:11 +00:00
vimboss 34d567905b updated for version 7.0109 2005-07-18 21:47:53 +00:00
vimboss cf5da46042 updated for version 7.0109 2005-07-18 21:43:02 +00:00
vimboss e0478043ed updated for version 7.0109 2005-07-18 21:40:44 +00:00
vimboss fc09854680 updated for version 7.0108 2005-07-12 22:50:18 +00:00
vimboss 9edc10c316 updated for version 7.0108 2005-07-12 22:46:17 +00:00
vimboss 2c9db52229 updated for version 7.0108 2005-07-12 22:42:41 +00:00
vimboss 72e26b83dd updated for version 7.0108 2005-07-12 22:40:29 +00:00
vimboss 7bb6c7eb89 updated for version 7.0107 2005-07-11 22:42:07 +00:00
vimboss 856325fa21 updated for version 7.0107 2005-07-11 22:40:32 +00:00
vimboss a81c8240a0 updated for version 7.0107 2005-07-11 22:29:03 +00:00
vimboss bc4055dab4 updated for version 7.0106 2005-07-09 21:14:46 +00:00
vimboss 968560c15b updated for version 7.0106 2005-07-09 21:08:57 +00:00
vimboss 8416334be5 updated for version 7.0106 2005-07-09 21:03:22 +00:00
vimboss ca311c3209 updated for version 7.0106 2005-07-09 20:58:57 +00:00
vimboss 5de4c83ea9 updated for version 7.0105 2005-07-08 22:31:03 +00:00
vimboss 7937ba23e6 updated for version 7.0105 2005-07-08 22:28:00 +00:00
vimboss b6972e4de2 updated for version 7.0105 2005-07-08 22:26:47 +00:00
vimboss c87c6987fe updated for version 7.0105 2005-07-08 22:25:33 +00:00
vimboss 23656f4c32 updated for version 7.0105 2005-07-08 22:21:38 +00:00
vimboss e102c05f5c updated for version 7.0105 2005-07-08 22:19:11 +00:00
vimboss e87c4690ad updated for version 7.0105 2005-07-08 22:17:29 +00:00
vimboss 1f2a334841 updated for version 7.0105 2005-07-08 22:14:37 +00:00
vimboss d6e91f15e6 updated for version 7.0104 2005-07-06 22:38:49 +00:00
vimboss c86689dd24 updated for version 7.0104 2005-07-06 22:35:45 +00:00
vimboss 2862e17369 updated for version 7.0104 2005-07-06 22:31:45 +00:00
vimboss a4ec5ffc4a updated for version 7.0104 2005-07-06 22:29:20 +00:00
vimboss dc5eb76172 updated for version 7.0104 2005-07-06 22:28:03 +00:00
vimboss 91f12e8128 updated for version 7.0103 2005-07-05 21:48:14 +00:00
vimboss e10ed0a1c8 updated for version 7.0103 2005-07-05 21:36:03 +00:00
vimboss 11f05c9e68 updated for version 7.0102 2005-07-04 22:49:24 +00:00
vimboss 0ae33fe218 updated for version 7.0101 2005-07-03 21:39:27 +00:00
vimboss f1ff1332ba updated for version 7.0100 2005-07-02 23:21:11 +00:00
vimboss 6f7a9beaad updated for version 7.0100 2005-07-02 23:19:16 +00:00
vimboss 5eb23aae24 updated for version 7.0100 2005-07-02 23:10:47 +00:00
vimboss b2591ae029 updated for version 7.0100 2005-07-02 23:09:03 +00:00
vimboss 38629f6b18 updated for version 7.0099 2005-07-01 22:41:52 +00:00
vimboss 380525c842 updated for version 7.0099 2005-07-01 22:38:32 +00:00
vimboss 7f19c866c3 updated for version 7.0099 2005-07-01 22:33:52 +00:00
vimboss ae293a368b updated for version 7.0099 2005-07-01 22:31:55 +00:00
vimboss 707a677a2c updated for version 7.0098 2005-06-30 22:06:41 +00:00
vimboss a87efd30ea updated for version 7.0098 2005-06-30 22:04:15 +00:00
vimboss 38236613d0 updated for version 7.0098 2005-06-30 21:56:01 +00:00
vimboss 19776ec98c updated for version 7.0098 2005-06-30 21:52:39 +00:00
vimboss 73d0981ae3 updated for version 7.0097 2005-06-29 22:40:58 +00:00
vimboss eedf97a68e updated for version 7.0096 2005-06-28 23:32:02 +00:00
vimboss 6fdb9b3a5a updated for version 7.0096 2005-06-28 23:24:33 +00:00
vimboss e07a4fe3f6 updated for version 7.0096 2005-06-28 23:23:32 +00:00
vimboss 61858083b8 updated for version 7.0095 2005-06-27 22:48:21 +00:00
vimboss 6d3448aa13 updated for version 7.0095 2005-06-27 22:42:44 +00:00
vimboss 315aba5f29 updated for version 7.0095 2005-06-27 22:37:13 +00:00
vimboss 9039bd7cd9 updated for version 7.0095 2005-06-27 22:34:07 +00:00
vimboss ff2cee918d updated for version 7.0095 2005-06-27 22:29:54 +00:00
vimboss 1822eea3c9 updated for version 7.0095 2005-06-27 22:27:46 +00:00
vimboss 77801303c2 updated for version 7.0095 2005-06-27 22:25:50 +00:00
vimboss e80a700fa9 updated for version 7.0094 2005-06-26 22:34:35 +00:00
vimboss 84f6ff558b updated for version 7.0094 2005-06-26 22:30:47 +00:00
vimboss 4912d0564e updated for version 7.0094 2005-06-26 22:29:44 +00:00
vimboss 6e8a990b49 updated for version 7.0094 2005-06-26 22:28:42 +00:00
vimboss 75f6e95784 updated for version 7.0094 2005-06-26 22:26:21 +00:00
vimboss d224af4928 updated for version 7.0093 2005-06-25 23:04:51 +00:00
vimboss 04311d76d5 updated for version 7.0093 2005-06-25 22:49:46 +00:00
vimboss 2ac16efdea updated for version 7.0092 2005-06-24 23:11:15 +00:00
vimboss ccd1ce1c9a updated for version 7.0092 2005-06-24 23:07:47 +00:00
vimboss 2c96db86b6 updated for version 7.0092 2005-06-24 23:01:23 +00:00
vimboss 2471ee2099 updated for version 7.0091 2005-06-23 22:39:27 +00:00
vimboss 815fb69f77 updated for version 7.0091 2005-06-23 22:36:45 +00:00
vimboss a23dd42da7 updated for version 7.0091 2005-06-23 22:31:01 +00:00
vimboss 0b9077f1e1 updated for version 7.0091 2005-06-23 22:29:21 +00:00
vimboss 172a95c36c updated for version 7.0091 2005-06-23 22:27:26 +00:00
vimboss a6f05cd0c9 updated for version 7.0090 2005-06-22 22:37:09 +00:00
vimboss 40daf332fe updated for version 7.0090 2005-06-22 22:35:10 +00:00
vimboss b6f35c7e81 updated for version 7.0090 2005-06-22 22:29:18 +00:00
vimboss 985e244a91 updated for version 7.0090 2005-06-22 22:26:26 +00:00
vimboss f12b516502 updated for version 7.0090 2005-06-22 22:25:07 +00:00
vimboss 2945d40981 updated for version 7.0089 2005-06-21 22:37:39 +00:00
vimboss 3702bbf24e updated for version 7.0088 2005-06-19 22:56:27 +00:00
vimboss 7a5d8ff615 updated for version 7.0088 2005-06-19 22:55:26 +00:00
vimboss 7a0b3672f4 updated for version 7.0088 2005-06-19 22:54:15 +00:00
vimboss a34dc7c064 updated for version 7.0088 2005-06-19 22:50:11 +00:00
vimboss 961600e3f2 updated for version 7.0088 2005-06-19 22:48:47 +00:00
vimboss f57aca4da4 updated for version 7.0087 2005-06-17 22:03:40 +00:00
vimboss 9f8e95eab4 updated for version 7.0087 2005-06-17 22:02:20 +00:00
vimboss 49ebab3861 updated for version 7.0087 2005-06-17 22:00:15 +00:00
vimboss 29732ffa6a updated for version 7.0087 2005-06-17 21:55:00 +00:00
vimboss 3c57c30315 updated for version 7.0087 2005-06-17 21:51:16 +00:00
vimboss a3bbbe506f updated for version 7.0086 2005-06-16 21:59:56 +00:00
vimboss c8f85a6d8d updated for version 7.0086 2005-06-16 21:53:56 +00:00
vimboss e56f4d6939 updated for version 7.0086 2005-06-16 21:52:47 +00:00
vimboss a7992a0e5f updated for version 7.0086 2005-06-16 21:51:00 +00:00
vimboss f1389f329d updated for version 7.0086 2005-06-16 21:47:53 +00:00
vimboss 02cf8bbd62 updated for version 7.0085 2005-06-14 22:13:23 +00:00
vimboss 91f153efd9 updated for version 7.0085 2005-06-14 22:11:18 +00:00
vimboss acb8cda2c2 updated for version 7.0085 2005-06-14 22:08:28 +00:00
vimboss 3d7a2518ce updated for version 7.0085 2005-06-14 22:05:40 +00:00
vimboss 20030358ed updated for version 7.0085 2005-06-14 22:01:04 +00:00
vimboss 00f9950fcc updated for version 7.0084 2005-06-13 22:28:56 +00:00
vimboss ca1096eee6 updated for version 7.0084 2005-06-13 22:12:09 +00:00
vimboss 843d314d07 updated for version 7.0083 2005-06-08 22:07:37 +00:00
vimboss 43644a6a24 updated for version 7.0083 2005-06-08 22:05:14 +00:00
vimboss 200ac0a279 updated for version 7.0083 2005-06-08 22:03:13 +00:00
vimboss 04764319d9 updated for version 7.0083 2005-06-08 22:00:03 +00:00
vimboss 69611dbb21 updated for version 7.0083 2005-06-08 21:57:32 +00:00
vimboss 1e319383d6 updated for version 7.0083 2005-06-08 21:56:31 +00:00
vimboss 4616acbc31 updated for version 7.0082 2005-06-07 21:12:49 +00:00
vimboss ab1ac69afb updated for version 7.0082 2005-06-07 21:09:25 +00:00
vimboss 5369748ad8 updated for version 7.0082 2005-06-07 21:04:49 +00:00
vimboss 5d5c45c193 updated for version 7.0082 2005-06-07 21:03:23 +00:00
vimboss 1fa0557ff4 updated for version 7.0082 2005-06-07 21:02:10 +00:00
vimboss 198cddd155 updated for version 7.0082 2005-06-07 21:00:02 +00:00
vimboss 4a02f7dba5 updated for version 7.0082 2005-06-07 20:58:01 +00:00
vimboss 103219e568 updated for version 7.0081 2005-06-06 21:59:07 +00:00
vimboss b7f7ab3c8b updated for version 7.0081 2005-06-06 21:50:35 +00:00
vimboss 99e20b06ef updated for version 7.0080 2005-06-05 22:06:27 +00:00
vimboss dad3725045 updated for version 7.0080 2005-06-05 22:05:00 +00:00
vimboss 12e92ec887 updated for version 7.0080 2005-06-05 22:03:17 +00:00
vimboss e7634ecf85 updated for version 7.0080 2005-06-05 22:01:26 +00:00
vimboss 6652d820d0 updated for version 7.0080 2005-06-05 21:54:54 +00:00
vimboss 856d05d6ed updated for version 7.0079 2005-06-04 22:06:24 +00:00
vimboss c5ba7d4e73 updated for version 7.0079 2005-06-04 21:55:20 +00:00
vimboss 1e8949a647 updated for version 7.0078 2005-06-01 21:57:40 +00:00
vimboss 30004f72f4 updated for version 7.0078 2005-06-01 21:56:33 +00:00
vimboss 23b7fb5eb3 updated for version 7.0078 2005-06-01 21:51:55 +00:00
vimboss 1cf7717c83 updated for version 7.0078 2005-06-01 21:46:07 +00:00
vimboss 320e8cb7d3 updated for version 7.0078 2005-06-01 21:44:32 +00:00
vimboss e747d8dacd updated for version 7.0077 2005-05-31 22:22:17 +00:00
vimboss da5e0ecabc updated for version 7.0077 2005-05-31 22:14:58 +00:00
vimboss c55ea69090 updated for version 7.0077 2005-05-31 22:09:46 +00:00
vimboss 977209eee9 updated for version 7.0077 2005-05-31 22:05:58 +00:00
vimboss 7bb5261c18 updated for version 7.0077 2005-05-31 22:02:19 +00:00
vimboss cc111948c3 updated for version 7.0076 2005-05-27 20:23:44 +00:00
vimboss a5b7550ea1 updated for version 7.0076 2005-05-27 20:18:59 +00:00
vimboss 179827afc8 updated for version 7.0076 2005-05-27 20:16:24 +00:00
vimboss d0ea49809f updated for version 7.0076 2005-05-27 20:14:58 +00:00
vimboss 65b428489f updated for version 7.0076 2005-05-27 20:13:12 +00:00
vimboss f34d871999 updated for version 7.0075 2005-05-22 22:12:58 +00:00
vimboss 75437e126a updated for version 7.0075 2005-05-22 22:09:40 +00:00
vimboss 47976e7e4f updated for version 7.0075 2005-05-22 22:07:59 +00:00
vimboss ccbbc0e704 updated for version 7.0075 2005-05-22 22:03:39 +00:00
vimboss 371de5d15d updated for version 7.0075 2005-05-22 22:02:25 +00:00
vimboss 579429471d updated for version 7.0074 2005-05-20 21:31:17 +00:00
vimboss 178cfb4f17 updated for version 7.0074 2005-05-20 21:27:20 +00:00
vimboss 150b782788 updated for version 7.0074 2005-05-20 21:25:31 +00:00
vimboss 416a978b18 updated for version 7.0074 2005-05-20 21:22:17 +00:00
vimboss e7824728f7 updated for version 7.0074 2005-05-20 21:19:57 +00:00
vimboss a869d0e75f updated for version 7.0073 2005-05-19 21:08:39 +00:00
vimboss 3177219fa4 updated for version 7.0073 2005-05-19 21:00:46 +00:00
vimboss 058c7215cf updated for version 7.0073 2005-05-19 20:53:52 +00:00
vimboss 8ce9c3b696 updated for version 7.0072 2005-05-18 22:24:46 +00:00
vimboss 3267f4221b updated for version 7.0072 2005-05-18 22:17:12 +00:00
vimboss 7e3adb191b updated for version 7.0072 2005-05-18 22:12:12 +00:00
vimboss 40653d08bd updated for version 7.0072 2005-05-18 22:10:28 +00:00
vimboss e7a7dfb881 updated for version 7.0072 2005-05-18 22:06:55 +00:00
vimboss cd63af4571 updated for version 7.0071 2005-04-24 22:09:56 +00:00
vimboss 5fa381b862 updated for version 7.0071 2005-04-24 22:08:39 +00:00
vimboss 9bf68eab82 updated for version 7.0071 2005-04-24 22:06:24 +00:00
vimboss af3097e3a9 updated for version 7.0071 2005-04-24 22:04:21 +00:00
vimboss d76577da29 updated for version 7.0071 2005-04-24 22:01:01 +00:00
vimboss 644209cdb6 updated for version 7.0071 2005-04-24 21:59:46 +00:00
vimboss 1d7c6ffc25 updated for version 7.0071 2005-04-24 21:58:05 +00:00
vimboss e29469f5c9 updated for version 7.0070 2005-04-23 20:53:25 +00:00
vimboss 9a96e055f4 updated for version 7.0070 2005-04-23 20:52:00 +00:00
vimboss d03bcf7fc8 updated for version 7.0070 2005-04-23 20:45:11 +00:00
vimboss 534a3a76e2 updated for version 7.0070 2005-04-23 20:43:58 +00:00
vimboss 1a7e025dd7 updated for version 7.0070 2005-04-23 20:42:23 +00:00
vimboss 8d219d268c updated for version 7.0069 2005-04-20 19:48:33 +00:00
vimboss e1b93f7bf0 updated for version 7.0069 2005-04-20 19:45:58 +00:00
vimboss 6c60dbe11b updated for version 7.0069 2005-04-20 19:43:36 +00:00
vimboss 5b2303c44e updated for version 7.0069 2005-04-20 19:40:37 +00:00
vimboss 93f4acfccf updated for version 7.0069 2005-04-20 19:38:58 +00:00
vimboss 93862c109d updated for version 7.0069 2005-04-20 19:37:22 +00:00
vimboss 6e17414567 updated for version 7.0068 2005-04-19 21:42:30 +00:00
vimboss bc43df5e45 updated for version 7.0068 2005-04-19 21:40:26 +00:00
vimboss 403149f6e9 updated for version 7.0068 2005-04-19 21:37:59 +00:00
vimboss eceac892b9 updated for version 7.0068 2005-04-19 21:35:02 +00:00
vimboss a4479d98f6 updated for version 7.0068 2005-04-19 21:33:11 +00:00
vimboss 2441886c6f updated for version 7.0068 2005-04-19 21:30:25 +00:00
vimboss e88fb375eb updated for version 7.0067 2005-04-17 20:28:32 +00:00
vimboss 6224948ceb updated for version 7.0067 2005-04-17 20:20:14 +00:00
vimboss 14a0d13250 updated for version 7.0067 2005-04-17 20:18:43 +00:00
vimboss a4d807bdd8 Set the binary flag 2005-04-17 15:24:23 +00:00
vimboss e1f19af090 Set the binary flag 2005-04-17 15:21:00 +00:00
vimboss 937a4c7497 updated for version 7.0066 2005-04-15 21:13:42 +00:00
vimboss de5b4ee2c2 updated for version 7.0066 2005-04-15 21:00:38 +00:00
vimboss 95f4a6c3a6 updated for version 7.0066 2005-04-15 20:41:38 +00:00
vimboss c8e835f24e updated for version 7.0065 2005-03-28 21:02:15 +00:00
vimboss 9879df94f1 updated for version 7.0065 2005-03-28 20:58:01 +00:00
vimboss 7661678f37 updated for version 7.0065 2005-03-28 20:49:18 +00:00
vimboss 414f8b9545 updated for version 7.0064 2005-03-25 21:58:17 +00:00
vimboss 5558bf2397 updated for version 7.0064 2005-03-25 21:53:48 +00:00
vimboss 51a0699f34 updated for version 7.0064 2005-03-25 21:45:43 +00:00
vimboss 7791c450c6 updated for version 7.0063 2005-03-22 23:06:55 +00:00
vimboss cc46f871d7 updated for version 7.0063 2005-03-22 23:03:44 +00:00
vimboss aff193805a updated for version 7.0063 2005-03-22 22:54:12 +00:00
vimboss adcc83cc72 updated for version 7.0063 2005-03-22 22:52:07 +00:00
vimboss d22a414209 updated for version 7.0062 2005-03-21 08:27:48 +00:00
vimboss ca6d1c6f34 updated for version 7.0062 2005-03-21 08:23:33 +00:00
vimboss bbc55b5b62 updated for version 7.0062 2005-03-20 22:40:14 +00:00
vimboss 51a6e810f6 updated for version 7.0062 2005-03-20 22:37:15 +00:00
vimboss 0570270204 updated for version 7.0062 2005-03-20 22:25:45 +00:00
vimboss bd840aa4bb updated for version 7.0062 2005-03-20 22:23:10 +00:00
vimboss e77447363d updated for version 7.0061 2005-03-18 20:30:32 +00:00
vimboss baa13adfbd updated for version 7.0061 2005-03-18 20:27:04 +00:00
vimboss dc2ffd3867 updated for version 7.0061 2005-03-18 20:25:31 +00:00
vimboss 49f3a0f7df updated for version 7.0061 2005-03-18 20:15:36 +00:00
vimboss d2970abcc1 updated for version 7.0060 2005-03-16 09:57:51 +00:00
vimboss 7f295ca38c updated for version 7.0060 2005-03-16 09:53:56 +00:00
vimboss 7b6318d4e5 updated for version 7.0060 2005-03-16 09:52:38 +00:00
vimboss 07c0df828e updated for version 7.0060 2005-03-16 09:50:44 +00:00
vimboss fb052ebc62 updated for version 7.0060 2005-03-16 09:48:18 +00:00
vimboss 4fbbf0e673 updated for version 7.0060 2005-03-16 09:47:09 +00:00
vimboss c32c0abe3a updated for version 7.0060 2005-03-15 22:50:43 +00:00
vimboss 4c972f6cd3 updated for version 7.0060 2005-03-15 22:48:14 +00:00
vimboss a2e2f1404e updated for version 7.0060 2005-03-15 22:46:30 +00:00
vimboss ea7b09fa72 updated for version 7.0060 2005-03-15 22:43:58 +00:00
vimboss 22ac7d8d7b updated for version 7.0060 2005-03-15 22:37:00 +00:00
vimboss 21fd6c172d updated for version 7.0060 2005-03-15 22:34:55 +00:00
vimboss 57f5d669ce updated for version 7.0060 2005-03-15 22:28:00 +00:00
vimboss 36fb7c4b5a updated for version 7.0059 2005-03-11 22:51:16 +00:00
vimboss eb0d0af3f8 updated for version 7.0059 2005-03-11 22:49:40 +00:00
vimboss a8942b33bb updated for version 7.0059 2005-03-11 22:46:48 +00:00
vimboss e8ee8940f6 updated for version 7.0059 2005-03-11 22:40:50 +00:00
vimboss 088e3f7c2c updated for version 7.0058 2005-03-08 22:46:26 +00:00
vimboss 02aad95a94 updated for version 7.0058 2005-03-08 22:43:10 +00:00
vimboss 4bf8ae2e72 updated for version 7.0058 2005-03-08 22:40:03 +00:00
vimboss bc89d1a7d0 updated for version 7.0058 2005-03-08 22:34:32 +00:00
vimboss c8a4bc42f5 updated for version 7.0058 2005-03-08 22:29:20 +00:00
vimboss 664ab7706e updated for version 7.0057 2005-03-07 23:26:06 +00:00
vimboss 2922781fc5 updated for version 7.0057 2005-03-07 23:22:00 +00:00
vimboss 923bdeda40 updated for version 7.0057 2005-03-07 23:20:08 +00:00
vimboss 06553e8ac9 updated for version 7.0057 2005-03-07 23:16:51 +00:00
vimboss 36b63d9378 updated for version 7.0057 2005-03-07 23:09:59 +00:00
vimboss 1826e895bf updated for version 7.0057 2005-03-07 23:06:25 +00:00
vimboss 5fe54eb7d1 updated for version 7.0057 2005-03-07 23:04:48 +00:00
vimboss 29d5393392 updated for version 7.0057 2005-03-07 23:03:19 +00:00
vimboss d4df77814a updated for version 7.0057 2005-03-07 23:00:57 +00:00
vimboss ac8e629412 updated for version 7.0057 2005-03-07 22:56:57 +00:00
vimboss bb71844699 updated for version 7.0056 2005-03-06 23:42:22 +00:00
vimboss 46c82c41cc updated for version 7.0056 2005-03-06 23:40:56 +00:00
vimboss 715a7780e8 updated for version 7.0056 2005-03-06 23:38:09 +00:00
vimboss 51d63e5ec6 updated for version 7.0055 2005-03-04 23:39:37 +00:00
vimboss 5ceeb6a9a2 updated for version 7.0054 2005-02-28 22:48:19 +00:00
vimboss 2610d1a3cb updated for version 7.0054 2005-02-28 22:44:58 +00:00
vimboss f0e8b63aa7 updated for version 7.0054 2005-02-28 22:39:03 +00:00
vimboss 8f37fd9ca9 updated for version 7.0053 2005-02-27 22:43:26 +00:00
vimboss bf2c654fcf updated for version 7.0053 2005-02-27 22:41:14 +00:00
vimboss 490caa6a7d updated for version 7.0053 2005-02-27 22:40:05 +00:00
vimboss 34d49d67a7 updated for version 7.0053 2005-02-27 22:38:23 +00:00
vimboss 5705aabcce updated for version 7.0053 2005-02-27 22:36:47 +00:00
vimboss 90c10231c1 updated for version 7.0052 2005-02-26 23:04:13 +00:00
vimboss 883273db64 updated for version 7.0051 2005-02-22 08:56:13 +00:00
vimboss c535381148 updated for version 7.0051 2005-02-22 08:49:11 +00:00
vimboss 91041ca59e updated for version 7.0051 2005-02-22 08:39:57 +00:00
vimboss 3a2a7b25e5 updated for version 7.0051 2005-02-22 08:28:13 +00:00
vimboss c791511e79 updated for version 7.0050 2005-02-12 14:31:42 +00:00
vimboss c488e50137 updated for version 7.0050 2005-02-12 14:29:27 +00:00
vimboss 0f322631bf updated for version 7.0049 2005-02-07 22:05:52 +00:00
vimboss 3b0bc9901a updated for version 7.0049 2005-02-07 22:03:36 +00:00
vimboss 6cd682d35e updated for version 7.0049 2005-02-07 22:01:03 +00:00
vimboss 0a1f3f88f6 updated for version 7.0049 2005-02-07 21:49:25 +00:00
vimboss ef870e8357 updated for version 7.0048 2005-02-05 21:43:56 +00:00
vimboss a9227b7c58 updated for version 7.0048 2005-02-05 21:39:53 +00:00
vimboss 8c48828cac updated for version 7.0048 2005-02-05 21:35:05 +00:00
vimboss d9b4b9d874 updated for version 7.0047 2005-02-02 23:11:38 +00:00
vimboss 5964bd7d55 updated for version 7.0047 2005-02-02 23:09:45 +00:00
vimboss 6bd1894243 updated for version 7.0047 2005-02-02 23:07:25 +00:00
vimboss d6648ea90f updated for version 7.0047 2005-02-02 23:04:36 +00:00
vimboss e1643fa436 updated for version 7.0047 2005-02-02 22:55:47 +00:00
vimboss 413192e236 updated for version 7.0046 2005-01-31 19:25:36 +00:00
vimboss 2013b24985 updated for version 7.0046 2005-01-31 19:23:41 +00:00
vimboss a76cc77d79 updated for version 7.0046 2005-01-31 19:21:46 +00:00
vimboss e99ed374b9 updated for version 7.0046 2005-01-31 19:19:04 +00:00
vimboss 18454d61fc updated for version 7.0046 2005-01-31 19:09:12 +00:00
vimboss 8183e77185 updated for version 7.0046 2005-01-31 19:02:28 +00:00
vimboss 85be221f60 updated for version 7.0046 2005-01-31 18:58:23 +00:00
vimboss 1fead47256 updated for version 7.0046 2005-01-31 18:57:18 +00:00
vimboss 77bfeb04e0 updated for version 7.0046 2005-01-31 18:55:55 +00:00
vimboss 58d4c36c50 updated for version 7.0045 2005-01-27 14:44:31 +00:00
vimboss dea17ee6ab updated for version 7.0045 2005-01-27 14:42:53 +00:00
vimboss e2185b74f5 updated for version 7.0045 2005-01-27 14:41:15 +00:00
vimboss 6d52ce27d3 updated for version 7.0045 2005-01-27 14:33:00 +00:00
vimboss 9315e9fb63 updated for version 7.0045 2005-01-27 14:31:44 +00:00
vimboss 434b001336 updated for version 7.0044 2005-01-25 22:26:29 +00:00
vimboss 5c789b2b0a updated for version 7.0044 2005-01-25 22:22:02 +00:00
vimboss b6975fb763 updated for version 7.0044 2005-01-25 22:18:08 +00:00
vimboss fa91543c94 updated for version 7.0044 2005-01-25 22:14:34 +00:00
vimboss 77ed685929 updated for version 7.0044 2005-01-25 22:12:55 +00:00
vimboss d7a2ddaef4 updated for version 7.0044 2005-01-25 22:07:05 +00:00
vimboss 241fb3b228 updated for version 7.0044 2005-01-25 22:03:25 +00:00
vimboss e03ea119a9 updated for version 7.0044 2005-01-25 21:58:26 +00:00
vimboss bcf7ad1a63 updated for version 7.0044 2005-01-25 21:57:23 +00:00
vimboss 82120069cd updated for version 7.0044 2005-01-25 21:53:18 +00:00
vimboss 6f9fa293fc updated for version 7.0044 2005-01-25 21:46:35 +00:00
vimboss e0c3b831ab updated for version 7.0044 2005-01-25 21:44:33 +00:00
vimboss e658f496d9 updated for version 7.0044 2005-01-25 21:42:15 +00:00
vimboss b014af8d9d updated for version 7.0043 2005-01-21 11:56:39 +00:00
vimboss 4d56439a62 updated for version 7.0043 2005-01-21 11:55:25 +00:00
vimboss b515286472 updated for version 7.0043 2005-01-21 11:46:23 +00:00
vimboss 90d1d23eed updated for version 7.0042 2005-01-19 22:24:34 +00:00
vimboss 4e29192636 updated for version 7.0042 2005-01-19 22:21:15 +00:00
vimboss 57cecb3b51 updated for version 7.0042 2005-01-19 22:18:32 +00:00
vimboss b3ee99225b updated for version 7.0042 2005-01-19 22:08:28 +00:00
vimboss 0c4bbcfe62 updated for version 7.0041 2005-01-17 22:23:00 +00:00
vimboss 76d90e1f26 updated for version 7.0041 2005-01-17 22:21:07 +00:00
vimboss b424d6e3f5 updated for version 7.0041 2005-01-17 22:18:45 +00:00
vimboss c2c408d25f updated for version 7.0041 2005-01-17 22:16:15 +00:00
vimboss 3060ccf3b2 updated for version 7.0041 2005-01-17 22:13:48 +00:00
vimboss 4be9de3f8e updated for version 7.0041 2005-01-17 22:11:23 +00:00
vimboss 74212cfa2f updated for version 7.0041 2005-01-17 22:06:23 +00:00
vimboss b413954494 updated for version 7.0040 2005-01-16 22:07:38 +00:00
vimboss 5938b2da41 updated for version 7.0040 2005-01-16 22:06:30 +00:00
vimboss 7db1051044 updated for version 7.0040 2005-01-16 22:02:49 +00:00
vimboss 837d8b6c88 updated for version 7.0040 2005-01-16 21:59:36 +00:00
vimboss ef7a663458 updated for version 7.0040 2005-01-16 21:57:33 +00:00
vimboss dcaccddd78 updated for version 7.0040 2005-01-16 21:56:27 +00:00
vimboss adf6a744eb updated for version 7.0039 2005-01-15 22:18:47 +00:00
vimboss 19eef10a86 updated for version 7.0039 2005-01-15 22:17:32 +00:00
vimboss 133139d2c8 updated for version 7.0039 2005-01-15 22:14:15 +00:00
vimboss 5be201f3fc updated for version 7.0039 2005-01-15 22:08:30 +00:00
vimboss cab2cad423 updated for version 7.0038 2005-01-14 21:53:12 +00:00
vimboss a50b66ae1f updated for version 7.0038 2005-01-14 21:48:43 +00:00
vimboss 3a9404aab7 updated for version 7.0038 2005-01-14 21:42:54 +00:00
vimboss d3d14b8ef7 updated for version 7.0037 2005-01-11 21:34:41 +00:00
vimboss 48ceded50f updated for version 7.0037 2005-01-11 21:30:59 +00:00
vimboss 09527fdc07 updated for version 7.0037 2005-01-11 21:29:04 +00:00
vimboss 74f1f6f4e1 updated for version 7.0037 2005-01-11 21:23:08 +00:00
vimboss cc7eec7b28 updated for version 7.0037 2005-01-11 21:21:40 +00:00
vimboss d2183e5e94 updated for version 7.0036 2005-01-09 21:23:56 +00:00
vimboss a00d31dc83 updated for version 7.0036 2005-01-09 21:22:45 +00:00
vimboss 76bc95d44f updated for version 7.0036 2005-01-09 21:20:18 +00:00
vimboss f06027b097 updated for version 7.0036 2005-01-09 21:16:21 +00:00
vimboss 2fe4c9200f updated for version 7.0035 2005-01-08 21:49:45 +00:00
vimboss 1e66ba8326 updated for version 7.0035 2005-01-08 21:45:39 +00:00
vimboss cc507b359e updated for version 7.0034 2005-01-08 16:11:57 +00:00
vimboss 0092f9a187 updated for version 7.0034 2005-01-08 16:08:21 +00:00
vimboss 08c303fc76 updated for version 7.0034 2005-01-08 16:04:29 +00:00
vimboss 64f09644d0 updated for version 7.0033 2005-01-07 21:51:51 +00:00
vimboss d915cc915b updated for version 7.0033 2005-01-07 21:48:26 +00:00
vimboss 03c5985350 updated for version 7.0033 2005-01-07 21:45:22 +00:00
vimboss 61e4250552 updated for version 7.0032 2005-01-06 23:28:25 +00:00
vimboss 231041b43a updated for version 7.0032 2005-01-06 23:24:37 +00:00
vimboss f16ff60bdc updated for version 7.0032 2005-01-06 23:22:30 +00:00
vimboss 48f717367c updated for version 7.0032 2005-01-06 23:19:09 +00:00
vimboss 18692d45c6 updated for version 7.0031 2005-01-05 22:19:46 +00:00
vimboss 8e5d279bd7 updated for version 7.0031 2005-01-05 22:16:17 +00:00
vimboss 87007eb3dc updated for version 7.0031 2005-01-05 22:10:30 +00:00
vimboss 3c8ea48fc8 updated for version 7.0031 2005-01-05 22:08:40 +00:00
vimboss 40dfff3c42 updated for version 7.0031 2005-01-05 22:07:01 +00:00
vimboss 33a9568707 updated for version 7.0030 2005-01-04 21:52:38 +00:00
vimboss 9cd61123d8 updated for version 7.0030 2005-01-04 21:45:14 +00:00
vimboss de5f1809e7 updated for version 7.0030 2005-01-04 21:43:22 +00:00
vimboss 9df7b88129 updated for version 7.0030 2005-01-04 21:38:36 +00:00
vimboss 6aef43ea60 updated for version 7.0030 2005-01-04 21:31:43 +00:00
vimboss d7a70d2571 updated for version 7.0030 2005-01-04 21:26:43 +00:00
vimboss d7d874c400 updated for version 7.0030 2005-01-04 21:24:54 +00:00
vimboss 33a031987b updated for version 7.0030 2005-01-04 21:23:48 +00:00
vimboss 76ca2efc6b updated for version 7.0030 2005-01-04 21:21:28 +00:00
vimboss 750e5ed2bc updated for version 7.0030 2005-01-04 21:19:20 +00:00
vimboss c1800a2f61 updated for version 7.0030 2005-01-04 21:16:35 +00:00
vimboss 6de4cbc7a7 updated for version 7.0030 2005-01-04 21:14:57 +00:00
vimboss 7acb1266fd updated for version 7.0030 2005-01-04 21:13:16 +00:00
vimboss 91149b61bf updated for version 7.0030 2005-01-04 21:12:13 +00:00
vimboss d354452421 updated for version 7.0030 2005-01-04 21:07:44 +00:00
vimboss bb7384c800 updated for version 7.0029 2005-01-03 21:06:01 +00:00
vimboss 4ad767fda0 updated for version 7.0029 2005-01-03 21:02:03 +00:00
vimboss da05e2e909 updated for version 7.0029 2005-01-03 20:58:59 +00:00
vimboss 3241b2e632 updated for version 7.0029 2005-01-03 20:56:17 +00:00
vimboss 12abb6a96f updated for version 7.0029 2005-01-03 20:55:08 +00:00
vimboss 51f6881848 updated for version 7.0028 2005-01-02 11:43:19 +00:00
vimboss 3723f6bfe7 updated for version 7.0028 2005-01-02 11:36:03 +00:00
vimboss 64f32b0059 updated for version 7.0028 2005-01-02 11:32:29 +00:00
vimboss 906281402c updated for version 7.0028 2005-01-02 11:31:05 +00:00
vimboss beddd13cbc updated for version 7.0028 2005-01-02 11:28:13 +00:00
vimboss 306f826e04 updated for version 7.0027 2004-12-31 21:01:02 +00:00
vimboss eaf6cf526d updated for version 7.0027 2004-12-31 20:58:58 +00:00
vimboss 0469e88c48 updated for version 7.0027 2004-12-31 20:56:11 +00:00
vimboss cc1c651f90 updated for version 7.0026 2004-12-29 21:03:02 +00:00
vimboss a2a1b9cb39 updated for version 7.0026 2004-12-29 20:58:21 +00:00
vimboss d559a3479b updated for version 7.0025 2004-12-27 21:59:20 +00:00
vimboss 8aeea83644 updated for version 7.0024 2004-12-24 14:35:23 +00:00
vimboss 06b0422054 updated for version 7.0023 2004-12-19 22:46:22 +00:00
vimboss 696e1c67d4 updated for version 7.0022 2004-12-12 11:37:09 +00:00
vimboss ded3b799f4 updated for version 7.0022 2004-12-12 11:33:30 +00:00
vimboss af77f72312 updated for version 7.0021 2004-12-09 21:34:53 +00:00
vimboss e8c12d1d24 updated for version 7.0021 2004-12-09 21:09:42 +00:00
vimboss 13060d3be9 updated for version 7.0020 2004-10-24 19:23:07 +00:00
vimboss e922568d6c updated for version 7.0020 2004-10-24 19:18:58 +00:00
vimboss d1dfd63110 updated for version 7.0019 2004-10-12 20:02:24 +00:00
vimboss 2d8328f027 updated for version 7.0019 2004-10-12 19:54:52 +00:00
vimboss ffbb1f4c83 updated for version 7.0019 2004-10-12 19:53:42 +00:00
vimboss c516c8b58f updated for version 7.0018 2004-10-11 10:16:09 +00:00
vimboss 549c3780f0 updated for version 7.0018 2004-10-11 10:06:20 +00:00
vimboss 4e67a9e79a updated for version 7.0018 2004-10-11 10:00:50 +00:00
vimboss f65104f49e updated for version 7.0017 2004-10-07 21:02:47 +00:00
vimboss c41c6b8c19 updated for version 7.0017 2004-10-07 20:45:47 +00:00
vimboss e835ce6b25 updated for version 7.0016 2004-09-13 20:26:32 +00:00
vimboss 4fd90a4f53 updated for version 7.0015 2004-09-06 17:44:46 +00:00
vimboss eaaf17beef updated for version 7.0014 2004-09-02 19:12:26 +00:00
vimboss 4bda2773ff updated for version 7.0013 2004-07-29 08:43:53 +00:00
vimboss cc301aeeec updated for version 7.0012 2004-07-26 12:53:41 +00:00
vimboss 440b8fda6e updated for version 7.0011 2004-07-19 20:55:54 +00:00
vimboss f00ab47f29 updated for version 7.0010 2004-07-18 21:34:53 +00:00
vimboss 562cfc1e87 updated for version 7.0009 2004-07-16 20:18:37 +00:00
vimboss 014adc70a3 updated for version 7.0008 2004-07-12 15:53:54 +00:00
vimboss 287c69bd4c updated for version 7.0007 2004-07-10 09:47:34 +00:00
vimboss 5057849c1a updated for version 7.0006 2004-07-05 15:58:32 +00:00
vimboss d9e8dbae3e updated for version 7.0005 2004-07-03 16:05:59 +00:00
vimboss f3371f24ba updated for version 7.0004 2004-07-02 15:38:35 +00:00
vimboss 5c3784fc45 updated for version 7.0003 2004-06-30 16:16:41 +00:00
vimboss 18d8b2d9f8 updated for version 7.0002 2004-06-24 15:53:16 +00:00
vimboss 68cf95977a updated for version 7.0002 2004-06-20 12:51:53 +00:00
vimboss 3bd139f602 Various changes 2004-06-16 11:19:22 +00:00
vimboss e5c6ef7d76 updated for version 7.0001 2004-06-13 20:20:40 +00:00
vimboss 67c7bc9511 updated for version 7.0001 2004-06-13 14:51:16 +00:00
vimboss 7822ed5597 updated for version 7.0001 2004-06-13 14:44:53 +00:00
vimboss e5d2d6e9c1 updated for version 7.0001 2004-06-13 13:30:23 +00:00
vimboss 619d2eb328 updated for version 7.0001 2004-06-13 13:18:32 +00:00
vimboss 8a7d87fea8 updated for version 7.0001 2004-06-13 13:02:36 +00:00
vimboss 1790bb23ef Initial revision 2004-06-13 12:29:53 +00:00
1754 changed files with 191045 additions and 287018 deletions
+23
View File
@@ -0,0 +1,23 @@
.*.swp
.DS_Store
src/MacVim/MacVim.xcodeproj/*.mode1
src/MacVim/MacVim.xcodeproj/*.pbxuser
src/MacVim/PSMTabBarControl/PSMTabBarControl.xcodeproj/*.mode1
src/MacVim/PSMTabBarControl/PSMTabBarControl.xcodeproj/*.pbxuser
src/MacVim/PSMTabBarControl/build
src/MacVim/build
src/TAGS
src/Vim
src/auto/config.h
src/auto/config.mk
src/auto/if_perl.c
src/auto/link.log
src/auto/link.sed
src/auto/osdef.h
src/auto/pathdef.c
src/config.log
src/config.status
src/objects
src/po/*.mo
src/tags
src/xxd/xxd
-61
View File
@@ -1,61 +0,0 @@
syntax: glob
# Unixen: object and executable files.
*.o
src/vim
src/xxd/xxd
src/auto/if_perl.c
src/tags
# We do need src/auto/configure.
src/auto/config.aap
src/auto/config.cache
src/auto/config.h
src/auto/config.log
src/auto/config.mk
src/auto/config.status
src/auto/configure.aap
src/auto/osdef.h
src/auto/link.log
src/auto/link.sed
src/auto/pathdef.c
# Windows
*.exe
*.idb
*.manifest
*.exp
*.obj
*.pdb
*.ilk
*.sln
*.suo
*.res
*.RES
src/if_perl.c
src/pathdef.c
src/Obj*/pathdef.c
gvimext.dll
gvimext.lib
# Mac OSX
src/xxd/xxd.dSYM
# All platforms
*.rej
*.orig
*.mo
*.swp
*~
*.pyc
src/po/vim.pot
# Generated by "make test"
src/po/*.ck
src/testdir/mbyte.vim
src/testdir/mzscheme.vim
src/testdir/lua.vim
src/testdir/small.vim
src/testdir/tiny.vim
src/testdir/test*.out
src/testdir/test.log
-2741
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -9,10 +9,10 @@ Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful
messages, shows current file name in window title, on-line
help, rectangular cut/paste, etc., etc., etc...
Version 7.4. Also runs under UNIX, MSDOS and other systems.
vim74rt.tgz contains the documentation and syntax files.
vim74bin.tgz contains the binaries.
vim74src.tgz contains the sources.
Version 7.1. Also runs under UNIX, MSDOS and other systems.
vim71rt.tgz contains the documentation and syntax files.
vim71bin.tgz contains the binaries.
vim71src.tgz contains the sources.
Author: Bram Moolenaar et al.
+22 -62
View File
@@ -7,7 +7,6 @@ SRC_ALL = \
src/arabic.c \
src/arabic.h \
src/ascii.h \
src/blowfish.c \
src/buffer.c \
src/charset.c \
src/diff.c \
@@ -39,7 +38,6 @@ SRC_ALL = \
src/mark.c \
src/mbyte.c \
src/memfile.c \
src/memfile_test.c \
src/memline.c \
src/menu.c \
src/message.c \
@@ -57,11 +55,9 @@ SRC_ALL = \
src/popupmnu.c \
src/quickfix.c \
src/regexp.c \
src/regexp_nfa.c \
src/regexp.h \
src/screen.c \
src/search.c \
src/sha256.c \
src/structs.h \
src/spell.c \
src/syntax.c \
@@ -74,7 +70,6 @@ SRC_ALL = \
src/version.c \
src/version.h \
src/vim.h \
src/winclip.c \
src/window.c \
src/xxd/xxd.c \
src/main.aap \
@@ -83,18 +78,7 @@ SRC_ALL = \
src/testdir/test[0-9]*.ok \
src/testdir/test49.vim \
src/testdir/test60.vim \
src/testdir/test83-tags? \
src/testdir/python2/*.py \
src/testdir/python3/*.py \
src/testdir/pythonx/*.py \
src/testdir/pythonx/topmodule/__init__.py \
src/testdir/pythonx/topmodule/submodule/__init__.py \
src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py \
src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py \
src/testdir/python_after/*.py \
src/testdir/python_before/*.py \
src/proto.h \
src/proto/blowfish.pro \
src/proto/buffer.pro \
src/proto/charset.pro \
src/proto/diff.pro \
@@ -132,7 +116,6 @@ SRC_ALL = \
src/proto/regexp.pro \
src/proto/screen.pro \
src/proto/search.pro \
src/proto/sha256.pro \
src/proto/spell.pro \
src/proto/syntax.pro \
src/proto/tag.pro \
@@ -141,7 +124,6 @@ SRC_ALL = \
src/proto/ui.pro \
src/proto/undo.pro \
src/proto/version.pro \
src/proto/winclip.pro \
src/proto/window.pro \
@@ -155,7 +137,6 @@ SRC_UNIX = \
pixmaps/gen-inline-pixbufs.sh \
pixmaps/stock_icons.h \
src/INSTALL \
src/INSTALLx.txt \
src/Makefile \
src/auto/configure \
src/config.aap.in \
@@ -212,7 +193,6 @@ SRC_UNIX = \
src/vim_icon.xbm \
src/vim_mask.xbm \
src/vimtutor \
src/gvimtutor \
src/which.sh \
src/workshop.c \
src/workshop.h \
@@ -224,24 +204,19 @@ SRC_UNIX = \
SRC_DOS_UNIX = \
src/if_cscope.c \
src/if_cscope.h \
src/if_lua.c \
src/if_mzsch.c \
src/if_mzsch.h \
src/if_perl.xs \
src/if_perlsfio.c \
src/if_python.c \
src/if_python3.c \
src/if_py_both.h \
src/if_ruby.c \
src/if_sniff.h \
src/if_tcl.c \
src/proto/if_cscope.pro \
src/proto/if_lua.pro \
src/proto/if_mzsch.pro \
src/proto/if_perl.pro \
src/proto/if_perlsfio.pro \
src/proto/if_python.pro \
src/proto/if_python3.pro \
src/proto/if_ruby.pro \
src/proto/if_tcl.pro \
src/typemap \
@@ -273,10 +248,7 @@ SRC_DOS = \
src/Make_mvc.mak \
src/Make_w16.mak \
src/bigvim.bat \
src/bigvim64.bat \
src/msvcsetup.bat \
src/msvc2008.bat \
src/msvc2010.bat \
src/dimm.idl \
src/dlldata.c \
src/dosinst.c \
@@ -310,7 +282,6 @@ SRC_DOS = \
src/proto/os_win32.pro \
src/proto/os_mswin.pro \
src/testdir/Make_dos.mak \
src/testdir/Make_ming.mak \
src/testdir/dos.vim \
src/uninstal.c \
src/vim.def \
@@ -327,7 +298,6 @@ SRC_DOS = \
src/xxd/Make_bc5.mak \
src/xxd/Make_cyg.mak \
src/xxd/Make_djg.mak \
src/xxd/Make_ming.mak \
src/xxd/Make_mvc.mak \
nsis/gvim.nsi \
nsis/README.txt \
@@ -362,13 +332,6 @@ SRC_DOS_BIN = \
src/vim*.ico \
src/vim.tlb \
src/vimtbar.lib \
src/xpm/COPYRIGHT \
src/xpm/README.txt \
src/xpm/include/*.h \
src/xpm/x64/lib/libXpm.a \
src/xpm/x64/lib/libXpm.lib \
src/xpm/x86/lib/libXpm.a \
src/xpm/x86/lib/libXpm.lib \
src/vimtbar.dll \
nsis/icons/*.bmp \
nsis/icons/*.ico \
@@ -402,7 +365,7 @@ SRC_MAC = \
src/os_mac.h \
src/os_mac.rsr.hqx \
src/os_mac_conv.c \
src/os_macosx.m \
src/os_macosx.c \
src/proto/gui_mac.pro \
src/proto/os_mac_conv.pro \
@@ -450,14 +413,20 @@ SRC_EXTRA = \
$(SRC_VMS) \
README_os390.txt \
src/Make_mint.mak \
src/Make_ro.mak \
src/gui_riscos.c \
src/gui_riscos.h \
src/if_sniff.c \
src/infplist.xml \
src/link.390 \
src/os_beos.c \
src/os_beos.h \
src/os_beos.rsrc \
src/proto/os_beos.pro \
src/os_mint.h \
src/os_riscos.c \
src/os_riscos.h \
src/proto/gui_riscos.pro \
src/proto/os_riscos.pro \
src/os_vms_fix.com \
src/toolbar.phi \
@@ -484,7 +453,6 @@ RT_ALL = \
runtime/macros/hanoi/hanoi.vim \
runtime/macros/hanoi/poster \
runtime/macros/justify.vim \
runtime/macros/less.bat \
runtime/macros/less.sh \
runtime/macros/less.vim \
runtime/macros/life/click.me \
@@ -545,7 +513,6 @@ RT_SCRIPTS = \
runtime/indent/*.vim \
runtime/indent/README.txt \
runtime/ftplugin/*.vim \
runtime/ftplugin/logtalk.dict \
runtime/ftplugin/README.txt \
runtime/plugin/*.vim \
runtime/plugin/README.txt \
@@ -682,19 +649,17 @@ EXTRA = \
farsi/fonts/*/far-* \
runtime/vimlogo.xpm \
src/swis.s \
src/tee/Makefile \
src/tee/Makefile* \
src/tee/tee.c \
csdpmi4b.zip \
# generic language files
LANG_GEN = \
runtime/doc/*-de.1 \
runtime/doc/*-de.UTF-8.1 \
README_lang.txt \
runtime/doc/*-fr.1 \
runtime/doc/*-fr.UTF-8.1 \
runtime/doc/*-it.1 \
runtime/doc/*-it.UTF-8.1 \
runtime/doc/*-ja.UTF-8.1 \
runtime/doc/*-pl.1 \
runtime/doc/*-pl.UTF-8.1 \
runtime/doc/*-ru.1 \
@@ -705,30 +670,25 @@ LANG_GEN = \
runtime/keymap/*.vim \
runtime/tutor/README.*.txt \
runtime/tutor/Makefile \
runtime/tutor/tutor.utf-8 \
runtime/tutor/tutor.?? \
runtime/tutor/tutor.??.utf-8 \
runtime/tutor/tutor.??.euc \
runtime/tutor/tutor.??.sjis \
runtime/tutor/tutor.??.iso9 \
runtime/tutor/tutor.??.big5 \
runtime/tutor/tutor.??.cp1250 \
runtime/tutor/tutor.??.cp1251 \
runtime/tutor/tutor.??.cp737 \
runtime/tutor/tutor.??_??.utf-8 \
runtime/tutor/tutor.bar \
runtime/tutor/tutor.bar.utf-8 \
runtime/tutor/tutor.cs.* \
runtime/tutor/tutor.gr.* \
runtime/tutor/tutor.hu.* \
runtime/tutor/tutor.ja.* \
runtime/tutor/tutor.ko.* \
runtime/tutor/tutor.pl.* \
runtime/tutor/tutor.ru.* \
runtime/tutor/tutor.sk.* \
runtime/tutor/tutor.tr.* \
runtime/tutor/tutor.zh.* \
runtime/spell/README.txt \
runtime/spell/??/*.diff \
runtime/spell/??/main.aap \
runtime/spell/tet/*.diff \
runtime/spell/tet/main.aap \
runtime/spell/check/main.aap \
runtime/spell/check/*.aff \
runtime/spell/check/*.dic \
runtime/spell/yi/README.txt \
runtime/spell/main.aap \
runtime/spell/cleanadd.vim \
runtime/spell/*.vim \
runtime/spell/fixdup \
# generic language files, binary
LANG_GEN_BIN = \
+159 -164
View File
@@ -3,10 +3,8 @@
# 2. Creating the various distribution files.
#########################################################################
# 1. Starting the compilation of Vim for Unix.
# 1. Using this Makefile without an argument will compile Vim for Unix.
#
# Using this Makefile without an argument will compile Vim for Unix.
# "make install" is also possible.
#
# NOTE: If this doesn't work properly, first change directory to "src" and use
@@ -23,9 +21,6 @@
# has run can result in compiling with $(CC) empty.
first:
@if test ! -f src/auto/config.mk; then \
cp src/config.mk.dist src/auto/config.mk; \
fi
@echo "Starting make in the src directory."
@echo "If there are problems, cd to the src directory and run make there"
cd src && $(MAKE) $@
@@ -33,22 +28,25 @@ first:
# Some make programs use the last target for the $@ default; put the other
# targets separately to always let $@ expand to "first" by default.
all install uninstall tools config configure reconfig proto depend lint tags types test testclean clean distclean:
@if test ! -f src/auto/config.mk; then \
cp src/config.mk.dist src/auto/config.mk; \
fi
@echo "Starting make in the src directory."
@echo "If there are problems, cd to the src directory and run make there"
cd src && $(MAKE) $@
#########################################################################
# 2. Creating the various distribution files.
# 2. Create the various distributions:
#
# TARGET PRODUCES CONTAINS
# unixall vim-#.#.tar.bz2 All runtime files and sources, for Unix
# unixall vim-#.#.tar.bz2 Runtime files and Sources for Unix
#
# extra vim-#.#-extra.tar.gz Extra source and runtime files
# lang vim-#.#-lang.tar.gz multi-language files
#
# html vim##html.zip HTML docs
#
# amisrc vim##src.tgz sources for Amiga
# amirt vim##rt.tgz runtime for Amiga
# amibin vim##bin.tgz binary for Amiga
#
# dossrc vim##src.zip sources for MS-DOS
# dosrt vim##rt.zip runtime for MS-DOS
# dosbin vim##d16.zip binary for MS-DOS 16 bits
@@ -57,11 +55,7 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
# gvim##.zip binary for GUI Win32
# gvim##ole.zip OLE exe for Win32 GUI
# gvim##_s.zip exe for Win32s GUI
#
# OBSOLETE
# amisrc vim##src.tgz sources for Amiga
# amirt vim##rt.tgz runtime for Amiga
# amibin vim##bin.tgz binary for Amiga
# doslang vim##lang.zip language files for Win32
#
# os2bin vim##os2.zip binary for OS/2
# (use RT from dosrt)
@@ -70,44 +64,31 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
#
# All output files are created in the "dist" directory. Existing files are
# overwritten!
# To do all this you need the Unix archive and compiled binaries.
# To do all this you need the unix, extra and lang archives, and
# compiled binaries.
# Before creating an archive first delete all backup files, *.orig, etc.
MAJOR = 7
MINOR = 4
MINOR = 1
# Uncomment this line if the Win32s version is to be included.
# DOSBIN_S = dosbin_s
# Uncomment this line if the 16 bit DOS version is to be included.
# DOSBIN_D16 = dosbin_d16
# Uncomment this line if the 32 bit DOS version is to be included.
# DOSBIN_D32 = dosbin_d32
DOSBIN_S = dosbin_s
# CHECKLIST for creating a new version:
#
# - Update Vim version number. For a test version in: src/version.h, Contents,
# MAJOR/MINOR above, VIMMAJOR and VIMMINOR in src/Makefile, README*.txt,
# runtime/doc/*.txt and nsis/gvim.nsi. Other things in README_os2.txt. For a
# minor/major version: src/GvimExt/GvimExt.reg, src/vim.def, src/vim16.def,
# src/gvim.exe.mnf.
# - Compile Vim with GTK, Perl, Python, Python3, TCL, Ruby, MZscheme, Lua (if
# you can make it all work), Cscope and "huge" features. Exclude workshop
# and SNiFF.
# minor/major version: src/GvimExt/GvimExt.reg, src/vim.def, src/vim16.def.
# - Correct included_patches[] in src/version.c.
# - Compile Vim with GTK, Perl, Python, TCL, Ruby, MZscheme (if you can make it
# work), Cscope and "huge" features. Exclude workshop and SNiFF.
# - With these features: "make proto" (requires cproto and Motif installed;
# ignore warnings for missing include files, fix problems for syntax errors).
# - With these features: "make depend" (works best with gcc).
# - If you have a lint program: "make lint" and check the output (ignore GTK
# warnings).
# - If you have valgrind, enable it in src/testdir/Makefile and run "make
# test". Enable EXITFREE, disable GUI, scheme and tcl to avoid false alarms.
# Check the valgrind output.
# - If you have the efence library, enable it in "src/Makefile" and run "make
# test". Disable Python and Ruby to avoid trouble with threads (efence is
# not threadsafe).
# - Adjust the date and other info in src/version.h.
# - Correct included_patches[] in src/version.c.
# - "make lint" and check the output (ignore GTK warnings).
# - Enable the efence library in "src/Makefile" and run "make test". May
# require disabling Python and Ruby to avoid trouble with threads.
# - Check for missing entries in runtime/makemenu.vim (with checkmenu script).
# - Check for missing options in runtime/optwin.vim et al. (with check.vim).
# - Do "make menu" to update the runtime/synmenu.vim file.
@@ -115,16 +96,16 @@ MINOR = 4
# - Check that runtime/doc/help.txt doesn't contain entries in "LOCAL
# ADDITIONS".
# - In runtime/doc run "make" and "make html" to check for errors.
# - Check if src/Makefile, src/testdir/Makefile and src/feature.h don't contain
# any personal preferences or the changes mentioned above.
# - Check if src/Makefile and src/feature.h don't contain any personal
# preferences or the GTK, Perl, etc. mentioned above.
# - Check file protections to be "644" for text and "755" for executables (run
# the "check" script).
# - Check compiling on Amiga, MS-DOS and MS-Windows.
# - Delete all *~, *.sw?, *.orig, *.rej files
# - "make unixall", "make html"
# - "make unixall", "make extra", "make lang", "make html"
# - Make diff files against the previous release: "makediff7 7.1 7.2"
#
# Amiga: (OBSOLETE, Amiga files are no longer distributed)
# Amiga:
# - "make amisrc", move the archive to the Amiga and compile:
# "make -f Make_manx.mak" (will use "big" features by default).
# - Run the tests: "make -f Make_manx.mak test"
@@ -133,22 +114,32 @@ MINOR = 4
# - "make amirt", "make amibin".
#
# PC:
# - Run make on Unix to update the ".mo" files.
# - "make dossrc" and "make dosrt". Unpack the archives on a PC.
# 16 bit DOS version:
# - Set environment for compiling with Borland C++ 3.1.
# - "bmake -f Make_bc3.mak BOR=E:\borlandc" (compiling xxd might fail, in that
# case set environment for compiling with Borland C++ 4.0 and do
# "make -f make_bc3.mak BOR=E:\BC4 xxd/xxd.exe").
# - "make test" and check the output.
# - Rename the executables to "vimd16.exe", "xxdd16.exe", "installd16.exe" and
# "uninstald16.exe".
# 32 bit DOS version:
# - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak".
# - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output.
# - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and
# "uninstald32.exe".
# Win32 console version:
# - Set environment for Visual C++ 2008, e.g.: "msvc2008.bat" Or:
# "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat".
# Or, when using the Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the
# - Set environment for Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the
# paths when necessary).
# For Windows 98/ME the 2003 version is required, but then the executable
# won't work on Windows 7 and 64 bit systems.
# - "nmake -f Make_mvc.mak" (use the same path as for vcvars32.bat)
# - "nmake -f Make_mvc.mak"
# - "rm testdir/*.out", "nmake -f Make_mvc.mak test" and check the output.
# - Rename vim.exe to vimw32.exe, xxd/xxd.exe to xxdw32.exe.
# - Rename the executables to "vimw32.exe", "xxdw32.exe".
# - Rename vim.pdb to vimw32.pdb.
# - Rename install.exe to installw32.exe and uninstal.exe to uninstalw32.exe.
# - When building the Win32s version later, delete vimrun.exe, install.exe and
# uninstal.exe. Otherwise rename executables to installw32.exe and
# uninstalw32.exe.
# Win32 GUI version:
# - "nmake -f Make_mvc.mak GUI=yes"
# - "nmake -f Make_mvc.mak GUI=yes.
# - move "gvim.exe" to here (otherwise the OLE version will overwrite it).
# - Move gvim.pdb to here.
# - Delete vimrun.exe, install.exe and uninstal.exe.
@@ -158,64 +149,35 @@ MINOR = 4
# - Rename "gvim.exe" to "gvim_ole.exe".
# - Rename gvim.pdb to "gvim_ole.pdb".
# - Delete install.exe and uninstal.exe.
# Create the archives:
# - Copy all the "*.exe" files to where this Makefile is.
# - Copy all the "*.pdb" files to where this Makefile is.
# - "make dosbin".
# NSIS self installing exe:
# - To get NSIS see http://nsis.sourceforge.net
# - Make sure gvim_ole.exe, vimw32.exe, installw32.exe,
# uninstalw32.exe and xxdw32.exe have been build as mentioned above.
# - copy these files (get them from a binary archive or build them):
# gvimext.dll in src/GvimExt
# gvimext64.dll in src/GvimExt
# VisVim.dll in src/VisVim
# Note: VisVim needs to be build with MSVC 5, newer versions don't work.
# gvimext64.dll can be obtained from http://code.google.com/p/vim-win3264/
# It is part of vim72.zip as vim72/gvimext.dll.
# - make sure there is a diff.exe two levels up
# - go to ../nsis and do "makensis gvim.nsi" (takes a few minutes).
# - Copy gvim##.exe to the dist directory.
#
# 64 bit builds (these are not in the normal distribution, the 32 bit build
# works just fine on 64 bit systems).
# Like the console and GUI version, but first run vcvars64.bat or
# "..\VC\vcvarsall.bat x86_amd64".
# - "nmake -f Make_mvc.mak"
# - "nmake -f Make_mvc.mak GUI=yes"
# Or run src/bigvim64.bat for an OLE version.
#
# OBSOLETE systems: You can build this if you have an appropriate system.
#
# 16 bit DOS version: (doesn't build anywhere)
# - Set environment for compiling with Borland C++ 3.1.
# - "bmake -f Make_bc3.mak BOR=E:\borlandc" (compiling xxd might fail, in that
# case set environment for compiling with Borland C++ 4.0 and do
# "make -f make_bc3.mak BOR=E:\BC4 xxd/xxd.exe").
# NOTE: this currently fails because Vim is too big.
# - "make test" and check the output.
# - Rename the executables to "vimd16.exe", "xxdd16.exe", "installd16.exe" and
# "uninstald16.exe".
#
# 32 bit DOS version: (requires Windows XP or earlier)
# - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak".
# - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output for
# "ALL DONE".
# - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and
# "uninstald32.exe".
#
# Win32s GUI version: (requires very old compiler)
# - Set environment for Visual C++ 4.1 (requires a new console window):
# "vcvars32.bat" (use the path for VC 4.1 e:\msdev\bin)
# - If building the Win32s version delete vimrun.exe.
# Win32s GUI version:
# - Set environment for Visual C++ 4.1 (requires a new console window)
# - "vcvars32" (use the path for VC 4.1 e:\msdev\bin)
# - "nmake -f Make_mvc.mak GUI=yes INTL=no clean" (use the path for VC 4.1)
# - "nmake -f Make_mvc.mak GUI=yes INTL=no" (use the path for VC 4.1)
# - Rename "gvim.exe" to "gvim_w32s.exe".
# - Rename "install.exe" to "installw32.exe"
# - Rename "uninstal.exe" to "uninstalw32.exe"
# - The produced uninstalw32.exe and vimrun.exe are used.
# Create the archives:
# - Copy all the "*.exe" files to where this Makefile is.
# - Copy all the "*.pdb" files to where this Makefile is.
# - "make dosbin".
# - Run make on Unix to update the ".mo" files.
# - "make doslang".
# NSIS self installing exe:
# - Unpack the doslang archive on the PC.
# - Make sure gvim_ole.exe, vimd32.exe, vimw32.exe, installw32.exe,
# uninstalw32.exe and xxdw32.exe have been build as mentioned above.
# - put gvimext.dll in src/GvimExt and VisVim.dll in src/VisVim (get them
# from a binary archive or build them)
# Note: VisVim needs to be build with MSVC 5, newer versions don't work.
# - make sure there is a diff.exe two levels up
# - go to ../nsis and do "makensis gvim.nsi".
# - Copy gvim##.exe to the dist directory.
#
# OS/2: (requires an OS/2 system)
# - Unpack the Unix archive.
# OS/2:
# - Unpack the Unix "src", "extra" and "rt" archives.
# - "make -f Make_os2.mak".
# - Rename the executables to vimos2.exe, xxdos2.exe and teeos2.exe and copy
# them to here.
@@ -250,6 +212,8 @@ dist/comment:
mkdir dist/comment
COMMENT_RT = comment/$(VERSION)-rt
COMMENT_RT1 = comment/$(VERSION)-rt1
COMMENT_RT2 = comment/$(VERSION)-rt2
COMMENT_D16 = comment/$(VERSION)-bin-d16
COMMENT_D32 = comment/$(VERSION)-bin-d32
COMMENT_W32 = comment/$(VERSION)-bin-w32
@@ -260,10 +224,17 @@ COMMENT_SRC = comment/$(VERSION)-src
COMMENT_OS2 = comment/$(VERSION)-bin-os2
COMMENT_HTML = comment/$(VERSION)-html
COMMENT_FARSI = comment/$(VERSION)-farsi
COMMENT_LANG = comment/$(VERSION)-lang
dist/$(COMMENT_RT): dist/comment
echo "Vim - Vi IMproved - v$(VDOT) runtime files for MS-DOS and MS-Windows" > dist/$(COMMENT_RT)
dist/$(COMMENT_RT1): dist/comment
echo "Vim - Vi IMproved - v$(VDOT) runtime files (PART 1) for MS-DOS and MS-Windows" > dist/$(COMMENT_RT1)
dist/$(COMMENT_RT2): dist/comment
echo "Vim - Vi IMproved - v$(VDOT) runtime files (PART 2) for MS-DOS and MS-Windows" > dist/$(COMMENT_RT2)
dist/$(COMMENT_D16): dist/comment
echo "Vim - Vi IMproved - v$(VDOT) binaries for MS-DOS 16 bit real mode" > dist/$(COMMENT_D16)
@@ -294,6 +265,9 @@ dist/$(COMMENT_HTML): dist/comment
dist/$(COMMENT_FARSI): dist/comment
echo "Vim - Vi IMproved - v$(VDOT) Farsi language files" > dist/$(COMMENT_FARSI)
dist/$(COMMENT_LANG): dist/comment
echo "Vim - Vi IMproved - v$(VDOT) MS-Windows language files" > dist/$(COMMENT_LANG)
unixall: dist prepare
-rm -f dist/$(VIMVER).tar.bz2
-rm -rf dist/$(VIMRTDIR)
@@ -309,17 +283,33 @@ unixall: dist prepare
$(SRC_ALL) \
$(SRC_UNIX) \
$(SRC_DOS_UNIX) \
$(EXTRA) \
$(LANG_SRC) \
| (cd dist/$(VIMRTDIR); tar xf -)
# Need to use a "distclean" config.mk file
# Note: this file is not included in the repository to avoid problems, but it's
# OK to put it in the archive.
cp -f src/config.mk.dist dist/$(VIMRTDIR)/src/auto/config.mk
# Create an empty config.h file, make dependencies require it
touch dist/$(VIMRTDIR)/src/auto/config.h
# Make sure configure is newer than config.mk to force it to be generated
touch dist/$(VIMRTDIR)/src/configure
cd dist && tar cf $(VIMVER).tar $(VIMRTDIR)
bzip2 dist/$(VIMVER).tar
extra: dist prepare
-rm -f dist/$(VIMVER)-extra.tar.gz
-rm -rf dist/$(VIMRTDIR)
mkdir dist/$(VIMRTDIR)
tar cf - \
$(EXTRA) \
| (cd dist/$(VIMRTDIR); tar xf -)
cd dist && tar cf $(VIMVER)-extra.tar $(VIMRTDIR)
gzip -9 dist/$(VIMVER)-extra.tar
lang: dist prepare
-rm -f dist/$(VIMVER)-lang.tar.gz
-rm -rf dist/$(VIMRTDIR)
mkdir dist/$(VIMRTDIR)
tar cf - \
$(LANG_SRC) \
| (cd dist/$(VIMRTDIR); tar xf -)
# Make sure ja.sjis.po is newer than ja.po to avoid it being regenerated.
# Same for cs.cp1250.po, pl.cp1250.po and sk.cp1250.po.
touch dist/$(VIMRTDIR)/src/po/ja.sjis.po
@@ -329,11 +319,9 @@ unixall: dist prepare
touch dist/$(VIMRTDIR)/src/po/zh_CN.cp936.po
touch dist/$(VIMRTDIR)/src/po/ru.cp1251.po
touch dist/$(VIMRTDIR)/src/po/uk.cp1251.po
# Create the archive.
cd dist && tar cf $(VIMVER).tar $(VIMRTDIR)
bzip2 dist/$(VIMVER).tar
cd dist && tar cf $(VIMVER)-lang.tar $(VIMRTDIR)
gzip -9 dist/$(VIMVER)-lang.tar
# Amiga runtime - OBSOLETE
amirt: dist prepare
-rm -f dist/vim$(VERSION)rt.tar.gz
-rm -rf dist/Vim
@@ -356,7 +344,6 @@ amirt: dist prepare
gzip -9 dist/vim$(VERSION)rt.tar
mv dist/vim$(VERSION)rt.tar.gz dist/vim$(VERSION)rt.tgz
# Amiga binaries - OBSOLETE
amibin: dist prepare
-rm -f dist/vim$(VERSION)bin.tar.gz
-rm -rf dist/Vim
@@ -374,7 +361,6 @@ amibin: dist prepare
gzip -9 dist/vim$(VERSION)bin.tar
mv dist/vim$(VERSION)bin.tar.gz dist/vim$(VERSION)bin.tgz
# Amiga sources - OBSOLETE
amisrc: dist prepare
-rm -f dist/vim$(VERSION)src.tar.gz
-rm -rf dist/Vim
@@ -395,41 +381,15 @@ amisrc: dist prepare
no_title.vim: Makefile
echo "set notitle noicon nocp nomodeline viminfo=" >no_title.vim
# MS-DOS sources
dossrc: dist no_title.vim dist/$(COMMENT_SRC) runtime/doc/uganda.nsis.txt
-rm -rf dist/vim$(VERSION)src.zip
-rm -rf dist/vim
mkdir dist/vim
mkdir dist/vim/$(VIMRTDIR)
tar cf - \
$(SRC_ALL) \
$(SRC_DOS) \
$(SRC_AMI_DOS) \
$(SRC_DOS_UNIX) \
runtime/doc/uganda.nsis.txt \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
rmdir dist/vim/$(VIMRTDIR)/runtime
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
tar cf - \
$(SRC_DOS_BIN) \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
cd dist && zip -9 -rD -z vim$(VERSION)src.zip vim <$(COMMENT_SRC)
runtime/doc/uganda.nsis.txt: runtime/doc/uganda.txt
cd runtime/doc && $(MAKE) uganda.nsis.txt
dosrt: dist dist/$(COMMENT_RT) dosrt_unix2dos
-rm -rf dist/vim$(VERSION)rt.zip
cd dist && zip -9 -rD -z vim$(VERSION)rt.zip vim <$(COMMENT_RT)
# Split in two parts to avoid an "argument list too long" error.
# Split in two parts to avoid a "argument list too long" error.
dosrt_unix2dos: dist prepare no_title.vim
-rm -rf dist/vim
mkdir dist/vim
mkdir dist/vim/$(VIMRTDIR)
mkdir dist/vim/$(VIMRTDIR)/lang
cd src && MAKEMO=yes $(MAKE) languages
tar cf - \
$(RT_ALL) \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
@@ -440,7 +400,7 @@ dosrt_unix2dos: dist prepare no_title.vim
$(RT_AMI_DOS) \
$(LANG_GEN) \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
tar cf - \
$(RT_UNIX_DOS_BIN) \
$(RT_ALL_BIN) \
@@ -449,18 +409,6 @@ dosrt_unix2dos: dist prepare no_title.vim
| (cd dist/vim/$(VIMRTDIR); tar xf -)
mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
rmdir dist/vim/$(VIMRTDIR)/runtime
# Add the message translations. Trick: skip ja.mo and use ja.sjis.mo instead.
# Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo, sk.mo / sk.cp1250.mo,
# zh_CN.mo / zh_CN.cp936.mo, uk.mo / uk.cp1251.mo and ru.mo / ru.cp1251.mo.
for i in $(LANG_DOS); do \
if test "$$i" != "src/po/ja.mo" -a "$$i" != "src/po/pl.mo" -a "$$i" != "src/po/cs.mo" -a "$$i" != "src/po/sk.mo" -a "$$i" != "src/po/zh_CN.mo" -a "$$i" != "src/po/ru.mo" -a "$$i" != "src/po/uk.mo"; then \
n=`echo $$i | sed -e "s+src/po/\([-a-zA-Z0-9_]*\(.UTF-8\)*\)\(.sjis\)*\(.cp1250\)*\(.cp1251\)*\(.cp936\)*.mo+\1+"`; \
mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \
mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \
cp $$i dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES/vim.mo; \
fi \
done
cp libintl.dll dist/vim/$(VIMRTDIR)/
# Convert runtime files from Unix fileformat to dos fileformat.
@@ -470,7 +418,7 @@ runtime_unix2dos: dosrt_unix2dos
cd dist/vim/$(VIMRTDIR); tar cf - * \
| (cd ../../../runtime/dos; tar xf -)
dosbin: prepare dosbin_gvim dosbin_w32 $(DOSBIN_D32) dosbin_ole $(DOSBIN_S) $(DOSBIN_D16)
dosbin: prepare dosbin_gvim dosbin_w32 dosbin_d32 dosbin_d16 dosbin_ole $(DOSBIN_S)
# make Win32 gvim
dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM)
@@ -481,7 +429,7 @@ dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM)
tar cf - \
$(BIN_DOS) \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
cp gvim.exe dist/vim/$(VIMRTDIR)/gvim.exe
cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe
@@ -500,7 +448,7 @@ dosbin_w32: dist no_title.vim dist/$(COMMENT_W32)
tar cf - \
$(BIN_DOS) \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
cp vimw32.exe dist/vim/$(VIMRTDIR)/vim.exe
cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
cp installw32.exe dist/vim/$(VIMRTDIR)/install.exe
@@ -517,7 +465,7 @@ dosbin_d32: dist no_title.vim dist/$(COMMENT_D32)
tar cf - \
$(BIN_DOS) \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
cp vimd32.exe dist/vim/$(VIMRTDIR)/vim.exe
cp xxdd32.exe dist/vim/$(VIMRTDIR)/xxd.exe
cp installd32.exe dist/vim/$(VIMRTDIR)/install.exe
@@ -534,7 +482,7 @@ dosbin_d16: dist no_title.vim dist/$(COMMENT_D16)
tar cf - \
$(BIN_DOS) \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
cp vimd16.exe dist/vim/$(VIMRTDIR)/vim.exe
cp xxdd16.exe dist/vim/$(VIMRTDIR)/xxd.exe
cp installd16.exe dist/vim/$(VIMRTDIR)/install.exe
@@ -550,7 +498,7 @@ dosbin_ole: dist no_title.vim dist/$(COMMENT_OLE)
tar cf - \
$(BIN_DOS) \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
cp gvim_ole.exe dist/vim/$(VIMRTDIR)/gvim.exe
cp xxdw32.exe dist/vim/$(VIMRTDIR)/xxd.exe
cp vimrun.exe dist/vim/$(VIMRTDIR)/vimrun.exe
@@ -572,7 +520,7 @@ dosbin_s: dist no_title.vim dist/$(COMMENT_W32S)
tar cf - \
$(BIN_DOS) \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
cp gvim_w32s.exe dist/vim/$(VIMRTDIR)/gvim.exe
cp xxdd32.exe dist/vim/$(VIMRTDIR)/xxd.exe
cp README_w32s.txt dist/vim/$(VIMRTDIR)
@@ -580,6 +528,53 @@ dosbin_s: dist no_title.vim dist/$(COMMENT_W32S)
cp uninstalw32.exe dist/vim/$(VIMRTDIR)/uninstal.exe
cd dist && zip -9 -rD -z gvim$(VERSION)_s.zip vim <$(COMMENT_W32S)
# make Win32 lang archive
doslang: dist prepare no_title.vim dist/$(COMMENT_LANG)
-rm -rf dist/vim$(VERSION)lang.zip
-rm -rf dist/vim
mkdir dist/vim
mkdir dist/vim/$(VIMRTDIR)
mkdir dist/vim/$(VIMRTDIR)/lang
cd src && MAKEMO=yes $(MAKE) languages
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
# Add the message translations. Trick: skip ja.mo and use ja.sjis.mo instead.
# Same for cs.mo / cs.cp1250.mo, pl.mo / pl.cp1250.mo, sk.mo / sk.cp1250.mo,
# zh_CN.mo / zh_CN.cp936.mo, uk.mo / uk.cp1251.mo and ru.mo / ru.cp1251.mo.
for i in $(LANG_DOS); do \
if test "$$i" != "src/po/ja.mo" -a "$$i" != "src/po/pl.mo" -a "$$i" != "src/po/cs.mo" -a "$$i" != "src/po/sk.mo" -a "$$i" != "src/po/zh_CN.mo" -a "$$i" != "src/po/ru.mo" -a "$$i" != "src/po/uk.mo"; then \
n=`echo $$i | sed -e "s+src/po/\([-a-zA-Z0-9_]*\(.UTF-8\)*\)\(.sjis\)*\(.cp1250\)*\(.cp1251\)*\(.cp936\)*.mo+\1+"`; \
mkdir dist/vim/$(VIMRTDIR)/lang/$$n; \
mkdir dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES; \
cp $$i dist/vim/$(VIMRTDIR)/lang/$$n/LC_MESSAGES/vim.mo; \
fi \
done
cp libintl.dll dist/vim/$(VIMRTDIR)/
cd dist && zip -9 -rD -z vim$(VERSION)lang.zip vim <$(COMMENT_LANG)
# MS-DOS sources
dossrc: dist no_title.vim dist/$(COMMENT_SRC) runtime/doc/uganda.nsis.txt
-rm -rf dist/vim$(VERSION)src.zip
-rm -rf dist/vim
mkdir dist/vim
mkdir dist/vim/$(VIMRTDIR)
tar cf - \
$(SRC_ALL) \
$(SRC_DOS) \
$(SRC_AMI_DOS) \
$(SRC_DOS_UNIX) \
runtime/doc/uganda.nsis.txt \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
rmdir dist/vim/$(VIMRTDIR)/runtime
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
tar cf - \
$(SRC_DOS_BIN) \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
cd dist && zip -9 -rD -z vim$(VERSION)src.zip vim <$(COMMENT_SRC)
runtime/doc/uganda.nsis.txt: runtime/doc/uganda.txt
cd runtime/doc && $(MAKE) uganda.nsis.txt
os2bin: dist no_title.vim dist/$(COMMENT_OS2)
-rm -rf dist/vim$(VERSION)os2.zip
-rm -rf dist/vim
@@ -588,7 +583,7 @@ os2bin: dist no_title.vim dist/$(COMMENT_OS2)
tar cf - \
$(BIN_OS2) \
| (cd dist/vim/$(VIMRTDIR); tar xf -)
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -X -u no_title.vim -c ":set tx|wq" {} \;
find dist/vim/$(VIMRTDIR) -type f -exec $(VIM) -e -u no_title.vim -c ":set tx|wq" {} \;
cp vimos2.exe dist/vim/$(VIMRTDIR)/vim.exe
cp xxdos2.exe dist/vim/$(VIMRTDIR)/xxd.exe
cp teeos2.exe dist/vim/$(VIMRTDIR)/tee.exe
+45 -19
View File
@@ -1,4 +1,4 @@
README.txt for version 7.4 of Vim: Vi IMproved.
README.txt for version 7.1 of Vim: Vi IMproved.
WHAT IS VIM
@@ -9,13 +9,13 @@ on-line help, spell checking, filename completion, block operations, etc.
There is also a Graphical User Interface (GUI) available. See
"runtime/doc/vi_diff.txt" for differences with Vi.
This editor is very useful for editing programs and other plain text files.
This editor is very useful for editing programs and other plain ASCII files.
All commands are given with normal keyboard characters, so those who can type
with ten fingers can work very fast. Additionally, function keys can be
defined by the user, and the mouse can be used.
Vim runs under Amiga DOS, MS-DOS, MS-Windows (95, 98, Me, NT, 2000, XP, Vista,
7), Atari MiNT, Macintosh, BeOS, VMS, RISC OS, OS/2 and almost all flavours of
Vim currently runs under Amiga DOS, MS-DOS, MS-Windows 95/98/Me/NT/2000/XP,
Atari MiNT, Macintosh, BeOS, VMS, RISC OS, OS/2 and almost all flavours of
UNIX. Porting to other systems should not be very difficult.
@@ -32,19 +32,19 @@ an overview of currently available distributions.
DOCUMENTATION
The vim tutor is a one hour training course for beginners. Mostly it can be
started as "vimtutor". See ":help tutor" for more information.
The best is to use ":help" in Vim. If you don't have an executable yet, read
"runtime/doc/help.txt". It contains pointers to the other documentation
files. The User Manual reads like a book and is recommended to learn to use
Vim. See ":help user-manual".
The vim tutor is a one hour training course for beginners. Mostly it can be
started as "vimtutor". See ":help tutor" for more information.
COPYING
Vim is Charityware. You can use and copy it as much as you like, but you are
encouraged to make a donation to help orphans in Uganda. Please read the file
encouraged to make a donation to orphans in Uganda. Please read the file
"runtime/doc/uganda.txt" for details (do ":help uganda" inside Vim).
Summary of the license: There are no restrictions on using or distributing an
@@ -86,8 +86,6 @@ README_os2.txt OS/2
README_mac.txt Macintosh
README_vms.txt VMS
There are more README_*.txt files, depending on the distribution you used.
INFORMATION
@@ -97,19 +95,47 @@ The latest news about Vim can be found on the Vim home page:
If you have problems, have a look at the Vim FAQ:
http://vimdoc.sf.net/vimfaq.html
If you still have problems or any other questions, use one of the mailing
lists to discuss them with Vim users and developers:
http://www.vim.org/maillist.php
If nothing else works, report bugs directly:
Send bug reports to:
Bram Moolenaar <Bram@vim.org>
There are five mailing lists for Vim:
<vim@vim.org>
For discussions about using existing versions of Vim: Useful mappings,
questions, answers, where to get a specific version, etc.
<vim-dev@vim.org>
For discussions about changing Vim: New features, porting, beta-test
versions, etc.
<vim-announce@vim.org>
Announcements about new versions of Vim; also beta-test versions and
ports to different systems.
<vim-multibyte@vim.org>
For discussions about using and improving the multi-byte aspects of
Vim: XIM, Hangul, fontset, etc.
<vim-mac@vim.org>
For discussions about using and improving Vim on the Macintosh.
For more info and URLs of the archives see "http://www.vim.org/maillist.php".
NOTE:
- You can only send messages to these lists if you have subscribed!
- You need to send the messages from the same location as where you subscribed
from (to avoid spam mail).
- Maximum message size is 40000 characters.
If you want to join a maillist, send a message to
<vim-help@vim.org>
Make sure that your "From:" address is correct. Then the list server will
send you a help message.
MAIN AUTHOR
Send any other comments, patches, flowers and suggestions to:
Send any other comments, patches, pizza and suggestions to:
Bram Moolenaar E-mail: Bram@vim.org
Finsterruetihof 1
8134 Adliswil
Switzerland
Molenstraat 2
2161 HP Lisse
The Netherlands
This is the address of my parents, they will forward mail and eat the pizza.
My actual address will change a couple of times in 2006.
+1 -1
View File
@@ -1,4 +1,4 @@
README_ami.txt for version 7.4 of Vim: Vi IMproved.
README_ami.txt for version 7.1 of Vim: Vi IMproved.
This file explains the installation of Vim on Amiga systems.
See README.txt for general information about Vim.
+1 -1
View File
@@ -1,4 +1,4 @@
README_amibin.txt for version 7.4 of Vim: Vi IMproved.
README_amibin.txt for version 7.1 of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_ami.txt" for installation instructions for the Amiga.
+1 -1
View File
@@ -1,4 +1,4 @@
README_amisrc.txt for version 7.4 of Vim: Vi IMproved.
README_amisrc.txt for version 7.1 of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_ami.txt" for installation instructions for the Amiga.
+10 -7
View File
@@ -1,16 +1,19 @@
README_bindos.txt for version 7.4 of Vim: Vi IMproved.
README_bindos.txt for version 7.1 of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
These files are in the runtime archive (vim74rt.zip).
These files are in the runtime archive (vim70rt.zip).
There are several binary distributions of Vim for the PC. You would normally
pick only one of them, but it's also possible to install several.
These ones are available (the version number may differ):
vim74w32.zip Windows 95/98/NT/etc. console version
gvim74.zip Windows 95/98/NT/etc. GUI version
gvim74ole.zip Windows 95/98/NT/etc. GUI version with OLE
vim70d16.zip 16 bit DOS version
vim70d32.zip 32 bit DOS version
vim70w32.zip Windows 95/98/NT/etc. console version
gvim70.zip Windows 95/98/NT/etc. GUI version
gvim70ole.zip Windows 95/98/NT/etc. GUI version with OLE
gvim70_s.zip Windows 3.1 GUI version
You MUST also get the runtime archive (vim74rt.zip).
The sources are also available (vim74src.zip).
You MUST also get the runtime archive (vim70rt.zip).
The sources are also available (vim70src.zip).
+17 -17
View File
@@ -1,4 +1,4 @@
README_dos.txt for version 7.4 of Vim: Vi IMproved.
README_dos.txt for version 7.1 of Vim: Vi IMproved.
This file explains the installation of Vim on MS-DOS and MS-Windows systems.
See "README.txt" for general information about Vim.
@@ -47,13 +47,13 @@ These are the normal steps to install Vim from the .zip archives:
Binary and runtime Vim archives are normally unpacked in the same location,
on top of each other.
2. Unpack the zip archives. This will create a new directory "vim\vim74",
2. Unpack the zip archives. This will create a new directory "vim\vim70",
in which all the distributed Vim files are placed. Since the directory
name includes the version number, it is unlikely that you overwrite
existing files.
Examples:
pkunzip -d gvim74.zip
unzip vim74w32.zip
pkunzip -d gvim70.zip
unzip vim70w32.zip
You need to unpack the runtime archive and at least one of the binary
archives. When using more than one binary version, be careful not to
@@ -69,7 +69,7 @@ These are the normal steps to install Vim from the .zip archives:
archive and follow the instructions in the documentation.
3. Change to the new directory:
cd vim\vim74
cd vim\vim70
Run the "install.exe" program. It will ask you a number of questions about
how you would like to have your Vim setup. Among these are:
- You can tell it to write a "_vimrc" file with your preferences in the
@@ -80,8 +80,8 @@ These are the normal steps to install Vim from the .zip archives:
console or in a shell. You can select one of the directories in your
$PATH. If you skip this, you can add Vim to the search path manually:
The simplest is to add a line to your autoexec.bat. Examples:
set path=%path%;C:\vim\vim74
set path=%path%;D:\editors\vim\vim74
set path=%path%;C:\vim\vim70
set path=%path%;D:\editors\vim\vim70
- Create entries for Vim on the desktop and in the Start menu.
That's it!
@@ -93,8 +93,8 @@ Remarks:
won't show a menubar. Then you need to set the $VIM environment variable to
point to the top directory of your Vim files. Example:
set VIM=C:\editors\vim
Vim version 7.4 will look for your vimrc file in $VIM, and for the runtime
files in $VIM/vim74. See ":help $VIM" for more information.
Vim version 6.0 will look for your vimrc file in $VIM, and for the runtime
files in $VIM/vim70. See ":help $VIM" for more information.
- To avoid confusion between distributed files of different versions and your
own modified vim scripts, it is recommended to use this directory layout:
@@ -105,14 +105,14 @@ Remarks:
C:\vim\vimfiles\ftplugin\*.vim Filetype plugins
C:\vim\... Other files you made.
Distributed files:
C:\vim\vim74\vim.exe The Vim version 7.4 executable.
C:\vim\vim74\doc\*.txt The version 7.4 documentation files.
C:\vim\vim74\bugreport.vim A Vim version 7.4 script.
C:\vim\vim74\... Other version 7.4 distributed files.
C:\vim\vim70\vim.exe The Vim version 6.0 executable.
C:\vim\vim70\doc\*.txt The version 6.0 documentation files.
C:\vim\vim70\bugreport.vim A Vim version 6.0 script.
C:\vim\vim70\... Other version 6.0 distributed files.
In this case the $VIM environment variable would be set like this:
set VIM=C:\vim
Then $VIMRUNTIME will automatically be set to "$VIM\vim74". Don't add
"vim74" to $VIM, that won't work.
Then $VIMRUNTIME will automatically be set to "$VIM\vim70". Don't add
"vim70" to $VIM, that won't work.
- You can put your Vim executable anywhere else. If the executable is not
with the other Vim files, you should set $VIM. The simplest is to add a line
@@ -136,8 +136,8 @@ Remarks:
Select Properties.
5. In the Program tab, change the "Cmdline" to add "/c" and the name of the
Vim executable. Examples:
C:\command.com /c C:\vim\vim74\vim.exe
C:\command.com /c D:\editors\vim\vim74\vim.exe
C:\command.com /c C:\vim\vim70\vim.exe
C:\command.com /c D:\editors\vim\vim70\vim.exe
6. Select the font, window size, etc. that you like. If this isn't
possible, select "Advanced" in the Program tab, and deselect "MS-DOS
mode".
+42 -32
View File
@@ -1,51 +1,61 @@
README_extra.txt for version 7.4 of Vim: Vi IMproved.
README_extra.txt for version 7.1 of Vim: Vi IMproved.
These extra files of Vim are for special purposes. This README explains what
the files are for. For general information about Vim, see the "README.txt"
file.
The extra archive of Vim is to be used in combination with the source archive
(vim-7.0-src.tar.gz). The extra archive is useless without it.
For more information, see the "README.txt" file that comes with the runtime
archive (vim-7.0-rt.tar.gz). To be able to run Vim you MUST get the runtime
archive too!
The extra archive plus the source and runtime achives make up the complete
sources of Vim for all systems.
farsi/* Files for the Farsi (persian) language. If you don't
know what Farsi is, this is not for you.
Some of the things that the extra archive contains:
src/if_sniff.* Interface to SNiFF. If you don't know what SNiFF is,
this is not for you.
Farsi Files for the Farsi (persian) language. If you don't know
what Farsi is, this is not for you.
src/os_amiga.* Files for the Amiga port.
if_sniff Interface to SNiFF. If you don't know what SNiFF is, this is
not for you.
src/gui_beos.*
src/os_beos.* Files for the BeOS port.
os_amiga Files for the Amiga port.
src/os_msdos.*
src/os_dos.* Files for the MS-DOS port.
gui_riscos
os_riscos Files for the RISC OS port.
src/gui_mac.*
src/os_mac.* Files for the Mac port.
gui_beos
os_beos Files for the BeOS port.
src/os_mint.8 Files for the Atari Mint port.
os_msdos
os_dos Files for the MS-DOS port.
src/os_os2* Files for the OS/2 port.
src/tee/* Extra program for OS/2.
gui_mac
os_mac Files for the Mac port.
src/os_vms* Files for the VMS port.
os_mint Files for the Atari Mint port.
src/os_w32*
src/os_win32.* Files for the Win32 port.
os_os2 Files for the OS/2 port.
tee Extra program for OS/2.
src/gui_w32.* Files for the Win32 GUI.
src/gui_w48.* Files for the Win32 and Win16 GUI.
src/Make_mvc.mak MS Visual C++ makefile for the Win32 GUI.
runtime/rgb.txt File with color definitions for the Win32 GUI.
os_vms Files for the VMS port.
src/if_ole.* OLE automation interface, for MS Windows 95 and NT.
os_w32
os_win32 Files for the Win32 port.
src/VisVim/* Integration of Win32 GUI with MS Visual Developer
Studio.
gui_w32 Files for the Win32 GUI.
gui_w48 Files for the Win32 and Win16 GUI.
Make_mvc.mak MS Visual C++ makefile for the Win32 GUI.
rgb.txt File with color definitions for the Win32 GUI.
src/GvimExt/* DLL for the "Edit with Vim" context menu entry
if_ole OLE automation interface, for MS Windows 95 and NT.
nsis/* NSIS script to build the self-installing MS-Windows exe
VisVim Integration of Win32 GUI with MS Visual Developer Studio.
runtime/doc/*.man Preprocessed manual pages.
GvimExt DLL for the "Edit with Vim" context menu entry
runtime/macros/file_select.vim Vim script to browse directories (Unix only).
nsis NSIS script to build the self-installing MS-Windows exe
*.man Preprocessed manual pages.
file_select.vim Vim script to browse directories (Unix only).
+5
View File
@@ -0,0 +1,5 @@
README_lang.txt for version 7.1 of Vim: Vi IMproved.
This file contains files for non-English languages:
- Translated messages.
- Translated menus.
+1 -1
View File
@@ -1,4 +1,4 @@
README_mac.txt for version 7.4 of Vim: Vi IMproved.
README_mac.txt for version 7.1 of Vim: Vi IMproved.
This file explains the installation of Vim on Macintosh systems.
See "README.txt" for general information about Vim.
+2 -2
View File
@@ -1,4 +1,4 @@
README_ole.txt for version 7.4 of Vim: Vi IMproved.
README_ole.txt for version 7.1 of Vim: Vi IMproved.
This archive contains gvim.exe with OLE interface and VisVim.
This version of gvim.exe can also load a number of interface dynamically (you
@@ -16,5 +16,5 @@ Win32 with OLE - "MS-Windows 32 bit GUI version with OLE support"
For further information, type this inside Vim:
:help if_ole
Furthermore, this archive contains VISVIM.DLL. It can be used to integrate
Futhermore, this archive contains VISVIM.DLL. It can be used to integrate
the OLE gvim with Microsoft Visual Developer Studio. See VisVim/README.txt.
+12 -12
View File
@@ -1,32 +1,32 @@
README_os2.txt for version 7.4 of Vim: Vi IMproved.
README_os2.txt for version 7.1 of Vim: Vi IMproved.
This file explains the installation of Vim on OS/2 systems.
See "README.txt" for general information about Vim.
NOTE: You will need two archives:
vim74rt.zip contains the runtime files (same as for the PC version)
vim74os2.zip contains the OS/2 executables
vim71rt.zip contains the runtime files (same as for the PC version)
vim71os2.zip contains the OS/2 executables
1. Go to the directory where you want to put the Vim files. Examples:
cd C:\
cd D:\editors
2. Unpack the zip archives. This will create a new directory "vim/vim74",
2. Unpack the zip archives. This will create a new directory "vim/vim71",
in which all the distributed Vim files are placed. Since the directory
name includes the version number, it is unlikely that you overwrite
existing files.
Examples:
pkunzip -d vim74os2.zip
unzip vim74os2.zip
pkunzip -d vim71os2.zip
unzip vim71os2.zip
After you unpacked the files, you can still move the whole directory tree
to another location.
3. Add the directory where vim.exe is to your path. The simplest is to add a
line to your autoexec.bat. Examples:
set path=%path%;C:\vim\vim74
set path=%path%;D:\editors\vim\vim74
set path=%path%;C:\vim\vim71
set path=%path%;D:\editors\vim\vim71
That's it!
@@ -41,10 +41,10 @@ Extra remarks:
C:\vim\_viminfo Dynamic info for 'viminfo'.
C:\vim\... Other files you made.
Distributed files:
C:\vim\vim74\vim.exe The Vim version 7.4 executable.
C:\vim\vim74\doc\*.txt The version 7.4 documentation files.
C:\vim\vim74\bugreport.vim A Vim version 7.4 script.
C:\vim\vim74\... Other version 7.4 distributed files.
C:\vim\vim71\vim.exe The Vim version 7.1 executable.
C:\vim\vim71\doc\*.txt The version 7.1 documentation files.
C:\vim\vim71\bugreport.vim A Vim version 7.1 script.
C:\vim\vim71\... Other version 7.1 distributed files.
In this case the $VIM environment variable would be set like this:
set VIM=C:\vim
+68 -55
View File
@@ -1,84 +1,51 @@
README_zOS.txt for version 7.4 of Vim: Vi IMproved.
README_os_390.txt for version 7.1 of Vim: Vi IMproved.
This readme explains how to build Vim on z/OS. Formerly called OS/390.
See "README.txt" for general information about Vim.
Welcome to the OS/390 Unix port of VIM.
Most likely there are not many users out there using Vim on z/OS. So chances
are good, that some bugs are still undiscovered.
ATTENTION: THIS IS AN _ALPHA_ VERSION!!!
I expect you to know how to handle alpha software!
Getting the source to z/OS:
==========================
This port was done by Ralf Schandl <schandl@de.ibm.com>.
This port is not maintained or supported by IBM!!
First get the source code in one big tar file and ftp it a binary to z/OS. If
the tar file is initially compressed with gzip (tar.gz) or bzip2 (tar.bz2)
uncompress it on your PC, as this tools are (most likely) not available on the
mainframe.
To reduce the size of the tar file you might compress it into a zip file. On
z/OS Unix you might have the command "jar" from java to uncompress a zip. Use:
jar xvf <zip file name>
Unpack the tar file on z/OS with
pax -o from=ISO8859-1,to=IBM-1047 -rf vim.tar
Note: The Vim source contains a few bitmaps etc which will be destroyed by
this command, but these files are not needed on zOS (at least not for the
console version).
For the list of changes see runtime/doc/os_390.txt.
Compiling:
==========
----------
Vim can be compiled with or without GUI support. For 7.4 only the compilation
without GUI was tested. Below is a section about compiling with X11 but this
is from an earlier version of Vim.
Note: After the file configure was created via autoconf, it had been
handedited, to make the test for ICEConnectionNumber work.
DO NOT run autoconf again!
Console only:
-------------
Without X11:
If you build VIM without X11 support, compiling and building is nearly
straightforward.
Change to the vim directory and do:
straightforward. The only restriction is, that you can't call make from the
VIM toplevel directory. Change to the src directory first and call make from
there. Here is a what to do:
# Don't use c89!
# Make additional symbols visible.
# Allow intermixing of compiler options and files.
$ export CC=cc
$ export CFLAGS=-D_ALL_SOURCE
$ export _CC_CCMODE=1
$./configure --with-features=big --without-x --enable-gui=no
$./configure --enable-max-features --without-x --enable-gui=no
$ cd src
$ make
There may be warnings:
- include files not found (libc, sys/param.h, ...)
- Redeclaration of ... differs from ...
-- just ignore them.
$ make test
This will produce lots of garbage on your screen (including error
messages). Don't worry.
If the test stops at one point in vim (might happen in test 11), just
press :q!
Expected test failures:
11: If you don't have gzip installed
24: test of backslash sequences in regexp are ASCII dependent
42: Multibyte is not supported on z/OS
55: ASCII<->EBCDIC sorting
57: ASCII<->EBCDIC sorting
58: Spell checking is not supported with EBCDIC
71: Blowfish encryption doesn't work
Note: Test 28 will be reported as failed. This is because diff can't
compare files containing '\0' characters. Test 11 will fail if you
don't have gzip.
$ make install
With X11:
---------
WARNING: This instruction was not tested with Vim 7.4.
There are two ways for building VIM with X11 support. The first way is simple
and results in a big executable (~13 Mb), the second needs a few additional
@@ -87,6 +54,8 @@ you want Motif.
The easy way:
$ export CC=cc
$ export CFLAGS="-D_ALL_SOURCE -W c,dll"
$ export LDFLAGS="-W l,dll"
$ export _CC_CCMODE=1
$ ./configure --enable-max-features --enable-gui=motif
$ cd src
@@ -96,7 +65,7 @@ you want Motif.
The smarter way:
Make VIM as described above. Then create a file named 'link.sed' with the
following content (see src/link.390):
following contense:
s/-lXext *//g
s/-lXmu *//g
@@ -115,3 +84,47 @@ you want Motif.
See the Makefile and the file link.sh on how link.sed is used.
Hint:
-----
Use the online help! (See weaknesses below.)
Example:
Enter ':help syntax' and then press <TAB> several times, you will switch
through all help items containing 'syntax'. Press <ENTER> on the one you are
interested at. Or press <Ctrl-D> and you will get a list of all items printed
that contain 'syntax'.
The helpfiles contains cross-references. Links are between '|'. Position the
cursor on them and press <Ctrl-]> to follow this link. Use <Ctrl-T> to jump
back.
Known weaknesses:
-----------------
- You can't call make from the toplevel directory, you have to do a 'cd src'
first. If you do it, make will call configure again. I don't know why and
didn't investigate it, there were more important things to do. If you can
make it work drop me a note.
- The documentation was not updated for this alpha release. It contains lot of
ASCII dependencies, especially in examples.
- Digraphs are dependent on code page 1047. Digraphs are used to enter
characters that normally cannot be entered by an ordinary keyboard.
See ":help digraphs".
- Using 'ga' to show the code of the character under the cursor shows the
correct dec/hex/oct values, but the other informations might be missing or
wrong.
- The sed syntax file doesn't work, it is ASCII dependent.
Bugs:
-----
If you find a bug please inform me (schandl@de.ibm.com), don't disturb Bram
Moolenaar. It's most likely a bug I introduced during porting or some ASCII
dependency I didn't notice.
Feedback:
---------
Feedback welcome! Just drop me a note.
+5 -3
View File
@@ -1,8 +1,10 @@
README_src.txt for version 7.4 of Vim: Vi IMproved.
README_src.txt for version 7.1 of Vim: Vi IMproved.
The source archive contains the files needed to compile Vim on Unix systems.
It is packed for Unix systems (NL line separator).
It is packed for Unix systems (NL line separator). It is also used for other
systems in combination with the extra archive (vim-7.0-extra.tar.gz, in the
"extra" directory of ftp.vim.org).
For more information, see the README.txt file that comes with the runtime
archive (vim-7.4-rt.tar.gz). To be able to run Vim you MUST get the runtime
archive (vim-7.0-rt.tar.gz). To be able to run Vim you MUST get the runtime
archive too!
+2 -2
View File
@@ -1,8 +1,8 @@
README_srcdos.txt for version 7.4 of Vim: Vi IMproved.
README_srcdos.txt for version 7.1 of Vim: Vi IMproved.
See "README.txt" for general information about Vim.
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
These files are in the runtime archive (vim74rt.zip).
These files are in the runtime archive (vim70rt.zip).
The DOS source archive contains the files needed to compile Vim on MS-DOS or
+1 -1
View File
@@ -1,4 +1,4 @@
README_unix.txt for version 7.4 of Vim: Vi IMproved.
README_unix.txt for version 7.1 of Vim: Vi IMproved.
This file explains the installation of Vim on Unix systems.
See "README.txt" for general information about Vim.
+1 -1
View File
@@ -1,4 +1,4 @@
README_vms.txt for version 7.4 of Vim: Vi IMproved.
README_vms.txt for version 7.1 of Vim: Vi IMproved.
This file explains the installation of Vim on VMS systems.
See "README.txt" in the runtime archive for information about Vim.
+1 -1
View File
@@ -1,4 +1,4 @@
README_w32s.txt for version 7.4 of Vim: Vi IMproved.
README_w32s.txt for version 7.1 of Vim: Vi IMproved.
This archive contains the gvim.exe that was specifically compiled for use in
the Win32s subsystem in MS-Windows 3.1 and 3.11.
+12 -25
View File
@@ -1,11 +1,11 @@
# NSIS file to create a self-installing exe for Vim.
# It requires NSIS version 2.0 or later.
# Last Change: 2010 Jul 30
# Last change: 2004 May 02
# WARNING: if you make changes to this script, look out for $0 to be valid,
# because uninstall deletes most files in $0.
# Location of gvim_ole.exe, vimw32.exe, GvimExt/*, etc.
# Location of gvim_ole.exe, vimd32.exe, GvimExt/*, etc.
!define VIMSRC "..\src"
# Location of runtime files
@@ -22,25 +22,22 @@
!define HAVE_NLS
!define VER_MAJOR 7
!define VER_MINOR 4
!define VER_MINOR 1
# ----------- No configurable settings below this line -----------
!include UpgradeDLL.nsh # for VisVim.dll
!include LogicLib.nsh
!include x64.nsh
Name "Vim ${VER_MAJOR}.${VER_MINOR}"
OutFile gvim${VER_MAJOR}${VER_MINOR}.exe
CRCCheck force
SetCompressor lzma
SetDatablockOptimize on
RequestExecutionLevel highest
ComponentText "This will install Vim ${VER_MAJOR}.${VER_MINOR} on your computer."
DirText "Choose a directory to install Vim (must end in 'vim')"
Icon icons\vim_16c.ico
# NSIS2 uses a different strategy with six different images in a strip...
# NSIS2 uses a different strategy with six diferent images in a strip...
#EnabledBitmap icons\enabled.bmp
#DisabledBitmap icons\disabled.bmp
UninstallText "This will uninstall Vim ${VER_MAJOR}.${VER_MINOR} from your system."
@@ -56,9 +53,6 @@ LicenseData ${VIMRT}\doc\uganda.nsis.txt
!packhdr temp.dat "upx --best --compress-icons=1 temp.dat"
!endif
SetCompressor /SOLID lzma
XPStyle on
# This adds '\vim' to the user choice automagically. The actual value is
# obtained below with ReadINIStr.
InstallDir "$PROGRAMFILES\Vim"
@@ -145,7 +139,7 @@ FunctionEnd
Function .onInstSuccess
WriteUninstaller vim${VER_MAJOR}${VER_MINOR}\uninstall-gui.exe
MessageBox MB_YESNO|MB_ICONQUESTION \
"The installation process has been successful. Happy Vimming! \
"The installation process has been successfull. Happy Vimming! \
$\n$\n Do you want to see the README file now?" IDNO NoReadme
Exec '$0\gvim.exe -R "$0\README.txt"'
NoReadme:
@@ -250,10 +244,11 @@ Section "Vim console program (vim.exe)"
ReadRegStr $R0 HKLM \
"SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
IfErrors 0 lbl_winnt
# Windows 95/98/ME: not supported
# Windows 95/98/ME
File /oname=vim.exe ${VIMSRC}\vimd32.exe
Goto lbl_done
lbl_winnt:
# Windows NT/2000/XP and later
# Windows NT/2000/XT
File /oname=vim.exe ${VIMSRC}\vimw32.exe
lbl_done:
StrCpy $2 "$2 vim view vimdiff"
@@ -295,21 +290,13 @@ Section "Add an Edit-with-Vim context menu entry"
SetOutPath $0
ClearErrors
SetOverwrite try
${If} ${RunningX64}
File /oname=gvimext.dll ${VIMSRC}\GvimExt\gvimext64.dll
${Else}
File /oname=gvimext.dll ${VIMSRC}\GvimExt\gvimext.dll
${EndIf}
File /oname=gvimext.dll ${VIMSRC}\GvimExt\gvimext.dll
IfErrors 0 GvimExtDone
# Can't copy gvimext.dll, create it under another name and rename it on
# next reboot.
GetTempFileName $3 $0
${If} ${RunningX64}
File /oname=$3 ${VIMSRC}\GvimExt\gvimext64.dll
${Else}
File /oname=$3 ${VIMSRC}\GvimExt\gvimext.dll
${EndIf}
File /oname=$3 ${VIMSRC}\GvimExt\gvimext.dll
Rename /REBOOTOK $3 $0\gvimext.dll
GvimExtDone:
@@ -451,8 +438,8 @@ Section Uninstall
AskRemove:
MessageBox MB_YESNO|MB_ICONQUESTION \
"Remove all files in your $1\vimfiles directory?$\n \
$\nCAREFUL: If you have created something there that you want to keep, click No" IDNO Fin
"Remove all files in your $1\vimfiles directory? \
$\nIf you have created something there that you want to keep, click No" IDNO Fin
RMDir /r $1\vimfiles
NoRemove:
+32 -72
View File
@@ -1,16 +1,14 @@
"------------------------------------------------------------------------------
" Description: Perform Ada specific completion & tagging.
" Language: Ada (2005)
" $Id: ada.vim 887 2008-07-08 14:29:01Z krischik $
" Maintainer: Martin Krischik <krischik@users.sourceforge.net>
" Taylor Venable <taylor@metasyntax.net>
" $Id$
" Maintainer: Martin Krischik
" Neil Bird <neil@fnxweb.com>
" Ned Okie <nokie@radford.edu>
" $Author: krischik $
" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $
" Version: 4.6
" $Revision: 887 $
" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/ada.vim $
" $Author$
" $Date$
" Version: 4.2
" $Revision$
" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/ada.vim $
" History: 24.05.2006 MK Unified Headers
" 26.05.2006 MK ' should not be in iskeyword.
" 16.07.2006 MK Ada-Mode as vim-ball
@@ -19,18 +17,12 @@
" 05.11.2006 MK Bram suggested not to use include protection for
" autoload
" 05.11.2006 MK Bram suggested to save on spaces
" 08.07.2007 TV fix mapleader problems.
" 09.05.2007 MK Session just won't work no matter how much
" tweaking is done
" 19.09.2007 NO still some mapleader problems
" Help Page: ft-ada-functions
"------------------------------------------------------------------------------
if version < 700
finish
endif
let s:keepcpo= &cpo
set cpo&vim
" Section: Constants {{{1
"
@@ -433,49 +425,30 @@ function ada#Create_Tags (option)
execute '!ctags --excmd=number ' . l:Filename
endfunction ada#Create_Tags
" Section: ada#Switch_Session {{{1
"
function ada#Switch_Session (New_Session)
"
" you should not save to much date into the seession since they will
" be sourced
"
let l:sessionoptions=&sessionoptions
try
set sessionoptions=buffers,curdir,folds,globals,resize,slash,tabpages,tabpages,unix,winpos,winsize
if a:New_Session != v:this_session
"
" We actualy got a new session - otherwise there
" is nothing to do.
"
if strlen (v:this_session) > 0
execute 'mksession! ' . v:this_session
endif
let v:this_session = a:New_Session
"if filereadable (v:this_session)
"execute 'source ' . v:this_session
"endif
augroup ada_session
autocmd!
autocmd VimLeavePre * execute 'mksession! ' . v:this_session
augroup END
"if exists ("g:Tlist_Auto_Open") && g:Tlist_Auto_Open
"TlistOpen
"endif
function ada#Switch_Session (New_Session) "{{{1
if a:New_Session != v:this_session
"
" We actualy got a new session - otherwise there
" is nothing to do.
"
if strlen (v:this_session) > 0
execute 'mksession! ' . v:this_session
endif
finally
let &sessionoptions=l:sessionoptions
endtry
let v:this_session = a:New_Session
if filereadable (v:this_session)
execute 'source ' . v:this_session
endif
augroup ada_session
autocmd!
autocmd VimLeavePre * execute 'mksession! ' . v:this_session
augroup END
endif
return
endfunction ada#Switch_Session
endfunction ada#Switch_Session "}}}1
" Section: GNAT Pretty Printer folding {{{1
"
@@ -573,23 +546,18 @@ function ada#Map_Menu (Text, Keys, Command)
\ a:Keys .
\" <C-O>:" . a:Command . "<CR>"
else
if exists("g:mapleader")
let l:leader = g:mapleader
else
let l:leader = '\'
endif
execute
\ "50amenu " .
\ "Ada." . escape(a:Text, ' ') .
\ "<Tab>" . escape(l:leader . "a" . a:Keys , '\') .
\ "<Tab>" . escape(g:mapleader . "a" . a:Keys , '\') .
\ " :" . a:Command . "<CR>"
execute
\ "nnoremap <buffer>" .
\ escape(l:leader . "a" . a:Keys , '\') .
\ escape(g:mapleader . "a" . a:Keys , '\') .
\" :" . a:Command
execute
\ "inoremap <buffer>" .
\ escape(l:leader . "a" . a:Keys , '\') .
\ escape(g:mapleader . "a" . a:Keys , '\') .
\" <C-O>:" . a:Command
endif
return
@@ -598,15 +566,10 @@ endfunction
" Section: ada#Map_Popup {{{2
"
function ada#Map_Popup (Text, Keys, Command)
if exists("g:mapleader")
let l:leader = g:mapleader
else
let l:leader = '\'
endif
execute
\ "50amenu " .
\ "PopUp." . escape(a:Text, ' ') .
\ "<Tab>" . escape(l:leader . "a" . a:Keys , '\') .
\ "<Tab>" . escape(g:mapleader . "a" . a:Keys , '\') .
\ " :" . a:Command . "<CR>"
call ada#Map_Menu (a:Text, a:Keys, a:Command)
@@ -621,9 +584,6 @@ lockvar g:ada#Comment
lockvar! g:ada#Keywords
lockvar! g:ada#Ctags_Kinds
let &cpo = s:keepcpo
unlet s:keepcpo
finish " 1}}}
"------------------------------------------------------------------------------
+6 -6
View File
@@ -1,13 +1,13 @@
"------------------------------------------------------------------------------
" Description: Vim Ada omnicompletion file
" Language: Ada (2005)
" $Id: adacomplete.vim 887 2008-07-08 14:29:01Z krischik $
" $Id$
" Maintainer: Martin Krischik
" $Author: krischik $
" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $
" Version: 4.6
" $Revision: 887 $
" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/adacomplete.vim $
" $Author$
" $Date$
" Version: 4.2
" $Revision$
" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/adacomplete.vim $
" History: 24.05.2006 MK Unified Headers
" 26.05.2006 MK improved search for begin of word.
" 16.07.2006 MK Ada-Mode as vim-ball
+2 -28
View File
@@ -1,10 +1,8 @@
" Vim completion script
" Language: C
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2012 Jun 20
" Last Change: 2006 May 08
let s:cpo_save = &cpo
set cpo&vim
" This function is used for the 'omnifunc' option.
function! ccomplete#Complete(findstart, base)
@@ -121,27 +119,6 @@ function! ccomplete#Complete(findstart, base)
" TODO: join previous line if it makes sense
let line = getline('.')
let col = col('.')
if stridx(strpart(line, 0, col), ';') != -1
" Handle multiple declarations on the same line.
let col2 = col - 1
while line[col2] != ';'
let col2 -= 1
endwhile
let line = strpart(line, col2 + 1)
let col -= col2
endif
if stridx(strpart(line, 0, col), ',') != -1
" Handle multiple declarations on the same line in a function
" declaration.
let col2 = col - 1
while line[col2] != ','
let col2 -= 1
endwhile
if strpart(line, col2 + 1, col - col2 - 1) =~ ' *[^ ][^ ]* *[^ ]'
let line = strpart(line, col2 + 1)
let col -= col2
endif
endif
if len(items) == 1
" Completing one word and it's a local variable: May add '[', '.' or
" '->'.
@@ -500,7 +477,7 @@ function! s:StructMembers(typename, items, all)
endif
if !cached
while 1
exe 'silent! keepj noautocmd ' . n . 'vimgrep /\t' . typename . '\(\t\|$\)/j ' . fnames
exe 'silent! ' . n . 'vimgrep /\t' . typename . '\(\t\|$\)/j ' . fnames
let qflist = getqflist()
if len(qflist) > 0 || match(typename, "::") < 0
@@ -605,6 +582,3 @@ function! s:SearchMembers(matches, items, all)
endfor
return res
endfunc
let &cpo = s:cpo_save
unlet s:cpo_save
File diff suppressed because one or more lines are too long
+8 -8
View File
@@ -1,14 +1,14 @@
"------------------------------------------------------------------------------
" Description: Vim Ada/Dec Ada compiler file
" Language: Ada (Dec Ada)
" $Id: decada.vim 887 2008-07-08 14:29:01Z krischik $
" $Id$
" Copyright: Copyright (C) 2006 Martin Krischik
" Maintainer: Martin Krischik <krischik@users.sourceforge.net>
" $Author: krischik $
" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $
" Version: 4.6
" $Revision: 887 $
" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/decada.vim $
" Maintainer: Martin Krischik
" $Author$
" $Date$
" Version: 4.2
" $Revision$
" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/decada.vim $
" History: 21.07.2006 MK New Dec Ada
" 15.10.2006 MK Bram's suggestion for runtime integration
" 05.11.2006 MK Bram suggested not to use include protection for
@@ -45,7 +45,7 @@ function decada#Set_Session (...) dict " {{{1
call ada#Switch_Session (a:1)
elseif argc() == 0 && strlen (v:servername) > 0
call ada#Switch_Session (
\ expand('~')[0:-2] . ".vimfiles.session]decada_" .
\ expand('~')[0:-2] . ".vimfiles.session]" .
\ v:servername . ".vim")
endif
return
+326 -451
View File
@@ -1,8 +1,8 @@
" ---------------------------------------------------------------------
" getscript.vim
" Author: Charles E. Campbell
" Date: Apr 17, 2013
" Version: 35
" Author: Charles E. Campbell, Jr.
" Date: May 11, 2007
" Version: 27
" Installing: :help glvs-install
" Usage: :help glvs
"
@@ -11,42 +11,23 @@
" ---------------------------------------------------------------------
" Initialization: {{{1
" if you're sourcing this file, surely you can't be
" expecting vim to be in its vi-compatible mode!
if exists("g:loaded_getscript")
finish
endif
let g:loaded_getscript= "v35"
" expecting vim to be in its vi-compatible mode
if &cp
echoerr "GetLatestVimScripts is not vi-compatible; not loaded (you need to set nocp)"
finish
endif
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of getscript needs vim 7.2"
echohl Normal
finish
endif
let s:keepcpo = &cpo
set cpo&vim
"DechoTabOn
" ---------------------------
" Global Variables: {{{1
" ---------------------------
" Cygwin Detection ------- {{{2
if !exists("g:getscript_cygwin")
if has("win32") || has("win95") || has("win64") || has("win16")
if &shell =~ '\%(\<bash\>\|\<zsh\>\)\%(\.exe\)\=$'
let g:getscript_cygwin= 1
else
let g:getscript_cygwin= 0
endif
else
let g:getscript_cygwin= 0
endif
if exists("g:loaded_getscript")
finish
endif
let g:loaded_getscript= "v27"
" wget vs curl {{{2
" ---------------------------------------------------------------------
" Global Variables: {{{1
" allow user to change the command for obtaining scripts (does fetch work?)
if !exists("g:GetLatestVimScripts_wget")
if executable("wget")
let g:GetLatestVimScripts_wget= "wget"
@@ -74,11 +55,6 @@ if !exists("g:GetLatestVimScripts_allowautoinstall")
let g:GetLatestVimScripts_allowautoinstall= 1
endif
" set up default scriptaddr address
if !exists("g:GetLatestVimScripts_scriptaddr")
let g:GetLatestVimScripts_scriptaddr = 'http://vim.sourceforge.net/script.php?script_id='
endif
"" For debugging:
"let g:GetLatestVimScripts_wget = "echo"
"let g:GetLatestVimScripts_options = "options"
@@ -103,9 +79,7 @@ if g:GetLatestVimScripts_allowautoinstall
endif
endif
if exists("g:GetLatestVimScripts_autoinstalldir") && isdirectory(g:GetLatestVimScripts_autoinstalldir)
let s:autoinstall= g:GetLatestVimScripts_autoinstalldir"
elseif exists('$HOME') && isdirectory(expand("$HOME")."/".s:dotvim)
if exists('$HOME') && isdirectory(expand("$HOME")."/".s:dotvim)
let s:autoinstall= $HOME."/".s:dotvim
endif
" call Decho("s:autoinstall<".s:autoinstall.">")
@@ -119,6 +93,262 @@ com! -nargs=0 GetLatestVimScripts call getscript#GetLatestVimScripts()
com! -nargs=0 GetScript call getscript#GetLatestVimScripts()
silent! com -nargs=0 GLVS call getscript#GetLatestVimScripts()
" ---------------------------------------------------------------------
" GetOneScript: (Get Latest Vim Script) this function operates {{{1
" on the current line, interpreting two numbers and text as
" ScriptID, SourceID, and Filename.
" It downloads any scripts that have newer versions from vim.sf.net.
fun! s:GetOneScript(...)
" call Dfunc("GetOneScript()")
" set options to allow progress to be shown on screen
let t_ti= &t_ti
let t_te= &t_te
let rs = &rs
set t_ti= t_te= nors
" put current line on top-of-screen and interpret it into
" a script identifer : used to obtain webpage
" source identifier : used to identify current version
" and an associated comment: used to report on what's being considered
if a:0 >= 3
let scriptid = a:1
let srcid = a:2
let fname = a:3
let cmmnt = ""
" call Decho("scriptid<".scriptid.">")
" call Decho("srcid <".srcid.">")
" call Decho("fname <".fname.">")
else
let curline = getline(".")
if curline =~ '^\s*#'
" call Dret("GetOneScript : skipping a pure comment line")
return
endif
let parsepat = '^\s*\(\d\+\)\s\+\(\d\+\)\s\+\(.\{-}\)\(\s*#.*\)\=$'
try
let scriptid = substitute(curline,parsepat,'\1','e')
catch /^Vim\%((\a\+)\)\=:E486/
let scriptid= 0
endtry
try
let srcid = substitute(curline,parsepat,'\2','e')
catch /^Vim\%((\a\+)\)\=:E486/
let srcid= 0
endtry
try
let fname= substitute(curline,parsepat,'\3','e')
catch /^Vim\%((\a\+)\)\=:E486/
let fname= ""
endtry
try
let cmmnt= substitute(curline,parsepat,'\4','e')
catch /^Vim\%((\a\+)\)\=:E486/
let cmmnt= ""
endtry
" call Decho("curline <".curline.">")
" call Decho("parsepat<".parsepat.">")
" call Decho("scriptid<".scriptid.">")
" call Decho("srcid <".srcid.">")
" call Decho("fname <".fname.">")
endif
if scriptid == 0 || srcid == 0
" When looking for :AutoInstall: lines, skip scripts that
" have 0 0 scriptname
" call Dret("GetOneScript : skipping a scriptid==srcid==0 line")
return
endif
let doautoinstall= 0
if fname =~ ":AutoInstall:"
" call Decho("fname<".fname."> has :AutoInstall:...")
let aicmmnt= substitute(fname,'\s\+:AutoInstall:\s\+',' ','')
" call Decho("aicmmnt<".aicmmnt."> s:autoinstall=".s:autoinstall)
if s:autoinstall != ""
let doautoinstall = g:GetLatestVimScripts_allowautoinstall
endif
else
let aicmmnt= fname
endif
" call Decho("aicmmnt<".aicmmnt.">: doautoinstall=".doautoinstall)
exe "norm z\<CR>"
redraw!
" call Decho('considering <'.aicmmnt.'> scriptid='.scriptid.' srcid='.srcid)
echomsg 'considering <'.aicmmnt.'> scriptid='.scriptid.' srcid='.srcid
" grab a copy of the plugin's vim.sf.net webpage
let scriptaddr = 'http://vim.sf.net/script.php?script_id='.scriptid
let tmpfile = tempname()
let v:errmsg = ""
" make up to three tries at downloading the description
let itry= 1
while itry <= 3
" call Decho("try#".itry." to download description of <".aicmmnt."> with addr=".scriptaddr)
if has("win32") || has("win16") || has("win95")
" call Decho("silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".tmpfile.' "'.scriptaddr.'"')
exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".tmpfile.' "'.scriptaddr.'"'
else
" call Decho("silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".tmpfile." '".scriptaddr."'")
exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".tmpfile." '".scriptaddr."'"
endif
if itry == 1
exe "silent vsplit ".tmpfile
else
silent! e %
endif
" find the latest source-id in the plugin's webpage
silent! 1
let findpkg= search('Click on the package to download','W')
if findpkg > 0
break
endif
let itry= itry + 1
endwhile
" call Decho(" --- end downloading tries while loop --- itry=".itry)
" testing: did finding "Click on the package..." fail?
if findpkg == 0 || itry >= 4
silent q!
call delete(tmpfile)
" restore options
let &t_ti = t_ti
let &t_te = t_te
let &rs = rs
let s:downerrors = s:downerrors + 1
" call Decho("***warning*** couldn'".'t find "Click on the package..." in description page for <'.aicmmnt.">")
echomsg "***warning*** couldn'".'t find "Click on the package..." in description page for <'.aicmmnt.">"
" call Dret("GetOneScript : srch for /Click on the package/ failed")
return
endif
" call Decho('found "Click on the package to download"')
let findsrcid= search('src_id=','W')
if findsrcid == 0
silent q!
call delete(tmpfile)
" restore options
let &t_ti = t_ti
let &t_te = t_te
let &rs = rs
let s:downerrors = s:downerrors + 1
" call Decho("***warning*** couldn'".'t find "src_id=" in description page for <'.aicmmnt.">")
echomsg "***warning*** couldn'".'t find "src_id=" in description page for <'.aicmmnt.">"
" call Dret("GetOneScript : srch for /src_id/ failed")
return
endif
" call Decho('found "src_id=" in description page')
let srcidpat = '^\s*<td class.*src_id=\(\d\+\)">\([^<]\+\)<.*$'
let latestsrcid= substitute(getline("."),srcidpat,'\1','')
let sname = substitute(getline("."),srcidpat,'\2','') " script name actually downloaded
" call Decho("srcidpat<".srcidpat."> latestsrcid<".latestsrcid."> sname<".sname.">")
silent q!
call delete(tmpfile)
" convert the strings-of-numbers into numbers
let srcid = srcid + 0
let latestsrcid = latestsrcid + 0
" call Decho("srcid=".srcid." latestsrcid=".latestsrcid." sname<".sname.">")
" has the plugin's most-recent srcid increased, which indicates
" that it has been updated
if latestsrcid > srcid
" call Decho("[latestsrcid=".latestsrcid."] <= [srcid=".srcid."]: need to update <".sname.">")
let s:downloads= s:downloads + 1
if sname == bufname("%")
" GetLatestVimScript has to be careful about downloading itself
let sname= "NEW_".sname
endif
" the plugin has been updated since we last obtained it, so download a new copy
" call Decho("...downloading new <".sname.">")
echomsg "...downloading new <".sname.">"
if has("win32") || has("gui_win32") || has("gui_win32s") || has("win16") || has("win64") || has("win32unix") || has("win95")
" call Decho("windows: silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".sname.' "'.'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid.'"')
exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".sname.' "'.'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid.'"'
else
" call Decho("unix: silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".sname." '".'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid."'")
exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".sname." '".'http://vim.sf.net/scripts/download_script.php?src_id='.latestsrcid."'"
endif
" AutoInstall: only if doautoinstall is so indicating
if doautoinstall
" call Decho("attempting to do autoinstall: getcwd<".getcwd()."> filereadable(".sname.")=".filereadable(sname))
if filereadable(sname)
" call Decho("move <".sname."> to ".s:autoinstall)
exe "silent !".g:GetLatestVimScripts_mv." ".sname." ".s:autoinstall
let curdir= escape(substitute(getcwd(),'\','/','ge'),"|[]*'\" #")
" call Decho("exe cd ".s:autoinstall)
exe "cd ".s:autoinstall
" decompress
if sname =~ '\.bz2$'
" call Decho("decompress: attempt to bunzip2 ".sname)
exe "silent !bunzip2 ".sname
let sname= substitute(sname,'\.bz2$','','')
" call Decho("decompress: new sname<".sname."> after bunzip2")
elseif sname =~ '\.gz$'
" call Decho("decompress: attempt to gunzip ".sname)
exe "silent !gunzip ".sname
let sname= substitute(sname,'\.gz$','','')
" call Decho("decompress: new sname<".sname."> after gunzip")
endif
" distribute archive(.zip, .tar, .vba) contents
if sname =~ '\.zip$'
" call Decho("dearchive: attempt to unzip ".sname)
exe "silent !unzip -o ".sname
elseif sname =~ '\.tar$'
" call Decho("dearchive: attempt to untar ".sname)
exe "silent !tar -xvf ".sname
elseif sname =~ '\.vba$'
" call Decho("dearchive: attempt to handle a vimball: ".sname)
silent 1split
exe "silent e ".sname
silent so %
silent q
endif
if sname =~ '.vim$'
" call Decho("dearchive: attempt to simply move ".sname." to plugin")
exe "silent !".g:GetLatestVimScripts_mv." ".sname." plugin"
endif
" helptags step
let docdir= substitute(&rtp,',.*','','e')."/doc"
" call Decho("helptags: docdir<".docdir.">")
exe "helptags ".docdir
exe "cd ".curdir
endif
if fname !~ ':AutoInstall:'
let modline=scriptid." ".latestsrcid." :AutoInstall: ".fname.cmmnt
else
let modline=scriptid." ".latestsrcid." ".fname.cmmnt
endif
else
let modline=scriptid." ".latestsrcid." ".fname.cmmnt
endif
" update the data in the <GetLatestVimScripts.dat> file
call setline(line("."),modline)
" call Decho("update data in ".expand("%")."#".line(".").": modline<".modline.">")
" else " Decho
" call Decho("[latestsrcid=".latestsrcid."] <= [srcid=".srcid."], no need to update")
endif
" restore options
let &t_ti= t_ti
let &t_te= t_te
let &rs = rs
" call Dret("GetOneScript")
endfun
" ---------------------------------------------------------------------
" GetLatestVimScripts: this function gets the latest versions of {{{1
" scripts based on the list in
@@ -133,12 +363,6 @@ fun! getscript#GetLatestVimScripts()
return
endif
" insure that fnameescape() is available
if !exists("*fnameescape")
echoerr "GetLatestVimScripts needs fnameescape() (provided by 7.1.299 or later)"
return
endif
" Find the .../GetLatest subdirectory under the runtimepath
for datadir in split(&rtp,',') + ['']
if isdirectory(datadir."/GetLatest")
@@ -158,6 +382,7 @@ fun! getscript#GetLatestVimScripts()
" call Dret("GetLatestVimScripts : unable to find a GetLatest subdirectory")
return
endif
if filewritable(datadir) != 2
echoerr "(getLatestVimScripts) Your ".datadir." isn't writable"
" call Dret("GetLatestVimScripts : non-writable directory<".datadir.">")
@@ -174,30 +399,19 @@ fun! getscript#GetLatestVimScripts()
" call Dret("GetLatestVimScripts : non-writable datafile<".datafile.">")
return
endif
" --------------------
" Passed sanity checks
" --------------------
" call Decho("datadir <".datadir.">")
" call Decho("datafile <".datafile.">")
" don't let any event handlers interfere (like winmanager's, taglist's, etc)
let eikeep = &ei
let hlskeep = &hls
let acdkeep = &acd
set ei=all hls&vim noacd
" don't let any events interfere (like winmanager's, taglist's, etc)
let eikeep= &ei
set ei=all
" Edit the datafile (ie. GetLatestVimScripts.dat):
" 1. record current directory (origdir),
" 2. change directory to datadir,
" 3. split window
" 4. edit datafile
" record current directory, change to datadir, open split window with
" datafile
let origdir= getcwd()
" call Decho("exe cd ".fnameescape(substitute(datadir,'\','/','ge')))
exe "cd ".fnameescape(substitute(datadir,'\','/','ge'))
exe "cd ".escape(substitute(datadir,'\','/','ge'),"|[]*'\" #")
split
" call Decho("exe e ".fnameescape(substitute(datafile,'\','/','ge')))
exe "e ".fnameescape(substitute(datafile,'\','/','ge'))
exe "e ".escape(substitute(datafile,'\','/','ge'),"|[]*'\" #")
res 1000
let s:downloads = 0
let s:downerrors= 0
@@ -207,85 +421,78 @@ fun! getscript#GetLatestVimScripts()
" call Decho("searching plugins for GetLatestVimScripts dependencies")
let lastline = line("$")
" call Decho("lastline#".lastline)
let firstdir = substitute(&rtp,',.*$','','')
let plugins = split(globpath(firstdir,"plugin/*.vim"),'\n')
let plugins = plugins + split(globpath(firstdir,"AsNeeded/*.vim"),'\n')
let plugins = split(globpath(&rtp,"plugin/*.vim"))
let foundscript = 0
let firstdir= ""
" this loop updates the GetLatestVimScripts.dat file
" with dependencies explicitly mentioned in the plugins
" via GetLatestVimScripts: ... lines
" It reads the plugin script at the end of the GetLatestVimScripts.dat
" file, examines it, and then removes it.
for plugin in plugins
" call Decho(" ")
" call Decho("plugin<".plugin.">")
" don't process plugins in system directories
if firstdir == ""
let firstdir= substitute(plugin,'[/\\][^/\\]\+$','','')
" call Decho("firstdir<".firstdir.">")
else
let curdir= substitute(plugin,'[/\\][^/\\]\+$','','')
" call Decho("curdir<".curdir.">")
if curdir != firstdir
break
endif
endif
" read plugin in
" evidently a :r creates a new buffer (the "#" buffer) that is subsequently unused -- bwiping it
$
" call Decho(" ")
" call Decho(".dependency checking<".plugin."> line$=".line("$"))
" call Decho("..exe silent r ".fnameescape(plugin))
exe "silent r ".fnameescape(plugin)
exe "silent bwipe ".bufnr("#")
exe "silent r ".plugin
while search('^"\s\+GetLatestVimScripts:\s\+\d\+\s\+\d\+','W') != 0
let depscript = substitute(getline("."),'^"\s\+GetLatestVimScripts:\s\+\d\+\s\+\d\+\s\+\(.*\)$','\1','e')
let depscriptid = substitute(getline("."),'^"\s\+GetLatestVimScripts:\s\+\(\d\+\)\s\+.*$','\1','')
let llp1 = lastline+1
" call Decho("..depscript<".depscript.">")
let newscript= substitute(getline("."),'^"\s\+GetLatestVimScripts:\s\+\d\+\s\+\d\+\s\+\(.*\)$','\1','e')
let llp1 = lastline+1
" call Decho("..newscript<".newscript.">")
" found a "GetLatestVimScripts: # #" line in the script;
" check if its already in the datafile by searching backwards from llp1,
" the (prior to reading in the plugin script) last line plus one of the GetLatestVimScripts.dat file,
" for the script-id with no wrapping allowed.
let curline = line(".")
let noai_script = substitute(depscript,'\s*:AutoInstall:\s*','','e')
exe llp1
let srchline = search('^\s*'.depscriptid.'\s\+\d\+\s\+.*$','bW')
if srchline == 0
" this second search is taken when, for example, a 0 0 scriptname is to be skipped over
let srchline= search('\<'.noai_script.'\>','bW')
" don't process ""GetLatestVimScripts lines
if newscript !~ '^"'
" found a "GetLatestVimScripts: # #" line in the script; check if its already in the datafile
let curline = line(".")
let noai_script = substitute(newscript,'\s*:AutoInstall:\s*','','e')
exe llp1
let srchline = search('\<'.noai_script.'\>','bW')
" call Decho("..noai_script<".noai_script."> srch=".srchline."curline#".line(".")." lastline#".lastline)
if srchline == 0
" found a new script to permanently include in the datafile
let keep_rega = @a
let @a = substitute(getline(curline),'^"\s\+GetLatestVimScripts:\s\+','','')
exe lastline."put a"
echomsg "Appending <".@a."> to ".datafile." for ".newscript
" call Decho("..APPEND (".noai_script.")<".@a."> to GetLatestVimScripts.dat")
let @a = keep_rega
let lastline = llp1
let curline = curline + 1
let foundscript = foundscript + 1
" else " Decho
" call Decho("..found <".noai_script."> (already in datafile at line#".srchline.")")
endif
let curline = curline + 1
exe curline
endif
" call Decho("..noai_script<".noai_script."> depscriptid#".depscriptid." srchline#".srchline." curline#".line(".")." lastline#".lastline)
if srchline == 0
" found a new script to permanently include in the datafile
let keep_rega = @a
let @a = substitute(getline(curline),'^"\s\+GetLatestVimScripts:\s\+','','')
echomsg "Appending <".@a."> to ".datafile." for ".depscript
" call Decho("..Appending <".@a."> to ".datafile." for ".depscript)
exe lastline."put a"
let @a = keep_rega
let lastline = llp1
let curline = curline + 1
let foundscript = foundscript + 1
" else " Decho
" call Decho("..found <".noai_script."> (already in datafile at line#".srchline.")")
endif
let curline = curline + 1
exe curline
endwhile
" llp1: last line plus one
let llp1= lastline + 1
" call Decho(".deleting lines: ".llp1.",$d")
exe "silent! ".llp1.",$d"
endfor
" call Decho("--- end dependency checking loop --- foundscript=".foundscript)
" call Decho(" ")
" call Dredir("BUFFER TEST (GetLatestVimScripts 1)","ls!")
if foundscript == 0
setlocal nomod
set nomod
endif
" --------------------------------------------------------------------
" Check on out-of-date scripts using GetLatest/GetLatestVimScripts.dat
" --------------------------------------------------------------------
" call Decho("begin: checking out-of-date scripts using datafile<".datafile.">")
setlocal lz
set lz
1
" /^-----/,$g/^\s*\d/call Decho(getline("."))
1
@@ -319,349 +526,17 @@ fun! getscript#GetLatestVimScripts()
if &mod
silent! w!
endif
q!
q
" restore events and current directory
exe "cd ".fnameescape(substitute(origdir,'\','/','ge'))
let &ei = eikeep
let &hls = hlskeep
let &acd = acdkeep
setlocal nolz
" call Dredir("BUFFER TEST (GetLatestVimScripts 2)","ls!")
exe "cd ".escape(substitute(origdir,'\','/','ge'),"|[]*'\" #")
let &ei= eikeep
set nolz
" call Dret("GetLatestVimScripts : did ".s:downloads." downloads")
endfun
" ---------------------------------------------------------------------
" GetOneScript: (Get Latest Vim Script) this function operates {{{1
" on the current line, interpreting two numbers and text as
" ScriptID, SourceID, and Filename.
" It downloads any scripts that have newer versions from vim.sourceforge.net.
fun! s:GetOneScript(...)
" call Dfunc("GetOneScript()")
" set options to allow progress to be shown on screen
let rega= @a
let t_ti= &t_ti
let t_te= &t_te
let rs = &rs
set t_ti= t_te= nors
" put current line on top-of-screen and interpret it into
" a script identifer : used to obtain webpage
" source identifier : used to identify current version
" and an associated comment: used to report on what's being considered
if a:0 >= 3
let scriptid = a:1
let srcid = a:2
let fname = a:3
let cmmnt = ""
" call Decho("scriptid<".scriptid.">")
" call Decho("srcid <".srcid.">")
" call Decho("fname <".fname.">")
else
let curline = getline(".")
if curline =~ '^\s*#'
let @a= rega
" call Dret("GetOneScript : skipping a pure comment line")
return
endif
let parsepat = '^\s*\(\d\+\)\s\+\(\d\+\)\s\+\(.\{-}\)\(\s*#.*\)\=$'
try
let scriptid = substitute(curline,parsepat,'\1','e')
catch /^Vim\%((\a\+)\)\=:E486/
let scriptid= 0
endtry
try
let srcid = substitute(curline,parsepat,'\2','e')
catch /^Vim\%((\a\+)\)\=:E486/
let srcid= 0
endtry
try
let fname= substitute(curline,parsepat,'\3','e')
catch /^Vim\%((\a\+)\)\=:E486/
let fname= ""
endtry
try
let cmmnt= substitute(curline,parsepat,'\4','e')
catch /^Vim\%((\a\+)\)\=:E486/
let cmmnt= ""
endtry
" call Decho("curline <".curline.">")
" call Decho("parsepat<".parsepat.">")
" call Decho("scriptid<".scriptid.">")
" call Decho("srcid <".srcid.">")
" call Decho("fname <".fname.">")
endif
" plugin author protection from downloading his/her own scripts atop their latest work
if scriptid == 0 || srcid == 0
" When looking for :AutoInstall: lines, skip scripts that have 0 0 scriptname
let @a= rega
" call Dret("GetOneScript : skipping a scriptid==srcid==0 line")
return
endif
let doautoinstall= 0
if fname =~ ":AutoInstall:"
" call Decho("case AutoInstall: fname<".fname.">")
let aicmmnt= substitute(fname,'\s\+:AutoInstall:\s\+',' ','')
" call Decho("aicmmnt<".aicmmnt."> s:autoinstall=".s:autoinstall)
if s:autoinstall != ""
let doautoinstall = g:GetLatestVimScripts_allowautoinstall
endif
else
let aicmmnt= fname
endif
" call Decho("aicmmnt<".aicmmnt.">: doautoinstall=".doautoinstall)
exe "norm z\<CR>"
redraw!
" call Decho('considering <'.aicmmnt.'> scriptid='.scriptid.' srcid='.srcid)
echo 'considering <'.aicmmnt.'> scriptid='.scriptid.' srcid='.srcid
" grab a copy of the plugin's vim.sourceforge.net webpage
let scriptaddr = g:GetLatestVimScripts_scriptaddr.scriptid
let tmpfile = tempname()
let v:errmsg = ""
" make up to three tries at downloading the description
let itry= 1
while itry <= 3
" call Decho(".try#".itry." to download description of <".aicmmnt."> with addr=".scriptaddr)
if has("win32") || has("win16") || has("win95")
" call Decho(".new|exe silent r!".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".shellescape(tmpfile).' '.shellescape(scriptaddr)."|bw!")
new|exe "silent r!".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".shellescape(tmpfile).' '.shellescape(scriptaddr)|bw!
else
" call Decho(".exe silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".shellescape(tmpfile)." ".shellescape(scriptaddr))
exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".shellescape(tmpfile)." ".shellescape(scriptaddr)
endif
if itry == 1
exe "silent vsplit ".fnameescape(tmpfile)
else
silent! e %
endif
setlocal bh=wipe
" find the latest source-id in the plugin's webpage
silent! 1
let findpkg= search('Click on the package to download','W')
if findpkg > 0
break
endif
let itry= itry + 1
endwhile
" call Decho(" --- end downloading tries while loop --- itry=".itry)
" testing: did finding "Click on the package..." fail?
if findpkg == 0 || itry >= 4
silent q!
call delete(tmpfile)
" restore options
let &t_ti = t_ti
let &t_te = t_te
let &rs = rs
let s:downerrors = s:downerrors + 1
" call Decho("***warning*** couldn'".'t find "Click on the package..." in description page for <'.aicmmnt.">")
echomsg "***warning*** couldn'".'t find "Click on the package..." in description page for <'.aicmmnt.">"
" call Dret("GetOneScript : srch for /Click on the package/ failed")
let @a= rega
return
endif
" call Decho('found "Click on the package to download"')
let findsrcid= search('src_id=','W')
if findsrcid == 0
silent q!
call delete(tmpfile)
" restore options
let &t_ti = t_ti
let &t_te = t_te
let &rs = rs
let s:downerrors = s:downerrors + 1
" call Decho("***warning*** couldn'".'t find "src_id=" in description page for <'.aicmmnt.">")
echomsg "***warning*** couldn'".'t find "src_id=" in description page for <'.aicmmnt.">"
let @a= rega
" call Dret("GetOneScript : srch for /src_id/ failed")
return
endif
" call Decho('found "src_id=" in description page')
let srcidpat = '^\s*<td class.*src_id=\(\d\+\)">\([^<]\+\)<.*$'
let latestsrcid= substitute(getline("."),srcidpat,'\1','')
let sname = substitute(getline("."),srcidpat,'\2','') " script name actually downloaded
" call Decho("srcidpat<".srcidpat."> latestsrcid<".latestsrcid."> sname<".sname.">")
silent q!
call delete(tmpfile)
" convert the strings-of-numbers into numbers
let srcid = srcid + 0
let latestsrcid = latestsrcid + 0
" call Decho("srcid=".srcid." latestsrcid=".latestsrcid." sname<".sname.">")
" has the plugin's most-recent srcid increased, which indicates that it has been updated
if latestsrcid > srcid
" call Decho("[latestsrcid=".latestsrcid."] <= [srcid=".srcid."]: need to update <".sname.">")
let s:downloads= s:downloads + 1
if sname == bufname("%")
" GetLatestVimScript has to be careful about downloading itself
let sname= "NEW_".sname
endif
" -----------------------------------------------------------------------------
" the plugin has been updated since we last obtained it, so download a new copy
" -----------------------------------------------------------------------------
" call Decho(".downloading new <".sname.">")
echomsg ".downloading new <".sname.">"
if has("win32") || has("win16") || has("win95")
" call Decho(".new|exe silent r!".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".shellescape(sname)." ".shellescape('http://vim.sourceforge.net/scripts/download_script.php?src_id='.latestsrcid)."|q")
new|exe "silent r!".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".shellescape(sname)." ".shellescape('http://vim.sourceforge.net/scripts/download_script.php?src_id='.latestsrcid)|q
else
" call Decho(".exe silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".shellescape(sname)." ".shellescape('http://vim.sourceforge.net/scripts/download_script.php?src_id='))
exe "silent !".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".shellescape(sname)." ".shellescape('http://vim.sourceforge.net/scripts/download_script.php?src_id=').latestsrcid
endif
" --------------------------------------------------------------------------
" AutoInstall: only if doautoinstall has been requested by the plugin itself
" --------------------------------------------------------------------------
" call Decho("checking if plugin requested autoinstall: doautoinstall=".doautoinstall)
if doautoinstall
" call Decho(" ")
" call Decho("Autoinstall: getcwd<".getcwd()."> filereadable(".sname.")=".filereadable(sname))
if filereadable(sname)
" call Decho("<".sname."> is readable")
" call Decho("exe silent !".g:GetLatestVimScripts_mv." ".shellescape(sname)." ".shellescape(s:autoinstall))
exe "silent !".g:GetLatestVimScripts_mv." ".shellescape(sname)." ".shellescape(s:autoinstall)
let curdir = fnameescape(substitute(getcwd(),'\','/','ge'))
let installdir= curdir."/Installed"
if !isdirectory(installdir)
call mkdir(installdir)
endif
" call Decho("curdir<".curdir."> installdir<".installdir.">")
" call Decho("exe cd ".fnameescape(s:autoinstall))
exe "cd ".fnameescape(s:autoinstall)
" determine target directory for moves
let firstdir= substitute(&rtp,',.*$','','')
let pname = substitute(sname,'\..*','.vim','')
" call Decho("determine tgtdir: is <".firstdir.'/AsNeeded/'.pname." readable?")
if filereadable(firstdir.'/AsNeeded/'.pname)
let tgtdir= "AsNeeded"
else
let tgtdir= "plugin"
endif
" call Decho("tgtdir<".tgtdir."> pname<".pname.">")
" decompress
if sname =~ '\.bz2$'
" call Decho("decompress: attempt to bunzip2 ".sname)
exe "sil !bunzip2 ".shellescape(sname)
let sname= substitute(sname,'\.bz2$','','')
" call Decho("decompress: new sname<".sname."> after bunzip2")
elseif sname =~ '\.gz$'
" call Decho("decompress: attempt to gunzip ".sname)
exe "sil !gunzip ".shellescape(sname)
let sname= substitute(sname,'\.gz$','','')
" call Decho("decompress: new sname<".sname."> after gunzip")
elseif sname =~ '\.xz$'
" call Decho("decompress: attempt to unxz ".sname)
exe "sil !unxz ".shellescape(sname)
let sname= substitute(sname,'\.xz$','','')
" call Decho("decompress: new sname<".sname."> after unxz")
else
" call Decho("no decompression needed")
endif
" distribute archive(.zip, .tar, .vba, ...) contents
if sname =~ '\.zip$'
" call Decho("dearchive: attempt to unzip ".sname)
exe "silent !unzip -o ".shellescape(sname)
elseif sname =~ '\.tar$'
" call Decho("dearchive: attempt to untar ".sname)
exe "silent !tar -xvf ".shellescape(sname)
elseif sname =~ '\.tgz$'
" call Decho("dearchive: attempt to untar+gunzip ".sname)
exe "silent !tar -zxvf ".shellescape(sname)
elseif sname =~ '\.taz$'
" call Decho("dearchive: attempt to untar+uncompress ".sname)
exe "silent !tar -Zxvf ".shellescape(sname)
elseif sname =~ '\.tbz$'
" call Decho("dearchive: attempt to untar+bunzip2 ".sname)
exe "silent !tar -jxvf ".shellescape(sname)
elseif sname =~ '\.txz$'
" call Decho("dearchive: attempt to untar+xz ".sname)
exe "silent !tar -Jxvf ".shellescape(sname)
elseif sname =~ '\.vba$'
" call Decho("dearchive: attempt to handle a vimball: ".sname)
silent 1split
if exists("g:vimball_home")
let oldvimballhome= g:vimball_home
endif
let g:vimball_home= s:autoinstall
exe "silent e ".fnameescape(sname)
silent so %
silent q
if exists("oldvimballhome")
let g:vimball_home= oldvimballhome
else
unlet g:vimball_home
endif
else
" call Decho("no dearchiving needed")
endif
" ---------------------------------------------
" move plugin to plugin/ or AsNeeded/ directory
" ---------------------------------------------
if sname =~ '.vim$'
" call Decho("dearchive: attempt to simply move ".sname." to ".tgtdir)
exe "silent !".g:GetLatestVimScripts_mv." ".shellescape(sname)." ".tgtdir
else
" call Decho("dearchive: move <".sname."> to installdir<".installdir.">")
exe "silent !".g:GetLatestVimScripts_mv." ".shellescape(sname)." ".installdir
endif
if tgtdir != "plugin"
" call Decho("exe silent !".g:GetLatestVimScripts_mv." plugin/".shellescape(pname)." ".tgtdir)
exe "silent !".g:GetLatestVimScripts_mv." plugin/".shellescape(pname)." ".tgtdir
endif
" helptags step
let docdir= substitute(&rtp,',.*','','e')."/doc"
" call Decho("helptags: docdir<".docdir.">")
exe "helptags ".fnameescape(docdir)
exe "cd ".fnameescape(curdir)
endif
if fname !~ ':AutoInstall:'
let modline=scriptid." ".latestsrcid." :AutoInstall: ".fname.cmmnt
else
let modline=scriptid." ".latestsrcid." ".fname.cmmnt
endif
else
let modline=scriptid." ".latestsrcid." ".fname.cmmnt
endif
" update the data in the <GetLatestVimScripts.dat> file
call setline(line("."),modline)
" call Decho("update data in ".expand("%")."#".line(".").": modline<".modline.">")
" else " Decho
" call Decho("[latestsrcid=".latestsrcid."] <= [srcid=".srcid."], no need to update")
endif
" restore options
let &t_ti = t_ti
let &t_te = t_te
let &rs = rs
let @a = rega
" call Dredir("BUFFER TEST (GetOneScript)","ls!")
" call Dret("GetOneScript")
endfun
" ---------------------------------------------------------------------
" Restore Options: {{{1
let &cpo= s:keepcpo
unlet s:keepcpo
" ---------------------------------------------------------------------
" Modelines: {{{1
" vim: ts=8 sts=2 fdm=marker nowrap
+14 -22
View File
@@ -1,15 +1,14 @@
"------------------------------------------------------------------------------
" Description: Vim Ada/GNAT compiler file
" Language: Ada (GNAT)
" $Id: gnat.vim 887 2008-07-08 14:29:01Z krischik $
" $Id$
" Copyright: Copyright (C) 2006 Martin Krischik
" Maintainer: Martin Krischi <krischik@users.sourceforge.net>k
" Ned Okie <nokie@radford.edu>
" $Author: krischik $
" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $
" Version: 4.6
" $Revision: 887 $
" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/gnat.vim $
" Maintainer: Martin Krischik
" $Author$
" $Date$
" Version: 4.2
" $Revision$
" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/autoload/gnat.vim $
" History: 24.05.2006 MK Unified Headers
" 16.07.2006 MK Ada-Mode as vim-ball
" 05.08.2006 MK Add session support
@@ -17,7 +16,6 @@
" 05.11.2006 MK Bram suggested not to use include protection for
" autoload
" 05.11.2006 MK Bram suggested to save on spaces
" 19.09.2007 NO use project file only when there is a project
" Help Page: compiler-gnat
"------------------------------------------------------------------------------
@@ -73,19 +71,13 @@ function gnat#Set_Project_File (...) dict " {{{1
execute 'mksession! ' . v:this_session
endif
"if strlen (self.Project_File) > 0
"if has("vms")
"call ada#Switch_Session (
"\ expand('~')[0:-2] . ".vimfiles.session]gnat_" .
"\ fnamemodify (self.Project_File, ":t:r") . ".vim")
"else
"call ada#Switch_Session (
"\ expand('~') . "/vimfiles/session/gnat_" .
"\ fnamemodify (self.Project_File, ":t:r") . ".vim")
"endif
"else
"call ada#Switch_Session ('')
"endif
if strlen (self.Project_File) > 0
call ada#Switch_Session (
\ expand('~') . "/vimfiles/session/" .
\ fnamemodify (self.Project_File, ":t:r") . ".vim")
else
call ada#Switch_Session ('')
endif
return
endfunction gnat#Set_Project_File " }}}1
+13 -25
View File
@@ -1,6 +1,6 @@
" Vim autoload file for editing compressed files.
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2008 Jul 04
" Last Change: 2007 May 10
" These functions are used by the gzip plugin.
@@ -73,15 +73,8 @@ fun gzip#read(cmd)
let empty = line("'[") == 1 && line("']") == line("$")
let tmp = tempname()
let tmpe = tmp . "." . expand("<afile>:e")
if exists('*fnameescape')
let tmp_esc = fnameescape(tmp)
let tmpe_esc = fnameescape(tmpe)
else
let tmp_esc = escape(tmp, ' ')
let tmpe_esc = escape(tmpe, ' ')
endif
" write the just read lines to a temp file "'[,']w tmp.gz"
execute "silent '[,']w " . tmpe_esc
execute "silent '[,']w " . escape(tmpe, ' ')
" uncompress the temp file: call system("gzip -dn tmp.gz")
call system(a:cmd . " " . s:escape(tmpe))
if !filereadable(tmp)
@@ -102,12 +95,12 @@ fun gzip#read(cmd)
setlocal nobin
if exists(":lockmarks")
if empty
execute "silent lockmarks " . l . "r ++edit " . tmp_esc
execute "silent lockmarks " . l . "r ++edit " . tmp
else
execute "silent lockmarks " . l . "r " . tmp_esc
execute "silent lockmarks " . l . "r " . tmp
endif
else
execute "silent " . l . "r " . tmp_esc
execute "silent " . l . "r " . tmp
endif
" if buffer became empty, delete trailing blank line
@@ -117,8 +110,8 @@ fun gzip#read(cmd)
endif
" delete the temp file and the used buffers
call delete(tmp)
silent! exe "bwipe " . tmp_esc
silent! exe "bwipe " . tmpe_esc
silent! exe "bwipe " . tmp
silent! exe "bwipe " . tmpe
endif
" Restore saved option values.
@@ -131,15 +124,10 @@ fun gzip#read(cmd)
" When uncompressed the whole buffer, do autocommands
if ok && empty
if exists('*fnameescape')
let fname = fnameescape(expand("%:r"))
else
let fname = escape(expand("%:r"), " \t\n*?[{`$\\%#'\"|!<")
endif
if &verbose >= 8
execute "doau BufReadPost " . fname
execute "doau BufReadPost " . expand("%:r")
else
execute "silent! doau BufReadPost " . fname
execute "silent! doau BufReadPost " . expand("%:r")
endif
endif
endfun
@@ -153,9 +141,9 @@ fun gzip#write(cmd)
let nmt = s:tempname(nm)
if rename(nm, nmt) == 0
if exists("b:gzip_comp_arg")
call system(a:cmd . " " . b:gzip_comp_arg . " -- " . s:escape(nmt))
call system(a:cmd . " " . b:gzip_comp_arg . " " . s:escape(nmt))
else
call system(a:cmd . " -- " . s:escape(nmt))
call system(a:cmd . " " . s:escape(nmt))
endif
call rename(nmt . "." . expand("<afile>:e"), nm)
endif
@@ -180,10 +168,10 @@ fun gzip#appre(cmd)
if rename(nm, nmte) == 0
if &patchmode != "" && getfsize(nm . &patchmode) == -1
" Create patchmode file by creating the decompressed file new
call system(a:cmd . " -c -- " . s:escape(nmte) . " > " . s:escape(nmt))
call system(a:cmd . " -c " . s:escape(nmte) . " > " . s:escape(nmt))
call rename(nmte, nm . &patchmode)
else
call system(a:cmd . " -- " . s:escape(nmte))
call system(a:cmd . " " . s:escape(nmte))
endif
call rename(nmt, nm)
endif
+1 -2
View File
@@ -1,7 +1,7 @@
" Vim completion script
" Language: HTML and XHTML
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
" Last Change: 2011 Apr 28
" Last Change: 2006 Oct 19
function! htmlcomplete#CompleteTags(findstart, base)
if a:findstart
@@ -285,7 +285,6 @@ function! htmlcomplete#CompleteTags(findstart, base)
let cssfiles = styletable + secimportfiles
let classes = []
for file in cssfiles
let classlines = []
if filereadable(file)
let stylesheet = readfile(file)
let stylefile = join(stylesheet, ' ')
+3617 -8122
View File
File diff suppressed because it is too large Load Diff
+39 -46
View File
@@ -1,9 +1,9 @@
" netrwFileHandlers: contains various extension-based file handlers for
" netrw's browsers' x command ("eXecute launcher")
" Author: Charles E. Campbell
" Date: May 03, 2013
" Version: 11b ASTRO-ONLY
" Copyright: Copyright (C) 1999-2012 Charles E. Campbell {{{1
" Author: Charles E. Campbell, Jr.
" Date: May 30, 2006
" Version: 9
" Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
@@ -20,24 +20,18 @@
if exists("g:loaded_netrwFileHandlers") || &cp
finish
endif
let g:loaded_netrwFileHandlers= "v11b"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of netrwFileHandlers needs vim 7.2"
echohl Normal
finish
endif
let s:keepcpo= &cpo
set cpo&vim
let g:loaded_netrwFileHandlers= "v9"
" ---------------------------------------------------------------------
" netrwFileHandlers#Invoke: {{{1
fun! netrwFileHandlers#Invoke(exten,fname)
" call Dfunc("netrwFileHandlers#Invoke(exten<".a:exten."> fname<".a:fname.">)")
let exten= a:exten
let fname= a:fname
" list of supported special characters. Consider rcs,v --- that can be
" supported with a NFH_rcsCOMMAv() handler
if exten =~ '[@:,$!=\-+%?;~]'
if a:fname =~ '[@:,$!=\-+%?;~]'
let specials= {
\ '@' : 'AT',
\ ':' : 'COLON',
@@ -51,20 +45,20 @@ fun! netrwFileHandlers#Invoke(exten,fname)
\ '?' : 'QUESTION',
\ ';' : 'SEMICOLON',
\ '~' : 'TILDE'}
let exten= substitute(a:exten,'[@:,$!=\-+%?;~]','\=specials[submatch(0)]','ge')
let fname= substitute(a:fname,'[@:,$!=\-+%?;~]','\=specials[submatch(0)]','ge')
" call Decho('fname<'.fname.'> done with dictionary')
endif
if a:exten != "" && exists("*NFH_".exten)
if a:exten != "" && exists("*NFH_".a:exten)
" support user NFH_*() functions
" call Decho("let ret= netrwFileHandlers#NFH_".a:exten.'("'.fname.'")')
exe "let ret= NFH_".exten.'("'.a:fname.'")'
elseif a:exten != "" && exists("*s:NFH_".exten)
exe "let ret= NFH_".a:exten.'("'.fname.'")'
elseif a:exten != "" && exists("*s:NFH_".a:exten)
" use builtin-NFH_*() functions
" call Decho("let ret= netrwFileHandlers#NFH_".a:exten.'("'.fname.'")')
exe "let ret= s:NFH_".a:exten.'("'.a:fname.'")'
exe "let ret= s:NFH_".a:exten.'("'.fname.'")'
endif
" call Dret("netrwFileHandlers#Invoke 0 : ret=".ret)
return 0
endfun
@@ -79,10 +73,10 @@ fun! s:NFH_html(pagefile)
if executable("mozilla")
" call Decho("executing !mozilla ".page)
exe "!mozilla ".shellescape(page,1)
exe "!mozilla ".g:netrw_shq.page.g:netrw_shq
elseif executable("netscape")
" call Decho("executing !netscape ".page)
exe "!netscape ".shellescape(page,1)
exe "!netscape ".g:netrw_shq..page.g:netrw_shq
else
" call Dret("s:NFH_html 0")
return 0
@@ -102,10 +96,10 @@ fun! s:NFH_htm(pagefile)
if executable("mozilla")
" call Decho("executing !mozilla ".page)
exe "!mozilla ".shellescape(page,1)
exe "!mozilla ".g:netrw_shq.page.g:netrw_shq
elseif executable("netscape")
" call Decho("executing !netscape ".page)
exe "!netscape ".shellescape(page,1)
exe "!netscape ".g:netrw_shq.page.g:netrw_shq
else
" call Dret("s:NFH_htm 0")
return 0
@@ -121,10 +115,10 @@ fun! s:NFH_jpg(jpgfile)
" call Dfunc("s:NFH_jpg(jpgfile<".a:jpgfile.">)")
if executable("gimp")
exe "silent! !gimp -s ".shellescape(a:jpgfile,1)
exe "silent! !gimp -s ".g:netrw_shq.a:jpgfile.g:netrw_shq
elseif executable(expand("$SystemRoot")."/SYSTEM32/MSPAINT.EXE")
" call Decho("silent! !".expand("$SystemRoot")."/SYSTEM32/MSPAINT ".escape(a:jpgfile," []|'"))
exe "!".expand("$SystemRoot")."/SYSTEM32/MSPAINT ".shellescape(a:jpgfile,1)
exe "!".expand("$SystemRoot")."/SYSTEM32/MSPAINT ".g:netrw_shq.a:jpgfile.g:netrw_shq
else
" call Dret("s:NFH_jpg 0")
return 0
@@ -140,9 +134,9 @@ fun! s:NFH_gif(giffile)
" call Dfunc("s:NFH_gif(giffile<".a:giffile.">)")
if executable("gimp")
exe "silent! !gimp -s ".shellescape(a:giffile,1)
exe "silent! !gimp -s ".g:netrw_shq.a:giffile.g:netrw_shq
elseif executable(expand("$SystemRoot")."/SYSTEM32/MSPAINT.EXE")
exe "silent! !".expand("$SystemRoot")."/SYSTEM32/MSPAINT ".shellescape(a:giffile,1)
exe "silent! !".expand("$SystemRoot")."/SYSTEM32/MSPAINT ".g:netrw_shq.a:giffile.g:netrw_shq
else
" call Dret("s:NFH_gif 0")
return 0
@@ -158,9 +152,9 @@ fun! s:NFH_png(pngfile)
" call Dfunc("s:NFH_png(pngfile<".a:pngfile.">)")
if executable("gimp")
exe "silent! !gimp -s ".shellescape(a:pngfile,1)
exe "silent! !gimp -s ".g:netrw_shq.a:pngfile.g:netrw_shq
elseif executable(expand("$SystemRoot")."/SYSTEM32/MSPAINT.EXE")
exe "silent! !".expand("$SystemRoot")."/SYSTEM32/MSPAINT ".shellescape(a:pngfile,1)
exe "silent! !".expand("$SystemRoot")."/SYSTEM32/MSPAINT ".g:netrw_shq.a:pngfile.g:netrw_shq
else
" call Dret("s:NFH_png 0")
return 0
@@ -176,9 +170,9 @@ fun! s:NFH_pnm(pnmfile)
" call Dfunc("s:NFH_pnm(pnmfile<".a:pnmfile.">)")
if executable("gimp")
exe "silent! !gimp -s ".shellescape(a:pnmfile,1)
exe "silent! !gimp -s ".g:netrw_shq.a:pnmfile.g:netrw_shq
elseif executable(expand("$SystemRoot")."/SYSTEM32/MSPAINT.EXE")
exe "silent! !".expand("$SystemRoot")."/SYSTEM32/MSPAINT ".shellescape(a:pnmfile,1)
exe "silent! !".expand("$SystemRoot")."/SYSTEM32/MSPAINT ".g:netrw_shq.a:pnmfile.g:netrw_shq
else
" call Dret("s:NFH_pnm 0")
return 0
@@ -196,7 +190,7 @@ fun! s:NFH_bmp(bmpfile)
if executable("gimp")
exe "silent! !gimp -s ".a:bmpfile
elseif executable(expand("$SystemRoot")."/SYSTEM32/MSPAINT.EXE")
exe "silent! !".expand("$SystemRoot")."/SYSTEM32/MSPAINT ".shellescape(a:bmpfile,1)
exe "silent! !".expand("$SystemRoot")."/SYSTEM32/MSPAINT ".g:netrw_shq.a:bmpfile.g:netrw_shq
else
" call Dret("s:NFH_bmp 0")
return 0
@@ -211,9 +205,9 @@ endfun
fun! s:NFH_pdf(pdf)
" call Dfunc("s:NFH_pdf(pdf<".a:pdf.">)")
if executable("gs")
exe 'silent! !gs '.shellescape(a:pdf,1)
exe 'silent! !gs '.g:netrw_shq.a:pdf.g:netrw_shq
elseif executable("pdftotext")
exe 'silent! pdftotext -nopgbrk '.shellescape(a:pdf,1)
exe 'silent! pdftotext -nopgbrk '.g:netrw_shq.a:pdf.g:netrw_shq
else
" call Dret("s:NFH_pdf 0")
return 0
@@ -229,7 +223,7 @@ fun! s:NFH_doc(doc)
" call Dfunc("s:NFH_doc(doc<".a:doc.">)")
if executable("oowriter")
exe 'silent! !oowriter '.shellescape(a:doc,1)
exe 'silent! !oowriter '.g:netrw_shq.a:doc.g:netrw_shq
redraw!
else
" call Dret("s:NFH_doc 0")
@@ -246,7 +240,7 @@ fun! s:NFH_sxw(sxw)
" call Dfunc("s:NFH_sxw(sxw<".a:sxw.">)")
if executable("oowriter")
exe 'silent! !oowriter '.shellescape(a:sxw,1)
exe 'silent! !oowriter '.g:netrw_shq.a:sxw.g:netrw_shq
redraw!
else
" call Dret("s:NFH_sxw 0")
@@ -263,7 +257,7 @@ fun! s:NFH_xls(xls)
" call Dfunc("s:NFH_xls(xls<".a:xls.">)")
if executable("oocalc")
exe 'silent! !oocalc '.shellescape(a:xls,1)
exe 'silent! !oocalc '.g:netrw_shq.a:xls.g:netrw_shq
redraw!
else
" call Dret("s:NFH_xls 0")
@@ -280,15 +274,15 @@ fun! s:NFH_ps(ps)
" call Dfunc("s:NFH_ps(ps<".a:ps.">)")
if executable("gs")
" call Decho("exe silent! !gs ".a:ps)
exe "silent! !gs ".shellescape(a:ps,1)
exe "silent! !gs ".g:netrw_shq.a:ps.g:netrw_shq
redraw!
elseif executable("ghostscript")
" call Decho("exe silent! !ghostscript ".a:ps)
exe "silent! !ghostscript ".shellescape(a:ps,1)
exe "silent! !ghostscript ".g:netrw_shq.a:ps.g:netrw_shq
redraw!
elseif executable("gswin32")
" call Decho("exe silent! !gswin32 ".shellescape(a:ps,1))
exe "silent! !gswin32 ".shellescape(a:ps,1)
" call Decho("exe silent! !gswin32 ".g:netrw_shq.a:ps.g:netrw_shq)
exe "silent! !gswin32 ".g:netrw_shq.a:ps.g:netrw_shq
redraw!
else
" call Dret("s:NFH_ps 0")
@@ -304,16 +298,16 @@ endfun
fun! s:NFH_eps(eps)
" call Dfunc("s:NFH_eps()")
if executable("gs")
exe "silent! !gs ".shellescape(a:eps,1)
exe "silent! !gs ".g:netrw_shq.a:eps.g:netrw_shq
redraw!
elseif executable("ghostscript")
exe "silent! !ghostscript ".shellescape(a:eps,1)
exe "silent! !ghostscript ".g:netrw_shq.a:eps.g:netrw_shq
redraw!
elseif executable("ghostscript")
exe "silent! !ghostscript ".shellescape(a:eps,1)
exe "silent! !ghostscript ".g:netrw_shq.a:eps.g:netrw_shq
redraw!
elseif executable("gswin32")
exe "silent! !gswin32 ".shellescape(a:eps,1)
exe "silent! !gswin32 ".g:netrw_shq.a:eps.g:netrw_shq
redraw!
else
" call Dret("s:NFH_eps 0")
@@ -356,7 +350,6 @@ fun! s:NFH_obj(obj)
endfun
let &cpo= s:keepcpo
unlet s:keepcpo
" ---------------------------------------------------------------------
" Modelines: {{{1
" vim: fdm=marker
+21 -71
View File
@@ -1,8 +1,8 @@
" netrwSettings.vim: makes netrw settings simpler
" Date: May 03, 2013
" Maintainer: Charles E Campbell <drchipNOSPAM at campbellfamily dot biz>
" Version: 14a ASTRO-ONLY
" Copyright: Copyright (C) 1999-2007 Charles E. Campbell {{{1
" Date: Mar 26, 2007
" Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz>
" Version: 9
" Copyright: Copyright (C) 1999-2007 Charles E. Campbell, Jr. {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
@@ -19,19 +19,13 @@
if exists("g:loaded_netrwSettings") || &cp
finish
endif
let g:loaded_netrwSettings = "v14a"
if v:version < 700
echohl WarningMsg
echo "***warning*** this version of netrwSettings needs vim 7.0"
echohl Normal
finish
endif
let g:loaded_netrwSettings = "v9"
" ---------------------------------------------------------------------
" NetrwSettings: {{{1
fun! netrwSettings#NetrwSettings()
" this call is here largely just to insure that netrw has been loaded
call netrw#NetrwSavePosn()
call netrw#NetSavePosn()
if !exists("g:loaded_netrw")
echohl WarningMsg | echomsg "***sorry*** netrw needs to be loaded prior to using NetrwSettings" | echohl None
return
@@ -63,7 +57,7 @@ fun! netrwSettings#NetrwSettings()
endif
put ='+ ---------------------------------------------'
put ='+ NetrwSettings: by Charles E. Campbell'
put ='+ NetrwSettings: by Charles E. Campbell, Jr.'
put ='+ Press <F1> with cursor atop any line for help'
put ='+ ---------------------------------------------'
let s:netrw_settings_stop= line(".")
@@ -88,7 +82,8 @@ fun! netrwSettings#NetrwSettings()
put = 'let g:netrw_ftpmode = '.g:netrw_ftpmode
put = 'let g:netrw_ignorenetrc = '.g:netrw_ignorenetrc
put = 'let g:netrw_sshport = '.g:netrw_sshport
put = 'let g:netrw_silent = '.g:netrw_silent
let shqline= line("$")
put = 'let g:netrw_shq...'
put = 'let g:netrw_use_nt_rcp = '.g:netrw_use_nt_rcp
put = 'let g:netrw_win95ftp = '.g:netrw_win95ftp
let s:netrw_xfer_stop= line(".")
@@ -100,89 +95,41 @@ fun! netrwSettings#NetrwSettings()
put ='+ Netrw Browser Control'
put = 'let g:netrw_alto = '.g:netrw_alto
put = 'let g:netrw_altv = '.g:netrw_altv
put = 'let g:netrw_banner = '.g:netrw_banner
if exists("g:netrw_bannerbackslash")
put = 'let g:netrw_bannerbackslash = '.g:netrw_bannerbackslash
else
put = '\" let g:netrw_bannerbackslash = (not defined)'
endif
put = 'let g:netrw_browse_split = '.g:netrw_browse_split
if exists("g:netrw_browsex_viewer")
put = 'let g:netrw_browsex_viewer = '.g:netrw_browsex_viewer
put = 'let g:netrw_browsex_viewer = '.g:netrw_browsex_viewer
else
put = '\" let g:netrw_browsex_viewer = (not defined)'
endif
put = 'let g:netrw_compress = '.g:netrw_compress
if exists("g:Netrw_corehandler")
put = 'let g:Netrw_corehandler = '.g:Netrw_corehandler
else
put = '\" let g:Netrw_corehandler = (not defined)'
endif
put = 'let g:netrw_ctags = '.g:netrw_ctags
put = 'let g:netrw_cursor = '.g:netrw_cursor
let decompressline= line("$")
put = 'let g:netrw_decompress = '.string(g:netrw_decompress)
if exists("g:netrw_dynamic_maxfilenamelen")
put = 'let g:netrw_dynamic_maxfilenamelen='.g:netrw_dynamic_maxfilenamelen
else
put = '\" let g:netrw_dynamic_maxfilenamelen= (not defined)'
put = 'let g:netrw_browsex_viewer = (not defined)'
endif
put = 'let g:netrw_dirhistmax = '.g:netrw_dirhistmax
put = 'let g:netrw_errorlvl = '.g:netrw_errorlvl
put = 'let g:netrw_fastbrowse = '.g:netrw_fastbrowse
let fnameescline= line("$")
put = 'let g:netrw_fname_escape = '.string(g:netrw_fname_escape)
put = 'let g:netrw_ftp_browse_reject = '.g:netrw_ftp_browse_reject
put = 'let g:netrw_ftp_list_cmd = '.g:netrw_ftp_list_cmd
put = 'let g:netrw_ftp_sizelist_cmd = '.g:netrw_ftp_sizelist_cmd
put = 'let g:netrw_ftp_timelist_cmd = '.g:netrw_ftp_timelist_cmd
let globescline= line("$")
put = 'let g:netrw_glob_escape = '.string(g:netrw_glob_escape)
put = 'let g:netrw_hide = '.g:netrw_hide
if exists("g:netrw_home")
put = 'let g:netrw_home = '.g:netrw_home
else
put = '\" let g:netrw_home = (not defined)'
endif
put = 'let g:netrw_keepdir = '.g:netrw_keepdir
put = 'let g:netrw_list_cmd = '.g:netrw_list_cmd
put = 'let g:netrw_list_hide = '.g:netrw_list_hide
put = 'let g:netrw_local_mkdir = '.g:netrw_local_mkdir
put = 'let g:netrw_local_rmdir = '.g:netrw_local_rmdir
put = 'let g:netrw_liststyle = '.g:netrw_liststyle
put = 'let g:netrw_localcopycmd = '.g:netrw_localcopycmd
put = 'let g:netrw_localmkdir = '.g:netrw_localmkdir
put = 'let g:netrw_localmovecmd = '.g:netrw_localmovecmd
put = 'let g:netrw_localrmdir = '.g:netrw_localrmdir
put = 'let g:netrw_maxfilenamelen = '.g:netrw_maxfilenamelen
put = 'let g:netrw_menu = '.g:netrw_menu
put = 'let g:netrw_mousemaps = '.g:netrw_mousemaps
put = 'let g:netrw_mkdir_cmd = '.g:netrw_mkdir_cmd
if exists("g:netrw_nobeval")
put = 'let g:netrw_nobeval = '.g:netrw_nobeval
else
put = '\" let g:netrw_nobeval = (not defined)'
endif
put = 'let g:netrw_remote_mkdir = '.g:netrw_remote_mkdir
put = 'let g:netrw_preview = '.g:netrw_preview
put = 'let g:netrw_rename_cmd = '.g:netrw_rename_cmd
put = 'let g:netrw_retmap = '.g:netrw_retmap
put = 'let g:netrw_rm_cmd = '.g:netrw_rm_cmd
put = 'let g:netrw_rmdir_cmd = '.g:netrw_rmdir_cmd
put = 'let g:netrw_rmf_cmd = '.g:netrw_rmf_cmd
put = 'let g:netrw_silent = '.g:netrw_silent
put = 'let g:netrw_sort_by = '.g:netrw_sort_by
put = 'let g:netrw_sort_direction = '.g:netrw_sort_direction
put = 'let g:netrw_sort_options = '.g:netrw_sort_options
put = 'let g:netrw_sort_sequence = '.g:netrw_sort_sequence
put = 'let g:netrw_special_syntax = '.g:netrw_special_syntax
put = 'let g:netrw_ssh_browse_reject = '.g:netrw_ssh_browse_reject
put = 'let g:netrw_ssh_cmd = '.g:netrw_ssh_cmd
put = 'let g:netrw_scpport = '.g:netrw_scpport
put = 'let g:netrw_sepchr = '.g:netrw_sepchr
put = 'let g:netrw_sshport = '.g:netrw_sshport
put = 'let g:netrw_timefmt = '.g:netrw_timefmt
let tmpfileescline= line("$")
put ='let g:netrw_tmpfile_escape...'
put = 'let g:netrw_use_noswf = '.g:netrw_use_noswf
put = 'let g:netrw_xstrlen = '.g:netrw_xstrlen
put = 'let g:netrw_winsize = '.g:netrw_winsize
put =''
@@ -195,10 +142,13 @@ fun! netrwSettings#NetrwSettings()
silent %s/= $/= ''/e
1
call setline(decompressline,"let g:netrw_decompress = ".substitute(string(g:netrw_decompress),"^'\\(.*\\)'$",'\1',''))
call setline(fnameescline, "let g:netrw_fname_escape = '".escape(g:netrw_fname_escape,"'")."'")
call setline(globescline, "let g:netrw_glob_escape = '".escape(g:netrw_glob_escape,"'")."'")
call setline(tmpfileescline,"let g:netrw_tmpfile_escape = '".escape(g:netrw_tmpfile_escape,"'")."'")
" Put in shq setting.
" (deferred so as to avoid the quote manipulation just preceding)
if g:netrw_shq == "'"
call setline(shqline,'let g:netrw_shq = "'.g:netrw_shq.'"')
else
call setline(shqline,"let g:netrw_shq = '".g:netrw_shq."'")
endif
set nomod
+1 -5
View File
@@ -1,7 +1,7 @@
" Vim completion script
" Language: PHP
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
" Last Change: 2011 Dec 08
" Last Change: 2006 May 9
"
" TODO:
" - Class aware completion:
@@ -650,7 +650,6 @@ function! phpcomplete#GetClassContents(file, name) " {{{
" this is the most efficient way. The other way
" is to go through the looong string looking for
" matching {}
let original_window = winnr()
below 1new
0put =cfile
call search('class\s\+'.a:name)
@@ -668,9 +667,6 @@ function! phpcomplete#GetClassContents(file, name) " {{{
let classcontent = join(classc, "\n")
bw! %
" go back to where we started
exe original_window.'wincmd w'
if extends_class != ''
let classlocation = phpcomplete#GetClassLocation(extends_class)
if filereadable(classlocation)
-606
View File
@@ -1,606 +0,0 @@
"python3complete.vim - Omni Completion for python
" Maintainer: Aaron Griffin <aaronmgriffin@gmail.com>
" Version: 0.9
" Last Updated: 18 Jun 2009
"
" Roland Puntaier: this file contains adaptations for python3 and is parallel to pythoncomplete.vim
"
" Changes
" TODO:
" 'info' item output can use some formatting work
" Add an "unsafe eval" mode, to allow for return type evaluation
" Complete basic syntax along with import statements
" i.e. "import url<c-x,c-o>"
" Continue parsing on invalid line??
"
" v 0.9
" * Fixed docstring parsing for classes and functions
" * Fixed parsing of *args and **kwargs type arguments
" * Better function param parsing to handle things like tuples and
" lambda defaults args
"
" v 0.8
" * Fixed an issue where the FIRST assignment was always used instead of
" using a subsequent assignment for a variable
" * Fixed a scoping issue when working inside a parameterless function
"
"
" v 0.7
" * Fixed function list sorting (_ and __ at the bottom)
" * Removed newline removal from docs. It appears vim handles these better in
" recent patches
"
" v 0.6:
" * Fixed argument completion
" * Removed the 'kind' completions, as they are better indicated
" with real syntax
" * Added tuple assignment parsing (whoops, that was forgotten)
" * Fixed import handling when flattening scope
"
" v 0.5:
" Yeah, I skipped a version number - 0.4 was never public.
" It was a bugfix version on top of 0.3. This is a complete
" rewrite.
"
if !has('python3')
echo "Error: Required vim compiled with +python3"
finish
endif
function! python3complete#Complete(findstart, base)
"findstart = 1 when we need to get the text length
if a:findstart == 1
let line = getline('.')
let idx = col('.')
while idx > 0
let idx -= 1
let c = line[idx]
if c =~ '\w'
continue
elseif ! c =~ '\.'
let idx = -1
break
else
break
endif
endwhile
return idx
"findstart = 0 when we need to return the list of completions
else
"vim no longer moves the cursor upon completion... fix that
let line = getline('.')
let idx = col('.')
let cword = ''
while idx > 0
let idx -= 1
let c = line[idx]
if c =~ '\w' || c =~ '\.'
let cword = c . cword
continue
elseif strlen(cword) > 0 || idx == 0
break
endif
endwhile
execute "py3 vimpy3complete('" . cword . "', '" . a:base . "')"
return g:python3complete_completions
endif
endfunction
function! s:DefPython()
py3 << PYTHONEOF
import sys, tokenize, io, types
from token import NAME, DEDENT, NEWLINE, STRING
debugstmts=[]
def dbg(s): debugstmts.append(s)
def showdbg():
for d in debugstmts: print("DBG: %s " % d)
def vimpy3complete(context,match):
global debugstmts
debugstmts = []
try:
import vim
cmpl = Completer()
cmpl.evalsource('\n'.join(vim.current.buffer),vim.eval("line('.')"))
all = cmpl.get_completions(context,match)
all.sort(key=lambda x:x['abbr'].replace('_','z'))
dictstr = '['
# have to do this for double quoting
for cmpl in all:
dictstr += '{'
for x in cmpl: dictstr += '"%s":"%s",' % (x,cmpl[x])
dictstr += '"icase":0},'
if dictstr[-1] == ',': dictstr = dictstr[:-1]
dictstr += ']'
#dbg("dict: %s" % dictstr)
vim.command("silent let g:python3complete_completions = %s" % dictstr)
#dbg("Completion dict:\n%s" % all)
except vim.error:
dbg("VIM Error: %s" % vim.error)
class Completer(object):
def __init__(self):
self.compldict = {}
self.parser = PyParser()
def evalsource(self,text,line=0):
sc = self.parser.parse(text,line)
src = sc.get_code()
dbg("source: %s" % src)
try: exec(src,self.compldict)
except: dbg("parser: %s, %s" % (sys.exc_info()[0],sys.exc_info()[1]))
for l in sc.locals:
try: exec(l,self.compldict)
except: dbg("locals: %s, %s [%s]" % (sys.exc_info()[0],sys.exc_info()[1],l))
def _cleanstr(self,doc):
return doc.replace('"',' ').replace("'",' ')
def get_arguments(self,func_obj):
def _ctor(class_ob):
try: return class_ob.__init__
except AttributeError:
for base in class_ob.__bases__:
rc = _ctor(base)
if rc is not None: return rc
return None
arg_offset = 1
if type(func_obj) == type: func_obj = _ctor(func_obj)
elif type(func_obj) == types.MethodType: arg_offset = 1
else: arg_offset = 0
arg_text=''
if type(func_obj) in [types.FunctionType, types.LambdaType,types.MethodType]:
try:
cd = func_obj.__code__
real_args = cd.co_varnames[arg_offset:cd.co_argcount]
defaults = func_obj.__defaults__ or []
defaults = ["=%s" % name for name in defaults]
defaults = [""] * (len(real_args)-len(defaults)) + defaults
items = [a+d for a,d in zip(real_args,defaults)]
if func_obj.__code__.co_flags & 0x4:
items.append("...")
if func_obj.__code__.co_flags & 0x8:
items.append("***")
arg_text = (','.join(items)) + ')'
except:
dbg("arg completion: %s: %s" % (sys.exc_info()[0],sys.exc_info()[1]))
pass
if len(arg_text) == 0:
# The doc string sometimes contains the function signature
# this works for alot of C modules that are part of the
# standard library
doc = func_obj.__doc__
if doc:
doc = doc.lstrip()
pos = doc.find('\n')
if pos > 0:
sigline = doc[:pos]
lidx = sigline.find('(')
ridx = sigline.find(')')
if lidx > 0 and ridx > 0:
arg_text = sigline[lidx+1:ridx] + ')'
if len(arg_text) == 0: arg_text = ')'
return arg_text
def get_completions(self,context,match):
#dbg("get_completions('%s','%s')" % (context,match))
stmt = ''
if context: stmt += str(context)
if match: stmt += str(match)
try:
result = None
all = {}
ridx = stmt.rfind('.')
if len(stmt) > 0 and stmt[-1] == '(':
result = eval(_sanitize(stmt[:-1]), self.compldict)
doc = result.__doc__
if doc is None: doc = ''
args = self.get_arguments(result)
return [{'word':self._cleanstr(args),'info':self._cleanstr(doc)}]
elif ridx == -1:
match = stmt
all = self.compldict
else:
match = stmt[ridx+1:]
stmt = _sanitize(stmt[:ridx])
result = eval(stmt, self.compldict)
all = dir(result)
dbg("completing: stmt:%s" % stmt)
completions = []
try: maindoc = result.__doc__
except: maindoc = ' '
if maindoc is None: maindoc = ' '
for m in all:
if m == "_PyCmplNoType": continue #this is internal
try:
dbg('possible completion: %s' % m)
if m.find(match) == 0:
if result is None: inst = all[m]
else: inst = getattr(result,m)
try: doc = inst.__doc__
except: doc = maindoc
typestr = str(inst)
if doc is None or doc == '': doc = maindoc
wrd = m[len(match):]
c = {'word':wrd, 'abbr':m, 'info':self._cleanstr(doc)}
if "function" in typestr:
c['word'] += '('
c['abbr'] += '(' + self._cleanstr(self.get_arguments(inst))
elif "method" in typestr:
c['word'] += '('
c['abbr'] += '(' + self._cleanstr(self.get_arguments(inst))
elif "module" in typestr:
c['word'] += '.'
elif "type" in typestr:
c['word'] += '('
c['abbr'] += '('
completions.append(c)
except:
i = sys.exc_info()
dbg("inner completion: %s,%s [stmt='%s']" % (i[0],i[1],stmt))
return completions
except:
i = sys.exc_info()
dbg("completion: %s,%s [stmt='%s']" % (i[0],i[1],stmt))
return []
class Scope(object):
def __init__(self,name,indent,docstr=''):
self.subscopes = []
self.docstr = docstr
self.locals = []
self.parent = None
self.name = name
self.indent = indent
def add(self,sub):
#print('push scope: [%s@%s]' % (sub.name,sub.indent))
sub.parent = self
self.subscopes.append(sub)
return sub
def doc(self,str):
""" Clean up a docstring """
d = str.replace('\n',' ')
d = d.replace('\t',' ')
while d.find(' ') > -1: d = d.replace(' ',' ')
while d[0] in '"\'\t ': d = d[1:]
while d[-1] in '"\'\t ': d = d[:-1]
dbg("Scope(%s)::docstr = %s" % (self,d))
self.docstr = d
def local(self,loc):
self._checkexisting(loc)
self.locals.append(loc)
def copy_decl(self,indent=0):
""" Copy a scope's declaration only, at the specified indent level - not local variables """
return Scope(self.name,indent,self.docstr)
def _checkexisting(self,test):
"Convienance function... keep out duplicates"
if test.find('=') > -1:
var = test.split('=')[0].strip()
for l in self.locals:
if l.find('=') > -1 and var == l.split('=')[0].strip():
self.locals.remove(l)
def get_code(self):
str = ""
if len(self.docstr) > 0: str += '"""'+self.docstr+'"""\n'
for l in self.locals:
if l.startswith('import'): str += l+'\n'
str += 'class _PyCmplNoType:\n def __getattr__(self,name):\n return None\n'
for sub in self.subscopes:
str += sub.get_code()
for l in self.locals:
if not l.startswith('import'): str += l+'\n'
return str
def pop(self,indent):
#print('pop scope: [%s] to [%s]' % (self.indent,indent))
outer = self
while outer.parent != None and outer.indent >= indent:
outer = outer.parent
return outer
def currentindent(self):
#print('parse current indent: %s' % self.indent)
return ' '*self.indent
def childindent(self):
#print('parse child indent: [%s]' % (self.indent+1))
return ' '*(self.indent+1)
class Class(Scope):
def __init__(self, name, supers, indent, docstr=''):
Scope.__init__(self,name,indent, docstr)
self.supers = supers
def copy_decl(self,indent=0):
c = Class(self.name,self.supers,indent, self.docstr)
for s in self.subscopes:
c.add(s.copy_decl(indent+1))
return c
def get_code(self):
str = '%sclass %s' % (self.currentindent(),self.name)
if len(self.supers) > 0: str += '(%s)' % ','.join(self.supers)
str += ':\n'
if len(self.docstr) > 0: str += self.childindent()+'"""'+self.docstr+'"""\n'
if len(self.subscopes) > 0:
for s in self.subscopes: str += s.get_code()
else:
str += '%spass\n' % self.childindent()
return str
class Function(Scope):
def __init__(self, name, params, indent, docstr=''):
Scope.__init__(self,name,indent, docstr)
self.params = params
def copy_decl(self,indent=0):
return Function(self.name,self.params,indent, self.docstr)
def get_code(self):
str = "%sdef %s(%s):\n" % \
(self.currentindent(),self.name,','.join(self.params))
if len(self.docstr) > 0: str += self.childindent()+'"""'+self.docstr+'"""\n'
str += "%spass\n" % self.childindent()
return str
class PyParser:
def __init__(self):
self.top = Scope('global',0)
self.scope = self.top
def _parsedotname(self,pre=None):
#returns (dottedname, nexttoken)
name = []
if pre is None:
tokentype, token, indent = self.donext()
if tokentype != NAME and token != '*':
return ('', token)
else: token = pre
name.append(token)
while True:
tokentype, token, indent = self.donext()
if token != '.': break
tokentype, token, indent = self.donext()
if tokentype != NAME: break
name.append(token)
return (".".join(name), token)
def _parseimportlist(self):
imports = []
while True:
name, token = self._parsedotname()
if not name: break
name2 = ''
if token == 'as': name2, token = self._parsedotname()
imports.append((name, name2))
while token != "," and "\n" not in token:
tokentype, token, indent = self.donext()
if token != ",": break
return imports
def _parenparse(self):
name = ''
names = []
level = 1
while True:
tokentype, token, indent = self.donext()
if token in (')', ',') and level == 1:
if '=' not in name: name = name.replace(' ', '')
names.append(name.strip())
name = ''
if token == '(':
level += 1
name += "("
elif token == ')':
level -= 1
if level == 0: break
else: name += ")"
elif token == ',' and level == 1:
pass
else:
name += "%s " % str(token)
return names
def _parsefunction(self,indent):
self.scope=self.scope.pop(indent)
tokentype, fname, ind = self.donext()
if tokentype != NAME: return None
tokentype, open, ind = self.donext()
if open != '(': return None
params=self._parenparse()
tokentype, colon, ind = self.donext()
if colon != ':': return None
return Function(fname,params,indent)
def _parseclass(self,indent):
self.scope=self.scope.pop(indent)
tokentype, cname, ind = self.donext()
if tokentype != NAME: return None
super = []
tokentype, thenext, ind = self.donext()
if thenext == '(':
super=self._parenparse()
elif thenext != ':': return None
return Class(cname,super,indent)
def _parseassignment(self):
assign=''
tokentype, token, indent = self.donext()
if tokentype == tokenize.STRING or token == 'str':
return '""'
elif token == '(' or token == 'tuple':
return '()'
elif token == '[' or token == 'list':
return '[]'
elif token == '{' or token == 'dict':
return '{}'
elif tokentype == tokenize.NUMBER:
return '0'
elif token == 'open' or token == 'file':
return 'file'
elif token == 'None':
return '_PyCmplNoType()'
elif token == 'type':
return 'type(_PyCmplNoType)' #only for method resolution
else:
assign += token
level = 0
while True:
tokentype, token, indent = self.donext()
if token in ('(','{','['):
level += 1
elif token in (']','}',')'):
level -= 1
if level == 0: break
elif level == 0:
if token in (';','\n'): break
assign += token
return "%s" % assign
def donext(self):
type, token, (lineno, indent), end, self.parserline = next(self.gen)
if lineno == self.curline:
#print('line found [%s] scope=%s' % (line.replace('\n',''),self.scope.name))
self.currentscope = self.scope
return (type, token, indent)
def _adjustvisibility(self):
newscope = Scope('result',0)
scp = self.currentscope
while scp != None:
if type(scp) == Function:
slice = 0
#Handle 'self' params
if scp.parent != None and type(scp.parent) == Class:
slice = 1
newscope.local('%s = %s' % (scp.params[0],scp.parent.name))
for p in scp.params[slice:]:
i = p.find('=')
if len(p) == 0: continue
pvar = ''
ptype = ''
if i == -1:
pvar = p
ptype = '_PyCmplNoType()'
else:
pvar = p[:i]
ptype = _sanitize(p[i+1:])
if pvar.startswith('**'):
pvar = pvar[2:]
ptype = '{}'
elif pvar.startswith('*'):
pvar = pvar[1:]
ptype = '[]'
newscope.local('%s = %s' % (pvar,ptype))
for s in scp.subscopes:
ns = s.copy_decl(0)
newscope.add(ns)
for l in scp.locals: newscope.local(l)
scp = scp.parent
self.currentscope = newscope
return self.currentscope
#p.parse(vim.current.buffer[:],vim.eval("line('.')"))
def parse(self,text,curline=0):
self.curline = int(curline)
buf = io.StringIO(''.join(text) + '\n')
self.gen = tokenize.generate_tokens(buf.readline)
self.currentscope = self.scope
try:
freshscope=True
while True:
tokentype, token, indent = self.donext()
#dbg( 'main: token=[%s] indent=[%s]' % (token,indent))
if tokentype == DEDENT or token == "pass":
self.scope = self.scope.pop(indent)
elif token == 'def':
func = self._parsefunction(indent)
if func is None:
print("function: syntax error...")
continue
dbg("new scope: function")
freshscope = True
self.scope = self.scope.add(func)
elif token == 'class':
cls = self._parseclass(indent)
if cls is None:
print("class: syntax error...")
continue
freshscope = True
dbg("new scope: class")
self.scope = self.scope.add(cls)
elif token == 'import':
imports = self._parseimportlist()
for mod, alias in imports:
loc = "import %s" % mod
if len(alias) > 0: loc += " as %s" % alias
self.scope.local(loc)
freshscope = False
elif token == 'from':
mod, token = self._parsedotname()
if not mod or token != "import":
print("from: syntax error...")
continue
names = self._parseimportlist()
for name, alias in names:
loc = "from %s import %s" % (mod,name)
if len(alias) > 0: loc += " as %s" % alias
self.scope.local(loc)
freshscope = False
elif tokentype == STRING:
if freshscope: self.scope.doc(token)
elif tokentype == NAME:
name,token = self._parsedotname(token)
if token == '=':
stmt = self._parseassignment()
dbg("parseassignment: %s = %s" % (name, stmt))
if stmt != None:
self.scope.local("%s = %s" % (name,stmt))
freshscope = False
except StopIteration: #thrown on EOF
pass
except:
dbg("parse error: %s, %s @ %s" %
(sys.exc_info()[0], sys.exc_info()[1], self.parserline))
return self._adjustvisibility()
def _sanitize(str):
val = ''
level = 0
for c in str:
if c in ('(','{','['):
level += 1
elif c in (']','}',')'):
level -= 1
elif level == 0:
val += c
return val
sys.path.extend(['.','..'])
PYTHONEOF
endfunction
call s:DefPython()
+35 -61
View File
@@ -1,28 +1,17 @@
"pythoncomplete.vim - Omni Completion for python
" Maintainer: Aaron Griffin <aaronmgriffin@gmail.com>
" Version: 0.9
" Last Updated: 18 Jun 2009
" Version: 0.7
" Last Updated: 19 Oct 2006
"
" Changes
" TODO:
" User defined docstrings aren't handled right...
" 'info' item output can use some formatting work
" Add an "unsafe eval" mode, to allow for return type evaluation
" Complete basic syntax along with import statements
" i.e. "import url<c-x,c-o>"
" Continue parsing on invalid line??
"
" v 0.9
" * Fixed docstring parsing for classes and functions
" * Fixed parsing of *args and **kwargs type arguments
" * Better function param parsing to handle things like tuples and
" lambda defaults args
"
" v 0.8
" * Fixed an issue where the FIRST assignment was always used instead of
" using a subsequent assignment for a variable
" * Fixed a scoping issue when working inside a parameterless function
"
"
" v 0.7
" * Fixed function list sorting (_ and __ at the bottom)
" * Removed newline removal from docs. It appears vim handles these better in
@@ -74,7 +63,7 @@ function! pythoncomplete#Complete(findstart, base)
while idx > 0
let idx -= 1
let c = line[idx]
if c =~ '\w' || c =~ '\.'
if c =~ '\w' || c =~ '\.' || c == '('
let cword = c . cword
continue
elseif strlen(cword) > 0 || idx == 0
@@ -217,7 +206,7 @@ class Completer(object):
if len(stmt) > 0 and stmt[-1] == '(':
result = eval(_sanitize(stmt[:-1]), self.compldict)
doc = result.__doc__
if doc is None: doc = ''
if doc == None: doc = ''
args = self.get_arguments(result)
return [{'word':self._cleanstr(args),'info':self._cleanstr(doc)}]
elif ridx == -1:
@@ -234,18 +223,18 @@ class Completer(object):
try: maindoc = result.__doc__
except: maindoc = ' '
if maindoc is None: maindoc = ' '
if maindoc == None: maindoc = ' '
for m in all:
if m == "_PyCmplNoType": continue #this is internal
try:
dbg('possible completion: %s' % m)
if m.find(match) == 0:
if result is None: inst = all[m]
if result == None: inst = all[m]
else: inst = getattr(result,m)
try: doc = inst.__doc__
except: doc = maindoc
typestr = str(inst)
if doc is None or doc == '': doc = maindoc
if doc == None or doc == '': doc = maindoc
wrd = m[len(match):]
c = {'word':wrd, 'abbr':m, 'info':self._cleanstr(doc)}
@@ -271,9 +260,9 @@ class Completer(object):
return []
class Scope(object):
def __init__(self,name,indent,docstr=''):
def __init__(self,name,indent):
self.subscopes = []
self.docstr = docstr
self.docstr = ''
self.locals = []
self.parent = None
self.name = name
@@ -292,28 +281,29 @@ class Scope(object):
while d.find(' ') > -1: d = d.replace(' ',' ')
while d[0] in '"\'\t ': d = d[1:]
while d[-1] in '"\'\t ': d = d[:-1]
dbg("Scope(%s)::docstr = %s" % (self,d))
self.docstr = d
def local(self,loc):
self._checkexisting(loc)
self.locals.append(loc)
if not self._hasvaralready(loc):
self.locals.append(loc)
def copy_decl(self,indent=0):
""" Copy a scope's declaration only, at the specified indent level - not local variables """
return Scope(self.name,indent,self.docstr)
return Scope(self.name,indent)
def _checkexisting(self,test):
def _hasvaralready(self,test):
"Convienance function... keep out duplicates"
if test.find('=') > -1:
var = test.split('=')[0].strip()
for l in self.locals:
if l.find('=') > -1 and var == l.split('=')[0].strip():
self.locals.remove(l)
return True
return False
def get_code(self):
str = ""
if len(self.docstr) > 0: str += '"""'+self.docstr+'"""\n'
# we need to start with this, to fix up broken completions
# hopefully this name is unique enough...
str = '"""'+self.docstr+'"""\n'
for l in self.locals:
if l.startswith('import'): str += l+'\n'
str += 'class _PyCmplNoType:\n def __getattr__(self,name):\n return None\n'
@@ -340,11 +330,11 @@ class Scope(object):
return ' '*(self.indent+1)
class Class(Scope):
def __init__(self, name, supers, indent, docstr=''):
Scope.__init__(self,name,indent, docstr)
def __init__(self, name, supers, indent):
Scope.__init__(self,name,indent)
self.supers = supers
def copy_decl(self,indent=0):
c = Class(self.name,self.supers,indent, self.docstr)
c = Class(self.name,self.supers,indent)
for s in self.subscopes:
c.add(s.copy_decl(indent+1))
return c
@@ -361,11 +351,11 @@ class Class(Scope):
class Function(Scope):
def __init__(self, name, params, indent, docstr=''):
Scope.__init__(self,name,indent, docstr)
def __init__(self, name, params, indent):
Scope.__init__(self,name,indent)
self.params = params
def copy_decl(self,indent=0):
return Function(self.name,self.params,indent, self.docstr)
return Function(self.name,self.params,indent)
def get_code(self):
str = "%sdef %s(%s):\n" % \
(self.currentindent(),self.name,','.join(self.params))
@@ -381,7 +371,7 @@ class PyParser:
def _parsedotname(self,pre=None):
#returns (dottedname, nexttoken)
name = []
if pre is None:
if pre == None:
tokentype, token, indent = self.next()
if tokentype != NAME and token != '*':
return ('', token)
@@ -415,20 +405,17 @@ class PyParser:
while True:
tokentype, token, indent = self.next()
if token in (')', ',') and level == 1:
if '=' not in name: name = name.replace(' ', '')
names.append(name.strip())
names.append(name)
name = ''
if token == '(':
level += 1
name += "("
elif token == ')':
level -= 1
if level == 0: break
else: name += ")"
elif token == ',' and level == 1:
pass
else:
name += "%s " % str(token)
name += str(token)
return names
def _parsefunction(self,indent):
@@ -508,26 +495,16 @@ class PyParser:
#Handle 'self' params
if scp.parent != None and type(scp.parent) == Class:
slice = 1
p = scp.params[0]
i = p.find('=')
if i != -1: p = p[:i]
newscope.local('%s = %s' % (scp.params[0],scp.parent.name))
for p in scp.params[slice:]:
i = p.find('=')
if len(p) == 0: continue
pvar = ''
ptype = ''
if i == -1:
pvar = p
ptype = '_PyCmplNoType()'
newscope.local('%s = _PyCmplNoType()' % p)
else:
pvar = p[:i]
ptype = _sanitize(p[i+1:])
if pvar.startswith('**'):
pvar = pvar[2:]
ptype = '{}'
elif pvar.startswith('*'):
pvar = pvar[1:]
ptype = '[]'
newscope.local('%s = %s' % (pvar,ptype))
newscope.local('%s = %s' % (p[:i],_sanitize(p[i+1])))
for s in scp.subscopes:
ns = s.copy_decl(0)
@@ -555,19 +532,17 @@ class PyParser:
self.scope = self.scope.pop(indent)
elif token == 'def':
func = self._parsefunction(indent)
if func is None:
if func == None:
print "function: syntax error..."
continue
dbg("new scope: function")
freshscope = True
self.scope = self.scope.add(func)
elif token == 'class':
cls = self._parseclass(indent)
if cls is None:
if cls == None:
print "class: syntax error..."
continue
freshscope = True
dbg("new scope: class")
self.scope = self.scope.add(cls)
elif token == 'import':
@@ -594,7 +569,6 @@ class PyParser:
name,token = self._parsedotname(token)
if token == '=':
stmt = self._parseassignment()
dbg("parseassignment: %s = %s" % (name, stmt))
if stmt != None:
self.scope.local("%s = %s" % (name,stmt))
freshscope = False
+34 -37
View File
@@ -1,32 +1,27 @@
" Vim completion script
" Language: Ruby
" Maintainer: Mark Guzman <segfault@hasno.info>
" URL: https://github.com/vim-ruby/vim-ruby
" Info: $Id$
" URL: http://vim-ruby.rubyforge.org
" Anon CVS: See above site
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
" Maintainer Version: 0.8.1
" Maintainer Version: 0.8
" ----------------------------------------------------------------------------
"
" Ruby IRB/Complete author: Keiju ISHITSUKA(keiju@ishitsuka.com)
" ----------------------------------------------------------------------------
" {{{ requirement checks
function! s:ErrMsg(msg)
echohl ErrorMsg
echo a:msg
echohl None
endfunction
if !has('ruby')
call s:ErrMsg( "Error: Rubycomplete requires vim compiled with +ruby" )
call s:ErrMsg( "Error: falling back to syntax completion" )
s:ErrMsg( "Error: Rubycomplete requires vim compiled with +ruby" )
s:ErrMsg( "Error: falling back to syntax completion" )
" lets fall back to syntax completion
setlocal omnifunc=syntaxcomplete#Complete
finish
endif
if version < 700
call s:ErrMsg( "Error: Required vim >= 7.0" )
s:ErrMsg( "Error: Required vim >= 7.0" )
finish
endif
" }}} requirement checks
@@ -41,7 +36,7 @@ if !exists("g:rubycomplete_classes_in_global")
endif
if !exists("g:rubycomplete_buffer_loading")
let g:rubycomplete_buffer_loading = 0
let g:rubycomplete_classes_in_global = 0
endif
if !exists("g:rubycomplete_include_object")
@@ -56,6 +51,12 @@ endif
" {{{ vim-side support functions
let s:rubycomplete_debug = 0
function! s:ErrMsg(msg)
echohl ErrorMsg
echo a:msg
echohl None
endfunction
function! s:dprint(msg)
if s:rubycomplete_debug == 1
echom a:msg
@@ -132,7 +133,7 @@ function! s:GetRubyVarType(v)
let stopline = 1
let vtp = ''
let pos = getpos('.')
let sstr = '^\s*#\s*@var\s*'.escape(a:v, '*').'\>\s\+[^ \t]\+\s*$'
let sstr = '^\s*#\s*@var\s*'.a:v.'\>\s\+[^ \t]\+\s*$'
let [lnum,lcol] = searchpos(sstr,'nb',stopline)
if lnum != 0 && lcol != 0
call setpos('.',pos)
@@ -274,7 +275,7 @@ class VimRubyCompletion
pare = /^\s*class\s*(.*)\s*<\s*(.*)\s*\n/.match( classdef )
load_buffer_class( $2 ) if pare != nil && $2 != name # load parent class if needed
mixre = /.*\n\s*(include|prepend)\s*(.*)\s*\n/.match( classdef )
mixre = /.*\n\s*include\s*(.*)\s*\n/.match( classdef )
load_buffer_module( $2 ) if mixre != nil && $2 != name # load mixins if needed
begin
@@ -300,7 +301,7 @@ class VimRubyCompletion
def get_buffer_entity(name, vimfun)
loading_allowed = VIM::evaluate("exists('g:rubycomplete_buffer_loading') && g:rubycomplete_buffer_loading")
return nil if loading_allowed.to_i.zero?
return nil if loading_allowed != '1'
return nil if /(\"|\')+/.match( name )
buf = VIM::Buffer.current
nums = eval( VIM::evaluate( vimfun % name ) )
@@ -324,7 +325,7 @@ class VimRubyCompletion
ln = buf[x]
if /^\s*(module|class|def|include)\s+/.match(ln)
clscnt += 1 if $1 == "class"
#dprint "\$1$1
#dprint "\$1: %s" % $1
classdef += "%s\n" % ln
classdef += "end\n" if /def\s+/.match(ln)
dprint ln
@@ -363,15 +364,11 @@ class VimRubyCompletion
print txt if @@debug
end
def escape_vim_singlequote_string(str)
str.to_s.gsub(/'/,"\\'")
end
def get_buffer_entity_list( type )
# this will be a little expensive.
loading_allowed = VIM::evaluate("exists('g:rubycomplete_buffer_loading') && g:rubycomplete_buffer_loading")
allow_aggressive_load = VIM::evaluate("exists('g:rubycomplete_classes_in_global') && g:rubycomplete_classes_in_global")
return [] if allow_aggressive_load.to_i.zero? || loading_allowed.to_i.zero?
return [] if allow_aggressive_load != '1' || loading_allowed != '1'
buf = VIM::Buffer.current
eob = buf.length
@@ -404,7 +401,7 @@ class VimRubyCompletion
def load_rails
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
return if allow_rails.to_i.zero?
return if allow_rails != '1'
buf_path = VIM::evaluate('expand("%:p")')
file_name = VIM::evaluate('expand("%:t")')
@@ -464,7 +461,7 @@ class VimRubyCompletion
def get_rails_helpers
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
rails_loaded = VIM::evaluate('s:rubycomplete_rails_loaded')
return [] if allow_rails.to_i.zero? || rails_loaded.to_i.zero?
return [] if allow_rails != '1' || rails_loaded != '1'
buf_path = VIM::evaluate('expand("%:p")')
buf_path.gsub!( /\\/, "/" )
@@ -514,7 +511,7 @@ class VimRubyCompletion
def add_rails_columns( cls )
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
rails_loaded = VIM::evaluate('s:rubycomplete_rails_loaded')
return [] if allow_rails.to_i.zero? || rails_loaded.to_i.zero?
return [] if allow_rails != '1' || rails_loaded != '1'
begin
eval( "#{cls}.establish_connection" )
@@ -529,15 +526,15 @@ class VimRubyCompletion
end
def clean_sel(sel, msg)
ret = sel.reject{|x|x.nil?}.uniq
ret = ret.grep(/^#{Regexp.quote(msg)}/) if msg != nil
ret
sel.delete_if { |x| x == nil }
sel.uniq!
sel.grep(/^#{Regexp.quote(msg)}/) if msg != nil
end
def get_rails_view_methods
allow_rails = VIM::evaluate("exists('g:rubycomplete_rails') && g:rubycomplete_rails")
rails_loaded = VIM::evaluate('s:rubycomplete_rails_loaded')
return [] if allow_rails.to_i.zero? || rails_loaded.to_i.zero?
return [] if allow_rails != '1' || rails_loaded != '1'
buf_path = VIM::evaluate('expand("%:p")')
buf_path.gsub!( /\\/, "/" )
@@ -583,7 +580,7 @@ class VimRubyCompletion
def get_completions(base)
loading_allowed = VIM::evaluate("exists('g:rubycomplete_buffer_loading') && g:rubycomplete_buffer_loading")
if loading_allowed.to_i == 1
if loading_allowed == '1'
load_requires
load_rails
end
@@ -635,7 +632,7 @@ class VimRubyCompletion
methods = Object.constants
methods.grep(/^#{receiver}/).collect{|e| "::" + e}
when /^(((::)?[A-Z][^:.\(]*)+?)::?([^:.]*)$/ # Constant or class methods
when /^(((::)?[A-Z][^:.\(]*)+)::?([^:.]*)$/ # Constant or class methods
receiver = $1
message = Regexp.quote($4)
dprint "const or cls 2 [recv: \'%s\', msg: \'%s\']" % [ receiver, message ]
@@ -669,7 +666,7 @@ class VimRubyCompletion
dprint "global"
methods = global_variables.grep(Regexp.new(Regexp.quote($1)))
when /^((\.?[^.]+)+?)\.([^.]*)$/ # variable
when /^((\.?[^.]+)+)\.([^.]*)$/ # variable
dprint "variable"
receiver = $1
message = Regexp.quote($3)
@@ -770,10 +767,10 @@ class VimRubyCompletion
constants = clean_sel( constants, message )
valid = []
valid += methods.collect { |m| { :name => m.to_s, :type => 'm' } }
valid += variables.collect { |v| { :name => v.to_s, :type => 'v' } }
valid += classes.collect { |c| { :name => c.to_s, :type => 't' } }
valid += constants.collect { |d| { :name => d.to_s, :type => 'd' } }
valid += methods.collect { |m| { :name => m, :type => 'm' } }
valid += variables.collect { |v| { :name => v, :type => 'v' } }
valid += classes.collect { |c| { :name => c, :type => 't' } }
valid += constants.collect { |d| { :name => d, :type => 'd' } }
valid.sort! { |x,y| x[:name] <=> y[:name] }
outp = ""
@@ -782,7 +779,7 @@ class VimRubyCompletion
rg.step(150) do |x|
stpos = 0+x
enpos = 150+x
valid[stpos..enpos].each { |c| outp += "{'word':'%s','item':'%s','kind':'%s'}," % [ c[:name], c[:name], c[:type] ].map{|x|escape_vim_singlequote_string(x)} }
valid[stpos..enpos].each { |c| outp += "{'word':'%s','item':'%s','kind':'%s'}," % [ c[:name], c[:name], c[:type] ] }
outp.sub!(/,$/, '')
VIM::command("call extend(g:rubycomplete_completions, [%s])" % outp)
+16 -57
View File
@@ -1,15 +1,9 @@
" Vim script to download a missing spell file
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2012 Jan 08
" Last Change: 2007 May 08
if !exists('g:spellfile_URL')
" Prefer using http:// when netrw should be able to use it, since
" more firewalls let this through.
if executable("curl") || executable("wget") || executable("fetch")
let g:spellfile_URL = 'http://ftp.vim.org/pub/vim/runtime/spell'
else
let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell'
endif
let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell'
endif
let s:spellfile_URL = '' " Start with nothing so that s:donedict is reset.
@@ -39,22 +33,19 @@ function! spellfile#LoadFile(lang)
let s:donedict[a:lang . &enc] = 1
" Find spell directories we can write in.
let [dirlist, dirchoices] = spellfile#GetDirChoices()
let dirlist = []
let dirchoices = '&Cancel'
for dir in split(globpath(&rtp, 'spell'), "\n")
if filewritable(dir) == 2
call add(dirlist, dir)
let dirchoices .= "\n&" . len(dirlist)
endif
endfor
if len(dirlist) == 0
let dir_to_create = spellfile#WritableSpellDir()
if &verbose || dir_to_create != ''
if &verbose
echomsg 'spellfile#LoadFile(): There is no writable spell directory.'
endif
if dir_to_create != ''
if confirm("Shall I create " . dir_to_create, "&Yes\n&No", 2) == 1
" After creating the directory it should show up in the list.
call mkdir(dir_to_create, "p")
let [dirlist, dirchoices] = spellfile#GetDirChoices()
endif
endif
if len(dirlist) == 0
return
endif
return
endif
let msg = 'Cannot find spell file for "' . a:lang . '" in ' . &enc
@@ -70,7 +61,7 @@ function! spellfile#LoadFile(lang)
" Remember the buffer number, we check it below.
new
let newbufnr = winbufnr(0)
setlocal bin fenc=
setlocal bin
echo 'Downloading ' . fname . '...'
call spellfile#Nread(fname)
if getline(2) !~ 'VIMspell'
@@ -83,7 +74,7 @@ function! spellfile#LoadFile(lang)
" Our buffer has vanished!? Open a new window.
echomsg "download buffer disappeared, opening a new one"
new
setlocal bin fenc=
setlocal bin
else
exe winnr . "wincmd w"
endif
@@ -115,13 +106,7 @@ function! spellfile#LoadFile(lang)
endfor
let dirchoice = confirm(msg, dirchoices) - 2
if dirchoice >= 0
if exists('*fnameescape')
let dirname = fnameescape(dirlist[dirchoice])
else
let dirname = escape(dirlist[dirchoice], ' ')
endif
setlocal fenc=
exe "write " . dirname . '/' . fname
exe "write " . escape(dirlist[dirchoice], ' ') . '/' . fname
" Also download the .sug file, if the user wants to.
let msg = "Do you want me to try getting the .sug file?\n"
@@ -134,7 +119,7 @@ function! spellfile#LoadFile(lang)
call spellfile#Nread(fname)
if getline(2) =~ 'VIMsug'
1d
exe "write " . dirname . '/' . fname
exe "write " . escape(dirlist[dirchoice], ' ') . '/' . fname
set nomod
else
echo 'Sorry, downloading failed'
@@ -181,29 +166,3 @@ function! spellfile#Nread(fname)
unlet g:netrw_use_errorwindow
endif
endfunc
" Get a list of writable spell directories and choices for confirm().
function! spellfile#GetDirChoices()
let dirlist = []
let dirchoices = '&Cancel'
for dir in split(globpath(&rtp, 'spell'), "\n")
if filewritable(dir) == 2
call add(dirlist, dir)
let dirchoices .= "\n&" . len(dirlist)
endif
endfor
return [dirlist, dirchoices]
endfunc
function! spellfile#WritableSpellDir()
if has("unix")
" For Unix always use the $HOME/.vim directory
return $HOME . "/.vim/spell"
endif
for dir in split(&rtp, ',')
if filewritable(dir) == 2
return dir . "/spell"
endif
endfor
return ''
endfunction
+132 -408
View File
@@ -1,97 +1,16 @@
" Vim OMNI completion script for SQL
" Language: SQL
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
" Version: 15.0
" Last Change: 2013 May 13
" Homepage: http://www.vim.org/scripts/script.php?script_id=1572
" Maintainer: David Fishburn <fishburn@ianywhere.com>
" Version: 5.0
" Last Change: Mon Jun 05 2006 3:30:04 PM
" Usage: For detailed help
" ":help sql.txt"
" or ":help ft-sql-omni"
" ":help sql.txt"
" or ":help ft-sql-omni"
" or read $VIMRUNTIME/doc/sql.txt
" History
"
" TODO
" - Jonas Enberg - if no table is found when using column completion
" look backwards to a FROM clause and find the first table
" and complete it.
"
" Version 15.0 (May 2013)
" - NF: Changed the SQL precached syntax items, omni_sql_precache_syntax_groups,
" to use regular expressions to pick up extended syntax group names.
" This requires an updated SyntaxComplete plugin version 13.0.
" If the required versions have not been installed, previous
" behaviour will not be impacted.
"
" Version 14.0 (Dec 2012)
" - BF: Added check for cpo
"
" Version 13.0 (Dec 2012)
" - NF: When completing column lists or drilling into a table
" and g:omni_sql_include_owner is enabled, the
" only the table name would be replaced with the column
" list instead of the table name and owner (if specified).
" - NF: When completing column lists using table aliases
" and g:omni_sql_include_owner is enabled, account
" for the owner name when looking up the table
" list instead of the table name and owner (if specified).
" - BF: When completing column lists or drilling into a table
" and g:omni_sql_include_owner is enabled, the
" column list could often not be found for the table.
" - BF: When OMNI popped up, possibly the wrong word
" would be replaced for column and column list options.
"
" Version 12.0 (Feb 2012)
" - Partial column name completion did not work when a table
" name or table alias was provided (Jonas Enberg).
" - Improved the handling of column completion. First we match any
" columns from a previous completion. If not matches are found, we
" consider the partial name to be a table or table alias for the
" query and attempt to match on it.
"
" Version 11.0 (Jan 2012)
" Added g:omni_sql_default_compl_type variable
" - You can specify which type of completion to default to
" when pressing <C-X><C-O>. The entire list of available
" choices can be found in the calls to sqlcomplete#Map in:
" ftplugin/sql.vim
"
" Version 10.0
" Updated PreCacheSyntax()
" - Now returns a List of the syntax items it finds.
" This allows other plugins / scripts to use this list for their own
" purposes. In this case XPTemplate can use them for a Choose list.
" - Verifies the parameters are the correct type and displays a
" warning if not.
" - Verifies the parameters are the correct type and displays a
" warning if not.
" Updated SQLCWarningMsg()
" - Prepends warning message with SQLComplete so you know who issued
" the warning.
" Updated SQLCErrorMsg()
" - Prepends error message with SQLComplete so you know who issued
" the error.
"
" Version 9.0 (May 2010)
" This change removes some of the support for tables with spaces in their
" names in order to simplify the regexes used to pull out query table
" aliases for more robust table name and column name code completion.
" Full support for "table names with spaces" can be added in again
" after 7.3.
"
" Version 8.0
" Incorrectly re-executed the g:ftplugin_sql_omni_key_right and g:ftplugin_sql_omni_key_left
" when drilling in and out of a column list for a table.
"
" Version 7.0 (Jan 2010)
" Better handling of object names
"
" Version 6.0 (Apr 2008)
" Supports object names with spaces "my table name"
"
" Set completion with CTRL-X CTRL-O to autoloaded function.
" This check is in place in case this script is
" sourced directly instead of using the autoload feature.
" sourced directly instead of using the autoload feature.
if exists('&omnifunc')
" Do not set the option if already set since this
" results in an E117 warning.
@@ -101,11 +20,9 @@ if exists('&omnifunc')
endif
if exists('g:loaded_sql_completion')
finish
finish
endif
let g:loaded_sql_completion = 150
let s:keepcpo= &cpo
set cpo&vim
let g:loaded_sql_completion = 50
" Maintains filename of dictionary
let s:sql_file_table = ""
@@ -118,19 +35,17 @@ let s:tbl_alias = []
let s:tbl_cols = []
let s:syn_list = []
let s:syn_value = []
" Used in conjunction with the syntaxcomplete plugin
let s:save_inc = ""
let s:save_exc = ""
if !exists('g:omni_syntax_group_include_sql')
let g:omni_syntax_group_include_sql = ''
if exists('g:omni_syntax_group_include_sql')
let s:save_inc = g:omni_syntax_group_include_sql
endif
if !exists('g:omni_syntax_group_exclude_sql')
let g:omni_syntax_group_exclude_sql = ''
if exists('g:omni_syntax_group_exclude_sql')
let s:save_exc = g:omni_syntax_group_exclude_sql
endif
let s:save_inc = g:omni_syntax_group_include_sql
let s:save_exc = g:omni_syntax_group_exclude_sql
" Used with the column list
let s:save_prev_table = ""
@@ -141,12 +56,12 @@ endif
" Default syntax items to precache
if !exists('g:omni_sql_precache_syntax_groups')
let g:omni_sql_precache_syntax_groups = [
\ 'syntax\w*',
\ 'sqlKeyword\w*',
\ 'sqlFunction\w*',
\ 'sqlOption\w*',
\ 'sqlType\w*',
\ 'sqlStatement\w*'
\ 'syntax',
\ 'sqlKeyword',
\ 'sqlFunction',
\ 'sqlOption',
\ 'sqlType',
\ 'sqlStatement'
\ ]
endif
" Set ignorecase to the ftplugin standard
@@ -161,25 +76,14 @@ if !exists('g:omni_sql_include_owner')
if g:loaded_dbext >= 300
" New to dbext 3.00, by default the table lists include the owner
" name of the table. This is used when determining how much of
" whatever has been typed should be replaced as part of the
" whatever has been typed should be replaced as part of the
" code replacement.
let g:omni_sql_include_owner = 1
endif
endif
endif
" Default type of completion used when <C-X><C-O> is pressed
if !exists('g:omni_sql_default_compl_type')
let g:omni_sql_default_compl_type = 'table'
endif
" This function is used for the 'omnifunc' option.
" It is called twice by omni and it is responsible
" for returning the completion list of items.
" But it must also determine context of what to complete
" and what to "replace" with the completion.
" The a:base, is replaced directly with what the user
" chooses from the choices.
" The s:prepend provides context for the completion.
function! sqlcomplete#Complete(findstart, base)
" Default to table name completion
@@ -188,7 +92,6 @@ function! sqlcomplete#Complete(findstart, base)
if exists('b:sql_compl_type')
let compl_type = b:sql_compl_type
endif
let begindot = 0
" First pass through this function determines how much of the line should
" be replaced by whatever is chosen from the completion list
@@ -197,35 +100,20 @@ function! sqlcomplete#Complete(findstart, base)
let line = getline('.')
let start = col('.') - 1
let lastword = -1
let begindot = 0
" Check if the first character is a ".", for column completion
if line[start - 1] == '.'
let begindot = 1
endif
while start > 0
" Additional code was required to handle objects which
" can contain spaces like "my table name".
if line[start - 1] !~ '\(\w\|\.\)'
" If the previous character is not a period or word character
break
" elseif line[start - 1] =~ '\(\w\|\s\+\)'
" let start -= 1
elseif line[start - 1] =~ '\w'
" If the previous character is word character continue back
if line[start - 1] =~ '\w'
let start -= 1
elseif line[start - 1] =~ '\.' &&
elseif line[start - 1] =~ '\.' &&
\ compl_type =~ 'column\|table\|view\|procedure'
" If the previous character is a period and we are completing
" an object which can be specified with a period like this:
" table_name.column_name
" owner_name.table_name
" If lastword has already been set for column completion
" break from the loop, since we do not also want to pickup
" a table name if it was also supplied.
" Unless g:omni_sql_include_owner == 1, then we can
" include the ownername.
if lastword != -1 && compl_type == 'column'
\ && g:omni_sql_include_owner == 0
if lastword != -1 && compl_type == 'column'
break
endif
" If column completion was specified stop at the "." if
@@ -236,8 +124,8 @@ function! sqlcomplete#Complete(findstart, base)
endif
" If omni_sql_include_owner = 0, do not include the table
" name as part of the substitution, so break here
if lastword == -1 &&
\ compl_type =~ '\<\(table\|view\|procedure\|column\|column_csv\)\>' &&
if lastword == -1 &&
\ compl_type =~ 'table\|view\|procedure\column_csv' &&
\ g:omni_sql_include_owner == 0
let lastword = start
break
@@ -267,7 +155,7 @@ function! sqlcomplete#Complete(findstart, base)
let compl_list = []
" Default to table name completion
let compl_type = g:omni_sql_default_compl_type
let compl_type = 'table'
" Allow maps to specify what type of object completion they want
if exists('b:sql_compl_type')
let compl_type = b:sql_compl_type
@@ -281,7 +169,7 @@ function! sqlcomplete#Complete(findstart, base)
if compl_type == 'table' ||
\ compl_type == 'procedure' ||
\ compl_type == 'view'
\ compl_type == 'view'
" This type of completion relies upon the dbext.vim plugin
if s:SQLCCheck4dbext() == -1
@@ -290,26 +178,32 @@ function! sqlcomplete#Complete(findstart, base)
" Allow the user to override the dbext plugin to specify whether
" the owner/creator should be included in the list
if g:loaded_dbext >= 300
let saveSetting = DB_listOption('dict_show_owner')
exec 'DBSetOption dict_show_owner='.(g:omni_sql_include_owner==1?'1':'0')
let saved_dbext_show_owner = 1
if exists('g:dbext_default_dict_show_owner')
let saved_dbext_show_owner = g:dbext_default_dict_show_owner
endif
let g:dbext_default_dict_show_owner = g:omni_sql_include_owner
let compl_type_uc = substitute(compl_type, '\w\+', '\u&', '')
" Same call below, no need to do it twice
" if s:sql_file_{compl_type} == ""
" let s:sql_file_{compl_type} = DB_getDictionaryName(compl_type_uc)
" endif
if s:sql_file_{compl_type} == ""
let s:sql_file_{compl_type} = DB_getDictionaryName(compl_type_uc)
endif
let s:sql_file_{compl_type} = DB_getDictionaryName(compl_type_uc)
if s:sql_file_{compl_type} != ""
if filereadable(s:sql_file_{compl_type})
let compl_list = readfile(s:sql_file_{compl_type})
" let dic_list = readfile(s:sql_file_{compl_type})
" if !empty(dic_list)
" for elem in dic_list
" let kind = (compl_type=='table'?'m':(compl_type=='procedure'?'f':'v'))
" let item = {'word':elem, 'menu':elem, 'kind':kind, 'info':compl_type}
" let compl_list += [item]
" endfor
" endif
endif
endif
if g:loaded_dbext > 300
exec 'DBSetOption dict_show_owner='.saveSetting
endif
let g:dbext_default_dict_show_owner = saved_dbext_show_owner
elseif compl_type =~? 'column'
" This type of completion relies upon the dbext.vim plugin
@@ -319,7 +213,7 @@ function! sqlcomplete#Complete(findstart, base)
if base == ""
" The last time we displayed a column list we stored
" the table name. If the user selects a column list
" the table name. If the user selects a column list
" without a table name of alias present, assume they want
" the previous column list displayed.
let base = s:save_prev_table
@@ -334,26 +228,20 @@ function! sqlcomplete#Complete(findstart, base)
let table = matchstr( base, '^\(.*\.\)\?\zs.*\ze\..*' )
let column = matchstr( base, '.*\.\zs.*' )
if g:omni_sql_include_owner == 1 && owner == '' && table != '' && column != ''
let owner = table
let table = column
let column = ''
endif
" It is pretty well impossible to determine if the user
" has entered:
" owner.table
" table.column_prefix
" So there are a couple of things we can do to mitigate
" So there are a couple of things we can do to mitigate
" this issue.
" 1. Check if the dbext plugin has the option turned
" on to even allow owners
" 2. Based on 1, if the user is showing a table list
" and the DrillIntoTable (using <Right>) then
" and the DrillIntoTable (using <C-Right>) then
" this will be owner.table. In this case, we can
" check to see the table.column exists in the
" check to see the table.column exists in the
" cached table list. If it does, then we have
" determined the user has actually chosen
" determined the user has actually chosen
" owner.table, not table.column_prefix.
let found = -1
if g:omni_sql_include_owner == 1 && owner == ''
@@ -368,46 +256,17 @@ function! sqlcomplete#Complete(findstart, base)
" If the user has indicated not to use table owners at all and
" the base ends in a '.' we know they are not providing a column
" name, so we can shift the items appropriately.
" if found != -1 || (g:omni_sql_include_owner == 0 && base !~ '\.$')
" let owner = table
" let table = column
" let column = ''
" endif
else
" If no "." was provided and the user asked for
" column level completion, first attempt the match
" on any previous column lists. If the user asked
" for a list of columns comma separated, continue as usual.
if compl_type == 'column' && s:save_prev_table != ''
" The last time we displayed a column list we stored
" the table name. If the user selects a column list
" without a table name of alias present, assume they want
" the previous column list displayed.
let table = s:save_prev_table
let list_type = ''
let compl_list = s:SQLCGetColumns(table, list_type)
if ! empty(compl_list)
" If no column prefix has been provided and the table
" name was provided, append it to each of the items
" returned.
let compl_list = filter(deepcopy(compl_list), 'v:val=~"^'.base.'"' )
" If not empty, we have a match on columns
" return the list
if ! empty(compl_list)
return compl_list
endif
endif
if found != -1 || (g:omni_sql_include_owner == 0 && base !~ '\.$')
let owner = table
let table = column
let column = ''
endif
" Since no columns were found to match the base supplied
" assume the user is trying to complete the column list
" for a table (and or an alias to a table).
else
let table = base
endif
" Get anything after the . and consider this the table name
" If an owner has been specified, then we must consider the
" If an owner has been specified, then we must consider the
" base to be a partial column name
" let base = matchstr( base, '^\(.*\.\)\?\zs.*' )
@@ -422,25 +281,16 @@ function! sqlcomplete#Complete(findstart, base)
let list_type = 'csv'
endif
" If we are including the OWNER for the objects, then for
" table completion, if we have it, it should be included
" as there can be the same table names in a database yet
" with different owner names.
if g:omni_sql_include_owner == 1 && owner != '' && table != ''
let compl_list = s:SQLCGetColumns(owner.'.'.table, list_type)
else
let compl_list = s:SQLCGetColumns(table, list_type)
endif
let compl_list = s:SQLCGetColumns(table, list_type)
if column != ''
" If no column prefix has been provided and the table
" name was provided, append it to each of the items
" returned.
let compl_list = map(compl_list, 'table.".".v:val')
let compl_list = map(compl_list, "table.'.'.v:val")
if owner != ''
" If an owner has been provided append it to each of the
" items returned.
let compl_list = map(compl_list, 'owner.".".v:val')
let compl_list = map(compl_list, "owner.'.'.v:val")
endif
else
let base = ''
@@ -454,14 +304,11 @@ function! sqlcomplete#Complete(findstart, base)
endif
elseif compl_type == 'resetCache'
" Reset all cached items
let s:tbl_name = []
let s:tbl_alias = []
let s:tbl_cols = []
let s:syn_list = []
let s:syn_value = []
let s:sql_file_table = ""
let s:sql_file_procedure = ""
let s:sql_file_view = ""
let s:tbl_name = []
let s:tbl_alias = []
let s:tbl_cols = []
let s:syn_list = []
let s:syn_value = []
let msg = "All SQL cached items have been removed."
call s:SQLCWarningMsg(msg)
@@ -472,54 +319,22 @@ function! sqlcomplete#Complete(findstart, base)
endif
if base != ''
" Filter the list based on the first few characters the user entered.
" Check if the text matches at the beginning
" \\(^.base.'\\)
" or
" Match to a owner.table or alias.column type match
" ^\\(\\w\\+\\.\\)\\?'.base.'\\)
" or
" Handle names with spaces "my table name"
" "\\(^'.base.'\\|^\\(\\w\\+\\.\\)\\?'.base.'\\)"'
"
let expr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\|^\\(\\w\\+\\.\\)\\?'.base.'\\)"'
" let expr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\)"'
" let expr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\|\\(\\.\\)\\?'.base.'\\)"'
" let expr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\|\\([^.]*\\)\\?'.base.'\\)"'
" Filter the list based on the first few characters the user
" entered
let expr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\|\\([^.]*\\)\\?'.base.'\\)"'
let compl_list = filter(deepcopy(compl_list), expr)
if empty(compl_list) && compl_type == 'table' && base =~ '\.$'
" It is possible we could be looking for column name completion
" and the user simply hit C-X C-O to lets try it as well
" since we had no hits with the tables.
" If the base ends with a . it is hard to know if we are
" completing table names or column names.
let list_type = ''
let compl_list = s:SQLCGetColumns(base, list_type)
endif
endif
if exists('b:sql_compl_savefunc') && b:sql_compl_savefunc != ""
let &omnifunc = b:sql_compl_savefunc
endif
if empty(compl_list)
call s:SQLCWarningMsg( 'Could not find type['.compl_type.'] using prepend[.'.s:prepended.'] base['.a:base.']' )
endif
return compl_list
endfunc
function! sqlcomplete#PreCacheSyntax(...)
let syn_group_arr = []
let syn_items = []
if a:0 > 0
if type(a:1) != 3
call s:SQLCWarningMsg("Parameter is not a list. Example:['syntaxGroup1', 'syntaxGroup2']")
return ''
endif
if a:0 > 0
let syn_group_arr = a:1
else
let syn_group_arr = g:omni_sql_precache_syntax_groups
@@ -528,36 +343,7 @@ function! sqlcomplete#PreCacheSyntax(...)
" the sytnax items.
if !empty(syn_group_arr)
for group_name in syn_group_arr
let syn_items = extend( syn_items, s:SQLCGetSyntaxList(group_name) )
endfor
endif
return syn_items
endfunction
function! sqlcomplete#ResetCacheSyntax(...)
let syn_group_arr = []
if a:0 > 0
if type(a:1) != 3
call s:SQLCWarningMsg("Parameter is not a list. Example:['syntaxGroup1', 'syntaxGroup2']")
return ''
endif
let syn_group_arr = a:1
else
let syn_group_arr = g:omni_sql_precache_syntax_groups
endif
" For each group specified in the list, precache all
" the sytnax items.
if !empty(syn_group_arr)
for group_name in syn_group_arr
let list_idx = index(s:syn_list, group_name, 0, &ignorecase)
if list_idx > -1
" Remove from list of groups
call remove( s:syn_list, list_idx )
" Remove from list of keywords
call remove( s:syn_value, list_idx )
endif
call s:SQLCGetSyntaxList(group_name)
endfor
endif
endfunction
@@ -584,14 +370,13 @@ function! sqlcomplete#DrillIntoTable()
call sqlcomplete#Map('column')
" C-Y, makes the currently highlighted entry active
" and trigger the omni popup to be redisplayed
call feedkeys("\<C-Y>\<C-X>\<C-O>", 'n')
call feedkeys("\<C-Y>\<C-X>\<C-O>")
else
" If the popup is not visible, simple perform the normal
" key behaviour.
" Must use exec since they key must be preceeded by "\"
" or feedkeys will simply push each character of the string
" rather than the "key press".
exec 'call feedkeys("\'.g:ftplugin_sql_omni_key_right.'", "n")'
if has('win32')
" If the popup is not visible, simple perform the normal
" <C-Right> behaviour
exec "normal! \<C-Right>"
endif
endif
return ""
endfunction
@@ -603,28 +388,27 @@ function! sqlcomplete#DrillOutOfColumns()
" Trigger the omni popup to be redisplayed
call feedkeys("\<C-X>\<C-O>")
else
" If the popup is not visible, simple perform the normal
" key behaviour.
" Must use exec since they key must be preceeded by "\"
" or feedkeys will simply push each character of the string
" rather than the "key press".
exec 'call feedkeys("\'.g:ftplugin_sql_omni_key_left.'", "n")'
if has('win32')
" If the popup is not visible, simple perform the normal
" <C-Left> behaviour
exec "normal! \<C-Left>"
endif
endif
return ""
endfunction
function! s:SQLCWarningMsg(msg)
echohl WarningMsg
echomsg 'SQLComplete:'.a:msg
echomsg a:msg
echohl None
endfunction
function! s:SQLCErrorMsg(msg)
echohl ErrorMsg
echomsg 'SQLComplete:'.a:msg
echomsg a:msg
echohl None
endfunction
function! s:SQLCGetSyntaxList(syn_group)
let syn_group = a:syn_group
let compl_list = []
@@ -635,23 +419,19 @@ function! s:SQLCGetSyntaxList(syn_group)
" Return previously cached value
let compl_list = s:syn_value[list_idx]
else
let s:save_inc = g:omni_syntax_group_include_sql
let s:save_exc = g:omni_syntax_group_exclude_sql
let g:omni_syntax_group_include_sql = ''
let g:omni_syntax_group_exclude_sql = ''
" Request the syntax list items from the
" Request the syntax list items from the
" syntax completion plugin
if syn_group == 'syntax'
" Handle this special case. This allows the user
" to indicate they want all the syntax items available,
" so do not specify a specific include list.
let syn_value = syntaxcomplete#OmniSyntaxList()
let g:omni_syntax_group_include_sql = ''
else
" The user has specified a specific syntax group
let g:omni_syntax_group_include_sql = syn_group
let syn_value = syntaxcomplete#OmniSyntaxList(syn_group)
endif
let g:omni_syntax_group_exclude_sql = ''
let syn_value = OmniSyntaxList()
let g:omni_syntax_group_include_sql = s:save_inc
let g:omni_syntax_group_exclude_sql = s:save_exc
" Cache these values for later use
@@ -670,8 +450,8 @@ function! s:SQLCCheck4dbext()
" Leave time for the user to read the error message
:sleep 2
return -1
elseif g:loaded_dbext < 600
let msg = "The dbext plugin must be at least version 5.30 " .
elseif g:loaded_dbext < 300
let msg = "The dbext plugin must be at least version 3.00 " .
\ " for dynamic SQL completion"
call s:SQLCErrorMsg(msg)
" Leave time for the user to read the error message
@@ -687,7 +467,7 @@ function! s:SQLCAddAlias(table_name, table_alias, cols)
let table_alias = a:table_alias
let cols = a:cols
if g:omni_sql_use_tbl_alias != 'n'
if g:omni_sql_use_tbl_alias != 'n'
if table_alias == ''
if 'da' =~? g:omni_sql_use_tbl_alias
if table_name =~ '_'
@@ -697,13 +477,13 @@ function! s:SQLCAddAlias(table_name, table_alias, cols)
setlocal iskeyword-=_
" Get the first letter of each word
" [[:alpha:]] is used instead of \w
" [[:alpha:]] is used instead of \w
" to catch extended accented characters
"
let table_alias = substitute(
\ table_name,
\ '\<[[:alpha:]]\+\>_\?',
\ '\=strpart(submatch(0), 0, 1)',
let table_alias = substitute(
\ table_name,
\ '\<[[:alpha:]]\+\>_\?',
\ '\=strpart(submatch(0), 0, 1)',
\ 'g'
\ )
" Restore original value
@@ -731,75 +511,49 @@ function! s:SQLCAddAlias(table_name, table_alias, cols)
return cols
endfunction
function! s:SQLCGetObjectOwner(object)
function! s:SQLCGetObjectOwner(object)
" The owner regex matches a word at the start of the string which is
" followed by a dot, but doesn't include the dot in the result.
" ^ - from beginning of line
" \("\|\[\)\? - ignore any quotes
" \zs - start the match now
" .\{-} - get owner name
" \ze - end the match
" \("\|\[\)\? - ignore any quotes
" \. - must by followed by a .
" let owner = matchstr( a:object, '^\s*\zs.*\ze\.' )
let owner = matchstr( a:object, '^\("\|\[\)\?\zs\.\{-}\ze\("\|\]\)\?\.' )
" ^ - from beginning of line
" "\? - ignore any quotes
" \zs - start the match now
" \w\+ - get owner name
" \ze - end the match
" "\? - ignore any quotes
" \. - must by followed by a .
let owner = matchstr( a:object, '^"\?\zs\w\+\ze"\?\.' )
return owner
endfunction
endfunction
function! s:SQLCGetColumns(table_name, list_type)
if a:table_name =~ '\.'
" Check if the owner/creator has been specified
let owner = matchstr( a:table_name, '^\zs.*\ze\..*\..*' )
let table = matchstr( a:table_name, '^\(.*\.\)\?\zs.*\ze\..*' )
let column = matchstr( a:table_name, '.*\.\zs.*' )
if g:omni_sql_include_owner == 1 && owner == '' && table != '' && column != ''
let owner = table
let table = column
let column = ''
endif
else
let owner = ''
let table = matchstr(a:table_name, '^["\[\]a-zA-Z0-9_ ]\+\ze\.\?')
let column = ''
endif
" Check if the table name was provided as part of the column name
" let table_name = matchstr(a:table_name, '^["\[\]a-zA-Z0-9_ ]\+\ze\.\?')
let table_name = table
let table_name = matchstr(a:table_name, '^[a-zA-Z0-9_]\+\ze\.\?')
let table_cols = []
let table_alias = ''
let move_to_top = 1
let table_name = substitute(table_name, '\s*\(.\{-}\)\s*$', '\1', 'g')
" If the table name was given as:
" where c.
let table_name = substitute(table_name, '^\c\(WHERE\|AND\|OR\)\s\+', '', '')
if g:loaded_dbext >= 300
let saveSettingAlias = DB_listOption('use_tbl_alias')
exec 'DBSetOption use_tbl_alias=n'
endif
let table_name_stripped = substitute(table_name, '["\[\]]*', '', 'g')
" Check if we have already cached the column list for this table
" by its name
let list_idx = index(s:tbl_name, table_name_stripped, 0, &ignorecase)
let list_idx = index(s:tbl_name, table_name, 0, &ignorecase)
if list_idx > -1
let table_cols = split(s:tbl_cols[list_idx], '\n')
let table_cols = split(s:tbl_cols[list_idx])
else
" Check if we have already cached the column list for this table
" Check if we have already cached the column list for this table
" by its alias, assuming the table_name provided was actually
" the alias for the table instead
" select *
" from area a
" where a.
let list_idx = index(s:tbl_alias, table_name_stripped, 0, &ignorecase)
let list_idx = index(s:tbl_alias, table_name, 0, &ignorecase)
if list_idx > -1
let table_alias = table_name_stripped
let table_alias = table_name
let table_name = s:tbl_name[list_idx]
let table_cols = split(s:tbl_cols[list_idx], '\n')
let table_cols = split(s:tbl_cols[list_idx])
endif
endif
@@ -807,7 +561,7 @@ function! s:SQLCGetColumns(table_name, list_type)
" And the table ends in a "." or we are looking for a column list
" if list_idx == -1 && (a:table_name =~ '\.' || b:sql_compl_type =~ 'column')
" if list_idx == -1 && (a:table_name =~ '\.' || a:list_type =~ 'csv')
if list_idx == -1
if list_idx == -1
let saveY = @y
let saveSearch = @/
let saveWScan = &wrapscan
@@ -818,7 +572,7 @@ function! s:SQLCGetColumns(table_name, list_type)
setlocal nowrapscan
" If . was entered, look at the word just before the .
" We are looking for something like this:
" select *
" select *
" from customer c
" where c.
" So when . is pressed, we need to find 'c'
@@ -827,7 +581,7 @@ function! s:SQLCGetColumns(table_name, list_type)
" Search backwards to the beginning of the statement
" and do NOT wrap
" exec 'silent! normal! v?\<\(select\|update\|delete\|;\)\>'."\n".'"yy'
exec 'silent! normal! ?\<\c\(select\|update\|delete\|;\)\>'."\n"
exec 'silent! normal! ?\<\(select\|update\|delete\|;\)\>'."\n"
" Start characterwise visual mode
" Advance right one character
@@ -836,47 +590,27 @@ function! s:SQLCGetColumns(table_name, list_type)
" 2. A ; at the end of a line (the delimiter)
" 3. The end of the file (incase no delimiter)
" Yank the visually selected text into the "y register.
exec 'silent! normal! vl/\c\(\<select\>\|\<update\>\|\<delete\>\|;\s*$\|\%$\)'."\n".'"yy'
exec 'silent! normal! vl/\(\<select\>\|\<update\>\|\<delete\>\|;\s*$\|\%$\)'."\n".'"yy'
let query = @y
let query = substitute(query, "\n", ' ', 'g')
let found = 0
" if query =~? '^\c\(select\)'
if query =~? '^\(select\|update\|delete\)'
" if query =~? '^\(select\|update\|delete\)'
if query =~? '^\(select\)'
let found = 1
" \(\(\<\w\+\>\)\.\)\? -
" '\c\(from\|join\|,\).\{-}' - Starting at the from clause (case insensitive)
" \(\(\<\w\+\>\)\.\)\? -
" 'from.\{-}' - Starting at the from clause
" '\zs\(\(\<\w\+\>\)\.\)\?' - Get the owner name (optional)
" '\<\w\+\>\ze' - Get the table name
" '\<\w\+\>\ze' - Get the table name
" '\s\+\<'.table_name.'\>' - Followed by the alias
" '\s*\.\@!.*' - Cannot be followed by a .
" '\(\<where\>\|$\)' - Must be followed by a WHERE clause
" '.*' - Exclude the rest of the line in the match
" let table_name_new = matchstr(@y,
" \ '\c\(from\|join\|,\).\{-}'.
" \ '\zs\(\("\|\[\)\?.\{-}\("\|\]\)\.\)\?'.
" \ '\("\|\[\)\?.\{-}\("\|\]\)\?\ze'.
" \ '\s\+\%(as\s\+\)\?\<'.
" \ matchstr(table_name, '.\{-}\ze\.\?$').
" \ '\>'.
" \ '\s*\.\@!.*'.
" \ '\(\<where\>\|$\)'.
" \ '.*'
" \ )
"
"
" ''\c\(\<from\>\|\<join\>\|,\)\s*' - Starting at the from clause (case insensitive)
" '\zs\(\("\|\[\)\?\w\+\("\|\]\)\?\.\)\?' - Get the owner name (optional)
" '\("\|\[\)\?\w\+\("\|\]\)\?\ze' - Get the table name
" '\s\+\%(as\s\+\)\?\<'.matchstr(table_name, '.\{-}\ze\.\?$').'\>' - Followed by the alias
" '\s*\.\@!.*' - Cannot be followed by a .
" '\(\<where\>\|$\)' - Must be followed by a WHERE clause
" '.*' - Exclude the rest of the line in the match
let table_name_new = matchstr(@y,
\ '\c\(\<from\>\|\<join\>\|,\)\s*'.
\ '\zs\(\("\|\[\)\?\w\+\("\|\]\)\?\.\)\?'.
\ '\("\|\[\)\?\w\+\("\|\]\)\?\ze'.
let table_name_new = matchstr(@y,
\ 'from.\{-}'.
\ '\zs\(\(\<\w\+\>\)\.\)\?'.
\ '\<\w\+\>\ze'.
\ '\s\+\%(as\s\+\)\?\<'.
\ matchstr(table_name, '.\{-}\ze\.\?$').
\ '\>'.
@@ -884,15 +618,9 @@ function! s:SQLCGetColumns(table_name, list_type)
\ '\(\<where\>\|$\)'.
\ '.*'
\ )
if table_name_new != ''
let table_alias = table_name
if g:omni_sql_include_owner == 1
let table_name = matchstr( table_name_new, '^\zs\(.\{-}\.\)\?\(.\{-}\.\)\?.*\ze' )
else
" let table_name = matchstr( table_name_new, '^\(.*\.\)\?\zs.*\ze' )
let table_name = matchstr( table_name_new, '^\(.\{-}\.\)\?\zs\(.\{-}\.\)\?.*\ze' )
endif
let table_name = table_name_new
let list_idx = index(s:tbl_name, table_name, 0, &ignorecase)
if list_idx > -1
@@ -920,7 +648,7 @@ function! s:SQLCGetColumns(table_name, list_type)
" Return to previous location
call cursor(curline, curcol)
if found == 0
if g:loaded_dbext > 300
exec 'DBSetOption use_tbl_alias='.saveSettingAlias
@@ -929,19 +657,18 @@ function! s:SQLCGetColumns(table_name, list_type)
" Not a SQL statement, do not display a list
return []
endif
endif
endif
if empty(table_cols)
" Specify silent mode, no messages to the user (tbl, 1)
" Specify do not comma separate (tbl, 1, 1)
" let table_cols_str = DB_getListColumn(table_name, 1, 1)
let table_cols_str = DB_getListColumn((owner!=''?owner.'.':'').table_name, 1, 1)
let table_cols_str = DB_getListColumn(table_name, 1, 1)
if table_cols_str != ""
let s:tbl_name = add( s:tbl_name, table_name )
let s:tbl_alias = add( s:tbl_alias, table_alias )
let s:tbl_cols = add( s:tbl_cols, table_cols_str )
let table_cols = split(table_cols_str, '\n')
let table_cols = split(table_cols_str)
endif
endif
@@ -961,7 +688,4 @@ function! s:SQLCGetColumns(table_name, list_type)
return table_cols
endfunction
" Restore:
let &cpo= s:keepcpo
unlet s:keepcpo
" vim: ts=4 fdm=marker
+121 -500
View File
@@ -1,80 +1,13 @@
" Vim completion script
" Language: All languages, uses existing syntax highlighting rules
" Maintainer: David Fishburn <dfishburn dot vim at gmail dot com>
" Version: 13.0
" Last Change: 2013 May 14
" Usage: For detailed help, ":help ft-syntax-omni"
" Maintainer: David Fishburn <fishburn@ianywhere.com>
" Version: 3.0
" Last Change: Wed Nov 08 2006 10:46:46 AM
" Usage: For detailed help, ":help ft-syntax-omni"
" History
"
" Version 13.0
" - Extended the option omni_syntax_group_include_{filetype}
" to accept a comma separated list of regex's rather than
" string. For example, for the javascript filetype you could
" use:
" let g:omni_syntax_group_include_javascript = 'javascript\w\+,jquery\w\+'
" - Some syntax files (perl.vim) use the match // syntax as a mechanism
" to identify keywords. This update attempts to parse the
" match syntax and pull out syntax items which are at least
" 3 words or more.
"
" Version 12.0
" - It is possible to have '-' as part of iskeyword, when
" checking for character ranges, tighten up the regex.
" E688: More targets than List items.
"
" Version 11.0
" - Corrected which characters required escaping during
" substitution calls.
"
" Version 10.0
" - Cycle through all the character ranges specified in the
" iskeyword option and build a list of valid word separators.
" Prior to this change, only actual characters were used,
" where for example ASCII "45" == "-". If "45" were used
" in iskeyword the hyphen would not be picked up.
" This introduces a new option, since the character ranges
" specified could be multibyte:
" let g:omni_syntax_use_single_byte = 1
" - This by default will only allow single byte ASCII
" characters to be added and an additional check to ensure
" the charater is printable (see documentation for isprint).
"
" Version 9.0
" - Add the check for cpo.
"
" Version 8.0
" - Updated SyntaxCSyntaxGroupItems()
" - Some additional syntax items were also allowed
" on nextgroup= lines which were ignored by default.
" Now these lines are processed independently.
"
" Version 7.0
" - Updated syntaxcomplete#OmniSyntaxList()
" - Looking up the syntax groups defined from a syntax file
" looked for only 1 format of {filetype}GroupName, but some
" syntax writers use this format as well:
" {b:current_syntax}GroupName
" - OmniSyntaxList() will now check for both if the first
" method does not find a match.
"
" Version 6.0
" - Added syntaxcomplete#OmniSyntaxList()
" - Allows other plugins to use this for their own
" purposes.
" - It will return a List of all syntax items for the
" syntax group name passed in.
" - XPTemplate for SQL will use this function via the
" sqlcomplete plugin to populate a Choose box.
"
" Version 5.0
" - Updated SyntaxCSyntaxGroupItems()
" - When processing a list of syntax groups, the final group
" was missed in function SyntaxCSyntaxGroupItems.
"
" Set completion with CTRL-X CTRL-O to autoloaded function.
" This check is in place in case this script is
" sourced directly instead of using the autoload feature.
" sourced directly instead of using the autoload feature.
if exists('+omnifunc')
" Do not set the option if already set since this
" results in an E117 warning.
@@ -84,13 +17,9 @@ if exists('+omnifunc')
endif
if exists('g:loaded_syntax_completion')
finish
finish
endif
let g:loaded_syntax_completion = 130
" Turn on support for line continuations when creating the script
let s:cpo_save = &cpo
set cpo&vim
let g:loaded_syntax_completion = 30
" Set ignorecase to the ftplugin standard
" This is the default setting, but if you define a buffer local
@@ -107,18 +36,6 @@ if !exists('g:omni_syntax_use_iskeyword')
let g:omni_syntax_use_iskeyword = 1
endif
" When using iskeyword, this setting controls whether the characters
" should be limited to single byte characters.
if !exists('g:omni_syntax_use_single_byte')
let g:omni_syntax_use_single_byte = 1
endif
" When using iskeyword, this setting controls whether the characters
" should be limited to single byte characters.
if !exists('g:omni_syntax_use_iskeyword_numeric')
let g:omni_syntax_use_iskeyword_numeric = 1
endif
" Only display items in the completion window that are at least
" this many characters in length.
" This is the default setting, but if you define a buffer local
@@ -129,10 +46,8 @@ endif
" This script will build a completion list based on the syntax
" elements defined by the files in $VIMRUNTIME/syntax.
" let s:syn_remove_words = 'match,matchgroup=,contains,'.
let s:syn_remove_words = 'matchgroup=,contains,'.
\ 'links to,start=,end='
" \ 'links to,start=,end=,nextgroup='
let s:syn_remove_words = 'match,matchgroup=,contains,'.
\ 'links to,start=,end=,nextgroup='
let s:cache_name = []
let s:cache_list = []
@@ -208,30 +123,7 @@ function! syntaxcomplete#Complete(findstart, base)
return compl_list
endfunc
function! syntaxcomplete#OmniSyntaxList(...)
if a:0 > 0
let parms = []
if 3 == type(a:1)
let parms = a:1
elseif 1 == type(a:1)
let parms = split(a:1, ',')
endif
return OmniSyntaxList( parms )
else
return OmniSyntaxList()
endif
endfunc
function! OmniSyntaxList(...)
let list_parms = []
if a:0 > 0
if 3 == type(a:1)
let list_parms = a:1
elseif 1 == type(a:1)
let list_parms = split(a:1, ',')
endif
endif
function! OmniSyntaxList()
" Default to returning a dictionary, if use_dictionary is set to 0
" a list will be returned.
" let use_dictionary = 1
@@ -260,56 +152,22 @@ function! OmniSyntaxList(...)
endif
let saveL = @l
let filetype = substitute(&filetype, '\.', '_', 'g')
if empty(list_parms)
" Default the include group to include the requested syntax group
let syntax_group_include_{filetype} = ''
" Check if there are any overrides specified for this filetype
if exists('g:omni_syntax_group_include_'.filetype)
let syntax_group_include_{filetype} =
\ substitute( g:omni_syntax_group_include_{filetype},'\s\+','','g')
let list_parms = split(g:omni_syntax_group_include_{filetype}, ',')
if syntax_group_include_{filetype} =~ '\w'
let syntax_group_include_{filetype} =
\ substitute( syntax_group_include_{filetype},
\ '\s*,\s*', '\\|', 'g'
\ )
endif
endif
else
" A specific list was provided, use it
endif
" Loop through all the syntax groupnames, and build a
" syntax file which contains these names. This can
" syntax file which contains these names. This can
" work generically for any filetype that does not already
" have a plugin defined.
" This ASSUMES the syntax groupname BEGINS with the name
" of the filetype. From my casual viewing of the vim7\syntax
" directory this is true for almost all syntax definitions.
" As an example, the SQL syntax groups have this pattern:
" sqlType
" sqlOperators
" sqlKeyword ...
if !empty(list_parms) && empty(substitute(join(list_parms), '[a-zA-Z ]', '', 'g'))
" If list_parms only includes word characters, use it to limit
" the syntax elements.
" If using regex syntax list will fail to find those items, so
" simply grab the who syntax list.
redir @l
silent! exec 'syntax list '.join(list_parms)
redir END
else
redir @l
silent! exec 'syntax list'
redir END
endif
" of the filetype. From my casual viewing of the vim7\syntax
" directory.
redir @l
silent! exec 'syntax list '
redir END
let syntax_full = "\n".@l
let @l = saveL
if syntax_full =~ 'E28'
if syntax_full =~ 'E28'
\ || syntax_full =~ 'E411'
\ || syntax_full =~ 'E415'
\ || syntax_full =~ 'No Syntax items'
@@ -318,187 +176,106 @@ function! OmniSyntaxList(...)
let filetype = substitute(&filetype, '\.', '_', 'g')
let list_exclude_groups = []
if a:0 > 0
" Do nothing since we have specific a specific list of groups
else
" Default the exclude group to nothing
let syntax_group_exclude_{filetype} = ''
" Check if there are any overrides specified for this filetype
if exists('g:omni_syntax_group_exclude_'.filetype)
let syntax_group_exclude_{filetype} =
\ substitute( g:omni_syntax_group_exclude_{filetype},'\s\+','','g')
let list_exclude_groups = split(g:omni_syntax_group_exclude_{filetype}, ',')
if syntax_group_exclude_{filetype} =~ '\w'
let syntax_group_exclude_{filetype} =
\ substitute( syntax_group_exclude_{filetype},
\ '\s*,\s*', '\\|', 'g'
\ )
endif
" Default the include group to include the requested syntax group
let syntax_group_include_{filetype} = ''
" Check if there are any overrides specified for this filetype
if exists('g:omni_syntax_group_include_'.filetype)
let syntax_group_include_{filetype} =
\ substitute( g:omni_syntax_group_include_{filetype},'\s\+','','g')
if syntax_group_include_{filetype} =~ '\w'
let syntax_group_include_{filetype} =
\ substitute( syntax_group_include_{filetype},
\ '\s*,\s*', '\\|', 'g'
\ )
endif
endif
if empty(list_parms)
let list_parms = [&filetype.'\w\+']
" Default the exclude group to nothing
let syntax_group_exclude_{filetype} = ''
" Check if there are any overrides specified for this filetype
if exists('g:omni_syntax_group_exclude_'.filetype)
let syntax_group_exclude_{filetype} =
\ substitute( g:omni_syntax_group_exclude_{filetype},'\s\+','','g')
if syntax_group_exclude_{filetype} =~ '\w'
let syntax_group_exclude_{filetype} =
\ substitute( syntax_group_exclude_{filetype},
\ '\s*,\s*', '\\|', 'g'
\ )
endif
endif
" Sometimes filetypes can be composite names, like c.doxygen
" Loop through each individual part looking for the syntax
" items specific to each individual filetype.
let syn_list = ''
let index = 0
for group_regex in list_parms
" Sometimes filetypes can be composite names, like c.doxygen
" Loop through each individual part looking for the syntax
" items specific to each individual filetype.
" let ftindex = 0
" let ftindex = match(syntax_full, group_regex, ftindex)
let ftindex = 0
let ftindex = match(&filetype, '\w\+', ftindex)
" while ftindex > -1
" let ft_part_name = matchstr( syntax_full, '\w\+', ftindex )
while ftindex > -1
let ft_part_name = matchstr( &filetype, '\w\+', ftindex )
" Syntax rules can contain items for more than just the current
" filetype. They can contain additional items added by the user
" via autocmds or their vimrc.
" Some syntax files can be combined (html, php, jsp).
" We want only items that begin with the filetype we are interested in.
let next_group_regex = '\n' .
\ '\zs'.group_regex.'\ze'.
\ '\s\+xxx\s\+'
let index = match(syntax_full, next_group_regex, index)
" Syntax rules can contain items for more than just the current
" filetype. They can contain additional items added by the user
" via autocmds or their vimrc.
" Some syntax files can be combined (html, php, jsp).
" We want only items that begin with the filetype we are interested in.
let next_group_regex = '\n' .
\ '\zs'.ft_part_name.'\w\+\ze'.
\ '\s\+xxx\s\+'
let index = 0
let index = match(syntax_full, next_group_regex, index)
" For the matched group name, strip off any of the regex special
" characters and see if we get a match with the current syntax
if index == -1 && exists('b:current_syntax') && substitute(group_regex, '[^a-zA-Z ]\+.*', '', 'g') !~ '^'.b:current_syntax
" There appears to be two standards when writing syntax files.
" Either items begin as:
" syn keyword {filetype}Keyword values ...
" let b:current_syntax = "sql"
" let b:current_syntax = "sqlanywhere"
" Or
" syn keyword {syntax_filename}Keyword values ...
" let b:current_syntax = "mysql"
" So, we will make the format of finding the syntax group names
" a bit more flexible and look for both if the first fails to
" find a match.
let next_group_regex = '\n' .
\ '\zs'.b:current_syntax.'\w\+\ze'.
\ '\s\+xxx\s\+'
let index = 0
let index = match(syntax_full, next_group_regex, index)
while index > -1
let group_name = matchstr( syntax_full, '\w\+', index )
let get_syn_list = 1
" if syntax_group_include_{&filetype} == ''
" if syntax_group_exclude_{&filetype} != ''
" if '\<'.syntax_group_exclude_{&filetype}.'\>' =~ '\<'.group_name.'\>'
" let get_syn_list = 0
" endif
" endif
" else
" if '\<'.syntax_group_include_{&filetype}.'\>' !~ '\<'.group_name.'\>'
" let get_syn_list = 0
" endif
" endif
if syntax_group_exclude_{filetype} != ''
if '\<'.syntax_group_exclude_{filetype}.'\>' =~ '\<'.group_name.'\>'
let get_syn_list = 0
endif
endif
while index > -1
let group_name = matchstr( syntax_full, '\w\+', index )
let get_syn_list = 1
for exclude_group_name in list_exclude_groups
if '\<'.exclude_group_name.'\>' =~ '\<'.group_name.'\>'
if get_syn_list == 1
if syntax_group_include_{filetype} != ''
if '\<'.syntax_group_include_{filetype}.'\>' !~ '\<'.group_name.'\>'
let get_syn_list = 0
endif
endfor
endif
endif
" This code is no longer needed in version 6.0 since we have
" augmented the syntax list command to only retrieve the syntax
" groups we are interested in.
"
" if get_syn_list == 1
" if syntax_group_include_{filetype} != ''
" if '\<'.syntax_group_include_{filetype}.'\>' !~ '\<'.group_name.'\>'
" let get_syn_list = 0
" endif
" endif
if get_syn_list == 1
" Pass in the full syntax listing, plus the group name we
" are interested in.
let extra_syn_list = s:SyntaxCSyntaxGroupItems(group_name, syntax_full)
" if !empty(extra_syn_list)
" for elem in extra_syn_list
" let item = {'word':elem, 'kind':'t', 'info':group_name}
" let compl_list += [item]
" endfor
" endif
if get_syn_list == 1
" Pass in the full syntax listing, plus the group name we
" are interested in.
let extra_syn_list = s:SyntaxCSyntaxGroupItems(group_name, syntax_full)
let syn_list = syn_list . extra_syn_list . "\n"
endif
let syn_list = syn_list . extra_syn_list . "\n"
endif
let index = index + strlen(group_name)
let index = match(syntax_full, next_group_regex, index)
endwhile
let index = index + strlen(group_name)
let index = match(syntax_full, next_group_regex, index)
endwhile
" let ftindex = ftindex + len(ft_part_name)
" let ftindex = match( syntax_full, group_regex, ftindex )
" endwhile
endfor
" " Sometimes filetypes can be composite names, like c.doxygen
" " Loop through each individual part looking for the syntax
" " items specific to each individual filetype.
" let syn_list = ''
" let ftindex = 0
" let ftindex = match(&filetype, '\w\+', ftindex)
" while ftindex > -1
" let ft_part_name = matchstr( &filetype, '\w\+', ftindex )
" " Syntax rules can contain items for more than just the current
" " filetype. They can contain additional items added by the user
" " via autocmds or their vimrc.
" " Some syntax files can be combined (html, php, jsp).
" " We want only items that begin with the filetype we are interested in.
" let next_group_regex = '\n' .
" \ '\zs'.ft_part_name.'\w\+\ze'.
" \ '\s\+xxx\s\+'
" let index = 0
" let index = match(syntax_full, next_group_regex, index)
" if index == -1 && exists('b:current_syntax') && ft_part_name != b:current_syntax
" " There appears to be two standards when writing syntax files.
" " Either items begin as:
" " syn keyword {filetype}Keyword values ...
" " let b:current_syntax = "sql"
" " let b:current_syntax = "sqlanywhere"
" " Or
" " syn keyword {syntax_filename}Keyword values ...
" " let b:current_syntax = "mysql"
" " So, we will make the format of finding the syntax group names
" " a bit more flexible and look for both if the first fails to
" " find a match.
" let next_group_regex = '\n' .
" \ '\zs'.b:current_syntax.'\w\+\ze'.
" \ '\s\+xxx\s\+'
" let index = 0
" let index = match(syntax_full, next_group_regex, index)
" endif
" while index > -1
" let group_name = matchstr( syntax_full, '\w\+', index )
" let get_syn_list = 1
" for exclude_group_name in list_exclude_groups
" if '\<'.exclude_group_name.'\>' =~ '\<'.group_name.'\>'
" let get_syn_list = 0
" endif
" endfor
" " This code is no longer needed in version 6.0 since we have
" " augmented the syntax list command to only retrieve the syntax
" " groups we are interested in.
" "
" " if get_syn_list == 1
" " if syntax_group_include_{filetype} != ''
" " if '\<'.syntax_group_include_{filetype}.'\>' !~ '\<'.group_name.'\>'
" " let get_syn_list = 0
" " endif
" " endif
" " endif
" if get_syn_list == 1
" " Pass in the full syntax listing, plus the group name we
" " are interested in.
" let extra_syn_list = s:SyntaxCSyntaxGroupItems(group_name, syntax_full)
" let syn_list = syn_list . extra_syn_list . "\n"
" endif
" let index = index + strlen(group_name)
" let index = match(syntax_full, next_group_regex, index)
" endwhile
" let ftindex = ftindex + len(ft_part_name)
" let ftindex = match( &filetype, '\w\+', ftindex )
" endwhile
let ftindex = ftindex + len(ft_part_name)
let ftindex = match( &filetype, '\w\+', ftindex )
endwhile
" Convert the string to a List and sort it.
let compl_list = sort(split(syn_list))
@@ -535,13 +312,9 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
" \zs - start the match
" .\{-} - everything ...
" \ze - end the match
" \( - start a group or 2 potential matches
" \n\w - at the first newline starting with a character
" \| - 2nd potential match
" \%$ - matches end of the file or string
" \) - end a group
let syntax_group = matchstr(a:syntax_full,
\ "\n".a:group_name.'\s\+xxx\s\+\zs.\{-}\ze\(\n\w\|\%$\)'
let syntax_group = matchstr(a:syntax_full,
\ "\n".a:group_name.'\s\+xxx\s\+\zs.\{-}\ze'."\n".'\w'
\ )
if syntax_group != ""
@@ -550,97 +323,26 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
" We only want the words for the lines begining with
" containedin, but there could be other items.
" Tried to remove all lines that do not begin with contained
" but this does not work in all cases since you can have
" contained nextgroup=...
" So this will strip off the ending of lines with known
" keywords.
let syn_list = substitute(
let syn_list = substitute(
\ syntax_group, '\<\('.
\ substitute(
\ escape(s:syn_remove_words, '\\/.*$^~[]')
\ , ',', '\\|', 'g'
\ ).
\ '\).\{-}\%($\|'."\n".'\)'
\ , "\n", 'g'
\ , "\n", 'g'
\ )
" Attempt to deal with lines using the match syntax
" javaScriptDocTags xxx match /@\(param\|argument\|requires\|file\)\>/
" Though it can use any types of regex, so this plugin will attempt
" to restrict it
" 1. Only use \( or \%( constructs remove all else
" 2 Remove and []s
" 3. Account for match //constructs
" \%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?
" 4. Hope for the best
"
"
let syn_list_old = syn_list
while syn_list =~ '\<match\>\s\+\/'
if syn_list =~ 'perlElseIfError'
let syn_list = syn_list
endif
" Check if the match has words at least 3 characters long
if syn_list =~ '\<match \/\zs.\{-}\<\w\{3,}\>.\{-}\ze\\\@<!\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+'
" Remove everything after / and before the first \(
let syn_list = substitute( syn_list, '\<match \/\zs.\{-}\ze\\%\?(.\{-}\\\@<!\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '', 'g' )
" Remove everything after \) and up to the ending /
let syn_list = substitute( syn_list, '\<match \/.\{-}\\)\zs.\{-}\ze\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '', 'g' )
" Remove any character classes
" let syn_list = substitute( syn_list, '\<match /\zs.\{-}\[[^]]*\].\{-}\ze\/ ', '', 'g' )
let syn_list = substitute( syn_list, '\%(\<match \/[^/]\{-}\)\@<=\[[^]]*\]\ze.\{-}\\\@<!\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?', '', 'g' )
" Remove any words < 3 characters
let syn_list = substitute( syn_list, '\%(\<match \/[^/]\{-}\)\@<=\<\w\{1,2}\>\ze.\{-}\\\@<!\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '', 'g' )
" Remove all non-word characters
" let syn_list = substitute( syn_list, '\<match /\zs.\{-}\<\W\+\>.\{-}\ze\/ ', "", 'g' )
" let syn_list = substitute( syn_list, '\%(\<match \/[^/]\{-}\)\@<=\W\+\ze.\{-}\/ ', ' ', 'g' )
" Do this by using the outer substitue() call to gather all
" text between the match /.../ tags.
" The inner substitute() call operates on the text selected
" and replaces all non-word characters.
let syn_list = substitute( syn_list, '\<match \/\zs\(.\{-}\)\ze\\\@<!\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+'
\ , '\=substitute(submatch(1), "\\W\\+", " ", "g")'
\ , 'g' )
" Remove the match / / syntax
let syn_list = substitute( syn_list, '\<match \/\(.\{-}\)\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '\1', 'g' )
else
" No words long enough, remove the match
" Remove the match syntax
" let syn_list = substitute( syn_list, '\<match \/[^\/]*\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '', 'g' )
let syn_list = substitute( syn_list, '\<match \/\%(.\{-}\)\?\/\%(\%(ms\|me\|hs\|he\|rs\|re\|lc\)\S\+\)\?\s\+', '', 'g' )
endif
if syn_list =~ '\<match\>\s\+\/'
" Problem removing the match / / tags
let syn_list = ''
endif
endwhile
" Now strip off the newline + blank space + contained.
" Also include lines with nextgroup=@someName skip_key_words syntax_element
" \ syn_list, '\%(^\|\n\)\@<=\s*\<\(contained\|nextgroup=\)'
" \ syn_list, '\%(^\|\n\)\@<=\s*\<\(contained\|nextgroup=[@a-zA-Z,]*\)'
let syn_list = substitute(
\ syn_list, '\<\(contained\|nextgroup=[@a-zA-Z,]*\)'
\ , "", 'g'
\ )
" This can leave lines like this
" =@vimMenuList skipwhite onoremenu
" Strip the special option keywords first
" :h :syn-skipwhite*
let syn_list = substitute(
\ syn_list, '\<\(skipwhite\|skipnl\|skipempty\)\>'
\ , "", 'g'
\ )
" Now remove the remainder of the nextgroup=@someName lines
let syn_list = substitute(
\ syn_list, '\%(^\|\n\)\@<=\s*\(@\w\+\)'
\ , "", 'g'
" Now strip off the newline + blank space + contained
let syn_list = substitute(
\ syn_list, '\%(^\|\n\)\@<=\s*\<\(contained\)'
\ , "", 'g'
\ )
if b:omni_syntax_use_iskeyword == 0
@@ -649,74 +351,17 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
" This will replace non-word characters with spaces.
let syn_list = substitute( syn_list, '[^0-9A-Za-z_ ]', ' ', 'g' )
else
if g:omni_syntax_use_iskeyword_numeric == 1
" iskeyword can contain value like this
" 38,42,43,45,47-58,60-62,64-90,97-122,_,+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
" Numeric values convert to their ASCII equivalent using the
" nr2char() function.
" & 38
" * 42
" + 43
" - 45
" ^ 94
" Iterate through all numeric specifications and convert those
" to their ascii equivalent ensuring the character is printable.
" If so, add it to the list.
let accepted_chars = ''
for item in split(&iskeyword, ',')
if item =~ '\d-\d'
" This is a character range (ie 47-58),
" cycle through each character within the range
let [b:start, b:end] = split(item, '-')
for range_item in range( b:start, b:end )
if range_item <= 127 || g:omni_syntax_use_single_byte == 0
if nr2char(range_item) =~ '\p'
let accepted_chars = accepted_chars . nr2char(range_item)
endif
endif
endfor
elseif item =~ '^\d\+$'
" Only numeric, translate to a character
if item < 127 || g:omni_syntax_use_single_byte == 0
if nr2char(item) =~ '\p'
let accepted_chars = accepted_chars . nr2char(item)
endif
endif
else
if char2nr(item) < 127 || g:omni_syntax_use_single_byte == 0
if item =~ '\p'
let accepted_chars = accepted_chars . item
endif
endif
endif
endfor
" Escape special regex characters
" Looks like the wrong chars are escaped. In a collection,
" :h /[]
" only `]', `\', `-' and `^' are special:
" let accepted_chars = escape(accepted_chars, '\\/.*$^~[]' )
let accepted_chars = escape(accepted_chars, ']\-^' )
" Remove all characters that are not acceptable
let syn_list = substitute( syn_list, '[^A-Za-z'.accepted_chars.']', ' ', 'g' )
else
let accept_chars = ','.&iskeyword.','
" Remove all character ranges
" let accept_chars = substitute(accept_chars, ',[^,]\+-[^,]\+,', ',', 'g')
let accept_chars = substitute(accept_chars, ',\@<=[^,]\+-[^,]\+,', '', 'g')
" Remove all numeric specifications
" let accept_chars = substitute(accept_chars, ',\d\{-},', ',', 'g')
let accept_chars = substitute(accept_chars, ',\@<=\d\{-},', '', 'g')
" Remove all commas
let accept_chars = substitute(accept_chars, ',', '', 'g')
" Escape special regex characters
" Looks like the wrong chars are escaped. In a collection,
" :h /[]
" only `]', `\', `-' and `^' are special:
" let accept_chars = escape(accept_chars, '\\/.*$^~[]' )
let accept_chars = escape(accept_chars, ']\-^' )
" Remove all characters that are not acceptable
let syn_list = substitute( syn_list, '[^0-9A-Za-z_'.accept_chars.']', ' ', 'g' )
endif
let accept_chars = ','.&iskeyword.','
" Remove all character ranges
let accept_chars = substitute(accept_chars, ',[^,]\+-[^,]\+,', ',', 'g')
" Remove all numeric specifications
let accept_chars = substitute(accept_chars, ',\d\{-},', ',', 'g')
" Remove all commas
let accept_chars = substitute(accept_chars, ',', '', 'g')
" Escape special regex characters
let accept_chars = escape(accept_chars, '\\/.*$^~[]' )
" Remove all characters that are not acceptable
let syn_list = substitute( syn_list, '[^0-9A-Za-z_ '.accept_chars.']', ' ', 'g' )
endif
if b:omni_syntax_minimum_length > 0
@@ -729,27 +374,3 @@ function! s:SyntaxCSyntaxGroupItems( group_name, syntax_full )
return syn_list
endfunction
function! OmniSyntaxShowChars(spec)
let result = []
for item in split(a:spec, ',')
if len(item) > 1
if item == '@-@'
call add(result, char2nr(item))
else
call extend(result, call('range', split(item, '-')))
endif
else
if item == '@' " assume this is [A-Za-z]
for [c1, c2] in [['A', 'Z'], ['a', 'z']]
call extend(result, range(char2nr(c1), char2nr(c2)))
endfor
else
call add(result, char2nr(item))
endif
endif
endfor
return join(map(result, 'nr2char(v:val)'), ', ')
endfunction
let &cpo = s:cpo_save
unlet s:cpo_save
+104 -340
View File
@@ -1,37 +1,30 @@
" tar.vim: Handles browsing tarfiles
" AUTOLOAD PORTION
" Date: Apr 17, 2013
" Version: 29
" Maintainer: Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" Date: Sep 29, 2006
" Version: 11
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" License: Vim License (see vim's :help license)
"
" Contains many ideas from Michael Toren's <tar.vim>
"
" Copyright: Copyright (C) 2005-2011 Charles E. Campbell {{{1
" Copyright: Copyright (C) 2005 Charles E. Campbell, Jr. {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
" tar.vim and tarPlugin.vim are provided *as is* and comes
" with no warranty of any kind, either expressed or implied.
" By using this plugin, you agree that in no event will the
" copyright holder be liable for any damages resulting from
" the use of this software.
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
" tarPlugin.vim is provided *as is* and comes with no warranty
" of any kind, either expressed or implied. By using this
" plugin, you agree that in no event will the copyright
" holder be liable for any damages resulting from the use
" of this software.
" ---------------------------------------------------------------------
" Load Once: {{{1
if &cp || exists("g:loaded_tar")
finish
endif
let g:loaded_tar= "v29"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of tar needs vim 7.2"
echohl Normal
finish
endif
let s:keepcpo= &cpo
set cpo&vim
"DechoTabOn
if &cp || exists("g:loaded_tar") || v:version < 700
finish
endif
let g:loaded_tar= "v11"
"call Decho("loading autoload/tar.vim")
" ---------------------------------------------------------------------
@@ -48,51 +41,12 @@ endif
if !exists("g:tar_writeoptions")
let g:tar_writeoptions= "uf"
endif
if !exists("g:netrw_cygwin")
if has("win32") || has("win95") || has("win64") || has("win16")
if &shell =~ '\%(\<bash\>\|\<zsh\>\)\%(\.exe\)\=$'
let g:netrw_cygwin= 1
else
let g:netrw_cygwin= 0
endif
else
let g:netrw_cygwin= 0
endif
endif
if !exists("g:tar_copycmd")
if !exists("g:netrw_localcopycmd")
if has("win32") || has("win95") || has("win64") || has("win16")
if g:netrw_cygwin
let g:netrw_localcopycmd= "cp"
else
let g:netrw_localcopycmd= "copy"
endif
elseif has("unix") || has("macunix")
let g:netrw_localcopycmd= "cp"
else
let g:netrw_localcopycmd= ""
endif
endif
let g:tar_copycmd= g:netrw_localcopycmd
endif
if !exists("g:tar_extractcmd")
let g:tar_extractcmd= "tar -xf"
endif
" set up shell quoting character
if !exists("g:tar_shq")
if exists("+shq") && exists("&shq") && &shq != ""
let g:tar_shq= &shq
elseif has("win32") || has("win95") || has("win64") || has("win16")
if exists("g:netrw_cygwin") && g:netrw_cygwin
let g:tar_shq= "'"
else
let g:tar_shq= '"'
endif
else
if has("unix")
let g:tar_shq= "'"
else
let g:tar_shq= '"'
endif
" call Decho("g:tar_shq<".g:tar_shq.">")
endif
" ----------------
@@ -110,6 +64,7 @@ fun! tar#Browse(tarfile)
if !executable(g:tar_cmd)
redraw!
echohl Error | echo '***error*** (tar#Browse) "'.g:tar_cmd.'" not available on your system'
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
let &report= repkeep
" call Dret("tar#Browse")
return
@@ -120,6 +75,7 @@ fun! tar#Browse(tarfile)
" if its an url, don't complain, let url-handlers such as vim do its thing
redraw!
echohl Error | echo "***error*** (tar#Browse) File not readable<".a:tarfile.">" | echohl None
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
endif
let &report= repkeep
" call Dret("tar#Browse : file<".a:tarfile."> not readable")
@@ -128,7 +84,7 @@ fun! tar#Browse(tarfile)
if &ma != 1
set ma
endif
let b:tarfile= a:tarfile
let w:tarfile= a:tarfile
setlocal noswapfile
setlocal buftype=nofile
@@ -139,58 +95,45 @@ fun! tar#Browse(tarfile)
" give header
" call Decho("printing header")
let lastline= line("$")
call setline(lastline+1,'" tar.vim version '.g:loaded_tar)
call setline(lastline+2,'" Browsing tarfile '.a:tarfile)
call setline(lastline+3,'" Select a file with cursor and press ENTER')
keepj $put =''
keepj sil! 0d
keepj $
exe "$put ='".'\"'." tar.vim version ".g:loaded_tar."'"
exe "$put ='".'\"'." Browsing tarfile ".a:tarfile."'"
exe "$put ='".'\"'." Select a file with cursor and press ENTER"."'"
0d
$
let tarfile= a:tarfile
if has("win32unix") && executable("cygpath")
if has("win32") && executable("cygpath")
" assuming cygwin
let tarfile=substitute(system("cygpath -u ".shellescape(tarfile,0)),'\n$','','e')
let tarfile=substitute(system("cygpath -u ".tarfile),'\n$','','e')
endif
let curlast= line("$")
if tarfile =~# '\.\(gz\|tgz\)$'
" call Decho("1: exe silent r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "sil! r! gzip -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
elseif tarfile =~# '\.lrp'
" call Decho("2: exe silent r! cat -- ".shellescape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "sil! r! cat -- ".shellescape(tarfile,1)."|gzip -d -c -|".g:tar_cmd." -".g:tar_browseoptions." - "
elseif tarfile =~# '\.\(bz2\|tbz\|tb2\)$'
" call Decho("3: exe silent r! bzip2 -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "sil! r! bzip2 -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
elseif tarfile =~# '\.\(lzma\|tlz\)$'
" call Decho("3: exe silent r! lzma -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "sil! r! lzma -d -c -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
elseif tarfile =~# '\.\(xz\|txz\)$'
" call Decho("3: exe silent r! xz --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "sil! r! xz --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_browseoptions." - "
" call Decho("exe silent r! gzip -d -c ".g:tar_shq.tarfile.g:tar_shq."| ".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "silent r! gzip -d -c ".g:tar_shq.tarfile.g:tar_shq."| ".g:tar_cmd." -".g:tar_browseoptions." - "
elseif tarfile =~# '\.bz2$'
" call Decho("exe silent r! bzip2 -d -c ".g:tar_shq.tarfile.g:tar_shq."| ".g:tar_cmd." -".g:tar_browseoptions." - ")
exe "silent r! bzip2 -d -c ".g:tar_shq.tarfile.g:tar_shq."| ".g:tar_cmd." -".g:tar_browseoptions." - "
else
if tarfile =~ '^\s*-'
" A file name starting with a dash is taken as an option. Prepend ./ to avoid that.
let tarfile = substitute(tarfile, '-', './-', '')
endif
" call Decho("4: exe silent r! ".g:tar_cmd." -".g:tar_browseoptions." ".shellescape(tarfile,0))
exe "sil! r! ".g:tar_cmd." -".g:tar_browseoptions." ".shellescape(tarfile,1)
" call Decho("exe silent r! ".g:tar_cmd." -".g:tar_browseoptions." ".g:tar_shq.tarfile.g:tar_shq)
exe "silent r! ".g:tar_cmd." -".g:tar_browseoptions." ".g:tar_shq.tarfile.g:tar_shq
endif
if v:shell_error != 0
redraw!
echohl WarningMsg | echo "***warning*** (tar#Browse) please check your g:tar_browseoptions<".g:tar_browseoptions.">"
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
" call Dret("tar#Browse : a:tarfile<".a:tarfile.">")
return
endif
if line("$") == curlast || ( line("$") == (curlast + 1) && getline("$") =~ '\c\%(warning\|error\|inappropriate\|unrecognized\)')
redraw!
echohl WarningMsg | echo "***warning*** (tar#Browse) ".a:tarfile." doesn't appear to be a tar file" | echohl None
keepj sil! %d
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
silent %d
let eikeep= &ei
set ei=BufReadCmd,FileReadCmd
exe "r ".fnameescape(a:tarfile)
exe "r ".a:tarfile
let &ei= eikeep
keepj sil! 1d
1d
" call Dret("tar#Browse : a:tarfile<".a:tarfile.">")
return
endif
@@ -199,25 +142,18 @@ fun! tar#Browse(tarfile)
noremap <silent> <buffer> <cr> :call <SID>TarBrowseSelect()<cr>
let &report= repkeep
" call Dret("tar#Browse : b:tarfile<".b:tarfile.">")
" call Dret("tar#Browse : w:tarfile<".w:tarfile.">")
endfun
" ---------------------------------------------------------------------
" TarBrowseSelect: {{{2
fun! s:TarBrowseSelect()
" call Dfunc("TarBrowseSelect() b:tarfile<".b:tarfile."> curfile<".expand("%").">")
" call Dfunc("TarBrowseSelect() w:tarfile<".w:tarfile."> curfile<".expand("%").">")
let repkeep= &report
set report=10
let fname= getline(".")
" call Decho("fname<".fname.">")
if !exists("g:tar_secure") && fname =~ '^\s*-\|\s\+-'
redraw!
echohl WarningMsg | echo '***warning*** (tar#BrowseSelect) rejecting tarfile member<'.fname.'> because of embedded "-"'
" call Dret('tar#BrowseSelect : rejecting tarfile member<'.fname.'> because of embedded "-"')
return
endif
" sanity check
if fname =~ '^"'
let &report= repkeep
@@ -225,23 +161,19 @@ fun! s:TarBrowseSelect()
return
endif
" about to make a new window, need to use b:tarfile
let tarfile= b:tarfile
" about to make a new window, need to use w:tarfile
let tarfile= w:tarfile
let curfile= expand("%")
if has("win32unix") && executable("cygpath")
if has("win32") && executable("cygpath")
" assuming cygwin
let tarfile=substitute(system("cygpath -u ".shellescape(tarfile,0)),'\n$','','e')
let tarfile=substitute(system("cygpath -u ".tarfile),'\n$','','e')
endif
new
if !exists("g:tar_nomax") || g:tar_nomax == 0
wincmd _
endif
wincmd _
let s:tblfile_{winnr()}= curfile
call tar#Read("tarfile:".tarfile.'::'.fname,1)
call tar#Read("tarfile:".tarfile.':'.fname,1)
filetype detect
set nomod
exe 'com! -buffer -nargs=? -complete=file TarDiff :call tar#Diff(<q-args>,"'.fnameescape(fname).'")'
let &report= repkeep
" call Dret("TarBrowseSelect : s:tblfile_".winnr()."<".s:tblfile_{winnr()}.">")
@@ -253,98 +185,48 @@ fun! tar#Read(fname,mode)
" call Dfunc("tar#Read(fname<".a:fname.">,mode=".a:mode.")")
let repkeep= &report
set report=10
let tarfile = substitute(a:fname,'tarfile:\(.\{-}\)::.*$','\1','')
let fname = substitute(a:fname,'tarfile:.\{-}::\(.*\)$','\1','')
if has("win32unix") && executable("cygpath")
let tarfile = substitute(a:fname,'tarfile:\(.\{-}\):.*$','\1','')
let fname = substitute(a:fname,'tarfile:.\{-}:\(.*\)$','\1','')
if has("win32") && executable("cygpath")
" assuming cygwin
let tarfile=substitute(system("cygpath -u ".shellescape(tarfile,0)),'\n$','','e')
let tarfile=substitute(system("cygpath -u ".tarfile),'\n$','','e')
endif
" call Decho("tarfile<".tarfile.">")
" call Decho("fname<".fname.">")
if fname =~ '\.bz2$' && executable("bzcat")
let decmp= "|bzcat"
let doro = 1
elseif fname =~ '\.gz$' && executable("zcat")
let decmp= "|zcat"
let doro = 1
elseif fname =~ '\.lzma$' && executable("lzcat")
let decmp= "|lzcat"
let doro = 1
elseif fname =~ '\.xz$' && executable("xzcat")
let decmp= "|xzcat"
let doro = 1
if tarfile =~# '\.\(gz\|tgz\)$'
" call Decho("exe silent r! gzip -d -c ".g:tar_shq.tarfile.g:tar_shq."| ".g:tar_cmd." -OPxf - '".fname."'")
exe "silent r! gzip -d -c ".g:tar_shq.tarfile.g:tar_shq."| ".g:tar_cmd." -".g:tar_readoptions." - '".fname."'"
elseif tarfile =~# '\.bz2$'
" call Decho("exe silent r! bzip2 -d -c ".g:tar_shq.tarfile.g:tar_shq."| ".g:tar_cmd." -".g:tar_readoptions." - '".fname."'")
exe "silent r! bzip2 -d -c ".g:tar_shq.tarfile.g:tar_shq."| ".g:tar_cmd." -".g:tar_readoptions." - '".fname."'"
else
let decmp=""
let doro = 0
if fname =~ '\.bz2$\|\.gz$\|\.lzma$\|\.xz$\|\.zip$\|\.Z$'
setlocal bin
endif
" call Decho("exe silent r! ".g:tar_cmd." -".g:tar_readoptions." ".g:tar_shq.tarfile.g:tar_shq." ".g:tar_shq.fname.g:tar_shq)
exe "silent r! ".g:tar_cmd." -".g:tar_readoptions." ".g:tar_shq.tarfile.g:tar_shq." ".g:tar_shq.fname.g:tar_shq
endif
if exists("g:tar_secure")
let tar_secure= " -- "
else
let tar_secure= " "
endif
if tarfile =~# '\.bz2$'
" call Decho("7: exe silent r! bzip2 -d -c ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp)
exe "sil! r! bzip2 -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
elseif tarfile =~# '\.\(gz\|tgz\)$'
" call Decho("5: exe silent r! gzip -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd.' -'.g:tar_readoptions.' - '.tar_secure.shellescape(fname,1))
exe "sil! r! gzip -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
elseif tarfile =~# '\.lrp$'
" call Decho("6: exe silent r! cat ".shellescape(tarfile,1)." | gzip -d -c - | ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp)
exe "sil! r! cat -- ".shellescape(tarfile,1)." | gzip -d -c - | ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
elseif tarfile =~# '\.lzma$'
" call Decho("7: exe silent r! lzma -d -c ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp)
exe "sil! r! lzma -d -c -- ".shellescape(tarfile,1)."| ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
elseif tarfile =~# '\.\(xz\|txz\)$'
" call Decho("3: exe silent r! xz --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp)
exe "sil! r! xz --decompress --stdout -- ".shellescape(tarfile,1)." | ".g:tar_cmd." -".g:tar_readoptions." - ".tar_secure.shellescape(fname,1).decmp
else
if tarfile =~ '^\s*-'
" A file name starting with a dash is taken as an option. Prepend ./ to avoid that.
let tarfile = substitute(tarfile, '-', './-', '')
endif
" call Decho("8: exe silent r! ".g:tar_cmd." -".g:tar_readoptions.tar_secure.shellescape(tarfile,1)." ".shellescape(fname,1).decmp)
exe "silent r! ".g:tar_cmd." -".g:tar_readoptions.shellescape(tarfile,1)." ".tar_secure.shellescape(fname,1).decmp
endif
if doro
" because the reverse process of compressing changed files back into the tarball is not currently supported
setlocal ro
endif
let b:tarfile= a:fname
exe "file tarfile::".fnameescape(fname)
let w:tarfile= a:fname
exe "file tarfile:".fname
" cleanup
keepj sil! 0d
0d
set nomod
let &report= repkeep
" call Dret("tar#Read : b:tarfile<".b:tarfile.">")
" call Dret("tar#Read : w:tarfile<".w:tarfile.">")
endfun
" ---------------------------------------------------------------------
" tar#Write: {{{2
fun! tar#Write(fname)
" call Dfunc("tar#Write(fname<".a:fname.">) b:tarfile<".b:tarfile."> tblfile_".winnr()."<".s:tblfile_{winnr()}.">")
" call Dfunc("tar#Write(fname<".a:fname.">) w:tarfile<".w:tarfile."> tblfile_".winnr()."<".s:tblfile_{winnr()}.">")
let repkeep= &report
set report=10
if !exists("g:tar_secure") && a:fname =~ '^\s*-\|\s\+-'
redraw!
echohl WarningMsg | echo '***warning*** (tar#Write) rejecting tarfile member<'.a:fname.'> because of embedded "-"'
" call Dret('tar#Write : rejecting tarfile member<'.fname.'> because of embedded "-"')
return
endif
" sanity checks
if !executable(g:tar_cmd)
redraw!
echohl Error | echo '***error*** (tar#Browse) "'.g:tar_cmd.'" not available on your system'
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
let &report= repkeep
" call Dret("tar#Write")
return
@@ -352,6 +234,7 @@ fun! tar#Write(fname)
if !exists("*mkdir")
redraw!
echohl Error | echo "***error*** (tar#Write) sorry, mkdir() doesn't work on your system" | echohl None
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
let &report= repkeep
" call Dret("tar#Write")
return
@@ -368,10 +251,11 @@ fun! tar#Write(fname)
" attempt to change to the indicated directory
try
exe "cd ".fnameescape(tmpdir)
exe "cd ".escape(tmpdir,' \')
catch /^Vim\%((\a\+)\)\=:E344/
redraw!
echohl Error | echo "***error*** (tar#Write) cannot cd to temporary directory" | Echohl None
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
let &report= repkeep
" call Dret("tar#Write")
return
@@ -386,86 +270,66 @@ fun! tar#Write(fname)
cd _ZIPVIM_
" call Decho("current directory now: ".getcwd())
let tarfile = substitute(b:tarfile,'tarfile:\(.\{-}\)::.*$','\1','')
let fname = substitute(b:tarfile,'tarfile:.\{-}::\(.*\)$','\1','')
let tarfile = substitute(w:tarfile,'tarfile:\(.\{-}\):.*$','\1','')
let fname = substitute(w:tarfile,'tarfile:.\{-}:\(.*\)$','\1','')
" handle compressed archives
if tarfile =~# '\.bz2'
call system("bzip2 -d -- ".shellescape(tarfile,0))
let tarfile = substitute(tarfile,'\.bz2','','e')
let compress= "bzip2 -- ".shellescape(tarfile,0)
" call Decho("compress<".compress.">")
elseif tarfile =~# '\.gz'
call system("gzip -d -- ".shellescape(tarfile,0))
if tarfile =~# '\.gz'
call system("gzip -d ".tarfile)
let tarfile = substitute(tarfile,'\.gz','','e')
let compress= "gzip -- ".shellescape(tarfile,0)
" call Decho("compress<".compress.">")
let compress= "gzip '".tarfile."'"
elseif tarfile =~# '\.tgz'
call system("gzip -d -- ".shellescape(tarfile,0))
call system("gzip -d ".tarfile)
let tarfile = substitute(tarfile,'\.tgz','.tar','e')
let compress= "gzip -- ".shellescape(tarfile,0)
let compress= "gzip '".tarfile."'"
let tgz = 1
" call Decho("compress<".compress.">")
elseif tarfile =~# '\.xz'
call system("xz -d -- ".shellescape(tarfile,0))
let tarfile = substitute(tarfile,'\.xz','','e')
let compress= "xz -- ".shellescape(tarfile,0)
" call Decho("compress<".compress.">")
elseif tarfile =~# '\.lzma'
call system("lzma -d -- ".shellescape(tarfile,0))
let tarfile = substitute(tarfile,'\.lzma','','e')
let compress= "lzma -- ".shellescape(tarfile,0)
" call Decho("compress<".compress.">")
elseif tarfile =~# '\.bz2'
call system("bzip2 -d ".tarfile)
let tarfile = substitute(tarfile,'\.bz2','','e')
let compress= "bzip2 '".tarfile."'"
endif
" call Decho("tarfile<".tarfile.">")
if v:shell_error != 0
redraw!
echohl Error | echo "***error*** (tar#Write) sorry, unable to update ".tarfile." with ".fname | echohl None
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
else
" call Decho("tarfile<".tarfile."> fname<".fname.">")
if fname =~ '/'
let dirpath = substitute(fname,'/[^/]\+$','','e')
if has("win32unix") && executable("cygpath")
let dirpath = substitute(system("cygpath ".shellescape(dirpath, 0)),'\n','','e')
if executable("cygpath")
let dirpath = substitute(system("cygpath ".dirpath),'\n','','e')
endif
call mkdir(dirpath,"p")
endif
if tarfile !~ '/'
let tarfile= curdir.'/'.tarfile
endif
if tarfile =~ '^\s*-'
" A file name starting with a dash may be taken as an option. Prepend ./ to avoid that.
let tarfile = substitute(tarfile, '-', './-', '')
endif
" call Decho("tarfile<".tarfile."> fname<".fname.">")
if exists("g:tar_secure")
let tar_secure= " -- "
else
let tar_secure= " "
endif
exe "w! ".fnameescape(fname)
if has("win32unix") && executable("cygpath")
let tarfile = substitute(system("cygpath ".shellescape(tarfile,0)),'\n','','e')
exe "w! ".fname
if executable("cygpath")
let tarfile = substitute(system("cygpath ".tarfile),'\n','','e')
endif
" delete old file from tarfile
" call Decho("system(".g:tar_cmd." --delete -f ".shellescape(tarfile,0)." -- ".shellescape(fname,0).")")
call system(g:tar_cmd." --delete -f ".shellescape(tarfile,0).tar_secure.shellescape(fname,0))
" call Decho("tar --delete -f '".tarfile."' '".fname."'")
call system("tar --delete -f '".tarfile."' '".fname."'")
if v:shell_error != 0
redraw!
echohl Error | echo "***error*** (tar#Write) sorry, unable to update ".fnameescape(tarfile)." with ".fnameescape(fname) | echohl None
echohl Error | echo "***error*** (tar#Write) sorry, unable to update ".tarfile." with ".fname | echohl None
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
else
" update tarfile with new file
" call Decho(g:tar_cmd." -".g:tar_writeoptions." ".shellescape(tarfile,0).tar_secure.shellescape(fname,0))
call system(g:tar_cmd." -".g:tar_writeoptions." ".shellescape(tarfile,0).tar_secure.shellescape(fname,0))
" call Decho("tar -".g:tar_writeoptions." '".tarfile."' '".fname."'")
call system("tar -".g:tar_writeoptions." '".tarfile."' '".fname."'")
if v:shell_error != 0
redraw!
echohl Error | echo "***error*** (tar#Write) sorry, unable to update ".fnameescape(tarfile)." with ".fnameescape(fname) | echohl None
echohl Error | echo "***error*** (tar#Write) sorry, unable to update ".tarfile." with ".fname | echohl None
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
elseif exists("compress")
" call Decho("call system(".compress.")")
call system(compress)
@@ -481,13 +345,13 @@ fun! tar#Write(fname)
" call Decho("handle writing <".tarfile."> across network to <".s:tblfile_{winnr()}.">")
let tblfile= s:tblfile_{winnr()}
1split|enew
let binkeep= &l:binary
let binkeep= &binary
let eikeep = &ei
set binary ei=all
exe "e! ".fnameescape(tarfile)
exe "e! ".tarfile
call netrw#NetWrite(tblfile)
let &ei = eikeep
let &l:binary = binkeep
let &ei = eikeep
let &binary = binkeep
q!
unlet s:tblfile_{winnr()}
endif
@@ -496,7 +360,7 @@ fun! tar#Write(fname)
" cleanup and restore current directory
cd ..
call s:Rmdir("_ZIPVIM_")
exe "cd ".fnameescape(curdir)
exe "cd ".escape(curdir,' \')
setlocal nomod
let &report= repkeep
@@ -504,123 +368,23 @@ fun! tar#Write(fname)
endfun
" ---------------------------------------------------------------------
" tar#Diff: {{{2
fun! tar#Diff(userfname,fname)
" call Dfunc("tar#Diff(userfname<".a:userfname."> fname<".a:fname.")")
let fname= a:fname
if a:userfname != ""
let fname= a:userfname
endif
if filereadable(fname)
" sets current file (from tarball) for diff'ing
" splits window vertically
" opens original file, sets it for diff'ing
" sets up b:tardiff_otherbuf variables so each buffer knows about the other (for closing purposes)
diffthis
wincmd v
exe "e ".fnameescape(fname)
diffthis
else
redraw!
echo "***warning*** unable to read file<".fname.">"
endif
" call Dret("tar#Diff")
endfun
" ---------------------------------------------------------------------
" s:Rmdir: {{{2
" Rmdir: {{{2
fun! s:Rmdir(fname)
" call Dfunc("Rmdir(fname<".a:fname.">)")
if has("unix")
call system("/bin/rm -rf -- ".shellescape(a:fname,0))
call system("/bin/rm -rf ".a:fname)
elseif has("win32") || has("win95") || has("win64") || has("win16")
if &shell =~? "sh$"
call system("/bin/rm -rf -- ".shellescape(a:fname,0))
call system("/bin/rm -rf ".a:fname)
else
call system("del /S ".shellescape(a:fname,0))
call system("del /S ".a:fname)
endif
endif
" call Dret("Rmdir")
endfun
" ---------------------------------------------------------------------
" tar#Vimuntar: installs a tarball in the user's .vim / vimfiles directory {{{2
fun! tar#Vimuntar(...)
" call Dfunc("tar#Vimuntar() a:0=".a:0." a:1<".(exists("a:1")? a:1 : "-n/a-").">")
let tarball = expand("%")
" call Decho("tarball<".tarball.">")
let tarbase = substitute(tarball,'\..*$','','')
" call Decho("tarbase<".tarbase.">")
let tarhome = expand("%:p")
if has("win32") || has("win95") || has("win64") || has("win16")
let tarhome= substitute(tarhome,'\\','/','g')
endif
let tarhome= substitute(tarhome,'/[^/]*$','','')
" call Decho("tarhome<".tarhome.">")
let tartail = expand("%:t")
" call Decho("tartail<".tartail.">")
let curdir = getcwd()
" call Decho("curdir <".curdir.">")
" set up vimhome
if a:0 > 0 && a:1 != ""
let vimhome= a:1
else
let vimhome= vimball#VimballHome()
endif
" call Decho("vimhome<".vimhome.">")
" call Decho("curdir<".curdir."> vimhome<".vimhome.">")
if simplify(curdir) != simplify(vimhome)
" copy (possibly compressed) tarball to .vim/vimfiles
" call Decho(netrw#WinPath(g:tar_copycmd)." ".shellescape(tartail)." ".shellescape(vimhome))
call system(netrw#WinPath(g:tar_copycmd)." ".shellescape(tartail)." ".shellescape(vimhome))
" call Decho("exe cd ".fnameescape(vimhome))
exe "cd ".fnameescape(vimhome)
endif
" call Decho("getcwd<".getcwd().">")
" if necessary, decompress the tarball; then, extract it
if tartail =~ '\.tgz'
if executable("gunzip")
silent exe "!gunzip ".shellescape(tartail)
elseif executable("gzip")
silent exe "!gzip -d ".shellescape(tartail)
else
echoerr "unable to decompress<".tartail."> on this sytem"
if simplify(curdir) != simplify(tarhome)
" remove decompressed tarball, restore directory
" call Decho("delete(".tartail.".tar)")
call delete(tartail.".tar")
" call Decho("exe cd ".fnameescape(curdir))
exe "cd ".fnameescape(curdir)
endif
" call Dret("tar#Vimuntar")
return
endif
else
call vimball#Decompress(tartail,0)
endif
let extractcmd= netrw#WinPath(g:tar_extractcmd)
" call Decho("system(".extractcmd." ".shellescape(tarbase.".tar").")")
call system(extractcmd." ".shellescape(tarbase.".tar"))
" set up help
if filereadable("doc/".tarbase.".txt")
" call Decho("exe helptags ".getcwd()."/doc")
exe "helptags ".getcwd()."/doc"
endif
if simplify(tarhome) != simplify(vimhome)
" remove decompressed tarball, restore directory
call delete(vimhome."/".tarbase.".tar")
exe "cd ".fnameescape(curdir)
endif
" call Dret("tar#Vimuntar")
endfun
" =====================================================================
" ------------------------------------------------------------------------
" Modelines And Restoration: {{{1
let &cpo= s:keepcpo
unlet s:keepcpo
" vim:ts=8 fdm=marker
" vim:ts=8 fdm=marker
-923
View File
@@ -1,923 +0,0 @@
" Vim autoload file for the tohtml plugin.
" Maintainer: Ben Fritz <fritzophrenic@gmail.com>
" Last Change: 2013 Jun 19
"
" Additional contributors:
"
" Original by Bram Moolenaar <Bram@vim.org>
" Diff2HTML() added by Christian Brabandt <cb@256bit.org>
"
" See Mercurial change logs for more!
" this file uses line continuations
let s:cpo_sav = &cpo
set cpo&vim
" Automatically find charsets from all encodings supported natively by Vim. With
" the 8bit- and 2byte- prefixes, Vim can actually support more encodings than
" this. Let the user specify these however since they won't be supported on
" every system.
"
" Note, not all of Vim's supported encodings have a charset to use.
"
" Names in this list are from:
" http://www.iana.org/assignments/character-sets
" g:tohtml#encoding_to_charset: {{{
let g:tohtml#encoding_to_charset = {
\ 'latin1' : 'ISO-8859-1',
\ 'iso-8859-2' : 'ISO-8859-2',
\ 'iso-8859-3' : 'ISO-8859-3',
\ 'iso-8859-4' : 'ISO-8859-4',
\ 'iso-8859-5' : 'ISO-8859-5',
\ 'iso-8859-6' : 'ISO-8859-6',
\ 'iso-8859-7' : 'ISO-8859-7',
\ 'iso-8859-8' : 'ISO-8859-8',
\ 'iso-8859-9' : 'ISO-8859-9',
\ 'iso-8859-10' : '',
\ 'iso-8859-13' : 'ISO-8859-13',
\ 'iso-8859-14' : '',
\ 'iso-8859-15' : 'ISO-8859-15',
\ 'koi8-r' : 'KOI8-R',
\ 'koi8-u' : 'KOI8-U',
\ 'macroman' : 'macintosh',
\ 'cp437' : '',
\ 'cp775' : '',
\ 'cp850' : '',
\ 'cp852' : '',
\ 'cp855' : '',
\ 'cp857' : '',
\ 'cp860' : '',
\ 'cp861' : '',
\ 'cp862' : '',
\ 'cp863' : '',
\ 'cp865' : '',
\ 'cp866' : 'IBM866',
\ 'cp869' : '',
\ 'cp874' : '',
\ 'cp1250' : 'windows-1250',
\ 'cp1251' : 'windows-1251',
\ 'cp1253' : 'windows-1253',
\ 'cp1254' : 'windows-1254',
\ 'cp1255' : 'windows-1255',
\ 'cp1256' : 'windows-1256',
\ 'cp1257' : 'windows-1257',
\ 'cp1258' : 'windows-1258',
\ 'euc-jp' : 'EUC-JP',
\ 'sjis' : 'Shift_JIS',
\ 'cp932' : 'Shift_JIS',
\ 'cp949' : '',
\ 'euc-kr' : 'EUC-KR',
\ 'cp936' : 'GBK',
\ 'euc-cn' : 'GB2312',
\ 'big5' : 'Big5',
\ 'cp950' : 'Big5',
\ 'utf-8' : 'UTF-8',
\ 'ucs-2' : 'UTF-8',
\ 'ucs-2le' : 'UTF-8',
\ 'utf-16' : 'UTF-8',
\ 'utf-16le' : 'UTF-8',
\ 'ucs-4' : 'UTF-8',
\ 'ucs-4le' : 'UTF-8',
\ }
lockvar g:tohtml#encoding_to_charset
" Notes:
" 1. All UCS/UTF are converted to UTF-8 because it is much better supported
" 2. Any blank spaces are there because Vim supports it but at least one major
" web browser does not according to http://wiki.whatwg.org/wiki/Web_Encodings.
" }}}
" Only automatically find encodings supported natively by Vim, let the user
" specify the encoding if it's not natively supported. This function is only
" used when the user specifies the charset, they better know what they are
" doing!
"
" Names in this list are from:
" http://www.iana.org/assignments/character-sets
" g:tohtml#charset_to_encoding: {{{
let g:tohtml#charset_to_encoding = {
\ 'iso_8859-1:1987' : 'latin1',
\ 'iso-ir-100' : 'latin1',
\ 'iso_8859-1' : 'latin1',
\ 'iso-8859-1' : 'latin1',
\ 'latin1' : 'latin1',
\ 'l1' : 'latin1',
\ 'ibm819' : 'latin1',
\ 'cp819' : 'latin1',
\ 'csisolatin1' : 'latin1',
\ 'iso_8859-2:1987' : 'iso-8859-2',
\ 'iso-ir-101' : 'iso-8859-2',
\ 'iso_8859-2' : 'iso-8859-2',
\ 'iso-8859-2' : 'iso-8859-2',
\ 'latin2' : 'iso-8859-2',
\ 'l2' : 'iso-8859-2',
\ 'csisolatin2' : 'iso-8859-2',
\ 'iso_8859-3:1988' : 'iso-8859-3',
\ 'iso-ir-109' : 'iso-8859-3',
\ 'iso_8859-3' : 'iso-8859-3',
\ 'iso-8859-3' : 'iso-8859-3',
\ 'latin3' : 'iso-8859-3',
\ 'l3' : 'iso-8859-3',
\ 'csisolatin3' : 'iso-8859-3',
\ 'iso_8859-4:1988' : 'iso-8859-4',
\ 'iso-ir-110' : 'iso-8859-4',
\ 'iso_8859-4' : 'iso-8859-4',
\ 'iso-8859-4' : 'iso-8859-4',
\ 'latin4' : 'iso-8859-4',
\ 'l4' : 'iso-8859-4',
\ 'csisolatin4' : 'iso-8859-4',
\ 'iso_8859-5:1988' : 'iso-8859-5',
\ 'iso-ir-144' : 'iso-8859-5',
\ 'iso_8859-5' : 'iso-8859-5',
\ 'iso-8859-5' : 'iso-8859-5',
\ 'cyrillic' : 'iso-8859-5',
\ 'csisolatincyrillic' : 'iso-8859-5',
\ 'iso_8859-6:1987' : 'iso-8859-6',
\ 'iso-ir-127' : 'iso-8859-6',
\ 'iso_8859-6' : 'iso-8859-6',
\ 'iso-8859-6' : 'iso-8859-6',
\ 'ecma-114' : 'iso-8859-6',
\ 'asmo-708' : 'iso-8859-6',
\ 'arabic' : 'iso-8859-6',
\ 'csisolatinarabic' : 'iso-8859-6',
\ 'iso_8859-7:1987' : 'iso-8859-7',
\ 'iso-ir-126' : 'iso-8859-7',
\ 'iso_8859-7' : 'iso-8859-7',
\ 'iso-8859-7' : 'iso-8859-7',
\ 'elot_928' : 'iso-8859-7',
\ 'ecma-118' : 'iso-8859-7',
\ 'greek' : 'iso-8859-7',
\ 'greek8' : 'iso-8859-7',
\ 'csisolatingreek' : 'iso-8859-7',
\ 'iso_8859-8:1988' : 'iso-8859-8',
\ 'iso-ir-138' : 'iso-8859-8',
\ 'iso_8859-8' : 'iso-8859-8',
\ 'iso-8859-8' : 'iso-8859-8',
\ 'hebrew' : 'iso-8859-8',
\ 'csisolatinhebrew' : 'iso-8859-8',
\ 'iso_8859-9:1989' : 'iso-8859-9',
\ 'iso-ir-148' : 'iso-8859-9',
\ 'iso_8859-9' : 'iso-8859-9',
\ 'iso-8859-9' : 'iso-8859-9',
\ 'latin5' : 'iso-8859-9',
\ 'l5' : 'iso-8859-9',
\ 'csisolatin5' : 'iso-8859-9',
\ 'iso-8859-10' : 'iso-8859-10',
\ 'iso-ir-157' : 'iso-8859-10',
\ 'l6' : 'iso-8859-10',
\ 'iso_8859-10:1992' : 'iso-8859-10',
\ 'csisolatin6' : 'iso-8859-10',
\ 'latin6' : 'iso-8859-10',
\ 'iso-8859-13' : 'iso-8859-13',
\ 'iso-8859-14' : 'iso-8859-14',
\ 'iso-ir-199' : 'iso-8859-14',
\ 'iso_8859-14:1998' : 'iso-8859-14',
\ 'iso_8859-14' : 'iso-8859-14',
\ 'latin8' : 'iso-8859-14',
\ 'iso-celtic' : 'iso-8859-14',
\ 'l8' : 'iso-8859-14',
\ 'iso-8859-15' : 'iso-8859-15',
\ 'iso_8859-15' : 'iso-8859-15',
\ 'latin-9' : 'iso-8859-15',
\ 'koi8-r' : 'koi8-r',
\ 'cskoi8r' : 'koi8-r',
\ 'koi8-u' : 'koi8-u',
\ 'macintosh' : 'macroman',
\ 'mac' : 'macroman',
\ 'csmacintosh' : 'macroman',
\ 'ibm437' : 'cp437',
\ 'cp437' : 'cp437',
\ '437' : 'cp437',
\ 'cspc8codepage437' : 'cp437',
\ 'ibm775' : 'cp775',
\ 'cp775' : 'cp775',
\ 'cspc775baltic' : 'cp775',
\ 'ibm850' : 'cp850',
\ 'cp850' : 'cp850',
\ '850' : 'cp850',
\ 'cspc850multilingual' : 'cp850',
\ 'ibm852' : 'cp852',
\ 'cp852' : 'cp852',
\ '852' : 'cp852',
\ 'cspcp852' : 'cp852',
\ 'ibm855' : 'cp855',
\ 'cp855' : 'cp855',
\ '855' : 'cp855',
\ 'csibm855' : 'cp855',
\ 'ibm857' : 'cp857',
\ 'cp857' : 'cp857',
\ '857' : 'cp857',
\ 'csibm857' : 'cp857',
\ 'ibm860' : 'cp860',
\ 'cp860' : 'cp860',
\ '860' : 'cp860',
\ 'csibm860' : 'cp860',
\ 'ibm861' : 'cp861',
\ 'cp861' : 'cp861',
\ '861' : 'cp861',
\ 'cp-is' : 'cp861',
\ 'csibm861' : 'cp861',
\ 'ibm862' : 'cp862',
\ 'cp862' : 'cp862',
\ '862' : 'cp862',
\ 'cspc862latinhebrew' : 'cp862',
\ 'ibm863' : 'cp863',
\ 'cp863' : 'cp863',
\ '863' : 'cp863',
\ 'csibm863' : 'cp863',
\ 'ibm865' : 'cp865',
\ 'cp865' : 'cp865',
\ '865' : 'cp865',
\ 'csibm865' : 'cp865',
\ 'ibm866' : 'cp866',
\ 'cp866' : 'cp866',
\ '866' : 'cp866',
\ 'csibm866' : 'cp866',
\ 'ibm869' : 'cp869',
\ 'cp869' : 'cp869',
\ '869' : 'cp869',
\ 'cp-gr' : 'cp869',
\ 'csibm869' : 'cp869',
\ 'windows-1250' : 'cp1250',
\ 'windows-1251' : 'cp1251',
\ 'windows-1253' : 'cp1253',
\ 'windows-1254' : 'cp1254',
\ 'windows-1255' : 'cp1255',
\ 'windows-1256' : 'cp1256',
\ 'windows-1257' : 'cp1257',
\ 'windows-1258' : 'cp1258',
\ 'extended_unix_code_packed_format_for_japanese' : 'euc-jp',
\ 'cseucpkdfmtjapanese' : 'euc-jp',
\ 'euc-jp' : 'euc-jp',
\ 'shift_jis' : 'sjis',
\ 'ms_kanji' : 'sjis',
\ 'sjis' : 'sjis',
\ 'csshiftjis' : 'sjis',
\ 'ibm-thai' : 'cp874',
\ 'csibmthai' : 'cp874',
\ 'ks_c_5601-1987' : 'cp949',
\ 'iso-ir-149' : 'cp949',
\ 'ks_c_5601-1989' : 'cp949',
\ 'ksc_5601' : 'cp949',
\ 'korean' : 'cp949',
\ 'csksc56011987' : 'cp949',
\ 'euc-kr' : 'euc-kr',
\ 'cseuckr' : 'euc-kr',
\ 'gbk' : 'cp936',
\ 'cp936' : 'cp936',
\ 'ms936' : 'cp936',
\ 'windows-936' : 'cp936',
\ 'gb_2312-80' : 'euc-cn',
\ 'iso-ir-58' : 'euc-cn',
\ 'chinese' : 'euc-cn',
\ 'csiso58gb231280' : 'euc-cn',
\ 'big5' : 'big5',
\ 'csbig5' : 'big5',
\ 'utf-8' : 'utf-8',
\ 'iso-10646-ucs-2' : 'ucs-2',
\ 'csunicode' : 'ucs-2',
\ 'utf-16' : 'utf-16',
\ 'utf-16be' : 'utf-16',
\ 'utf-16le' : 'utf-16le',
\ 'utf-32' : 'ucs-4',
\ 'utf-32be' : 'ucs-4',
\ 'utf-32le' : 'ucs-4le',
\ 'iso-10646-ucs-4' : 'ucs-4',
\ 'csucs4' : 'ucs-4'
\ }
lockvar g:tohtml#charset_to_encoding
"}}}
func! tohtml#Convert2HTML(line1, line2) "{{{
let s:settings = tohtml#GetUserSettings()
if !&diff || s:settings.diff_one_file "{{{
if a:line2 >= a:line1
let g:html_start_line = a:line1
let g:html_end_line = a:line2
else
let g:html_start_line = a:line2
let g:html_end_line = a:line1
endif
runtime syntax/2html.vim "}}}
else "{{{
let win_list = []
let buf_list = []
windo | if &diff | call add(win_list, winbufnr(0)) | endif
let s:settings.whole_filler = 1
let g:html_diff_win_num = 0
for window in win_list
" switch to the next buffer to convert
exe ":" . bufwinnr(window) . "wincmd w"
" figure out whether current charset and encoding will work, if not
" default to UTF-8
if !exists('g:html_use_encoding') &&
\ (((&l:fileencoding=='' || (&l:buftype!='' && &l:buftype!=?'help'))
\ && &encoding!=?s:settings.vim_encoding)
\ || &l:fileencoding!='' && &l:fileencoding!=?s:settings.vim_encoding)
echohl WarningMsg
echomsg "TOhtml: mismatched file encodings in Diff buffers, using UTF-8"
echohl None
let s:settings.vim_encoding = 'utf-8'
let s:settings.encoding = 'UTF-8'
endif
" set up for diff-mode conversion
let g:html_start_line = 1
let g:html_end_line = line('$')
let g:html_diff_win_num += 1
" convert this file
runtime syntax/2html.vim
" remember the HTML buffer for later combination
call add(buf_list, bufnr('%'))
endfor
unlet g:html_diff_win_num
call tohtml#Diff2HTML(win_list, buf_list)
endif "}}}
unlet g:html_start_line
unlet g:html_end_line
unlet s:settings
endfunc "}}}
func! tohtml#Diff2HTML(win_list, buf_list) "{{{
let xml_line = ""
let tag_close = '>'
let s:old_paste = &paste
set paste
let s:old_magic = &magic
set magic
if s:settings.use_xhtml
if s:settings.encoding != ""
let xml_line = "<?xml version=\"1.0\" encoding=\"" . s:settings.encoding . "\"?>"
else
let xml_line = "<?xml version=\"1.0\"?>"
endif
let tag_close = ' />'
endif
let style = [s:settings.use_xhtml ? "" : '-->']
let body_line = ''
let html = []
if s:settings.use_xhtml
call add(html, xml_line)
endif
if s:settings.use_xhtml
call add(html, "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">")
call add(html, '<html xmlns="http://www.w3.org/1999/xhtml">')
elseif s:settings.use_css && !s:settings.no_pre
call add(html, "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">")
call add(html, '<html>')
else
call add(html, '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"')
call add(html, ' "http://www.w3.org/TR/html4/loose.dtd">')
call add(html, '<html>')
endif
call add(html, '<head>')
" include encoding as close to the top as possible, but only if not already
" contained in XML information
if s:settings.encoding != "" && !s:settings.use_xhtml
call add(html, "<meta http-equiv=\"content-type\" content=\"text/html; charset=" . s:settings.encoding . '"' . tag_close)
endif
call add(html, '<title>diff</title>')
call add(html, '<meta name="Generator" content="Vim/'.v:version/100.'.'.v:version%100.'"'.tag_close)
call add(html, '<meta name="plugin-version" content="'.g:loaded_2html_plugin.'"'.tag_close)
call add(html, '<meta name="settings" content="'.
\ join(filter(keys(s:settings),'s:settings[v:val]'),',').
\ ',prevent_copy='.s:settings.prevent_copy.
\ '"'.tag_close)
call add(html, '<meta name="colorscheme" content="'.
\ (exists('g:colors_name')
\ ? g:colors_name
\ : 'none'). '"'.tag_close)
call add(html, '</head>')
let body_line_num = len(html)
if !empty(s:settings.prevent_copy)
call add(html, "<body onload='FixCharWidth();".(s:settings.line_ids ? " JumpToLine();" : "")."'>")
call add(html, "<!-- hidden divs used by javascript to get the width of a char -->")
call add(html, "<div id='oneCharWidth'>0</div>")
call add(html, "<div id='oneInputWidth'><input size='1' value='0'".tag_close."</div>")
call add(html, "<div id='oneEmWidth' style='width: 1em;'></div>")
else
call add(html, '<body'.(s:settings.line_ids ? ' onload="JumpToLine();"' : '').'>')
endif
call add(html, "<table border='1' width='100%' id='vimCodeElement".s:settings.id_suffix."'>")
call add(html, '<tr>')
for buf in a:win_list
call add(html, '<th>'.bufname(buf).'</th>')
endfor
call add(html, '</tr><tr>')
let diff_style_start = 0
let insert_index = 0
for buf in a:buf_list
let temp = []
exe bufwinnr(buf) . 'wincmd w'
" If text is folded because of user foldmethod settings, etc. we don't want
" to act on everything in a fold by mistake.
setlocal nofoldenable
" When not using CSS or when using xhtml, the <body> line can be important.
" Assume it will be the same for all buffers and grab it from the first
" buffer. Similarly, need to grab the body end line as well.
if body_line == ''
1
call search('<body')
let body_line = getline('.')
$
call search('</body>', 'b')
let s:body_end_line = getline('.')
endif
" Grab the style information. Some of this will be duplicated so only insert
" it if it's not already there. {{{
1
let style_start = search('^<style type="text/css">')
1
let style_end = search('^</style>')
if style_start > 0 && style_end > 0
let buf_styles = getline(style_start + 1, style_end - 1)
for a_style in buf_styles
if index(style, a_style) == -1
if diff_style_start == 0
if a_style =~ '\<Diff\(Change\|Text\|Add\|Delete\)'
let diff_style_start = len(style)-1
endif
endif
call insert(style, a_style, insert_index)
let insert_index += 1
endif
endfor
endif " }}}
" everything new will get added before the diff styles so diff highlight
" properly overrides normal highlight
if diff_style_start != 0
let insert_index = diff_style_start
endif
" Delete those parts that are not needed so we can include the rest into the
" resulting table.
1,/^<body.*\%(\n<!--.*-->\_s\+.*id='oneCharWidth'.*\_s\+.*id='oneInputWidth'.*\_s\+.*id='oneEmWidth'\)\?\zs/d_
$
?</body>?,$d_
let temp = getline(1,'$')
" clean out id on the main content container because we already set it on
" the table
let temp[0] = substitute(temp[0], " id='vimCodeElement[^']*'", "", "")
" undo deletion of start and end part
" so we can later save the file as valid html
" TODO: restore using grabbed lines if undolevel is 1?
normal! 2u
if s:settings.use_css
call add(html, '<td valign="top"><div>')
elseif s:settings.use_xhtml
call add(html, '<td nowrap="nowrap" valign="top"><div>')
else
call add(html, '<td nowrap valign="top"><div>')
endif
let html += temp
call add(html, '</div></td>')
" Close this buffer
" TODO: the comment above says we're going to allow saving the file
" later...but here we discard it?
quit!
endfor
let html[body_line_num] = body_line
call add(html, '</tr>')
call add(html, '</table>')
call add(html, s:body_end_line)
call add(html, '</html>')
" The generated HTML is admittedly ugly and takes a LONG time to fold.
" Make sure the user doesn't do syntax folding when loading a generated file,
" using a modeline.
call add(html, '<!-- vim: set foldmethod=manual : -->')
let i = 1
let name = "Diff" . (s:settings.use_xhtml ? ".xhtml" : ".html")
" Find an unused file name if current file name is already in use
while filereadable(name)
let name = substitute(name, '\d*\.x\?html$', '', '') . i . '.' . fnamemodify(copy(name), ":t:e")
let i += 1
endwhile
exe "topleft new " . name
setlocal modifiable
" just in case some user autocmd creates content in the new buffer, make sure
" it is empty before proceeding
%d
" set the fileencoding to match the charset we'll be using
let &l:fileencoding=s:settings.vim_encoding
" According to http://www.w3.org/TR/html4/charset.html#doc-char-set, the byte
" order mark is highly recommend on the web when using multibyte encodings. But,
" it is not a good idea to include it on UTF-8 files. Otherwise, let Vim
" determine when it is actually inserted.
if s:settings.vim_encoding == 'utf-8'
setlocal nobomb
else
setlocal bomb
endif
call append(0, html)
if len(style) > 0
1
let style_start = search('^</head>')-1
" add required javascript in reverse order so we can just call append again
" and again without adjusting {{{
" insert script closing tag
call append(style_start, [
\ '',
\ s:settings.use_xhtml ? '//]]>' : '-->',
\ "</script>"
\ ])
" insert script which corrects the size of small input elements in
" prevent_copy mode. See 2html.vim for details on why this is needed and how
" it works.
if !empty(s:settings.prevent_copy)
call append(style_start, [
\ '',
\ '/* simulate a "ch" unit by asking the browser how big a zero character is */',
\ 'function FixCharWidth() {',
\ ' /* get the hidden element which gives the width of a single character */',
\ ' var goodWidth = document.getElementById("oneCharWidth").clientWidth;',
\ ' /* get all input elements, we''ll filter on class later */',
\ ' var inputTags = document.getElementsByTagName("input");',
\ ' var ratio = 5;',
\ ' var inputWidth = document.getElementById("oneInputWidth").clientWidth;',
\ ' var emWidth = document.getElementById("oneEmWidth").clientWidth;',
\ ' if (inputWidth > goodWidth) {',
\ ' while (ratio < 100*goodWidth/emWidth && ratio < 100) {',
\ ' ratio += 5;',
\ ' }',
\ ' document.getElementById("vimCodeElement'.s:settings.id_suffix.'").className = "em"+ratio;',
\ ' }',
\ '}'
\ ])
endif
"
" insert javascript to get IDs from line numbers, and to open a fold before
" jumping to any lines contained therein
call append(style_start, [
\ " /* Always jump to new location even if the line was hidden inside a fold, or",
\ " * we corrected the raw number to a line ID.",
\ " */",
\ " if (lineElem) {",
\ " lineElem.scrollIntoView(true);",
\ " }",
\ " return true;",
\ "}",
\ "if ('onhashchange' in window) {",
\ " window.onhashchange = JumpToLine;",
\ "}"
\ ])
if s:settings.dynamic_folds
call append(style_start, [
\ "",
\ " /* navigate upwards in the DOM tree to open all folds containing the line */",
\ " var node = lineElem;",
\ " while (node && node.id != 'vimCodeElement".s:settings.id_suffix."')",
\ " {",
\ " if (node.className == 'closed-fold')",
\ " {",
\ " /* toggle open the fold ID (remove window ID) */",
\ " toggleFold(node.id.substr(4));",
\ " }",
\ " node = node.parentNode;",
\ " }",
\ ])
endif
call append(style_start, [
\ "",
\ "/* function to open any folds containing a jumped-to line before jumping to it */",
\ "function JumpToLine()",
\ "{",
\ " var lineNum;",
\ " lineNum = window.location.hash;",
\ " lineNum = lineNum.substr(1); /* strip off '#' */",
\ "",
\ " if (lineNum.indexOf('L') == -1) {",
\ " lineNum = 'L'+lineNum;",
\ " }",
\ " if (lineNum.indexOf('W') == -1) {",
\ " lineNum = 'W1'+lineNum;",
\ " }",
\ " lineElem = document.getElementById(lineNum);"
\ ])
" Insert javascript to toggle matching folds open and closed in all windows,
" if dynamic folding is active.
if s:settings.dynamic_folds
call append(style_start, [
\ " function toggleFold(objID)",
\ " {",
\ " for (win_num = 1; win_num <= ".len(a:buf_list)."; win_num++)",
\ " {",
\ " var fold;",
\ ' fold = document.getElementById("win"+win_num+objID);',
\ " if(fold.className == 'closed-fold')",
\ " {",
\ " fold.className = 'open-fold';",
\ " }",
\ " else if (fold.className == 'open-fold')",
\ " {",
\ " fold.className = 'closed-fold';",
\ " }",
\ " }",
\ " }",
\ ])
endif
" insert script tag; javascript is always needed for the line number
" normalization for URL hashes
call append(style_start, [
\ "<script type='text/javascript'>",
\ s:settings.use_xhtml ? '//<![CDATA[' : "<!--"])
" Insert styles from all the generated html documents and additional styles
" for the table-based layout of the side-by-side diff. The diff should take
" up the full browser window (but not more), and be static in size,
" horizontally scrollable when the lines are too long. Otherwise, the diff
" is pretty useless for really long lines. {{{
if s:settings.use_css
call append(style_start,
\ ['<style type="text/css">']+
\ style+
\ [ s:settings.use_xhtml ? '' : '<!--',
\ 'table { table-layout: fixed; }',
\ 'html, body, table, tbody { width: 100%; margin: 0; padding: 0; }',
\ 'th, td { width: '.printf("%.1f",100.0/len(a:win_list)).'%; }',
\ 'td div { overflow: auto; }',
\ s:settings.use_xhtml ? '' : '-->',
\ '</style>'
\])
endif "}}}
endif
let &paste = s:old_paste
let &magic = s:old_magic
endfunc "}}}
" Gets a single user option and sets it in the passed-in Dict, or gives it the
" default value if the option doesn't actually exist.
func! tohtml#GetOption(settings, option, default) "{{{
if exists('g:html_'.a:option)
let a:settings[a:option] = g:html_{a:option}
else
let a:settings[a:option] = a:default
endif
endfunc "}}}
" returns a Dict containing the values of all user options for 2html, including
" default values for those not given an explicit value by the user. Discards the
" html_ prefix of the option for nicer looking code.
func! tohtml#GetUserSettings() "{{{
if exists('s:settings')
" just restore the known options if we've already retrieved them
return s:settings
else
" otherwise figure out which options are set
let user_settings = {}
" Define the correct option if the old option name exists and we haven't
" already defined the correct one. Maybe I'll put out a warnig message about
" this sometime and remove the old option entirely at some even later time,
" but for now just silently accept the old option.
if exists('g:use_xhtml') && !exists("g:html_use_xhtml")
let g:html_use_xhtml = g:use_xhtml
endif
" get current option settings with appropriate defaults {{{
call tohtml#GetOption(user_settings, 'no_progress', !has("statusline") )
call tohtml#GetOption(user_settings, 'diff_one_file', 0 )
call tohtml#GetOption(user_settings, 'number_lines', &number )
call tohtml#GetOption(user_settings, 'pre_wrap', &wrap )
call tohtml#GetOption(user_settings, 'use_css', 1 )
call tohtml#GetOption(user_settings, 'ignore_conceal', 0 )
call tohtml#GetOption(user_settings, 'ignore_folding', 0 )
call tohtml#GetOption(user_settings, 'dynamic_folds', 0 )
call tohtml#GetOption(user_settings, 'no_foldcolumn', user_settings.ignore_folding)
call tohtml#GetOption(user_settings, 'hover_unfold', 0 )
call tohtml#GetOption(user_settings, 'no_pre', 0 )
call tohtml#GetOption(user_settings, 'no_invalid', 0 )
call tohtml#GetOption(user_settings, 'whole_filler', 0 )
call tohtml#GetOption(user_settings, 'use_xhtml', 0 )
call tohtml#GetOption(user_settings, 'line_ids', user_settings.number_lines )
" }}}
" override those settings that need it {{{
" hover opening implies dynamic folding
if user_settings.hover_unfold
let user_settings.dynamic_folds = 1
endif
" ignore folding overrides dynamic folding
if user_settings.ignore_folding && user_settings.dynamic_folds
let user_settings.dynamic_folds = 0
let user_settings.hover_unfold = 0
endif
" dynamic folding with no foldcolumn implies hover opens
if user_settings.dynamic_folds && user_settings.no_foldcolumn
let user_settings.hover_unfold = 1
endif
" dynamic folding implies css
if user_settings.dynamic_folds
let user_settings.use_css = 1
else
let user_settings.no_foldcolumn = 1 " won't do anything but for consistency and for the test suite
endif
" if we're not using CSS we cannot use a pre section because <font> tags
" aren't allowed inside a <pre> block
if !user_settings.use_css
let user_settings.no_pre = 1
endif
" pre_wrap doesn't do anything if not using pre or not using CSS
if user_settings.no_pre || !user_settings.use_css
let user_settings.pre_wrap=0
endif
"}}}
" set up expand_tabs option after all the overrides so we know the
" appropriate defaults {{{
if user_settings.no_pre == 0
call tohtml#GetOption(user_settings,
\ 'expand_tabs',
\ &expandtab || &ts != 8 || user_settings.number_lines ||
\ (user_settings.dynamic_folds && !user_settings.no_foldcolumn))
else
let user_settings.expand_tabs = 1
endif
" }}}
" textual options
if exists("g:html_use_encoding") "{{{
" user specified the desired MIME charset, figure out proper
" 'fileencoding' from it or warn the user if we cannot
let user_settings.encoding = g:html_use_encoding
let user_settings.vim_encoding = tohtml#EncodingFromCharset(g:html_use_encoding)
if user_settings.vim_encoding == ''
echohl WarningMsg
echomsg "TOhtml: file encoding for"
\ g:html_use_encoding
\ "unknown, please set 'fileencoding'"
echohl None
endif
else
" Figure out proper MIME charset from 'fileencoding' if possible
if &l:fileencoding != ''
" If the buffer is not a "normal" type, the 'fileencoding' value may not
" be trusted; since the buffer should not be written the fileencoding is
" not intended to be used.
if &l:buftype=='' || &l:buftype==?'help'
let user_settings.vim_encoding = &l:fileencoding
call tohtml#CharsetFromEncoding(user_settings)
else
let user_settings.encoding = '' " trigger detection using &encoding
endif
endif
" else from 'encoding' if possible
if &l:fileencoding == '' || user_settings.encoding == ''
let user_settings.vim_encoding = &encoding
call tohtml#CharsetFromEncoding(user_settings)
endif
" else default to UTF-8 and warn user
if user_settings.encoding == ''
let user_settings.vim_encoding = 'utf-8'
let user_settings.encoding = 'UTF-8'
echohl WarningMsg
echomsg "TOhtml: couldn't determine MIME charset, using UTF-8"
echohl None
endif
endif "}}}
" Default to making nothing uncopyable, because we default to
" not-standards way of doing things, and also because Microsoft Word and
" others paste the <input> elements anyway.
"
" html_prevent_copy only has an effect when using CSS.
"
" All options:
" f - fold column
" n - line numbers (also within fold text)
" t - fold text
" d - diff filler
" c - concealed text (reserved future)
" l - listchars (reserved possible future)
" s - signs (reserved possible future)
"
" Normal text is always selectable.
let user_settings.prevent_copy = ""
if user_settings.use_css
if exists("g:html_prevent_copy")
if user_settings.dynamic_folds && !user_settings.no_foldcolumn && g:html_prevent_copy =~# 'f'
let user_settings.prevent_copy .= 'f'
endif
if user_settings.number_lines && g:html_prevent_copy =~# 'n'
let user_settings.prevent_copy .= 'n'
endif
if &diff && g:html_prevent_copy =~# 'd'
let user_settings.prevent_copy .= 'd'
endif
if !user_settings.ignore_folding && g:html_prevent_copy =~# 't'
let user_settings.prevent_copy .= 't'
endif
else
let user_settings.prevent_copy = ""
endif
endif
if empty(user_settings.prevent_copy)
let user_settings.no_invalid = 0
endif
if exists('g:html_id_expr')
let user_settings.id_suffix = eval(g:html_id_expr)
if user_settings.id_suffix !~ '^[-_:.A-Za-z0-9]*$'
echohl WarningMsg
echomsg '2html: g:html_id_expr evaluated to invalid string for HTML id attributes'
echomsg '2html: Omitting user-specified suffix'
echohl None
sleep 3
let user_settings.id_suffix=""
endif
else
let user_settings.id_suffix=""
endif
" TODO: font
return user_settings
endif
endfunc "}}}
" get the proper HTML charset name from a Vim encoding option.
function! tohtml#CharsetFromEncoding(settings) "{{{
let l:vim_encoding = a:settings.vim_encoding
if exists('g:html_charset_override') && has_key(g:html_charset_override, l:vim_encoding)
let a:settings.encoding = g:html_charset_override[l:vim_encoding]
else
if l:vim_encoding =~ '^8bit\|^2byte'
" 8bit- and 2byte- prefixes are to indicate encodings available on the
" system that Vim will convert with iconv(), look up just the encoding name,
" not Vim's prefix.
let l:vim_encoding = substitute(l:vim_encoding, '^8bit-\|^2byte-', '', '')
endif
if has_key(g:tohtml#encoding_to_charset, l:vim_encoding)
let a:settings.encoding = g:tohtml#encoding_to_charset[l:vim_encoding]
else
let a:settings.encoding = ""
endif
endif
if a:settings.encoding != ""
let l:vim_encoding = tohtml#EncodingFromCharset(a:settings.encoding)
if l:vim_encoding != ""
" if the Vim encoding to HTML encoding conversion is set up (by default or
" by the user) to convert to a different encoding, we need to also change
" the Vim encoding of the new buffer
let a:settings.vim_encoding = l:vim_encoding
endif
endif
endfun "}}}
" Get the proper Vim encoding option setting from an HTML charset name.
function! tohtml#EncodingFromCharset(encoding) "{{{
if exists('g:html_encoding_override') && has_key(g:html_encoding_override, a:encoding)
return g:html_encoding_override[a:encoding]
elseif has_key(g:tohtml#charset_to_encoding, tolower(a:encoding))
return g:tohtml#charset_to_encoding[tolower(a:encoding)]
else
return ""
endif
endfun "}}}
let &cpo = s:cpo_sav
unlet s:cpo_sav
" Make sure any patches will probably use consistent indent
" vim: ts=8 sw=2 sts=2 noet fdm=marker
+162 -307
View File
@@ -1,9 +1,9 @@
" vimball.vim : construct a file containing both paths and files
" Author: Charles E. Campbell, Jr.
" Date: Jan 17, 2012
" Version: 35
" Date: May 07, 2007
" Version: 22
" GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim
" Copyright: (c) 2004-2011 by Charles E. Campbell, Jr.
" Copyright: (c) 2004-2006 by Charles E. Campbell, Jr.
" The VIM LICENSE applies to Vimball.vim, and Vimball.txt
" (see |copyright|) except use "Vimball" instead of "Vim".
" No warranty, express or implied.
@@ -11,19 +11,12 @@
" ---------------------------------------------------------------------
" Load Once: {{{1
if &cp || exists("g:loaded_vimball")
if &cp || exists("g:loaded_vimball") || v:version < 700
finish
endif
let g:loaded_vimball = "v35"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of vimball needs vim 7.2"
echohl Normal
finish
endif
let s:keepcpo= &cpo
let s:keepcpo = &cpo
let g:loaded_vimball = "v22"
set cpo&vim
"DechoTabOn
" =====================================================================
" Constants: {{{1
@@ -31,33 +24,6 @@ if !exists("s:USAGE")
let s:USAGE = 0
let s:WARNING = 1
let s:ERROR = 2
" determine if cygwin is in use or not
if !exists("g:netrw_cygwin")
if has("win32") || has("win95") || has("win64") || has("win16")
if &shell =~ '\%(\<bash\>\|\<zsh\>\)\%(\.exe\)\=$'
let g:netrw_cygwin= 1
else
let g:netrw_cygwin= 0
endif
else
let g:netrw_cygwin= 0
endif
endif
" set up g:vimball_mkdir if the mkdir() call isn't defined
if !exists("*mkdir")
if exists("g:netrw_local_mkdir")
let g:vimball_mkdir= g:netrw_local_mkdir
elseif executable("mkdir")
let g:vimball_mkdir= "mkdir"
elseif executable("makedir")
let g:vimball_mkdir= "makedir"
endif
if !exists(g:vimball_mkdir)
call vimball#ShowMesg(s:WARNING,"(vimball) g:vimball_mkdir undefined")
endif
endif
endif
" =====================================================================
@@ -65,12 +31,7 @@ endif
" ---------------------------------------------------------------------
" vimball#MkVimball: creates a vimball given a list of paths to files {{{2
" Input:
" line1,line2: a range of lines containing paths to files to be included in the vimball
" writelevel : if true, force a write to filename.vmb, even if it exists
" (usually accomplished with :MkVimball! ...
" filename : base name of file to be created (ie. filename.vmb)
" Output: a filename.vmb using vimball format:
" Vimball Format:
" path
" filesize
" [file]
@@ -79,17 +40,17 @@ endif
" [file]
fun! vimball#MkVimball(line1,line2,writelevel,...) range
" call Dfunc("MkVimball(line1=".a:line1." line2=".a:line2." writelevel=".a:writelevel." vimballname<".a:1.">) a:0=".a:0)
if a:1 =~ '\.vim$' || a:1 =~ '\.txt$'
let vbname= substitute(a:1,'\.\a\{3}$','.vmb','')
if a:1 =~ '.vim' || a:1 =~ '.txt'
let vbname= substitute(a:1,'\.\a\{3}$','.vba','')
else
let vbname= a:1
endif
if vbname !~ '\.vmb$'
let vbname= vbname.'.vmb'
if vbname !~ '\.vba$'
let vbname= vbname.'.vba'
endif
" call Decho("vbname<".vbname.">")
if !a:writelevel && a:1 =~ '[\/]'
call vimball#ShowMesg(s:ERROR,"(MkVimball) vimball name<".a:1."> should not include slashes; use ! to insist")
if a:1 =~ '[\/]'
call vimball#ShowMesg(s:ERROR,"(MkVimball) vimball name<".a:1."> should not include slashes")
" call Dret("MkVimball : vimball name<".a:1."> should not include slashes")
return
endif
@@ -100,14 +61,14 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range
endif
" user option bypass
call vimball#SaveSettings()
call s:SaveSettings()
if a:0 >= 2
" allow user to specify where to get the files
let home= expand(a:2)
else
" use first existing directory from rtp
let home= vimball#VimballHome()
let home= s:VimballHome()
endif
" save current directory
@@ -126,7 +87,7 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range
if !filereadable(svfile)
call vimball#ShowMesg(s:ERROR,"unable to read file<".svfile.">")
call s:ChgDir(curdir)
call vimball#RestoreSettings()
call s:RestoreSettings()
" call Dret("MkVimball")
return
endif
@@ -134,7 +95,7 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range
" create/switch to mkvimball tab
if !exists("vbtabnr")
tabnew
sil! file Vimball
silent! file Vimball
let vbtabnr= tabpagenr()
else
exe "tabn ".vbtabnr
@@ -151,8 +112,9 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range
call setline(lastline+1,0)
" write the file from the tab
" call Decho("exe $r ".fnameescape(svfile))
exe "$r ".fnameescape(svfile)
let svfilepath= s:Path(svfile,'')
" call Decho("exe $r ".svfilepath)
exe "$r ".svfilepath
call setline(lastline+1,line("$") - lastline - 1)
" call Decho("lastline=".lastline." line$=".line("$"))
@@ -165,13 +127,14 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range
" write the vimball
exe "tabn ".vbtabnr
call s:ChgDir(curdir)
setlocal ff=unix
if a:writelevel
" call Decho("exe w! ".fnameescape(vbname))
exe "w! ".fnameescape(vbname)
let vbnamepath= s:Path(vbname,'')
" call Decho("exe w! ".vbnamepath)
exe "w! ".vbnamepath
else
" call Decho("exe w ".fnameescape(vbname))
exe "w ".fnameescape(vbname)
let vbnamepath= s:Path(vbname,'')
" call Decho("exe w ".vbnamepath)
exe "w ".vbnamepath
endif
" call Decho("Vimball<".vbname."> created")
echo "Vimball<".vbname."> created"
@@ -182,56 +145,38 @@ fun! vimball#MkVimball(line1,line2,writelevel,...) range
exe "tabc ".vbtabnr
" restore options
call vimball#RestoreSettings()
call s:RestoreSettings()
" call Dret("MkVimball")
endfun
" ---------------------------------------------------------------------
" vimball#Vimball: extract and distribute contents from a vimball {{{2
" (invoked the the UseVimball command embedded in
" vimballs' prologue)
fun! vimball#Vimball(really,...)
" call Dfunc("vimball#Vimball(really=".a:really.") a:0=".a:0)
if v:version < 701 || (v:version == 701 && !exists('*fnameescape'))
echoerr "your vim is missing the fnameescape() function (pls upgrade to vim 7.2 or later)"
" call Dret("vimball#Vimball : needs 7.1 with patch 299 or later")
return
endif
if getline(1) !~ '^" Vimball Archiver'
if getline(1) !~ '^" Vimball Archiver by Charles E. Campbell, Jr., Ph.D.$'
echoerr "(Vimball) The current file does not appear to be a Vimball!"
" call Dret("vimball#Vimball")
return
endif
" set up standard settings
call vimball#SaveSettings()
let curtabnr = tabpagenr()
let vimballfile = expand("%:tr")
call s:SaveSettings()
let curtabnr = tabpagenr()
" set up vimball tab
" call Decho("setting up vimball tab")
tabnew
sil! file Vimball
silent! file Vimball
let vbtabnr= tabpagenr()
let didhelp= ""
" go to vim plugin home
if a:0 > 0
" let user specify the directory where the vimball is to be unpacked.
" If, however, the user did not specify a full path, set the home to be below the current directory
let home= expand(a:1)
if has("win32") || has("win95") || has("win64") || has("win16")
if home !~ '^\a:[/\\]'
let home= getcwd().'/'.a:1
endif
elseif home !~ '^/'
let home= getcwd().'/'.a:1
endif
else
let home= vimball#VimballHome()
let home= s:VimballHome()
endif
" call Decho("home<".home.">")
@@ -241,18 +186,16 @@ fun! vimball#Vimball(really,...)
" call Decho("curdir<".curdir.">")
call s:ChgDir(home)
let s:ok_unablefind= 1
call vimball#RmVimball(vimballfile)
unlet s:ok_unablefind
call vimball#RmVimball()
let linenr = 4
let filecnt = 0
" give title to listing of (extracted) files from Vimball Archive
if a:really
echohl Title | echomsg "Vimball Archive" | echohl None
else
echohl Title | echomsg "Vimball Archive Listing" | echohl None
echohl Title | echomsg "Vimball Archive" | echohl None
else
echohl Title | echomsg "Vimball Archive Listing" | echohl None
echohl Statement | echomsg "files would be placed under: ".home | echohl None
endif
@@ -263,10 +206,9 @@ fun! vimball#Vimball(really,...)
while 1 < linenr && linenr < line("$")
let fname = substitute(getline(linenr),'\t\[\[\[1$','','')
let fname = substitute(fname,'\\','/','g')
let fsize = substitute(getline(linenr+1),'^\(\d\+\).\{-}$','\1','')+0
let fenc = substitute(getline(linenr+1),'^\d\+\s*\(\S\{-}\)$','\1','')
let fsize = getline(linenr+1)
let filecnt = filecnt + 1
" call Decho("fname<".fname."> fsize=".fsize." filecnt=".filecnt. " fenc=".fenc)
" call Decho("fname<".fname."> fsize=".fsize." filecnt=".filecnt)
if a:really
echomsg "extracted <".fname.">: ".fsize." lines"
@@ -277,10 +219,10 @@ fun! vimball#Vimball(really,...)
" call Decho("using L#".(linenr+1).": fsize=".fsize)
" Allow AsNeeded/ directory to take place of plugin/ directory
" when AsNeeded/filename is filereadable or was present in VimballRecord
" when AsNeeded/filename is filereadable
if fname =~ '\<plugin/'
let anfname= substitute(fname,'\<plugin/','AsNeeded/','')
if filereadable(anfname) || (exists("s:VBRstring") && s:VBRstring =~ anfname)
if filereadable(anfname)
" call Decho("using anfname<".anfname."> instead of <".fname.">")
let fname= anfname
endif
@@ -291,21 +233,14 @@ fun! vimball#Vimball(really,...)
" call Decho("making directories if they don't exist yet (fname<".fname.">)")
let fnamebuf= substitute(fname,'\\','/','g')
let dirpath = substitute(home,'\\','/','g')
" call Decho("init: fnamebuf<".fnamebuf.">")
" call Decho("init: dirpath <".dirpath.">")
while fnamebuf =~ '/'
let dirname = dirpath."/".substitute(fnamebuf,'/.*$','','')
let dirpath = dirname
let fnamebuf = substitute(fnamebuf,'^.\{-}/\(.*\)$','\1','')
" call Decho("dirname<".dirname.">")
" call Decho("dirpath<".dirpath.">")
if !isdirectory(dirname)
" call Decho("making <".dirname.">")
if exists("g:vimball_mkdir")
call system(g:vimball_mkdir." ".shellescape(dirname))
else
call mkdir(dirname)
endif
call mkdir(dirname)
call s:RecordInVar(home,"rmdir('".dirname."')")
endif
endwhile
@@ -317,55 +252,48 @@ fun! vimball#Vimball(really,...)
let linenr = linenr + 2
let lastline = linenr + fsize - 1
" call Decho("exe ".linenr.",".lastline."yank a")
" no point in handling a zero-length file
if lastline >= linenr
exe "silent ".linenr.",".lastline."yank a"
exe "silent ".linenr.",".lastline."yank a"
" copy "a" buffer into tab
" copy "a" buffer into tab
" call Decho('copy "a buffer into tab#'.vbtabnr)
exe "tabn ".vbtabnr
setlocal ma
sil! %d
silent put a
1
sil! d
exe "tabn ".vbtabnr
silent! %d
silent put a
1
silent d
" write tab to file
if a:really
let fnamepath= home."/".fname
" call Decho("exe w! ".fnameescape(fnamepath))
if fenc != ""
exe "silent w! ++enc=".fnameescape(fenc)." ".fnameescape(fnamepath)
else
exe "silent w! ".fnameescape(fnamepath)
endif
echo "wrote ".fnameescape(fnamepath)
" write tab to file
if a:really
let fnamepath= s:Path(home."/".fname,'')
" call Decho("exe w! ".fnamepath)
exe "silent w! ".fnamepath
echo "wrote ".fnamepath
call s:RecordInVar(home,"call delete('".fnamepath."')")
endif
endif
" return to tab with vimball
" return to tab with vimball
" call Decho("exe tabn ".curtabnr)
exe "tabn ".curtabnr
exe "tabn ".curtabnr
" set up help if its a doc/*.txt file
" set up help if its a doc/*.txt file
" call Decho("didhelp<".didhelp."> fname<".fname.">")
if a:really && didhelp == "" && fname =~ 'doc/[^/]\+\.\(txt\|..x\)$'
let didhelp= substitute(fname,'^\(.*\<doc\)[/\\][^.]*\.\(txt\|..x\)$','\1','')
if a:really && didhelp == "" && fname =~ 'doc/[^/]\+\.txt$'
let didhelp= substitute(fname,'^\(.*\<doc\)[/\\][^.]*\.txt$','\1','')
" call Decho("didhelp<".didhelp.">")
endif
endif
" update for next file
" call Decho("update linenr= [linenr=".linenr."] + [fsize=".fsize."] = ".(linenr+fsize))
let linenr= linenr + fsize
" let oldlinenr = linenr " Decho
let linenr = linenr + fsize
" call Decho("update linenr= [linenr=".oldlinenr."] + [fsize=".fsize."] = ".linenr)
endwhile
" set up help
" call Decho("about to set up help: didhelp<".didhelp.">")
if didhelp != ""
let htpath= home."/".didhelp
let htpath= escape(substitute(s:Path(home."/".didhelp,'"'),'"','','g'),' ')
" call Decho("exe helptags ".htpath)
exe "helptags ".fnameescape(htpath)
exe "helptags ".htpath
echo "did helptags"
endif
@@ -383,7 +311,7 @@ fun! vimball#Vimball(really,...)
setlocal nomod bh=wipe
exe "tabn ".curtabnr
exe "tabc ".vbtabnr
call vimball#RestoreSettings()
call s:RestoreSettings()
call s:ChgDir(curdir)
" call Dret("vimball#Vimball")
@@ -401,10 +329,12 @@ fun! vimball#RmVimball(...)
" call Dret("vimball#RmVimball : (g:vimball_norecord)")
return
endif
let eikeep= &ei
set ei=all
" call Decho("turned off all events")
if a:0 == 0
let curfile= expand("%:tr")
" call Decho("case a:0=0: curfile<".curfile."> (used expand(%:tr))")
let curfile= '^'.expand("%:tr")
else
if a:1 =~ '[\/]'
call vimball#ShowMesg(s:USAGE,"RmVimball vimballname [path]")
@@ -412,17 +342,16 @@ fun! vimball#RmVimball(...)
return
endif
let curfile= a:1
" call Decho("case a:0=".a:0.": curfile<".curfile.">")
endif
if curfile =~ '\.vmb$'
let curfile= substitute(curfile,'\.vmb','','')
elseif curfile =~ '\.vba$'
let curfile= substitute(curfile,'\.vba','','')
if curfile !~ '.vba$'
let curfile= curfile.".vba: "
else
let curfile= curfile.": "
endif
if a:0 >= 2
let home= expand(a:2)
else
let home= vimball#VimballHome()
let home= s:VimballHome()
endif
let curdir = getcwd()
" call Decho("home <".home.">")
@@ -434,113 +363,52 @@ fun! vimball#RmVimball(...)
" call Decho(".VimballRecord is readable")
" call Decho("curfile<".curfile.">")
keepalt keepjumps 1split
sil! keepalt keepjumps e .VimballRecord
silent! keepalt keepjumps e .VimballRecord
let keepsrch= @/
" call Decho('search for ^\M'.curfile.'.\m: ')
" call Decho('search for ^\M'.curfile.'.\m{vba|vmb}: ')
" call Decho('search for ^\M'.curfile.'\m[-0-9.]*\.{vba|vmb}: ')
if search('^\M'.curfile."\m: ".'cw')
let foundit= 1
elseif search('^\M'.curfile.".\mvmb: ",'cw')
let foundit= 2
elseif search('^\M'.curfile.'\m[-0-9.]*\.vmb: ','cw')
let foundit= 2
elseif search('^\M'.curfile.".\mvba: ",'cw')
let foundit= 1
elseif search('^\M'.curfile.'\m[-0-9.]*\.vba: ','cw')
let foundit= 1
else
let foundit = 0
endif
if foundit
if foundit == 1
let exestring = substitute(getline("."),'^\M'.curfile.'\m\S\{-}\.vba: ','','')
else
let exestring = substitute(getline("."),'^\M'.curfile.'\m\S\{-}\.vmb: ','','')
endif
let s:VBRstring= substitute(exestring,'call delete(','','g')
let s:VBRstring= substitute(s:VBRstring,"[')]",'','g')
if search(curfile,'cw')
let exestring= substitute(getline("."),curfile,'','')
" call Decho("exe ".exestring)
sil! keepalt keepjumps exe exestring
sil! keepalt keepjumps d
let exestring= strlen(substitute(exestring,'call delete(.\{-})|\=',"D","g"))
" call Decho("exestring<".exestring.">")
echomsg "removed ".exestring." files"
silent! keepalt keepjumps exe exestring
silent! keepalt keepjumps d
else
let s:VBRstring= ''
let curfile = substitute(curfile,'\.vmb','','')
" call Decho("unable to find <".curfile."> in .VimballRecord")
if !exists("s:ok_unablefind")
call vimball#ShowMesg(s:WARNING,"(RmVimball) unable to find <".curfile."> in .VimballRecord")
endif
" call Decho("unable to find <".curfile."> in .VimballRecord")
endif
sil! keepalt keepjumps g/^\s*$/d
sil! keepalt keepjumps wq!
silent! keepalt keepjumps g/^\s*$/d
silent! keepalt keepjumps wq!
let @/= keepsrch
endif
call s:ChgDir(curdir)
" restoring events
" call Decho("restoring events")
let &ei= eikeep
" call Dret("vimball#RmVimball")
endfun
" ---------------------------------------------------------------------
" vimball#Decompress: attempts to automatically decompress vimballs {{{2
fun! vimball#Decompress(fname,...)
" call Dfunc("Decompress(fname<".a:fname.">) a:0=".a:0)
fun! vimball#Decompress(fname)
" call Dfunc("Decompress(fname<".a:fname.">)")
" decompression:
if expand("%") =~ '.*\.gz' && executable("gunzip")
" handle *.gz with gunzip
silent exe "!gunzip ".shellescape(a:fname)
if v:shell_error != 0
call vimball#ShowMesg(s:WARNING,"(vimball#Decompress) gunzip may have failed with <".a:fname.">")
endif
exe "!gunzip ".a:fname
let fname= substitute(a:fname,'\.gz$','','')
exe "e ".escape(fname,' \')
if a:0 == 0| call vimball#ShowMesg(s:USAGE,"Source this file to extract it! (:so %)") | endif
elseif expand("%") =~ '.*\.gz' && executable("gzip")
" handle *.gz with gzip -d
silent exe "!gzip -d ".shellescape(a:fname)
if v:shell_error != 0
call vimball#ShowMesg(s:WARNING,'(vimball#Decompress) "gzip -d" may have failed with <'.a:fname.">")
endif
let fname= substitute(a:fname,'\.gz$','','')
exe "e ".escape(fname,' \')
if a:0 == 0| call vimball#ShowMesg(s:USAGE,"Source this file to extract it! (:so %)") | endif
call vimball#ShowMesg(s:USAGE,"Source this file to extract it! (:so %)")
elseif expand("%") =~ '.*\.bz2' && executable("bunzip2")
" handle *.bz2 with bunzip2
silent exe "!bunzip2 ".shellescape(a:fname)
if v:shell_error != 0
call vimball#ShowMesg(s:WARNING,"(vimball#Decompress) bunzip2 may have failed with <".a:fname.">")
endif
exe "!bunzip2 ".a:fname
let fname= substitute(a:fname,'\.bz2$','','')
exe "e ".escape(fname,' \')
if a:0 == 0| call vimball#ShowMesg(s:USAGE,"Source this file to extract it! (:so %)") | endif
elseif expand("%") =~ '.*\.bz2' && executable("bzip2")
" handle *.bz2 with bzip2 -d
silent exe "!bzip2 -d ".shellescape(a:fname)
if v:shell_error != 0
call vimball#ShowMesg(s:WARNING,'(vimball#Decompress) "bzip2 -d" may have failed with <'.a:fname.">")
endif
let fname= substitute(a:fname,'\.bz2$','','')
exe "e ".escape(fname,' \')
if a:0 == 0| call vimball#ShowMesg(s:USAGE,"Source this file to extract it! (:so %)") | endif
call vimball#ShowMesg(s:USAGE,"Source this file to extract it! (:so %)")
elseif expand("%") =~ '.*\.zip' && executable("unzip")
" handle *.zip with unzip
silent exe "!unzip ".shellescape(a:fname)
if v:shell_error != 0
call vimball#ShowMesg(s:WARNING,"(vimball#Decompress) unzip may have failed with <".a:fname.">")
endif
exe "!unzip ".a:fname
let fname= substitute(a:fname,'\.zip$','','')
exe "e ".escape(fname,' \')
if a:0 == 0| call vimball#ShowMesg(s:USAGE,"Source this file to extract it! (:so %)") | endif
call vimball#ShowMesg(s:USAGE,"Source this file to extract it! (:so %)")
endif
if a:0 == 0| setlocal noma bt=nofile fmr=[[[,]]] fdm=marker | endif
set noma bt=nofile fmr=[[[,]]] fdm=marker
" call Dret("Decompress")
endfun
@@ -549,21 +417,20 @@ endfun
" vimball#ShowMesg: {{{2
fun! vimball#ShowMesg(level,msg)
" call Dfunc("vimball#ShowMesg(level=".a:level." msg<".a:msg.">)")
let rulerkeep = &ruler
let showcmdkeep = &showcmd
set noruler noshowcmd
redraw!
if &fo =~ '[ta]'
echomsg "***vimball*** ".a:msg
echomsg "***vimball*** " a:msg
else
if a:level == s:WARNING || a:level == s:USAGE
echohl WarningMsg
elseif a:level == s:ERROR
echohl Error
endif
echomsg "***vimball*** ".a:msg
echomsg "***vimball*** " a:msg
echohl None
endif
@@ -576,26 +443,36 @@ fun! vimball#ShowMesg(level,msg)
" call Dret("vimball#ShowMesg")
endfun
" ---------------------------------------------------------------------
let &cpo= s:keepcpo
unlet s:keepcpo
" =====================================================================
" s:ChgDir: change directory (in spite of Windoze) {{{2
fun! s:ChgDir(newdir)
" call Dfunc("ChgDir(newdir<".a:newdir.">)")
if (has("win32") || has("win95") || has("win64") || has("win16"))
try
exe 'silent cd '.fnameescape(substitute(a:newdir,'/','\\','g'))
catch /^Vim\%((\a\+)\)\=:E/
call mkdir(fnameescape(substitute(a:newdir,'/','\\','g')))
exe 'silent cd '.fnameescape(substitute(a:newdir,'/','\\','g'))
endtry
exe 'silent cd '.escape(substitute(a:newdir,'/','\\','g'),' ')
else
try
exe 'silent cd '.fnameescape(a:newdir)
catch /^Vim\%((\a\+)\)\=:E/
call mkdir(fnameescape(a:newdir))
exe 'silent cd '.fnameescape(a:newdir)
endtry
exe 'silent cd '.escape(a:newdir,' ')
endif
" call Dret("ChgDir : curdir<".getcwd().">")
" call Dret("ChgDir")
endfun
" ---------------------------------------------------------------------
" s:Path: prepend and append quotes, do escaping, as necessary {{{2
fun! s:Path(cmd,quote)
" call Dfunc("Path(cmd<".a:cmd."> quote<".a:quote.">)")
if (has("win32") || has("win95") || has("win64") || has("win16"))
let cmdpath= a:quote.substitute(a:cmd,'/','\\','g').a:quote
else
let cmdpath= a:quote.a:cmd.a:quote
endif
if a:quote == ""
let cmdpath= escape(cmdpath,' ')
endif
" call Dret("Path <".cmdpath.">")
return cmdpath
endfun
" ---------------------------------------------------------------------
@@ -608,20 +485,23 @@ fun! s:RecordInVar(home,cmd)
" else
" let s:recorddir= s:recorddir."|".substitute(a:cmd,'^rmdir',"call s:Rmdir",'')
" endif
" call Decho("recorddir=".s:recorddir)
elseif !exists("s:recordfile")
let s:recordfile= a:cmd
" call Decho("recordfile=".s:recordfile)
else
let s:recordfile= s:recordfile."|".a:cmd
" call Decho("recordfile=".s:recordfile)
endif
" call Dret("RecordInVar : s:recordfile<".(exists("s:recordfile")? s:recordfile : "")."> s:recorddir<".(exists("s:recorddir")? s:recorddir : "").">")
" call Dret("RecordInVar")
endfun
" ---------------------------------------------------------------------
" s:RecordInFile: {{{2
fun! s:RecordInFile(home)
" call Dfunc("s:RecordInFile()")
" call Dfunc("RecordInFile()")
if exists("g:vimball_norecord")
" call Dret("s:RecordInFile : g:vimball_norecord")
" call Dret("RecordInFile : (g:vimball_norecord)")
return
endif
@@ -629,12 +509,8 @@ fun! s:RecordInFile(home)
let curdir= getcwd()
call s:ChgDir(a:home)
keepalt keepjumps 1split
let cmd= expand("%:tr").": "
" call Decho("cmd<".cmd.">")
sil! keepalt keepjumps e .VimballRecord
setlocal ma
silent! keepalt keepjumps e .VimballRecord
$
if exists("s:recordfile") && exists("s:recorddir")
let cmd= cmd.s:recordfile."|".s:recorddir
@@ -643,47 +519,44 @@ fun! s:RecordInFile(home)
elseif exists("s:recordfile")
let cmd= cmd.s:recordfile
else
" call Dret("s:RecordInFile : neither recordfile nor recorddir exist")
" call Dret("RecordInFile")
return
endif
" call Decho("cmd<".cmd.">")
" put command into buffer, write .VimballRecord `file
keepalt keepjumps put=cmd
sil! keepalt keepjumps g/^\s*$/d
sil! keepalt keepjumps wq!
silent! keepalt keepjumps g/^\s*$/d
silent! keepalt keepjumps wq!
call s:ChgDir(curdir)
if exists("s:recorddir")
" call Decho("unlet s:recorddir<".s:recorddir.">")
unlet s:recorddir
endif
if exists("s:recordfile")
" call Decho("unlet s:recordfile<".s:recordfile.">")
unlet s:recordfile
endif
if exists("s:recorddir") |unlet s:recorddir |endif
if exists("s:recordfile")|unlet s:recordfile|endif
else
" call Decho("s:record[file|dir] doesn't exist")
endif
" call Dret("s:RecordInFile")
" call Dret("RecordInFile")
endfun
" ---------------------------------------------------------------------
" vimball#VimballHome: determine/get home directory path (usually from rtp) {{{2
fun! vimball#VimballHome()
" call Dfunc("vimball#VimballHome()")
" s:Rmdir: {{{2
"fun! s:Rmdir(dirname)
"" call Dfunc("s:Rmdir(dirname<".a:dirname.">)")
" if (has("win32") || has("win95") || has("win64") || has("win16")) && &shell !~? 'sh$'
" call system("del ".a:dirname)
" else
" call system("rmdir ".a:dirname)
" endif
"" call Dret("s:Rmdir")
"endfun
" ---------------------------------------------------------------------
" s:VimballHome: determine/get home directory path (usually from rtp) {{{2
fun! s:VimballHome()
" call Dfunc("VimballHome()")
if exists("g:vimball_home")
let home= g:vimball_home
else
" go to vim plugin home
for home in split(&rtp,',') + ['']
if isdirectory(home) && filewritable(home) | break | endif
let basehome= substitute(home,'[/\\]\.vim$','','')
if isdirectory(basehome) && filewritable(basehome)
let home= basehome."/.vim"
break
endif
endfor
if home == ""
" just pick the first directory
@@ -693,25 +566,13 @@ fun! vimball#VimballHome()
let home= substitute(home,'/','\\','g')
endif
endif
" insure that the home directory exists
" call Decho("picked home<".home.">")
if !isdirectory(home)
if exists("g:vimball_mkdir")
" call Decho("home<".home."> isn't a directory -- making it now with g:vimball_mkdir<".g:vimball_mkdir.">")
" call Decho("system(".g:vimball_mkdir." ".shellescape(home).")")
call system(g:vimball_mkdir." ".shellescape(home))
else
" call Decho("home<".home."> isn't a directory -- making it now with mkdir()")
call mkdir(home)
endif
endif
" call Dret("vimball#VimballHome <".home.">")
" call Dret("VimballHome <".home.">")
return home
endfun
" ---------------------------------------------------------------------
" vimball#SaveSettings: {{{2
fun! vimball#SaveSettings()
" s:SaveSettings: {{{2
fun! s:SaveSettings()
" call Dfunc("SaveSettings()")
let s:makeep = getpos("'a")
let s:regakeep= @a
@@ -719,34 +580,30 @@ fun! vimball#SaveSettings()
let s:acdkeep = &acd
endif
let s:eikeep = &ei
let s:fenkeep = &l:fen
let s:fenkeep = &fen
let s:hidkeep = &hidden
let s:ickeep = &ic
let s:lzkeep = &lz
let s:pmkeep = &pm
let s:repkeep = &report
let s:vekeep = &ve
let s:ffkeep = &l:ff
let s:swfkeep = &l:swf
if exists("&acd")
setlocal ei=all ve=all noacd nofen noic report=999 nohid bt= ma lz pm= ff=unix noswf
set ei=all ve=all noacd nofen noic report=999 nohid bt= ma lz pm=
else
setlocal ei=all ve=all nofen noic report=999 nohid bt= ma lz pm= ff=unix noswf
set ei=all ve=all nofen noic report=999 nohid bt= ma lz pm=
endif
" vimballs should be in unix format
setlocal ff=unix
" call Dret("SaveSettings")
endfun
" ---------------------------------------------------------------------
" vimball#RestoreSettings: {{{2
fun! vimball#RestoreSettings()
" s:RestoreSettings: {{{2
fun! s:RestoreSettings()
" call Dfunc("RestoreSettings()")
let @a = s:regakeep
if exists("&acd")
let &acd = s:acdkeep
endif
let &l:fen = s:fenkeep
let &fen = s:fenkeep
let &hidden = s:hidkeep
let &ic = s:ickeep
let &lz = s:lzkeep
@@ -754,22 +611,20 @@ fun! vimball#RestoreSettings()
let &report = s:repkeep
let &ve = s:vekeep
let &ei = s:eikeep
let &l:ff = s:ffkeep
if s:makeep[0] != 0
" restore mark a
" call Decho("restore mark-a: makeep=".string(makeep))
call setpos("'a",s:makeep)
endif
if exists("&acd")
unlet s:acdkeep
unlet s:regakeep s:acdkeep s:eikeep s:fenkeep s:hidkeep s:ickeep s:repkeep s:vekeep s:makeep s:lzkeep s:pmkeep
else
unlet s:regakeep s:eikeep s:fenkeep s:hidkeep s:ickeep s:repkeep s:vekeep s:makeep s:lzkeep s:pmkeep
endif
unlet s:regakeep s:eikeep s:fenkeep s:hidkeep s:ickeep s:repkeep s:vekeep s:makeep s:lzkeep s:pmkeep s:ffkeep
set bt=nofile noma
" call Dret("RestoreSettings")
endfun
let &cpo = s:keepcpo
unlet s:keepcpo
" ---------------------------------------------------------------------
" Modelines: {{{1
" vim: fdm=marker
+1
View File
@@ -381,3 +381,4 @@ let g:xmldata_html32 = {
\ 'param': ['/>', ''],
\ }
\ }
" vim:ft=vim:ff=unix
+1
View File
@@ -466,3 +466,4 @@ let g:xmldata_html401t = {
\ 'param': ['/>', ''],
\ }
\ }
" vim:ft=vim:ff=unix
+1
View File
@@ -408,3 +408,4 @@ let g:xmldata_html401s = {
\ 'param': ['/>', ''],
\ }
\ }
" vim:ft=vim:ff=unix
+1
View File
@@ -458,3 +458,4 @@ let g:xmldata_html401t = {
\ 'param': ['/>', ''],
\ }
\ }
" vim:ft=vim:ff=unix
+1
View File
@@ -466,3 +466,4 @@ let g:xmldata_html40t = {
\ 'param': ['/>', ''],
\ }
\ }
" vim:ft=vim:ff=unix
+1
View File
@@ -408,3 +408,4 @@ let g:xmldata_html40s = {
\ 'param': ['/>', ''],
\ }
\ }
" vim:ft=vim:ff=unix
+1
View File
@@ -458,3 +458,4 @@ let g:xmldata_html40t = {
\ 'param': ['/>', ''],
\ }
\ }
" vim:ft=vim:ff=unix
+1
View File
@@ -467,3 +467,4 @@ let g:xmldata_xhtml10f = {
\ 'param': ['/>', ''],
\ }
\ }
" vim:ft=vim:ff=unix
+1
View File
@@ -408,3 +408,4 @@ let g:xmldata_xhtml10s = {
\ 'param': ['/>', ''],
\ }
\ }
" vim:ft=vim:ff=unix
+1
View File
@@ -458,3 +458,4 @@ let g:xmldata_xhtml10t = {
\ 'param': ['/>', ''],
\ }
\ }
" vim:ft=vim:ff=unix
+1
View File
@@ -432,3 +432,4 @@ let g:xmldata_xhtml11 = {
\ 'param': ['/>', ''],
\ }
\ }
" vim:ft=vim:ff=unix
+7 -9
View File
@@ -1,12 +1,10 @@
" Vim completion script
" Language: XML
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
" Last Change: 2013 Jun 29
" Version: 1.9
" Last Change: 2006 Jul 18
" Version: 1.8
"
" Changelog:
" 1.9 - 2007 Aug 15
" - fix closing of namespaced tags (Johannes Weiss)
" 1.8 - 2006 Jul 18
" - allow for closing of xml tags even when data file isn't available
@@ -415,12 +413,12 @@ function! xmlcomplete#GetLastOpenTag(unaryTagsStack)
if exists("b:xml_namespace")
if b:xml_namespace == 'DEFAULT'
let tagpat='</\=\(\k\|[.:-]\)\+\|/>'
let tagpat='</\=\(\k\|[.-]\)\+\|/>'
else
let tagpat='</\='.b:xml_namespace.':\(\k\|[.-]\)\+\|/>'
endif
else
let tagpat='</\=\(\k\|[.:-]\)\+\|/>'
let tagpat='</\=\(\k\|[.-]\)\+\|/>'
endif
while (linenum>0)
let line=getline(linenum)
@@ -475,12 +473,12 @@ function! s:InCommentAt(line, col)
endfunction
function! s:SetKeywords()
let s:IsKeywordBak=&l:iskeyword
let &l:iskeyword='33-255'
let g:IsKeywordBak=&iskeyword
let &iskeyword='33-255'
endfunction
function! s:RestoreKeywords()
let &l:iskeyword=s:IsKeywordBak
let &iskeyword=g:IsKeywordBak
endfunction
function! s:Push(el, sname)
+63 -95
View File
@@ -1,36 +1,28 @@
" zip.vim: Handles browsing zipfiles
" AUTOLOAD PORTION
" Date: Jul 02, 2013
" Version: 27
" Maintainer: Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" Date: May 08, 2007
" Version: 14
" Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>
" License: Vim License (see vim's :help license)
" Copyright: Copyright (C) 2005-2013 Charles E. Campbell {{{1
" Copyright: Copyright (C) 2005 Charles E. Campbell, Jr. {{{1
" Permission is hereby granted to use and distribute this code,
" with or without modifications, provided that this copyright
" notice is copied with it. Like anything else that's free,
" zip.vim and zipPlugin.vim are provided *as is* and comes with
" no warranty of any kind, either expressed or implied. By using
" this plugin, you agree that in no event will the copyright
" zipPlugin.vim is provided *as is* and comes with no warranty
" of any kind, either expressed or implied. By using this
" plugin, you agree that in no event will the copyright
" holder be liable for any damages resulting from the use
" of this software.
"redraw!|call DechoSep()|call inputsave()|call input("Press <cr> to continue")|call inputrestore()
" ---------------------------------------------------------------------
" Load Once: {{{1
if &cp || exists("g:loaded_zip")
finish
endif
let g:loaded_zip= "v27"
if v:version < 702
echohl WarningMsg
echo "***warning*** this version of zip needs vim 7.2"
echohl Normal
finish
endif
let s:keepcpo= &cpo
set cpo&vim
"DechoTabOn
if &cp || exists("g:loaded_zip") || v:version < 700
finish
endif
let g:loaded_zip = "v14"
let s:zipfile_escape = ' ?&;\'
let s:ERROR = 2
let s:WARNING = 1
@@ -39,9 +31,7 @@ let s:NOTE = 0
" ---------------------------------------------------------------------
" Global Values: {{{1
if !exists("g:zip_shq")
if &shq != ""
let g:zip_shq= &shq
elseif has("unix")
if has("unix")
let g:zip_shq= "'"
else
let g:zip_shq= '"'
@@ -62,26 +52,10 @@ endif
" zip#Browse: {{{2
fun! zip#Browse(zipfile)
" call Dfunc("zip#Browse(zipfile<".a:zipfile.">)")
" sanity check: insure that the zipfile has "PK" as its first two letters
" (zipped files have a leading PK as a "magic cookie")
if !filereadable(a:zipfile) || readfile(a:zipfile, "", 1)[0] !~ '^PK'
exe "noautocmd e ".fnameescape(a:zipfile)
" call Dret("zip#Browse : not a zipfile<".a:zipfile.">")
return
" else " Decho
" call Decho("zip#Browse: a:zipfile<".a:zipfile."> passed PK test - its a zip file")
endif
let repkeep= &report
set report=10
" sanity checks
if !exists("*fnameescape")
if &verbose > 1
echoerr "the zip plugin is not available (your vim doens't support fnameescape())"
endif
return
endif
if !executable(g:zip_unzipcmd)
redraw!
echohl Error | echo "***error*** (zip#Browse) unzip not available on your system"
@@ -115,26 +89,37 @@ fun! zip#Browse(zipfile)
set ft=tar
" give header
call append(0, ['" zip.vim version '.g:loaded_zip,
\ '" Browsing zipfile '.a:zipfile,
\ '" Select a file with cursor and press ENTER'])
keepj $
exe "$put ='".'\"'." zip.vim version ".g:loaded_zip."'"
exe "$put ='".'\"'." Browsing zipfile ".a:zipfile."'"
exe "$put ='".'\"'." Select a file with cursor and press ENTER"."'"
$put =''
0d
$
" call Decho("exe silent r! ".g:zip_unzipcmd." -l -- ".s:Escape(a:zipfile,1))
exe "keepj sil! r! ".g:zip_unzipcmd." -Z -1 -- ".s:Escape(a:zipfile,1)
" call Decho("exe silent r! ".g:zip_unzipcmd." -l ".s:QuoteFileDir(a:zipfile))
exe "silent r! ".g:zip_unzipcmd." -l ".s:QuoteFileDir(a:zipfile)
if v:shell_error != 0
redraw!
echohl WarningMsg | echo "***warning*** (zip#Browse) ".fnameescape(a:zipfile)." is not a zip file" | echohl None
echohl WarningMsg | echo "***warning*** (zip#Browse) ".a:zipfile." is not a zip file" | echohl None
" call inputsave()|call input("Press <cr> to continue")|call inputrestore()
keepj sil! %d
silent %d
let eikeep= &ei
set ei=BufReadCmd,FileReadCmd
exe "keepj r ".fnameescape(a:zipfile)
exe "r ".a:zipfile
let &ei= eikeep
keepj 1d
1d
" call Dret("zip#Browse")
return
endif
" call Decho("line 6: ".getline(6))
let namecol= stridx(getline(6),'Name') + 1
" call Decho("namecol=".namecol)
4,$g/^\s*----/d
4,$g/^\s*\a/d
$d
if namecol > 0
exe 'silent 4,$s/^.*\%'.namecol.'c//'
endif
setlocal noma nomod ro
noremap <silent> <buffer> <cr> :call <SID>ZipBrowseSelect()<cr>
@@ -175,12 +160,10 @@ fun! s:ZipBrowseSelect()
" call Decho("curfile<".curfile.">")
new
if !exists("g:zip_nomax") || g:zip_nomax == 0
wincmd _
endif
wincmd _
let s:zipfile_{winnr()}= curfile
" call Decho("exe e ".fnameescape("zipfile:".zipfile.'::'.fname))
exe "e ".fnameescape("zipfile:".zipfile.'::'.fname)
" call Decho("exe e zipfile:".escape(zipfile,s:zipfile_escape).'::'.escape(fname,s:zipfile_escape))
exe "e zipfile:".escape(zipfile,s:zipfile_escape).'::'.escape(fname,s:zipfile_escape)
filetype detect
let &report= repkeep
@@ -200,28 +183,16 @@ fun! zip#Read(fname,mode)
else
let zipfile = substitute(a:fname,'^.\{-}zipfile:\(.\{-}\)::[^\\].*$','\1','')
let fname = substitute(a:fname,'^.\{-}zipfile:.\{-}::\([^\\].*\)$','\1','')
let fname = substitute(fname, '[', '[[]', 'g')
let fname = substitute(fname, '[', '[[]', 'g')
endif
" call Decho("zipfile<".zipfile.">")
" call Decho("fname <".fname.">")
" the following code does much the same thing as
" exe "keepj sil! r! ".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1)
" but allows zipfile:... entries in quickfix lists
let temp = tempname()
" call Decho("using temp file<".temp.">")
let fn = expand('%:p')
exe "sil! !".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1).' > '.temp
" call Decho("exe sil! !".g:zip_unzipcmd." -p -- ".s:Escape(zipfile,1)." ".s:Escape(fnameescape(fname),1).' > '.temp)
sil exe 'keepalt file '.temp
sil keepj e!
sil exe 'keepalt file '.fnameescape(fn)
call delete(temp)
filetype detect
" call Decho("exe r! ".g:zip_unzipcmd." -p ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname))
exe "silent r! ".g:zip_unzipcmd." -p ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname)
" cleanup
" keepj 0d " used to be needed for the ...r! ... method
0d
set nomod
let &report= repkeep
@@ -290,8 +261,8 @@ fun! zip#Write(fname)
if fname =~ '/'
let dirpath = substitute(fname,'/[^/]\+$','','e')
if has("win32unix") && executable("cygpath")
let dirpath = substitute(system("cygpath ".s:Escape(dirpath,0)),'\n','','e')
if executable("cygpath")
let dirpath = substitute(system("cygpath ".dirpath),'\n','','e')
endif
" call Decho("mkdir(dirpath<".dirpath.">,p)")
call mkdir(dirpath,"p")
@@ -301,17 +272,17 @@ fun! zip#Write(fname)
endif
" call Decho("zipfile<".zipfile."> fname<".fname.">")
exe "w! ".fnameescape(fname)
if has("win32unix") && executable("cygpath")
let zipfile = substitute(system("cygpath ".s:Escape(zipfile,0)),'\n','','e')
exe "w! ".escape(fname,s:zipfile_escape)
if executable("cygpath")
let zipfile = substitute(system("cygpath ".zipfile),'\n','','e')
endif
if (has("win32") || has("win95") || has("win64") || has("win16")) && &shell !~? 'sh$'
let fname = substitute(fname, '[', '[[]', 'g')
endif
" call Decho(g:zip_zipcmd." -u ".s:Escape(fnamemodify(zipfile,":p"),0)." ".s:Escape(fname,0))
call system(g:zip_zipcmd." -u ".s:Escape(fnamemodify(zipfile,":p"),0)." ".s:Escape(fname,0))
" call Decho(g:zip_zipcmd." -u ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname))
call system(g:zip_zipcmd." -u ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname))
if v:shell_error != 0
redraw!
echohl Error | echo "***error*** (zip#Write) sorry, unable to update ".zipfile." with ".fname | echohl None
@@ -325,7 +296,7 @@ fun! zip#Write(fname)
let binkeep= &binary
let eikeep = &ei
set binary ei=all
exe "e! ".fnameescape(zipfile)
exe "e! ".zipfile
call netrw#NetWrite(netzipfile)
let &ei = eikeep
let &binary = binkeep
@@ -345,20 +316,11 @@ fun! zip#Write(fname)
endfun
" ---------------------------------------------------------------------
" s:Escape: {{{2
fun! s:Escape(fname,isfilt)
" call Dfunc("QuoteFileDir(fname<".a:fname."> isfilt=".a:isfilt.")")
if exists("*shellescape")
if a:isfilt
let qnameq= shellescape(a:fname,1)
else
let qnameq= shellescape(a:fname)
endif
else
let qnameq= g:zip_shq.escape(a:fname,g:zip_shq).g:zip_shq
endif
" call Dret("QuoteFileDir <".qnameq.">")
return qnameq
" QuoteFileDir: {{{2
fun! s:QuoteFileDir(fname)
" call Dfunc("QuoteFileDir(fname<".a:fname.">)")
" call Dret("QuoteFileDir")
return g:zip_shq.a:fname.g:zip_shq
endfun
" ---------------------------------------------------------------------
@@ -366,8 +328,14 @@ endfun
fun! s:ChgDir(newdir,errlvl,errmsg)
" call Dfunc("ChgDir(newdir<".a:newdir."> errlvl=".a:errlvl." errmsg<".a:errmsg.">)")
if (has("win32") || has("win95") || has("win64") || has("win16")) && &shell !~? 'sh$'
let newdir= escape(a:newdir,' ')
else
let newdir= escape(a:newdir,'\ ')
endif
try
exe "cd ".fnameescape(a:newdir)
exe "cd ".newdir
catch /^Vim\%((\a\+)\)\=:E344/
redraw!
if a:errlvl == s:NOTE
@@ -387,13 +355,13 @@ fun! s:ChgDir(newdir,errlvl,errmsg)
endfun
" ---------------------------------------------------------------------
" s:Rmdir: {{{2
" Rmdir: {{{2
fun! s:Rmdir(fname)
" call Dfunc("Rmdir(fname<".a:fname.">)")
if (has("win32") || has("win95") || has("win64") || has("win16")) && &shell !~? 'sh$'
call system("rmdir /S/Q ".s:Escape(a:fname,0))
call system("rmdir /S/Q ".s:QuoteFileDir(a:fname))
else
call system("/bin/rm -rf ".s:Escape(a:fname,0))
call system("/bin/rm -rf ".s:QuoteFileDir(a:fname))
endif
" call Dret("Rmdir")
endfun
-3
View File
@@ -50,9 +50,6 @@ If you think you have a color scheme that is good enough to be used by others,
please check the following items:
- Does it work in a color terminal as well as in the GUI?
- Is "g:colors_name" set to a meaningful value? In case of doubt you can do
it this way:
let g:colors_name = expand('<sfile>:t:r')
- Is 'background' either used or appropriately set to "light" or "dark"?
- Try setting 'hlsearch' and searching for a pattern, is the match easy to
spot?
+1 -7
View File
@@ -1,6 +1,6 @@
" Vim color file
" Maintainer: Bohdan Vlasyuk <bohdan@vstu.edu.ua>
" Last Change: 2008 Jul 18
" Last Change: 2006 Apr 30
" darkblue -- for those who prefer dark background
" [note: looks bit uglier with come terminal palettes,
@@ -58,9 +58,3 @@ hi PreProc ctermfg=magenta guifg=#ff80ff gui=none cterm=none
hi type ctermfg=green guifg=#60ff60 gui=none cterm=none
hi Underlined cterm=underline term=underline
hi Ignore guifg=bg ctermfg=bg
" suggested by tigmoid, 2008 Jul 18
hi Pmenu guifg=#c0c0c0 guibg=#404080
hi PmenuSel guifg=#c0c0c0 guibg=#2050d0
hi PmenuSbar guifg=blue guibg=darkgray
hi PmenuThumb guifg=#c0c0c0
+3 -3
View File
@@ -1,9 +1,9 @@
" Vim color file
" Maintainer: Hans Fugal <hans@fugal.net>
" Last Change: $Date: 2004/06/13 19:30:30 $
" Last Change: $Date: 2004/06/13 19:30:30 $
" Last Change: $Date$
" Last Change: $Date$
" URL: http://hans.fugal.net/vim/colors/desert.vim
" Version: $Id: desert.vim,v 1.1 2004/06/13 19:30:30 vimboss Exp $
" Version: $Id$
" cool help screens
" :he group-name
+1 -3
View File
@@ -2,7 +2,7 @@
" vim: tw=0 ts=4 sw=4
" Vim color file
" Maintainer: Ron Aaron <ron@ronware.org>
" Last Change: 2013 May 23
" Last Change: 2006 Dec 10
hi clear
set background=dark
@@ -43,8 +43,6 @@ hi MatchParen term=reverse ctermfg=blue guibg=Blue
hi TabLine term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white gui=bold guifg=blue guibg=white
hi TabLineFill term=bold,reverse cterm=bold ctermfg=lightblue ctermbg=white gui=bold guifg=blue guibg=white
hi TabLineSel term=reverse ctermfg=white ctermbg=lightblue guifg=white guibg=blue
hi Underlined term=underline cterm=bold,underline ctermfg=lightblue guifg=lightblue gui=bold,underline
hi Ignore ctermfg=black ctermbg=black guifg=black guibg=black
hi link IncSearch Visual
hi link String Constant
hi link Character Constant
+125
View File
@@ -0,0 +1,125 @@
" MacVim colorscheme
"
" Maintainer: Bjorn Winckler <bjorn.winckler@gmail.com>
" Last Change: 2007 Nov 17
"
" This is the default MacVim color scheme. It supports both light and dark
" backgrounds (see :h 'background').
"
highlight clear
" Reset String -> Constant links etc if they were reset
if exists("syntax_on")
syntax reset
endif
let colors_name = "macvim"
"
" First list all groups common to both 'light' and 'dark' background.
"
" `:he highlight-groups`
hi DiffAdd guibg=MediumSeaGreen
hi Directory guifg=#1600FF
hi ErrorMsg guibg=Firebrick2 guifg=White
hi FoldColumn guibg=Grey guifg=DarkBlue
hi Folded guibg=#E6E6E6 guifg=DarkBlue
hi IncSearch gui=reverse
hi ModeMsg gui=bold
hi MoreMsg gui=bold guifg=SeaGreen4
hi NonText gui=bold guifg=Blue
hi Pmenu guibg=LightSteelBlue1
hi PmenuSbar guibg=Grey
hi PmenuSel guifg=White guibg=SkyBlue4
hi PmenuThumb gui=reverse
hi Question gui=bold guifg=Chartreuse4
hi SignColumn guibg=Grey guifg=DarkBlue
hi SpecialKey guifg=Blue
hi SpellBad guisp=Firebrick2 gui=undercurl
hi SpellCap guisp=Blue gui=undercurl
hi SpellLocal guisp=DarkCyan gui=undercurl
hi SpellRare guisp=Magenta gui=undercurl
hi StatusLine gui=NONE guifg=White guibg=DarkSlateGray
hi StatusLineNC gui=NONE guifg=SlateGray guibg=Gray90
hi TabLine gui=underline guibg=LightGrey
hi TabLineFill gui=reverse
hi TabLineSel gui=bold
hi Title gui=bold guifg=DeepSkyBlue3
hi VertSplit gui=NONE guifg=DarkSlateGray guibg=Gray90
hi Visual guibg=MacSelectedTextBackgroundColor
hi WarningMsg guifg=Firebrick2
" Syntax items (`:he group-name` -- more groups are available, these are just
" the top level syntax items for now).
hi Error gui=NONE guifg=White guibg=Firebrick3
hi Identifier gui=NONE guifg=Aquamarine4 guibg=NONE
hi Ignore gui=NONE guifg=bg guibg=NONE
hi PreProc gui=NONE guifg=DodgerBlue3 guibg=NONE
hi Special gui=NONE guifg=BlueViolet guibg=NONE
hi String gui=NONE guifg=SkyBlue4 guibg=NONE
hi Underlined gui=underline guifg=SteelBlue1
"
" Groups that differ between 'light' and 'dark' background.
"
if &background == "dark"
hi Boolean gui=NONE guifg=DeepPink4 guibg=NONE
hi Comment gui=italic guifg=CadetBlue3
hi Constant gui=NONE guifg=Goldenrod1 guibg=NONE
hi Cursor guibg=LightGoldenrod guifg=bg
hi CursorColumn guibg=Gray20
hi CursorIM guibg=LightSlateGrey guifg=bg
hi CursorLine guibg=Gray20
hi DiffChange guibg=MediumPurple4
hi DiffDelete gui=bold guifg=White guibg=SlateBlue
hi DiffText gui=NONE guifg=White guibg=SteelBlue
hi LineNr guifg=#552A7B guibg=Grey5
hi MatchParen guifg=White guibg=Magenta
hi Normal guifg=Grey50 guibg=Grey10
hi Search guibg=Blue4 guifg=NONE
hi Statement gui=bold guifg=Purple1 guibg=NONE
hi Todo gui=NONE guifg=Green4 guibg=DeepSkyBlue1
hi Type gui=bold guifg=Cyan4 guibg=NONE
hi WildMenu guibg=SkyBlue guifg=White
hi lCursor guibg=LightSlateGrey guifg=bg
else
hi Boolean gui=NONE guifg=Red3 guibg=NONE
hi Comment gui=italic guifg=Blue2 guibg=NONE
hi Constant gui=NONE guifg=DarkOrange guibg=NONE
hi Cursor guibg=fg guifg=bg
hi CursorColumn guibg=#F1F5FA
hi CursorIM guibg=fg guifg=bg
hi CursorLine guibg=#F1F5FA
hi DiffChange guibg=DeepSkyBlue
hi DiffDelete gui=bold guifg=Black guibg=SlateBlue
hi DiffText gui=NONE guibg=Gold
hi LineNr guifg=#888888 guibg=#E6E6E6
hi MatchParen guifg=White guibg=MediumPurple1
hi Normal gui=NONE guifg=MacTextColor guibg=MacTextBackgroundColor
hi Search guibg=CadetBlue1 guifg=NONE
hi Statement gui=bold guifg=Maroon guibg=NONE
hi Todo gui=NONE guifg=DarkGreen guibg=PaleGreen1
hi Type gui=bold guifg=Green4 guibg=NONE
hi WildMenu guibg=SkyBlue guifg=Black
hi lCursor guibg=fg guifg=bg
endif
"
" Change the selection color on focus change (but only if the "macvim"
" colorscheme is active).
"
if !exists("s:augroups_defined")
au FocusLost * if exists("colors_name") && colors_name == "macvim" | hi Visual guibg=MacSecondarySelectedControlColor | endif
au FocusGained * if exists("colors_name") && colors_name == "macvim" | hi Visual guibg=MacSelectedTextBackgroundColor | endif
let s:augroups_defined = 1
endif
" vim: sw=2
+3 -5
View File
@@ -2,7 +2,7 @@
" vim: tw=0 ts=4 sw=4
" Vim color file
" Maintainer: Ron Aaron <ron@ronware.org>
" Last Change: 2013 May 24
" Last Change: 2003 May 02
set background=dark
hi clear
@@ -11,7 +11,7 @@ if exists("syntax_on")
endif
let g:colors_name = "ron"
hi Normal guifg=cyan guibg=black
hi NonText guifg=yellow guibg=#303030
hi NonText guifg=brown
hi comment guifg=green
hi constant guifg=cyan gui=bold
hi identifier guifg=cyan gui=NONE
@@ -24,11 +24,10 @@ hi WarningMsg guifg=Black guibg=Green
hi Error guibg=Red
hi Todo guifg=Black guibg=orange
hi Cursor guibg=#60a060 guifg=#00ff00
hi Search guibg=darkgray guifg=black gui=bold
hi Search guibg=lightslateblue
hi IncSearch gui=NONE guibg=steelblue
hi LineNr guifg=darkgrey
hi title guifg=darkgrey
hi ShowMarksHL ctermfg=cyan ctermbg=lightblue cterm=bold guifg=yellow guibg=black gui=bold
hi StatusLineNC gui=NONE guifg=lightblue guibg=darkblue
hi StatusLine gui=bold guifg=cyan guibg=blue
hi label guifg=gold2
@@ -42,4 +41,3 @@ hi DiffDelete guibg=coral
hi Folded guibg=gray30
hi FoldColumn guibg=gray30 guifg=white
hi cIf0 guifg=gray
hi diffOnly guifg=red gui=bold
-1
View File
@@ -9,7 +9,6 @@ if version > 580
syntax reset
endif
endif
let colors_name = "slate"
:hi Normal guifg=White guibg=grey15
:hi Cursor guibg=khaki guifg=slategrey
:hi VertSplit guibg=#c2bfa5 guifg=grey40 gui=none cterm=reverse
+4 -3
View File
@@ -1,7 +1,8 @@
" Vim compiler file
" Compiler: Checkstyle
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2013 Jun 26
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/checkstyle.vim
" Last Change: 2004 Nov 27
if exists("current_compiler")
finish
@@ -16,4 +17,4 @@ CompilerSet makeprg=java\ com.puppycrawl.tools.checkstyle.Main\ -f\ plain
" sample error: WebTable.java:282: '+=' is not preceeded with whitespace.
" WebTable.java:201:1: '{' should be on the previous line.
CompilerSet errorformat=%f:%l:%v:\ %m,%f:%l:\ %m,%-G%.%#
CompilerSet errorformat=%f:%l:\ %m,%f:%l:%v:\ %m,%-G%.%#
+5 -12
View File
@@ -1,26 +1,19 @@
" Vim compiler file
" Compiler: Microsoft Visual Studio C#
" Maintainer: Zhou YiChao (broken.zhou@gmail.com)
" Previous Maintainer: Joseph H. Yao (hyao@sina.com)
" Last Change: 2012 Apr 30
" Compiler: ms C#
" Maintainer: Joseph H. Yao (hyao@sina.com)
" Last Change: 2004 Mar 27
if exists("current_compiler")
finish
endif
let current_compiler = "cs"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
" default errorformat
CompilerSet errorformat&
CompilerSet errorformat+=%f(%l\\,%v):\ %t%*[^:]:\ %m,
\%trror%*[^:]:\ %m,
\%tarning%*[^:]:\ %m
" default make
CompilerSet makeprg=csc\ %
let &cpo = s:keepcpo
unlet s:keepcpo
-29
View File
@@ -1,29 +0,0 @@
" Vim compiler file
" Compiler: Cucumber
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Last Change: 2010 Aug 09
if exists("current_compiler")
finish
endif
let current_compiler = "cucumber"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=cucumber
CompilerSet errorformat=
\%W%m\ (Cucumber::Undefined),
\%E%m\ (%.%#),
\%Z%f:%l,
\%Z%f:%l:%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2:
+16 -20
View File
@@ -1,37 +1,29 @@
"------------------------------------------------------------------------------
" Description: Vim Ada/Dec Ada compiler file
" Language: Ada (Dec Ada)
" $Id: decada.vim 887 2008-07-08 14:29:01Z krischik $
" $Id$
" Copyright: Copyright (C) 2006 Martin Krischik
" Maintainer: Martin Krischik <krischik@users.sourceforge.net>
" $Author: krischik $
" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $
" Version: 4.6
" $Revision: 887 $
" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/compiler/decada.vim $
" Maintainer: Martin Krischik
" $Author$
" $Date$
" Version: 4.2
" $Revision$
" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/compiler/decada.vim $
" History: 21.07.2006 MK New Dec Ada
" 15.10.2006 MK Bram's suggestion for runtime integration
" 08.09.2006 MK Correct double load protection.
" Help Page: compiler-decada
"------------------------------------------------------------------------------
if (exists("current_compiler") && current_compiler == "decada") || version < 700
if (exists("current_compiler") &&
\ current_compiler == "decada") ||
\ version < 700
finish
endif
let s:keepcpo= &cpo
set cpo&vim
let current_compiler = "decada"
if !exists("g:decada")
let g:decada = decada#New ()
call ada#Map_Menu (
\'Dec Ada.Build',
\'<F7>',
\'call decada.Make ()')
call g:decada.Set_Session ()
endif
if exists(":CompilerSet") != 2
@@ -41,11 +33,15 @@ if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
call g:decada.Set_Session ()
execute "CompilerSet makeprg=" . escape (g:decada.Make_Command, ' ')
execute "CompilerSet errorformat=" . escape (g:decada.Error_Format, ' ')
let &cpo = s:keepcpo
unlet s:keepcpo
call ada#Map_Menu (
\'Dec Ada.Build',
\'<F7>',
\'call decada.Make ()')
finish " 1}}}
-13
View File
@@ -1,13 +0,0 @@
" Vim compiler file
" Compiler: Erlang
" Maintainer: Dmitry Vasiliev <dima at hlabs dot org>
" Last Change: 2012-02-13
if exists("current_compiler")
finish
endif
let current_compiler = "erlang"
CompilerSet makeprg=erlc\ -Wall\ %
CompilerSet errorformat=%f:%l:\ %m
+4 -2
View File
@@ -1,7 +1,9 @@
" Vim compiler file
" Language: eRuby
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" URL: https://github.com/vim-ruby/vim-ruby
" Info: $Id$
" URL: http://vim-ruby.rubyforge.org
" Anon CVS: See above site
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
if exists("current_compiler")
@@ -36,4 +38,4 @@ CompilerSet errorformat=
let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
" vim: nowrap sw=2 sts=2 ts=8 ff=unix:
+2 -2
View File
@@ -1,8 +1,8 @@
" Vim compiler file
" Compiler: g77 (GNU Fortran)
" Maintainer: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
" Last Change: $Date: 2004/06/13 18:17:36 $
" $Revision: 1.1 $
" Last Change: $Date$
" $Revision$
if exists("current_compiler")
finish
-28
View File
@@ -1,28 +0,0 @@
" Compiler: G95
" Maintainer: H Xu <xuhdev@gmail.com>
" Version: 0.1.3
" Last Change: 2012 Apr 30
" Homepage: http://www.vim.org/scripts/script.php?script_id=3492
" https://bitbucket.org/xuhdev/compiler-g95.vim
" License: Same as Vim
if exists('current_compiler')
finish
endif
let current_compiler = 'g95'
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
CompilerSet errorformat=
\%AIn\ file\ %f:%l,
\%-C%p1,
\%-Z%trror:\ %m,
\%-Z%tarning\ (%n):\ %m,
\%-C%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+4 -11
View File
@@ -1,7 +1,7 @@
" Vim compiler file
" Compiler: GNU C Compiler
" Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2010-10-14
" Latest Revision: 2006-12-20
if exists("current_compiler")
finish
@@ -9,20 +9,13 @@ endif
let current_compiler = "gcc"
let s:cpo_save = &cpo
set cpo&vim
set cpo-=C
CompilerSet errorformat=
\%*[^\"]\"%f\"%*\\D%l:%c:\ %m,
setlocal errorformat=
\%*[^\"]\"%f\"%*\\D%l:\ %m,
\\"%f\"%*\\D%l:%c:\ %m,
\\"%f\"%*\\D%l:\ %m,
\%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,
\%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.),
\%f:%l:%c:\ %trror:\ %m,
\%f:%l:%c:\ %tarning:\ %m,
\%f:%l:%c:\ %m,
\%f:%l:\ %trror:\ %m,
\%f:%l:\ %tarning:\ %m,
\%f:%l:\ %m,
\\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
\%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
@@ -32,7 +25,7 @@ CompilerSet errorformat=
\%DMaking\ %*\\a\ in\ %f
if exists('g:compiler_gcc_ignore_unmatched_lines')
CompilerSet errorformat+=%-G%.%#
let &errorformat .= ',%-G%.%#'
endif
let &cpo = s:cpo_save
-27
View File
@@ -1,27 +0,0 @@
" Compiler: GNU Fortran Compiler
" Maintainer: H Xu <xuhdev@gmail.com>
" Version: 0.1.3
" Last Change: 2012 Apr 30
" Homepage: http://www.vim.org/scripts/script.php?script_id=3496
" https://bitbucket.org/xuhdev/compiler-gfortran.vim
" License: Same as Vim
if exists('current_compiler')
finish
endif
let current_compiler = 'gfortran'
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
CompilerSet errorformat=
\%A%f:%l.%c:,
\%-Z%trror:\ %m,
\%-Z%tarning:\ %m,
\%-C%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+12 -17
View File
@@ -1,27 +1,25 @@
"------------------------------------------------------------------------------
" Description: Vim Ada/GNAT compiler file
" Language: Ada (GNAT)
" $Id: gnat.vim 887 2008-07-08 14:29:01Z krischik $
" $Id$
" Copyright: Copyright (C) 2006 Martin Krischik
" Maintainer: Martin Krischi <krischik@users.sourceforge.net>k
" Ned Okie <nokie@radford.edu>
" $Author: krischik $
" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $
" Version: 4.6
" $Revision: 887 $
" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/compiler/gnat.vim $
" Maintainer: Martin Krischik
" $Author$
" $Date$
" Version: 4.2
" $Revision$
" $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/compiler/gnat.vim $
" History: 24.05.2006 MK Unified Headers
" 16.07.2006 MK Ada-Mode as vim-ball
" 15.10.2006 MK Bram's suggestion for runtime integration
" 19.09.2007 NO use project file only when there is a project
" Help Page: compiler-gnat
"------------------------------------------------------------------------------
if (exists("current_compiler")&& current_compiler == "gnat") || version < 700
if (exists("current_compiler") &&
\ current_compiler == "gnat") ||
\ version < 700
finish
endif
let s:keepcpo= &cpo
set cpo&vim
let current_compiler = "gnat"
@@ -48,8 +46,6 @@ if !exists("g:gnat")
\ 'GNAT.Set Projectfile\.\.\.',
\ ':SetProject',
\ 'call gnat.Set_Project_File ()')
call g:gnat.Set_Session ()
endif
if exists(":CompilerSet") != 2
@@ -59,12 +55,11 @@ if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
call g:gnat.Set_Session ()
execute "CompilerSet makeprg=" . escape (g:gnat.Get_Command('Make'), ' ')
execute "CompilerSet errorformat=" . escape (g:gnat.Error_Format, ' ')
let &cpo = s:keepcpo
unlet s:keepcpo
finish " 1}}}
"------------------------------------------------------------------------------
-28
View File
@@ -1,28 +0,0 @@
" Vim compiler file
" Compiler: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Last Change: 2013 May 30
if exists("current_compiler")
finish
endif
let current_compiler = "haml"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=haml\ -c
CompilerSet errorformat=
\Haml\ %trror\ on\ line\ %l:\ %m,
\Syntax\ %trror\ on\ line\ %l:\ %m,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2:
+1 -6
View File
@@ -2,7 +2,7 @@
" Compiler: HP aCC
" Maintainer: Matthias Ulrich <matthias-ulrich@web.de>
" URL: http://www.subhome.de/vim/hp_acc.vim
" Last Change: 2012 Apr 30
" Last Change: 2005 Nov 19
"
" aCC --version says: "HP ANSI C++ B3910B A.03.13"
" This compiler has been tested on:
@@ -19,8 +19,6 @@ if exists("current_compiler")
finish
endif
let current_compiler = "hp_acc"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -32,7 +30,4 @@ CompilerSet errorformat=%A%trror\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m,
\%Z\ \ \ \ %p^%.%#,
\%-C%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
" vim:ts=8:sw=4:cindent
-27
View File
@@ -1,27 +0,0 @@
" Compiler: Intel Fortran Compiler
" Maintainer: H Xu <xuhdev@gmail.com>
" Version: 0.1.1
" Last Change: 2012 Apr 30
" Homepage: http://www.vim.org/scripts/script.php?script_id=3497
" https://bitbucket.org/xuhdev/compiler-ifort.vim
" License: Same as Vim
if exists('current_compiler')
finish
endif
let current_compiler = 'ifort'
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
CompilerSet errorformat=
\%A%f(%l):\ %trror\ \#%n:\ %m,
\%A%f(%l):\ %tarning\ \#%n:\ %m,
\%-Z%p^,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+1 -6
View File
@@ -1,14 +1,12 @@
" Vim compiler file
" Compiler: Intel C++ 7.1
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2012 Apr 30
" Last Change: 2004 May 16
if exists("current_compiler")
finish
endif
let current_compiler = "intel"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -21,6 +19,3 @@ CompilerSet errorformat=%E%f(%l):\ error:\ %m,
\%-Z\ \ %p^,
\%-G\\s%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+1 -6
View File
@@ -1,14 +1,12 @@
" Vim compiler file
" Compiler: SGI IRIX 5.3 cc
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2012 Apr 30
" Last Change: 2004 Mar 27
if exists("current_compiler")
finish
endif
let current_compiler = "irix5_c"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -21,6 +19,3 @@ CompilerSet errorformat=\%Ecfe:\ Error:\ %f\\,\ line\ %l:\ %m,
\%-Z\ %p^,
\-G\\s%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+1 -6
View File
@@ -1,14 +1,12 @@
" Vim compiler file
" Compiler: SGI IRIX 5.3 CC or NCC
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2012 Apr 30
" Last Change: 2004 Mar 27
if exists("current_compiler")
finish
endif
let current_compiler = "irix5_cpp"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -21,6 +19,3 @@ CompilerSet errorformat=%E\"%f\"\\,\ line\ %l:\ error(%n):\ ,
\%-Z\ \ %p%^,
\%+C\ %\\{10}%.%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+4 -3
View File
@@ -1,7 +1,8 @@
" Vim compiler file
" Compiler: javac
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2004 Nov 27
" Compiler: javac
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/javac.vim
" Last Change: 2004 Nov 27
if exists("current_compiler")
finish
+2 -2
View File
@@ -1,8 +1,8 @@
" Vim Compiler File
" Compiler: Jikes
" Maintainer: Dan Sharp <dwsharp at hotmail dot com>
" Last Change: 20 Jan 2009
" URL: http://dwsharp.users.sourceforge.net/vim/compiler
" Last Change: 2004 Mar 27
" URL: http://mywebpage.netscape.com/sharppeople/vim/compiler
if exists("current_compiler")
finish
+2 -8
View File
@@ -1,8 +1,7 @@
" Vim compiler file
" Compiler: Mono C# Compiler
" Maintainer: Jarek Sobiecki <harijari@go2.pl>
" Last Updated By: Peter Collingbourne
" Latest Revision: 2012 Jul 19
" Latest Revision: 2006-06-18
if exists("current_compiler")
finish
@@ -13,18 +12,13 @@ let s:cpo_save = &cpo
set cpo-=C
setlocal errorformat=
\%D%.%#Project\ \"%f/%[%^/\"]%#\"%.%#,
\%X%.%#Done\ building\ project\ \"%f/%[%^/\"]%#\"%.%#,
\%-G%\\s%.%#,
\%E%f(%l):\ error\ CS%n:%m,
\%W%f(%l):\ warning\ CS%n:%m,
\%E%f(%l\\,%c):\ error\ CS%n:%m,
\%W%f(%l\\,%c):\ warning\ CS%n:%m,
\%E%>syntax\ error\\,%m,%Z%f(%l\\,%c):\ error\ CS%n:%m,
\%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
\%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
\%DMaking\ %*\\a\ in\ %f,
\%-G%.%#
\%G-%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
+1 -6
View File
@@ -1,14 +1,12 @@
" Vim compiler file
" Compiler: SGI IRIX 6.5 MIPS C (cc)
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2012 Apr 30
" Last Change: 2004 Mar 27
if exists("current_compiler")
finish
endif
let current_compiler = "mips_c"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -21,6 +19,3 @@ CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l,
\%-Z\ \ %p^,
\%-G\\s%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+1 -6
View File
@@ -1,14 +1,12 @@
" Vim compiler file
" Compiler: SGI IRIX 6.5 MIPSPro C (c89)
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2012 Apr 30
" Last Change: 2004 Mar 27
if exists("current_compiler")
finish
endif
let current_compiler = "mipspro_c89"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -22,6 +20,3 @@ CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l,
\%+C\ \ %m,
\%-G\\s%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
+1 -6
View File
@@ -1,14 +1,12 @@
" Vim compiler file
" Compiler: SGI IRIX 6.5 MIPSPro C++ (CC)
" Maintainer: David Harrison <david_jr@users.sourceforge.net>
" Last Change: 2012 Apr 30
" Last Change: 2004 Mar 27
if exists("current_compiler")
finish
endif
let current_compiler = "mipspro_cpp"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
@@ -21,6 +19,3 @@ CompilerSet errorformat=%Ecc\-%n\ %.%#:\ ERROR\ File\ =\ %f\%\\,\ Line\ =\ %l,
\%-Z\ \ %p^,
\%-G\\s%#,
\%-G%.%#
let &cpo = s:keepcpo
unlet s:keepcpo
-21
View File
@@ -1,21 +0,0 @@
" Vim compiler file
" Compiler: Microsoft Visual Studio C#
" Maintainer: Chiel ten Brinke (ctje92@gmail.com)
" Last Change: 2013 May 13
if exists("current_compiler")
finish
endif
let current_compiler = "msbuild"
let s:keepcpo= &cpo
set cpo&vim
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m
CompilerSet makeprg=msbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true
let &cpo = s:keepcpo
unlet s:keepcpo
-44
View File
@@ -1,44 +0,0 @@
" Vim Compiler File
" Compiler: ocaml
" Maintainer: See ftplugin/ocaml.vim (?)
" Last Change: June 2013 by Marc Weber
"
" Marc Weber's comments:
" Setting makeprg doesn't make sense, because there is ocamlc, ocamlopt,
" ocamake and whatnot. So which one to use?
"
" This error format was moved from ftplugin/ocaml.vim to this file,
" because ftplugin is the wrong file to set an error format
" and the error format itself is annoying because it joins many lines in this
" error case:
"
" Error: The implementation foo.ml does not match the interface foo.cmi:
" Modules do not match case.
"
" So having it here makes people opt-in
if exists("current_compiler")
finish
endif
let current_compiler = "ocaml"
let s:cpo_save = &cpo
set cpo&vim
CompilerSet errorformat =
\%EFile\ \"%f\"\\,\ line\ %l\\,\ characters\ %c-%*\\d:,
\%EFile\ \"%f\"\\,\ line\ %l\\,\ character\ %c:%m,
\%+EReference\ to\ unbound\ regexp\ name\ %m,
\%Eocamlyacc:\ e\ -\ line\ %l\ of\ \"%f\"\\,\ %m,
\%Wocamlyacc:\ w\ -\ %m,
\%-Zmake%.%#,
\%C%m,
\%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
\%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
\%D%*\\a:\ Entering\ directory\ `%f',
\%X%*\\a:\ Leaving\ directory\ `%f',
\%DMaking\ %*\\a\ in\ %f
let &cpo = s:cpo_save
unlet s:cpo_save
+4 -12
View File
@@ -1,7 +1,7 @@
" Vim Compiler File
" Compiler: Perl syntax checks (perl -Wc)
" Maintainer: Christian J. Robinson <heptite@gmail.com>
" Last Change: 2006 Aug 13
" Maintainer: Christian J. Robinson <infynity@onewest.net>
" Last Change: 2004 Mar 27
if exists("current_compiler")
finish
@@ -15,20 +15,12 @@ endif
let s:savecpo = &cpo
set cpo&vim
if exists('g:perl_compiler_force_warnings') && g:perl_compiler_force_warnings == 0
let s:warnopt = 'w'
else
let s:warnopt = 'W'
endif
if getline(1) =~# '-[^ ]*T'
let s:taintopt = 'T'
CompilerSet makeprg=perl\ -WTc\ %
else
let s:taintopt = ''
CompilerSet makeprg=perl\ -Wc\ %
endif
exe 'CompilerSet makeprg=perl\ -' . s:warnopt . s:taintopt . 'c\ %'
CompilerSet errorformat=
\%-G%.%#had\ compilation\ errors.,
\%-G%.%#syntax\ OK,
+10 -8
View File
@@ -1,7 +1,8 @@
" Vim compiler file
" Compiler: PHP CLI
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2013 Jun 25
" Compiler: PHP
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/php.vim
" Last Change: 2004 Nov 27
if exists("current_compiler")
finish
@@ -16,11 +17,12 @@ let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=php\ -lq
CompilerSet errorformat=%E<b>%.%#Parse\ error</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
\%W<b>%.%#Notice</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
\%E%.%#Parse\ error:\ %m\ in\ %f\ on\ line\ %l,
\%W%.%#Notice:\ %m\ in\ %f\ on\ line\ %l,
\%-G%.%#
CompilerSet errorformat=%E<b>Parse\ error</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
\%W<b>Notice</b>:\ %m\ in\ <b>%f</b>\ on\ line\ <b>%l</b><br\ />,
\%EParse\ error:\ %m\ in\ %f\ on\ line\ %l,
\%WNotice:\ %m\ in\ %f</b>\ on\ line\ %l,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
-35
View File
@@ -1,35 +0,0 @@
" Vim compiler file
" Language: Rake
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" URL: https://github.com/vim-ruby/vim-ruby
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
if exists("current_compiler")
finish
endif
let current_compiler = "rake"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=rake
CompilerSet errorformat=
\%D(in\ %f),
\%\\s%#from\ %f:%l:%m,
\%\\s%#from\ %f:%l:,
\%\\s%##\ %f:%l:%m,
\%\\s%##\ %f:%l,
\%\\s%#[%f:%l:\ %#%m,
\%\\s%#%f:%l:\ %#%m,
\%\\s%#%f:%l:,
\%m\ [%f:%l]:
let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
-33
View File
@@ -1,33 +0,0 @@
" Vim compiler file
" Language: RSpec
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" URL: https://github.com/vim-ruby/vim-ruby
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
if exists("current_compiler")
finish
endif
let current_compiler = "rspec"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=rspec
CompilerSet errorformat=
\%f:%l:\ %tarning:\ %m,
\%E%.%#:in\ `load':\ %f:%l:%m,
\%E%f:%l:in\ `%*[^']':\ %m,
\%-Z\ \ \ \ \ \#\ %f:%l:%.%#,
\%E\ \ %\\d%\\+)%.%#,
\%C\ \ \ \ \ %m,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
+1 -1
View File
@@ -9,7 +9,7 @@ endif
let current_compiler = "rst"
let s:cpo_save = &cpo
set cpo&vim
set cpo-=C
setlocal errorformat=
\%f:%l:\ (%tEBUG/0)\ %m,
+26 -3
View File
@@ -1,10 +1,33 @@
" Vim compiler file
" Language: Ruby
" Function: Syntax check and/or error reporting
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" URL: https://github.com/vim-ruby/vim-ruby
" Maintainer: Tim Hammerquist <timh at rubyforge.org>
" Info: $Id$
" URL: http://vim-ruby.rubyforge.org
" Anon CVS: See above site
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
" ----------------------------------------------------------------------------
"
" Changelog:
" 0.2: script saves and restores 'cpoptions' value to prevent problems with
" line continuations
" 0.1: initial release
"
" Contributors:
" Hugh Sasse <hgs@dmu.ac.uk>
" Doug Kearns <djkea2@gus.gscit.monash.edu.au>
"
" Todo:
" match error type %m
"
" Comments:
" I know this file isn't perfect. If you have any questions, suggestions,
" patches, etc., please don't hesitate to let me know.
"
" This is my first experience with 'errorformat' and compiler plugins and
" I welcome any input from more experienced (or clearer-thinking)
" individuals.
" ----------------------------------------------------------------------------
if exists("current_compiler")
finish
@@ -42,4 +65,4 @@ CompilerSet errorformat=
let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
" vim: nowrap sw=2 sts=2 ts=8 ff=unix:
+4 -2
View File
@@ -1,7 +1,9 @@
" Vim compiler file
" Language: Test::Unit - Ruby Unit Testing Framework
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" URL: https://github.com/vim-ruby/vim-ruby
" Info: $Id$
" URL: http://vim-ruby.rubyforge.org
" Anon CVS: See above site
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
if exists("current_compiler")
@@ -30,4 +32,4 @@ CompilerSet errorformat=\%W\ %\\+%\\d%\\+)\ Failure:,
let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
" vim: nowrap sw=2 sts=2 ts=8 ff=unix:
-30
View File
@@ -1,30 +0,0 @@
" Vim compiler file
" Compiler: Sass
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
" Last Change: 2013 May 30
if exists("current_compiler")
finish
endif
let current_compiler = "sass"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=sass\ -c
CompilerSet errorformat=
\%f:%l:%m\ (Sass::Syntax%trror),
\%ESyntax\ %trror:%m,
\%C%\\s%\\+on\ line\ %l\ of\ %f,
\%Z%.%#,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2:
+6 -8
View File
@@ -1,7 +1,8 @@
" Vim compiler file
" Compiler: se (Liberty Eiffel Compiler)
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2013 Jun 29
" Compiler: se (SmartEiffel Compiler)
" Maintainer: Doug Kearns <djkea2@gus.gscit.monash.edu.au>
" URL: http://gus.gscit.monash.edu.au/~djkea2/vim/compiler/se.vim
" Last Change: 2004 Nov 27
if exists("current_compiler")
finish
@@ -15,15 +16,12 @@ endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=se\ c
CompilerSet makeprg=compile\ %
CompilerSet errorformat=%W******\ Warning:\ %m,
\%E******\ Fatal\ Error:\ %m,
\%E******\ Error:\ %m,
\%ZLine\ %l\ column\ %c\ in\ %.%#\ (%f)\ %\\=:,
\%ZLine\ %l\ columns\ %c\\,\ %\\d%\\+\ %.%#\ (%f)\ %\\=:,
\%+C%*[^\ ]%.%#,
\%-GThe\ source\ lines\ involved,
\%CLine\ %l\ column\ %c\ in\ %\\w%\\+\ (%f)\ :,
\%-G%.%#
let &cpo = s:cpo_save

Some files were not shown because too many files have changed in this diff Show More