Hristo Hristov
09535627b9
disable recycling on specific button ( #4527 )
...
* disable recycling on specific button
add more thorough test for view recycling
fix memory leak with android ActionBar
improve padding reset when view is recycled
improve reset of several controls
* stopping local animations when view is recycled
fix tns-ios version in tests/package.json
* Fix isClickable on android when reusing nativeView
2017-07-11 09:48:08 +03:00
Andy Kopp
f092a6ecae
text/xml responses are now treated as text on iOS ( #4531 )
...
fixes github issue 4514
2017-07-07 21:45:14 +03:00
SvetoslavTsenov
e7d0824421
Rename tests to UnitTestApp ( #4520 )
2017-07-06 18:26:34 +03:00
Alexander Vakrilov
e1bba78784
Add CONTRIBUTING.md and update guides ( #4511 )
...
* Removing legacy files
* Dev-setup
* CodeConventions revised
* CONTRIBUTING.md first draft
* Update CreateNewModule.md
* Module exapmles
* Writing unit tests article
* Minor Changes
* Organize PR steps
2017-07-06 16:17:53 +03:00
Hristo Hristov
974ef9d932
Fix CssAnimationProperty default value ( #4510 )
2017-07-06 09:25:17 +03:00
Vasil Chimev
9a34fb9091
Update changelog for 2.5.3 ( #4509 )
2017-07-05 15:55:08 +03:00
SvetoslavTsenov
24d9f18c5d
Include values/string.xml in android resources ( #4503 )
2017-07-04 18:59:17 +03:00
Nick Iliev
923a7c7813
updated instructions for tns-platform-declarations ( #4496 )
...
* updated instructions for tns-platform-declarations
* fixed TypeScrtip recommended version
2017-07-04 10:41:41 +03:00
Alexander Vakrilov
fadfa58937
Update tslint ( #4495 )
2017-07-03 17:04:50 +03:00
Panayot Cankov
8adb2fdfef
Fix TypeScript 2.4 errors, introduced mainly due weak types and covariant checking for callbacks ( #4476 )
2017-07-03 11:57:00 +03:00
TJ VanToll
9e6498c29a
Add a (hopefully) prominent link to our CoC ( #4485 )
2017-07-03 10:22:33 +03:00
Vasil Chimev
c2f3956418
Do not publish next version from Travis CI ( #102 )
...
Publish from Jenkins CI.
Bump version to 3.2.0.
2017-06-30 15:13:11 +03:00
Vasil Chimev
5574632e71
Do not publish next version from Travis CI ( #4483 )
...
Moving it to Jenkins CI.
2017-06-30 14:49:22 +03:00
SvetoslavTsenov
5ec8242654
Tsenov/button alignment ( #4460 )
...
* Include new example for issue 4385
* Include new test page for issue 4385. Restyle and rename main-page.
* Update main-page
* Fix navigation
2017-06-29 22:16:17 +03:00
Alexander Vakrilov
23757e5dfc
Enable recycling of nativeView 2 ( #4467 )
...
* enable recycling of nativeView
* backgroundInternal is reset if setting new value leads to background.isEmpty() == true.
* android background.getDefault always return copy of the background. Now all controls that mutate the background can be reset to initial state (e.g. Button & ActionBar)
passing resources to copied background so it respect density.
fix properties initNativeView
* reset padding when backgroundInternal is reset.
* Fix text reset
Fix padding reset
* fix tsc errors
* fix ugly text rendering.
* Add unit tests for recycling native views
Fix several issues that came from the above tests
Fix maxLength property missing a converter callback
Remove old files
* Remove old files
* Revert backgroundInternal setter
* change the order of tests so that appium can work again
* Remove suggestion on every TextView & TextField init (strangely it is enabled after view is recycled....)
* Fix function to get parent layout if specified
* Button stateListAnimator restored when button is recycled
zIndex defaultValue is now undefined instead of NaN
* revert zIndex.setNative to always clear stateListAnimator because it was breaking one UI test (setting value=0 was returning the previous stateListAnimator)
* fix search-bar backgound-color recycling
* Fix alignments setters
* Fix imageView recycling
Fix button recycling
Fix edit-text recycling
resetNativeView is called only if recycleNativeView flag is true
* Fix incorrect merge
* Fix text-view & text-field textTransform
* Fix EditText text reset
* Fix runtime crash on ARM emulator API 21
* Fix text-base minHeight. maxHeight reset
Fix reset of isUserInteractionEnabled
2017-06-29 18:01:22 +03:00
Panayot Cankov
b1432679e6
Setting alias for ~/ in webpack enables us to use require('~/package.json') ( #4468 )
2017-06-29 15:38:01 +03:00
Panayot Cankov
08b16b3b5a
Fix uptime with snapshot ( #4466 )
2017-06-28 15:55:11 +03:00
Panayot Cankov
655509c64d
Refactored getting root view in android ( #4463 )
2017-06-28 15:54:55 +03:00
kssfilo
48836cbd4c
Fix iOS ActionBar problem while internet sharing #4283 ( #4447 )
2017-06-28 15:00:01 +03:00
Alexander Vakrilov
fca8b16ca6
Fonts refactored ( #4436 )
...
* Fonts refactored
* Fix: never return null font
2017-06-28 14:49:02 +03:00
Eddy Verbruggen
f399f6c62b
Ability to load local files in a WebView on iOS devices ( #4444 )
...
* Ability to load local files in a WebView on iOS devices
* Ability to load local files in a WebView on iOS devices (removed doc-comments in test)
2017-06-28 11:00:02 +03:00
Panayot Cankov
1420fa8fcc
Fixes the old snapshot build ( #4457 )
2017-06-27 13:50:08 +03:00
Panayot Cankov
bbffa5480e
Used the wrong flag to check if snapshot was enabled ( #4446 )
2017-06-23 17:30:41 +03:00
vchimev
f7c9bd5d52
Update change log for 3.1.0
2017-06-22 11:04:59 +03:00
Panayot Cankov
bf81b534ad
Resetting profiles had to be in the retry body ( #4428 )
2017-06-22 08:52:18 +03:00
Nikolay Tsonev
f9ec0c9aba
add sample code snippet for maxLength property ( #4429 )
...
* add sample code snippet for maxLength property
* removing Page and StackLayout
* remove the other Page tag
2017-06-21 21:48:57 +03:00
SvetoslavTsenov
213722fd81
Include test for issue #849 from nativescirpt-angular ( #4421 )
...
* Include test for issue #849 from nativescirpt-angular
* Fix tslint
2017-06-21 16:49:22 +03:00
PetyaSotirova
30d4e93e3a
Fix timer snippets ( #4437 )
2017-06-21 15:23:48 +03:00
Vasil Chimev
60f17536a0
chore(travis): do not run unit tests app in Travis ( #4426 )
2017-06-21 09:45:43 +03:00
Nick Iliev
3b75471e92
snippet fix for timer ( #4418 )
...
* snippet fix for timer
* timer test fix
2017-06-20 17:58:02 +03:00
SvetoslavTsenov
4389ca29bb
Update package.json ( #4407 )
...
* Update package.json
* Update package.json
2017-06-20 09:50:04 +03:00
SvetoslavTsenov
d1da6253c6
Bump version to 3.2.0 ( #4406 )
2017-06-19 16:22:43 +03:00
Peter Kanev
1713b8af91
add nativeView angular-specific property to dom node property filter ( #4390 )
2017-06-19 13:44:59 +03:00
SvetoslavTsenov
6cc1db950b
Update typo in search-bar tests ( #4402 )
2017-06-16 14:27:30 +03:00
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