Ehsan Akhgari
95a1475bfa
Bug 856455 - Make nsCOMArray::SetCapacity return void; r=bsmedberg
2013-03-31 16:06:18 -04:00
Trevor Saunders
a57f718cc9
bug 819936 - remove NS_NewArrayEnumerator overload for nsISupportsArray r=bz, bsmedberg
2012-12-09 05:04:21 -05: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
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Patrick Wong
c9bcb02a6e
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
478ad1a412
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
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
Benjamin Smedberg
0e824d90bb
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
350429b0ba
Bug 562525 - nsPropertiesParser::FinishValueState potentially uses a variable uninitialized dependent on a member of a class in a file with threadsafe classes, r=bsmedberg
2010-04-28 17:55:00 -07:00
Benjamin Smedberg
e66978d628
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
1b55360c07
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
8a6d2aede7
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
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
fc92934d75
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
bce62efac8
Backout fix for bug 365345 due to regressions. a=bsmedberg on IRC
2007-04-26 11:56:30 -07:00
e25c1c6228
Allow property values to have (escaped) trailing and leading whitespace. Bug 365345, r+sr=darin
2007-04-25 07:48:12 -07:00
0f08b75950
Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
2007-03-27 08:33:38 -07:00
[email protected]
fbac713199
Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin
2006-08-08 18:18:50 +00:00
[email protected]
2a75d19e6c
Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin
2006-07-21 16:28:51 +00:00
[email protected]
aae44b57d9
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
[email protected]
1be4ebec36
Fixes mem leak in nsPersistentProperties::Enumerate. Bug 305208. r=dougt, sr=bsmedberg, [email protected]
2005-11-16 21:27:11 +00:00
[email protected]
c0cd46fc51
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
[email protected]
1209df8bea
Bug 219493 - nsPersistentProperties doesn't handle multi-line properties
...
files correctly. This is a better patch than the original one.
[email protected] , [email protected]
2003-09-25 16:28:06 +00:00
[email protected]
11f3ab3ca4
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.
[email protected] , [email protected]
2003-09-22 16:28:55 +00:00
[email protected]
365c98466c
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
[email protected]
098ad9e408
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
[email protected]
80b5831587
fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
2003-04-04 15:10:37 +00:00
[email protected]
462c8a3080
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
[email protected]
89fe431454
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
[email protected]
5cc6096127
#190732
...
r=mkaply, sr=alecf, a=asa
From ccarlen - check parser state at end of file
2003-02-03 14:59:39 +00:00
[email protected]
1c3351e568
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
[email protected]
4687ab1645
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
[email protected]
59162afb61
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
[email protected]
41fee50eff
oops, warnings fixes from previous checkin
2003-01-22 05:46:07 +00:00
[email protected]
15271222f3
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
[email protected]
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
[email protected]
4ce612e719
fix for bug 173291 - use nsISimpleEnumerator for nsHashtableEnumerator, rather than nsIEnumerator
...
r=dougt, sr=jag
2002-11-13 22:40:10 +00:00
[email protected]
46ce738546
166917. Clean up xpcom SDK includes. [email protected] , [email protected] , [email protected]
2002-09-07 17:13:19 +00:00
[email protected]
2ddf0f0166
fix for bug 164575 - clean nsIPersistentProperties interface to reduce UTF8/UCS2 conversions
...
r=dougt, sr=darin
2002-08-30 17:13:34 +00:00
[email protected]
517b4e843b
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
[email protected]
363548ab5c
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
[email protected]
a687b482fa
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
[email protected]
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
[email protected]
0467433db5
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
2001-12-16 11:58:03 +00:00
[email protected]
f49275bd79
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
[email protected]
1d843feacf
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
[email protected]
c5441aa822
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
[email protected]
a29a08f141
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
[email protected]
58d409fba9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00