Commit Graph

41488 Commits

Author SHA1 Message Date
confused-Techie
ed8bdd26ed Add v1.111.0 changelog 2023-11-15 17:23:31 -08:00
confused_techie
ccaf9205bc
Merge pull request #799 from pulsar-edit/update-github-for-dugite-deduping-reasons
deps: Update `github`, for `dugite` deduping purposes
2023-11-14 16:52:02 -08:00
DeeDeeG
835c735b1f deps: Update github to v0.36.18-pretranspiled
For `dugite` deduping purposes -- dedupes `dugite` to pinned 2.1.0.
2023-11-14 16:03:22 -05:00
Andrew Dupont
3757358c55
Merge pull request #789 from savetheclocktower/tree-sitter-october-fixes-redux
Tree-sitter running fixes (October)
2023-11-14 01:17:45 -08:00
Andrew Dupont
69c0e614f9
Merge pull request #798 from savetheclocktower/fix-half-screen-bug-we-think
Prevent “half screen” bug by resetting scroll position when editor regains focus
2023-11-13 13:58:43 -08:00
Andrew Dupont
7bcf54a640 Prevent “half screen” bug by resetting scroll position…
…when an editor regains focus.

This used to happen until the change in <https://github.com/atom/atom/pull/20892>. But we still need this code, presumably because of built-in browser behavior that _implicitly_ scrolls the editor's container to try to move the hidden input back into view.
2023-11-12 17:08:57 -08:00
Andrew Dupont
fc6747764f [tree-sitter] Ensure that candidate injection range doesn’t shrink
When a region of the buffer changes, we want to consider all injections that touch that range, even if they aren't fully enclosed by the range. So we need to be able to grow the original range when searching for injection layers.

This fixes a bug in which the candidate range could inadvertently _shrink_.
2023-11-10 10:04:09 -08:00
confused-Techie
2658226e51 GH Action Documentation 2023-11-09 04:51:15 +00:00
confused_techie
39391c105f
Merge pull request #763 from pulsar-edit/ui-api
[core] New `UI` API
2023-11-08 20:47:59 -08:00
confused-Techie
d7f7fede7a Add missing path delimiter 2023-11-08 19:55:11 -08:00
DeeDeeG
30dc9d2e19
Merge pull request #782 from pulsar-edit/CI-build-binaries-for-tag-pushes
CI: Build binaries for tag pushes (GitHub Actions)
2023-11-07 11:32:16 -05:00
DeeDeeG
be8bd838c8
Merge pull request #796 from Daeraxa/readme-non-mac-keybinds
[DOCS] Add non-macOS keybindings for fuzzy-finder readme
2023-11-07 11:30:50 -05:00
DeeDeeG
9434b44da7
Merge pull request #793 from Daeraxa/remove-teletype
Remove Teletype from Welcome guide
2023-11-07 11:23:05 -05:00
DeeDeeG
f2ccfb203b
Merge pull request #794 from pulsar-edit/CI-fix-python3.12-on-Cirrus
CI: Python 3.12-related fixes on Cirrus CI
2023-11-07 11:22:24 -05:00
confused-Techie
339f228dd8 Match path translations 2023-11-06 22:23:10 -08:00
confused-Techie
46c0b3a6c0 Add newlines to expected specs 2023-11-06 21:50:19 -08:00
confused-Techie
3378746454 Move Atom link transformations out, fix tests 2023-11-06 21:28:48 -08:00
confused-Techie
011ddf9c84 Merge branch 'master' into ui-api 2023-11-06 19:39:03 -08:00
confused_techie
83026feefe
Merge pull request #795 from pulsar-edit/CI-workaround-for-distutils-issue-Python3.12
CI: Work around missing 'distutils' for Python 3.12+ (GHA round two)
2023-11-06 19:37:31 -08:00
Daeraxa
8058821dfd
revert changes to description 2023-11-07 02:42:34 +00:00
Daeraxa
c5853a63a4
add non-macOS keybindings 2023-11-07 02:39:35 +00:00
DeeDeeG
e7184c424e CI: Work around missing distutils for Python 3.12+
Older versions of node-gyp are incompatible with Python 3.12+,
at least out of the box, since Python 3.12+ no-longer ship with
'distutils' out of the box.

We can work around it by installing 'setuptools' package,
which comes with the required 'distutils'.

Newer versions of node-gyp should come with a fix for this,
but older Yarn or npm will ship with older node-gyp, so here we are.

Note that this isn't really needed on the ubuntu-based CI workflows
for now, since those are on the rather conservatively-updated
Debian/Ubuntu-packaged versions of Python (no newer than Python 3.11,
at present.) But being proactive means this won't sneak up on us later.
2023-11-06 20:18:51 -05:00
Daeraxa
025c1b1b11 remove teletype from welcome 2023-11-07 00:09:00 +00:00
DeeDeeG
63d8968265 CI: Add brew update step to macOS on Cirrus
Should allow installing python@3.12 successfully from Homebrew.
2023-11-06 17:14:22 -05:00
DeeDeeG
10f98e42a3 CI: Don't install setuptools for ARM Linux (Python 3.7 doesn't need it) 2023-11-06 17:09:21 -05:00
confused_techie
fb006f65c1 Add some minor specs 2023-11-06 10:50:28 -08:00
confused_techie
6da049fe31 Add JSDoc comments 2023-11-06 09:42:24 -08:00
Andrew Dupont
193a3dc3e7 [tree-sitter] Tweak C++ highlighting of class function declarations 2023-11-03 22:01:56 -07:00
Andrew Dupont
e2acf70e43 [tree-sitter] Add highlights for C++ destructors…
…and for the `class` keyword, whose omission is a strange oversight.
2023-10-31 13:27:43 -07:00
Andrew Dupont
80126cdbc8 [tree-sitter] More C++ fixes
Built a new `tree-sitter-cpp` parser from latest master to fix a parsing error with variable assignment. Also added/tweaked scopes for some specific scenarios.
2023-10-30 14:46:51 -07:00
Andrew Dupont
f9232482d0 [tree-sitter] Add some scopes to the C++ highlights.scm 2023-10-28 10:17:40 -07:00
confused-Techie
134fb452b4 Stop appending /blob/master to repo URLs
1. `master` isn't always true. We can use `HEAD` now and GitHub will automatically redirect to the main branch.
2. We already have the logic inside our markdown to correct links to use `blob` or `raw` depending on if directing to a link or image, and use `HEAD` like mentioned above
2023-10-27 15:52:02 -07:00
confused-Techie
1ec01d1073 Merge branch 'ui-api' of https://github.com/pulsar-edit/pulsar into ui-api 2023-10-27 15:50:11 -07:00
confused-Techie
45c016120b Expect HTML5 preferred <br> instead of <br/>
Most browsers already strip self closing tags within void elements. DOMPurify itself also strips this character.
2023-10-27 15:50:05 -07:00
confused_techie
fff477e683
Don't modify base64 images, strip ending slash in all links, fix href links to use blob URLs 2023-10-27 08:47:10 -07:00
confused_techie
2eaed49ee1
Fix comma 2023-10-27 07:34:06 -07:00
confused-Techie
dc7674b8e5 resolve syntax error 2023-10-27 01:55:13 -07:00
confused-Techie
cbaa3ad10e Allow sanitizing options, ensure links don't double on /, don't modify base64 links, make test results match universal GitHub links 2023-10-27 01:42:39 -07:00
confused-Techie
2db34e2bf0 Add dompurify only require deps once 2023-10-27 00:56:50 -07:00
confused-Techie
8328f9c1ad Modify one spec to different element, fix opts on API usage 2023-10-26 22:52:50 -07:00
confused-Techie
65f2e55d81 Properly create strict disable mode 2023-10-26 22:27:02 -07:00
confused-Techie
78160866b6 Comment out in progress to test properly 2023-10-25 21:35:56 -07:00
confused_techie
d42bae7c28
Merge pull request #740 from pulsar-edit/ensure-wasm-changes
[meta] Create Workflow to validate WASM Grammar Changes
2023-10-25 21:28:16 -07:00
confused_techie
27088affa1
Merge pull request #785 from kiskoza/fix-pulsar-updater-skip-version-cache
🐛  Fix caching for "Dismiss this Version" in pulsar-updater
2023-10-25 07:55:32 -07:00
Andrew Dupont
87bb06b4c2
Merge pull request #783 from savetheclocktower/tree-sitter-october-fixes
[tree-sitter] Fix proliferation of extra injection layers
2023-10-23 11:11:31 -07:00
Koza
dbf8e11786 🐛 Fix caching for "Dismiss this Version" in pulsar-updater 2023-10-23 11:25:12 +02:00
confused_techie
26707b1f74
Update script/validate-wasm-grammar-prs.js
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2023-10-22 22:01:28 -07:00
confused_techie
b8a88fdffa
Merge pull request #781 from pulsar-edit/CI-increase-macOS-binary-build-timeout
CI: Increase timeout length for macOS binary builds
2023-10-22 12:48:09 -07:00
Andrew Dupont
1a1fe627ba [tree-sitter] Fix faulty assumption about ordering of findMarkers results
When determining the possible breadth of injection layers that could be affected by a buffer change, I assumed that `MarkerLayer#findMarkers` would return results such that I could take the first result's start and the last result's end and end up with a range that containd all the results.

#756 proved that not to be true, at least in the case of Clojure — the effect of which is that lots of injection layers were getting ignored during the step where we decide whether to reuse existing layers or create new ones. That led to an ever-increasing number of injection layers being created.

Instead, we need to find the minimum and maximum points in the set and use that as the range.
2023-10-21 15:59:17 -07:00
DeeDeeG
cbb4c1113d CI: Build binaries for tag pushes
GitHub Actions was set to only build for branch pushes (only master
branch due to the branch filter), PRs, and manual workflow dispatches.

Now, GitHub Actions will also build for tag pushes.

This helps to ensure Regular releases
get signed binaries built for them.

(GitHub Actions is set to only *sign* the binaries for push events.
Tag creations/pushes will generate push events, so tag pushes should
indeed make signed binaries, not unsigned ones.)
2023-10-21 01:37:12 -04:00