Commit graph

9207 commits

Author SHA1 Message Date
Bastiaan Veelo
032ef0fe9e Merge branch 'stable' of https://github.com/D-Programming-Language/phobos 2016-01-07 23:07:14 +01:00
veelo
3da2fb0bda Documentation fixes. 2016-01-07 22:03:35 +01:00
Robert burner Schadek
814bb86e7a std.logger.minor_doc_fix
* Bastiian Veelo spelling error from forum
2016-01-07 10:23:41 +01:00
Martin Nowak
8aafde2505 disable GCAllocator.expand test 2016-01-03 16:58:45 +01:00
Martin Nowak
6d36fc10e4 add missing @nogc for Windows-only functions 2016-01-03 16:04:18 +01:00
Martin Nowak
e286199645 Merge remote-tracking branch 'upstream/stable'
# Conflicts:
#	win32.mak
#	win64.mak
2016-01-03 15:09:57 +01:00
Ilya Yaroshenko
54a6d72bb8 initial commit
fix Slice

change concept

implement `sliced`

change structure

remove comment

slice constructors

add 1D case

fix opSlice 1D

implement ND, part1

update to modern syntax

generic opIndex

fix protection

cleanup

fix

cleanup

style fix

rename

update

update

implement transpose

unittest

unittest for properties and methods

more examples & fixes

move code

minor fix

add header

update make fils

update make files

dmd bug workaround

fix module name

update imports

style fix

fix asserts

remove createRefCountedSlice

add shape property

rework `shape`, add `structrure`

ndarray

swapped

transposed

opCast

remove save calls

everted

make Slice(size_t N0, Slice(size_t N1, ...)) virtual

huge rework

remove space

move code

fix style

add packEverted

relax constraints

add black comments

remove spaces

fix macros

fix doc

fix docs

update docs

reduce template bloat

optimize and fix for arrays.

update docs

remove space

update docs

update docs

update link

update doc

fix constructor

add toString

fix `save`

add `reversed` method

fix constraints for `reversed`

optimisation in unittests

add `strided`

implement `reversed` for ranges (no arrays)

reduce constraints

cleanup

add Iota for static foreach

remove string representation

DMD 2.067 support

fix style

fix opIndexUnary constraints

move byElement

add shift property

add CTFE-able strided

huge style fix

add macros

update `sliced`

move private code

update docs

update allIndexesReversed, renamed to allReversed

update docs

update docs

fix macros

fix posix.mak

update posix.mak

update docs and strided

move code

update sliced constraints

update `sliced` docs

move code

remove whitespaces

add static assert to ndslice

add one more opIndexUnary

update createSlice docs

update ndarray

update docs for Transpose operators

update docs and fix bugs

add pragma inline

fix docs

update docs

update docs

add inline pragma

ditto

replace errors with asserts

update docs

update doc style

update docs

remove comes in docs

update docs

remove whitespaces

update docs

update docs

update comment

update test

update docs

fix typo

fix docs

review

fix transposed description

change doc tables

remove unused RepeatTypeTuple

remove function attributes for templates

make constructor private

make N and Range private

make elementsCount public

fix createSlice params naming

add assert description to sliced

[big] fix range primitives wrong asserts and update documentation

regroup primitives

minor docs fix

minor docs fix

fix typo

fix Slice constraints

add indexing using static arrays

make byElement a random access range

fix by random access primitives for ByElement

update unittest

fix random access primitives for ByElement

remove trailing space

implement slicing for ByElement

make ByElement more readable

update docs for subspace operators

remove one See_also

revert last commit

update docs

add descriptions to asserts

add more examples

minor doc update

add example with allocators

add makeSlice for allocators

update docs table

add range checks

add more constructors

Add description to asserts.

add checks for const/immutable

ditto

update to DMD 2.069

minor fixes

add elements property

make makeSlice an unittest

remove space

update docs

remove space

update docs

update doc

fix makeSlice example

fix strided

make strided template variadic

add Guide for Slice/Matrix/BLAS contributers

remove unused import

add better error messages

update guide

update docs

remove space

[minor] fix docs

minor error messages update

minor doc fix

rename package

split package

update posix.mak

update win*.mak

ditto

fix posix mak

update *mak.

update docs

update man files

minor doc update

update module headers

fix opCast

rename pop*N to pop*Exactly

remove primitives

add popFrontN popBackN to Slice

[minor] update docs

add package primitives to Slice

update operators prototypes

add drop* primitives

[minor] update docs

update docs

remove spaces

remove allocators

minor doc fix

[minor] update docs

add dropToNCube

add diagonal

add return type for template for better documentation

move pack* to iterators

rm allocators

[minor] doc update

add support of packed slice for diagonal

update example for diagonal

add blocks

rename packed and unpacked to pack and unpack

update docs

renaming

[minor] docs update

ditto

minor style update

rm old files

[minor] update docs

update docs

ditto

[minor] update docs

add rotated

[minor] update docs

add byElementInStandardSimplex

add windows

remove space

remove structure

update docs

add spaces

add reshape

rename packEverted -> evertPack

remove spaces

fix ReshapeException

minor doc fix

update windows/blocks template params

fix pack windows/blocks

add index @property

remove spaces

minor doc fix

add Slice tuples

remove spaces

update docs

update docs and rename dropToHypercube

update docs

minor doc update

fix links

remove version OS constraints for allocators

assumeSameStructure

fix

minor doc fix

minor doc update

after review

minor style fix

fix Elaborate Assign

add index slice

fix NSeq

fix bug with diagonal

fix sliced slice

add main example

update docs

translation

fix comment

fix style

remove spaces

update style

fix link

Vandermonde matrix

remove space

move example

remove `opCast`

add opEquals for arrays

update opIndex(Op)Assign

update docs

update docs

fix style

update docs (russian will be translated)

update tests

fix doc style

ditto

ditto

update docs

update docs

update docs

update docs

update unittests

update docs

ditto

ditto

ditto

[major] doc update

update docs

update docs

fix voting conditions (docs, style)

minor doc update

fix style

add unittest for `map`

ditto

fix string mixins

add Params and Returns

ditto

add headers

add descriptions

Fix m32 mode in example

Minor description fix

fix spaces

ditto

Add Internal Binary Representation

ditto

ditto

ditto

ditto

ditto

ditto

ditto

add description for binary representation

ditto

minor style fix

ditto

ditto

ditto

ditto

ditto

ditto

inlining

remove compiler version check

fix braces

fix docs

add Quick_Start

Fix English

Add two examples

fix style

remove object file

minor doc update

ditto

remove spaces

fix indexing & add unittests

ditto
2016-01-01 23:23:50 -08:00
Brian Schott
44ed1ed839 Merge pull request #3873 from JackStouffer/patch-4
Add Ali's range tutorial to std.range docs
2015-12-30 22:00:46 -08:00
Jack Stouffer
d3b02d7ea5 Add Ali's range tutorial to std.range docs
It was added to the top of std.algorithm but not here.
2015-12-30 18:46:48 -05:00
Jonathan M Davis
0899d9403f Move deprecations along.
This includes deprecating std.c.*, which apparently was marked as
scheduled for deprecation in 2.068 but never actually deprecated (though
it looks like it was previously removed from the documentation build,
since it doesn't show up on dlang.org).
2015-12-30 00:18:53 -08:00
Andrei Alexandrescu
7a06e21cc7 Merge pull request #3879 from blm768/adjust_examples
Changed "Examples:" in Ddoc to "Example:"
2015-12-26 09:21:38 -05:00
Andrei Alexandrescu
4799bc6f45 Merge pull request #3883 from JakobOvrum/std_utf_docs
Consolidate documentation for std.utf.stride[Back]
2015-12-25 09:30:01 -05:00
Jakob Øvrum
fc5d24566a Consolidate documentation for std.utf.stride[Back] 2015-12-22 18:24:25 +09:00
Andrei Alexandrescu
e828cf7b51 Merge pull request #3771 from burner/std.string.index_unittest_examples
std.string.index_unittest_examples
2015-12-21 10:26:49 -05:00
JakobOvrum
71f5e1a281 Merge pull request #3866 from Infiltrator/patch-1
Fix mistakes in pull #3864
2015-12-18 17:09:47 +09:00
Brian Schott
7764b50a90 Merge pull request #3872 from dcarp/json_encode_control_char
std.json: Encode control characters
2015-12-17 23:10:28 -08:00
Brian Schott
fd20a6f398 Merge pull request #3877 from JackStouffer/patch-6
Include Unittest Blocks as Doc Examples in std.functional
2015-12-17 22:07:56 -08:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
David Herberth
82096b5cf5 RandomSample.front was not documented
The documentation of std.random.RandomSample shows all range primitives except .front
2015-12-17 22:21:31 +01:00
Jack Stouffer
2bce92e19f Include unittest blocks as examples in std.functional 2015-12-17 13:44:10 -05:00
Brian Schott
a9e1bcc8a9 Merge pull request #3850 from jmdavis/duration
Deprecate the non-benchmarking uses of TickDuration in std.datetime.
2015-12-16 16:46:52 -08:00
Robert burner Schadek
98441e265d std.string.index_unittest_examples
* added unittest doc examples for indexOf lastIndexOf

small update

indexOf rearranging

lastIndexOf

more shuffeling

jakobovrum

some update and more testing
2015-12-16 16:46:36 +01:00
Dragos Carp
cacd081e11 std.json: Encode control characters 2015-12-16 00:55:09 +01:00
H. S. Teoh
64f43ce42c Merge pull request #3854 from 9rnsr/enforceProp
fix property enforcement
2015-12-15 09:37:12 -08:00
Yazan Dabain
44d273c3bd Fixes #15433: std.experimental.allocator.building_blocks.free_tree only compiles with unittest 2015-12-11 10:44:06 +02:00
JakobOvrum
66e01c324c Merge pull request #3863 from Infiltrator/patch-4
Fix Issue 15420 - topN(Range, Range) does not respect its less predicate
2015-12-11 07:26:16 +09:00
Infiltrator
73a74374e2 Fix mistakes in pull #3864
Bug unittests should go in their own blocks.
2015-12-10 17:31:41 +11:00
Infiltrator
d70356e019 Fix topN(Range, Range) disrespect of its predicate 2015-12-10 17:29:34 +11:00
Brian Schott
c82f47cb8d Merge pull request #3868 from JakobOvrum/container_docs_take
s/takeOne/take/ in std.container package documentation
2015-12-09 17:18:14 -08:00
Jakob Øvrum
85edbe9ffb s/takeOne/take/ in std.container package documentation
takeOne returns a special type for ranges without slicing, so it just
happened to work with Array, but it doesn't work with say, linked lists.
2015-12-10 08:50:08 +09:00
H. S. Teoh
574734500e Merge pull request #3867 from aG0aep6G/15429
fix issue 15429 - [std.stdio] Broken link in documentation
2015-12-09 11:32:09 -08:00
anonymous
e90edec9b6 fix issue 15429 - [std.stdio] Broken link in documentation 2015-12-09 18:25:28 +01:00
Infiltrator
865afe1b39 Update topN functions to return their top ranges 2015-12-08 19:21:46 +11:00
tsbockman
1b19dd67e3 Improve std.conv.parse() docs. Point out that std.conv.to() works with string literals. 2015-12-07 19:08:11 -08:00
tsbockman
1f8bb8c811 Clean up invalid "@@@BUG@@@" comments from std.conv.parse unittest. 2015-12-07 18:49:03 -08:00
Brian Schott
2e28c979a5 Merge pull request #3860 from JakobOvrum/container_docs
Some std.container documentation fixes and improvements
2015-12-07 13:53:00 -08:00
Jakob Øvrum
a2117fafd5 Some std.container documentation fixes and improvements 2015-12-08 04:20:12 +09:00
Brian Schott
e60c9dcf18 Merge pull request #3857 from BBasile/issue-15336
fix issue 15336, opIn undocumented for JSONValue
2015-12-07 11:07:57 -08:00
Robert Schadek
c723d17e9f Merge pull request #3858 from aG0aep6G/10087
document that chunkSize must be positive
2015-12-07 15:20:23 +01:00
anonymous
1a2ef53923 document that chunkSize must be greater than zero
There's an assert(chunkSize != 0) in the constructor which needs to be
documented.
2015-12-07 13:27:19 +01:00
Basile Burg
c10012129d documented opIn 2015-12-07 11:41:17 +01:00
Brian Schott
61b07a39b1 Merge pull request #3856 from BBasile/mallocator-nogc
fix issue 15409 - Mallocator cant be used in @nogc code
2015-12-06 21:51:41 -08:00
tsbockman
4b690ef72f Added a slower generic fallback method, in case real.mant_dig > 64. 2015-12-05 15:39:48 -08:00
tsbockman
7929a45c1f Optimized slightly and made the unittests more generic in case real.mant_dig < 64. 2015-12-05 15:38:31 -08:00
tsbockman
01860999a9 Added static assert documenting the maximum precision for which this fix is valid. 2015-12-05 15:38:31 -08:00
tsbockman
49d4720e5c Fix Issue 14786 - std.math.pow sometimes gets the sign of the result wrong. 2015-12-05 15:38:31 -08:00
Basile Burg
0c513b1c15 allowed Mallocator to be used in nogc functions 2015-12-05 23:41:26 +01:00
Iain Buclaw
0c39d2d341 Merge pull request #3849 from Infiltrator/patch-1
fix issue 9717 - `std.math.round` rounds away from zero instead of to the nearest even integer
2015-12-05 18:56:49 +01:00
k-hara
e864e53adc fix property enforcement 2015-12-04 15:42:53 +09:00
Jonathan M Davis
26a4340c30 Remove stray uses of TickDuration from Phobos internals. 2015-12-03 03:01:03 -08:00