Commit Graph

31 Commits

Author SHA1 Message Date
Manol Donev
ecd9fc3e9d feat: bundle workflow support (#7337) 2019-06-20 15:58:36 +03:00
Alexander Djenkov
c5db112b8d feat(android): androidX support (#7039)
* feat: migrate support library namespaces to androidX

* feat(tns-platform-declarations): update to androidX typings

* chore(tests): migrate test apps to AndroidX

* chore(tns-platform-declarations): update tsconfig to include androidx dts files

* update package.json to androidx

* chore(androidx): migrate forgotten support library namspaces

* feat(tns-core-modules-widgets): migrate to AndroidX namespaces

* chore(utils): update androidx namspace for getPaletteColor method

* chore(apps): update tns-platform-declarations package

* Update package.json
2019-06-10 09:21:41 +03:00
Alexander Vakrilov
5c03abefba chore: update to TypeScript 3 (#6556) 2018-11-14 17:00:42 +00:00
Vasil Chimev
f54f7c3985 Revert "chore(apps): add tslib dep and update tsconfig.json file (#6464)"
This reverts commit eca938d9de.
2018-11-02 10:52:55 +02:00
Dan Bock
eca938d9de chore(apps): add tslib dep and update tsconfig.json file (#6464)
* fix: don't crash on startup due to tslib not being found

* fix: prevent error 'sourceMap' cannot be specified with option 'inlineSourceMap'

* Revert "fix: prevent error 'sourceMap' cannot be specified with option 'inlineSourceMap'"

This reverts commit c9d96de10a.

* chore: updates tsconfig.json file
2018-11-01 15:44:10 +02:00
Svetoslav
b77675b312 chore: add example for issue 5274 (#5885) 2018-05-30 10:00:52 +03:00
Manol Donev
e1eea8efe7 test(e2e): add modal-navigation app (#5393)
* chore(apps): add modal-navigation-app for ui testing

* test(e2e): add modal-navigation app

* test(apps): remove modal-navigation-app

The app has been moved to `e2e/modal-navigation`.

* chore: include e2e folder to npm scripts

* docs: include e2e folder to DevelopmentWorkflow.md

* chore(e2e): update .gitignore

* fix(e2e): relative paths

* chore(e2e): update package.json

* test(e2e): add change root view to modal-navigation

* test(e2e): set androidTabsPosition to botton

* chore(e2e): add VSCode launch.json config

* docs(e2e): delete LICENSE and README.md files

* refactor(e2e): rename modal-tab-page to modal-tab-root

* test(e2e): update iOS launch screen
2018-02-14 16:51:51 +02:00
Stanimira Vlaeva
6e9a99a962 chore: update repo to be compiled with TS ^2.6.1 (#5020) 2017-11-01 14:18:52 +02:00
Svetoslav
f50ae4bb17 test: include test page for button highlight related to issue 4740 (#4952) 2017-10-16 14:01:39 +03:00
SvetoslavTsenov
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
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
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
SvetoslavTsenov
3102385f54 Include pages for formatted text with applied css in label, button, text field, text view
Update main-view-model
2017-05-15 00:19:13 +03:00
SvetoslavTsenov
ff426283c5 Move icons folder form uitests/flexbox in perfapp because some CI 2017-05-12 15:55:56 +03:00
vakrilov
3024e69bb5 Update apps and test modules deps to * 2017-03-08 18:09:18 +02:00
Hristo Deshev
7bb457ef2b Upgrade to TypeScript 2.2
Fix typings, remove Request, etc clashes with the new lib.dom.d.ts
2017-02-24 17:28:18 +02:00
PanayotCankov
b2cf286948 Fixed text decoration tests, Color will now store just a single argb info in 32bit unsigned int internally and covert to a/r/g/b or hex when necessary 2017-02-17 14:45:31 +02:00
vakrilov
3c6523fd13 updated apps and tests tsconfigs 2017-02-16 15:21:34 +02:00
vakrilov
d9b827e427 FIX: package.json 2017-01-05 16:24:14 +02:00
vakrilov
c30be0d606 View lifecycle methods 2017-01-04 17:18:45 +02:00
Rossen Hristov
2f9fa6f6a3 Lock all Typescript versions to ~2.0.10 2016-12-15 10:51:45 +02:00
Rossen Hristov
f578f4eec4 Added UI test for nested components CSS application
Resolves #1639
2016-12-12 13:16:31 +02:00
Rossen Hristov
30d202b5f1 Fix: Transparent border rendered as black
Resolves #3113
2016-11-21 12:25:13 +02:00
Hristo Hristov
98deeccb21 Change image.android to use the new image.Cache class from widgets. (#2832)
* Change image.android to use the new image.Cahce class from widgets.

* fix npm scripts

* npm tsc will compile all so no need for npm run dev-tsc-tests

* fix tslint error

* image-tests use memory only cache.

* fix exception in image.android

* Change image-tests so that Image won't be GC immediately.

* Change cacheMode to enum
2016-10-05 13:09:08 +03:00
vchimev
43b2a1ef54 Update the version of TypeScript in apps/tests 2016-09-28 15:34:21 +03:00
SvetoslavTsenov
47216f4230 Update ui-tests-app 2016-09-15 09:48:08 +03:00
Rossen Hristov
996858825c Fix: Text color of the Button not applied, when text-transform has been set.
Resolves #2601
2016-08-22 15:43:45 +03:00
Rossen Hristov
fc39fad959 Fix: CSS background-image on Label not loading in iOS
Resolves #2414
2016-07-21 09:45:50 +03:00
Rossen Hristov
a18d5e7622 Create a single NS app for cuteness.io, gallery-app and ui-tests-app in apps/
Move all other apps to https://github.com/NativeScript/tns-apps-graveyard
2016-07-11 15:34:28 +03:00
Hristo Hristov
8d40782191 Style perf improvements (#2342)
* Add css-perf app.

* Style properties now check only properties that are set.
Image utils module required on top (instead of in onMeasure) to improve performance.
Remove try/catch block when Style applies native property.

* fix tslint

* Fix broken merge
Update package.json version

* Failed miserably - if the try/catch around applyProperty method is removed - TextField fails big time.
TextField needs some good refactoring as well as calls to _updateTextDecoration & _updateTextTransform
utils - setTextTransform & setTextDecoration should be split, typing support should be added.
2016-07-08 14:39:43 +03:00