Commit Graph

27 Commits

Author SHA1 Message Date
Ehsan Akhgari
0fd9123eac 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
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
3bf02bff59 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
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Marco Bonardo
4cc111a3e7 Bug 720081 - Part 2: inline autocomplete should respect protocol and www prefix
r=dietrich
2012-06-01 14:38:39 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paolo Amadini
dbac832882 Bug 715355 - Deprecate and remove old style GUIDs. r=mak
--HG--
extra : rebase_source : 0d0a2ac825ed674075e8e85607a496668953c6c1
2012-04-12 12:27:57 +02:00
Marco Bonardo
c32289e3d8 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
ccd9b28b5b 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
985d738ddd Bug 613588 (Backend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:24 +01:00
Rafael Ávila de Espíndola
337801313e Bug 728653 - Crash in mozilla::storage::Connection::stepStatement. r=mak. 2012-02-22 09:00:28 -05:00
Marco Bonardo
96593ffaa9 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
36feb47a78 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
a455cab4a0 Bug 721603 - We should spin the loop after calling asyncClose in Database.cpp. r=mak.
--HG--
extra : rebase_source : 3defc8d4da90de3f1c4738ec7e56faff6afec521
2012-02-16 07:03:53 -05:00
Marco Bonardo
1906aa8860 Bug 717575 - Places should fallback to default cache size, excluding autocomplete.
r=dietrich
2012-02-13 16:47:21 +01:00
Michael Ventnor
def1df697f 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
4d931d2fc9 Bug 712427 - provide more information in SQL PRAGMA queries; r=mak 2012-01-05 18:46:35 -05:00
Marco Bonardo
fbd697da62 Bug 715268 - Downgrades may cause missing favicons GUIDs.
r=dietrich

--HG--
rename : toolkit/components/places/tests/migration/places_v10_from_v11.sqlite => toolkit/components/places/tests/migration/places_v10_from_v14.sqlite
rename : toolkit/components/places/tests/migration/test_current_from_v10_migrated_from_v11.js => toolkit/components/places/tests/migration/test_current_from_v10_migrated_from_v14.js
2012-01-05 11:43:29 +01:00
Vladan Djeric
b6e262ad86 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
d1886db5d3 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
b1d92bbf1a Bug 675996 - Part 1: extend moz_favicons with GUID to support Sync. r=mak 2011-12-01 13:58:19 -08:00
Marco Bonardo
0aa4a85c3a Bug 705509 - Crash in mozilla::places::Database::GetAsyncStatement.
r=dietrich
2011-11-29 14:13:09 +01:00
Marco Bonardo
26f5648ef9 Bug 700296 (Places) - Remove dynamic containers implementation from Places.
r=dietrich
2011-11-29 02:22:51 +01:00
Doug Turner
9a38269ada Bug 702037 - Merge Android History into mozilla-central. r=marco 2011-11-18 14:42:52 -08:00
Marco Bonardo
10ce09ec82 Bug 700417 - Further reduce cache_size in Places.
r=dietrich
2011-11-08 00:29:38 +01:00
Marco Bonardo
6bf016eada Bug 658305 - Use journal_size_limit on places.sqlite.
r=dietrich
2011-09-01 12:01:59 +02:00
Marco Bonardo
d5bdd788f6 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