344 Commits

Author SHA1 Message Date
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
dbaron%dbaron.org
80fa9406c3 Fix bad advice in comment on how to use PL_InitEvent. b=305278 r=dougt
git-svn-id: svn://10.0.0.236/trunk@184521 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-12 21:11:33 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
112c33275c Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree.
git-svn-id: svn://10.0.0.236/trunk@184304 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 18:17:49 +00:00
bzbarsky%mit.edu
f09cef7db6 Make timers a little safer to use from JS. Bug 304669, patch by Giorgio Maone
<g.maone@informaction.com>, r=dougt, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@183373 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:46:37 +00:00
roc+%cs.cmu.edu
e766708159 Backing out fix for bug 303484 since it exposed some other issues and doesn't fix any known crashers.
git-svn-id: svn://10.0.0.236/trunk@182432 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 01:41:11 +00:00
timeless%mozdev.org
c3dbe0577a Bug 310487 thread leak
patch by colin@theblakes.com r=timeless sr=darin


git-svn-id: svn://10.0.0.236/trunk@181321 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 20:46:14 +00:00
bsmedberg%covad.net
221a40f564 Bug 307168 - Use the XPCOM (NS_COM) declarations for plevent symbols, instead of the NSPR declarations, since NSPR has different configure tests and compile flags r=darin
git-svn-id: svn://10.0.0.236/trunk@180304 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 18:29:21 +00:00
timeless%mozdev.org
74bc96ce3c Bug 308404 Access violation [@ ntdll!RtlDeleteCriticalSection+0x0000000f]
r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@180221 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 18:18:43 +00:00
dougt%meer.net
8c4e2f1dda WinCE only. ShellExecute is now in the shunt lib, so I can remove a WINCE #define. Also, for process creation WinCE uses NSPR like a good child.... i wonder why the other platforms don't as well.
git-svn-id: svn://10.0.0.236/trunk@179552 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 18:00:23 +00:00
roc+%cs.cmu.edu
57bffe2488 Bug 303484. Limit the nesting of modal event loops so we avoid overflowing the C++ stack. r+sr=brendan,a=asa
git-svn-id: svn://10.0.0.236/trunk@177889 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 21:03:12 +00:00
dougt%meer.net
95ffcc4390 Disabling USE_TIMER on windows ce. posting directly to the message queue seams to be far more effective. a=asa. WINCE only change
git-svn-id: svn://10.0.0.236/trunk@176599 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 04:22:11 +00:00
joshmoz%gmail.com
269946319d part 2 of landing for bug 282940. actually make the switch to CFRunLoop. a=asa
git-svn-id: svn://10.0.0.236/trunk@174958 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 21:04:37 +00:00
joshmoz%gmail.com
fa3ae13981 part 1 of landing for bug 282940 (move FF and TB to CFRunLoop) - simply clean up old Mac OS classic code. a=asa
git-svn-id: svn://10.0.0.236/trunk@174954 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-21 20:43:11 +00:00
timeless%mozdev.org
733f8a76f0 Bug 296506 [@ nsThread::Main]
change Init to handle alloc failures and refuse multiple concurrent runs of a thread instance
r=dougt a=asa


git-svn-id: svn://10.0.0.236/trunk@174283 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-08 07:33:39 +00:00
bryner%brianryner.com
189a661d09 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@173044 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-04 20:22:32 +00:00
timeless%mozdev.org
b6d91eeb64 Bug 291988 build warnings in plevent.c
patch by bugzilla@gemal.dk r=alecf sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@172862 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 06:09:42 +00:00
bzbarsky%mit.edu
ca0e40385d Fix revokeEvents to reliably revoke them. Bug 284389, r=darin, sr=dbaron,
a=asa


git-svn-id: svn://10.0.0.236/trunk@172263 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 03:17:13 +00:00
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