Commit graph

6176 commits

Author SHA1 Message Date
Andrej Mitrovic
31f968ee53 Fix Issue 12464 - Inject imports to core.vararg on Posix when wrapping C-style variadic functions via AutoImplement. 2014-04-24 16:10:09 +02:00
Rostyslav Dzinko
3c8b1543ad Fixed std.string.isNumeric when compiling with dmd -property flag (see std.algorithm.among) (added direct function calls '()') 2014-04-24 11:50:51 +03:00
Andrei Alexandrescu
b40f1b4ad1 Merge pull request #2105 from WalterBright/add-nogc
@nogc for builtin functions
2014-04-23 18:24:21 -07:00
Damian Day
37b98037ab Update advapi32.d
FreeLibrary was always being called on a null argument.
Fix exception always being thrown.
2014-04-23 23:20:23 +01:00
monarch dodra
9bc5e51eef Merge pull request #2110 from AndrejMitrovic/FixFormat
[Trivial] Fixup wrong example in doFormat.
2014-04-23 22:55:41 +02:00
monarch dodra
7e1334fbda Merge pull request #2087 from AndrejMitrovic/Fix12596
Fix12596 - Implement Typedef ctor that can take itself as the parameter.
2014-04-23 22:28:36 +02:00
Monarch Dodra
70dff45550 Fix Issue 12568 - std.functional.memoize does not work with constant
arrays.
2014-04-23 22:22:08 +02:00
Andrej Mitrovic
ccd1e20d49 Fix Issue 12477 - std.bitmanip should emit informative diagnostics. 2014-04-23 21:49:18 +02:00
Andrej Mitrovic
cf65136efd Fixup wrong example in doFormat. 2014-04-23 21:31:13 +02:00
Andrej Mitrovic
c8656c37b7 Fix Issue 12600 - Variant should support coercion to bool. 2014-04-23 21:27:59 +02:00
Andrej Mitrovic
7f9df4a886 Strip spaces. 2014-04-23 21:24:58 +02:00
Andrej Mitrovic
c434dfac4b Fix Issue 11175 - Format should support IUnknown classes. 2014-04-23 20:56:09 +02:00
David Nadlinger
5cd162bdaf Merge pull request #2001 from DmitryOlshansky/uni-meets-regex
New std.uni meets std.regex
2014-04-23 20:31:39 +02:00
monarch dodra
79903eb199 Merge pull request #2107 from AndrejMitrovic/Fix7246
Issue 7246 - Provide a simpler example for std.algorithm.remove.
2014-04-23 19:56:37 +02:00
monarch dodra
e5313d343d Merge pull request #2104 from AndrejMitrovic/Fix9556
[Trivial] Issue 9556 - Missing underscore in docs for std.string.isNumeric.
2014-04-23 19:23:43 +02:00
Dmitry Olshansky
5baa7ca53c fix issue 10798 ctRegex unicode set ops unimplemented 2014-04-23 20:20:16 +04:00
Dmitry Olshansky
d9e8adacaa Re-adjust test cases for C-T version
Cover even more, but in 5 separate compiler runs.
Few cases still hit CTFE bugs
2014-04-23 20:19:53 +04:00
Dmitry Olshansky
cef454d432 Workaround curious CTFE bug 2014-04-23 20:19:53 +04:00
Dmitry Olshansky
c9f1c42ed3 Use direct slicing for CowArray, makes for faster debug builds/CTFE code.
Also use Gallop search policy for CodepointSets, as it's closer to
to the common cases for merging charsets.
2014-04-23 20:19:52 +04:00
Dmitry Olshansky
6f004740aa Enable latent optimizations in std.uni
Simplify set construction.
2014-04-23 20:19:52 +04:00
Dmitry Olshansky
1a4d897587 Enable again linear scans for small sets in std.regex 2014-04-23 20:19:51 +04:00
Dmitry Olshansky
20f3e6d890 Eanble kickstart engine for Thompson as well 2014-04-23 20:19:51 +04:00
Dmitry Olshansky
1fa74e5d89 fix issue 11784
Actually add a test case, the issue was fixed as part of the set
of commits that precede this one.
2014-04-23 20:19:50 +04:00
Dmitry Olshansky
be961d35aa fix 64bit bitrot 2014-04-23 20:10:21 +04:00
Dmitry Olshansky
e6c969195b Get rid of internal.uni, internal.uni_tab
Saving amount to ~290Kb on 32bit.
2014-04-23 20:10:21 +04:00
Dmitry Olshansky
a091d96e8d reanble kickstarter engine in std.regex 2014-04-23 20:10:21 +04:00
Dmitry Olshansky
2bb2afab43 get our case-insensitive regex back 2014-04-23 20:10:20 +04:00
Dmitry Olshansky
48e7c9a9ad make simpleCaseFoldings CTFE-able 2014-04-23 20:10:20 +04:00
Dmitry Olshansky
5a90d786ab fix range violation for non-existant sets of length < 2 2014-04-23 20:10:19 +04:00
Dmitry Olshansky
dee35f6b53 introduce simpleCaseFolding to support case-insensitive regex 2014-04-23 20:10:19 +04:00
Dmitry Olshansky
f33ba75ebf Kickstart not quite ready, casefolding too. Otherwise looks fine 2014-04-23 20:10:19 +04:00
Dmitry Olshansky
6ad8de8e6a hack our way to make ctRegex work, some tests disabled 2014-04-23 20:10:18 +04:00
Dmitry Olshansky
4692a8a15c another minor tweak, always use tries not sets for now 2014-04-23 20:10:18 +04:00
Dmitry Olshansky
4c9e63b9ec adjust Tries back to 2-level 2014-04-23 20:10:18 +04:00
Dmitry Olshansky
421fbfae3f workaround internal error 2014-04-23 20:10:17 +04:00
Dmitry Olshansky
e713d7bf75 hacks on the way to integrate new uni into std.regex 2014-04-23 20:10:17 +04:00
Dmitry Olshansky
56a47fd276 a start on std.regex conversion
few steps more
2014-04-23 20:10:16 +04:00
Daniel Murphy
63e1836adc Merge pull request #2106 from DmitryOlshansky/issue-12582
fix issue 12582 Non-existant named capture groups cause runtime range vi...
2014-04-24 02:03:16 +10:00
Andrej Mitrovic
8c2d814802 Fix Issue 9556 - Missing underscore in docs for std.string.isNumeric. 2014-04-23 16:54:04 +02:00
monarch dodra
aede15f059 Merge pull request #2102 from AndrejMitrovic/Fix11705
Issue 11705 - Document Typecons and its parameters properly.
2014-04-23 16:45:48 +02:00
Andrej Mitrovic
899155194a Fix Issue 7246 - Provide a simpler example for std.algorithm.remove. 2014-04-23 16:39:17 +02:00
monarch dodra
3accfde6c8 Merge pull request #2109 from AndrejMitrovic/Fix6793
Issue 6793 - Document that assumeUnique may not be necessary in some contexts.
2014-04-23 15:35:02 +02:00
monarch dodra
bdb16b18b1 Merge pull request #2108 from AndrejMitrovic/Fix7289
Issue 7289 - Document how std.format handles structs, unions, and hashes.
2014-04-23 15:32:04 +02:00
Andrej Mitrovic
20d91e6f3f Fix Issue 6793 - Document that assumeUnique may not be necessary in some contexts. 2014-04-23 14:56:40 +02:00
Andrej Mitrovic
83b9b44f46 Fix Issue 7289 - Document how std.format handles structs, unions, and hashes. 2014-04-23 14:15:36 +02:00
Andrej Mitrovic
10dab0e7bf Strip spaces. 2014-04-23 14:05:48 +02:00
Dmitry Olshansky
85ba4748eb fix issue 12582 Non-existant named capture groups cause runtime range violation or segmentation fault in regex 2014-04-23 14:53:58 +04:00
Martin Nowak
3e06a3bca2 Merge pull request #2020 from DmitryOlshansky/utf-matcher
UTF matchers in std.uni
2014-04-23 12:16:52 +02:00
Walter Bright
0c945e2627 @nogc for builtin functions 2014-04-23 02:27:54 -07:00
monarch dodra
8e00e7528d Merge pull request #2092 from AndrejMitrovic/RemoveImplicitCatch
Replace implicit catches of Throwables with explicit catches.
2014-04-23 08:30:52 +02:00