Commit Graph

41373 Commits

Author SHA1 Message Date
confused-Techie
e7c14be227 Migrate notifications to new API 2023-10-18 12:00:23 -07:00
confused-Techie
c9c9f1ab4b Cleanup syntax highlighting callback funcs 2023-10-18 01:38:55 -07:00
confused-Techie
7332137abb Compartmentalize all aspects of markdown handling to leave room for other APIS 2023-10-18 00:00:07 -07:00
confused-Techie
5eb80d8a19 Create basis of UI API 2023-10-15 02:10:51 -07:00
Spiker985
3cea42c614
Merge pull request #758 from pulsar-edit/s985-php-snip-escape 2023-10-11 17:51:50 -04:00
Spiker985
7d0a429fcc
Add escapement to variable literals within snippets
| Name | prefix |
| $GLOBALS[\'…\'] | globals |
| function __construct | con |
| do … while … | do |
| $this->… | this |
| echo $this->… | ethis |
| try … | try |
2023-10-11 14:14:04 -04:00
confused_techie
add45c1f64
Merge pull request #750 from pulsar-edit/dont-crash-on-invalid-config
[core] Handle invalid config on load
2023-10-09 18:56:07 -07:00
confused_techie
00f19c9fe7
Merge pull request #753 from pulsar-edit/autocomplete-html/catch-errors
[autocomplete-html] Wrap completions in `try/catch` handler
2023-10-09 18:55:04 -07:00
confused_techie
81638a8353
Merge pull request #752 from pulsar-edit/renovate/npm-postcss-vulnerability
Update dependency postcss to v8.4.31 [SECURITY]
2023-10-09 16:36:23 -07:00
confused-Techie
a842fe4019 Wrap autocomplete-html completions in try/catch
Co-Authored-By: Andrew Dupont <3450+savetheclocktower@users.noreply.github.com>
2023-10-07 19:25:22 -07:00
renovate[bot]
faf8685e20
Update dependency postcss to v8.4.31 [SECURITY] 2023-10-06 11:07:12 +00:00
confused-Techie
87ab979cd6 Use proper variable 2023-10-05 00:09:31 -07:00
confused-Techie
f1f4dc82d1 Add error handling to initial config load 2023-10-05 00:08:31 -07:00
DeeDeeG
5f3e40a2f5
Merge pull request #745 from pulsar-edit/CI-sign-for-branch-pushes-GitHub-Actions
CI: Sign macOS binaries for branch pushes, not PRs
2023-10-01 12:06:59 -04:00
DeeDeeG
28fb9c4d98 CI: Sign binaries (only) for branch pushes, not PRs
Before, we were unintentionally not signing for pushes, and only
signing for PRs.

We definitely *do* want to sign for pushes,
(such as to `master` branch), so that Rolling releases get signed,
but we probably don't need (and probably don't want?) to sign for PRs.
(Regardless of whether from a fork or not.)

So, this commit essentially reverses the situation from before:
- DO sign for branch pushes. (Note: the workflow currently only
  triggers for `master` branch pushes.)
- DON'T sign for any other events, such as for Pull Requests.

(This change is for GitHub Actions only, as the Cirrus config was
already set up in a very particular way during the migration of most
binary builds to GitHub Actions, which was quite recent,
and doesn't need any changes at this time.)
2023-09-28 20:51:15 -04:00
DeeDeeG
2696b326f8
Merge pull request #743 from pulsar-edit/python-3.11-GitHub-Actions-macOS-signing-fix
CI: Use Python 3.11 to fix macOS signing
2023-09-27 22:44:29 -04:00
DeeDeeG
fb598e5f40 CI: Use Python 3.11 to fix macOS signing
Background and context for this commit...

Not sure why exactly, but our GitHub Actions workflow is producing
*signed* macOS binaries that pass spctl "acceptance" on the CLI, and
various other signing/notarization checks on the CLI, such as stapler,
but nevertheless warn they can't be verified when opening the signed
Pulsar.app in Finder or using `open` on the CLI, and so on.

Through investigating what changes we can make to better-match the
Cirrus environment, which has producing signed binaries that open just
fine without the warning for months now, we have tried many things.

Eventually, disabling actions/setup-node and actions/setup-python was
tried, which incidentally got us Python 3.11 instead of our manually
pinned older Python 3.10. That worked, the signed binaries open as
they should, sans verification warning.

Further narrowing it down resulted in, any way we get Python other
than 3.10 from actions/setup-python seems to be working.

Given that, this commit starts using Python 3.11 in GitHub Actions,
to fix the "macOS is signed but is still not making Gatekeeper happy"
situation we have been having with GitHub Actions.
2023-09-27 01:34:38 -04:00
confused_techie
1dcc7de532
Merge pull request #738 from pulsar-edit/fix-windows-build-failure
[meta] Fix Windows Builds in CI
2023-09-23 03:25:15 -07:00
confused-Techie
2bb09a0e9f Add comment 2023-09-23 01:44:29 -07:00
confused-Techie
d363cc7340 Try reinstalling node-gyp for current NodeJS Version 2023-09-23 01:44:29 -07:00
DeeDeeG
a82b4d01dd
Merge pull request #725 from pulsar-edit/update-ppm-a2ade745bf
ppm: Update ppm submodule to commit a2ade745bfbc5f
2023-09-19 22:44:11 -04:00
Maurício Szabo
3c44af0b58
Merge pull request #479 from pulsar-edit/autocomplete-lsp-compatible-api 2023-09-18 12:39:51 -03:00
Maurício Szabo
d768ca004f Changelog update 2023-09-17 00:46:33 -03:00
Maurício Szabo
fe87354ed4 Merge remote-tracking branch 'origin/master' into autocomplete-lsp-compatible-api 2023-09-16 23:24:21 -03:00
DeeDeeG
76acee0c6c ppm: Update ppm submodule to commit a2ade745bfbc5f
Includes a lot of decaf work from multiple contributors,
a dependency bump, a small code refactor and a Windows postinstall fix
and switching to our fork of npm 6 that includes node-gyp 9.x.
2023-09-16 21:53:45 -04:00
confused_techie
31c5fc2762
Merge pull request #723 from pulsar-edit/1.109.0-release
1.109.0 release
2023-09-15 23:42:23 -07:00
confused-Techie
7984564a92 Add back dev 2023-09-15 23:41:51 -07:00
confused-Techie
91ef3d3258 Bump package.json version 2023-09-15 20:29:51 -07:00
confused-Techie
12fdc30367 Fix some items within Changelog 2023-09-15 20:28:16 -07:00
confused_techie
d9f3b870eb
Merge pull request #722 from pulsar-edit/1.109.0-changelog
Update Changelog for 1.109.0
2023-09-15 19:53:30 -07:00
confused-Techie
10b31b3cf9 Another last PR merged 2023-09-15 19:50:42 -07:00
confused_techie
00404d99bc
Merge pull request #717 from pulsar-edit/about-package-responsive-design-for-narrow-width-panels
about: Make the About page's CSS responsive for narrow panes
2023-09-15 19:50:01 -07:00
confused-Techie
ff481e3f86 Add last PR merge 2023-09-15 19:49:14 -07:00
confused_techie
cd08e5fbf0
Merge pull request #711 from pulsar-edit/use-local-image-for-bundled-packages
[core & settings-view] Avoid network requests for bundled packages
2023-09-15 19:47:50 -07:00
confused-Techie
3f77862990 Add new Changelog notes 2023-09-15 16:18:49 -07:00
confused-Techie
9e94ca1b6c Ensure we strip the repo of .git 2023-09-15 00:04:04 -07:00
confused-Techie
5dec09add0 Use helper function to ensure we always get repository URL 2023-09-14 23:43:57 -07:00
confused_techie
b79644e90b
Update packages/settings-view/lib/package-card.js
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2023-09-14 22:40:26 -07:00
Spiker985
218d26cd9f
Merge pull request #719 from pulsar-edit/update-jsdoc-tree-view-ci-error 2023-09-14 20:01:50 -04:00
Spiker985
79820ef760
Remove @ from example to fix Documentation CI
Coffeescript function calls are prefixed with an @, which is the same syntax that jsdoc uses for parsing - which meant that it thought the example was empty.
2023-09-14 18:50:55 -04:00
DeeDeeG
89c082dcc5 about: Delete commented out CSS styles/rules 2023-09-14 03:43:55 -04:00
DeeDeeG
80e830b573
Merge pull request #716 from pulsar-edit/CI-dont-update-CIRRUS_LAST_GREEN_CHANGE-for-skipped-builds
Cirrus: Don't update last good commit if CI skipped

Makes it so Cirrus Rolling doesn't skip, so we actually have
Rolling binaries/releases for ARM Linux + Apple Silicon again!
2023-09-13 22:14:16 -04:00
DeeDeeG
03033361c8
about: Delete a redundant CSS rule
This line was already overridden by the line right below it anyway...
2023-09-13 22:06:21 -04:00
DeeDeeG
e288139636 about: Make the about page's CSS responsive for narrow panes 2023-09-13 18:52:54 -04:00
Andrew Dupont
69038a1c4c
Merge pull request #677 from savetheclocktower/tree-sitter-more-fixes
Tree-sitter running fixes (August edition)
2023-09-13 15:14:27 -07:00
DeeDeeG
152b80e524
Cirrus: Don't update last good commit if CI skipped
For builds that are effectively skipped, since their tasks are all
skipped or not scheduled in the first place, we shouldn't update
CIRRUS_LAST_GREEN_CHANGE.

Unfortunately, Cirrus *does* update that for builds with no or
all-skipped tasks, for now. They may fix it in the future, we have a
feature request open for it. But for now, this is the workaround.
2023-09-13 15:36:48 -04:00
Andrew Dupont
e9903ad9d6 Change behavior of “adjustment exceeds bounds” error
Previously, we threw an error when a scope adjustment violated its bounds constraints, but that's a bit disruptive for everyday use. Instead, we throw an error in dev mode (so that the grammar's author doesn't fail to notice the problem), but downgrade it to a warning outside of dev mode so that it's recoverable.

There's a chance that the warning will be _too_ subtle, but we'll give it a shot.

We also include more diagnostic information so that it's clearer exactly _where_ the violation is happening.
2023-09-11 15:14:19 -07:00
confused_techie
7312ae4f83 Import path correctly 2023-09-11 08:58:40 -07:00
confused_techie
07b50d9751 Remove .git from repository.url in the package.json 2023-09-11 07:57:26 -07:00
confused_techie
4e55d8cee4
Merge pull request #707 from pulsar-edit/manual-decaf-source
[status-bar & tree-view] Manual Decaf Source
2023-09-07 22:16:42 -07:00