Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Nathan Froyd fa4f709cfd Bug 1295192 - part 1 - remove CPP_THROW_NEW on layout struct operator new overloads that forward to nsPresShell::AllocateByObjectID; r=dholbert
Structs in our style system use an arena-style allocation system,
managed by the presshell to which they belong.  All of the relevant
overloads that forward allocation requests to the presshell declare
themselves as CPP_THROW_NEW, which indicates that they do not throw
exceptions.  The C++ specification states that operator new overloads
that declare themselves to not throw exceptions require a null check on
their return value.  However, the relevant presshell allocation method,
AllocateByObjectID, is infallible and will never return a null pointer.

The callers of all of these methods are therefore doing useless
(compiler-generated) null checks.  Let's get rid of those useless checks
by removing the CPP_THROW_NEW annotations.  This change declares these
methods will return non-null pointers and throw exceptions in case of
errors--but as we don't use exceptions, and AllocateByObjectID will
abort on OOM, everything works out OK.
2016-08-16 17:05:39 -04:00
accessible Backed out changesets e4a39e456f89 (bug 1268544) for mass build bustage a=backout CLOSED TREE 2016-08-15 15:58:45 -07:00
addon-sdk Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske 2016-08-15 17:28:05 -07:00
b2g Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske 2016-08-15 17:28:05 -07:00
browser Backed out 3 changesets (bug 1246034) for Win e10s timeouts in browser_ext_commands_execute_browser_action.js 2016-08-15 21:36:34 -07:00
build Another fixup for bug 1294639 on a CLOSED TREE. a=Kwierso 2016-08-16 08:53:33 +09:00
caps Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
chrome Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
config merge mozilla-inbound to mozilla-central a=merge 2016-08-10 15:54:26 +02:00
db/sqlite3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
devtools Bug 1256929 - Fix ESLint error in test-bug_923281_test2.js. r=linclark 2016-08-10 19:07:00 -04:00
docshell Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm. 2016-08-12 15:19:29 +10:00
dom Bug 1211894 - Throw on range.insertNode(range.startContainer); r=smaug 2016-08-16 15:52:06 +03:00
editor Backed out changeset cc88b920a387 (bug 1278957) for making browser_notifications.js permafail on linux64 debug a=backout CLOSED TREE 2016-08-10 15:36:45 -07:00
embedding Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm. 2016-08-12 15:19:29 +10:00
extensions Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm. 2016-08-12 15:19:29 +10:00
gfx Bug 1295274 - Fix gfxVars namespace r=nical 2016-08-16 13:07:24 +02:00
gradle/wrapper
hal Bug 1292323 - Update usage of UsesNativeCallProxy; r=snorp 2016-08-12 23:15:53 -04:00
image Bug 1293449 - Stop exposing SurfaceCache implementation code outside of ImageLib. r=dholbert 2016-08-15 18:19:39 -07:00
intl Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
ipc Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm. 2016-08-12 15:19:29 +10:00
js Bug 1294469 - Shrink the nursery if we run out of memory r=terrence 2016-08-16 10:30:18 +01:00
layout Bug 1295192 - part 1 - remove CPP_THROW_NEW on layout struct operator new overloads that forward to nsPresShell::AllocateByObjectID; r=dholbert 2016-08-16 17:05:39 -04:00
media Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske 2016-08-15 17:28:05 -07:00
memory Bug 1271165 - Part 4: Enable the new functionality in mozjemalloc. r=ehoogeveen 2016-08-12 07:38:00 -04:00
mfbt Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
mobile Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske 2016-08-15 17:28:05 -07:00
modules Backed out changeset aaaab9a073a4 for build failures. r=me 2016-08-15 20:38:40 -07:00
mozglue Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
netwerk Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm. 2016-08-12 15:19:29 +10:00
nsprpub
other-licenses Bug 1288199: Add building of typelib to be embedded in ia2marshal.dll; r=mshal 2016-08-04 15:17:51 -06:00
parser Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
probes Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
python Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske 2016-08-15 17:28:05 -07:00
rdf Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
release/docker Bug 1294040 - Funsize should accept downloads from https://archive.mozilla.org r=philor a=automation DONTBUILD 2016-08-10 09:44:36 -04:00
security Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm. 2016-08-12 15:19:29 +10:00
services Backed out changeset e4437c4da937 (bug 1288445) for xpcshell failures a=backout 2016-08-12 19:06:00 -07:00
startupcache Backed out changeset 0ad827f382ec (bug 1295138) for /test_chrometoSource.xul failures a=backout 2016-08-15 12:57:24 -07:00
storage Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
taskcluster Bug 1295186 - Consolidate TC test tier transforms; r=dustin 2016-08-15 18:49:02 -06:00
testing Bug 1211894 - Throw on range.insertNode(range.startContainer); r=smaug 2016-08-16 15:52:06 +03:00
toolkit Bug 1295101 - Don't freeze the ctypes.jsm global to avoid resolving all properties on it. r=bholley 2016-08-16 11:25:40 +02:00
tools Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske 2016-08-15 17:28:05 -07:00
uriloader Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj. 2016-08-12 17:36:22 +10:00
view Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
widget Merge m-c to inbound, a=merge 2016-08-15 14:53:49 -07:00
xpcom Bug 1295197 - use non-null-checked operator new in xpcom/; r=erahm 2016-08-16 17:05:39 -04:00
xpfe Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
.clang-format
.clang-format-ignore
.eslintignore Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs 2016-08-13 21:58:42 -04:00
.eslintrc
.flake8 Bug 1283129 - Flake8 linter is accidentally linting some eslint related .lint files, r=maja_zf 2016-06-29 10:37:27 -04:00
.gdbinit bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gdbinit_python bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gitignore Bug 1289258 - Part 2 - Add mocha test for search. r=bgrins 2016-07-26 12:35:42 -04:00
.hgignore Bug 1289258 - Part 2 - Add mocha test for search. r=bgrins 2016-07-26 12:35:42 -04:00
.hgtags No bug - Tagging mozilla-central 465d150bc8be5bbf9f02a8607d4552b6a5e1697c with FIREFOX_AURORA_50_BASE a=release DONTBUILD CLOSED TREE 2016-08-01 07:05:25 -07:00
.lldbinit
.taskcluster.yml Backed out changeset fc1ed3fd8584 (bug 1291473) on suspicion of breaking decision tasks 2016-08-08 13:15:37 -07:00
.ycm_extra_conf.py Bug 1293534: Fix .ycm_extra_conf after bug 1195748. r=gps 2016-08-09 10:30:58 -07:00
aclocal.m4 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Android.mk
AUTHORS
build.gradle
client.mk Bug 1292069 - Remove the cleansrcdir target. r=gps 2016-08-04 17:34:05 +09:00
client.py
CLOBBER Bug 1291229 - Fix typo for moving Java bindings to mozilla::java namespace. r=jchen 2016-08-05 13:23:44 -04:00
configure.in
configure.py Bug 1293234 - Use octal notation for permission modes in the build system; r=gps 2016-08-08 13:45:17 +02:00
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach Bug 1279020 - [mach] Follow symlinked mach binary when searching for a srcdir, r=gps 2016-06-09 17:20:02 -04:00
Makefile.in Bug 1275111 - Move artifact download/install into its own tier; r=glandium 2016-06-01 13:48:53 -04:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
moz.configure Bug 1292463 - Move --enable-warnings-as-errors to python configure. r=chmanchester 2016-08-10 10:49:54 +09:00
mozilla-config.h.in
old-configure.in Bug 1294639 - Move --with-servo to python configure. r=chmanchester 2016-08-16 08:32:55 +09:00
README.txt
settings.gradle
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    http://nightly.mozilla.org/