4564 Commits

Author SHA1 Message Date
a79a83ce82 Typos (#4789) 2017-09-04 11:09:36 +03:00
3e38eb4b2f Increase timeout for HTTP tests (#4775) 2017-08-30 13:30:53 +03:00
966a256a28 Bump version to 3.3.0 (#4771) 2017-08-29 18:51:00 +03:00
c12b287227 Update scrolling-and-sizing tests to be compatible with lower resolutions (#4770) 2017-08-29 15:58:50 +03:00
12c0199fb5 UIScrollViews will now report 'scroll' events and the background in ios will adjust added layers (#4762) 2017-08-29 10:25:45 +03:00
3fd65cce9f Include ui tests for focus/ blur events for text-view and text-field (#4765)
* Include ui tests for focus/ blur events for text-view and text-field

* Update main-page.ts
2017-08-28 23:29:56 +03:00
7c9fceec65 Delete the layer type tests, for now the layer type is the default (#4763) 2017-08-28 18:05:05 +03:00
03a0ac75b1 Include assert to test_NavigateToNewPage_WithAndroidCache for reuse native views on forward navigation (#4764) 2017-08-28 17:16:41 +03:00
617fa92efc Fix MultiTemplateParser to not eat its closing tag (#4756) 2017-08-25 17:44:10 +03:00
457407ebeb Fix https://github.com/NativeScript/NativeScript/issues/4419 (#4754)
mimeTpye set to "application/octet-stream" according to RFC if content-type is not specified.
See: http://mattryall.net/blog/2008/03/default-content-type, https://stackoverflow.com/questions/1176022/unknown-file-type-mime
2017-08-25 13:29:54 +03:00
f00ec1a966 Add a 'focus' even to text input fields (#4730) 2017-08-25 11:22:47 +03:00
92471c660e fix: uuid for ios changed on IOS v7 (#4681) 2017-08-25 11:19:56 +03:00
c98443b331 Fix breaking change - nativeView property should have setter (#4750)
Exposed savedInstanceState on LaunchEventArgs so some controls that need Bundle to initialize could get it from there.
2017-08-25 11:13:51 +03:00
d62df3789c Do not change the Android layer types (hardware/software) (#4625) 2017-08-25 10:45:58 +03:00
ab42715089 FIX: Async test runner check-timeout bumped. (#4751) 2017-08-24 18:52:05 +03:00
3a16e72ebf Add 'npm run madge-ios' and 'npm run madge-android' to list circular dependencies (#4748) 2017-08-24 13:39:06 +03:00
3a447b6f3f Added @profile on several key methods in the Android lifecycle, refactored by extracting into methods a little (#4685) 2017-08-24 13:10:53 +03:00
7b364613da fix: typo on android utils, getPalleteColor to getPaletteColor (#4687)
* fix: typo on android, getPalleteColor to getPaletteColor

* fix: adress comments
2017-08-24 11:55:31 +03:00
1171da2742 fix(image-source): Fix test for base64 image source for android API 26 (#4741) 2017-08-24 11:17:53 +03:00
b6d5510627 Fix crash where some android Drawables doesn't implement getConstantState... (#4742)
Changed all places where getConstantState was used.
2017-08-24 11:06:33 +03:00
d6689a04b2 Add the this.toString in the profile traces (#4731) 2017-08-24 11:04:46 +03:00
06ad345015 Fix issue 4302 (#4723)
Fix tests for that issue
2017-08-22 09:52:07 +03:00
9bcf4ef460 Removes list-view selected state when rowHeight is set (#4725) 2017-08-22 09:50:54 +03:00
6e06eba218 Fixed a bunch of typo's and minor errors in TypeScript definition files. (#4707)
* Fix a bunch of typo's and minor errors in TypeScript definition files.

* Implemented the requested change by @hshristov
2017-08-21 11:22:04 +03:00
121ad5de01 Enable evaluating in Chrome Console (#3405) (#4713)
Chrome calls compileScript method when an expression is evaluated in the console. So to enable the console evaluate add an empty compileScript implementation.
Also send an Runtime.executionContextCreated which is needed for Console evaluation.
Both of the command and the event do not exist in the Webkit protocol, so we cannot use InspectorBackendCommands definition file
2017-08-18 15:56:17 +03:00
bba7a82bdf Disable recycling, refactoring & fixes (#4705)
* Added tests for native view recycling
Disabled android native view recycling
Move toString from view-common to view-base
Fix crash on application restore and navigation back on API26
Added setAsRootView method
Added missing logo into perf-tests/recycling app

* additional fix for image-source-tests. ios is case sensitive.

* Add @private to some internal properties
Fix where padding is not respected when background is reset.
2017-08-17 09:15:35 +03:00
2701ea3c1e Fix failing test on ios 11 (#4686)
Add new perf-test page for view recycling
Changed the initialization of TextTransformation field
2017-08-16 15:19:01 +03:00
172152a897 Update link in webView test page (#4684) 2017-08-10 15:36:09 +03:00
93d940d6d2 Remove gallery app and include new tests in uitests app (#4679) 2017-08-09 17:12:12 +03:00
08dcfabe82 refactor(date-picker): value converter for month is 1-based (#4656) 2017-08-08 17:07:21 +03:00
24923445bd Image cache is cleared when livesync happens (#4672) 2017-08-08 16:52:39 +03:00
2c27b1ac7a Cache android.widget.SeekBar as SeekBar for better performance (#4669)
* Cache android.widget.SeekBar as SeekBar for better performance
Made singleton listener for SeekBar
Fix slider issue
Add slider test

* Futher refactoring
2017-08-08 16:04:41 +03:00
ca8a2eeed0 @types/handlebars@4.0.33 (#4667) 2017-08-08 13:09:37 +03:00
50d399101e Fixes TabView icons changes. (#4666)
* Fixes TabView icons/title changes.

* Access TabLayput trough parent

* TabView icon change example
2017-08-08 13:06:56 +03:00
d8f0430fef Changelog updated for 3.1.1 (#4663) 2017-08-07 17:51:37 +03:00
075e70e336 cache page on forward navigation (#4652)
* cache page on forward navigation
Still some failing navigation tests

* Current page is kept alive when navigating forward
Refactoring code and removing all hacks and flags
Remove one module circular reference

* Disable Page recycling because when there is transition between pages the nativeView stays animated (e.g. when transition is Fade the hidden page nativeView stays with Alpha 0)
Disable recycling if there is native anitmation

* Fix failing tests on ios & android API17
Fix wrong urls in http tests
Made some timer tests async

* Animations are not stored in BackstackEntry instead of Fragment because fragments could die (activity die) and recreated and we lose animations.

* Fix android crash when activity is recreated.
Refactoring transitionListener.
2017-08-07 17:24:12 +03:00
e827eced8e Delete an unnecessary file (#4655) 2017-08-04 17:45:35 +03:00
7eb9cbfcb0 My IDE was screaming at me that commas were unacceptable here.. so I made it shut up 🤐 (#4641) 2017-08-04 11:59:42 +03:00
14098d40db fix: set default values to time widgets (#4383) 2017-08-03 22:03:05 +03:00
c26f1c916a Add line-height test page (#4638)
* Add lineHeight property to text-base.d.ts

* Add line-height test page
2017-08-02 09:30:29 +03:00
0f14101238 recycling now happens only if nativeView and android properties are not accessed. (#4627)
recycleNativeView filed now accepts: "always" | "never" | "auto". Always will recycle the nativeView no matter if its nativeView or android proprties are accessed. Never will disable recycling. Auto will recycle it only if nativeView and android properties are not accessed.
2017-08-01 15:04:16 +03:00
8535e5459a Fix unitests on API <20 (#4624)
* Fix unitests on API <20

* Fix tests for API >19.
Previous commit breaks them
2017-08-01 14:48:16 +03:00
7983895c8e FIX: Background drawable cache conflicts with local property (#4633) 2017-08-01 11:53:42 +03:00
2dbd1b19ea Fix: refresh flat property on change in IOS (#4628)
* Fix: refresh flat property on change in IOS

* Fix typos
2017-08-01 10:40:51 +03:00
d949cc7128 Include example action-bar flat property (#4618)
* Inlcude example for flat property

* Update xml
2017-07-31 13:11:07 +03:00
0a695b0089 Include new examples for font-weight (#4616) 2017-07-28 18:07:15 +03:00
12020bd8bb Implement an ActionBar 'flat' property to remove the bottom border/shadow and (on iOS) translucency (#3900)
* #2740 Feature Request: Improved ActionBar CSS Support

* Now using a dedicated 'flat' property.
2017-07-28 15:30:30 +03:00
8711b54b5e Shorthand properties does not update if sub-property is changed (#4607) 2017-07-27 15:42:47 +03:00
43659799bc Implement non uniform border corner radiuses and fix blinking image-view radiuses (#4573)
* Image corners were blinking in #4322 and CSS border will now draw non uniform corner radiuses if the border color is uniform

* Implement per-side corner radiuses for iOS

* Update stretch-mode example

* Update matrix-mode example

* Update image resources

* Add clipping for non uniform radii without border width, don't throw for missing image resources in css
2017-07-27 15:36:47 +03:00
2f6ca2524b CssAnimationProperties, when unset, were not setting the default native value. (#4595) 2017-07-26 19:16:26 +03:00