Commit Graph

165 Commits

Author SHA1 Message Date
wtc%netscape.com
5fb19fec4a Bugzilla bug 105173: test the compiler-defined __SVR4 macro instead of
SVR4 for Solaris.
Modified Files:
        include/mcom_db.h include/ncompat.h src/memmove.c
2001-10-23 22:05:06 +00:00
wtc%netscape.com
bcf4d7e9b3 Bugzilla bug 105173: restored the test for HAVE_COMPAT_H because we
no longer define SVR4 on Solaris.  I may use __SVR4 instead after verifying
that all Solaris compilers define it.
2001-10-19 14:06:28 +00:00
wtc%netscape.com
3b286f75a5 Bugzilla bug 105173: in mcom_db.h, put the tests for HAVE_XXX_H inside
#ifdef __DBINTERFACE_PRIVATE so that users of this exported header don't
have to define these HAVE_XXX_H macros.  Define __DBINTERFACE_PRIVATE
in dbm/macbuild/DBMConfig.h and dbm/src/Makefile.win. r=brendan@mozilla.org
2001-10-19 05:45:51 +00:00
wtc%netscape.com
5e12d69244 Rewrote #ifndef #else #endif by the equivalent #ifdef #else #endif. 2001-10-17 01:10:16 +00:00
wtc%netscape.com
1944958d8e Bugzilla bug 104444: change the type of the h_charkey member of
struct hashhdr from int32 to uint32.
Modified files: dbm/include/hash.h dbm/src/hash.c
2001-10-13 03:16:13 +00:00
wtc%netscape.com
d9c1ea3392 Rewrote #ifndef #else #endif with the equivalent #ifdef #else #endif. 2001-10-12 21:45:13 +00:00
wtc%netscape.com
6e8acdf348 Bugzilla bug 103881: restored the protection for the redefinition of
macro '__const'.  <sys/stdsyms.h> on HP-UX 11.00 defines '__const'.
2001-10-12 01:32:28 +00:00
wtc%netscape.com
33aa663cd0 Bugzilla bug 103881: <sys/cdefs.h> as opposed to <cdefs.h> should be
included if HAVE_SYS_CDEFS_H is defined.  Other cleanups related to
cdefs.h.  r=shaver.
Modified files: dbm/src/snprintf.c dbm/include/cdefs.h
                dbm/include/mcom_db.h dbm/include/nsres.h
2001-10-11 22:07:55 +00:00
wtc%netscape.com
134cee78d2 Fix a compiler warning (comparision between signed and unsigned). The
return value of strlen() is size_t.
2001-10-09 21:23:11 +00:00
wtc%netscape.com
68691b7bc8 A better way to fix compiler warnings (signed/unsigned comparison) that
looks closer to the original code.
2001-10-09 13:58:29 +00:00
wtc%netscape.com
c19bc261a0 Fixed the comment about the updateEOF member of HTAB. The update_EOF()
function is not "closing and reopening the file".
2001-10-08 23:19:33 +00:00
gerv%gerv.net
601d62f065 License changes, take 2. Bug 98089. mozilla/db/, mozilla/dbm/. 2001-09-25 01:25:13 +00:00
cls%seawood.org
d6624323bd Use EXPORTS instead of installing headers by hand.
Bug #98371 sr=alecf
2001-09-23 07:21:04 +00:00
gerv%gerv.net
1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org
102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
mkaply%us.ibm.com
48adaa4925 Remove unnecessary OS/2 specific code 2001-07-02 23:41:02 +00:00
wtc%netscape.com
785d64e876 Bugzilla bug #72014: fixed DBM temporary file problems on OS/2. Thanks
to Javier Pedemonte <pedemont@us.ibm.com> for the patch.  r=relyea,wtc.
sr=blizzard. a=asa@mozilla.org for the trunk and mozilla0.9.2.
Modified files: h_page.c mktemp.c
2001-06-22 06:33:34 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
mkaply%us.ibm.com
6fec3bd415 OS/2 TB break
Don't even get me started
2001-03-14 04:11:42 +00:00
mkaply%us.ibm.com
bff0f6cdf6 OS/2 TB break
Is there a reason an XP_OS2 was thrown in on Win32 only code?
2001-03-14 02:51:03 +00:00
nelsonb%netscape.com
fa4b497eb8 Fix bugzilla bugs 69753 and 39465. Temporary DB files are now created
in $TMP, $TMPDIR or $TEMP, if possible.  On windows, temporary DB files
are now opened in binary mode and are removed when the progam terminates
or the DB is closed.  Multiple temp DB files can now be created in the
same program.  EOF value on disk is now updated when file is extended.
2001-03-14 00:29:55 +00:00
pinkerton%netscape.com
d465909997 carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
mkaply%us.ibm.com
db81023cc4 Tinderbox break - change OS/2 only code - third time is a charm 2000-07-10 20:38:41 +00:00
mkaply%us.ibm.com
c2beac891c Tinderbox break - remove OS/2 only code 2000-07-10 20:29:36 +00:00
mkaply%us.ibm.com
1e88b1cf64 OS/2 only tinderbox break - we will probably still break on a link, but at least we will compile 2000-07-10 14:48:47 +00:00
mkaply%us.ibm.com
7e7f2a42a7 Tinderbox break - remove OS/2 includes 2000-07-10 12:53:08 +00:00
cls%seawood.org
cb31f6e62d More OS/2 changes. Batches 19 & 20 of Bug #34106 r=pavlov 2000-05-21 13:32:11 +00:00
cls%seawood.org
5be082e304 More OS/2 Makefile changes. Bug #34106 Batch 13 2000-05-11 14:15:34 +00:00
mkaply%us.ibm.com
d7236ee829 # 25555
r= pavlov@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-03-07 21:00:06 +00:00
cls%seawood.org
52b103d9d3 Mingw32 fixes. 2000-03-02 15:58:02 +00:00
cls%seawood.org
deb12d64ee Remove the HAVE_UINT define & uint typedef as NSPR unconditionally typedefs uint. 2000-03-02 15:57:10 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
brade%netscape.com
49568eb54e fix paths for move to CW5 (bug #25779) 2000-02-02 15:27:53 +00:00
akkana%netscape.com
e3baf152e0 18391: Remove MAX and MIN. Fix from cls@seawood.org, reviewed by me 2000-01-26 01:35:17 +00:00
cls%seawood.org
cb43cdd902 Oops, I missed the c++ comments in the review. 2000-01-01 22:45:52 +00:00
mcafee%netscape.com
9f3d5d8eb0 Fixing compile warnings on Unix, patch from kiel@pobox.com (21494). r=cls@seawood.org,mcafee@netscape.com 1999-12-28 08:02:07 +00:00
sfraser%netscape.com
11bbeee76c First Checked In. 1999-12-07 06:43:19 +00:00
sfraser%netscape.com
5f8d12f8d4 File Removed. 1999-12-07 06:36:12 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
slamm%netscape.com
2e6f458c03 Add memmove to autoconf tests. 1999-09-18 02:55:39 +00:00
slamm%netscape.com
3447e0068a Fix a build warning (do not compile a file if it isn't needed). 1999-09-17 20:28:28 +00:00
cls%seawood.org
bdd69cd299 Only use HAVE_UINT to check whether uint is defined. 1999-09-16 14:58:16 +00:00
cls%seawood.org
adf94e4618 Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c. 1999-09-12 14:25:28 +00:00
briano%netscape.com
e8197f828d Minor rearrangement. 1999-09-10 09:32:42 +00:00
briano%netscape.com
c0e147efdf Got rid of a couple of superfluous macros. 1999-09-10 09:31:12 +00:00
briano%netscape.com
0f040f7ad3 Added the NPL blurb that was missing. 1999-09-10 09:30:29 +00:00
sspitzer%netscape.com
ea67644152 being anal, ignore me. 1999-09-03 22:32:35 +00:00
mgleeson1%netscape.com
51ba3639b8 #ifdef around a #define such that it isnt defined twice 1999-09-03 22:09:35 +00:00
briano%netscape.com
51d59f6f69 Cleaned it up and eliminated the pointless #!gmake. 1999-09-01 23:27:16 +00:00
cyeh%netscape.com
780c169cc7 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:41:20 +00:00
ramiro%netscape.com
18b5e04d18 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
dveditz%netscape.com
340c1d9c62 removing LITENESS 1999-07-30 23:54:36 +00:00
briano%netscape.com
5ca4aa0b87 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
mcafee%netscape.com
c898af2497 Adding support for Alpha NT. Patch provided by Bob Meader. 1999-07-21 00:40:58 +00:00
dp%netscape.com
461e552458 ssize_t aint available on windoze. Fixing build. - mcafee & dp 1999-07-15 00:58:11 +00:00
mcafee%netscape.com
6b837eb2d2 Fixing warning errors (9245) 1999-07-15 00:17:20 +00:00
mcafee%netscape.com
65953591c1 Fix VMS bustage. Patch submitted by Colin Blake. 1999-07-07 06:46:35 +00:00
sspitzer%netscape.com
5c94a579a9 fix warnings. 1999-07-01 07:53:37 +00:00
sspitzer%netscape.com
d07322f19a fix the "ANSI C forbids an empty source file" warning.
of course this introduce the "defined but not used" warning.
I'll fix that when later.
1999-06-26 04:36:48 +00:00
mcafee%netscape.com
33f0dbc0ec strerror() should only be implemented if we don't HAVE_STRERROR. Fixes BeOS build. Patch provided by Duncan Wilcox. (duncan@be.com) 1999-06-25 12:40:11 +00:00
mcafee%netscape.com
e3c1c8239c Patch for BeOS, thanks to Duncan Wilcox. 1999-06-15 01:24:06 +00:00
briano%netscape.com
c745e9587a Fix for platforms that don't have memory.h. 1999-06-05 00:34:35 +00:00
waterson%netscape.com
4287b83347 Single public include directory on Win32. 1999-06-03 18:34:27 +00:00
briano%netscape.com
9f7bc3c783 Eliminate the need to use -DQNX by switching to __QNX__, predefined by the compiler. 1999-05-14 01:46:00 +00:00
briano%netscape.com
5eee2f1052 Fix for QNX. stat doesn't have st_blksize. 1999-05-13 03:04:42 +00:00
briano%netscape.com
a0c1dbe55d Added support for QNX, and replaced a pile of platform-specific ifdefs with HAVE_SYS_BYTEORDER_H. 1999-05-13 01:40:19 +00:00
briano%netscape.com
615ed6ddf1 Fix for QNX. Need to tell it what uint is.... 1999-05-12 23:44:27 +00:00
briano%netscape.com
02869b2558 Fix for bug 5770. Thanks to lennox@cs.columbia.edu. 1999-05-05 23:38:15 +00:00
braddr%puremagic.com
07ad78ff79 Add missing include file to define sprintf 1999-04-10 08:15:52 +00:00
braddr%puremagic.com
1e50b6b9c1 Brace an if to shut ecgs up and possibly prevent an accident in the future. 1999-04-10 08:12:37 +00:00
briano%netscape.com
0336a17f9c Fix for SunOS 4 builds. 1999-04-08 23:51:11 +00:00
ramiro%netscape.com
8ce50ad7cf Make it possible to prefix mozilla dlls that conflict with system dlls. 1999-03-12 12:43:04 +00:00
akkana%netscape.com
72a97f2925 Changes to fix the Irix N32/egcs build; thanks to Jason Heirtzler <jasonh@cthulhu.engr.sgi.com> 1999-03-09 00:24:17 +00:00
mcafee%netscape.com
6374afae38 Uninitialized variables 1999-03-05 04:20:54 +00:00
mcafee%netscape.com
ed01728ae7 cdefs.h and mcom_db.h also exist in mozilla/include, merging some changes over to these versions in anticipation of retiring the mozilla/include versions of these files. 1999-03-02 07:47:29 +00:00
sar%netscape.com
b2ad536a28 Turn of "modification date caching" so that dependencies are sure to work. 1999-02-11 00:04:46 +00:00
warren%netscape.com
af4892e337 Fixed unsigned problems. 1999-02-06 04:02:02 +00:00
mcafee%netscape.com
904cf848b3 Better include line, alternative to Elliot Lee's patch in mozilla.patches 1999-01-29 09:46:50 +00:00
ramiro%netscape.com
c9a366c8c5 Ignore generated files. 1999-01-26 05:07:03 +00:00
mcafee%netscape.com
9b7cdedbb4 Compiler warning 1999-01-23 00:52:08 +00:00
mcafee%netscape.com
cc72765ce6 Missing license 1999-01-22 23:56:59 +00:00
mcafee%netscape.com
82aa8cfc48 Woops, forgot the license. 1999-01-22 23:54:25 +00:00
mcafee%netscape.com
4541604e38 moving from STDARG to autoconf-blessed STDC_HEADERS 1999-01-22 22:01:40 +00:00
mcafee%netscape.com
9f4f4eb418 Add tests if ENABLE_TESTS=1. 1999-01-22 10:04:51 +00:00
mcafee%netscape.com
f9a5539869 hooked up STDARG to the autoconf definition. 1999-01-22 09:22:37 +00:00
mcafee%netscape.com
0e7ac80703 Bringing dbm/tests into the new autoconf world 1999-01-22 04:11:01 +00:00
mcafee%netscape.com
5e70723196 STDARG=1 is the default until we can autoconf this 1999-01-22 04:07:13 +00:00
cls%seawood.org
d342ba3bf6 Don't include local cdefs.h if we have a system version. 1999-01-18 19:11:35 +00:00
ramiro%netscape.com
73636abd84 Rename 'libdbm' to 'libmozdbm' and 'libutil' to 'libmozutil.
This will fix the problem many people are reporting wrt conflicts with
system libraries that have the same names.
1998-12-15 07:37:32 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
cyeh%netscape.com
65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
cls%seawood.org
7411f07b1d Updated checks for solaris. Started using platform.h. 1998-11-18 18:32:52 +00:00
akkana%netscape.com
bf913685f9 An include was missing, breaking the Irix build 1998-11-17 02:09:12 +00:00
ramiro%netscape.com
fe8a962678 Patch from fraioli@dg-rtp.dg.com (Marc J. Fraioli) to unbreak DGUX. 1998-11-04 17:54:14 +00:00
cls%seawood.org
d04b57c1f9 Added ifndef HAVE_SYS_CDEFS_H around cdefs.h include. Approved by terry@netscape.com 1998-10-28 03:43:53 +00:00
cls%seawood.org
ed2a7f5f65 Sync'd various Makefile.ins to their Makefile counterparts.
Removed nspr & nspr20 from REQUIRES.  Removed NSPR_LDFLAGS.
Changed LIBNSPR refs to NSPR_LIBS.
Removed leftover NSPR20 ifdefs.
1998-10-21 02:13:56 +00:00
cyeh%netscape.com
f31dc000c8 removing obsolete files. use MANIFEST instead. 1998-10-05 18:42:02 +00:00
ramiro%netscape.com
990efcfe1d Add support for DGUX. Remove my previous dumbass hack. 1998-10-02 13:15:23 +00:00
ramiro%netscape.com
d6ef69309f fraioli@dg-rtp.dg.com (Marc J. Fraioli) writes the following:
I used the SYS_BYTEORDER_H macro to decide whether or not to
include <sys/byteorder.h>.  This seems appropriate, but I'm happy to
have the feature test changed to DGUX if this breaks some other
platform.

ramiro@netscape.com writes the follwing:

There probably is a proper way to do this in a completely XP way,
but dbm has been hacked so much that such a change is likely to
break a random platform out there.  Im protecting this code with
#if defined(DGUX) to be really safe.
1998-10-01 21:36:17 +00:00