Commit Graph

1043 Commits

Author SHA1 Message Date
Hristo Hristov
188a1c2c34 Binding to ViewBase as source now works (#4195)
* Fix 4127

* Move back Binding class to bindable module
2017-05-16 13:33:02 +03:00
Hristo Hristov
34aec12c3b fix https://github.com/NativeScript/NativeScript/issues/4135 (#4192) 2017-05-16 11:02:24 +03:00
Panayot Cankov
90d36b26d3 Add 'displayed' event for android, close to the Displayed point logged in the android monitor for activity startup 2017-05-16 10:55:10 +03:00
Alexander Vakrilov
66c381d195 Merge pull request #4176 from NativeScript/fix-action-bar-modal
Fix: ActionBar update in IOS with modal dialogs
2017-05-15 17:22:37 +03:00
Henry Chavez
eb7094caaf Added updateItemIconPosition function to center the TabViewItem icon when the title is not present. 2017-05-15 16:01:36 +03:00
vakrilov
f954d64d79 Fix: ActionBar update in IOS with modal dialogs 2017-05-15 14:41:22 +03:00
Panayot Cankov
f398398a8b Merge pull request #4048 from PeterStaev/objc-decorators
Add objc decorator definitions
2017-05-15 10:28:12 +03:00
vakrilov
9df6003482 Add class name in timer name 2017-05-14 11:03:57 +03:00
vakrilov
75ce15bffc Use object instad of map for performance 2017-05-13 14:01:48 +03:00
vakrilov
b47dafc01a Add try catch for profiler decorator 2017-05-13 13:27:13 +03:00
vakrilov
7e3fdb4505 Fixes 2017-05-12 17:22:00 +03:00
vakrilov
08db23d613 Profiling utils 2017-05-12 15:30:51 +03:00
Alexander Vakrilov
6649fcfa66 Merge pull request #4159 from NativeScript/fix-btn-span
FIX: Span with unknown font-family crash
2017-05-11 10:32:49 +03:00
vakrilov
6b10e94005 FIX: Span with unknown font-family crash 2017-05-10 18:42:23 +03:00
Nikolay Tsonev
c2aec26ccf Merge pull request #4146 from NativeScript/sibling-css-selector
Sibling css selector
2017-05-10 14:20:10 +03:00
Panayot Cankov
0cae034a64 Changing module docs so they can appear in typedoc. 2017-05-10 11:55:47 +03:00
SBats
af38cf5f3e Create css combnators tests page in apps
Setup direct siblings apps tests

Fix direct child test

Add direct sibling test on class and type element

Add sibling combinator handling for id selectors

Completely redo sibling selector and add attributes and pseudo class selectors tests

Handle sibling via a custom group instead of a selector

Fix Selector groups creation

Add unit test for sibling selection

Fix tslint errors
2017-05-09 11:29:11 +03:00
vchimev
85008174cb Update npm tag 2017-05-04 15:44:32 +03:00
Hristo Hristov
cf63da608a If page.parent is already the same frame - don’t add page to frame. This happens if activity is recreated. (#4096) 2017-05-04 10:39:39 +03:00
Hristo Hristov
b7401cffd3 ImageView clear bitmap only when src is null/undefined (#4095) 2017-05-03 14:17:05 +03:00
vakrilov
43029285ec Remove redundant definitions 2017-05-01 17:26:46 +03:00
Panayot Cankov
effbffac0f Binding Image's src to 'res://icon' fails as bindings wrap string in String 2017-04-28 15:32:19 +03:00
Panayot Cankov
aed7510994 Merge pull request #4073 from NativeScript/fix-image-src-null
Setting image src to null will clear the bitmap.
2017-04-28 11:52:20 +03:00
Alexander Vakrilov
f9c89f3bef Merge pull request #4075 from NativeScript/PetyaSotirova/api-links
Fix wrong API ref links
2017-04-27 21:37:19 +03:00
Petya Sotirova
07247e9fcc Fix wron API ref links 2017-04-27 18:31:59 +03:00
Panayot Cankov
62cba0070f Setting image src to null will clear the bitmap. 2017-04-27 13:55:32 +03:00
Hristo Hristov
502a37d27c Fix ios placeholder implementation (#4067)
* Fix https://github.com/NativeScript/NativeScript/issues/4043

* Merge ios & android implementation
2017-04-26 14:27:24 +03:00
Peter Staev
2ce085816c add objc decorator definitions
refactoring to ObjC

objc decorators final api definitions
2017-04-25 23:31:12 +03:00
Panayot Cankov
826c922a98 Merge pull request #4056 from NativeScript/revert-translate
Revert the translateX/Y to be in dip, Length prefer number to object type
2017-04-25 16:02:28 +03:00
Panayot Cankov
e26032f5fe Revert the translateX/Y to be in dip 2017-04-25 14:49:12 +03:00
Panayot Cankov
5cc8def8e4 Fix broken _onAndroidAnimationEnd after back navigation 2017-04-25 14:32:50 +03:00
Vasil Chimev
0467375856 Update widgets to internal-preview 2017-04-24 14:21:11 +03:00
Panayot Cankov
d7638c3ae4 Fix missing private _addChildFromBuilder 2017-04-24 10:24:05 +03:00
Hristo Hristov
25849a1425 implement get/set for selectedBackgroundColor property (#4039)
* implement get/set for selectedBackgroundColor property

* list-view separator color exposed through style

* Style androidStatusBarBackground exposed on Page
2017-04-21 17:57:25 +03:00
Alexander Vakrilov
c7c0ea7ca4 Merge pull request #4038 from NativeScript/vlaeva/const-enum-replacement
refactor: replace exported "const enums" with "enums"
2017-04-21 17:22:07 +03:00
Alexander Vakrilov
5457424766 Expose statusBarStyle on page (#4021) 2017-04-21 17:16:57 +03:00
Hristo Hristov
9e3222781a backgroundImage property now use Fetcher & Cache as Image component (#4030)
* backgroundImage property now use Fetcher & Cache as Image component
Fix GridLayout tests on iPhone Plus - actualLength wasn’t rounded
ImageCache is closed when activity is stopped

* Fix reset of background drawable.

* additional check for drawable

* imageCache init cache on activity Started
2017-04-21 16:50:12 +03:00
sis0k0
486a0e8c2c refactor: replace exported "const enums" with "enums" 2017-04-21 16:27:31 +03:00
Eddy Verbruggen
9437f49aed #3889 Add a 'blur' event to text input fields (#3896) 2017-04-20 17:57:03 +03:00
Panayot Cankov
b6b5465d32 Merge pull request #3992 from NativeScript/typedoc-build
Update the typedoc build
2017-04-20 17:41:42 +03:00
Panayot Cankov
d098ff43f5 Add module names for the typedoc, make it work
Mark members with @private for typedoc.
2017-04-20 16:58:30 +03:00
SvetoslavTsenov
423f4cf7f3 Update package.json 2017-04-18 17:46:55 +03:00
SvetoslavTsenov
6a4d159d7c Bump version 2017-04-18 17:37:23 +03:00
Alexander Vakrilov
dca52bb8fd Merge pull request #3988 from NativeScript/fix-autocapitalization-type
FIX: Crash when setting autocapitalizationType=allCharacters in xml
2017-04-13 13:09:46 +03:00
vakrilov
4b98db0643 Property values should be lowercased to pass validation. 2017-04-13 11:22:45 +03:00
Alexander Vakrilov
577d011166 Merge pull request #3982 from NativeScript/remove-getColor
Remove getColor form utils.d.ts
2017-04-13 11:10:44 +03:00
vakrilov
a6909da543 Fix: TextAlign initial value 2017-04-12 17:43:40 +03:00
vakrilov
81aa5d2795 Remove getColor form utils.d.ts 2017-04-12 17:25:54 +03:00
Alexander Vakrilov
9aadf14685 Merge pull request #3980 from NativeScript/web-view-query-params
Web view query params
2017-04-12 13:58:41 +03:00
Panayot Cankov
7108fc6954 Merge pull request #3979 from NativeScript/fix-ios-zero-scale
Setting scale to 0 in iOS was actually using 0, it will now use 1e-6
2017-04-12 11:12:58 +03:00