Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-29 | Merge branch 'egil/maps/OTP-11616' | Björn-Egil Dahlberg | |
* egil/maps/OTP-11616: (112 commits) compiler: Add core compile test for maps compiler: Fix core parse for Maps compiler: Fixup #map_pair{} spec erts: Strengthen map_SUITE tests erts: Update maps_fold test to respect maps:fold/3 stdlib: Make maps:fold/3 order-independent erts: Fixup enif_make_map_put on windows erts: Update preloaded erts_internal.beam hipe: Fixup update cerl pretty printer erts: Add map construction to driver API dialyzer: Add maps tests dialyzer: Remove dead code dialyzer: Reflect map_pair core changes in dialyzer hipe: Update cerl pretty printer compiler: Update inliner tests compiler: Squash #c_map_pair_*{} to #c_map_pair{} compiler: Squash #k_map_pair_*{} to #k_map_pair{} preloaded: Fixup export cmp_term in erts_internal erts: Change 'size' argument of enif_get_map_size from int* to size_t* erts: Fix compile error for halfword emulator ... | |||
2014-01-29 | compiler: Add core compile test for maps | Björn-Egil Dahlberg | |
2014-01-29 | compiler: Fix core parse for Maps | Björn-Egil Dahlberg | |
2014-01-29 | compiler: Fixup #map_pair{} spec | Björn-Egil Dahlberg | |
2014-01-29 | stdlib: Make maps:fold/3 order-independent | Björn-Egil Dahlberg | |
This means replacing maps:foldl/3 and maps:foldr/3 with maps:fold/3. | |||
2014-01-29 | hipe: Fixup update cerl pretty printer | Björn-Egil Dahlberg | |
2014-01-29 | dialyzer: Add maps tests | Björn-Egil Dahlberg | |
2014-01-29 | dialyzer: Remove dead code | Björn-Egil Dahlberg | |
2014-01-29 | dialyzer: Reflect map_pair core changes in dialyzer | Björn-Egil Dahlberg | |
2014-01-29 | hipe: Update cerl pretty printer | Björn-Egil Dahlberg | |
2014-01-29 | compiler: Update inliner tests | Björn-Egil Dahlberg | |
2014-01-29 | compiler: Squash #c_map_pair_*{} to #c_map_pair{} | Björn-Egil Dahlberg | |
Simplify compiler internals and parsing of core format. | |||
2014-01-29 | compiler: Squash #k_map_pair_*{} to #k_map_pair{} | Björn-Egil Dahlberg | |
Simplify compiler internals for kernel passes. | |||
2014-01-29 | compiler: Fix term order compiler for maps | Björn-Egil Dahlberg | |
2014-01-29 | Merge branch 'bjorn/fna-default/OTP-11612' | Björn Gustavsson | |
* bjorn/fna-default/OTP-11612: Change the default file name encoding mode to +fnaw | |||
2014-01-29 | Merge branch 'bjorn/asn1/erlang-types/OTP-11594' | Björn Gustavsson | |
* bjorn/asn1/erlang-types/OTP-11594: Update documentation Fix open types Fix OCTET STRING Fix BIT STRING Add legacy_erlang_types asn1 test suite: Modernize testTimer_* and testTimer.erl testPrimStrings: Run test of fragmented strings for PER too | |||
2014-01-28 | stdlib: Strengthen Map module with guards | Björn-Egil Dahlberg | |
This commit requires Map enabled bootstrap compiler. | |||
2014-01-28 | stdlib: Pretty print maps | Björn-Egil Dahlberg | |
Pretty printing behaviour mimic records. This commit requires Map enabled bootstrap compiler. | |||
2014-01-28 | stdlib: Remove bogus map() type | Björn-Egil Dahlberg | |
2014-01-28 | erts,stdlib: Change map module name to maps | Björn-Egil Dahlberg | |
Name conforms to EEP. | |||
2014-01-28 | erts,stdlib: Teach matchspec compiler map guards | Björn-Egil Dahlberg | |
2014-01-28 | stdlib: Fixup id_transform_SUITE | Björn-Egil Dahlberg | |
2014-01-28 | typer: Rename map() type to map_dict() | Björn-Egil Dahlberg | |
The name conflicted with builtin type map(). | |||
2014-01-28 | edoc: Add test for Maps in EDoc | Björn-Egil Dahlberg | |
2014-01-28 | edoc,syntax_tools: Teach Map understanding | Björn-Egil Dahlberg | |
2014-01-28 | dialyzer,hipe,stdlib: Add Maps understanding to Dialyzer | Björn-Egil Dahlberg | |
2014-01-28 | Merge branch 'lukas/erts/sendfile_no_async_pool/OTP-11639' | Lukas Larsson | |
* lukas/erts/sendfile_no_async_pool/OTP-11639: erts/kernel: sendfile no longer uses async threads | |||
2014-01-28 | Merge branch 'ia/RoadRunner/tls-validate-options/OTP-11634' | Ingela Anderton Andin | |
* ia/RoadRunner/tls-validate-options/OTP-11634: ssl: use is_boolean/1 guard in option validation | |||
2014-01-28 | ssl: use is_boolean/1 guard in option validation | Andreas Schultz | |
2014-01-28 | Change the default file name encoding mode to +fnaw | Björn Gustavsson | |
2014-01-28 | Update documentation | Björn Gustavsson | |
2014-01-28 | Merge branch 'siri/appup_tests_17/OTP-11534' | Siri Hansen | |
* siri/appup_tests_17/OTP-11534: Update sasl appup test to work for OTP release 17 Update stdlib appup test to work for OTP release 17 Update kernel appup test to work for OTP release 17 | |||
2014-01-28 | stdlib: Add Map module | Björn-Egil Dahlberg | |
The map type is set to term. | |||
2014-01-28 | stdlib: Update erl_scan_SUITE for ':=' and '=>' tokens | Björn-Egil Dahlberg | |
2014-01-28 | stdlib: Deny variables as keys and disallow ':=' in map construction | Björn-Egil Dahlberg | |
In the current iteration of Maps we should deny *any* variables in Map keys. | |||
2014-01-28 | stdlib: Teach erl_eval Maps ':=' exact operator | Björn-Egil Dahlberg | |
2014-01-28 | compiler: Rename map pattern to proper name | Björn-Egil Dahlberg | |
2014-01-28 | compiler: Add Maps types to cerl | Björn-Egil Dahlberg | |
2014-01-28 | compiler: Format stacktrace on error | Björn-Egil Dahlberg | |
2014-01-28 | compiler: Teach Maps to beam_disasm | Björn-Egil Dahlberg | |
2014-01-28 | compiler: Fix v3_core for map update syntax | Björn-Egil Dahlberg | |
Make map update expressions safe, i.e. (foo())#{ k1 := 1 } | |||
2014-01-28 | compiler: Fix get_map_element bug with allocate | Björn-Egil Dahlberg | |
The instruction get_map_element has a faillabel so you may not use the instruction within a allocate/deallocate block. | |||
2014-01-28 | compiler: Test Maps inlining | Björn-Egil Dahlberg | |
2014-01-28 | compiler: Teach Maps understanding to inliner | Björn-Egil Dahlberg | |
2014-01-28 | compiler: Implement different instructions for => and := | Björn Gustavsson | |
2014-01-28 | Pass the map pair operators through to the v3_codegen pass | Björn Gustavsson | |
2014-01-28 | sys_core_fold: Remove optimization that has become invalid | Björn Gustavsson | |
With the => and := operators for updating maps, this optimization is no longer valid. | |||
2014-01-28 | compiler: Implement support for exact Op in Maps | Björn-Egil Dahlberg | |
The syntax is handled upto v3_kernel where it is reduced to previous behaviour for construction and updates. Meaning, the ':=' operator is handled exactly as '=>' operator. | |||
2014-01-28 | Extend representation for maps in Core Erlang | Björn-Egil Dahlberg | |
2014-01-28 | Update erl_lint, erl_expand_records, sys_pre_expand for Maps | Björn-Egil Dahlberg | |
Update erlang lint and syntax expand for #{ K := V } |