Commit Graph

66 Commits

Author SHA1 Message Date
Hristo Deshev
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
vakrilov
789e2e0235 FIX: Livesync event not firing for frame 2017-03-13 10:49:09 +02:00
Hristo Hristov
1d49f5f3c3 fix padding on text-view & text-field (#3758)
* fix padding on text-view & text-field
text-base is now snapshotable
view.android is now snapshotable

* createNativeView returns the nativeView for android
Fix image tests
Implement test for image loaded from res://
EffectivePaddings updated when nativeView have some from its native theme
2017-03-09 16:09:53 +02:00
Panayot Cankov
6d6564af16 Fix dp vs dip conversions in iOS for errors of tests 2017-03-08 09:24:31 +02:00
Panayot Cankov
9f1ebc11ca Add support for 'px' on Length in iOS 2017-03-08 09:01:17 +02:00
Hristo Deshev
b45cbe929b No more ambient modules for tns-core-modules/* subpackages.
- Use path mappings in tsconfig.json to resolve module typings
- Only use ambient mobules for global API's
- Move single-file modules to a subdir with the same name so that
we can provide a hand-written typing next to it (via package.json)
- Delete all mentions of tns-core-modules.d.ts
- Delete reference d.ts assembly build steps. Not needed anymore.
- HACK! Use a <reference> for global typings in application.d.ts
to avoid publishing a separate @types/tns-core-modules package.
- Rename declarations.d.ts to tns-core-modules.d.ts to preserve
JS project mappings in references.d.ts (the only place we use those)
2017-03-07 17:59:02 +02:00
Hristo Hristov
ea22eb9c20 refactoring circular imports 2017-03-06 14:05:55 +02:00
vakrilov
f3afaf5abe fixed tslint errors 2017-02-20 09:45:10 +02:00
Hristo Hristov
a582adc561 Hhristov/fix (#3653)
* Fix action-bar systemIcon
Fix CSS applying

* refactoring

* fix console

* remove StyleScope import - it is private and cannot be imported in public .d.ts
2017-02-17 17:21:57 +02:00
vakrilov
d448f3dc7f Animated nav-bar 2017-01-25 10:48:48 +02:00
Rossen Hristov
fec5e92dbe Fix tracing 2017-01-16 13:29:46 +02:00
vakrilov
e983295952 Style tests fixes 2017-01-12 14:24:12 +02:00
vakrilov
cd3cd13075 View tests turned green 2017-01-11 17:34:25 +02:00
vakrilov
c30be0d606 View lifecycle methods 2017-01-04 17:18:45 +02:00
Rossen Hristov
e6d64799d8 Fix: Android platform.screen.mainScreen props are not invalidated after orientation change
Resolves #3270
2017-01-03 11:17:06 +02:00
PanayotCankov
7931ecd4f8 Fix tslint errors 2016-12-21 17:42:31 +02:00
Hristo Hristov
f5905f072d fix tab-view, segmented-bar, action-bar, all ViewBases (#3340) 2016-12-21 12:02:02 +02:00
Hristo Hristov
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
Hristo Hristov
befb494a50 up to segmented-bar.ios 2016-12-13 15:51:18 +02:00
Hristo Hristov
1202cb7288 almost all without layouts 2016-12-13 15:51:18 +02:00
Hristo Hristov
a64847ca9d next 2016-12-13 15:51:18 +02:00
Hristo Hristov
d795ee94e4 alpha2 2016-12-13 15:51:18 +02:00
Hristo Hristov
645f428f59 alpha1 2016-12-13 15:51:18 +02:00
Hristo Hristov
bb2c7aa60a partial state 2016-12-13 15:51:18 +02:00
Tsvetan Raikov
3f578741f7 Fixed: ActionBar w/translucent navigationBar set to false is creating whitish transition 2016-11-15 13:11:04 +02:00
Panayot Cankov
05cd636fc8 npm scripts for typechecking public .d.ts-es and running tslint (#2934)
* npm scripts for typechecking public .d.ts-es and running tslint

* Update test.ts
2016-10-27 15:18:54 +03:00
zh-m
75cab33f8f Percent support of margin of layouts/frame/page/contentview 2016-10-20 11:29:21 +03:00
vakrilov
20dc0b1ef5 Snapshot fix 2016-10-14 11:33:58 +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
Hristo Hristov
682c465e56 setActivityCallbacks moved as public fucntion (#2696) 2016-09-09 14:03:55 +03:00
Panayot Cankov
1236f66f44 Add npm script that generates ios .d.ts-es from the tests app
Less than 30 erros left, let's hope it still works

Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills

Roll back some changes involved in separating UIEvent for dom and ios

Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00
Hristo Deshev
7e5c29a163 Fix package.json "main" settings and remove .js references. 2016-08-04 16:24:29 +03:00
vakrilov
2dc9827721 FIX: Wrong isBackNavigation value 2016-07-25 11:47:07 +03:00
vakrilov
4d1010155b var -> let cleanup 2016-07-20 18:09:08 +03:00
vakrilov
ef6a24a5de FIX: isBackNavigation worng when navigation away form page that is not backstack visible 2016-07-20 11:54:53 +03:00
Rossen Hristov
39050861f3 Add NavigationEntry.bindingContext property
Resolves Issue  #731
2016-07-19 12:06:29 +03:00
Rossen Hristov
b0aee9d7a9 Fix: The navigation bar duplicates when going to TabView's "More" tab
Resolves #2121
2016-06-27 16:23:54 +03:00
Hristo Hristov
ce6bf2dc58 Activity intent extras are set on application run which breaks Frame class logic. They were never set on lower API levels (#2367) 2016-06-24 17:56:29 +03:00
Georgi Atanasov
fe450f0280 Merge pull request #2304 from NativeScript/atanasovg/update-http
Rename com.tns.Async.xxx to org.nativescript.widgets.Async.xxx
2016-06-21 11:37:32 +03:00
Hristo Deshev
1a88cf0e8c Fix frame.d.ts to not expose public android types. 2016-06-16 13:08:32 +03:00
Hristo Hristov
a95d8c5c32 Fix android activity being destroyed then recreated. (#2321) 2016-06-16 09:30:35 +03:00
atanasovg
dedce943f2 Fix the startActivity method. 2016-06-15 14:43:38 +03:00
Georgi Atanasov
4c54bc841e Merge pull request #2288 from NativeScript/atanasovg/decouple-fragment-class
Decouple Fragment implementation logic from the Extend call.
2016-06-13 11:51:02 +03:00
atanasovg
2740be2b05 Add API ref comments. 2016-06-13 11:10:15 +03:00
atanasovg
ef0577ed56 Decouple Fragment implementation logic from the Extend call. 2016-06-10 18:01:47 +03:00
Rossen Hristov
b514906144 The variable navDepth is now correctly reset to -1 when clearing history 2016-06-10 16:58:11 +03:00
Vasil Chimev
cf06073a26 Merge pull request #2271 from NativeScript/atanasovg/remove-activity-extend
Extract the Activity implementation logic in a separate class.
2016-06-09 08:24:56 -07:00
atanasovg
48f14badca Update the tsconfig and package.json files to reflect the new changes. 2016-06-09 15:19:39 +03:00