Vladiwostok
231ae8b68a
Fix D-Scanner linting issues ( #9070 )
...
* Fix UndocumentedDeclarationCheck linting issue
* Fix IfConstraintsIndentCheck linting issue
* Address feedback
* Fix publictests CI
* Fix old (libdparse) D-Scanner linting warn
2024-10-27 01:21:56 -07:00
Jeremy Baxter
f31a7bc41d
replace dead links
...
for link in $(grep -Eor 'https?://[^\\)", ]+' | grep -v dlang.org \
| grep -Eo 'https?://.+'); do (printf "%s: " "$link"; curl -Is "$link" \
| head -n1) | grep -E '4..$'; done
for link in $(grep -Eor '\\$\\(HTTP .+, ' | grep -v dlang.org \
| cut -d' ' -f2- | sed 's/, .*$//'); do out="$(curl -Is "$link")"; \
(! [ $? = 0 ] || printf '%s' "$out" | head -n1 | grep -Eq '4..') \
&& printf '%s\\n' "$link"; done
2024-07-14 15:16:11 +12:00
Iain Buclaw
ce1158defd
Remove deprecated std.xml module
2022-08-28 11:30:15 +02:00
Atila Neves
575b67a9b4
Ignore SECURITY file when listing timezones
...
On Arch Linux, there's an ASCII file in /usr/share/zoneinfo with
instructions on how to submit security bug reports, as can be
seen in the listing here:
https://archlinux.org/packages/core/x86_64/tzdata/files/
2021-12-13 19:17:33 +00:00
dkorpel
5d0cfcd13a
Fix scope
usage of SysTime/TimeZone
2021-11-18 23:49:51 +00:00
Brian Callahan
089a3b8dc4
Add OpenBSD to the unittest.
2021-10-19 23:56:45 +00:00
dkorpel
9ec24190b1
add explicit scope/return for pure functions
2021-07-11 13:34:25 +00:00
berni44
6f2a0934a7
Adapt imports of std.format to new structure of std.format.
2021-03-19 13:22:00 +01:00
The Dlang Bot
c6bd15f76c
Merge pull request #7711 from kinke/reduce_ldc_diff
...
Reduce LDC diff a bit
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2021-01-13 19:35:05 +01:00
Martin Kinkelin
1ea4effc10
std.datetime.timezone: Add missing import on Android
2020-11-28 20:16:26 +01:00
Martin Kinkelin
8f453556c1
std.datetime.timezone: Fix regression for Android
2020-11-27 22:00:43 +01:00
Luís Ferreira
7842db96a6
timezone: wrap dirEntries foreach in a trusted lambda instead of making the whole function @trusted
...
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2020-10-27 19:53:49 +01:00
Nathan Sashihara
453faadf5b
Replace is(Unqual!T == Unqual!U) with is(immutable T == immutable U) for speed & memory usage
2020-08-03 15:07:32 +02:00
Geod24
04f3979317
Replace 'Issue XXX' with Bugzilla links
...
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Jacob Carlborg
dc36c1439d
Fix location of UTC timezone file for unit test on iOS derived platforms
2020-03-03 12:51:07 +01:00
Adam D. Ruppe
ae93f5317c
Use consistent quickindex wrapper around hand-written list-of-links tables
2020-02-21 21:04:05 -05:00
Robert Schadek
861b260121
adding assert messages to std.datetime.timezone
2020-01-27 11:46:21 +00:00
Alexandru Militaru
bb62aaca3d
Replaced version (unittest) with version (StdUnittest) to avoid unnecessary overhead when compiling with -unittest
2020-01-19 14:05:17 +02:00
Nicholas Wilson
b1413e3cde
function attributes go on the right of function aliases
...
FuncType is actually `@system` because of this, for some reason it is still `pure` and `nothrow`.
2019-06-11 09:51:32 +08:00
Sebastian Wilzbach
9092826b27
Use selective top-level module imports in std.{base64,csv,datetime}
2019-05-23 09:57:13 +02:00
Nathan Sashihara
6ffd4e7f28
Replace imports of core.sys.windows.windows to speed up compilation
2018-12-17 21:03:31 -05:00
Iain Buclaw
fd5facfe04
posix.mak: Enforce whitespace before opening parenthesis for version conditions
2018-09-22 16:57:24 +02:00
Jonathan M Davis
e3de72cfea
Remove deprecated functions from std.datetime.timezone.
2018-06-24 18:03:51 -06:00
The Dlang Bot
d682187cfe
Merge pull request #6598 from Alexibu/patch-1
...
Document deprecation of TimeZone.getTimeZone
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2018-06-24 12:15:26 +02:00
Walter Bright
92aa49952b
dip1000: std.datetime.timezone replace 'in' with 'scope const'
2018-06-23 22:32:50 -07:00
Jonathan M Davis
852dc7ef6e
Some fixes to the docs for TimeZone and LocalTime
...
The information that the docs for TimeZone and LocalTime gave about the TZ Database
was outdated.
2018-06-22 19:28:31 -06:00
Alexibu
58f8200fc7
Update timezone.d
2018-06-22 20:39:45 +10:00
Alexibu
8d971df834
Document deprecation of TimeZone.getTimeZone
...
There was documentation refering to the now deprecated method of getting one of the of the timezone implementations via the static TimeZone.getTimeZone.
2018-06-22 20:30:50 +10:00
Joakim
f916d73af7
Musl: last remaining tweaks
2018-06-07 11:58:44 +05:30
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
6f766dce5d
Remove redundant 'static' storage classes
2018-04-05 13:11:48 +02:00
Sebastian Wilzbach
6797808b39
Merge pull request #6366 from FeepingCreature/fix/localtime-has-always-been-broken-and-should-never-have-been-used
...
Fix localtime
2018-04-03 11:21:56 +02:00
Mathis Beer
5d6bf2bdd2
Do not call localtime. It is not threadsafe. You will randomly return wrong times in threaded apps. Fixes Issue 18714.
2018-04-03 09:57:00 +02:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Jack Stouffer
5094a273a8
Fixed >120 character line in std.datetime.timezone
2018-03-26 15:25:35 -04:00
Jonathan M Davis
1436fca1cc
Add website link to author name for Jonathan M Davis.
2018-03-10 16:31:23 -07:00
The Dlang Bot
becfefbae9
Merge pull request #6224 from ThomasMader/master
...
Use baseName to also skip leapseconds file in subfolders
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2018-03-05 07:55:39 +01:00
Thomas Mader
138d43e254
Use baseName to also skip leapseconds file in subfolders like on NixOS in the posix subfolder.
2018-02-26 13:10:13 +01:00
Martin Nowak
09926f9837
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-02-23 21:37:12 +01:00
Jack Stouffer
663b5b9278
Revert addition of StdUnittest
2018-02-20 13:32:32 -05:00
carblue
e9cdd6a54e
std.datetime.timezone - fix a -dip1000 compilable issue; trivial
2018-02-15 19:45:13 +01:00
Jack Stouffer
a55744aa69
Work On Issue 10828 - datetime toString functions should accept sink
2018-02-14 12:14:04 -05:00
The Dlang Bot
378b710315
Merge pull request #6118 from wilzbach/fix-18345
...
Issue 18345 - add bookmark tables to std.datetime
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2018-02-07 19:27:56 +01:00
Sebastian Wilzbach
6fcd737163
Issue 18345 - add bookmark tables to std.datetime
2018-02-03 21:05:34 +01:00
Jack Stouffer
18cbb29b04
Replaced version(unittest) blocks with version(StdUnittest)
2018-02-01 19:56:59 -05:00
The Dlang Bot
06155b700c
Merge pull request #6103 from JackStouffer/timezone-fromISOString
...
Optimized std.datetime.timezone.SimpleTimeZone.fromISOString
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2018-02-01 13:29:42 +01:00
Jack Stouffer
805dbe7cf3
Optimized std.datetime.timezone.SimpleTimeZone.fromISOString
2018-01-31 07:32:52 -05:00
The Dlang Bot
0d6657a552
Merge pull request #6088 from JackStouffer/timezone-fromISOExtString
...
Optimized std.datetime.timezone.SimpleTimeZone.fromISOExtString
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-01-31 09:20:26 +01:00
Joakim
311bb3b0bf
Fix some comments from #5902
2018-01-30 19:36:12 +01:00
Jack Stouffer
6f322c7708
Optimized std.datetime.timezone.SimpleTimeZone.fromISOExtString
2018-01-29 08:19:48 -05:00