Commit graph

11578 commits

Author SHA1 Message Date
Ilya Yaroshenko
4cf352c19d remove win bug workaround for allocators 2016-01-03 09:45:15 -08:00
Martin Nowak
8e178e17e2 Merge pull request #3898 from MartinNowak/fix_master_allocator
add missing @nogc for Windows-only function
2016-01-03 18:35:34 +01:00
Martin Nowak
34c5711c30 Merge remote-tracking branch 'upstream/master' into stable 2016-01-03 18:34:26 +01:00
Ilya Yaroshenko
f216bffbeb minor doc fix 2016-01-03 09:13:55 -08:00
Ilya Yaroshenko
2c76793a6f uncomment unittest for updated dummyranges and fix related bugs
reinit dummyrange
2016-01-03 09:13:55 -08:00
Ilya Yaroshenko
68d6bb0557 add HTML generation to win.mak 2016-01-03 09:13:55 -08: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
63a9ec77a9 Merge remote-tracking branch 'upstream/master' into stable 2016-01-03 15:10:55 +01:00
Martin Nowak
e286199645 Merge remote-tracking branch 'upstream/stable'
# Conflicts:
#	win32.mak
#	win64.mak
2016-01-03 15:09:57 +01:00
Martin Nowak
cda90eee46 Merge pull request #3397 from 9il/slice
std.experimental.ndslice [ready to merge]
2016-01-02 16:51:06 +01:00
tcak
38bd1b898f Parentheses and redundant spaces are removed. 2016-01-02 15:39:16 +02:00
Martin Nowak
65fbeb1724 Merge pull request #3881 from dcarp/json_encode_control_char_changelog
Add changelog entry for #3872
2016-01-02 13:06:16 +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
Adam D. Ruppe
2a235758a7 publically import empty too because users expect it 2015-12-31 10:44:05 -05: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
JakobOvrum
35857ac2b8 Merge pull request #3889 from jmdavis/deprecations
Move deprecations along.
2015-12-31 03:20:25 +01: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
tcak
c2c682aea8 An extra example is added for spawn function. 2015-12-30 20:06:10 +02: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
Iain Buclaw
c5053cbf47 Fix precision bug in poly unittest 2015-12-27 22:44:56 +01:00
Rainer Schuetze
13e74e9189 Merge pull request #3885 from qchikara/patch-1
Issue 15479 - COFF: phobos/win64.mak failed to make clean with MODEL=…
2015-12-27 09:34:43 +01:00
qchikara
678e1b4618 Issue 15479 - COFF: phobos/win64.mak failed to make clean with MODEL=32mscoff
Tweak a call to inner win64.mak with same hack as the others.
2015-12-27 10:19:03 +09: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
Dragos Carp
80e458fd70 Update the changelog 2015-12-19 11:08:51 +01: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 Nadlinger
b528be4d4c Merge pull request #3878 from Dav1dde/patch-1
RandomSample.front was not documented
2015-12-18 00:00:50 +01: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
Jack Stouffer
467276cc92 added ReferenceBidirectionalRange to std.internal.test.dummyrange 2015-12-16 16:55:29 -05: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
Brian Schott
833a57f45c Merge pull request #3869 from yazd/master
Fixes #15433: std.experimental.allocator.building_blocks.free_tree on…
2015-12-11 11:55:01 -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
Jakob Øvrum
a16cfc0690 Add std.range.tail
Suggested by Andrei Alexandrescu in this thread:
http://forum.dlang.org/post/n3sfgg$1hpm$3@digitalmars.com
2015-12-10 04:59:31 +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