1827 Commits

Author SHA1 Message Date
Diggory Hardy
a50042d9d4 Follow up on #591: update authors and add new copyright where missed 2018-09-17 10:06:28 +01:00
Diggory Hardy
f4857217eb
Merge pull request #609 from glaubitz/syscalls
Define NR_GETRANDOM for additional architectures
2018-09-17 09:47:30 +01:00
John Paul Adrian Glaubitz
3143a0b487 os.rs: Define NR_GETRANDOM for sparc64 2018-09-14 21:33:20 +02:00
John Paul Adrian Glaubitz
53d1342b9c os.rs: Define NR_GETRANDOM for sparc 2018-09-14 21:33:20 +02:00
John Paul Adrian Glaubitz
84367b36b3 os.rs: Define NR_GETRANDOM for powerpc64 2018-09-14 21:33:08 +02:00
Diggory Hardy
e2770c3c93
Merge pull request #606 from dhardy/ci
Fix simd_support (stable and nightly)
2018-09-12 14:49:12 +01:00
Diggory Hardy
cbee7c8441 packed_simd: update to 0.3 and re-enable nightly tests 2018-09-12 10:34:29 +01:00
Diggory Hardy
6bb07b75d1 Remove remnants of i128_support
This feature flag is obsolete and was already removed from
most of the code; a few references were missed.
2018-09-12 08:58:00 +01:00
Diggory Hardy
6a2fd79883 Fix simd_support (stable and nightly)
Stable: disable code requiring nightly features; update version
Nightly: avoid simd_support feature for now
2018-09-12 08:54:12 +01:00
Diggory Hardy
9ad46688e6
Merge pull request #591 from dhardy/copy
Add COPYRIGHT file and update copyright & licence notices
2018-09-10 19:05:22 +01:00
Diggory Hardy
92aa49804b Remove references to COPYRIGHT file which are not needed
We have no sub-packages under different licences
2018-09-10 15:37:36 +01:00
Diggory Hardy
6f2482294f Revert copyright changes to files with content from MaximoB and rohitjoshi 2018-09-10 15:31:11 +01:00
Diggory Hardy
cb7f288020
Merge pull request #600 from alexcrichton/fix-wasm-bindgen
Update wasm-bindgen rand bindings
2018-09-07 09:04:29 +01:00
Alex Crichton
44cdb90b63 Update wasm-bindgen rand bindings
This should fix the node/browser detection and additionally flag that the
wasm-bindgen feature not no longer requires nightly!
2018-09-06 09:48:47 -07:00
Diggory Hardy
4163daaeaf
Merge pull request #594 from sicking/weighteddoc
Add performance documentation for WeightedIndex
2018-09-03 16:51:13 +01:00
Diggory Hardy
7681e15aef
Merge pull request #595 from TheIronBorn/patch-7
replace sample_floyd's find_pos with Iter::position
2018-08-29 14:52:51 +01:00
TheIronBorn
40abc531a7 replace find_pos with Iter::position 2018-08-28 20:31:46 -07:00
Jonas Sicking
fcd871c611 Add performance documentation for WeightedIndex 2018-08-25 01:05:43 -07:00
Diggory Hardy
e7b50109af Fix COPYRIGHT file and copy to sub-projects 2018-08-24 09:22:35 +01:00
Diggory Hardy
82fa5733de
Merge pull request #593 from sicking/iterchoose
Use Iterator::size_hint() to speed up IteratorRandom::choose
2018-08-24 09:13:19 +01:00
Diggory Hardy
ea467e7313
Merge pull request #583 from Pazzaz/master
Speed up Uniform Duration sampling.
2018-08-23 09:27:21 +01:00
Jonas Sicking
be1158de0a Use Iterator::size_hint() to speed up IteratorRandom::choose 2018-08-21 03:12:00 -07:00
Diggory Hardy
d291f71fd4 Add COPYRIGHT file and update copyright & licence notices 2018-08-16 15:38:40 +01:00
Diggory Hardy
22d6607651 Merge branch '0.5' 2018-08-16 12:44:08 +01:00
Diggory Hardy
523058f23f Merge branch '0.4' into 0.5 2018-08-16 12:43:20 +01:00
Diggory Hardy
5301750dd0
Merge pull request #590 from dhardy/0.4
Prepare 0.4.3 release
2018-08-16 12:34:29 +01:00
Diggory Hardy
d7d5da49da Prepare 0.4.3 release 2018-08-16 12:20:30 +01:00
Diggory Hardy
ada66a8149
Merge pull request #589 from LionNatsu/patch-2
os.rs: fix wrong syscall number for PowerPC
2018-08-16 12:17:53 +01:00
Lion Yang
5b9e5c39d8
os.rs: fix wrong syscall number for PowerPC
__NR_getrandom is 359 on PowerPC, added from torvalds/linux@7d59deb50a v3.17-rc5.
The bug was introduced from 05f23d275 3 years ago, affecting from 0.1.1 to before 0.5.0-pre.0.
It has already been fixed on the 0.5 branch at 00713a61c so this is a backport.
2018-08-15 16:10:37 +08:00
Diggory Hardy
b78dd9796e
Merge pull request #587 from dhardy/move
Update paths due to relocation
2018-08-14 14:15:19 +01:00
Diggory Hardy
c900945790
Merge pull request #588 from dhardy/wasm
Fix wasm-bindgen build
2018-08-14 12:09:37 +01:00
Pazzaz
92ff0780a9 Change uniform duration edge benchmark 2018-08-14 13:07:59 +02:00
Diggory Hardy
3286a8bfad Fix wasm-bindgen build
wasm_import_module feature has been stabilised
2018-08-14 11:52:04 +01:00
Pazzaz
9ea8394972 Remove redundant assignment 2018-08-14 12:42:20 +02:00
Pazzaz
79450d01dc Improve benches for uniform duration 2018-08-14 11:43:22 +02:00
Pazzaz
84ffc8d746 Improve handling of edge cases in UniformDuration 2018-08-14 11:34:10 +02:00
Diggory Hardy
f7497f77a4 Update paths due to relocation
Repo moved from rust-lang-nursery to rust-random
AppVeyor CI is now managed by dhardy
2018-08-13 18:00:37 +01:00
Diggory Hardy
0671cf834e Merge branch '0.5' 2018-08-10 15:26:27 +01:00
Diggory Hardy
cefcb7ab12
Merge pull request #585 from real-or-random/patch-1
Update ChaChaRng doc
2018-08-10 11:14:39 +01:00
Tim Ruffing
cfbc238230
Update ChaChaRng doc
- Fix a typo
 - Use `stream_id` instead of `nonce` when describing the layout 
   to be consistent with the explanation
 - Remove spaces before footnotes
2018-08-09 16:21:16 +02:00
Diggory Hardy
8286414621
Merge pull request #584 from dhardy/0.5
Prepare 0.5.5 release
2018-08-07 14:54:33 +01:00
Diggory Hardy
03db6e7f13 Prepare 0.5.5 release 2018-08-06 19:05:15 +01:00
Diggory Hardy
628f80a129 Fix links in lib doc 2018-08-06 19:02:23 +01:00
Pazzaz
fbab1a118d Don't use an offset in UniformDuration 2018-08-05 22:17:10 +02:00
Pazzaz
2e1265fecf Add uniform Duration benches 2018-08-05 19:38:50 +02:00
Diggory Hardy
01155c91f8 Fix links in lib doc 2018-08-05 15:26:20 +01:00
Diggory Hardy
3ce3ea7c7e
Merge pull request #574 from vks/beta
Implement Beta distribution
2018-08-04 16:16:58 +01:00
Diggory Hardy
60249716d0
Merge pull request #576 from vks/weibull
Implement Weibull distribution
2018-08-04 16:15:51 +01:00
Vinzent Steinberg
15cb13296e Implement Beta distribution 2018-08-04 16:20:07 +02:00
Vinzent Steinberg
8303241a47 Mention Pareto distribution in docs 2018-08-04 16:15:48 +02:00