Commit Graph

114 Commits

Author SHA1 Message Date
Panayot Cankov
6cfbaae947 Add 'auto' and number to the PercentLength and Length types 2016-12-19 15:53:01 +02:00
Rossen Hristov
9be5d4301a Add several missing types to view.d.ts 2016-12-19 13:13:59 +02:00
Rossen Hristov
1255e6bd4a Visibility 2016-12-19 11:56:32 +02:00
Rossen Hristov
c61c58e52f BackgroundRepeat enum 2016-12-19 10:58:52 +02:00
Panayot Cankov
6feeb140e3 Fixing type errors in tests 2016-12-19 10:36:25 +02:00
Hristo Hristov
745388c3da Hhristov/modules30 fixes (#3316)
* Fixed properties, text-base, action-bar, bindings, view

* Rebase onto master
2016-12-19 10:21:43 +02:00
Rossen Hristov
53be1ecc07 FontStyle and FontWeight enums everywhere 2016-12-16 16:31:20 +02:00
Rossen Hristov
51e448aa10 Fixed: getViewById, TextDecoration 2016-12-15 13:20:25 +02:00
Hristo Hristov
b20fd7fd4c Fix nativeView issues
Fix Listeners base class
2016-12-15 10:46:20 +02:00
Hristo Hristov
6c3d71cadf fix modules build errors 2016-12-13 16:07:42 +02:00
Hristo Hristov
f75f583573 tns-core-modules done 2016-12-13 15:51:18 +02:00
Hristo Hristov
440f924131 only flex-box left 2016-12-13 15:51:18 +02:00
Hristo Hristov
12ffd9c1e8 absolute-layout 2016-12-13 15:51:18 +02:00
Hristo Hristov
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
Hristo Hristov
befb494a50 up to segmented-bar.ios 2016-12-13 15:51:18 +02:00
Hristo Hristov
007b78325c list-picker not ready 2016-12-13 15:51:18 +02:00
Hristo Hristov
1202cb7288 almost all without layouts 2016-12-13 15:51:18 +02:00
Hristo Hristov
943d2dcd6b tabview-ios 2016-12-13 15:51:18 +02:00
Hristo Hristov
a64847ca9d next 2016-12-13 15:51:18 +02:00
Hristo Hristov
0f45a0df5e list-view progress 2016-12-13 15:51:18 +02:00
Hristo Hristov
d795ee94e4 alpha2 2016-12-13 15:51:18 +02:00
Hristo Hristov
645f428f59 alpha1 2016-12-13 15:51:18 +02:00
Hristo Hristov
bb2c7aa60a partial state 2016-12-13 15:51:18 +02:00
Hristo Hristov
e4c21258a3 More files migrated. 2016-12-13 15:51:18 +02:00
Hristo Hristov
b58e0b08a3 refactoring 2016-12-13 15:51:18 +02:00
Rossen Hristov
b42fc7fdae Fix: Setting automationText to a number crashes the app on Android
Resolves #3064
2016-11-21 15:03:35 +02:00
vakrilov
ddd074b333 FIX: Don't apply css on unloaded 2016-10-31 09:45:57 +02:00
Nedyalko Nikolov
a63f46ee83 Added pressed, active and disabled states for button. 2016-10-24 09:16:23 +03:00
zh-m
75cab33f8f Percent support of margin of layouts/frame/page/contentview 2016-10-20 11:29:21 +03:00
Panayot Cankov
791aab04e5 Flexbox ios initial commit
Items now appear, but they should initially shrink and they don't

Add 15-ish tests for flexbox layout

Port reasonable flexbox test set

Fixing issues, adding unit tests

Moved from .tsx to .ts and used our ui/builder.parse
2016-10-19 17:02:26 +03:00
Rossen Hristov
4b94fe8c63 Merge pull request #2909 from NativeScript/its
ListView item template selector
2016-10-19 10:32:34 +03:00
Hristo Hristov
44bab5b0f0 Padding was reset incorrectly (#2917)
* Padding was reset incorrectly

* Fix tslint
2016-10-18 13:18:32 +03:00
Rossen Hristov
cd6039ce6c ListView item template selector 2016-10-17 09:32:47 +03:00
Panayot Cankov
b5ab387ebd Fix the LayoutParams 2016-09-30 17:36:17 +03:00
Panayot Cankov
299203901e Move platform .d.ts-es to separate plugin folder
Add dev-setup to figure out links

Update development workflow

Update package.json and dts-ios

Update the iOS declarations

grunt is now fine
2016-09-26 11:53:39 +03:00
Vladimir Enchev
936df853ff number now can be set as id in android 2016-09-20 12:04:00 +03:00
Rossen Hristov
2d7bbd74dc Revert "Add temporary console trace to catch a crash on build machine"
This reverts commit dac4ee7bfc.
2016-09-17 14:42:29 +03:00
Rossen Hristov
dac4ee7bfc Add temporary console trace to catch a crash on build machine 2016-09-17 13:34:01 +03:00
Rossen Hristov
a05f842a84 Non-uniform borders 2016-09-17 09:27:36 +03:00
Morten Anton Bach Sjøgren
86055354b8 Feature: automationText wasn't read aloud on iOS.
View.automationText on iOS now sets both accessibilityIdentifier and accessibilityLabel
2016-09-01 16:17:46 +02:00
Panayot Cankov
1236f66f44 Add npm script that generates ios .d.ts-es from the tests app
Less than 30 erros left, let's hope it still works

Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills

Roll back some changes involved in separating UIEvent for dom and ios

Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00
Nedyalko Nikolov
bb6a7107c9 Fixed issue when bind to bindingContext. 2016-08-15 17:08:42 +03:00
Hristo Hristov
fc0048c4a1 dependency-observable changes (#2584)
* Improved es6.d.ts
Small perf improvement in resetValues

* Fix tslint errors

* Removed all comments from es6.d.ts (TSLint hell)
2016-08-15 15:14:03 +03:00
Hristo Hristov
c8cce0ebcb Fixed paddings (#2552)
* Fixed paddings

* Fix tslint
2016-08-07 22:29:00 +03:00
Hristo Hristov
8da85629fe z-index handler added only for API 21+ 2016-08-03 18:10:45 +03:00
Maya Zhecheva
17d0172ace Element that is not an instance of a View should not be added to its parent. 2016-08-01 16:21:26 +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
a481fa9808 Mark text property as special and set it with a string comming from builder. 2016-07-19 14:37:44 +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
Hristo Hristov
42b267bccc paddings should be taken from style because they could be undefined from newValue (#2433) 2016-07-08 18:18:56 +03:00