Rossen Hristov
82d6b644d6
Remove directory code variables
2016-07-20 10:44:51 +03:00
Nedyalko Nikolov
2656f18926
Merge pull request #2474 from NativeScript/nnikolov/TextPropertyMustBeString
...
Mark text property as special and set it with a string comming from b…
2016-07-20 09:53:59 +03:00
Nedyalko Nikolov
a9d835b26d
Merge pull request #2469 from NativeScript/nnikolov/NestedObservables
...
Creating observables from a nested json.
2016-07-19 18:04:12 +03:00
Panayot Cankov
849736e35e
Merge pull request #2465 from NativeScript/css-hash-lookup-2
...
CSS refactoring
2016-07-19 17:59:10 +03:00
Rossen Hristov
116bc26dc1
Add iOS-specific known folders to fs.knownFolders
2016-07-19 16:33:51 +03:00
Nedyalko Nikolov
a481fa9808
Mark text property as special and set it with a string comming from builder.
2016-07-19 14:37:44 +03:00
Rossen Hristov
ffec9c3ad6
Make the new bindingContext parameter optional.
2016-07-19 13:22:52 +03:00
Rossen Hristov
39050861f3
Add NavigationEntry.bindingContext property
...
Resolves Issue #731
2016-07-19 12:06:29 +03:00
Nedyalko Nikolov
48a57bdaf3
Creating observables from a nested json.
2016-07-18 17:34:50 +03:00
Panayot Cankov
c1aeeb51a7
Inital by-type split
...
Split type.class from CssTypeSelector to CssCompositeSelector, probably support type#id.class selectors
Apply review comments, refactor css-selectors internally
Applied refactoring, all tests pass, button does not notify changes
Add tests for the css selectors parser.
Added tests for css-selectors
Added basic implementation of mayMatch and changeMap for css match state
Implemented TKUnit.assertDeepEqual to check key and key/values in Map and Set
Watch for property and pseudoClass changes
Add one child group test
Add typings for animations
Added mechanism to enable/disable listeners for pseudo classes
Count listeners instead of checking handlers, reverse subscription and unsubscription
2016-07-18 17:24:09 +03:00
Rossen Hristov
0dcb0c9b36
Remove the _originalBindingContext caching
2016-07-18 14:24:15 +03:00
Rossen Hristov
36ae896933
Fix: Set the binding context of a page automatically when navigated to.
...
Resolves #731
2016-07-18 13:40:13 +03:00
atanasovg
c12e12dcdc
Rename com.tns.Async.xxx to org.nativescript.widgets.Async.xxx
2016-06-14 10:29:46 +03:00
Tsvetan Raikov
2ec324055d
Updated webinspector interfaces
2016-06-13 17:15:18 +03:00
Hristo Hristov
44be75a624
Move UILableImpl as TNSLabel in widgets. ( #2298 )
...
Refactor Label class to the new use TNSLabel class.
Added definitions.
2016-06-13 16:24:39 +03:00
Nedyalko Nikolov
adc8f01cfe
Fixed binding converter calls.
2016-06-13 15:20:09 +03:00
Georgi Atanasov
4c54bc841e
Merge pull request #2288 from NativeScript/atanasovg/decouple-fragment-class
...
Decouple Fragment implementation logic from the Extend call.
2016-06-13 11:51:02 +03:00
atanasovg
2740be2b05
Add API ref comments.
2016-06-13 11:10:15 +03:00
atanasovg
ef0577ed56
Decouple Fragment implementation logic from the Extend call.
2016-06-10 18:01:47 +03:00
Rossen Hristov
1818e087e1
Fixed a visual glitch with manual iOS transitions
2016-06-10 16:58:12 +03:00
Rossen Hristov
b514906144
The variable navDepth is now correctly reset to -1 when clearing history
2016-06-10 16:58:11 +03:00
Panayot Cankov
64d9e23d2d
Merge pull request #2280 from NativeScript/cankov/async-image-race-fail
...
Fix setting src on async image mismatching imageSource
2016-06-10 11:43:06 +03:00
Panayot Cankov
20dc0bd7d3
Fix setting src on async image mismatching imageSource
2016-06-10 10:32:22 +03:00
Vasil Chimev
cf06073a26
Merge pull request #2271 from NativeScript/atanasovg/remove-activity-extend
...
Extract the Activity implementation logic in a separate class.
2016-06-09 08:24:56 -07:00
Panayot Cankov
f8ee993934
Add a check so setting src on async image multiple times wont mismatch imageSource
2016-06-09 15:58:39 +03:00
atanasovg
48f14badca
Update the tsconfig and package.json files to reflect the new changes.
2016-06-09 15:19:39 +03:00
Hristo Hristov
192171232e
Fix android orientation exception. ( #2278 )
...
Fix android activity destroy/resume.
Fix tslint - skipped all from node_modules & platforms
2016-06-09 14:02:15 +03:00
tzraikov
d9800c1220
Merge pull request #2262 from NativeScript/raikov/fix-actionbar
...
Fixed a crash in action bar on iOS 9.3
2016-06-08 18:44:31 +03:00
Nedyalko Nikolov
e46f30ac26
Merge pull request #2263 from NativeScript/nnikoilov/ListViewUsedInAModalDialogCrash
...
Fixed crash when ListView is used in a modal dialog (Android).
2016-06-08 18:43:08 +03:00
atanasovg
7220863e36
Remove empty block
2016-06-08 17:28:01 +03:00
atanasovg
92d66f6938
Extract the Activity implementation logic in a separate class.
2016-06-08 17:04:37 +03:00
Hristo Hristov
22608011f2
Avoid excessive requestLayout calls ( #2270 )
...
Added View.isLayoutRequired - to check if Layout call is needed after a measure call. Use in list-view.
Measure pass now get all its properties from nativeLayoutParams property instead of using instance dependency properties (e.g. perf improvement).
List-view now layouts cells only if there is need to.
List-view now measure rows with the specified rowHeight.
2016-06-08 15:41:30 +03:00
Hristo Hristov
ec85cf3860
Undefined can be set as localValue to dependency observable ( #2268 )
...
* Undefined can be set as localValue to dependency observable
* Fix build error in tests
2016-06-08 15:41:02 +03:00
Panayot Cankov
b65e6f6fda
Layout will not requestLayout when its text is changed if it has fixed size
2016-06-08 13:57:49 +03:00
Tsvetan Raikov
5d54ae69f4
Fixed a crash in action bar on iOS 9.3
2016-06-08 11:00:58 +03:00
Nedyalko Nikolov
98a9680bce
Fixed crash when ListView is used in a modal dialog (Android).
2016-06-07 15:50:38 +03:00
Hristo Hristov
743a2efb4a
Optimized DependencyObject setValue performance ( #2260 )
...
* Cached all properties from metadata as fields on Property
ResetValue does not remove entry but only reset value for the given ValueSource (Local by default)
Optimized setValueInternal performance
* Removed TS dependency
* Fix tslint
2016-06-07 15:30:09 +03:00
Rossen Hristov
5602b05b1c
Merge pull request #2261 from NativeScript/end-trans
...
Fixed: Exit transition on API Level 23 with cachePagesOnNavigate=true
2016-06-07 13:56:15 +03:00
Rossen Hristov
d1c7eacaac
Fixed: Exit transition on API Level 23 with cachePagesOnNavigate=true
...
When we are on API Level 23 and we have cachePagesOnNavigate=true, the exit transition of the current (disappearing) page ends immediately after its start, which in turn removes the page UI from the fragment and leaves a white spot in place of the current page while the enter transition of the new page is being played.
Related to #2225
2016-06-07 11:50:35 +03:00
Alexander Vakrilov
46e635001f
Expose the zonedCallback function
2016-06-07 11:38:15 +03:00
Rossen Hristov
bab2bb13d0
More transition fixes and optimizations
...
Related to #2225
2016-06-06 15:45:49 +03:00
Georgi Atanasov
1ad23a3a78
Merge pull request #2244 from NativeScript/atanasovg/remove-app-activity-extends
...
Remove the android.app.Application extend from the core modules
2016-06-06 15:36:50 +03:00
Rossen Hristov
6a45376a0f
Merge pull request #2242 from NativeScript/clear-history
...
Fixed: The exit transition of the current page is not played
2016-06-06 10:03:56 +03:00
atanasovg
9847c9f803
Improve the default nativeApp initialization.
2016-06-06 10:01:18 +03:00
Sebastian Witalec
8fd0476353
Fixing currentEntry bug
...
The app crashes when it tries to access currentEntry property when _currentEntry is null.
2016-06-05 22:57:19 +01:00
Rossen Hristov
63471fcc3c
Fix all possible cases of the current page not playing its exit transition
2016-06-03 17:32:40 +03:00
atanasovg
87b0f53c3d
Remove redundant comment. Fix native method call.
2016-06-03 16:27:17 +03:00
Rossen Hristov
9e40f8022b
Fixed: The exit transition of the current page is not played when navigating with clearHistory
...
Resolves #2225
2016-06-03 15:48:48 +03:00
atanasovg
36da401684
Remove the android.app.Application extend from the core modules. This will enable various scenarios where custom application implementation is needed.
2016-06-03 15:34:37 +03:00
Rossen Hristov
17cc067e25
Trying to fix the Travis build.
2016-06-02 15:18:23 +03:00