91 Commits

Author SHA1 Message Date
a8aaeac137 Merged with master after the transitions feature 2016-02-03 15:24:38 +02:00
b0976bf986 Resolved #811: Page Navigation Transitions 2016-02-03 13:24:12 +02:00
56f1aaa795 Do not use lazy requires where not needed. 2016-01-25 16:33:18 +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
425c2c215e Frame.goBack now can accept entry to navigate back to 2016-01-12 16:23:05 +02:00
90f462d787 Frame: navigateCore: The Error Lies 2015-12-23 17:09:52 +02:00
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
1dbb742908 Implemented percent support for width, height and margins 2015-12-15 14:36:27 +02:00
b47a648e6c Resolved Issue #1127: Changing ActionBar title after page is loaded does not show the ActionBar 2015-12-14 15:58:17 +02:00
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
91b46ea131 Extended the tracing information for Bindings and Android NativeLifecycle. 2015-12-04 16:49:04 +02:00
e14fdba736 Removed an unnecessary check from measurePage. 2015-12-04 11:54:42 +02:00
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
070b01c544 Remove UTF-8 BOM's from package.json files 2015-12-01 15:37:14 +02:00
0c015820fb Fixed the currentEntry property to return navigation entry instead of backstack entry 2015-11-30 17:43:57 +02:00
31c36688ba Fixed nested frame layout for iOS 2015-11-20 14:25:50 +02:00
52c674a510 Fixed problem with iOS 7 and ListView rowHeight. 2015-11-13 11:13:43 +02:00
a2e0ed78fd Fixed iOS layout 2015-11-10 10:04:12 +02:00
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
35b8209ddb Implemented LiveSync page reload.
Fixed iOS layout bug
2015-11-06 16:45:20 +02:00
4c7dfb6748 Respect frame.android.showActionBar when page.actionBarHidden is not defined 2015-11-06 14:41:37 +02:00
6b57eeec07 Deleted commented code 2015-11-06 10:42:02 +02:00
a23d8ad4f0 removed unused overrides 2015-11-06 10:06:21 +02:00
c06b0681fa Fixed android crash when process get killed 2015-11-06 10:06:19 +02:00
ea24a244c9 Fixed several tslint problems. 2015-11-05 16:03:05 +02:00
dec5d971f3 Patch for IQKeyboardManager issue. 2015-11-05 15:29:35 +02:00
e7c4209112 Resolved issues #789, #1021, #1031. 2015-11-03 16:20:36 +02:00
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
4692515481 Fixed fast navigation issues in iOS. 2015-10-29 10:57:08 +02:00
037690064e Fixed issue 926. 2015-10-23 09:15:39 +03:00
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
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
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
02748f4fc0 Added check for backStackEntryCount before trying to read the first entry. 2015-10-08 11:14:08 +03:00
0ecb5d4dcd Implement Page background option to span under status bar (iOS only for the moment) 2015-10-06 14:35:59 +03:00
240a378609 Added check for this._currentEntry. 2015-10-02 13:37:46 +03:00
5e654ce96b Fixed the navigation tests. 2015-10-01 09:37:42 +03:00
08ac9ea3ed Fix action-bar desired size 2015-09-30 10:02:02 +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
03090b7842 Page background now spans on the whole height but content is still under NavBar 2015-09-29 09:48:15 +03:00
f75922102a Resolved: Cross platform way to clear history #283 2015-09-25 11:34:51 +03:00
2d155f941d CSS and XML code files now can be specified in XML 2015-09-10 13:02:33 +03:00
f17910fd98 Fix for cancel backswipe gesture. It was broken with the implementation of navigation to a page without adding it to backstack. 2015-09-04 16:12:02 +03:00
254e4a55a1 AppCompat toolbar 2015-09-04 13:48:43 +03:00
f032389fcd Clear erroneous comment. Improve inline comments. 2015-09-02 16:26:24 +03:00
1fd27182a6 Polish the Android implementation. Rework the iOS approach to use another mechanism. 2015-09-02 16:14:24 +03:00
45d12ce565 Intermediate commit, using the NavBar items push/pop/set. 2015-09-02 16:14:23 +03:00
a95dafd72e Changed the patch to eliminate duplicate code now it only has the css loaded in one spot. 2015-08-24 12:41:01 -05:00
43a954f4a0 Added a safe guard in case somehow the createPage does not return a valid page component. 2015-08-24 02:08:09 -05:00
a81ee1b143 frame-common.ts is missing the code to automagically load the page.css file if it exists on a page that is created via JavaScript createPage function. The expected behavior should be that the page.css file is always loaded if it exists. 2015-08-24 02:04:31 -05:00