summaryrefslogtreecommitdiff
path: root/src/rebar_prv_plugins.erl
Commit message (Collapse)AuthorAgeFilesLines
* Unicode support in all the placesFred Hebert2017-08-061-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* More fixes for bad calls to find_appsFred Hebert2017-02-261-3/+3
|
* Fix plugins usage to support src_dirs optionsFred Hebert2017-02-191-2/+5
|
* fix #903: use app discover of entire plugins dir when listingTristan Sloughter2015-11-011-12/+15
|
* fix plugins porvider use of rebar_dirTristan Sloughter2015-09-061-1/+1
|
* plugins providerTristan Sloughter2015-06-181-0/+67