Commit Graph

44 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
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
vakrilov
79caa4ba0c Fix: Crash in when livesync-ing minimized app 2015-11-10 16:59:04 +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
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
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
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
Vladimir Enchev
7b25fe9c62 wrong app delegate creation removed 2015-07-30 16:02:36 +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
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
Rossen Hristov
6cc5675d31 Resolved #294: Add an optional fullscreen parameter to Page.showModal method. 2015-06-11 11:04:08 +03:00
Vladimir Enchev
a3070bef83 events naming updated 2015-06-01 17:04:06 +03:00
Vladimir Enchev
a8be503417 various application event implementation fixes 2015-06-01 15:51:37 +03:00
Vladimir Enchev
c6549343bc application module events added 2015-06-01 15:10:47 +03:00
Rossen Hristov
90722cfc67 Resolved #142: Modal views. 2015-05-18 14:13:46 +03:00
Erjan Gavalji
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00
atanasovg
b3a0b8df33 Added some application implementation for Android. Updated the fields of the iOS-specific application. 2014-05-23 13:48:48 +03:00
PanayotCankov
9dd3ba70c5 Added "External Ambient Module Declarations" for most modules.
Now they are required by module name e.g require("file-system") instead of by file name.
2014-05-21 12:23:19 +03:00
atanasovg
f09ab8f4a9 Added private Kimera build for UnitTestApp. Added Application module snippets. 2014-05-20 15:14:18 +03:00
Vladimir Enchev
5d6cf14bea application common naming changed to use "-" 2014-05-15 10:31:52 +03:00
Vladimir Enchev
5225d188fb module merge usage fixed 2014-05-15 10:28:21 +03:00
Vladimir Enchev
9d379a8834 require fixes 2014-05-14 12:55:59 +03:00
Stanimir Karoserov
ceff7bb368 renamed folders with lower cases and renamed user preferences to local settings 2014-05-13 17:59:30 +03:00