jberg
bf4e1ad043
Render text nodes ( #863 )
...
* Render text nodes
* add TODO about displaying text node info
2019-11-30 13:42:53 -08:00
Jordan Eldredge
563e9cbb64
Ensure we have no extra methods ( #861 )
2019-11-30 13:42:53 -08:00
Jordan Eldredge
a14276daf9
Track all missing methods
2019-11-30 13:42:53 -08:00
jberg
8eb1549983
MakiObject classname really should be Object ( #860 )
2019-11-30 13:42:53 -08:00
jberg
7a27248626
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-11-30 13:42:53 -08:00
Jordan Eldredge
3b6cc77db5
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-11-30 13:42:53 -08:00
jberg
d77d7a92b6
Add all the remaining MAKI classes ( #855 )
2019-11-30 13:42:53 -08:00
Jordan Eldredge
01ab985b8c
Use mage-rendering: pixelated;
2019-11-30 13:42:53 -08:00
Jordan Eldredge
b8026b9a4e
Use background for showing images
...
This prevents images which are larger than the element from having their
image squished.
2019-11-30 13:42:53 -08:00
Jordan Eldredge
9ed01e9b89
Type Emitter
2019-11-30 13:42:53 -08:00
Jordan Eldredge
c99fd098ef
Add more nodes to the initialization schema
2019-11-30 13:42:53 -08:00
Jordan Eldredge
31ac65eb18
Use a Set for checking if a value exists in a collection
2019-11-30 13:42:53 -08:00
Jordan Eldredge
1ebfb0ada7
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-11-30 13:42:53 -08:00
Jordan Eldredge
3a63481a8f
Merge modern into the main Webpack config
2019-11-30 13:42:53 -08:00
Jordan Eldredge
ac423e6aee
Add bare XML state to Redux
2019-11-30 13:42:53 -08:00
Jordan Eldredge
bdd54d51ce
Move volume into Redux
2019-11-30 13:42:53 -08:00
Jordan Eldredge
c1f02c9a2f
Add missing import
2019-11-30 13:42:53 -08:00
Jordan Eldredge
5b78705cdd
Try to convince GitHub we are not a Perl project
2019-11-30 13:42:53 -08:00
Jordan Eldredge
eb18a195e3
Handle img load errors by rejecting the promise
2019-11-30 13:42:53 -08:00
Jordan Eldredge
5c54dd72df
Use defualt property to make TypeScript happy
2019-11-30 13:42:53 -08:00
Jordan Eldredge
6c39bb0be8
Remove commented out code
2019-11-30 13:42:53 -08:00
Jordan Eldredge
cb07b2a8d5
Move skin fetching to thunk
2019-11-30 13:42:53 -08:00
Jordan Eldredge
721c9eec86
Add the first redux action to the modern skin codebase
2019-11-30 13:42:53 -08:00
Jordan Eldredge
9f665b47e4
Introduce Redux into the modern skin codebase
2019-11-30 13:42:53 -08:00
Jordan Eldredge
443392dadb
Memoize getting track display name
2019-11-30 13:42:53 -08:00
Jordan Eldredge
f39449b46c
Refactor to functional component, and remove unused dispatch prop
2019-11-30 13:42:53 -08:00
jberg
a97f155dfc
Fix errors when node is the top level container ( #853 )
...
* Fix errors when node is the top level container
* simplify by adding findParentOrCurrentNodeOfType
2019-11-30 13:42:53 -08:00
jberg
d13ff4d302
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-11-30 13:42:53 -08:00
jberg
a950ceb99e
Fix initial stack values ( #851 )
2019-11-30 13:42:53 -08:00
jberg
126fade049
Fix hook eventNames to be case insensitive ( #852 )
2019-11-30 13:42:53 -08:00
jberg
3db63bd7c3
Setup update listeners to rerender react components ( #848 )
...
* Setup update listeners to rerender react components
* setupUpdates -> useJsUpdates
2019-11-30 13:42:53 -08:00
jberg
8ffc56f194
Always fire mouseup on element that had mousedown ( #850 )
2019-11-30 13:42:53 -08:00
Jordan Eldredge
46042d0748
Swap the name of the VM and the interpreter ( #843 )
2019-11-30 13:42:53 -08:00
Jordan Eldredge
d8b33e4795
Start using react redux hooks ( #845 )
...
* Upgrade react-redux
* Upgrade react-redux types
* Start adopting react-redux hooks
2019-11-30 13:42:53 -08:00
jberg
61c0afb165
Fix hook variable passing and initial stack setup ( #844 )
2019-11-30 13:42:53 -08:00
jberg
5411a444e7
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-11-30 13:42:53 -08:00
Jordan Eldredge
42c46bbac1
Fix monkey patching in the debugger
2019-11-30 13:42:53 -08:00
Jordan Eldredge
3458498f6a
Fix debugger alignment
2019-11-30 13:42:53 -08:00
Jordan Eldredge
b2cb4406fa
Avoid setting minWidth to NaN
2019-11-30 13:42:53 -08:00
Jordan Eldredge
cb2f8b08f4
Decompose lexical scope walking
2019-11-30 13:42:53 -08:00
Jordan Eldredge
54606c8703
I like destructuring
2019-11-30 13:42:53 -08:00
Jordan Eldredge
9dd5ccdd4e
Letters are cheap, lets use more of them
2019-11-30 13:42:53 -08:00
Jordan Eldredge
bde86f9d2e
Upgrade eslint-plugin-prettier
2019-11-30 13:42:53 -08:00
jberg
0ac85b422e
Remove xmlNode from MAKI objects ( #829 )
...
* Remove xmlNode from MAKI objects
* fix missed in rebase
2019-11-30 13:42:53 -08:00
Jordan Eldredge
d9a911f46b
Fix auto-fixable lint errors in modern ( #840 )
2019-11-30 13:42:53 -08:00
dependabot[bot]
44066d32db
Bump handlebars from 4.1.0 to 4.1.2 ( #839 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.1.0 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-30 13:42:53 -08:00
dependabot[bot]
e1c37b260a
Bump lodash from 4.17.11 to 4.17.15 in /experiments/skin-database ( #838 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-30 13:42:53 -08:00
dependabot[bot]
a8622bf78d
Bump lodash.template from 4.4.0 to 4.5.0 ( #837 )
...
Bumps [lodash.template](https://github.com/lodash/lodash ) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-30 13:42:53 -08:00
dependabot[bot]
d210aa51e7
Bump stringstream from 0.0.5 to 0.0.6 ( #834 )
...
Bumps [stringstream](https://github.com/mhart/StringStream ) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/mhart/StringStream/releases )
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-30 13:42:53 -08:00
dependabot[bot]
6d5c30f10b
Bump lodash from 4.17.11 to 4.17.13 in /experiments/skinArchiveTools ( #835 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-11-30 13:42:53 -08:00