Commit Graph

666 Commits

Author SHA1 Message Date
Peter Staev
d0f4f36018 replaced the use of fontDescriptorWithSymbolicTraits due to problems in iOS8+ and some fonts 2015-09-03 14:55:38 +03:00
Hristo Deshev
e54b3a0e8d Fix compile errors.
Export types used by public properties in tests/**/layout-helper.android.ts
2015-09-03 12:08:54 +03:00
Rossen Hristov
e18e7777a1 Added View.translateX, View.translateY, View.scaleX, View.scaleY, View.rotate properties. 2015-09-03 11:46:12 +03:00
Rossen Hristov
8244827d19 Merge pull request #656 from NativeScript/notifications
Notifications
2015-09-02 09:15:04 +03:00
Nathanael Anderson
31c03d3d52 Added a style test to test mixed, upper and lower case property names. 2015-09-01 13:15:47 -05:00
jbristowe
bf30ed14c9 Fixed typo
Fixed typo with API (starMonitoring -> startMonitoring)
2015-09-01 21:39:27 +10:00
Rossen Hristov
7a2e41b1b3 The application.ios.addNotificationObserver method now returns an observer object which you should supply as the first argument when calling app.ios.removeNotificationObserver. (Fixed #473) 2015-09-01 12:34:20 +03:00
Vladimir Enchev
221fb34102 Merge pull request #646 from NativeScript/gestures-with-on-off
gestures now can be added with on() and removed with off()
2015-09-01 09:37:32 +03:00
Vladimir Enchev
17cdbbaf46 gestures now can be added with on() and removed with off() 2015-08-31 16:44:35 +03:00
Nedyalko Nikolov
fc3c52691e Fixed issue with binding when there is no sourceProperty set. 2015-08-31 15:50:12 +03:00
Rossen Hristov
bc2e271e72 Made SegmentedBarItem bindable. 2015-08-31 13:15:41 +03:00
hshristov
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
Vladimir Enchev
8112a6f0d9 Merge pull request #632 from NativeScript/view-setStyle
setInlineStyle implementation + test
2015-08-28 13:50:16 +03:00
Rossen Hristov
881c378a4e Made TabViewItem bindable. 2015-08-28 12:55:28 +03:00
Vladimir Enchev
0aec988251 setStyle renamed to setInlineStyle 2015-08-28 11:18:25 +03:00
Vladimir Enchev
c12bb8366b test improved 2015-08-28 11:11:28 +03:00
Vladimir Enchev
3fb4b59b87 setStyle implementation + test 2015-08-28 10:46:35 +03:00
Nedyalko Nikolov
a6542c0201 Added support for binding to multiple observable objects (properties). 2015-08-27 14:01:58 +03:00
Vladimir Enchev
905c395fea scrollToIndex added to ListView 2015-08-27 13:26:15 +03:00
Hristo Hristov
2b204f4dd4 Merge pull request #620 from NathanaelA/createPage_autoload_page_css
frame-common.ts is missing the code to automagically load the page.css
2015-08-26 11:50:16 +03:00
Nathanael Anderson
a67e46fc98 Tests to test both a Declarative UI w/ CSS and a createPage w/ CSS file to verify CSS file is loaded 2015-08-26 03:19:02 -05:00
Vladimir Enchev
abf7fbddbc Merge pull request #591 from NativeScript/ligaz/fix-xhr-statusText
Fix XHR statusText property to return just the text
2015-08-25 11:34:22 +03:00
Vladimir Enchev
935fefbf11 url('some.css') is now optional 2015-08-24 17:40:13 +03:00
Stefan Dobrev
8c65427730 Fix XHR statusText property to return just the text
In order to follow the spec the XHR statusText property should
return just the status text without the status code. Adding
tests to guard this behavior.
2015-08-14 20:05:10 +03:00
Nedyalko Nikolov
7e6afa603f Fixed issue with binding gestures to repeater items. 2015-08-14 16:44:51 +03:00
Hristo Hristov
b1e3d43308 Merge pull request #579 from NativeScript/hhristov/builder-fix
Fix builder issue where builder doesn't pop complex properties correc…
2015-08-13 13:53:54 +03:00
hshristov
8226d86133 Fix builder issue where builder doesn't pop complex properties correctly. 2015-08-13 13:37:11 +03:00
Vladimir Enchev
6a42e6019c valueForKey("_searchField") replaced 2015-08-13 11:40:30 +03:00
Vladimir Enchev
ef6b73a4a5 more string fixes 2015-08-12 17:28:49 +03:00
Vladimir Enchev
4dbb90a2b4 method fixed to return string 2015-08-12 17:02:29 +03:00
Vladimir Enchev
951f565c21 ios code fixed 2015-08-12 16:13:35 +03:00
Vladimir Enchev
2d07eb9dd0 font-size CSS support for search-bar + test 2015-08-12 15:19:04 +03:00
Georgi Atanasov
0468857604 Merge pull request #554 from NativeScript/atanasovg/file-system-api
Atanasovg/file system api
2015-08-10 17:55:10 +03:00
Hristo Deshev
1160e9323b Better error message on assertEquals test failures.
- surround values in angle brackets to make whitespace more obvious.
- print the object types
2015-08-07 18:26:29 +03:00
Hristo Deshev
3dfd0532fc Simplify binding app converter test. 2015-08-07 18:26:29 +03:00
Hristo Deshev
6f43077830 Fix a date formatting test failure in list-view-tests 2015-08-07 18:26:29 +03:00
Hristo Deshev
c5608d7c5c Brought back the viewModule.getAncestor function.
Extended it, so you can pass actual type instances instead of strings.
2015-08-07 18:26:29 +03:00
Hristo Deshev
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
vakrilov
bccd5133a3 FIX: Nested templates are not parsed 2015-08-07 11:44:34 +03:00
Vladimir Enchev
24cb7bb591 Fixed #557 2015-08-07 10:00:44 +03:00
vakrilov
a286027a4f Snippet fix 2015-08-06 14:45:50 +03:00
atanasovg
f07282c1bc Removed obsolete test. 2015-08-05 13:56:57 +03:00
Hristo Hristov
00f0d25429 Merge pull request #445 from NativeScript/hhristov/native-layouts
Implemented native layouts for android
2015-08-04 18:25:58 +03:00
atanasovg
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
Vladimir Enchev
60de8c1285 code commented 2015-08-04 11:56:40 +03:00
Vladimir Enchev
40f39e61da missing ObjCProtocols added 2015-08-04 11:48:12 +03:00
Vladimir Enchev
c57b47aa3d Default UIApplicationDelegate removed 2015-08-03 14:49:04 +03:00
hshristov
bc2f6a63c6 add layout-helper.d.ts 2015-08-03 13:49:18 +03:00
hshristov
8d8cea103f Fix wrap-layout implementation for iOS
Fix layout-helper so that unit-tests can work again
2015-08-03 13:49:14 +03:00
hshristov
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