Richard Pospesel pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
56ade2cf by Richard Pospesel at 2023-01-31T19:39:09+00:00
Updated release prep gitlab templates
- - - - -
2 changed files:
- .gitlab/issue_templates/Release Prep - Alpha.md
- .gitlab/issue_templates/Release Prep - Stable.md
Changes:
=====================================
.gitlab/issue_templates/Release Prep - Alpha.md
=====================================
@@ -76,15 +76,13 @@
- [ ] `$(ESR_TAG)` : `<INSERT_TAG_HERE>`
- [ ] Identify the hg patch associated with above hg tag, and find the equivalent `gecko-dev` git commit (search by commit message)
- [ ] `gecko-dev` commit : `<INSERT_COMMIT_HASH_HERE>`
- - [ ] Sign/Tag commit :
+ - [ ] Sign/Tag `gecko-dev` commit :
- Tag : `$(ESR_TAG)`
- Message : `Hg tag $(ESR_TAG)`
- - [ ] Create new branches with the discovered `gecko-dev` commit as `HEAD` named:
- - [ ] `base-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR-BROWSER_MINOR)-1`
- - [ ] `tor-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR-BROWSER_MINOR)-1`
+ - [ ] Create new `tor-browser` branch with the discovered `gecko-dev` commit as `HEAD` named:
+ - `tor-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR-BROWSER_MINOR)-1`
- [ ] Push new branches and esr tag to origin
- - [ ] Rebase previous `base-browser` patches onto the `gecko-dev` commit
- - [ ] Rebase previous `tor-browser` patches onto the new `base-browser` branch
+ - [ ] Rebase previous `tor-browser` patches onto the new `gecko-dev` branch
- [ ] Compare patch-sets (ensure nothing *weird* happened during rebase):
- [ ] rangediff: `git range-diff $(ESR_TAG_PREV)..$(TOR_BROWSER_BRANCH_PREV) $(ESR_TAG)..$(TOR_BROWSER_BRANCH)`
- [ ] diff of diffs:
@@ -93,14 +91,17 @@
- [ ] `git diff $(ESR_TAG)..$(TOR_BROWSER_BRANCH) > rebased_patchset.diff`
- [ ] `$(DIFF_TOOL) current_patchset.diff rebased_patchset.diff`
- [ ] Open MR for the rebase
-- [ ] Sign/Tag `base-browser` commit:
- - **NOTE** : Currently we are using the `Bug 40926: Implemented the New Identity feature` commit as the final commit of `base-browser` before `tor-browser`
- - Tag : `base-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR_BROWSER_MINOR)-1-build1`
- - Message: `Tagging build1 for $(ESR_VERSION)esr-based alpha`
+ - [ ] Merge
- [ ] Sign/Tag `tor-browser` commit :
- Tag : `tor-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR_BROWSER_MINOR)-1-$(FIREFOX_BUILD_N)`
- Message : `Tagging $(FIREFOX_BUILD_N) for $(ESR_VERSION)esr-based alpha`
-- [ ] Push rebased branches and tags to `origin`
+- [ ] Create `base-browser` branch from rebased `tor-browser` branch named:
+ - `base-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR-BROWSER_MINOR)-1`
+ - **NOTE** : Currently we are using the `Bug 40926: Implemented the New Identity feature` commit as the final commit of `base-browser` before `tor-browser`
+- [ ] Sign/Tag `base-browser` commit :
+ - Tag : `base-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR_BROWSER_MINOR)-1-build1`
+ - Message: `Tagging build1 for $(ESR_VERSION)esr-based alpha`
+- [ ] Push tags to `origin`
- [ ] Update Gitlab Default Branch to new Alpha branch: https://gitlab.torproject.org/tpo/applications/tor-browser/-/settings/repos…
</details>
@@ -109,7 +110,7 @@
<summary>Build</summary>
### tor-browser-build: https://gitlab.torproject.org/tpo/applications/tor-browser-build.git
-Tor Browser Alpha (and Nightly) are on the `main` branch, while Stable lives in the various `maint-$(TOR_BROWSER_MAJOR).$(TOR_BROWSER_MINOR)` (and possibly more specific) branches
+Tor Browser Alpha (and Nightly) are on the `main` branch
- [ ] Update `rbm.conf`
- [ ] `var/torbrowser_version` : update to next version
@@ -126,6 +127,10 @@ Tor Browser Alpha (and Nightly) are on the `main` branch, while Stable lives in
- [ ] `steps/base-browser-fluent/git_hash` : update with `HEAD` commit of project's `basebrowser-newidentityftl` branch
- [ ] `steps/tor-browser/git_hash` : update with `HEAD` commit of project's `tor-browser` branch
- [ ] `steps/fenix/git_hash` : update with `HEAD` commit of project's `fenix-torbrowserstringsxml` branch
+- [ ] ***(Optional)*** Update Android-specific build configs
+ - [ ] ***(Optional)*** Update `projects/geckoview/config`
+ - [ ] `git_hash` : update the `$(BUILD_N)` section to match `tor-browser` tag
+ - [ ] ***(Optional)*** `var/geckoview_version` : update to latest `$(ESR_VERSION)` if rebased
- [ ] ***(Optional)*** Update `projects/tor-android-service/config`
- [ ] `git_hash` : update with `HEAD` commit of project's `main` branch
- [ ] ***(Optional)*** Update `projects/application-services/config`:
@@ -158,10 +163,8 @@ Tor Browser Alpha (and Nightly) are on the `main` branch, while Stable lives in
- [ ] ***(Optional)*** Update `projects/go/config`
- [ ] `version` : update go version
- [ ] `input_files/sha256sum` for `go` : update sha256sum of archive (sha256 sums are displayed on the go download page)
- - [ ] ***(Optional)*** Update the manual
- - [ ] Go to https://gitlab.torproject.org/tpo/web/manual/-/jobs/
- - [ ] Open the latest build stage
- - [ ] Download the artifacts (they come in a .zip file).
+ - [ ] ***(Optional)*** Update the manual : https://gitlab.torproject.org/tpo/web/manual/-/jobs/
+ - [ ] Download the `artifacts.zip` file from latest build stage row (download icon button on the right)
- [ ] Rename it to `manual_$PIPELINEID.zip`
- [ ] Upload it to people.tpo
- [ ] Update `projects/manual/config`
@@ -179,8 +182,9 @@ Tor Browser Alpha (and Nightly) are on the `main` branch, while Stable lives in
- If you used the issue number, you will need to write the Tor Browser version manually
- [ ] Open MR with above changes
- [ ] Begin build on `$(BUILD_SERVER)` (fix any issues which come up and update MR)
+- [ ] Merge
- [ ] Sign/Tag commit: `make signtag-alpha`
-- [ ] Push tag to origin
+- [ ] Push tag to `origin`
</details>
<details>
=====================================
.gitlab/issue_templates/Release Prep - Stable.md
=====================================
@@ -28,19 +28,6 @@
- `$(TOR_BROWSER_BRANCH_PREV)` : the full name of the previous tor-browser branch (when rebasing)
</details>
-<details>
- <summary>Desktop</summary>
-
-### **torbutton** : https://gitlab.torproject.org/tpo/applications/torbutton.git
-- [ ] Update translations :
- - [ ] `./import-translations.sh`
- - **NOTE** : if there are no new strings imported then we are done here
- - [ ] Commit with message `Translation updates`
- - **NOTE** : only add files which are already being tracked
-- [ ] fixup! `tor-browser`'s `Bug 10760 : Integrate TorButton to TorBrowser core` issue to point to updated `torbutton` commit
-
-</details>
-
<details>
<summary>Android</summary>
@@ -88,15 +75,13 @@
- [ ] `$(ESR_TAG)` : `<INSERT_TAG_HERE>`
- [ ] Identify the hg patch associated with above hg tag, and find the equivalent `gecko-dev` git commit (search by commit message)
- [ ] `gecko-dev` commit : `<INSERT_COMMIT_HASH_HERE>`
- - [ ] Sign/Tag commit :
+ - [ ] Sign/Tag `gecko-dev` commit :
- Tag : `$(ESR_TAG)`
- Message : `Hg tag $(ESR_TAG)`
- - [ ] Create new branches with the discovered `gecko-dev` commit as `HEAD` named:
- - [ ] `base-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR-BROWSER_MINOR)-1`
- - [ ] `tor-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR-BROWSER_MINOR)-1`
+ - [ ] Create new `tor-browser` branch with the discovered `gecko-dev` commit as `HEAD` named:
+ - `tor-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR-BROWSER_MINOR)-1`
- [ ] Push new branches and esr tag to origin
- - [ ] Rebase previous `base-browser` patches onto the `gecko-dev` commit
- - [ ] Rebase previous `tor-browser` patches onto the new `base-browser` branch
+ - [ ] Rebase previous `tor-browser` patches onto the new `gecko-dev` branch
- [ ] Compare patch-sets (ensure nothing *weird* happened during rebase):
- [ ] rangediff: `git range-diff $(ESR_TAG_PREV)..$(TOR_BROWSER_BRANCH_PREV) $(ESR_TAG)..$(TOR_BROWSER_BRANCH)`
- [ ] diff of diffs:
@@ -105,14 +90,17 @@
- [ ] `git diff $(ESR_TAG)..$(TOR_BROWSER_BRANCH) > rebased_patchset.diff`
- [ ] `$(DIFF_TOOL) current_patchset.diff rebased_patchset.diff`
- [ ] Open MR for the rebase
-- [ ] Sign/Tag `base-browser` commit:
- - **NOTE** : Currently we are using the `Bug 40926: Implemented the New Identity feature` commit as the final commit of `base-browser` before `tor-browser`
- - Tag : `base-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR_BROWSER_MINOR)-1-build1`
- - Message: `Tagging build1 for $(ESR_VERSION)esr-based stable`
+ - [ ] Merge
- [ ] Sign/Tag `tor-browser` commit :
- Tag : `tor-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR_BROWSER_MINOR)-1-$(FIREFOX_BUILD_N)`
- Message : `Tagging $(FIREFOX_BUILD_N) for $(ESR_VERSION)esr-based stable`
-- [ ] Push rebased branches and tags to `origin`
+- [ ] Create `base-browser` branch from rebased `tor-browser` branch named:
+ - `base-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR-BROWSER_MINOR)-1`
+ - **NOTE** : Currently we are using the `Bug 40926: Implemented the New Identity feature` commit as the final commit of `base-browser` before `tor-browser`
+- [ ] Sign/Tag `base-browser` commit:
+ - Tag : `base-browser-$(ESR_VERSION)esr-$(TOR_BROWSER_MAJOR).$(TOR_BROWSER_MINOR)-1-build1`
+ - Message: `Tagging build1 for $(ESR_VERSION)esr-based stable`
+- [ ] Push tags to `origin`
</details>
@@ -120,7 +108,7 @@
<summary>Build</summary>
### tor-browser-build: https://gitlab.torproject.org/tpo/applications/tor-browser-build.git
-Tor Browser Alpha (and Nightly) are on the `main` branch, while Stable lives in the various `maint-$(TOR_BROWSER_MAJOR).$(TOR_BROWSER_MINOR)` (and possibly more specific) branches
+Tor Browser Stable lives in the various `maint-$(TOR_BROWSER_MAJOR).$(TOR_BROWSER_MINOR)` (and possibly more specific) branches
- [ ] Update `rbm.conf`
- [ ] `var/torbrowser_version` : update to next version
@@ -141,8 +129,6 @@ Tor Browser Alpha (and Nightly) are on the `main` branch, while Stable lives in
- [ ] ***(Optional)*** Update `projects/geckoview/config`
- [ ] `git_hash` : update the `$(BUILD_N)` section to match `tor-browser` tag
- [ ] ***(Optional)*** `var/geckoview_version` : update to latest `$(ESR_VERSION)` if rebased
- - [ ] Update `projects/tba-translations/config`:
- - [ ] `git_hash` : update with `HEAD` commit of project's `fenix-torbrowserstringsxml` branch
- [ ] ***(Optional)*** Update `projects/tor-android-service/config`
- [ ] `git_hash` : update with `HEAD` commit of project's `main` branch
- [ ] ***(Optional)*** Update `projects/application-services/config`:
@@ -175,10 +161,8 @@ Tor Browser Alpha (and Nightly) are on the `main` branch, while Stable lives in
- [ ] ***(Optional)*** Update `projects/go/config`
- [ ] `version` : update go version
- [ ] `input_files/sha256sum` for `go` : update sha256sum of archive (sha256 sums are displayed on the go download page)
- - [ ] ***(Optional)*** Update the manual
- - [ ] Go to https://gitlab.torproject.org/tpo/web/manual/-/jobs/
- - [ ] Open the latest build stage
- - [ ] Download the artifacts (they come in a .zip file).
+ - [ ] ***(Optional)*** Update the manual : https://gitlab.torproject.org/tpo/web/manual/-/jobs/
+ - [ ] Download the `artifacts.zip` file from latest build stage row (download icon button on the right)
- [ ] Rename it to `manual_$PIPELINEID.zip`
- [ ] Upload it to people.tpo
- [ ] Update `projects/manual/config`
@@ -187,10 +171,18 @@ Tor Browser Alpha (and Nightly) are on the `main` branch, while Stable lives in
- [ ] Update the URL if you have uploaded to a different people.tpo home
- [ ] Update `ChangeLog.txt`
- [ ] Ensure ChangeLog.txt is sync'd between alpha and stable branches
+ - [ ] Check the linked issues: ask people to check if any are missing, remove the not fixed ones
+ - [ ] Run `tools/fetch-changelogs.py $(TOR_BROWSER_VERSION)` or `tools/fetch-changelogs.py '#$(ISSUE_NUMBER)'`
+ - Make sure you have `requests` installed (e.g., `apt install python3-requests`)
+ - The first time you run this script you will need to generate an access token; the script will guide you
+ - [ ] Copy the output of the script to the beginning of `ChangeLog.txt` and adjust its output
+ - At the moment, the script does not create a _Build System_ section
+ - If you used the issue number, you will need to write the Tor Browser version manually
- [ ] Open MR with above changes
- [ ] Begin build on `$(BUILD_SERVER)` (and fix any issues which come up and update MR)
+- [ ] Merge
- [ ] Sign/Tag commit: `make signtag-release`
-- [ ] Push tag to origin
+- [ ] Push tag to `origin`
</details>
<details>
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/5…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/5…
You're receiving this email because of your account on gitlab.torproject.org.
Richard Pospesel pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
72ff4a22 by Nicolas Vigier at 2023-01-31T15:50:28+00:00
Bug 40736: Update signing scripts to support other browser names
- - - - -
38b371a3 by Nicolas Vigier at 2023-01-31T15:50:28+00:00
Bug 40755: Use openssl-1.0.2 for building libdmg-hfsplus outside containers
libdmg-hfsplus fails to build with openssl1.1:
https://github.com/planetbeing/libdmg-hfsplus/issues/14
- - - - -
9c1b95ed by Nicolas Vigier at 2023-01-31T15:50:28+00:00
Bug 40755: Allow building hfsplus-tools without container
If clang is insalled, building hfsplus-tools should work without
container.
- - - - -
799a65af by Nicolas Vigier at 2023-01-31T15:50:28+00:00
Bug 40756: Fix gatekeeper-bundling.sh after #40732
- - - - -
acf060ec by Nicolas Vigier at 2023-01-31T15:50:28+00:00
Bug 40736: Add privacybrowser symlink to signing scripts
- - - - -
30 changed files:
- .gitlab/issue_templates/Release Prep - Alpha.md
- projects/hfsplus-tools/build
- projects/hfsplus-tools/config
- projects/libdmg-hfsplus/build
- projects/libdmg-hfsplus/config
- + projects/openssl-1.0.2/build
- + projects/openssl-1.0.2/config
- + tools/signing/.gitignore
- tools/signing/android-signing
- + tools/signing/android-signing.privacybrowser
- + tools/signing/android-signing.torbrowser
- tools/signing/ddmg.sh
- tools/signing/dmg2mar
- tools/signing/do-all-signing
- + tools/signing/do-all-signing.privacybrowser
- + tools/signing/do-all-signing.torbrowser
- tools/signing/finished-signing-clean-linux-signer
- tools/signing/finished-signing-clean-macos-signer
- tools/signing/functions
- tools/signing/gatekeeper-bundling.sh
- tools/signing/linux-signer-authenticode-signing
- + tools/signing/linux-signer-authenticode-signing.privacybrowser
- + tools/signing/linux-signer-authenticode-signing.torbrowser
- tools/signing/linux-signer-gpg-sign
- + tools/signing/linux-signer-gpg-sign.privacybrowser
- + tools/signing/linux-signer-gpg-sign.torbrowser
- tools/signing/linux-signer-signmars
- + tools/signing/linux-signer-signmars.privacybrowser
- + tools/signing/linux-signer-signmars.torbrowser
- tools/signing/macos-signer-gatekeeper-signing
The diff was not included because it is too large.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch base-browser-102.7.0esr-12.0-1 at The Tor Project / Applications / Tor Browser
Commits:
ec608fde by Andrew McCreight at 2023-01-30T18:09:46+00:00
Bug 1799982 - Remove uses of inline flags from XPIDL regexps. r=xpcom-reviewers,kmag a=RyanVM
Apparently the use of these is being turned into an error in Python 3.11.
Fortunately, our uses appears to be rather trivial.
For t_multilinecomment and t_LCDATA, I dropped the (?s) flag and just
replaced the one use of . with (\n|.). (?s) means DOTALL, which means
that dot includes any character, including a newline. Otherwise it means
dot includes any character except a newline.
I took the new t_singlelinecomment from IPDL's parser.py, so I assume
it is reasonable enough. t_multilinecomment is also now the same as
in IPDL.
Differential Revision: https://phabricator.services.mozilla.com/D161738
(cherry picked from commit 9e5dcf54d1f2aea76cd23cccb2f1b39d76ab6e50)
- - - - -
1 changed file:
- xpcom/idl-parser/xpidl/xpidl.py
Changes:
=====================================
xpcom/idl-parser/xpidl/xpidl.py
=====================================
@@ -1572,13 +1572,13 @@ class IDLParser(object):
t_ignore = " \t"
def t_multilinecomment(self, t):
- r"/\*(?s).*?\*/"
+ r"/\*(\n|.)*?\*/"
t.lexer.lineno += t.value.count("\n")
if t.value.startswith("/**"):
self._doccomments.append(t.value)
def t_singlelinecomment(self, t):
- r"(?m)//.*?$"
+ r"//[^\n]*"
def t_IID(self, t):
return t
@@ -1591,7 +1591,7 @@ class IDLParser(object):
return t
def t_LCDATA(self, t):
- r"(?s)%\{[ ]*C\+\+[ ]*\n(?P<cdata>.*?\n?)%\}[ ]*(C\+\+)?"
+ r"%\{[ ]*C\+\+[ ]*\n(?P<cdata>(\n|.)*?\n?)%\}[ ]*(C\+\+)?"
t.type = "CDATA"
t.value = t.lexer.lexmatch.group("cdata")
t.lexer.lineno += t.value.count("\n")
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ec608fd…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ec608fd…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-102.7.0esr-12.0-1 at The Tor Project / Applications / Tor Browser
Commits:
7ec236d4 by Andrew McCreight at 2023-01-30T18:09:33+00:00
Bug 1799982 - Remove uses of inline flags from XPIDL regexps. r=xpcom-reviewers,kmag a=RyanVM
Apparently the use of these is being turned into an error in Python 3.11.
Fortunately, our uses appears to be rather trivial.
For t_multilinecomment and t_LCDATA, I dropped the (?s) flag and just
replaced the one use of . with (\n|.). (?s) means DOTALL, which means
that dot includes any character, including a newline. Otherwise it means
dot includes any character except a newline.
I took the new t_singlelinecomment from IPDL's parser.py, so I assume
it is reasonable enough. t_multilinecomment is also now the same as
in IPDL.
Differential Revision: https://phabricator.services.mozilla.com/D161738
(cherry picked from commit 9e5dcf54d1f2aea76cd23cccb2f1b39d76ab6e50)
- - - - -
1 changed file:
- xpcom/idl-parser/xpidl/xpidl.py
Changes:
=====================================
xpcom/idl-parser/xpidl/xpidl.py
=====================================
@@ -1572,13 +1572,13 @@ class IDLParser(object):
t_ignore = " \t"
def t_multilinecomment(self, t):
- r"/\*(?s).*?\*/"
+ r"/\*(\n|.)*?\*/"
t.lexer.lineno += t.value.count("\n")
if t.value.startswith("/**"):
self._doccomments.append(t.value)
def t_singlelinecomment(self, t):
- r"(?m)//.*?$"
+ r"//[^\n]*"
def t_IID(self, t):
return t
@@ -1591,7 +1591,7 @@ class IDLParser(object):
return t
def t_LCDATA(self, t):
- r"(?s)%\{[ ]*C\+\+[ ]*\n(?P<cdata>.*?\n?)%\}[ ]*(C\+\+)?"
+ r"%\{[ ]*C\+\+[ ]*\n(?P<cdata>(\n|.)*?\n?)%\}[ ]*(C\+\+)?"
t.type = "CDATA"
t.value = t.lexer.lexmatch.group("cdata")
t.lexer.lineno += t.value.count("\n")
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/7ec236d…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/7ec236d…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch base-browser-102.7.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits:
a0bbe6fa by Andrew McCreight at 2023-01-30T18:02:35+01:00
Bug 1799982 - Remove uses of inline flags from XPIDL regexps. r=xpcom-reviewers,kmag a=RyanVM
Apparently the use of these is being turned into an error in Python 3.11.
Fortunately, our uses appears to be rather trivial.
For t_multilinecomment and t_LCDATA, I dropped the (?s) flag and just
replaced the one use of . with (\n|.). (?s) means DOTALL, which means
that dot includes any character, including a newline. Otherwise it means
dot includes any character except a newline.
I took the new t_singlelinecomment from IPDL's parser.py, so I assume
it is reasonable enough. t_multilinecomment is also now the same as
in IPDL.
Differential Revision: https://phabricator.services.mozilla.com/D161738
- - - - -
1 changed file:
- xpcom/idl-parser/xpidl/xpidl.py
Changes:
=====================================
xpcom/idl-parser/xpidl/xpidl.py
=====================================
@@ -1572,13 +1572,13 @@ class IDLParser(object):
t_ignore = " \t"
def t_multilinecomment(self, t):
- r"/\*(?s).*?\*/"
+ r"/\*(\n|.)*?\*/"
t.lexer.lineno += t.value.count("\n")
if t.value.startswith("/**"):
self._doccomments.append(t.value)
def t_singlelinecomment(self, t):
- r"(?m)//.*?$"
+ r"//[^\n]*"
def t_IID(self, t):
return t
@@ -1591,7 +1591,7 @@ class IDLParser(object):
return t
def t_LCDATA(self, t):
- r"(?s)%\{[ ]*C\+\+[ ]*\n(?P<cdata>.*?\n?)%\}[ ]*(C\+\+)?"
+ r"%\{[ ]*C\+\+[ ]*\n(?P<cdata>(\n|.)*?\n?)%\}[ ]*(C\+\+)?"
t.type = "CDATA"
t.value = t.lexer.lexmatch.group("cdata")
t.lexer.lineno += t.value.count("\n")
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a0bbe6f…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a0bbe6f…
You're receiving this email because of your account on gitlab.torproject.org.