Commit Graph

42008 Commits

Author SHA1 Message Date
Andrew Dupont
b4cba9b54d [language-typescript] Several fixes…
* Ensure private methods like `#foo` are included in lists of symbols.
* Scope `void` as a unary operator.
* Properly scope rest object properties in function definitions.
2024-06-13 14:11:00 -07:00
Andrew Dupont
ef26c588a3 [language-ruby] Fix our attempt to fold Ruby comments…
…so that it doesn’t try to look up a child node that we know won’t exist.

Most Ruby comments aren’t foldable because they start and end on the same line — by their very nature! But there is one obscure multi-line syntax that we can support, so this tells Pulsar to fold to the end of the comment itself.
2024-06-13 14:09:23 -07:00
Andrew Dupont
b61e491f2e Handle failed node descriptor lookups more gracefully
We made this change in one place, but not in another. The real fix is to make both places use the same copy of `resolveNodeDescriptor`, but that'll have to wait another month.
2024-06-13 14:07:41 -07:00
Andrew Dupont
ca02c51da5 Modify some AtomDoc blocks…
…in anticipation of the new auto-generated API docs. (These are some tweaks that I've applied locally because they make the docs better.)
2024-05-18 23:07:13 -07:00
Andrew Dupont
c04a38b39c [language-php] Update tree-sitter-php to latest…
…to gain support for type annotations on class constants, among other things.
2024-05-18 16:18:03 -07:00
Andrew Dupont
8bf199ad72 [language-php] Add a firstLineRegex
…so that the grammar-choosing logic picks the modern Tree-sitter grammar more consistently.
2024-05-18 16:04:25 -07:00
Andrew Dupont
55e869c786 [language-(java|type)script] Prevent the FOO in <FOO.Bar>
…from getting a `constant.other` scope applied.

Also ensure correct scoping of JSX tags even when the tag name is a member expression like `Foo.Bar`.
2024-05-18 15:44:04 -07:00
Andrew Dupont
5024f052e0
Merge pull request #974 from savetheclocktower/tree-sitter-may
Tree-sitter rolling fixes, 1.117 edition
2024-05-13 22:53:46 -07:00
confused_techie
8893ad2a35
Merge pull request #1000 from HonkingGoose/patch-1
Update Renovate preset name
2024-05-11 15:17:54 -07:00
HonkingGoose
b997853b24
Update Renovate preset name 2024-05-11 19:06:07 +02:00
DeeDeeG
c6f2d8dc29
Merge pull request #995 from pulsar-edit/debug-for-services
Debugging when a package service is incorrect
2024-05-10 01:37:06 -04:00
confused_techie
6c1f1ad697
Merge pull request #993 from pulsar-edit/bundle-snippets
Bundle snippets
2024-05-08 17:05:04 -07:00
confused_techie
93ff819122
Update packages/README.md
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2024-05-07 07:40:39 -07:00
confused_techie
b2eff87510
Update packages/README.md
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2024-05-07 07:40:33 -07:00
Andrew Dupont
4ff4a8bd42 [language-sass] Bump tree-sitter-scss to fix a bug 2024-05-06 17:11:41 -07:00
confused-Techie
c4cdd373bf Merge branch 'master' into bundle-snippets 2024-05-05 23:57:50 -07:00
Andrew Dupont
8e9e05db44 [language-typescript] More highlighting fixes, especially for operators 2024-05-05 22:45:41 -07:00
Andrew Dupont
3d70f62953 [language-gfm] Make each block-level HTML tag its own injection…
…which, surprising as it sounds, has a _huge_ performance benefit.
2024-05-05 22:45:41 -07:00
Andrew Dupont
6d36685df3 [language-ruby] Update to latest Tree-sitter Ruby parser 2024-05-05 22:45:41 -07:00
Andrew Dupont
5ea9adf13b Avoid the cost of reading node.children when we don't need to 2024-05-05 22:45:41 -07:00
Andrew Dupont
5472e32e21 [language-sass] Force the TextMate grammar when running SassDoc specs 2024-05-05 22:45:41 -07:00
Andrew Dupont
da1912d1a7 [language-sass] Add SCSS Tree-sitter grammar 2024-05-05 22:45:41 -07:00
confused_techie
ac17cd589e
Merge pull request #997 from pulsar-edit/CI-pin-GHA-to-macos-12-runner-images
CI: Pin to macOS 12 runner images instead of macos-latest (GiHub Actions)
2024-05-05 22:38:09 -07:00
DeeDeeG
70f48e2770 CI: Pin to macOS 12 runner images instead of macos-latest (GiHub Actions)
There is an issue with the libiconv library not being available
in macOS 14 out of the box. We can get it from Homebrew perhaps,
but for now pin to macos-12 runner images so we can be assured
of having working CI faster, without having to R&D a libiconv-
related workaround for macOS 14.
2024-05-05 22:23:44 -04:00
Maurício Szabo
8064ea6c6b Debugging when a package service is incorrect
This PR is basically to add some debugging info for providers and
consumers. Currently, when a package registers as a service provider or
a service consumer, and doesn't actually implements the right interface
(a function, basically) the package loader silently ignores it. This
commit adds a warning to console so that we know a package did the wrong
thing.
2024-05-05 20:43:10 -03:00
confused-Techie
15dd4f29c0 Update packages info 2024-04-28 13:22:01 -07:00
confused-Techie
4f02ca3b71 Bundle snippets 2024-04-28 13:16:43 -07:00
savetheclocktower
313793d78d GH Action Documentation 2024-04-20 18:37:12 +00:00
Andrew Dupont
b1b6883c57
Merge pull request #973 from savetheclocktower/regenerate-github-css
[markdown-preview] Add dark mode for GitHub-style preview
2024-04-20 11:35:14 -07:00
confused_techie
5c193276a6
Merge pull request #545 from pulsar-edit/change-window-theme
Change Window Theme with Pulsar Theme
2024-04-19 16:28:31 -07:00
DeeDeeG
99b62977b9
Merge pull request #983 from pulsar-edit/update-deprecated-GH-Actions
CI: Upgrade or replace all deprecated GH Actions
2024-04-19 12:24:15 -04:00
confused_techie
c2af92f0f0
Merge pull request #980 from pulsar-edit/org-is-not-clojure
[language-clojure] Stop detecting `.org` files as `language-clojure`
2024-04-18 19:55:10 -07:00
DeeDeeG
419801037e CI: Replace git-auto-commit-action with a short inline script
Avoids another external dependency.
2024-04-18 21:39:49 -04:00
DeeDeeG
f4622128f0 CI: Fix editor test run on macOS (no xvfb-run on macOS) 2024-04-18 17:37:32 -04:00
DeeDeeG
0be235a212 CI: Upgrade or replace all deprecated GH Actions
Most of these were old versions of actions
which were running on Node 16. Upgraded them to newer versions
which run on Node 20 instead.

Also tried to replace setup-xvfb action with a direct xvfb-run command.
Let's hope this works.
2024-04-18 17:19:26 -04:00
confused-Techie
9f0e8a2c8a Stop detecting .org files as language-clojure 2024-04-17 19:29:57 -07:00
confused_techie
a6fe2bcf3c
Merge pull request #977 from pulsar-edit/v1.116.0-release
v1.116.0 Release
2024-04-15 20:39:52 -07:00
confused-Techie
68cedf0977 Add back -dev 2024-04-15 20:39:32 -07:00
confused-Techie
31d7d8460e Last minute bug fix in StyleManager Changes
Odd this wasn't caught in our initial specs. But this issue only effects specs, as the actual production code is able to assign the callback with a function reference rather than a string which is then used to assign the callback itself.
2024-04-15 17:45:48 -07:00
confused-Techie
84608dc503 bump version 2024-04-15 17:02:01 -07:00
confused_techie
0b83471eb5
Merge pull request #976 from pulsar-edit/changelog-1.116.0
Changelog Entries 1.116.0
2024-04-15 16:58:29 -07:00
confused-Techie
2636f1e982 Add #935 2024-04-15 16:55:14 -07:00
DeeDeeG
4545472da5
Merge pull request #935 from cat-master21/patch-1
Update Pulsar's Linux desktop & metainfo mostly from Flatpak
2024-04-15 19:52:30 -04:00
confused-Techie
755c9f671f Add #959 2024-04-15 16:49:16 -07:00
confused_techie
cf7040e297
Merge pull request #959 from pulsar-edit/refactor-style-manager
[core] Simplify/Cleanup `StyleManager`
2024-04-15 16:46:56 -07:00
confused-Techie
0c73a6cc84 Add 1.116.0 Changelog entries 2024-04-15 16:44:19 -07:00
confused_techie
83f98e98a5
Update src/style-manager.js
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2024-04-15 16:38:25 -07:00
cat-master21
9d7933f3de
Revert: WIP: only use an SVG for linux
Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com>
2024-04-15 16:02:12 -07:00
Andrew Dupont
8b4fbbd23c Remove primer-markdown.less 2024-04-14 14:45:42 -07:00
Andrew Dupont
41d891582b
Merge pull request #968 from savetheclocktower/tree-sitter-april
Tree-sitter fixes (1.116 edition)
2024-04-14 13:19:42 -07:00