765 Commits

Author SHA1 Message Date
51ccdb0820 Revert button text alignment 2017-05-31 17:21:17 +03:00
3fe2815ded Support http.getFile for URLs with query params 2017-05-30 14:55:15 +03:00
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
26e2748f24 fix(animations): remove default getters for tranform properties (#4286) 2017-05-29 17:39:32 +03:00
c519a4bb6f add profile for functions, profile CSS-es on startup, use __time 2017-05-25 14:40:13 +03:00
35f0f73331 Merge pull request #4239 from NativeScript/getDefault-for-animatiable-props
Support getDefault for CssAnimationProperty
2017-05-25 10:42:01 +03:00
6a87a85714 Fix web-view typedoc 2017-05-23 16:16:57 +03:00
e7d9fe5b24 Support getDefault for CssAnimationProperty 2017-05-19 18:46:26 +03:00
6ba2a1e058 Merge pull request #4207 from NativeScript/profiling-2
Add resetProfiles method to profiling module
2017-05-19 11:27:21 +03:00
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
694dd17c97 Merge pull request #4216 from NativeScript/fix-text-field-docs
Fix text-field typedoc
2017-05-18 18:31:48 +03:00
7986e479cd Performance improvements after profiling the android flexbox example 2017-05-18 18:00:31 +03:00
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
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
09188a1a6c Fix text-field typedoc 2017-05-17 15:18:02 +03:00
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
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
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
d9d1f81144 Merge pull request #4202 from NativeScript/app-displayed-event
App "displayed" event
2017-05-17 09:31:08 +03:00
f23c6c6455 Add resetProfiles method 2017-05-16 17:49:27 +03:00
a61943fe88 fix ios modal layout issue #4151 2017-05-16 16:37:10 +03:00
610794f709 Add 'displayed' event on application for iOS 2017-05-16 16:10:50 +03:00
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
34aec12c3b fix https://github.com/NativeScript/NativeScript/issues/4135 (#4192) 2017-05-16 11:02:24 +03:00
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
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
eb7094caaf Added updateItemIconPosition function to center the TabViewItem icon when the title is not present. 2017-05-15 16:01:36 +03:00
f954d64d79 Fix: ActionBar update in IOS with modal dialogs 2017-05-15 14:41:22 +03:00
f398398a8b Merge pull request #4048 from PeterStaev/objc-decorators
Add objc decorator definitions
2017-05-15 10:28:12 +03:00
9df6003482 Add class name in timer name 2017-05-14 11:03:57 +03:00
75ce15bffc Use object instad of map for performance 2017-05-13 14:01:48 +03:00
b47dafc01a Add try catch for profiler decorator 2017-05-13 13:27:13 +03:00
7e3fdb4505 Fixes 2017-05-12 17:22:00 +03:00
08db23d613 Profiling utils 2017-05-12 15:30:51 +03:00
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
6b10e94005 FIX: Span with unknown font-family crash 2017-05-10 18:42:23 +03:00
c2aec26ccf Merge pull request #4146 from NativeScript/sibling-css-selector
Sibling css selector
2017-05-10 14:20:10 +03:00
0cae034a64 Changing module docs so they can appear in typedoc. 2017-05-10 11:55:47 +03:00
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
85008174cb Update npm tag 2017-05-04 15:44:32 +03:00
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
b7401cffd3 ImageView clear bitmap only when src is null/undefined (#4095) 2017-05-03 14:17:05 +03:00
43029285ec Remove redundant definitions 2017-05-01 17:26:46 +03:00
effbffac0f Binding Image's src to 'res://icon' fails as bindings wrap string in String 2017-04-28 15:32:19 +03:00
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
f9c89f3bef Merge pull request #4075 from NativeScript/PetyaSotirova/api-links
Fix wrong API ref links
2017-04-27 21:37:19 +03:00
07247e9fcc Fix wron API ref links 2017-04-27 18:31:59 +03:00
62cba0070f Setting image src to null will clear the bitmap. 2017-04-27 13:55:32 +03:00
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
2ce085816c add objc decorator definitions
refactoring to ObjC

objc decorators final api definitions
2017-04-25 23:31:12 +03:00