Commit Graph

100 Commits

Author SHA1 Message Date
Hristo Deshev
de6a92f8c6 Fix tslint errors. 2016-02-24 11:06:15 +02:00
Hristo Hristov
a9d2b2e970 Fixed 'jurky` navigation between pages in iOS.
Fixed after application suspend/resume the UI was not restored.
Fixed modal-views page
2016-02-24 09:48:16 +02:00
Rossen Hristov
5f443be054 Fixed Issue #1543: View._onDetached called twice when app is suspended. 2016-02-22 13:13:47 +02:00
Vladimir Enchev
bada97399a Merge pull request #1528 from NativeScript/bg-image-with-url
Fix: background properties not respected with remote background image
2016-02-12 11:28:23 +02:00
Rossen Hristov
5ad082d783 Re-factored page navigation transitions. Resolves Issue #811. 2016-02-10 14:55:27 +02:00
vakrilov
5364e395fa Fix: background properties not respected with remote background image 2016-02-10 11:32:13 +02:00
Rossen Hristov
4336245aba Fixed Issue #659. 2016-02-10 11:07:27 +02:00
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
Rossen Hristov
6b7d05420e Resolved Issue #1021: The navigatedTo event is called twice for the first application page. 2016-02-04 16:12:45 +02:00
Tsvetan Raikov
a8aaeac137 Merged with master after the transitions feature 2016-02-03 15:24:38 +02:00
Rossen Hristov
b0976bf986 Resolved #811: Page Navigation Transitions 2016-02-03 13:24:12 +02:00
atanasovg
56f1aaa795 Do not use lazy requires where not needed. 2016-01-25 16:33:18 +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
Panayot Cankov
425c2c215e Frame.goBack now can accept entry to navigate back to 2016-01-12 16:23:05 +02:00
Panayot Cankov
90f462d787 Frame: navigateCore: The Error Lies 2015-12-23 17:09:52 +02:00
Vladimir Enchev
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
Hristo Hristov
1dbb742908 Implemented percent support for width, height and margins 2015-12-15 14:36:27 +02:00
Rossen Hristov
b47a648e6c Resolved Issue #1127: Changing ActionBar title after page is loaded does not show the ActionBar 2015-12-14 15:58:17 +02:00
Hristo Deshev
648e4d216d Add utils/module-loader - a mechanism to resolve modules at runtime.
Exposes a module registration API, that webpack users can use to bundle
"dynamic" modules that are required through some variable.

Falls back to the require API if no module is registered.

Reworked dynamic `require` code to use module-loader:

- navigation: ui/frame.
- XML UI build ui/builder/builder and ui/builder/component-builder.
- module on-demand loads in global functions: globals.
2015-12-14 14:41:16 +02:00
Rossen Hristov
91b46ea131 Extended the tracing information for Bindings and Android NativeLifecycle. 2015-12-04 16:49:04 +02:00
Rossen Hristov
e14fdba736 Removed an unnecessary check from measurePage. 2015-12-04 11:54:42 +02:00
Rossen Hristov
a5afdb1411 Fixed Issue #1201: iOS: A page that is disappearing with animation after navigation to another page should not be measured and laid out. 2015-12-04 11:22:40 +02:00
Hristo Deshev
070b01c544 Remove UTF-8 BOM's from package.json files 2015-12-01 15:37:14 +02:00
Panayot Cankov
0c015820fb Fixed the currentEntry property to return navigation entry instead of backstack entry 2015-11-30 17:43:57 +02:00
Hristo Hristov
31c36688ba Fixed nested frame layout for iOS 2015-11-20 14:25:50 +02:00
Nedyalko Nikolov
52c674a510 Fixed problem with iOS 7 and ListView rowHeight. 2015-11-13 11:13:43 +02:00
hshristov
a2e0ed78fd Fixed iOS layout 2015-11-10 10:04:12 +02:00
Alexander Vakrilov
f82f491e50 Merge pull request #1049 from NativeScript/feature/respect-show-action-bar
Respect frame.android.showActionBar when page.actionBarHidden is not …
2015-11-09 09:50:00 +02:00
hshristov
35b8209ddb Implemented LiveSync page reload.
Fixed iOS layout bug
2015-11-06 16:45:20 +02:00
vakrilov
4c7dfb6748 Respect frame.android.showActionBar when page.actionBarHidden is not defined 2015-11-06 14:41:37 +02:00
hshristov
6b57eeec07 Deleted commented code 2015-11-06 10:42:02 +02:00
hshristov
a23d8ad4f0 removed unused overrides 2015-11-06 10:06:21 +02:00
hshristov
c06b0681fa Fixed android crash when process get killed 2015-11-06 10:06:19 +02:00
Rossen Hristov
ea24a244c9 Fixed several tslint problems. 2015-11-05 16:03:05 +02:00
Rossen Hristov
dec5d971f3 Patch for IQKeyboardManager issue. 2015-11-05 15:29:35 +02:00
Rossen Hristov
e7c4209112 Resolved issues #789, #1021, #1031. 2015-11-03 16:20:36 +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
Nedyalko Nikolov
4692515481 Fixed fast navigation issues in iOS. 2015-10-29 10:57:08 +02:00
Nedyalko Nikolov
037690064e Fixed issue 926. 2015-10-23 09:15:39 +03:00
hshristov
f72d79e65a iOS owner pattern changed to use WeakRef in order to prevent memory leaks.
Optimized list-view-tests.
Added time per test.
2015-10-22 10:26:59 +03:00
Rossen Hristov
2545f2f19a Fixed #779: frame.topmost().currentPage is not the same instance as the page being loaded in page.loaded event handler. 2015-10-20 14:28:28 +03:00
hshristov
e127c7ef27 Fix GridLayout desiredSize when not stretched.
Fix showModal Page size method for Android
Fix showModal Page actionBar is now hidden
2015-10-09 16:54:08 +03:00
Rossen Hristov
02748f4fc0 Added check for backStackEntryCount before trying to read the first entry. 2015-10-08 11:14:08 +03:00
hshristov
0ecb5d4dcd Implement Page background option to span under status bar (iOS only for the moment) 2015-10-06 14:35:59 +03:00
Rossen Hristov
240a378609 Added check for this._currentEntry. 2015-10-02 13:37:46 +03:00
Rossen Hristov
5e654ce96b Fixed the navigation tests. 2015-10-01 09:37:42 +03:00
hshristov
08ac9ea3ed Fix action-bar desired size 2015-09-30 10:02:02 +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
hshristov
03090b7842 Page background now spans on the whole height but content is still under NavBar 2015-09-29 09:48:15 +03:00
Rossen Hristov
f75922102a Resolved: Cross platform way to clear history #283 2015-09-25 11:34:51 +03:00