157 Commits

Author SHA1 Message Date
Drake
c4c0436634
update Deno branch to 0.10.0 (#31)
* cdp: add internal close api

* inject: add Window.close() api

* typedef: add Window.close()

* roadmap: add close api for 0.8.0

* release: 0.8.0

* readme: update project age

* paths: add more linux browsers

* readme: update screenshot

* readme: move trying gluon to earlier up

* inject: add useSessionId to Window.cdp.send()

* typedef: add useSessionId to CDPApi.send()

* idle: rewrite to use CDP to get processes instead of exec

* index: remove now unneeded parameters for idle creation

* chore: bump version to 0.9.0-alpha.0

* inject: pass IPC browser engine

* api: add Window.versions

* typedef: add future BrowserEngine and update Browser values

* typedef: add Window.versions

* index: rename internal variable

* idle: v2 - added sleep, utils, documenting, and more

* typedef: update for IdleApi v2

* roadmap: update

* chore: bump version to 0.9.0-alpha.2

* readme: add more feature specific statuses

* readme: make specific feature statuses into a table

* cdp: return protocol errors

* idle: move to new api dir

* controls: new Window.controls API

* darwin: full support (#4)

* meta: add pnpm-lock.yaml to .gitignore for my own sanity

* darwin: preliminary support

* chore: disable menubar key in firefox

* Add support new browsers Mac OS (#20)

Co-authored-by: a.artamonov <a.artamonov@sftpro.ru>

* roadmap: tweak

* roadmap: update done

* roadmap: remove overall

* typedef: change some voids to Promise<void>s

* typedef: add Window.controls

* release: 0.9.0

* add .vscode to gitignore

* assets: new logo

* readme: tweak features

* readme: fancy header

* readme: tweak description

* paths>win: add alternate appdata paths

* paths: add new browsers, refactor windows to auto append env

* readme: update npm link

* readme: fix license badge link

* paths: add brave

* chore: bump version to 0.10.0-alpha.2

* index: redo browser finding logging

* index: rewrite data path gen (#6)

* Added `.DS_Store` in .gitignore (#28)

* `.DS_Store` Removed

* Update .gitignore

* roadmap: update

* roadmap: add intended release date for 0.10

* launcher/inject: get browser info first, and always await

* roadmap: update

* cdp: make logging available via optional cli flag

* chore: bump version to 0.10.0-alpha.3

* chore: update alpha version in package

* inject: make eval return just result

* inject: add window.loaded promise

* ipc: add expose APIs

* roadmap: update

* gitignore: ignore gluon_data

* inject: rename Window.window -> Window.page

* typedef: rename Window.window -> page

* typedef: add PageApi.loaded

* typedef: add new IPC expose APIs

* idle: minor cleanup

* fix: hopefully remove all references to nodejs `process`

* idle: add close handler (also move API creation into inject)

* chore: bump version to alpha.5

* launcher: run Window.close on process close too

* fix: firefox was still refering to node's `process`

* gluworld: update to newest version from examples repo, fully convert to Deno

* typedefs: fix errors that deno lsp was complaining about

* release: v0.10.0

* deno: re-export src/index.ts in mod.ts to fit typical deno usage

Co-authored-by: CanadaHonk <oj@oojmed.com>
Co-authored-by: Beef <beefers@riseup.net>
Co-authored-by: Alexander Artamonov <47431914+artamonovtech@users.noreply.github.com>
Co-authored-by: a.artamonov <a.artamonov@sftpro.ru>
Co-authored-by: Mantresh Khurana <120998049+mantreshkhurana@users.noreply.github.com>
2023-01-12 16:37:37 +00:00
Drake
a86305eb41
bump Deno branch to 0.9.0 (#27)
* cdp: add internal close api

* inject: add Window.close() api

* typedef: add Window.close()

* roadmap: add close api for 0.8.0

* release: 0.8.0

* readme: update project age

* paths: add more linux browsers

* readme: update screenshot

* readme: move trying gluon to earlier up

* inject: add useSessionId to Window.cdp.send()

* typedef: add useSessionId to CDPApi.send()

* idle: rewrite to use CDP to get processes instead of exec

* index: remove now unneeded parameters for idle creation

* chore: bump version to 0.9.0-alpha.0

* inject: pass IPC browser engine

* api: add Window.versions

* typedef: add future BrowserEngine and update Browser values

* typedef: add Window.versions

* index: rename internal variable

* idle: v2 - added sleep, utils, documenting, and more

* typedef: update for IdleApi v2

* roadmap: update

* chore: bump version to 0.9.0-alpha.2

* readme: add more feature specific statuses

* readme: make specific feature statuses into a table

* cdp: return protocol errors

* idle: move to new api dir

* controls: new Window.controls API

* darwin: full support (#4)

* meta: add pnpm-lock.yaml to .gitignore for my own sanity

* darwin: preliminary support

* chore: disable menubar key in firefox

* Add support new browsers Mac OS (#20)

Co-authored-by: a.artamonov <a.artamonov@sftpro.ru>

* roadmap: tweak

* roadmap: update done

* roadmap: remove overall

* typedef: change some voids to Promise<void>s

* typedef: add Window.controls

* release: 0.9.0

Co-authored-by: CanadaHonk <oj@oojmed.com>
Co-authored-by: Beef <beefers@riseup.net>
Co-authored-by: Alexander Artamonov <47431914+artamonovtech@users.noreply.github.com>
Co-authored-by: a.artamonov <a.artamonov@sftpro.ru>
2023-01-04 00:40:59 +00:00
CanadaHonk
11ef8cc79b readme: tweak for deno 2023-01-01 13:26:21 +00:00
CanadaHonk
2d91991ac6 chore: remove unused ws dependency for deno 2023-01-01 13:25:43 +00:00
CanadaHonk
2dfb0cfe5a cdp: make progress logging same as node 2022-12-30 21:44:40 +00:00
CanadaHonk
9b16a5ca93 Merge branch 'deno' of https://github.com/gluon-framework/gluon into deno 2022-12-30 21:36:17 +00:00
CanadaHonk
ed05284dad launcher: remove debug log 2022-12-30 21:36:15 +00:00
CanadaHonk
f535b1345b
readme: update screenshot 2022-12-29 23:21:17 +00:00
CanadaHonk
b2597e0d7c initial deno prototype 2022-12-29 23:19:10 +00:00
CanadaHonk
b23351ae4a paths: add alternate linux paths 2022-12-28 13:15:22 +00:00
CanadaHonk
ace26b85f9 chore: bump to 0.8.0-dev 2022-12-28 13:10:17 +00:00
CanadaHonk
2e25a15a1d roadmap: add detection rewrite 2022-12-28 13:09:43 +00:00
CanadaHonk
1b3f76d47a paths: rewrite to support several paths for one browser 2022-12-28 13:08:59 +00:00
CanadaHonk
9cae53f26b roadmap: add version specific roadmaps 2022-12-26 22:29:54 +00:00
CanadaHonk
905db965b5 typedef: fix marking wrong function as todo 2022-12-21 17:42:46 +00:00
CanadaHonk
5d834f7e44 typedef: mark Window.idle as experimental 2022-12-21 17:42:05 +00:00
CanadaHonk
a585c6a958 typedef: fix IdleApi.auto() return value 2022-12-21 17:24:13 +00:00
CanadaHonk
3d23efb714 typedef: fix bool -> Boolean 2022-12-21 17:05:54 +00:00
CanadaHonk
6c2639d5f7 changelog: 0.7.0 2022-12-20 21:36:31 +00:00
CanadaHonk
91167513ba chore: bump version to 0.7.0 2022-12-20 21:36:21 +00:00
CanadaHonk
b6a5a79c5d roadmap: update for newly done 2022-12-20 21:36:05 +00:00
CanadaHonk
253e30ab55 typedef: add idle api 2022-12-20 21:32:32 +00:00
CanadaHonk
fb99d0e987 idle: initial add 2022-12-20 21:32:24 +00:00
CanadaHonk
007cf2d032 ipc: fix not returning reply data 2022-12-18 13:52:50 +00:00
CanadaHonk
7aa0c6cf2d ipc: fix not waiting for reply 2022-12-18 13:47:02 +00:00
CanadaHonk
d174fd279f ipc: fix incorrect function name 2022-12-18 13:18:42 +00:00
CanadaHonk
641b37895d launcher: simplify IPC args 2022-12-18 13:14:00 +00:00
CanadaHonk
66d3cb2a30 launcher: fix more IPC parsing 2022-12-18 13:02:43 +00:00
CanadaHonk
df5ffa7e83 launcher: fix IPC parsing 2022-12-18 12:55:03 +00:00
CanadaHonk
3a9a4e4e95 typedef: fix spelling 2022-12-18 12:37:31 +00:00
CanadaHonk
4dd8af60cc ipc: async listener support 2022-12-18 12:37:13 +00:00
CanadaHonk
6c5f67929b typedef: tweaks 2022-12-18 12:33:00 +00:00
CanadaHonk
11d9a60a79 launcher: fix IPC receiving 2022-12-18 12:32:30 +00:00
CanadaHonk
c7feabb685 ipc: default no reply to null 2022-12-17 16:51:04 +00:00
CanadaHonk
b0d2d51dcb typedef: type all of return value 2022-12-17 16:49:06 +00:00
CanadaHonk
5463685bd5 doc: use typedef instead 2022-12-17 16:11:42 +00:00
CanadaHonk
768a606684 doc: add JSDoc for open 2022-12-17 15:53:43 +00:00
CanadaHonk
f46e3f3ca9
Total internal rewrite (#7)
* cdp: initial add

* cdp: fix not retrying for port, and firefox

* major internal rewrite

* roadmap: update for rewrite

* package: use correct deps for rewrite

* chore: organise into dirs

* chore: fix imports

* chore: change versioning to 0.x.y

* firefox: fix error when window size is undefined
2022-12-16 23:20:03 +00:00
Oj
675d0bb5af paths: fix searching in PATH sometimes being misleading 2022-12-15 13:22:30 +00:00
Darshan Sen
8b0ed9a798
readme: fix shell example in the "Trying Gluon" section (#5)
It wasn't being rendered as expected on GitHub and it also had things
that aren't parts of the shell commands.

Signed-off-by: Darshan Sen <raisinten@gmail.com>

Signed-off-by: Darshan Sen <raisinten@gmail.com>
2022-12-15 06:55:56 +00:00
CanadaHonk
2d5b3e1ebe github: add funding 2022-12-14 19:50:40 +00:00
CanadaHonk
d243cec926 firefox: don't treat tab as special draggable 2022-12-14 18:34:47 +00:00
CanadaHonk
5b28246be0 firefox: fix always hiding firefox titlebar 2022-12-14 18:34:37 +00:00
CanadaHonk
8203e9f72f firefox: add same browser log 2022-12-14 18:21:42 +00:00
CanadaHonk
f8ab6175b3 chore: add more CDP info logging 2022-12-14 18:20:39 +00:00
CanadaHonk
21ff554297 firefox: fix CDP connection 2022-12-14 18:11:12 +00:00
CanadaHonk
9c54cc16d5 roadmap: add new 2022-12-14 16:56:25 +00:00
CanadaHonk
9d9a43741a roadmap: initial add 2022-12-14 16:47:39 +00:00
CanadaHonk
d258e5d838 gluon/paths: add a few more to Linux 2022-12-14 15:47:56 +00:00
CanadaHonk
c0d4f6f9a9 chore: unmonorepo 2022-12-14 11:17:20 +00:00