Commit Graph

389 Commits

Author SHA1 Message Date
Jordan K. Hubbard
effc53c83c Also install new ui_objects.h header file. I'm not sure how I feel about
these Makefile constructs - surely there's a better way?
1995-04-21 10:15:31 +00:00
Andrey A. Chernov
7f6e7c13b5 Upgrade.
Submitted by: Marc van Kempen  <wmbfmk@urc.tue.nl>
1995-04-20 17:39:37 +00:00
Andrey A. Chernov
a989b77e9e Fix update_line() updates on screen edges
Obtained from: bash sources
1995-04-18 11:00:47 +00:00
Andrey A. Chernov
ed42ac9324 Get rid of strtok(), it is depricated inside libs 1995-03-24 17:59:48 +00:00
Jordan K. Hubbard
3bdf20c2d4 This just exited on most errors, some of which were legitimate and
I don't *want* to cause my application to be exited!  Some of the fprintfs()
should probably be calls to some dialog error menu popup anyway.
1995-03-22 02:06:06 +00:00
Andrey A. Chernov
ee02f1d697 Saved scroll fixed. 1995-03-21 01:06:07 +00:00
Rodney W. Grimes
edbae4a194 Pretty much a complete rewrite of this Makefile.
Remove private mkdir command for /usr/include/g++, this is now
handled by mtree.

Make the whole file fit in 80 column output, sort the SRCS list and
split into .c and .cc sources.

Use $Id$ instead of $FreeBSD$ since we pulled support for this.

Add DPADD to match LDADD and now include <bsd.prog.mk> to define
the DPADD values (This is a hack until the .mk stuff can be corrected
so that ${LIB*} is visiable in bsd.lib.mk.)

Optimize beforeinstall target by eliminating a subshell.
1995-03-20 09:38:21 +00:00
Andrey A. Chernov
dd970fbdb0 Fix savestring & gdb conflict
Moreover, this fix not breaks any pgm which uses readline's savestring
1995-03-17 21:11:53 +00:00
Andrey A. Chernov
0efbb29eec Upgrade 1995-03-17 01:40:52 +00:00
Andrey A. Chernov
c14b1eb830 Add cmp -s to beforeinstall target 1995-03-12 23:21:29 +00:00
Poul-Henning Kamp
0282d7a383 Don't install shared libgcc, we can't do it this way.
I will uuencode and check in to a "compat20" area the 2.0-RELEASE version.
1995-03-12 20:17:07 +00:00
Poul-Henning Kamp
fd6eef4fd9 Remove a bunch of funtions that are in libc already.
Add back the shared libgcc, now that we don't use it to link against.
1995-03-12 09:37:26 +00:00
Jordan K. Hubbard
fdf5c453e0 We can't bail out on generating the pic archive yet.
Submitted by:	bde
1995-03-06 12:17:49 +00:00
Poul-Henning Kamp
3d496ce9e4 Don't make the shared libgcc. I don't belive we need the libgcc_pic.a
anymore, so I killed that as well.
1995-03-06 08:04:05 +00:00
Nate Williams
0be9c260c5 Install the include file in the same way that all other includes file are
in the 'beforeinstall' target.
1995-03-06 05:51:32 +00:00
Andrey A. Chernov
2270889953 Fix arrows printout for non-arrows keys in menubox
Move arrows printout to single kernel function
Add PgUp/PgDn/Home/End to checkbox and radiobox
1995-03-02 01:03:39 +00:00
Andrey A. Chernov
fdcf149868 Simplify notify()
Fix dupwin usage, now it really restore screen
Disable helpline while helpfile displayed
Fix helpfile borders
Fix mesgbox range computing
1995-02-23 22:36:56 +00:00
Andrey A. Chernov
108497c8b6 Remove dir creating, done by mtree
Add missing file name for cmp
1995-02-15 20:59:13 +00:00
Andrey A. Chernov
895aadbcfb file selector, helpline, helpfile and more, with my fixes
Submitted by: wmbfmk@urc.tue.nl
1995-02-15 19:44:08 +00:00
Jordan K. Hubbard
47d5df1d7d The destructor always assumed that it would be called on objects created from
ONE constructor routine.  This was bogus - there is also a system provided
constructor which does not allocate a pattern buffer.  Make less assumptions.
1995-02-14 12:35:03 +00:00
Andrey A. Chernov
7b5de861cd Much better error handling added. 1995-02-13 18:51:50 +00:00
Andrey A. Chernov
255ec70534 Add more range/argument checking
Submitted by: charnier@lirmm.fr
1995-01-30 14:11:58 +00:00
Andrey A. Chernov
23a4e9ded7 Add doc to SUBDIR 1995-01-16 17:56:20 +00:00
Andrey A. Chernov
98f978a585 Remove */doc 1995-01-16 17:53:43 +00:00
Andrey A. Chernov
1d8834adda Back out bkgd() function usage, it acts not from
common sense but from sysv standard
1995-01-16 17:22:35 +00:00
Andrey A. Chernov
712624913e Upgrade to code which should satisfy all things which we have 1995-01-11 06:12:04 +00:00
Andrey A. Chernov
dc92878b84 Upgrade regex code to most recent that I found
Version number still not changed
1995-01-11 05:39:08 +00:00
Andrey A. Chernov
35a3303073 Changes for 8-bit ctype 1995-01-11 04:56:51 +00:00
Andrey A. Chernov
ea822ebc88 libregex/doc added 1995-01-11 04:34:23 +00:00
Andrey A. Chernov
68206ccc06 Add infopage installation 1995-01-11 04:32:41 +00:00
Andrey A. Chernov
82c1981ce5 Back out prev fix, now fixed in bsd.info.mk 1995-01-07 16:42:39 +00:00
Andrey A. Chernov
ca6887fcae Fix "make" vs "make all" 1995-01-07 01:08:54 +00:00
Andrey A. Chernov
00e87e70d1 Add readline/doc to SUBDIR 1995-01-04 22:38:51 +00:00
Andrey A. Chernov
9c596ee78f Fix format error 1995-01-04 22:21:06 +00:00
Andrey A. Chernov
687af2f4b8 Add dependances 1995-01-04 22:19:34 +00:00
Andrey A. Chernov
6f2b954ba5 Install infopages 1995-01-04 22:16:14 +00:00
Andrey A. Chernov
7ccdf7da4c Upgrade from new bash 1994-12-30 14:39:39 +00:00
Andrey A. Chernov
f6f38b4bc9 Upgrade to readline from bash 1.14.3 1994-12-12 03:23:04 +00:00
Andrey A. Chernov
c7d2093e06 Change all 'regoff_t' occurances to 'int'. GNU typedefed it as 'int',
but BSD 4.4 typedefed it as 'off_t'. Make _RX_C_ hook for sucessful
rx.c compilation
1994-12-09 02:26:23 +00:00
Andrey A. Chernov
de0c026bbb Change #include order to not redifine __P 1994-12-09 01:51:16 +00:00
Andrey A. Chernov
9b39c00d7d Regcomp, re_comp eliminating 1994-12-09 01:08:56 +00:00
Andrey A. Chernov
97f0be939c More kosher regexp eliminating, based on BSD date now 1994-12-09 01:08:01 +00:00
Andrey A. Chernov
3f3f840110 Eliminate buggy regcomp and re_comp implementations,
we already have them in another place.
1994-12-09 00:46:42 +00:00
Andrey A. Chernov
62c83be30c 8bit locale ajustment fix 1994-12-06 04:23:42 +00:00
Andrey A. Chernov
1d4039c723 Upgrade to version 2.0 1994-12-06 03:16:45 +00:00
Andrey A. Chernov
9b50f2c60a Use new bkgd() function to produce background 1994-12-02 19:49:17 +00:00
Andrey A. Chernov
3cab153245 Add -lcompat to LDADD for insque/remque (they treated as part of library) 1994-11-24 21:02:00 +00:00
Andrey A. Chernov
97b8db5f63 For unknown reason _G_HAVE_SYS_RESOURCE was defined to 0 instead
of 1. (we have it). Please check gnu2bmake script
1994-11-23 21:11:20 +00:00
Andrey A. Chernov
284cd8b7b9 Add missing osfcn.h 1994-11-23 21:00:24 +00:00
Andrey A. Chernov
ef849892d9 Add ^X,^B,^F,^E,^A
Implement KEY_DC/^D
Fix some displaying errors
Add more beeps on reaching edges
1994-11-20 00:21:02 +00:00
Andrey A. Chernov
2c154e8124 Automatically turn off insert mode when end of field reached
in line_edit().
1994-11-19 10:22:12 +00:00
Andrey A. Chernov
5fa4b99ccf Highlight only flen sized part while editing in line_edit() 1994-11-19 09:58:34 +00:00
Andrey A. Chernov
3fa6f2210c Highlight only space available for editing 1994-11-19 00:45:02 +00:00
Andrey A. Chernov
852ffa1977 silently restrict all boxes to LINES, COLS 1994-11-18 22:49:09 +00:00
Andrey A. Chernov
df5add3f69 Draw passed line with passed attrs on enter of line_edit()
and redraw it with default attrs on exit.
1994-11-18 01:46:32 +00:00
Andrey A. Chernov
a9e8a652cb Add new parameter to line_edit: field length (-1 means unlimited) 1994-11-18 01:02:42 +00:00
Andrey A. Chernov
f9c9c70b70 Save/restore attrs in line_edit now 1994-11-18 00:30:06 +00:00
Andrey A. Chernov
45cb79a377 Use newscr instead of curscr in shadows code 1994-11-17 23:54:24 +00:00
Andrey A. Chernov
934a5f3e30 Use wnoutrefresh() in clear_norefresh 1994-11-17 23:08:57 +00:00
Andrey A. Chernov
1a796bb52a Add dialog_clear_norefresh() function 1994-11-17 22:52:05 +00:00
Andrey A. Chernov
5c19f0147a Remove regex.h, it conflicts with our POSIX regex.h and we already
have it under different name: gnuregex.h (from libregex)
Change all references of <regex.h> to <gnuregex.h>
1994-11-17 21:44:49 +00:00
Andrey A. Chernov
04339572bc Fix original bug with wrong calculated dims for items list.
Add args check for functions when autosizing impossible.
1994-11-17 19:21:51 +00:00
Andrey A. Chernov
5f5d7caab1 Full autosizing support, now you can pass -1, -1 for any
string
1994-11-16 14:37:37 +00:00
Andrey A. Chernov
81301998fc Make shadow more 'real': now shadowed letters appearse as dim ones. 1994-11-15 17:32:05 +00:00
Andrey A. Chernov
fb05aa973e Fix bug: only one second-level shadow drawed 1994-11-15 12:42:14 +00:00
Poul-Henning Kamp
8ab1d79d16 Integrated GCC-2.6.1 -> GCC-2.6.2 changes.
Notice that the libgcc DOESN'T change number, because there are no
changes.

Also now the gnu2bmake stuff is synchronized again.

I commit this so that others can test too.

You might want to postpone any "make worlds" until tomorrow, to
avoid any problems I didn't see in the first pass.

Thanks to Bruce for rounding up our changes to gcc.
1994-11-15 04:52:19 +00:00
Jordan K. Hubbard
c9902b6aaa Fix merge conflicts. 1994-11-13 06:11:02 +00:00
Jordan K. Hubbard
be25b01844 Michael Reifenberger's libg++ port
Submitted by:	mr
1994-11-13 05:57:35 +00:00
Jordan K. Hubbard
b3f6f5fbb3 Michael Reifenberger's libg++ 2.6.1 port.
Submitted by:	mr
1994-11-13 05:54:27 +00:00
Andrey A. Chernov
af39413d8c Additionly use erase char from termios
Implement kill line by ^U or kill char from termios
1994-11-10 15:16:46 +00:00
Poul-Henning Kamp
b80d982b84 As pointed out by Paul Traina, we need the libs to be 261.0 not 26.1. 1994-11-07 04:40:26 +00:00
Poul-Henning Kamp
fe7dee4700 ----------------------------------
GCC-2.6.1 COMES TO FREEBSD-current
----------------------------------
Everybody needs to 'make world'.

Oakland, Nov 2nd 1994.  In a surprise move this sunny afternoon, the release-
engineer for the slightly delayed FreeBSD-2.0, Poul-Henning Kamp (28),
decided to pull in the new version 2.6.1 of the GNU C-compiler.
The new version of the compiler was release today at noon, and hardly 9
hours later it was committed into the FreeBSD-current source-repository.
"It's is simply because we have had too much trouble with the version 2.6.0
of the compiler" Poul-Henning told the FreeBSD-Gazette, "we took a gamble
when we decided to use that as our compiler for the 2.0 release, but it
seems to pay of in the end now" he concludes.
The move has not been discussed on the "core" list at all, and will come as
a surprise for most Poul-Hennings peers.  "I have only discussed it with
Jordan [J. K. Hubbard, the FreeBSD's resident humourist], and we agreed that
we needed to do it, so ... I did it!".  After a breath he added with a grin:
"My email will probably get an all time 'disk-full' now!".
This will bring quite a flag-day to the FreeBSD developers, the patch-file
is almost 1.4 Megabyte, and they will have to run "make world" to get
entirely -current again.  "Too bad, but we just had to do this."  Was
the only comment from Poul-Henning to these problems.
When asked how this move would impact the 2.0 release-date, Poul-Hennings
face grew dark, he mumbled some very Danish words while he moved his fingers
in strange geometrical patterns.  Immediately something ecclipsed the Sun, a
minor tremor shook the buildings, and the temperature fell significantly.
We decided not to pursure the question.

-----------
JOB-SECTION
-----------
Are you a dedicated GCC-hacker ?
We BADLY need somebody to look at the 'freebsd' OS in gcc, sanitize it and
carry the patches back to the GNU people.  In particular, we need to get
out of the "i386-only" spot we are in now.  I have the stuff to take a
gnu-dist into bmake-form, and will do that part.

Please apply to phk@freebsd.org

No Novice Need Apply.
1994-11-03 06:52:42 +00:00
Andrey A. Chernov
76ab56f350 Now line_edit() uses passed string as initial prompt 1994-11-02 01:40:34 +00:00
Jordan K. Hubbard
2af60dc4f7 Translate README to english. :-) 1994-11-02 00:39:42 +00:00
Andrey A. Chernov
f60854c594 Fix beforeinstall compare
Submitted by: jc@cleat.irbs.com
1994-11-01 17:32:46 +00:00
Paul Traina
8cbbf1b79e Don't reinstall includes when not necessary 1994-11-01 09:13:02 +00:00
Andrey A. Chernov
9570a6deea Add pointer check after each newwin/subwin with error diagnostic 1994-10-31 04:02:31 +00:00
Jordan K. Hubbard
faa28a39e9 Add a -I${.CURDIR} so that the next time Andrew changes dialog.h, the
whole build doesn't fall over before installation.
1994-10-28 05:36:38 +00:00
Andrey A. Chernov
646556067f Add refresh after each line of program output,
some pgms may have long waiting time between output lines.
1994-10-28 04:05:32 +00:00
Andrey A. Chernov
3f20de5a5f Implement dialog_prgbox() function which allows run program
(via pipe) with output to dialog box
1994-10-28 03:08:28 +00:00
Paul Richards
0adfb6eb99 Added refresh() to dialog_clear so that it actually
clears the screen.
Reviewed by:
Submitted by:
Obtained from:
1994-10-25 15:10:27 +00:00
Andrey A. Chernov
2e1e6f4685 Make dialog attributes visible from outside (for direct usage
in pgms)
1994-10-24 05:09:45 +00:00
Andrey A. Chernov
d60b2c616a Fix dialog_clear() to clear windows. 1994-10-21 17:52:19 +00:00
Andrey A. Chernov
2a9cdd71dd Implement line_edit() function (full line editor) which may called
externally.
Rewrite inputbox/textbox to use this function.
1994-10-21 15:42:30 +00:00
Andrey A. Chernov
8a585590ef Declare more functions externally.
Don't forget to use 'make beforeinstall'...
1994-10-20 21:56:45 +00:00
Andrey A. Chernov
51c3256355 Don't exit silently, if initscr failed; put error message 1994-10-19 04:45:41 +00:00
Andrey A. Chernov
e314eb04c7 Check initscr() for NULL 1994-10-19 04:10:48 +00:00
Andrey A. Chernov
0f61271c87 Add LDADD += -lcurses 1994-10-12 02:13:39 +00:00
Andrey A. Chernov
e46d877d8d Add LDADD+= -ltermcap 1994-10-12 02:06:02 +00:00
Andrey A. Chernov
ad37120909 SHARED_LDADD --> LDADD 1994-10-12 01:54:38 +00:00
Andrey A. Chernov
02d988ba01 libdialog added 1994-10-11 23:34:13 +00:00
Andrey A. Chernov
3728ed9c8f Make all dialog box available from C programs via functions calls 1994-10-11 23:30:51 +00:00
Adam David
834a987d6c previous fix was not complete 1994-09-25 08:03:24 +00:00
Adam David
d111a6bea7 Dumped core when prompt == NULL 1994-09-25 04:57:44 +00:00
Bruce Evans
87ad8e3b91 Install libregex.h with the correct owner, group and mode. 1994-09-15 19:52:50 +00:00
Paul Traina
5c6fac27eb libg++ include files being installed in /usr/include instead of
/usr/include/g++

Submitted by:	pst
1994-09-10 07:15:59 +00:00
Garrett Wollman
74492d4f90 Bogus little commit to see if my change to log_accum.pl actually worked.
CVS:
1994-09-09 22:22:36 +00:00
Rodney W. Grimes
99551f06bc ljo:
You need to fix the libio/_G_config.h file around lines 42-44. After
  that everything should be OK. You should have seen many warning error
  messages about this file. There are missing "short" "char" keywords
  the file.

Michael:
  Apply the following patch

rgrimes:
  The patch to include/_G_config.h is highly questionable and has been
  marked as such.

Reviewed by:    rgrimes
Submitted by:   L Jonas Olsson <ljo@ljo-slip.DIALIN.CWRU.Edu>
Submitted by:   Michael Reifenberger <root@rz-wb.fh-sw.de>
1994-09-09 15:12:31 +00:00
Rodney W. Grimes
b54a9a158c Reenable libg++ 1994-09-09 15:10:37 +00:00
Poul-Henning Kamp
61d5ffaf10 I belive this should be makeable under 2.0. There may be outstanding
issues in these areas:
    .h's installed
    .hP's installed
    -lcurses interaction
    files needed in ~/legal for copyleft reasons.
1994-08-08 05:52:55 +00:00
Jordan K. Hubbard
e59e670cbe Remove libg++ until we have a working one again.
Submitted by:	jkh
1994-08-07 20:58:04 +00:00
Garrett Wollman
50098afdd6 Bump shared-library version numbers. 1994-08-05 21:33:53 +00:00
Garrett Wollman
fed0531ef5 Last commit was slightly half-baked; try again. Use <sys/cdefs.h> to get
__P defined, rather than trying to do it ourselves.
1994-08-05 21:31:51 +00:00
Garrett Wollman
f785cf91ff Use __GNU_P ratherthan __P. 1994-08-04 20:53:14 +00:00
Poul-Henning Kamp
b75deec600 Here comes the right import of gcc-2.6.0. 1994-08-02 20:15:59 +00:00
Andrey A. Chernov
cc27e4f00d Change includes in proper way, i.e.
"readline.h" --> <readline/readline.h>
Remove -I./readline from Makefile (again!)
1994-06-12 08:51:09 +00:00
Paul Richards
8e2c96f286 Put back -I${.CURDIR}/readline in Makefile.
The sources are just broken and given that an extra -I flag is going
to be needed it may as well be as above to guarantee that the library
will build.
1994-06-11 15:18:01 +00:00
Andrey A. Chernov
c171789359 Remove -I./readline, unneded with make includes 1994-06-10 07:35:49 +00:00
Geoff Rehmet
cd9681ffd1 Add comments to Makefile.inc's about libg++ and shlib nos. 1994-05-28 09:56:30 +00:00
Geoff Rehmet
4c640372f4 Remove explicit specification of SHLIB major and minor nos. 1994-05-27 10:53:33 +00:00
Geoff Rehmet
29e950a20d Bump all minor nos. of libs in /usr/src/gnu/lib.
shlibs are now version 1.1
1994-05-26 08:17:25 +00:00
Jordan K. Hubbard
0c8096059c A perfectly good libgnuregex.a and you can't use it! No header was being
installed.  Do so now as gnuregex.h
1994-05-19 17:40:01 +00:00
Andrey A. Chernov
075964620a Make local changes more portable. 1994-05-14 01:18:07 +00:00
Andrey A. Chernov
9e9eefe958 Upgrade to readline 2.0 from bash1.14.1 1994-05-13 15:48:04 +00:00
Andrey A. Chernov
9bf8bc6311 Add PAREN_MATCHING to CFLAGS 1994-05-11 16:30:27 +00:00
Andrey A. Chernov
877fea92de Remove #ifdefs which may confuse external packages which include
this headers
1994-05-11 16:25:34 +00:00
Andrey A. Chernov
aec37cc797 Add HAVE_VARARGS_H to CFLAGS
Add VISIBLE_STATS to CFLAGS, fix complete.c for successful
compilation with VISIBLE_STATS
1994-05-11 15:49:43 +00:00
Andrey A. Chernov
b276b1cd0d Add some note, how to tune readline to 8-bit clean mode 1994-05-11 15:19:11 +00:00
Andrey A. Chernov
2fe3320436 Add VI_MODE to CFLAGS 1994-05-11 15:11:01 +00:00
Andrey A. Chernov
3d31134301 Back out forced 8-bit mode, it can be tudned from ~/.inputrc file 1994-05-11 15:09:10 +00:00
Andrey A. Chernov
28c0b6c0e5 Add note about additional changes 1994-05-10 06:48:07 +00:00
Andrey A. Chernov
ae59cc03cd Make readline 8-bit clean 1994-05-10 06:32:12 +00:00
Andrey A. Chernov
f567656ef4 Back out previous fix, correct place to fix is octave program 1994-05-10 01:21:11 +00:00
Andrey A. Chernov
11e697311b Correct rl_attempted_completion_function type to Function *
for successful compilation with octave
1994-05-10 01:16:18 +00:00
Andrey A. Chernov
9cadef18e6 Merged with new readline 2.0 from bash 1994-05-09 23:24:44 +00:00
Andrey A. Chernov
ce4acff5b6 Merge with much improved version from gdb4.11 1994-05-09 20:36:08 +00:00
Andrey A. Chernov
9b39195f89 Install history.h to /usr/include/readline too, gdb4 include it 1994-05-09 18:43:40 +00:00
Andrey A. Chernov
e9ca3bdf0e libreadline added 1994-05-09 16:11:10 +00:00
Andrey A. Chernov
8a67c71748 Port readline lib into gnu system tree.
Really we don't need copy of this library into each program
(gdb f.e.)

P.S. it is much cleaner port than /usr/ports version and based
on /usr/ports version. /usr/ports version will be removed.
1994-05-09 15:59:10 +00:00
Rodney W. Grimes
984de365e7 Update for new organization of gnu tree. 1994-01-30 01:03:16 +00:00
Nate Williams
d21e209e03 No longer install the GNU regex.h include file. 1994-01-29 20:20:51 +00:00
Scott Mace
fa21f024a0 Update shlib version to 1.0 1993-12-28 07:57:07 +00:00
Scott Mace
16ffb43c0f Update version to 1.0 1993-12-28 07:54:51 +00:00
Paul Richards
68fb91760f Added
SHLIB_MAJOR=0
SHLIB_MINOR=0
1993-11-09 20:25:14 +00:00
Rich Murphey
adb52cac6c merge free.c realloc.c into malloc.c so that all three are linked in
if any are referenced.

libc's malloc.o contains malloc(), free() and realloc().  And libc
refers to realloc which will cause the linker to pull in redundant
malloc() and free() definitions from malloc.o if it isn't already
linked in from GNU malloc.  Rich
1993-10-19 18:22:37 +00:00
Rodney W. Grimes
936298e2bd This is gnu lib malloc from NetBSD verbatium, here is the version info
that Chris created:
this version of GNU malloc was obtained from prep.ai.mit.edu on
9/22/1993.  There was no version noted.
1993-09-24 13:03:39 +00:00
Rodney W. Grimes
f8851ba62f Changed install -o root -g bin to -o ${BINOWN} -g ${BINGRP} on the header
install commands to be consistent with other header files.
1993-08-23 05:26:19 +00:00
Rodney W. Grimes
7ad97ad453 Changed afterintall: target to beforeinstall: so that it is easy to get
the regex.h header file installed.
1993-08-08 04:38:56 +00:00
J.T. Conklin
6eefa612a9 GNU Regex 0.12 1993-07-30 20:16:53 +00:00