Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
54c7924
Internalizing pathwatcher
mauricioszabo Oct 4, 2022
4ab75b0
Bumping superstring to WASM version
mauricioszabo Oct 13, 2022
723f303
Making all requires to superstring async
mauricioszabo Oct 13, 2022
56fcfc6
Source?
mauricioszabo Oct 13, 2022
abb4bba
Removed log
mauricioszabo Oct 13, 2022
5a96a8c
Another debug info
mauricioszabo Oct 13, 2022
29e9481
Trying to fix another issue with async require
mauricioszabo Oct 14, 2022
34976dd
More async instantiations, and bump superstring
mauricioszabo Oct 14, 2022
b011a9f
Moving back to sync things
mauricioszabo Oct 14, 2022
738c797
Migrated marker-layer to JS
mauricioszabo Oct 14, 2022
ceddf28
Using different pathwatcher
mauricioszabo Oct 17, 2022
c7e6b80
Updating pathwatcher dependency
mauricioszabo Oct 23, 2022
18fb410
Bump pathwatcher
mauricioszabo Oct 31, 2022
60dc5e7
Back to pathwatcher...
mauricioszabo Nov 2, 2022
c62430d
Back to pathwatcher...
mauricioszabo Nov 2, 2022
275c296
Updated superstring
mauricioszabo Nov 21, 2022
f8702c8
Bump Superstring
mauricioszabo Dec 10, 2022
219a14e
Superstring bump again
mauricioszabo Dec 11, 2022
d190151
Fixing Superstring's TextBuffer#load.
mauricioszabo Dec 13, 2022
edcf6d4
Some fixes on Superstring's WASM differences
mauricioszabo Dec 13, 2022
5cd684c
Fixes returns of old callbacks
mauricioszabo Dec 13, 2022
c0c7cf3
Bump superstring
mauricioszabo Dec 14, 2022
eed7259
Atom => Pulsar on README
mauricioszabo Mar 9, 2023
12d22ab
Decaff DefaultHistoryProvider
mauricioszabo Mar 9, 2023
de5e365
Decaff DisplayMarker
mauricioszabo Mar 9, 2023
06f5972
Defaff display-marker-layer
mauricioszabo Mar 9, 2023
d914622
Decaff point
mauricioszabo Mar 9, 2023
9a98baa
decaffeinate: Rename is-character-pair.coffee and 4 other files from …
mauricioszabo Mar 9, 2023
9285a94
decaffeinate: Convert is-character-pair.coffee and 4 other files to JS
mauricioszabo Mar 9, 2023
8b8ac8d
decaffeinate: Run post-processing cleanups on is-character-pair.coffe…
mauricioszabo Mar 9, 2023
adf8f1a
Fixing semi-constructor stuff from Point and Range
mauricioszabo Mar 9, 2023
355d916
Adding the static functions
mauricioszabo Mar 9, 2023
364538f
More fixes to translation
mauricioszabo Mar 9, 2023
12f7a42
Upgrade pathwatcher
mauricioszabo Jun 13, 2023
8d3e3cd
Re-sync superstring
mauricioszabo Sep 19, 2023
8f0321e
Forcing ID to be integer
mauricioszabo Sep 20, 2023
11be3a7
Forcing ID to _be an int_
mauricioszabo Sep 21, 2023
1be8794
Don't delete a property on a frozen object
savetheclocktower Dec 24, 2024
179b14c
Bump to newer `pathwatcher` dependency to get bugfixes
savetheclocktower Dec 26, 2024
a084d89
Make more specs pass…
savetheclocktower Dec 26, 2024
5a08449
Fix folds specs by using new option name in `Patch`
savetheclocktower Dec 26, 2024
f799ca3
Introduce a brief pause between some specs
savetheclocktower Dec 26, 2024
806a181
Get `findWordsWithSubsequence` specs passing
savetheclocktower Dec 27, 2024
d9fb8b9
Fix failing `TextBuffer` spec
savetheclocktower Dec 27, 2024
e7a4651
Remove outdated comment
savetheclocktower Dec 27, 2024
6a87705
Run CI against PRs
savetheclocktower Dec 30, 2024
bd92b30
Fix syntax
savetheclocktower Dec 30, 2024
dd1702a
Try to force x64
savetheclocktower Dec 30, 2024
64594a1
Just trying things at this point
savetheclocktower Dec 30, 2024
a7bf41e
Try a newer Node
savetheclocktower Dec 30, 2024
927f1ce
Temporarily disable Windows CI
savetheclocktower Dec 30, 2024
4cbc873
Match local Node version (sanity check)
savetheclocktower Dec 30, 2024
6c534fc
Pending work to decaffeinate specs…
savetheclocktower Sep 4, 2025
e2247d4
Fix failing specs
savetheclocktower Sep 4, 2025
587dd18
Streamline definitions of callable `Point` and `Range` constructors
savetheclocktower Sep 5, 2025
61d757f
Further decaffeination cleanup
savetheclocktower Sep 5, 2025
bb2dac8
Remove remaining CoffeeScript artifacts
savetheclocktower Sep 5, 2025
57e73ee
Fix documentation generation
savetheclocktower Sep 5, 2025
6c912d5
Clean up wrapper code for callable constructors (for `Point`/`Range')
savetheclocktower Sep 5, 2025
8cc7dfa
Fix conflict
savetheclocktower Oct 9, 2025
8d95fdd
Debounce extra file-change event causing test failure on Linux
savetheclocktower Oct 9, 2025
616d018
Try installing `setuptools` differently
savetheclocktower Oct 9, 2025
e3a8f00
Point to NPM-hosted `superstring` and `pathwatcher`
savetheclocktower Oct 10, 2025
ad87d1c
Remove old `.coffee` specs
savetheclocktower Oct 11, 2025
b3089d4
Remove scripts and dependencies related to API doc generation
savetheclocktower Oct 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .coffeelintignore

This file was deleted.

28 changes: 23 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: CI

on: [push]
on:
pull_request:
push:
branches:
- master

env:
CI: true
Expand All @@ -9,18 +13,32 @@ jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest]
node_arch:
- x64
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
- name: Install Python setuptools
node-version: '20.11.1'
architecture: ${{ matrix.node_arch }}
- name: Install Python setuptools (Unix-likes)
# This is needed for Python 3.12+, since many versions of node-gyp
# are incompatible with Python 3.12+, which no-longer ships 'distutils'
# out of the box. 'setuptools' package provides 'distutils'.
run: python3 -m pip install setuptools
if: ${{ runner.os != 'Windows' }}
run: python3 -m pip install --break-system-packages setuptools
- name: Install Python setuptools (Windows)
# This is needed for Python 3.12+, since many versions of node-gyp
# are incompatible with Python 3.12+, which no-longer ships 'distutils'
# out of the box. 'setuptools' package provides 'distutils'.
if: ${{ runner.os == 'Windows' }}
run: |
python3 -m venv CI_venv
CI_venv\Scripts\activate.bat
python3 -m pip install setuptools
- name: Install windows-build-tools
if: ${{ matrix.os == 'windows-latest' }}
run: npm config set msvs_version 2019
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.DS_Store
.tool-versions
node_modules
*.swp
lib
npm-debug.log
.coffee
api.json
package-lock.json
2 changes: 0 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
spec
script
src
*.coffee
.npmignore
.DS_Store
npm-debug.log
.travis.yml
.pairs
.coffee
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Atom TextBuffer Core
[![CI](https://github.com/atom/text-buffer/actions/workflows/ci.yml/badge.svg)](https://github.com/atom/text-buffer/actions/workflows/ci.yml)
# Pulsar TextBuffer Core

This is the core of the Atom text buffer, separated into its own module so its tests can be run headless. It handles the storage and manipulation of text and associated regions (markers).
This is the core of the Pulsar's text buffer, separated into its own module so its tests can be run headless. It handles the storage and manipulation of text and associated regions (markers).
37 changes: 0 additions & 37 deletions coffeelint.json

This file was deleted.

27 changes: 9 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,42 @@
{
"name": "text-buffer",
"name": "@pulsar-edit/text-buffer",
"version": "13.18.6",
"description": "A container for large mutable strings with annotated regions",
"main": "./lib/text-buffer",
"main": "./src/text-buffer",
"scripts": {
"prepublish": "npm run clean && npm run compile && npm run lint && npm run docs",
"docs": "node script/generate-docs",
"prepublish": "npm run clean",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We very likely could remove all these steps and the Joanna dep from this repo, since we no longer utilize the local api.json to construct our API docs, everything would be handled over on the documentation repository.

"clean": "rimraf lib api.json",
"compile": "coffee --no-header --output lib --compile src && cpy src/*.js lib/",
"lint": "coffeelint -r src spec && standard src/*.js spec/*.js",
"test": "node script/test",
"ci": "npm run compile && npm run lint && npm run test && npm run bench",
"ci": "npm run test && npm run bench",
"bench": "node benchmarks/index"
},
"repository": {
"type": "git",
"url": "https://github.com/atom/text-buffer.git"
"url": "https://github.com/pulsar/text-buffer.git"
},
"bugs": {
"url": "https://github.com/atom/text-buffer/issues"
"url": "https://github.com/pulsar/text-buffer/issues"
},
"atomTestRunner": "atom-jasmine2-test-runner",
"license": "MIT",
"devDependencies": {
"atom-jasmine2-test-runner": "^1.0.0",
"coffee-cache": "^0.2.0",
"coffee-script": "^1.10.0",
"coffeelint": "1.16.0",
"cpy-cli": "^1.0.1",
"dedent": "^0.6.0",
"donna": "^1.0.16",
"electron": "^6",
"electron": "^30",
"jasmine": "^2.4.1",
"jasmine-core": "^2.4.1",
"joanna": "0.0.11",
"json-diff": "^0.3.1",
"random-seed": "^0.2.0",
"regression": "^1.2.1",
"rimraf": "~2.2.2",
"standard": "^10.0.3",
"tello": "^1.0.7",
"temp": "^0.8.3",
"yargs": "^6.5.0"
},
"dependencies": {
"@pulsar-edit/pathwatcher": "^9.0.2",
"@pulsar-edit/superstring": "^3.0.4",
"delegato": "^1.0.0",
"diff": "^2.2.1",
"emissary": "^1.0.0",
Expand All @@ -52,9 +45,7 @@
"fs-plus": "^3.0.0",
"grim": "^2.0.2",
"mkdirp": "^0.5.1",
"pathwatcher": "^8.1.0",
"serializable": "^1.0.3",
"superstring": "^2.4.4",
"underscore-plus": "^1.0.0",
"winattr": "^3.0.0"
},
Expand Down
25 changes: 0 additions & 25 deletions script/generate-docs

This file was deleted.

Loading