Commit graph

95 commits

Author SHA1 Message Date
Andrej Mitrovic
6c2e14b60b Fixes Issue 1397 - Add default argument to buffer size param in ctor. 2012-12-26 03:36:18 +01:00
k-hara
01df2f60be Remove redundant parenthesis for getters, and use assignment syntax for setters 2012-11-23 15:07:17 +09:00
alexrp
b202180295 Remove all uses of sizediff_t in favor of ptrdiff_t. 2012-10-15 04:24:09 +02:00
jmdavis
27469366a7 Fix modules which incorrectly use std.string's public imports.
Now, they should be correctly importing for the functions publicly
imported by std.string so that if those public imports are ever removed,
they won't break.
2012-09-30 03:29:37 -07:00
Johannes Pfau
6ff6adc5bf Add new hash API
* adds the new API used for hashes/digests
* adds new crc & md modules using this API
* deprecate std.md5 & crc32
* update std.stream to use new hash API
2012-09-16 12:25:43 +02:00
Walter Bright
18f7d60f0d Win64 fixes 2012-09-11 19:39:15 -07:00
Andrei Alexandrescu
9d91e1de2f Merge pull request #702 from 9rnsr/rev_const
Minimal reverting of Issue 1824 - Object not const correct
2012-07-22 21:47:09 -07:00
k-hara
9940579f73 Minimal reverting of Issue 1824 - Object not const correct 2012-07-22 15:21:51 +09:00
Iain Buclaw
acf76f2a4f Add unittest to TArrayStream to test printf does not SEGV 2012-07-19 18:27:44 +01:00
Iain Buclaw
7688e08b03 Fix cstream.printf() on x86_64. 2012-07-19 12:56:07 +01:00
k-hara
9d1809206f Fix for const Object comparison 2012-07-09 07:38:48 +09:00
jmdavis
940059bbc8 Revert "Deprecate crc32 and move it into std.hash.crc32."
This reverts commit d6c2ef0fb6.

These changes are valuable, but after further discussion, we've decided
to review how std.hash looks in general and redesign it, so getting
people to switch from crc32 to std.hash.crc32 will only mean that
they'll have to change their code _again_ once we've sorted out the
std.hash redesign, and we don't want that. So, I'm reverting these
changes for now, and they can become part of the std.hash redesign.
2012-06-25 03:06:15 -07:00
Jonathan M Davis
1709984af6 Merge pull request #608 from jmdavis/xml
Added warnings of future deprecation to modules that will be replaced.
2012-06-05 23:26:57 -07:00
alexrp
d6c2ef0fb6 Deprecate crc32 and move it into std.hash.crc32. 2012-06-06 07:48:47 +02:00
jmdavis
7fd793e177 Added warnings of future deprecation to modules that will be replaced.
All of these modules are currently planned to be replaced in their
entirety, so it seems wise to have warnings about that.
2012-05-28 14:08:20 -07:00
Walter Bright
8fda49a93b more nothrow 2012-04-06 16:26:42 -07:00
David Herberth
346871df2c std.stream.EndianStream readStringW fix 2012-03-08 22:51:05 -08:00
Andrei Alexandrescu
49e4bb0ef0 Merge pull request #406 from denis-sh/get-rid-of-win9x-support
Get rid of win9x support
2012-02-18 12:32:37 -08:00
Walter Bright
786284e70b more const correct 2012-02-17 15:00:49 -08:00
Denis Shelomovskij
99ab2b6175 Remove __file.d and it's using
* remove `useWfuncs` using
* remove std.__file using
* remove __file.d
* remove variables which have become unnecessary
* remove std.windows.charset import and alias in file.d
2012-02-10 14:27:34 +04:00
Walter Bright
f3aa58592f make invariants const-correct 2012-01-29 14:03:39 -08:00
Daniel Green
58f4356ca2 Change version( Win32 ) to version( Windows ) when Win64 would be supported as well. 2012-01-16 22:10:18 -05:00
David Nadlinger
e312f9898b Strict @property syntax compliance.
This enables the test suite to build with the -property switch enabled.

std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
jmdavis
57249b4378 Adjustments to std.system. 2011-09-03 21:39:35 -07:00
Andrei Alexandrescu
d1adcfcd23 Merge pull request #188 from venix1/master
GDC Win64 patch for Phobos2
2011-08-13 20:51:16 -07:00
Daniel Green
dcbfae3364 Merge GDC Win64 changes. 2011-08-14 00:52:10 -04:00
jmdavis
0105bc93a0 Fixed enum in std.mmfile to follow Phobos naming conventions. 2011-08-13 00:19:32 -07:00
jmdavis
25b755a843 Reverted isAsciiWhite to isWhite. 2011-06-22 19:20:15 -07:00
jmdavis
2d310e5e20 Changed the names of some of the std.ascii functions.
isWhite, isLower, isUpper, toLower, and toUpper now have Ascii in their
name, which matches what std.unit does with its versions of those
functions. Hopefully, it should also reduce bugs due to using the wrong
function between the ASCII and unicode versions by making the difference
more obvious.
2011-06-19 18:41:00 -07:00
jmdavis
5afac54c02 Renamed oct stuff to octal as suggested. 2011-06-18 03:25:21 -07:00
jmdavis
213c064e70 Reverted change from toStringz to toStringZ.
There was no consenus in the newsgroup about what to do about renaming
toStringz to be properly camelcased. It was pretty much divided between
renaming it to toCString and leaving it exactly as-is. No one wanted it
to be toStringZ. So, given the lack of consensus, I'm just going to
leave it as toStringz.
2011-06-18 01:13:21 -07:00
jmdavis
dd3a0c20a2 Created std.ascii to replace std.ctype.
All of the new, properly camelcased functions in std.ctype have been
moved to std.ascii, and std.ctype has been scheduled for deprecation.
2011-06-14 04:06:54 -07:00
jmdavis
5b23fece95 Removed std.stream's versions of various std.ctype functions. 2011-06-12 17:10:57 -07:00
jmdavis
7d5c1831e5 Replaced calls to toStringz with toStringZ. 2011-06-12 16:59:52 -07:00
k-hara
f833634c03 Change struct const member variables to manifest constants. 2011-06-08 03:03:34 +09:00
Walter Bright
5a517b0095 remove case fallthrough 2011-06-03 19:41:52 -07:00
Andrej Mitrovic
c66e834424 Fixed std.stream sample code. 2011-05-25 08:08:36 +02:00
Andrei Alexandrescu
d061f13d34 https://github.com/D-Programming-Language/phobos/pull/23 2011-05-01 12:11:46 -05:00
Walter Bright
83f99df573 remove octal literals 2011-04-01 22:34:46 -07:00
Walter Bright
046e1b36db add source links 2011-02-06 15:46:50 -08:00
Brad Roberts
f368104f37 A bunch of 64 bit fixes, including disabling tests that don't pass 2010-12-23 20:39:22 +00:00
Andrei Alexandrescu
460c844b4f Fix for bugzilla 2718 2010-09-26 21:19:14 +00:00
Walter Bright
b8ce58ccd1 detab sources 2010-08-23 02:14:45 +00:00
Andrei Alexandrescu
e44197f989 replaced ssize_t with sizediff_t 2010-08-22 21:57:39 +00:00
Andrei Alexandrescu
3f2b8c12ea 64-bit compatibility work 2010-08-22 20:55:22 +00:00
Masahiro Nakagawa
cab2b77249 opApply's delegate needs to be 'scope' for avoiding heap allocation 2010-05-18 10:58:01 +00:00
Walter Bright
d340dab9f3 inout to ref 2009-12-19 07:46:41 +00:00
Walter Bright
68c694f69d bugzilla 2429 2009-05-14 23:31:42 +00:00
Walter Bright
cf644a325a add shared 2009-05-08 05:00:12 +00:00
Sean Kelly
67cf1f1be7 * Changed a few version(linux) blocks to version(Posix).
* Changed some declarations from explicit to auto.
* Changed "mkdir --parents" in Makefile to "mkdir -p" since OSX doesn't support the long version.
* REMAINING ISSUE: The "ln -sf" for installing the libraries at the end will fail if the DMD installation point is not owned by the user performing the build.  A "sudo ln..." fixes this, but it still may not be ideal to have a system-level link to a user-level file.  This should probably simply be copied instead.  Also, this copy should perhaps be done manually or in an "install" step, since a user may want to build Phobos and test it out without affecting other users.
2009-04-09 18:32:01 +00:00