summaryrefslogtreecommitdiff
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* test/Makefile: Add a no_copt category of cloned test modulesBjörn Gustavsson2020-03-181-0/+1
| | | | | | It turns out that disabling only the Core Erlang optimizations but running all other passes exposes new bugs in the SSA optimization passes.
* Implement EEP-48 aka doc chunksLukas Larsson2020-02-241-0/+2
|
* otp: Refactor doc make system and introduce EEP-48Lukas Larsson2020-02-241-0/+2
|
* Refactor handling of matched out sizes in binariesBjörn Gustavsson2020-02-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A long time ago binary patterns were extended to allow using a matched out variable as a size of another segment. For example: <<Size:32,Data:Size/binary>> = Binary This extension was carried over to Core Erlang, which made it much more complicated to correctly optimize Core Erlang, since a variable in a pattern could be both new and used. This commit rewrites matching of binaries to split up patterns that match out a variable and uses it in the same pattern. Here is an example: foo(X) -> case X of <<Size:32,Bin:Size/binary>> -> {ok,Bin}; _ -> error end. This function will now be translated to Core Erlang like this: 'foo'/1 = fun (X) -> ( letrec 'second_clause'/0 = fun () -> 'error' in case X of <#{#<Size>(32,1,'integer',['unsigned'|['big']]), #<Tail>('all',1,'binary',['unsigned'|['big']])}#> when 'true' -> case Tail of <#{#<Bin>(Size,8,'binary',['unsigned'|['big']])}#> when 'true' -> {'ok',Bin} Other when 'true' -> apply 'second_clause'/0() end Other when 'true' -> apply 'second_clause'/0() end -| ['letrec_goto'] ) Note that when compiling using `from_core`, it is an error to bind and use a variable in the same pattern. Compilers that generate Core Erlang code must split such patterns into nested cases. The mechanism added in this commit to split clauses should also be possible to use to handle, for example, expressions in binary patterns. Of the compiler passes after the front end, only `v3_core` would have to worry about handling the size expressions. One potential issue with the new way of translating to Core Erlang is that the pattern matching compiler in `v3_kernel` does not see all clauses at once and may generate worse code, that is, evaluating the clauses sequentially instead of in parallel. Here is an example: bar(a) -> a; bar(<<Size:32,Bin:Size/binary>>) -> Bin; bar(c) -> c. Here `v3_kernel` will first generate code for the first two clauses and then for the last clause. It will not be able to combine the matching of the two atom clauses to a single select instruction. However, in this simple case, the SSA code optimizations will be able combine the matching of the two atoms to a select_val instruction. We will probably have to make the pattern matching compiler smarter at handling nested cases to avoid producing worse code than in OTP 22. Alternatively we could add additional optimization of the SSA code.
* Merge branch 'dgud/build-WSL'Dan Gudmundsson2020-01-081-0/+5
|\ | | | | | | | | | | | | | | | | | | * dgud/build-WSL: Add missing files to gitignore Make build installer work from WSL Fix deps generation on Windows Support ssl-1.1.1 on windows when building crypto Setup VC env in otp_build Add wsl config as an environment to otp build tools
| * Add missing files to gitignoreDan Gudmundsson2019-11-121-0/+5
| | | | | | | | Add config caches and temporary helper files
* | Merge pull request #2425 from ↵Lukas Larsson2019-11-011-0/+2
|\ \ | | | | | | | | | | | | JeromeDeBretagne/jdb/fix-Android-compilation-with-newer-NDK-versions/OTP-16264 Update and fix Android cross compilation to support newer Android NDK versions
| * | Update .gitignore for Android cross compilationJérôme de Bretagne2019-11-011-0/+2
| | |
* | | Merge branch 'maint'Lukas Larsson2019-10-231-0/+3
|\ \ \ | |/ / |/| |
| * | otp: Add *.fo in src to gitignoreLukas Larsson2019-10-171-0/+3
| |/ | | | | | | | | New fop versions have changed where they put this intermediate file.
* | Ignore *_no_type_SUITE.erl files in compiler tests directoryBjörn Gustavsson2019-09-191-0/+1
|/
* Add vscode directory to .gitignoreJohn Högberg2019-04-031-0/+3
|
* Merge pull request #2185 from dotsimon/gitignore_asn1_testIngela Andin2019-03-221-6/+0
|\ | | | | Remove asn1/test items from .gitignore
| * Remove asn1/test items from .gitignore that either don't exist or shouldn't ↵Simon Cornish2019-03-181-6/+0
| | | | | | | | be ignored
* | Testing of the example gen_tcp_dist moduleRickard Green2019-03-201-0/+1
|/ | | | | This also imply testing of processes as distribution controllers using the erlang:dist_ctrl_* BIFs.
* Merge 'rickard/make-fixes-21/OTP-15551' into 'rickard/make-fixes-22/OTP-15551'Rickard Green2019-03-041-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rickard/make-fixes-21/OTP-15551: Fix install phase in build system - Install of (mainly) documentation caused rebuild and modification of the source tree even when the source previously had been built. Also otp_patch_apply modified the source tree when updating documentation. This messed up the installation if installation was performed by another user than the user that originally built the system which not is an uncommon scenario. - Some documentation was installed by copying files instead of installing the files which caused faulty access rights on files. - The documentation was not properly updated when applying a patch using otp_patch_apply.
| * Merge 'rickard/make-fixes-20/OTP-15551' into 'rickard/make-fixes-21/OTP-15551'Rickard Green2019-03-041-1/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rickard/make-fixes-20/OTP-15551: Fix install phase in build system - Install of (mainly) documentation caused rebuild and modification of the source tree even when the source previously had been built. Also otp_patch_apply modified the source tree when updating documentation. This messed up the installation if installation was performed by another user than the user that originally built the system which not is an uncommon scenario. - Some documentation was installed by copying files instead of installing the files which caused faulty access rights on files. - The documentation was not properly updated when applying a patch using otp_patch_apply.
| | * Merge 'rickard/make-fixes-19/OTP-15551' into 'rickard/make-fixes-20/OTP-15551'Rickard Green2019-03-041-1/+2
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rickard/make-fixes-19/OTP-15551: Fix install phase in build system - Install of (mainly) documentation caused rebuild and modification of the source tree even when the source previously had been built. Also otp_patch_apply modified the source tree when updating documentation. This messed up the installation if installation was performed by another user than the user that originally built the system which not is an uncommon scenario. - Some documentation was installed by copying files instead of installing the files which caused faulty access rights on files. - The documentation was not properly updated when applying a patch using otp_patch_apply.
| | | * Merge 'rickard/make-fixes-18/OTP-15551' into 'rickard/make-fixes-19/OTP-15551'Rickard Green2019-03-041-1/+2
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rickard/make-fixes-18/OTP-15551: Fix install phase in build system - Install of (mainly) documentation caused rebuild and modification of the source tree even when the source previously had been built. Also otp_patch_apply modified the source tree when updating documentation. This messed up the installation if installation was performed by another user than the user that originally built the system which not is an uncommon scenario. - Some documentation was installed by copying files instead of installing the files which caused faulty access rights on files. - The documentation was not properly updated when applying a patch using otp_patch_apply.
| | | | * Fix install phase in build systemRickard Green2019-03-041-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Install of (mainly) documentation caused rebuild and modification of the source tree even when the source previously had been built. Also otp_patch_apply modified the source tree when updating documentation. This messed up the installation if installation was performed by another user than the user that originally built the system which not is an uncommon scenario. - Some documentation was installed by copying files instead of installing the files which caused faulty access rights on files. - The documentation was not properly updated when applying a patch using otp_patch_apply.
* | | | | Merge branch 'bmk/20190204/socket_as_nif/OTP-14831'Micael Karlberg2019-02-221-0/+2
|\ \ \ \ \
| * \ \ \ \ Merge branch 'bmk/20180918/nififying_inet/OTP-14831' into ↵Micael Karlberg2019-02-041-0/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | bmk/20190204/socket_as_nif/OTP-14831
| | * | | | | [socket-nif] Updated gitignore for OpenBSDMicael Karlberg2018-12-211-0/+1
| | | | | | |
| | * | | | | [socket-nif] Add x86_64 FreeBSDMicael Karlberg2018-09-211-0/+1
| | | | | | |
* | | | | | | Add test modules that disable all SSA optimizationsBjörn Gustavsson2019-02-151-0/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes sure that the SSA optimizations are not essential and may help to cover more code in beam_ssa_pre_codegen and beam_ssa_codegen.
* | | | | | beam_ssa_opt: Add a scaffold for module-level optimizationsJohn Högberg2019-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This serves as a base for the upcoming module-level type optimization, but may come in handy for other passes like beam_ssa_funs and beam_ssa_bsm that have their own ad-hoc implementations.
* | | | | | Merge PR-1963 from iblis17/ib/fbsd-hipe OTP-15386Sverker Eriksson2018-10-251-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | hipe_llvm_main: fix tmpfs dir on FreeBSD
| * | | | | | hipe_llvm_main: fix tmpfs dir on FreeBSDIblis Lin2018-09-261-0/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Upstream this patch from FreeBSD Ports: https://svnweb.freebsd.org/ports/head/lang/erlang-runtime21/files/patch-lib_hipe_llvm_hipe__llvm__main.erl?revision=473434&view=markup
* | | | | | .gitignore: Exclude *_r21_SUITE.erlJohn Högberg2018-10-011-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | We forgot to do this in the BSM optimization branch, and this is as good a time as any to get it fixed.
* | | | | Merge branch 'rickard/crypto-configure/OTP-15129'Rickard Green2018-08-211-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * rickard/crypto-configure/OTP-15129: Move configuration of crypto to crypto application from erts
| * | | | | Move configuration of crypto to crypto application from ertsRickard Green2018-08-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to be able to handle runtime library path in crypto also DED parts was broken out into a macro.
* | | | | | Merge branch 'rickard/parallel-configure/OTP-14625'Rickard Green2018-08-211-2/+5
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | | | | | | | * rickard/parallel-configure/OTP-14625: Parallel configure Remove undocumented and unused lazy configure
| * | | | Parallel configureRickard Green2018-08-211-2/+5
| | | | |
* | | | | Provide build support for standalone corba repoRickard Green2018-07-121-0/+2
|/ / / /
* | | | Move the corba applcations to separate repositoryLars Thorsen2018-04-271-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | All corba applications are moved to a separate repository. E.g. orber, ic, cosEvent, cosEventDomain, cosNotifications cosTime, cosTransactions, cosProperty and cosFileTransfer.
* | | | erl_docgen: Add ghlink step for all non-generated doc xml filesLukas Larsson2018-04-091-25/+6
| | | | | | | | | | | | | | | | | | | | In order to get line numbers into the ghlink we have to add a post processing step for all xml files.
* | | | Merge branch 'maint'Siri Hansen2018-01-091-0/+1
|\ \ \ \ | |/ / /
| * | | Add runtime_tools/include to tertiary bootstrapSiri Hansen2017-12-201-0/+1
| | | |
* | | | on raspi, ignore directories created by makeMark Fernandes2017-11-131-0/+1
|/ / / | | | | | | | | | (cherry picked from commit 5a772d417173dee881e9c80113bbba441c939a83)
* | | [edoc] Remove unused module otpsgml_layout.erlLars Thorsen2017-09-281-1/+0
| | | | | | | | | | | | | | | | | | | | | This module was used when the OTP documentation was written in SGML. It's now replaced by code in erl_docgen and therefor removed. The option trigging the call of this module has also been removed from the script edoc_generate.
* | | Updated .gitignoreHans Nilsson2017-07-061-0/+4
| | |
* | | New unicode aware string module that works with unicode:chardata()Dan Gudmundsson2017-04-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Works with unicode:chardata() as input as was decided on OTP board meeting as response to EEP-35 a long time ago. Works on graphemes clusters as base, with a few exceptions, does not handle classic (nor nfd'ified) Hangul nor the extended grapheme clusters such as the prepend class. That would make handling binaries as input/output very slow. List input => list output, binary input => binary output and mixed input => mixed output for all find/split functions. So that results can be post-processed without the need to invoke unicode:characters_to_list|binary for intermediate data. pad functions return lists of unicode:chardata() for performance.
* | | Ignore generated dirs of one more configutationKostis Sagonas2016-11-011-0/+1
|/ /
* | Update .gitignoreBjörn-Egil Dahlberg2016-09-131-0/+1
| | | | | | | | Ignore make/make_emakefile
* | Merge branch 'dgud/tools/emacs-xref/PR-1051'Dan Gudmundsson2016-05-201-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | * dgud/tools/emacs-xref/PR-1051: Add xref support in erlang.el Conflicts: lib/tools/emacs/erlang.el
| * | Add xref support in erlang.elJohan Claesson2016-05-201-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In GNU Emacs 25 xref will be introduced. It is a framework for cross referencing commands, in particular commands for finding definitions. It does not replace etags. It rather resides on top of it and provides user-friendly commands. The idea is that the user commands should be the same regardless of what back-end does the actual finding of definitions. Add to the xref commands awareness of the module:tag syntax in a similar way that is already done for the old etags commands. Xref completion support is not included in this commit. Remove all compilation warnings for GNU Emacs 24.5 and current 25 (4ffec91). Remove XEmacs incompatibility in erlang-font-lock-exported-function-name-face. Add file erlang-test.el with a single unit test. Add TAGS to .gitignore.
* | Update .gitignoreBjörn-Egil Dahlberg2016-05-121-9/+2
| |
* | Remove test_server as a standalone applicationBjörn Gustavsson2016-02-171-4/+5
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test_server application has previously been deprecated. In OTP 19, we will move relevant parts of test_server into the common_test application. Test suites that include test_server.hrl must be updated to include ct.hrl instead. Test suites that include test_server_line.hrl must removed that inclusion. Test suites that call the test_server module directly will continue to work in OTP 19. The test suites for Erlang/OTP are built and executed in exactly the same way as previously. Here are some more details. The modules test_server*.erl and erl2html2.erl in lib/test_server/src have been moved to common_test/src. The test_server.hrl and test_server_line.hrl include files have been deleted. The macros in test_server.hrl have been copied into lib/common_test/include/ct.hrl. The ts*.erl modules and their associated data files in lib/test_server/src has been been moved to the new directory lib/common_test/test_server. The ts* modules are no longer built to lib/common_test/ebin. They will only built when 'make release_tests' is executed. The test suite for test_server has been moved to lib/common_test/test. The rest of the files have been deleted.
* Merge branch 'johanclaesson/maint' into maintZandra Hird2015-03-191-0/+1
|\ | | | | | | | | | | | | * johanclaesson/maint: Fix tags completion in erlang.el for GNU Emacs 23+ OTP-12583
| * Fix tags completion in erlang.el for GNU Emacs 23+Johan Claesson2015-03-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The tag completion code was changed in GNU Emacs 23.1 in a way that broke erlang.el tag completion. This commit fix that for Emacs 23.1 and later. Add progress report while building completion table. Add completion of module_info/0 for all modules. Add lib/tools/emacs/*.elc to .gitignore.