Commit Graph

78 Commits

Author SHA1 Message Date
Landry Breuil
195915de31 Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02: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
Ehsan Akhgari
54408ad6c6 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 (places parts); r=mak 2012-06-19 23:58:39 -04:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Marco Bonardo
4c25b1bc26 Bug 720081 - Part 2: inline autocomplete should respect protocol and www prefix
r=dietrich
2012-06-01 14:38:39 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paolo Amadini
1ed190720b Bug 715355 - Deprecate and remove old style GUIDs. r=mak 2012-04-12 12:27:57 +02:00
Marco Bonardo
164c4e726e Bug 734351 - Fix a query syntax error that disallows populating the hosts table.
r=dietrich
2012-03-09 18:05:11 +01:00
Rafael Ávila de Espíndola
8b80ecd261 Bug 721603 - We should spin the loop after calling asyncClose in Database.cpp. r=mak. 2012-03-01 12:03:33 -05:00
Marco Bonardo
52fde4f398 Bug 613588 (Backend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:24 +01:00
Rafael Ávila de Espíndola
6696919114 Bug 728653 - Crash in mozilla::storage::Connection::stepStatement. r=mak. 2012-02-22 09:00:28 -05:00
Marco Bonardo
8edf3f0c71 Bug 722176 - Inline autocomplete becomes inactive after deleting an entry in location bar history.
r=dietrich
2012-02-22 12:23:14 +01:00
Marco Bonardo
4345da6dbd Bug 720258 - Inline autocomplete should only autocomplete URLs you've typed.
r=dietrich
2012-02-17 14:24:58 +01:00
Rafael Ávila de Espíndola
215195b6ee Bug 721603 - We should spin the loop after calling asyncClose in Database.cpp. r=mak. 2012-02-16 07:03:53 -05:00
Marco Bonardo
16b91a8739 Bug 717575 - Places should fallback to default cache size, excluding autocomplete.
r=dietrich
2012-02-13 16:47:21 +01:00
Michael Ventnor
711543c044 Bug 699751 - Change schema for new inline autocomplete.
Original patch by Michael Ventnor, further improved by David Dahl <ddahl@mozilla.com>.
r=mak
2012-01-19 12:31:23 +01:00
Nathan Froyd
1c2ba92063 Bug 712427 - provide more information in SQL PRAGMA queries; r=mak 2012-01-05 18:46:35 -05:00
Marco Bonardo
769ea4fd19 Bug 715268 - Downgrades may cause missing favicons GUIDs.
r=dietrich
2012-01-05 11:43:29 +01:00
Vladan Djeric
227402dac2 Bug 704855. Reduce fsyncs in Places & create/update root bookmarks in Database.cpp. r=mak 2011-12-13 12:52:06 -05:00
Marco Bonardo
2a86a1c976 Bug 707945 - Remove the keywords trigger since it's a useless perf hog.
r=dietrich
2011-12-07 21:56:23 +01:00
Richard Newman
0e81bf35e1 Bug 675996 - Part 1: extend moz_favicons with GUID to support Sync. r=mak 2011-12-01 13:58:19 -08:00
Marco Bonardo
0353ed8366 Bug 705509 - Crash in mozilla::places::Database::GetAsyncStatement.
r=dietrich
2011-11-29 14:13:09 +01:00
Marco Bonardo
5020f95f55 Bug 700296 (Places) - Remove dynamic containers implementation from Places.
r=dietrich
2011-11-29 02:22:51 +01:00
Doug Turner
bb36581059 Bug 702037 - Merge Android History into mozilla-central. r=marco 2011-11-18 14:42:52 -08:00
Marco Bonardo
e447b6d344 Bug 700417 - Further reduce cache_size in Places.
r=dietrich
2011-11-08 00:29:38 +01:00
Marco Bonardo
9f1691c2df Bug 658305 - Use journal_size_limit on places.sqlite.
r=dietrich
2011-09-01 12:01:59 +02:00
Marco Bonardo
50a7797537 Bug 695554 - Split a Database class out of the History service. (expected fake Ts_shutdown regressions!)
r=dietrich
2011-10-27 11:11:34 +02:00