Commit Graph

171 Commits

Author SHA1 Message Date
rpotts%netscape.com
8e0cf5d073 bug #88678 (r=jst, r=dougt) The manipulation of nsProxyEventObjects is not threadsafe. 2001-07-16 21:26:04 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +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
dougt%netscape.com
ea1c9a9cab Fixes bug 84489. Ensures that worker threads can not process the same reque
st at the same time. r-danm@netscape.com, sr-darin@netscape.com, a-clayton@n
etscape.com
2001-06-12 18:35:23 +00:00
dougt%netscape.com
330156b06e fixes bug 84489. ensures that workthreads never process the same request at the same time. r=danm@netscape.com, sr=darin@netscape.com, a=clayton@netscape.com. 2001-06-12 18:32:26 +00:00
syd%netscape.com
56d9a5e8f8 trunk fix for 84115. Pass arguments to the process (I omitted these in an earlier
checkin). Bad because xpi files that invoke processes with args are not functioning
correctly. r=ssu, sr=mscott, a=drivers (asa)
2001-06-06 04:33:19 +00:00
syd%netscape.com
b3a0275496 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=80383
r=dbragg, sr=mscott, a=asa

For the nsIProcess component, which is only used by XPInstall, instead of calling
nspr for process creation, we call a simplified version which, on windows, will
cause the child process not to inherit fds open by the forking process.

Fix is only XP_WIN. nspr will provide a more risky, non-nsIProcess, XP solution at
some point which is either achieved by modifying open() to accept a non-inherit
flag (on win32) or do an fcntl() on Unix (see the bug for details specific to the
fcntl()), or provide another pair of create processes functions that are geared
towards non-inheriting process creation.

The bug fixed here is the XP installer is not able, on win32, to remove the
components.reg file from the "cleanup" process, which leads to all sorts of mayhem,
because the cleanup process inherits the component.reg fd which is open at the
time the cleanup process is forked, and this it cannot remove something it has an
open reference to.
2001-06-02 00:06:44 +00:00
darin%netscape.com
c269cb141b Fixes bug 56978 "alert dialog consumes 100% cpu if network is down"
patch=moz@parabola.demon.co.uk r=danm,dougt sr=darin
2001-05-18 22:39:52 +00:00
kandrot%netscape.com
ebed782046 bug #77233, r=waterson, sr=brendan Changed a delete to a free for a malloced ptr 2001-05-15 05:55:15 +00:00
cls%seawood.org
6f256984a9 Let the use of PR_Log() be controlled by a toplevel build option. All places that set FORCE_PR_LOG to force logging on need to wrap that #define FORCE_PR_LOG in a MOZ_LOGGING ifdef.
It's on by default. Set
--disable-logging (unix)
NO_LOGGING=1 (win32)
moz_logging = 0  (mac)
to turn it off globally.

Bug #53226 r=sspitzer,leaf,sfraser
2001-05-05 10:18:53 +00:00
dougt%netscape.com
a1d0305b36 Fixes a problem where hreadpool optimistically kills worker threads. r=darin@netscape.com, sr=waterson@netscape.com, b=76198 2001-04-26 05:30:26 +00:00
dougt%netscape.com
eb4c3841af Adding a new method that will allow caller to check if there pending events in the elder queue. r=sfraser@netscape.com, danm@netscape.com, b=76075 2001-04-26 05:28:43 +00:00
sgehani%netscape.com
8bb68e879f 66735: implement blocking processes on the mac. 2001-03-28 00:45:05 +00:00
sspitzer%netscape.com
98ca212dcc fix for #68036. (quiet compiler warnings) sr=brendan/waterson a long time ago. 2001-03-19 22:14:07 +00:00
colin%theblakes.com
7f10438944 Fix OpenVMS build breakage
b=71990 r=danm sr=blizzard a=leaf
2001-03-16 21:39:49 +00:00
blizzard%redhat.com
737f6b241a try to fix it harder 2001-03-13 00:42:07 +00:00
blizzard%redhat.com
b930312a99 try to fix mac + windows bustage 2001-03-13 00:36:54 +00:00
blizzard%redhat.com
9b5b88fd95 Bug #67370. Better interleaving of xlib + plevents. r=danm sr=shaver 2001-03-12 23:57:18 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
danm%netscape.com
3d72fd68cd RevokeEvents now walks the chain to elder queues. bug 65243 r=buster,kmcclusk,pavlov 2001-01-22 23:01:03 +00:00
dbragg%netscape.com
b62b903001 First part of adding nsIProcess to the Mac build (MANIFEST file). r=dougt, sr=brendan 2001-01-22 21:46:14 +00:00
dbragg%netscape.com
dbc435ab55 Adding nsIProcess to unix build. a=dougt sr=brendan 2001-01-22 21:44:04 +00:00
dbragg%netscape.com
c169358cad Adding nsIProcess to windows build. a=dougt sr=brendan 2001-01-22 21:42:20 +00:00
dbragg%netscape.com
809a820ca1 Added CR to end of file for certain unix platforms.(originally checked in from windows as part of fix for 62167 2001-01-22 21:40:33 +00:00
dbragg%netscape.com
88f5cb7159 First Checked In. 2001-01-19 21:26:41 +00:00
dbragg%netscape.com
1f9e47be7f New interface for creating and managing processes. New feature for bug 62167. a=dougt sr=brendan 2001-01-19 21:23:24 +00:00
cls%seawood.org
a159227bd0 Increase BeOS event port capacity and avoid sending messages to event port if capacity is exceeded.
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the patch.
Bug #63646. r=danm
2001-01-07 09:03:09 +00:00
danm%netscape.com
84daaa9b30 delete thread log in main thread dtor. bug 54303 code=jonsmirl@mediaone.net r=me,dougt,brendan 2000-12-11 21:55:47 +00:00
dmose%mozilla.org
0a3c12b78b Fix for bug 61692: IDLify nsIEventQueue and nsIEventQueueService. This makes it possible to create an nsISupports proxy for calling across threads in languages other than C++ (eg JS). r=dougt@netscape.com, r=jband@netscape.com, sr=brendan@mozilla.org 2000-12-08 04:30:36 +00:00
jband%netscape.com
b27fc45e0b fix warnings from fix to bug 61369 2000-12-06 19:40:56 +00:00
jband%netscape.com
fe62695f13 fix bug 61369. Race between nsThread Init and Main. Also additions to make the interface more useful to non-C++ code. r=brendan sr=waterson 2000-11-30 05:24:53 +00:00
danm%netscape.com
06a281a74b ignore busy threads when determining whether to add a new thread to the pool. bugs 55032,56337,58404,60338, others. r=beard,brendan,dougt,saari 2000-11-28 22:38:02 +00:00
cls%seawood.org
434edd6f33 Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454 2000-11-21 00:18:46 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
disttsc%bart.nl
a8a18302a4 Checking in the correct patch for bug 59526. 2000-11-10 01:30:07 +00:00
edburns%acm.org
b1aacc0ff8 bug 59526
sr=waterson
r=valeski

This bullet-proofs the code so the one thread does not exit twice.
2000-11-09 23:49:57 +00:00
brendan%mozilla.org
b238fa4ec4 Fix leaks for 'unregistered' monitors and locks (55498, r=beard, sr=jband). 2000-11-01 22:21:28 +00:00
dougt%netscape.com
66479b016a Replaces check for processingEvents. r=danm, darin a=hyatt 2000-10-04 19:47:12 +00:00
mkaply%us.ibm.com
2281d92324 #52455
r=dougt a=blizzard
These are OS/2 specific porting fixes in an XP file (plevent.c)
I'm checking it in without super-review because we desperately
need these fixes in our nightly build.
2000-10-03 00:20:05 +00:00
dougt%netscape.com
25f36f554d Fixes threadpool to maximize thread usage r=wtc@netscape.com, warren@netscape.com, brendan@mozilla.org, a=brendan@mozilla.org b=36750 2000-10-01 05:35:03 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
dougt%netscape.com
8af176eece Backing out changes which reduces the number of notifies on the event queue monitor. We still are reducing the number of native notifications. 2000-09-12 04:37:35 +00:00
dougt%netscape.com
d4abfb1de7 PLEvent optimizations. Part of bug 50104. This reduces the number notifications. r-valeski@netscape.com 2000-09-11 20:59:56 +00:00
dougt%netscape.com
16835b5d5f Removing Cached Monitors from plevent. They are about 5x slower than
a lock and condvar according to the nspr documentation.  r=valeski

Also I fix a problem where we would wake up from a wait without checking
any data which could cause all sorts of problems.

b=50634
2000-09-01 00:50:51 +00:00
warren%netscape.com
84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
dougt%netscape.com
7a11b65ba3 Debuggin code
a=waterson@netscape.com
2000-07-07 04:17:24 +00:00
cls%seawood.org
1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
mkaply%us.ibm.com
ed15a3c3c0 # 37239
r = danm, a = brendan
OS/2 bring-up - VisualAge needs a cast - using NS_STATIC_CAST per danm
2000-06-08 14:18:07 +00:00
pavlov%netscape.com
6d72d15bf9 Fix for eventqueue objects leaking bug #20166. This also removes the hacked fix for bug #36361 and uses a real fix. Major overhaul of nsEventQueue and nsEventQueueService. r=waterson,brendan. tested on windows, linux and mac 2000-06-05 21:53:25 +00:00
pavlov%netscape.com
9854479716 fix for nsbeta2+ bug 35921 (event notification outlives its event) r=danm,bryner,blizzard 2000-05-31 02:19:17 +00:00