Login
Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

129 check-ins using file src/remilib/bitreader.cr version 957e57edb0

2023-11-16
10:00
Bump version, tag as v0.12.0 check-in: 057ba45f36 user: alexa tags: trunk, v0.12.0
2023-11-11
10:30
Change a literal. Use a .try instead of a .nil? check-in: 8e87f7615f user: alexa tags: trunk
2023-11-10
09:29
Add #stop and #drain methods to the ConcurrentLogger class check-in: 4d7fc4f647 user: alexa tags: trunk
2023-11-02
09:47
Better value handling check-in: e235365fd6 user: alexa tags: trunk
2023-10-27
00:20
Fix newline handling when sanitizing logger output. check-in: 319b588739 user: alexa tags: trunk
00:20
Fix typo in RemiLib.sanitize. Add specs. check-in: ed8eb53b73 user: alexa tags: trunk
2023-10-26
23:42
Add Logger#noColors and Logger#sanitizeOutput. Add basic specs for Logger. check-in: 3d8be76692 user: alexa tags: trunk
23:40
Add RemiLib.sanitize check-in: 2993f45407 user: alexa tags: trunk
2023-10-15
07:32
Better docs generation check-in: 325123221d user: alexa tags: trunk
07:29
Add a TODO check-in: 2614be8ba3 user: alexa tags: trunk
04:34
Add IO#readBytes check-in: 91a330132d user: alexa tags: trunk
2023-10-12
09:54
Add some missing IO convenience extensions check-in: f0a4e6d54b user: alexa tags: trunk
2023-10-03
00:07
Fix #numLeadingZeros and #numLeadingOnes. Add some more tests. check-in: df94dce895 user: alexa tags: trunk
2023-10-01
11:45
This new needs an extra space check-in: 895adb03c3 user: alexa tags: trunk
11:43
Merge and integrate the strings-cleanup branch check-in: 94c11ed11f user: alexa tags: trunk
11:41
Add missing & check-in: 6e1e0630ca user: alexa tags: trunk
11:40
Add the removeQuotes parameter to RemiLib.splitAsArgs. Add tests for this function. Closed-Leaf check-in: 7413c43d46 user: alexa tags: strings-cleanup
11:34
Minor incompatible change: Fix edge cases in RemiLib.buildWrapped. check-in: f7f729c115 user: alexa tags: strings-cleanup
10:55
Minor cleanups to strings.cr (mainly comments, also some type annotations) check-in: 99b1e4ee9e user: alexa tags: strings-cleanup
2023-09-30
22:06
Remove some of the type arguments and adjust the comments to accurately explain the intention.

Also add some missing methods. check-in: edc81b7c65 user: alexa tags: trunk

22:03
Fix some return values check-in: 9b1631392a user: alexa tags: trunk
21:59
Whoops, fix a typo check-in: 6fc6bfae80 user: alexa tags: trunk
21:58
Add a bunch of type information to the argument parsing code.

Doesn't really change anything except make intentions clearer. check-in: bc3e5cb279 user: alexa tags: trunk

2023-08-22
06:00
Bump revision, tag as v0.11.2 check-in: 21ad78004a user: alexa tags: trunk, v0.11.2
2023-08-01
05:30
Whoops, forgot to rename some variables check-in: b27d8c291c user: alexa tags: trunk
05:04
Fix copyright check-in: 24507d4151 user: alexa tags: trunk
05:03
Fix the JobPool running too many tasks at once.

This was caused due to a Job completing its task before sending a
message through the channel that it was finished. But the channel's
capacity was what the code was originally using to limit the number of
jobs. This resulted in JobPool doing all the work as quickly as
possible (and ignoring @workers), but then having each Job to line up
to say "I'm finished". check-in: 13f8ec772a user: alexa tags: trunk

2023-07-24
09:00
Revert change check-in: 6a41b84c55 user: alexa tags: trunk
08:55
Ensure that the number of running jobs is actually <= the workers check-in: f73d89d646 user: alexa tags: trunk
08:55
Improve a comment check-in: 4c321fe257 user: alexa tags: trunk
2023-07-21
06:51
Inline some more check-in: f1d5b0cdfd user: alexa tags: trunk
05:50
Ease type restriction on size parameter check-in: d80c7300a8 user: alexa tags: trunk
05:46
Typo check-in: d2d3452a1f user: alexa tags: trunk
05:38
Fix writing to MmappedFiles.

This was due to my misunderstanding of mmap()'s interaction with the
file descriptor. check-in: 60e80246e3 user: alexa tags: trunk

2023-07-20
07:36
Fix MmappedFile#pos= check-in: a063fbe278 user: alexa tags: trunk
2023-07-18
07:20
Bump revision, tag as v0.11.1 check-in: d11b05328e user: alexa tags: trunk, v0.11.1
07:17
When creating an MmappedFile for writing, if the file already exists
and a different size is requested, delete the file and recreate it.

Also add File.createEmpty method. check-in: 9ecc819e85 user: alexa tags: trunk

06:11
Fix MmappedFile#writeInt24 check-in: d29341edad user: alexa tags: trunk
04:59
A few more position fixes (off by one) check-in: d98025ce86 user: alexa tags: trunk
04:55
Fix position checking check-in: 681b30fcfe user: alexa tags: trunk
04:40
Clarify some documentation strings. Fix a method name. check-in: 9bf2146c0f user: alexa tags: trunk
04:38
Add missing writeInt8 methods check-in: 0cc5e7a7fe user: alexa tags: trunk
03:18
add MmappedFile#open? method. check-in: a99459eb5e user: alexa tags: trunk
2023-07-17
05:13
Update readme, bump version. Tag as v0.11.0 check-in: d52d513ca4 user: alexa tags: trunk, v0.11.0
05:01
Fix missing handling of littleEndian? parameter in writeUInt24 check-in: 471b5714ad user: alexa tags: trunk
04:58
MmappedFile should not be available on non-Unix platforms. check-in: d9703b07e7 user: alexa tags: trunk
04:49
Improve MmappedFile with write support, and better define exactly what
the class is supposed to do.
check-in: 8eb094002a user: alexa tags: trunk
03:29
Fix example check-in: ec690d0002 user: alexa tags: trunk
00:47
Add MmappedFile class. check-in: 6c6e1e3caf user: alexa tags: trunk
2023-06-02
14:00
This is supported on unixen as well. check-in: 0a6fb84d4a user: alexa tags: trunk
2023-05-09
08:36
Adjust Rakefile so that the examples are listed in their own array. check-in: 485b85ca02 user: alexa tags: trunk
08:34
Rename specs target to test check-in: 7b3998cba0 user: alexa tags: trunk
08:27
Fix SpookyHash check-in: b4b002f53b user: alexa tags: trunk
2023-05-08
06:38
Add an implementation of SpookyHash.

The all-at-once version is working, but the incremental version
produces incorrect hashes. check-in: 826a4d9e25 user: alexa tags: trunk

2023-05-07
00:19
Add lint task check-in: a92c419bb7 user: alexa tags: trunk
00:17
Better targets check-in: 9e9c0bd913 user: alexa tags: trunk
00:15
Add specs and doc targets check-in: 1622e48009 user: alexa tags: trunk
00:10
Add simple Rakefile for building the examples. check-in: 6f42da560a user: alexa tags: trunk
2023-05-06
08:45
Add incremental and streaming support to the XXHash64 class. check-in: 08ec2b0dae user: alexa tags: trunk
2023-05-05
11:07
Add a variant of XXHash32.calculate that takes an IO. Also add
XXHash32#update and friends so that XXH32 hashes can be computed
incrementally.
check-in: 17ac637cae user: alexa tags: trunk
09:45
All of these should be class methods since they do not depend on
state.
check-in: 15d6c05169 user: alexa tags: trunk
09:17
Update documentation/comments. Improve xxhash example program. Refactor more common code. check-in: c002926e6f user: alexa tags: trunk
08:33
Fix xxHash128 check-in: a1beadd804 user: alexa tags: trunk
08:17
Add (broken) xxHash128 implementation.

This currently returns incorrect values. check-in: c6b3243cab user: alexa tags: trunk

06:57
Refactor common stuff out into its own abstract class. check-in: 2524d96854 user: alexa tags: trunk
06:22
Add skeleton XXHash128 class that does nothing right now. check-in: d4d45fd9cd user: alexa tags: trunk
06:20
Add xxHash32 implementation. check-in: 46db2e27a5 user: alexa tags: trunk
05:35
Fix some typos, add a note check-in: 8daba090e0 user: alexa tags: trunk
05:32
Update README check-in: 756462d19a user: alexa tags: trunk
05:31
Add xxHash64 implementation. check-in: da6e6df4b1 user: alexa tags: trunk
04:23
Combine some files, simplify the namespace naming, rename the xxHash
example program.
check-in: d506a5b92e user: alexa tags: trunk
2023-05-04
19:01
Fix require path check-in: 3ba21f0513 user: alexa tags: trunk
11:25
Add xxHash XXH3 implementation.

The public API is not finalized yet and will change as more xxHash
stuff is added. check-in: 9771a4da67 user: alexa tags: trunk

00:14
I think xxh3 128bit is done Leaf check-in: 5a74ca455d user: alexa tags: private (unpublished)
2023-05-03
23:25
xxHash port check-in: aa3f3a6292 user: alexa tags: private (unpublished)
2023-04-28
12:51
Remove some lint. check-in: a97912fb77 user: alexa tags: trunk
12:49
Correct sentence check-in: 2da9b42be6 user: alexa tags: trunk
12:48
Handle a negative number of bytes read. check-in: 064c91e634 user: alexa tags: trunk
12:48
Typo check-in: b9f523965d user: alexa tags: trunk
2023-04-27
09:14
Update README check-in: 937a6209dd user: alexa tags: trunk
09:10
Add CRC64 check-in: ca35514a3e user: alexa tags: trunk
04:27
Update README check-in: 465522a53c user: alexa tags: trunk
04:14
Add examples. check-in: d475379a9c user: alexa tags: trunk
04:04
More documentation. check-in: bc46399746 user: alexa tags: trunk
03:42
Adjust license info.

I've attempted to trace all code back to its original location. The
suffix sorting code is from libdivsufsort 1.2.3 with some patches
added. The rest seems to come from a Java implementation of bzip2.
Everything related to BZip2 (except the ArrayPool) uses the MIT
License. check-in: e4957c8205 user: alexa tags: trunk

03:31
More small optimizations. check-in: fb9b9f52f1 user: alexa tags: trunk
02:09
Some initial small optimizations check-in: 4bb16d468b user: alexa tags: trunk
01:42
Fix BZip2 compression. check-in: 5ef2b1a801 user: alexa tags: trunk
01:18
Be a bit more like the Java code. check-in: e11e8ebba2 user: alexa tags: trunk
2023-04-26
10:28
Fix a few more things.

The code no longer crashes with larger files, but is not producing correct files again. check-in: 34fdaa2e88 user: alexa tags: trunk

08:27
Remove debugging statements check-in: ba75daf464 user: alexa tags: trunk
08:23
Abstract some stuff out to some macros check-in: ff2c4dc05d user: alexa tags: trunk
01:33
Update ignore-glob setting. check-in: 6e2d4b7dc1 user: alexa tags: trunk
00:27
Some files can now be compressed successfully. Other files are still
raising an out-of-bounds error.
check-in: 0ce6b70e75 user: alexa tags: trunk
2023-04-25
13:03
Remove some puts statements. Adjust a few things. check-in: 55e54de9dd user: alexa tags: trunk
12:50
Add (non-working) BZip2 compression support. check-in: 9980516451 user: alexa tags: trunk
12:49
Cast to u32 (probably useless, but consistent) Closed-Leaf check-in: 3dc6c176db user: alexa tags: private (unpublished)
12:42
More fixes check-in: 3f36cf7e48 user: alexa tags: private (unpublished)
12:07
More fixes. check-in: 8f2dd586a9 user: alexa tags: private (unpublished)
09:07
Small fixes, not working yet. check-in: 9b68671d38 user: alexa tags: private (unpublished)
2023-04-24
11:23
A few more fixes. Not working yet. check-in: cfb8206f2d user: alexa tags: private (unpublished)
11:03
Add bzip2Enc. Partially fix the bzip2 compressor (still broken). check-in: df80a84ee7 user: alexa tags: private (unpublished)
10:04
Finish the initial port of BZip2 compression. Not yet tested. check-in: 23fd416d2f user: alexa tags: private (unpublished)
06:36
DivSufSort.cr is ported check-in: 991b63546a user: alexa tags: private (unpublished)
2023-04-23
22:09
Almost done with BZip2's divsufsort check-in: f7b8ca4f90 user: alexa tags: private (unpublished)
04:54
More BZip2 compression work. check-in: bb92f2b166 user: alexa tags: private (unpublished)
2023-04-22
12:24
More bzip2 compression work. check-in: aa02e18f1b user: alexa tags: private (unpublished)
11:53
Start work on bzip2 compressor check-in: a44b5c306b user: alexa tags: private (unpublished)
08:13
Add BZip2 decoder. check-in: 32dad766b1 user: alexa tags: trunk
08:12
Update license info. Add example bzip2 decoder. Closed-Leaf check-in: cab0125ae1 user: alexa tags: private (unpublished)
06:40
BZip2 decompression can now decompress at least the few files I've
tested. The CRC32 part is broken, however.
check-in: d08af4a2aa user: alexa tags: private (unpublished)
00:29
More BZip2 additions. check-in: 8143d15ac7 user: alexa tags: private (unpublished)
2023-04-21
07:27
Add some initial bzip2 stuff. check-in: f5b1eb8958 user: alexa tags: private (unpublished)
2023-04-20
07:26
Fix typo check-in: 26f4471905 user: alexa tags: trunk
06:51
Update README. check-in: 3a42826a09 user: alexa tags: trunk
2023-04-19
03:57
Bump version, tag as v0.10.0 check-in: 1a5d9a9a09 user: alexa tags: trunk, v0.10.0
2023-04-05
03:11
Remove unused variables check-in: 0ab4f27d7b user: alexa tags: trunk
02:54
Make ProgressBar a generic class. check-in: 521898e305 user: alexa tags: trunk
02:07
Improve progress bar functionality:

* Step and Max are now UInt128
* Add #addEllipses
* Better type handling
* Compute the percent as a Float32

Also add a manual test program for the progress bar. check-in: 1b7b231e20 user: alexa tags: trunk

01:42
Adjust documentation comment. check-in: be98f9e934 user: alexa tags: trunk
01:41
Only subtract the post-bar label width if it's used.

Also add `ProgressBar#done?`, and change `ProgressBar#done` so that no changes can be made to the bar after it's called. This is a breaking change. check-in: 43baa1fbca user: alexa tags: trunk

01:40
Fix require path check-in: a3ee8f8e3e user: alexa tags: trunk
00:14
Add an optional "post-bar" label to the progress bar. check-in: 01ceffa06d user: alexa tags: trunk
2023-04-04
14:10
Termios will be deprecated soon, so use LibC instead check-in: 4ca54d520d user: alexa tags: trunk
2023-03-29
04:47
Bump version, tag as v0.9.0 check-in: 630c06cf63 user: alexa tags: trunk, v0.9.0
04:47
Fix a path check-in: 60c61fa12f user: alexa tags: trunk
04:46
Add some underscores check-in: 0f6825ce75 user: alexa tags: trunk
04:42
Make Int.positiveSpokenNumber public, add Int#positiveSpokenNumber, add spec for this. check-in: cadb51247e user: alexa tags: trunk
04:26
Add a .ameba.yml and fix some issues that were found. This includes breaking changes. check-in: 3ed7acd3e3 user: alexa tags: trunk