Commit Graph

610 Commits

Author SHA1 Message Date
Nathanael Anderson
5d3d772462 This fixes the issue with Dialogs and being dismissed by clicking elsewhere on the screen on Android. The dialog will now call the callback with a null value as the first parameter (and finish calling the unloaded and other code that is supposed to be ran when the dialog is closed). This also adds a closeDialog function that you can call from the dialog which will also call the callback for you. 2015-10-01 10:54:22 +03:00
Matt Donovan
cfda63d42b changing != to !== 2015-10-01 10:42:06 +03:00
Matt Donovan
dad1510ce9 Adding voiid return statements 2015-10-01 10:42:04 +03:00
Matt Donovan
69e651bb43 Adding void return statements 2015-10-01 10:38:24 +03:00
Matt Donovan
7d948265f3 Adding removeColumns() and removeRows() to GridLayout 2015-10-01 10:34:30 +03:00
Matt Donovan
e79fd51ce4 adding removeChildren() for layout and fixing comment typos 2015-10-01 10:28:27 +03:00
Rossen Hristov
5e654ce96b Fixed the navigation tests. 2015-10-01 09:37:42 +03:00
Vladimir Enchev
8bc2aedfae Merge pull request #821 from NativeScript/atanasovg/webview-fix
Extracts common logic into web-view-common. The check for http/https …
2015-10-01 09:14:33 +03:00
atanasovg
bd97f22683 Integrate #845 into this pull. 2015-09-30 18:06:43 +03:00
Vladimir Enchev
ce49dfb7a7 Merge pull request #858 from NativeScript/android-actions-dialog
Message will be set only if you do not have actions since message and actions are mutually exclusive.
2015-09-30 14:45:14 +03:00
Vladimir Enchev
7517afd80b Message will be set only if you do not have actions since message and actions are mutually exclusive. 2015-09-30 14:42:25 +03:00
atanasovg
198f4f1dbc Add WebView test. Make its members abstract. 2015-09-30 14:33:03 +03:00
Nedyalko Nikolov
e27bb4c453 Merge pull request #854 from NativeScript/nnikolov/BindingContextSetBeforeAddingToVisualTree
BindingContext will be set before adding items to visual tree (ListView, Repeater).
2015-09-30 13:36:25 +03:00
Vladimir Enchev
113a1b6a69 placeholder creatingView event fixed + tests 2015-09-30 11:26:42 +03:00
Nedyalko Nikolov
0b6ca23e25 BindingContext will be set before adding items to visual tree (ListView, Repeater). 2015-09-30 11:18:46 +03:00
atanasovg
1a76b58768 Extracts common logic into web-view-common. The check for http/https is now case insensitive. Fixes #819 2015-09-30 11:00:56 +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
Vladimir Enchev
ae632bb55e Merge pull request #823 from PeterStaev/text-field-return-press-event
implements #713
2015-09-29 16:19:47 +03:00
Vladimir Enchev
8744ba62b9 Merge pull request #845 from emiloberg/webview-utf8
web-view loads local data with UTF-8
2015-09-29 16:05:22 +03:00
Vladimir Enchev
7f22294a74 Merge pull request #840 from NativeScript/search-bar-empty-text
component builder fixed
2015-09-29 15:00:00 +03:00
Emil Öberg
4106e6c2b8 web-view loads local data with UTF-8 2015-09-29 13:21:05 +02:00
Vladimir Enchev
dbc7885ba0 component builder fixed
component builder now can handle properly empty text or text with spaces
2015-09-29 10:35:25 +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
Panayot Cankov
11f01e26c1 Set bound along the frame property for iOS layouts. Setting bounds will reapply the transform. 2015-09-28 12:24:18 +03:00
Nedyalko Nikolov
7ad18c559d Merge pull request #760 from NativeScript/nnikolov/iOS9ChangedAPIIsues
Added some checks according to changed iOS9 API.
2015-09-28 10:16:10 +03:00
Vladimir Enchev
2ffe258269 Merge pull request #825 from NativeScript/segmented-bar-event
segmented bar selectedIndexChanged fix
2015-09-25 16:42:27 +03:00
Rossen Hristov
f75922102a Resolved: Cross platform way to clear history #283 2015-09-25 11:34:51 +03:00
Vladimir Enchev
9e07a2344b segmented bar selectedIndexChanged fix 2015-09-25 11:10:17 +03:00
Peter Staev
7ece24f714 implements #713 2015-09-24 19:13:23 +03:00
Vladimir Enchev
5f4840d784 Merge pull request #804 from NativeScript/UILabel-border-radius-
borderRadius not working on UILabel
2015-09-24 09:08:00 +03:00
Vladimir Enchev
4e6f4aaf3f borderRadius not working on UILabel 2015-09-23 10:03:08 +03:00
Vladimir Enchev
be18818bbc text-field hint now can be set to number 2015-09-23 09:54:24 +03:00
Rossen Hristov
beef7f9372 Fixed: If an Animation instance is played more than once, the same promise is resolved each time leading to unexpected results. #774 2015-09-21 13:27:10 +03:00
Rossen Hristov
15eb5d29c8 Fixed: Android animations that animate a property to its current value do not run. #759 2015-09-21 10:28:30 +03:00
Vladimir Enchev
36036c55b1 support of [on]event/gesture added + tests 2015-09-18 16:55:39 +03:00
Hristo Deshev
b3b03ddcd4 Remove an unused import in component-builder 2015-09-18 16:55:34 +03:00
Hristo Deshev
d4827a34d9 Pull the Owned android helper interface to utils/utils.
In a @private block.
2015-09-18 16:55:33 +03:00
Hristo Deshev
13deafec79 Fix typescript 1.6 compile errors.
- Remove unknown properties in object literals.
- Don't use module-level `delete` statements.
2015-09-18 16:55:32 +03:00
Vladimir Enchev
d39913b6e6 className property added cssClass deprecated 2015-09-18 13:31:08 +03:00
Vladimir Enchev
744de9670e Class atribute registered and used instead cssClass 2015-09-18 09:47:55 +03:00
Nedyalko Nikolov
cfe19f1c17 Added some checks according to changed iOS9 API. 2015-09-17 14:55:03 +03:00
Nedyalko Nikolov
e84e5fbaae Merge pull request #750 from NativeScript/nnikolov/ActionBarItemNumberIssue
Fix for #747 issue.
2015-09-17 11:00:42 +03:00
Rossen Hristov
dd1145c8e7 Extracted the new utils file one level up. 2015-09-16 16:38:52 +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
Nedyalko Nikolov
bfaeb3c8a9 Fix for #747 issue. 2015-09-16 15:43:11 +03:00
Nedyalko Nikolov
ef8789c5da Merge pull request #739 from NativeScript/nnikolov/RepeaterParentBindingIssue
Fixed problem with `$parents` when used in repeater.
2015-09-16 10:51:36 +03:00
Nedyalko Nikolov
db12d5a8db Fix for issue #740. 2015-09-15 15:24:39 +03:00
Nedyalko Nikolov
7af95207c6 Fixed problem with when used in repeater. 2015-09-15 11:27:39 +03:00
Vladimir Enchev
5cf6004d98 Merge pull request #737 from NativeScript/slide-out-remove
slide-out removed
2015-09-14 15:28:20 +03:00