Ariel Otilibili
15126e0048
Replaced random_uniform/1 by rand:uniform/1
...
* leftover of 5118421f6f
* code base contains only one occurence of random_uniform/1
```
$ git grep random_uniform
src/ec_file.erl: UniqueNumber = erlang:integer_to_list(erlang:trunc(random_uniform() * 1000000000000)),
src/ec_file.erl:random_uniform() ->
```
2024-06-20 13:17:41 +02:00
Fred Hebert
1a42c54981
Merge pull request #177 from ariel-anieli/issue-173-and-type-annotation-change
2024-06-03 19:58:48 -04:00
Ariel Otilibili
ccc1be32be
Changed type annotation
...
Used 'intensity' in declaration of 'state_t'.
2024-06-03 23:33:10 +02:00
Ariel Otilibili
5f40d8f061
Resolved dialyzer warning on colorize/4
...
Fixes #173 .
2024-06-03 23:32:17 +02:00
Fred Hebert
75c6bae602
Merge pull request #176 from ariel-anieli/github-action-and-otp-bump
...
GitHub action renaming & OTP bump
2024-06-01 10:54:37 -04:00
Ariel Otilibili
ab7eb3874f
OTP bump
...
```
curl --silent https://packages.debian.org/search?keywords=erlang | \
sed -ne '/Package erlang</,/<\/ul>/{/<\/a>/p; /br/p}' | \
sed -e 's/<a.*$//' | \
perl -0777 -pE 's/<li class="(\w+)">\n/$1/g; s/<br>([^\s]+)/$1/g; s/\+.*(?=\n)//g' | \
sed -e '1i name otp-version' | \
column -t
name otp-version
buster 1:22.2.7
bullseye 1:23.2.6
bookworm 1:25.2.3
trixie 1:25.3.2.12
sid 1:25.3.2.12
experimental 1:27.0
```
2024-05-27 16:26:41 +02:00
Ariel Otilibili
2636b5e21d
Renaming in GitHub actions
2024-05-27 16:26:41 +02:00
Fred Hebert
d6315a9541
Merge pull request #175 from ariel-anieli/remove-rebar2-cfg-script
...
Removed rebar2 case in rebar.config.script
2024-05-16 09:44:14 -04:00
Ariel Otilibili
f9ffd1ce6b
Removed rebar2 case in rebar.config.script
...
* introduced by 505d35996d
* rebar2 is now deprecated [1].
[1] https://github.com/rebar/rebar
2024-05-15 22:20:43 +02:00
Fred Hebert
182c30a950
Merge pull request #172 from ariel-anieli/otp-bump
...
OTP bump
2024-03-18 13:17:36 -04:00
Ariel Otilibili
63b1798b1e
OTP bump
...
* sequel of 17e6f89078
* added R26 in CI/CD, and cleared out dialyzer warnings
* from R26, by default, `-Wno_unknown` suppresses warnings [1]
* in R25, it was the reverse behavior: `-Wunknown` allows warnings [2].
[1] https://www.erlang.org/doc/man/dialyzer.html#warning_options
[2] https://www.erlang.org/docs/25/man/dialyzer#format_warning-1
2024-03-18 01:01:08 +01:00
Fred Hebert
cb3983741e
Merge pull request #171 from ariel-anieli/pr-stacktrace
...
Removed unicode_str & fun_stacktrace
2024-03-13 14:21:29 -04:00
Ariel Otilibili
f378d3ec46
Removed unicode_str
...
* introduced in f8f72b7cc5
* introduced for working around compile warning starting from R20
* CI/CD uses R23 and onwards.
2024-03-07 06:58:59 +01:00
Ariel Otilibili
c0a02892cd
Removed fun_stacktrace
...
* introduced in ad2d57d8b6
* CI/CD uses R23 and onwards
* erlang:get_stacktrace/0 removed in R23.
[1] https://www.erlang.org/doc/general_info/removed#functions-removed-in-otp-23
2024-03-07 06:58:52 +01:00
Fred Hebert
5de3c80cc2
Merge pull request #170 from ariel-anieli/pr-otp-bump
...
Bumped OTP versions
2024-02-21 16:45:29 -05:00
Ariel Otilibili
17e6f89078
Bumped OTP versions
...
* aligned OTP versions with Debian
* keeps versions from bullseye (old stable) to sid (unstable).
```
$ curl --silent https://packages.debian.org/search?keywords=erlang | \
sed -ne '/Package erlang</,/<\/ul>/{/<\/a>/p; /br/p}' | \
sed -e 's/<a.*$//' | \
perl -0777 -pE 's/<li class="(\w+)">\n/$1/g; s/<br>([^\s]+)/$1/g; s/\+.*(?=\n)//g' | \
sed -e '1i name otp-version' | \
column -t
name otp-version
buster 1:22.2.7
bullseye 1:23.2.6
bookworm 1:25.2.3
trixie 1:25.3.2.8
sid 1:25.3.2.8
experimental 1:26.2.1
$ curl -I https://packages.debian.org/search?keywords=erlang
HTTP/2 200
date: Tue, 20 Feb 2024 22:21:53 GMT
server: Apache
last-modified: Tue, 20 Feb 2024 21:50:40 GMT
vary: Accept-Encoding,negotiate,accept-language
x-clacks-overhead: GNU Terry Pratchett
expires: Wed, 21 Feb 2024 09:04:02 +0000
x-content-type-options: nosniff
x-frame-options: sameorigin
referrer-policy: no-referrer
x-xss-protection: 1
permissions-policy: interest-cohort=()
strict-transport-security: max-age=15552000
age: 1873
content-length: 184625
content-type: text/html; charset=UTF-8
```
2024-02-21 22:05:14 +01:00
Fred Hebert
86a6c6ea65
Merge pull request #169 from ariel-anieli/pr-ns-types
...
Removed namespaced_types
2024-02-20 12:47:25 -05:00
Ariel Otilibili
2286a6ed9b
Removed namespaced_types
...
* introduced for handling deprecated types existing before R17
* introduced in 523a66ad74
* CI/CD handles R19 up to R24
* R19 and onwards have dict:dict/0 [1,2]
[1] https://www.erlang.org/docs/19/man/dict
[2] https://www.erlang.org/docs/24/man/dict#type-dict
2024-02-17 22:04:50 +01:00
Fred Hebert
7b7d5b559d
Merge pull request #168 from ariel-anieli/pr-callback
...
Removed have_callback_support
2024-02-07 15:51:03 -05:00
Ariel Otilibili
eca2d2129c
Removed have_callback_support
...
* introduced by 95f723e1e0
* mentioned as well in 47bcbd49b6
* introduced for compatibility with OTP R14
* CI/CD now tests from R19 and onwards.
2024-02-04 12:39:42 +01:00
Fred Hebert
20d049ea4f
Merge pull request #167 from ariel-anieli/pr-deprecation-cond
...
Removed checks on deprecated crypto:sha/1 & random:uniform/0
2024-01-12 15:59:41 -05:00
Ariel Otilibili
5118421f6f
Removed checks on deprecated random module
2024-01-12 19:50:54 +01:00
Ariel Otilibili
685f08621b
Removed conditions on deprecated cryptos and rand modoles
...
* CI/CD lowest OTP version is 19.3
* from 19.3, `rand` module exists (https://www.erlang.org/docs/19/man/rand )
* from 19.3, `crypto:hash/1` exists (https://www.erlang.org/docs/19/man/crypto ).
2024-01-12 19:46:27 +01:00
Fred Hebert
952a1d2bc6
Merge pull request #166 from ariel-anieli/pr-typo-checksums-ec_file
...
[src/ec_file.erl] Factorization & typos, in sha1sum/1 & md5sum/1
2024-01-08 11:58:18 -05:00
Ariel Otilibili
fc69b3630c
turn_digest_into_hex/1 renamed as bin_to_hex/1
2023-12-21 08:43:36 +01:00
Ariel Otilibili
6781f1ba6a
Factorized digest-to-hex transform; used in three functions
2023-12-20 23:58:44 +01:00
Ariel Otilibili
bbdbbf313f
Typos, and replaced 'checksum' with 'digest': more consistent with Erlang documentation
2023-12-20 23:56:27 +01:00
Fred Hebert
19c717fb97
Merge pull request #165 from ariel-anieli/pr-typos
...
[doc/signatures.md] Fixed typos, mis-naming, and syntax highlighting
2023-12-18 16:18:28 -05:00
Ariel
6e9c1b0a22
Another typo in math mode
2023-12-18 21:26:06 +01:00
Ariel
7e69d4949e
Replaced tab by four spaces
2023-12-18 21:19:24 +01:00
Ariel
68e9bbcd0f
Typo in math mode
2023-12-18 21:00:25 +01:00
Ariel
cd88825861
Syntax highlighted in code snippets
2023-12-18 20:59:57 +01:00
Ariel
5c5c264241
For formulae, used Markdown math mode
2023-12-18 20:33:17 +01:00
Ariel
6d4c471ff6
Fixed typos and misnamings
2023-12-18 20:31:49 +01:00
Ariel
62a985b937
Instead of three colons, syntax is highlighted with three backticks
2023-12-18 20:29:17 +01:00
Fred Hebert
7c4911795e
Merge pull request #164 from ariel-anieli/pr-redundant-parse
...
Removed other redudant clauses in local parse/3
2023-12-10 11:15:31 -05:00
Ariel
ad4b944fc6
Removed other redudant clauses; same behaviour than https://github.com/erlware/erlware_commons/pull/162
2023-12-10 17:08:41 +01:00
Fred Hebert
4d5811d99b
Merge pull request #162 from ariel-anieli/issue-70-redundant-parse
...
Removed redudant clauses in local parse/3
2023-12-09 19:48:06 -05:00
Fred Hebert
04c0d4fc84
Merge pull request #163 from ariel-anieli/issue-138-rumany-typos
...
runmany_wrap/2 didn't call Fun: missing parens
2023-12-09 19:47:05 -05:00
Ariel
378b88587c
Fix for https://github.com/erlware/erlware_commons/issues/138
2023-12-10 01:04:46 +01:00
Ariel
d5183f5336
Removed redudant clauses in local parse/3
2023-12-09 14:07:13 +01:00
Fred Hebert
eeb25f4b7f
Merge pull request #161 from kianmeng/fix-typos
...
Fix typos
2021-12-20 09:14:07 -05:00
Kian-Meng, Ang
8dd7378a75
Fix typos
2021-12-19 17:36:19 +08:00
Fred Hebert
4406d56135
Merge pull request #160 from FlyingLu/patch-1
...
fixed incorrect 'G' in the format parameter string
2021-11-02 12:52:06 -04:00
FlyingLu
e89e95de5f
Added more test cases.
...
Added more test cases to show the difference between 'G' and 'H'.
2021-11-03 00:11:05 +08:00
FlyingLu
791729c30a
Fixed the incorrect macro.
2021-11-02 11:27:57 +08:00
FlyingLu
d34da1d107
fixed incorrect 'G' in the format parameter string
...
In the format parameter string, 'G' should have represented 24-hour format of an hour WITHOUT leading zeros.
But it actually results in 24-hour format of an hour WITH leading zeros.
2021-11-01 16:24:15 +08:00
Tristan Sloughter
ad559ae1f5
Merge pull request #158 from ferd/support-unicode-strings
...
Support Unicode string formatting
2021-08-09 09:33:43 -06:00
Fred Hebert
916539338f
Support Unicode string formatting
...
Fixes https://github.com/erlware/erlware_commons/issues/157
2021-08-09 15:06:57 +00:00
Fred Hebert
2a758c9ec7
Merge pull request #156 from paulo-ferraz-oliveira/feature/ci-otp-24.0
...
Tweak CI versions (add 24.0, move 23.2 to 23.3)
2021-05-14 08:27:54 -04:00