Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-14 | Remove unused clauses in asn1ct_gen:emit/1 | Björn Gustavsson | |
2017-03-14 | Clean up use of asn1ct_gen:emit/1 | Björn Gustavsson | |
Stop up using asn1ct_gen:emit/1 with a tuple instead of a list. Also remove the remaining uses of asn1ct_gen:demit/1. | |||
2017-03-14 | Remove the 'debug' option | Björn Gustavsson | |
The debug option no longer serves any useful purpose. | |||
2017-03-14 | Only generate needed single quotes around function names | Björn Gustavsson | |
That will make code slightly easier to read. | |||
2017-03-14 | asn1ct_gen_ber_bin_v2: Remove unused code | Björn Gustavsson | |
The code is not covered. The code is also not present in the PER backend. Here is a somewhat more formal proof that the code cannot be reached: asn1ct_gen_ber_bin_v2:gen_encode_user/3 calls asn1ct_gen:gen_encode_constructed/4 where Typename is a list of one element. asn1ct_gen:gen_encode_constructed/4 will call asn1ct_gen_ber_bin_v2:gen_encode/3 via asn1ct_gen:gen_types/4. Note that if InnerType in asn1ct_gen:gen_encode_constructed/4 is 'SEQUENCE OF' or 'SET OF', Typename will be extended to a list with two elements. If InnerType in asn1ct_gen:gen_encode_constructed/4 is 'SET', 'SEQUENCE', or 'CHOICE', then asn1ct_gen_ber_bin_v2:gen_encode/3 will be called with the last argument being a #'ComponentType'{}. asn1ct_gen_ber_bin_v2:gen_encode/3 will in that cause extend Typename before calling itself recursively. Therefore, Typename is always a list with at least two elements when the removed code is called. | |||
2017-03-14 | asn1ct_gen_per: Fix broken dialyzer suppression function | Björn Gustavsson | |
ce431409d0daba broke generation of dialyzer suppressions for per and uper. While we are it, add type tests to asn1ct_func:is_used/1 to avoid similar problems in the future. | |||
2017-03-14 | asn1_erl_nif.c: Correct handling of tags >= 16384 | Björn Gustavsson | |
Tags number above 16383 were not decoded correctly in ber_decode_tag(). We could fix the problem, but there does not seem to be any need. First, the only way that high tag numbers can be created is with manual tagging; after 1994 manual tagging is no longer recommended. Second, the ASN.1 playground (http://asn1-playground.oss.com) only supports tags up to 16383 (the same is presumably true for OSS Nokalva's other tools). Therefore, clean up the existing code and make it an explicit 'invalid_tag' error when tags above 13383 are encountered (instead of an implicit 'wrong_tag' error). | |||
2017-03-13 | Merge branch 'maint' | Rickard Green | |
* maint: Fix xml warnings in old release notes | |||
2017-03-13 | Fix xml warnings in old release notes | Rickard Green | |
2017-03-13 | beam_type: Avoid an internal consistency check failure | Björn Gustavsson | |
Code such as the following: -record(x, {a}). f(R, N0) -> N = N0 / 100, if element(1, R#x.a) =:= 0 -> N end. would fail to compile with the following message: m: function f/2+19: Internal consistency check failed - please report this bug. Instruction: {fmove,{fr,0},{x,1}} Error: {uninitialized_reg,{fr,0}}: This bug was introduced in 348b5e6bee2f. Basically, the beam_type pass placed the fmove instruction in the wrong place. Instructions that store to floating point registers and instructions that read from floating point registers are supposed to be in the same basic block. Fix the problem by flushing all floating points instruction before a call the pseudo-BIF is_record/3, thus making sure that the fmove instruction is placed in the correct block. Here is an annotated listing of the relevant part of the .S file (before the fix): {test_heap,{alloc,[{words,0},{floats,1}]},2}. {fconv,{x,1},{fr,0}}. {fmove,{float,100.0},{fr,1}}. fclearerror. {bif,fdiv,{f,0},[{fr,0},{fr,1}],{fr,0}}. {fcheckerror,{f,0}}. %% The instruction {fmove,{fr,0},{x,1}} should have %% been here. %% Block of instructions expanded from a call to %% the pseudo-BIF is_record/3. (Expanded in a later %% compiler pass.) {test,is_tuple,{f,3},[{x,0}]}. {test,test_arity,{f,3},[{x,0},2]}. {get_tuple_element,{x,0},0,{x,2}}. {test,is_eq_exact,{f,3},[{x,2},{atom,x}]}. {move,{atom,true},{x,2}}. {jump,{f,4}}. {label,3}. {move,{atom,false},{x,2}}. {label,4}. %% End of expansion. %% The fmove instruction that beam_validator complains %% about. {fmove,{fr,0},{x,1}}. Reported-by: Richard Carlsson | |||
2017-03-13 | Fix small typos | Dimitar Haralanov | |
2017-03-13 | edoc: Don't generate timestamps in footer | Richard Carlsson | |
2017-03-13 | Merge branch 'wiml/crypto/rsa-generate-key/ERL-165/PR-1299/OTP-14140' | Hans Nilsson | |
2017-03-13 | hipe: Remove work around for Dialyzer bug | Hans Bolinder | |
The bug in Dialyzer is fixed in commit 5ac2943. | |||
2017-03-12 | Fix return value of obsolete_1(rpc,safe_multi_server_call,A) | Aggelos Giantsios | |
The following calls: - otp_internal:obsolete(rpc, safe_multi_server_call, 2). - otp_internal:obsolete(rpc, safe_multi_server_call, 3). threw an unhandled exception. The return value has been amended to match the relevant pattern of obsolete/3. | |||
2017-03-10 | Update copyright year | Rickard Green | |
2017-03-10 | observer: Add a max carrier size column | Dan Gudmundsson | |
Users wanted to see the maximum value seen by observer during it's uptime. Note changes faster than the sample rate will still be missed. | |||
2017-03-10 | observer: Draw dotted lines for dirty cpu threads | Dan Gudmundsson | |
In OTP-20 dirty_schedulers are default on. Draw them dotted so we can difference between real schedulers and dirty schedulers. | |||
2017-03-10 | parsetools: Fix handling of locations and annotations | Hans Bolinder | |
2017-03-10 | Merge branch 'hasse/dialyzer/fix_plt_suite' | Hans Bolinder | |
* hasse/dialyzer/fix_plt_suite: dialyzer: Correct a test case | |||
2017-03-10 | dtls: Correct version check | Ingela Anderton Andin | |
2017-03-10 | dtls: Test case fixes | Ingela Anderton Andin | |
2017-03-10 | erl_tar: Close files after reading from a tar file | Björn Gustavsson | |
Also let the test suite verify that all files that are opened will be closed before the end of each test case. aa0c4b0df7cdc7 introduced the file descriptor leak. | |||
2017-03-10 | Merge branch 'egil/tools/fix-makefile' | Björn-Egil Dahlberg | |
* egil/tools/fix-makefile: tools: Remove percept from makefile | |||
2017-03-09 | ssh: documents ssh:daemon_info/1 | Hans Nilsson | |
2017-03-09 | ssh: Host and Profile info returned in ssh:daemon_info | Hans Nilsson | |
2017-03-09 | public_key: Bugfix public_key:generate_key({namedCurve,OID}) | Hans Nilsson | |
2017-03-09 | Merge branch 'maint' | Hans Nilsson | |
2017-03-09 | ssh: Update .app file | Hans Nilsson | |
2017-03-09 | public_key: updated crypto dependence in .app.src | Hans Nilsson | |
2017-03-09 | public_key: RSA key gen documentation | Hans Nilsson | |
2017-03-09 | public_key: Make test suites use the new RSA key generation function | Hans Nilsson | |
2017-03-09 | public_key: New -spec for public_key:generate_key/1 | Hans Nilsson | |
2017-03-09 | public_key: Add RSA to public_key:generate_key/1 | Hans Nilsson | |
2017-03-09 | crypto: Document exceptions thrown in crypto:generate_key | Hans Nilsson | |
2017-03-09 | crypto: Uppdate crypto.app.src for dirty_scheduler dependency in ERTS | Hans Nilsson | |
2017-03-09 | crypto: removed error function from PR and added error handling in crypto.erl | Hans Nilsson | |
2017-03-09 | Run preprocess when generating xmerl documentation in test | Siri Hansen | |
2017-03-09 | Merge branch 'maint' | Siri Hansen | |
Conflicts: lib/kernel/src/kernel.appup.src lib/stdlib/src/stdlib.appup.src | |||
2017-03-09 | Merge branch 'siri/appups-19.3' into maint | Siri Hansen | |
* siri/appups-19.3: Update appups in kernel and stdlib for OTP-19.3 | |||
2017-03-09 | Merge PR-1360 from margnus1/hipe-codegen/OTP-14261 | Sverker Eriksson | |
HiPE: Various small code cleanups and codegen improvements | |||
2017-03-09 | tools: Remove percept from makefile | Björn-Egil Dahlberg | |
2017-03-09 | Merge branch 'siri/typer/remove-application/OTP-14251' | Siri Hansen | |
* siri/typer/remove-application/OTP-14251: Remove typer application | |||
2017-03-08 | dialyzer: Correct a test case | Hans Bolinder | |
2017-03-08 | Remove typer application | Siri Hansen | |
The application now has an own repo, https://github.com/erlang/typer | |||
2017-03-08 | diameter: Fix handling of locations and annotations | Hans Bolinder | |
2017-03-08 | kernel: Fix handling of locations and annotations | Hans Bolinder | |
2017-03-08 | compiler: Fix handling of locations and annotations | Hans Bolinder | |
2017-03-08 | eunit: Fix handling of locations and annotations | Hans Bolinder | |
2017-03-08 | dialyzer: Fix handling of annotations in a test | Hans Bolinder | |