Commit Graph

5633 Commits

Author SHA1 Message Date
Vasil Chimev
979f59f822 chore(travis): add execute permissions to a travis script (#4394)
* chore(travis): add execute permissions to a travis script
* chore(travis): update emulator options
2017-06-16 09:38:04 +03:00
Andrea Giammarchi
7e39bfb9d4 Standard timers - fix for #4384 (#4389)
Specifications define timers capable of accepting optional parameters.
https://www.w3.org/TR/2011/WD-html5-20110525/timers.html#timers

This PR goal is to standardize such behavior in NativeScript too.
2017-06-15 23:19:49 +03:00
SvetoslavTsenov
9866350559 Include autocorrect = fasle (#4395) 2017-06-15 19:13:46 +03:00
vchimev
1a12978034 chore(travis): Increase android emulator timeout 2017-06-15 16:03:53 +03:00
Alexander Vakrilov
5b60043e35 Development Workflow updated 2017-06-15 13:00:43 +03:00
Panayot Cankov
b94a61f9a5 Globals in snapshot are overriden by the V8 on start, so they have to be installed later (#4387) 2017-06-15 10:36:50 +03:00
Alexander Vakrilov
ab5da0a4a9 Profiling tests stability (#4379) 2017-06-14 14:11:54 +03:00
Alexander Vakrilov
1d20845b7c Use AppCompat SearchView (#4371)
* Use AppCompat SearchView

* GetNative elements for appcompat

* Classes renamed

* test modified
2017-06-14 14:11:04 +03:00
Stanimira Vlaeva
4319ca5fc5 refactor(animations): export declarations parser (#4370) 2017-06-14 11:52:22 +03:00
Alexander Vakrilov
114b969986 FIX: ListView items' dom-nodes are disposed before remove (#4369)
* FIX: ListView items' dom nodes are disposed before remove

* Extend property black list

* More attribute changed checks
2017-06-13 16:37:23 +03:00
Vasil Chimev
c62e79e17b fix: add css-agent declarations (#4361)
* fix: add css-agent declarations

* fix: remove css-agent ts
2017-06-13 09:38:15 +03:00
Stanimira Vlaeva
08af2efe0c fix: add dom-node declarations (#4359) 2017-06-12 19:57:25 +03:00
Alexander Vakrilov
f2462158fb Chrome devtools elements tab support for Android (#4351)
* Enable chrome-devtools elemets tab

* Trigger updates when property is chaned form native

* Tslint fixes

* Don't run dom-elemet tests in IOS

* fix tests

* Create package.json

* Update package.json

* domNode changed to field for performance
2017-06-12 16:48:27 +03:00
Stanimira Vlaeva
b7c61cad96 fix(css-animations): convert transform value properly (#4352) 2017-06-09 20:54:46 +03:00
Stanimira Vlaeva
618433816e fix(slider): correct maxValue setter for android (#4346)
The setter should invoke setNativeValuesSilently with the new value and
max value respectively.

fixes #4343
2017-06-09 18:20:25 +03:00
Stanimira Vlaeva
9bba250424 Refactor transform animations (#4296)
* feat: add matrix module

* fix(animations): parse transform property correctly

* fix(css-animations): compute transformation value with matrix

* refactor: add typings for keyframes array in style scope

* fix(animations): transform regex and method invocation

* fix(matrix): rewrite decomposition function

* refactor: transform animations parse

* test: add tests for css animation transform

* refactor: move transformConverter to style-properties

* lint: remove unnecessary comma

* lint: remove unnecessary word in d.ts

* fix(style-properties): correctly use transformConverter

* fix(matrix): flat multiply affine 2d matrices

cc @PanayotCankov
2017-06-09 18:20:07 +03:00
SvetoslavTsenov
c228b97263 Fix button wrap (#4350)
* Fix button wrap

* Update path to hint-text-color page
2017-06-09 16:37:14 +03:00
SvetoslavTsenov
0d3a307dee Fix wrap text alignment test page (#4348) 2017-06-09 10:55:14 +03:00
SvetoslavTsenov
2526ac06f2 Update tests (#4345)
* Update tests

* Fix typos

* Fix tslint
2017-06-09 09:54:38 +03:00
Ivan Buhov
67a8144a34 Specify files where native Java classes are extended on script loading (#4333) 2017-06-08 14:58:19 +03:00
Alexander Vakrilov
e33eca63d6 Implement custom measure for ios btn when textWrap is true (#4326)
Implement custom measure for ios btn when textWrap is true
2017-06-08 10:29:50 +03:00
Panayot Cankov
014e7a8e0f add profile for functions, profile CSS-es on startup, use __time (#4227)
Call native setters once when a page is instantiated.

Fix background not being reset, Label's background is now set to background, not layer

Make the nativeView field instead of property for performance reasons
2017-06-08 09:51:09 +03:00
SvetoslavTsenov
ce01ab597f Fix search bar test page and images template test page (#4331) 2017-06-07 14:02:51 +03:00
SvetoslavTsenov
97b1cd9060 Tsenov/searchbar (#4328)
* Searchbar tests

* Update search bar test page

* Fix path to events test pages

* Update text-view test pages
2017-06-07 10:25:16 +03:00
Panayot Cankov
853bbd2977 Can't require non console-log when __snapshot generating (#4325) 2017-06-06 18:12:53 +03:00
SvetoslavTsenov
51d1be5bb8 Tsenov/auto complete (#4318)
* Init steps

* Implement logic for auto-complete for all test pages

* Init steps

* Implement logic for auto-complete for all test pages

* Expose TestPageMainViewModel

* Merge

* Improve check if example is already loaded in collection

* Reorder tests

* Fix tslint

* Include csslv

* Include new image source
2017-06-06 16:06:21 +03:00
SvetoslavTsenov
855caf3e43 Remove max-length example from list-view folder. Move images from list-view folder to resources/images 2017-06-05 16:48:56 +03:00
SvetoslavTsenov
109f57476d Include test page for max-lenght poperty 2017-06-05 16:48:56 +03:00
SvetoslavTsenov
40d5badd40 Update issue-3354.xml 2017-06-05 14:05:55 +03:00
SvetoslavTsenov
1b260ac2b5 Extend test page issue-3354 2017-06-05 14:05:55 +03:00
Panayot Cankov
a01c692ff5 Merge pull request #4305 from NativeScript/timeline
Add timeline traces in the console, let enabling them through the package.json
2017-06-05 10:23:20 +03:00
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
4862443bea Fix background tests 2017-05-31 17:21:17 +03:00
SvetoslavTsenov
51ccdb0820 Revert button text alignment 2017-05-31 17:21:17 +03:00
SvetoslavTsenov
93237cf991 Fix typo 2017-05-31 17:21:17 +03:00
SvetoslavTsenov
99611a9979 Include resource folder
Fix tslint error
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
Alexander Vakrilov
4b45c73c96 Merge pull request #4291 from NativeScript/http-getFile-with-query-params
Support http.getFile for URLs with query params
2017-05-30 15:37:46 +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
Nikolay Tsonev
44b4afab42 add sample -image source from imageAsset and save it to PNG (#4265) 2017-05-26 16:46:05 +03:00
Nikolay Tsonev
88c2848bd4 example declare SearchBar component via XML (#4236)
* example declare SearchBar component via XML

* fix tslint errors

* fix error - not  found modules
2017-05-26 14:12:47 +03:00