Commit Graph

25 Commits

Author SHA1 Message Date
delphij
bdad060f2d MFV r349535: less v551.
MFC after:	2 weeks
Relnotes:	yes
2019-06-29 18:41:40 +00:00
delphij
e348ba93e7 MFV r326007: less v529.
MFC after:	2 weeks
2017-11-20 08:52:33 +00:00
delphij
f92c20b3c4 MFV r317581: less v491.
MFC after:	1 month
2017-05-05 14:33:39 +00:00
rwatson
29d7b190c2 Currently, less(1) uses K&R prototypes, which both fails to provide useful
compiler-time type checking, and also causes problems for targets where
multiple incompatible calling conventions may be selected based on argument
types.  This change switches less(1) to ANSI prototypes.

While there, we also remove use of "register", and attempt to use "const" a
bit better now that the compiler can check argument types.

Reviewed by:	cem, emaste
MFC after:	3 weeks
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D10152
2017-03-31 21:29:43 +00:00
delphij
03d374e3a6 MFV r293125: less v481.
MFC after:	1 month
Relnotes:	yes
2016-01-05 05:25:16 +00:00
delphij
7c988b2ec3 Revert files with no local changes to their vendor state to ease future
upgrading.
2013-05-31 00:31:45 +00:00
delphij
e39250a384 MFV: less v451. 2012-07-24 01:09:11 +00:00
delphij
922d40fed4 MFV: less v449. 2012-06-26 23:17:33 +00:00
dim
4a643207b2 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
dim
46cdaf90c3 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
dim
270e7ed83a 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
delphij
142a49a4be MFV: Update to less v443.
MFC after:	1 month
2011-05-09 21:51:59 +00:00
delphij
a1420f2d09 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
delphij
810e5a84b4 Update to less v429. 2009-05-09 01:35:27 +00:00
delphij
d069efd47c Flatten all tags of the dist tree of less. 2009-05-08 23:34:35 +00:00
delphij
2908bdb1f1 Resolve conflicts. 2007-06-04 01:43:11 +00:00
delphij
7672cb6e48 /home/delphij/m 2007-06-04 01:42:54 +00:00
delphij
5d60487351 Resolve conflicts. 2006-08-20 15:50:51 +00:00
delphij
5297f4bc59 Import less v394 2006-08-20 15:49:51 +00:00
tjr
2dd9648c3e Merge vendor changes onto mainline. 2004-04-17 07:24:09 +00:00
tjr
44c4d557e2 Import less v381. 2004-04-17 07:16:34 +00:00
ps
beaaa84fd0 Merge vendor changes onto mainline. 2002-01-07 20:37:09 +00:00
ps
c0c85bc41c Import less v371 2002-01-07 20:29:38 +00:00
ps
a9e2c8c7d1 Allow less to work on > 2GB files. 2000-05-23 07:34:27 +00:00
ps
1b28029810 Import the [now] dual licensed version 3.5.4 of less. It is
distributed under your choice of the GPL or a BSD style license.

Reviewed by:	peter
Obtained from:	http://home.flash.net/~marknu/less/
2000-05-22 09:53:22 +00:00