1153 Commits

Author SHA1 Message Date
Dylan Piercey
c0643c8bca
Fix issue with removing children inside of fragments (#1359) 2019-06-18 10:28:22 -07:00
Dylan Piercey
81612e52ee
Fix regression with body-only-if and control flow attribute (#1356) 2019-06-14 17:09:33 -07:00
Andrew Gliga
af95c09e94
Merge branch 'master' of github.com:marko-js/marko into body-only-if-tag 2019-06-06 12:20:36 -07:00
Andrew Gliga
9a4630a9c7
Fixed relative path issue and added a better variable collision lookup 2019-06-06 12:02:17 -07:00
Dylan Piercey
6b5ed8574e
Fix issue with setting textarea value to false (#1348) 2019-06-05 14:05:58 -07:00
Dylan Piercey
6f473701c1
Update htmljs-parser 2019-06-05 11:36:33 -07:00
Dylan Piercey
eaa7024720
Improve for loop auto keying (#1346) 2019-06-05 11:29:29 -07:00
Dylan Piercey
f1744b95d9
Fix and deprecate passing a non string key (#1344) 2019-06-05 11:28:58 -07:00
Dylan Piercey
e729b89b1e
Fix issue when using getEls with repeated id in a split component (#1343) 2019-05-29 11:39:34 -07:00
Michael Rawlings
4a73060bc6 Cleanup tests (#1341)
Cleanup tests and add assertions that all deprecated tests log warnings, and all non deprecated tests don't.
2019-05-28 10:54:31 -07:00
Dylan Piercey
25d29b10e0
Fix regression with namespace inside of a fragment (#1340) 2019-05-21 18:09:40 -07:00
Dylan Piercey
197f3ff718
Register components before mounting (#1336)
* Register components before mounting
2019-05-21 14:08:14 -07:00
Dylan Piercey
4cdc807b3b
Walk nested fragments for getEl (#1339) 2019-05-21 14:07:54 -07:00
Dylan Piercey
e065c140ff
Namespace fixes (#1333)
* Calculate namespace on actualize
2019-05-20 13:13:51 -07:00
Dylan Piercey
263a3783be
Ignore unrecognized tags compiler option now includes @tags (#1335)
* Ignore unrecognized tags compiler option now includes nested @tags
2019-05-17 10:13:49 -07:00
Michael Rawlings
a2153d2c66 Fix preserve (#1334)
* use scoped keys when adding to the global preserve lookup, fixes key collision issue
2019-05-17 09:48:37 -07:00
Andrew Gliga
3b4d8484fe
Fixed test failures and cleaned up code 2019-05-15 14:46:38 -07:00
Andrew Gliga
5981fc3ef0
Added body only if tests and migration path 2019-05-15 13:06:20 -07:00
Andrew Gliga
6e30730d11
Fixed null rendering to use fragment 2019-05-14 11:23:54 -07:00
Dylan Piercey
c59b95453c
Allow macros with tag params to be implicit components (#1326) 2019-05-13 12:41:40 -07:00
Andrew Gliga
2de447933a Moved all body-only-if tags to deprecated 2019-05-13 09:23:43 -07:00
Andrew Gliga
053f01ff44 Fixed tests and rendering of null tag 2019-05-13 09:10:57 -07:00
Andrew Gliga
458ae1b85a
Added null tag to render body 2019-05-10 13:34:39 -07:00
Dylan Piercey
a714074dd1
Fix regression with unary expression printing (#1323)
* Fix regression with unary expression printing
2019-04-30 11:48:23 -07:00
Michael Rawlings
e6408c2c14
fix components runtime path after refactor (#1322) 2019-04-22 14:20:15 -07:00
Michael Rawlings
3143990d95
fix destorying a component that has already removed some top-level nodes (#1321) 2019-04-22 14:19:43 -07:00
Michael Rawlings
101c5c6bb8
refactor to better separate compiler/taglib/core-tags/runtime (#1319)
* refactor out taglib loader/finder/lookup

* add comments for taglib apis that we need to deprecate

* move components into runtime/core-tags
2019-04-16 13:34:26 -07:00
Dylan Piercey
962673b8da Improve w-body migration (#1318) 2019-04-16 13:02:32 -07:00
Michael Rawlings
c5a5eab156 Hydrate update (#1317)
* when hydrating, render top down, mount bottom up
2019-04-16 10:37:51 -07:00
Dylan Piercey
14cec4c212
Improve dynamic tag arguments parsing (#1308) 2019-04-03 12:34:33 -07:00
Dylan Piercey
36ab4ed18d
Fix issue with undefined state property setters being applied to the wrong component (#1306) 2019-04-01 13:30:41 -07:00
Dylan Piercey
6fbf83155e Ensure space when dynamic attributes as string is provided (#1304) 2019-03-28 13:25:23 -07:00
Dylan Piercey
bb1c9ffa37 Sync button disabled attribute (#1303) 2019-03-28 13:24:44 -07:00
Michael Rawlings
9cb22a97eb fix macro with injected renderBody migration (#1300) 2019-03-27 15:31:52 -07:00
Michael Rawlings
a5dfa884ee
fix widget.elId as <var>/<assign> attribute (#1298) 2019-03-20 15:10:22 -07:00
Dylan Piercey
8be4a5d00d
Remove redundant part of key path for nested macros (#1295) 2019-03-19 16:14:05 -07:00
Dylan Piercey
070b09becd
Fix issue with hydrating nested fragments that are adjacent in the dom (#1294) 2019-03-19 16:08:37 -07:00
Dylan Piercey
2f54313613
Fix regression for no-update on dynamic tag html attributes (#1292)
* Fix regression for no-update on dynamic tag html attributes
2019-03-15 13:00:47 -07:00
Michael Rawlings
f3155e538c
add option to revert to old hydrate (pre 4.9) behavior (#1289) 2019-03-15 11:33:54 -07:00
Dylan Piercey
979c813190
Improve parsing of arguments (#1286)
* Improve parsing of arguments
2019-03-13 14:03:31 -07:00
Dylan Piercey
c96d181cd1
Fix issue with <title> namespace inside an svg (#1284) 2019-03-13 13:59:56 -07:00
Dylan Piercey
a85230075f
Forward error events from nested out of order async outs (#1275)
* Forward error events from nested out of order async outs
2019-03-05 14:52:06 -08:00
Dylan Piercey
cbf934d576
Prevent logging false positive deprecations for legacy nested tags (#1271) 2019-03-01 16:01:17 -08:00
Dylan Piercey
95c515e66f
Fix function as event handler when server side rendering (#1262) 2019-02-15 15:49:08 -08:00
Michael Rawlings
d2a0de5a2e fix <html-comment> tag (#1261) 2019-02-14 16:26:31 -08:00
Dylan Piercey
bfe194d8c9 Implement modern arguments support for dynamic tags (#1259) 2019-02-14 15:12:09 -08:00
Dylan Piercey
cdb60996d5 Fix regression with dynamic attributes as a string on server side (#1257) 2019-02-14 15:11:01 -08:00
Dylan Piercey
9e1577fff4
Migrate legacy macro syntax to tag params 2019-02-07 11:54:00 -08:00
Dylan Piercey
59ce9e8f07
Update <for> to use tag params and add migration (#1238) 2019-02-07 11:53:59 -08:00
Dylan Piercey
24753a7674
Upgrade <await> tag to use tag parameters and attribute tags. Add migration from old syntax. (#1244) 2019-02-07 11:50:49 -08:00