Commit graph

129 commits

Author SHA1 Message Date
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
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
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
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Vladimir Panteleev
52d6930daf Use canonical links to forum.dlang.org
http://forum.dlang.org/help#canonical
2015-10-07 10:55:51 +00:00
Martin Nowak
18c5b270e0 Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
	std/internal/cstring.d
	win64.mak
2015-09-07 00:44:29 +02:00
Steven Schveighoffer
1272c1a494 Merge pull request #3572 from JackStouffer/issue5945
Fix Issue 5945: redBlackTree printing
2015-09-03 09:09:34 -04:00
Jack Stouffer
0f05183f5c implemented issue 5945 2015-09-03 08:43:06 -04:00
H. S. Teoh
72aa622dc4 Leading rows in Container Primitives table should span all columns.
Depends on: https://github.com/D-Programming-Language/dlang.org/pull/1071
2015-08-20 14:58:32 -07:00
tobias
0c28c77174 fix issue 14920 2015-08-15 11:53:57 +02:00
Steven Schveighoffer
de76ea04be Merge pull request #3501 from Groterik/const_rbtree
Const opSlice, upperBound, lowerBound and equalRange for rbtree
2015-08-13 10:22:30 -04:00
Maksim Klimov
a29552563d Constness of opSlice, upperBound, lowerBound and equalRange 2015-08-09 14:41:48 -07:00
Robert burner Schadek
8f937b10f5 std.container.array remove workaround
there was a bug workaround that works know

moretesting
2015-07-16 09:40:45 +02:00
Xinok
08f0b242d5 Fix for instantiating BinaryHeap!(Array!int)) 2015-07-08 15:10:11 -05:00
Xinok
d52fb87ce7 Remove trailing space... 2015-07-08 11:23:59 -05:00
Xinok
b97a6c2e7e Migrate some heap operations to std.algorithm 2015-07-08 11:18:01 -05:00
Xinok
cc77356a9d Fix Issue 12966 - Optimization for BinaryHeap 2015-07-07 15:08:11 -05:00