Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid guessing on utf8 decoding of app files | Fred Hebert | 2017-10-13 | 1 | -1/+1 |
| | | | | | | | | | Rather than trying one method and then the other, allow the caller to specify the encoding of the expected file. All other schemes are risky and won't work well. Rollback the function's default interface to the binary format in case any plugin used it for non-unicode content, preserving backwards compat. | ||||
* | Add a description in compiled app file if undef | Fred Hebert | 2017-10-04 | 1 | -1/+13 |
| | | | | | Same default value as used in relx and other environments, but as reported in #979 some tools don't like having no description available. | ||||
* | Unicode support in all the places | Fred Hebert | 2017-08-06 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | handle case that upgraded app no longer has .app.src file | Tristan Sloughter | 2015-09-20 | 1 | -12/+7 |
| | |||||
* | wip: move state into app_info | Tristan Sloughter | 2015-08-31 | 1 | -8/+8 |
| | |||||
* | include app.src.script in app discover and always use if available | Tristan Sloughter | 2015-07-26 | 1 | -5/+12 |
| | |||||
* | check format of config file and print the bad section in the error | Tristan Sloughter | 2015-06-18 | 1 | -1/+1 |
| | |||||
* | format file read error in otp_app module | Tristan Sloughter | 2015-05-22 | 1 | -1/+1 |
| | |||||
* | improve error message fo rmissing app or app.src file | Tristan Sloughter | 2015-05-22 | 1 | -5/+5 |
| | |||||
* | methods for retrieving `src_dirs` and `extra_src_dirs` | alisdair sullivan | 2015-05-19 | 1 | -3/+2 |
| | | | | | | note that now ALL `src_dirs` across included profiles are compiled. previously only the last included profile's `src_dirs` were used | ||||
* | generalize the "test" special dir into an {extra_src_dirs, [...]} option | alisdair sullivan | 2015-05-16 | 1 | -5/+16 |
| | | | | | | like `src_dirs`, `extra_src_dirs` are directories to be copied to the `_build` dir and compiled. unlike `src_dirs` they are not added to the .app specification | ||||
* | Use resource handlers to deal with deps/semver | Fred Hebert | 2015-05-05 | 1 | -3/+4 |
| | |||||
* | real bootstrapping | Tristan Sloughter | 2015-04-22 | 1 | -1/+0 |
| | |||||
* | track and cleanup code paths for different contexts | Tristan Sloughter | 2015-04-21 | 1 | -4/+0 |
| | |||||
* | symlink extra test dirs and compile from there instead of from | alisdair sullivan | 2015-03-08 | 1 | -1/+1 |
| | | | | root project | ||||
* | switch from loading modules to read compile info to using `beam_lib` | alisdair sullivan | 2015-03-05 | 1 | -15/+7 |
| | | | | fixes #216 and #220 | ||||
* | change from post-purging modules after checking their module info to | alisdair sullivan | 2015-03-03 | 1 | -4/+8 |
| | | | | pre-purging before checking to facilitate long do chains | ||||
* | exclude beams compiled from source in `test` from the .app file | alisdair sullivan | 2015-03-02 | 1 | -4/+22 |
| | |||||
* | output proper error message for missing app file | Tristan Sloughter | 2015-02-28 | 1 | -3/+10 |
| | |||||
* | copy project apps to deps output dir for compilation | Tristan Sloughter | 2015-02-28 | 1 | -5/+7 |
| | |||||
* | consolidate app validation and exist checks | Tristan Sloughter | 2015-02-22 | 1 | -38/+48 |
| | |||||
* | update project app list with new appinfo records after build | Tristan Sloughter | 2015-02-19 | 1 | -0/+1 |
| | |||||
* | use processed app file for validation | Tristan Sloughter | 2015-01-26 | 1 | -1/+1 |
| | |||||
* | refactor rebar_otp_app for smaller/cleaner functions | Tristan Sloughter | 2015-01-26 | 1 | -26/+33 |
| | |||||
* | clean up and better error messages when validating apps | Tristan Sloughter | 2015-01-24 | 1 | -87/+44 |
| | |||||
* | handle throw by relx | Tristan Sloughter | 2014-11-08 | 1 | -9/+9 |
| | |||||
* | remove more code that can be brought back later if needed | Tristan Sloughter | 2014-08-30 | 1 | -1/+1 |
| | |||||
* | start of moving to splitting state from config parsing | Tristan Sloughter | 2014-08-17 | 1 | -3/+2 |
| | |||||
* | add rebar update provider | Tristan Sloughter | 2014-08-16 | 1 | -2/+3 |
| | |||||
* | replace logging with ec_cmd_log from erlware_commons | Tristan Sloughter | 2014-08-16 | 1 | -1/+1 |
| | |||||
* | large refactoring | Tristan Sloughter | 2014-08-16 | 1 | -21/+23 |
| | | | | | | | | Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands | ||||
* | Merge pull request #37 from nox/force-registered | Dave Smith | 2013-06-16 | 1 | -1/+14 |
|\ | | | | | Ensure we always have a `registered` value in `.app` files | ||||
| * | Ensure we always have a `registered` value in `.app` files | Anthony Ramine | 2012-12-07 | 1 | -1/+14 |
| | | | | | | | | | | `systools:make_relup/4` fails with `{missing_param, registered}` without a `registered` value. | ||||
* | | Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msg | Tuncer Ayaz | 2012-12-31 | 1 | -1/+19 |
|/ | | | | | * allow plugins to print help message for implemented commands * append core rebar.config options to common 'rebar help' message | ||||
* | Do not rewrite .app file if it didn't change | Lev Walkin | 2012-08-08 | 1 | -1/+1 |
| | |||||
* | Fix R13B03 build (Reported-by: Sergey Nartimov) | Tuncer Ayaz | 2012-07-28 | 1 | -4/+4 |
| | |||||
* | Remove shared state | Tuncer Ayaz | 2012-07-13 | 1 | -17/+17 |
| | |||||
* | Remove ?FAIL in favor of ?ABORT | Dave Smith | 2012-06-08 | 1 | -4/+4 |
| | |||||
* | Fix logging (reported-by Sergey Yelin) | Tuncer Ayaz | 2011-07-04 | 1 | -1/+1 |
| | |||||
* | Expand {vsn,git} in app.src to git-describe output | Adam Kocoloski | 2011-02-17 | 1 | -1/+6 |
| | |||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -23/+31 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Adding support for app_vars in external file | Dave Smith | 2010-12-20 | 1 | -5/+23 |
| | |||||
* | Fix code clarity | Tuncer Ayaz | 2010-12-07 | 1 | -3/+3 |
| | |||||
* | Stop clean from erroring if there's no .app file | Andrew Thompson | 2010-10-29 | 1 | -1/+9 |
| | | | | | If rebar tries to clean the .app file (because there's a .app.src file) and it doesn't exist (possibly because of a bad compile), don't fail. | ||||
* | Dialyzer related cleanups | Kostis Sagonas | 2010-10-10 | 1 | -3/+2 |
| | |||||
* | Made OTP app module validation optional | Dave Smith | 2010-10-10 | 1 | -2/+11 |
| | |||||
* | Removing 'install' command; semantics were poorly defined could damage a ↵ | Dave Smith | 2010-08-20 | 1 | -80/+1 |
| | | | | typical OTP installation | ||||
* | Fixed problem where install was broken when the .app file is generated from | Chris Chew | 2010-06-07 | 1 | -3/+13 |
| | |||||
* | Slightly different fix for bug#5 that avoids running preprocess twice | Dave Smith | 2010-06-08 | 1 | -0/+4 |
| |