Commit graph

207 commits

Author SHA1 Message Date
Ilya Yaroshenko
c8d9afedea clean scope imports
imports of `std.range, std.algorithm, std.array, std.string,
std.format, std.uni` are affected.
2014-11-21 00:08:35 +03:00
Ilya Yaroshenko
2802040979 remove import std.math.pow from std.uni 2014-11-18 03:07:03 +03:00
H. S. Teoh
c2af7f2bfe Merge pull request #2691 from 9il/dummyranges
move dummy ranges and clean imports in std.algorithm
2014-11-15 08:13:55 -08: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
1f515e0c68 std.uni: clean imports 2014-11-14 17:53:42 +03:00
Ilya Yaroshenko
a22f1b354d add local imports to std.uni 2014-11-11 23:12:12 +03:00
Dmitry Olshansky
e6071e47b9 Merge pull request #2684 from 9il/uni
fix regression in std.uni imports
2014-11-11 17:49:03 +03:00
Ilya Yaroshenko
d1fe151465 fix regression in std.uni imports
remove array global import

move scope import
2014-11-11 11:45:09 +03:00
David Nadlinger
c62f246d3c Merge pull request #2671 from 9il/uni
std.uni: clean imports
2014-11-10 14:44:32 +01:00
Ilya Yaroshenko
629a76e299 std.uni: clean imports 2014-11-10 12:46:25 +03:00
sinkuu
deb82feaa2 Add @nogc attribute 2014-11-09 23:00:24 +09:00
Tomoya Tanjo
7cdfaf9716 Mark std.uni.MultiArray.this with array types as safe, pure, nothrow and nogc 2014-10-21 19:20:53 +09:00
Tomoya Tanjo
7152e19e4c Add pre-condition 2014-10-21 11:31:12 +09:00
Tomoya Tanjo
eec99196f1 Mark std.uni.MultiArray.this as safe, pure and nothrow 2014-10-20 19:05:38 +09:00
Dmitry Olshansky
69be71e44f Merge pull request #2618 from tom-tan/remove-uni-adaptIntRange
Remove std.uni.adaptIntRange
2014-10-19 22:04:59 +04:00
Andrei Alexandrescu
f1cc2d498a Merge pull request #2623 from tom-tan/safe-nogc-uni-spaceFor
Mark std.uni.spaceFor as safe and nogc
2014-10-19 09:03:48 -07:00
Daniel Murphy
ac3118693b Merge pull request #2619 from tom-tan/safe-pure-nothrow-nogc-uni-replicateBits
Mark std.uni.replicateBits as safe, pure, nothrow and nogc
2014-10-19 17:00:11 +11:00
Tomoya Tanjo
d5074fc215 Replace reduce!"a+b" with sum 2014-10-19 03:42:05 +09:00
Tomoya Tanjo
a4f200e9d4 Mark std.uni.spaceFor as safe and nogc 2014-10-18 09:45:13 +09:00
Tomoya Tanjo
5ba41f4a24 Mark std.uni.floorPowerOf2 and ceilPowerOf2 as nogc 2014-10-17 17:17:43 +09:00
Tomoya Tanjo
77de1efcf8 Mark std.uni.replicateBits as safe, pure, nothrow and nogc 2014-10-17 17:04:00 +09:00
Tomoya Tanjo
85fb303e65 Remove std.uni.adaptIntRange 2014-10-17 16:29:55 +09:00
Geod24
0fb95b8c27 Usage of WEB macro for License everywhere 2014-10-15 11:30:42 +02:00
Tomoya Tanjo
f23fce0026 Mark std.uni.isRegionalIndicator as safe 2014-10-03 11:23:16 +09:00
Ketmar Dark
6113fba620 Remove comma expression in std.uni 2014-09-08 22:27:06 +02:00
Martin Nowak
401b104cf4 Issue 13232 - avoid expensive template instantiations on module import
- hide std.uni.TrieBuilder instantiations behind functions
2014-08-01 02:15:56 +02:00
Михаил Страшун
8457c1998f Merge pull request #2373 from DmitryOlshansky/gen-uni-nogc
Update std.uni tables generator to use @nogc
2014-07-26 04:34:04 +02:00
Dmitry Olshansky
fcbd6f8c5b Update std.uni tables generator to use @nogc
Enables @nogc isWhite and related functions.
A supplement to pull #2323
2014-07-26 01:43:38 +04:00
Robert burner Schadek
f2c5dbd502 some love for std.string
many functions of std.string had no attributes like pure, safe etc.
additionally, many const arguments where not marked as const.
tabs -> whitespace
removed tail whitespace
Doc Examples to unittest docs

more love for std.string

const to in

squeeze
2014-07-17 09:48:56 +02:00
Dmitry Olshansky
c131da5834 Fix issue 12455 [reg]Bad lowercase mapping for 'LATIN CAPITAL LETTER I WITH DOT ABOVE'
Also as part of a fix restores a test case in string.d
to exactly match older behaviour.

Some extended greek is not upper but title case, yet changes on toUpper.
2014-07-05 02:05:12 +04:00
AndrewEdwards
4d7b8b1e19 Update uni.d
Fix Ddoc: Stray ')' warning.
2014-06-29 17:18:30 +09:00
Andrej Mitrovic
97cdef0eef Fix Issue 12184 - Implement advanced formatting support for std.uni.InversionList. 2014-04-30 22:29:37 +02:00
Andrej Mitrovic
a03326665c Strip spaces. 2014-04-26 16:12:48 +02:00
Dmitry Olshansky
c9f1c42ed3 Use direct slicing for CowArray, makes for faster debug builds/CTFE code.
Also use Gallop search policy for CodepointSets, as it's closer to
to the common cases for merging charsets.
2014-04-23 20:19:52 +04:00
Dmitry Olshansky
6f004740aa Enable latent optimizations in std.uni
Simplify set construction.
2014-04-23 20:19:52 +04:00
Dmitry Olshansky
1a4d897587 Enable again linear scans for small sets in std.regex 2014-04-23 20:19:51 +04:00
Dmitry Olshansky
48e7c9a9ad make simpleCaseFoldings CTFE-able 2014-04-23 20:10:20 +04:00
Dmitry Olshansky
5a90d786ab fix range violation for non-existant sets of length < 2 2014-04-23 20:10:19 +04:00
Dmitry Olshansky
dee35f6b53 introduce simpleCaseFolding to support case-insensitive regex 2014-04-23 20:10:19 +04:00
Martin Nowak
3e06a3bca2 Merge pull request #2020 from DmitryOlshansky/utf-matcher
UTF matchers in std.uni
2014-04-23 12:16:52 +02:00
Dmitry Olshansky
75bb5c898d Avoid comma operator 2014-04-13 15:21:21 +04:00
Dmitry Olshansky
c5b35ec220 Adjust after rebase, tweak DDocs
Drop public for documented unittests
2014-04-13 14:50:47 +04:00
Dmitry Olshansky
21a2d20209 Address problems with issue 314 2014-04-13 14:38:05 +04:00
Dmitry Olshansky
05b9cadf36 another DDoc tweak 2014-04-13 14:38:04 +04:00
Dmitry Olshansky
87703b7577 address review issues
Spelling, style etc.
2014-04-13 14:37:45 +04:00
Dmitry Olshansky
fff184b1cc more checking of UTF errors
Overlong sequences, wrong continuation  for UTF-8.
Lone high surrogate for UTf-16/.
2014-04-13 14:37:10 +04:00
Dmitry Olshansky
8073f8371d test both narrow strings and range of char for matcher trait 2014-04-13 14:37:10 +04:00
Dmitry Olshansky
2ee9871759 hide subMatcher until its API and utility is proven 2014-04-13 14:37:09 +04:00
Dmitry Olshansky
94224ab18b fold in review comments 2014-04-13 14:37:09 +04:00
Dmitry Olshansky
f48af662df @safety bags for utfMatchers
Granularity is horribly high. Auto-inference for templates has the
downside that it, leaves no explanations or reasons for failure.
2014-04-13 14:36:50 +04:00