aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-03-11Better blame assignment when a spec is erroneousStavros Aronis
Applies to the specification of the return value of a function.
2011-03-11Generate better warnings for failing guardsStavros Aronis
2011-03-11Fix an erroneous warningKostis Sagonas
2011-03-11Refactoring so that a flat string() is returnedKostis Sagonas
2011-03-11Renamed error/1 function and added specsKostis Sagonas
2011-03-11Renamed error/1 function and added specsKostis Sagonas
2011-03-11Merge branch 'bjorn/binary-overflow/OTP-9117' into devBjörn Gustavsson
* bjorn/binary-overflow/OTP-9117: Fix 18 exabyte memory allocation failure
2011-03-11Merge branch 'bjorn/doc-fixes' into devBjörn Gustavsson
* bjorn/doc-fixes: Reference Manual: Replace "it's" with "its" Reference manual: Add missing right parenthesis Reference manual: Don't mention fault/{1,2}
2011-03-11Merge branch 'ay/precisionfix/OTP-8989' into devRaimo Niskanen
* ay/precisionfix/OTP-8989: Fix ~F.Fs bug, add testcase and improve documentation io_lib_format string precision fix
2011-03-10Merge branch 'pg/fix-hibernate-with-hipe' into devSverker Eriksson
* pg/fix-hibernate-with-hipe: Update copyright years Fix NULL-free bug in hibernate on debug emulator Fix several bugs related to hibernate/3 and HiPE Conflicts: erts/emulator/test/hibernate_SUITE.erl OTP-9125
2011-03-10Update copyright yearsSverker Eriksson
2011-03-10Fix NULL-free bug in hibernate on debug emulatorSverker Eriksson
2011-03-10Fix typo in filelib module docRicardo
2011-03-10Merge branch 'sverker/valgrind-new-suppressions' into devSverker Eriksson
* sverker/valgrind-new-suppressions: Make halfword emulator with valgrind target allocate low memory Add erts_alloc_permanent_cache_aligned to supress valgrind
2011-03-10Merge branch 'rickard/scheduler-wait/OTP-9105' into devRickard Green
* rickard/scheduler-wait/OTP-9105: The emulator could get into a state where it didn't check for I/O.
2011-03-10Merge branch 'hb/edoc/specs_and_types/OTP-8525' into devHans Bolinder
* hb/edoc/specs_and_types/OTP-8525: Make Erlang specifications and types available in EDoc
2011-03-10Make Erlang specifications and types available in EDocHans Bolinder
It is now possible to use Erlang specifications and types in EDoc documentation. Erlang specifications and types will be used unless there is also a function specification (@spec) or a type alias (@type) with the same name. In the current implementation the placement of -spec matters: it should be placed where the @spec would otherwise have been placed. Not all Erlang types are included in the documentation, but only those exported by some export_type declaration or used by some documented Erlang specification (-spec). There is currently no support for overloaded Erlang specifications. The syntax definitions of EDoc have been augmented to cope with most of the Erlang types. (But we recommend that Erlang types should be used instead.) edoc:read_source() takes one new option, report_missing_types. edoc_layout:module() takes one new option, pretty_printer.
2011-03-10Merge branch 'lukas/common_test/suite_callback/OTP-8851' into devLukas Larsson
* lukas/common_test/suite_callback/OTP-8851: Update init_per_suite to not crash when there is no suite/0 Update links info in ct_hooks to point to the right place Update ct_hooks to fail gracefully when a hook is entered incorrectly in suite/0
2011-03-10Fix ~F.Fs bug, add testcase and improve documentationRaimo Niskanen
2011-03-10io_lib_format string precision fixAli Yakout
2011-03-09Make halfword emulator with valgrind target allocate low memorySverker Eriksson
Limit ERTS_MSEG_FAKE_SEGMENTS (that is otherwise set for valgrind target) to not apply to low memory needed by halfword emulator. This will reduce the fault detection capability of valgrind for low memory. Also correct a bug in the initial mmap and make sure the returned memory region does not reach into high memory.
2011-03-09Merge branch 'mh/emacs-indent-variables-are-safe' into devNiclas Axelsson
* mh/emacs-indent-variables-are-safe: Declare indentation options as "safe" in erlang-mode for Emacs OTP-9122
2011-03-09Merge branch 'gl/gen_server-doc' into devNiclas Axelsson
* gl/gen_server-doc: Update Handling Other Messages section in gen_server, gen_fsm, gen_events overviews OTP-9121
2011-03-09Merge branch 'ks/reltool-spec-fixes' into devNiclas Axelsson
* ks/reltool-spec-fixes: Fix erroneous types Eliminate two dialyzer warnings Cleanup Code cleanups and simplifications Fix a bug in the calculation of circular dependencies Use lists:foreach/2 when the return is not needed Put files alphabetically Fix two erroneous specs of reltool.erl OTP-9120
2011-03-09Merge branch 'sverker/clarify_nif_resource_doc' into devSverker Eriksson
* sverker/clarify_nif_resource_doc: clarify NIF resource object deallocation documentation
2011-03-09clarify NIF resource object deallocation documentationSteve Vinoski
In the erl_nif documentation, clarify how and when NIF resource objects can be deallocated. Specifically, add focus for the case of calling enif_release_resource immediately after obtaining a resource term from enif_make_resource, since this is likely to be a common approach NIFs use to manage resources. Also fix a couple misspellings in the erl_nif documentation.
2011-03-09Declare indentation options as "safe" in erlang-mode for EmacsMagnus Henoch
Emacs has a facility for setting options on a per-file basis based on comments in the source file. By default, all options are considered "unsafe", and the user is queried before the variable is set. This patch declares the variables erlang-indent-level, erlang-indent-guard and erlang-argument-indent to be safe, if the value specified in the source file is valid. Such declarations usually look like this: %% -*- erlang-indent-level: 2 -*- and appear on the first line of the file.
2011-03-09Reference Manual: Replace "it's" with "its"Björn Gustavsson
"Its" is a possessive pronoun, "it's" is a contraction of "it is".
2011-03-09Reference manual: Add missing right parenthesisBjörn Gustavsson
2011-03-09Reference manual: Don't mention fault/{1,2}Björn Gustavsson
2011-03-09Fix 18 exabyte memory allocation failureBjörn Gustavsson
The new_binary() function takes a size argument that is an int. In the 64-bit emulator (sizeof(int) == 4, sizeof(Uint) == 8), any sizes >= 0x8000000 become 0xffffffff80000000 and above and triggers a memory allocation failure. Change the type of the size argument to Uint, and change any callers that cast the argument to an int. Correction-by: Jon Meredith
2011-03-09Merge branch 'aronisstav/dialyzer/dialyzer_tests/OTP-9116' into devLukas Larsson
* aronisstav/dialyzer/dialyzer_tests/OTP-9116: Increase timetrap of options1 suite Write output_plt even when plt_check is ok Create plt with erts, kernel and stdlib only Update test results as they currently appear in dev Major restructure of dialyzer's testsuite Add 'apps' option to the erlang interface Update spec file to work with new common test structure Test suites for Dialyzer
2011-03-09Merge branch 'dgud/prepare_release' into devDan Gudmundsson
2011-03-09Prepare releaseDan Gudmundsson
2011-03-09Merge branch 'dgud/mnesia/frag_first/OTP-9108' into devDan Gudmundsson
2011-03-09Applied from mnesia_frag:first patch from Magnus HenochDan Gudmundsson
"When I run mnesia:first on an empty fragmented table, it tries to access the fragment with the number one beyond the maximum. In the sample code below, I create a table with two fragments, 'foo' and 'foo_frag2', but mnesia tries to access 'foo_frag3':"
2011-03-09The number of test nodes where to small for the testsuiteDan Gudmundsson
A miss introduced when converting to common_test
2011-03-09Merge branch 'dgud/mnesia/failed-connect-nodes' into devDan Gudmundsson
OTP-9115
2011-03-09Abort/restart if network has changed, can be a partioned networkDan Gudmundsson
2011-03-09Merge branch 'ks/typer' into devNiclas Axelsson
* ks/typer: (22 commits) Add release notes and up version Strengthen some specs Allow for --show_success_typings spelling also Add '--show_success_typings' option Fix crash in oveloaded contracts with overlapping domains Fix a type error and do some further cleanup Type cleanups and simplifications Cleanup the analysis record Remove typer_annotator.erl and typer.hrl Remove typer_info.erl file Remove typer_options.erl file Remove typer_preprocess.erl file Delete typer_map.erl file, really this time Delete typer_map.erl file Various cleanups Fix Typer's hanging when module name doesn't match filename Moved option to its proper position Clean up of comments Up version to reflect major rewrite Add '--no_spec' option to Typer ... OTP-9113
2011-03-09Update init_per_suite to not crash when there is no suite/0Lukas Larsson
2011-03-09Merge branch 'hb/erl_docgen/bug_fixes/OTP-8975' into devHans Bolinder
* hb/erl_docgen/bug_fixes/OTP-8975: Minor improvement of a script
2011-03-09Add release notes and up versionKostis Sagonas
2011-03-08Merge branch 'lukas/tools/cover_mem_footprint/OTP-9043' into devLukas Larsson
* lukas/tools/cover_mem_footprint/OTP-9043: Fix spelling on analyse Add short sleep to prevent timing issues on slow machines Update cover tests which depend on compiled files to be skipped if the compile testcase is skipped Conflicts: lib/tools/test/cover_SUITE.erl
2011-03-08Update links info in ct_hooks to point to the right placeLukas Larsson
2011-03-08Merge branch 'kenneth/asn1/componentrelation/OTP-9092' into devKenneth Lundin
* kenneth/asn1/componentrelation/OTP-9092: Fixed crash in asn1ct_check occuring for SEQUENCE with extension mark and component relation attribute.
2011-03-08Merge branch 'dev' of super:otp into devKenneth Lundin
2011-03-08Fix spelling on analyseLukas Larsson
2011-03-08Merge branch 'ia/public_key/doc/link-fix' into devIngela Anderton Andin
* ia/public_key/doc/link-fix: Removed white space in function name tag as it breaks links
2011-03-08Removed white space in function name tag as it breaks linksIngela Anderton Andin