Commit graph

370 commits

Author SHA1 Message Date
Walter Bright
313d06dcf1 Range-ify std.string.chompPrefix 2015-05-11 02:52:25 -07:00
Walter Bright
9ab3accfa8 Enhance std.string.indexOf() to work with ranges 2015-04-10 15:28:21 -07:00
Andrei Alexandrescu
2cbd9a3052 Merge pull request #3118 from WalterBright/soundexer
add std.string.soundexer
2015-04-06 19:10:33 -07:00
Walter Bright
e74159410c add std.string.soundexer 2015-04-06 18:27:19 -07:00
JakobOvrum
9e4ae8b46a Merge pull request #3117 from WalterBright/chomp-range
enhance std.string.chomp so it accepts ranges
2015-03-31 23:59:48 +09:00
Walter Bright
88025af25c enhance std.string.chomp so it accepts ranges 2015-03-30 15:22:38 -07:00
Andrei Alexandrescu
bfda092892 Merge pull request #3120 from WalterBright/rmtoLower
remove broken links to std.string.toLower etc.
2015-03-28 21:33:42 -07:00
Walter Bright
35cf4efb4d remove broken links to std.string.toLower etc. 2015-03-28 16:12:11 -07:00
Robert Schadek
4974f90d3a Merge pull request #3116 from WalterBright/improve-wrap
improve efficiency and testing of std.string.wrap
2015-03-28 14:32:01 +01:00
Walter Bright
c1014ca42d improve efficiency and testing of std.string.wrap 2015-03-27 18:40:43 -07:00
Walter Bright
466773dc69 upgrade std.string.column to handle ranges and nelSep 2015-03-27 12:52:07 -07:00
Walter Bright
c5b77ee5ea improve doc for std.string.column 2015-03-26 16:05:25 -07:00
Walter Bright
13ec656ee9 improve doc for std.string.outdent() 2015-03-26 00:12:16 -07:00
Tobias Pankrath
537c30b6f0 Add all line breaking whitespace to splitLines and lineSplitter 2015-03-22 11:24:02 +01:00
Martin Nowak
e5eea9af43 fix Issue 14197 - replace was removed from std.string
- add public aliases to std.array.replace/replaceInPlace
- std.string should at least cover any basic string
  manipulation needs
2015-03-15 17:54:44 +01:00
Brad Roberts
dd79748987 Merge pull request #2997 from kuettler/string_doc_cleanup
Rearrange and extend string documentation
2015-02-24 13:45:19 -08:00
Ulrich Kuettler
7d66e7188a Update to reflect #3018 2015-02-23 09:45:45 +01:00
Ulrich Kuettler
55fcbc8e9d add splitterLines function and a little rewording
Display function name for publicly imported functions only. Use $(TT ...) formating to match "normal" function table.

Add leading row description
2015-02-21 19:06:27 +01:00
Marc Schütz
1dfae7717d Rename std.string.splitterLines to std.string.lineSplitter 2015-02-21 11:22:27 +01:00
Ulrich Kuettler
743303055d Rearrange and extend string documentation
detab
2015-02-16 22:39:18 +01:00
Walter Bright
18336ad9e4 add std.string.splitterLines() 2015-02-15 14:12:40 -08:00
Walter Bright
d4a5f819ad improve string.splitLines() 2015-02-13 12:17:37 -08:00
k-hara
e7b3d834d7 detab and remove trailing whitespaces 2015-02-10 00:56:40 +09:00
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