Commit graph

71 commits

Author SHA1 Message Date
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
k-hara
e7b3d834d7 detab and remove trailing whitespaces 2015-02-10 00:56:40 +09:00
Robert burner Schadek
61e90acd68 encoding.d documentation update
* moved examples form comments to unittests
* marked unittests as examples
* removed 6 year old dead code

quickfur fixes
2015-01-20 20:51:11 +01:00
Nick Treleaven
ebc3d2ef09 Fix docs for encode overload 2014-12-30 17:46:44 +00:00
Nick Treleaven
4b84951cb6 Group encode overloads together again 2014-12-30 17:28:17 +00:00
Ferdinand Majerech
5be18172d6 Minor transcoding() doc improvement.
Moved the note about the contract to the Params: section, which until now was pretty useless.

A user checking the function's parameters  will usually look at `Params:` first and may miss any text about e.g. requirements of a parameter if it's not mentioned there in `Params:`.
2014-12-28 17:59:23 +01:00
Walter Bright
c84ce85e35 correct use of See_Also 2014-12-27 16:30:07 -08:00
Ilya Yaroshenko
2c744b54e1 std.range: constraints => primitives
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
Ilya Yaroshenko
f1a41f5180 std.encoding: clean imports 2014-11-14 17:48:34 +03:00
Михаил Страшун
30192597b9 Merge pull request #2661 from 9il/range
std.range package
2014-11-11 18:16:11 +01:00
Ilya Yaroshenko
c828a08b64 std.range.package init
delete range.d

std.range : move traits

move concept

1. traits => concept
2. move manipulation into concept

update package import

update module name

remove range.traits import

remove some local imports

add _swapImpl

move _swapImpl

fix _swapImpl

fix hasSlicing

restore old hasSwappableElements

update unittests

update unitises

fix module name

fix pop****N

move interfaces

update unites

add import std.typetuple : staticMap

clean imports

rename local min to _min

remove wrong scope import

add until for unittests

update *.mac

update import

optimize DList import

move comment

remove private global selective imports

remove private global selective imports (interfaces)

remove new private stuff

add local imports

public import std.typecons : Flag, Yes, No;

concept => constraints

update scoped imports

add local imports (min)
2014-11-11 18:26:36 +03:00
Ilya Yaroshenko
0ff4ddc58d std.encoding: clean imports 2014-11-09 12:41:39 +03:00
Geod24
0fb95b8c27 Usage of WEB macro for License everywhere 2014-10-15 11:30:42 +02:00
AndrewEdwards
a6c5488910 fix Issue 12853 - std.encoding EncodingSchemeUtf16Native and EncodingSchemeUtf32Native decode() and SafeDecode() wrong stripping length 2014-07-17 06:08:59 +09:00
AndrewEdwards
6d3f59fa7b fix Issue 12853 - std.encoding EncodingSchemeUtf16Native and EncodingSchemeUtf32Native decode() and SafeDecode() wrong stripping length 2014-07-16 20:26:07 +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
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11:00
monarch dodra
f011a9535f Merge pull request #891 from Kozzi11/master
Fix Issue 8877 - std.encoding.transcode is extremely slow
2013-12-05 00:30:04 -08:00
monarchdodra
87c71e6e14 Further improve put 2013-11-22 21:41:54 +01:00
Kozzi11
46dc7b557e Fix Issue 8877 - std.encoding.transcode is extremely slow 2013-11-22 11:00:50 +01:00
monarch dodra
60187c9d83 Merge pull request #1536 from lionello/bug10893
Fix issue 10893: added missing or renamed DDoc parameters
2013-09-08 08:37:19 -07:00
Lionello Lunesu
b4074054ba Fix issue 10893: added missing or renamed DDoc parameters (found by fix to 10236) 2013-08-31 15:36:29 +08:00
Orvid King
f594980aad Added a set of unit tests to ensure all branches of encode(E, R) get exercised. 2013-08-28 15:58:17 -05:00
Orvid King
e3ecef9419 Changed an assert to a static assert, to cause an error at compile time rather than runtime, 2013-08-28 15:47:17 -05:00
Orvid King
628c5e8198 It appears that whoever changed the name of the range parameter to encode didn't rename the parameter everywhere in the function. 2013-08-23 08:51:51 -05:00
Hackerpilot
4ad35bae86 Revert "Removed implicit string concatenation"
This reverts commit a659c62400.
2013-07-05 00:58:47 +00:00
Hackerpilot
a659c62400 Removed implicit string concatenation 2013-07-04 16:14:08 -07:00
Hackerpilot
56bef0807b Removed empty declarations. 2013-07-03 14:05:27 -07:00
Hackerpilot
5cc095ee3f Removed empty declarations 2013-07-03 10:36:53 -07:00
alexrp
b202180295 Remove all uses of sizediff_t in favor of ptrdiff_t. 2012-10-15 04:24:09 +02:00
jmdavis
28781bfb9f Old deprecations which were not properly taken care of previously. 2012-07-07 02:03:49 -07:00
David Nadlinger
e312f9898b Strict @property syntax compliance.
This enables the test suite to build with the -property switch enabled.

std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
Daniel Murphy
1590a5cc38 Issue 6572 - Deprecate typedef
Remove use of deprecated typedef from phobos.  This mostly consists of changing typedef to alias, and disabling unittests that require typedef.  One change to std.registry is needed to work around a bug in typedef (6571).
2011-08-30 13:22:10 +10:00
XTZGZoReX
4f124108ab Remove executable bit on two files. 2011-07-31 22:27:54 +02:00
jmdavis
654f35a677 Replaced calls to std.string and std.ctype's tolower with their toLower counterparts. 2011-06-12 16:59:52 -07:00
k-hara
a6b4ae4937 More conversions. 2011-06-08 19:57:38 +09:00
Walter Bright
046e1b36db add source links 2011-02-06 15:46:50 -08:00
Don Clugston
84477a5d3e Move Boost copyright declaration from ddoc to normal comment. Fixes ugly ddoc output. 2010-11-24 19:34:47 +00:00
Andrei Alexandrescu
3f2b8c12ea 64-bit compatibility work 2010-08-22 20:55:22 +00:00
Masahiro Nakagawa
adf941f657 Replace static opCall with Constructor. static opCall for struct construction is old style. 2010-06-01 19:44:00 +00:00
Masahiro Nakagawa
cab2b77249 opApply's delegate needs to be 'scope' for avoiding heap allocation 2010-05-18 10:58:01 +00:00
Walter Bright
e790058bf4 invariant => immutable 2010-05-05 18:25:44 +00:00
Sean Kelly
9be950356b Converted "static this" to "shared static this" where appropriate. 2010-03-09 03:54:06 +00:00
Andrei Alexandrescu
2a9a6e336c string, wstring are now bidirectional (not random) ranges
std.algorithm: defined move with one argument; levenshtein distance generalized to with all forward ranges; take now has swapped arguments
std.array: empty for arrays is now a @property; front and back for a string and wstring automatically decodes the first/last character; popFront, popBack for string and wstring obey the UTF stride
std.conv: changed the default array formatting from "[a, b, c]" to "a b c"
std.range: swapped order of arguments in take
std.stdio: added readln template
std.variant: now works with statically-sized arrays and const data
std.traits: added isNarrowString
2010-02-22 15:52:31 +00:00
Walter Bright
78d04c9566 static array initializers still have old behavior 2009-11-21 10:10:28 +00:00
Walter Bright
9d92f3b3af so phobos unittests work again 2009-11-21 07:53:47 +00:00
Andrei Alexandrescu
449025e4d7 Added function count() 2009-10-26 22:45:37 +00:00
Sean Kelly
747f3cf1e4 Changed Phobos to use the Boost license. Currently, all public domain modules and all licensed modules by Walter, Andrei, Bartosz, and Don have been changed to use this license (excepting std.c, for the moment). Ideally, all Phobos modules will eventually be distributed under this license, which means obtaining permission from a few more authors, deleting, or rewriting some modules.
Removed std.openrj.
2009-09-16 18:19:51 +00:00