Commit graph

55 commits

Author SHA1 Message Date
Don Clugston
84477a5d3e Move Boost copyright declaration from ddoc to normal comment. Fixes ugly ddoc output. 2010-11-24 19:34:47 +00:00
Shin Fujishiro
58e3ae0a8a This would fix the runnable/testdate failure. 2010-09-27 05:18:23 +00:00
Andrei Alexandrescu
f978014c36 Fix for bugzilla 2965 2010-09-26 23:15:17 +00:00
Adam D. Ruppe
086fafddb3 Documentation improvements by Pedro Rodrigues 2010-08-17 16:47:26 +00:00
Andrei Alexandrescu
d2aa5efe27 Readded toString as a deprecated alias to UTCtoString 2010-08-08 07:37:02 +00:00
Andrei Alexandrescu
861aeece59 Changed toString(d_time) to UTCtoString(d_time). d_time being just an alias for an integral, the old function conflicted with others. 2010-07-28 07:55:21 +00:00
Andrei Alexandrescu
432e3fdfc8 Replaced std.contracts with std.exception throughout 2010-07-04 22:09:03 +00:00
SHOO
3948396b96 Mark deprecated to unittest 2010-05-23 02:07:56 +00:00
Shin Fujishiro
4e2d8f30fd Added FreeBSD code. 2010-05-17 03:02:16 +00:00
Andrei Alexandrescu
c12b96b726 Implementation change and unittest for isLeapYear and
daysInYear. Made both pure as well.
2009-10-26 22:44:01 +00:00
Sean Kelly
747f3cf1e4 Changed Phobos to use the Boost license. Currently, all public domain modules and all licensed modules by Walter, Andrei, Bartosz, and Don have been changed to use this license (excepting std.c, for the moment). Ideally, all Phobos modules will eventually be distributed under this license, which means obtaining permission from a few more authors, deleting, or rewriting some modules.
Removed std.openrj.
2009-09-16 18:19:51 +00:00
Walter Bright
3a3130afa9 last minute fixes for 2.031 2009-07-06 17:32:48 +00:00
Andrei Alexandrescu
2a18575d11 changed signature of benchmark to return ulong[] instead of uint[]. 2009-07-04 06:54:38 +00:00
Walter Bright
cf644a325a add shared 2009-05-08 05:00:12 +00:00
Andrei Alexandrescu
1b28fbcc4b added deprecated aliases for TicksPerSecond et al 2009-04-19 20:13:51 +00:00
Andrei Alexandrescu
dfef2a7214 Replaced next, retreat, head, and toe with (respectively) popFront, popBack, front, and back 2009-04-13 19:10:58 +00:00
Andrei Alexandrescu
0bfb918025 capitalization 2009-04-11 20:51:18 +00:00
Andrei Alexandrescu
743d8167c8 * Added a benchmark function that allows for simple timing measurements. 2009-04-06 05:58:23 +00:00
Sean Kelly
0b1bf3b1d5 2009-03-26 15:13:53 +00:00
Sean Kelly
e108928d21 * Modified all std modules to use core.sys.posix in place of std.c.linux.
* Transformed std.c.linux.* into wrappers around core.sys.posix modules where appropriate.
* Added std.c.osx as the OSX equivalent of std.c.linux.
* Added std.c.osx.socket for OSX-specific socket declarations not covered by the Posix spec.
* Altered all makefiles to zip, etc, the new std.c.osx package.
2009-03-26 03:02:32 +00:00
Don Clugston
d3b2166a1b Allow phobos to compile with -w. 2009-02-27 15:31:48 +00:00
Walter Bright
295a1633b7 fails unit tests 2009-02-14 17:47:38 +00:00
Walter Bright
d57e203dc9 fold in some OSX changes 2009-02-10 02:21:15 +00:00
Walter Bright
288b76bd82 rollup 2008-12-12 10:45:36 +00:00
Walter Bright
3d1b760496 update to reflect this is now a reference type 2008-11-04 22:08:40 +00:00
Andrei Alexandrescu
1ae5300f52 * std.algorithm: Changed the map() function so that it deduces the return type
* std.contracts: Added file and line information to enforce. Added errnoEnforce that reads and formats a message according to errno. Added corresponding ErrnoException class.

* std.encoding: For now commented out std.encoding.to. 

* std.file: Fixed bug 2065

* std.format: Fixed bug in raw write for arrays

* std.getopt: Added new option stopOnFirstNonOption. Also automatically expand dubious option groups with embedded in them (useful for shebang scripts)

* std.math: improved integral powers

* std.md5: Improved signature of sum so it takes multiple arrays. Added getDigestString.

* std.path: changed signatures of test functions from bool to int. Implemented rel2abs for Windows. Improved join so that it accepts multiple paths. Got rid of some gotos with the help of scope statements.

* std.process: added getenv and setenv. Improved system() so it returns the exit code correctly on Linux.

* std.random: added the dice function - a handy (possibly biased) dice.

* std.file: added support for opening large files (not yet tested)

* std.utf: added the codeLength function. Got rid of some gotos.
2008-05-06 05:08:52 +00:00
Brad Roberts
a9bc53273c merge r387:397 from candidate to trunk
-- new module std.contracts
  -- migrate callers to it where appropriate
2007-10-14 23:04:19 +00:00
Brad Roberts
eec6be69ed Merge r297:387 from candidate to trunk.
-- add std.getopt
  -- add std.variant
  -- switch strings over to be invariant rather than const
  -- hopefully the last big linux makefile overhaul
  -- fix for bug 1579: write[ln] fails for obj.toString()
  -- fix negative precision handling in std.format
  -- add some file and directory iterator helpers
  -- among other little changes here and there...
2007-10-14 09:22:50 +00:00
Brad Roberts
d90858f401 merge branches/phobos-1.x@263 through branches/phobos-1.x@266 2007-09-10 07:35:41 +00:00
Brad Roberts
15839eb802 merge branches/phobos-1.x@259 through branches/phobos-1.x@261 2007-09-10 07:18:32 +00:00
Brad Roberts
9d8828a349 merge branches/phobos-1.x@256 through branches/phobos-1.x@259 2007-09-10 07:13:30 +00:00
Brad Roberts
de971890b0 phobos 2.000 2007-09-10 06:45:08 +00:00
Brad Roberts
2992740ec3 phobos 1.013 2007-09-10 06:05:14 +00:00
Brad Roberts
7a177fcf41 phobos 0.178 2007-09-10 05:37:36 +00:00
Brad Roberts
7371485bf8 phobos 0.177 2007-09-10 05:36:45 +00:00
Brad Roberts
e001ab7bfe phobos 0.174 2007-09-10 05:34:58 +00:00
Brad Roberts
613c86dca9 phobos 0.168 2007-09-10 05:31:04 +00:00
Brad Roberts
b76c21ccf9 phobos 0.161 2007-09-10 05:24:49 +00:00
Brad Roberts
f3114b30a0 phobos 0.155 2007-09-10 05:19:06 +00:00
Brad Roberts
164dc8159b phobos 0.153 2007-09-10 05:17:15 +00:00
Brad Roberts
d6ac036aff phobos 0.149 2007-09-10 05:11:52 +00:00
Brad Roberts
72a09be429 phobos 0.146 2007-09-10 05:02:39 +00:00
Brad Roberts
98e28b66e3 phobos 0.140 2007-09-10 04:57:07 +00:00
Brad Roberts
99870f81a8 phobos 0.135 2007-09-10 04:51:26 +00:00
Brad Roberts
119d8efbac phobos 0.116 2007-09-10 04:34:51 +00:00
Brad Roberts
6cf33ed508 phobos 0.111 2007-09-10 04:28:31 +00:00
Brad Roberts
15465290ea phobos 0.110 2007-09-10 04:25:53 +00:00
Brad Roberts
2fd7d60c13 phobos 0.96 2007-09-10 04:05:01 +00:00
Brad Roberts
0e2e7543b5 phobos 0.92 2007-09-10 04:00:57 +00:00
Brad Roberts
99f2734db6 phobos 0.88 2007-09-10 03:56:33 +00:00