T0mstone
5f565aeb74
Add proc macros for Hint and edge ( #63 )
...
* Add proc-macro crate with two macros
* Let cargo recalculate the Cargo.lock
* Add tests and refactor some code to allow testing
also the impl for parse_hint_helper_attrs now preserves order
(which is essential for testing)
2021-04-07 13:51:33 +02:00
TrueDoctor
b7f18dfaa8
Implement key handling ( #65 )
2021-04-07 11:02:56 +02:00
TrueDoctor
89ed123356
Add ToolData and rectangle tool ( #64 )
2021-04-07 09:25:23 +02:00
Keavon Chambers
59f7af3f47
Rename "state" to "fsm_state" to avoid confusion
2021-04-06 22:21:32 -07:00
George Atkinson
b88c246c87
Add FSM and related tool plumbing ( Fix #54 ) ( #62 )
...
- Added FSM trait
- Added FSM to select and ellipse tools
- Moved circle stamping code to ellipse tool
2021-04-05 15:57:33 -07:00
Keavon Chambers
7c6ab1f327
Rename the "Layers" panel to "Layer Graph"
2021-04-01 21:58:28 -07:00
ProTheory8
959aca8c45
Add Active Tool Router ( #58 )
...
* Add Active Tool Router
* Remove commented out import
2021-04-01 18:10:28 +02:00
TrueDoctor
593572a4e8
Add loging implementation for wasm ( #56 )
2021-03-30 18:48:32 +02:00
Keavon Chambers
b5cd8327dd
Change document, viewport, and canvas terminology
2021-03-29 03:52:08 -07:00
T0mstone
94f50377a3
Implement basic circle stamping ( #53 )
2021-03-29 01:44:34 +02:00
T0mstone
c437f1bd22
Add plumbing for event system ( #52 )
...
* Add plumbing for event system
* Apply review suggestions
* Add swap and reset color functions
2021-03-28 23:39:33 +02:00
RustyNixieTube
ea1f9f30f0
Record mouse movement ( #51 )
...
* Record mouse movement
* Use get for last_point and first_point
* Use first and las for first_point and last_point
* Remove unnecessary comment
* Derive Default for Trace
Co-authored-by: RustyNixieTube <RustyNixieTube@users.noreply.github.com>
2021-03-28 19:59:41 +02:00
Keavon Chambers
5ca9c715e5
Improve formatting for architecture diagram
2021-03-28 01:50:23 -07:00
Keavon Chambers
5c7339ba66
Update architecture diagram with fleshed out editor state flow
2021-03-28 01:42:00 -07:00
Keavon Chambers
e280bec824
Rearrange WASM code async import style
2021-03-28 01:32:58 -07:00
Keavon Chambers
f3533b2848
Change Vue CLI's lint results from none to warning
2021-03-28 01:31:52 -07:00
T0mstone
0adfa3af72
Rename import to remove graphite prefix ( #50 )
2021-03-27 16:43:37 -07:00
TrueDoctor
0e553adb32
Implement event/response roundtrip ( #49 )
2021-03-28 00:23:41 +01:00
TrueDoctor
04dc05e575
Rework the ToolState and integrate it into the Editor struct ( #48 )
...
* Rework the ToolState and integrate it into the Editor struct
* Add asset manager sources to docs outline
2021-03-27 22:02:01 +01:00
Keavon Chambers
4035138044
Add asset manager sources to docs outline
2021-03-27 12:57:18 -07:00
TrueDoctor
1b1e641aa8
Add event struct ( #47 )
2021-03-27 20:06:10 +01:00
ProTheory8
0083a2f788
Add .gitattributes file ( #46 )
...
Add .gitattributes and enforce the use of LF
2021-03-27 11:48:05 +01:00
ProTheory8
fde5f7e21f
Add metadata ( #45 )
...
* Add wasm-pack metadata
* Add Wasm tests directory
* Add basic Cargo manifest metadata
* Make web frontend unpublishable to npm
2021-03-27 11:16:05 +01:00
Keavon Chambers
479d2856c6
Various small fixes; no longer lint on Vue CLI run
2021-03-27 02:26:55 -07:00
ProTheory8
fe111a6684
Add camelcase rule, import Error type from JS and rename get_inner_color to inner. ( #44 )
...
* Add camelcase rule to .eslintrc.js
* Import Error type from JS, rename crate::wrappers::Color::get_inner_color to crate::wrappers::Color::inner
2021-03-27 02:26:55 -07:00
RustyNixieTube
0156813dec
Implement update_colors ( #43 )
...
Co-authored-by: RustyNixieTube <RustyNixieTube@users.noreply.github.com>
2021-03-27 02:26:55 -07:00
TrueDoctor
f9308a6d5a
Add tool_state functionality to wasm-wrapper ( #42 )
2021-03-27 02:26:55 -07:00
Keavon Chambers
fe51be0bb6
Move .editorconfig to root for GitHub tab rendering
2021-03-27 02:26:55 -07:00
TrueDoctor
1dfbe9192e
Create basic CI workflow ( #41 )
2021-03-27 02:26:55 -07:00
Keavon Chambers
75dee589fc
Simplify rustfmt settings to remove using unstable rules
2021-03-27 02:26:55 -07:00
Keavon Chambers
0e6c4400dc
Switch inline SVGs to using SVG file loader
2021-03-27 02:26:55 -07:00
Keavon Chambers
6f32c1a0c9
Fix compiling issue broken while cleaning up last commit
2021-03-27 02:26:55 -07:00
Keavon Chambers
7323d3cd21
Remove WebPack and let Vue CLI handle WASM. Project restructuring fixes. Add Vue SVG Loader. Fixes #29 .
2021-03-27 02:26:55 -07:00
TrueDoctor
8741e31c92
Add wasm-bindgen to Vue config ( #38 )
2021-03-27 02:26:55 -07:00
Keavon Chambers
21dca857cd
Add rustfmt.toml to project root
2021-03-27 02:26:55 -07:00
Keavon Chambers
2613ded439
Rename more of the project structure. Fixes #39 .
2021-03-27 02:26:55 -07:00
Keavon Chambers
7bfb04a99a
Rename project structure with /core and /client
2021-03-27 02:26:55 -07:00
ProTheory8
18a8442b0e
Make it compile ( #37 )
...
* Fix indentation
* Set the correct name of the crate in root Cargo.toml
* Fix all compile errors
2021-03-27 02:26:55 -07:00
Keavon Chambers
38dbe34293
Update npm packages
2021-03-27 02:26:55 -07:00
TrueDoctor
169a281fbf
Rename layout to workspace and fix typo ( #36 )
2021-03-27 02:26:55 -07:00
Keavon Chambers
26011dab9b
Overhaul main readme with recent project updates
2021-03-27 02:26:55 -07:00
Keavon Chambers
808b116037
Add editor, codebase, and design documentation
2021-03-27 02:26:55 -07:00
Keavon Chambers
d20042bdd6
Add complete input hints to footer
2021-03-27 02:26:55 -07:00
TrueDoctor
6b93e2c008
Fix errors introduced in 29f5672 ( #35 )
2021-03-27 02:26:55 -07:00
TrueDoctor
eb2255149a
Define the js wasm-editor interface ( #31 )
2021-03-27 02:26:55 -07:00
TrueDoctor
b3933f30bc
Add graphite-editor library skeleton ( #34 )
2021-03-27 02:26:55 -07:00
ProTheory8
018708791d
Add init function to wasm-bindings crate and update dependencies ( #33 )
2021-03-27 02:26:54 -07:00
Keavon Chambers
8596db42ba
Update README.md
2021-03-27 02:26:54 -07:00
Keavon Chambers
e640961ef2
Viewport panel layout scaffolding
2021-03-27 02:26:54 -07:00
Keavon Chambers
6edb9a1c46
Window title bar now draws for Windows, Mac, Linux, and Web
2021-03-27 02:26:54 -07:00