Commit Graph

42014 Commits

Author SHA1 Message Date
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
Andrew Dupont
2369395ba2 [markdown-preview] Add specs for GitHub light/dark themes 2024-04-14 12:58:52 -07:00
Andrew Dupont
596a3cd798 [markdown-preview] Add dark mode GitHub styles for Markdown…
…and the ability to choose a specific theme via a config setting (or use the system default).
2024-04-14 12:58:52 -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
confused-Techie
d697005b6c Make window to theme syncing configurable 2024-04-09 20:04:06 -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
DeeDeeG
7740b2f168
Merge pull request #964 from pulsar-edit/v1.115.0-release
1.115.0 Release
2024-03-23 00:04:20 -04:00
DeeDeeG
3b8b46a6c3 Add -dev back to the version string 2024-03-23 00:01:06 -04:00
DeeDeeG
c1d04287dd meta: Update version in package.json to 1.115.0 2024-03-22 21:06:16 -04:00
DeeDeeG
997a2a955c
Merge pull request #962 from pulsar-edit/1.115.0-changelog
1.115.0 Changelog Entries
2024-03-22 21:00:36 -04:00
DeeDeeG
d3853eee34 changelog: Adjust/add changelog entry for PR 956 2024-03-22 20:16:06 -04:00
DeeDeeG
219e42da38 changelog: Fix typo in a contributor's GitHub handle 2024-03-22 20:12:11 -04:00