Commit Graph

5034 Commits

Author SHA1 Message Date
SvetoslavTsenov
1783747014 release: cut the 5.1.1 release 5.1.1 2018-12-19 14:01:37 +02:00
Darin Dimitrov
ee2c1c42d4 Fix some lint errors 2018-12-19 13:51:06 +02:00
Manol Donev
e5f110fe5c fix(android): failure saving state in mixed parent/nested frame nav (#6719) 2018-12-19 13:50:18 +02:00
Manol Donev
54b6df669b fix(android): animator restore logic on simulated nav (#6710) 2018-12-19 13:49:59 +02:00
SvetoslavTsenov
ea44416734 Merge remote-tracking branch 'origin/master' into release 2018-12-14 14:53:53 +02:00
Manol Donev
60957799ad chore: restore tabroot/resetrootview tests (#6705) 2018-12-14 14:22:07 +02:00
Nathanael Anderson
19895945c2 fix(ios delegate) Eliminate crash on selector looking for "Window" (#6428)
* Add a "window" value so that NS doesn't crash on selectors looking for the delegate.window...

* chore: tslint

* chore: comments to referenced issues added
2018-12-14 13:31:26 +02:00
Martin Bektchiev
1c0218ea15 feat(tns-platform-declarations): Generate iOS typings from iOS 12.1 SDK (#6693)
* feat(tns-platform-declarations): Generate iOS typings from iOS 12.1 SDK

* Instructions for generating iOS typescript definitions
* Refactor `typings-gen.sh` to use {N} CLI and generate fuller
metadata for the system libraries
* Automatically generate `ios.d.ts` wrapper
* Add interop pointers and references as alternatives
to `string` for `char*` args
(implemented in https://github.com/NativeScript/ios-runtime/pull/1022)

BREAKING CHANGE: Several enum values have changed because
    they have been wrongly generated.

    To migrate your app or plugin code use the new names of the
    following:
    *  enum NSUnderlineStyle:
        - `StyleNone` -> `None`
        - `StyleSingle` -> `Single`
        - `StyleThick` -> `Thick`
        - `StyleDouble` -> `Double`
     * enum AVAudioSessionErrorCode:
        - `CodeNone` -> `None`
        - `CodeMediaServicesFailed` -> `MediaServicesFailed`
        - `CodeIsBusy` -> `IsBusy`
        - `CodeIncompatibleCategory` -> `IncompatibleCategory`
        - `CodeCannotInterruptOthers` -> `CannotInterruptOthers`
        - `CodeMissingEntitlement` -> `MissingEntitlement`
        - `CodeSiriIsRecording` -> `SiriIsRecording`
        - `CodeCannotStartPlaying` -> `CannotStartPlaying`
        - `CodeCannotStartRecording` -> `CannotStartRecording`
        - `CodeBadParam` -> `BadParam`
        - `CodeResourceNotAvailable` -> `ResourceNotAvailable`
        - `CodeUnspecified` -> `Unspecified`

* fix(ui/text-base): Update NSUnderlineStyle.StyleSingle constant

After the typings regeneration its and several others' names have
changed to the expected `NSUnderlineStyle.Single`.

* fix(tns-platform-declarations): Restore deprecated enum values

In order to not introduce a breaking change in a patch version, we
are keeping `Style...` and `Code...` values that have been wrongly
generated till now. In the next major/minor release of the package
when the typings are regenerated we can safely remove them.

Revert to using the deprecated one's in `text-base.ios.ts` so that
the introduction of this breaking change doesn't slip in undetected.

* fix(application.ios): Directly call presetnNativeScriptApp

We've been using `performSelectorWithObject` but it's
declaration has been manually added. Moreover it's more
convenient to directly call the method.
2018-12-13 17:04:13 +02:00
Nicu
540b2b4f82 feat(view): added iOS parameter for modal presentation style (#6409)
* feat(view): added iOS parameter for modal presentation style

* Now passing options to showModal in one argument

* refactor: Move context and close in modal options

* chore: Comments added for UIModalPresentationStyle.Popover case

* refactor: Use modalOptions in e2e demo

* chore: fix pbroken test
2018-12-13 17:03:25 +02:00
Manol Donev
44dba1a0b7 chore: temporarily disable failing tests (#6703) 2018-12-13 16:27:14 +02:00
Manol Donev
c084660d0b fix(android): nested fragment disappears on parent fragment removal (#6677) 2018-12-12 14:16:10 +02:00
Svetoslav
43dddbbbc3 Merge pull request #6683 from NativeScript/svetoslavtsenov/update-contrinuting
svetoslavtsenov/update contrinuting
2018-12-07 16:55:39 +02:00
SvetoslavTsenov
05c842cd67 chore: typo 2018-12-07 16:04:56 +02:00
SvetoslavTsenov
4feb453b56 chore: update 2018-12-07 15:54:47 +02:00
SvetoslavTsenov
5ca6e99602 docs: update contributings doc 2018-12-07 14:29:22 +02:00
Svetoslav
7eaba62951 Merge pull request #6681 from NativeScript/svetoslavtsenov/bump-versions
chore: bump versions
2018-12-07 14:05:14 +02:00
SvetoslavTsenov
7c92416858 chore: bump versions 2018-12-07 11:03:14 +02:00
Svetoslav
9bf91773d7 Merge pull request #6680 from NativeScript/merge-release-in-master
Merge release in master
2018-12-07 11:02:03 +02:00
Svetoslav
562628f29c Merge pull request #6669 from NativeScript/release-5.1.0
Release 5.1.0
2018-12-06 11:22:43 +02:00
SvetoslavTsenov
259aaa49e1 chore: bump widgets version to 5.1.1 2018-12-05 20:38:32 +02:00
SvetoslavTsenov
ce766526b3 release: cut the 5.1.0 release 5.1.0 2018-12-05 20:28:12 +02:00
Martin Yankov
63be78a69c fix(listview): incorrect layout when scroll (#6656) 2018-12-05 16:28:37 +02:00
Alexander Vakrilov
30df4d9c4a fix(modals): regression with modals in angular (#6655) 2018-12-04 16:39:07 +02:00
Manol Donev
0b239d7a0a feat(tabview): add androidSwipeEnabled property (#6652) 2018-12-04 15:35:15 +02:00
radeva
5b5fd9a0b7 Merge pull request #6646 from NativeScript/radeva/update-license
update LICENSE
2018-12-01 06:00:03 +02:00
radeva
8d9f8d4ba0 Delete LICENSE.proui 2018-12-01 05:59:34 +02:00
Veselina Radeva
cc6c7d3092 chore: update community files 2018-11-30 22:45:51 +02:00
Manol Donev
ae0fa90290 feat(scrollbar): add isScrollEnabled property (#6640) 2018-11-30 17:18:40 +02:00
Alexander Vakrilov
64bccb9bbc feat(modals): Enable modal dialog chaining in IOS (#6637)
* feat(modals): fire close callback after close in IOS

* chore(tests): Fix some test depending on the order of events
2018-11-30 12:05:33 +02:00
Nick Iliev
bc68773bd2 fix(ui/enums) make exported enums compatible with TypeScript and the corresponding properties (#6639)
* feat: make ui/enums tsc compatible

* make ui/enums tsc compatible
2018-11-30 12:03:06 +02:00
Nick Iliev
b58dff0de3 feat(ActionBar): apply text color when largeTitletextAttribute is set on iOS (#6631)
* apply CSS text color when largeTitletextAttribute is set on iOS

* common logic improvment
2018-11-30 11:29:40 +02:00
Martin Bektchiev
65e3a19f8c fix(tests): Sporadic failures after upgrade to WebKit 12.0 (#6635)
* An additional GC and wait are needed since WebKit upgrade to version 12.0
(TEXT-FIELD.testMemoryLeak test started failing sporadically)
* Compare colors by value because the runtime has started
to sometimes return instances with different addresses in memory
2018-11-29 16:14:13 +02:00
Manol Donev
25c99d8f71 fix(searchbar): isEnabled and isUserInteractionEnabled (#6636) 2018-11-29 11:18:14 +02:00
Svetoslav
7a04a4d0bc doc: update instruction on how to release tns-core-modules (#6529) 2018-11-28 19:02:29 +02:00
Manol Donev
f87ec4bc08 test: add e2e app for nested frame scenarios (#6626) 2018-11-28 16:59:17 +02:00
Nick Iliev
c8341819a3 feat: add hints options for username and password fields (#6416)
* feat: add hints options for username and paossword fileds in the login dialog

* refactor arguments checks

* parsing of login options moved to common file

* add zero login options check

* parsing optimizations

* api refernces improvments

* refactor: argiment passing

* review code improvments
2018-11-27 11:22:12 +02:00
Eduardo Speroni
11d3884243 fix(android-styling): correctly detect if drawable uses ColorFilter (#6342)
* fix(android-styling): correctly detect if drawable uses ColorFilter

Treat a widget with a BorderDrawable background as any other, even if it's FilterOnly

If the drawable has been replaced with a new one, clear _cachedDrawable

Fixes #6341

* test(button): add test for changing border-radius and color in button

* test: fix test checks for IOS

* keep original drawable cached
2018-11-27 10:44:34 +02:00
Svetoslav
00c25b7c0c Merge pull request #6624 from NativeScript/merge-release-in-master
release
2018-11-26 23:18:23 +02:00
SvetoslavTsenov
b9a6580c65 Merge remote-tracking branch 'origin/master' into merge-release-in-master 2018-11-26 16:17:28 +02:00
Svetoslav
10faa0eacc Merge pull request #6622 from NativeScript/release-5.0.5
release: cut the 5.0.5 release
2018-11-26 16:04:48 +02:00
SvetoslavTsenov
756c7170ca release: cut the 5.0.5 release 5.0.5 2018-11-26 15:25:37 +02:00
Svetoslav
a0fbd5fb81 Merge pull request #6619 from NativeScript/merge-release-in-master
Merge release in master
2018-11-26 13:50:50 +02:00
SvetoslavTsenov
5aa78288ce chore: revert versions 2018-11-26 13:19:33 +02:00
Svetoslav
e2239680e0 Merge pull request #6617 from NativeScript/release-5.0.4
Release 5.0.4
5.0.4
2018-11-26 13:02:26 +02:00
SvetoslavTsenov
1045958d95 doc: cut the 5.0.4 release 2018-11-26 12:48:59 +02:00
Svetoslav
893942e76b Merge pull request #6616 from NativeScript/release
Merge pull request #6584 from NativeScript/release-5.0.3
2018-11-26 11:52:25 +02:00
Manol Donev
5b9b335489 fix(android-fragment): child already has a parent (#6589) 2018-11-23 14:48:41 +02:00
Alexander Djenkov
fc1f8c1e42 fix(back-navigation): app freeze on going back in parent frame with states (#6595)
Endless loop while searching for parent frame that can go back.
Caught in Angular app when trying to go back from nested named lazy loaded outlet using the android hadrware back button.
2018-11-23 10:05:49 +02:00
Svetoslav
33d6a649ba Merge pull request #6586 from NativeScript/merge-release-in-master
chore: merge release in master
2018-11-21 16:24:50 +02:00
Svetoslav
aca7af489f Merge pull request #6584 from NativeScript/release-5.0.3
docs: cut the 5.0.3 release
2018-11-20 16:50:08 +02:00