k-hara
e864e53adc
fix property enforcement
2015-12-04 15:42:53 +09:00
David Nadlinger
b813578a5a
Revert "New primitive - Tiny UTF Binary Search Table"
2015-11-14 20:21:37 +01:00
Brian Schott
2812f9a676
Merge pull request #3710 from DmitryOlshansky/uni-tab
...
New primitive - Tiny UTF Binary Search Table
2015-11-07 23:22:41 -08:00
Dmitry Olshansky
aba3fe84a3
New primitive - Tiny UTF Binary Search Table
...
This lays on the foundation of UTF word notion,
a 32-bit integer that contains UTF encoded codepoint.
Top non-zero byte is the UTF-8 starter, so it's BigEndian
when reading directly from strings.
Same applies to UTF-16 word.
Also this invents simpler API for matching that easily combines:
- length of code point matched
- result of match (true/false if belongs to this set)
- bad encoding flag
in one packed 32-bit machine word - UtfLookup. This struct is
going to be reused for all of "directly on UTF" matchers in std.uni.
2015-11-07 13:40:47 +03:00
Martin Nowak
0e95f6723a
Merge remote-tracking branch 'upstream/stable' into merge_stable
2015-10-27 15:55:59 +01:00
Martin Nowak
0a9f9ccc3e
fixup for string-like overloads
...
- undocument overloads for aliased/static strings
- make std.traits helpers phobos internal
- rename isStringLike to isConvertibleToString for clearer documentation
- rename peelStringLike to convertToString
- fix a few staticMap!(selectString) uses in std.path
2015-10-26 19:50:08 +01:00
Martin Nowak
6e58799ca3
std.uni fixes for string-like types
2015-10-25 19:28:08 +01:00
tsbockman
8343948e17
Trivial fixes to enable Phobos to compile properly with DMD PR #5229 .
2015-10-23 20:43:52 -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
AndrejMitrovic
2d67fd111f
Merge pull request #3724 from CyberShadow/pull-20151015-233512
...
fix Issue 15208 - Eradicate all uses of "Enforcement failed" in Phobos
2015-10-16 10:24:52 +02:00
Vladimir Panteleev
82590904f7
fix Issue 15208 - Eradicate all uses of "Enforcement failed" in Phobos
2015-10-15 23:44:44 +00: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
Robert burner Schadek
966f7bd353
std.uni unittest doc
...
whitespace
better imports
another try
manuel bisect
whitespace
second manuel bisect
whitespace again
third bisect
maybe byInterval
whitespace again
another try
a litte less
one last try
given up
2015-09-13 14:22:41 +02:00
Martin Nowak
5ca7ddad60
Merge remote-tracking branch 'upstream/stable' into merge_stable
...
Conflicts:
posix.mak
Manually edited:
std/datetime.d (rename toNormalizedPath -> asNormalizedPath)
2015-07-24 01:28:58 +02:00
Dmitry Olshansky
54563c161b
Merge pull request #3231 from tom-tan/uni-MultiArray-raw_ptr-pure-nothrow-nogc
...
Mark std.uni.MuliArray.raw_ptr as pure, nothrow and @nogc
2015-07-09 12:45:58 +03:00
Vladimir Panteleev
ed3a05eef3
std.uni: Rename toLowerCase, toUpperCase, toCapitalized
...
New names: asLowerCase, asUpperCase, asCapitalized
Discussions:
http://forum.dlang.org/post/fafybgnltpkfwpugyqvm@forum.dlang.org
http://forum.dlang.org/post/qdtisgsafprcczbjfizz@forum.dlang.org
2015-06-29 19:34:29 +00:00
Vladimir Panteleev
44198e0dcb
std.uni: Remove stray std.stdio import
2015-06-26 09:16:04 +00:00
anonymous
b28962635f
fix package XREFs
...
Also add escaping underscores in some places, and rewrap to 80 columns
where touching anyway.
2015-06-15 22:30:41 +02:00
Dmitry Olshansky
e3899bba21
Merge pull request #3280 from tom-tan/rm-trusted-uni-decodeGrapheme-byGrapheme-byCodePoint
...
Remove std.uni.decodeGrapheme, byGrapheme, and byCodePoint from @trus…
2015-06-08 00:28:13 +03:00
Robert burner Schadek
a099cc1ac8
uni: alias syntax update and remove of useless semicolon
2015-05-28 19:13:37 +02:00
Tomoya Tanjo
72a4376f24
Remove decodeGrapheme, byGrapheme, and byCodePoint from @trusted block
2015-05-14 23:48:05 +09:00
Walter Bright
d9a9826e55
Revert "Introducing std.meta package"
2015-05-06 14:36:45 -07:00
Dicebot
7970fcc748
Don't use fqn for any/all
...
In most cases it resolves unambiguosly
2015-05-05 22:22:11 +03:00
Dicebot
1c9ae027ef
Rename old std.typetuple symbols inside Phobos
...
staticIndexOf -> indexOf
allSatisfy -> all
anySatisfy -> any
staticMap -> Map
2015-05-05 22:22:11 +03:00
Dicebot
82f54a38d3
TypeTuple -> MetaList inside Phobos
2015-05-05 22:22:11 +03:00
Dicebot
73f773838d
import std.typetuple -> import std.meta
2015-05-05 22:22:10 +03:00
Tomoya Tanjo
7a1c8f3589
Remove std.uni.graphemeStride and its unittest from @trusted block
2015-05-02 11:40:47 +09:00
JakobOvrum
c55ca6fb0f
Merge pull request #3249 from tom-tan/uni-unittest-for-graphemeStride-safe
...
Mark a unittest for std.uni.graphemeStride as @safe
2015-05-01 07:17:03 +09:00
Tomoya Tanjo
06c41be040
Mark a unittest for std.uni.graphemeStride as @safe
2015-04-30 21:13:50 +09:00
Tomoya Tanjo
e70e2de4b4
Mark std.uni.isPowerOf2 as @nogc
2015-04-30 18:44:57 +09:00
Andrei Alexandrescu
b0815037ea
Merge pull request #3232 from tom-tan/uni-MultiArray-length-getter-safe-pure-nothrow-nogc
...
Mark std.uni.MultiArray.length as @safe pure nothrow @nogc
2015-04-28 18:17:14 -07:00
Tomoya Tanjo
2c226d35a7
Mark std.uni.PackedPtrImpl.this as @safe and @nogc
2015-04-28 18:43:46 +09:00
Tomoya Tanjo
10496726d2
Mark std.uni.MultiArray.length as @safe pure nothrow @nogc
2015-04-26 19:50:50 +09:00
Tomoya Tanjo
9bb92c5555
Mark std.uni.MuliArray.raw_ptr as pure, nothrow and @nogc
2015-04-26 14:13:09 +09:00
Tomoya Tanjo
f854e2b3f0
Mark std.uni.MultiArray.slice and MultiArray.ptr as @nogc
2015-04-24 13:45:49 +09:00
Tomoya Tanjo
6907fd0766
Mark the example in synopsis as @safe
2015-04-24 11:47:12 +09:00
Tomoya Tanjo
56fd42663b
Mark unittests and functions in std.uni as @safe pure nothrow @nogc
2015-04-23 11:38:33 +09:00
Martin Nowak
c59966eb17
Merge pull request #3167 from WalterBright/toCapitalize
...
add std.uni.toCapitalized()
2015-04-18 02:31:28 +02:00
Walter Bright
1b6b381fa4
add std.uni.toCapitalized()
2015-04-17 15:30:39 -07:00
k-hara
981bb7be7d
Supplemental fix for issue 5770
2015-04-06 01:01:00 +09:00
Walter Bright
542105e18c
add std.uni.toUpperCase and toLowerCase
2015-03-30 21:10:42 -07:00
Walter Bright
9675a1cee8
add nelSep
2015-03-26 15:16:44 -07:00
Walter Bright
a85a324d7f
improve doc for std.uni.graphemeStride()
2015-03-18 11:27:08 -07:00
Walter Bright
3b648eb8c9
fix documentation for std.uni.sicmp
2015-03-17 20:35:47 -07:00
Robert burner Schadek
62daf9d46c
uni documenation update
...
* moved examples into unittests
2015-01-29 23:03:24 +01:00
Andrei Alexandrescu
fff435405e
Eliminate superfluous "Overview" heading
2015-01-06 22:33:05 -08:00
Walter Bright
c84ce85e35
correct use of See_Also
2014-12-27 16:30:07 -08:00
Walter Bright
f029f88a97
add map example to toUpper
2014-12-23 13:03:27 -08:00
H. S. Teoh
cdc92a8d44
Detab std.uni.
2014-12-12 11:32:26 -08:00
Rainer Schuetze
7c2f962b10
make nested foreach over TypeTuple bodies into lambdas to avoid huge functions
2014-11-28 17:15:37 +01:00