aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2016-12-01stdilb: Check for bad type constraints in function typesHans Bolinder
The parser recognizes the 'is_subtype(V, T)' syntax for constraints, and of course the new 'V :: T' syntax, but other variants result in an error message. Up to now, the parser and linter have let badly formed constraints through, and relied upon Dialyzer to emit warnings. is_subtype/2 cannot easily be taken out from the parser. Not only would we need find a way to emit a (linter) warning, but there also needs to be an option for suppressing the linter warning as compilation with +warnings_as_errors has to work. (Notice that the abstract format representation for 'V :: T' is the same as for 'is_subtype(V, T)'.) This correction was triggered by an email from Robert, and Kostis created pull request 1214 to provide a fix. However, Kostis' fix disallowed is_subtype() altogether, which breaks backward compatibility. As of Erlang/OTP 19.0 (ticket OTP-11879), the 'is_subtype(V, T)' is no longer documented.
2016-12-01Merge branch 'richcarl/kernel/disk_log_tweaks/OTP-14057/PR-1245'Hans Bolinder
* richcarl/kernel/disk_log_tweaks/OTP-14057/PR-1245: Pass log format through from handle() Improve caching in disk_log Use pattern matching for records where suitable Eliminate more code duplication Simplify for rflat Clarify that the type for disk log data is iodata() Pass through known size instead of recomputing Use iolist_size instead of local function Only read log format once in collect loop Eliminate some code duplication Rename internal function for clarity Minor documentation cleanup
2016-11-30Merge branch 'hasse/stdlib/remove_dets_v8/OTP-13830'Hans Bolinder
* hasse/stdlib/remove_dets_v8/OTP-13830: reltool: Remove module dets_v8 runtime_tools: Remove module dets_v8 stdlib: Remove support for Dets version 8 tables
2016-11-30Merge branch 'richcarl/error_logger_tty-cleanup/PR-1256/OTP-14068'Björn Gustavsson
* richcarl/error_logger_tty-cleanup/PR-1256/OTP-14068: Write node info before log message body, not after Eliminate some code duplication
2016-11-30reltool: Remove module dets_v8Hans Bolinder
2016-11-30runtime_tools: Remove module dets_v8Hans Bolinder
2016-11-30stdlib: Remove support for Dets version 8 tablesHans Bolinder
When at it, types have been added to record fields.
2016-11-30Merge branch 'richcarl/assert-comments/PR-1224/OTP-14066'Björn Gustavsson
* richcarl/assert-comments/PR-1224/OTP-14066: Add comment-versions of assert macros
2016-11-29Merge branch 'maint'Siri Hansen
2016-11-29Merge branch 'siri/observer/cdv-no-distribution/OTP-14010' into maintSiri Hansen
* siri/observer/cdv-no-distribution/OTP-14010: [observer] Start crashdump_viewer in a non-distributed node
2016-11-29Merge branch 'siri/observer/remove-unused-files/OTP-14024' into maintSiri Hansen
* siri/observer/remove-unused-files/OTP-14024: [observer] Remove unused files
2016-11-29Add comment-versions of assert macrosRichard Carlsson
For all assert macros in assert.hrl, add corresponding versions with an additional last Comment argument, assumed to be chardata. If an exception occurs, it will contain an entry {comment, Comment}, which a reporting tool may pretty-print for better readability.
2016-11-29Merge branch 'maint'Hans Bolinder
* maint: Fix font-locking for @deprecated in erlang-edoc-mode
2016-11-29Merge branch 'leoliu/tools/fix_edoc_mode' into maintHans Bolinder
* leoliu/tools/fix_edoc_mode: Fix font-locking for @deprecated in erlang-edoc-mode
2016-11-29Pass log format through from handle()Richard Carlsson
2016-11-29Improve caching in disk_logRichard Carlsson
Avoid starting timers for flushing when the written data is empty or larger than the max cache size. Previously, a single huge write to an empty cache would be put in the cache until the next write or the timer event. Also increase the cache size from 16K to 64K.
2016-11-29Use pattern matching for records where suitableRichard Carlsson
2016-11-29Eliminate more code duplicationRichard Carlsson
2016-11-29Simplify for rflatRichard Carlsson
2016-11-29Clarify that the type for disk log data is iodata()Richard Carlsson
2016-11-29Write node info before log message body, not afterRichard Carlsson
Make error_logger_tty_h insert node information for nonlocal messages before the message itself instead of after, both for readability and so as not to change the line termination property at the end of the message.
2016-11-29Eliminate some code duplicationRichard Carlsson
2016-11-28Merge branch 'maint'Dan Gudmundsson
* maint: Add an option erlang-icr-indent
2016-11-28Merge branch 'victorhge/tools/emacs/icr_indentation/PR-1193' into maintDan Gudmundsson
* victorhge/tools/emacs/icr_indentation/PR-1193: Add an option erlang-icr-indent
2016-11-28Merge branch 'richcarl/code-change-utils/PR-1257/OTP-14059'Björn Gustavsson
* richcarl/code-change-utils/PR-1257/OTP-14059: Update preloaded modules Add shell mm() and lm() functions Add code:module_status/1 and modified_modules/0 Fix spec for erlang:get_module_info() Handle prefetched paths Restructure code:which() and where_is_file() Remove remnants of module package support
2016-11-28Merge branch 'egil/compiler/maps-warn-repeated-keys/OTP-14058'Björn-Egil Dahlberg
* egil/compiler/maps-warn-repeated-keys/OTP-14058: compiler: Test repeated map key warnings compiler: Warn for repeated identical map keys
2016-11-28Merge branch 'maint'Dan Gudmundsson
* maint: wx: Do not dispatch commands after frequent events Avoid unnecessary length calculations in gl Add option to send prebuilt binaries to multiDrawArrays Fix gl driver pointer error
2016-11-28Merge branch 'dgud/wx/gl-bugs' into maintDan Gudmundsson
* dgud/wx/gl-bugs: wx: Do not dispatch commands after frequent events Avoid unnecessary length calculations in gl Add option to send prebuilt binaries to multiDrawArrays Fix gl driver pointer error
2016-11-26Fix font-locking for @deprecated in erlang-edoc-modeLeo Liu
2016-11-25Add shell mm() and lm() functionsRichard Carlsson
2016-11-25Add code:module_status/1 and modified_modules/0Richard Carlsson
These functions use the MD5 beam/native checksum to determine whether the code for a module has changed on disk and is a candidate for loading.
2016-11-25Merge branch 'maint'Björn Gustavsson
* maint: Remove duplicate docs for the priority inet option
2016-11-25Merge branch 'richarl/fix-license-headers/PR-788'Björn Gustavsson
* richarl/fix-license-headers/PR-788: Make use of the Header feature in yecc Remove Emacs timestamp markers Remove obsolete CVS keyword markup Update obsolete author e-mails Replace broken example URL Add missing entries to COPYRIGHT file Correct copyright on stdlib files Add license headers to hipe files in kernel Correct copyright info on typer files Correct copyright and license on dialyzer files Correct copyright on remaining hipe files Correct copyright info on hipe cerl files Correct copyright info on cerl-related files Correct the copyright info in docgen_edoc_xml_cb Update Syntax Tools license headers Remove some obsolete files Update EDoc license headers to dual Apache2/LGPL Update EUnit license headers to dual Apache2/LGPL
2016-11-24Remove duplicate docs for the priority inet optionLoïc Hoguin
2016-11-23Make use of the Header feature in yeccRichard Carlsson
2016-11-23Remove Emacs timestamp markersRichard Carlsson
2016-11-23Remove obsolete CVS keyword markupRichard Carlsson
2016-11-23Update obsolete author e-mailsRichard Carlsson
2016-11-23Replace broken example URLRichard Carlsson
2016-11-23Correct copyright on stdlib filesRichard Carlsson
2016-11-23Merge branch 'maint'Hans Nilsson
2016-11-23Merge branch 'hans/ssh/cuddle_tests' into maintHans Nilsson
2016-11-23Merge branch 'maint'Hans Nilsson
2016-11-23Merge branch 'hans/ssh/max_packetsize_sftp/OTP-13857' into maintHans Nilsson
2016-11-23Merge branch 'maint'Hans Nilsson
2016-11-23Merge branch 'hans/ssh/hostkey_fingerprint_option/OTP-13887' into maintHans Nilsson
2016-11-23Merge branch 'hans/public_key/calc_ssh_fingerprint/OTP-13888' into maintHans Nilsson
2016-11-23Add license headers to hipe files in kernelRichard Carlsson
2016-11-23Correct copyright info on typer filesRichard Carlsson
2016-11-23Correct copyright and license on dialyzer filesRichard Carlsson