326 Commits

Author SHA1 Message Date
bsmedberg%covad.net
06d0e4ec39 Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end.
git-svn-id: svn://10.0.0.236/trunk@171465 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 18:22:57 +00:00
brendan%mozilla.org
2d36e9f6ea Propagate failure when we can't make a queue (287846, r=dougt, sr=darin).
git-svn-id: svn://10.0.0.236/trunk@171340 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-29 22:31:14 +00:00
darin%meer.net
c8afb22653 fixes bug 279852 "nsWeakReference not threadsafe assertions due to TimerThread::Init" r=sfraser sr=bryner
git-svn-id: svn://10.0.0.236/trunk@170623 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-14 06:37:01 +00:00
timeless%mozdev.org
4d92426c5c Bug 283429 javascript undefined object -> crash in nsIProcess::Init
r=dougt


git-svn-id: svn://10.0.0.236/trunk@169774 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 18:41:50 +00:00
darin%meer.net
2f1d8a824a s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan
git-svn-id: svn://10.0.0.236/trunk@169576 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 22:21:21 +00:00
darin%meer.net
7204732945 build the header file!!
git-svn-id: svn://10.0.0.236/trunk@169570 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 21:08:46 +00:00
darin%meer.net
55f157bc26 fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169569 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 20:58:01 +00:00
dougt%meer.net
09ab5f265d bug 282031. [BEOS] Our nsToolkit::CallMethod is broken. r=sergei_d, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@169498 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 18:41:33 +00:00
dougt%meer.net
e01d005842 bug 280245. WinCE build and support changes. r=darin
git-svn-id: svn://10.0.0.236/trunk@168534 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-30 21:33:47 +00:00
timeless%mozdev.org
36a1b039c2 Bug 270107 nsProcess::Run is broken
r=dougt


git-svn-id: svn://10.0.0.236/trunk@167721 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 11:52:09 +00:00
smfr%smfr.org
18292db1bf Commit the CFRunLoop patch from bug 271050 for plevent handling. This uses a CFRunLoopSource to process plevents from the applications's main event loop. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@167234 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 02:02:01 +00:00
smfr%smfr.org
89386980d1 More experimentation with plevent handling for Camino (only affects cocoa toolkit), replacing the CFRunLoop patch with the CFMessagePort patch for performance comparison.
git-svn-id: svn://10.0.0.236/trunk@167091 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-29 16:40:41 +00:00
smfr%smfr.org
c77cb30c5d Checking in CFRunLoop patch in bug 271050 to test pageload performance in Camino. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@167088 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-29 06:07:31 +00:00
cbiesinger%web.de
cccb00e2c1 Bug 274281 [BeOS] BeOS lets events stay in port through the 'restarts' in LaunchChild causing crashes on faulty events.
patch by tqh <thesuckiestemail@yahoo.se> r=sergei_d sr=shaver (for the xpcom/ part)


git-svn-id: svn://10.0.0.236/trunk@167059 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-28 13:56:17 +00:00
darin%meer.net
2b63405c0c fixes bug 273819 "ASSERTION: Native event queues should only be used on the main thread" r=danm, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@166818 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 19:47:06 +00:00
jst%mozilla.jstenback.com
c067c7a538 Fixing bug 273961. Don't execute unix process creation code on windows. r+sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@166526 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-10 01:06:37 +00:00
bsmedberg%covad.net
4c08900f0e Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees.
git-svn-id: svn://10.0.0.236/trunk@166497 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 19:28:35 +00:00
darin%meer.net
28bb2981af alternate fix for bug 234620 "Unknown random SEGV/seg fault/core dumps/crashes, only thing on is Mail/IMAP"
in an attempt to avoid crash bug 269585, r=dbaron sr=bienvenu a=asa


git-svn-id: svn://10.0.0.236/trunk@165518 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 19:06:58 +00:00
jst%mozilla.jstenback.com
4ad2aecd2d Fixing bugstage.
git-svn-id: svn://10.0.0.236/trunk@165279 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 20:48:45 +00:00
jst%mozilla.jstenback.com
690b60d4d3 Fixing bug 267269. Make nsIProcess::Run() use NSPR code for running the process if arguments are passed. r=pinkerton@aol.net, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@165273 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 19:42:26 +00:00
darin%meer.net
30b0a61317 fixes bug 234620 "Unknown random SEGV/seg fault/core dumps/crashes, only thing on is Mail/IMAP" r=dbaron sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@164904 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 02:34:11 +00:00
mkaply%us.ibm.com
9c8cfffe0b OS/2 build bustage - don't ask
git-svn-id: svn://10.0.0.236/trunk@164380 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 20:45:17 +00:00
jst%mozilla.jstenback.com
f895095dfc Fixing problem where mExitValue is unconditionally -1 on the mac after running a process. No bug. r+sr=dbaron@dbaron.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@164224 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 23:55:56 +00:00
jst%mozilla.jstenback.com
3d83688b92 Fixing bug 263429. Making nsProcessCommon::Run() work on Mac OS X. r=peterv@propagandism.org, sr=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@163583 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-12 05:31:37 +00:00
brendan%mozilla.org
c78c0d8b24 Retract last change, it's wrong -- thanks again to lcook@sybase.com.
git-svn-id: svn://10.0.0.236/trunk@162650 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-22 02:39:52 +00:00
brendan%mozilla.org
7afab5fd80 Followup to last checkin (252324, r+sr=bz).
git-svn-id: svn://10.0.0.236/trunk@162642 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-22 01:04:33 +00:00
brendan%mozilla.org
9a5bf01cdb Patch from Larry Cook <lcook@sybase.com> to fix long-delay timer queue order bug (252324, r+sr=me).
git-svn-id: svn://10.0.0.236/trunk@162571 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 01:11:47 +00:00
timeless%mozdev.org
52e30238cf Fixing nondebug mAddr is a debug paranoia thing.
git-svn-id: svn://10.0.0.236/trunk@162056 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:02:07 +00:00
timeless%mozdev.org
aa6bbecd26 Bug 252733 ###!!! ASSERTION: Potential deadlock between Monitor@12f0a8 and Monitor@0: 'Error', file r:/mozilla/xpcom/threads/nsAutoLock.cpp, line 299
Ignore null monitors - they aren't real and xpconnect promises not to enter them so you can't possibly reach a deadlock involving them.
r=brendan sr=brendan


git-svn-id: svn://10.0.0.236/trunk@162055 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 05:13:38 +00:00
bsmedberg%covad.net
dffbd3ccc3 bug 257188 - check initialization of nsThread patch by CTho <cst@andrew.cmu.edu> r=dougt
git-svn-id: svn://10.0.0.236/trunk@161431 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-28 20:11:15 +00:00
timeless%mozdev.org
984b16085d Bug 256615 crash when calling nsIThread.state before calling nsIThread.init [@ PR_GetThreadState]
patch by cst@andrew.cmu.edu r=dougt


git-svn-id: svn://10.0.0.236/trunk@161312 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 12:31:56 +00:00
mkaply%us.ibm.com
7449ce7931 #247962
r=pedemonte, sr=blizzard (platform specific)
Remove DLL_InitTerm from NSPR - move it to Mozilla code


git-svn-id: svn://10.0.0.236/trunk@161054 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 15:03:00 +00:00
darin%meer.net
5ae55c02e1 fixes bug 243151 "Bogus assertion: nsThread::kIThreadSelfIndex != 0" r=timeless,wtc
git-svn-id: svn://10.0.0.236/trunk@156251 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 18:33:32 +00:00
bsmedberg%covad.net
ff6cab48ca Allow XPCOM to be restarted. r+sr=darin with grudging consent from dougt. Bug 239819
git-svn-id: svn://10.0.0.236/trunk@156232 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 09:38:50 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
darin%meer.net
d512bb2e4d fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst
git-svn-id: svn://10.0.0.236/trunk@154957 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 23:30:05 +00:00
mkaply%us.ibm.com
d6e5de1b38 #237183
r=mkaply, sr=blizzard (platform specific), a=mkaply
OS/2 only - add support for exception handler to NSPR so we can catch floating point exceptions


git-svn-id: svn://10.0.0.236/trunk@154271 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-25 20:29:15 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
timeless%mozdev.org
b251ca2b3e Bug 235035 change nsIRunnable.Run to nsIRunnable.run
r=dougt sr=darin


git-svn-id: svn://10.0.0.236/trunk@153039 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:34:57 +00:00
bzbarsky%mit.edu
15c51a090f Make three changes:
1)  Use GetWeak() on the queue hashtable where possible
2)  Fix what looks like a bug in CreateEventQueue (passing wrong thread
    to MakeNewQueue).
3)  Fix what looks like a bug in PushThreadEventQueue (looking at the original
    queue for the thread rather than the youngest one).

Bug 230092, r=danm, sr=darin


git-svn-id: svn://10.0.0.236/trunk@151986 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:13:48 +00:00
neil%parkwaycc.co.uk
4ce35a42f6 Windows bustage fix - nsresult should have been NS_METHOD
git-svn-id: svn://10.0.0.236/trunk@151743 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-23 11:04:20 +00:00
neil%parkwaycc.co.uk
178bfead9d Bug 227500 Provide scriptable environment access p=bsmedberg,gisburn r/sr=dougt
git-svn-id: svn://10.0.0.236/trunk@151742 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-23 10:23:12 +00:00
bryner%brianryner.com
b5ccad4460 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
bzbarsky%mit.edu
e97e63a7aa Get rid of another nsSupportsHashtable user, moving closer to "no raw addrefed
returns" nirvana.  Bug 230092, r=bsmedberg, sr=darin


git-svn-id: svn://10.0.0.236/trunk@151127 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 02:00:40 +00:00
brendan%mozilla.org
e49d24d53a Avoid deadlock by exiting monitor before processing pending events, when popping (200006, r=danm, sr=darin, a=blizzard).
git-svn-id: svn://10.0.0.236/trunk@149994 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-03 23:53:22 +00:00
pinkerton%netscape.com
0ae66d4d2f don't process timers after wakeup (r=sfraser, sr=bryner, bug 197863)
git-svn-id: svn://10.0.0.236/trunk@148637 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 02:31:13 +00:00
timeless%mozdev.org
377e7e7927 Bug 106386 Correct misspellings in source code
patch by ajvincent@juno.com r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@148605 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 19:27:47 +00:00
darin%meer.net
aa4dd41e45 fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147780 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 01:54:07 +00:00
darin%meer.net
2f148e2753 fixes bug 221331 "nsAutoLock: bogus deadlock warning if unlock/lock are used." patch=brendan r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@147731 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-08 03:37:17 +00:00
darin%meer.net
bc1bb52b19 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00