Commit graph

221 commits

Author SHA1 Message Date
Joakim
10c01a0614 On Android, update std.datetime to extract timezone data and some other fixes. 2016-02-10 14:25:42 +05:30
ZombineDev
1c555f0d1f Handle all return codes of posix_memalign, such as EINVAL. 2016-02-03 17:33:24 +02:00
ZombineDev
ce938fe432 Add attributes to most functions in allocator.mallocator and allocator.common.
Also made the style more consistent.
2016-02-03 17:33:24 +02:00
Steven Schveighoffer
245977e3e7 Add more unit tests for GCAllocator.goodAllocSize 2016-02-02 15:11:55 -05:00
Steven Schveighoffer
0c5e570360 Optimize use of bsr better. 2016-02-01 09:27:04 -05:00
Steven Schveighoffer
e9e52d9e05 Add goodAllocationSize to GCAllocator -- the GC has very well defined
behavior for this.
2016-01-31 14:50:53 -05:00
JakobOvrum
eec7609314 Merge pull request #3956 from ZombineDev/patch-3
Fix makeArray for types with disabled this(this)
2016-01-29 08:27:06 +09:00
Dariusz Antoniuk
e9ef91d5d4 Fix a typo in stack allocator usage example
Objs should be deallocated by the same allocator used to allocate them.
2016-01-28 15:16:48 +01:00
Petar Kirov
6615f6990e Fix makeArray for types with disabled this(this) 2016-01-27 17:39:59 +02:00
Martin Nowak
581574e449 Merge pull request #3935 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-01-25 01:43:05 +01:00
Andrei Alexandrescu
600aad231c Merge pull request #3946 from 9il/cawp
remove Flag alias
2016-01-21 17:11:30 -05:00
Ilya Yaroshenko
bbc2a9d9a2 remove Flag alias 2016-01-21 12:06:34 -08:00
Martin Nowak
10d1dc4a5b Merge remote-tracking branch 'upstream/stable' into merge_stable 2016-01-17 20:36:06 +01:00
Ilya Yaroshenko
c25b7d5c71 improve error message in ndslice 2016-01-15 01:53:55 -08:00
Andrei Alexandrescu
ac96a3d3c0 Merge pull request #3684 from 9il/shared_free_list
[allocators] add approxMaxNodes for shared free list
2016-01-14 02:48:51 -05:00
Andrei Alexandrescu
a813ac6eed Merge pull request #3925 from 9il/patch-5
Replace sort with topN in ndslice example
2016-01-14 00:53:13 -05:00
Martin Nowak
f6b94c8e58 Merge pull request #3905 from 9il/slice
[2.070][ndslice] upgrade win*.mak & uncomment unittest with dummyranges
2016-01-13 23:51:33 +01:00
Andrei Alexandrescu
718208dfc5 Merge pull request #3846 from aG0aep6G/TypeInfo.initializer
TypeInfo.init -> TypeInfo.initializer
2016-01-12 11:40:47 -05:00
Ilya Yaroshenko
45b3051a9a Update package.d 2016-01-12 01:02:10 -08:00
Andrei Alexandrescu
3641f466f9 Merge pull request #3919 from 9il/patch-5
fix Issue 15543
2016-01-12 03:16:40 -05:00
Ilya Yaroshenko
fe09ee540c fix Issue 15549 2016-01-10 17:58:05 -08:00
Ilya Yaroshenko
fe6353028f [one line review] fix Issue 15543 2016-01-10 13:33:29 -08:00
H. S. Teoh
bfd508723b Merge pull request #3908 from veelo/patch-2
Documentation fixes.
2016-01-07 18:10:32 -08:00
H. S. Teoh
25c78fea94 Merge pull request #3902 from burner/std.logger_consolidate_default_loglevel
std.logger_consolidate_default_loglevel
2016-01-07 14:44:03 -08:00
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