Commit Graph

25 Commits

Author SHA1 Message Date
Manol Donev
2fc1d8a8d4 chore(tsc): enable noUnusedLocals compiler option for tns-core-modules (#5755) 2018-05-10 16:12:59 +03:00
Darin Dimitrov
1cb5e7387d Add required inspector fields for Elements and Network (#5754) 2018-04-27 17:04:52 +03:00
Manol Donev
03cfc0cee3 chore(tslint): update tslint rules and fix errors (#5747)
* chore(tslint): fix tslint config & errors
* chore(tslint): enable double quotes, whitespace, and arrow-return-shorthand rules and fix errors
2018-04-26 18:36:32 +03:00
Deyan Ginev
0b34e67699 fix(inspector): Fix --debug-brk issue with Inspector (#5460) 2018-02-26 11:47:24 +02:00
Alexander Vakrilov
0fe1806aaf fix: Require core modules used for inspector lazily (#4977) 2017-10-24 11:53:51 +03:00
Peter Kanev
cb029225c3 Elements tab support for iOS Chrome DevTools (#4930)
* add initial implementation of the dom agent for ios

* add implementation of the css agent for ios

* refactor devtools inspector methods to somewhat accomodate ios and android

patch elements dom-node tests to test for ios too

* fix android dom-node test

* fix ios dom-node-tests to mock the ios devtools inspector properly

* fix: minor changes
2017-10-12 11:32:31 +03:00
Hristo Hristov
457407ebeb Fix https://github.com/NativeScript/NativeScript/issues/4419 (#4754)
mimeTpye set to "application/octet-stream" according to RFC if content-type is not specified.
See: http://mattryall.net/blog/2008/03/default-content-type, https://stackoverflow.com/questions/1176022/unknown-file-type-mime
2017-08-25 13:29:54 +03:00
Alexander Vakrilov
121ad5de01 Enable evaluating in Chrome Console (#3405) (#4713)
Chrome calls compileScript method when an expression is evaluated in the console. So to enable the console evaluate add an empty compileScript implementation.
Also send an Runtime.executionContextCreated which is needed for Console evaluation.
Both of the command and the event do not exist in the Webkit protocol, so we cannot use InspectorBackendCommands definition file
2017-08-18 15:56:17 +03:00
Peter Kanev
1713b8af91 add nativeView angular-specific property to dom node property filter (#4390) 2017-06-19 13:44:59 +03:00
Alexander Vakrilov
114b969986 FIX: ListView items' dom-nodes are disposed before remove (#4369)
* FIX: ListView items' dom nodes are disposed before remove

* Extend property black list

* More attribute changed checks
2017-06-13 16:37:23 +03:00
Vasil Chimev
c62e79e17b fix: add css-agent declarations (#4361)
* fix: add css-agent declarations

* fix: remove css-agent ts
2017-06-13 09:38:15 +03:00
Stanimira Vlaeva
08af2efe0c fix: add dom-node declarations (#4359) 2017-06-12 19:57:25 +03:00
Alexander Vakrilov
f2462158fb Chrome devtools elements tab support for Android (#4351)
* Enable chrome-devtools elemets tab

* Trigger updates when property is chaned form native

* Tslint fixes

* Don't run dom-elemet tests in IOS

* fix tests

* Create package.json

* Update package.json

* domNode changed to field for performance
2017-06-12 16:48:27 +03:00
Peter Kanev
8f621a0df0 check if mimeType is defined before assuming the response's Document type 2017-03-24 14:27:23 +02:00
Peter Kanev
290a771ea1 add calls to the network agent (Chrome DevTools) inside http-request.android when making http requests if debugging is enabled 2017-03-17 09:44:25 +02:00
Hristo Deshev
b45cbe929b No more ambient modules for tns-core-modules/* subpackages.
- Use path mappings in tsconfig.json to resolve module typings
- Only use ambient mobules for global API's
- Move single-file modules to a subdir with the same name so that
we can provide a hand-written typing next to it (via package.json)
- Delete all mentions of tns-core-modules.d.ts
- Delete reference d.ts assembly build steps. Not needed anymore.
- HACK! Use a <reference> for global typings in application.d.ts
to avoid publishing a separate @types/tns-core-modules package.
- Rename declarations.d.ts to tns-core-modules.d.ts to preserve
JS project mappings in references.d.ts (the only place we use those)
2017-03-07 17:59:02 +02:00
Hristo Hristov
a582adc561 Hhristov/fix (#3653)
* Fix action-bar systemIcon
Fix CSS applying

* refactoring

* fix console

* remove StyleScope import - it is private and cannot be imported in public .d.ts
2017-02-17 17:21:57 +02: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
Panayot Cankov
65161ca96b utils.ios should not be required in webinspector 2016-09-17 12:38:07 +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
Hristo Deshev
7e5c29a163 Fix package.json "main" settings and remove .js references. 2016-08-04 16:24:29 +03:00
tzraikov
759db58f2c Merge pull request #2301 from NativeScript/raikov/webinspector
Updated webinspector interfaces
2016-06-20 16:20:27 +03:00
Vladimir Enchev
794e1d40d8 TypeScript debug fixed 2016-06-15 18:15:47 +03:00
Tsvetan Raikov
2ec324055d Updated webinspector interfaces 2016-06-13 17:15:18 +03:00
Panayot Cankov
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00