130 Commits

Author SHA1 Message Date
seawood%netscape.com
2e5040b32d We don't use DEFS.
git-svn-id: svn://10.0.0.236/trunk@135976 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 05:01:41 +00:00
bzbarsky%mit.edu
b549c5800b Use calloc() instead of malloc() followed by memset to 0. Bug 124302, patch by
Aaron Lehmann <aaronl@vitelus.com>, r=timeless, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@134212 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 23:13:09 +00:00
bryner%netscape.com
eeafbaa427 Use -mdynamic-no-pic when building non-PIC code with gcc 3.1 on MacOS 10.2 (bug 165851). r=cls.
git-svn-id: svn://10.0.0.236/trunk@128612 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-31 04:36:54 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
wtc%netscape.com
fadd9c12b4 Bugzilla bug 129080: Unroll the collect_data code. Pin the required buffers.
Allow the cache to grow if necessary to hold large objects. r=nelsonb,wtc.
Modified Files: h_bigkey.c hash_buf.c


git-svn-id: svn://10.0.0.236/trunk@120091 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:11:58 +00:00
wtc%netscape.com
6a8f527899 Plug leak. (bug 124234)
git-svn-id: svn://10.0.0.236/trunk@120090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:09:48 +00:00
seawood%netscape.com
bfd788cd4d Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski


git-svn-id: svn://10.0.0.236/trunk@117612 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:02:39 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
seawood%netscape.com
a9308f6d58 Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag


git-svn-id: svn://10.0.0.236/trunk@112307 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 05:10:09 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
ccarlen%netscape.com
745e58b9e6 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@110224 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 04:54:47 +00:00
ccarlen%netscape.com
1731924479 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110182 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 21:58:15 +00:00
ccarlen%netscape.com
6d33fa025c Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110170 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 20:25:12 +00:00
wtc%netscape.com
a0aae4cf80 Bugzilla bug 111287: checked in a patch from Dave Inglis <dinglis@qnx.com>
to fix the QNX6 port of dbm.  r=wtc.
Modified files: include/mcom_db.h src/hash.c


git-svn-id: svn://10.0.0.236/trunk@108953 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 01:06:33 +00:00
jpierre%netscape.com
6da005ee84 Fix for 95128 - OS/2 build issue
git-svn-id: svn://10.0.0.236/trunk@108765 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 00:18:08 +00:00
wtc%netscape.com
a3600d2ad1 Bugzilla bug 104645: Fixed compiler warnings. Improved compiler warning
fixes.  r=mcafee.
Modified files: src/h_page.c src/hash.c tests/lots.c


git-svn-id: svn://10.0.0.236/trunk@107984 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:31:11 +00:00
wtc%netscape.com
5b76abc737 Bugzilla bug 103892: include <stdlib.h> rather than <malloc.h> for the
malloc functions.  r=cls.


git-svn-id: svn://10.0.0.236/trunk@106167 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 14:33:28 +00:00
wtc%netscape.com
196a987032 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


git-svn-id: svn://10.0.0.236/trunk@106063 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:05:06 +00:00
wtc%netscape.com
a64bfb9e66 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.


git-svn-id: svn://10.0.0.236/trunk@105771 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:06:28 +00:00
wtc%netscape.com
9b7416bb2f 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


git-svn-id: svn://10.0.0.236/trunk@105755 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 05:45:51 +00:00
wtc%netscape.com
70ee1142a6 Rewrote #ifndef #else #endif by the equivalent #ifdef #else #endif.
git-svn-id: svn://10.0.0.236/trunk@105579 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 01:10:16 +00:00
wtc%netscape.com
9d6461e127 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


git-svn-id: svn://10.0.0.236/trunk@105352 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 03:16:13 +00:00
wtc%netscape.com
c8c2332748 Rewrote #ifndef #else #endif with the equivalent #ifdef #else #endif.
git-svn-id: svn://10.0.0.236/trunk@105297 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:45:13 +00:00
wtc%netscape.com
404ef5e998 Bugzilla bug 103881: restored the protection for the redefinition of
macro '__const'.  <sys/stdsyms.h> on HP-UX 11.00 defines '__const'.


git-svn-id: svn://10.0.0.236/trunk@105239 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 01:32:28 +00:00
wtc%netscape.com
dae0a94f98 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


git-svn-id: svn://10.0.0.236/trunk@105210 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 22:07:55 +00:00
wtc%netscape.com
ceab2f68cd Fix a compiler warning (comparision between signed and unsigned). The
return value of strlen() is size_t.


git-svn-id: svn://10.0.0.236/trunk@104942 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:23:11 +00:00
wtc%netscape.com
e20398cb4f A better way to fix compiler warnings (signed/unsigned comparison) that
looks closer to the original code.


git-svn-id: svn://10.0.0.236/trunk@104909 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 13:58:29 +00:00
wtc%netscape.com
d538d9a510 Fixed the comment about the updateEOF member of HTAB. The update_EOF()
function is not "closing and reopening the file".


git-svn-id: svn://10.0.0.236/trunk@104862 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 23:19:33 +00:00
gerv%gerv.net
6a0a795977 License changes, take 2. Bug 98089. mozilla/db/, mozilla/dbm/.
git-svn-id: svn://10.0.0.236/trunk@103679 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:25:13 +00:00
cls%seawood.org
247b2a0c54 Use EXPORTS instead of installing headers by hand.
Bug #98371 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103578 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 07:21:04 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
mkaply%us.ibm.com
841c0af3d2 Remove unnecessary OS/2 specific code
git-svn-id: svn://10.0.0.236/trunk@98495 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-02 23:41:02 +00:00
wtc%netscape.com
2fba9cbedc 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


git-svn-id: svn://10.0.0.236/trunk@97762 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 06:33:34 +00:00
cls%seawood.org
88aedd461b 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


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
mkaply%us.ibm.com
fe7e1dc212 OS/2 TB break
Don't even get me started


git-svn-id: svn://10.0.0.236/trunk@89601 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 04:11:42 +00:00
mkaply%us.ibm.com
a9d575cf6a OS/2 TB break
Is there a reason an XP_OS2 was thrown in on Win32 only code?


git-svn-id: svn://10.0.0.236/trunk@89585 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:51:03 +00:00
nelsonb%netscape.com
7d0250e121 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.


git-svn-id: svn://10.0.0.236/trunk@89552 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 00:29:55 +00:00
pinkerton%netscape.com
4c94bdb338 carbon changes. r=pink/sdagley/beard. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:48:26 +00:00
mkaply%us.ibm.com
d866d504b4 Tinderbox break - change OS/2 only code - third time is a charm
git-svn-id: svn://10.0.0.236/trunk@73937 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:38:41 +00:00
mkaply%us.ibm.com
8ca37c9ffe Tinderbox break - remove OS/2 only code
git-svn-id: svn://10.0.0.236/trunk@73936 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:29:36 +00:00
mkaply%us.ibm.com
d728ef74e0 OS/2 only tinderbox break - we will probably still break on a link, but at least we will compile
git-svn-id: svn://10.0.0.236/trunk@73916 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 14:48:47 +00:00
mkaply%us.ibm.com
d3fc3a08d8 Tinderbox break - remove OS/2 includes
git-svn-id: svn://10.0.0.236/trunk@73911 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 12:53:08 +00:00
cls%seawood.org
15dc838b5c More OS/2 changes. Batches 19 & 20 of Bug #34106 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@70578 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 13:32:11 +00:00
cls%seawood.org
1b2a1c66e6 More OS/2 Makefile changes. Bug #34106 Batch 13
git-svn-id: svn://10.0.0.236/trunk@69212 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:15:34 +00:00
mkaply%us.ibm.com
ebdfcca282 # 25555
r= pavlov@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@62324 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:00:06 +00:00
cls%seawood.org
b3b945d5ec Mingw32 fixes.
git-svn-id: svn://10.0.0.236/trunk@62061 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 15:58:02 +00:00
cls%seawood.org
bcea9a4a52 Remove the HAVE_UINT define & uint typedef as NSPR unconditionally typedefs uint.
git-svn-id: svn://10.0.0.236/trunk@62060 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 15:57:10 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
brade%netscape.com
eeab04ed71 fix paths for move to CW5 (bug #25779)
git-svn-id: svn://10.0.0.236/trunk@59524 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 15:27:53 +00:00