aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2017-03-14asn1_erl_nif.c: Correct handling of tags >= 16384Bjö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-13stdlib: Remove test cases for R12 io protocolSverker Eriksson
2017-03-13Merge branch 'maint'Rickard Green
* maint: Fix xml warnings in old release notes
2017-03-13Fix xml warnings in old release notesRickard Green
2017-03-13kernel: Make DFLAG_UTF8_ATOMS mandatorySverker Eriksson
2017-03-13kernel: Rewrite distribution flag verificationSverker Eriksson
2017-03-13beam_type: Avoid an internal consistency check failureBjö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-13Fix small typosDimitar Haralanov
2017-03-13tools: Update assumptions in lcnt about external atom formatSverker Eriksson
2017-03-13edoc: Don't generate timestamps in footerRichard Carlsson
2017-03-13Merge branch 'wiml/crypto/rsa-generate-key/ERL-165/PR-1299/OTP-14140'Hans Nilsson
2017-03-13improve line-heigt for main description at landing pageMariano Guerra
2017-03-13link logo to index.html and not to root folderMariano Guerra
2017-03-13define all font-sizes with em unitsMariano Guerra
2017-03-13unify all paddings of content boxesMariano Guerra
2017-03-13improve class names for fun and fun param typesMariano Guerra
2017-03-13remove black color from codeMariano Guerra
2017-03-13make text smaller for tables and code samplesMariano Guerra
2017-03-13make max-width 42em for content divMariano Guerra
2017-03-13remove border and padding from code wordsMariano Guerra
2017-03-13fix line-height for titlesMariano Guerra
2017-03-13match do's and dont's dialogs to note and warningMariano Guerra
2017-03-13center images, make image caption markup semanticMariano Guerra
2017-03-13make Types title smaller, remove colonMariano Guerra
2017-03-13func-heads should have a new line after themMariano Guerra
2017-03-13reduce max-width on p and #content to 60emMariano Guerra
2017-03-13set base font-size to 16pxMariano Guerra
2017-03-13set max-width: 80em; to #content containerMariano Guerra
2017-03-13use recommended line-heightMariano Guerra
2017-03-13set default font sizeMariano Guerra
2017-03-13code words that are links should look like linksMariano Guerra
2017-03-13add classes to all blocksMariano Guerra
2017-03-13erlang logo is a link to the root of docsMariano Guerra
2017-03-13align section-links on main page to the leftMariano Guerra
2017-03-13fix and unify font-familyMariano Guerra
2017-03-13align left panel link lists to the leftMariano Guerra
2017-03-13update flipmenu iconsMariano Guerra
2017-03-13indent exports and data types section bodiesMariano Guerra
2017-03-13remove extra margin from code blocksMariano Guerra
2017-03-13remove white-space: pre, it broke some words in two linesMariano Guerra
2017-03-13add max width to paragraphsMariano Guerra
2017-03-13make code tokens more easy to differentiateMariano Guerra
2017-03-13make text a little darkerMariano Guerra
2017-03-13improve text spacing, center footerMariano Guerra
2017-03-13add progressive enhanced syntax highlighterMariano Guerra
it loads a script at the end of the page that loads the required resources and initializes the syntax highlighter. if js is disabled or blocked nothing happens, the code blocks will display with the style they had until now
2017-03-13add style for hrMariano Guerra
2017-03-13split logo from top menu to change menu orderMariano Guerra
2017-03-13force black on title anchorsMariano Guerra
2017-03-13simplify font-family choiceMariano Guerra
2017-03-13anchor section shouldn't look like a linkMariano Guerra