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
Per Nordlöw
ee64840397
Replace enforce(!empty with assert(!empty at the beginning of range members
2022-10-10 09:08:23 +02:00
Dennis Korpel
57eea554de
Fix 23370 - std.base64 can have more @nogc functions
2022-09-26 12:14:40 +02:00
Dennis Korpel
f56b33961e
Fix issue 22213 - Base64: Missing @nogc
attribute on encodeLength
2022-04-13 16:06:38 +02:00
nordlow
4449049c18
Annotate std/base64.d to please dlang/dmd#12520 #8076
2021-05-18 03:28:07 +02:00
Ate Eskola
08f4cb9429
New overload for std.base64.Base64Impl.decoder that takes char arrays as-is
2021-03-31 17:16:34 +02:00
berni44
1ea7852f5f
Fix Issue 21707 - std.base64: Faulty input creates range error instead of Base64Exception
2021-03-17 00:05:13 +01:00
berni44
3fe7205ea7
Add test for regression.
2021-03-14 10:42:16 +01:00
berni44
5bfa8d7e05
Revert "Fix Issue 21707 - std.base64: Faulty input creates range error instead of Base64Exception"
...
This reverts commit cf41baba21
.
2021-03-14 09:26:30 +01:00
berni44
9ffccbabb6
Issue 21706 - Assertion failure in Base64.decoder for empty input range of ranges
2021-03-13 18:18:27 +01:00
berni44
cf41baba21
Fix Issue 21707 - std.base64: Faulty input creates range error instead of Base64Exception
2021-03-13 17:42:25 +01:00
berni44
d6e56b25de
Add two more unittests to base64 for more coverage.
2021-03-13 17:17:04 +01:00
berni44
e29e084114
Condense six unittests into one
2021-03-13 16:33:50 +01:00
berni44
9cf1cfea3f
Add more coverage to base64.
2021-03-13 02:59:36 +01:00
berni44
2972e6eabb
Fix Issue 21679 - Assertion failure in Base64.encoder for empty input range of ranges
2021-03-08 15:20:23 +01: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
Geod24
79aee2d734
Remove wrong 'DbC problem' comment
...
There is no issue with DbC here, we just can't assume the input has a length.
2020-04-12 22:19:17 +09: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
Sebastian Wilzbach
9092826b27
Use selective top-level module imports in std.{base64,csv,datetime}
2019-05-23 09:57:13 +02:00
Iain Buclaw
fd5facfe04
posix.mak: Enforce whitespace before opening parenthesis for version conditions
2018-09-22 16:57:24 +02:00
The Dlang Bot
0e8722abbd
Merge pull request #6471 from schveiguy/putstrings
...
char[] and wchar[] should be output ranges
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-06-29 10:04:28 +02:00
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Steven Schveighoffer
8769ea9e46
Fix issue 18790 - Add ability for char[] and wchar[] to be output ranges.
2018-04-23 09:17:49 -04:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Jack Stouffer
65fcbbf16f
Improve documented example
2018-03-09 08:49:34 -05:00
Jack Stouffer
e826c82e32
Fix Issue 18168 - std.base64.encode for output ranges should be usable in @safe
2018-03-09 08:41:48 -05:00
Sebastian Wilzbach
b9eaa3b1bd
Fix Issue 18278 - writef documentation 404 error
2018-01-26 10:17:47 +01:00
Sebastian Wilzbach
b0575c8a66
@safeify more unittests II
2018-01-03 06:26:05 +01:00
Sebastian Wilzbach
df6365092a
Replace body
keyword with its replacement: do
...
Automatic replacement with
sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
The Dlang Bot
7a024ece1d
Merge pull request #5506 from lionello/feature/base64urlnopadding
...
Added Base64URLNoPadding (backport from vibe.d)
merged-on-behalf-of: unknown
2017-07-21 21:27:26 +02:00
The Dlang Bot
568210f678
Merge pull request #5581 from wilzbach/has_public_example
...
Make sure that that every function in Phobos has an example: std.{algorithm,array,ascii,base64}
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-07-10 04:16:59 +02:00
Sebastian Wilzbach
54c47a7193
has_public_example: std.base64
2017-07-10 02:58:31 +02:00
Sebastian Wilzbach
283cab2f20
Make std.base64 examples runnable
2017-07-09 16:22:53 +02:00
Lionello Lunesu
a47530b97b
Added Base64URLNoPadding (backport from vibe.d)
2017-06-26 00:13:07 +08:00
Sebastian Wilzbach
61717ecc7d
Sort imports
2017-06-12 07:54:38 +02:00
Sebastian Wilzbach
090d5164e8
Fix links from $(LREF $(D ...)) -> $(LREF ...)
...
sed -E 's/[$]\(D [$]\(LREF (.*)\)\)/$(LREF \1)/' -i **/*.d
2017-03-05 08:11:29 +01:00
Sebastian Wilzbach
425ab667a3
Automatically set the range style from a..b -> a .. b
...
Commands:
sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595
Unify Phobos by ensuring there's always a space after cast(...)
...
Command:
sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Jack Stouffer
67d44e4cdc
Remove package wide std.algorithm imports from Phobos
2016-09-22 08:36:14 +01:00
Johannes Loher
1bbe7fe56d
Fixed in contract for Base64.decode for arrays
2016-08-08 12:11:30 +02:00
Liam McSherry
5c5f6aba18
Correct a typo in the documentation for std/base64.d.
2016-07-22 17:42:03 +01:00
Atila Neves
bfb8803724
Add @system and @safe to std.base64 unit tests
2016-07-01 19:09:44 +02: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
Jack Stouffer
798070d37d
Fixed long lines in std/base64.d
2016-05-10 20:51:39 -04:00
H. S. Teoh
fffb9712d6
Use auto ref to retain compatibility with previous workarounds.
2015-06-30 08:49:54 -07:00
H. S. Teoh
9c8c768490
Base64 is not limited to MIME.
2015-06-30 08:36:21 -07:00
H. S. Teoh
db4d90b6d9
Coding style fixes.
2015-06-30 08:36:21 -07:00
H. S. Teoh
77c15e19b2
Fix latent ref bugs in encode() and decode().
...
Output range must be passed via ref otherwise by-value output ranges
will not work correctly.
Add code examples.
2015-06-30 08:36:21 -07:00
H. S. Teoh
d1b4394f4a
Add code examples.
2015-06-30 08:36:21 -07:00
H. S. Teoh
d23eb76dbd
Improve std.base64 docs.
...
Improve wording, add standard Params: and Returns: sections. Clarify
unclear semantics.
Better module description.
2015-06-30 08:36:21 -07:00