Commit graph

346 commits

Author SHA1 Message Date
Sebastian Wilzbach
18ecb6b72c Make more modules publicly runnable on dlang.org 2017-01-06 23:29:55 +01:00
Oleg Nykytenko
5cb2d0ae49 Add spaces around the minus signs. 2017-01-06 13:44:26 +02:00
Oleg Nykytenko
4aec11a680 Solaris: fix std.datetime:LocalTime.utcToTZ issue. 2017-01-05 10:49:27 +02:00
WalterW
aa55068709 Fix random std.datetime unit test failure 2016-12-25 20:26:08 -05:00
Sebastian Wilzbach
b82ae35fd7 Use void for auto function without return statement 2016-12-08 12:32:14 +01:00
e-y-e
befa0bfb6e Updated Flag uses to Yes/No structs 2016-09-29 14:45:20 +01:00
e-y-e
46824b631f Changed yes/no enums to Flags in std.datetime, updating uses to Yes/No structs. 2016-09-29 14:45:19 +01:00
Jonathan M Davis
5c2be71132 Move deprecations along. 2016-09-07 00:15:29 -07:00
Jack Stouffer
edd6aff392 More tests 2016-08-08 15:39:48 -04:00
Jack Stouffer
841a76e4fd Better-er tests 2016-08-03 15:51:57 -04:00
Jack Stouffer
ded1bd5cb6 64bit MurmurHash2 2016-08-03 15:08:12 -04:00
Jack Stouffer
a7684062da Better tests 2016-08-03 15:04:11 -04:00
Jack Stouffer
fb2c8dd7dc Add toHash to SysTime 2016-08-01 13:47:21 -04:00
Steven Schveighoffer
10af12288d Fix formatting to appease travis 2016-07-21 08:44:11 -04:00
H. S. Teoh
c6bcfc1308 Merge pull request #4610 from JackStouffer/algorithm
Remove package wide std.algorithm imports
2016-07-20 12:52:44 -07:00
Martin Nowak
7f61127d00 Merge remote-tracking branch 'upstream/stable' into merge_stable 2016-07-20 11:40:15 +02:00
Jonathan M Davis
4c0cf16711 Deprecate TZ conversion functions in std.datetime.
The were previously scheduled to be deprecated, and now they've been
deprecated.
2016-07-18 14:56:03 -07:00
Jack Stouffer
68c004d22d Removed package wide std.algorithm imports from std.datetime 2016-07-18 09:49:03 -04:00
Walter Bright
c3166388dd Merge pull request #4594 from atilaneves/std_datetime_ut
Add @system and @safe to std.datetime unit tests
2016-07-13 13:33:28 -07:00
Atila Neves
8c414fda03 Add @safe and @system to std.datetime unit tests part 11 2016-07-12 16:33:05 +02:00
Atila Neves
f6394a4199 Add @safe and @system to std.datetime unit tests part 10 2016-07-12 16:32:56 +02:00
Atila Neves
8ccfd2a666 Add @safe and @system to std.datetime unit tests part 9 2016-07-12 16:32:48 +02:00
Atila Neves
371dfa3b00 Add @safe and @system to std.datetime unit tests part 8 2016-07-12 16:32:36 +02:00
Atila Neves
95ce57c45e Add @safe and @system to std.datetime unit tests part 7 2016-07-12 16:32:28 +02:00
Atila Neves
997ee9faf6 Add @safe and @system to std.datetime unit tests part 6 2016-07-12 16:32:18 +02:00
Atila Neves
64dfdd5f95 Add @safe and @system to std.datetime unit tests part 5 2016-07-12 16:32:07 +02:00
Atila Neves
cc9b40be29 Add @safe and @system to std.datetime unit tests part 4 2016-07-12 16:31:52 +02:00
Atila Neves
d68dd4fd38 Add @safe and @system to std.datetime unit tests part 3 2016-07-12 16:31:36 +02:00
Atila Neves
89a6713668 Add @system and @safe to std.datetime unit tests part 2 2016-07-12 16:31:10 +02:00
Atila Neves
695c1ef9e9 Add @safe and @system to std.datetime unit tests part 1 2016-07-12 16:30:55 +02:00
Jack Stouffer
48424da293 Removed unused variables from std.datetime 2016-07-11 09:30:28 -04:00
Martin Nowak
aa88e7bc8e fix test failure for updated Windows TZs
- change to list all missing WinTZ translations when running std/datetime
  unittests w/ -version=UpdateWindowsTZTranslations so they can be
  updated manually
2016-07-09 18:13:11 +02:00
Jack Stouffer
9b3991ec42 Fixed local imports in std.datetime 2016-06-30 18:06:58 -04:00
Andrei Alexandrescu
31c595c820 Merge pull request #4432 from wilzbach/kill_web
Remove the WEB macro in favor of HTTP
2016-06-16 20:52:35 -04:00
Steven Schveighoffer
9f97025940 Add missing time zones. Fixes build issue. 2016-06-16 14:31:57 -04:00
Sebastian Wilzbach
ec47ac4224 Remove the WEB macro in favor of HTTP
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Andrei Alexandrescu
9753c3159b Merge pull request #4411 from wilzbach/kill_web_http
Fix broken WEB links
2016-06-15 17:47:43 -04:00
Dmitry Olshansky
edf4da0bbe Merge pull request #4373 from joakim-noah/datetime_imports
std.datetime: use locally-scoped selective imports and document module-scope symbol imports
2016-06-08 22:31:40 +04:00
anonymous
7b6745727b Ddoc: CXREF -> REF (sed)
Done by:

arg='\s*([^(),]*)'
from='\$\(CXREF\s'$arg','$arg'\)'
to='$(REF \2, core,\1)'
(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
2016-06-08 00:22:03 +02:00
Sebastian Wilzbach
49531e3c73 fix broken web links
sed 's/(WEB http:\/\//(WEB /' -i **/*.d
2016-06-07 18:54:17 +02:00
Bastiaan Veelo
20b44d41e1 Fix 404. 2016-06-06 02:19:28 +02:00
Joakim
247941279d std.datetime: use locally-scoped selective imports and document symbols imported at module scope, checked with ddmd 2016-06-04 13:54:58 +05:30
Dmitry Olshansky
643823d166 Merge pull request #4386 from wilzbach/copyright
remove invalid copyright notices
2016-05-31 18:32:59 +04:00
Sebastian Wilzbach
6dbd9dbe7e remove invalid copyright notices 2016-05-31 15:26:10 +02:00
Sebastian Wilzbach
1d34a121e9 apply all-man braces in Phobos
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
Brian Schott
88966f953c Merge pull request #4333 from BBasile/issue-15991
fix issue 15991 - std.datetime.StopWatch is not @nogc
2016-05-18 14:46:38 -07:00
Basile Burg
41de4f17b7 fix issue 15991 - std.datetime.StopWatch is not @nogc 2016-05-16 15:38:36 +02:00
Sebastian Wilzbach
484f7bfbe0 enforce: whitespace after catch 2016-05-14 15:28:43 +03:00
Brian Schott
259e1dd9e0 Merge pull request #4317 from BBasile/fix_wtz
hotfix (tester) - Easter Island & Haiti Windows time zone
2016-05-14 05:47:18 +09:00