Commit graph

9993 commits

Author SHA1 Message Date
Walter Bright
451a93e820 fix unsafe .ptr access in Phobos 2016-06-12 02:45:05 -07:00
Dmitry Olshansky
6dc8e467b0 Merge pull request #4415 from WalterBright/safeSchwartz
make the Schwartz @safe
2016-06-10 21:10:00 +04:00
Dmitry Olshansky
edf4da0bbe Merge pull request #4373 from joakim-noah/datetime_imports
std.datetime: use locally-scoped selective imports and document module-scope symbol imports
2016-06-08 22:31:40 +04:00
Robert Schadek
db922fee17 Merge pull request #4389 from JackStouffer/conv
Uncommented or removed commented out code in std.conv
2016-06-08 19:46:04 +02:00
Dmitry Olshansky
f91fba5f5a Merge pull request #4414 from s-ludwig/master
Add empty doc comments to all public Phobos modules to fix /library/.
2016-06-08 20:55:32 +04:00
Dmitry Olshansky
7792499d9e Merge pull request #4416 from WalterBright/fix14136
fix Issue 14136 - std.uni.utfMatcher breaks @safety
2016-06-08 19:26:20 +04:00
Dmitry Olshansky
03d4171455 Merge pull request #4374 from mogucpp/master
make ApplyLeft/ApplyRight work with deep template
2016-06-08 11:51:32 +04:00
anonymous
d34ceb0a73 Ddoc: remove obsolete custom macros from std/string.d 2016-06-08 00:22:03 +02:00
anonymous
4109de2ff2 Ddoc: replace custom macros in std/string.d with REF_SHORT (sed)
SHORTXREF -> REF_SHORT:

arg='\s*([^(),]*)'
from='\$\(SHORTXREF\s'$arg','$arg'\)'
to='$(REF_SHORT \2, std,\1)'
sed -i -r "s/$from/$to/g" std/string.d

SHORTXREF_PACK -> REF_SHORT:

arg='\s*([^(),]*)'
from='\$\(SHORTXREF_PACK\s'$arg','$arg','$arg'\)'
to='$(REF_SHORT \3, std,\1,\2)'
sed -i -r "s/$from/$to/g" std/string.d
2016-06-08 00:22:03 +02:00
anonymous
da1c9a8283 Ddoc: ECXREF -> REF (sed)
Done by:

arg='\s*([^(),]*)'
from='\$\(ECXREF\s'$arg','$arg'\)'
to='$(REF \2, etc,c,\1)'
(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
2016-06-08 00:22:03 +02:00
anonymous
7b6745727b Ddoc: CXREF -> REF (sed)
Done by:

arg='\s*([^(),]*)'
from='\$\(CXREF\s'$arg','$arg'\)'
to='$(REF \2, core,\1)'
(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
2016-06-08 00:22:03 +02:00
Walter Bright
a85f48a85b Merge pull request #4394 from JackStouffer/equal
Added auto-decoding special case to std.algorithm.comparison.equal
2016-06-07 10:44:27 -07:00
Jack Stouffer
cb073a2cc9 Added auto-decoding special case to std.algorithm.comparison.equal 2016-06-07 09:07:59 -04:00
Walter Bright
16099c6ec5 fix
Issue 14136 - std.uni.utfMatcher breaks @safety
2016-06-07 05:09:12 -07:00
Walter Bright
23613c2189 make the Schwartz @safe 2016-06-07 04:19:06 -07:00
Vladimir Panteleev
290894cbcf Merge pull request #4409 from veelo/patch-1
Fix 404.
2016-06-07 13:23:39 +03:00
Vladimir Panteleev
e74b2a469b Merge pull request #4410 from veelo/patch-3
Fix bad host.
2016-06-07 12:38:36 +03:00
Vladimir Panteleev
f0865e4d97 Merge pull request #4412 from veelo/patch-4
Fix 404.
2016-06-07 11:53:15 +03:00
mogucpp
fad7eb0bf8 simplify Alias/ApplyLeft/ApplyRight impl, fix Issue 16070, more tests 2016-06-07 08:04:29 +08:00
Sönke Ludwig
f07dfe6df0 Add empty doc comments to all public Phobos modules to fix /library/.
The DDOX based documentation is configured to only show entities with doc comments and thus hides modules without one. This adds an empty comment to all public Phobos modules that have stayed undocumented so far.

They should probably get a proper documentation with description/license/copyright/.... This just fixes the documentation until then.
2016-06-06 10:53:11 +02:00
Ilya Yaroshenko
dc0f811192 Merge pull request #3916 from gchatelet/murmurhash3
Adding murmurhash3 digest to phobos
2016-06-06 10:04:26 +02:00
Vladimir Panteleev
e87ff02756 Merge pull request #4403 from aG0aep6G/allocator-refs
Ddoc: clean up macros in std.experimental.allocator
2016-06-06 07:21:28 +03:00
Sebastian Wilzbach
a37a5a9896 Fix more 404s links 2016-06-06 04:29:23 +02:00
Bastiaan Veelo
20b44d41e1 Fix 404. 2016-06-06 02:19:28 +02:00
Bastiaan Veelo
0fa2048118 With underscore per request (@aG0aep6G). 2016-06-06 01:04:17 +02:00
Bastiaan Veelo
db6f55e2b1 Fix 404 (using MREF_ALTTEXT). 2016-06-06 00:59:17 +02:00
Bastiaan Veelo
d8d2f3fe75 Fix bad host.
LINK2 is OK for external links, right?
2016-06-06 00:34:29 +02:00
Bastiaan Veelo
c9674aa9de Fix 404. 2016-06-06 00:14:28 +02:00
Vladimir Panteleev
79f5457c60 std.file: Simplify readText example 2016-06-05 14:39:39 +00:00
Sebastian Wilzbach
823203fc4f fix slipped through style violations 2016-06-05 01:30:55 +02:00
anonymous
68742c059a Ddoc: clean up macros in std.experimental.allocator
Replacing LINK2, A, and the custom XREF2 with MREF and friends. Also
removing other unused macros.

This fixes the links on DDOX pages.
2016-06-04 22:16:11 +02:00
Andrei Alexandrescu
64a6531694 Merge pull request #4402 from joakim-noah/selective_fix
Fix recent local selective imports and finish up
2016-06-04 12:23:38 -04:00
Joakim
247941279d std.datetime: use locally-scoped selective imports and document symbols imported at module scope, checked with ddmd 2016-06-04 13:54:58 +05:30
Joakim
a839be6dcc Fix five modules where imports were made more local and selective. 2016-06-04 00:09:48 +05:30
Dmitry Olshansky
8d424b18cf Merge pull request #4314 from wilzbach/public_document_curl
std.curl: document public methods
2016-06-03 21:37:39 +04:00
Dmitry Olshansky
97a8e79304 Merge pull request #4398 from aG0aep6G/logger-ul
Ddoc: add missing UL
2016-06-03 19:55:21 +04:00
Steven Schveighoffer
d5119c3178 Merge pull request #4390 from JackStouffer/issue15800
Fixed Issue 15800: std.conv.to!int does not work with ranges of any char …
2016-06-03 10:38:18 -04:00
Dmitry Olshansky
d80f31e1b0 Merge pull request #4370 from joakim-noah/imports
std.string and std.traits: use locally-scoped selective imports and document module-scope symbols
2016-06-03 17:47:15 +04:00
Joakim
ea6e96ece6 std.string and std.traits: use locally-scoped selective imports and document symbols imported at module scope, checked with ddmd 2016-06-03 16:36:26 +05:30
Vladimir Panteleev
28a7775fe4 Merge pull request #4395 from s-ludwig/master
Use REF_ALTTEXT for overview table symbol links. See issue 14403.
2016-06-03 13:22:58 +03:00
anonymous
a3070094d7 Ddoc: add missing UL 2016-06-03 11:10:54 +02:00
Andreas Zwinkau
9d77777941 Removed outdated comment
Slipped through pull request #4362. Since "above" is a different
algorithm the removed comment is misleading. It did make sense in
previous versions of PR #4362.
2016-06-02 22:59:40 +02:00
Sönke Ludwig
e43ac92e69 Use REF_ALTTEXT for overview table symbol links. See issue 14403. 2016-06-02 22:11:11 +02:00
Andreas Zwinkau
a9d5b8ca77 Improve speed of find for random access needles (strings)
For find a string within a string, std.algorithm.searching.find was
unnecessarily slow. The reason is it created intermediate slices. A
naively written nested-for-loop implementation was a few times
faster.

For random access ranges (which strings are) this uses an index based
algorithm, which does not need to create an intermediate slice. Speed
is now comparable to the nested-for-loop implementation even in rather
pathological cases.

This might help with issue 9646.
2016-06-02 21:44:50 +02:00
Steven Schveighoffer
e216c10b2c Merge pull request #4383 from JackStouffer/issue16073
Partial Fix for Issue 16073
2016-06-02 14:30:24 -04:00
Jack Stouffer
e8832385b0 Add ddoc example for isDynamicArray 2016-06-02 11:38:25 -04:00
Jack Stouffer
380623daa4 Add ddoc example for isArray 2016-06-02 11:35:37 -04:00
Jack Stouffer
74398e70cf [Issue 16073] Fix incorrect uses of random access range primitives in std.algorithm.searching 2016-06-02 09:31:07 -04:00
Jack Stouffer
3a1db06f41 [Issue 16073] Fix incorrect uses of random access range primitives in std.algorithm.mutation 2016-06-02 09:31:06 -04:00
Jack Stouffer
a818c7e059 [Issue 16073] Fix incorrect uses of random access range primitives in std.algorithm.iteration 2016-06-02 09:31:01 -04:00