50 Commits

Author SHA1 Message Date
fbf9dd5a72 Merge pull request #1839 from NativeScript/cankov/navigation-fail-after-resume
Resumed activities should be marked as foreground
2016-03-25 15:23:38 +02:00
fd4285ac2c Remove redundant check 2016-03-25 14:55:27 +02:00
8651143860 Resumed activities should be marked as foreground 2016-03-24 15:04:23 +02:00
9daa948887 Allow updates to application CSS rules.
Expose an `application.addCss` method and hide `application.cssSelectors`
from end-user typings. Update StyleScope's with new application selectors
on style application.

NOT updating existing controls/views unless reloaded, or forced (via a
change to className, etc).
2016-03-24 14:45:20 +02:00
6e6247335e Add RequestPermission to become an Application activity callback like BackPress. (Patch 2/2) 2016-03-16 21:45:31 -06:00
7c90518e24 Added export for AndroidApplication 2016-02-29 11:54:35 +02:00
6273bb8d2f FrameClass implemented as TypeScript class
NativeActivity is now NativeScriptActivity and is real class
Added NativeScriptApplication class
Added JavaProxy attribute to FrameClass, NativeScriptActivity & NativeScriptApplication
2016-02-29 09:58:05 +02:00
29d76bdb42 androidAppInitialized removed 2016-02-23 10:51:12 +02:00
60cbb4753f Android app initialization error handling improved 2016-02-18 15:22:45 +02:00
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
f930914fa8 Added typed information for lazily loaded android types. 2016-01-20 14:03:04 +02:00
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
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
d05426c22d changed mainModule to start(entry) 2016-01-19 17:02:06 +02:00
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
79caa4ba0c Fix: Crash in when livesync-ing minimized app 2015-11-10 16:59:04 +02:00
9b049f563e Moved live-sync code in application-common 2015-11-09 14:34:15 +02:00
35b8209ddb Implemented LiveSync page reload.
Fixed iOS layout bug
2015-11-06 16:45:20 +02:00
33310f4455 Integrate recent iOS Runtime global.__onUncaughtError feature (https://github.com/NativeScript/ios-runtime/issues/78) 2015-10-07 15:26:37 +03:00
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
45d12ce565 Intermediate commit, using the NavBar items push/pop/set. 2015-09-02 16:14:23 +03:00
6ebd488735 Application orientation changed event 2015-07-31 11:51:01 +03:00
f0f0e91b70 Default page background - white 2015-07-31 11:04:19 +03:00
1439313e7b Make moduleMerge a global function - this saves a total of 83 requires upon application loading. 2015-07-27 13:04:48 +03:00
e9cd66a852 Add type checks fro all app lifecycle events 2015-07-24 09:59:29 +03:00
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
5fca51f3be Deprecated directive removed 2015-07-23 10:33:07 +03:00
c2dc9a1cce changed interface extending in application module so it is in sync with static bindings generation 2015-07-15 10:35:33 +03:00
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
c8fe6b32b9 activity callbacks deprecated 2015-07-07 11:34:29 +03:00
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
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
8565700c8c lint errors fixed 2015-07-01 11:28:48 +03:00
143c32f6be android activity events added 2015-07-01 11:02:43 +03:00
5c130e45ce more event fixes 2015-06-01 17:23:46 +03:00
a3070bef83 events naming updated 2015-06-01 17:04:06 +03:00
a8be503417 various application event implementation fixes 2015-06-01 15:51:37 +03:00
c6549343bc application module events added 2015-06-01 15:10:47 +03:00
a8a8c77e5a Change Application and NativeActivity classes to accommodate android runtime changes. 2015-05-29 11:53:54 +03:00
9937b5c25c Fix an issue with application lifecycle/activity caching. 2015-04-20 15:16:21 +03:00
9b70127f4e Fix an issue with the removed Property in the Android Runtime. 2015-04-01 19:38:56 +03:00
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00
2c4781db01 Initial prototype of Frame + Page + Navigation. 2014-06-12 17:44:23 +03:00
1be0f92429 Initial implementation of Observable + Bindable + Label 2014-06-05 13:53:09 +03:00
d9c540e2fb Updated the Cuteness app to the latest Kimera. Removed the camera module from the BCL project. 2014-05-29 18:51:52 +03:00
b3a0b8df33 Added some application implementation for Android. Updated the fields of the iOS-specific application. 2014-05-23 13:48:48 +03:00
f09ab8f4a9 Added private Kimera build for UnitTestApp. Added Application module snippets. 2014-05-20 15:14:18 +03:00
5d6cf14bea application common naming changed to use "-" 2014-05-15 10:31:52 +03:00
5225d188fb module merge usage fixed 2014-05-15 10:28:21 +03:00
ceff7bb368 renamed folders with lower cases and renamed user preferences to local settings 2014-05-13 17:59:30 +03:00