45301aff68
Merge pull request #1464 from NativeScript/url-fix
...
Fix for failed url encoding techniques removed
2016-02-02 10:17:05 +02:00
1e0f130b38
Merge pull request #1430 from NativeScript/gatanasov/lazy-require-fixes
...
Revisit lazy require routine
2016-02-01 16:54:31 +02:00
1582ccc95e
Fix for failed url encoding techniques removed
2016-02-01 15:03:20 +02:00
1f2891feec
Merge pull request #1429 from NativeScript/http-file-download
...
file download implemented
2016-01-26 16:11:26 +02:00
56f1aaa795
Do not use lazy requires where not needed.
2016-01-25 16:33:18 +02:00
881c4d9138
file download implemented
2016-01-25 16:05:18 +02:00
f930914fa8
Added typed information for lazily loaded android types.
2016-01-20 14:03:04 +02:00
fbc612610f
Snapshot refactorings, which mainly wraps Android extends within inner functions so that they are evaluated at runtime, when needed. Also some refactoring preventing circular requires.
2016-01-20 10:22:08 +02:00
074ac89871
imports improved
2015-12-17 14:53:46 +02:00
66ec3f2f20
url with % fixed
...
It seems that this url is a special case since url encoding techniques
failed for both ios and android.
For ios:
stringByAddingPercentEscapesUsingEncoding
stringByAddingPercentEncodingWithAllowedCharacters
For android:
java.net.URLEncoder
2015-12-10 14:42:04 +02:00
070b01c544
Remove UTF-8 BOM's from package.json files
2015-12-01 15:37:14 +02:00
00cfb61351
Fix the comments that the ts compiler left
2015-11-27 16:24:11 +02:00
7f968246e8
http toString will raise error if response cannot be converted to string
2015-11-12 13:49:47 +02:00
c2e1cc5529
Async-ify decoding of image source http responses on iOS
2015-10-08 17:26: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
4cf6b66939
http jsonp support added
2015-09-07 10:52:49 +03:00
0ff8038742
Promises rejected properly when loading wrong content
2015-09-04 14:22:15 +03:00
cd01d2e55a
Fixed #535
2015-08-03 09:19:40 +03:00
1439313e7b
Make moduleMerge a global function - this saves a total of 83 requires upon application loading.
2015-07-27 13:04:48 +03:00
e2f464e1d2
FormData support added
2015-07-20 14:42:29 +03:00
d3c987f827
XMLHttpRequest separated from http module
2015-07-20 10:58:29 +03:00
51a56a2aea
Support responseType property on XMLHttpRequest.
...
Only default, "" and "text" supported for now. Raising an error otherwise.
2015-06-15 17:17:13 +03:00
f109cbe80b
Support onload/onerror events on XMLHttpRequest.
2015-06-15 17:17:13 +03:00
d8bd0031db
http timeout fixes + test
2015-05-14 11:32:33 +03:00
bfb967abba
http header values fixed for iOS as well
2015-03-30 09:53:53 +03:00
79fb7e2a34
http for android header values fixed and test added
2015-03-30 09:42:12 +03:00
2b00b8c10f
Update Readme.md
2015-03-19 12:02:45 +02:00
cc829e0152
definitions fixed
2015-03-03 10:34:40 +02:00
282c57b821
small fix for ios http module
2014-05-28 11:00:45 +03:00
0b056dd3db
Updated the API reference.
2014-05-27 12:54:11 +03:00
d1570dbfcc
extended StreamBody removed
2014-05-27 11:48:29 +03:00
a548837216
binary content post for android
2014-05-27 09:09:01 +03:00
82fa2b3b6e
request body for android fixed and test added
2014-05-26 15:00:23 +03:00
18c0d47db5
readme updated again
2014-05-23 11:36:38 +03:00
0220d130f4
readme updated
2014-05-23 11:33:22 +03:00
86e081528f
comments added
2014-05-22 14:17:40 +03:00
87f7847155
Updated API reference.
2014-05-22 11:47:02 +03:00
db987a361d
Modified the http module to remove the cyclic references. Added promises.d.ts.
2014-05-21 16:27:13 +03:00
a6edd119d0
Updated some APIs with @param defintions. Added .impl suffix to the ImageSource module.
2014-05-21 15:15:48 +03:00
9dd3ba70c5
Added "External Ambient Module Declarations" for most modules.
...
Now they are required by module name e.g require("file-system") instead of by file name.
2014-05-21 12:23:19 +03:00
641d4b4b8e
toImage changed to use fromData
2014-05-21 10:59:06 +03:00
50d12e144b
HttpContent raw fixed for android
2014-05-21 10:43:08 +03:00
2c5f36761b
http request for android reworked
2014-05-21 10:34:12 +03:00
2b47aebbe8
http module refactored
2014-05-16 10:18:25 +03:00
4faced08aa
http internal references refactored
2014-05-16 09:53:34 +03:00
eb4eab2614
three ";" removed
2014-05-16 09:46:22 +03:00
c6483cd32a
http module improved with more methods
2014-05-15 17:14:04 +03:00
c946c24ae2
Renamed image module to image-source. Extended the testRunner to accept module name to run.
2014-05-15 16:13:43 +03:00
b3f09ff774
http module improved
2014-05-15 12:13:58 +03:00
7d20bbf533
http tests updated
2014-05-15 11:14:12 +03:00