Граф коммитов

370 Коммитов

Автор SHA1 Сообщение Дата
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