Commit Graph

41875 Commits

Author SHA1 Message Date
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
confused-Techie
90d71d0391 Remove all Machine handling of path modification, ensure to safely modify path 2024-03-17 23:54:48 -07: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
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
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
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
confused_techie
4c6d9071c2
Merge pull request #929 from pulsar-edit/1.114.0-release
1.114.0 Release
2024-02-16 00:31:38 -08:00
confused-Techie
5bfa0fbcac Add back -dev 2024-02-16 00:31:04 -08:00
DeeDeeG
ac73b991b6 cirrus: Install older dotenv gem version 2.8.1
This indirect dependency has a newer version that requires
Ruby 3.0 or newer. We're on Debian 10 "Buster" for now, which is
still on Ruby 2.5.

Pin to dotenv 2.8.1, the latest version compatible with our older Ruby,
per the error message from CI:

> The last version of dotenv (>= 0) to support your Ruby & RubyGems
> was 2.8.1. Try installing it with `gem install dotenv -v 2.8.1`
> and then running the current command again
>
> dotenv requires Ruby version >= 3.0.
> The current ruby version is 2.5.0.
2024-02-15 23:38:38 -05:00
confused-Techie
62e5ba2f5a Update version 2024-02-15 19:58:32 -08:00
confused_techie
e2a1209502
Merge pull request #927 from pulsar-edit/1.114.0-changelog
1.114.0 Changelog
2024-02-15 19:57:50 -08:00
confused-Techie
02f6a45944 Add github summary change 2024-02-15 19:56:48 -08:00
confused-Techie
176762234f Add last minute entries 2024-02-15 19:14:09 -08:00
DeeDeeG
f767672a35
Merge pull request #926 from savetheclocktower/symbols-view-keymap-fix
[symbols-view] Remap go-to-declaration commands on Windows/Linux
2024-02-15 22:08:07 -05:00
DeeDeeG
b931457ecb
Merge pull request #925 from pulsar-edit/update-github-v0.36.20-pretranspiled-bump-dugite
deps: Update github to v0.36.20-pretranspiled to bump dugite
2024-02-15 21:52:54 -05:00
confused-Techie
8052078d60 Manually add summary items 2024-02-15 18:34:36 -08:00
confused-Techie
299cc9c5ea Removed Rolling Release notes
These don't make much sense for the summary section, as pointed out on Discord
2024-02-15 18:25:41 -08:00
confused-Techie
b1a2187fd3 Add Changelog entries for 1.114.0 2024-02-15 17:33:10 -08:00
Andrew Dupont
325b6b6b1e [symbols-view] Remap go-to-declaration commands on Windows/Linux 2024-02-15 14:23:41 -08:00
DeeDeeG
544dcc01b7 deps: Update github to v0.36.20-pretranspiled to bump dugite
Effectively bumps dugite from 2.1.0 to 2.5.2.
Should improve github package's compatibility with ARM Linux?
2024-02-15 12:04:34 -05:00
confused_techie
68c88e731d
Merge pull request #924 from pulsar-edit/update-cirrus-token
[meta] Update Cirrus `GITHUB_TOKEN`
2024-02-15 08:07:48 -08:00
Andrew Dupont
ec12b2f0af
Merge pull request #906 from savetheclocktower/tree-sitter-february
Tree-sitter rolling fixes (February)
2024-02-14 21:30:09 -08:00
Andrew Dupont
114a7247de
Merge pull request #861 from savetheclocktower/symbols-view-fixes
`symbols-view` rolling fixes
2024-02-14 21:29:31 -08:00
confused-Techie
d99fe383d4 Update Cirrus GITHUB_TOKEN 2024-02-14 19:01:12 -08:00
Andrew Dupont
9b1e8e5513 Add features to folds:
* A new predicate called `fold.invalidateOnChange` that can be used when a change should automatically invalidate the fold cache for each row in a node's range.
* The ability to use custom predicates in `folds.scm` files. (Previously, captures from `folds.scm` did not consult an instance of `ScopeResolver` in the processing phase.)
2024-02-10 14:36:32 -08:00
Andrew Dupont
82eac2276d [language-typescript] Add syntax highlighting for enums 2024-02-09 22:33:48 -08:00
Andrew Dupont
89686ce03a [language-html] Allow for folding of attribute lists…
…such as in multi-line self-closing tags and multi-line opening tags.

Also fix an issue in fold handling that made it impossible to use `@_IGNORE_` captures in `folds.scm`.
2024-02-09 14:20:34 -08:00
Andrew Dupont
cc20d7055d [language-html] Fix indentation after self-closing tags 2024-02-09 09:51:41 -08:00
Andrew Dupont
732d1d40a6
Merge pull request #913 from savetheclocktower/fix-command-palette-match-highlighting
[command-palette] Guard against failure to highlight a match
2024-02-09 09:17:46 -08:00
Andrew Dupont
7dbbd7afda
Update packages/command-palette/lib/command-palette-view.js
Co-authored-by: Maurício Szabo <mauricioszabo@users.noreply.github.com>
2024-02-09 09:17:25 -08:00
Andrew Dupont
2c5be1eda9 [command-palette] Guard against failure to highlight a match 2024-02-08 19:44:02 -08:00
DeeDeeG
d1bb4c24a2
Merge pull request #901 from pulsar-edit/fix-Rolling-upload-tag-for-Linux-binaries
CI: Fix tag Linux binaries are uploaded to for Rolling
2024-02-06 14:17:05 -05:00
DeeDeeG
ca8ee62ad0
Merge pull request #903 from pulsar-edit/pulsar-rolling-script-version-check-tweak
script: Update version check in Rolling release binary upload script to exclude '-dev' versions
2024-02-06 10:26:03 -05:00
confused_techie
39caa3bece
Merge pull request #908 from pulsar-edit/update-ppm-241d794f326b63b5abdb9769
ppm: Update ppm to commit 241d794f326b63b5abdb9769
2024-02-05 00:52:32 -08:00
Andrew Dupont
c188a26730 Don’t try to lint JS in the vendor directory 2024-02-04 13:36:33 -08:00
Andrew Dupont
e332953260 [language-c] Add missing anchor to constant pattern 2024-02-04 13:36:17 -08:00
Andrew Dupont
cb7d4aad6c [language-c] C/C++ highlighting fixes…
Changes: 

* `#define FOO 1` and `#define FOO` will _always_ scope `FOO` as `constant.other.c`, even when `FOO` is mixed-case or lower-case.
* `#define FOO()` will _always_ scope `FOO` as `entity.name.function.preprocessor.c`, even when `FOO` is mixed-case or lower-case.
* Usages of bare identifiers in other contexts in preprocessor directives should always scope them as `constant.other.c` — unless I’m made aware of any counterexamples where that shouldn’t happen. For example: in `#if TABLE_SIZE > 200`, `TABLE_SIZE` should always be `constant.other.c`, no matter its casing.
* All-caps variable declarations and assignments (`int FOO = 0`, etc.) should scope `FOO` as `variable` rather than `constant`. We should only scope an arbitrary identifier as `constant` if we think it’s been used in the context of a macro definition.

However:

* When deciding whether something outside of a directive refers to a macro constant, we have no choice but to use the `ALL_CAPS` heuristic. Ideally we’d be able to determine that from some sort of analysis of the source code files — but even if we could keep track of that sort of thing in a single buffer, it’d fall down when macro constants _defined in other files_ are used. All we can do here is make a best guess.
2024-02-03 23:39:12 -08:00
Andrew Dupont
10ce3b11a1 Forgot to bump parserSource (the system works!) 2024-02-02 23:57:21 -08:00
Andrew Dupont
5628d089dc Fix argument passing in the Task class
This code snippet sets up logging so that a worker process can call `console.log` and its siblings and have them show up in the renderer process’s console… but it’s trying to destructure the antiquated magical `arguments` collection (which is like an array, but isn’t an array!) and the engine doesn’t seem to like it.

Logging didn’t work for me until I changed this.

This is such a tiny fix, and I don’t have the energy to shelve everything on this branch just to make a separate PR.
2024-02-02 23:10:49 -08:00
Andrew Dupont
3131464ddb [language-php] Update tree-sitter-phpdoc
…and add some `punctuation` scopes for the generic type delimiters.
2024-02-02 23:07:34 -08:00
Andrew Dupont
69fb61e80c Add fallback values for new compulsory syntax variables…
…that were added to the theme generator in https://github.com/pulsar-edit/ppm/pull/123.
2024-02-01 21:35:07 -08:00
Andrew Dupont
32c464b3cb [language-typescript] Highlight escape characters 2024-02-01 21:35:07 -08:00
Andrew Dupont
982917803e [language-php] Fix block comments failing to re-highlight 2024-02-01 21:35:07 -08:00
DeeDeeG
44cabb094b ppm: Update ppm to commit 241d794f326b63b5abdb9769
Includes ppm PRs 122, 123, and 124.
2024-02-02 00:21:10 -05:00
Andrew Dupont
dff70516aa
Merge pull request #905 from savetheclocktower/fix-settings-view-readme-markdown-headings
[settings-view] Don’t display heading anchor icons within a README
2024-02-01 18:29:00 -08:00
Andrew Dupont
b3b16010fa [settings-view] Don’t display heading anchor icons within a README 2024-01-31 23:05:18 -08:00
Andrew Dupont
ca25930510
Merge pull request #902 from savetheclocktower/tree-sitter-hotfix
Fix failing spec
2024-01-29 23:35:44 -08:00