Commit Graph

78 Commits

Author SHA1 Message Date
Marco Bonardo
f52a821fd6 Bug 1170719 - OMT crash in nsXPCWrappedJS::AddRef() due to re-creating database after shutdown. r=Yoric
--HG--
extra : commitid : 4mhysTKX8XL
2015-07-25 11:07:24 +02:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Dragana Damjanovic
7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Phil Ringnalda
900c693e30 Merge m-c to m-i 2015-07-03 19:15:06 -07:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Timur Valeev
1bb05cadb4 Bug 1169753 - Remove favicons GUIDs. r=mak
--HG--
rename : toolkit/components/places/tests/migration/test_current_from_v16.js => toolkit/components/places/tests/migration/test_current_from_v11.js
extra : rebase_source : 47f69e11676926b5a4e3a8053596df41d9010aee
2015-07-01 11:50:34 +03:00
Ryan VanderMeulen
2e35b1209f Merge inbound to m-c. a=merge 2015-05-29 09:32:46 -04:00
Timur Valeev
e14fb47c21 Bug 1127763 - Some database might be missing the favicons guid index. r=mak 2015-05-27 15:52:34 +03:00
David Rajchenbach-Teller
38a8ed9399 Bug 1043863 - Use AsyncShutdown to shutdown Places. r=mak
--HG--
extra : rebase_source : 3a593651ac1fc995e01d00af037aaac8b81c7c32
2015-05-05 12:44:16 +02:00
Marco Bonardo
9e8248e6b2 Bug 1154877 - Content process shouldn't use the Places Database. r=billm 2015-04-29 10:57:24 +02:00
Ryan VanderMeulen
994a9a8830 Backed out changesets ddad4d54c31e and ef85fdfd2fc7 (bug 1043863) for making browser_thumbnails_storage.js permafail on WinXP opt. 2015-05-26 14:05:18 -04:00
David Rajchenbach-Teller
58f0e147c3 Bug 1043863 - Use AsyncShutdown to shutdown Places. r=mak
--HG--
extra : transplant_source : 0%06m%9A%9D%9C.%CD%EB%D4%AC%93%90%B2%AB%DB%8B%18%9B%13
2015-05-05 12:44:16 +02:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Marco Bonardo
bb8a7ba0a8 Bug 1146299 - Fix bookmark keywords, after the previous schema migration broke most of them. r=ttaubert 2015-03-24 16:22:29 +01:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Marco Bonardo
941b1d7ea2 Bug 1125113 - Change the keywords schema associating them with uris. r=ttaubert 2015-03-20 09:39:20 +01:00
Asaf Romano
db963fd7aa Bug 1107308 - Round dateAdded and lastModified values to milliseconds precision in places cpp components. r=mak 2014-12-04 14:09:48 -08:00
Marco Bonardo
0cab188e85 Bug 1071505 - use constant GUIDs for Places roots. r=mano 2014-11-04 17:40:33 +01:00
Marco Bonardo
922edae9ac bug 1047811 - Part 2 - Use async transactions in Places. r=Mano 2014-09-10 12:46:17 +02:00
Carsten "Tomcat" Book
fd40edf863 Backed out changeset 925427a6d0b1 (bug 1047811) 2014-09-10 13:07:12 +02:00
Marco Bonardo
0007621071 bug 1047811 - Part 2 - Use async transactions in Places. r=Mano 2014-09-10 12:46:17 +02:00
Althaf Hameez
679d802ec0 Bug 1017502 - Add a foreign_count column to moz_places r=mak 2014-08-01 16:53:02 +02:00
Benoit Jacob
210693da34 Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
Birunthan Mohanathas
58641805f1 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Marco Bonardo
bf86937455 Bug 914070 - Part 2 - nullify mDBConn at setClosedState and provide an isClosed helper. r=asuth 2014-04-24 11:54:12 +02:00
Drew Willcoxon
eceebb9622 Bug 911307 - Reflect changes to top sites immediately in about:newtab (part 1, Places patch). r=mak 2014-03-28 23:30:04 -07:00
Phil Ringnalda
128149306e Backed out 2 changesets (bug 911307) for frequent timeouts in browser_newtab_perwindow_private_browsing.js
Backed out changeset 70638b7c97f1 (bug 911307)
Backed out changeset 3951f7e82b4c (bug 911307)
2014-03-29 12:13:11 -07:00
Drew Willcoxon
56944f3c4b Bug 911307 - Reflect changes to top sites immediately in about:newtab (part 1, Places patch). r=mak 2014-03-28 23:30:04 -07:00
Kyle Huey
817b5ccbd9 Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg 2014-03-15 12:00:17 -07:00
Marco Castelluccio
a3afb8e59d Bug 762083 - Fix default database size. r=mak 2014-01-13 09:02:40 -05:00
Ehsan Akhgari
1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Trevor Saunders
d43c55ca0e bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Birunthan Mohanathas
3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Marco Castelluccio
36d1525997 Bug 762083 - Avoid places database growth for webapps. r=mak 2013-12-02 11:34:47 -05:00
Ehsan Akhgari
c8d51e9ce2 Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Joshua Cranmer
bfdf0f3db6 Bug 884061 - Part 3v: Use NS_DECL_THREADSAFE_ISUPPORTS in toolkit/, r=Mossop
--HG--
extra : rebase_source : ad2b2f20219b42b192c313b6fa9da3383f904805
2013-07-18 21:24:15 -05:00
Marco Bonardo
02e92ae06e Bug 894042 - Disallow Places from creating async statements after asyncClose().
r=Mano
2013-07-19 15:51:40 +02:00
David Rajchenbach-Teller
7631a5973e Bug 702559 - First implementation of mozIStorageAsyncConnection;r=mak
* * *
Bug 702559 - Implementation of transaction helper compatible with mozIStorageAsyncConnection;r=mak
2013-06-27 09:00:59 -04:00
Ed Morley
67356c3a8c Backed out changeset fa98df7a3493 (bug 702559) for xpcshell orange 2013-06-26 12:56:40 +01:00
David Rajchenbach-Teller
198d5dbf1f Bug 702559 - First implementation of mozIStorageAsyncConnection;r=mak 2013-06-26 05:45:49 -04:00
Marco Bonardo
9e86197ead Bug 769348 - Change selection algorithm for autofilled URLs prefixes.
This new variant limits selection to typed pages and suggests only prefixes that match all of those addresses.
r=paolo
2013-06-10 23:59:15 +02:00
Marco Bonardo
24208690f3 Bug 561450 - Stop supporting session ids in Places.
r=Mano sr=gavin
2013-03-25 14:44:41 +01:00
Marco Bonardo
7235347b03 Bug 838349 - Fix bogus use of assertions in Places
r=trivial
2013-02-06 02:37:07 +01:00
Jeff Walden
120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Marco Bonardo
63752889cd Bug 799609 - Disable Places in B2G - Part 1 - Remove Android history from Places
r=paolo
2012-11-09 10:55:48 +01:00
Ehsan Akhgari
69275f30ab Bug 797224 - Remove Database::mCurrentJournalMode; r=mak 2012-10-03 16:33:30 -04:00
Aryeh Gregor
91ce311a84 Bug 782616 - Don't treat SetJournalMode's return type as nsresult; r=mak 2012-08-14 12:10:42 +03:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00