Commit Graph

143 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 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
Emanuel Hoogeveen
b30abdc582 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Andrea Marchesini
ad97ae68b8 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48 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
Nicholas Nethercote
0247de46d8 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Marco Bonardo
300fa84831 Bug 1117072 - updatePlaces can mistakenly overwrite typed and hidden attributes of a page. r=ttaubert 2015-01-27 18:36:40 +01:00
Ehsan Akhgari
cb3c3961e2 Bug 1118413 - Mark virtual overridden functions as MOZ_OVERRIDE in places; r=mak 2015-01-24 14:51:35 -05:00
David Rajchenbach-Teller
0a6859ca60 Bug 1064768 - Use nsMainThreadPtrHandle in History.cpp. r=mak 2014-09-16 14:17:31 +02:00
Arnaud Sourioux
ced1f422e4 Bug 1049812 - Part3: Rename PlaceHashKey private members with a 'm' prefix. r=mak 2014-09-05 00:21:00 +02:00
Arnaud Sourioux
445669b726 Bug 1049812 - Part2: fix indentaion in toolkit/components/places/History.cpp for class PlaceHashKey. r=mak 2014-09-05 00:20:00 +02:00
Arnaud Sourioux
08e868ef15 Bug 1049812 - Part 1 : Removes static_cast introduced by bug 922727 and set a bool property in DEBUG to ensure PlaceHashKey properties are set. r=mak 2014-09-05 00:19:00 +02:00
Ehsan Akhgari
5847679c76 Bug 1060974 - Fix more bad implicit constructors in places; r=mak 2014-09-03 18:25:36 -04:00
Marco Bonardo
f3d74a052e Bug 887865 - Use a mozIStorageAsyncConnection in for GetIsVisitedStatement. r=mano 2014-08-12 10:59:11 +02:00
Daniel Holbert
1cdebb94a2 Bug 1049747: Ensure the history service is up before proceeding, in InsertVisitedURIs::Start() and History::GetPlacesInfo(). r=mak 2014-08-10 14:26:52 -07:00
Nicholas Nethercote
663b82ea3b Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params
2014-08-06 06:31:21 -07:00
Daniel Holbert
8473c175f9 Bug 922727: Use static_cast to avoid signed/unsigned comparison build warnings with visitCount in History.cpp. r=mak 2014-08-06 22:40:43 -07:00
Andrew McCreight
81cbb05900 Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
Jan de Mooij
1fd3719a70 Bug 1034689 part 3 - Fix remaining places in Gecko to handle Latin1 strings. r=bz 2014-07-12 09:43:08 +02:00
Benoit Jacob
029e0e533d Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
Nicholas Nethercote
7b107d5931 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg. 2014-05-20 23:06:54 -07:00
Birunthan Mohanathas
9f41043f62 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Jon Coppeard
d67f0ed243 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
Nicholas Nethercote
22241fec6d Bug 952650 (part 13) - Remove JSVAL_IS_PRIMITIVE. r=till. 2014-04-27 20:27:54 -07:00
Nicholas Nethercote
2aae5772c2 Bug 952650 (part 12) - Remove JSVAL_TO_OBJECT. r=till. 2014-04-27 19:58:52 -07:00
Rodrigo Rodriguez Jr.
3d9f96fd48 Bug 952650 (part 10) - Remove JSVAL_IS_NUMBER. r=njn. 2014-04-27 19:48:45 -07:00
Rodrigo Rodriguez Jr.
ed3320f992 Bug 952650 (part 8) - Remove JSVAL_TO_STRING. r=njn. 2014-04-27 19:45:46 -07:00
Rodrigo Rodriguez Jr.
cf436f0880 Bug 952650 (part 6) - Remove JSVAL_IS_STRING. r=njn. 2014-04-27 19:41:01 -07:00
Rodrigo Rodriguez Jr.
ddb500cb53 Bug 952650 (part 2) - Remove JSVAL_IS_VOID. r=evilpies. 2014-04-27 19:32:05 -07:00
Rodrigo Rodriguez Jr.
34b9987192 Bug 952650 (part 1) - Remove JSVAL_IS_NULL. r=terrence. 2014-04-27 19:30:51 -07:00
Birunthan Mohanathas
eeb9aaaa94 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
Drew Willcoxon
5a25763248 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
304bd1a718 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
4d07122113 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
Jon Coppeard
0df72e25fb Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jon Coppeard
6764423a06 Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Carsten "Tomcat" Book
040116afa3 Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE 2014-01-31 12:11:23 +01:00
Jon Coppeard
c3f1bdd1c4 Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz 2014-01-31 09:55:20 +00:00
Jon Coppeard
e9fbf9fc61 Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug 2014-01-29 10:00:40 +00:00
Terrence Cole
fb06b8575f Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz 2014-01-17 10:08:51 -08:00
Tom Schuster
4a7dd51a60 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Ehsan Akhgari
68bfe70f09 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
Nicholas Nethercote
49912eb578 Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8. 2013-12-07 22:09:10 -08:00
Birunthan Mohanathas
88a0348924 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo 2013-12-08 21:52:54 -05:00
Nicholas Nethercote
0d8c64efcc Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
65aaebab72 Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE
2013-11-27 20:05:00 -05:00