- remove LIBXAW variable. It is handled by buildlink3.mk now
- simplify patches and Makefile in packages using libXaw
- in some cases force use of Xaw3d (won't build with Xaw)
- replace some directly included of x11/Xaw3d with mk/xaw.buildlink3.mk
In next part:
- replace more includes with mk/xaw.buildlink3.mk
Patches:
7.3.713 printf() can only align to bytes, not characters
7.3.714 :setlocal and :setglobal do not work in the sandbox
7.3.715 crash when calling setloclist() in BufUnload autocmd
7.3.716 error on exit when using Python 3
7.3.717 when changing font size only MS-Windows limits window size
7.3.718 when re-using the current buffer the buffer-local options stay
7.3.719 cannot run new version of cproto
7.3.720 proto files are outdated
7.3.721 Ruby interface defines local functions globally
7.3.722 Perl flags may contain "-g", which breaks "make proto"
7.3.723 various tiny problem.
7.3.724 building with Ruby and Tcl on MS-Windows 64 bit does not work
7.3.725 :aboveleft and :belowright have no effect on :copen
7.3.726 typos and duplicate info in README
7.3.727 can't always find Win32.mak when building GvimExt
7.3.728 cannot compile with MzScheme interface on Ubuntu 12.10
7.3.729 building with Ruby fails on some systems
7.3.730 crash in PHP file when using syntastic
7.3.731 Py3Init_vim() is exported uneccessarily
7.3.732 compiler warnings for function arguments
7.3.733 tests fail when including MzScheme
7.3.734 cannot put help files in a sub-directory
7.3.735 cannot build Ruby 1.9 with MingW or Cygwin
7.3.736 file name completion in input() escapes white space
7.3.737 when using do_cmdline() recursively did_endif is not reset
7.3.738 (after 7.3.730) unused function argument
7.3.739 computing number of lines may have an integer overflow
7.3.740 IOC tool complains about undefined behavior for int
7.3.741 (after 7.3.737) tiny build fails
7.3.742 leaking memory when :vimgrep restores the directory
7.3.743 (after 7.3.741) tiny build still fails
7.3.744 64 bit compiler warning
7.3.745 automatically setting 'ttymouse' doesn't work
7.3.746 memory leaks when using location lists
7.3.747 tab alignment does not work when characters are concealed
7.3.748 no tests for conceal mode
7.3.749 cannot build Python interface without multi-byte feature
7.3.750 the justify macro does not always work correctly
7.3.751 test 61 is flaky, it fails once in a while
7.3.752 test 49 script file doesn't fold properly
7.3.753 ":q" twice does not work when there is a QuitPre autocommand
7.3.754 latest nmake is not recognized
7.3.755 autoconf doesn't find Python 3 if it's called "python"
7.3.756 a location list can get a wrong count in :lvimgrep
7.3.757 issue 96: access freed memory if put command triggers autocmd
7.3.758 matchit plugin does not handle space in #ifdef
7.3.759 MS-Windows: Updating tabline is slow when there are many tabs
7.3.760 dv_ deletes the white space before the line
7.3.761 in Visual mode a "-p does not work
7.3.762 (after 7.3.759) on some systems the tabline is not redraw.
pkgsrc changes:
- cleanup vim-xaw by adding -lXaw first, so --as-needed will work now
- remove some old entries in vim-xaw
Will fix PR 47281.
The most notable additions since 7.2:
- Persistent undo and undo for reload
- Blowfish encryption, encryption of the swap file
- Conceal text
- Lua interface
- Python 3 interface
Once you have installed Vim 7.3 you can find all the details about the
changes since Vim 7.2 with:
:help version-7.3
17606 7.2.070 crash when a function returns a:000
2353 7.2.071 (extra) Win32: Handling netbeans events may cause a crash
1786 7.2.072 (extra) compiler warning in Sniff code
4121 7.2.073 ":set <xHome>" has the same output as ":set <Home>"
1832 7.2.074 (extra, after 7.2.073) extra part of 7.2.073
2218 7.2.075 (after 7.2.058) unclear comment about making a diff
2666 7.2.076 rename(from, to) deletes file if names refer to the same file
4745 7.2.077 (after 7.2.076) rename() fails if names differ only in case
3298 7.2.078 problems with deleting folds
6947 7.2.079 "killed" netbeans events are not handled correctly
9942 7.2.080 accessing wrong memory with completion and composing char
1728 7.2.081 compiler warning for float overflow on VAX
2134 7.2.082 if 'ff' is "mac" then "ga" on a ^J shows 0x0d instead of 0x0a
1733 7.2.083 ":tag" doesn't return to the right tag entry in the tag stack
4331 7.2.084 Python: vim.eval() is wrong for recursive structures
1862 7.2.085 ":set <M-b>=<Esc>b" does not work when 'encoding' is utf-8
3045 7.2.086 using ":diffget 1" in buffer 1 corrupts the text
1570 7.2.087 adding URL to 'path' doesn't work to edit a file
2895 7.2.088 (extra) Win32: Using the clipboard sometimes fails
2473 7.2.089 (extra) Win32: crash when using Ultramon buttons
3286 7.2.090 user command containing 0x80 does not work properly
2113 7.2.091 ":cs help" output is not aligned for some languages
4538 7.2.092 some error messages are not translated
7287 7.2.093 (extra) dialogs can't always handle multi-byte text
3430 7.2.094 compiler warning for signed/unsigned compare, typos
1902 7.2.095 using "r" and then CTRL-C Visual highlighting is not removed
1464 7.2.096 after ":number" "Press Enter" msg may be on the wrong screen
1692 7.2.097 "!xterm&" doesn't work when 'shell' is "bash"
1864 7.2.098 warning for signed/unsigned pointer
3498 7.2.099 unnecessary redraw when changing GUI options in terminal
3846 7.2.100 missing first three bytes on sourced FIFO
1362 7.2.101 (extra) MSVC version not recognized
1496 7.2.102 (after 7.2.100) BOM at start of Vim script not removed
1751 7.1.253 ":sort" doesn't work in a one line file
1894 7.1.254 Tests 49 and 55 fail when the locale is French
1514 7.1.255 Vim doesn't support utf-32
50921 7.1.256 findfile() also returns directories
3326 7.1.257 configure can't always find the Tcl header files
3360 7.1.258 crash when doing "d/\n/e" and 'virtualedit' is "all"
1944 7.1.259 cursor in wrong place with 'rl', "utf-8" and illegal byte
1805 7.1.260 cursor position wrong after ^@ wrapping halfway if using utf-8
2255 7.1.261 for a 2 byte BOM UCS-2 is used, which doesn't work for UTF-16
3438 7.1.262 can't get the process ID of Vim
2442 7.1.263 filetype with dot doesn't work for indent plugins
6295 7.1.264 crash when C-indenting
1310 7.1.265 hang when completing file name and space in 'isfname'
2510 7.1.266 version string returned by terminal may be used as typed input
1957 7.1.267 when changing folds cursor may be positioned in a wrong place
1576 7.1.268 always shows "+" at end of screen line with 'cursurline'
6183 7.1.269 matchparen plugin has an arbitrary line number limit
2861 7.1.270 ":?foo?" matches in current line since patch 7.1.025
command line or not -- we want to do what the user specifies via
the pkgsrc PREFER_* settings.
+ Drop dependency on ncurses -- vim only wants a termcap library.
This should fix PR pkg/38110.
+ Add missing dependency on gettext-lib as one of the "normal" feature
sets is to build with gettext and multi-language support.
Bump the PKGREVISION of vim editor packages to 1.
- Introduced PKGMANDIR.
- check-interpreter.mk complained about dangling symlinks to vim.1 when
installing to DESTDIR. Used CHECK_INTERPRETER_SKIP as a workaround.
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.
graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2083 6.3.072 crash for substitute message when using UTF-8 and Chinese
2017 6.3.073 Win32 GUI: display errors when scrolling up/down
2365 6.3.074 with 'insertmode' CTRL-V after Select mode doesn't work
Changes (should fix the security issues found in 6.3.045)
2231 6.3.046 ":registers" doesn't show multi-byte characters correctly
2196 6.3.047 (extra) Win XP with Borland: new file is created read-only
18175 6.3.048 (extra) VMS: doesn't build on IA64
1776 6.3.049 (after 6.3.045) compiler warning for pointer type
2225 6.3.050 a SIGHUP while already exiting may cause a crash
1661 6.3.051 crash when 'wildmenu' set and completing multi-byte file name
3175 6.3.052 (extra) Win 98: can't enter non-ASCII characters if 'enc' set
1576 6.3.053 Win32: ":loadview" doesn't work for files with non-latin chars
1981 6.3.054 when 'im' is set redraw remains off when repeating an insert
8844 6.3.055 wrong text and crash using <C-R>= or <C-\>e in command line
2091 6.3.056 window title wrong for specific multi-byte character
1748 6.3.057 folds are not updated after a filter command
4440 6.3.058 crash when zero columns room; can't compile without :vsplit
2286 6.3.059 crash when editing a file with spaces and shell expansion
1609 6.3.060 register name isn't checked for CTRL-R CTRL-O in Insert mode
1984 6.3.061 display mess when multi-byte char at right edge of screen
2337 6.3.062 ":normal! gQ" hangs
1434 6.3.063 after the CursorHold event 'mousefocus' may stop working
1586 6.3.064 line2byte(line("$") + 1) sometimes returns the wrong number
bin/vi, bin/ex and bin/view. Bump their PKGREVISIONs.
vim-kde is an exception because it currently installs programs with these
names. So, as it's currently marked as vulnerable and as I don't have KDE
installed ATM, I'm marking it as conflicting.
2672 6.3.001 ":browse split" gives file selection dialog twice
3913 6.3.002 utf-8 detection in translated help files is wrong
1891 6.3.003 crash when using console dialog without default choice
2438 6.3.004 too many hit-enter prompts when searching for long string
2809 6.3.005 crash when searching with character offset in closed fold
1566 6.3.006 the current directory is prepended to the ":breakadd" argument
1755 6.3.007 swap file is not deleted for a "nofile" buffer after ":cd"
1865 6.3.008 OS/2: can't compile, missing error message
3670 6.3.009 (after 6.3.006) ":breakadd file" does not match for a symlink
2450 6.3.010 writing to a named pipe causes an error message for fsync()
1896 6.3.011 crash when user command completion uses "normal :cmd"
2882 6.3.012 lalloc(0) error for substitute command with multi-line pattern
11947 6.3.013 crash when using CTRL-R = in command line uses "normal :cmd"
1566 6.3.014 default value of 'helplang' is wrong for Chinese and Taiwanese
1207 6.3.015 the string returned by winrestcmd() may end in garbage
1735 6.3.016 'define' default had "\s" before #, breaks "[d"
1364 6.3.017 "9zz" could place the cursor beyond the end of a line
1844 6.3.018 ":0argadd zero" added the argument after the first one
1992 6.3.019 crash during startup when compiled for debugging
1915 6.3.020 "dw" doesn't work right for UTF-8 when 'delcombine' is set
2822 6.3.021 can't edit file with path separator in trail byte of last char
6419 6.3.023 when <Space> is remapped abbreviations are not expanded
2456 6.3.024 missing NUL for strings created with ga_concat()
3070 6.3.026 setting 'bg' in syncolor.vim may cause endless loop or crash
7500 6.3.027 VMS: Writing a file may insert extra CR characters
2128 6.3.028 the BOM marker is written when appending to a file
2173 6.3.029 crash in syntax highlighting code when inserting a line break
4579 6.3.030 GTK 2: crash when 'enc' is set to "utf-8" and menus redefined
1483 6.3.031 pressing Tab when entering a mapping may cause a display error
2094 6.3.032 with Python 2.3 using threads doesn't work
1552 6.3.033 mapping ending in two-char command doesn't restart Insert mode
1618 6.3.034 VMS: crash in RTL when using :help, caused by ? wildcard
1770 6.3.036 ml_get errors when fold was deleted
2889 6.3.037 (after 6.3.032) warning for unused variable
2749 6.3.039 line numbers not updated when inserting a line above window
18020 6.3.040 window count for a buffer was wrong after error handling
1760 6.3.042 CTRL-X CTRL-E in Insert mode does not scroll fold correctly
8053 6.3.043 'hlsearch' highlighting sometimes disappears
12283 6.3.045 some option values may cause trouble in a modeline
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
This is a bugfix release of Vim. Since Vim 6.2 hundreds of reported
problems have been fixed. Also included are new and updated syntax
files, translated menus and messages.
curses.buildlink2.mk. This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.
We should have a better way to say that the NetBSD curses doesn't
quite work well enough. In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages. We will look into this again in the future.
* Added two new patches (instead of adding nb1 to the version number).
6.0.024 inserting a char with CTRL-V u 9900 may cause a crash
6.0.025 using "$" after "\v" in a regexp doesn't always work
And now I'll switch to a not-so-frequent vim patching mode, maybe once
a month is enough (although vim is almost like Linux, new patches are
needed all the time to make it stable :-)
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use. Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
use X11_BUILDLINK_MK as a test value. Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
-----------------------------------------------------
The number of changes is huge. These are just the main new items:
Folding - momentarily hide part of the text
Vertically split windows - mixed with horizontal splits
Diff mode - show and remove differences between files
Easy Vim: click-and-type - for those who really don't like two modes
User manual - learn to use Vim, reads like a book
Flexible indenting - automatic indenting for any language
Extended search patterns - more regexp power than you will need
UTF-8 support - Unicode allows editing nearly all languages
Multi-language support - translated messages and menus
Plugin support - drop a script in a directory and you can use it
Filetype plugins - an easy way to setup for editing a type of file
File browser - browse directories, also on a terminal
Editing files over a network - read and write a remote file directly
command-line editing window - use any Vim command to edit an Ex command
Debugging mode - debug your Vim functions and scripts
Cursor in virtual position - edit tables and draw ASCII pictures
Debugger interface - use Vim with Sun Visual Workshop
Communication between Vims - let one Vim tell another Vim what to do
Printing - print with syntax colors
Quickfix extended - see error messages in a window and jump there
Writing files improved - rename or copy to make a backup file
Argument list - select groups of files to work on
Restore a View - save the looks of a window and restore it later
Color schemes - quickly switch between different color setups
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also
change dependency examples in Packages.txt to reflect this.
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links. These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.
Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.