Arcterus
514cbd3c9d
Merge pull request #345 from polyphemus/cut-bytes-rewrite
...
Rewrite bytes cutting for cut
2014-07-09 07:53:43 -07:00
polyphemus
f06d9fe130
Rewrite cut_bytes(), more performant than GNU
...
Creates BufReader in buffer.rs. BufReader uses a stack allocated buffer
to read into and returns selected slices into the buffer. This does away
with any dynamic allocations in the 'newline loop.
1.5 to 2.5 more performant than previous version.
1.5 to 2.0 times more performant than GNU.
2014-07-09 12:17:48 +02:00
Heather
b8def68668
Merge pull request #344 from ebfe/fix-build-master
...
Fix build with rust master
2014-07-09 12:51:58 +04:00
Michael Gehring
d7b2372c3a
ToStr::to_str -> ToString::to_string
2014-07-09 10:29:50 +02:00
Arcterus
156a87406d
Merge pull request #343 from ebfe/crypto
...
Update rust-crypto
2014-07-07 14:54:16 -07:00
Michael Gehring
c399c8d039
Update rust-crypto
2014-07-07 23:45:55 +02:00
Arcterus
eb15cc32de
Merge pull request #342 from ebfe/deprecation
...
Update for crate_id changes
2014-07-06 03:39:39 -07:00
Michael Gehring
a0b3b710c2
Update for crate_id related changes
2014-07-06 12:34:50 +02:00
Arcterus
d78d9e0129
Merge pull request #341 from cbjadwani/uniq
...
uniq - Add initial implementation
2014-07-06 02:54:29 -07:00
Chirag Jadwani
fc027254df
uniq - Add initial implementation
2014-07-06 12:48:14 +05:30
Arcterus
34c156dbe3
Merge pull request #339 from kwantam/master
...
fmt: simplify short help message
2014-07-02 22:44:08 -07:00
Arcterus
c9146852cc
Merge pull request #338 from ebfe/fix-build-master
...
Fix build with rust master
2014-07-02 22:43:43 -07:00
kwantam
a46e23c186
fmt: simplify short help message
2014-07-03 00:03:23 -04:00
Michael Gehring
a544332c1b
&str is no longer indexable
2014-07-02 18:25:29 +02:00
Heather
acef6419c3
Merge pull request #334 from Arcterus/uutils-prefix
...
Improvements related to uutils
2014-07-02 08:03:06 +04:00
Arcterus
b414c345bc
Merge pull request #336 from kwantam/master
...
fmt: updated tables for charwidth
2014-07-01 18:14:08 -07:00
kwantam
16ed7284d5
fmt: updated tables for charwidth
2014-07-01 19:07:45 -04:00
Arcterus
21d324e3fa
Merge pull request #335 from akiradeveloper/feature/add-split-v3
...
split: Initial import
2014-07-01 15:47:04 -07:00
Akira Hayakawa
16463243e3
split: Initial import
...
Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
2014-07-02 07:30:08 +09:00
Arcterus
2ea9dcfdc4
uutils: auto-generate true and false
2014-07-01 13:20:21 -07:00
Arcterus
0de4325287
uutils: handle prefixes instead of suffixes
2014-07-01 13:14:28 -07:00
Arcterus
8328ba2e0a
Merge pull request #333 from ebfe/uutils
...
uutils: fix hashmap lifetime
2014-07-01 13:11:38 -07:00
Michael Gehring
afa0a9e6f0
uutils: fix 'uutils --help <util>'
2014-07-01 17:19:07 +02:00
Michael Gehring
401c216e6a
uutils: fix hashmap lifetime
2014-07-01 17:04:39 +02:00
Heather
2245339c01
Merge pull request #330 from ebfe/fix-build-master
...
uutils: work around rustc strangeness
2014-07-01 14:23:47 +04:00
Heather
417f554ff6
Merge pull request #329 from Arcterus/multicall-install
...
Allow installation of the multicall binary
2014-07-01 14:19:40 +04:00
Michael Gehring
cd6f617bfc
uutils: work around rustc strangeness
2014-07-01 11:20:14 +02:00
Arcterus
47896a6a69
Allow installation of the multicall binary
2014-07-01 01:07:16 -07:00
Oly Mi
995d290847
Merge pull request #328 from Arcterus/uutils-autogen
...
uutils: auto-generate programs to be built
2014-07-01 08:09:21 +04:00
Arcterus
5abb69df0d
uutils: auto-generate programs to be built
2014-06-30 20:45:51 -07:00
Oly Mi
774695d697
Merge pull request #326 from Arcterus/id-fix
...
General fixes
2014-07-01 06:58:18 +04:00
Arcterus
fe1d30a904
Merge pull request #327 from akiradeveloper/feature/fix-typo-tail-readme
...
tail: fix readme typo
2014-06-30 19:52:42 -07:00
Akira Hayakawa
785d1512ab
tail: fix readme typo
...
Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
2014-07-01 11:26:18 +09:00
Arcterus
141e858407
Modify Makefile to build correctly when using BUILD
2014-06-30 17:41:15 -07:00
Arcterus
ab08e623ef
id: fix build
2014-06-30 17:28:02 -07:00
Arcterus
cfb65d3f09
Merge pull request #322 from ebfe/fix-build-master
...
Remove use of raw bare pointers (*T -> *const T)
2014-06-30 17:23:09 -07:00
Michael Gehring
22743f04ae
Remove use of raw bare pointers (*T -> *const T)
2014-07-01 02:17:35 +02:00
Arcterus
e5066d1978
Merge pull request #325 from kwantam/master
...
fmt: update use of *T to *const T
2014-06-30 16:30:19 -07:00
kwantam
c60c274b7c
fmt: update use of *T to *const T
2014-06-30 19:27:54 -04:00
Arcterus
082ddefbda
Merge pull request #323 from ebfe/seq
...
seq: fix build
2014-06-30 16:27:44 -07:00
Arcterus
760be3f9e1
Merge pull request #318 from kwantam/master
...
fmt: Knuth-Plass implementation; common: add unicode char_width function
2014-06-30 16:11:04 -07:00
kwantam
8be67f7d4d
fmt Knuth-Plass implementation; unicode char_width
...
fmt:
- Implemented Knuth-Plass optimal linebreaking strategy.
- Added commandline switch -q for "quick" (greedy) split
mode that does not use Knuth-Plass.
- Right now, Knuth-Plass runs about half as fast. It also
uses more memory.
- Updated fmt to use char_width (see below) instead of
assuming each character width is 1.
- Use i64 for demerits instead of int in K-P, since int is
pointer sized and will only be 32 bits on some
architectures.
- incremented version number
- Incorporated improvements suggested by huonw and Arcterus.
- K-P uses indices of linebreaks vector instead of raw
pointers. This gets rid of a lot of allocation of boxes
and improves safety to boot.
- Added a support module for computing displayed widths of unicode
strings based on Markus Kuhn's free implementation at
http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
- This is in `charwidth.rs`, but this is a temporary measure
until the Char trait implements .width(). I am submitting
a PR for this soon, and the code in charwidth() is what's
generated libcore.
closes #223
2014-06-30 19:09:22 -04:00
Michael Gehring
d88f7a0dc5
seq: fix build
2014-06-30 13:26:30 +02:00
Oly Mi
8a7f96c605
Merge pull request #321 from ebfe/fix-build-master
...
Update rust-crypto
2014-06-30 15:06:14 +04:00
Michael Gehring
cf7da259ee
Update rust-crypto
2014-06-30 12:51:30 +02:00
Arcterus
48727e4ee8
Merge pull request #319 from torkve/master
...
realpath and relpath implementation
2014-06-29 13:03:52 -07:00
Vsevolod Velichko
c6f75a1419
relpath implementation
2014-06-29 23:59:25 +04:00
Vsevolod Velichko
c7e93c009e
realpath implementation
2014-06-29 23:57:54 +04:00
Oly Mi
b8e200489e
Merge pull request #320 from Arcterus/nohup-fix
...
Couple of minor fixes
2014-06-29 06:49:59 +04:00
Arcterus
643d9f0f32
Remove a couple of warnings
2014-06-28 16:57:19 -07:00