Commit Graph

536 Commits

Author SHA1 Message Date
Olli.Pettay@helsinki.fi
22dc5c4af2 bug 380454, r=benjamin, sr=sicking 2008-02-21 04:47:26 -08:00
Olli.Pettay@helsinki.fi
d7832061bb Back out Bug 380454 2008-02-19 05:47:15 -08:00
Olli.Pettay@helsinki.fi
dc1dd6ad65 Bug 380454, r=benjamin, sr=sicking 2008-02-19 05:06:22 -08:00
vladimir@pobox.com
15e811c57a b=417115, animated image causes recursion during shutdown ; r=stuart 2008-02-13 22:51:06 -08:00
peterv@propagandism.org
624db2f135 Fix for bug 413281 (Firefox leaks when Yahoo Toolbar is installed). r=stuart, sr=sicking. 2008-01-24 07:18:14 -08:00
sayrer@gmail.com
a1689acc79 Bug 407201. Not dropping references for one shot timers on Fire. r/sr=bzbarsky 2008-01-22 21:20:14 -08:00
roc+@cs.cmu.edu
16fb24b0d4 Bug 404870. Don't allow nsThread::PutEvent to succeed when the thread is no longer able to process the event. This stops us leaking the event and anything hanging off it. r+sr=bsmedberg 2007-12-04 18:17:15 -08:00
sayrer@gmail.com
1e3ed80af6 Bug 401137. Silence ASSERTION: RefreshURIList timer callbacks should only be RefreshTimer objects. Docshell expects to be able to getCallback during a Timer fire. r=bzbarsky, sr=brendan, a=mconnor 2007-10-30 08:56:59 -07:00
sayrer@gmail.com
c3df88ea3b Bug 330128. Calling cancel() on a timer doesn't drop ref to the callback. r=brendan, sr=bzbarsky, a=beltzner 2007-10-24 12:11:41 -07:00
benjamin@smedbergs.us
6a7efe8e13 Bug 383553 - Crash on quit in nsTimerImpl::Release, r=dbaron sr=brendan 2007-08-09 11:37:02 -07:00
bzbarsky@mit.edu
611a83d517 Try to fix orange: sGlobalObserver can get set during event processing, not
just unset.  Bug 326777
2007-07-10 20:01:56 -07:00
bzbarsky@mit.edu
3b90c5c518 Relanding bug 326777, r=bsmedberg, sr=jst 2007-07-10 17:57:17 -07:00
bzbarsky@mit.edu
b35a654a6e Backing out to fix red 2007-07-09 21:07:45 -07:00
bzbarsky@mit.edu
30e205dddb Make sure that we push a null JSContext on the current thread's XPConnect stack
before processing events.  Bug 326777, r=bsmedberg, sr=jst
2007-07-09 20:48:06 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
bzbarsky%mit.edu
a4d181a6ee No need to enter the monitor in our destructor. Bug 371374 followup, r+sr=darin 2007-02-28 02:28:53 +00:00
bzbarsky%mit.edu
236305bd4c Fix leak when using XPCOM proxies. Bug 371374, patch by Bas Schouten
<bas.schouten@joost.com>, r=bsmedberg, sr=bzbarsky
2007-02-23 17:38:45 +00:00
bent.mozilla%gmail.com
76b4881f9a Bug 366619 - "Move nsAutoLock and nsAutoMonitor to the glue". nsAutoLock.cpp and nsAutoLock.h were moved from xpcom/threads, see there for CVS history. r=bsmedberg. 2007-01-12 20:55:53 +00:00
graydon%mozilla.com
9d9858d348 Bug 333078: XPCOM cycle collector, first performance-related followup patch.
Reorganizes collection throttling to coincide with existing JS_GC scheme.
2007-01-05 01:44:42 +00:00
graydon%mozilla.com
4525ab79d9 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
vladimir%pobox.com
82a10357c9 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com
3748c8bf4f b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
redfive%acm.org
6d59aea94b bug 357426 add static ctor/dtor PRLock methods via nsAutoLock ala. nsAutoMonitor
r=brendan
sr=jst
2006-10-27 00:57:14 +00:00
timeless%mozdev.org
a8b8af80f9 Bug 353280 nsThread::PushEventQueue leaks queue if !queue->IsInitialized (nsEventQueue::nsEventQueue() : mMonitor(nsAutoMonitor::NewMonitor("xpcom.eventqueue")) fails)
patch by darin r=timeless
2006-10-16 08:02:37 +00:00
timeless%mozdev.org
6ef4bd247e Bug 342671 Leaking process information handle in nsProcessCommon.cpp
patch by David.R.Gardiner@gmail.com r=timeless r=dougt
2006-09-22 07:43:07 +00:00
martijn.martijn%gmail.com
584a33c71c Bug 323195 - XPCAutoUnlock messes with detection of potential deadlocks, patch by Matthew Gertner, r=brendan 2006-07-29 14:45:09 +00:00
darin%meer.net
8d68c36a7f fixes bug 343731 "###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file ../../dist/include/xpcom/nsCOMPtr.h, line 594" r=biesi 2006-07-06 18:46:31 +00:00
darin%meer.net
0f94d8ab55 fixes bug 333167 "remove idle timer / timer manager after bug 326273 is fixed" r=pavlov 2006-06-29 00:01:58 +00:00
mark%moxienet.com
a6b04ae8c0 340032 nsIThreadObserver needs a method called after processing an event to support Cocoa autorelease pools. r=darin sr=bryner 2006-06-07 00:06:11 +00:00
darin%meer.net
bc46644aa6 Tidy up nsThreadManager::Shutdown per suggestion from roc (see bug 326273) 2006-05-11 01:24:57 +00:00
darin%meer.net
7321e2791d fix vc6 bustage 2006-05-10 19:02:05 +00:00
darin%meer.net
d892c6c2e4 fixing uninitialized variable error in TimerThread::Init. 2006-05-10 18:30:57 +00:00
darin%meer.net
12f9fa579b fix AIX bustage 2006-05-10 18:13:20 +00:00
darin%meer.net
b6261df5f9 fixing btek build bustage. making destructor public so it can be called
from a static destructor :(
2006-05-10 18:05:38 +00:00
darin%meer.net
f2da6ac0a8 removing empty file (b=326273) 2006-05-10 17:33:01 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
benjamin%smedbergs.us
ba60317b99 Bug 331012 - topcrash on exit [@timerthread::updatefilter] - r=darin 2006-03-21 14:46:35 +00:00
dougt%meer.net
db0f13d809 Cleaning up PR_GetEnv() usage. b=306840. r=timeless, patch by serge gautherie 2006-03-19 02:52:30 +00:00
masayuki%d-toybox.com
235a905cfd Bug 179056 "Check for new message every" stops after hibernate. patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r=emaijala+sfraser, sr=roc 2006-02-23 17:02:45 +00:00
bsmedberg%covad.net
3530da7ba8 Bug 319999 - XPCOM Shutdown: xpcom-shutdown-threads notification and cleanup of event queues before component manager shutdown, r=darin 2006-01-17 15:41:40 +00:00
dbaron%dbaron.org
3c95294952 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
dbaron%dbaron.org
733cdc896c Fix bad advice in comment on how to use PL_InitEvent. b=305278 r=dougt 2005-11-12 21:11:33 +00:00
bsmedberg%covad.net
78f6d0683d 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 2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
a7253270ad 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. 2005-11-08 18:17:49 +00:00
bzbarsky%mit.edu
2d00bdfe52 Make timers a little safer to use from JS. Bug 304669, patch by Giorgio Maone
<g.maone@informaction.com>, r=dougt, sr=dbaron
2005-11-02 00:46:37 +00:00
roc+%cs.cmu.edu
f7daaee487 Backing out fix for bug 303484 since it exposed some other issues and doesn't fix any known crashers. 2005-10-18 01:41:11 +00:00
timeless%mozdev.org
a360ba5dbe Bug 310487 thread leak
patch by colin@theblakes.com r=timeless sr=darin
2005-09-30 20:46:14 +00:00
bsmedberg%covad.net
3c7a35a01a 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 2005-09-15 18:29:21 +00:00
timeless%mozdev.org
cba483b7cf Bug 308404 Access violation [@ ntdll!RtlDeleteCriticalSection+0x0000000f]
r=darin sr=darin
2005-09-14 18:18:43 +00:00
dougt%meer.net
e93cdcb4c3 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. 2005-09-02 18:00:23 +00:00
roc+%cs.cmu.edu
8106f0cc5f Bug 303484. Limit the nesting of modal event loops so we avoid overflowing the C++ stack. r+sr=brendan,a=asa 2005-08-16 20:59:39 +00:00
dougt%meer.net
ca0a6271cf Disabling USE_TIMER on windows ce. posting directly to the message queue seams to be far more effective. a=asa. WINCE only change 2005-07-26 04:22:11 +00:00
joshmoz%gmail.com
d956266ed3 part 2 of landing for bug 282940. actually make the switch to CFRunLoop. a=asa 2005-06-21 21:04:37 +00:00
joshmoz%gmail.com
591c83e548 part 1 of landing for bug 282940 (move FF and TB to CFRunLoop) - simply clean up old Mac OS classic code. a=asa 2005-06-21 20:43:11 +00:00
timeless%mozdev.org
093b867173 Bug 296506 [@ nsThread::Main]
change Init to handle alloc failures and refuse multiple concurrent runs of a thread instance
r=dougt a=asa
2005-06-08 07:33:39 +00:00
bryner%brianryner.com
aed69207f0 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. 2005-05-04 20:22:32 +00:00
timeless%mozdev.org
1951c0342f Bug 291988 build warnings in plevent.c
patch by bugzilla@gemal.dk r=alecf sr=darin a=asa
2005-04-29 06:09:42 +00:00
bzbarsky%mit.edu
c5cc24631e Fix revokeEvents to reliably revoke them. Bug 284389, r=darin, sr=dbaron,
a=asa
2005-04-15 03:17:13 +00:00
bsmedberg%covad.net
beadf6cd74 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. 2005-04-01 18:22:57 +00:00
brendan%mozilla.org
215e2f67cb Propagate failure when we can't make a queue (287846, r=dougt, sr=darin). 2005-03-29 22:31:14 +00:00
darin%meer.net
c1e055bc88 fixes bug 279852 "nsWeakReference not threadsafe assertions due to TimerThread::Init" r=sfraser sr=bryner 2005-03-14 06:37:01 +00:00
timeless%mozdev.org
b4253dd8a0 Bug 283429 javascript undefined object -> crash in nsIProcess::Init
r=dougt
2005-02-24 18:41:50 +00:00
darin%meer.net
bdb13852d9 s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan 2005-02-21 22:21:21 +00:00
darin%meer.net
e3d2934492 build the header file!! 2005-02-21 21:08:46 +00:00
darin%meer.net
ea421f6654 fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky 2005-02-21 20:58:01 +00:00
dougt%meer.net
55e79c16fa bug 282031. [BEOS] Our nsToolkit::CallMethod is broken. r=sergei_d, sr=dougt 2005-02-19 18:41:33 +00:00
dougt%meer.net
55eb21a1ac bug 280245. WinCE build and support changes. r=darin 2005-01-30 21:33:47 +00:00
timeless%mozdev.org
96c96dbcd6 Bug 270107 nsProcess::Run is broken
r=dougt
2005-01-14 11:52:09 +00:00
smfr%smfr.org
821468a25c 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. 2005-01-04 02:02:01 +00:00
smfr%smfr.org
25284d84cd More experimentation with plevent handling for Camino (only affects cocoa toolkit), replacing the CFRunLoop patch with the CFMessagePort patch for performance comparison. 2004-12-29 16:40:41 +00:00
smfr%smfr.org
726a1a4b01 Checking in CFRunLoop patch in bug 271050 to test pageload performance in Camino. r=pinkerton 2004-12-29 06:07:31 +00:00
cbiesinger%web.de
47d7110411 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)
2004-12-28 13:56:17 +00:00
darin%meer.net
c3a3b5f4fc fixes bug 273819 "ASSERTION: Native event queues should only be used on the main thread" r=danm, sr=bienvenu 2004-12-17 19:47:06 +00:00
jst%mozilla.jstenback.com
29a91b0229 Fixing bug 273961. Don't execute unix process creation code on windows. r+sr=darin@meer.net 2004-12-10 01:06:37 +00:00
bsmedberg%covad.net
79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
darin%meer.net
fb4ede0f57 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
2004-11-19 19:06:58 +00:00
jst%mozilla.jstenback.com
6d2f6721eb Fixing bugstage. 2004-11-11 20:48:45 +00:00
jst%mozilla.jstenback.com
c89c3224a3 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 2004-11-11 19:42:26 +00:00
darin%meer.net
a3a42ca4f6 fixes bug 234620 "Unknown random SEGV/seg fault/core dumps/crashes, only thing on is Mail/IMAP" r=dbaron sr=bienvenu 2004-11-04 02:34:11 +00:00
mkaply%us.ibm.com
27cb040fd1 OS/2 build bustage - don't ask 2004-10-25 20:45:17 +00:00
jst%mozilla.jstenback.com
f2355ab868 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 2004-10-22 23:55:56 +00:00
jst%mozilla.jstenback.com
11bc8f51a4 Fixing bug 263429. Making nsProcessCommon::Run() work on Mac OS X. r=peterv@propagandism.org, sr=dveditz@cruzio.com 2004-10-12 05:31:37 +00:00
brendan%mozilla.org
122f471531 Retract last change, it's wrong -- thanks again to lcook@sybase.com. 2004-09-22 02:37:49 +00:00
brendan%mozilla.org
2b2ca27201 Followup to last checkin (252324, r+sr=bz). 2004-09-22 01:04:33 +00:00
brendan%mozilla.org
5c46d927b8 Patch from Larry Cook <lcook@sybase.com> to fix long-delay timer queue order bug (252324, r+sr=me). 2004-09-21 01:11:47 +00:00
timeless%mozdev.org
663fe88b47 Fixing nondebug mAddr is a debug paranoia thing. 2004-09-10 06:02:07 +00:00
timeless%mozdev.org
8aeaa98ae9 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
2004-09-10 05:13:38 +00:00
bsmedberg%covad.net
9815f3c616 bug 257188 - check initialization of nsThread patch by CTho <cst@andrew.cmu.edu> r=dougt 2004-08-28 20:11:15 +00:00
timeless%mozdev.org
5dccbf31f6 Bug 256615 crash when calling nsIThread.state before calling nsIThread.init [@ PR_GetThreadState]
patch by cst@andrew.cmu.edu r=dougt
2004-08-26 12:31:56 +00:00
mkaply%us.ibm.com
bb3f6c6fcd #247962
r=pedemonte, sr=blizzard (platform specific)
Remove DLL_InitTerm from NSPR - move it to Mozilla code
2004-08-20 15:03:00 +00:00
darin%meer.net
4bc648307b fixes bug 243151 "Bogus assertion: nsThread::kIThreadSelfIndex != 0" r=timeless,wtc 2004-05-11 18:33:32 +00:00
bsmedberg%covad.net
fbe50a0568 Allow XPCOM to be restarted. r+sr=darin with grudging consent from dougt. Bug 239819 2004-05-11 09:38:50 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin%meer.net
c083b41820 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
mkaply%us.ibm.com
924a50bdeb #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
2004-03-25 20:29:15 +00:00
darin%meer.net
c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
timeless%mozdev.org
f2fd2d0e42 Bug 235035 change nsIRunnable.Run to nsIRunnable.run
r=dougt sr=darin
2004-02-20 21:34:57 +00:00
bzbarsky%mit.edu
6d6ba3ce56 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
2004-01-28 23:13:48 +00:00
neil%parkwaycc.co.uk
e7f26bd617 Windows bustage fix - nsresult should have been NS_METHOD 2004-01-23 11:04:20 +00:00
neil%parkwaycc.co.uk
19a8ab3904 Bug 227500 Provide scriptable environment access p=bsmedberg,gisburn r/sr=dougt 2004-01-23 10:23:12 +00:00
bryner%brianryner.com
0c7c3a2ff3 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. 2004-01-15 06:14:18 +00:00
bzbarsky%mit.edu
385b61a598 Get rid of another nsSupportsHashtable user, moving closer to "no raw addrefed
returns" nirvana.  Bug 230092, r=bsmedberg, sr=darin
2004-01-10 02:00:40 +00:00
brendan%mozilla.org
15af3ac60c Avoid deadlock by exiting monitor before processing pending events, when popping (200006, r=danm, sr=darin, a=blizzard). 2003-12-03 23:53:22 +00:00
pinkerton%netscape.com
fdc2d7dc32 don't process timers after wakeup (r=sfraser, sr=bryner, bug 197863) 2003-10-31 02:31:13 +00:00
timeless%mozdev.org
7f3690d97d Bug 106386 Correct misspellings in source code
patch by ajvincent@juno.com r=darin sr=darin
2003-10-30 19:27:47 +00:00
darin%meer.net
cbcb460359 fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky 2003-10-09 01:54:07 +00:00
darin%meer.net
7a85e4d69a fixes bug 221331 "nsAutoLock: bogus deadlock warning if unlock/lock are used." patch=brendan r+sr=darin 2003-10-08 03:37:17 +00:00
darin%meer.net
77642ae698 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
mkaply%us.ibm.com
6485807366 #215581
r=mkaply, sr=blizzard (platform specific)
Changes to get GCC 3.2.2 working on OS/2 - this set is OS/2 only changes
Also remove some VACPP references
2003-09-15 22:02:35 +00:00
mkaply%us.ibm.com
37d80e2139 #215457
r=dougt, sr=bryner, a=dbaron
Patch v2 - do event queue creation lazily
2003-08-15 13:59:39 +00:00
brendan%mozilla.org
e5276da2fb Fix Timer re-init to drop any old references (215163, sr=dbaron, r?pavlov). 2003-08-06 00:37:43 +00:00
danm-moz%comcast.net
579f5d88fb debug only: warn when stacks of event queues get surprisingly deep. should speed future attempts to debug problems like bug 206947. r=brendan 2003-08-05 00:01:20 +00:00
timeless%mozdev.org
14fd47f872 Bug 204407 cleanup warnings in nsToolkit.cpp and plevent.c
patch by sergei_d@fi.tartu.ee r=timeless sr=bz
2003-06-15 04:06:04 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
dougt%meer.net
365d3d936e Lazy allocation of PLEvent's lock and condvar r=darin, b=204962 2003-05-23 22:26:38 +00:00
timeless%mozdev.org
b20cd43140 Bug 205608 Warning: C++ style comments are not allowed in ISO C89
r=jst sr=jst
2003-05-23 22:18:18 +00:00
timeless%mozdev.org
68cf15b0df Bug 200424 nsEventQueueServiceImpl::GetThreadEventQueue might return NS_OK w/ null out [@ nsMemoryImpl::FlushMemory]
r=darin
2003-04-04 15:56:37 +00:00
alecf%netscape.com
6c75920da1 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser 2003-04-04 15:10:37 +00:00
seawood%netscape.com
80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
brendan%mozilla.org
2c79ef45ce White-space, bracing, and 80th column style fixes, r=self. 2003-03-25 01:38:53 +00:00
mkaply%us.ibm.com
8c2397b9ac #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:26:41 +00:00
cls%seawood.org
040b1e64c2 Remove bogus mingw & win16 ifdefs from plevent.h
Add stub declaration for _mbstr which isn't defined in the current mingw headers but is present in the libs.
Fix GRE definition of XPCOM_DLL for mingw.
Bug #134113 r=dougt
2003-03-12 08:35:57 +00:00
timeless%mozdev.org
dc76dfa0c6 Bug 190800 PL_CreateNativeEventQueue, PL_CreateMonitoredEventQueue should take const char*
r=dougt sr=roc+moz
2003-02-24 17:43:22 +00:00
mkaply%us.ibm.com
e6feaaaa72 #194225
r=dougt, sr=blizzard, a=asa
OS/2 only - crash in helpers - destroy window, don't send a close message
2003-02-21 14:52:06 +00:00
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
darin%netscape.com
2347ef8985 new files for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 01:27:53 +00:00
mkaply%us.ibm.com
49d0a2a002 OS/2 version of 119693 - thanks doug 2003-01-15 20:42:05 +00:00
timeless%mozdev.org
005bbbf98e Fixing the comment for bug 119693. r=dougt 2003-01-15 19:35:28 +00:00
dougt%netscape.com
e1413085ab Fixing topcrash. r=darin@netscape.com, sr=jst@netscape.com, b=119693 2003-01-14 23:50:01 +00:00
dbaron%dbaron.org
b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
cbiesinger%web.de
df5da70844 187309 r=dougt sr=bzbarsky convert out param of nsIProcess::Run to a return value 2003-01-02 21:00:31 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
ccarlen%netscape.com
4b4e0bbc8e Bug 44678 - On Mac, use a custom Carbon event to signal that the PLEvent queue needs to be processed. r=sdagley/sr=sfraser 2002-12-19 15:25:57 +00:00
brendan%mozilla.org
fe81ae2252 Implement support for re-initializing timers (even one-shots), and doc-comment
on how timers may be canceled, re-initialized, and canceled-then-re-initialized
in nsITimer.idl (181961, r=pavlov, sr=alecf).  This helps client code conserve
instances, saving on cycles and malloc/component-manager froth.
2002-12-04 00:57:20 +00:00
bzbarsky%mit.edu
8632dcd97b Fix assertion from out-of-bounds array access. Bug 175440, r=timeless, sr=alecf 2002-11-09 17:43:33 +00:00
dougt%netscape.com
bffa9d4af1 175932. UMR: PostTimerEvent() does not check return value from GetPRThread(). Thanks to Andrew Schultz for pointing this out. r=pavlov, sr=darin. Also includes 175440 - using nsCOMArray in nsThreadPool, patch by bzbarsky@mit.edu 2002-11-08 04:46:58 +00:00
seawood%netscape.com
57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
kmcclusk%netscape.com
3df9afe194 improve user interactivity during long page loads by doing better detection of user-input and interrupting the parser more frequently. Also moved the WIN32 specific logic for determining when the user is moving a top-level window from plevent.c to the widget module. b=165039 r=rods@netscape.com sr=kin@netscape.com 2002-10-01 03:04:22 +00:00
kmcclusk%netscape.com
0db2c6960a Change PLEvent notification on WIN32 to use a native timer instead of a posted WM_APP message when documents are not loading. This fixes some DHTML paint starvation issues and lowers overall CPU usage on many pages with DHTML. bug=164931 r=rpotts@netscape.com sr=kin@netscape.com 2002-09-19 02:53:05 +00:00
dougt%netscape.com
081f1504db Fixes compiler warnings. b=168396, r=dougt, sr=dveditz. patch by walk84@yahoo.com 2002-09-13 19:55:02 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com
fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
timeless%mac.com
9b478a4f58 Bug 166371 Crashes at [@ nsThreadPool::Shutdown] in Trunk, N700
r=bz sr=darin
2002-09-04 06:45:10 +00:00
timeless%mac.com
43e442ad09 Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
2002-09-03 14:51:05 +00:00
kmcclusk%netscape.com
b395ee5751 On WIN32 only, changed native dispatch of PLEvent notification to use timers instead of Posting WM_APP messages when user input or painting is starved to solve UI Lockup and paint starvation when loading large files from the cache or locally b=157144 r=dougt@netscape.com sr=kin@netscape.com 2002-08-29 23:04:14 +00:00
bbaetz%student.usyd.edu.au
c1b134e11b Bug 142072 - Don't free a loginfo structure which we don't own (nspr does)
r=wtc, sr=bryner
2002-08-25 05:55:50 +00:00
jst%netscape.com
ad4e8b0300 Fixing part of bug 96108. Don't ask for items in an empty nsVoidArray, and speed things up a bit too. r=pavlov@netscape.com, sr=brendan@mozilla.org 2002-08-15 21:00:58 +00:00
seawood%netscape.com
67c2c5b3c0 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
gerv%gerv.net
a6d4accdea Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
blythe%netscape.com
1b20cc170c fix crash in bug 119034
r=timeless,sr=darin,a=asa
Simple NULL check, safe
2002-08-10 00:25:39 +00:00
dougt%netscape.com
36abefe61e Attempting to fix the idle time topcrash. b=155447, r=pavlov, sr=dveditz 2002-08-09 04:03:45 +00:00
bryner%netscape.com
d0cfcc1da2 Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa. 2002-07-30 21:30:05 +00:00
seawood%netscape.com
fe2f4b55ff Remove DARWIN define from osx builds as it cripples the feature set provided by OSX headers.
Bug #154232 r=wtc sr=scc a=scc
2002-07-18 04:09:30 +00:00
mkaply%us.ibm.com
937dfac4d5 #157770
r=dougt, sr=blizzard, a=asa
OS/2 only - up the numbre of file handles when starting Moz, and handle specific error with DosCopy
2002-07-17 05:46:34 +00:00
bryner%netscape.com
90a2f7dfb7 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2002-07-08 07:56:50 +00:00
seawood%netscape.com
03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
cbiesinger%web.de
15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
dougt%netscape.com
913bbb6f6c Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org 2002-06-11 19:26:04 +00:00
pavlov%netscape.com
4dbb77cafa fixing bug 142113. r=varga sr=brendan 2002-05-15 10:28:42 +00:00
dougt%netscape.com
28495a117d initalizes member variables in thread poll. 141479. r=dp, sr=darin 2002-05-10 20:48:45 +00:00
brendan%mozilla.org
f4ef397c40 Followup fix for 138791, neil@parkwaycc.co.uk's superior bit-fu (r=rjesup, sr=waterson, a=asa). 2002-05-01 23:34:18 +00:00
darin%netscape.com
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
brendan%mozilla.org
41c5804b65 Handle wraparound of PRIntervalTime, plus crucial fixes thanks to Ere Maijala <ere@atp.fi> (138791, r=rjesup, sr=waterson). 2002-04-25 21:07:54 +00:00
dougt%netscape.com
1938b600bf PAC instantiation hangs Regxpcom Solaris nightly build packaging process. Fixing timer logic. Patch by Kenneth Herron. r=dougt@netscape.com, sr=brendan@mozilla.org, b=106009 2002-04-23 03:15:52 +00:00
dbaron%fas.harvard.edu
10d0952274 Relanding pavlov's changes for bug 129953, in pieces. 2002-04-14 00:27:16 +00:00
dbaron%fas.harvard.edu
f44cff55c4 Relanding pavlov's changes for bug 129953, in pieces. 2002-04-13 19:00:50 +00:00
brade%netscape.com
3a5f38632b backout changes by pavlov (bug 136677) r=cathleen 2002-04-11 18:50:42 +00:00
pavlov%netscape.com
bf162df187 re-landing 129953 2002-04-11 07:55:53 +00:00
pavlov%netscape.com
0f9706f1e1 backing out changes for 129953... 2002-04-11 05:38:55 +00:00
darin%netscape.com
d645b6c31c fixes bug 135547 "make event queues more robust"
r=danm sr=rpotts,brendan
2002-04-11 00:16:04 +00:00
pavlov%netscape.com
e188784b71 adding ,0 to fix os2 bustage 2002-04-10 09:06:18 +00:00
seawood%netscape.com
b0ce526238 Add newline to fix hpux tinderbox bustage. 2002-04-10 08:44:15 +00:00
pavlov%netscape.com
d74f52c017 adding nsITimerManager 2002-04-10 06:06:12 +00:00
pavlov%netscape.com
812bbc8074 er, missing idl file on windows gmake builds 2002-04-10 04:51:17 +00:00
pavlov%netscape.com
ca2a20ef48 bug 129953 r=rjesup sr=rpotts 2002-04-10 04:41:23 +00:00
bryner%netscape.com
0108846dbf Fixing crash dismissing dialogs on linux (bug 134070). r=dougt, sr=darin, a=asa & adt. 2002-04-05 23:42:35 +00:00
dougt%netscape.com
9c15603e2d Adding better comments. r=jband, sr=brendan 2002-04-04 23:04:53 +00:00
ccarlen%netscape.com
5acd1026e5 Bug 105445 - Difficult to process PLEvents without either latency or CPU hogging. r=pink/sr=sfraser/a=asa 2002-03-27 07:16:12 +00:00
bnesse%netscape.com
97ac9e9fa4 Checkin for bug 120866. Add getenv() support to autoconfig module. Checking in for Jerry Tan. r=dveditz, sr=alecf, a=asa. 2002-03-22 21:37:50 +00:00
darin%netscape.com
9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
brendan%mozilla.org
29538a0bb4 Try to fix design flaw where a timer's destructor races with TimerThread::Run -- really want a better design, but this patches the problem in the context of the current design (118004, r=dbradley/pavlov, sr=shaver/jband, a=asa). 2002-03-08 20:11:49 +00:00
sgehani%netscape.com
bdc87e0fa7 Land update notifications.
b=120201; r=law,pavlov; sr=dveditz
2002-02-20 04:01:34 +00:00
brendan%mozilla.org
2f0fe5e0c7 Digital filter for adaptive timeout adjustment, needs trunk baking, makes things better so far (117061, r=pavlov, sr=jst). 2002-02-18 00:10:55 +00:00
bzbarsky%mit.edu
3902553fc7 Make sure we never set a timer for before "now" when given a positive
delay.  Bug 124103, r=pavlov, sr=brendan
2002-02-08 23:45:26 +00:00
dp%netscape.com
9152d21130 bug 118061 Adding NS_NewTimer r=dveditz sr=sfraser 2002-01-24 06:37:38 +00:00
seawood%netscape.com
e56e20b1dc Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
pavlov%netscape.com
36aa1ffff0 patch from bug 116483 to avoid doing some pr_log related work when we don't need to. r=dougt sr=brendan 2002-01-15 01:20:47 +00:00
dougt%netscape.com
536f007ec0 adding check for null. GetThreadEventQueue can return a null queue which we need to check for 2002-01-15 00:43:10 +00:00
ccarlen%netscape.com
525230cf76 Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com 2002-01-07 14:35:04 +00:00
dp%netscape.com
bedfa36902 bug 117256 Timer core dump on shutdown. Protecting against null
gthread. r=cathleen
2001-12-31 04:04:22 +00:00
sfraser%netscape.com
df6b1f965b Fix Mac shutdown crash, bug 116128. Ensure that the timer thread dies by using Join(). r=syd, sr=jag 2001-12-22 00:21:46 +00:00
dougt%netscape.com
849d297364 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
pavlov%netscape.com
1452245cdc fixing tomorrow's blocker today (115527). r=ben sr=mscott 2001-12-17 06:59:55 +00:00
pavlov%netscape.com
70cdcc571a lets try PR_STATIC_CALLBACK to please os/2 2001-12-16 09:31:39 +00:00
pavlov%netscape.com
2dcc233662 silly mac, get a real build system 2001-12-16 07:53:25 +00:00
pavlov%netscape.com
15273ea50a bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan 2001-12-16 06:13:17 +00:00
seawood%netscape.com
33ab7a9398 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
dougt%netscape.com
e24b13a938 Add IsMainThread to nsIThread. r=danm@netscape.com, sr=darin@netscape.com 112397 2001-11-30 00:06:32 +00:00