982 Commits

Author SHA1 Message Date
peterv%propagandism.org
a0ddff3e86 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
git-svn-id: svn://10.0.0.236/trunk@238286 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-29 13:45:10 +00:00
peterv%propagandism.org
916fca8f47 Backing out once more to fix orange.
git-svn-id: svn://10.0.0.236/trunk@238262 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-28 12:49:33 +00:00
peterv%propagandism.org
dbbdaa7c7f Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
git-svn-id: svn://10.0.0.236/trunk@238261 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-28 11:14:43 +00:00
peterv%propagandism.org
0777c3b24f Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@238205 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 14:15:29 +00:00
peterv%propagandism.org
8e9fd20749 Part 1 of fix for bug 379718 (using trace API for reference counts) and bug 386912 (cycle collector faults after tracing "JS object but unknown to the JS GC"). r=igor/jst, sr=jst, a=blocking1.9+/M9 (for bug 386912).
git-svn-id: svn://10.0.0.236/trunk@238201 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-26 13:25:35 +00:00
reed%reedloden.com
3a2258a4f2 Bug 398435 - "PRBool misuse bugs in xpcom/" [p=taras r=bsmedberg a1.9=sayrer]
git-svn-id: svn://10.0.0.236/trunk@237940 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 23:26:53 +00:00
reed%reedloden.com
d55534a83d Backout taras's check-in for bug 398435 to help find Tp regression.
git-svn-id: svn://10.0.0.236/trunk@237840 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-17 00:31:02 +00:00
tglek%mozilla.com
2d15c72df2 Bug 398435. Fix prbool bugs in xpcom. r=bsmedberg a=sayrer
git-svn-id: svn://10.0.0.236/trunk@237797 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-15 23:40:10 +00:00
jag%tty.nl
6f53ddc9bb Fix bustage from previous checkin for bug 392055. Move #define of XPCOM_GLUE_AVOID_NSPR from nsISupportsImpl.h to nscore.h. r/a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@236872 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 20:33:33 +00:00
jag%tty.nl
51d0912366 Bug 392055: NS_ENSURE_SUCCESS should print out the error code.
Original patch by Shawn Wilsher (sdwilsh) <comrade693+bmo@gmail.com>, updated by me to handle the standalone xpcom glue case and to use printf safely. r=bsmedberg, sr=bzbarsky, a=dsicore.


git-svn-id: svn://10.0.0.236/trunk@236869 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 18:59:07 +00:00
gavin%gavinsharp.com
4d358c8e71 Back out bug 392055 due to bustage
git-svn-id: svn://10.0.0.236/trunk@236540 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 03:44:29 +00:00
sdwilsh%shawnwilsher.com
ca036147e5 Bug 392055 - NS_ENSURE_SUCCESS should print out the error code. r=benjamin, sr=bzbarsky, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236535 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 02:04:47 +00:00
asqueella%gmail.com
39b7b3764e fix bug 369214 (ASSERTION: The observer list changed while being iterated over!: 'count == mObservers.Count()' in libpr0n) by switching the observers list to use nsTObserverArray.
r=stuart
a=1.9 blocker


git-svn-id: svn://10.0.0.236/trunk@236504 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 19:40:57 +00:00
scott%scott-macgregor.org
8db44363b4 Bug 384979 --> move nsTextFormatter to the glue code so it can be used with frozen linkage.
Patch by prasad <prasad@medhas.org>
sr=bsmedberg
a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@236403 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 23:14:26 +00:00
roc+%cs.cmu.edu
2d2e1edfb6 Bug 394691. nsTArray should not do default initialization of POD elements. Also, switch nsAutoBuffer users to nsAutoTArray. patch by Chris Pearce, r=bsmedberg, sr=roc, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236258 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 23:12:10 +00:00
aaronr%us.ibm.com
32d7e0c8a3 forgot to fix a review comment for checkin I did for bug 395349
git-svn-id: svn://10.0.0.236/trunk@236232 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 18:45:28 +00:00
aaronr%us.ibm.com
61ad3bf57a move nsDeque .h and .cpp from xpcom/ds to xpcom/glue.
Bug 395349, r+a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@236229 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 18:14:35 +00:00
jwalden%mit.edu
b6f3bdf388 Bug 348748 - Cleanup from the handful of patches which have landed since the initial landing that have readded cast macros; I intend to remove the rest of the instances Very Soon, all but certainly before the M8 freeze, so the macro definitions can be removed, again all but certainly before the M8 freeze, if people are okay with them being removed. Still r=bsmedberg, a=no-functionality-change
git-svn-id: svn://10.0.0.236/trunk@233906 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 06:41:37 +00:00
bent.mozilla%gmail.com
5adef2ffb2 Bug 387584 - "ASSERTION: should not have buffer of zero size [@nsTArray_base::EnsureCapacity]". Patch by Sergey Yanovich <ynvich@gmail.com>. r+a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@233415 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 16:59:34 +00:00
bent.mozilla%gmail.com
67df6870e5 Bug 392493 - "Add forget() method to nsCOMPtr and nsRefPtr". r=dbaron, a=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@233253 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 23:37:22 +00:00
dbaron%dbaron.org
e6b3ee0c67 Make ExplainLiveExpectedGarbage print *all* references to JS objects with refcount imbalances. b=387224 r=graydon a=brendan
git-svn-id: svn://10.0.0.236/trunk@232899 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 00:48:26 +00:00
bzbarsky%mit.edu
c929b7fe04 Make HTML content objects use QI tables. Bug 389797, r+sr=jst, a=sicking.
git-svn-id: svn://10.0.0.236/trunk@232422 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 22:55:08 +00:00
philringnalda%gmail.com
1bbc58b2cf Bug 380783 - nsStringAPI.h: no equivalent of IsVoid (tell if string is null), patch by Mook <mook.moz+mozbz@gmail.com>, r=bsmedberg/dbaron, sr=dbaron, a1.9=bz
git-svn-id: svn://10.0.0.236/trunk@232323 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-18 03:48:17 +00:00
benjamin%smedbergs.us
500517011a Bug 350132 - Deadlock in JS/XPCOM proxy, r=brendan
git-svn-id: svn://10.0.0.236/trunk@232231 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 20:51:50 +00:00
benjamin%smedbergs.us
0a523ba2f7 Backing out bug 214164 due to non-libxul bustage... WTF? :-(
git-svn-id: svn://10.0.0.236/trunk@231681 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 21:41:43 +00:00
benjamin%smedbergs.us
6cd07e39fc Bug 214164 - Reduce nsTHashtable codesize by making sOps a class static. This patch was originally from bug 201034 r=jkeiser :-) and was backed out because GCC 3.3- were stupid. Since we don't support those any more, relanding a=bz
git-svn-id: svn://10.0.0.236/trunk@231657 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 14:40:35 +00:00
benjamin%smedbergs.us
0c44b4be00 Bug 386025 - Expose cycle-collection symbols, r=graydon
git-svn-id: svn://10.0.0.236/trunk@231529 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 14:34:05 +00:00
dtownsend%oxymoronical.com
a55b460df1 Bug 390143: NS_IMPL macros are broken for implementing 11 interfaces.
r=bsmedberg, a=wanted-1.9


git-svn-id: svn://10.0.0.236/trunk@231325 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 18:14:28 +00:00
cbiesinger%gmx.at
5a63d11e4d 386376 get services lazily in order to avoid recursive getService calls
r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@230818 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 23:47:33 +00:00
bzbarsky%mit.edu
0e47216a4d Reland part of the patch for bug 330420 which got backed out by the
table-driven QI landing.  Bug 387926, r+sr=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@230800 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 20:17:11 +00:00
dolske%mozilla.com
855c67878f Bug 388189: console spewage: "(all right -- a generic module!)". r=dougt, sr=benjamin
git-svn-id: svn://10.0.0.236/trunk@230042 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 19:00:14 +00:00
benjamin%smedbergs.us
0dd553de59 Bug 386445 - mac build stops with "multiple definitions of symbol nsINIParser::GetSrings", also changes to building mac dylibs with -single_module, r=luser,jag
git-svn-id: svn://10.0.0.236/trunk@229721 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 17:26:12 +00:00
neil%parkwaycc.co.uk
998c53a562 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]


git-svn-id: svn://10.0.0.236/trunk@229689 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 08:46:49 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
benjamin%smedbergs.us
c80e1713e7 Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi
git-svn-id: svn://10.0.0.236/trunk@229176 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 18:20:28 +00:00
dbaron%dbaron.org
47d4e63026 Keep the purple bit in sync with the purple buffer when suspect and forget calls are dropped on the floor. b=385548 r=graydon
git-svn-id: svn://10.0.0.236/trunk@228860 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 17:51:48 +00:00
dbaron%dbaron.org
56f5e018b9 Back out 385548 to try to fix test orange.
git-svn-id: svn://10.0.0.236/trunk@228823 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 05:26:39 +00:00
dbaron%dbaron.org
c81b5c4ffa Don't set the purple bit when suspect calls are dropped on the floor. b=385548 r=graydon
git-svn-id: svn://10.0.0.236/trunk@228818 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 04:47:40 +00:00
benjamin%smedbergs.us
56eb117779 Reverting bug 383167 again for linux test bustage :-(
git-svn-id: svn://10.0.0.236/trunk@228774 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 19:22:55 +00:00
benjamin%smedbergs.us
8a535f621a Bug 383167 trying again, reviews by luser and biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@228761 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 16:35:05 +00:00
benjamin%smedbergs.us
3afc7b95f7 Revert all of bug 383167 changes because they're not enough... going to try again later.
git-svn-id: svn://10.0.0.236/trunk@228702 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 18:41:00 +00:00
benjamin%smedbergs.us
5ac73b0169 Bug 383167 - Need buildid in an external file, r=luser sr=jst
git-svn-id: svn://10.0.0.236/trunk@228683 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-25 15:26:03 +00:00
benjamin%smedbergs.us
fb1f136eda Bug 384513 - make the visibility pragma checks aware of mach-o and not just ELF, and re-enable libxul by default, r=mento+shebs
git-svn-id: svn://10.0.0.236/trunk@228317 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 14:53:06 +00:00
kherron%fmailbox.com
04e01dbb96 Bug 177150 - Some mozilla-config.h defines require additional cflags for embedders. Patch by <mook.moz+mozbz@gmail.com>. r=benjamin, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@228175 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-16 20:02:15 +00:00
benjamin%smedbergs.us
0802e8071e Bustage followup from bug 381315
git-svn-id: svn://10.0.0.236/trunk@227016 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 15:37:59 +00:00
benjamin%smedbergs.us
61289e581a Bug 381315 - nsINIParser crashes when linked against a static CRT (opera profile migrator), r=dougt
git-svn-id: svn://10.0.0.236/trunk@227014 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 15:05:11 +00:00
Olli.Pettay%helsinki.fi
2f4adadc96 Bug 380674, Move nsTObserverArray from content/* to xpcom/*, r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@226796 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 19:39:14 +00:00
neil%parkwaycc.co.uk
10831ae6cc Bug 379339 StringBegins/EndsWith inconsistent with nsReadableUtils.cpp r=bsmedberg sr=darin
git-svn-id: svn://10.0.0.236/trunk@226038 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 11:09:54 +00:00
bent.mozilla%gmail.com
84bf540501 Bug 377995 - "Move nsCategoryCache to the XPCOM Glue". nsCategoryCache was initially created as part of Bug 315598 by Christian Biesinger <cbiesinger@gmx.at>. r=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@225089 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 13:53:48 +00:00
benjamin%smedbergs.us
3ef40e28af Bug 375449 - NS_InvokeByIndex not exported from xpcom, only from xpcom_core, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@224950 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 17:02:52 +00:00