Commit Graph

41967 Commits

Author SHA1 Message Date
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
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
41d891582b
Merge pull request #968 from savetheclocktower/tree-sitter-april
Tree-sitter fixes (1.116 edition)
2024-04-14 13:19:42 -07:00
Andrew Dupont
35dd1cc667
Merge pull request #972 from savetheclocktower/bump-snippets-to-1-8-0
Bump `snippets` dependency to 1.8.0
2024-04-14 11:03:34 -07:00
Andrew Dupont
49681fd222 Bump snippets dependency to 1.8.0 2024-04-13 20:11:20 -07:00
cat-master21
5067a152ba
Merge branch 'pulsar-edit:master' into patch-1 2024-04-13 10:34:14 -07:00
cat-master21
2d1fec4686
WIP: only use an SVG for linux
Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com>
2024-04-13 10:17:56 -07:00
Andrew Dupont
5d6af88dd7 [language-python] Fix highlighting of some constructors 2024-04-11 20:39:26 -07:00
Andrew Dupont
03af1244d3 [language-python] Prevent type annotations from hinting at indents 2024-04-11 17:53:25 -07:00
Andrew Dupont
f7dbe7344a
Merge pull request #970 from savetheclocktower/comment-delimiter-metadata
Add a `TextEditor` method for retrieving comment delimiters…
2024-04-09 20:22:10 -07:00
Andrew Dupont
8145f06c5b Make TreeSitterLanguageMode::commentStringsForPosition
…_minimally_ support the new contract.

Some of the edge cases here aren't fixed, but this is good enough for a type of grammar whose days are numbered anyway.
2024-04-07 21:41:48 -07:00
Andrew Dupont
911a8d6fac Remove unused function 2024-04-07 21:14:24 -07:00
Andrew Dupont
769b86ed38 Rename method to getCommentDelimitersForBufferPosition
…as much as it pains me to do so.
2024-04-06 16:38:03 -07:00
Andrew Dupont
035595d1c2 Add TextEditor specs for new getCommentDelimitersForPosition 2024-04-06 16:36:13 -07:00
Andrew Dupont
0e41a3de8a Add specs for comment delimiters 2024-04-06 16:11:39 -07:00
Andrew Dupont
91bd970383 Improve handling of comment metadata edge cases 2024-04-06 16:03:39 -07:00
Andrew Dupont
a3fa3ee56d Rename comment-delimiter-utils.js to comment-utils.js 2024-04-06 13:36:16 -07:00
Andrew Dupont
e7b6265ecf Rename comment utility methods 2024-04-06 13:35:24 -07:00
Andrew Dupont
77260334fe Rewrite WASMTreeSitterGrammar::getCommentDelimiters
…so that it does a settings lookup and returns normalized data like its `LanguageMode` siblings.
2024-04-06 13:33:09 -07:00
Andrew Dupont
b9ee65f6a3 Add extensive comment delimiter metadata to most built-in grammars 2024-04-06 13:00:55 -07:00
DeeDeeG
ace4180d9f
Merge pull request #957 from pulsar-edit/rework-windows-path-modification
[core] (Windows) Remove all `Machine` PATH handling, add safety mechanisms
2024-04-06 15:41:43 -04:00
Andrew Dupont
bf62b01757 [language-typescript] Fix scopes on type annotations…
…so they don’t also apply to namespaced TSX tags.
2024-04-05 10:05:33 -07:00
Andrew Dupont
93ed91716b [language-typescript] Change scopes for template string punctuation…
…to match the names we use in JavaScript.
2024-04-04 17:20:20 -07:00
Andrew Dupont
cc42807574 [language-typescript] Add scope names to namespaced events…
…and a `meta` scope to every type annotation.
2024-04-04 17:18:18 -07:00
Andrew Dupont
27ee8b3edf [language-gfm] Fix name of modern grammar for Markdown 2024-04-04 15:59:52 -07:00
Andrew Dupont
ca0b1d7bb1 [language-typescript] Improve highlighting of TSX fragments 2024-04-03 23:41:58 -07:00
Andrew Dupont
22b27afd32 [language-(java|type)script] Highlight wildcard export specifiers…
…like `export * from 'foo'`.
2024-04-03 23:32:48 -07:00
Andrew Dupont
9583449e57 [language-gfm] Replace the modern Tree-sitter GFM grammar…
…with one based on a better parser.

The `ikatyang` parser is great… until multi-byte input comes into play, or some other construct it doesn't understand. It doesn't have any way to recover when it hits those cases; it just throws exceptions, and WASM can't catch them.

The `MDeiml` parser for Markdown had one deal-breaking issue (https://github.com/tree-sitter-grammars/tree-sitter-markdown/issues/92), and once that got solved, it emerged as the clear victor.

Several people have been using this grammar as `language-markdown-alpha` on the repository, and none of them have encountered any problems of the sort they did with the `ikatyang` parser.
2024-04-03 23:16:25 -07:00
Andrew Dupont
a8fb526fa2 [language-bash] Fix injectionRegex for bash grammar 2024-04-03 22:59:16 -07:00
cat-master21
d41f999959
feat: add screenshot image to metadata 2024-03-31 17:21:35 -07:00
cat-master21
f6c9180872
feat: add linux screenshot 2024-03-31 11:53:36 -07:00
cat-master21
1bd0c29f17
Merge branch 'pulsar-edit:master' into patch-1 2024-03-31 11:49:28 -07:00
cat-master21
9115431011
chore: remove extra line 2024-03-31 11:49:06 -07:00
cat-master21
cc2188fe74
feat: add new window action & application/x-zerosize 2024-03-31 11:38:34 -07:00
cat-master21
285421db3d
feat: backport changes from Flathub PR 2024-03-29 15:10:01 -07:00
confused-Techie
22bfa5c038 Much more logging, compatibility with Machine Installs 2024-03-26 02:24:21 -07:00
confused-Techie
eda5443bda Ensure script can launch, override path values on logging, add reboot warning 2024-03-25 16:58:06 -07:00
confused_techie
1e658d0735 Fix un-removed variable 2024-03-25 07:21:10 -07:00