Commit Graph

774 Commits

Author SHA1 Message Date
Panayot Cankov
51b351f5b6 Add timeline traces in the console, let enabling them through the package.json 2017-06-02 16:34:15 +03:00
Alexander Vakrilov
63633533bc Merge pull request #4190 from NativeScript/EddyVerbruggen-eddyverbruggen/issue-3614-text-maxlength-property
Implemented feature request: TextField `maxLength` property support.
2017-06-01 13:31:54 +03:00
Alexander Vakrilov
9f47746d98 Merge pull request #4292 from NativeScript/fix-ios-text-view-hint
Fix: IOS text view hint should never show while editing
2017-06-01 13:31:28 +03:00
vakrilov
4509f04929 UI test added 2017-06-01 12:23:26 +03:00
vakrilov
8b3ccdec21 Return hintProperty registration 2017-06-01 12:19:21 +03:00
eddyverbruggen@gmail.com
eda57d2c35 #3614 Feature request: TextField maxLength property support.
- Implemented @PanayotCankov's Android 'view recycle' remark.
2017-06-01 11:57:24 +03:00
eddyverbruggen@gmail.com
da6562b506 #3614 Feature request: TextField maxLength property support.
- Implemented @PanayotCankov's review remarks.
2017-06-01 11:57:24 +03:00
eddyverbruggen@gmail.com
0997d537d0 Feature request #3614: TextField maxLength property support. 2017-06-01 11:57:24 +03:00
SvetoslavTsenov
51ccdb0820 Revert button text alignment 2017-05-31 17:21:17 +03:00
vakrilov
abe25d1286 FIX: Never show text-view hint while editing. 2017-05-30 17:15:53 +03:00
vakrilov
3fe2815ded Support http.getFile for URLs with query params 2017-05-30 14:55:15 +03:00
Todd Anglin
9551418b15 Fixing Button text alignment behavior
This change switches iOS Button text alignment from using the generic `nativeView.contentHorizontalAlignment` to using the Button's `nativeView.titleLabel.textAlignment`. This change allows text in a Button to properly center align when wrapped on to multiple lines. Left and Right alignment behavior are unchanged, but using new syntax for consistency.
2017-05-30 13:31:39 +03:00
Stanimira Vlaeva
26e2748f24 fix(animations): remove default getters for tranform properties (#4286) 2017-05-29 17:39:32 +03:00
Panayot Cankov
c519a4bb6f add profile for functions, profile CSS-es on startup, use __time 2017-05-25 14:40:13 +03:00
Alexander Vakrilov
35f0f73331 Merge pull request #4239 from NativeScript/getDefault-for-animatiable-props
Support getDefault for CssAnimationProperty
2017-05-25 10:42:01 +03:00
PetyaSotirova
6a87a85714 Fix web-view typedoc 2017-05-23 16:16:57 +03:00
vakrilov
e7d9fe5b24 Support getDefault for CssAnimationProperty 2017-05-19 18:46:26 +03:00
Alexander Vakrilov
6ba2a1e058 Merge pull request #4207 from NativeScript/profiling-2
Add resetProfiles method to profiling module
2017-05-19 11:27:21 +03:00
Panayot Cankov
f6993b706a Merge pull request #4167 from NativeScript/perf-flexbox-example
Improvements after profiling the android flexbox example
2017-05-19 08:57:58 +03:00
Panayot Cankov
694dd17c97 Merge pull request #4216 from NativeScript/fix-text-field-docs
Fix text-field typedoc
2017-05-18 18:31:48 +03:00
Panayot Cankov
7986e479cd Performance improvements after profiling the android flexbox example 2017-05-18 18:00:31 +03:00
Stanimira Vlaeva
90a0da2863 fix(livesync): attach __onLiveSyncCore to global object (#4215)
That method needs to be exposed because it's used in NativeScript Angular (https://github.com/NativeScript/nativescript-angular/blob/master/nativescript-angular/platform-common.ts#L91).
2017-05-18 17:13:24 +03:00
Hristo Hristov
0d21f52c99 Hhristov/ios background image crash fix (#4214)
* uiColorFromImage should return if there is no image.

* added unit-test
2017-05-17 15:40:14 +03:00
Panayot Cankov
09188a1a6c Fix text-field typedoc 2017-05-17 15:18:02 +03:00
Hristo Hristov
cbbee3bbe7 get method on Observable created with fromObject wan’t returning the value that was put from set if that property was not specified in the object passed to fromObject. (#4213)
get method on Observable created with fromObject wasn’t returning the …
2017-05-17 13:30:46 +03:00
Hristo Hristov
585e74e752 switch in iOS cannot have different size than 51/31. Setting it in onMeasure is late. (#4212) 2017-05-17 13:29:59 +03:00
Hristo Hristov
b67213120e Change onReturnPress from abstract to non abstract so that TextView doesn’t throw exception when Return is pressed (#4208)
Fix https://github.com/NativeScript/NativeScript/issues/4123
2017-05-17 09:47:05 +03:00
Panayot Cankov
d9d1f81144 Merge pull request #4202 from NativeScript/app-displayed-event
App "displayed" event
2017-05-17 09:31:08 +03:00
vakrilov
f23c6c6455 Add resetProfiles method 2017-05-16 17:49:27 +03:00
kssfilo
a61943fe88 fix ios modal layout issue #4151 2017-05-16 16:37:10 +03:00
Panayot Cankov
610794f709 Add 'displayed' event on application for iOS 2017-05-16 16:10:50 +03:00
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