Jack Stouffer
aba30c6c40
Fixed local imports in std.container.util
2016-06-30 17:54:13 -04:00
Jack Stouffer
565b45ed0d
Fixed local imports in std.container.slist
2016-06-30 17:54:13 -04:00
Jack Stouffer
e51a044c19
Fixed local imports in std.container.rbtree
2016-06-30 17:54:13 -04:00
Jack Stouffer
fb12e930c0
Fixed local imports in std.container.array
2016-06-30 17:54:13 -04:00
Martin Nowak
f24567b1ed
fix spacing after if
2016-06-18 16:58:22 +02:00
Andrei Alexandrescu
81d132f39a
Merge pull request #4381 from MartinNowak/merge_stable
...
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-06-18 08:31:42 -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
Robert Schadek
1e640852a9
Merge pull request #4331 from wilzbach/example_binaryheap
...
add top-level example for binary heap
2016-06-02 00:11:54 +02:00
Dmitry Olshansky
ca292ff78c
Merge pull request #4357 from wilzbach/table_format_container
...
fix table formatting in container
2016-06-01 15:29:35 +04:00
Sebastian Wilzbach
1d34a121e9
apply all-man braces in Phobos
...
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
Sebastian Wilzbach
a1b3af1ca1
fix table formatting in container
2016-05-30 21:37:47 +02:00
Martin Nowak
82a147765a
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-05-29 23:56:51 +02: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
641d6ff8d7
clean up remaining XREFs (manual)
...
Found by: grep -r '$(XREF'
std.experimental.allocator has a custom XREF2. Leaving that as is for now.
2016-05-27 21:40:46 +02:00
anonymous
d648f9320e
XREF_PACK -> REF (sed)
...
Done by:
from='\$\(XREF_PACK\s+([^(),]*),\s*([^(),]*),\s*([^(),]*)\)'
to='$(REF \3, std,\1,\2)'
(find . -type f -name "*.d" -print0; \
find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
2016-05-27 21:32:46 +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
Steven Schveighoffer
bf1dde7ac7
Fix issue 15941 -- rbtree no longer supports classes
2016-05-27 08:19:08 -04:00
Sebastian Wilzbach
357e02a4a9
remove unused TEXTWITHCOMMAS macro
2016-05-27 05:52:27 +02:00
Sebastian Wilzbach
18b8abf60a
remove the deprecated wiki macros
2016-05-27 05:52:23 +02:00
Sebastian Wilzbach
5f7a4ca7c5
add top-level example for binary heap
2016-05-25 16:02:48 +02:00
Robert Schadek
2f124dee5d
Merge pull request #4330 from wilzbach/example_array
...
add module example to std.container.array
2016-05-24 16:59:49 +02:00
Vladimir Panteleev
38a6370788
Merge pull request #4303 from wilzbach/mref_phobos
...
use mref macro instead of link2
2016-05-24 03:12:08 +03:00
Sebastian Wilzbach
66099f1640
add module example to std.container.array
2016-05-23 18:22:34 +02:00
Sebastian Wilzbach
89a2dd5f11
use mref macro instead of link2
2016-05-16 03:30:08 +03:00
Sebastian Wilzbach
484f7bfbe0
enforce: whitespace after catch
2016-05-14 15:28:43 +03:00
Jack Stouffer
13e7176b8f
Fixed long lines in std/container/rbtree.d
2016-05-10 20:51:39 -04:00
Sebastian Wilzbach
5a8988c149
style fix: add space after for operator
2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
3d67cd228c
style fix: space between operators
2016-04-26 22:26:20 +03:00
Ilya Yaroshenko
ddf8268d42
UFCS for moveAt, moveFront, moveBack
2016-04-09 09:28:14 +02:00
Sebastian Wilzbach
b05f4afe1c
change usage of swapAt to UFCS
2016-04-08 01:18:45 +03:00
Dragos Carp
42a7855d29
Fix issue 15807
2016-03-18 02:06:29 +01:00
Sebastian Wilzbach
e2ce2b36f8
add documentation example for RBTree
2016-03-11 00:25:03 +02:00
Robert Schadek
0beaf3fa60
Merge pull request #4039 from greenify/patch-1
...
add documentation example for SList
2016-03-04 12:19:35 +01:00
Sebastian Wilzbach
6d45879cec
add documentation example for DList
2016-03-03 15:26:04 +02:00
Sebastian Wilzbach
e488e29198
add documentation example for SList
2016-03-03 15:25:13 +02:00
H. S. Teoh
e819658b3d
Merge pull request #4018 from greenify/hotlink_collection_keywords
...
hotlink common collection keywords for user search
2016-02-24 10:30:12 -08:00
Sebastian Wilzbach
44cc4ffc89
hotlink common collection keywords for user search
2016-02-24 18:39:42 +02:00
Steven Schveighoffer
b0acb7a394
Fix remaining import deprecation messages
2016-02-22 16:03:12 -05:00
Steven Schveighoffer
6e7ae5aea6
Merge pull request #3996 from sigod/slist-reverse
...
Issue 12563 - SList: add reverse method
2016-02-19 09:37:49 -05:00
Dragos Carp
b1537b3cb0
Issue 15675 - BinaryHeap!(Array!T) is built wrong
2016-02-15 11:12:16 +01:00
sigod
770f7cde90
Issue 12563 - SList: add reverse method
2016-02-13 23:24:54 +03:00
sigod
b847c5a194
Fix Issue 15659 - fix crash in SList.clear()
2016-02-08 23:22:31 +03:00
Benjamin L. Merritt
5f08c058ab
Changed "Examples:" in Ddoc to "Example:"
2015-12-17 18:32:41 -08:00
H. S. Teoh
64f43ce42c
Merge pull request #3854 from 9rnsr/enforceProp
...
fix property enforcement
2015-12-15 09:37:12 -08:00
Brian Schott
c82f47cb8d
Merge pull request #3868 from JakobOvrum/container_docs_take
...
s/takeOne/take/ in std.container package documentation
2015-12-09 17:18:14 -08:00
Jakob Øvrum
85edbe9ffb
s/takeOne/take/ in std.container package documentation
...
takeOne returns a special type for ranges without slicing, so it just
happened to work with Array, but it doesn't work with say, linked lists.
2015-12-10 08:50:08 +09:00
Jakob Øvrum
a2117fafd5
Some std.container documentation fixes and improvements
2015-12-08 04:20:12 +09:00
k-hara
e864e53adc
fix property enforcement
2015-12-04 15:42:53 +09:00
Jonathan M Davis
d34164a2ea
Move some deprecations along.
2015-11-26 00:28:38 -08:00
Ryan Roden-Corrent
05fd49ed88
Fix DList.insertFront(range) regression - #15263 .
...
As createNode was taking a value by ref, Dlist.insertFront could not be
called with a range with a non-ref front.
Fix by taking the value as `auto ref` instead of just `ref`.
Resolves #15263 .
2015-10-31 08:25:03 -04:00