3229 Commits

Author SHA1 Message Date
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
0477c81dd5 Merge pull request #2458 from NativeScript/animations-fix
Unregister animations only once - on reset css
2016-07-18 12:29:42 +03:00
48ab2e455e Merge pull request #2459 from NativeScript/action-bar-title-fix
fix: ActionBar's title not updating in OnLoaded event
2016-07-18 09:46:53 +03:00
1d6310353d fix: ActionBar's title not updating in OnLoaded event 2016-07-15 16:54:28 +03:00
1b00fe9a18 Unregister animations only once - on reset css 2016-07-15 11:42:04 +03:00
b07dd305ae Merge pull request #2454 from NativeScript/tsenov/ui-tests
Remove some unnecessary variables
2016-07-14 13:13:24 +03:00
5029be8697 Remove some unnecessary variables 2016-07-14 10:46:02 +03:00
1b1dc9cadb Merge pull request #2451 from NativeScript/tsenov/ui-tests
Update main page
2016-07-14 09:18:16 +03:00
16d0a64de9 Update main page 2016-07-13 18:40:07 +03:00
c3ce128e65 Merge pull request #2435 from toddanglin/patch-1
Update iOS TabView to use Automatic rendering mode
2016-07-13 11:08:24 +03:00
9279fa1225 Merge pull request #2446 from NativeScript/fix-tsconfig
Change apps tsconfig.json noImplicitAny to false
2016-07-13 09:59:38 +03:00
9890d10a37 Change apps tsconfig.json noImplicitAny to false 2016-07-13 09:56:47 +03:00
d008bd11a8 Merge pull request #2441 from NativeScript/fix-ui-tests-app
Fix ui-tests-app paths and add css-perf-test app
2016-07-12 14:12:18 +03:00
bcc1f3476e Grunt tasks now have verbose output 2016-07-12 13:11:27 +03:00
8061a609ae Add grunt dev dependenices back since they are needed by the Travis grunt scripts 2016-07-12 12:59:40 +03:00
7cb56a857a Fix apps and tests TypeScript projects 2016-07-12 10:58:23 +03:00
525d0c43e3 Fix ui-tests-app paths and add css-perf-test app 2016-07-12 10:00:32 +03:00
3f41a6c033 Merge pull request #2431 from NativeScript/move-old-apps
Create a single NS app for cuteness.io, gallery-app and ui-tests-app
2016-07-11 15:50:24 +03:00
1e96af2754 Delete css-perftest 2016-07-11 15:35:40 +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
c2867e7a1c Merge pull request #2428 from NativeScript/atanasovg/image-cache-update
Reflects some refactoring in the widgest for Android.
2016-07-11 03:20:28 -07:00
91ba3fa69a Update iOS TabView to use Automatic rendering mode
Change the UIImageRenderingMode for tab icons from "AlwaysOriginal" to "Automatic." This will allow icon images to inherit the `selectedColor` specified for the tabview (eliminating the need to provide two versions of every tab icon).
2016-07-08 21:32:15 -05:00
42b267bccc paddings should be taken from style because they could be undefined from newValue (#2433) 2016-07-08 18:18:56 +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
422b6a4285 Reflects some refactoring in the widgest for Android. 2016-07-07 15:05:39 +03:00
81dc102031 Merge pull request #2423 from NativeScript/hdeshev/snippets-whitespace
Remove unicode nonbreaking whitespace in snippet declarations.
2016-07-06 17:10:41 +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
8c31cfbfd0 Merge pull request #2419 from NativeScript/hdeshev/doc-snippets-fixes
Fix unclosed snippet tags and duplicate snippets.
2016-07-06 16:22:00 +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
a497429403 Merge pull request #2418 from NativeScript/vchimev-pack
Bump up version to 2.2.0
2016-07-05 06:11:56 -07:00
4d0fbef87b Bump up version to 2.2.0 2016-07-05 15:56:44 +03:00
240ae699ee Merge pull request #2412 from NativeScript/issue-2362
Fix: Multiple ScrollViews on one page fires scrollEvent simultaneously
2016-07-04 15:17:51 +03:00
8b5afa83b7 Fix: Multiple ScrollViews on one page fires scrollEvent simultaneously
Resolves #2362
2016-07-04 13:35:53 +03:00
b9dca4f298 Remove the redundant header that gets added by the retriever script of the documentation 2016-07-01 10:24:44 -04:00
b46727f56e Merge pull request #2357 from NativeScript/hdeshev/webpack-fixes
webpack fixes
2016-07-01 13:45:51 +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
369a0ac274 Update CHANGELOG.md (#2398)
* Update CHANGELOG.md

* Update CHANGELOG.md
2016-07-01 13:05:34 +03:00
0a1c88e1da Merge pull request #2386 from NativeScript/background-position-fix
Fix: background-repeat is not respected
2016-06-30 17:27:19 +03:00
5cc8051296 Merge pull request #2390 from NativeScript/jasssonpet/fetch-tests
Remove unused result variables in fetch tests
2016-06-30 16:35:44 +03:00
2cff891ca0 Background borderWidth, borderColor, borderRadius and clipPath are now used on Android only and ignored on iOS
Related to #2318
2016-06-30 16:15:56 +03:00
65045595d0 Remove unused result variables in fetch tests 2016-06-30 15:57:32 +03:00
ad05f55dc0 Fix: background-repeat is not respected
Related to #2318
2016-06-30 11:26:24 +03:00
e61affc0c0 Merge pull request #2384 from NativeScript/issue-2173
Fix: iOS onSuspend + showModal() returning "Error: This value is not …
2016-06-30 09:32:24 +03:00
8dc732cfbe Fix: iOS onSuspend + showModal() returning "Error: This value is not a native object"
Resolves #2173
2016-06-29 17:18:19 +03:00
bc1224e351 android LayoutParams are not overridden (#2383)
* LayoutParams are no longer overriden with CommonLayoutParams

* Small code refactoring to get intellisense
2016-06-29 17:13:37 +03:00
540594454f Add bundle entrypoint registration module. 2016-06-29 15:57:05 +03:00
ffb82e250a Use global require to avoid custom webpack resolve 2016-06-28 11:43:42 +03:00
c2b984664c Export all fetch types to the global object when running in snapshot 2016-06-28 11:43:36 +03:00
4af963f7e1 Merge pull request #2374 from NativeScript/back-more
Fix:  The navigation bar duplicates when going to TabView's "More" tab
2016-06-28 11:16:59 +03:00