Commit graph

4800 commits

Author SHA1 Message Date
Tomoya Tanjo
1a7546cadb Mark the unittest for std.array.minimallyInitializedArray as @safe 2013-09-15 13:00:06 +09:00
monarch dodra
4721a44fb3 Merge pull request #1554 from 9rnsr/fix6178
Supplement fix fox issue 6178
2013-09-14 13:52:05 -07:00
monarch dodra
0b6ceaa5aa Merge pull request #1561 from tom-tan/fix-unittest-array-assocArray
Fix unittest for std.array.assocArray
2013-09-14 13:49:24 -07:00
monarch dodra
b0d11ada76 Merge pull request #1563 from tom-tan/fix-unittest-array-blockAttribute-nDimensions
Mark unittests for blockAttribute and nDimensions as @safe, pure, nothrow
2013-09-14 13:48:36 -07:00
monarch dodra
b3fa35ae73 Merge pull request #1566 from tom-tan/fix-array-rangeprimitives-for-array
Fix the range primitives for array in std.array
2013-09-14 13:48:18 -07:00
monarch dodra
9d0e291ef4 Merge pull request #1572 from tom-tan/fix-unittest-array-overlap
Fix unittest for std.array.overlap
2013-09-14 13:46:08 -07:00
Andrej Mitrovic
ed727e0cc4 assertThrown doesn't need to use a variable for a throw check. 2013-09-14 18:55:01 +02:00
Tomoya Tanjo
ae9ffd7b48 Fix unittest for std.array.overlap 2013-09-14 12:42:20 +09:00
Tomoya Tanjo
1d711cae88 Fix the range primitives for array in std.array 2013-09-14 12:27:15 +09:00
Tomoya Tanjo
5939a04e8c Fix unittest for std.array.assocArray 2013-09-14 11:30:22 +09:00
Tomoya Tanjo
e0f27b6d53 Change unittest block to version(unittest) block 2013-09-14 11:24:16 +09:00
Andrej Mitrovic
d9eefdf19d Merge pull request #1555 from CyberShadow/ddoc-syntax-fixes-5
DDoc fixes
2013-09-13 14:52:30 -07:00
Daniel Murphy
c0d297db5e Merge pull request #1224 from jacob-carlborg/get_process_path
Add function for getting the current process path.
2013-09-12 21:13:16 -07:00
Andrej Mitrovic
cf88224970 Merge pull request #1565 from monarchdodra/fix11009
fix Issue 11009 - Regression (2.064 git-head): DMD consumes huge memory ...
2013-09-12 06:55:32 -07:00
monarchdodra
31afedbc5c fix Issue 11009 - Regression (2.064 git-head): DMD consumes huge memory when it compiles enum containing many items
This is a fixup of pull #1540.

Turns out NoDuplicates is scary inefficient for large input.

This cleans up and simplifies the pull somewhat.
2013-09-12 09:15:03 +02:00
monarch dodra
f85fac2a11 Merge pull request #1568 from blackwhale/fix-regex-doc
Put a proper description for std.regex.matchAll
2013-09-12 00:09:38 -07:00
Dmitry Olshansky
4db73ce83a [DDoc] Put a proper description for std.regex.matchAll 2013-09-12 02:33:19 +04:00
monarch dodra
7594b77853 Merge pull request #1560 from tom-tan/fix-windows-syserror
Use scope(exit) for LocalFree in std.windows.syserror.sysErrorString
2013-09-11 08:37:35 -07:00
monarch dodra
67e2f0055b Merge pull request #1562 from tom-tan/fix-unittest-array-array
Fix a unittest for std.array.array
2013-09-11 08:35:55 -07:00
Tomoya Tanjo
2cbf66989d Fix the position of LocalFree 2013-09-11 23:25:27 +09:00
Tomoya Tanjo
d3319ae38d Use documented unittest for std.array.uninitializedArray 2013-09-11 21:42:29 +09:00
Tomoya Tanjo
ba9052bf00 Fix a unittest for std.array.array 2013-09-11 21:19:48 +09:00
Rainer Schuetze
8024c94474 encode instead of decode when writing attributes 2013-09-10 09:27:12 +02:00
Vladimir Panteleev
7ef599707e DDoc fixes 2013-09-09 06:38:29 +00:00
monarch dodra
8e6bf693ac Merge pull request #1532 from blackwhale/fix-replace-check
Fix issue 10913 std.regex API regression
2013-09-08 08:39:10 -07:00
monarch dodra
d39696d151 Merge pull request #1540 from AndrejMitrovic/ConvOptimize
Use a switch table for enum->string conversion, which avoids runtime memory allocation.
2013-09-08 08:38:16 -07: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
k-hara
e36292ebe5 Supplement fix fox issue 6178
AA value setting through alias this should not be allowed, because it could access invalid object state.
2013-09-08 19:10:55 +09:00
Dmitry Olshansky
99f466fee0 fix issue 10913 @safety of std.regex replace API 2013-09-07 01:48:46 +04:00
Andrej Mitrovic
680a7291ff Use a switch table for enum->string conversion, which avoids runtime memory allocation. 2013-09-06 16:03:49 +02:00
Jacob Carlborg
bf6c129b95 Add function for getting the current executable path. 2013-09-06 11:27:42 +02:00
Daniel Murphy
e723325aec Merge pull request #1550 from tom-tan/safe-pure-nothrow-string-soundex
Mark std.string.soundex as @safe, pure and nothrow
2013-09-05 06:45:49 -07:00
Daniel Murphy
74488d0033 Merge pull request #1549 from tom-tan/safe-pure-abbrev-column-wrap-outdent
Mark abbrev, column, wrap and outdent in std.string as @safe and pure
2013-09-05 06:45:23 -07:00
Daniel Murphy
03e3b405a6 Merge pull request #1548 from tom-tan/safe-pure-string-isNumeric
Mark std.string.isNumeric as @safe and pure
2013-09-05 06:43:27 -07:00
Daniel Murphy
2089dd812c Merge pull request #1547 from tom-tan/safe-pure-unittest-string-munch
Mark a unittest of std.string.munch as @safe and pure
2013-09-05 06:41:56 -07:00
Tomoya Tanjo
130b0f6397 Mark std.string.soundex as @safe, pure and nothrow 2013-09-05 21:11:09 +09:00
Tomoya Tanjo
36266bcfec Mark abbrev, column, wrap and outdent in std.string as @safe and pure 2013-09-05 20:58:09 +09:00
Tomoya Tanjo
1005148f37 Mark std.string.isNumeric as @safe and pure 2013-09-05 20:40:46 +09:00
Tomoya Tanjo
52e2575b36 Mark a unittest of std.string.munch as @safe and pure 2013-09-05 20:32:00 +09:00
Tomoya Tanjo
c57e61333f Make std.string.succ @safe and pure 2013-09-05 20:18:22 +09:00
monarch dodra
b79d1111e7 Merge pull request #1544 from 9rnsr/fix9565
Additional fix for issue 9565
2013-09-04 07:58:45 -07:00
monarch dodra
3ae48c9839 Merge pull request #1515 from tom-tan/safe-pure-string-translate
Mark std.string.translate, makeTrans and unittests as @safe and pure
2013-09-04 07:58:12 -07:00
monarch dodra
b001c0a786 Merge pull request #1525 from lyrebirdsw/issue_10909
issue 10909 toImpl narrowing conversion support for bool type. mostNegative support for bool type
2013-09-04 07:57:22 -07:00
monarch dodra
275b142b8e Merge pull request #1514 from Orvid/master
Fix a set of typo's in std.encoding
2013-09-04 07:56:52 -07:00
k-hara
5fac5f8949 Additional fix for issue 9565 2013-09-04 22:26:52 +09:00
Lionello Lunesu
fff7f9a4b2 Reverted the DDoc changes to std.datetime 2013-09-04 21:12:12 +08:00
Andrej Mitrovic
fe0cf33b9f Add doc note about EnumMembers returning duplicate member values. 2013-09-02 16:30:00 +02:00
Tomoya Tanjo
fc6206b1a8 More @safe and pure for std.string.translate 2013-09-02 21:05:55 +09:00
Tomoya Tanjo
ba0fd6b4e7 Mark std.string.translate, makeTrans and unittests as @safe and pure 2013-09-02 20:31:10 +09:00
monarch dodra
0864aeaeae Merge pull request #1400 from BioTronic/master
Fix 10569 - std.traits: EnumMembers, isExpressionTuple, isTypeTuple & Largest balks at large input.
2013-09-01 01:34:16 -07:00