Panayot Cankov
522c9ee7ed
Add source information in the xml builder, print source file as part for veiw.toString
2016-03-15 11:23:51 +02:00
Vladimir Enchev
2572cc13f7
Code file exports fixed
2016-03-09 15:04:37 +02:00
atanasovg
56f1aaa795
Do not use lazy requires where not needed.
2016-01-25 16:33:18 +02:00
Panayot Cankov
dfdcc91eea
In rare cases SourceErrorFormat is called wihtout position and hides the original error
2016-01-08 16:58:03 +02:00
Hristo Deshev
3e1b591bde
Improve default namespace skips.
...
- Check every parsed namespace instead of running a global regex on the
whole input
- Check for namespaces ending in tns.xsd and allow schemas hosted on
different URL's than the default one.
2015-12-23 15:23:26 +02:00
Vladimir Enchev
074ac89871
imports improved
2015-12-17 14:53:46 +02:00
Hristo Deshev
648e4d216d
Add utils/module-loader - a mechanism to resolve modules at runtime.
...
Exposes a module registration API, that webpack users can use to bundle
"dynamic" modules that are required through some variable.
Falls back to the require API if no module is registered.
Reworked dynamic `require` code to use module-loader:
- navigation: ui/frame.
- XML UI build ui/builder/builder and ui/builder/component-builder.
- module on-demand loads in global functions: globals.
2015-12-14 14:41:16 +02:00
Panayot Cankov
e5ec759cbb
When XML fragments without code not getting context from parent
2015-12-01 12:28:31 +02:00
Panayot Cankov
af343292b1
Propagate context to template Views
2015-11-30 15:01:38 +02:00
Panayot Cankov
5447b04e86
Refactoring ui/builder and template builder to preserve source information for templates
2015-11-25 15:25:42 +02:00
Panayot Cankov
8bee3ed2d1
Add file, row and column for ui/builder errors
2015-11-25 15:25:42 +02:00
Panayot Cankov
e95820b04a
Add Template factory function and use it in the Repeater and ListView components
2015-11-23 12:11:13 +02:00
Erjan Gavalji
87e064c417
Fix the broken regex in the builder
2015-11-10 16:57:36 +02:00
Erjan Gavalji
4c7b9d59ba
Update the regex to search for www OR schemas for the xmlns removal
2015-11-10 15:06:10 +02:00
Erjan Gavalji
28d3992e32
Update the builder as well
2015-11-09 15:11:43 +02:00
Nedyalko Nikolov
2f7cf84839
Fixed issue 597.
2015-10-20 15:42:18 +03:00
vakrilov
ede36a16ca
Template builder code cleanup
2015-08-13 14:26:09 +03:00
hshristov
8226d86133
Fix builder issue where builder doesn't pop complex properties correctly.
2015-08-13 13:37:11 +03:00
Georgi Atanasov
0468857604
Merge pull request #554 from NativeScript/atanasovg/file-system-api
...
Atanasovg/file system api
2015-08-10 17:55:10 +03:00
vakrilov
bccd5133a3
FIX: Nested templates are not parsed
2015-08-07 11:44:34 +03:00
atanasovg
c683ea44e6
Refactor the file-system-access API to be synchronous. Added *Sync equivalents of the file-system APIs. Removed usage of file-system-access within the code.
2015-08-04 16:53:12 +03:00
vakrilov
6ebd488735
Application orientation changed event
2015-07-31 11:51:01 +03:00
vakrilov
e52b0c4556
Action bar progress
2015-07-15 09:35:53 +03:00
Vladimir Enchev
7c6897bef7
quick fix for "." resolve
2015-07-10 11:22:06 +03:00
Vladimir Enchev
999a0c80f3
file resolver added + lint errors fixed
2015-07-09 14:00:16 +03:00
Vladimir Enchev
56444fb927
throw error if page not specified
2015-07-09 11:26:45 +03:00
Hristo Deshev
7aae543bd7
Strong types for builder.load parameters. Hopefully better intellisense.
2015-07-09 11:22:59 +03:00
Vladimir Enchev
d1ec70286d
more fixes & tests added
2015-07-08 18:16:28 +03:00
Vladimir Enchev
f478c619d8
support for custom components CSS added
2015-07-08 11:28:13 +03:00
Vladimir Enchev
f74d633fc6
console.log removed
2015-07-07 16:43:34 +03:00
Vladimir Enchev
09d289131e
fileName change to path and componentName changed to name
2015-07-07 15:36:20 +03:00
Vladimir Enchev
f999c54e0d
better support for custom components loading
2015-07-07 11:57:53 +03:00
Vladimir Enchev
7c5d1011cb
throw error if nesting platform tags + test
2015-06-17 16:07:42 +03:00
Vladimir Enchev
b38d181b67
platform specific component declaration support for UI builder + tests
2015-06-17 10:51:32 +03:00
Vladimir Enchev
342bae570d
getExports moved to builder
2015-05-25 12:09:15 +03:00
Vladimir Enchev
c192aba30e
default namespace replaced with regex
2015-04-29 10:58:16 +03:00
Vladimir Enchev
efcc0d0ddf
support for custom components inside templates with tests
2015-04-24 14:44:12 +03:00
Vladimir Enchev
04f5c7b20f
properties will be copied to the custom component with XML + tests
2015-04-22 17:07:03 +03:00
Erjan Gavalji
cc829e0152
definitions fixed
2015-03-03 10:34:40 +02:00