Commit Graph

5633 Commits

Author SHA1 Message Date
Panayot Cankov
9a051f8373 Merge pull request #3784 from NativeScript/fix-tabbar-icons
iOS TabBarItems got set UIViewControler on their naitveView, now they have dedicated _iosViewController.
2017-03-14 10:31:03 +02:00
Hristo Hristov
a64bba62aa whiteSpace default value change to undefined (#3782)
TKUnit default message change to empty string
isSet method is now instance method of Property classes
fix detaching from parent bindingContext - were using oldParent.parent instead of parent
editable-text-base.android - onTextChanged implementation commented. Does nothing.
frame - onCreateView wrapped in try/catch and shows label with exception message if any
text-base.android - should support reset of nativeView. TransformationMethod won’t be set if TextField is secure
Change some types to their string couterparts
TextField.android won’t support multilines anymore in order to work as iOS
In android when page is removed from native backstack we won’t call tearDownUI again a second time
2017-03-14 10:26:45 +02:00
Alexander Vakrilov
8592c934ec Merge pull request #3774 from NativeScript/placeholder-color-ios
Implemented placeholder-color for text-view IOS
2017-03-14 10:02:51 +02:00
Panayot Cankov
6cae3cfbbd iOS TabBarItems got set UIViewControler on their naitveView, now they have dedicated _iosViewController 2017-03-14 09:37:06 +02:00
vakrilov
84819f6c9a Implemented placeholder-color for text-view IOS 2017-03-13 18:12:11 +02:00
Hristo Deshev
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
Panayot Cankov
dfb4e031a6 Merge pull request #3780 from NativeScript/fix-paddings
Padding for various iOS controls was not reflected the px/dip change
2017-03-13 11:45:37 +02:00
dtopuzov
5449a2ec29 Merge pull request #3778 from NativeScript/fix-app-css
Expose hasLaunched() on the application, style-scope will load css-es if app hasLaunched
2017-03-13 11:40:22 +02:00
Alexander Vakrilov
f5c7846016 Merge pull request #89 from NativeScript/segmented-bar-color-thickness
Segmented bar indicatior thickness based on API lvl
2017-03-13 11:34:07 +02:00
vakrilov
e6691472da FIX: CSS imports not applied 2017-03-13 11:26:08 +02:00
dtopuzov
209d735bc9 Merge pull request #3779 from NativeScript/fix-livesync
FIX: Livesync event not firing for frame
2017-03-13 11:15:09 +02:00
Panayot Cankov
d38e99cabd Expose hasLaunched() on the application, style-scope will load css-es if app hasLaunched 2017-03-13 10:57:51 +02:00
Panayot Cankov
7e02f6ac73 Padding for various iOS controls was not reflected the px/dip change 2017-03-13 10:56:33 +02:00
vakrilov
789e2e0235 FIX: Livesync event not firing for frame 2017-03-13 10:49:09 +02:00
Alexander Vakrilov
6a0f12b677 Merge pull request #3770 from NativeScript/activity-indicator-crash
FIX: Crash setting color to activity-indicator
2017-03-12 01:27:28 +02:00
vakrilov
b6edc254b6 Segmented bar indicatior thickness based on API lvl 2017-03-10 18:05:20 +02:00
Panayot Cankov
9786a87509 Merge pull request #3772 from NativeScript/fix-label-clip
Label should clip content
2017-03-10 17:18:32 +02:00
Panayot Cankov
3cb5b0fdb3 Label should clip content 2017-03-10 13:26:49 +02:00
Alexander Vakrilov
5ed78aa521 Merge pull request #3768 from NativeScript/ios-cells-background
FIX: Make list view cells transparent
2017-03-10 13:19:22 +02:00
Panayot Cankov
db218bb040 Merge pull request #3769 from NativeScript/fix-modal-dips
Fix modal page ios dips
2017-03-10 11:58:00 +02:00
vakrilov
d7ad9108eb FIX: Crash setting color to activity-indicator 2017-03-10 11:51:27 +02:00
Panayot Cankov
cec256f809 Fix modal page ios dips 2017-03-10 11:28:01 +02:00
Panayot Cankov
3d69e3c10a Merge pull request #3767 from NativeScript/ios-corner-radius-dip
Fix iOS corner radiuses dip incorrectly converted
2017-03-10 11:27:41 +02:00
vakrilov
d9655c96a1 FIX: Make list view cells transparent 2017-03-10 11:07:01 +02:00
Panayot Cankov
4f36a07634 Fix iOS corner radiuses dip incorrectly converted 2017-03-10 11:02:01 +02:00
Hristo Hristov
aa14ce8b80 Add construtor that accepts color. (#88) 2017-03-09 16:23:16 +02:00
Hristo Hristov
1d49f5f3c3 fix padding on text-view & text-field (#3758)
* fix padding on text-view & text-field
text-base is now snapshotable
view.android is now snapshotable

* createNativeView returns the nativeView for android
Fix image tests
Implement test for image loaded from res://
EffectivePaddings updated when nativeView have some from its native theme
2017-03-09 16:09:53 +02:00
Alexander Vakrilov
a4809fed16 Merge pull request #3757 from NativeScript/fix-android-keyboard
FIX: Android keyboard
2017-03-09 15:12:46 +02:00
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
vakrilov
b6b25d01ae Use getDecorView() to lose focus 2017-03-09 14:51:31 +02:00
vakrilov
b4e742b00f Android keyboard fixes 2017-03-09 14:51:31 +02:00
Panayot Cankov
52ab556fdf Merge pull request #3763 from NativeScript/fix-application-css-file
Fix application.cssFile var, promoted to get/set function
2017-03-09 14:28:10 +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
0b4e38acab Merge pull request #3759 from NativeScript/update-deps
Update apps and test modules deps to *
2017-03-09 09:43:59 +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
yyosifov
17650d2e9a Merge pull request #3755 from NativeScript/yosifov/fix-text-field-snippet
Fix text field code snippet
2017-03-08 17:26:51 +01:00
vakrilov
3024e69bb5 Update apps and test modules deps to * 2017-03-08 18:09:18 +02:00
Panayot Cankov
1b1243c8f9 Merge pull request #3748 from NativeScript/pixels-ios
Pixels ios
2017-03-08 16:23:50 +02:00
Hristo Deshev
5f8a0aea45 Fix tsc invocation on Windows. 2017-03-08 15:16:32 +02:00
Yosif Yosifov
c008d00152 Fix text field code snippet 2017-03-08 14:30:02 +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
Alexander Vakrilov
1af8c6ca8e Merge pull request #3744 from NativeScript/status-bar-30
Status bar style for modules 3.0
2017-03-07 17:39:19 +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
Vasil Chimev
36a9e09536 Merge pull request #3712 from NativeScript/hhristov/snapshot-fix
Add support for snapshot
2017-03-07 11:25:53 +02:00