summaryrefslogtreecommitdiff
path: root/lib/asn1
Commit message (Collapse)AuthorAgeFilesLines
* Prepare releaseErlang/OTP2023-05-152-1/+41
|
* Update copyright yearErlang/OTP2023-05-151-1/+1
|
* Merge pull request #7095 from frej/frej/fix-unmatched-alloc-freeBjörn Gustavsson2023-04-141-1/+1
|\ | | | | asn1: Fix warning about mismatched allocation function
| * asn1: Fix mismatched allocation functionFrej Drejhammar2023-04-111-1/+1
| | | | | | | | | | | | | | | | Fix bug with mismatched allocator/deallocator for `enif_alloc`/`enif_free`. This error was detected as `enif_alloc` is declared with the `malloc` attribute and recent GCCs complain that: "‘free’ called on pointer returned from a mismatched allocation function".
* | Revert "Prepare release"Henrik Nord2023-04-122-41/+1
| | | | | | | | This reverts commit d4e4511b19f4126d9271a6e3a8fa2eb716da7e85.
* | Prepare releaseErlang/OTP2023-04-112-1/+41
| |
* | Update copyright yearErlang/OTP2023-04-111-1/+1
|/
* Merge pull request #7039 from montag451/asn1ct-fix-relative-oid-validationKenneth Lundin2023-04-043-3/+9
|\ | | | | | | asn1: fix RELATIVE-OID validation OTP-18534
| * asn1: fix RELATIVE-OID validationmontag4512023-03-223-3/+9
| |
* | Revert "Prepare release"Henrik Nord2023-03-222-27/+1
| | | | | | | | This reverts commit 1cf126f91eb533783409da95b117207d8c13d9aa.
* | Prepare releaseErlang/OTP2023-03-212-1/+27
| |
* | Update copyright yearErlang/OTP2023-03-214-4/+4
|/
* asn1: Use map comprehensionsBjörn Gustavsson2023-03-014-12/+8
|
* Revert "Prepare release"Henrik Nord2023-02-152-27/+1
| | | | This reverts commit 587341d994f91af5b30483ee9434e932e3d7b802.
* Prepare releaseErlang/OTP2023-02-142-1/+27
|
* Update copyright yearErlang/OTP2023-02-141-1/+1
|
* Use internal wildcard function from -on_loadRaimo Niskanen2023-02-131-4/+8
| | | | | | The file server may not be started in embedded mode, so we have to use our own undocumented option to filelib:wildcard/2 to avoid hanging, waiting fo the file server, in embedded mode...
* Merge branch 'maint' into masterHenrik Nord2022-12-141-1/+1
|\ | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * Update copyright yearErlang/OTP2022-12-121-1/+1
| |
* | Merge branch 'maint'Björn Gustavsson2022-11-071-1/+8
|\ \ | |/ | | | | | | | | | | | | | | | | * maint: compiler: Eliminate internal error in sub pass ssa_opt_bsm_shortcut Eliminate Dialyzer crash for ill-typed code compile_SUITE: Make core_roundtrip/1 less resource-intensive compile_SUITE: Avoid eaccess error during cleanup on Windows asn1, compiler: Avoid running out of memory on Windows Fix filelib_SUITE:ensure_path_invalid_path/1
| * asn1, compiler: Avoid running out of memory on WindowsBjörn Gustavsson2022-10-281-1/+8
| | | | | | | | | | | | | | | | | | If a test machine has many CPU cores but is running the 32-bit version of Windows, some of the memory-intensive tests such a compile_SUITE:core_roundtrip/1 can easily run out of memory if all cores are used. Avoid this by limiting the number of parallel processes started by asn1_test_lib:p_run/2 and test_lib:p_run/2.
* | Replace some uses of ets:lookup by ets:lookup_element in the stdlibRobin Morisset2022-10-171-7/+4
| | | | | | | | | | | | When only one field of an ETS record is needed, using ets:lookup_element is usually faster than ets:lookup. This patch makes sure that we do so whenever possible, taking advantage of the recently landed ets:lookup_element/4 (https://github.com/erlang/otp/pull/6234) in places.
* | asn1: Use maybe ... endBjörn Gustavsson2022-10-061-9/+8
|/
* Merge branch 'maint-24' into maintBjörn Gustavsson2022-10-051-0/+17
|\ | | | | | | | | | | | | * maint-24: Updated OTP version Prepare release Update copyright year
| * Prepare releaseErlang/OTP2022-10-042-1/+18
| |
| * Update copyright yearErlang/OTP2022-10-045-5/+5
| |
* | Prepare releaseErlang/OTP2022-10-032-1/+18
| |
* | Update copyright yearErlang/OTP2022-10-034-4/+4
| |
* | Merge branch 'bjorn/asn1/fix-huge-seqof/ERIERL-859/OTP-18245' into maint-25Erlang/OTP2022-10-036-44/+232
|\ \ | |/ | | | | | | * bjorn/asn1/fix-huge-seqof/ERIERL-859/OTP-18245: asn1: Support SEQUENCE OF with 16384 or more items
| * asn1: Support SEQUENCE OF with 16384 or more itemsBjörn Gustavsson2022-09-146-44/+232
| | | | | | | | | | | | Implement support for the `per` and `uper` ASN.1 encoding to handle encoding and decoding of SEQUENCE OF/SET OF with 16384 or more items.
* | Prepare releaseErlang/OTP2022-09-202-1/+20
| |
* | Update copyright yearErlang/OTP2022-09-203-3/+3
| |
* | Merge branch 'deterministic-build' of https://github.com/TD5/otp into maintBjörn Gustavsson2022-06-296-7/+82
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'deterministic-build' of https://github.com/TD5/otp: make: Allow OTP to be built deterministically compiler: Make test_lib robust to +deterministic compiler: Make compiler forward +determinsitic flag to epp compiler: Make yecc respect +deterministic compiler: Make leex respect +deterministic compiler: Make asn1ct_gen respect +deterministic compiler: Make EPP respect +deterministic OTP-18165
| * | make: Allow OTP to be built deterministicallyTom Davies2022-06-243-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a --enable-deterministic-build to the configure script, which sets ERL_DETERMINISTIC=yes throughout the relevant Makefiles, which then invoke the relevant build stages with the +deterministic option. This addresses absolute paths being included in generated .erl files and compiled .beam files that resulted in builds from different source directories generating different artefacts (which is a component of the issue in erlang#4482). I think it would make sense to make this the default at some stage, but I've put the change behind a flag for now to decouple making deterministic OTP builds possible from making them the default. Having +deterministic set results in compiler options being removed from the module info for modules where this options was used. This may have other implications for users of OTP. For tests themselves, +determinism is not set, since many test cases depend on accessing the test module's compilation options, or other features not available in deterministic mode, in order to configure themselves. For tests of the determinism feature specifically, +deterministic must be explicitly passed to the compiler within the relevant test cases.
| * | compiler: Make asn1ct_gen respect +deterministicTom Davies2022-05-064-4/+72
| | | | | | | | | | | | | | | Makes asn1ct_gen filter out potentially non-deterministic attributes from generated .erl files when +deterministic is set.
* | | Prepare releaseErlang/OTP2022-05-172-1/+16
|/ /
* | Revert "Prepare release"Henrik Nord2022-04-132-16/+1
| | | | | | | | This reverts commit a2c8df222e6d02fa518d5d6cbbea75a9dd720d30.
* | Prepare releaseErlang/OTP2022-04-112-1/+16
| |
* | Update copyright yearErlang/OTP2022-04-111-1/+1
| |
* | asn1: Use new -nifs([]) attributeSverker Eriksson2022-03-291-0/+4
| |
* | Revert "Prepare release"Henrik Nord2022-03-242-16/+1
| | | | | | | | This reverts commit 435bc5e68dd45ff6f7992077998930519208e910.
* | Prepare releaseErlang/OTP2022-03-232-1/+16
| |
* | Update copyright yearErlang/OTP2022-03-233-3/+3
| |
* | Merge branch 'maint' into masterHenrik Nord2022-03-105-4/+20
|\ \ | |/ | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * Prepare releaseErlang/OTP2022-03-092-1/+17
| |
| * Update copyright yearErlang/OTP2022-03-093-3/+3
| |
* | Merge branch 'maint'Kenneth Lundin2022-03-071-1/+1
|\ \ | |/
| * correction of runtime dependenciesKenneth Lundin2022-03-071-1/+1
| |
* | Merge remote-tracking branch 'origin/maint'Kenneth Lundin2022-03-033-7/+63
|\ \ | |/
| * Merge pull request #5757 from KennethL/kenneth/asn1_jer_maps/GH-5129Kenneth Lundin2022-03-033-7/+63
| |\ | | | | | | OTP-17959: Add support for option 'maps' in the JER backend