Commit Graph
78 Commits
Author SHA1 Message Date
Hristo Hristov e709485bb6 Added an option to change the rootView.
Fixed crash where activity was incorrectly using existing initialized frame.
Fixed TabView to use _nativeView instead of Frame.
2016-02-05 15:09:28 +02:00
atanasovg 56f1aaa795 Do not use lazy requires where not needed. 2016-01-25 16:33:18 +02:00
atanasovg f930914fa8 Added typed information for lazily loaded android types. 2016-01-20 14:03:04 +02:00
atanasovg fbc612610f Snapshot refactorings, which mainly wraps Android extends within inner functions so that they are evaluated at runtime, when needed. Also some refactoring preventing circular requires. 2016-01-20 10:22:08 +02:00
atanasovg 935939bb51 Refactor the application module to prevent cyclic dependencies, which were:
* common requires application
* application requires common
* application requires application
Make the exports typed using @hdeshev way.
2016-01-20 10:19:15 +02:00
Vladimir Enchev d05426c22d changed mainModule to start(entry) 2016-01-19 17:02:06 +02:00
Vladimir Enchev 074ac89871 imports improved 2015-12-17 14:53:46 +02:00
Hristo Deshev 070b01c544 Remove UTF-8 BOM's from package.json files 2015-12-01 15:37:14 +02:00
vakrilov 79caa4ba0c Fix: Crash in when livesync-ing minimized app 2015-11-10 16:59:04 +02:00
vakrilov 5f07f4fc17 Reload app.css and clear file resolver cache on livesync. 2015-11-10 16:59:03 +02:00
hshristov 9b049f563e Moved live-sync code in application-common 2015-11-09 14:34:15 +02:00
hshristov 3c54158645 Implemented liveSync for iOS 2015-11-09 11:17:29 +02:00
hshristov 35b8209ddb Implemented LiveSync page reload.
Fixed iOS layout bug
2015-11-06 16:45:20 +02:00
Vladimir Enchev 0dd499c9ee Exception added 2015-11-02 14:35:31 +02:00
Vladimir Enchev 750444a7b3 code fixed 2015-11-02 14:32:04 +02:00
Vladimir Enchev e1399987a4 application should not crash when start() method called multiple times 2015-11-02 13:22:03 +02:00
Hristo Deshev 70041bd999 Don't expose platform types in public d.ts files.
Use any. Add a comment with the real type.
2015-10-30 17:17:29 +02:00
atanasovg 33310f4455 Integrate recent iOS Runtime global.__onUncaughtError feature (https://github.com/NativeScript/ios-runtime/issues/78) 2015-10-07 15:26:37 +03:00
Hristo Deshev 77838ae9c6 Change from "classic" TS 1.6 imports to the default resolution scheme.
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00
Rossen Hristov 309e123f12 Extracted view-related utility methods from "utils/utils" to "ui/utils" so that the "utils/utils" module does not depend on the view module. 2015-09-16 16:20:43 +03:00
atanasovg 45d12ce565 Intermediate commit, using the NavBar items push/pop/set. 2015-09-02 16:14:23 +03:00
Rossen Hristov 41ca3af60c Keep references to observers to prevent garbage collection. 2015-09-01 15:40:36 +03:00
Rossen Hristov 7a2e41b1b3 The application.ios.addNotificationObserver method now returns an observer object which you should supply as the first argument when calling app.ios.removeNotificationObserver. (Fixed #473) 2015-09-01 12:34:20 +03:00
atanasovg de312f98d2 Fix tslint error. 2015-08-04 17:22:24 +03:00
atanasovg c683ea44e6 Refactor the file-system-access API to be synchronous. Added *Sync equivalents of the file-system APIs. Removed usage of file-system-access within the code. 2015-08-04 16:53:12 +03:00
Vladimir Enchev 114118bc7a wrong "this" fixed 2015-08-04 16:14:40 +03:00
Vladimir Enchev 3d42e87ea1 use inherited class instead of UIResponder 2015-08-04 15:16:34 +03:00
Vladimir Enchev 28cd946a92 strong reference restored 2015-08-04 13:55:01 +03:00
Vladimir Enchev 5e2f184568 UIResponder instead null 2015-08-04 11:48:23 +03:00
vakrilov fe84ff0097 Some typos fixed 2015-08-03 17:13:56 +03:00
Vladimir Enchev 117be96d5c strong reference to the window added 2015-08-03 17:11:10 +03:00
Vladimir Enchev 00f68a2820 More code improvements 2015-08-03 16:36:25 +03:00
Vladimir Enchev c5b2b38275 code improved 2015-08-03 16:02:03 +03:00
Vladimir Enchev c57b47aa3d Default UIApplicationDelegate removed 2015-08-03 14:49:04 +03:00
Vladimir Enchev 5e5d75c09d Merge pull request #526 from NativeScript/app-delegate
wrong app delegate creation removed
2015-07-31 13:00:47 +03:00
vakrilov 6ebd488735 Application orientation changed event 2015-07-31 11:51:01 +03:00
vakrilov f0f0e91b70 Default page background - white 2015-07-31 11:04:19 +03:00
Vladimir Enchev 7b25fe9c62 wrong app delegate creation removed 2015-07-30 16:02:36 +03:00
Rossen Hristov 09c00cb13b Animations Spike 2015-07-29 15:24:38 +03:00
atanasovg 1439313e7b Make moduleMerge a global function - this saves a total of 83 requires upon application loading. 2015-07-27 13:04:48 +03:00
vakrilov e9cd66a852 Add type checks fro all app lifecycle events 2015-07-24 09:59:29 +03:00
Rossen Hristov 548ea66d37 Resolved Issue #451: Improve the Network Stack
Resolved Issue #473: Add support for Notification Observers (iOS) and Broadcast Receivers (Android)
2015-07-23 16:17:48 +03:00
Vladimir Enchev 5fca51f3be Deprecated directive removed 2015-07-23 10:33:07 +03:00
plamen5kov c2dc9a1cce changed interface extending in application module so it is in sync with static bindings generation 2015-07-15 10:35:33 +03:00
Rossen Hristov abc561762c Fixed wrong event names in application.d.ts + added constants for the Android Activity Events + reordering of members + a small tslint fix. 2015-07-07 12:18:36 +03:00
Vladimir Enchev c8fe6b32b9 activity callbacks deprecated 2015-07-07 11:34:29 +03:00
Rossen Hristov 849d6bee26 Moved Activity related Android-specific events to application.android instance. Renamed cross-platform events by deleting their "event" suffix. 2015-07-06 16:29:28 +03:00
Rossen Hristov 7a197a6711 Resolved Issue #391: Added cancellable Android activityBackPressed event + fixed the names of the other activity events because they were wrong. 2015-07-06 11:57:47 +03:00
Vladimir Enchev 8565700c8c lint errors fixed 2015-07-01 11:28:48 +03:00
Vladimir Enchev 143c32f6be android activity events added 2015-07-01 11:02:43 +03:00