Commit Graph

6854 Commits

Author SHA1 Message Date
Svetoslav
c7e8a6dc32 Merge branch 'master' into svetoslavtsenov/merge-release-in-master-patch 2019-10-16 10:47:12 +03:00
Vasil Chimev
135aeffdf1 fix(android): check for root view on configuration changed (#7944) 2019-10-16 10:00:22 +03:00
Svetoslav
1d4502a19d Merge branch 'master' into svetoslavtsenov/merge-release-in-master-patch 2019-10-15 18:29:51 +03:00
Alexander Djenkov
08e23bcc3b feat: overhaul and streamline Android page navigation transitions (#7925)
* feat: remove Animators and replace with Transitions

* fix: handle disappearing nested fragments for tabs.

Extract TabFragmentImplementation in tab-navigation base for both tabs and bottom navigation

* chore: bump webpack cycles counter

* feat(android-widgets): add androidx.transition:transition as dependency

* chore: fix typescript errors

* fix(frame-android): child already has a parent. Replace removeView with removeAllViews

* fix(tests): wait for fragment before isAdded() check

* fix(bottom-navigation): prevent changeTab logic when fragment manager is destroyed

* chore: apply PR comments changes
2019-10-15 18:19:47 +03:00
SvetoslavTsenov
12e2a57112 Merge remote-tracking branch 'origin/master' into svetoslavtsenov/merge-release-in-master-patch 2019-10-15 16:17:31 +03:00
Svetoslav
a3173456cf docs: cut the 6.1.2 release (#7960) 6.1.2 2019-10-15 16:04:51 +03:00
Manol Donev
7fe8d1c339 fix(tabs-ios9): no view controller managing visible view error (#7837) 2019-10-15 13:32:35 +03:00
Manol Donev
ff30c4861f fix(frame-android): IllegalStateException: The specified child already has a parent (#7948) 2019-10-15 11:28:53 +03:00
Manol Donev
dc6540269f feat(platform-declarations): add android29 typings (#7923) 2019-10-14 18:26:02 +03:00
Vladimir Amiorkov
b377eb6ddb feat(css): add attribute scoped css without global refresh (#7907) (#7947) 2019-10-14 11:25:49 +03:00
Svetoslav
430c616b93 Merge pull request #7940 from NativeScript/tsenov/merge-release-master-tests
chore: merge release master tests
2019-10-10 16:35:48 +03:00
Svetoslav
6c6cbbca42 Merge branch 'master' into tsenov/merge-release-master-tests 2019-10-10 14:36:27 +03:00
Martin Yankov
866c2b024b feat(): update material components dependency to 92.3 (#7936) 2019-10-10 14:36:06 +03:00
SvetoslavTsenov
30e9c7f94d Merge remote-tracking branch 'origin/master' into tsenov/merge-release-master-tests 2019-10-10 14:04:18 +03:00
Svetoslav
b8b9a3d607 test: fix navigate to handlers (#7937) 2019-10-10 14:02:52 +03:00
Manol Donev
07f13a6771 chore: update readme (#7929) 2019-10-10 11:47:45 +03:00
Svetoslav
6246a72c39 svetoslavtsenov/extend gestures tests (#7870) 2019-10-10 00:29:55 +03:00
Manol Donev
bdb411fe45 fix(action-bar-ios): navigation button support for font icons (#7918) 2019-10-09 19:22:22 +03:00
Fatme
a06a5f95df fix: xml parsing when input value is reported as object instead of string (#7916) 2019-10-09 13:24:46 +03:00
Svetoslav
76ee9e8a45 Merge pull request #7910 from NativeScript/amiorkov/binding-expression-fix
fix: change the way we import 'esprima' to avoid wrong path resolution in Angular projects
2019-10-08 19:25:46 +03:00
Vladimir Amiorkov
92325cc086 Merge branch 'master' into amiorkov/binding-expression-fix 2019-10-08 15:50:29 +03:00
joshcomley
f791a403cd feat(css): add attribute scoped css without global refresh (#7907) 2019-10-08 15:35:39 +03:00
Vladimir Amiorkov
93620af64b Merge branch 'master' into amiorkov/binding-expression-fix 2019-10-08 15:24:50 +03:00
Vasil Chimev
5c9a217bc5 feat(dark-mode): add system appearance property, event and CSS classes (#7887) 2019-10-08 13:07:15 +03:00
VladimirAmiorkov
52a9edb660 chore: add comment to changed "require" 2019-10-07 17:11:19 +03:00
VladimirAmiorkov
fe2b9778c9 fix: change the way we import 'esprima' to avoid wrong path resolution in Angular projects 2019-10-07 16:52:33 +03:00
Manol Donev
d7d7ebf5de chore: update dev workflow (#7906) 2019-10-04 18:45:52 +03:00
Bundyo (Kamen Bundev)
2beae5be8e fix(css-android): restore elements' native features if offending css is removed while the app is running (#7789) 2019-10-04 15:48:17 +03:00
Vasil Chimev
f82cf08f95 feat(ios-dark-mode): adapt dynamic system colors (#7826) 2019-10-04 10:58:54 +03:00
Alexander Vakrilov
82f2ccbdfb chore: remove grunt and clean-up (#7845)
* chore: remove grunt files and deps

* chore: npm scripts cleanup

* chore: more deps clean-up

* chore: tsconfig clean-up

* chore: remove unneed file

* chore: move tsinfig.unit-tests

* chore: add dist/ exclude
2019-10-03 14:50:59 +03:00
Alexander Vakrilov
beffc5736a chore: remove short imports (#7847) 2019-10-02 18:08:13 +03:00
Nikolay Tsonev
ca7c46da3c feat(segmented-bar-ios): add support for the new selectedSegmentTintColor property (#7880) 2019-10-02 16:49:20 +03:00
Vasil Chimev
d479067afb chore(travis-ci): add circular references check (#7754) 2019-10-02 15:01:01 +03:00
Satwik Dalvi
268a193de6 docs: update readme (#7893) 2019-10-02 14:46:05 +03:00
Bundyo (Kamen Bundev)
57a86051b2 feat(action-bar-android): add properties to control the titleView content insets (#7805) 2019-10-02 14:41:36 +03:00
Peter Staev
2146ac902f feat(file-system): async read/write (#7671) 2019-10-02 11:21:18 +03:00
Pranjal Vyas
790870178c docs(readme): update community slack invitation link (#7889) 2019-10-01 19:02:16 +03:00
Manol Donev
49791beb91 Merge pull request #7881 from NativeScript/mdonev/release-to-master-20190930
chore: merge release to master
2019-10-01 13:45:11 +03:00
Manol Donev
c41e5c0b6d Merge branch 'master' into mdonev/release-to-master-20190930 2019-09-30 14:14:17 +03:00
Svetoslav
fa11e1cb33 Merge pull request #7875 from NativeScript/escape-amp-in-tests-release
Escape amp in tests release
2019-09-29 01:43:38 +03:00
vakrilov
b7f6a2dec5 test: escape & in tests (invalid XML) 2019-09-27 17:26:51 +03:00
Yurii Cherniavskyi
4991e6dc99 fix(android/action-bar): process Icon Fonts in NavigationButton the same way as in ActionItem (#7842)
* fix(android/action-bar): process Icon Fonts in NavigationButton the same way as in ActionItem

* Add NavigationButton with font icons to corresponding page in ui tests app
2019-09-25 13:23:33 +03:00
Martin Yankov
167c0c9c2a chore: add highlight color to api reference (#7858) 2019-09-24 17:27:42 +03:00
Vasil Chimev
3e8d6350b9 feat(platform-declarations): generate typings from iOS 13.0 SDK (#7817)
* feat(platform-declarations): generate typings from iOS 13.0 SDK

* fix(platform-declarations): typings generation script

Delete Material Components typings from `tns-platform-declarations`,
they are part of `tns-core-modules` package.

* refactor(platform-declarations): workaround a TypeScript error

Error:
```
tns-platform-declarations/ios/objc-x86_64/objc!OSLog.d.ts(178,15): error TS2417: Class static side 'typeof OSLogEnumerator' incorrectly extends base class static side 'typeof NSEnumerator'.
  Types of property 'alloc' are incompatible.
    Type '() => OSLogEnumerator' is not assignable to type '<ObjectType>() => NSEnumerator<ObjectType>'.
      Type 'OSLogEnumerator' is not assignable to type 'NSEnumerator<ObjectType>'.
        Types of property 'allObjects' are incompatible.
          Type 'NSArray<NSObject>' is not assignable to type 'NSArray<ObjectType>'.
            Type 'NSObject' is not assignable to type 'ObjectType'.
              'NSObject' is assignable to the constraint of type 'ObjectType', but 'ObjectType' could be instantiated with a different subtype of constraint '{}'.
```

References:
https://github.com/Microsoft/TypeScript/issues/17575
https://stackoverflow.com/questions/52518125/workaround-for-accessing-class-type-arguments-in-static-method-in-typescript

* docs(platform-declarations): note a manual step on generating typings

* chore(platform-declarations): exclude ios-typings-prj from transpilation

* refactor(platform-declarations): delete references to MDC types

```
ios/objc-x86_64/objc!QuartzCore.d.ts:676:36 - error TS2304: Cannot find name 'MDCAnimationTimingFunction'.

676  static mdc_functionWithType(type: MDCAnimationTimingFunction): CAMediaTimingFunction;

ios/objc-x86_64/objc!UIKit.d.ts:7717:54 - error TS2304: Cannot find name 'MDCFontTextStyle'.

7717  static mdc_preferredFontForMaterialTextStyle(style: MDCFontTextStyle): UIFont;

ios/objc-x86_64/objc!UIKit.d.ts:7719:53 - error TS2304: Cannot find name 'MDCFontTextStyle'.

7719  static mdc_standardFontForMaterialTextStyle(style: MDCFontTextStyle): UIFont;

ios/objc-x86_64/objc!UIKit.d.ts:7771:63 - error TS2304: Cannot find name 'MDCFontTextStyle'.

7771  mdc_fontSizedForMaterialTextStyleScaledForDynamicType(style: MDCFontTextStyle, scaled: boolean): UIFont;

ios/objc-x86_64/objc!UIKit.d.ts:7794:64 - error TS2304: Cannot find name 'MDCFontTextStyle'.

7794  static mdc_preferredFontDescriptorForMaterialTextStyle(style: MDCFontTextStyle): UIFontDescriptor;

ios/objc-x86_64/objc!UIKit.d.ts:7796:63 - error TS2304: Cannot find name 'MDCFontTextStyle'.

7796  static mdc_standardFontDescriptorForMaterialTextStyle(style: MDCFontTextStyle): UIFontDescriptor;
```
2019-09-19 22:18:08 +03:00
Vasil Chimev
4166e2d966 fix: expose orientation to application module (#7832) 2019-09-19 18:49:07 +03:00
Vasil Chimev
dfcbe6c319 style: formatting and whitespaces (#7840) 2019-09-19 15:40:31 +03:00
Svetoslav
3b5785146f Merge pull request #7839 from NativeScript/merge-release-in-master
chore: merge release in master
2019-09-18 12:02:51 +03:00
SvetoslavTsenov
e6c7e0c1ac Merge remote-tracking branch 'origin' into merge-release-in-master 2019-09-18 01:08:56 +03:00
Svetoslav
25046c7f94 chore: remove grunt and update build scripts (#7838)
* chore: prepare and pack scripts

* chore: update @types/node dep

* chore: remove prepare-dist command from pack-dist
2019-09-18 01:05:39 +03:00
Yurii Cherniavskyi
4f421ffbfe fix(application-settings-android): possible uninitialized sharedPreferences variable usage (#7813) 2019-09-13 19:02:37 +03:00