Commit Graph

41728 Commits

Author SHA1 Message Date
DeeDeeG
c58bc5f14e CI: Fix tag Linux binaries are uploaded to for Rolling
The Rolling binary upload script gets the version from
package.json in the repository files, not from the binary
itself. So, we need to set this value in the repository's
package.json file, regardless of what version the binary itself has.

The version string in package.json is used by the Rolling upload script
to decide what the tag name will be when creating a new Rolling release.
We want timestamped version strings so they are unique,
and older releases are not overwritten/clobbered/won't have conflicts
(whichever would have happened, not worth finding out).
Besides that this restores the convention we had been uploading
the Rolling release tags with so far.

Set a version timestamp just before building the binaries, like on
the other two platforms. Add this to the outputs of the "build" job
if on Linux. Then read this output in the "test and upload, Linux" job.
Now we have synced timestamps again (as much as we did before building
Linux binaries in a Debian 10 Docker container, anyway).

The script could be updated to check the binary itself,
but this way is easier.
2024-01-30 00:00:10 -05:00
confused_techie
e999387f82
Merge pull request #858 from pulsar-edit/CI-build-on-older-Linux
CI: build Linux x86-64 binaries on older Linux
2024-01-28 22:17:53 -08:00
confused_techie
b79d47c02d
Merge pull request #870 from Daeraxa/copyright-2024
Update copyright year to 2024
2024-01-28 22:17:36 -08:00
confused_techie
edbb4b8415
Merge pull request #891 from Daeraxa/update-readme-badges
Update README badges
2024-01-28 22:17:26 -08:00
confused_techie
d34af8fa19
Merge pull request #889 from savetheclocktower/fix-markdown-after-line-break
Fix issue with Markdown rendering after line break in strict mode
2024-01-25 17:48:58 -08:00
DeeDeeG
fd218433f4 CI: Add comments to explain workarounds for Debian Docker 2024-01-24 23:41:50 -05:00
Daeraxa
538117a8f9 update colours 2024-01-25 02:47:45 +00:00
Daeraxa
77001b6f64 fix spacing 2024-01-25 02:35:25 +00:00
Daeraxa
83fc5d473d add badges 2024-01-25 02:32:50 +00:00
Andrew Dupont
7c12c97a82 Fix issue with Markdown rendering after line break in strict mode 2024-01-22 11:49:43 -08:00
Andrew Dupont
4a91444ded
Merge pull request #860 from claytonrcarter/wasm-tree-sitter-compat
fix(tree-sitter): pass node text to grammar
2024-01-19 20:08:35 -08:00
Daeraxa
8f20fa77d3 update year 2024-01-17 22:21:04 +00:00
DeeDeeG
b7cd6304a0 CI: Build Linux binaries in a Debian 10 Docker container
For compatibility with older Linux distros

Debian 8 is pretty much end-of-life now.
Debian 10 should be old enough to have compatible glibc for RHEL 8.
2024-01-16 14:12:13 -05:00
Clayton Carter
ae03e1e9ba fix(tree-sitter): pass node text to grammar
This fixes a subtle breaking change in the WASM tree-sitter modes that
affected the semanticolor package. (And probably only that package.)

Although the node text is unused in `idForScope` in the core editor, the
legacy tree-sitter mode was specifically modified to pass the node text
into `idForScope` so that the semanticolor package could make use of it
to give custom scopes (and thus colors) to different symbols. (On
activation, semanticolor monkey patches that method in relevant
grammars.)

This alone is not enough to get sematicolor working with Pulsar's new
WASM tree-sitter modes, but it's one piece of the puzzle.

Ref: 97b905a2b0
Ref: https://github.com/atom/atom/pull/20212
Ref: 1bf7fc4025/src/tree-sitter-language-mode.js (L1321-L1324)
Ref: d219ef9a1f/lib/semanticolor-grammar.js (L44-L65)
2024-01-16 07:42:16 -05:00
confused_techie
64175c5271
Merge pull request #865 from pulsar-edit/v1.113.0-release
v1.113.0 Release
2024-01-15 20:10:15 -08:00
confused-Techie
95684f661e Add back dev 2024-01-15 20:09:52 -08:00
confused-Techie
3f449b4401 Bump package.json version 2024-01-15 17:12:43 -08:00
confused_techie
691dd539be
Merge pull request #862 from pulsar-edit/changelog-1.113.0
1.113.0 Changelog
2024-01-15 17:09:39 -08:00
confused-Techie
35a826b851 Add last minute PR update 2024-01-15 17:05:58 -08:00
confused_techie
1e942eed06
Merge pull request #864 from savetheclocktower/symbols-view-go-back-fix
[symbols-view] Fix issue with returning from a declaration
2024-01-15 17:04:25 -08:00
confused-Techie
d9179f583d Add Modern Tree-sitter notice 2024-01-15 16:11:53 -08:00
confused-Techie
a2ceec802a Fix formatting of find-and-replace contribution 2024-01-15 16:08:44 -08:00
confused-Techie
490e826307 Add Changelog 2024-01-15 16:03:59 -08:00
Andrew Dupont
039ea260b2 [symbols-view] Add specs for return-from-declaration fix 2024-01-15 16:01:47 -08:00
Andrew Dupont
a720d967d7 [symbols-view] Fix issue with returning from a declaration…
…when the tab being returned to is closed and must be recreated.
2024-01-15 15:43:06 -08:00
Andrew Dupont
7dd52e57be
Merge pull request #852 from savetheclocktower/add-php-grammar
Tree-sitter fixes for December (including a PHP grammar!)
2024-01-13 17:13:07 -08:00
Andrew Dupont
0111e13f0e PHP feedback 2024-01-12 19:38:28 -08:00
Andrew Dupont
6ebdfa0cab Remove unneeded file 2024-01-12 19:33:38 -08:00
Andrew Dupont
bae3689f88 Add folds for PHP 2024-01-12 19:33:20 -08:00
Andrew Dupont
f3be33bbc9 Add <> and <=> operators in PHP 2024-01-12 19:21:00 -08:00
Andrew Dupont
62bd6cc8ba Even more PHP grammar feedback 2024-01-12 17:11:49 -08:00
Andrew Dupont
e78feea098 Address more PHP grammar feedback 2024-01-12 14:25:42 -08:00
Andrew Dupont
a34b01bfb2 In JS/TS, correctly highlight a variable with a default value…
…when destructuring an array.
2024-01-12 13:28:22 -08:00
Andrew Dupont
99722454b8 [symbols-view] Allow for scope-specific overrides of preferred providers 2024-01-12 13:10:51 -08:00
Andrew Dupont
ddfa645122 Fix issue where symbol-provider-ctags used the wrong package root 2024-01-12 12:42:01 -08:00
Andrew Dupont
865153b471 Address newly failing tests 2024-01-11 16:08:37 -08:00
Andrew Dupont
50bfa5141e Update tree-sitter-json WASM build to latest
Spotted it falling down on a very large JSON file I had. Seems to be fixed on `master`. Not sure which verison I originally built it from.
2024-01-11 15:07:11 -08:00
Andrew Dupont
254440e6bc Oops 2024-01-11 15:07:11 -08:00
Andrew Dupont
4c6b0ba7d0 Ensure indentation decisions consult the correct layers…
…when straddling injection boundaries.
2024-01-11 15:07:11 -08:00
Andrew Dupont
c50b0e629f More PHP grammar feedback 2024-01-11 15:07:10 -08:00
Andrew Dupont
336f609f60 More PHP grammar feedback 2024-01-11 15:07:10 -08:00
Andrew Dupont
0b08306498 Don't add root scopes to CSS for TODO/hyperlink injections 2024-01-11 15:07:10 -08:00
Andrew Dupont
8836be7e16 Only inject TODO and hyperlink into CSS when needed 2024-01-11 15:07:10 -08:00
Andrew Dupont
2580642c0f Address feedback on PHP syntax highlighting 2024-01-11 15:07:10 -08:00
Andrew Dupont
f2dabe5167 Update tree-sitter-php WASM file to latest master 2024-01-11 15:07:10 -08:00
Andrew Dupont
8c946a004e [tree-sitter] TS: Treat parameters with defaults like parameters…
…plus a few other TypeScript fixes.
2024-01-11 15:07:10 -08:00
Andrew Dupont
58b9cc1865 Handle nowdocs in PHP 2024-01-11 15:07:10 -08:00
Andrew Dupont
ad8a215c77 Remove logging from injection callback 2024-01-11 15:07:09 -08:00
Andrew Dupont
c93bdeb21a Add parserSource fields where appropriate 2024-01-11 15:07:09 -08:00
Andrew Dupont
d148a73631 Add a modern Tree-sitter PHP grammar
This one’s got all the frills, including injections into HTML documents and a PHPDoc grammar.

As part of this change, we're also migrating to `web-tree-sitter` version 0.20.8 with some customizations. The PR I submitted at https://github.com/tree-sitter/tree-sitter/pull/2795 is landed on this fork, though if the same issues get fixed in a different way on the source, I'll adopt that approach as well. The PHPDoc parser needed another external added.
2024-01-11 15:07:09 -08:00