Commit graph

409 commits

Author SHA1 Message Date
Joakim
093d636de4 Deprecate std.c.* and move all remaining declarations to core.stdc.* 2014-10-14 09:26:21 -05:00
Martin Nowak
26a52bc2d9 attributes for inline asm 2014-09-30 00:58:10 +02:00
Ilya Yaroshenko
83fab657d7 std.internal.scopebuffer: added inout for slices
update unittest

removed no-op cast

remove blank lines
2014-09-17 08:25:27 +04:00
H. S. Teoh
7e6d8d715f Merge pull request #2477 from fb-pja/bug13391
Fix Issue 13391 - Allow division of BigInt by long/ulong
2014-09-05 12:48:49 -07:00
Peter Alexander
5862d71811 Fix Issue 13391 - Allow division of BigInt by long/ulong 2014-08-31 21:42:28 +01:00
Denis Shelomovskij
46d0e0108b Fix Issue 13367 - Buffer overflow when setting PATH
Fixup for pull #2332.
2014-08-25 11:39:41 +04:00
Denis Shelomovskij
065ce05591 Add std.internal.cstring module. 2014-08-23 16:23:36 +04:00
sinkuu
cd5da9b21a Add @nogc to std.digest.sha 2014-08-22 17:01:39 +09:00
Martin Nowak
e7bcad9406 localize some imports 2014-08-02 01:05:56 +02:00
Robert burner Schadek
f2c5dbd502 some love for std.string
many functions of std.string had no attributes like pure, safe etc.
additionally, many const arguments where not marked as const.
tabs -> whitespace
removed tail whitespace
Doc Examples to unittest docs

more love for std.string

const to in

squeeze
2014-07-17 09:48:56 +02:00
Denis Shelomovskij
30d99b011a [Fix] Fix property enforcement when using BigInt. 2014-07-09 20:02:00 +04:00
Dmitry Olshansky
c131da5834 Fix issue 12455 [reg]Bad lowercase mapping for 'LATIN CAPITAL LETTER I WITH DOT ABOVE'
Also as part of a fix restores a test case in string.d
to exactly match older behaviour.

Some extended greek is not upper but title case, yet changes on toUpper.
2014-07-05 02:05:12 +04:00
Denis Shelomovskij
ccdfd1ecca Remove unused WinAPI ANSI function usages. 2014-06-12 17:22:18 +04:00
Dylan Knutson
a9552611af more operators nothrow 2014-05-28 11:57:22 -07:00
Dylan Knutson
ace6a6076d Make BigInt nothrow where possible 2014-05-27 23:29:52 -07:00
monarch dodra
0b262ec918 Merge pull request #2182 from WalterBright/annotate-biguint
add annotations to biguint
2014-05-22 11:31:35 +02:00
Walter Bright
4ac5e24560 add annotations to biguint 2014-05-18 12:04:46 -07:00
Walter Bright
ac1ff4692a annotate mathspecial functions 2014-05-18 10:37:49 -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
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
08148b5901 purify std.uni constructs, blocked by std.algortihm.sort 2014-04-13 14:36:21 +04:00
k-hara
ec661877f5 Fix newly introduced FQN issue caused by 313 2014-03-28 23:40:04 +09:00
monarch dodra
b9c2e2fe72 Fix DDoc typo. 2014-03-20 12:03:31 +01:00
monarchdodra
1063d97859 Fix T[] const-ness issue in put 2014-03-17 23:19:57 +01:00
Andrei Alexandrescu
60e3c54f4d Merge pull request #1911 from WalterBright/scopebuffer
add std.internal.scopebuffer
2014-03-16 17:03:47 -07:00
Walter Bright
cb6b8a010f add std.internal.scopebuffer 2014-03-16 16:22:04 -07:00
Andrei Alexandrescu
e289a7cdd7 Revert "Merge pull request #1685 from blackwhale/utf8-matcher"
This reverts commit 216ca01ca8, reversing
changes made to d56c1dbc08.
2014-03-15 17:11:17 -07:00
Andrei Alexandrescu
216ca01ca8 Merge pull request #1685 from blackwhale/utf8-matcher
Introduce UTF matchers into std.uni.
2014-03-15 15:32:38 -07:00
Andrei Alexandrescu
20833c3b94 Merge pull request #1962 from gittywithexcitement/master
Add unittests: compare BigUint(0) to 0UL
2014-03-14 01:45:48 -07:00
Dmitry Olshansky
c264bd6a51 purify std.uni constructs, blocked by std.algortihm.sort 2014-03-08 13:55:33 +04:00
gittywithexcitement
30999e7dc1 Add unittests: compare BigUint(0) to 0UL
to prevent regression of bug 12234.
2014-02-23 16:27:38 -08:00
Daniel Murphy
4d0892baba Remove uses of the comma operator 2014-02-18 00:48:40 +11:00
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
Alex Rønne Petersen
5b1aa8bf45 Merge pull request #1861 from jpf91/arm-3
[ARM] Fix phobos unit tests
2014-01-25 07:27:41 -08:00
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11:00
Johannes Pfau
8b124e461c [ARM] Fix phobos unit tests 2014-01-15 16:31:25 +01:00
monarchdodra
44fe3d88f7 Remove tabs 2014-01-08 08:37:52 +01:00
monarchdodra
fd8540072d Remove trailing white 2014-01-08 08:30:28 +01:00
Simen Kjærås
8412f4d37a Removed unnecessary allocations in twosComplement call. 2013-12-14 20:08:43 +01:00
Simen Kjærås
92560323dd Got rid of expensive AddOrSubInt call (and related allocation). 2013-12-14 19:54:18 +01:00
Simen Kjærås
56ab3796ce Merge branch 'master' of https://github.com/D-Programming-Language/phobos
Conflicts:
	std/bigint.d
2013-12-05 10:53:12 +01:00
H. S. Teoh
8f132413dd Fix issue 11583.
The problem is that the assumption that the first word of a BigUint is
always non-zero is false when BigUint == biguintcore.ZERO, which is
defined to be [0]. So we need to check for that case in
BigUint.opCmp(ulong).

Also, crash-proof BigUint's invariant, since it would cause an
out-of-bounds array access if a bug causes data.length==0.
2013-12-04 22:28:23 -08:00
monarch dodra
04c43ce00b Merge pull request #1731 from quickfur/issue11600
Fix issue 11600: to!BigInt(string) should validate input.
2013-12-03 17:13:28 -08:00
Daniel Murphy
a11a20ef74 Remove more uses of NCEG operators in phobos 2013-11-30 14:09:39 +11:00
H. S. Teoh
1945bcacf8 Fix issue 11600: to!BigInt(string) should validate input. 2013-11-27 18:43:06 -08:00
Simen Kjærås
52fc3fb3e6 Fixed compilation errors on 64-bit platforms (hopefully) 2013-11-27 09:21:01 +01:00
Simen Kjærås
ed5a286826 Removed unnecessary allocation and computation 2013-11-26 17:50:44 +01:00
Simen Kjærås
6aea683103 Fix 8167 (identity constructor) and 9061 (bitwise ops) 2013-11-26 01:41:45 +01:00
monarch dodra
9a93d82e99 Merge pull request #1679 from BioTronic/master
BigInt const (Fixes 11148 and parts of 11188)
2013-11-18 01:29:53 -08:00
Brad Roberts
01be956412 Merge pull request #1696 from dawgfoto/fix11112
fix Issue 11112 - Unable to execute shell commands in different threads
2013-11-17 23:04:50 -08:00