Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pulsar-edit/superstring-wasm

Native core components for Pulsar - WASM version
https://github.com/pulsar-edit/superstring-wasm

Clean up TextBuffer.load tests

d48fb724de3c42aa95629f3dad98882e4a20251b authored over 7 years ago by Max Brunsfeld <[email protected]>
Allow a JS stream to be passed to .load in place of the file path

67618bd759ddc3bdd8f9ee8a78491375efb0091c authored over 7 years ago by Max Brunsfeld <[email protected]>
Move loading of transcoder outside of Text constructor and ::write

This avoids repeated calls to iconv_open when saving a buffer chunk by
chunk.

c31adf89f7387872628980de071e355f9af6ad5d authored over 7 years ago by Max Brunsfeld <[email protected]>
Get browser version working again

f530500abd833b5dbefffdb31e0e89e46b7a2b02 authored over 7 years ago by Max Brunsfeld <[email protected]>
Merge branch 'master' into text-buffer

df7934ecb2db9b2e7afb6c7e91d893ebd6f099da authored over 7 years ago by Max Brunsfeld <[email protected]>
:art: nest .save worker class inside of .save method

23eae785bed9c39ed06498733e03e3f6c9a746ee authored over 7 years ago by Max Brunsfeld <[email protected]>
Implement .reload

aa1e8b842f721cf8e6b709843db2875316dd0250 authored over 7 years ago by Max Brunsfeld <[email protected]>
Give loadSync the same semantics as load

2c6b4d526a41e5b30dc883e694cb60e921e96f96 authored over 7 years ago by Max Brunsfeld <[email protected]>
Avoid temporarily moving from text in text_diff

This move was done to avoid a copy. But text_diff was called in a
background thread, it was poss...

6f81d1a4f7e3ae89d1eb5c401a0990d85aa9ee8b authored over 7 years ago by Max Brunsfeld <[email protected]>
Get the base text from a snapshot when computing diff in the background

d046e84448646f667ffe289b6ed2b6157a8da83f authored over 7 years ago by Max Brunsfeld <[email protected]>
Add non-copying Snapshot::base_text() method

8bdfa041037c44506e4a48680d1f3559cb4633e4 authored over 7 years ago by Max Brunsfeld <[email protected]>
Cancel TextBuffer.load calls if buffer is modified

e73b566b2997aec1902dbb899a5ba2928611c326 authored over 7 years ago by Max Brunsfeld <[email protected]>
1.4.0

32c5f5dfcecbe2e65db81871c945e60c2be5a2ac authored over 7 years ago by Nathan Sobo <[email protected]>
Merge pull request #13 from atom/ns-find-boundaries-after

Replace MarkerIndex.findBoundariesIn with findBoundariesAfter taking a max count

2b059dbf89546237965187d7f0d80aea299b9e46 authored over 7 years ago by Nathan Sobo <[email protected]>
Replace MarkerIndex.findBoundariesIn with findBoundariesAfter

It takes a count of the number of boundaries we'd like to return rather
than a spatial window. T...

5c09797aa6d64dcc1defbe20ec48c4659571457d authored over 7 years ago by Nathan Sobo <[email protected]>
Throw original error if debug module cannot be found

Otherwise all errors end up looking like a problem finding the debug
module, which often isn't t...

82ce0eac8fba63e292ce6a8acffb353c3847ac53 authored over 7 years ago by Nathan Sobo <[email protected]>
Handle partial matches at EOF in TextBuffer::search

* encapsulate the PCRE API within the Regex helper class
* in randomized tests for ::search, tes...

518e865e1c442cab772ee90c0a0e6b7328d21ce9 authored over 7 years ago by Max Brunsfeld <[email protected]>
Account for outstanding changes in patch returned from TextBuffer.load

87a1274f8de0829e87bf77218fe7b536c2932a42 authored over 7 years ago by Max Brunsfeld <[email protected]>
:memo: Add comment explaining VectorStringAdapter

596f2580d48e0a3baa4602e3701ab475e5f594e7 authored over 7 years ago by Max Brunsfeld <[email protected]>
Update JS tests for TextBuffer.load to include the old and new text

eb697dd6337be1073f52758e6b275b1b2fb10838 authored over 7 years ago by Max Brunsfeld <[email protected]>
1.3.0

518f540971136ab565ab6e363f44305e83fbe91b authored over 7 years ago by Nathan Sobo <[email protected]>
Merge pull request #12 from atom/as-ns-find-boundaries-in

Add MarkerIndex::findBoundariesIn(start, end)

d9e1c45a28c3fa4822b4195f0a07c7090626f5eb authored over 7 years ago by Nathan Sobo <[email protected]>
Escape newlines when printing Text

e562913096a6dd9ee5228df74f9c47c2d2c1eb25 authored over 7 years ago by Max Brunsfeld <[email protected]>
Include text in the Patch produced by text_diff

813af04b93e6f240976cb78cf83aec827bedd49b authored over 7 years ago by Max Brunsfeld <[email protected]>
Add documentation for `findBoundariesIn (start, end)`

e9f0a9dc04e14077afb20c957fc13ea0925330d3 authored over 7 years ago by Antonio Scandurra <[email protected]>
Add emscripten bindings

cbf4d40c8db1279c014387a688b041bd222453cd authored over 7 years ago by Antonio Scandurra <[email protected]>
Remove unnecessary traversal to retrieve boundaries

b8d93dfe9cb3d7cd9c44d07e06d112df5b3c68ba authored over 7 years ago by Antonio Scandurra <[email protected]>
:art:

bcdc1b1925ebaead89192b4943a05da7c6ac2555 authored over 7 years ago by Antonio Scandurra <[email protected]>
Rename `marker_ids_to_js` to `marker_ids_set_to_js`

5e88af213f92df8e758cbc2d94f7df6c763f75ce authored over 7 years ago by Antonio Scandurra <[email protected]>
Report also boundaries that occur in a given range

398592a666688a3c27cb9d31578bd591d6d20592 authored over 7 years ago by Antonio Scandurra <[email protected]>
Start implementing `findBoundariesIn`

Right now this includes only the boilerplate for the node binding and
the logic for finding and ...

47dac93551005ef766994cc6ca49891e0b76eced authored over 7 years ago by Antonio Scandurra <[email protected]>
Add TextBuffer.getDotGraph method, for debugging

989997c7979812f5ecb5abd3235704c865406d06 authored over 7 years ago by Max Brunsfeld <[email protected]>
Make TextBuffer::reset work even when there are outstanding changes

99f1296c6248b26a80a751de0ec247ef5b2fd94b authored over 7 years ago by Max Brunsfeld <[email protected]>
Make TextBuffer.load resolve with a Patch

5cacc20ecb01d15f4aaaf8bf29999c245c8dc5d3 authored over 7 years ago by Max Brunsfeld <[email protected]>
Convert -Infinity to 0 when converting Points from JS to C++

65454acb43bc0eb83f6c6c1860daa82bd0fa73fb authored over 7 years ago by Max Brunsfeld <[email protected]>
Clip ranges properly in for_each_chunk_in_range when buffer has no edits

5ee50e23c00bd2dab00c6b729eeba385f4a77518 authored over 7 years ago by Max Brunsfeld <[email protected]>
Remove logic for freezing patch on deserialization

aa42bcc008a6662ae228a59f6d4b10d9f3859990 authored over 7 years ago by Max Brunsfeld <[email protected]>
Use implicit TextSlice conversions in a couple places

caf0445ee0f60e5534b3baeca7c6c041b2ec0b3e authored over 7 years ago by Max Brunsfeld <[email protected]>
Assert about layer consolidation in randomized test & fix exposed bugs

307b0528095ea8903c5f6e6ed5e17af1508c3c41 authored over 7 years ago by Max Brunsfeld <[email protected]>
Add TextBuffer::flush_changes

b1fc08d11442e03f8b8a3a1af7dc8505f33c81d7 authored over 7 years ago by Max Brunsfeld <[email protected]>
Control splay vs non-splaying patch reads via explicit flag

7e671cd03ac5b834d84a131d48ff76503813a7c3 authored over 7 years ago by Max Brunsfeld <[email protected]>
Add JS test for concurrent TextBuffer saves

d019eb741ea973a6c2475bdd80d895e42ccd41b5 authored over 7 years ago by Max Brunsfeld <[email protected]>
Account for other snapshots in Snapshot::flush_preceding_changes

893af654e317cd5069ba8b6960bd2cffbdf63f7e authored over 7 years ago by Max Brunsfeld <[email protected]>
:fire: unused enum

15b9d98565aeb36040436630023214514084c12e authored over 7 years ago by Max Brunsfeld <[email protected]>
Rename some TextBuffer methods dealing w/ base text vs changes

0003bb0d6378020588f9644333c1bb53e8ec200f authored over 7 years ago by Max Brunsfeld <[email protected]>
Start work on Snapshot::flush_changes

2b67e29ea3e7c4e908d6818f3f1442a201abb0e5 authored over 7 years ago by Max Brunsfeld <[email protected]>
Always allow a buffer's outstanding changes to be serialized

544f78e71d66f1108d1aabce96d0be472b6a8485 authored over 7 years ago by Max Brunsfeld <[email protected]>
Update TextBuffer benchmark to reflect new searchSync return value

a19bf9b36d301b5c3a08a53a3d87b9037a81b613 authored over 7 years ago by Max Brunsfeld <[email protected]>
Make ::is_modified work correctly in the presence of snapshots

f9fe524a85883d5a21ce4be8f9599aa7cabf4c70 authored over 7 years ago by Max Brunsfeld <[email protected]>
Clean up randomized TextBuffer test

da11506ff57948c6622c98f671b5ed2b41d25894 authored over 7 years ago by Max Brunsfeld <[email protected]>
:art: TextBuffer::search

79c31b75c518b43b536bb79983139c4af24cec58 authored over 7 years ago by Max Brunsfeld <[email protected]>
Ensure that search does not return positions inside of CRLF line endings.

This fixes rare randomized test failures.

d9a27e2ac2dfc857e3e89e1293058d09a111d01a authored over 7 years ago by Max Brunsfeld <[email protected]>
Refactor TextBuffer::search

Signed-off-by: Nathan Sobo <[email protected]>

38a1ee1ae77f5f0c93f3bb8dfe510b83f16a8bdf authored over 7 years ago by Max Brunsfeld <[email protected]>
Add randomized test on TextBuffer::search, fix bugs found in the process

db7445c63a955aaee48a55f4b3c2a8f08c29d2de authored over 7 years ago by Max Brunsfeld <[email protected]>
Remove logging in randomized test

64101ac26d7c782465c230df0d85d865a70a3d0b authored over 7 years ago by Max Brunsfeld <[email protected]>
Add randomized test for test_diff, fix bugs in CRLF handling

f7f9306d1b7f0c83b475fea6928137081e8b35c9 authored over 7 years ago by Max Brunsfeld <[email protected]>
Pass random number generator to all random test helper functions

eaffe97776e08937589a893cb2950cb7109913e3 authored over 7 years ago by Max Brunsfeld <[email protected]>
Avoid copying in text_diff

Signed-off-by: Nathan Sobo <[email protected]>

3b4c072bd85351a80b46edc71729c399fe7606a7 authored over 7 years ago by Max Brunsfeld <[email protected]>
Start work on removing patch changes that match the base text

95311327a591f44ed36373b82546fada8941d7b6 authored over 7 years ago by Max Brunsfeld <[email protected]>
Add a text_diff test for a changes on a single line

e5c654f1a0ae065ca875946037d0cae4e176238f authored over 7 years ago by Max Brunsfeld <[email protected]>
Ensure that Patch's change count is initialized during deserialization

4b560d87162686e0954ae68034c513487a919b59 authored over 7 years ago by Max Brunsfeld <[email protected]>
Start work on setTextViaDiff replacement

7757cfb581588bcefcc96906647f6ccb97258f36 authored over 7 years ago by Max Brunsfeld <[email protected]>
Return a Range from TextBuffer.search, and limit the copying

e1f6399a02b825f7aeade0aa7da4d35ad5fceb78 authored over 7 years ago by Max Brunsfeld <[email protected]>
Don't use trusty on travis

It didn't help; we need to build emscripten from source anyway.
And Travis's log rollups don't s...

c34483d87a92be2bcfa9d815812dfddc1acfaa5f authored over 7 years ago by Max Brunsfeld <[email protected]>
Ensure that emscripten is built from source

The linux pre-built binaries seem to be linked against a newer
version of libstdc++ than is avai...

a586ffd9e8bb29b5c72bf54f7fa388cdab1c3ef2 authored over 7 years ago by Max Brunsfeld <[email protected]>
Use newer gcc on trusty

ac9b568cd99f47a808da89e845658d07f167647d authored over 7 years ago by Max Brunsfeld <[email protected]>
Update emsdk directory name to reflect new tarball structure

7551284485a5ea4bc3c38f59283a1633977d8796 authored over 7 years ago by Max Brunsfeld <[email protected]>
Ensure Regex.match_data is always initialized

f9841d76b1e023b2fa28607ef7cb4815b9b97f94 authored over 7 years ago by Max Brunsfeld <[email protected]>
Use trusty on travis

The prebuilt emscripten binaries were built with the new libstdc++ ABI,
and don't seem to be com...

3d7e9d3820c0a8536c2e93dc9aeba54742c62c23 authored over 7 years ago by Max Brunsfeld <[email protected]>
Install newer libstdc++ on travis

fe58fdf5883dbe8f0ed78cdaf0128d18662d15c5 authored over 7 years ago by Max Brunsfeld <[email protected]>
Get browser version building properly

9dd1132be64e29a170363536474c0c155ac1f2e2 authored over 7 years ago by Max Brunsfeld <[email protected]>
Make TextBuffer.search take a string, not a regex

7c22ba1e4f1fd2d1589e15a115f12d6b168df980 authored over 7 years ago by Max Brunsfeld <[email protected]>
Use RAII to manage lifetime of PCRE regex objects

cc9c0a97be6c4bb1bc6691696eac058b68b5a6a5 authored over 7 years ago by Max Brunsfeld <[email protected]>
Avoid using stringstream::operator= in Text::write test

libstdc++ doesn't seem to support this method

29aa5d98f63383da2999e01263f3b4b150259d98 authored over 7 years ago by Max Brunsfeld <[email protected]>
Implement async TextBuffer.search, rename sync search to .searchSync

e4fbb0066a918a7f5da1d57f09a43751dfb8bd1e authored over 7 years ago by Max Brunsfeld <[email protected]>
Incorporate line joining into TextBuffer benchmark

9b4a1e631ebf34648a56a4f4e64a007aa2ae1ee4 authored over 7 years ago by Max Brunsfeld <[email protected]>
Implement TextBuffer::search using PCRE

fbb64ae0a2b64c060936c50d42756b701dedd414 authored over 7 years ago by Max Brunsfeld <[email protected]>
Add TextBuffer benchmark script

b878cebe710be7df545d6509f38de7417eafcc9e authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix valgrind option to test-native script

50a7a0d2f35f06aa68d497b08776f025490f3584 authored over 7 years ago by Max Brunsfeld <[email protected]>
Add boost regex on travis

d0419672f188cf9fa7bea229c4fd6468335d0dcd authored over 7 years ago by Max Brunsfeld <[email protected]>
Start work on TextBuffer.search

Use boost_regex for now.

944faeab389355db8ee290d29ac31305e963a29a authored over 7 years ago by Max Brunsfeld <[email protected]>
Start work on handling iconv errors in Text::write

25a77014da040c5f9deb2328312a52823e06a112 authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix accidental use of splaying Patch method

f8858eef5b8dd1114970cb77060159fbc51bee3c authored over 7 years ago by Max Brunsfeld <[email protected]>
1.3.0-0

5be651a32590a17e9adb1f770f77162571dc41f0 authored over 7 years ago by Max Brunsfeld <[email protected]>
Implement TextBuffer serialization methods

e70b47ce2914f23319f4c64928290796feaf1443 authored over 7 years ago by Max Brunsfeld <[email protected]>
Implement Patch move assignment

0270df3bfa61e56e078d0d3cbb651ad74193e277 authored over 7 years ago by Max Brunsfeld <[email protected]>
Implement .getLines

cae69257f59101ada80d485f8ecac2bb8ebe4f51 authored over 7 years ago by Max Brunsfeld <[email protected]>
Return undefined when .lineForRow is called with out-of-bounds row

165fde5f3c2df41826d1ed374917a46847d4cd75 authored over 7 years ago by Max Brunsfeld <[email protected]>
Add test for TextBuffer.isModified

3b747398b86fb9fe09affa71120a86849e5fe2a2 authored over 7 years ago by Max Brunsfeld <[email protected]>
Allow constructing a TextBuffer with base text from JS

cbed928e36b93a6d1571c384d833c2a3afdb35c2 authored over 7 years ago by Max Brunsfeld <[email protected]>
Start work on TextBuffer.loadSync and .saveSync

504996bee130245b543f790645d3aec0c904e940 authored over 7 years ago by Max Brunsfeld <[email protected]>
Clip negative offsets and points

3469ad543c739fb439ee25559ca8b44b8d5977e8 authored over 7 years ago by Max Brunsfeld <[email protected]>
Add TextBuffer.isModified

58d23af98e06b9afdfc015973feb2d575541bd81 authored over 7 years ago by Max Brunsfeld <[email protected]>
Implement TextBuffer.lineForRow

4c99940b8dd6d58823870f4c70fde04414498a44 authored over 7 years ago by Max Brunsfeld <[email protected]>
Implement TextBuffer.getLength and .getExtent

d2d3e4cd18b76348698116225e44d35147964f83 authored over 7 years ago by Max Brunsfeld <[email protected]>
Implement TextBuffer.lineEndingForRow

09d22800597d85fa2870c052ff8388e19b238c97 authored over 7 years ago by Max Brunsfeld <[email protected]>
:art:

caa5fa929889fcb5613f598aff103570dab63e89 authored over 7 years ago by Max Brunsfeld <[email protected]>
Make internal BaseLayer class a struct

b670654cdc99d75d33442676d6de4145679a058e authored over 7 years ago by Max Brunsfeld <[email protected]>
Don't use virtual dispatch for for_each_chunk_in_range callback

2b1ab405cb7c5c8b9f0360bb121bf7ee05b0b33b authored over 7 years ago by Max Brunsfeld <[email protected]>
Reduce trial count in randomized test from 1000 to 100

ad99ccd6ecd20a185d75feaf9e3c2748ef19f88e authored over 7 years ago by Max Brunsfeld <[email protected]>