Commit graph

313 commits

Author SHA1 Message Date
e-y-e
befa0bfb6e Updated Flag uses to Yes/No structs 2016-09-29 14:45:20 +01:00
Jack Stouffer
67d44e4cdc Remove package wide std.algorithm imports from Phobos 2016-09-22 08:36:14 +01:00
Jack Stouffer
3498fc1232 Make std.uni.toUTF16 DRY by using byUTF internally 2016-09-17 16:03:16 +01:00
Jack Stouffer
e096f29e18 Improved docs and added tests 2016-09-17 14:20:37 +01:00
Jack Stouffer
ed92b3d33f Range-ified 2016-09-17 14:20:37 +01:00
Jack Stouffer
3cc0a7cba4 Added string specific logic 2016-09-17 14:20:37 +01:00
Jack Stouffer
2f24a0aba4 use appender instead of array 2016-09-17 14:20:37 +01:00
Jack Stouffer
65c4648c27 Remove over applied pure attribute from std.utf 2016-09-17 14:20:37 +01:00
Jack Stouffer
0c550b75ce Make std.utf.toUTF8 DRY by using byChar internally 2016-09-17 14:18:43 +01:00
Andrei Alexandrescu
2955c8c431 Merge pull request #4642 from JackStouffer/utf2
Added fast paths in std.utf.byUTF
2016-09-16 20:07:57 -04:00
Walter Bright
4e921ad311 std.utf: add scope annotations 2016-09-06 22:48:01 -07:00
Walter Bright
b58c4fb421 add 'scope' to utf.UTFException.setSequence() 2016-08-29 01:23:29 -07:00
Jack Stouffer
6c5f8a4149 Added fast path for dchars in std.utf.byUTF 2016-07-28 16:07:29 -04:00
Jack Stouffer
014982c6da Added ASCII fast path in std.utf.byUTF 2016-07-28 16:07:29 -04:00
Walter Bright
e4f5ce7ea6 std.utf: fix unsafe .ptr usage 2016-07-27 18:10:33 -07:00
Jack Stouffer
4d09b4aee6 Added immutable to several variables in std.utf 2016-07-21 13:06:36 -04:00
Walter Bright
89b2f56d55 Merge pull request #4422 from JackStouffer/patch-11
Improve the documentation for std.utf.byUTF
2016-07-21 00:03:28 -07:00
Jack Stouffer
1c8c6940a7 Improve the documentation for std.utf.byUTF 2016-07-20 14:05:33 -04:00
Atila Neves
4f5571f6e8 Add @system and @safe to std.utf unit tests 2016-07-04 17:33:10 +02:00
Jack Stouffer
e9ca18d573 Fixed local imports in std.utf 2016-07-01 15:35:46 -04:00
Andrei Alexandrescu
af7cfa52c0 Merge pull request #4320 from JackStouffer/patch-7
Improve the std.utf.byCodeUnit docs
2016-06-19 05:33:55 -04:00
Jack Stouffer
2a7d2e31f7 Correct misleading return type info in std.utf.byCodeUnit 2016-06-16 15:16:23 -04:00
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Walter Bright
451a93e820 fix unsafe .ptr access in Phobos 2016-06-12 02:45:05 -07:00
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
anonymous
764caefa36 XREF -> REF (sed)
Done by:

(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r \
    's/\$\(XREF\s+([^(),]*),\s*([^(),]*)\)/$(REF \2, std,\1)/g'
2016-05-27 21:32:46 +02:00
Sebastian Wilzbach
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
Jack Stouffer
510731d76b Fixed long lines in std/utf.d 2016-05-10 20:51:39 -04:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
tsbockman
2b09b8b59c Fix Phobos issue #15586 - std.utf.toUTF8() halts on invalid dchar. 2016-01-29 15:35:14 -08:00
Shriramana Sharma
5978ca7831 migrate other Phobos modules to use std.exception.basicExceptionCtors 2016-01-17 10:39:37 +05:30
Jakob Øvrum
fc5d24566a Consolidate documentation for std.utf.stride[Back] 2015-12-22 18:24:25 +09:00
Dragos Carp
eb293b5063 Fix issue 15320 2015-11-13 03:45:29 +01:00
k-hara
59989ed68a fix imports 2015-11-01 23:01:04 +09: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
Martin Nowak
0d710e0279 replace _decode with decodeFront 2015-08-18 13:22:19 +02:00
Martin Nowak
f3f58c12d9 use encode for byUTF 2015-08-18 13:22:19 +02:00
Martin Nowak
c7952393ce add UseReplacementDchar to encode
- also add missing encode(dchar[1], dchar)
  overload for generic code
2015-08-18 13:22:14 +02:00
Martin Nowak
679ca93fc7 add alias for Flag!"useReplacementDchar" 2015-08-18 13:19:20 +02:00
Martin Nowak
9b070c01d0 test corner case for wchar decoding 2015-08-18 13:19:20 +02:00
Martin Nowak
152e1fab3d pop complete dchar in _decode 2015-08-18 13:19:20 +02:00
Martin Nowak
acb378577d merge byChar, byWchar, and byDchar into a single byUTF implementation 2015-08-18 13:19:20 +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
Walter Bright
31c9630702 add std.traits.isAutodecodableString() to fix Issue 14765 2015-07-23 07:22:25 +02:00
Walter Bright
f9466a982f remove unnecessary uses of std.format 2015-06-30 19:45:15 -07:00
Lionello Lunesu
8fc047f277 Fixed DDoc warnings 2015-05-30 09:17:43 -06:00
Robert burner Schadek
ca3ec7120b utf: alias syntax update 2015-05-28 19:14:56 +02:00
Andrei Alexandrescu
41f128ad3b Doc fixup following last commit 2015-05-19 14:49:58 -07:00
Andrei Alexandrescu
2c2b2532e5 Merge pull request #3188 from WalterBright/repchar
std.utf: add replacementDchar option in place of throwing
2015-05-19 14:47:27 -07:00
Walter Bright
e30ce5fd26 std.utf: add replacementDchar option in place of throwing 2015-05-19 14:04:11 -07:00