Commit Graph

113 Commits

Author SHA1 Message Date
ru
215081ffba Make the format of LC_CTYPE files architecture independent by
introducing the disk formats for _RuneLocale and friends.

The disk formats do not have (useless) pointers and have 32-bit
quantities instead of rune_t and long.  (htonl(3) only works
with 32-bit quantities, so there's no loss).

Bootstrap mklocale(1) when necessary.  (Bootstrapping from 4.x
would be trivial (verified), but we no longer provide pre-5.3
source upgrades and this is the first commit to actually break
it.)
2005-02-26 21:47:54 +00:00
ru
dd13d46af3 Fixed xref. 2005-01-21 10:48:35 +00:00
ru
31b96e8df8 Sort sections. 2005-01-18 13:43:56 +00:00
tjr
4f50400343 Remove the obsolete <rune.h> interface. 2004-10-17 06:51:50 +00:00
tjr
011dfd45d8 Use <runetype.h> instead of <rune.h> since the latter is going away. 2004-10-17 03:02:50 +00:00
tjr
d769319d1e Remove explicit support for generating LC_CTYPE data files that specify
the obsolete "UTF2" encoding.
2004-10-17 01:08:11 +00:00
tjr
6613582139 The UTF2 encoding and the INVALID keyword are now obsolete. 2004-08-21 08:16:36 +00:00
ru
cbb49d7abe Deal with double whitespace. 2004-07-03 00:24:45 +00:00
ru
1fd830331f Mechanically kill hard sentence breaks. 2004-07-02 22:22:35 +00:00
tjr
d17d331fdb Prefix the names of members of _RuneLocale and its sub-structures
with ``__'' to avoid polluting the namespace. This doesn't change the
documented rune interface at all, but breaks applications that accessed
_RuneLocale directly.
2004-06-23 07:01:44 +00:00
tjr
8b5c346c06 Fix section number in cross reference. 2004-01-23 20:29:03 +00:00
tjr
cb914c4820 Update cross references after utf2/euc move. 2003-11-15 02:49:53 +00:00
tjr
d77b7dcdd6 Add GB2312 to the list of supported encodings. Cross-reference gb2312(5). 2003-11-08 03:19:26 +00:00
davidxu
25b85676aa Add gb2312 encoding. 2003-11-05 22:52:51 +00:00
tjr
0c43563d96 #include <runetype.h> directly for the definition of _CACHED_RUNES, needed
by ldef.h, rather than relying on GCC-specific pollution from <ctype.h>.

Noticed by:	Stefan Farfeleder
2003-09-05 16:05:21 +00:00
tjr
6fa45ec052 Add GB18030 and GBK to the list of encodings. Cross-reference the
new manual pages for the Big5, GB18030, GBK, and MSKanji encodings.
2003-08-10 11:51:14 +00:00
ache
db564ead2e Allow GB18030 locale 2003-07-29 07:56:05 +00:00
charnier
d4ba060cc9 Bump WARNS to 6. Add usage(). Use provided xmalloc() instead of malloc().
Use err().
2003-06-17 19:58:33 +00:00
ache
a99e926e00 Change fatal to warnx() for unknown encoding 2003-06-03 16:58:31 +00:00
ache
b0ce8df31d Hardcore supported encodings list 2003-06-02 19:54:29 +00:00
schweikh
2505bee728 english(4) police. 2002-12-27 12:15:40 +00:00
tjr
45e7d1abc0 Mark the INVALID keyword as being deprecated since the concept of
"invalid runes" is useless without the rest of the deprecated rune interface.
2002-12-21 11:37:05 +00:00
ru
07cd1d9dbe mdoc(7) police: markup polishing.
Approved by:	re
2002-11-26 17:33:37 +00:00
ache
8a29ded141 Use more verbose diagnostics for wrong DIGIT range 2002-10-20 23:09:26 +00:00
ache
38e3e855d7 Add checks for DIGIT set consistency to prevent common misinterpretation
automatically.
Remove output file on error.
Staticize functions declared as static.
2002-10-20 19:56:15 +00:00
tjr
43632bb4cb Add Big5, MSKanji and UTF-8 to the list of supported encodings.
Mark UTF2 as being deprecated.
2002-10-14 00:45:51 +00:00
ache
3b0adc93d8 Document SWIDTH* 2002-08-20 15:19:34 +00:00
keichii
ee10f03c8c Add swidth definitions and lex code to mklocale
After adding swidth support in iswctype.c and ctype.h

Submitted by:	clkao@clkao.org
Reviewed by:	keichii,ache
Obtained from:	NetBSD
MFC after:	1 month
2002-08-16 13:46:43 +00:00
alfred
3644390b47 WARNS=4 2002-07-14 18:23:22 +00:00
alfred
993610714c WARNS=2, de-__P() 2002-07-14 18:16:06 +00:00
markm
2c8944ba93 Declarations cleanup; make sure externs are in a common header.
Fix declarations, casts and return values.
2002-04-28 12:34:54 +00:00
des
c91c856b3e Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
mike
b2f3aa6012 o Move NTOHL() and associated macros into <sys/param.h>. These are
deprecated in favor of the POSIX-defined lowercase variants.
o Change all occurrences of NTOHL() and associated marcros in the
  source tree to use the lowercase function variants.
o Add missing license bits to sparc64's <machine/endian.h>.
  Approved by: jake
o Clean up <machine/endian.h> files.
o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>.
o Remove prototypes for non-existent bswapXX() functions.
o Include <machine/endian.h> in <arpa/inet.h> to define the
  POSIX-required ntohl() family of functions.
o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>,
  and <sys/param.h>.
o Prepend underscores to the ntohl() family to help deal with
  complexities associated with having MD (asm and inline) versions, and
  having to prevent exposure of these functions in other headers that
  happen to make use of endian-specific defines.
o Create weak aliases to the canonical function name to help deal with
  third-party software forgetting to include an appropriate header.
o Remove some now unneeded pollution from <sys/types.h>.
o Add missing <arpa/inet.h> includes in userland.

Tested on:	alpha, i386
Reviewed by:	bde, jake, tmm
2002-02-18 20:35:27 +00:00
peter
bc881a0a48 Initialize fp in main() 2001-08-13 21:57:12 +00:00
dd
7d1013753f Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ru
8ec47de9c3 MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
ru
b1c3961564 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
obrien
81f987433a Change the spelling of .' to .' from .OBJDIR since `.' really is where
generated files land.  Also give precedence to generated files.
2000-12-05 22:10:43 +00:00
obrien
b08e5fcfbd Grrr... GCC 2.95.2 and 2.96 just will not agree what the default include
search paths are.  So add the requirements of both. :-(
2000-12-01 19:36:17 +00:00
obrien
e34517e29d The GCC 2.96 snapshots have slightly different rules for finding include
files.  Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive.  Some were
misspellings of "-I${.CURDIR}" as "-I.".
2000-12-01 09:39:28 +00:00
ru
0957874304 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
ru
f9c7198049 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
obrien
1f09ee9f64 There is a problem in that one cannot use ctype.h at the same time as parts
of the C++ stdlib.  Our ctype.h uses symbols of the form _<X> to denote the
various character classes.  Our ctype.h also extends the usual ctype.h
offering by adding the "_T" (special) class.  Problem is parts of the STL
also use the symbol "_T" as its parameterized type.  These two uses are
incompatible.

Thus change the form of the symbols used in ctype to something that fixes
the current problem and is less likely to cause conflicts in the future.

Requested by:	Tomoaki NISHIYAMA <tomoaki@biol.s.u-tokyo.ac.jp>
Ok'ed by:	JKH
2000-02-08 07:43:26 +00:00
phantom
8616f483e2 Document -d and -o flags
Remove selfreference item from SEE ALSO section
Add reference to colldef(1) to SEE ALSO section
1999-12-17 14:34:02 +00:00
ache
6cde1bfc05 moved to share 1999-10-18 13:47:02 +00:00
ache
7bc4ba43b8 Move data to share 1999-10-17 13:44:48 +00:00
jkh
55da2869fb sync with earlier change removing broken locale. 1999-10-16 12:49:33 +00:00
ache
91c96cc638 ISO8859-5 locale
Submitted by:	 Nikolai Saoukh <nms@ethereal.ru>
1999-10-03 00:56:29 +00:00
phantom
34985ba96d Correct spelling : ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <sjr@home.com>
Reviewed by:	mpp
1999-09-20 09:15:23 +00:00
peter
e4b04a2b21 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00