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
Перейти к файлу
Xidorn Quan 8c54e3ce73 Bug 1363699 part 1 - Make named CounterStyle objects not refcounted. r=heycam
This change does the following:
* Introduce a new smart pointer called CounterStylePtr which either
  holds an AnonymousCounterStyle strongly, or a named CounterStyle
  managed by CounterStyleManager weakly, and use it to replace all
  RefPtr<CounterStyle> around the codebase.
* Rename CounterStyleManager::mCacheTable to mStyles to reflect the
  fact that it is used to manage all styles, not just for caching.
* Add a retired styles list which collect all named CounterStyle
  evicted from mStyles, and post a PostRefreshObserver to destroy
  objects in that list after next flush.
* Remove helper functions for counter style in nsStyleList and expose
  mCounterStyle directly, to make code simpler with the new pointer.

Reason for adding a new smart pointer type rather than making their
AddRef/Release behave like BuiltinCounterStyle is that, it is possible
that after a flush, some stale style structs may still be alive. They
can contain pointer to destroyed CounterStyle objects. Although the
actual content may never be accessed anymore, RefPtr may still access
the object for refcounting during destruction.

MozReview-Commit-ID: xxegwSDhNb

--HG--
extra : rebase_source : bb5443f0eb56eee51cbdfd08e0400335648610e8
2017-05-13 21:42:23 +10:00
.cargo Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
.vscode Add some task definitions to run mach from VSCode (bug 1323308). r=gps 2017-05-04 18:03:54 +03:00
accessible merge mozilla-inbound to mozilla-central a=merge 2017-05-10 15:07:28 +02:00
addon-sdk Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout 2017-05-12 17:45:21 +08:00
browser Bug 1359978 - (Part 2) Add credit card support to ProfileStorage.jsm. r=MattN,steveck 2017-04-28 18:19:53 -07:00
build merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-05-14 18:04:29 +02:00
caps Bug 1361859 - Enable eslint on caps/ directory; r=standard8 2017-05-08 07:49:06 -06:00
chrome backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
config Bug 1350262 - implement prime rehash policy compat for unordered_map and unordered_set in libstdc++. r=glandium 2017-05-09 22:15:18 -04:00
db Bug 1352260 - Upgrade to SQLite 3.18.0. r=mak 2017-04-01 15:08:18 -04:00
devtools Backed out changeset 19f0b1e8f287 (bug 1358710) for failing reftest aja-linear-2.html on OS X with e10s. r=backout 2017-05-15 00:18:47 +02:00
docshell backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
dom Bug 1363857 - Add missing includes to FFmpegLibWrapper. r=gerald 2017-05-10 14:57:25 -07:00
editor Merge inbound to m-c a=merge 2017-05-11 17:30:41 -07:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Backout revision 20a9d741cdf4 (bug 1354641) for causing bug 1363176. a=me 2017-05-10 09:08:00 -04:00
gfx Backed out changeset 19f0b1e8f287 (bug 1358710) for failing reftest aja-linear-2.html on OS X with e10s. r=backout 2017-05-15 00:18:47 +02:00
gradle/wrapper Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian 2016-09-22 14:31:01 -07:00
hal Bug 1357323 - Remove the gonk code that was referenced by the build system. r=gps 2017-04-18 17:46:39 +09:00
image Bug 1342567. r=aosmond a=abillings 2017-05-10 17:39:45 -05:00
intl Bug 1358159 - Handle string terminator for GetLocaleInfoEx. r=jfkthame 2017-05-10 12:42:26 -07:00
ipc merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-05-14 18:04:29 +02:00
js merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-05-14 18:04:29 +02:00
layout Bug 1363699 part 1 - Make named CounterStyle objects not refcounted. r=heycam 2017-05-13 21:42:23 +10:00
media Bug 1364325: replace AddLocalRTPExtensions with SetLocalRTPExtensions. r=bwc 2017-05-11 23:08:37 -07:00
memory Bug 1361258 - Use Thread Local Storage in mozjemalloc on mac. r=erahm 2017-05-12 18:12:20 +09:00
mfbt Backed out changeset 1b9ecb9b9fe8 (bug 1331718) 2017-05-10 12:09:08 +02:00
mobile Backed out 2 changesets (bug 1363421) for assertions in test_enterjit_osr.js on Windows xpcshell tests a=backout 2017-05-13 00:32:36 -07:00
modules merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-05-14 18:04:29 +02:00
mozglue Bug 1361258 - Add a jemalloc_thread_local_arena API with a binding for rust. r=glandium 2017-05-12 18:08:08 +09:00
netwerk merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-05-14 18:04:29 +02:00
nsprpub Bug 1350291, uplift NSPR_4_15_BETA2, r=franziskus 2017-05-10 17:36:58 +02:00
other-licenses Backed out changeset a874592cff0a (bug 1340627) 2017-05-11 12:51:51 +02:00
parser Bug 1363560 - Name more runnables (r=mccr8) 2017-05-09 21:53:25 -07:00
probes Bug 1344878 - add BUG_COMPONENT to probes/* files. r=Ms2ger 2017-03-24 09:50:48 -04:00
python Bug 1364511 - Upgrade Mercurial during `mach bootstrap` on MozillaBuild; r=RyanVM 2017-05-12 15:04:28 -07:00
rdf Bug 1330235 - Remove NS_STDCALL_FUNCPROTO and replace its usage with decltype. r=froydnj 2017-05-09 23:00:37 +10:00
security merge autoland to mozilla-central. r=merge a=merge 2017-05-14 18:00:48 +02:00
services backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
servo servo: Merge #16855 - style: Set root font-size right after cascading font-size (from emilio:rem-root); r=upsuper 2017-05-14 18:53:28 -05:00
startupcache Bug 1334318 - remove last uses of PR_smprintf; r=froydnj 2017-04-28 10:13:26 -06:00
storage Bug 1334278 - change mozilla::Smprintf to return a UniquePtr; r=froydnj 2017-03-03 08:17:27 -07:00
taskcluster Bug 1364421: actually disable SETA, instead of never running talos; r=bstack a=infra-fix 2017-05-13 19:15:35 +00:00
testing bug 1324922 stop balrog updates before funsize does its thing r=catlee,jlund 2017-05-12 15:19:09 +01:00
third_party No bug - Revendor rust dependencies 2017-05-11 23:29:34 +00:00
toolkit Bug 1362047 - Fix default value for content script run_at, add tests r=mixedpuppy 2017-05-10 02:00:29 +02:00
tools Bug 1362814 - Part 2: Move GeckoProfilerReporter to its own header; r=mstange 2017-05-12 02:35:09 -04:00
uriloader Bug 1362466 - Skip default handler injection if pref gecko.handlerService.defaultHandlersVersion not defined. r=paolo 2017-05-07 10:46:00 -04:00
view Bug 1363000 - re-enable <select> related SVG crashtests. r=heycam 2017-05-12 10:52:16 +08:00
widget merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-05-14 18:04:29 +02:00
xpcom merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-05-14 18:04:29 +02:00
xpfe Bug 1358297: Part 3. Create special case for stripping CR and LF on TSubstring, and use it in all the places that it is called. Use ASCIIMask to make it fast. r=froydnj 2017-05-10 13:12:36 -04:00
.clang-format Bug 1322321 - Update the clang format file to match more our coding style r=ehsan 2016-12-06 17:43:17 -10:00
.clang-format-ignore Bug 1341423 - Integrate OpenVR binding library r=daoshengmu 2017-02-27 16:59:30 -08:00
.clang-tidy Bug 1319396 - Update the list of checkers in the .clang-tidy file r=Ehsan 2016-11-22 12:30:19 +01:00
.cron.yml Bug 1358976 - Stop automatic triggers of nightly builds on mozilla-aurora r=dustin DONTBUILD 2017-05-10 11:35:27 -04:00
.eslintignore Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
.eslintrc.js Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
.flake8 Bug 1321956 - Disable flake8 check for 'visually indented line with same indent as next logical line', r=ahal 2016-12-08 09:53:21 -10:00
.gdbinit Bug 1317802 - don't stop for SIGSYS in .gdbinit; r=jld 2016-11-16 01:13:22 -05:00
.gdbinit_python bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gitignore Add some task definitions to run mach from VSCode (bug 1323308). r=gps 2017-05-04 18:03:54 +03:00
.hgignore Add some task definitions to run mach from VSCode (bug 1323308). r=gps 2017-05-04 18:03:54 +03:00
.hgtags No bug - Tagging mozilla-central 6583496f169cd8a13c531ed16e98e8bf313eda8e with FIREFOX_AURORA_54_BASE a=release DONTBUILD CLOSED TREE 2017-03-06 23:43:32 +01:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1254128 - Make the Mozilla .lldbinit use the full path for topsrcdir. r=sparky 2016-03-01 16:36:08 +00:00
.taskcluster.yml Bug 591688 - Notify when decision task fails r=dustin,gps 2017-04-12 21:01:46 -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
AUTHORS Bug 1349980 - update task generation to support -g in try syntax for running OS X tasks in generic-worker,r=dustin 2017-04-06 18:50:41 +02:00
Android.mk
CLOBBER Backed out changeset 64c183fa4dd3 (bug 1340627) 2017-05-11 12:51:47 +02:00
GNUmakefile
LEGAL
LICENSE
Makefile.in bug 1355961 - add some sccache stats to build_metrics. r=gps 2017-04-12 15:06:22 -04:00
README.txt Bug 1349108 - Update links in README.txt to HTTPS r=RyanVM 2017-03-21 00:11:02 -04:00
aclocal.m4 Bug 1262155 - Use moz.build instead of libffi's build system. r=ted,glandium 2016-08-08 16:58:54 -07:00
build.gradle Bug 1318823 - Use com.getkeepsafe.dexcount in Gradle builds. r=sebastian 2016-11-18 18:28:58 -08:00
client.mk Bug 1317778 - Emit a depfile with python configure dependencies so Make will know when to re-run configure. r=glandium 2016-12-02 10:05:57 -08:00
client.py
configure.in Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
configure.py Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
gradle.properties Bug 1218370 - Use Gradle daemon in srcdir builds. r=me 2015-10-26 09:28:14 -07:00
gradlew Bug 1123416 - Part 1: Make topsrcdir a valid Gradle project root. r=sebastian 2015-10-21 15:07:55 -07:00
mach Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
moz.build Bug 1262241 - Move the definition of the js library to a subdirectory. r=mshal 2017-04-04 11:43:14 +09:00
moz.configure Bug 1353810 - add a --enable-rust-debug option; r=chmanchester 2017-04-12 21:49:25 -04:00
mozilla-config.h.in Bug 1231314 - Turn mozilla-config.h and js-confdefs.h into CONFIGURE_DEFINE_FILES. r=gps 2015-12-15 08:06:11 +09:00
npm-shrinkwrap.json Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
old-configure.in Bug 1364422 - Drop unused -DMOZ_RUST_MP4PARSE after bug 1341967. r=rillian 2017-05-12 12:52:54 +00:00
package.json Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
settings.gradle Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07:00
test.mozbuild Bug 1229233 - Add a (incomplete) end-to-end build test. r=gps 2015-12-01 13:57:52 +09:00

README.txt

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:

    https://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:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://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 https://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 -
    https://nightly.mozilla.org/