benjamin%smedbergs.us
3968e1b42d
Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated
...
git-svn-id: svn://10.0.0.236/trunk@246221 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 20:39:23 +00:00
benjamin%smedbergs.us
cc4193bab8
Bug 412320 - Try code-generation for QI impls, r=roc+luser
...
git-svn-id: svn://10.0.0.236/trunk@243992 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-25 17:14:53 +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
philringnalda%gmail.com
b3d90c5ada
Bug 374754 - nsCategoryManager::AddCategoryEntry should notify about removal of the previous value, patch by Wladimir Palant <trev.moz@adblockplus.org>, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@227805 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-11 06:11:01 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
darin%meer.net
2e0a1b5e80
fixes bug 329450 "EnumerateCategory enumerates deleted entries" patch by chpe@gnome.org, r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@191923 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 20:48:44 +00:00
bsmedberg%covad.net
873535eb66
Bustage fix, bug 312000
...
git-svn-id: svn://10.0.0.236/trunk@182099 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 18:20:44 +00:00
bsmedberg%covad.net
ce36b7427e
Bug 312000 - XPCOM impl of nsICategoryManager doesn't obey the IDL comments, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@182097 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-12 18:01:03 +00:00
darin%meer.net
77b3789625
fixes bug 246085 "fire category manager notifications on the main thread only" patch by chpe@gnome.org, r=dougt, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@180573 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 17:13:32 +00:00
cbiesinger%web.de
0f728f0e37
bug 246085 nsCategoryManager should notify observers when items are added/removed from categories
...
r=dougt sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@174800 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-17 21:07:47 +00:00
bsmedberg%covad.net
8014e29410
Bug 297315 - sorts the XPCOM implementation of nsICategoryManager.enumerateCategory alphabetically r=darin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@174516 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-13 18:39:19 +00:00
bryner%brianryner.com
e1daca3ce3
Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
...
git-svn-id: svn://10.0.0.236/trunk@165757 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:48:45 +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
jst%mozilla.jstenback.com
6629ad58f7
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
bryner%brianryner.com
1bd144eac3
Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151669 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 01:01:19 +00:00
bryner%brianryner.com
c81aa21722
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
timeless%mozdev.org
9d9cca287d
Bug 209808 Mismatched delete / delete [] in nsCategoryManager.cpp
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@143875 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 18:55:35 +00:00
bsmedberg%covad.net
e3c168a346
Bug 193031 fix category manager to use aPersist parameter. Bug 54639 Category Manager is not thread-safe. Bug 208437 separate threadsafe nsBaseHashtable into super-class nsBaseHashtableMT. r=dougt/alecf I know Sun Workshop builds are still broken... working on it.
...
git-svn-id: svn://10.0.0.236/trunk@143853 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 11:26:27 +00:00
alecf%netscape.com
ab3b9db8cd
fix for bug 196210, component manager is malloc-happy:
...
- use custom non-allocating CID formatter when writing out compreg.dat
- arena allocate category names and keys
- pass around string lengths so we don't keep calling strlen
r=dougt
git-svn-id: svn://10.0.0.236/trunk@139432 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 05:07:24 +00:00
dougt%netscape.com
6684eeb0e6
xpcom is unable to always load .js component file. r=ssu, sr=alecf, a=rjesup, b=190560 build/nsXPComInit.cpp
...
git-svn-id: svn://10.0.0.236/trunk@137042 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 22:07:53 +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
alecf%netscape.com
71b2ee7677
fix for bug 173291 - use nsISimpleEnumerator for nsHashtableEnumerator, rather than nsIEnumerator
...
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@133780 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 22:40:10 +00:00
dougt%netscape.com
41176a6325
fix to make unregistering a category work. r=rginda, sr=dveditz, b=177176 m a=robert@ocallahan.org
...
git-svn-id: svn://10.0.0.236/trunk@132668 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 00:57:40 +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
alecf%netscape.com
e3b2da9c83
bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
...
r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +00:00
alecf%netscape.com
573e11653f
bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
...
nsISupportsString -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
dougt%netscape.com
ecdd8ab65f
Fixes the following:
...
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final. This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface. This should land for 1.1b since users of the current category manager will have to update their components.
157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.
157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null. It is a bandaide fix as the real problems involves retooling the directory enumerator.
157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do. The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.
r/sr=alecf@netscape.com , rpotts@netscape.com . a=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125444 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:09:10 +00:00
dougt%netscape.com
3d5dfe1810
fixing a uninitialized var
...
git-svn-id: svn://10.0.0.236/trunk@123381 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 03:58:10 +00:00
dougt%netscape.com
dffd6e4f8a
Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@123350 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 21:33:05 +00:00
timeless%mac.com
7b921259da
Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
...
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
jaggernaut%netscape.com
238eb280fb
Bug 53057: [API] turn off implicit |CharT*| conversion operators for nsCString, rr=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@106157 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:06:49 +00:00
dougt%netscape.com
cf60fc042e
nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
...
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
dougt%netscape.com
2367cd653a
API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
...
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
scc%mozilla.org
90f810b66a
bug #85271 : sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
...
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
valeski%netscape.com
b75b28be35
r=chak, sr=vidur, a=tor. 82000. removing unused arg from nsICategoryManager.
...
git-svn-id: svn://10.0.0.236/trunk@96452 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 21:25:57 +00:00
rayw%netscape.com
d9228441a4
Bug 37275, Changing value of all progids, and changing everywhere a progid
...
is mentioned to mention a contractid, including in identifiers.
r=warren
git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
scc%mozilla.org
a1ad96435f
bug #49895 : checking in a slight enhancement on Patrick Beards patch
...
git-svn-id: svn://10.0.0.236/trunk@77762 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 11:42:43 +00:00
warren%netscape.com
e5706a7236
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@75975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 06:19:37 +00:00
dougt%netscape.com
600b867627
Changes from snizinsk@us.ibm.com
...
visualage fixes to xpcom for OS/2.
git-svn-id: svn://10.0.0.236/trunk@69302 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:09:58 +00:00
mccabe%netscape.com
5adc001389
change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413
...
git-svn-id: svn://10.0.0.236/trunk@67512 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:51:52 +00:00
pavlov%netscape.com
4af9c6adc5
string api changes r=scc
...
git-svn-id: svn://10.0.0.236/trunk@67088 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:40:45 +00:00
dveditz%netscape.com
4eddb0ee15
Bug 23941 speed up install on Mac, r=cathleen, a=jar;
...
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;
git-svn-id: svn://10.0.0.236/trunk@61370 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-20 03:12:59 +00:00
dveditz%netscape.com
9f13883da5
registry speed ups (part of 12817)
...
git-svn-id: svn://10.0.0.236/trunk@61112 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 07:45:20 +00:00
dveditz%netscape.com
121072fe86
New wstring nsIRegistry interface, bug 23859;
...
new version registry name for mozilla, bug 10533;
log now created by install wizards too, bug 26309;
downloaded file cleanup moved into manager, bug 24249;
scaffolding for bug 12817 and 12361 (conditional autoreg)
git-svn-id: svn://10.0.0.236/trunk@60771 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 01:32:12 +00:00
dveditz%netscape.com
b0239d13cc
closing the file used by the registry service is evil
...
git-svn-id: svn://10.0.0.236/trunk@60644 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 17:32:19 +00:00
jdunn%netscape.com
f14c3e4d42
r= scc@netscape.com
...
The AIX compiler doesn't like the declaration of variables in an IF statement
so I have broken them out.
git-svn-id: svn://10.0.0.236/trunk@60059 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 03:34:27 +00:00
scc%netscape.com
88c5597bf2
Oops, need to call |initialize()|. More comments. Fix over-zealous |AddCategoryEntry()|. r=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@59934 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 08:26:13 +00:00
sspitzer%netscape.com
e87701fbba
fix the cookie / news component registry problem.
...
the problem was mRegistry was null, so we'd fail when calling persist().
git-svn-id: svn://10.0.0.236/trunk@59930 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 05:43:38 +00:00
sspitzer%netscape.com
8a2da4b1ed
prevent crash, return if mRegistry is null.
...
git-svn-id: svn://10.0.0.236/trunk@59929 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 05:25:38 +00:00