Commit Graph

243 Commits

Author SHA1 Message Date
David Major
ed6ca74f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Denis Volk
cd6346cce0 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Nathan Froyd
6d8ea43521 Bug 1153258 - directly instantiate nsStandardURL in nsChromeProtocolHandler.cpp; r=bsmedberg
Knowing how to instantiate nsStandardURL directly enables us to avoid
several extraneous reference counting and QueryInterface operations.
2015-04-02 10:12:27 -04:00
Christoph Kerschbaumer
24ee641f5e Bug 1147562 - Update remaining callsites of newChannel before landing the shim in chrome/ (r=bsmedberg) 2015-04-09 10:11:05 -07:00
Hiroyuki Ikezoe
ac1daafc7a Bug 1139254 - Use MockRegistrar in chrome. r=gps 2015-03-03 19:47:00 -05:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
5cccea6f0f 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
Christoph Kerschbaumer
3b9c0e23c1 Bug 1119005 - No need to branch on NewChannelinternal callsites anymore - callsite updated (r=sicking) 2015-02-19 11:47:59 -08:00
Nicholas Nethercote
ee41df7dc2 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
1ee96e7527 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Wes Kocher
ec2159dddd Merge inbound to m-c a=merge CLOSED TREE 2015-02-05 16:55:01 -08:00
Dave Townsend
121d197d22 Bug 1083281: Use flags to determine which chrome and about URIs are loaded in the content process. r=mconley, r=bsmedberg, r=jduell, r=mratcliffe 2015-02-05 08:09:15 -08:00
Nicholas Nethercote
0a02b5d31c Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
James Kitchener
6a912052bb Bug 1100184 - Flatten netwerk/base/{public,src}/ directories. r=mcmanus, r=poiru 2015-01-20 03:58:00 -05:00
Dave Townsend
e9c461d0ce Backing out 580a54390e83 from bug 1083281 due to devtools test failures. CLOSED TREE 2015-02-03 15:51:24 -08:00
Dave Townsend
6280e23b2c Bug 1083281: Use flags to determine which chrome and about URIs are loaded in the content process. r=mconley, r=bsmedberg, r=jduell 2015-01-07 15:56:18 -08:00
Ehsan Akhgari
1d814e62a8 Bug 1119264 - Mark virtual overridden functions as MOZ_OVERRIDE in chrome; r=bsmedberg 2015-01-12 23:26:28 -05:00
Wes Kocher
c9a46ce4b2 Backout 3a5fe7c44ce4 2015-01-12 14:47:03 -08:00
Ehsan Akhgari
2b55331001 Bug 1119264 - Mark virtual overridden functions as MOZ_OVERRIDE in chrome; r=bsmedberg 2015-01-12 16:35:05 -05:00
Gavin Sharp
ef5aee70ca Bug 575918: enable IPC tests on Mac since they work now, r=bsmedberg
--HG--
extra : rebase_source : 5b7214167249b3c276a9e240d867ce34193a5953
2015-01-02 17:00:20 -08:00
Christoph Kerschbaumer
807c0b4f47 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - chrome/ changes (r=sicking) 2014-12-12 09:05:34 -08:00
Phil Ringnalda
e725b6fdc2 Backed out 15 changesets (bug 1087442)
Backed out changeset 3f4166fb5e37 (bug 1087442)
Backed out changeset 0c9c9123a0a9 (bug 1087442)
Backed out changeset 1d85d298042d (bug 1087442)
Backed out changeset 51f3ce397d68 (bug 1087442)
Backed out changeset f3b81a623692 (bug 1087442)
Backed out changeset 472e8fa74596 (bug 1087442)
Backed out changeset 12f97df7b79c (bug 1087442)
Backed out changeset 253cde88d3c5 (bug 1087442)
Backed out changeset b44f9ebd56cb (bug 1087442)
Backed out changeset 48e412887726 (bug 1087442)
Backed out changeset a2c76343f7a9 (bug 1087442)
Backed out changeset 0b5b07cfef0e (bug 1087442)
Backed out changeset 2931c35342a4 (bug 1087442)
Backed out changeset 681ce9dcad64 (bug 1087442)
Backed out changeset 47c505856954 (bug 1087442)
2014-12-11 21:58:21 -08:00
Christoph Kerschbaumer
4e8b56cef2 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - chrome/ changes (r=sicking) 2014-12-11 20:45:43 -08:00
Chris Peterson
47091050b7 Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
Wes Kocher
8384912619 Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
29c122c0d3 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Christoph Kerschbaumer
b71c277de5 Bug 1067471 - Add newChannel2 to nsIProtocolHandler that takes a loadinfo as an argument (r=sicking) 2014-10-22 17:16:57 -07:00
Andrew Halberstadt
6fe6152e95 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Dave Townsend
64d3c67dd4 Bug 1068412: Forward dynamically registered resource URI mappings to content processes. r=billm 2014-10-07 10:29:40 -07:00
Ryan VanderMeulen
57cd5f9498 Backed out changeset f4953072c20f (bug 1068412) for mochitest-e10s crashes. 2014-10-06 17:00:27 -04:00
Dave Townsend
88fec784af Bug 1068412: Forward dynamically registered resource URI mappings to content processes. r=billm 2014-10-06 12:42:12 -07:00
Mike Hommey
dc09a65056 Bug 1072152 - Change chrome.manifest read order. r=bsmedberg
In case of multiple "resource" manifest entries for the same keyword, the
last registered one now takes precedence, like any other chrome manifest
entry.
2014-09-25 14:47:03 +09:00
Gijs Kruitbosch
574260b198 Bug 1034999 - fix XUL cache and overlay system to ignore refs/hashes, r=smaug,mossop 2014-09-16 14:57:45 +02:00
Ehsan Akhgari
5c44280ed8 Bug 1061002 - Fix more bad implicit constructors in chrome; r=bsmedberg
--HG--
extra : rebase_source : 56272a49e8648fd3b48b686b6371404240c8fdd5
2014-09-02 18:21:00 -04:00
Blake Kaplan
8f6b864386 Bug 1051102 - Make mPackagesHash be a more modern hashtable. r=bsmedberg 2014-08-11 11:13:36 -07:00
Ehsan Akhgari
023b0195b2 Bug 579517 follow-up: Remove NSPR types that crept in 2014-08-08 08:39:07 -04:00
Nicholas Nethercote
ffea0fdbca Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Nathan Froyd
d86ff9f990 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Blake Kaplan
a34a42e399 Bug 687194 - Update content processes when dynamic chrome registration occurs. r=mossop 2014-07-25 16:17:36 -04:00
Mike Hommey
9ae3c48776 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Birunthan Mohanathas
b0863ef468 Bug 1041208 - Flatten chrome/{public,src}/ directories. r=mossop
--HG--
rename : chrome/src/Makefile.in => chrome/Makefile.in
rename : chrome/src/RegistryMessageUtils.h => chrome/RegistryMessageUtils.h
rename : chrome/src/nsChromeProtocolHandler.cpp => chrome/nsChromeProtocolHandler.cpp
rename : chrome/src/nsChromeProtocolHandler.h => chrome/nsChromeProtocolHandler.h
rename : chrome/src/nsChromeRegistry.cpp => chrome/nsChromeRegistry.cpp
rename : chrome/src/nsChromeRegistry.h => chrome/nsChromeRegistry.h
rename : chrome/src/nsChromeRegistryChrome.cpp => chrome/nsChromeRegistryChrome.cpp
rename : chrome/src/nsChromeRegistryChrome.h => chrome/nsChromeRegistryChrome.h
rename : chrome/src/nsChromeRegistryContent.cpp => chrome/nsChromeRegistryContent.cpp
rename : chrome/src/nsChromeRegistryContent.h => chrome/nsChromeRegistryContent.h
rename : chrome/public/nsIChromeRegistry.idl => chrome/nsIChromeRegistry.idl
rename : chrome/public/nsIToolkitChromeRegistry.idl => chrome/nsIToolkitChromeRegistry.idl
2014-07-19 12:43:38 -07:00
Jim Blandy
b6b202b6bb Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
3cd7e34ddb Bug 1028588 - Fix dangerous public destructors in miscellaneous places - r=ehsan 2014-06-23 18:40:03 -04:00
Neil Rashbrook
ee625f66f5 Bug 1026254 Broken chrome: URLs should result in error pages r=bsmedberg 2014-06-21 00:50:58 +01:00
Ms2ger
8824fbbbd9 Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Ms2ger
e67cb5f1e0 Backout revision 308e51eae10c for build bustage.
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
6a7f549221 Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Wes Kocher
6b2d91e1b6 Backed out 2 changesets (bug 1026008, bug 1025264) for debug crashtest leaks on a CLOSED TREE
Backed out changeset d7ab14487c62 (bug 1026008)
Backed out changeset 0b04aefdd3e3 (bug 1025264)
2014-06-19 17:13:12 -07:00
Neil Rashbrook
9671a95e16 Bug 1025264 Broken chrome: URLs should result in error pages r=bsmedberg 2014-06-19 23:56:02 +01:00
Nathan Froyd
ac78bbb49e Bug 1022703 - fix unused variable warning in nsChromeRegistryChrome.cpp; r=bsmedberg 2014-06-09 11:38:13 -04:00