Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `safe` parameter to `base64.encodeMime` (#20559) | Amjad Ben Hedhili | 2022-10-21 | 1 | -3/+11 |
| | | | | | | | | | | | | | | | | | | * Improve `encodeMime` signature * `string` to `openArray[char or byte]` * `safe` parameter * Fix * Revert "Fix" This reverts commit a394c505c2ab751621c24fd29b17e97c01251c1f. * Remove encodeMime's openArray overload * Document the `safe` parameter * Add changelog entry | ||||
* | Remove unused `base64.encode` overload (#20369) | Amjad Ben Hedhili | 2022-10-09 | 1 | -27/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove unused `base64.encode` overload * [skip ci] Remove commented code * [skip ci] var -> let * [skip ci] Remove mentions of the string overload * Remove `SomeInteger` overload * Fix CI * Fix CI * Deprecate `SomeInteger` overload * [skip ci] Add changelog entry * Revert "Remove `SomeInteger` overload" This reverts commit 79a2963a2154377ee44e9ad5532409baaf5575a6. * Revert "[skip ci] Add changelog entry" This reverts commit 186f17eb3919a593e2a3928e3ac3b462a8323fc1. * Revert "Revert "Remove `SomeInteger` overload"" This reverts commit 8005318ee4fbf8cef726b1af2015e76aaf1e700a. * Update lib/pure/base64.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | Optimize `base64.encodeMime` (#20409) | Amjad Ben Hedhili | 2022-09-25 | 1 | -6/+20 |
| | | | | | | | | | * Optimize `base64.encodeMime` * 5x faster for common scenarios, 13x faster if `lineLen` <= encoded string's length or `newLine` is empty. * Changed `lineLen`'s type to `Positive` to disallow `0`. * Fix | ||||
* | Documentation: Fix word usage (#19529) | Sizhe Zhao | 2022-02-14 | 1 | -2/+2 |
| | |||||
* | fix #17941: UnusedImport works for var/let/const/type invoked inside a ↵ | Timothee Cour | 2021-05-08 | 1 | -1/+1 |
| | | | | | | | generic (#17942) * fix #17941: UnusedImport works for var/let/const/type invoked inside a generic * fixup | ||||
* | [std/base64] uses runnableExamples (#17882) | flywind | 2021-05-01 | 1 | -32/+30 |
| | | | | | | * [std/base64] uses runnableExamples * Update lib/pure/base64.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> | ||||
* | further progress on rst roles & directives (fix #17646) (#17659) | Andrey Makarov | 2021-04-08 | 1 | -4/+4 |
| | | | | | | | * further progress on rst roles & dir-s (fix #17646) * fix documents according to the messages * fix bug 17 from #17340 | ||||
* | Change stdlib imports to use std prefix in most examples (#17202) | Danil Yarantsev | 2021-02-28 | 1 | -4/+4 |
| | |||||
* | use single backtick (#17181) | flywind | 2021-02-24 | 1 | -8/+8 |
| | |||||
* | Save some alloc on base64 using encodeSize (#16465) | Juan Carlos | 2020-12-27 | 1 | -0/+1 |
| | |||||
* | base64: fixes the error message for an invalid base64 input character ↵ | Andreas Rumpf | 2020-09-20 | 1 | -1/+1 |
| | | | | [backport:1.2] | ||||
* | Fix style inconsistencies due to the previous commit | narimiran | 2020-07-06 | 1 | -1/+1 |
| | |||||
* | revert 0944b0f4 | narimiran | 2020-07-06 | 1 | -1/+1 |
| | |||||
* | encodeMIME should be encodeMime by our coding guidelines | Araq | 2020-04-01 | 1 | -3/+3 |
| | |||||
* | fixes #13722 (#13729) | Andreas Rumpf | 2020-03-23 | 1 | -8/+20 |
| | | | | | * fixes #13722 * better fix | ||||
* | fight the code bloat in base64.nim | Araq | 2020-03-20 | 1 | -7/+16 |
| | |||||
* | Add Base64 safe (#13672) | Juan Carlos | 2020-03-20 | 1 | -9/+28 |
| | | | | * Implement RFC-4648 Section-7 * https://github.com/nim-lang/Nim/pull/13672#issuecomment-600993466 | ||||
* | [backport] Fix style issues in lib/, tools/, and testament/. Fixes #12687. ↵ | 3n-k1 | 2019-11-28 | 1 | -2/+2 |
| | | | | (#12754) | ||||
* | replace some runtime repr in stdlib for gc:arc (#12716) | Andy Davidoff | 2019-11-25 | 1 | -2/+2 |
| | |||||
* | Fix many broken links | Jjp137 | 2019-10-22 | 1 | -2/+2 |
| | | | | | | Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol. | ||||
* | About 50% faster base64 implemention. (#12436) | treeform | 2019-10-17 | 1 | -120/+144 |
| | |||||
* | [backport] run nimpretty on hashes | narimiran | 2019-09-30 | 1 | -4/+5 |
| | |||||
* | last stdlib cleanups | Araq | 2019-09-21 | 1 | -1/+3 |
| | |||||
* | make more parts of the stdlib compile with --styleCheck:error | Araq | 2019-07-10 | 1 | -1/+1 |
| | |||||
* | fixes #11364 (#11383) | Andreas Rumpf | 2019-06-03 | 1 | -2/+2 |
| | |||||
* | Fix header inconsistencies in documentation (#11071) | Zed | 2019-04-23 | 1 | -1/+0 |
| | |||||
* | better docs: base64 (#10371) | Thomas T. Jarløv | 2019-01-19 | 1 | -25/+59 |
| | |||||
* | make more tests green | Andreas Rumpf | 2018-04-30 | 1 | -4/+4 |
| | |||||
* | Small base64.nim refactor (#5755) | Daniil Yarancev | 2017-04-25 | 1 | -18/+23 |
| | | | | | | | | | | * Small changes (var to let) * Some additional `var` to `let` * Fix * Finally removed immediate | ||||
* | Fixes #5457 - StdLib base64 encodeInternal crashes with out of bound ↵ | Florent | 2017-03-02 | 1 | -3/+9 |
| | | | | exception (#5464) | ||||
* | Fixed base64 encode | Yuriy Glukhov | 2016-04-11 | 1 | -1/+2 |
| | |||||
* | Added examples and more docs to base64 module. | Dominik Picheta | 2015-09-17 | 1 | -0/+37 |
| | |||||
* | lib: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 1 | -21/+21 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | Some docgen fixes. | Dominik Picheta | 2014-09-13 | 1 | -0/+1 |
| | |||||
* | updated base64.nim | Araq | 2014-08-28 | 1 | -127/+127 |
| | |||||
* | big rename | Araq | 2014-08-27 | 1 | -1/+1 |
| | |||||
* | Fixes base64 crash. | Dominik Picheta | 2014-07-26 | 1 | -1/+1 |
| | |||||
* | Added base64 encode overload for arrays of integers/bytes | onionhammer | 2013-10-30 | 1 | -116/+126 |
| | |||||
* | fixes base64 module | Araq | 2013-08-15 | 1 | -6/+8 |
| | |||||
* | Removes executable bit for text files. | Grzegorz Adam Hankiewicz | 2013-03-16 | 1 | -0/+0 |
| | |||||
* | non-nil AST; continue after errors for IDE support | Araq | 2011-02-12 | 1 | -0/+0 |
| | |||||
* | base64: decoding works | Araq | 2010-10-23 | 1 | -20/+6 |
| | |||||
* | added base64 module; decoding still broken | Araq | 2010-10-23 | 1 | -0/+129 |