Andrei Alexandrescu
abd1f93a75
added curry
2009-04-11 20:38:58 +00:00
Andrei Alexandrescu
4548c91a41
minor
2009-04-11 20:38:41 +00:00
Andrei Alexandrescu
c8982096a2
refactored
2009-04-11 20:38:13 +00:00
Andrei Alexandrescu
f5f14dd469
tabs
2009-04-11 20:37:06 +00:00
Andrei Alexandrescu
8e67f7a22f
changed delegate in enforce to scope to make it faster
2009-04-11 20:36:10 +00:00
Andrei Alexandrescu
d891bd2ba7
minor
2009-04-11 20:35:10 +00:00
Andrei Alexandrescu
fe6e624d12
Deprecation process concluded with replacement of bitarray with bitmanip
2009-04-10 23:17:30 +00:00
Andrei Alexandrescu
78c647c485
Implementation overhaul
2009-04-10 14:19:19 +00:00
Walter Bright
dd89bdf4fa
add yl2x
2009-04-09 18:40:31 +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
Don Clugston
c71920b5f0
Bare minimum changes to allow Phobos to compile in Windows. (Segfaults running unittest, though. I managed to coax an error message out of it. std\algorithm.d(575) Error: cannot modify const).
2009-04-07 20:17:17 +00:00
Andrei Alexandrescu
2008d63b6f
GNU Makefile for compiling for Posix and Windows (via wine).
2009-04-06 20:50:39 +00:00
Andrei Alexandrescu
8637de419d
Fixes stdio circular dependency.
2009-04-06 20:49:28 +00:00
Andrei Alexandrescu
3daad438f5
New regular expression package.
2009-04-06 20:49:13 +00:00
Andrei Alexandrescu
49f646271b
Range operations.
2009-04-06 20:48:41 +00:00
Andrei Alexandrescu
f686fc8dbb
Fixes date and dateparse circular dependency.
2009-04-06 20:48:27 +00:00
Andrei Alexandrescu
75d047a923
unittest commented out in release mode, takes too long to compile
2009-04-06 20:46:22 +00:00
Andrei Alexandrescu
035af5a1b0
fileno only on Posix
2009-04-06 20:45:40 +00:00
Andrei Alexandrescu
29480d7df6
minor
2009-04-06 20:45:10 +00:00
Andrei Alexandrescu
9eab2e47a5
merged Windows/Posix specific code into generic
2009-04-06 20:44:48 +00:00
Andrei Alexandrescu
2f80b94bec
getenv, setenv only on Posix.
2009-04-06 20:44:17 +00:00
Andrei Alexandrescu
cd8dd20137
minor
2009-04-06 20:43:47 +00:00
Andrei Alexandrescu
5492fcbd42
minor
2009-04-06 20:43:27 +00:00
Andrei Alexandrescu
96b35bcaa7
fixes for exists and setTimes
2009-04-06 20:42:54 +00:00
Andrei Alexandrescu
e4e66b0d88
commented failing unittest
2009-04-06 20:39:35 +00:00
Andrei Alexandrescu
058fb734e3
* Added declarations for struct_stat64, stat64, and fstat64.
2009-04-06 19:46:45 +00:00
Andrei Alexandrescu
71226e5948
* Added constructors, assignment operator, length, toString, and slice
...
to Tuple.
2009-04-06 18:35:00 +00:00
Andrei Alexandrescu
88698a6f03
replaced calls to rand() with calls to uniform()
2009-04-06 18:34:09 +00:00
Andrei Alexandrescu
ff252e5b2f
* toUTF16z accepts in char[]
2009-04-06 18:33:41 +00:00
Andrei Alexandrescu
8e984d175b
minor
2009-04-06 18:32:59 +00:00
Andrei Alexandrescu
bcfdd75970
minor
2009-04-06 18:32:37 +00:00
Andrei Alexandrescu
00306ed479
minor
2009-04-06 18:32:13 +00:00
Andrei Alexandrescu
bf7a7504ac
std.c -> core.stdc fixes
2009-04-06 18:31:30 +00:00
Andrei Alexandrescu
fd3c6e3daf
std.c -> core.stdc fixes
2009-04-06 18:31:09 +00:00
Andrei Alexandrescu
f8cfa562d2
Fixed stat64, fstat64 declarations.
2009-04-06 18:30:41 +00:00
Andrei Alexandrescu
d8e8dd36c5
* Major breaking changes: introduced the File struct. Now stdin, stdout, stderr are instances of the File struct.
2009-04-06 18:29:39 +00:00
Andrei Alexandrescu
6f1c06c040
minor
2009-04-06 17:42:59 +00:00
Andrei Alexandrescu
4015aa120e
* Scheduled for deprecation. Use std.regex instead.
2009-04-06 17:33:36 +00:00
Andrei Alexandrescu
0cb5ab45bb
* Added RandomCover that covers a given range in a random manner
...
* Eliminated the old-fashioned random functions
* Defined a default random object that simplifies calls to the random
functions
* Changed generators to obey the range interface.
2009-04-06 17:31:00 +00:00
Andrei Alexandrescu
28143701ed
minor
2009-04-06 17:28:29 +00:00
Andrei Alexandrescu
0861028456
minor
2009-04-06 17:27:25 +00:00
Andrei Alexandrescu
c26ac41eb5
* getDrive now works with all string types
...
* isabs accepts in char[]
* join accepts variadic in char[]
* fnmatch works with in char[]
2009-04-06 17:20:10 +00:00
Andrei Alexandrescu
c20f1d3b66
* Added a few missing overloads of write()
2009-04-06 17:18:25 +00:00
Andrei Alexandrescu
739923a491
* Added type CustomFloat that allows defining specialized floating-point
...
numbers (e.g. 16-bit floats, positive floats etc.)
* Added FPTemporary as the best type to store temporary values.
* Templatized oppositeSigns
* Added Euclidean distance
* Added dotProduct
* Added cosineSimilarity
* Added normalize
* Added string kernel functions gapWeightedSimilarity,
gapWeightedSimilarityNormalized, gapWeightedSimilarityIncremental.
2009-04-06 17:17:52 +00:00
Andrei Alexandrescu
b186767ebd
minor
2009-04-06 17:15:51 +00:00
Andrei Alexandrescu
b6a9ddf5f5
* Added vector parsing and printing with the specifier "%()". For
...
example, writefln("[%(s; )]", [1, 2, 3][]) writes "[1; 2; 3]". This
support is experimental and may be changed in the future.
* Added a formattedRead function (i.e., scanf that doesn't suck). The
implementation is incomplete but common cases are supported.
2009-04-06 17:15:35 +00:00
Andrei Alexandrescu
74d233da48
* read, write, append, rename, remove, getSize, getTimes, getAttributes,
...
isfile, isdir, chdir, mkdir, mkdirRecurse, rmdir, listdir, copy, take
filename(s) by "in char[]"
* Added function readText that reads and validates a text file
* Added function slurp that reads a file into an array of tuples.
2009-04-06 17:15:07 +00:00
Andrei Alexandrescu
ca2a767e65
* Rewrote conversions with constrained templates.
...
* Added text() function that transforms everything into text.
2009-04-06 17:14:34 +00:00
Andrei Alexandrescu
4e8ef0ba4e
minor
2009-04-06 06:19:07 +00:00
Andrei Alexandrescu
8d4be94177
* Added vector parsing and printing with the specifier "%()". For
...
example, writefln("[%(s; )]", [1, 2, 3][]) writes "[1; 2; 3]". This
support is experimental and may be changed in the future.
* Added a formattedRead function (i.e., scanf that doesn't suck). The
implementation is incomplete but common cases are supported.
2009-04-06 06:18:23 +00:00