Mactavsin
b7d126bf99
Fix lint.md formatting ( #637 )
...
This pull requests fixes a mistake in lint.md file that causes incorrect formatting of the text:
2022-08-12 07:14:38 -07:00
Arseny Kapoulkine
8b390a33aa
Update benchmark.yml
...
Switch to bench.json file so that bench-gcc is the only outlier, as everything else is built with clang.
2022-08-11 14:14:32 -07:00
Arseny Kapoulkine
f7d8ad0774
Sync to upstream/release/540 ( #635 )
...
Also adjust benchmark runs to use config=profile and run clang for all benchmarks + gcc for runtime
2022-08-11 14:01:33 -07:00
Arseny Kapoulkine
f1928ddade
Adjust benchmark runs to use config=profile and new file names
2022-08-11 13:48:35 -07:00
Arseny Kapoulkine
39bcf23cd6
Merge branch 'upstream' into merge
2022-08-11 13:44:03 -07:00
Arseny Kapoulkine
f21ba5d2f2
Merge branch 'master' into merge
2022-08-11 13:43:34 -07:00
Arseny Kapoulkine
106b269885
Sync to upstream/release/540
2022-08-11 13:42:54 -07:00
Arseny Kapoulkine
2c40b7661c
Update lint.md ( #634 )
...
Add documentation for IntegerParsing and ComparisonPrecedence lints
2022-08-11 08:42:31 -07:00
JohnnyMorganz
e15b0728be
Add autocomplete context to result ( #611 )
...
Closes #599
Not sure if these context definitions are distinct enough, but they work for my use cases.
I repurposed (a majority of) the existing unit tests for this, but if it should live in separate test cases let me know
---
* Add autocomplete context to result
* Update tests
* Remove comments
* Fix expression context issues
2022-08-10 13:04:08 -07:00
Arseny Kapoulkine
1b20fcd43c
Sync to upstream/release/539 ( #625 )
2022-08-04 15:35:33 -07:00
Arseny Kapoulkine
6d6fd12fee
Let's try this
2022-08-04 15:07:49 -07:00
Arseny Kapoulkine
5522631be4
Merge branch 'upstream' into merge
2022-08-04 14:30:15 -07:00
Arseny Kapoulkine
33190f84ae
Merge branch 'master' into merge
2022-08-04 14:27:40 -07:00
Arseny Kapoulkine
4a9cfd57a6
Sync to upstream/release/539
2022-08-04 14:27:28 -07:00
boyned//Kampfkarren
4658219df2
Add %* format specifier ( #619 )
...
RFC: https://github.com/Roblox/luau/pull/165
2022-08-04 07:22:16 -07:00
Arseny Kapoulkine
2c12badb5c
Update RFC status page
2022-08-03 15:40:57 -07:00
Arseny Kapoulkine
4692c55687
Mark never/unknown types RFC as implemented
2022-08-03 15:40:24 -07:00
Arseny Kapoulkine
b39fcc7e77
Mark __len RFC as implemented
2022-08-03 15:38:45 -07:00
Jay Kruer
b204981aca
Add Ctrl-C handling to the REPL ( #537 )
...
Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
2022-08-02 09:32:22 -07:00
Arseny Kapoulkine
d3b566c258
Sync to upstream/release/538 ( #616 )
2022-07-28 21:24:07 -07:00
Arseny Kapoulkine
cdcd6fcbdb
Merge branch 'upstream' into merge
2022-07-28 20:46:02 -07:00
Arseny Kapoulkine
efcaf05010
Merge branch 'master' into merge
2022-07-28 20:45:57 -07:00
Arseny Kapoulkine
3202869acc
Sync to upstream/release/538
2022-07-28 20:41:13 -07:00
Alexander McCord
cb16555608
RFC: Disallow name T
and name(T)
in future syntactic extensions for type annotations ( #589 )
2022-07-28 14:48:17 -07:00
Alexander McCord
185370fa1d
RFC: Update the rules on string interpolation in light of feedback ( #615 )
...
We make four adjustments in this RFC:
1. `{{` is not allowed. This is likely a valid but poor attempt at escaping coming from C#, Rust, or Python.
2. We now allow `` `this` `` with zero interpolating expressions.
3. We now allow `` f `this` `` also.
4. Explicitly say that `` `this` `` and `` `this {that}` `` are not valid type annotation syntax.
2022-07-28 14:48:05 -07:00
JohnnyMorganz
2a6d1c03ac
Store AstExprFunction in astTypes for stats ( #612 )
2022-07-25 10:19:21 -07:00
Arseny Kapoulkine
12c5502027
Update performance.md
...
Update compiler performance metrics to account for O2 and expanding internal codebase
2022-07-22 10:35:03 -07:00
Arseny Kapoulkine
9be7f85be7
Update performance.md ( #608 )
...
Mention constant folding for builtins and remove the note about possibly doing inlining in the future because we do do it now!
2022-07-22 07:53:16 -07:00
Arseny Kapoulkine
b1cfaf5305
Sync to upstream/release/537 ( #607 )
2022-07-21 14:16:54 -07:00
Arseny Kapoulkine
2c0be898a1
Merge branch 'upstream' into merge
2022-07-21 13:37:02 -07:00
Arseny Kapoulkine
8f7a1c701b
Merge branch 'master' into merge
2022-07-21 13:36:59 -07:00
Arseny Kapoulkine
8e8ae0a01d
Sync to upstream/release/537
2022-07-21 13:36:41 -07:00
Arseny Kapoulkine
a824b05c9e
Update coverage report to codecov ( #606 )
...
Coveralls has had multiple stability issues in the recent while, and codecov seems much better maintained in general.
2022-07-20 15:12:30 -07:00
Arseny Kapoulkine
ea7a6c1260
Spell out RFC considerations for library functions more explicitly ( #603 )
...
When considering new standard library functions, we essentially need to strongly justify their existence over their implementation in Luau in user library code.
This PR attempts to provide a few axes of consideration; ideally new library functions tick many of the boxes, eg "used often + is more performant + clear unambiguous interface" is an ideal consideration for a library function, whereas if it's merely accelerating a single specific use case for a single application it's unlikely to be a good justification for inclusion.
2022-07-19 08:37:56 -07:00
Matthew Emery
96316c66dc
Documentation of round tie-breaking ( #602 )
...
* Update library.md
* Tie-breaking documentation for round
2022-07-18 12:36:23 -07:00
Arseny Kapoulkine
5b2e39c922
Sync to upstream/release/536 ( #592 )
2022-07-14 15:52:26 -07:00
Arseny Kapoulkine
092e70115e
Merge branch 'master' into merge
2022-07-14 15:40:07 -07:00
Arseny Kapoulkine
c321668dbc
Merge branch 'upstream' into merge
2022-07-14 15:40:05 -07:00
Arseny Kapoulkine
4bd651292d
Sync to upstream/release/536
2022-07-14 15:39:35 -07:00
Alex Orlenko
e87009f5b2
Add lua_setuserdatatag to update userdata tags ( #588 )
2022-07-14 12:00:37 -07:00
Andy Friesen
a934f742d8
June recap ( #583 )
2022-07-11 13:21:23 -07:00
Anaminus
6ad8239e32
Improve description of bit32.extract/replace. ( #585 )
...
Fix description incorrectly saying that parameter w specifies an upper range. w is actually a width. Proof:
print(bit32.extract(2^32-1, 3, 4)) -- prints 15, not 1.
Also indicate that the position is 0-based, and that the function will error if the selected range exceeds the allowed bounds.
2022-07-08 10:06:25 -07:00
Arseny Kapoulkine
120a7fab70
Merge branch 'merge'
2022-07-07 18:22:50 -07:00
Arseny Kapoulkine
506d971421
Sync to upstream/release/535 ( #584 )
2022-07-07 18:22:39 -07:00
Arseny Kapoulkine
42244b14df
Merge branch 'upstream' into merge
2022-07-07 18:08:06 -07:00
Arseny Kapoulkine
f9e76fc75c
Merge branch 'master' into merge
2022-07-07 18:07:30 -07:00
Arseny Kapoulkine
4a95f2201e
Sync to upstream/release/535
2022-07-07 18:05:31 -07:00
Allan N Jeremy
dbcd5fb28e
build: changed data output to be different for each os ( #581 )
...
- macos: data-macos-latest.json
- ubuntu: data-ubuntu-latest.json
- windows: data-windows-latest.json
2022-07-07 08:21:40 -07:00
Alan Jeffrey
a7ae439b0f
Document new table type features ( #567 )
2022-07-05 16:25:09 -05:00
Arseny Kapoulkine
42510bb5c8
Fix test after merging a stale PR ( #577 )
2022-07-05 11:36:33 -07:00