Jordan Eldredge
2b4c2dca97
Don't return await from async func
2019-08-18 14:21:24 -07:00
Jordan Eldredge
95208d173b
Don't ignore undefined variables
2019-08-18 14:20:17 -07:00
Jordan Eldredge
a8d98ee432
Prefer const in modern
2019-08-18 14:19:16 -07:00
Jordan Eldredge
fd4b301427
Clean up unused variables
2019-08-18 14:15:29 -07:00
Jordan Eldredge
e35c85af3c
Remove dupes
2019-08-18 14:07:47 -07:00
Jordan Eldredge
2365732a71
Turn back on linting for modern
2019-08-18 14:06:43 -07:00
Jordan Eldredge
0be6ff9ede
Ensure ESLint is running on Travis
...
It used to run as part of Jest. When I moved it back to its own thing,
I guess I forgot to add it back to Travis.
2019-08-18 14:00:06 -07:00
jberg
0a8a30d5ce
Remove xml schema and warn instead of error for missing parsers ( #865 )
2019-08-18 13:46:58 -07:00
jberg
11441c306c
fix container after inheritance change ( #859 )
...
* fix container after inheritance change
* fix missing method test
2019-08-18 13:01:26 -07:00
jberg
7744404dc2
Dont need to render certain MAKI nodes ( #864 )
2019-08-18 13:00:23 -07:00
jberg
1b9fd878a4
handle Layout where we dont have background images or dont draw them ( #862 )
2019-08-18 12:46:59 -07:00
jberg
9b21ed4d6b
Render text nodes ( #863 )
...
* Render text nodes
* add TODO about displaying text node info
2019-08-18 12:16:35 -07:00
Jordan Eldredge
fe68c78fcc
Ensure we have no extra methods ( #861 )
2019-08-18 10:18:29 -07:00
Jordan Eldredge
a45397cf72
Track all missing methods
2019-08-17 21:22:16 -07:00
jberg
449b4acb38
MakiObject classname really should be Object ( #860 )
2019-08-17 17:21:33 -07:00
jberg
067d4c1fef
Handle MAKI functions that need input, implement popupmenu ( #854 )
...
* initial test for generator class functions
* return promise from functions that need async
* move null check into isPromise and fix condition
* implementing popmenu
* fix dynamic node creation in prod build
* remove unnecessary async/await
* rename function with js_ prefix
* TODO to fix styles
2019-08-17 16:44:15 -07:00
Jordan Eldredge
6918dbb2c0
Test that our runtime implementaiton matches the object definitions we got from the decompiler ( #857 )
...
Eventually it would be nice to test against std.mi
2019-08-17 16:10:05 -07:00
jberg
e4fc867656
Add all the remaining MAKI classes ( #855 )
2019-08-16 17:46:49 -07:00
Jordan Eldredge
f9a3818a06
Use mage-rendering: pixelated;
2019-08-16 07:45:57 -07:00
Jordan Eldredge
81ca0eac05
Use background for showing images
...
This prevents images which are larger than the element from having their
image squished.
2019-08-16 07:28:38 -07:00
Jordan Eldredge
810b062d06
Type Emitter
2019-08-14 21:30:27 -07:00
Jordan Eldredge
53162a7134
Add more nodes to the initialization schema
2019-08-14 21:20:41 -07:00
Jordan Eldredge
7a283c9e65
Use a Set for checking if a value exists in a collection
2019-08-14 19:55:47 -07:00
Jordan Eldredge
de8c147f6a
Allow dragging files into Modern demo and allow Debugger to live on the same page
...
Note that the debugger is not yet actually connected to the maki code running in the skin
2019-08-14 19:55:47 -07:00
Jordan Eldredge
d95e90edbe
Merge modern into the main Webpack config
2019-08-14 19:55:47 -07:00
Jordan Eldredge
82b685f08b
Add bare XML state to Redux
2019-08-13 07:14:07 -07:00
Jordan Eldredge
123df6cc23
Move volume into Redux
2019-08-13 06:57:06 -07:00
Jordan Eldredge
1c58705fbf
Add missing import
2019-08-13 06:55:32 -07:00
Jordan Eldredge
65f0646be1
Try to convince GitHub we are not a Perl project
2019-08-13 06:41:33 -07:00
Jordan Eldredge
5f4a3bfb17
Handle img load errors by rejecting the promise
2019-08-13 06:39:38 -07:00
Jordan Eldredge
08b3c8b1cf
Use defualt property to make TypeScript happy
2019-08-13 06:39:38 -07:00
Jordan Eldredge
9db1d38b7c
Remove commented out code
2019-08-13 06:39:15 -07:00
Jordan Eldredge
41dc17fea9
Move skin fetching to thunk
2019-08-13 06:39:15 -07:00
Jordan Eldredge
1bb5195e4b
Add the first redux action to the modern skin codebase
2019-08-13 06:36:51 -07:00
Jordan Eldredge
86684cd0ce
Introduce Redux into the modern skin codebase
2019-08-13 06:36:51 -07:00
Jordan Eldredge
c23b2b4171
Memoize getting track display name
2019-08-13 06:36:51 -07:00
Jordan Eldredge
b3824d7ebd
Refactor to functional component, and remove unused dispatch prop
2019-08-13 06:36:51 -07:00
jberg
b713857951
Fix errors when node is the top level container ( #853 )
...
* Fix errors when node is the top level container
* simplify by adding findParentOrCurrentNodeOfType
2019-08-13 03:42:40 -07:00
jberg
fc2a015ae1
Fix event x/y by finding container node ( #849 )
...
* Fix event x/y by finding relativeParent
* use a tree search to find the container instead of event target hacks
2019-08-12 16:33:38 -07:00
jberg
004798df9d
Fix initial stack values ( #851 )
2019-08-12 16:32:58 -07:00
jberg
2e7ef582e1
Fix hook eventNames to be case insensitive ( #852 )
2019-08-12 16:32:27 -07:00
jberg
8628bc70f5
Setup update listeners to rerender react components ( #848 )
...
* Setup update listeners to rerender react components
* setupUpdates -> useJsUpdates
2019-08-12 15:05:46 -07:00
jberg
8b91e6db79
Always fire mouseup on element that had mousedown ( #850 )
2019-08-12 15:02:48 -07:00
Jordan Eldredge
f7992718f6
Swap the name of the VM and the interpreter ( #843 )
2019-08-09 20:50:37 -07:00
Jordan Eldredge
da4d7f83ad
Start using react redux hooks ( #845 )
...
* Upgrade react-redux
* Upgrade react-redux types
* Start adopting react-redux hooks
2019-08-09 10:10:20 -07:00
jberg
54c6dc626c
Fix hook variable passing and initial stack setup ( #844 )
2019-08-08 21:56:08 -07:00
jberg
adce725c52
Fix event x/y and add a few more methods ( #842 )
...
* Fix event x/y and add a few more methods
* ensure attributes exist and simplify
* simplify with ternary
2019-08-08 13:11:55 -07:00
Jordan Eldredge
9731c75ac8
Fix monkey patching in the debugger
2019-08-08 08:00:53 -07:00
Jordan Eldredge
f2f13e360e
Fix debugger alignment
2019-08-08 07:53:36 -07:00
Jordan Eldredge
1169b259d4
Avoid setting minWidth to NaN
2019-08-08 07:30:22 -07:00