Commit graph

897 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
H. S. Teoh
881b05ed31 Merge pull request #3904 from 9il/slice
minor doc fix
2016-01-06 14:07:48 -08:00
Ilya Yaroshenko
e935d8768b minor doc fix 2016-01-06 14:00:35 -08:00
Robert burner Schadek
9a452e7bae std.logger_consolidate_default_loglevel
* change default FileLogger LogLevel to all
* fix minor doc error
2016-01-05 13:07:43 +01:00
Brian Schott
124bc714c2 Merge pull request #3897 from 9il/slice
[2.070][ndslice] update win*.mak & uncomment unittest with dummyranges
2016-01-04 14:43:13 -08:00
Ilya Yaroshenko
4cf352c19d remove win bug workaround for allocators 2016-01-03 09:45:15 -08: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
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
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
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -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
Basile Burg
0c513b1c15 allowed Mallocator to be used in nogc functions 2015-12-05 23:41:26 +01:00
anonymous
933aa8e30d TypeInfo.init -> TypeInfo.initializer 2015-11-30 21:20:46 +01:00
k-hara
59989ed68a fix imports 2015-11-01 23:01:04 +09:00
Walter Bright
cf22992cbb Merge pull request #3768 from CyberShadow/pull-20151024-051829
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007 HTML fixes 2015-10-24 06:19:23 +00:00
Brian Schott
60e69567dc Merge pull request #3693 from andrewwvc/newmaster
Modified allocateEligible to prevent memory stomping
2015-10-19 02:20:31 -07:00
Brian Schott
67c95e6de2 Merge pull request #3715 from dcarp/AliasSeq
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07:00
Brian Schott
158de887d3 Merge pull request #3685 from economicmodeling/allocator_policy_fix
Allow TypedAllocator.Policies to actually be empty
2015-10-15 16:37:21 -07:00
Ilya Yaroshenko
f81799cd0f fix #15188 2015-10-16 01:05:05 +03:00
Martin Nowak
2408a31a3f Merge pull request #3689 from economicmodeling/allocator-list-without-expand
Issue 15197 - Allow allocator_list to work with allocators that don't have 'expand()'
2015-10-15 01:17:55 +02:00
Martin Nowak
e5f45f4bed Merge pull request #3688 from economicmodeling/free-memory-in-unittests
Issue 15196 - Fix memory leak in bitmapped-block unit tests
2015-10-15 01:10:33 +02:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Ilya Yaroshenko
bf64ff48a1 [DMD 2.069][allocators] Fix issue 15187
https://issues.dlang.org/show_bug.cgi?id=15187

Update package.d
2015-10-11 23:23:03 +06:00
Andrew Van Caem
54e415c82f Modified allocateEligible so that parent.allocate will allocate max bytes when hasTolerance is true 2015-10-04 12:19:16 +11:00
Andrei Alexandrescu
71a00eee59 Simplify package documentation generation, fux errors in allocator's documentation 2015-10-03 19:51:08 -04:00
Hackerpilot
5cb1fc7888 Allow allocator_list to work with allocators that don't have 'expand()' 2015-10-02 17:38:21 -07:00
Hackerpilot
9c431374de Fix memory leak in bitmapped-block unit tests 2015-10-02 17:11:40 -07:00
Dmitry Olshansky
c29a14edd5 Merge pull request #3682 from burner/std.experimental.logger_housekeeping
logger housekeeping
2015-10-02 19:36:30 +03:00
Justin Whear
bef28f41f1 Allow TypedAllocator.Policies to actually be empty
Fixed compile-time error when Policies was empty. Repro with
----
import std.experimental.allocator.mallocator;
import std.experimental.allocator.typed;
alias A = TypedAllocator!(Mallocator);  // slice[1..0]
----
2015-10-02 09:18:08 -07:00
Ilya Yaroshenko
cc4cd7c1a9 add approxMaxNodes for shared free list 2015-10-02 17:41:33 +03:00
Ilya Yaroshenko
0b2ca72571 fix SharedFreeList.allocate 2015-10-02 07:35:09 -04:00
Basile Burg
18d9bc764e fix unittest style 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
dbad0e839d Reduce number of threads created in free_list unittest 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
ec8f916555 Change unittest for roundUpToAlignment 2015-10-02 07:35:09 -04:00
Basile Burg
b876a20832 rewritten _aligned_realloc + added unittests
- _aligned_realloc was using an unnecessary temp buffer
- _aligned_realloc is now conforms with MSVC specs. in case of realloc failure (keep original block)
2015-10-02 07:35:09 -04:00
Basile Burg
82349d5ea3 fix, temp file for test under win 2015-10-02 07:35:09 -04:00
Basile Burg
70c4ad4cbe fix, test cant pass under win32
due to max alloc size
2015-10-02 07:35:09 -04:00
Basile Burg
53ba5d3c74 fix, use 'CRuntime_DigitalMars' to detect the Digital Mars standard C lib 2015-10-02 07:35:09 -04:00
Basile Burg
257499176f set aligned_free private 2015-10-02 07:35:09 -04:00
Basile Burg
2e2e6d5563 Implementation of the_aligned_alloc functions for the DigitalMars version 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
5cce2a1c30 Reduce unittests' pressure on resources 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
3a40bed57e Reduce unittest allocations, otherwise there's failure on low-memory machines at least in 32-bit builds 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
f38dab3d9e Fix roundUpToAlignment 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
b0d99515c5 Relax more totalAllocation assertions for 32 bit 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
58a19a64d8 Relax totalAllocation assertion for 32 bit 2015-10-02 07:35:09 -04:00