Commit Graph

62 Commits

Author SHA1 Message Date
Patrick Wong
4ccd1d2fbb Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Benjamin Smedberg
c611ebcd81 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
timeless@mozdev.org
f02c41da0a Bug 562525 - nsPropertiesParser::FinishValueState potentially uses a variable uninitialized dependent on a member of a class in a file with threadsafe classes, r=bsmedberg
--HG--
extra : rebase_source : 56cb882be1612a7975f1d845e7a8b96e2ab0d060
2010-04-28 17:55:00 -07:00
Benjamin Smedberg
470d4ccbfb Bug 469072 - Annotations in XPCOM, and a couple related code fixups, to make outparams spit out useful warnings, r=bent 2008-12-11 15:13:52 -05:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Michal Novotny
b3c9502fcb Bug 121341. Switch nsPersistentProperties::Load from reading a char at a time to reading a block at a time, with a state-machine parser and all. r=bsmedberg, sr=bzbarsky 2008-08-07 17:05:19 -04:00
jwalden@mit.edu
6d7584839a 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
smontagu@smontagu.org
3c0f9b5c0b Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin. Recheckin including fix for bug 378839, r=bsmedberg, sr=biesi 2007-04-29 10:51:38 -07:00
smontagu@smontagu.org
9e38adda2c Backout fix for bug 365345 due to regressions. a=bsmedberg on IRC 2007-04-26 11:56:30 -07:00
smontagu@smontagu.org
93a55d9d3b Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin 2007-04-25 07:48:12 -07:00
dbaron@dbaron.org
d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
benjamin%smedbergs.us
ef6b6ab3b4 Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin 2006-08-08 18:18:50 +00:00
benjamin%smedbergs.us
c9125873ca Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin 2006-07-21 16:28:51 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
dougt%meer.net
d5b7ea310f Fixes mem leak in nsPersistentProperties::Enumerate. Bug 305208. r=dougt, sr=bsmedberg, patch=chpe@gnome.org 2005-11-16 21:27:11 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
pkw%us.ibm.com
bbef938929 Bug 219493 - nsPersistentProperties doesn't handle multi-line properties
files correctly. This is a better patch than the original one.
r=darin@meer.net, sr=alecf@flett.org
2003-09-25 16:28:06 +00:00
pkw%us.ibm.com
f47146b27c Bug 219493 - nsPersistentProperties doesn't handle multi-line properties
files correctly. Checking in the first patch in this bug to ensure there
are no major regressions.
r=darin@meer.net, sr=alecf@flett.org
2003-09-22 16:28:55 +00:00
brendan%mozilla.org
b7cdb7debb Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
timeless%mozdev.org
ffc2007ca1 Bug 211277 nsPersistentProperties::nsPersistentProperties doesn't check the return value of PL_DHashTableInit
r=alecf sr=dbaron
2003-07-14 21:07:31 +00:00
alecf%netscape.com
6c75920da1 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser 2003-04-04 15:10:37 +00:00
alecf%netscape.com
5b7536c806 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
alecf%netscape.com
1e643be2a6 back out 121341 and all subsequent regression fixes - there are still regressions and this just isn't worth being broken for 1.3.. I'll check this back in when 1.4a comes along and we have more time in the milestone to catch regressions.
a=dbaron
2003-02-04 05:43:57 +00:00
mkaply%us.ibm.com
aed4ca0fbf #190732
r=mkaply, sr=alecf, a=asa
From ccarlen - check parser state at end of file
2003-02-03 14:59:39 +00:00
alecf%netscape.com
a2468ecc58 fix for bug 190283 - save unicode values stored like \u4ea2 after decoding them.
r=jst, sr=bzbarsky, a=asa
2003-01-25 22:13:48 +00:00
sspitzer%netscape.com
4ba4e22e66 fix for #190215. multi-line properties in string bundles don't work on win32.
this isn't a blocker, but it's bad enough to take for the respin.
patch by alecf.  r/sr=sspitzer, a=kyle
2003-01-24 21:47:53 +00:00
alecf%netscape.com
084da5178b fix for bug 190256 - string bundles broken on escaped characters, and when keys cross buffer boundaries
patch by bzbarsky, r=alecf, sr=jst, a=dbaron
2003-01-23 15:48:19 +00:00
alecf%netscape.com
271b44ce34 oops, warnings fixes from previous checkin 2003-01-22 05:46:07 +00:00
alecf%netscape.com
ab070553d6 fix for bug 121341 - make nsPersistentProperties::Load sane. don't make a virtual call for every character read in from the .properties file! 2003-01-22 05:15:40 +00:00
dbaron%dbaron.org
b9083989bb 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
alecf%netscape.com
de2d41b288 fix for bug 173291 - use nsISimpleEnumerator for nsHashtableEnumerator, rather than nsIEnumerator
r=dougt, sr=jag
2002-11-13 22:40:10 +00:00
dougt%netscape.com
68faeb5241 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
alecf%netscape.com
2dded12ab7 fix for bug 164575 - clean nsIPersistentProperties interface to reduce UTF8/UCS2 conversions
r=dougt, sr=darin
2002-08-30 17:13:34 +00:00
dougt%netscape.com
4f8934ad1d Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec. 2002-08-26 20:36:44 +00:00
alecf%netscape.com
3b3212ff35 ack! fix check of entries to use PL_DHASH_ENTRY_IS_FREE() from my previous checkin to prevent tree closure tomorrow! 2002-06-26 03:43:43 +00:00
alecf%netscape.com
8aff49891f fix for bug 153754 - make nsPersistentProperties (and thus string bundles) use PLDHash, saving some 1100+ allocations at startup.
r=dougt, sr=dveditz
2002-06-26 01:33:07 +00:00
dbaron%fas.harvard.edu
59892aa65e 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
jaggernaut%netscape.com
97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
alecf%netscape.com
917e1454a4 fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter 2001-12-04 01:10:43 +00:00
dbaron%fas.harvard.edu
8cd8d91750 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
bzbarsky%mit.edu
27a85339ae Make nsICharsetAlias::GetPreferred() and nsICharsetAlias::Equals() take
nsAStrings instead of nsStrings.  Bug 102096, r=ftang,jag. sr=shaver
2001-09-30 04:01:15 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
rbs%maths.uq.edu.au
6b0aa21c77 Remove a gratuitous redundant test. b=67438 2001-05-16 03:40:29 +00:00
tao%netscape.com
a05eac8f31 51327: mozilla doesn't parse java properties files correctly
patch from erik, r=tao,sr=alecf
2000-12-15 00:52:09 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00