Commit Graph

281 Commits

Author SHA1 Message Date
ivanbuhov
1c2ab2adc9 Add typescript declarations for workers 2016-10-20 11:34:14 +03:00
Vladimir Enchev
ffc611c23d Merge pull request #2931 from NathanaelA/worker-timer-fix-android
Fixes using setTimeout/setInterval in a Android Worker
2016-10-20 10:37:42 +03:00
Panayot Cankov
d3e5d821a5 Merge pull request #2921 from NativeScript/flexbox-ios
FlexboxLayout for iOS
2016-10-20 09:52:04 +03:00
Nathanael Anderson
8281e81621 This fixed setTimeout/setInterval for Android 2016-10-19 19:48:53 -05:00
Vasil Chimev
61f0223815 Bump up version to 2.5.0 2016-10-19 17:41:45 +03:00
Panayot Cankov
791aab04e5 Flexbox ios initial commit
Items now appear, but they should initially shrink and they don't

Add 15-ish tests for flexbox layout

Port reasonable flexbox test set

Fixing issues, adding unit tests

Moved from .tsx to .ts and used our ui/builder.parse
2016-10-19 17:02:26 +03:00
Nedyalko Nikolov
915df32b27 Xhr response converted to string so Angular could use it correctly. 2016-10-19 16:08:47 +03:00
Rossen Hristov
4b94fe8c63 Merge pull request #2909 from NativeScript/its
ListView item template selector
2016-10-19 10:32:34 +03:00
Hristo Hristov
44bab5b0f0 Padding was reset incorrectly (#2917)
* Padding was reset incorrectly

* Fix tslint
2016-10-18 13:18:32 +03:00
Rossen Hristov
e28148c929 ListView item template selector refactoring + sample code 2016-10-17 17:22:30 +03:00
Hristo Hristov
644f4c2845 ImageSource was reset in CreateUI wrongly. (#2910)
TabView doesn't save/restore its visual hierarchy.
Cuteness.io source changed to use https.
2016-10-17 13:40:03 +03:00
Rossen Hristov
b1050d4121 Fix tslint 2016-10-17 10:25:23 +03:00
Rossen Hristov
cd6039ce6c ListView item template selector 2016-10-17 09:32:47 +03:00
Alexander Vakrilov
8ce37215f7 Merge pull request #2898 from NativeScript/snapshot-activity-fix
Snapshot fix
2016-10-14 12:30:12 +03:00
vakrilov
20dc0b1ef5 Snapshot fix 2016-10-14 11:33:58 +03:00
Vladimir Enchev
b398f27586 code fixed to work in viewDidLoad 2016-10-14 10:02:35 +03:00
Vladimir Enchev
c521f2db33 Merge pull request #2877 from NativeScript/existing-app
Existing iOS integration app support added
2016-10-14 09:38:11 +03:00
Vladimir Enchev
eab903e9e0 Existing iOS integration app support added 2016-10-13 18:15:24 +03:00
Alexander Vakrilov
d012f9ac8c Merge pull request #2885 from NativeScript/android-current-context
Application and ActivityEvents improvements
2016-10-13 11:47:25 +03:00
Brad Martin
c84dc3e57b Small typo
-typo
-add android api number
2016-10-11 17:38:22 -05:00
vakrilov
1c4f40333e Application and ActivityEvents improvements 2016-10-11 18:40:03 +03:00
Nathanael Anderson
a5273b74ed Fix for Dialogs crashing on iOS (#2866) 2016-10-11 14:58:30 +03:00
Hristo Hristov
b5ec25f423 Fix gestures support for iOS 10 2016-10-11 13:28:02 +03:00
Hristo Hristov
3e3fc248c2 Move imageCache initialization in the createUI method so that it is sure that we have valid context. application.android.nativeView could be null if image module is requested before application.start (#2862) 2016-10-10 09:23:17 +03:00
Alexander Vakrilov
93f20e6505 Merge pull request #2851 from NativeScript/zoned-fps-meter
Make fps-meter callback execute in the same zone as they are created
2016-10-07 16:28:13 +03:00
Hristo Hristov
109ac26c5b Fix memory leak in action-bar for android. (#2854) 2016-10-07 13:02:58 +03:00
vakrilov
03fdc94d2c Make fps-meter callback execute in the same zone as they are created 2016-10-06 10:49:47 +03:00
Hristo Hristov
ed36106e9e remove gc call (#2848) 2016-10-05 17:42:07 +03:00
Panayot Cankov
c4be6ce1de Fix LaunchTheme not cleared in some cases 2016-10-05 16:33:18 +03:00
Morten Sjøgren
37d927b077 fix: #2796 - ActionItems lacks proper support for VoiceOver on iOS (#2799)
UIBarButtonItem weren't created with a title/text so VoiceOver couldn't
know what to reads. This marks the element as an AccessibilityElement
and sets an accessibilityLabel.
2016-10-05 16:32:04 +03:00
Nedyalko Nikolov
0d2d343c9c Merge pull request #2843 from NativeScript/nnikolov/ImageAssetChangesForIos
Fixed issue when asset is created with native UIImage.
2016-10-05 16:23:08 +03: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
Nedyalko Nikolov
d79edd1696 Fixed issue when asset is created with native UIImage. 2016-10-04 18:06:32 +03:00
vakrilov
8c8ad99459 property renamed to enableSwipeBackNavigation 2016-10-04 18:02:06 +03:00
vakrilov
53a60e2553 Added iosSwipeBackNavigationEnabled 2016-10-04 17:42:36 +03:00
Nedyalko Nikolov
702b7eadd3 Merge pull request #2822 from NativeScript/nnikolov/CameraRefactoring
Refactored image loading from camera.
2016-10-03 17:54:07 +03:00
Nedyalko Nikolov
1f84274182 Refactored image loading from camera. 2016-10-03 17:23:18 +03:00
Panayot Cankov
968e493b6f Merge pull request #2749 from NativeScript/flexbox
Flexbox
2016-10-03 10:16:10 +03:00
Panayot Cankov
b5ab387ebd Fix the LayoutParams 2016-09-30 17:36:17 +03:00
Panayot Cankov
943e67a4c8 Add flexbox, we have to figure out layout params 2016-09-30 12:20:07 +03:00
Panayot Cankov
a528ae7f85 symlinking tns-platform-declarations inside tns-core-modules causes the apps and tests to fail on some dev machines 2016-09-29 17:55:59 +03:00
Vasil Chimev
b46b816de8 Merge pull request #2805 from NativeScript/vchimev-patch
Update tns-core-modules/package.json
2016-09-27 15:01:33 +03:00
vchimev
cb6a8fb7ad Update tns-core-modules/package.json 2016-09-27 14:45:18 +03:00
NickIliev
a4916d7246 added tns-core-modules.es2016.d.ts for declarations references 2016-09-27 14:24:56 +03:00
Rossen Hristov
071ef1607d Fix: CSS border-width causes text to overflow TextView
Resolves #2789
2016-09-27 09:47:32 +03:00
Panayot Cankov
0e23f47a04 Update the .travis.yml to npm pack the tns-platform-declarations, add lib: [] config in the tsconfig.json 2016-09-26 11:53:40 +03:00
Panayot Cankov
299203901e Move platform .d.ts-es to separate plugin folder
Add dev-setup to figure out links

Update development workflow

Update package.json and dts-ios

Update the iOS declarations

grunt is now fine
2016-09-26 11:53:39 +03:00
Rossen Hristov
af3fcfb0ab Merge pull request #2783 from NativeScript/rgba
Fix: CSS border-color does not recognize rgb and rgba values
2016-09-21 17:29:48 +03:00
Rossen Hristov
9427ff6fa4 Merge pull request #2770 from NativeScript/all-borders
Add two more sample pages for testing borders.
2016-09-21 17:12:23 +03:00
hamorphis
08f9c941cc Fix: CSS border-color does not recognize rgb and rgba values
Resolves #2781
2016-09-21 16:35:03 +03:00