Panayot Cankov
77cbf94da7
Merge pull request #3762 from NativeScript/fix-image-scaling
...
Fix iOS image scaling to work in px
2017-03-09 15:12:17 +02:00
Panayot Cankov
b487aa0790
Fix application.cssFile var, promoted to get/set function
2017-03-09 13:47:36 +02:00
Panayot Cankov
aac9cc2e3e
Fix iOS image scaling to work in px
2017-03-09 10:58:56 +02:00
Alexander Vakrilov
9ac9e5ab53
Merge pull request #3754 from NativeScript/fix-ios-action-bar-reset
...
Fix: Action-bar bg-color in ios not resetting
2017-03-09 09:42:54 +02:00
vakrilov
e69bc78111
Fix: Action-bar bg-color in ios not resetting
2017-03-08 13:42:35 +02:00
Panayot Cankov
bd7648ff27
Address PR comment, width and highed were unintentionally switched in iOS7 code, the whole block is deleted as we dont support iOS7 now
2017-03-08 11:52:40 +02:00
Panayot Cankov
6d6564af16
Fix dp vs dip conversions in iOS for errors of tests
2017-03-08 09:24:31 +02:00
Panayot Cankov
9f1ebc11ca
Add support for 'px' on Length in iOS
2017-03-08 09:01:17 +02:00
Hristo Deshev
b45cbe929b
No more ambient modules for tns-core-modules/* subpackages.
...
- Use path mappings in tsconfig.json to resolve module typings
- Only use ambient mobules for global API's
- Move single-file modules to a subdir with the same name so that
we can provide a hand-written typing next to it (via package.json)
- Delete all mentions of tns-core-modules.d.ts
- Delete reference d.ts assembly build steps. Not needed anymore.
- HACK! Use a <reference> for global typings in application.d.ts
to avoid publishing a separate @types/tns-core-modules package.
- Rename declarations.d.ts to tns-core-modules.d.ts to preserve
JS project mappings in references.d.ts (the only place we use those)
2017-03-07 17:59:02 +02:00
vakrilov
244034e39e
Fix: set/reset background in android
2017-03-07 17:02:17 +02:00
vakrilov
b7a32153d8
Fix: Make status-bar properties CSS again
2017-03-07 15:27:27 +02:00
Hristo Hristov
6b94cac39f
remove android API from private d.ts
2017-03-06 17:20:45 +02:00
Hristo Hristov
ea22eb9c20
refactoring circular imports
2017-03-06 14:05:55 +02:00
Hristo Hristov
2224cd6150
Reorganize imports/exports in order to make snapshot happy
2017-03-06 14:05:55 +02:00
Hristo Hristov
33aa48bdfd
Add support for snapshot
...
Fix Layout class getMeasuredWidth & getMeasuredHeight
Move some classes to widgets
Fix API17 tests
2017-03-06 14:05:55 +02:00
Panayot Cankov
a2e09d5db0
Fix text view decorations, setting underline to none was not applied, setting decoration and text immediately was not applying the decoration
2017-03-01 11:50:35 +02:00
Panayot Cankov
4d81670072
Merge pull request #3704 from NativeScript/action-bar-bkg
...
Fix: Background not re-drawing on android
2017-02-28 14:20:51 +02:00
Panayot Cankov
a8f132a00a
Fix the text view
2017-02-28 10:44:31 +02:00
Panayot Cankov
3066dbd072
Clipping is required for iOS even with uniform borders, as long as the radius is > 0
2017-02-27 16:07:21 +02:00
vakrilov
cf2b3de662
Fix: Background not re-drawing on android
2017-02-24 13:52:38 +02:00
Panayot Cankov
06970d058a
Mass replace fontAttributes with fontWeight and fontStyle
2017-02-23 17:09:19 +02:00
Panayot Cankov
dc97ed24f9
Fix flexbox css not applied. Fix addCss duplicating some selectors.
2017-02-23 16:41:08 +02:00
Hristo Deshev
ac90b9db2b
Fix a crash when nesting a ProxyViewContainer in FlexboxLayout.
...
Conflicts:
tns-core-modules/ui/layouts/flexbox-layout/flexbox-layout.ios.ts
2017-02-23 15:23:34 +02:00
Panayot Cankov
3b8bc17ab4
Fix the font properties to invalidate the layout in iOS
2017-02-23 11:27:50 +02:00
Alexander Vakrilov
ac7fc0d16c
Merge pull request #3683 from NativeScript/seg-bar-highligh-fix
...
Fix: Setting slected color on SegmentedBar affects all seg-bars
2017-02-22 17:50:59 +02:00
Panayot Cankov
98aa5cd61d
Expose the _getByCssName for the angular animations
2017-02-22 17:21:28 +02:00
Panayot Cankov
a0c74bb4a9
Fix resetting horizontal text alignment
2017-02-22 13:37:10 +02:00
vakrilov
d230fa3605
Fix: Setting slected color on SegmentedBar affects all seg-bars
2017-02-22 11:20:51 +02:00
Panayot Cankov
dca4317c2a
Android buttons didn't apply bold or italic
2017-02-22 10:22:11 +02:00
Alexander Vakrilov
61503f18df
Merge pull request #3679 from NativeScript/clip-path-inset
...
Inset clip path + Background circ-ref
2017-02-22 10:01:55 +02:00
vakrilov
8a0d98e815
Inset clip path + Background circ-ref
2017-02-21 18:00:48 +02:00
Panayot Cankov
709dff0258
fix horizontal text-align for Button in iOS, use horizontalContentAlign of the native button
2017-02-21 16:01:53 +02:00
vakrilov
b34802d7fc
Use density for clip-path calculations
2017-02-21 14:14:32 +02:00
vakrilov
8945529188
Gestures/view circ-dep and examples cleanup
2017-02-21 10:04:42 +02:00
Hristo Hristov
dc25c85e97
addCssFile on application module wasn’t changing the app styles ( #3666 )
2017-02-21 09:28:51 +02:00
Hristo Deshev
b9c0d33b3a
Fix a crash on Button tap - reexport TouchAction
2017-02-20 16:58:11 +02:00
Hristo Hristov
531b33d02b
fix background example ( #3663 )
2017-02-20 13:48:30 +02:00
vakrilov
f3afaf5abe
fixed tslint errors
2017-02-20 09:45:10 +02:00
Hristo Hristov
a582adc561
Hhristov/fix ( #3653 )
...
* Fix action-bar systemIcon
Fix CSS applying
* refactoring
* fix console
* remove StyleScope import - it is private and cannot be imported in public .d.ts
2017-02-17 17:21:57 +02:00
vakrilov
e7017a9bc5
Tab view fixes
2017-02-17 15:03:12 +02:00
PanayotCankov
b2cf286948
Fixed text decoration tests, Color will now store just a single argb info in 32bit unsigned int internally and covert to a/r/g/b or hex when necessary
2017-02-17 14:45:31 +02:00
Hristo Deshev
86481cce4a
Make typings compatible with @types/node.
...
Fixes name clashes and uses Node-compatible typings where possible.
Changes:
- setTimout et al now return NodeJS.Timer instead of number
- No "console" module anymore. Everyone uses it through global.console
anyway.
- We have a typed "global" instance with exposed properties now. Any
"freeform" accesses must go through a `(<any>global).blah` cast.
- remove tns-core-modules.{base,es6,es2015}.d.ts. Those were needed
as workarounds for the ES6/DOM/Node type clashes.
2017-02-15 13:01:10 +02:00
Hristo Deshev
3056ce51c2
Upgrade to TypeScript 2.1, and latest grunt-ts.
...
Conflicts:
package.json
tests/app/ui/animation/animation-tests.ts
tns-core-modules/lib.core.d.ts
tns-core-modules/ui/animation/animation-common.ts
2017-02-13 14:13:33 +02:00
vakrilov
87f936bcd8
Fix: ListView not showing first items of VirtArray
2017-02-09 16:55:28 +02:00
vakrilov
e682e1aaec
Fix: Setting ImageSource to image.src
2017-02-09 16:55:28 +02:00
Panayot Cankov
e0f0c96519
Expose some private APIs used in the angular animations
2017-02-09 11:43:12 +02:00
Panayot Cankov
b12f112a44
Fixed tslint errors
2017-02-08 17:14:20 +02:00
Panayot Cankov
23658c9719
CssAnimationProperty will register the same way CssProperty in the symbol maps and will register on the style with css name too
2017-02-08 14:01:11 +02:00
Panayot Cankov
fd6c84a6bb
Merge pull request #3596 from NativeScript/cankov/modules30-qsf
...
Animation properties and some backward compatability with the QSF
2017-02-08 10:54:03 +02:00
Panayot Cankov
5265bf0ae3
Animation properties and some backward compatability with the QSF
2017-02-08 10:52:54 +02:00