293 Commits

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


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


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

Bug 230092, r=danm, sr=darin


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


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


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


git-svn-id: svn://10.0.0.236/trunk@146931 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-15 22:02:35 +00:00
mkaply%us.ibm.com
790a597b69 #215457
r=dougt, sr=bryner, a=dbaron
Patch v2 - do event queue creation lazily


git-svn-id: svn://10.0.0.236/trunk@146052 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-15 13:59:39 +00:00
brendan%mozilla.org
026e7fdb90 Fix Timer re-init to drop any old references (215163, sr=dbaron, r?pavlov).
git-svn-id: svn://10.0.0.236/trunk@145637 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 00:37:43 +00:00
danm-moz%comcast.net
64b4daa656 debug only: warn when stacks of event queues get surprisingly deep. should speed future attempts to debug problems like bug 206947. r=brendan
git-svn-id: svn://10.0.0.236/trunk@145575 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 00:01:20 +00:00
timeless%mozdev.org
6582983e85 Bug 204407 cleanup warnings in nsToolkit.cpp and plevent.c
patch by sergei_d@fi.tartu.ee r=timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@143724 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 04:06:04 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
dougt%meer.net
4efe4328b7 Lazy allocation of PLEvent's lock and condvar r=darin, b=204962
git-svn-id: svn://10.0.0.236/trunk@142868 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:26:38 +00:00
timeless%mozdev.org
1b54d109d2 Bug 205608 Warning: C++ style comments are not allowed in ISO C89
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@142860 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:18:18 +00:00
timeless%mozdev.org
f7b26c1d78 Bug 200424 nsEventQueueServiceImpl::GetThreadEventQueue might return NS_OK w/ null out [@ nsMemoryImpl::FlushMemory]
r=darin


git-svn-id: svn://10.0.0.236/trunk@140702 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 15:56:37 +00:00
alecf%netscape.com
8d4f1935a6 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@140696 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 15:10:37 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
brendan%mozilla.org
401bba5324 White-space, bracing, and 80th column style fixes, r=self.
git-svn-id: svn://10.0.0.236/trunk@140188 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 01:38:53 +00:00
mkaply%us.ibm.com
c4dd287ca5 #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing


git-svn-id: svn://10.0.0.236/trunk@139989 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 22:26:41 +00:00
cls%seawood.org
7eb198d87a 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


git-svn-id: svn://10.0.0.236/trunk@139321 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 08:35:57 +00:00
timeless%mozdev.org
3c70e56c97 Bug 190800 PL_CreateNativeEventQueue, PL_CreateMonitoredEventQueue should take const char*
r=dougt sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@138343 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 17:43:22 +00:00
mkaply%us.ibm.com
547b93f559 #194225
r=dougt, sr=blizzard, a=asa
OS/2 only - crash in helpers - destroy window, don't send a close message


git-svn-id: svn://10.0.0.236/trunk@138113 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-21 14:52:06 +00:00
darin%netscape.com
2b1d90b6ed modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
git-svn-id: svn://10.0.0.236/trunk@136572 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:15:14 +00:00
darin%netscape.com
4604ef4008 new files for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
git-svn-id: svn://10.0.0.236/trunk@136568 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 01:27:53 +00:00
mkaply%us.ibm.com
1b21e9b2d3 OS/2 version of 119693 - thanks doug
git-svn-id: svn://10.0.0.236/trunk@136372 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 20:42:05 +00:00
timeless%mozdev.org
ee8e8e1965 Fixing the comment for bug 119693. r=dougt
git-svn-id: svn://10.0.0.236/trunk@136367 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 19:35:28 +00:00
dougt%netscape.com
527c6ae07b Fixing topcrash. r=darin@netscape.com, sr=jst@netscape.com, b=119693
git-svn-id: svn://10.0.0.236/trunk@136345 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 23:50:01 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
cbiesinger%web.de
fdf19ebdf9 187309 r=dougt sr=bzbarsky convert out param of nsIProcess::Run to a return value
git-svn-id: svn://10.0.0.236/trunk@135791 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-02 21:00:31 +00:00
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
ccarlen%netscape.com
d139bc20b4 Bug 44678 - On Mac, use a custom Carbon event to signal that the PLEvent queue needs to be processed. r=sdagley/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@135497 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 15:25:57 +00:00
brendan%mozilla.org
ba130297b3 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.


git-svn-id: svn://10.0.0.236/trunk@134739 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 00:57:20 +00:00
bzbarsky%mit.edu
517741de81 Fix assertion from out-of-bounds array access. Bug 175440, r=timeless, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@133492 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 17:43:33 +00:00
dougt%netscape.com
68814c1e49 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
git-svn-id: svn://10.0.0.236/trunk@133374 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 04:46:58 +00:00
seawood%netscape.com
f9eb727003 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


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
kmcclusk%netscape.com
3db5f70791 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
git-svn-id: svn://10.0.0.236/trunk@130871 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 03:04:22 +00:00
kmcclusk%netscape.com
1fc89bc8e9 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
git-svn-id: svn://10.0.0.236/trunk@130007 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 02:53:05 +00:00
dougt%netscape.com
0c5cc985f5 Fixes compiler warnings. b=168396, r=dougt, sr=dveditz. patch by walk84@yahoo.com
git-svn-id: svn://10.0.0.236/trunk@129545 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 19:55:02 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00