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
Masayuki Nakano 05bce4692d Bug 1764895 - part 1: Make nsIEditor.insertNode and nsIEditor.deleteNode take an optional parameter to preserve selection r=m_kato
`nsIEditor.setShouldTxnSetSelection` can preserve selection across multiple
editing.  Therefore, we cannot manage the state only in the stack.

It's used only in comm-central, and used only with `insertNode` and
`deleteNode`.  Therefore, adding new param to them to preserve selection
must be enough.

While I'm writing this patch, I realized that `input` event is not fired
by these methods because nobody set a placeholder transaction.  That may
lead Thunderbird only IME crash bugs due to `IMEContentObserver` is not
notified editor properly.  Therefore, this may fix some Thunderbird only
crashes.

Note that `deleteNode` should not update selection.  However, I'm not 100%
sure that.  Therefore, I add new param to `deleteNode` too.  However,
some reviewers think it's unnecessary, I'll remove it before landing.

Finally, `beforeinput` and `input` caused by the method calls start updating
selection.  However, I think that it should be better behavior.  If Thunderbird
needs to guarantee that selection is set to whether the user expected when
it calls these methods with preserving selection.

Differential Revision: https://phabricator.services.mozilla.com/D196004
2023-12-13 07:50:42 +00:00
.cargo Bug 1867639 - Vendor in new application-services / Glean / UniFFI. r=markh,janerik,supply-chain-reviewers,mach-reviewers,ahal 2023-12-12 14:13:44 +00:00
.github/workflows
.vscode
accessible Bug 1839051 - Make AccIdxComparator resilient against calls with r=Jamie=b. 2023-12-11 06:53:28 +00:00
browser no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE 2023-12-13 07:02:47 +00:00
build Bug 1860630 - Upgrade zstandard to 0.22. r=firefox-build-system-reviewers,mach-reviewers,sergesanspaille,ahochheiden 2023-12-13 02:39:24 +00:00
caps
chrome
config Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers 2023-12-12 17:40:03 +00:00
devtools Bug 1868283 - part 2: Make browser_tooltip.js synthesize mouse events via the parent process r=daisuke,devtools-reviewers,nchevobbe 2023-12-13 07:13:03 +00:00
docs Bug 1749473 - fix internal links r=sylvestre,firefox-source-docs-reviewers DONTBUILD 2023-12-11 17:42:35 +00:00
docshell Bug 1430691. Add a documenting comment to the nsIDocShell interface. r=nika 2023-12-06 19:18:13 +00:00
dom Bug 1868283 - part 3: Make PresShell::HandleEvent ignore eMouseExitFromWidget and eMouseEnterIntoWidget events which are synthesized in the parent process accidentally r=smaug 2023-12-13 07:13:04 +00:00
editor Bug 1764895 - part 1: Make nsIEditor.insertNode and nsIEditor.deleteNode take an optional parameter to preserve selection r=m_kato 2023-12-13 07:50:42 +00:00
extensions Bug 1847298: IPC constructor cleanup r=nika,padenot,dom-storage-reviewers,necko-reviewers,cookie-reviewers,asuth,Jamie 2023-12-08 15:56:39 +00:00
gfx Bug 1869658 - Fix usage of CanvasBuffer on failure paths. r=gfx-reviewers,lsalzman 2023-12-13 03:45:16 +00:00
gradle/wrapper
hal
image Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
intl Bug 1869223 - Add fast path to CountGraphemeClusters when text is empty. r=TYLin 2023-12-12 00:59:27 +00:00
ipc Bug 1829026 - Handle KERN_ABORTED from semaphore_wait. r=aosmond 2023-12-12 07:35:04 +00:00
js Bug 1868980 - Avoid base include flags spreading to the cc crate. r=firefox-build-system-reviewers,ahochheiden 2023-12-12 20:40:08 +00:00
layout Bug 1868283 - part 3: Make PresShell::HandleEvent ignore eMouseExitFromWidget and eMouseEnterIntoWidget events which are synthesized in the parent process accidentally r=smaug 2023-12-13 07:13:04 +00:00
media Bug 1865695 - Update dav1d to 3c41fa88ce0fee1fcd1cdfdf53ad8db9bcf3ad29 r=chunmin 2023-12-12 03:25:19 +00:00
memory Bug 1864828 - pt 1. Move operators to create literals with units into mfbt/ r=glandium 2023-12-11 11:01:33 +00:00
mfbt Bug 1869256 - Add move assignment operator for SegmentedVector r=mccr8 2023-12-11 17:06:08 +00:00
mobile Bug 1864030 - HTMLSelectElement.showPicker should show the picker on Android even if not combo box. r=dom-core,geckoview-reviewers,ohall,edgar 2023-12-13 06:53:37 +00:00
modules Bug 1854032 - Ship ICU4X segmenter. r=TYLin,jfkthame 2023-12-13 05:51:55 +00:00
mozglue Bug 1866629 - Remove the sample_groups object in serialized counters, r=canaltinova,profiler-reviewers. 2023-12-12 11:28:07 +00:00
netwerk Bug 1869604: Remove incorrect asserts in OnDataFinished r=necko-reviewers,valentin 2023-12-12 22:09:21 +00:00
nsprpub
other-licenses
parser Bug 1712140 - Part 3: Add support for parsing and building Declarative ShadowDOMs. r=dom-core,webidl,saschanaz,hsivonen 2023-12-07 21:27:10 +00:00
python Bug 1860630 - Upgrade zstandard to 0.22. r=firefox-build-system-reviewers,mach-reviewers,sergesanspaille,ahochheiden 2023-12-13 02:39:24 +00:00
remote Bug 1866383. Provide useful error reporting for page sizes mismatches in WPT Print Reftests. r=jgraham,webdriver-reviewers 2023-12-11 18:00:36 +00:00
security No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,RyanVM 2023-12-11 12:56:50 +00:00
services Bug 1869571 - In search-config-v2, move the environment out of the engine "base" and into the "variants". r=mcheang 2023-12-12 20:08:21 +00:00
servo Bug 1869299 - Generalize -moz-mac-sidebar into a cross-platform -moz-sidebar{,text,border} set. r=dao,desktop-theme-reviewers,win-reviewers,gstoll 2023-12-12 15:22:44 +00:00
startupcache Bug 1869606 - Improve StartupCache thread-safety annotations r=mccr8 2023-12-12 22:08:46 +00:00
storage
supply-chain Backed out changeset 847d3af58756 (bug 1869512) per dev's request 2023-12-12 22:51:30 +02:00
taskcluster Bug 1867182 - Add bootstrap tests for newer versions of Debian, Ubuntu, Fedora and Rocky Linux. r=firefox-build-system-reviewers,ahochheiden 2023-12-13 03:41:19 +00:00
testing Bug 1868641 - Make AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete not cross flex-item and grid-item boundary r=m_kato 2023-12-13 00:51:01 +00:00
third_party Backed out changeset 847d3af58756 (bug 1869512) per dev's request 2023-12-12 22:51:30 +02:00
toolkit Bug 1850149 - Include previous_os_version in default-browser-agent telemetry pings. r=nrishel 2023-12-13 06:02:18 +00:00
tools Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers 2023-12-12 17:40:03 +00:00
uriloader Bug 1603699 - Enable default URI pref. r=valentin,necko-reviewers,extension-reviewers,robwu 2023-12-06 19:33:56 +00:00
view
widget Bug 1867630 - Unify "FileDialog" loggers r=win-reviewers,mhowell 2023-12-13 00:36:25 +00:00
xpcom Bug 1869430 - Batch 19.2 convert python unittest .ini -> .toml. r=gbrown,taskgraph-reviewers 2023-12-12 17:40:03 +00:00
xpfe/appshell
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore
.cron.yml
.eslintignore
.eslintrc-test-paths.js
.eslintrc.js Bug 1868488 - Add aboutwelcome to the same ESLint directory overrides as newtab. r=aminomancer 2023-12-11 18:02:41 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags
.lando.ini
.lldbinit
.mailmap
.prettierignore
.prettierrc.js
.stylelintignore
.stylelintrc.js Bug 1868488 - Add aboutwelcome to the same ESLint directory overrides as newtab. r=aminomancer 2023-12-11 18:02:41 +00:00
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1867639 - Vendor in new application-services / Glean / UniFFI. r=markh,janerik,supply-chain-reviewers,mach-reviewers,ahal 2023-12-12 14:13:44 +00:00
Cargo.lock Backed out changeset 847d3af58756 (bug 1869512) per dev's request 2023-12-12 22:51:30 +02:00
Cargo.toml Bug 1867639 - Vendor in new application-services / Glean / UniFFI. r=markh,janerik,supply-chain-reviewers,mach-reviewers,ahal 2023-12-12 14:13:44 +00:00
client.mk
client.py
CLOBBER
configure
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach Bug 1843209 - Bump Mach's minimum Python version to 3.8 r=firefox-build-system-reviewers,glandium 2023-12-12 03:52:00 +00:00
mach.cmd
mach.ps1
Makefile.in
mots.yaml
moz.build
moz.configure
mozilla-config.h.in
old-configure.in Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
package-lock.json
package.json
pyproject.toml
README.txt
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre 2023-12-08 04:26:45 +00:00

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

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.