fa48f4e425
Merge pull request #2475 from NativeScript/ios-known-folders
...
Add iOS-specific known folders to fs.knownFolders
2016-07-20 11:37:09 +03:00
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
a9d835b26d
Merge pull request #2469 from NativeScript/nnikolov/NestedObservables
...
Creating observables from a nested json.
2016-07-19 18:04:12 +03:00
849736e35e
Merge pull request #2465 from NativeScript/css-hash-lookup-2
...
CSS refactoring
2016-07-19 17:59:10 +03:00
116bc26dc1
Add iOS-specific known folders to fs.knownFolders
2016-07-19 16:33:51 +03:00
a481fa9808
Mark text property as special and set it with a string comming from builder.
2016-07-19 14:37:44 +03:00
39050861f3
Add NavigationEntry.bindingContext property
...
Resolves Issue #731
2016-07-19 12:06:29 +03:00
48a57bdaf3
Creating observables from a nested json.
2016-07-18 17:34:50 +03:00
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
36ae896933
Fix: Set the binding context of a page automatically when navigated to.
...
Resolves #731
2016-07-18 13:40:13 +03:00
7cb56a857a
Fix apps and tests TypeScript projects
2016-07-12 10:58:23 +03:00
a18d5e7622
Create a single NS app for cuteness.io, gallery-app and ui-tests-app in apps/
...
Move all other apps to https://github.com/NativeScript/tns-apps-graveyard
2016-07-11 15:34:28 +03:00
8d40782191
Style perf improvements ( #2342 )
...
* Add css-perf app.
* Style properties now check only properties that are set.
Image utils module required on top (instead of in onMeasure) to improve performance.
Remove try/catch block when Style applies native property.
* fix tslint
* Fix broken merge
Update package.json version
* Failed miserably - if the try/catch around applyProperty method is removed - TextField fails big time.
TextField needs some good refactoring as well as calls to _updateTextDecoration & _updateTextTransform
utils - setTextTransform & setTextDecoration should be split, typing support should be added.
2016-07-08 14:39:43 +03:00
09db46da0c
Remove unicode nonbreaking whitespace in snippet declarations.
...
It was breaking the snippet extraction regexes.
2016-07-06 16:55:39 +03:00
846bafc660
Change snippet syntax to the new Jekyll tag.
2016-07-06 16:09:11 +03:00
f87eb2d969
Fix unclosed snippet tags and duplicate snippets.
2016-07-05 17:27:59 +03:00
7db517858b
TextWatchListener is removed at onDetach so that no exception is thrown if android raise textChanged but we destroyed our android object in onDestroy of edit-text ( #2392 )
2016-07-01 13:20:09 +03:00
65045595d0
Remove unused result variables in fetch tests
2016-06-30 15:57:32 +03:00
c94693da44
Merge pull request #2339 from NativeScript/border-drawable
...
Implement the BorderDrawable class used in background.android.ts in Java
2016-06-21 09:21:42 +03:00
e5ce0cc3df
Merge pull request #2347 from NativeScript/hdeshev/cookbook-nativescript-env
...
Make cookbook articles appear in nativescript env only.
2016-06-20 17:45:39 +03:00
4147e47948
Make cookbook articles appear in nativescript env only.
2016-06-20 14:32:12 +03:00
6282baefd8
Ignore the case when getting a response header ( #2250 )
...
According to the RFC: https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
"Field names are case-insensitive".
For instance, Google Cloud Endpoints use "content-type" in the response.
2016-06-20 13:42:50 +03:00
36fd83365c
Fix tslint errors
2016-06-20 12:13:39 +03:00
559a7c816e
Implement the BorderDrawable class used in background.android.ts in Java
...
Resolves #2318
2016-06-20 11:30:52 +03:00
9ac40a5acb
Fixed sorting issue with Css Selectors with same specificity.
2016-06-17 13:34:15 +03:00
7fbfc92155
Fixed issue #1655 cascading css selectors.
2016-06-16 09:43:19 +03:00
5c4dbde98c
Add unit test for SearchBar.textFieldHintColor on iOS
...
Related to #1807
2016-06-15 14:09:11 +03:00
3962ac11a2
AffectsLayout done only for iOS. Android will invalidate itself when needed. ( #2307 )
2016-06-14 16:44:09 +03:00
be62b27e1d
Refactoring
2016-06-14 14:42:25 +03:00
68c705b56f
Decrease image size to fit on test device
2016-06-14 13:42:46 +03:00
4e678a06ff
Fix: Images have margin when added to Layout
...
Resolves #1425
2016-06-14 10:53:07 +03:00
adc8f01cfe
Fixed binding converter calls.
2016-06-13 15:20:09 +03:00
20dc0bd7d3
Fix setting src on async image mismatching imageSource
2016-06-10 10:32:22 +03:00
f5dbdc33e1
Hi
2016-06-09 16:08:02 +03:00
f8ee993934
Add a check so setting src on async image multiple times wont mismatch imageSource
2016-06-09 15:58:39 +03:00
55398d6320
Merge pull request #2272 from NativeScript/hhristov/fix-ts-lint
...
Fix tslint
2016-06-08 08:53:13 -07:00
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
9ed1986d20
fix tslint
2016-06-08 18:21:08 +03:00
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
b65e6f6fda
Layout will not requestLayout when its text is changed if it has fixed size
2016-06-08 13:57:49 +03:00
98a9680bce
Fixed crash when ListView is used in a modal dialog (Android).
2016-06-07 15:50:38 +03:00
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
659d91bfb2
Merge pull request #2214 from NativeScript/atanasovg/expose-fragments-1
...
[Second Try] Add API that resolves the native android.app.Fragment instance created for a Page
2016-06-01 14:04:26 +03:00
d2fbaa3307
Fix failing test
2016-05-31 13:39:04 +03:00
e2f1e272b4
Fixed: Android layerType should not be changed if there is no need
...
Resolves #1899
2016-05-30 16:53:09 +03:00
9a8542869e
Add fragmentForPage method to AndroidFrame interface.
2016-05-30 16:10:46 +03:00
b812411ce1
Fix SegmentedBar selectedIndex change event when items not bound.
...
The Android implemantation wasn't raising the event in that case.
2016-05-30 11:49:40 +03:00
717b5131b1
Add isIOS, isAndroid in platform, and fast ts watcher and transpiler
...
Image should not requestLayout when sized with 'exactly' spec
Update image tests
Tests will run in ios only
2016-05-27 16:57:59 +03:00
719ce1e33e
Fixed test_NavigateToNewPage_WithAndroidCache failure on Android API level 17
...
Unit tests re-factoring and improvements
2016-05-27 13:07:49 +03:00
7118e117c8
Revive TKUnit.assert
2016-05-26 14:30:26 +03:00