Commit Graph

1584 Commits

Author SHA1 Message Date
wtchang%redhat.com
53ddb5284a Bugzilla Bug 269591: use the poll prototype in current OpenBSD releases. 2005-04-30 00:19:33 +00:00
wtchang%redhat.com
144d8652fe Internal functions should not be declared with NSPR_API. 2005-04-29 22:47:56 +00:00
wtchang%redhat.com
83aaffad86 Fixed compiler warnings.
Modified files: bigfile3.c env.c initclk.c layer.c nbconn.c ntioto.c
	op_filnf.c prpoll.c randseed.c
2005-04-29 22:46:05 +00:00
wtchang%redhat.com
28bb3d451c Updated for the NSPR 4.6 release.
Modified Files: repackage.sh prinit.h pr/tests/vercheck.c
2005-04-29 21:35:46 +00:00
wtchang%redhat.com
2122f732c0 Bugzilla Bug 273336: Checked in Brian Ryner's patch:
Add support for using gcc's visibility pragma to treat all function and
method declarations as "hidden" unless declared otherwise.  Create wrappers
for system headers that cause them to be treated as default-visibility
declarations.  This gives a substantial code size and performance win on
compilers that support it.  r=darin sr=dbaron.
Modified Files:
	configure configure.in config/Makefile.in
	config/autoconf.mk.in config/config.mk pr/include/prtypes.h
	pr/src/md/unix/uxproces.c pr/tests/sel_spd.c
Added Files:
	config/gcc_hidden.h config/make-system-wrappers.pl
	config/system-headers
2005-04-29 21:02:55 +00:00
wtchang%redhat.com
8f1b2d6c46 Bugzilla Bug 289015: backed out the checkin. It broke some tinderboxes
and needs more work.
2005-04-29 00:15:42 +00:00
wtchang%redhat.com
e3b49dc7b7 Bugzilla Bug 291724: removed the workaround for a very old Windows NT 4.0
bug. The workaround modified _tzset related global variables in Microsoft
CRT directly and relied on undocumented properties of the buffers that
_tzname[0] and _tzname[1] point to.  r=darin.
Modified files: ntmisc.c ntthread.c w95thred.c
2005-04-28 22:54:51 +00:00
wtchang%redhat.com
2b44c9a33c Bugzilla Bug 291982: fixed a bug when we remove an item from a list
while iterating through the list.  The bug was reported and tracked down by
kamil@good.com.
2005-04-28 22:37:25 +00:00
wtchang%redhat.com
626a71c626 Bugzilla Bug 289015: enable nspr-config to use the --libdir option passed
to the configure script.  The patch is contributed by Ray Strode
<rstrode@redhat.com>.  r=wtc,cls.
2005-04-27 18:19:11 +00:00
wtchang%redhat.com
d8423cfc35 Bugzilla Bug 291631: changed MOD_MINOR_VERSION to 6 for NSPR 4.6.
r=mozilla@rosenauer.org.
Modified files: configure.in configure
2005-04-27 16:52:43 +00:00
julien.pierre.bugs%sun.com
40bff2dfd0 Fix for bug 170911 - add support for >2GB files on OS/2. r=mkaply, pedemonte 2005-04-22 21:14:03 +00:00
wtchang%redhat.com
39a266dc9a Bugzilla bug 290122: pass full pathnames of source files to the compiler
on AIX so its debugger can automatically find the source files. r=Julien
Pierre of Sun and Philip Warren of IBM.
2005-04-13 22:55:11 +00:00
wtchang%redhat.com
51e6317cd9 Bugzilla Bug 287197: undo the damage of rev. 3.2. Comments must begin
with "//", not "/".
2005-03-22 21:27:30 +00:00
wtchang%redhat.com
bb6fcab386 Changed "it's" to "its". 2005-03-17 02:24:01 +00:00
wtchang%redhat.com
54041fe6ee Bugzilla Bug 238563: added a comment that Nelson suggested in code review. 2005-03-16 23:21:11 +00:00
wtchang%redhat.com
fabd0e2a1f Bugzilla Bugs 255633, 285934: '-' must be the first or last character in
a scanlist, otherwise some implementations may interpret it to mean a
range of characters.  Thanks to Frank Wein <bugzilla@mcsmurf.de> for the
bug report and suggesting the fix.
2005-03-14 21:40:15 +00:00
wtchang%redhat.com
3cf457d5ec Bugzilla Bug 238563: removed PR_ASSERT from pr_ZoneRealloc because it is
redundant with the DEBUG fprintf.  (Darin Fisher of Google pointed out this
problem in his code review.)
2005-03-14 18:32:02 +00:00
wtchang%redhat.com
8c2e4b83e3 Bugzilla Bug 238563: moved the pr_ZoneMalloc call before the realloc call.
realloc frees memory pointed to by (the original value of) 'oldptr', so
we cannot perform any operation that may fail after a successful realloc
call. r=darin.
2005-03-14 18:27:46 +00:00
wtchang%redhat.com
73751be39b Bugzilla Bug 252195: use Microsoft IPv6 Technology Preview for Windows
2000 (wship6.dll), if available. r=darin.
2005-03-10 01:50:46 +00:00
wtchang%redhat.com
604c60bbbc Improved comment. 2005-03-10 01:43:05 +00:00
wtchang%redhat.com
481b0e2780 Removed white spaces. 2005-03-10 01:34:34 +00:00
wtchang%redhat.com
9589ded655 Bugzilla Bug 164163: removed unused function PR_FindLibrary.
Modified Files: nspr_symvec.opt linking/prlink.c
2005-03-10 01:29:42 +00:00
wtchang%redhat.com
22e4705847 Bugzilla Bug 285286: PR_ReadDir reported the wrong error code when the
end of directory was reached.  We need to set errno to 0 before calling
readdir and mapping error 0 to PR_NO_MORE_FILES_ERROR.  The patch is
contributed by Mathieu Poumeyrol <poumeyrol@idm.fr>. r=wtc,bryner.
Modified Files: beos_errors.c bfile.c unix.c unix_errors.c ptio.c
2005-03-09 22:57:06 +00:00
wtchang%redhat.com
e883f3a4c1 Bugzilla Bug 255633: allow hyphen (-) and underscore (_) in log module
names.  The patch is contributed by Ed Catmur <ed@catmur.co.uk>. r=wtc.
2005-03-09 22:34:20 +00:00
wtchang%redhat.com
6a211b4077 Bugzilla Bug 100776: make a copy of the sockaddr structure and pass the
copy to connect because connect modifies the sockaddr structure.  The
patch is contributed by Julien Pierre of Sun. r=wtc.
2005-03-09 21:51:58 +00:00
wtchang%redhat.com
23451bee91 Regenerated using the official autoconf 2.13 (as opposed to the autoconf
2.13 in Red Hat Enterprise Linux 3).
2005-03-09 21:42:11 +00:00
wtchang%redhat.com
1e29ef0a95 Bugzilla bug 256508: make --with-pthreads the default on OpenBSD. The
fix was tested by Jim Rees <rees@umich.edu>.
Modified Files: configure.in configure
2005-03-09 21:14:48 +00:00
wtchang%redhat.com
1d5205d396 Bugzilla Bug 195222: removed obsolete NSPR makefiles.
Removed Files: makefile.win gmakefile.win
2005-03-09 03:19:57 +00:00
wtchang%redhat.com
bb20ff4d89 Bugzilla Bug 279817: removed the NODL_TABLE code. It was added for Win16. 2005-03-09 01:46:51 +00:00
wtchang%redhat.com
1171965fde Bugzilla Bug 281250: internal functions should not be defined with
PR_IMPLEMENT.  Thanks to timeless@bemail.org for the bug report.
2005-03-09 01:38:42 +00:00
wtchang%redhat.com
01bac4ca34 Bugzilla Bug 285020: wrap the member access in parenthesis because recv
may be defined as a macro on some platforms.  The patch is contributed by
Chris Aillon of Red Hat.  r=wtc.
2005-03-08 22:40:15 +00:00
wtchang%redhat.com
d7e1293c82 Bugzilla bug 274450: a default thread stack size of 64K is too small for
Mozilla on Linux.  Use the default pthread stack size instead, and do that
on all platforms (not just Linux).  r=bzbarsky.
2005-03-08 22:02:46 +00:00
wtchang%redhat.com
1a49a5faf8 Removed blank lines in *.def files.
Modified Files: plds.def plc.def nspr.def my.def
2005-03-08 03:01:05 +00:00
wtchang%redhat.com
52af8ff538 Fixed the indentation and a typo in the comments. 2005-03-08 02:33:59 +00:00
wtchang%redhat.com
7d5e76b769 Bugzilla Bug 274450: use pthread_attr_setstacksize on Linux.
Modified Files: ptthread.c foreigh.c provider.c
2005-03-08 01:23:03 +00:00
wtchang%redhat.com
cf16f9585d Bugzilla Bug 283710: disable executable stack on ia64. The patch is
contributed by Christopher A. Aillon of Red Hat.  r=wtc.
2005-02-28 21:13:05 +00:00
wtchang%redhat.com
c934682aaf Fixed comments. 2005-02-28 21:08:43 +00:00
christophe.ravel.bugs%sun.com
8105f005e3 238319: Sun packages changes.
Add Mozilla license.
2005-02-26 02:20:42 +00:00
christophe.ravel.bugs%sun.com
f234ead803 238319: Sun packages changes.
Add Mozilla copyrights to makefiles.
2005-02-25 20:20:53 +00:00
wtchang%redhat.com
1ee75617d7 Bugzilla Bug 260899: removed dead code. 2005-02-24 03:22:26 +00:00
wtchang%redhat.com
f98d28fa08 Bugzilla Bug 260899: do not use the spinlock based implementation of
PR_StackPush and PR_StackPop for Solaris x86.  The patch is contributed by
Julien Pierre of Sun.  r=wtc.
Modified Files: _solaris.h os_SunOS_x86.s
2005-02-24 02:58:45 +00:00
wtchang%redhat.com
e11f40bb5b Bugzilla Bug 283210: Use the B_DO_NOT_RESCHEDULE flag to avoid unnecessary
context switches when a lock is released.  The patch is contributed by
tqh <thesuckiestemail@yahoo.se>.  r=sergei_d,wtc.
Modified Files: btcvar.c btlocks.c btsem.c
2005-02-23 17:43:13 +00:00
wtchang%redhat.com
4537e6ccd6 Bugzilla Bug 271883: remove FILE_HIDDEN from _PR_MD_OPEN. _PR_MD_OPEN
now completely ignores its mode argument, like it does on Windows.  The
patch is contributed by Peter Weilbacher <mozilla@Weilbacher.org>.
r=mkaply,wtc.
2005-02-11 18:34:42 +00:00
wtchang%redhat.com
601810ab96 Bugzilla Bug 281763: fixed a leak of the first arena on the freelist when
the second arena is taken.  The patch is contributed by Nelson Bolyard of
Sun Microsystems.  r=wtc.
2005-02-11 18:16:31 +00:00
wtchang%redhat.com
8219c1681a Bugzilla Bug 280984: we found that the L_IGNOREUNLOAD flag is not yet
supported on 64-bit AIX, so we have to work around that.  The patch is
contributed by Philip K. Warren (IBM) <pkwarren@gmail.com>. r=wtc.
2005-02-09 00:23:00 +00:00
wtchang%redhat.com
a02cda3ff0 Bugzilla Bug 280984: need to pass the L_IGNOREUNLOAD flag to loadquery so
that shared libraries that have been dlclose'd but with nonzero ref count
will be listed.  Also use function address test, which is more reliable
than file name test.  The patch is contributed by Philip K. Warren (IBM)
<pkwarren@gmail.com>. r=wtc.
2005-02-05 01:56:54 +00:00
wtchang%redhat.com
10551dff2e Bugzilla Bug 280872: prmem.h doesn't need to include <stddef.h> directly
because it is already included via prtypes.h.  The patch is contributed
by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>. r=wtc.
2005-02-04 00:20:33 +00:00
gerv%gerv.net
f45b5900c8 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-02 22:28:27 +00:00
wtchang%redhat.com
b63d114004 Bugzilla Bug 279874: use %p instead of %X to print a pointer. The patch is
contributed by Tim Ruehsen <tim.ruehsen@gmx.de>. r=wtc.
2005-01-31 21:44:35 +00:00
wtchang%redhat.com
9a39af7303 Bugzilla Bug 277514: added an environment variable NSPR_OS2_NO_HIRES_TIMER
that a user can set to disable the use of high-resolution timer
DosTmrQueryTime().  The patch is contributed by Michael Kaply
<mkaply@us.ibm.com>. r=wtc.
2005-01-25 22:24:12 +00:00