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
seawood%netscape.com
7733357d51
Rename 'install' build phase to 'libs'.
...
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
wtc%netscape.com
a03f097dfb
Bugzilla bug 109389: changed the PLEvent event receiver window class
...
name to say "XPCOM" instead of "NSPR". r=dougt. sr=alecf.
2001-11-14 01:37:41 +00:00
dbaron%fas.harvard.edu
8cd8d91750
Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
2001-11-07 06:24:10 +00:00
seawood%netscape.com
be10c3b1a8
Backing out fix for remote mach-o builds as it left mach-o builds fragile.
...
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
2001-11-03 03:29:05 +00:00
seawood%netscape.com
8a2a775382
Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
...
Bug #107696 r=mozbot
2001-11-01 00:54:48 +00:00
pavlov%netscape.com
594f5ea963
fixing bug 107106 r=valeski sr=jst
2001-11-01 00:05:19 +00:00
seawood%netscape.com
9b5ae05e33
Landing the rest of the mach-o OSX changes.
...
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
dougt%netscape.com
0a62d4e8d5
99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
2001-10-22 22:01:27 +00:00
dougt%netscape.com
d18d7e2b17
nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
2001-10-19 20:52:59 +00:00
gerv%gerv.net
4e12e44b2f
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
d1a7bfa843
One module per line for REQUIRES. r=/sr=alecf
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223
Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
2001-09-18 13:41:47 +00:00
alecf%netscape.com
62424ee7b2
Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
2001-09-17 19:06:35 +00:00
alecf%netscape.com
c20ca03a02
dumb
...
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
cls%seawood.org
80edcd8228
Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
...
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 04:18:27 +00:00
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