Commit Graph
19 Commits
Author SHA1 Message Date
Sylvestre Ledru 9eb1a31a98 Bug 2023419 - Remove Emacs/Vim modelines from dom/ r=emilio,media-playback-reviewers,webidl,padenot
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287843
2026-03-16 21:02:32 +00:00
Emilio Cobos Álvarez a01807ac58 Bug 1987024 - Share command tables across windows / editors / etc. r=masayuki
It seemed like this was the intention from the code, but it
isn't the case?

I want to use the window command table to always return the
supported commands over IPC (in order to fix bug 1964901).

Differential Revision: https://phabricator.services.mozilla.com/D263818
2025-09-05 10:31:02 +00:00
Emilio Cobos Álvarez f4bc770eef Bug 1987024 - De-comify a bit command handling. r=masayuki,dom-core
The nsIControllerCommandTable already assumes it's an
nsControllerCommandTable as it has infallible casts. Similarly,
nsIControllerCommand doesn't need to be scriptable.

This is in preparation to expose a global list of always-enabled
commands for the IPC code to use and avoid sending back and forth.

Differential Revision: https://phabricator.services.mozilla.com/D263807
2025-09-05 10:30:55 +00:00
Emilio Cobos Álvarez 791917d8af Bug 1976665 - Sort headers in dom/. r=dom-core,media-playback-reviewers,webrtc-reviewers,dom-storage-reviewers,padenot,janv,smaug,jesup,jib
Most changes are automated. Relevant bit is dom/.clang-format. I had to
manually disable clang-format in a few places where importing external
files and so on that aren't self-contained, and fix a couple includes /
forward declarations.

Differential Revision: https://phabricator.services.mozilla.com/D256800
2025-08-05 11:47:34 +00:00
Kagami Sascha Rosylight 7a19a2037e Bug 1723050 - Part 8: Replace typedef by using in dom/commandhandler/ r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D121300
2021-08-07 10:15:46 +00:00
Simon Giesecke 87c754b1bd Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D108588
2021-03-24 17:56:50 +00:00
Simon Giesecke 95c38cc6b8 Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika
This makes the naming more consistent with other functions called
Insert and/or Update. Also, it removes the ambiguity whether
Put expects that an entry already exists or not, in particular because
it differed from nsTHashtable::PutEntry in that regard.

Differential Revision: https://phabricator.services.mozilla.com/D105473
2021-02-26 09:11:46 +00:00
Andi-Bogdan Postelnicu 59e2d8b426 Bug 1671641 - Make dom/commandhandler buildable outside of unified-build environment. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D93795
2020-10-21 08:00:16 +00:00
Simon Giesecke bcc10facd3 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/commandhandler. r=smaug
Depends on D62571

Differential Revision: https://phabricator.services.mozilla.com/D62572
2020-02-12 13:25:57 +00:00
Boris Zbarsky c7390ad8d6 Bug 1550927. Stop using idl [array] for getting supported controller commands. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D30764
2019-05-21 17:06:06 +00:00
Masayuki Nakano fc6bb1720f Bug 1540963 - Make nsIControllerCommandTable builtinclass and make its users use nsControllerCommandTable directly r=bzbarsky
`nsIControllerCommandTable` isn't implemented with JS even in comm-central nor
BlueGriffon.  Therefore, we can make it a builtinclass.

Additionally, it's inherited only by nsControllerCommandTable.  So, all users
in C++ can treat the concrete class directly.

Differential Revision: https://phabricator.services.mozilla.com/D25727
2019-04-03 12:52:14 +00:00
Sylvestre Ledru e5a134f73a Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Ehsan Akhgari 7ab762816a Bug 1489790 - Part 12: Refactor the common code out of the controller/commandtable constructor functions; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5367
2018-09-11 09:58:33 -04:00
Ehsan Akhgari c45bc1e02c Bug 1489790 - Part 4: Remove the XPCOM component registration for NS_EDITINGCOMMANDTABLE_CID; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5359
2018-09-11 09:58:33 -04:00
Ehsan Akhgari e80628a994 Bug 1489790 - Part 3: Remove the XPCOM component registration for NS_EDITORCOMMANDTABLE_CID; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5358
2018-09-11 09:58:33 -04:00
Ehsan Akhgari d9de424852 Bug 1489790 - Part 2: Remove the XPCOM component registration for NS_WINDOWCOMMANDTABLE_CID; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5357
2018-09-11 09:58:33 -04:00
Ehsan Akhgari 3a70911126 Bug 1489790 - Part 1: Remove the XPCOM component registration for nsControllerCommandTable as well as kHTMLEditorCommandTableCID and kHTMLEditorDocStateCommandTableCID; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5356
2018-09-11 09:58:33 -04:00
Chris Peterson 5d6b16ea3b Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent

MozReview-Commit-ID: KuUsnVe2h8L
2018-04-28 12:50:58 -07:00
Myk Melez c3a3384c53 Bug 1309049 - move embedding/ files out of that directory, r=jst,mossop 2017-01-12 13:47:27 -08:00