summaryrefslogtreecommitdiff
path: root/src/rebar_dialyzer_format.erl
Commit message (Collapse)AuthorAgeFilesLines
* Unicode support in all the placesFred Hebert2017-08-061-89/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done through 3 main change groups: - replacing `~s` by `~ts` in format strings, so that strings that contain unicode are properly printed rather than crashing - adding the `unicode` argument to all function of the `re` module to ensure transformations on strings containing unicode data are valid instead of crashing (see issue #1302) - replacing `ec_cnv:to_binary/1` and `ec_cnv:to_list/1` with matching functions in `rebar_utils`. The last point has been done, rather than modifying and updating erlware commons, because binary and list conversions can be a contentious subject. For example, if what is being handled is actually bytes from a given binary stream, then forcing a byte-oriented interpretation of the data can corrupt it. As such, it does not appear safe to modify erlware commons' conversion functions since it may not be safe for all its users. Instead, rebar3 reimplements a subset of them (only converting atoms and chardata, ignoring numbers) with the explicit purpose of handling unicode string data. Tests were left as unchanged as possible. This may impact the ability to run rebar3's own suites in a unicode path, but respects a principle of least change for such a large patch.
* Typo: seperate -> separateMichiel Beijen2017-03-271-25/+25
|
* Enable path reformatting for DialyzerFred Hebert2017-01-211-7/+9
| | | | | | | | Fixes issue #880 May break backwards compat with projects that manually called the dialyzer formatter, but we never documented or expected this to be exposed.
* Add some documentaiton.Heinz N. Gies2015-09-291-8/+31
|
* Fix sub string highlighting for form positionsHeinz N. Gies2015-09-291-7/+4
|
* Add colour for 'the call comtains' messageHeinz N. Gies2015-09-291-1/+1
|
* Fix error messages that were not resetting colorHeinz N. Gies2015-09-291-4/+3
|
* Group dialyzer warnings by file and concentrate outputHeinz N. Gies2015-09-291-83/+89
|
* fix dialyzer warningsTristan Sloughter2015-09-271-6/+3
|
* Use bold instead of bold white for textHeinz N. Gies2015-09-221-89/+89
|
* Remove rebar_colour and replace it with cfHeinz N. Gies2015-09-221-3/+2
|
* Fix bad string caused by missing fmt callHeinz N. Gies2015-09-221-3/+3
|
* Split out colour printing code in own moduleHeinz N. Gies2015-09-211-96/+3
|
* Fix some indentation and add debug on format errorsHeinz N. Gies2015-09-211-77/+80
|
* Enable highlighting in contractsHeinz N. Gies2015-09-211-9/+7
|
* Fix colors for bad and good argsHeinz N. Gies2015-09-211-2/+3
|
* Remove dubplicated call to format_warningHeinz N. Gies2015-09-211-1/+0
|
* Check term cap for color outputHeinz N. Gies2015-09-211-16/+17
|
* Make it easy to switch colors off in cfmtHeinz N. Gies2015-09-211-48/+58
|
* Add missing colors to cfmtHeinz N. Gies2015-09-211-0/+21
|
* Remove color login from textHeinz N. Gies2015-09-211-141/+176
|
* Color the remaining functions in basic a wayHeinz N. Gies2015-09-211-66/+75
|
* Formating for inproper list constructionHeinz N. Gies2015-09-211-3/+3
|
* Add no local return stylingHeinz N. Gies2015-09-211-1/+1
|
* Shorten filenames slightlyHeinz N. Gies2015-09-211-1/+12
|
* Add more messages, split up display in more then 1 lineHeinz N. Gies2015-09-211-27/+43
|
* Add 'will never return' warning to nice warningsHeinz N. Gies2015-09-211-18/+45
|
* Colorize the first dialyzer messageHeinz N. Gies2015-09-211-0/+369