Commit Graph

97 Commits

Author SHA1 Message Date
Howard Chu
d75c35e9de Use hardcoded Unicode data 2004-05-31 01:58:13 +00:00
Howard Chu
688cadf099 Use hardcoded Unicode data tables 2004-05-31 01:54:27 +00:00
Howard Chu
6c2bc1de5d Updated to 3.2.0 2004-05-20 03:08:58 +00:00
Howard Chu
d557ceda8f Add special cases for Unicode 3.2.0 2004-05-20 02:52:22 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
14b170ce20 More blind s/unsigned long/ac_uint4/ changes 2003-12-09 21:57:34 +00:00
Kurt Zeilenga
96cb99aa54 s/unsigned long/ac_uint4/ 2003-12-08 18:08:29 +00:00
Kurt Zeilenga
4383fcd566 Fix liblunicode issues on systems where sizeof(long) > 4.
Code still lacks portability (alignment/padding, required ac_uint2/4 types)
Should resolve ITS#2632, ITS#2660, ITS#2784
2003-12-07 08:29:07 +00:00
Kurt Zeilenga
159de0f135 Updated notices and acknowledgements 2003-11-26 07:16:36 +00:00
Kurt Zeilenga
e3a4c4ec9c Notice/Acknowledge updates 2003-11-26 02:58:56 +00:00
Howard Chu
66368d28f4 Make space for trailing NUL 2003-10-18 21:59:53 +00:00
Kurt Zeilenga
6aff66cf67 Apply patch suggested in ITS#2737 to address underallocation bug.
This could should be reworked to avoid multiple reallocs (likely
by overallocating).
2003-10-12 23:31:00 +00:00
Kurt Zeilenga
d5e55877dc Cleanup 2003-07-07 05:50:20 +00:00
Hallvard Furuseth
4526d68874 #include "lber_pvt.h" 2003-06-03 17:57:33 +00:00
Hallvard Furuseth
40b212393a #include <lber_pvt.h>, to get ber_memalloc_x() & co. 2003-06-03 17:53:33 +00:00
Kurt Zeilenga
7fb3ca897a UCD terms 2003-05-25 04:19:09 +00:00
Howard Chu
c6d77698d6 Input files are text, not binary 2003-05-22 23:19:56 +00:00
Hallvard Furuseth
5b591b2a22 #include <lber.h>, to get ber_memalloc_x() and ber_memrealloc_x(). 2003-04-29 14:45:33 +00:00
Howard Chu
808cb504ce More memory context tweaks 2003-04-11 03:57:10 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Hallvard Furuseth
ae28aa57b2 Remove a bad function pointer cast. 2002-12-16 09:18:20 +00:00
Kurt Zeilenga
6b42a33152 Reorder build order to ensure -llutil is available -llber and
-llber is available for -llunicode.  Add -llber to ucgendat
(to pick up snprintf).
2002-11-26 20:18:03 +00:00
Kurt Zeilenga
873a6802ab Plug memory leak (ITS#2126) 2002-10-08 19:45:01 +00:00
Kurt Zeilenga
06aa7d8d43 Include <ac/bytes.h> after <ac/stdlib.h> to avoid problems
Linux on Alpha problems
2002-10-02 20:57:05 +00:00
Kurt Zeilenga
86717ac2d9 NT port fixes 2002-08-24 00:37:59 +00:00
Kurt Zeilenga
a500feb4a6 Patch: lutil_progname() and lutil_strcopy() are not declared (ITS#2021)
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
			================

lutil_progname() and lutil_strcopy() are not declared, which can
be fatal since they do not return int.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
2002-08-13 02:33:20 +00:00
Howard Chu
3b141ba108 Fix segfault from ITS#1960 hacks 2002-07-27 02:19:44 +00:00
Howard Chu
84b91f70ad Minor uniformity tweaks, use lutil_progname, don't use fscanf 2002-07-26 03:22:53 +00:00
Kurt Zeilenga
ee705326d4 More 64-bit hacking...
This code should be rewritten to avoid fixed sized types.
2002-07-25 15:00:31 +00:00
Kurt Zeilenga
45c9cbafe3 Clean up last commit 2002-07-23 18:41:30 +00:00
Kurt Zeilenga
e6460769ab Misc sprintf/snprintf cleanup 2002-07-23 18:26:33 +00:00
Kurt Zeilenga
b6bbc69e2f Short term fix for ITS#1960
Code really should be changed to write only 'unsigned int's
with simple sanity check.
2002-07-23 18:22:58 +00:00
Kurt Zeilenga
7259718466 ITS#1916: fix fscanf EOF bugs 2002-07-09 01:00:56 +00:00
Kurt Zeilenga
f9687f6c2a Patch: incomplete 'make clean' in liblunicode (ITS#1791)
In liblunicode, 'make clean' and 'make distclean' do not remove
the symlinks ucdata.h and ure.h.

from Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>
2002-05-04 23:13:51 +00:00
Stig Venaas
e08bc054c7 Adding support for compatibility decomposition to ucdata lib, and switch
from NFC to NFKC in UTF8bvnormalize() and UTF8bvnormcmp()
2002-04-19 12:59:57 +00:00
Kurt Zeilenga
319440033f Patch: ucdata 2.4 bugs (ITS#1751)
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
			================

ucgendat.c accessed unallocated memory when i == ncodes_size.

The changes others are trivial, I just include them since I'm patching
ucdata anyway:

ucdata.c   had some pointless '0 <= unsigned' comparisons.

ucstr.c    assigned a long* to an unsigned long*.  Since malloc()
           returns void*, the result need not be cast at all.

I'll send the ucgendat.c and ucdata.c patches to Mark Leisher
<mleisher@crl.nmsu.edu>.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.
2002-04-15 20:39:22 +00:00
Howard Chu
bb17493d31 ITS#1732 signed/unsigned fixes 2002-04-11 08:47:37 +00:00
Pierangelo Masarati
6b8e16efec fix ambiguous use of && and || (please check :) 2002-04-06 09:30:24 +00:00
Stig Venaas
891f987928 Changed to use lower case for case folding 2002-04-04 12:50:46 +00:00
Kurt Zeilenga
e0f33c6674 s/getdat/gendat/ 2002-03-24 01:55:37 +00:00
Stig Venaas
c476878fde Using new UTF8bv* all over, getting rid of UTF8normalize() and
UTF8normcmp().
2002-02-27 16:11:24 +00:00
Stig Venaas
94983da942 Added code for approximate matching in UTF8bvnormalize() and changed to use
this in approxMatch etc in schema_init.c
2002-02-26 18:38:40 +00:00
Stig Venaas
d6c3ccadc4 Optimizing UTF8bvnormcmp() by adding flags that tells which arguments are
in NFC. By default no arguments are assumed to be NFC.
2002-02-25 13:20:09 +00:00
Kurt Zeilenga
6d9307b534 Silence a warning 2002-02-23 23:26:48 +00:00
Stig Venaas
9e8f3053cb Added UTF8bvnormcmp(), should replace UTF8normcmp() 2002-02-20 15:51:10 +00:00
Stig Venaas
217103b138 Added UTF8bvnormalize which is like UTF8normalize but returns berval. It
can be passed a pointer to the berval to be used for the return value. If
this is NULL, it will allocate a new one.
2002-02-14 14:03:27 +00:00
Kurt Zeilenga
ce07fb958e Update libtool usage
s/-L.../libraries -lldap/.../libraries/libldap/libldap.la/
2002-02-10 22:42:51 +00:00
Howard Chu
e21e900392 Use LDAP_UTF8_CHARLEN2 to check shortest possible encoding 2002-01-15 08:27:19 +00:00
Kurt Zeilenga
0e2af54a3f Update copyright statements 2002-01-04 21:17:25 +00:00
Kurt Zeilenga
c8d7b334e6 Add copyright notices 2002-01-03 16:36:46 +00:00