Commit Graph

47 Commits

Author SHA1 Message Date
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Andrew McCreight
e31800371a Bug 737075 - unmark gray strongly held observers implemented in JS. r=bsmedberg, smaug 2012-04-30 12:01:11 -07:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Jonas Sicking
ecae306c7e Bug 507114: Make the observer-service deal with do_QueryReferent causing observers to be added or removed. r=bsmedberg 2009-11-16 17:07:41 -08:00
7b34ae7602 Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
db8d572868 Bug 412320 - Try code-generation for QI impls, r=roc+luser 2008-01-25 09:14:48 -08:00
98de634631 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
benjamin@smedbergs.us
5aa9f28958 Bug 326491 - leaked observer service leaks things on shutdown - r=darin 2006-03-21 14:43:56 +00:00
darin@meer.net
2076aee8b1 backing out bsmedberg's patch for bug 326491 to fix bug 329505. 2006-03-09 03:14:32 +00:00
benjamin@smedbergs.us
288d64e6e8 Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin 2006-03-04 14:04:05 +00:00
bsmedberg@covad.net
568bee66ee Followup to bug 319024 - I double-reversed the list 2005-12-14 00:59:06 +00:00
bsmedberg@covad.net
206ac4490c Bug 319024 - Password manager does not remember data - regression from bug 316414 part 1 - observer enumerators need to hand out the strong-ref nsIObserver-implementing object, not the nsIWeakReference-implementing object, r=darin 2005-12-13 21:12:41 +00:00
bsmedberg@covad.net
5d529f32fe Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin 2005-11-30 18:51:27 +00:00
timeless@mozdev.org
3bc8a1937c Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
bsmedberg@covad.net
891aaa531a Backing out the rest of 316414 due to persistent orange. 2005-11-23 21:37:16 +00:00
bsmedberg@covad.net
a16de10da6 Bug 316414 part 1 - Add "xpcom-shutdown-threads" and "xpcom-shutdown-loaders" notifications during XPCOM Shutdown, r=darin 2005-11-23 14:32:18 +00:00
timeless@mozdev.org
adb3311d7f Bug 238963 nsObserverList::GetObserverList should return OOM on failure
r=dougt
2004-07-30 02:43:13 +00:00
gerv@gerv.net
c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
dbaron@dbaron.org
8c37890522 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
danm@netscape.com
85f691db2c just because an observer supports weak refs doesn't mean it is one. (found while leak hunting in) bug 166442 r=jag,jst 2002-09-11 02:35:26 +00:00
dougt@netscape.com
46ce738546 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
a60451bfd5 DEBUG_dougt -> DEBUG_dougt_xxx. a=dbaron 2002-03-18 23:40:36 +00:00
dbaron@fas.harvard.edu
8ee9f55c1e Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
bryner@netscape.com
5ba876f876 Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver. 2002-02-03 07:05:10 +00:00
alecf@netscape.com
b0ad56f08c just removing some dead code that blake spotted, followup to bug 110226 2001-11-29 00:07:42 +00:00
alecf@netscape.com
e52d03c7b3 notify observers in reverse order, so that if a observer removes itself when it gets notified, we don't forget to notify the next guy
r=dougt, sr=bienvenu bug 110226
2001-11-28 02:48:10 +00:00
alecf@netscape.com
b76c3a5bb6 debug stuff only - adding MOZ_COUNT_DTOR/CTOR and changing DEBUG to DEBUG_dougt
(last part r=dougt)
2001-11-27 23:52:05 +00:00
dougt@netscape.com
ce60c652be check for null. if the reference ever goes away, we crash 2001-10-27 03:06:09 +00:00
dougt@netscape.com
c20bbab51b Fixes bug 106313 (smoketest blocker). Allowing notification of weak references, regression caused by my nsIObserverService landing. sr=alecf@netscape.com. 2001-10-24 18:02:46 +00:00
dougt@netscape.com
19dc5b259f 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
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
sfraser@netscape.com
0013442a25 Fix bug 69729, nsIObserverList had bogus params. Also make it possible to CreateInstance one. r=jag, sr=alecf. 2001-03-03 01:24:36 +00:00
warren@netscape.com
90e6ffd47b Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
sspitzer@netscape.com
009bdceb39 fix warning for scc. 1999-12-24 03:42:54 +00:00
waterson@netscape.com
324cc46478 Bug 22212. Re-enable observer service weak ref stuff, now that a good fix is in for PageCycler. a=chofmann 1999-12-21 00:12:25 +00:00
waterson@netscape.com
2ea7483dd3 Reverting scc's changes until we can sort out the browser buster stuff. a=chofmann 1999-12-20 22:13:33 +00:00
scc@netscape.com
8ee744bc61 Enabling weak observer lists. Back this code out (if needed) by commenting out the |#define NS_WEAK_OBSERVERS| line since it also contains fixes. bug#18682, r=law, a={dp, chofmann} 1999-12-19 17:14:47 +00:00
rginda@netscape.com
9b557bd514 Fix for unix bustage, r=scc@netscape.com 1999-12-08 06:14:33 +00:00
scc@netscape.com
46f69c6914 Changes to make observer lists hold only weak references. This code is disabled by default; enabled by the symbol |NS_WEAK_OBSERVERS|. The code will remain disabled until two underlying ownership bugs are fixed: hanging the wallet service from something permanent, and finding the observer someone is registering through XPConnect that does not support weak references. bug#=18682; r=dp 1999-12-08 05:24:14 +00:00
dmose@mozilla.org
20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
cls@seawood.org
8a2396f0b5 Reorderd member initializers to remove silly warnings. 1999-09-12 12:02:03 +00:00
scc@netscape.com
6f62a47cac got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
warren@netscape.com
ea092d19e7 Fixed leak in nsObserverList. Used nsObjectHashtable in service mgr implementation. 1999-07-30 07:58:55 +00:00
dp@netscape.com
6dc8a899c6 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
neeti@netscape.com
d52a7b54a9 checking for null mObserverList 1999-04-21 19:36:41 +00:00
neeti@netscape.com
a06b8f9f7f implemented wrapper funtions to make GetObserverList private. 1999-04-20 14:50:47 +00:00
neeti@netscape.com
eab6d3ebd6 initial checkin for ObserverService api 1999-04-06 20:54:09 +00:00