Commit Graph

69 Commits

Author SHA1 Message Date
Vladimir Enchev
86274bd660 Attempt to read headers with duplicate keys using different approach 2016-03-24 15:51:09 +02:00
Panayot Cankov
355fddea91 The webinspector debugger now does not requre http-request 2016-03-11 11:31:59 +02:00
Panayot Cankov
1ec28cbe98 Fix native image recreated on layout even if the view is not resized
Add InspectorBackendCommands.ts that is generated based on the API exposed by the web inspector frontend.
Add implementation for the network domain and call events in the http-request module so that inspector frontend could visualize the network requests made by the module

Fix tslint and doc comments
2016-03-09 11:08:13 +02:00
Vladimir Enchev
c9c703cc3c Multiple headers with the same fixed 2016-03-07 15:49:38 +02:00
Vladimir Enchev
45301aff68 Merge pull request #1464 from NativeScript/url-fix
Fix for failed url encoding techniques removed
2016-02-02 10:17:05 +02:00
Hristo Hristov
1e0f130b38 Merge pull request #1430 from NativeScript/gatanasov/lazy-require-fixes
Revisit lazy require routine
2016-02-01 16:54:31 +02:00
Vladimir Enchev
1582ccc95e Fix for failed url encoding techniques removed 2016-02-01 15:03:20 +02:00
Vladimir Enchev
1f2891feec Merge pull request #1429 from NativeScript/http-file-download
file download implemented
2016-01-26 16:11:26 +02:00
atanasovg
56f1aaa795 Do not use lazy requires where not needed. 2016-01-25 16:33:18 +02:00
Vladimir Enchev
881c4d9138 file download implemented 2016-01-25 16:05:18 +02:00
atanasovg
f930914fa8 Added typed information for lazily loaded android types. 2016-01-20 14:03:04 +02:00
atanasovg
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
Vladimir Enchev
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
Vladimir Enchev
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
Hristo Deshev
070b01c544 Remove UTF-8 BOM's from package.json files 2015-12-01 15:37:14 +02:00
Erjan Gavalji
00cfb61351 Fix the comments that the ts compiler left 2015-11-27 16:24:11 +02:00
Vladimir Enchev
7f968246e8 http toString will raise error if response cannot be converted to string 2015-11-12 13:49:47 +02:00
Yavor Georgiev
c2e1cc5529 Async-ify decoding of image source http responses on iOS 2015-10-08 17:26:49 +03:00
Hristo Deshev
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
Vladimir Enchev
4cf6b66939 http jsonp support added 2015-09-07 10:52:49 +03:00
Vladimir Enchev
0ff8038742 Promises rejected properly when loading wrong content 2015-09-04 14:22:15 +03:00
Vladimir Enchev
cd01d2e55a Fixed #535 2015-08-03 09:19:40 +03:00
atanasovg
1439313e7b Make moduleMerge a global function - this saves a total of 83 requires upon application loading. 2015-07-27 13:04:48 +03:00
Vladimir Enchev
e2f464e1d2 FormData support added 2015-07-20 14:42:29 +03:00
Vladimir Enchev
d3c987f827 XMLHttpRequest separated from http module 2015-07-20 10:58:29 +03:00
Hristo Deshev
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
Hristo Deshev
f109cbe80b Support onload/onerror events on XMLHttpRequest. 2015-06-15 17:17:13 +03:00
Vladimir Enchev
d8bd0031db http timeout fixes + test 2015-05-14 11:32:33 +03:00
Vladimir Enchev
bfb967abba http header values fixed for iOS as well 2015-03-30 09:53:53 +03:00
Vladimir Enchev
79fb7e2a34 http for android header values fixed and test added 2015-03-30 09:42:12 +03:00
Vladimir Enchev
2b00b8c10f Update Readme.md 2015-03-19 12:02:45 +02:00
Erjan Gavalji
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00
Vladimir Enchev
282c57b821 small fix for ios http module 2014-05-28 11:00:45 +03:00
PanayotCankov
0b056dd3db Updated the API reference. 2014-05-27 12:54:11 +03:00
Vladimir Enchev
d1570dbfcc extended StreamBody removed 2014-05-27 11:48:29 +03:00
Vladimir Enchev
a548837216 binary content post for android 2014-05-27 09:09:01 +03:00
Vladimir Enchev
82fa2b3b6e request body for android fixed and test added 2014-05-26 15:00:23 +03:00
Vladimir Enchev
18c0d47db5 readme updated again 2014-05-23 11:36:38 +03:00
Vladimir Enchev
0220d130f4 readme updated 2014-05-23 11:33:22 +03:00
Vladimir Enchev
86e081528f comments added 2014-05-22 14:17:40 +03:00
atanasovg
87f7847155 Updated API reference. 2014-05-22 11:47:02 +03:00
atanasovg
db987a361d Modified the http module to remove the cyclic references. Added promises.d.ts. 2014-05-21 16:27:13 +03:00
atanasovg
a6edd119d0 Updated some APIs with @param defintions. Added .impl suffix to the ImageSource module. 2014-05-21 15:15:48 +03:00
PanayotCankov
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
Vladimir Enchev
641d4b4b8e toImage changed to use fromData 2014-05-21 10:59:06 +03:00
Vladimir Enchev
50d12e144b HttpContent raw fixed for android 2014-05-21 10:43:08 +03:00
Vladimir Enchev
2c5f36761b http request for android reworked 2014-05-21 10:34:12 +03:00
Vladimir Enchev
2b47aebbe8 http module refactored 2014-05-16 10:18:25 +03:00
Vladimir Enchev
4faced08aa http internal references refactored 2014-05-16 09:53:34 +03:00
Vladimir Enchev
eb4eab2614 three ";" removed 2014-05-16 09:46:22 +03:00