Commit Graph

1069 Commits

Author SHA1 Message Date
Vladimir Enchev
0d88bb7c06 If only backgroundColor is set use setColorFilter 2016-01-11 16:28:17 +02:00
Hristo Hristov
18f074067a Fixed enum value name 2016-01-11 12:37:48 +02:00
Hristo Hristov
ef11c7b7cf Resetting layoutParams was missing the new percent properties 2016-01-11 12:37:48 +02:00
Vladimir Enchev
d7b13299b8 text-transform and text-decoration with formattedText fixed 2016-01-11 11:24:07 +02:00
Panayot Cankov
3713097c5f Merge pull request #1341 from NativeScript/cankov/fix-positionless-source-error-format
In rare cases SourceErrorFormat is called wihtout position and hides the original error
2016-01-11 10:26:39 +02:00
Panayot Cankov
0fc54f132f Merge pull request #1292 from NativeScript/cankov/does-not-have
Frame: navigateCore: The Error Lies
2016-01-08 16:59:05 +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 Hristov
1d0dbb1756 Fix action-bar when app is put to background and restored (and Do not keep activities is TRUE) 2016-01-04 15:29:07 +02:00
Panayot Cankov
90f462d787 Frame: navigateCore: The Error Lies 2015-12-23 17:09:52 +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
vakrilov
04155368dd Implement page property for ActionItem 2015-12-22 16:48:46 +02:00
Vladimir Enchev
16c5228137 Merge pull request #1286 from NativeScript/stylers
stylers removed
2015-12-22 16:43:54 +02:00
Vladimir Enchev
d50e2fdb37 stylers removed 2015-12-22 16:12:18 +02:00
Nedyalko Nikolov
5e440ab924 Fixed getting object properties too many times. 2015-12-18 16:01:32 +02:00
Vladimir Enchev
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
Rossen Hristov
cbf69e60e8 Merge pull request #1263 from NativeScript/issue-518
Fixed Issue #518:  Allow ActionItems to be directly specified between…
2015-12-17 11:03:10 +02:00
Rossen Hristov
1bd52efddb Fixed Issue #518: Allow ActionItems to be directly specified between the ActionBar opening and closing tags. 2015-12-16 16:37:35 +02:00
Hristo Hristov
1dbb742908 Implemented percent support for width, height and margins 2015-12-15 14:36:27 +02:00
vakrilov
9418ab8f63 Method rename 2015-12-14 18:06:37 +02:00
vakrilov
fdf9c923ad Load fonts from file instead of asset. Fixes fonts loading in ION and livesync 2015-12-14 16:36:38 +02:00
Rossen Hristov
b47a648e6c Resolved Issue #1127: Changing ActionBar title after page is loaded does not show the ActionBar 2015-12-14 15:58:17 +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
Rossen Hristov
643f9bf901 Merge pull request #1243 from NativeScript/issue-1242
Resolved Issue #1242:  Add Page `showingModally` event.
2015-12-12 17:02:53 +02:00
Rossen Hristov
d2c7b9968a Resolved Issue #1242: Add Page showingModally event. 2015-12-12 16:42:23 +02:00
Rossen Hristov
1c59f7706d Added nativeView.setLayerType(android.view.View.LAYER_TYPE_HARDWARE, null); for complex backgrounds on API Level > 18. (Resolves #1223) 2015-12-12 15:33:04 +02:00
Rossen Hristov
f732224248 Reverted the changes made with commit 700818d (Resolves Issue #1223). Use this to fix visual glitches: view.android.setLayerType(android.view.View.LAYER_TYPE_HARDWARE, null); 2015-12-12 15:14:04 +02:00
Vladimir Enchev
a2fb0c96be default font size fixed 2015-12-11 10:27:51 +02:00
Rossen Hristov
2c8bc8aed1 Merge pull request #1229 from NativeScript/issue-1223
Resolved Issue #1223: Android views which have complex backgrounds (i…
2015-12-10 15:32:59 +02:00
Rossen Hristov
700818dd28 Resolved Issue #1223: Android views which have complex backgrounds (i.e. with rounded corners) cannot animate opacity. 2015-12-10 14:56:03 +02:00
Vladimir Enchev
3650a6f4fe font-family implemented 2015-12-10 13:52:13 +02:00
Hristo Hristov
d1d6c2221c Fixed android unit-tests 2015-12-08 14:32:14 +02:00
vakrilov
c2de8f7ba0 FIX: Platform specific _addViewCore, ignoring index parameter 2015-12-08 11:47:39 +02:00
Vladimir Enchev
e9adafda55 resolveFontDescriptor fixed 2015-12-07 16:33:06 +02:00
Vladimir Enchev
98ab3f8b2f Merge pull request #1203 from NativeScript/webviewclient
WebViewClientClass exported
2015-12-07 09:28:42 +02:00
Alexander Vakrilov
f6e1c72b39 Merge pull request #1207 from NativeScript/feature/action-bar-fix
FIX: Wrong tap events are fired when there are hidden ActionBarItems
2015-12-04 21:42:02 +02:00
vakrilov
deb93737a1 FIX: Wrong tap events are fired when there are hidden ActionBarItems 2015-12-04 17:07:26 +02:00
Rossen Hristov
91b46ea131 Extended the tracing information for Bindings and Android NativeLifecycle. 2015-12-04 16:49:04 +02:00
Rossen Hristov
e14fdba736 Removed an unnecessary check from measurePage. 2015-12-04 11:54:42 +02:00
Vladimir Enchev
4861760227 WebViewClientClass exported 2015-12-04 11:35:32 +02:00
Rossen Hristov
a5afdb1411 Fixed Issue #1201: iOS: A page that is disappearing with animation after navigation to another page should not be measured and laid out. 2015-12-04 11:22:40 +02:00
Panayot Cankov
6d43f4dcbc Merge pull request #1200 from NativeScript/cankov/background-native-image-recreated
Fix native image recreated on layout even if the view is not resized
2015-12-04 10:56:01 +02:00
Panayot Cankov
d61ab801e9 Fix native image recreated on layout even if the view is not resized 2015-12-03 16:55:54 +02:00
Alexander Vakrilov
fd59932487 Merge pull request #1198 from NativeScript/feature/action-bar
Feature/action bar
2015-12-03 15:28:14 +02:00
vakrilov
57adec0bc6 Fix: Action bar does not show if only titleView is set 2015-12-03 13:52:55 +02:00
Panayot Cankov
c07751a419 Merge pull request #1189 from NativeScript/cankov/codeless-fragments-events
XML fragments without code not getting context from parent
2015-12-03 10:24:36 +02:00
Kamen Velikov
a548bbe26a Merge pull request #1157 from NativeScript/kvelikov/action-items-visibility
ActionItems visibility
2015-12-02 14:22:48 +02:00
Vladimir Enchev
61be97a430 Merge pull request #1194 from NativeScript/time-picker-fix
Android API Level 23 fixed
2015-12-02 13:45:52 +02:00
Hristo Hristov
afe7526691 Merge pull request #1185 from NativeScript/hhritov/do-refactoring-strict-mode
removed unneeded check and make it strict-mode compliant
2015-12-02 13:13:03 +02:00
Vladimir Enchev
d788cc64c6 Android API Level 23 fixed 2015-12-02 11:57:26 +02:00
Kamen Velikov
002cfab84e Add visibility property to ActionItem
Adding the resource to the project file.

Fix.
2015-12-02 11:47:41 +02:00