- 22 Nov, 2016 3 commits
- 21 Nov, 2016 1 commit
-
-
Rudolf committed
-
- 18 Nov, 2016 9 commits
-
-
Rudolf committed
-
Rudolf committed
-
This is simpler and less error prone. Just compare right->ch and if it doesn't match, check if next left is the last left.
Rudolf committed -
This allows the last byte to be interpreted correctly, by not allowing the cursor to move further than the max bits to read.
Rudolf committed -
This allows custom use by moving the start of bit reading.
Rudolf committed -
This somehow worked, but with upcoming first-3 bits as throwaways, it no longer does. FIXIT
Rudolf committed -
No need to allocate +1 now.
Rudolf committed -
This might otherwise confuse with regular '0'.
Rudolf committed -
As I heard today, the compressor should do binary files. NB! This EOF solution works perfectly fine, as 0xff is interpreted as ' ' (not space). Normal text files never have this character in them.
Rudolf committed
-
- 17 Nov, 2016 8 commits
-
-
This value should never be less than 0
Rudolf committed -
Also remove variables as I had something in mind I am not planning to do.
Rudolf committed -
Also adjust some spaces and whatnot.
Rudolf committed -
Rudolf committed
-
Rudolf committed
-
Rudolf committed
-
Rudolf committed
-
Use same style on all files and add guards to headers, where missing.
Rudolf committed
-
- 16 Nov, 2016 16 commits
-
-
The 0 char was encoded as just 0 (as the left->ch == 0 when it is a branch). Fix is to first compare right index, and if it doesn't match then use last left.
Rudolf committed -
Our special 0xff as EOF does not allow some files.
Rudolf committed -
Rudolf committed
-
Rudolf committed
-
Rudolf committed
-
Rudolf committed
-
If the file has been padded with extra 0's (since file is written in total bytes), there is no way to determine what should be the last value. Implement special 0xFF for this case. This also changes char to unsigned to avoid comparison failure.
Rudolf committed -
Rudolf committed
-
Rudolf committed
-
While stdin/stdout is all nice and dandy for piping, we want to show useful information about compression, so remove this feature.
Rudolf committed -
Not really needed but for consistency's sake
Rudolf committed -
Horizontal tree print fills all my needs
Rudolf committed -
Rudolf committed
-
Rudolf committed
-
Rudolf committed
-
Rudolf committed
-
- 15 Nov, 2016 3 commits