Andrew McCreight
00f75cda98
Bug 1151541, part 2 - Fix mode lines in xpcom/. r=froydnj
2015-04-09 10:25:05 -07:00
Andrew McCreight
395896e185
Bug 1150916 - Be sure we aren't iterating over a hashtable while it is modified in nsObserverService::UnmarkGrayStrongObservers(). r=froydnj
...
The QI in xpc_TryUnmarkWrappedGrayObject() might somehow trigger a GC,
which in turn could destroy an observer, that would in turn call
RemoveObserver() which mutates the hash table that we're enumerating.
2015-04-08 17:16:30 -07:00
Randall Barker
2ee4f9a372
Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd
2015-04-03 15:52:00 +02:00
Wes Kocher
b4465e0af8
Backed out changeset 0f5799df920b (bug 1093934) for various test failures CLOSED TREE
2015-04-02 13:42:34 -07:00
Randall Barker
762a6748a9
Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC r=froydnj
2015-04-02 12:12:37 -07:00
Birunthan Mohanathas
779b87ce50
Bug 1022456 - Convert xpcom/ds/ to Gecko style. r=froydnj
2014-07-09 08:15:21 -07:00
Birunthan Mohanathas
eeb9aaaa94
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nathan Froyd
66b65565bd
Bug 901976 - don't null-check |new X| in xpcom/; r=bsmedberg
2013-08-05 11:16:53 -04:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
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