Commit Graph

208 Commits

Author SHA1 Message Date
Folkert
4c15267be3 annotation without body 2020-12-21 15:18:12 +01:00
Folkert
8a0ba55339 pending def 2020-12-21 14:11:12 +01:00
Folkert
f5337d5bbf add ven_graph to the editor 2020-12-21 13:55:40 +01:00
Folkert
9f3f7699e2 add symbol/variable helper 2020-12-21 13:53:21 +01:00
Folkert
39ffa7d11b add def.rs 2020-12-21 13:50:16 +01:00
Folkert
4c9c9a3173 edit ast for patterns 2020-12-19 00:12:46 +01:00
Folkert
b1e31730d9 tag apply 2020-12-18 01:08:27 +01:00
Folkert
7bedc3ff6e ident and tags 2020-12-18 00:53:31 +01:00
Folkert
f40f0c50b9 clippy 2020-12-17 23:15:33 +01:00
Folkert
90522c01f7 all of annotation (modulo some todos) 2020-12-17 22:25:17 +01:00
Folkert
eb82b08a85 type2 record 2020-12-17 21:28:03 +01:00
Folkert
757449057e skeleton of type2 conversion 2020-12-17 21:10:42 +01:00
Folkert
2f0fe94182 snapshot 2020-12-17 20:22:57 +01:00
Folkert
5b045f8a86 first stab at editor patterns 2020-12-16 13:21:45 +01:00
Folkert
0096078cd0 changes after review 2020-12-16 11:23:04 +01:00
Richard Feldman
90bf0b3ace
Merge pull request #805 from rtfeldman/parse-to-edit-ast
Parse to edit ast
2020-12-15 22:44:56 -05:00
Folkert
421e652edb Merge remote-tracking branch 'origin/trunk' into parse-to-edit-ast 2020-12-16 00:29:27 +01:00
Folkert
82bf9b3f93 more parse to Expr2 conversion 2020-12-16 00:29:12 +01:00
Folkert
aec95a61ae extend Pool and PoolVec 2020-12-16 00:28:19 +01:00
Folkert
18f3142254 return both Expr2 and ExprId (from separate functions) 2020-12-15 19:53:16 +01:00
Folkert
96a4432327 clippy on PoolStr 2020-12-15 17:01:45 +01:00
Folkert
8b289f3398 simple literals in editor ast 2020-12-15 17:00:08 +01:00
Anton-4
1f3850126e include shaders in repo 2020-12-15 15:34:39 +01:00
Anton-4
e1a0bc1563 Merge branch 'trunk' of rtfeldman/roc into ci_speedup 2020-12-15 15:16:38 +01:00
Anton-4
8bf426b6b9 don't recompile shaders unnecessarily 2020-12-15 15:00:24 +01:00
Richard Feldman
44e91bbfda
Merge pull request #801 from rtfeldman/editor_refactor
editor: refactoring orthographic projection
2020-12-14 22:19:00 -05:00
Folkert
a174137351 add PoolStr::new() 2020-12-14 23:27:24 +01:00
Anton-4
b085469602 Replaced large_enum_variant explanation with link to issue #800 2020-12-14 16:09:16 +01:00
Anton-4
0feb8a9226 editor refactoring orthographic projection 2020-12-14 15:35:10 +01:00
Anton-4
bf34fc4fe0 Merge branch 'trunk' into editor_pixel_coords 2020-12-12 19:00:34 +01:00
Anton-4
fc4d510c40 more comments and minor cleanup 2020-12-12 18:11:57 +01:00
Anton-4
ea3f15f950 forgot to submit cmd_queue 2020-12-12 17:55:11 +01:00
Anton-4
8ca09dae73 fixed errors and rect positioning 2020-12-12 13:29:43 +01:00
Anton-4
06a2dcb5b7 orthographic projection to support pixel coordinates (with errors) 2020-12-11 19:38:44 +01:00
Richard Feldman
d420beb56f Implement Pool::reserve 2020-12-09 20:34:41 -05:00
Richard Feldman
53534f5b09 Drop obsolete comment 2020-12-09 19:05:19 -05:00
Richard Feldman
7cad3eb68c Drop obsolete AccessVars 2020-12-09 08:09:45 -05:00
Richard Feldman
ed4e223b03 Drop obsolete RecordVars 2020-12-09 08:09:20 -05:00
Richard Feldman
b48a6dee28 Drop obsolete UpdateVars 2020-12-09 08:08:46 -05:00
Richard Feldman
22369e523c Use PoolStr for tag and field names 2020-12-09 08:07:35 -05:00
Richard Feldman
fdd3fd14e9 cargo fmt 2020-12-09 08:06:17 -05:00
Richard Feldman
c0a74ab10e Drop oboslete comment 2020-12-09 08:05:13 -05:00
Richard Feldman
0d0a9e677c Remove obsolete expr_and_args 2020-12-09 08:05:13 -05:00
Richard Feldman
acb2bc7092
fix field name 2020-12-09 07:53:42 -05:00
Richard Feldman
61300f782d Use cmp, per clippy 2020-12-08 23:19:05 -05:00
Richard Feldman
68cf9602e1 cargo fmt 2020-12-08 23:15:57 -05:00
Richard Feldman
91c3cf25b6 Revise how numbers are stored in editor IR 2020-12-08 23:15:21 -05:00
Richard Feldman
48dd79c5f4 Revert "Add a mmap benchmark"
This reverts commit 89f213d58f92f16227b3b0542e5a99e10874e91a.
2020-12-08 23:03:42 -05:00
Richard Feldman
a46a8d076b Add a mmap benchmark 2020-12-08 23:03:42 -05:00
Richard Feldman
bdf08ea5a6 Remove unused argument from with_capacity 2020-12-08 23:03:42 -05:00
Richard Feldman
c1356f0b68 Fix Pool implementation 2020-12-08 23:03:42 -05:00
Richard Feldman
fd47d6ee71 Have NodeId be an index, not a pointer 2020-12-08 23:03:42 -05:00
Richard Feldman
ef45e77a35 Add editor::pool 2020-12-08 23:03:42 -05:00
Richard Feldman
63e91fb01e Use 32-byte nodes in the editor IR 2020-12-08 23:03:42 -05:00
Richard Feldman
5faf73769f
Merge branch 'trunk' into editor-ir 2020-12-05 21:44:20 -05:00
Richard Feldman
7e38622ebf Don't use NodeId in Expr2, so it fits in 16B 2020-12-05 21:42:45 -05:00
Richard Feldman
31a7bfd0a2 Don't use NodeId in BucketList 2020-12-05 21:16:48 -05:00
Richard Feldman
7749c6978f Revert repr(packed) on NodeId 2020-12-05 21:16:28 -05:00
Richard Feldman
2bad387bf4 Revert "Try having BucketId be two u8s"
This reverts commit feb5b7f8b6.
2020-12-05 17:49:21 -05:00
Richard Feldman
feb5b7f8b6 Try having BucketId be two u8s 2020-12-05 17:49:16 -05:00
Richard Feldman
7e48867c9d Try out repr(packed on NodeId) 2020-12-05 17:40:27 -05:00
Richard Feldman
24332c679d Add repr(transparent) to BucketId 2020-12-05 17:40:16 -05:00
Richard Feldman
1f4f871f59 Add some more size check assertions 2020-12-05 17:40:06 -05:00
Folkert
0a08caac7f clippy things 2020-12-05 21:37:46 +01:00
Folkert
1fe0f5d780 Merge remote-tracking branch 'origin/trunk' into editor-ir 2020-12-05 20:58:27 +01:00
Folkert
f04c97828f cleanup 2020-12-05 20:51:47 +01:00
Richard Feldman
62f34669e1 cargo fmt 2020-12-05 13:23:21 -05:00
Anton-4
202cba9f81 Undo unnecessary color type change 2020-12-05 17:58:45 +01:00
Anton-4
0d46835135 refactored text drawing, fixed color shader bug 2020-12-05 17:53:05 +01:00
Folkert
81d0626db1 remove old stuff 2020-12-04 22:30:06 +01:00
Folkert
66748d3a50 Merge remote-tracking branch 'origin/trunk' into editor-ir 2020-12-04 20:45:30 +01:00
Anton-4
6af26c9f75 editor: draw multiple rectangles 2020-12-04 20:05:29 +01:00
Anton-4
c0fdc09ec7 Merge branch 'trunk' of rtfeldman/roc into editor_refactor 2020-12-04 11:28:30 +01:00
Anton-4
6dc2471c5b rustfmt 2020-12-04 11:28:20 +01:00
Chadtech
cadb58f418 Improve test name in test_file 2020-12-04 00:29:53 -05:00
Chadtech
85e96a36d7
Merge branch 'trunk' into editor-file-access 2020-12-04 00:26:12 -05:00
Chadtech
17f796a824 prefix DoesntHaveRocExtension error 2020-12-04 00:25:00 -05:00
Chadtech
2a02b2d917 Make simple module a bit less simple, delete SimpleFmt module since it isnt used in testing 2020-12-04 00:20:36 -05:00
Chadtech
17ccec6aa5 'correct' formatting for SimpleFmt.roc 2020-12-04 00:16:04 -05:00
Chadtech
1326219415 File module with read, fmt, and write functionality for the editor 2020-12-04 00:14:32 -05:00
Anton-4
1738141111 editor refactoring 2020-12-02 16:43:54 +01:00
Richard Feldman
f3da264d5d
Merge pull request #756 from rtfeldman/aoc-improvements
Aoc improvements
2020-12-01 20:05:54 -05:00
Folkert
0c53aea64a fix compilation on my linux machine 2020-12-01 15:20:08 +01:00
Anton-4
c087955a16 editor ideas using Machine Learning 2020-12-01 13:21:13 +01:00
Anton-4
3ab368789b more editor debugging ideas 2020-11-28 20:42:17 +01:00
Anton-4
da91693a4a more ideas for tree view 2020-11-28 20:06:11 +01:00
Chadtech
b0570aab99 File module 2020-11-28 13:01:43 -05:00
Anton-4
764588ba13 Added VR code visualisation to editor ideas 2020-11-28 17:45:52 +01:00
Anton-4
b3129482b5 added unit test generation plugin to editor-ideas 2020-11-26 10:18:56 +01:00
Richard Feldman
34d66ba166
Add Greenfoot and Godbolt to editor-ideas 2020-11-22 16:58:43 -05:00
Richard Feldman
3803d70496
Merge branch 'trunk' into render-big-rectangle 2020-11-21 12:48:02 -05:00
Folkert
8528e5affb upgrade inkwell 2020-11-17 01:58:30 +01:00
Folkert
10255a90b1 don't rebuild the editor every time 2020-11-12 20:27:10 +01:00
Bob Shelline
ae868c2aa3 Try to draw multiple rectangles 2020-11-04 20:37:07 -07:00
Bob Shelline
d7a902e3aa Use index buffers to draw a rectangle 2020-11-04 20:00:24 -07:00
Bob Shelline
dda634cf0a Use buffers for vertex data 2020-11-04 19:47:41 -07:00
Richard Feldman
3a4cf2cdb1 Add .spv files to .gitignore 2020-10-31 21:28:48 -04:00
Bob Shelline
1c73a0e795 Add newlines to end of shaders and Cargo.toml 2020-10-30 18:52:52 -06:00
Bob Shelline
4972e03405 Render a triangle underneath the text 2020-10-30 18:48:10 -06:00
Bob Shelline
6c5ca9370c Restore previous clear color 2020-10-30 18:00:37 -06:00