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

Remove noop changes in Patch::combine

de88ec4c27e2530da0a9c42930f960c45867ae42 authored over 7 years ago by Max Brunsfeld <[email protected]>
Optimize TextBuffer::reset for one common case

f9b289e6874e6566f75d42d243257a1ea84acbb4 authored over 7 years ago by Max Brunsfeld <[email protected]>
Avoid allocations in TextBuffer.lineForRow

Introduce native ::with_line_for_row method that calls its callback with
a pointer into the buff...

3391c0754904a46b674febaf786d7bf430735e0d authored over 7 years ago by Max Brunsfeld <[email protected]>
1.3.0-14

5b0cd4bf48c804d63b4a4594d1606c4c01cc7f15 authored over 7 years ago by Max Brunsfeld <[email protected]>
Normalize EUC-JP encoding name in a way that works w/ win-iconv

2b47ffc481917008cccb4b9b55f9ca37d618c95a authored over 7 years ago by Max Brunsfeld <[email protected]>
Don't test certain ISO-8859 encodings on windows

35728b3a8ae1b56529a3efda459b98aba6912753 authored over 7 years ago by Max Brunsfeld <[email protected]>
Don't require that mac-roman encoding works on non-mac machines

7409792ca2692b6d9c7e012808959c6252e547fe authored over 7 years ago by Max Brunsfeld <[email protected]>
Normalize encodings so they will be recognized by iconv

23123b8eb0f746ec2c0269350eb9ce2b9025dcb6 authored over 7 years ago by Max Brunsfeld <[email protected]>
1.3.0-13

f60281b8dda9c10a31807a0dc02b63891fc0645f authored over 7 years ago by Max Brunsfeld <[email protected]>
Specify overload in emscripten binding for isModified

00ee05881fd7a1c09895c35dab286fbaecccb5d7 authored over 7 years ago by Max Brunsfeld <[email protected]>
Reduce iterations in randomized text-diff test

a2d2aa7703ebeb8f0621e9b8d78053e9f7618c84 authored over 7 years ago by Max Brunsfeld <[email protected]>
Run valgrind with full leak check in test-native script

d12492752793dcd52f13daf4f45be1e8163f6028 authored over 7 years ago by Max Brunsfeld <[email protected]>
Optimize consolidation of TextBuffer layers

* Don't combine patches unnecessarily
* Don't apply patches to Text unnecessarily

3fbb89c54f4c4c8f21c6164046ddd31010498066 authored over 7 years ago by Max Brunsfeld <[email protected]>
Add many more assertions to randomized TextBuffer IO test

bef9b24a0d5e89cf3b5d8392832c8e6d6ae49175 authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix check for modified status in TextBuffer.load

c6a978434b43eedfa84ab43df6214e0309dadd7f authored over 7 years ago by Max Brunsfeld <[email protected]>
Make buildRandomRange return an empty range less often

1e3b352c8b266f84c7aa80d0a43d3ad1558935e3 authored over 7 years ago by Max Brunsfeld <[email protected]>
Ensure that searching an empty string for an empty regex succeeds

07c1bc92c71e2075446188a9cb5f8acfd5901c79 authored over 7 years ago by Max Brunsfeld <[email protected]>
Rename TextBuffer::Layer::is_derived -> ::uses_patch

136a2fd30fe287168659328d3385feb7c6ed3a5c authored over 7 years ago by Max Brunsfeld <[email protected]>
Remove unnecessary Patch::splice return value

64c28432bc991e8bd947500e6079939a61e07fce authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix emscripten binding for set_text_in_range

76babbde879f430061e45f7f9b303b202ab80110 authored over 7 years ago by Max Brunsfeld <[email protected]>
Make most TextBuffer APIs deal w/ strings instead of Text

The line offsets array was not being used in most cases, so it was unnecessary to
include it. Th...

3286309096610e0bdc73f47abe1be757a25cdec2 authored over 7 years ago by Max Brunsfeld <[email protected]>
1.3.0-12

3cfbc43b32543334befa8e01cd7f01fc202b8786 authored over 7 years ago by Max Brunsfeld <[email protected]>
Add emscripten binding for TextBuffer.reset

782c5ecbe8c02c93f1926e2933be1db92f535628 authored over 7 years ago by Max Brunsfeld <[email protected]>
1.3.0-11

511631553957703c88444ab5721c41e2c7f01338 authored over 7 years ago by Max Brunsfeld <[email protected]>
Expose TextBuffer::reset to JS

This can be used for clearing the buffer's data when the
parent text buffer is destroyed in orde...

4bdb61a76b59aab8a09f0b232d733a048eedefb6 authored over 7 years ago by Max Brunsfeld <[email protected]>
1.3.0-10

c616aff6d1e0e70d41733f8899ae8fdf9e34c783 authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix regression in removal of noop Patch changes during set_text_in_range

This regressed as part of the Patch API cleanup.

b1c39c675b540cc44d99920dcb834ab43826b717 authored over 7 years ago by Max Brunsfeld <[email protected]>
Handle regexps passed to .search in emscripten binding

77aaa6b1ec0012955b7339e7ec3e260efe3726e0 authored over 7 years ago by Max Brunsfeld <[email protected]>
1.3.0-9

8dd116c6f20b98ae252560ba45a950bc8ce05d2b authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix emscripten binding for .search

7fad43c31c900b963f5e5bf04741f37521e42fb5 authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix incorrect splay of top layer in the presence of a snapshot

4462da72c7a3c0fe2854884764cf114b74c193d3 authored over 7 years ago by Max Brunsfeld <[email protected]>
Avoid re-creating a PCRE regex searching for the same JS regex repeatedly

710486cae54b6059d65bb8a96db994fa4fa1c70a authored over 7 years ago by Max Brunsfeld <[email protected]>
In ::search, fix handling of partial regex matches at EOF

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

3f25e02201e74cb34d11a9f5340ff804bc78fa97 authored over 7 years ago by Max Brunsfeld <[email protected]>
Avoid incorrectly continuing for_each_chunk_in_range loop

7e45c8f5d8cfa8c9af64df1214118909b5de55a6 authored over 7 years ago by Max Brunsfeld <[email protected]>
Make the Patch API more consistent

Also, re-order the patch method declarations and definitions to make the
categories more clear.

76fd5aa9ab620673ad6913336b98d77765280bee authored over 7 years ago by Max Brunsfeld <[email protected]>
Optimize TextBuffer::Layer::for_each_chunk_in_range

Use new Patch::find_changes_in_new_range method

e506cecdd8a01fa1be84f90e3caf5041222f09b7 authored over 7 years ago by Max Brunsfeld <[email protected]>
Add non-splaying Patch::find_changes_in_{old,new}_range methods

6b0caec44f4cf32553b1f68210cddef2be566908 authored over 7 years ago by Max Brunsfeld <[email protected]>
Make containing function name argument to profile-command script optional

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

f97dc2972536e7517925d768f1e1d5dc9fde3f4d authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix native tests for encode and decode

fe3c15357b7097acd7b211a1ecbe57b1a3631094 authored over 7 years ago by Max Brunsfeld <[email protected]>
Avoid repeatedly allocating vectors when saving and loading

2636343ab6082e066f09cc976fa30ff7e7a5e977 authored over 7 years ago by Max Brunsfeld <[email protected]>
Avoid leaking a snapshot in native test

e192d4c2784678d32e083670698b2412b7be543a authored over 7 years ago by Max Brunsfeld <[email protected]>
Avoid leaking iconv conversion objects

e2b97d1a8fc54401deec293b658503a6a323c1f5 authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix test assertion about progress percentages

be7d3d769f557d49b6f0bbe28705daed40117cb2 authored over 7 years ago by Max Brunsfeld <[email protected]>
Optimize TextBuffer::position_for_offset

cfbf7dc6c28fad83e4eb60c5629632ef3a1e9889 authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix percentage calculation in load progress callbacks

2cfc37e105b3f55ba60fdcd6bea98edf543b0fd3 authored over 7 years ago by Max Brunsfeld <[email protected]>
Guard against null percentage value in load progress handler

749502c8ce45c3224f788810e85389c9e332de7e authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix windows error code name in test

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

694afa6381e6bec4398de8eef28ba94eade37321 authored over 7 years ago by Max Brunsfeld <[email protected]>
Remove unused function in emscripten binding

2e5ffe2c240b630676a4f0f0cd008bcccb7512c7 authored over 7 years ago by Max Brunsfeld <[email protected]>
Adjust errno assertions on windows

7f01392da19a851e73b17f67477134be0d7e3b92 authored over 7 years ago by Max Brunsfeld <[email protected]>
Convert content to a string when diffing

When using the VectorStringAdapter class, I was seeing long hangs in the
test that does many con...

96772caaef8c6d68dc016994f290db1da6cdf6da authored over 7 years ago by Max Brunsfeld <[email protected]>
Handle IO errors in save

ad49a6939123e31375b6540115a8dc1c59598ad2 authored over 7 years ago by Max Brunsfeld <[email protected]>
Handle IO errors during load

d73d2c90b88b948d11c55264fd4309affcb178ac authored over 7 years ago by Max Brunsfeld <[email protected]>
Impose a 5 second time limit on diff operations

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

288619101399516442215eca2e3de2cdb6641a42 authored over 7 years ago by Max Brunsfeld <[email protected]>
Allow loading a buffer from an already decoded stream

f19bdb1542207c0da2d14031316d6fe2cd380ef2 authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix TextReader's constructor name

41a4421519e8fb4df35974d669cccabf93836720 authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix buffer's modified status after saving to a stream

3ca09923849994ede3f9227bb6c37ffd8f0013ff authored over 7 years ago by Max Brunsfeld <[email protected]>
Work around emsdk bug on circle

aed6655d618a8a04fbd47d40b6e49358dba61e2e authored over 7 years ago by Max Brunsfeld <[email protected]>
Debug emsdk installation on circle

e463b79dc9145ce6c5f1ed90c02a9bd0e2a3fb38 authored over 7 years ago by Max Brunsfeld <[email protected]>
Increase timeout for random IO test

64c6e0c833aaaf50977ad399f39ef30ebdd3ccd4 authored over 7 years ago by Max Brunsfeld <[email protected]>
Use prebuilt emscripten on circle, don't use it on travis

2c5b37893333b78d7f0884c941bfc40aaf88651e authored over 7 years ago by Max Brunsfeld <[email protected]>
Add circle.yml

976cadc1a9607b84b1a58db09304aa4c44e08e10 authored over 7 years ago by Max Brunsfeld <[email protected]>
Update name of emsdk directory for caching on travis

e4de04907e9a6cdd57df9e63d5df3f0b11e1351e authored over 7 years ago by Max Brunsfeld <[email protected]>
Ensure that TextReader is destroyed before its TextBuffer

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

96edd6f4b44fc384055764351a814b6cba2f2dfb authored over 7 years ago by Max Brunsfeld <[email protected]>
Add missing pcre files to npm archive

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

5695959b80443d217c9b75278f3b78f376dc8af2 authored over 7 years ago by Max Brunsfeld <[email protected]>
Remove line_iterators tests

8f27668b6443f0f0759e3ac1dd28a665ed6c2472 authored over 7 years ago by Max Brunsfeld <[email protected]>
Don't run random IO test against emscripten version

43fbd98dc42fc2c1fd9c9cb811db8d7fe8f5ce6f authored over 7 years ago by Max Brunsfeld <[email protected]>
Add iterator category to ChunkIterator traits

eb5c5f12ff8f7eddea32c2b061ce468fa9d3edb3 authored over 7 years ago by Max Brunsfeld <[email protected]>
Add back BufferOffsetIndex export for now

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

4abd5d7afad3d428ee1bcc2ea874115332871768 authored over 7 years ago by Max Brunsfeld <[email protected]>
Include vendor sources in npm package

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

32da4accc38b4e0f856ff3aad33c6b3a2bead25b authored over 7 years ago by Max Brunsfeld <[email protected]>
Initialize submodules on appveyor

2b66c85d8a8c566f6dd7e90b63850d6b3230beeb authored over 7 years ago by Max Brunsfeld <[email protected]>
Open file in binary mode to avoid line ending conversions on windows

53e29fc3fca924f203fb7c90c71eb7ede0b61050 authored over 7 years ago by Max Brunsfeld <[email protected]>
Implement Text::clip_position in terms of numbers instead of iterators

This is simpler, and the iterator-based implementation was causing errors
on Windows.

daaacdacaaea1f36ad56ef58940462de7f1f096a authored over 7 years ago by Max Brunsfeld <[email protected]>
Ensure that new_text is used before it is moved in set_text_in_range

When compiling with gcc 5, the move seemed to occur first.

3efe7c27edac4f687137206b4aa2139bc7018945 authored over 7 years ago by Max Brunsfeld <[email protected]>
Remove no-exceptions flag when building diff library on non-mac platforms

747c8259adc3761d4674bed0dc23f084b9e499cb authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix win-iconv submodule

cef901191fc80b34da49f1e2daf2952fa703863f authored over 7 years ago by Max Brunsfeld <[email protected]>
Use explicit namespace block when specializing iterator_traits

GCC requires this.

0744db8f95a0e1aa9985bf8064c0fec3ca66ae5f authored over 7 years ago by Max Brunsfeld <[email protected]>
Actually handle empty pattern string in TextBuffer.search

7d4dc65a3e33ce25d33765f4d62f21987128723c authored over 7 years ago by Max Brunsfeld <[email protected]>
Get library building in windows

* Add win-iconv
* Don't use a symlink for PCRE char table
* Configure PCRE linkage
* Add missing...

ae128410b6bb9641e2e4eb7791559d27107bd54b authored over 7 years ago by Max Brunsfeld <[email protected]>
Add test that does lots of random TextBuffer IO

a54791c5f73463c49054b76564ea04505ef518cb authored over 7 years ago by Max Brunsfeld <[email protected]>
Handle empty pattern string in TextBuffer.search

04ad144de222156dbc2a477b13d343b12761e21d authored over 7 years ago by Max Brunsfeld <[email protected]>
Show which layers are considered derived in debug graph

e67e65cdfd1d66202b6c302eeae16b1e40122646 authored over 7 years ago by Max Brunsfeld <[email protected]>
Avoid dividing by zero when computing progress percentages during load

b508110c06fd85b32ce69470deabdf6bdb96a826 authored over 7 years ago by Max Brunsfeld <[email protected]>
In ::set_text_in_range, clip ranges passed to Patch::splice

a10815dfb1421ddf5858137e9b9373cf1d277709 authored over 7 years ago by Max Brunsfeld <[email protected]>
Make TextBuffer::get_inverted_changes take a snapshot

1104fc41ebff8587767e5623de8cc287880c1c13 authored over 7 years ago by Max Brunsfeld <[email protected]>
In test-with-debug-graph, put generated files in build folder

9807f099490357d0b7595e4490fb57027b3f3ce0 authored over 7 years ago by Max Brunsfeld <[email protected]>
Keep all TextBuffer layers' patches

They are needed for the `get_inverted_changes` method. Store whether a
layer should use its Patc...

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

752ffe84adcdb70bce3efd185666bfbe19a20c69 authored over 7 years ago by Max Brunsfeld <[email protected]>
:art: no space before initializer list

1d059fe97c28b47be1650d9b6e1c66ec7d9694ca authored over 7 years ago by Max Brunsfeld <[email protected]>
Fix assertions about Text::encode w/ trailing invalid characters

664a0537530e86e9362f7357815eb7449e9f64ab authored over 7 years ago by Max Brunsfeld <[email protected]>
Make interfaces for encoding and decoding text more consistent

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

b04ff89fec19fdd1720729b2896f741583e8781d authored over 7 years ago by Max Brunsfeld <[email protected]>
Allow TextBuffer.save to take a node stream

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

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