121 Commits

Author SHA1 Message Date
ffa54b5cf3 lower-case-dashed components css support fixed 2015-10-28 17:32:25 +02:00
67624cfe57 Fixed black background on some controls in iOS. 2015-10-23 18:49:56 +03:00
b0ff7a46bb Merge pull request #974 from NativeScript/switch-css
Switch color and background-color css support added
2015-10-22 13:14:18 +03:00
5b543deec4 tests added 2015-10-22 10:42:20 +03:00
433bc020ad SwitchStylers added 2015-10-21 17:14:57 +03:00
129c305942 _boundsChanged method added 2015-10-21 13:20:48 +03:00
c9744b7474 Don't apply default values on syncNative 2015-10-21 10:48:21 +03:00
384ba9c965 progress css support for color and backgroundColor added 2015-10-20 12:53:48 +03:00
76fa713c85 Break a circular import view-application-view.
By late-importing application in bindable and stylers-common.
2015-10-16 13:53:35 +03:00
619c2fe665 global.android replaced with platform.device.os === platform.platformNames.android 2015-10-16 09:20:46 +03:00
ee760c14b0 more fixes 2015-10-15 16:05:48 +03:00
b8222a88b4 Fixes 2015-10-15 16:04:19 +03:00
159803d8b9 TabView color and selctedColors 2015-10-15 14:55:31 +03:00
6b148fc60a Merge pull request #946 from NativeScript/css-value-parse
css-value parse fix to match the new parse function export.
2015-10-15 14:26:25 +03:00
5d59c4b3ef css-value parse fix to match the new parse function export. 2015-10-15 10:36:15 +03:00
44e4296d80 Merge pull request #931 from NativeScript/vertical-alignment-middle
vertical-alignment middle support added
2015-10-15 10:31:16 +03:00
1a679eb2d2 Revert. 2015-10-15 09:40:40 +03:00
9674ad4a3b Removed the annoying css trace. 2015-10-14 16:46:29 +03:00
332b77f435 Memory leak tests back to schedule. 2015-10-14 11:09:15 +03:00
19b03bbbb9 vertical-alignment middle support added 2015-10-14 09:42:29 +03:00
68bc24a5a5 Action bar title color stylers 2015-10-13 16:10:03 +03:00
f25e2bf757 Automatic custom fonts registration for iOS. 2015-10-09 14:10:06 +03:00
a0a7f756c8 Fix: images in background are blurred in iOS 2015-10-02 14:07:49 +03:00
77838ae9c6 Change from "classic" TS 1.6 imports to the default resolution scheme.
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00
4e6f4aaf3f borderRadius not working on UILabel 2015-09-23 10:03:08 +03:00
28d54c3889 Merge pull request #653 from NathanaelA/Branch_CSS_Lowercase
Changed createSelectorsFromSyntaxTree to use a loop rather than filter.
2015-09-11 10:45:33 +03:00
d0f4f36018 replaced the use of fontDescriptorWithSymbolicTraits due to problems in iOS8+ and some fonts 2015-09-03 14:55:38 +03:00
cdac829c25 Changed createSelectorsFromSyntaxTree to use a loop rather than filter.
1. Changed code to lowercase the declaration property
2. Minimize the data pushed to each rule
2015-09-01 04:01:47 -05:00
3a0cc32ff2 Fix for Button padding in android.
Fix for types - isString and isNumber.
Modified several tests to pass on VS Emulator for Android.
Fix page background to be applied in onLoaded method.
Enhancements for dependency-observable - it is now possible to add defaultValueGetter function to extract default value for a property. It can also be cached or not.
Remove android_constants because they are per theme and we cannot use them safely.
Fix for SearchBar reseColorProperty method.
2015-08-28 16:59:52 +03:00
c05cd6acb8 Change .android to ._nativeView.
Change two AffectsLayout options to None for android.
2015-08-28 16:59:50 +03:00
935fefbf11 url('some.css') is now optional 2015-08-24 17:40:13 +03:00
af7f811d9b Image rounded coreners clip 2015-08-18 14:11:32 +03:00
6a42e6019c valueForKey("_searchField") replaced 2015-08-13 11:40:30 +03:00
951f565c21 ios code fixed 2015-08-12 16:13:35 +03:00
2d07eb9dd0 font-size CSS support for search-bar + test 2015-08-12 15:19:04 +03:00
0468857604 Merge pull request #554 from NativeScript/atanasovg/file-system-api
Atanasovg/file system api
2015-08-10 17:55:10 +03:00
141668bb05 Fix applying app CSS to template children when using custom pages.
No longer using getAncestor(view, "Page") to look for a pagey parent.
Replaced that with a View.page property. Removed getAncestor as its type
name-based implementation seems unreliable.
2015-08-07 18:26:21 +03:00
c470fef0b0 Made two methods private. 2015-08-06 15:42:17 +03:00
216b6a57f7 Fixed AffectsLayout 2015-08-06 15:41:19 +03:00
59d6dbb224 Fixed all merge problems. 2015-08-06 14:58:55 +03:00
abc9faccfa Added Padding+Border support for Label, Button, TextField and TextView for both platforms. Only iOS TextView does not support them. 2015-08-06 14:58:53 +03:00
c683ea44e6 Refactor the file-system-access API to be synchronous. Added *Sync equivalents of the file-system APIs. Removed usage of file-system-access within the code. 2015-08-04 16:53:12 +03:00
5322dd19b2 Fix Image source property to have None metadata for android - no need for layout invalidation from JS.
ClipToBounds implementation added back.
Optimization in style.ts to set native properties at once.
Fix height of CommonLayoutParameters.
2015-08-03 18:18:42 +03:00
e58506563a Fix WrapLayout
Fix ScrollView
Fix Stylers.android
Remove some method from View class
Fix layout-helper test views
Fix all android failing tests
Remove onLayout on Button and TextBase
2015-08-03 13:49:11 +03:00
bd50fb5550 Fixed several unit-tests 2015-08-03 13:49:08 +03:00
41168d3782 Layouts are now implemented natively for Android. 2015-08-03 13:49:03 +03:00
42e5e9aac0 Fix merge error 2015-08-03 13:48:51 +03:00
0da2f297fd Fix tslint errors 2015-08-03 13:48:44 +03:00
0ad198165c Layouts are now implemented natively for Android. 2015-08-03 13:48:41 +03:00
38f243de5c Move css and css-value modules to the toplevel.
This is the default location when installing from npm, and Angular uses
that when parsing CSS.

Updated module paths, requires, csproj, tsconfig and grunt tasks.
2015-08-03 12:01:09 +03:00