Commit Graph

42103 Commits

Author SHA1 Message Date
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
confused_techie
657026a11e 1.115.0 Changelog Entries 2024-03-22 07:22:08 -07:00
Andrew Dupont
7811c41a6a
Merge pull request #956 from pulsar-edit/tree-sitter-ruby-folds
Fixed folds for Ruby
2024-03-21 20:30:13 -07:00
Andrew Dupont
953c1e265c Remove stale comments 2024-03-21 16:03:31 -07:00
Andrew Dupont
15b3a49703 [language-hyperlink] Allow includeChildren option…
…when defining hyperlink injection.
2024-03-21 16:02:51 -07:00
Andrew Dupont
4c5ef99281 [language-typescript] Add highlighting for regular expressions
(Apologies for this oversight.)
2024-03-21 16:01:32 -07:00
Maurício Szabo
ab2df0ebf1
Merge branch 'master' into tree-sitter-ruby-folds 2024-03-21 19:49:02 -03:00
Andrew Dupont
1481d392bd
Merge pull request #941 from savetheclocktower/tree-sitter-march
Tree-sitter rolling fixes: 1.115 edition
2024-03-19 18:56:08 -07:00
Andrew Dupont
6fe8e5377a Address feedback 2024-03-19 18:55:31 -07:00
DeeDeeG
bc6888ccdb
Merge pull request #960 from pulsar-edit/cirrus-update-Rolling-token-again
cirrus: Update Rolling upload token again
2024-03-19 21:31:40 -04:00
DeeDeeG
4940e206db
Merge pull request #961 from pulsar-edit/cirrus-macOS-fixes
cirrus: Various fixes for macOS Cirrus CI
2024-03-19 21:28:40 -04:00
DeeDeeG
01bf81772a cirrus: Various fixes for macOS Cirrus CI
- Pin the base (CI-provided) OS image to Ventura, not Sonoma
  - Fixes some C/C++ compilation errors??
  - Gives us older XCode & compiler toolchain, I guess?
- Get node using tj/n utility, not Homebrew
  - Homebrew "node" package is conflicting with (now deprecated)
    "node@16" package, loading dynamic libraries like icu4c
    keeps breaking...
- Get Yarn using npm global install, not from Homebrew
  - I... honestly don't even know at this point. But Yarn from Homebrew
    is breaking somehow, possibly due to it referring back to Homebrew
    "node" package, but _that's just a guess_. It's cursed, I guess.
- Get python-setuptools from Homebrew, not from pip
  - Why? Why is this necessary? Homebrew, explain? Something about our
    "environment being externally managed", so global package installs
    with pip aren't allowed. This makes sense to someone. See PEP 668.
- Adjust PATH exports now that there's no "node@16" from Homebrew
2024-03-19 14:01:26 -04:00
confused-Techie
8dd3ca738f Ensure we can call upgradeStyleSheet without access to StyleManager local functions 2024-03-18 16:20:50 -07:00
DeeDeeG
5455b7d2b6 cirrus: Try to update Rolling upload token again
I must have accidentally regenerated the token an additional time
after encrypting it last time, such that the encrypted version was
already inactive (regenerated over) by the time the PR went up
to switch to it.

Fingers crossed I've done it correctly this time.
2024-03-18 18:39:19 -04:00
confused_techie
a4b0c63eaa Refactor/Simplify StyleManager 2024-03-18 14:33:55 -07:00
confused-Techie
90d71d0391 Remove all Machine handling of path modification, ensure to safely modify path 2024-03-17 23:54:48 -07:00
Andrew Dupont
a294c88a47 [language-c] C/C++ highlighting fixes…
* GOTO labels
* Members like `foo.bar`
* Marking of constants in C++
2024-03-17 20:49:17 -07:00
Maurício Szabo
c2b501244b CHANGELOG update 2024-03-16 02:29:07 -03:00
Maurício Szabo
0e8a54fdaf Symbol and string arrays folds for Ruby 2024-03-16 02:27:44 -03:00
Maurício Szabo
73e9543eb7 Fixed folds for Ruby 2024-03-16 02:15:06 -03:00
confused_techie
3411fb731a
Merge pull request #944 from schadomi7/fuzzy-finder-teletype-fix-old-nodejs
Fix(fuzzy-finder) fs.lstatSync throws Exception if not a file or dir
2024-03-15 21:26:27 -07:00
Andrew Dupont
175174e05c [language-javascript] Remove stale TODO comment 2024-03-10 16:04:59 -07:00
Andrew Dupont
86cb072c54 [symbols-view] Ensure query field contents are initially selected…
…when `prefillSelectedText` is `true` and the editor has selected text when a `SelectListView` is opened.
2024-03-10 14:09:30 -07:00
Andrew Dupont
e030105820 [language-ruby] Enhancements for percent-array notation in Ruby
Fixes #945.
2024-03-09 10:33:01 -08:00
Andrew Dupont
78deb79146 [language-c] Fix issue where the wrong node gets injected into…
…in a macro definition.
2024-03-09 10:14:39 -08:00
confused_techie
7d2d876cf2
Merge pull request #936 from pulsar-edit/CI-update-Cirrus-token
CI: Update Rolling upload token for Cirrus CI
2024-03-07 07:58:18 -08:00
confused_techie
5c54aed584
Merge pull request #937 from pulsar-edit/Cirrus-gem-dependencies-fix
Cirrus: Install older dotenv gem version ~> 2.8 (< 3)
2024-03-07 07:57:28 -08:00
Andrew Dupont
95ca84a58a [language-shellscript] Attempt to bump tree-sitter-bash once again 2024-03-06 23:04:06 -08:00
Andrew Dupont
83a0e127f9 Update web-tree-sitter to custom version of 0.20.9 2024-03-06 23:03:11 -08:00
Dominik Schachten
59bdc8d354 Fix fs.lstatSync throws Exception if no file or dir
If it throws the Exception, other valid uris such as atom://teletype/...
will not be evaluated in the else branch
The old fs-plus did not throw.
Newer versions of fs.lstatSync allow for option parameter to control if it throws.
2024-03-05 20:43:49 +01:00
Andrew Dupont
579cc2605b [grammar-selector] Show a badge for all kinds of grammars…
…when `hideDuplicateTextMateGrammars` is `false`.
2024-03-03 21:42:18 -08:00
Andrew Dupont
e8d4e0b06d [grammar-selector] Simplify fallback options…
…when the user's preferred type of grammar isn't available for a particular language.
2024-03-03 00:11:25 -08:00
Andrew Dupont
df6349af83 Update workspace spec…
…to reflect new behavior of `GrammarRegistry#getGrammars`.
2024-03-02 21:23:44 -08:00
Andrew Dupont
b9258b5884 [grammar-selector] Overhaul grammar display:
* When set to `true`, `hideDuplicateTextMateGrammars` will hide all grammars except whichever one the user has indicated a preference for — via `useTreeSitterParsers` and `useLegacyTreeSitter` settings, whether global or scope-specific.

* When set to `false`, `hideDuplicateTextMateGrammars` will show all grammars, even Legacy Tree-sitter.
2024-03-02 20:55:02 -08:00
Andrew Dupont
6c54813c21 Add spec for scope-specific core.useLegacyTreeSitter setting 2024-03-02 17:37:04 -08:00
Andrew Dupont
fd37c4dcbf Fix issue where we fail to consider legacy Tree-sitter grammars…
…if the user has opted into them via _only_ a scope-specific setting.
2024-03-02 17:31:32 -08:00
Andrew Dupont
ab6f08101d Make divided folds end at the end of the preceding line much more often 2024-03-02 17:15:10 -08:00
Andrew Dupont
89d410baef Small fixes 2024-03-02 17:13:57 -08:00
Andrew Dupont
8b0f62b7a0 Prefer synchronous indentation by default in modern Tree-sitter…
…but only while we can afford to spend time on re-parsing.

Synchronous indentation hinting is clearly the best choice, but it can theoretically be very costly. So we'll set a time budget per transaction — currently 10ms, but could be adjusted up or down. We'll start out doing synchronous indentation, but flip to async indentation if we run out of time in a given transaction. At the end of a transaction, the time budget resets.

This allows us to balance indentation accuracy with editor responsiveness, and would even allow us to expose this tradeoff as a setting in the future. The current threshold, 10ms, would probably result in one dropped frame if exceeded, but not two.

Right now, any one parse can exceed the budget — because we don't set a timeout on the parse the way we do with an async parse. But this could be changed in the future. The main goal here is to prevent a catastrophic scenario where a complex transaction locks up the editor.
2024-03-02 16:27:29 -08:00
Andrew Dupont
afe6e1e7bf Be more aggressive in determining suggested indent positions…
…at ends of transactions — instead of falling back to a transaction-wide auto-indent quite so easily.
2024-03-02 13:45:57 -08:00
Andrew Dupont
2827e6a4c4 [language-typescript] Add cts(x)/mts(x) to the file extensions lists 2024-03-01 15:43:49 -08:00
DeeDeeG
cc4e193529 cirrus: Pin dotenv to semver ~> 2.8, not exact 2.8.1
Better to receive future minor/patch updates than pin exact,
considering this dependency used to be totally unbounded ">= 0".

We probably won't remember to update this in the future,
so best to specify a range rather than an exact arbitrary version.
2024-03-01 13:30:09 -05:00
DeeDeeG
b2b2ed9b2e CI: Update Rolling upload token for Cirrus CI
The old token has expired.
2024-02-19 23:12:31 -05:00
Andrew Dupont
0cea2667a8 [language-typescript] Highlighting fixes…
* Add scopes for unary arithmetic operators (`+`, `-`)
* Ensure that function parameters set `capture.final`
2024-02-17 22:19:44 -08:00
Maurício Szabo
444e400e90 Fixes on Clojure extension types 2024-02-17 22:20:51 -03:00