Commit Graph

977 Commits

Author SHA1 Message Date
Rossen Hristov
d80bc5fc81 Eliminate rounding errors 2016-03-21 13:05:17 +02:00
Rossen Hristov
fe3d176dd6 Add public instance methods to View class for getting locations and sizes
Resolves #1760
2016-03-21 10:46:58 +02:00
Hristo Hristov
b1ca9c41ac Merge pull request #1793 from NativeScript/hhristov/navigation-events
Fix navigation events https://github.com/NativeScript/NativeScript/issues/1570
2016-03-18 17:24:16 +02:00
Rossen Hristov
a2f20a54b2 Merge pull request #1795 from NativeScript/formatted-text-crash
Update TextBase/Button `text` property when `formattedText` changes
2016-03-18 17:08:38 +02:00
Rossen Hristov
c492d894d5 Fix NSRangeException when typing in a TextField with formatted text
Fixes #1792
2016-03-18 15:27:28 +02:00
Rossen Hristov
ed090326b1 Additional fixes 2016-03-18 14:57:28 +02:00
Rossen Hristov
6c68423ee9 Update TextBase/Button text property when formattedText changes
Fixes #1794
2016-03-18 14:17:08 +02:00
Hristo Hristov
2cabf02215 Fixed navigation events 2016-03-18 11:55:52 +02:00
Rossen Hristov
6de1afc2a9 Going back with the stock "Back" button on iOS will now respect the animated setting used when coming to the current page
Fixes #1787
2016-03-17 17:08:39 +02:00
Vladimir Enchev
5773dba1f0 Merge pull request #1773 from NativeScript/css-property
Plain component properties now can be applied from CSS
2016-03-16 16:36:05 +02:00
Vladimir Enchev
10d0d5c3ce Plain component properties now can be applied from CSS 2016-03-16 16:01:35 +02:00
Rossen Hristov
48704f19f9 Prevent stack overflow when re-applying iOS formatted text after a style property changes
Related to #1078
2016-03-16 09:39:06 +02:00
Panayot Cankov
522c9ee7ed Add source information in the xml builder, print source file as part for veiw.toString 2016-03-15 11:23:51 +02:00
Vladimir Enchev
9a92e65e53 dismissSoftInput fixed 2016-03-11 15:30:16 +02:00
Vladimir Enchev
3a78ceacef event check 2016-03-11 10:56:52 +02:00
Vladimir Enchev
3c11dc7012 Merge pull request #1689 from vbresults/master
Added Support for WebView Navigation Types
2016-03-10 09:59:52 +02:00
vB Results, LLC
0cf97963b8 Added WebView Navigation Type Support 2016-03-10 07:42:59 +00:00
Alexander Vakrilov
f8d1f5c115 Merge pull request #1728 from NativeScript/feature/action-bar-fix
Action bar safety checks in property changed events
2016-03-09 14:47:44 +01:00
Vladimir Enchev
6fae09e0c0 Merge pull request #1730 from NativeScript/code-file
Code file exports fixed
2016-03-09 15:47:21 +02:00
Nedyalko Nikolov
da556d6b8d Merge pull request #1724 from NativeScript/nnikolov/TimePickerHotFixAngular
Change time only once due to Angular issues.
2016-03-09 15:43:44 +02:00
Vladimir Enchev
2572cc13f7 Code file exports fixed 2016-03-09 15:04:37 +02:00
vakrilov
25c8bfbb33 Action bar safety checks 2016-03-09 13:23:07 +02:00
Vladimir Enchev
6704abbc66 TextField returnPress event will be raised if event KeyCode is ENTER 2016-03-09 11:58:29 +02:00
Nedyalko Nikolov
974cdbd816 Change time only once due to Angular issues. 2016-03-09 09:48:58 +02:00
Nedyalko Nikolov
f5d84419da Hot fix for DatePicker to emit date change only once. 2016-03-08 16:28:21 +02:00
Vladimir Enchev
b01f6590bd Merge pull request #1709 from appcela/fix-navigation-entry-transition-android-not-used
Fixed 'NavigationEntry.transitionAndroid' not used bug #1693
2016-03-08 15:54:22 +02:00
Nedyalko Nikolov
9d5296c095 Introducing time property for TimePicker. 2016-03-08 09:07:06 +02:00
appcela
3fd32b9d83 fixed 'transitionAndroid' not used bug
see https://github.com/NativeScript/NativeScript/issues/1693 for details.
2016-03-08 00:41:56 +08:00
Georgi Atanasov
5b6f960f84 Merge pull request #1694 from NativeScript/atanasovg/fix-actionbar-id
[Android] Fix an issue with id not applied to ActionBar in XML
2016-03-07 17:52:02 +02:00
Nedyalko Nikolov
a8da126edc Merge pull request #1682 from NativeScript/nnikolov/DatePickerDateProperty
Introducing DatePicker date property.
2016-03-07 17:12:16 +02:00
Nedyalko Nikolov
8c6f2c697f Introducing DatePicker date property. 2016-03-07 15:58:36 +02:00
atanasovg
66936ff0c4 Fixes #1691. 2016-03-03 18:03:27 +02:00
atanasovg
13494e3adf Replace reflection calls for native Java arrays with the new implementation from the Runtime. 2016-03-02 18:39:21 +02:00
Vladimir Enchev
857b5582b0 Merge pull request #1684 from NativeScript/codefile
Loading of codeFile should not mask exceptions
2016-03-02 13:36:02 +02:00
Vladimir Enchev
64a6f08562 Loading of codeFile should not mask exceptions 2016-03-02 11:14:43 +02:00
Hristo Deshev
a30c4e13a0 Fix a crash when using a ProxyViewContainer in ListView item templates.
Not a regular {N} usage scenario, but it can happen with Angular components
which get wrapped in a proxy container.
2016-03-01 17:29:47 +02:00
Hristo Hristov
62940bf858 Merge pull request #1678 from NativeScript/hhristov/fix-android-suspend-resume-app
Fix android application suspend-resume
2016-03-01 17:22:03 +02:00
Panayot Cankov
f229abbc0a Merge pull request #1647 from NativeScript/cankov/fix-android-background-navigate
Frame.navigate while in background
2016-03-01 16:57:52 +02:00
Hristo Hristov
50b811dd30 Fix android application suspend-resume 2016-03-01 16:00:24 +02:00
Hristo Hristov
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
Hristo Hristov
b3721cc047 Merge pull request #1637 from NativeScript/atanasovg/fix-navigation-clearhistory
Fixes breaking app on back btn clearHistory: true on android
2016-02-25 17:22:32 +02:00
Rossen Hristov
bda6159bbb Re-apply TextBase.formattedText after a style property change
Resolves #1078
2016-02-25 11:01:44 +02:00
Panayot Cankov
7967045ca2 Delay _processNavigationContext when the Frame's activity is not in foreground 2016-02-25 10:07:44 +02:00
atanasovg
cbbde1b171 Fixes #1569 2016-02-24 17:24:31 +02:00
Ofir Dagan
e5979577b3 1631|fix(dialogs): change alert dialog context
closes #1631
2016-02-24 14:28:56 +02:00
Hristo Deshev
de6a92f8c6 Fix tslint errors. 2016-02-24 11:06:15 +02:00
Hristo Deshev
32ff1f3cfc Fix TypeScript 1.8 compile errors. Get rid of "ui" imports. 2016-02-24 11:06:14 +02:00
Hristo Deshev
c9eb4d5890 Delete ui.ts and ui.d.ts
The simplest way to resolve reexport conflicts. We have multiple modules
exporting symbols with the same name e.g. Options, which clash at reexport
time. TypeScript 1.7.x did not detect that error, but TypeScript 1.8
catches it.

Since TypeScript doesn't allow hiding or renaming a single member when
reexporting and exporting the rest, the alternative solution would be to
explicitly list all module members in ui.ts/ui.d.ts *and* keep them in sync
with every new release.
2016-02-24 11:06:14 +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