Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fallback when logging isn't initialized | Fred Hebert | 2018-10-20 | 1 | -4/+11 |
| | | | | | | | | In some cases, such as when the global rebar.config file contains typoes and invalid terms, the rebar3 executable fails when trying to log the error since it hasn't been set yet, such as in #1792 This patch fixes that by going for a fallback mechanism. | ||||
* | Unicode support in all the places | Fred Hebert | 2017-08-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | REBAR_COLOR supports all ec_cmd_log intensity options | Anthony Molinaro | 2017-04-26 | 1 | -0/+2 |
| | |||||
* | Make sure not to dump in api mode | Heinz N. Gies | 2016-04-16 | 1 | -0/+12 |
| | |||||
* | pass loglevel used in rebar3 to relx | Tristan Sloughter | 2016-03-07 | 1 | -4/+15 |
| | |||||
* | set default color intensity to high | Tristan Sloughter | 2016-02-19 | 1 | -1/+1 |
| | |||||
* | Use an app_env to get color intensity | Heinz N. Gies | 2016-02-16 | 1 | -7/+17 |
| | |||||
* | Some cleanup | Heinz N. Gies | 2016-02-09 | 1 | -8/+11 |
| | |||||
* | Allow switching based on env variable | Heinz N. Gies | 2015-11-04 | 1 | -1/+10 |
| | |||||
* | Fixed error log formating | Heinz N. Gies | 2015-11-01 | 1 | -1/+1 |
| | |||||
* | Make output a bit more discrete | Heinz N. Gies | 2015-11-01 | 1 | -1/+4 |
| | |||||
* | handle throw by relx | Tristan Sloughter | 2014-11-08 | 1 | -1/+1 |
| | |||||
* | refactoring and remove unused providers for now | Tristan Sloughter | 2014-08-23 | 1 | -2/+2 |
| | |||||
* | start of moving to splitting state from config parsing | Tristan Sloughter | 2014-08-17 | 1 | -2/+1 |
| | |||||
* | replace logging with ec_cmd_log from erlware_commons | Tristan Sloughter | 2014-08-16 | 1 | -35/+13 |
| | |||||
* | Fix is_verbose/1 helper function | Tuncer Ayaz | 2013-12-06 | 1 | -1/+5 |
| | |||||
* | Write ERROR messages to standard_error device | Tuncer Ayaz | 2013-12-06 | 1 | -2/+6 |
| | |||||
* | Change default log level to 'warn' and introduce -q/--quiet | Tuncer Ayaz | 2013-12-06 | 1 | -3/+4 |
| | |||||
* | rebar_log: use defines for log level numbers | Tuncer Ayaz | 2013-12-06 | 1 | -8/+12 |
| | |||||
* | Do not use application:set_env | Tuncer Ayaz | 2012-07-23 | 1 | -12/+5 |
| | |||||
* | Support different log levels | Tuncer Ayaz | 2012-01-17 | 1 | -7/+14 |
| | |||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -3/+0 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Cleaning up logging messages | Dave Smith | 2010-06-09 | 1 | -3/+3 |
| | | | | | --HG-- extra : rebase_source : 60b49fa683387a1cea498c2bec50421ef855fea6 | ||||
* | Rolled back getopt to restore custom variables | Tuncer Ayaz | 2010-01-01 | 1 | -2/+2 |
| | |||||
* | Added vi modeline/emacs local variables to file headers | Tuncer Ayaz | 2009-12-31 | 1 | -0/+2 |
| | |||||
* | Enhanced option parsing with new getopt and made rebar more user friendly | Tuncer Ayaz | 2009-12-31 | 1 | -2/+2 |
| | |||||
* | Deleted trailing whitespace | Tuncer Ayaz | 2009-12-30 | 1 | -4/+4 |
| | |||||
* | More gross structural work; now has log levels and broken out log level control | Dave Smith | 2009-11-29 | 1 | -0/+84 |