Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Iain Ireland ca22d6b543 Bug 1519483: Add hasIndices to RegExpFlags r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D107135
2021-03-10 22:10:14 +00:00
Iain Ireland 3a941d2bba Bug 1361856: Use SM RegExpFlags inside irregexp r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D66845

--HG--
extra : moz-landing-system : lando
2020-03-21 14:21:04 +00:00
Iain Ireland 96d7636dcb Bug 1361856: Add dotAll to RegExpFlags r=jwalden
This patch adds the boilerplate necessary to support a new regexp flag. Externally visible changes (parsing the flag, the dotAll property on the prototype) are guarded behind ENABLE_NEW_REGEXP. Note: RegExpFlagsGetter turns out to be externally visible because it can be called on a non-regexp object with the dotAll property defined.

The actual implementation of dotAll comes for free with the fresh import of irregexp (bug 1367105).

There are two tests (tests/non262/RegExp/prototype.js and tests/non262/RegExp/flags.js) that need to be updated when this is turned on to add s/dotAll to the list of expected properties on the RegExp prototype. I will attach those changes to my patch that flips ENABLE_NEW_REGEXP to be on by default.

Differential Revision: https://phabricator.services.mozilla.com/D66844

--HG--
extra : moz-landing-system : lando
2020-03-21 14:21:04 +00:00
Mihai Alexandru Michis 663a7c992e Backed out 2 changesets (bug 1361856) for causing sm failures in RegExp/flags.js
CLOSED TREE

Backed out changeset 597e083be9d4 (bug 1361856)
Backed out changeset 8a017673c25b (bug 1361856)
2020-03-20 21:01:51 +02:00
Iain Ireland b84e38576f Bug 1361856: Use SM RegExpFlags inside irregexp r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D66845

--HG--
extra : moz-landing-system : lando
2020-03-19 18:32:03 +00:00
Iain Ireland 04a4d8d0d1 Bug 1361856: Add dotAll to RegExpFlags r=jwalden
This patch adds the boilerplate necessary to support a new regexp flag. Externally visible changes (parsing the flag, the dotAll property on the prototype) are guarded behind ENABLE_NEW_REGEXP.

The actual implementation of dotAll comes for free with the fresh import of irregexp (bug 1367105).

There is one test (tests/non262/RegExp/prototype.js) that needs to be updated when this is turned on to add "dotAll" to the list of expected properties on the RegExp prototype. I will attach that change to my patch that flips ENABLE_NEW_REGEXP to be on by default.

Differential Revision: https://phabricator.services.mozilla.com/D66844

--HG--
extra : moz-landing-system : lando
2020-03-19 18:31:52 +00:00
Jeff Walden feb28d4555 Bug 1539690 - Make a JS::RegExpFlag public API for flag bits, and make a JS::RegExpFlags flag-set abstraction. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D25177

--HG--
rename : js/public/RegExp.h => js/public/RegExpFlags.h
extra : moz-landing-system : lando
2019-04-02 03:16:43 +00:00
Noemi Erli 1416a50250 Backed out changeset 6f8d311064d9 (bug 15396900) for bustages in bug1033946.js CLOSED TREE 2019-04-02 05:38:56 +03:00
Jeff Walden c6c6107545 Bug 1539690 - Make a JS::RegExpFlag public API for flag bits, and make a JS::RegExpFlags flag-set abstraction. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D25177

--HG--
rename : js/public/RegExp.h => js/public/RegExpFlags.h
extra : moz-landing-system : lando
2019-04-02 02:07:50 +00:00