Commit graph

518 commits

Author SHA1 Message Date
Tomoya Tanjo
2adaeea02f Move a modulo operation into the trusted function 2014-11-26 18:56:43 +09:00
Tomoya Tanjo
2aeba852ec Remove redundant alias 2014-11-25 15:06:01 +09:00
Tomoya Tanjo
a7f8b29667 Make Cycle.this system and other methods safe 2014-11-25 14:47:09 +09:00
Tomoya Tanjo
ea7beb230d Mark methods in std.range.cycle for static array as system 2014-11-25 14:29:54 +09:00
Ilya Yaroshenko
2c744b54e1 std.range: constraints => primitives
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
H. S. Teoh
d24cc0a69c Include NullSink in std.range ddocs.
Partial fix for makefile to build std.range docs, that was broken after
std.range was split. This is only a partial fix; the full fix will have
to be done as part of [issue 13766] (https://issues.dlang.org/show_bug.cgi?id=13766).
2014-11-22 13:41:02 -08:00
David Nadlinger
c84986e5fb Merge pull request #2736 from 9il/erc
fix std/range/constraints.d static errors
2014-11-19 03:40:07 +01:00
Ilya Yaroshenko
efb880f651 move format to std.format
The reason is to do not import `std.uni` tables, `std.string` and
probably `std.algorithm`. Note that format is used in CTFE code and
`Exception` handing.

 And it is more comfortable to import `format` from `std.format`.

std.format: clean imports (2)

remove import std.math : pow from std.uni

update scope imports in std.algorithm

update scope imports in std.exception

doFormat -> template

update scope imports in std.typecons

update scope imports in std.functional

update scope imports in std.range

update std.conv scope import

std.format: clean imports (2)

remove import std.math : pow from std.uni

update scope imports in std.algorithm

update scope imports in std.exception

doFormat -> template

update scope imports in std.typecons

update scope imports in std.functional

update scope imports in std.range

move sfromat

add public import of sformat

use std.uni
2014-11-18 22:14:28 +03:00
Ilya Yaroshenko
8ecf823ea7 fix std/range/constraints.d static errors
remove scope import in std.range.constraints.

use string concatenation

__
2014-11-16 23:13:44 +03:00
Ilya Yaroshenko
66267de81f dummy ranges module
rm

rename & add scope imports

update scope imports

std.algorithm: clean imports

update scope imports

update global imports

update *.mak

ditto

formatting

fix typo

fix scope import std.uni

update windows  *.mak

add import to unittests

tabs fix

fix unittest

fix indentation
2014-11-15 03:07:10 +03:00
Ilya Yaroshenko
12ba522cba std.range.constraints & std.array cleanup
use static import

rm static
2014-11-14 04:52:33 +03:00
Ilya Yaroshenko
4515a201d1 type 2014-11-12 00:20:21 +03:00
Ilya Yaroshenko
deef0cfba3 update dummyRanges 2014-11-12 00:15:39 +03:00
Ilya Yaroshenko
70884cb072 dummyRanges 2014-11-12 00:00:58 +03:00
Ilya Yaroshenko
31953f1d32 range/constraints.d move mixin
and update scope imports
2014-11-11 23:41:46 +03:00
Ilya Yaroshenko
290cb51d69 range/constraints.d : update imports and unites
solv unittest name conflict with std.algorithm
2014-11-11 23:29:27 +03:00
Ilya Yaroshenko
ab83cd94da std.string: clean imports 2014-11-11 22:42:57 +03:00
Ilya Yaroshenko
c828a08b64 std.range.package init
delete range.d

std.range : move traits

move concept

1. traits => concept
2. move manipulation into concept

update package import

update module name

remove range.traits import

remove some local imports

add _swapImpl

move _swapImpl

fix _swapImpl

fix hasSlicing

restore old hasSwappableElements

update unittests

update unitises

fix module name

fix pop****N

move interfaces

update unites

add import std.typetuple : staticMap

clean imports

rename local min to _min

remove wrong scope import

add until for unittests

update *.mac

update import

optimize DList import

move comment

remove private global selective imports

remove private global selective imports (interfaces)

remove new private stuff

add local imports

public import std.typecons : Flag, Yes, No;

concept => constraints

update scoped imports

add local imports (min)
2014-11-11 18:26:36 +03:00