Skip to content

Tags: ajpalkovic/flow

Tags

v0.110.1

Toggle v0.110.1's commit message
v0.110.1

Reviewed By: dsainati1

Differential Revision: D18095021

fbshipit-source-id: 2a6d3445eefb3e68466ecd77a54042b5e13ebe4c

v0.110.0

Toggle v0.110.0's commit message
[hack] fix File_url slashes on Windows

Summary:
Pull Request resolved: facebook#8142

previously, `File_url.parse "file:///c%3A/foo/bar"` returned `"c:/foo/bar"` instead of `"c:\foo\bar"`, because `/` and `\` are (generally) interchangeable on Windows.

however, `Sys_utils.realpath` does convert them to `\` (only if the file exists, otherwise it leaves it alone!), which makes it more difficult to compare two paths.

so, we now match `realpath`'s behavior, converting `/` to `\` on Windows.

also, `File_url.create "c:\foo\bar"` returns `"file:///c%3A/foo/bar"` on Windows, but on Linux, `\` is a valid path character and should be escaped, like `"file:///c%3A%5Cfoo%5Cbar"`.

Reviewed By: gabelevi, samwgoldman

Differential Revision: D18024985

fbshipit-source-id: 2f09b7f3587a0b01a3ee9ab935ed67cc0d308164

v0.109.0

Toggle v0.109.0's commit message
Fix source of flakiness for lsp/completion test

Summary:
I noticed that {D17584973} failed this test. I think it was a source of flakiness. Most of the test cases look like

1. Add `jsx.js` (which has syntax errors)
2. Start the lsp server and server
3. Send a completion request
4. Assert the response matches.

When the lsp starts up, it will see the syntax errors and send the `textDocument/publishDiagnostics` message to the client. Usually this happens between steps 2 and 3. But if it happens after 3 then the step 4 assertion would fail like this:

```

+ textDocument/publishDiagnostics,textDocument/completion{"isIncomplete":false,"items":[{"label":"a","kind":6,"detail":"number","inlineDetail":"number","insertTextFormat":1}]}
- textDocument/completion{"isIncomplete":false,"items":[{"label":"a","kind":6,"detail":"number","inlineDetail":"number","insertTextFormat":1}]}
```

(Full logs: P113545680)

Easy fix. Just ignore those messages

Reviewed By: nmote

Differential Revision: D17602294

fbshipit-source-id: 7c6f2a7ae84f5d3caffae90fdaacc0e57ea46775

v0.108.0

Toggle v0.108.0's commit message
v0.108.0

Reviewed By: gabelevi

Differential Revision: D17464010

fbshipit-source-id: e5d1c97433ac48debde4fe746cc339de4e434d08

v0.107.0

Toggle v0.107.0's commit message
v0.107.0

Reviewed By: mroch

Differential Revision: D17191133

fbshipit-source-id: 0cb3b789ac030c24144db8ec054a50abaa62fe72

v0.106.3

Toggle v0.106.3's commit message
v0.106.3

Reviewed By: jbrown215

Differential Revision: D17114108

fbshipit-source-id: 349e2a00ece145901b361a7820599556c28d93c0

v0.106.2

Toggle v0.106.2's commit message
v0.106.2

Summary: (Note: this ignores all push blocking failures!)

Reviewed By: mroch

Differential Revision: D17051834

fbshipit-source-id: 91b5a0909793229e789435f2452eb816a0b16b88

v0.106.1

Toggle v0.106.1's commit message
v0.106.1

Reviewed By: jbrown215

Differential Revision: D16996727

fbshipit-source-id: 40a62d79a98d261e0ef578ecd6390cc788a7400c

v0.106.0

Toggle v0.106.0's commit message
v0.106.0

Reviewed By: jbrown215

Differential Revision: D16949952

fbshipit-source-id: 2415fc2f0605c80c9acddd1ebaf0fd36d6257d5d

v0.105.2

Toggle v0.105.2's commit message
v0.105.2

Reviewed By: gabelevi

Differential Revision: D16773406

fbshipit-source-id: 945fd9cb0195fdad5644e0bcd70078f3859f0898