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
Перейти к файлу
Grigory Kruglov d4d7e1babe Bug 1378246 - Ensure that we correctly fire 'notifyChanged' during bookmark deletions r=jwu
This patch introduces a notion of "changed" count during bookmark deletions, and firms up
our deletion logic to ensure we're counting affected records correctly.

Changes are mostly clearer comments describing what's going on, as well tests to ensure
we're doing the right thing.

One logical change is that this patch drops an additional call to updateBookmarks. AFAIK,
that call is unnecessary. It doesn't achieve its stated goal of writing first (it performs
a select first), and since we're doing a deletion, the "bump timestamps of an old parent
in case parent changed" logic is unused).

MozReview-Commit-ID: 9B1FW9pgsf1

--HG--
extra : rebase_source : dd8f10c58fd0042f94072bb99c28dc4545165dd5
2017-07-05 18:13:28 -04:00
.cargo
.vscode Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps 2017-07-03 21:55:07 +03:00
accessible merge mozilla-inbound to mozilla-central a=merge 2017-07-07 10:35:44 +02:00
addon-sdk Bug 1297614 - Refactor and remove dead code in toolkit/components/url-classifier/content r=francois 2017-06-30 13:31:03 -07:00
browser Backed out changeset a8d854de191c (bug 1327947) for eslint failures in browser_applications_selection.js. r=backout 2017-07-10 17:15:47 +02:00
build Bug 1379339 - Enable stylo in macOS automation builds. r=gps 2017-07-07 18:42:01 -07:00
caps Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
chrome Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
config Bug 1378592 - Remove MOZ_REPLACE_MALLOC_LINKAGE. r=froydnj 2017-07-06 10:26:04 +09:00
db Bug 1371364 - Upgrade to SQLite 3.19.3. r=mak 2017-06-08 15:23:34 -04:00
devtools Bug 1377326 - Don't assume targets are tabs in style-editor media sidebar; r=ntim 2017-07-03 17:38:02 +02:00
docshell Bug 1371457 - Change restyle marker data to animation state. r=bholley,gregtatum 2017-06-28 11:59:28 -07:00
dom Bug 1372664 - browser_messagemanager_loadprocessscript.js fails when Activity Stream is enabled. r=krizsa 2017-07-05 15:44:23 -07:00
editor Bug 1376382, key event handling is asynchronous, try to fix test to be more async too, r=masayuki 2017-07-08 17:23:08 +03:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
gfx Bug 1374730 - Update webrender bindings for API changes in WR cset 5066a13. r=mrobinson 2017-07-10 07:22:39 -04:00
gradle/wrapper
hal Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
image merge mozilla-inbound to mozilla-central a=merge 2017-07-06 11:18:05 +02:00
intl Merge m-c to autoland, a=merge 2017-07-06 16:19:38 -07:00
ipc merge mozilla-inbound to mozilla-central a=merge 2017-07-07 10:35:44 +02:00
js Merge autoland to central, a=merge 2017-07-07 17:22:00 -07:00
layout Merge mozilla-central to autoland 2017-07-10 13:21:25 +02:00
media Bug 1379258 - Build webrtc/signaling code with coverage for LibFuzzer. r=gps 2017-07-07 20:43:59 +02:00
memory merge mozilla-inbound to mozilla-central a=merge 2017-07-07 10:35:44 +02:00
mfbt Bug 1371771 - Add a MOZ_DEFINE_ENUM macro and variants to MFBT. r=froydnj 2017-06-30 19:58:11 -04:00
mobile Bug 1378246 - Ensure that we correctly fire 'notifyChanged' during bookmark deletions r=jwu 2017-07-05 18:13:28 -04:00
modules Bug 1379394 - Add a pref to allow disabling the one-handed-zoom gesture in APZ. r=botond 2017-07-08 23:04:33 -04:00
mozglue Bug 1377605 Cast -1 to DWORD to correctly match the error return value given by SuspendThread r=aklotz 2017-07-03 16:07:25 -05:00
netwerk Merge m-c to autoland, a=merge 2017-07-06 16:19:38 -07:00
nsprpub Bug 1372579, uplift NSPR_4_16_BETA1, r=me 2017-06-23 15:52:30 +02:00
other-licenses Bug 1375472 - Use an optimized build of the 7-zip SFX stub. r=rstrong 2017-07-05 10:17:00 -07:00
parser merge mozilla-inbound to mozilla-central a=merge 2017-07-05 13:01:22 +02:00
probes Bug 1344878 - add BUG_COMPONENT to probes/* files. r=Ms2ger 2017-03-24 09:50:48 -04:00
python Bug 1375231 - Make OptionValue.__eq__ more type aware; r=glandium 2017-07-06 17:53:45 -07:00
rdf Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
security Bug 1379182 - Remove some unnecessary file-write permissions types from the content process on macOS; r=haik 2017-07-07 11:05:01 -04:00
services Bug 1378551 - Separate `pullNewChanges` and `markChangesAsSyncing`. r=markh 2017-07-05 13:49:48 -07:00
servo servo: Merge #17648 - Do not fill computed values in missing 0%/100% keyframes in CSS Animation (from hiikezoe:missing-keyframes); r=birtles 2017-07-10 02:31:35 -07:00
startupcache Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
storage Bug 1378218 - Don't register visited callback if we have pending link update, r=ehsan,baku 2017-07-07 13:06:52 +03:00
taskcluster Bug 1374589 - Port windows tests which require signed builds to in-tree tasks r=Callek 2017-06-29 13:50:13 -07:00
testing Bug 1379482 - Release geckodriver 0.18.0; r=jgraham 2017-07-10 16:53:01 +01:00
third_party Bug 1379482 - Upgrade mozrunner to 0.4.1; r=jgraham 2017-07-10 16:52:41 +01:00
toolkit Bug 1377346 - Fixed assertion to use local variable r=chutten,rpapa 2017-06-30 23:07:40 -04:00
tools Bug 1376803 - add support of ./mach clang-format -p <file/dir> r=gps 2017-06-29 09:35:23 -07:00
uriloader Bug 1364016 - Explicitly pass a triggeringPrincipal to openURI. r=gijs,baku 2017-07-05 21:58:21 +02:00
view Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
widget Bug 1367482 NativeKey::HandleCharMessage() should treat a WM_CHAR message for '\r' as a Enter key press r=m_kato 2017-07-08 03:08:07 +09:00
xpcom merge mozilla-inbound to mozilla-central a=merge 2017-07-07 10:35:44 +02:00
xpfe Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
.clang-format Backed out changeset b14cbbf5256a (bug 1378250) on request from sylvestre 2017-07-05 16:55:27 +02:00
.clang-format-ignore Bug 1376488 - Remove some old paths from ThirdPartyPaths.txt. r=sylvestre, r=andi 2017-06-27 10:49:00 -04:00
.clang-tidy
.cron.yml Bug 1374422 - Enable OSX Cross Compiled Nightlies. r=kmoir 2017-06-21 12:49:05 -04:00
.eslintignore Bug 1378788 - Clean up .eslintignore and clarify the directories that don't have js files. r=mossop 2017-07-06 15:31:07 +01:00
.eslintrc.js Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop 2017-04-25 20:12:21 +01:00
.flake8 Bug 1288432 - Use new mozlint configuration for flake8 linter, r=bc 2017-06-02 09:46:01 -04:00
.gdbinit
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.hgignore Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.hgtags No bug - Tagging mozilla-central f9605772a0c9098ed1bcaa98089b2c944ed69e9b with FIREFOX_BETA_55_BASE a=release DONTBUILD CLOSED TREE 2017-06-12 12:50:30 +01:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04: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
AUTHORS Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
Android.mk
CLOBBER Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1371871 - Run the artifact tier during a tup artifact build. r=mshal 2017-06-21 16:20:18 -07:00
README.txt
aclocal.m4 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
build.gradle
client.mk
client.py
configure.in
configure.py
gradle.properties
gradlew
mach
moz.build bug 1370176, generic configuration for l10n, r=flod,gps 2017-06-05 10:28:33 +02:00
moz.configure Backed out changeset 018e683b25cd (bug 1370007) for breaking tier 2 nightly builds on windows 2017-07-07 15:23:54 +02:00
mozilla-config.h.in Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
npm-shrinkwrap.json Bug 1351608 - Add eslint-plugin-no-unsanitized to eslint-plugin-mozilla r=Standard8. 2017-07-03 20:07:00 +01:00
old-configure.in Bug 1379032 - Use -Oz as optimization flag on android/clang. r=froydnj 2017-07-07 16:30:21 +09:00
package.json Bug 1351608 - Add eslint-plugin-no-unsanitized to eslint-plugin-mozilla r=Standard8. 2017-07-03 20:07:00 +01:00
settings.gradle Backed out 2 changesets (bug 1355625) for causing bustage a=backout 2017-06-22 12:05:56 -07:00
test.mozbuild

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/