Commit Graph

64 Commits

Author SHA1 Message Date
Xin LI
a15691bf11 MFV r293125: less v481.
MFC after:	1 month
Relnotes:	yes
2016-01-05 05:25:16 +00:00
Xin LI
c4becf7370 Revert files with no local changes to their vendor state to ease future
upgrading.
2013-05-31 00:31:45 +00:00
Xin LI
4700d89d50 Remove unused files. 2013-05-31 00:21:05 +00:00
Xin LI
7bd2567c7c MFV: less v458.
MFC after:	2 weeks
2013-05-13 06:52:46 +00:00
Xin LI
21fa654189 MFV: less v456. 2012-12-03 19:00:23 +00:00
Xin LI
4cc5fc9a0c MFV: less v453. 2012-11-04 20:52:26 +00:00
Xin LI
e24497193b MFV: less v451. 2012-07-24 01:09:11 +00:00
Xin LI
96e55cc72d MFV: less v449. 2012-06-26 23:17:33 +00:00
Dimitry Andric
80acde97f1 Redo r228645, but instead of casting away const conversion warnings in
contrib/less, add a few const qualifiers in the right places.

Suggested by:	das
MFC after:	1 week
2012-01-01 20:13:02 +00:00
Dimitry Andric
dd3bd0ed42 Revert r228645, which casts away a number of const conversion warnings
in contrib/less.  I will fix those more properly in the next commit.
2012-01-01 20:09:05 +00:00
Dimitry Andric
8ee4178c4c In contrib/less, cast away const a bunch of times, to make it build
without conversion warnings.  This code desparately needs a good dose of
const poison, but fixing all the issues would be rather disruptive.

MFC after:	1 week
2011-12-17 16:10:14 +00:00
Xin LI
b24bfc5ae8 MFV: Update to less v444.
MFC after:	2 weeks
2011-06-09 22:52:57 +00:00
Xin LI
33096f16e1 MFV: Update to less v443.
MFC after:	1 month
2011-05-09 21:51:59 +00:00
David E. O'Brien
6b7fdd588a Be clear of what licensing terms we are using. 2011-04-27 08:57:12 +00:00
Xin LI
f0be0a1f8c Update less to v436. This is considered as a bugfix release from vendor.
Major changes from v429:
 * Don't pass "-" to non-pipe LESSOPEN unless it starts with "-".
 * Allow a fraction as the argument to the -# (--shift) option.
 * Fix highlight bug when underlined/overstruck text matches at end of line.
 * Fix non-regex searches with ctrl-R.

Approved by:	re (kensmith, kib)
2009-07-29 09:20:32 +00:00
Xin LI
7374caaaed Update to less v429. 2009-05-09 01:35:27 +00:00
Xin LI
ad5f463cf9 Flatten all tags of the dist tree of less. 2009-05-08 23:34:35 +00:00
David Schultz
58b0fe7252 Make `less -R' not crash all the time. 2009-02-28 06:27:23 +00:00
Xin LI
3951d17b6c Resolve conflicts. 2007-11-26 08:58:07 +00:00
Xin LI
33a9f6ab73 Virgin import of less v416. 2007-11-26 08:57:30 +00:00
Xin LI
ddccfc1d45 This commit was generated by cvs2svn to compensate for changes in r173932,
which included commits to RCS files with non-trunk default branches.
2007-11-26 08:57:30 +00:00
Xin LI
9b045eb7f4 Nuke file removed from author's distribution. 2007-11-16 22:26:10 +00:00
Xin LI
bf419bfad8 This commit was generated by cvs2svn to compensate for changes in r173686,
which included commits to RCS files with non-trunk default branches.
2007-11-16 22:26:10 +00:00
Xin LI
423c5ce59d Resolve conflicts; Update defines.h to reflect latest change. 2007-11-16 22:24:31 +00:00
Xin LI
464501a8bf Virgin import of less v415. 2007-11-16 22:22:17 +00:00
Xin LI
e82bf08b85 This commit was generated by cvs2svn to compensate for changes in r173682,
which included commits to RCS files with non-trunk default branches.
2007-11-16 22:22:17 +00:00
Xin LI
c4989d519e Add instructions about how to upgrade less in base system 2007-11-13 18:54:35 +00:00
Xin LI
f78327b5b0 Import less v409, fixes a rather serious bug which causes
crashes when searching for invalid UTF-8 sequence.
2007-10-12 19:03:03 +00:00
Xin LI
6a97238d11 This commit was generated by cvs2svn to compensate for changes in r172597,
which included commits to RCS files with non-trunk default branches.
2007-10-12 19:03:03 +00:00
Xin LI
59a2d0779b Resolve conflicts to complete less v408 import.
Approved by:	re (kensmith)
2007-10-08 16:17:42 +00:00
Xin LI
1c6a5c10a3 Virgin import of less v408.
Approved by:	re (kensmith)
2007-10-08 16:14:52 +00:00
Xin LI
e62cd27f64 This commit was generated by cvs2svn to compensate for changes in r172468,
which included commits to RCS files with non-trunk default branches.
2007-10-08 16:14:52 +00:00
Xin LI
aaa7bc6cf4 Restore historical behavior where more(1) does not check for dumb terminals.
Reported by:	rwatson on -current
Tested by:	keramida, rwatson
Approved by:	re (rwatson)
2007-09-04 13:54:09 +00:00
Xin LI
8590152414 Be more careful handling no_init flag. It should be enforced
in *all* less_is_more cases, On the other hand, quit_if_one_screen
should apply iff less_is_more *and* -e.

This change revises the previous change further, which tried
to make less(1) not to send @ti:@te before and after view of
one file in more(1) mode, but affected less -e behavior by
accident.

This is essentially the same patch desichen@ has posted on
-current@.  I have adjusted it a bit in order to minimize
difference between our version and the vendor branch.

Approved by:	re (bmah, earlier logically equivalent version)
2007-08-13 16:15:26 +00:00
Daniel Eischen
dc8abff4e0 Restore historical more(1) behavior (inhibit ti/te processing) which
accidently got broke during the last less(1) import.

Approved by:	re(hrs), delphij
2007-08-04 13:16:09 +00:00
Xin LI
666ae690ac In more(1) mode, restore the historical behavior where curses init
and deinit characters are not delivered.

Instead of hacking screen.c, we set no_init to implement the behavior.

Reported by:	mnag
Approved by:	re (hrs)
2007-06-23 15:28:00 +00:00
Xin LI
aa22b8b669 Resolve conflicts after less(1) v406 import.
Approved by:	re (hrs)
2007-06-21 10:44:50 +00:00
Xin LI
efd72c2eb6 Virgin import of less v406.
Approved by:	re (hrs)
2007-06-21 10:42:55 +00:00
Xin LI
811fe9ccfe This commit was generated by cvs2svn to compensate for changes in r170964,
which included commits to RCS files with non-trunk default branches.
2007-06-21 10:42:55 +00:00
Xin LI
22249a9635 Restore a historical behavior that +foo is considered as a
filename by more(1).  The less(1) behavior is keep intact.

PR:		bin/51488
Prodded by:	demon
Approved by:	re (hrs)
2007-06-21 10:39:24 +00:00
Xin LI
7e990b09e2 Apply a vendor patch that fixes very annoying bug
which caused the cursor not to return to the place
it should when -w is used with -e.

Note that this is a commit against -HEAD because
we already have the file off the vendor branch.

Reported by:	Tom Uffner (on -current@)
Obtained from:	http://www.greenwoodsoftware.com/less/less-405.tar.gz
2007-06-17 23:20:43 +00:00
Xin LI
4e2d304caa In previous releases of FreeBSD we have enforced -EfGm, and the
new less(1) version enforced only -Em.  Restore old behavior in
respect with POLA.

Submitted by:	ru (on -current@)
2007-06-16 02:43:44 +00:00
Xin LI
720c436c66 Resolve conflicts. 2007-06-04 01:43:11 +00:00
Xin LI
7f074f9c8f /home/delphij/m 2007-06-04 01:42:54 +00:00
Xin LI
436e618180 This commit was generated by cvs2svn to compensate for changes in r170256,
which included commits to RCS files with non-trunk default branches.
2007-06-04 01:42:54 +00:00
Xin LI
89dd99dcac Resolve conflicts. 2006-08-20 15:50:51 +00:00
Xin LI
6dcb072b30 Import less v394 2006-08-20 15:49:51 +00:00
Xin LI
8978d559b1 This commit was generated by cvs2svn to compensate for changes in r161475,
which included commits to RCS files with non-trunk default branches.
2006-08-20 15:49:51 +00:00
Tim J. Robbins
1d5cfebaca Fix a one byte off error which causes "less" to crash if you view a
large file, jump to the end, scroll backwards with "b" and try to search
backwards afterwards.

Submitted by:	Matthias Scheler
2005-08-26 10:05:59 +00:00
Tim J. Robbins
ba8e3be904 Remove files no longer present in less distribution. 2004-04-20 13:06:40 +00:00