Daniel Murphy
f255c9e689
Replace more implicit array to bool conversions
2015-01-28 16:33:12 +11:00
anonymous
9309f2b142
[DDoc] add HTML class "quickindex" to manually maintained jump link tables
2015-01-26 11:19:05 +01:00
Andrei Alexandrescu
cb044b02aa
Verbatim-related changes in phobos
2015-01-12 00:05:36 -08:00
Andrei Alexandrescu
a13cee766d
Ensure each module has a description at the top.
2015-01-11 14:14:29 -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
Ilya Yaroshenko
2c744b54e1
std.range: constraints => primitives
...
See discussion and voting in #2661
2014-11-23 20:05:20 +03: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
Martin Nowak
48f147bf40
use lower-case flag strings
...
- so that Yes.keepTerminator/No.keepTerminator don't look so weird
2014-11-17 20:37:18 +01:00
Ilya Yaroshenko
76eebfe49a
use Flag!"KeepTerminator"
...
CaseSensitive -> Flag
remove Yes/No
remove public keyword
2014-11-17 03:32:32 +03:00
Ilya Yaroshenko
e324df8744
std.string: clean imports
2014-11-14 17:50:51 +03:00
Ilya Yaroshenko
09fe0a31c6
issue 13717
...
https://issues.dlang.org/show_bug.cgi?id=13717
2014-11-12 20:24:38 +03:00
Ilya Yaroshenko
ab83cd94da
std.string: clean imports
2014-11-11 22:42:57 +03:00
jmdavis
76df657bb4
Move some deprecations along.
2014-10-26 19:31:08 -07:00
Mark Isaacson
42fa0262da
Categorize functions in std.math
2014-09-30 20:57:17 -04:00
H. S. Teoh
064b758425
Don't use built-in .sort in std.string.abbrev()
...
This also makes it CTFE-able. Yay!
2014-09-26 10:43:08 -07:00
Robert burner Schadek
900c35c260
fix for issue13529
2014-09-24 23:56:40 +02:00
H. S. Teoh
2c478083a4
Improve documentation of std.string.column.
2014-09-19 11:32:27 -07:00
H. S. Teoh
a62bed4c88
Merge pull request #2471 from burner/issue11895
...
std.string doc issue11895
2014-09-10 15:26:49 -07:00
Robert burner Schadek
7fdfa02272
std.string doc
...
some updates from quickfur
whitespace
type fixes
some more quickfur and monachdodra
more quickfur fixups
some more
fix
2014-09-10 21:50:39 +02:00
k-hara
96abecdd6e
Supplemental fix for issue 13120 - remove accidentally accepted @nogc attribute
...
`removechars()` and `squeeze()` are not @nogc, because they uses `dup` and `std.utf.encode`.
2014-09-08 14:30:45 +09:00
Vladimir Panteleev
5e904fb0a6
std.string: Replace local extern-C declarations with imports
2014-09-07 09:28:03 +00:00
H. S. Teoh
94340b228f
Fix std.string ddoc problems.
...
Fix missing parameters in ddocs for indexOfAny, indexOfNeither, etc..
Fix missing closing ')' which causes ddoc nesting error.
This should get rid of the warnings spewed by the compiler when building
the docs for `std.string`.
2014-08-08 15:36:36 -07:00
David Nadlinger
1d6598fe39
Merge pull request #2312 from burner/issue13018
...
issue 13018: translate does not accept immutable or const AAs
2014-07-21 18:37:17 +02:00
Robert burner Schadek
44d97ed1cb
issue 13018: translate does not except immutable or const AAs
...
removed the comment
some fixes
less code
2014-07-21 12:15:47 +02:00
Jakob Ovrum
f96cde7be4
Change representation to use ModifyTypePreserveSTC
2014-07-20 21:49:31 +09:00
Jakob Ovrum
cd86dc76b0
Change assumeUTF to use ModifyTypePreservingSTC and thus support shared
2014-07-20 21:49:12 +09:00
Михаил Страшун
e119dad7f5
Merge pull request #2341 from burner/issue10162
...
Fix #10162 : assumeUTF from idea
2014-07-19 14:45:05 +02:00
Robert burner Schadek
133687cf7b
assumeUTF from idea of issue10162
...
format whitespace
doc unittest
assumeUTF with const immu
validate in debug mode
whitespace
wrong attributes
2014-07-18 19:23:13 +02: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
Robert burner Schadek
2122fe67c5
(last)indexOfNeither(index)
...
faster
merged indexOfAnyImpl with indexOfNeitherImpl and fixed a bug
2014-07-07 15:03:02 +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
monarch dodra
9680b8a8e1
Upkeep in outdent
...
Removed "ctfe_strip", use documented unittest, use "stripLeft" over "strip" (preserve trailing spaces), tweak loop indexing, remove ctfe assert.
2014-06-10 19:27:14 +02:00
monarchdodra
001fad4558
Remove trailing whitespaces
2014-05-17 15:35:25 +02:00
monarch dodra
da082c7177
Merge pull request #1952 from burner/last_indexOfAny_index
...
(last)indexOfAny(index)
2014-05-16 08:06:19 +02:00
Robert burner Schadek
077dbee4e8
(last)indexOfAny(index)
...
whitespace
some code reductions
faster
some last fixes, I hope
typo
walkLength
2014-05-07 22:49:14 +02:00
Rostyslav Dzinko
3c8b1543ad
Fixed std.string.isNumeric when compiling with dmd -property flag (see std.algorithm.among) (added direct function calls '()')
2014-04-24 11:50:51 +03:00
Andrej Mitrovic
8c2d814802
Fix Issue 9556 - Missing underscore in docs for std.string.isNumeric.
2014-04-23 16:54:04 +02:00
Andrei Alexandrescu
32c72bbcc5
Merge pull request #1607 from Dcousens/master
...
Adds fromStringz
2014-03-15 22:16:07 -07:00
Daniel Cousens
2ad2f515cc
Fixes fromStringz docs, return value is array
2014-03-16 16:07:45 +11:00
Tomoya Tanjo
4f12ee2cb0
Mark std.string.toStringz as @trusted
2014-03-13 14:49:43 +09:00
Yazan S. Dabain
a81f6200cf
[Trivial] Fix documentation typos
2014-02-28 21:08:19 +02:00
k-hara
b391b2ec9f
Convert to new alias syntax
2014-02-11 15:27:05 +09:00
Vladimir Panteleev
bf342f4cfd
std.string: Fix redundant UTF decoding in chomp
2014-01-11 12:17:52 +00:00
Vladimir Panteleev
c53b1c77a0
DDoc fixes
...
This fixes some warnings as identified by the compiler,
as well as some broken cross-reference links caused by
DDoc auto-formatting of the current symbol.
2013-12-28 21:28:41 +00:00
Andrei Alexandrescu
20e26bc721
typo
2013-12-27 12:32:14 -08:00
Andrei Alexandrescu
64bf8def35
@blackwhale's review revealed that among rox
2013-12-27 10:14:10 -08:00
Andrei Alexandrescu
aca9995fa2
Fix issue 4673
2013-12-25 22:00:33 -08:00
jmdavis
efd6ea0cbf
Move various deprecations along.
2013-12-11 23:44:12 -08:00
Francesco Cattoglio
3a6051588e
Added a UTF symbol to munch() unittest
2013-12-09 22:25:22 +01:00
Francesco Cattoglio
65bf4bf602
added "dchar" for proper handling of UTF-8
2013-12-09 20:50:28 +01:00