Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
8c296bbcd4
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
Ehsan Akhgari
083aa756a9
Bug 758992 storage follow-up: make AsyncStatementSpinner's destructor virtual as it is derived from in Windows tests; r=me to fix bustage
2012-07-10 16:16:55 -04:00
Ehsan Akhgari
f0e8ed53c6
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (storage parts); r=mak
2012-06-19 23:30:51 -04:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Michael Wu
d8e503c38b
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
Marco Bonardo
a363c063f6
Bug 658135 - Use sqlite3_stmt_readonly to check if multiple async statements need a transaction.
...
r=sdwilsh
2011-05-24 00:15:01 +02:00
Phil Ringnalda
79b29477df
Bug 619623 - reorder the parts of the error messages so tbpl can spot the filename, r=sdwilsh, a=test
2010-12-18 19:30:46 -08:00
Shawn Wilsher
75c838117e
Fix orange on linux opt builds by ifdefing around the problem. a=orange :(
2010-11-17 14:42:13 -08:00
Shawn Wilsher
766e3809c2
Bug 599969 - Add a statement cache helper object that is exported by storage.
...
This adds a templated StatementCache helper object (with tests!) that allows
consumers of storage to easily cache and reuse statements. Consumers only need
to pass in the query string, and the rest is handled for them.
r=asuth
sr=rs
2010-11-08 11:42:29 -08:00
Marco Bonardo
f9a6abae66
Bug 547190 - AsInt64 (and other AsXXX cpp helpers) ignores GetInt64 failures. r=sdwilsh
2010-06-22 02:01:33 +02:00
Shawn Wilsher
6d9ba47ee5
Bug 578939 - Storage service cannot be initialized off of the main thread.
...
r=asuth
a=blocking2.0
2010-07-24 11:21:17 -07:00
Shawn Wilsher
688f6b6cd2
Bug 571599 - Use sqlite3_unlock_notify
...
sr=vlad
r=bent
r=asuth
2010-06-21 14:23:00 -07:00
Dan Witte
ddfc2078d1
Fix regression in mozIStorageStatement.bindUTF8StringParameter such that it accepts arbitrary octets by
...
not converting string types. b=544496, r=sdwilsh
2010-02-22 13:57:45 -08:00
Shawn Wilsher
385f2d5ef4
Bug 489481 - Get C++ tests for our C++ helper classes
...
This gets rid of the old, unused native code test file for storage. It adds two
more test files which test our C++ helper classes to ensure that they behave as
advertised. Also fixes a bug found in mozStorageTransaction that was uncovered
while writing these tests.
r=asuth
2009-05-13 12:53:57 -04:00