Skip to content
This repository has been archived by the owner on May 22, 2020. It is now read-only.

Conversation

Nicholas Goodman added 9 commits April 3, 2017 06:31
…havior to allow manual specification of UUID and permanent UUID to PID mapping. Added external connection auto-UUID generation or mapping based on PID.
…ture/merging-external-connections-and-processes-core-side
…ture/merging-external-connections-and-processes-core-side
… functions. Added getting parent information for launched external applications.
…ture/merging-external-connections-and-processes-core-side

# Conflicts:
#	src/browser/api/system.js
#	src/browser/core_state.js
@nicholasdgoodman nicholasdgoodman changed the title Feature/merging external connections and processes core side RUN-2863 [6.49.21.*] Start merging external process and external application APIs May 4, 2017
StevenEBarbaro added a commit that referenced this pull request May 8, 2017
* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json
StevenEBarbaro added a commit that referenced this pull request May 8, 2017
* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages
StevenEBarbaro added a commit that referenced this pull request May 8, 2017
* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts
StevenEBarbaro pushed a commit that referenced this pull request May 8, 2017
…in hyperblotter today (#91)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2908 fixed a few IAB regressions found in hyperblotter today
StevenEBarbaro pushed a commit that referenced this pull request May 8, 2017
* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2908 fixed a few IAB regressions found in hyperblotter today (#90)

* RUN-2910 added backgroundThrottling as a inheritable option

* RUN-2910 merge into dev

* RUN-2910 Code review items
Copy link
Contributor

@datamadic datamadic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these changes look good. A few questions and a few :neckbeard: comments.

In general, however, this should be the last such pull request we consume that encompasses so may disparate regions of the code. There are basically four discrete refactors / additions going on here:

  • JS -> TS conversion
  • External Application refactor
  • Transport layer refactor
  • Major Process Tracker refactor

As as reviewer, such a PR is difficult to process as you have to constantly context switch. This is especially true when a file goes from js->ts and has code changes. Was this existing? Does this part need review? Its all red and green!

I do think we should consume this one though.

}

export function getInfo(externalApp: Identity): ExternalProcessInfo {
const process: any = ProcessTracker.getProcessByUuid(externalApp.uuid);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

process is already a node global, perhaps let's not shadow that?


//TODO: compare perf from this and a map.
authenticatedConnections.push(externalConnObj);
ofEvents.emit(connectedEvent + `/${externalConnObj.uuid}`, {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:neckbeard: just use the template literal here

export function removeExternalConnection(externalConnection: Identity) {
authenticatedConnections.splice(authenticatedConnections.indexOf(externalConnection), 1);

ofEvents.emit(disconnectedEvent + `/${externalConnection.uuid}`, {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:neckbeard: just use the template literal here

pid
} = message.payload;

let process, file, token;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:neckbeard: process is a node global

ack(new AckPayload(result));
}
}).catch(err => {
if (err !== undefined) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we be nacking even if the err is undefined to guard against an empty reject call?

By leaving it up to the resolve and reject payloads being defined (while I agree that they should be), by not calling the ack / nack you can potentially leave a renderer hanging in the worst case (a sync call) or at best leave a caller waiting forever (inviting a memory leak)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As before. Not Ack'ing or Nack'ing when the functions do not return a value is preserving the status-quo. Previously it has been up to the implementors of each API call to ensure that one or the other has been called. The new paradigm of returning a value (or promise) lessens the likelihood of a dangling API call.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we catch something we need to return something, if the error is undefined we still know that the action you requested failed. lets make sure we cover that.

Promise.resolve()
.then(() => action(identity, data, ack, nack))
.then(result => {
if (result !== undefined) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we be acking even if the result is undefined to guard against an empty resolve call?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. Almost all API handlers (except for the new external application ones) do not return a value. Rather they internally bear the responsibility of Ack'ing. To do so here would cause the vast majority of functions to Ack twice.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the unlikely case of a null err we still need to nack something, just create a new error and return it, silent fails are never good.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the code never declares the reject function, the only way the .catch(...) callback will be invoked is in the event of an uncaught exception. In that case I think it is impossible for err to be undefined - it will always have the same value as the previous implementation catch (err) { ... }.

The (err !== undefined) check is probably unnecessary. I can remove it.

}
Promise.resolve()
.then(() => action(identity, data, ack, nack))
.then(result => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments in elipc_strategy.ts on only ack / nack-ing if defined

let processEntry = this._processes[pid] || {};

if (isNaN(pid)) {
throw new Error(`Error monitoring external process, invalid pid value specified.`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the elipc_strategy.ts this is sure to be caught right? Throwing on a call not initiated via an api call is not guaranteed to be handled gracefully.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree that this may not be best practice overall, but throwing on argument validation was the existing coding style for this particular file. We can discuss this one.

Nicholas Goodman added 2 commits May 9, 2017 11:02
…ture/merging-external-connections-and-processes-core-side

# Conflicts:
#	src/browser/api_protocol/api_handlers/application.js
Copy link
Contributor

@datamadic datamadic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 away we go!

@datamadic datamadic merged commit afce661 into HadoukenIO:develop May 15, 2017
StevenEBarbaro added a commit that referenced this pull request Jun 5, 2017
* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2872: Chromium renderer fork (#87)

* URL starting "mailto:" instantly valid (#85)

* RUN-1779 Feature/reloaded events (#86)

* Added reloaded events, RUN-1779

* reloaded events, RUN-1779

* added window-reloaded event RUN-1779

* spacing RUN-1779

* RUN-2908: [6.49.19.*] into develop fixed a few IAB regressions found in hyperblotter today (#91)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2908 fixed a few IAB regressions found in hyperblotter today

* RUN-2907: use setIcon over setTaskbarIcon (#92) (#95)

* RUN-2910 added backgroundThrottling as a inheritable option (#96)

* RUN-2910 added backgroundThrottling as a inheritable option (#96) (#98)

* RUN-2910 added backgroundThrottling as a inheritable option (#96) (#101)

* RUN-2928: Ignore provisional load error -3 (#102)

* RUN-2935 do not sync send from the unload event (#103)

* Staging (#105)

* RUN-2910 added backgroundThrottling as a inheritable option (#96)

* RUN-2935 do not sync send from the unload event (#103)

* RUN-2888: Core state syntax refac, redux! (#94)

* filter -> find, etc

* resolved refac defect

The offending line was core_state.js:531 which had !! instead of ! …

This commit also
- removes an explicit compare to true
- replaces a couple of explict compares to false
(In all cases, these values are known to be boolean type.)

* more smoothing; more consts! per Raman

* RUN-2872: enable chromium fork policy as runtime->arguments (#108)

* RUN-2910 background throttling to dev (#97)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added addit…
StevenEBarbaro pushed a commit that referenced this pull request Jun 5, 2017
* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Feature/ts unit tests (#18)

* added some ts unit tests

* lic to files.

* removed trailing comma (#22)

* Adding tests to transpilation process (#23)

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* RUN-2114: automatically shutdown external process on app/win close (#20)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2872: Chromium renderer fork (#87)

* URL starting "mailto:" instantly valid (#85)

* RUN-1779 Feature/reloaded events (#86)

* Added reloaded events, RUN-1779

* reloaded events, RUN-1779

* added window-reloaded event RUN-1779

* spacing RUN-1779

* RUN-2908: [6.49.19.*] into develop fixed a few IAB regressions found in hyperblotter today (#91)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2908 fixed a few IAB regressions found in hyperblotter today

* RUN-2928: Ignore provisional load error -3 (#102)

* RUN-2888: Core state syntax refac, redux! (#94)

* filter -> find, etc

* resolved refac defect

The offending line was core_state.js:531 which had !! instead of ! …

This commit also
- removes an explicit compare to true
- replaces a couple of explict compares to false
(In all cases, these values are known to be boolean type.)

* more smoothing; more consts! per Raman

* RUN-2872: enable chromium fork policy as runtime->arguments (#108)

* RUN-2910 background throttling to dev (#97)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the…
HarsimranSingh added a commit that referenced this pull request Jun 6, 2017
* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2872: Chromium renderer fork (#87)

* URL starting "mailto:" instantly valid (#85)

* RUN-1779 Feature/reloaded events (#86)

* Added reloaded events, RUN-1779

* reloaded events, RUN-1779

* added window-reloaded event RUN-1779

* spacing RUN-1779

* RUN-2908: [6.49.19.*] into develop fixed a few IAB regressions found in hyperblotter today (#91)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2908 fixed a few IAB regressions found in hyperblotter today

* RUN-2928: Ignore provisional load error -3 (#102)

* RUN-2888: Core state syntax refac, redux! (#94)

* filter -> find, etc

* resolved refac defect

The offending line was core_state.js:531 which had !! instead of ! …

This commit also
- removes an explicit compare to true
- replaces a couple of explict compares to false
(In all cases, these values are known to be boolean type.)

* more smoothing; more consts! per Raman

* RUN-2872: enable chromium fork policy as runtime->arguments (#108)

* RUN-2910 background throttling to dev (#97)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy …
StevenEBarbaro pushed a commit that referenced this pull request Jun 12, 2017
* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2908 fixed a few IAB regressions found in hyperblotter today (#90)

* RUN-2907: use setIcon over setTaskbarIcon (#92)

* Changes from 7.53.20 release (#45)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2872: Chromium renderer fork (#87)

* URL starting "mailto:" instantly valid (#85)

* RUN-1779 Feature/reloaded events (#86)

* Added reloaded events, RUN-1779

* reloaded events, RUN-1779

* added window-reloaded event RUN-1779

* spacing RUN-1779

* RUN-2908: [6.49.19.*] into develop fixed a few IAB regressions found in hyperblotter today (#91)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url…
StevenEBarbaro pushed a commit that referenced this pull request Jun 12, 2017
* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Feature/ts unit tests (#18)

* added some ts unit tests

* lic to files.

* removed trailing comma (#22)

* Adding tests to transpilation process (#23)

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* RUN-2114: automatically shutdown external process on app/win close (#20)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2872: Chromium renderer fork (#87)

* URL starting "mailto:" instantly valid (#85)

* RUN-1779 Feature/reloaded events (#86)

* Added reloaded events, RUN-1779

* reloaded events, RUN-1779

* added window-reloaded event RUN-1779

* spacing RUN-1779

* RUN-2908 fixed a few IAB regressions found in hyperblotter today (#90)

* RUN-2908: [6.49.19.*] into develop fixed a few IAB regressions found in hyperblotter today (#91)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolid…
StevenEBarbaro added a commit that referenced this pull request Jun 15, 2017
#65)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2872: Chromium renderer fork (#87)

* URL starting "mailto:" instantly valid (#85)

* RUN-1779 Feature/reloaded events (#86)

* Added reloaded events, RUN-1779

* reloaded events, RUN-1779

* added window-reloaded event RUN-1779

* spacing RUN-1779

* RUN-2908: [6.49.19.*] into develop fixed a few IAB regressions found in hyperblotter today (#91)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2908 fixed a few IAB regressions found in hyperblotter today

* RUN-2928: Ignore provisional load error -3 (#102)

* RUN-2888: Core state syntax refac, redux! (#94)

* filter -> find, etc

* resolved refac defect

The offending line was core_state.js:531 which had !! instead of ! …

This commit also
- removes an explicit compare to true
- replaces a couple of explict compares to false
(In all cases, these values are known to be boolean type.)

* more smoothing; more consts! per Raman

* RUN-2872: enable chromium fork policy as runtime->arguments (#108)

* RUN-2910 background throttling to dev (#97)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

…
StevenEBarbaro pushed a commit that referenced this pull request Jun 19, 2017
* (HOTFIX from .18) RUN-3058: unhook global accelerators on window close (#65)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2872: Chromium renderer fork (#87)

* URL starting "mailto:" instantly valid (#85)

* RUN-1779 Feature/reloaded events (#86)

* Added reloaded events, RUN-1779

* reloaded events, RUN-1779

* added window-reloaded event RUN-1779

* spacing RUN-1779

* RUN-2908: [6.49.19.*] into develop fixed a few IAB regressions found in hyperblotter today (#91)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* moved the submodules to ssh

* Update package.json

* RUN-2841: Feature/api policy message preprocessor (#62)

* RUN-2841: api policy message pre-precessor

* RUN-2841: api policy message pre-precessor

* Update api_policy_processor.ts

* Update package.json (#68)

* Update package.json

* Update package.json

* RUN-2854: Inspect element was using the wrong coordinates (#70)

* RUN-2641: add grunt task to sign app.asar (#63)

* RUN-2829, RUN-2855: icon issues with about:blank and file paths (#66)

* avoid resolving falsy url (except 0) (#67)

* RUN-2465: added preload script (#69)

* changed icon.ts to be a general cached resource fetcher

* RUN-2465: added preload script

* RUN-2465 changes based on PR review

* RUN-2465 changes based on PR review (2)

* RUN-2405: force close children on 'Reload app and restart children' (#71)

* Send better error message for bad external process name (#75)

* RUN-2185 Browser Style Navigation (#72)

* RUN-2815 Initial add of forward / back / stop / reload navigation

* RUN-2815 Added canNavigateForward and canNavigateBack to getInfo() call for Windows

* RUN-2815 Description fix per code-review

* RUN-2859: Use the new getCommandLineArgv (#73)

* call better parser

* add coreState.argv etc; rem process.argv; minimize use of minimist

* per Sim review

* commented args,argv,argo decls per Xav review

* Moved clipboard.js to clipboard.ts with required refactoring (#74)

* RUN-2823: added ability to close pending notifications (#76)

* RUN-2823: added ability to close pending notifications

* improved code readability

* Feature/multi runtime iab Run-2705 (#77)

Feature/multi runtime iab RUN-2705

* RUN-2864: fixed clearing notifications on reload (#79)

* Feature/bundle optional deps (#80)

* working IAB over mesh, original identity still present.

* identity now expanded to include runtime

* raise subscriber event fix

* some code cleanup items

* expanded comments and applied the right license

* using the connection manager wrapper

* isLocalUuid returns bool

* formatting

* updated js-adapter dependency

* fixed issue where two versions of the js-adapter were being shipped

* code review items. RUN-2705

* RUN-2866: make initial show, maximize, and minimize sync (#81)

* RUN-2882: remove rcb and grunt cleanup (#83)

* RUN-2813: Handled 'closed' events for 'authentication request' window (#84)

* RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* fixup! RUN-2813: Handled 'closed' events both for 'Authentication request' window and the caller window.

* RUN-2908 fixed a few IAB regressions found in hyperblotter today

* RUN-2928: Ignore provisional load error -3 (#102)

* RUN-2888: Core state syntax refac, redux! (#94)

* filter -> find, etc

* resolved refac defect

The offending line was core_state.js:531 which had !! instead of ! …

This commit also
- removes an explicit compare to true
- replaces a couple of explict compares to false
(In all cases, these values are known to be boolean type.)

* more smoothing; more consts! per Raman

* RUN-2872: enable chromium fork policy as runtime->arguments (#108)

* RUN-2910 background throttling to dev (#97)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* Staging: CopyData transport bug and refactoring (#51)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* Merge 'develop' into 'staging' (#88)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* RUN-2783: fixed launchExternalProcess on app restart (#24)

* RUN-2783 keeps appConfigUrl on app restart and doesn't emit "close" event to RVM for app restart

* removed trailing comma

* tests need to be transpiled to javascript

* flattened out npm scripts

* found an issue with port discovery in mac (#40)

* RUN-2784 Add new window events for resource fetching (#32)

* RUN-2784 DTNT-92 Expose did-get-response-details and did-fail-load events from WebContents as new event.

* RUN-2784 DTNT-92 Internally switch over to using new exposed events for page construction.

* tests were not being run on builds. (#29)

* Feature/optional mesh (#38)

* port discovery now a singleton and using the message-window api

* integrating the runtime-p2p module

* code review items

* updated dependencies and runtime discovered message

* Feature/multi runtime middlewear (#13)

* RUN-2669 Feature/middlewear develop (#6)

Signed-off-by: datamadic <xavier@openfin.co>

* cleanup api transport base class

* lint, postinstall

* first pass, no listeners working, remote calls

* use module name as strategy name, log remote failures

* type the next function a bit better

* make runtime mesh optional

* lint, and package update

* add mesh to the api protocol base

* mesh off by default

* removed multi lines

* cleanup indent

* noImplicitAny

* lintfix (#45)

lo siento

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#43)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages

* RUN-2754: Check licensing (#37)

* licensing task and code cleanup

* faster file lookup

* added missing license

* minor spacing changes

* I make merge mistake (#46)

@StevenEBarbaro @rdepena - this matches staging, merging

* copydata transport refactoring (#52)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* staging update (#35)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* staging (#36)

* Shrinkwrapped the dependencies (#28)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Fixes for typescript on Windows and CI (#33)

* Staging for 6.49.18.* (#19)

* added local getElectronBrowserWindow; changed errAck to nack (#2)

* added getWindowInfo, returns url & title (#3)

* RUN-2669 Feature/middlewear develop (#6)

* Migrated RUN-2759 (#5)

* Migrated RUN-2759

* Update of_events.ts

* RUN-2675 nonpersistent external connections (#4)

* migrated wenjunche's changes for RUN-2769: clearCache on localstorage (#8)

* falsy url now considered valid (#9)

* Lint fix (#11)

* RUN-2758: getRvmInfo should return data for child apps (#10)

* RUN-2127: add window option to set window background color (#14)

* RUN-2127: add window option to set window background color

* Update convert_options.js

* RUN-2676: Allow blank or missing `url` to defer to default (#12)

* narrowed scope to undefined or empty string

* revert to reporting `appURL` on invalid URL

* updated build instructions (#16)

* updated build instructions

* Update README.md

* code review items

* because mistakes

* port discovery now a singleton and using the message-window api (#1)

* port discovery now a singleton and using the message-window api

* code review items

* removed log statements

* changed require statement for MessageWindow

* fixed tsc issues (#15)

* Shrinkwrapped the dependencies (#28) (#30)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Shrinkwrapped the dependencies (#28) (#31)

* Shrinkwrapped the dependencies

* Get rid of FSEvents

* Update tsconfig.json

* Update package.json

* Update tsconfig.json

* RUN-2680: showTaskbarIcon is now updateable (#27)

* RUN-2812: log integrity level (#34)

* found an issue with port discovery in mac (#42)

* add a filtering to the middlewear per module (#41)

* RUN-2820: re-introduce verbose logging of in-runtime API messages (#44)

* CopyData transport bug and refactoring

* Update wm_copydata.ts

* RUN-2344: Added IAB teardown on window's content teardown (#50)

* Added teardown of IAB subscriptions on window's content teardown

* backticks to single quotes

* writeToLog in debug does not take a string as the first argument (#55)

* RUN-2825: only keep 7 debug logs, not 20 (#60)

* RUN-2480 RUN-2482 RUN-2805 InterAppBus Refactor (#53)

* RUN-2480 RUN-2805 Consolidated IAB subscription key generation and refactored publish call to match behavior of send call.

* RUN-2482 Additional refactoring and correction of destination fields on subscription callbacks.

* RUN-2639: terminate runtime if first app launch fails (#54)

* RUN-2811: Resolve relative paths (#57)

* added Window.getAbsolutePath, called from Application.setTrayIcon

* moved refined rsolve path logic to own file; added tests

* var -> const

* removed resolvePath.js, resolvePath.test.js in favor of url.resolve

* added additional download() call

* no .js test files

* Feature/remote listeners (#56)

* first pass remote listeners

* moving the remote listeners to the event_listener module

* added first pass remote application listeners

* enable-multi-runtime as a runtime arg flag

* cleanup

* RUN-2795: offline access (#59)

* Add missing license (#64)

* moved the submodules to ssh (#65)

* move…
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants