Commit Graph

545 Commits

Author SHA1 Message Date
Hristo Hristov
98deeccb21 Change image.android to use the new image.Cache class from widgets. (#2832)
* Change image.android to use the new image.Cahce class from widgets.

* fix npm scripts

* npm tsc will compile all so no need for npm run dev-tsc-tests

* fix tslint error

* image-tests use memory only cache.

* fix exception in image.android

* Change image-tests so that Image won't be GC immediately.

* Change cacheMode to enum
2016-10-05 13:09:08 +03:00
Nedyalko Nikolov
702b7eadd3 Merge pull request #2822 from NativeScript/nnikolov/CameraRefactoring
Refactored image loading from camera.
2016-10-03 17:54:07 +03:00
Nedyalko Nikolov
1f84274182 Refactored image loading from camera. 2016-10-03 17:23:18 +03:00
Panayot Cankov
b5ab387ebd Fix the LayoutParams 2016-09-30 17:36:17 +03:00
Erjan Gavalji
83536573d8 Fix some broken code snippets 2016-09-29 15:55:55 +03:00
Vasil Chimev
ee382e238a Update label-tests.ts 2016-09-28 16:45:49 +03:00
vchimev
43b2a1ef54 Update the version of TypeScript in apps/tests 2016-09-28 15:34:21 +03:00
Panayot Cankov
1c05786ffd Added tests for npm-platform-declarations 2016-09-26 15:14:42 +03:00
Panayot Cankov
1777ed5f13 Fix === 2016-09-26 13:19:34 +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
hamorphis
08f9c941cc Fix: CSS border-color does not recognize rgb and rgba values
Resolves #2781
2016-09-21 16:35:03 +03:00
Vladimir Enchev
936df853ff number now can be set as id in android 2016-09-20 12:04:00 +03:00
Erjan Gavalji
211f5da7f4 Fix another broken URL by adding a redirect 2016-09-19 14:33:48 +03:00
Erjan Gavalji
e095fa21cb Fix the broken url, add a redirect to save other breakages 2016-09-19 11:57:08 +03:00
Rossen Hristov
f0374642b5 Fix tslint error & bump ios runtime version 2016-09-17 11:07:24 +03:00
Rossen Hristov
a05f842a84 Non-uniform borders 2016-09-17 09:27:36 +03:00
Tsvetan Raikov
1b568b56ca Added tintColor property in Image view. It should be used instead of color 2016-09-16 16:29:08 +03:00
Panayot Cankov
f153a6ad08 Bump test_AnimatingProperties timeout 2016-09-16 13:17:35 +03:00
Maya Zhecheva
fb4cdcea87 wrong place of if(knownFolder) 2016-09-15 10:58:57 +03:00
zh-m
71671aec40 IOS Known folders are not created if do not exist 2016-09-15 10:58:56 +03:00
Panayot Cankov
82ff7aeadc Fix delegates 2016-09-14 09:08:53 +03:00
Panayot Cankov
e895f37f0b Apply getter check to determine if API is exposed as property or as method for iOS backward compatibility 2016-09-12 14:38:54 +03:00
Morten Anton Bach Sjøgren
a8013fbbe1 Feature: automationText wasn't read aloud on iOS.
Updates iOS-test to check for both accessibilityLabel and
accessibilityIdentifier values on the NativeElement
2016-09-05 10:38:08 +02:00
Tsvetan Raikov
500459779e Added unit test that tests tintColor in Image class 2016-08-31 18:48:01 +03:00
Nedyalko Nikolov
e9ceb79b2e Add placeholder-color style property. 2016-08-30 14:00:35 +03:00
Nedyalko Nikolov
cb9d974fba Fixed issue with nested observables when null is given as property value. 2016-08-30 13:19:16 +03: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
b9385fc4cd Renamed and moved to module Observable creation functions. 2016-08-24 15:37:46 +03:00
Rossen Hristov
996858825c Fix: Text color of the Button not applied, when text-transform has been set.
Resolves #2601
2016-08-22 15:43:45 +03:00
Nedyalko Nikolov
865090af6e Merge pull request #2600 from NativeScript/nnikolov/LocationTestRevised
Location test fixed.
2016-08-18 10:53:23 +03:00
Alexis Cramatte
450c5fb9cf Fix: Content type with "+json" suffix are now parsed as JSON 2016-08-17 21:27:10 +02:00
Nedyalko Nikolov
d08e8396da Location test fixed. 2016-08-17 17:04:05 +03:00
Nedyalko Nikolov
dc5b7d5bac Fixed with another approach. 2016-08-16 17:02:57 +03:00
Nedyalko Nikolov
97a1ad6a7a Label zero height issue fixed. 2016-08-16 16:33:56 +03:00
Nedyalko Nikolov
bb6a7107c9 Fixed issue when bind to bindingContext. 2016-08-15 17:08:42 +03:00
Nedyalko Nikolov
3fc706972f Fixed creating Observable object from nested JSON object. 2016-08-12 17:33:28 +03:00
Hristo Hristov
3da84ce27d Added permission for location. Without it Location tests fails on some devices (Samsung S4) (#2567) 2016-08-11 09:13:39 +03:00
Hristo Hristov
30c998a954 Fix unit-tests checks. (#2538)
* Fix unit-tests checks.
LetterSpacing handlers are added for iOS and Android API 21+

* Removed unneded check for android

* Used parseInt instead of new Number due to TSLint error
2016-08-01 16:21:32 +03:00
Rossen Hristov
a4dea1df2e Letter spacing cosmetic changes 2016-07-29 15:21:46 +03:00
Rossen Hristov
21926a95ea Additional refactoring and code cleanup 2016-07-28 14:48:03 +03:00
Rossen Hristov
15d891cc08 Refactor application of text decoration, text transform, letter spacing and formatted text.
Related to #2427
2016-07-28 10:33:33 +03:00
vakrilov
2dc9827721 FIX: Wrong isBackNavigation value 2016-07-25 11:47:07 +03:00
Nedyalko Nikolov
c991cd7ed0 Added documentation for selectedIndexChanged event. 2016-07-22 16:13:43 +03:00
vakrilov
ef6a24a5de FIX: isBackNavigation worng when navigation away form page that is not backstack visible 2016-07-20 11:54:53 +03:00
Rossen Hristov
fa48f4e425 Merge pull request #2475 from NativeScript/ios-known-folders
Add iOS-specific known folders to fs.knownFolders
2016-07-20 11:37:09 +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
a9d835b26d Merge pull request #2469 from NativeScript/nnikolov/NestedObservables
Creating observables from a nested json.
2016-07-19 18:04:12 +03:00
Panayot Cankov
849736e35e Merge pull request #2465 from NativeScript/css-hash-lookup-2
CSS refactoring
2016-07-19 17:59:10 +03:00
Rossen Hristov
116bc26dc1 Add iOS-specific known folders to fs.knownFolders 2016-07-19 16:33:51 +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