Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Group operands but not the operator | José Valim | 2017-11-07 | 3 | -14/+19 |
| | | | | Closes #7007 | ||||
* | Add end_line information to string_to_quoted tests | José Valim | 2017-11-07 | 1 | -5/+5 |
| | |||||
* | Consider comments inside function calls | José Valim | 2017-11-07 | 3 | -103/+258 |
| | | | | Closes #6994 | ||||
* | Pass the proper precedence to binary operator handling, closes #7005 | José Valim | 2017-11-07 | 2 | -3/+12 |
| | |||||
* | Raise on reserved tokens, closes #6532 | José Valim | 2017-11-06 | 2 | -12/+17 |
| | |||||
* | Allow pattern matching and guard expressions when on IEx.break! | José Valim | 2017-11-06 | 4 | -122/+212 |
| | | | | Closes #6386 | ||||
* | Add examples of String going across boundaries, closes #6373 | José Valim | 2017-11-06 | 1 | -0/+26 |
| | |||||
* | Adds Kernel.defguard/1 macro to build guard-safe macros | Chris Keele | 2017-11-06 | 7 | -33/+795 |
| | | | | | | | | | | | | | | This makes defining guards easier, since it does the boilerplate for you and raises at compile time in the defguard macro when you do something not allowed in guards (as opposed to whenever the new guard happens to be used as a guard). It takes a `defguard name(args) when implementation` invocation, passes the implementation through `:elixir_expand.expand/2` in a guard context, and if nothing is raised, transforms the impl into a macro that works both inside and outside of guard contexts. Signed-off-by: José Valim <jose.valim@plataformatec.com.br> | ||||
* | Add @specs to functions in the Code module (#7003) | Andrea Leopardi | 2017-11-04 | 1 | -0/+31 |
| | |||||
* | Ensure file in stacktraces is a charlist | José Valim | 2017-11-03 | 3 | -5/+5 |
| | |||||
* | Properly guard bare_warn to catch errors early | José Valim | 2017-11-03 | 2 | -3/+5 |
| | |||||
* | Pass line and file to IO.warn whenever possible | José Valim | 2017-11-03 | 2 | -8/+9 |
| | |||||
* | Warn if init/1 is not implemented in GenServer | José Valim | 2017-11-03 | 4 | -4/+49 |
| | | | | | | | This brings GenServer closer to the implementation in OTP and aligns all behaviours to require the init/1 callback. Closes #6998. | ||||
* | Improve documentation all around the Code module | Andrea Leopardi | 2017-11-03 | 1 | -63/+80 |
| | |||||
* | Fix a formatting bug in the documentation for Application.spec/1 | Andrea Leopardi | 2017-11-03 | 1 | -1/+1 |
| | |||||
* | Mention that HiPE-compiled modules won't call @on_load callback (#7002) | Andrew Dryga | 2017-11-03 | 1 | -0/+2 |
| | |||||
* | Increase long compilation threshold | José Valim | 2017-11-03 | 3 | -4/+4 |
| | | | | | | | | | | The threshold exists to help detect files that are stuck but because of the dependency resolver in the parallel compiler sometimes a file just takes long waiting for another file. To avoid false positives, we have increased the threshold to 15 seconds. | ||||
* | Improve docs for Module.create/3 | José Valim | 2017-11-02 | 1 | -7/+16 |
| | |||||
* | Always loadpaths in escript.build | José Valim | 2017-11-02 | 2 | -80/+62 |
| | |||||
* | Support slice on outdated protocol implementations | José Valim | 2017-11-02 | 1 | -4/+17 |
| | |||||
* | Add Kernel.ParallelCompiler.async/1 | José Valim | 2017-11-02 | 3 | -22/+82 |
| | | | | | | This gives developers more control over the parallel compiler and allows a single file to compile multiple modules in parallel by spawning tasks. | ||||
* | Ensure we handle :undefined returns for optional callbacks, closes #6993 | José Valim | 2017-11-01 | 2 | -4/+25 |
| | |||||
* | Fix bootstrapping issues | José Valim | 2017-11-01 | 1 | -6/+6 |
| | |||||
* | Track structs separately from compile time deps, closes #6575 | José Valim | 2017-11-01 | 5 | -189/+273 |
| | |||||
* | Improve documentation for Kernel.put_elem/3 (#6995) | Bing Han | 2017-11-01 | 1 | -1/+1 |
| | |||||
* | Use integers for manifest version | José Valim | 2017-10-31 | 8 | -11/+14 |
| | |||||
* | Support --include-siblings in mix xref reports for umbrella support | José Valim | 2017-10-31 | 2 | -43/+99 |
| | |||||
* | Add mix xref graph --format stats | José Valim | 2017-10-31 | 2 | -15/+89 |
| | |||||
* | Add --only-nodes and --label filters to mix xref graph | José Valim | 2017-10-31 | 2 | -13/+70 |
| | |||||
* | Remove test marked with @tag :skip | José Valim | 2017-10-31 | 1 | -15/+0 |
| | | | | The test is implemented in typespec_tesst as an error. | ||||
* | Separate tracking structs from compile-time dependencies | Michał Muskała | 2017-10-31 | 8 | -102/+162 |
| | | | | | | | | This is a first step to limiting recompilations in case a struct is used in a module, the "parent module" of the struct changes, but struct definition itself does not change. Signed-off-by: José Valim <jose.valim@plataformatec.com.br> | ||||
* | Do not generate specs for exceptions | José Valim | 2017-10-31 | 2 | -5/+0 |
| | |||||
* | Inline expressions when possible | José Valim | 2017-10-31 | 4 | -89/+34 |
| | |||||
* | Minimize generated beam size by using ranges | José Valim | 2017-10-30 | 1 | -6/+40 |
| | | | | | | This approach is less performant when processing sigma but compiles twice faster and takes two times less space in disk. | ||||
* | Handle final sigma unicode exception | Ben Olive | 2017-10-30 | 2 | -4/+24 |
| | | | | Signed-off-by: José Valim <jose.valim@plataformatec.com.br> | ||||
* | Raise when calling GenServer.stop/3 with current process (#6987) | Eric Zhang | 2017-10-30 | 2 | -1/+33 |
| | |||||
* | Rename foreign atom | José Valim | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | Consistently use GenServer API in Supervisor | José Valim | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | Document Enum.EmptyError exception for Enum.reduce/2 (#6986) | Vahid Fazlollahzade | 2017-10-28 | 1 | -0/+2 |
| | |||||
* | Restrict next break fits and eols on operators and function calls | José Valim | 2017-10-27 | 30 | -340/+305 |
| | | | | | | | * Whitelist which operators support next_break_fits * No longer consider tuples as part of next_break_fits * Do not consider eol for = and :: * Do not consider eol for calls with one next_break_fits arg | ||||
* | Discard malformed lines in metadata | José Valim | 2017-10-27 | 1 | -1/+1 |
| | | | | Closes #6980. | ||||
* | Better handling of non existing atoms (#6978) | Blake Tan | 2017-10-26 | 2 | -6/+16 |
| | |||||
* | Tidy up implementation detail section | José Valim | 2017-10-26 | 1 | -15/+10 |
| | |||||
* | Fix formatting of multiline "foo.{...}" calls (#6979) | Andrea Leopardi | 2017-10-26 | 2 | -0/+21 |
| | |||||
* | Respect the user's choice on calls | José Valim | 2017-10-26 | 4 | -70/+136 |
| | | | | Closes #6977 | ||||
* | Treat => and : as operators in the formatter | José Valim | 2017-10-26 | 17 | -120/+134 |
| | | | | | | | This means that the right side will break on its own line when it doesn't fit and be indented by two spaces. Closes #6976. | ||||
* | Use flex when inspecting tuples | José Valim | 2017-10-26 | 3 | -10/+17 |
| | | | | This aligns better with the formatter latest style | ||||
* | Store the number of defaults in the definition Meta | José Valim | 2017-10-26 | 1 | -1/+4 |
| | |||||
* | Do not raise while tasks are being processed | José Valim | 2017-10-25 | 1 | -18/+22 |
| | | | | Closes #6972. | ||||
* | Pipe all the way in string | José Valim | 2017-10-25 | 1 | -4/+3 |
| |