Commit Graph

43 Commits

Author SHA1 Message Date
Benoît Cortier 96979ef81d chore(release): also update public package.json (#305) 2023-11-27 17:03:10 +00:00
irvingouj @ Devolutions e6518af4fd chore(release): prepare iron-remote-gui for 0.11.1 (#304) 2023-11-27 16:52:03 +00:00
irvingouj @ Devolutions a5747f3661 fix done,includes rxjs (#303) 2023-11-27 11:31:18 -05:00
Benoît Cortier 2b254c2869 chore(release): prepare web client for 0.11.0 (#302) 2023-11-24 21:10:24 +00:00
irvingouj@Devolutions 716f5c5e05 build(web-client): roll up and export correct TS types (#301) 2023-11-24 14:28:00 -05:00
Benoît Cortier 32910b3a11 chore(release): prepare web client for 0.10.0 (#294) 2023-11-21 16:35:19 -05:00
Vladyslav Nikonov 5b210f2fc7 feat(web): support for hardware cursor (#290)
Adds support for native cursors for `IronRDP-web`.

- Uses CSS `cursor` property to set the custom cursor (which we encode as Base64 data URL
- Software rendering is still in place and could be enabled via the config flag
- "Inverted colors" are implemented for native cursors as a "checkerboard pattern" (As in FreeRDP)
- Native cursors have size **limitation** - _Any remote cursor bigger than 32x32 will be scaled down._ This is due to browser limitations described [here](https://chromestatus.com/feature/5825971391299584) and [here](https://bugs.chromium.org/p/chromium/issues/detail?id=880863)

Closes #250
2023-11-21 17:20:03 +00:00
Benoît CORTIER c1ac51904f refactor(cliprdr): fix typos 2023-11-20 09:39:36 -05:00
Benoît Cortier 8fc213e699 refactor(credssp): follow up to #260 (#287) 2023-11-17 09:50:03 -05:00
irvingouj@Devolutions 5530550ef3 feat(credssp): support for Kerberos (#260)
Issue: ARC-139
Co-authored-by: Benoît Cortier <bcortier@proton.me>
2023-11-17 04:12:13 +00:00
Benoît Cortier c4fae49d45 chore(web-client): bump prettier to 3.1.0 (#285)
A bug in 3.0.x versions was causing the --plugin setting to be set in
order to let prettier know about svelte. This is now fixed.
2023-11-16 11:27:46 -05:00
irvingouj@Devolutions 2849d5830b chore(web-client): ignore *.css in ESLint (#284) 2023-11-15 15:51:36 -05:00
Benoît Cortier 73ea1ff05f chore(release): prepare web client for 0.9.0 (#280) 2023-11-13 19:48:52 +00:00
Benoît Cortier d6e1daccb6 chore(web-client): fix prettier checks (#270) 2023-11-09 21:53:27 -05:00
Vladyslav Nikonov 2b501496d9 feat: clipboard support for web client (#259) 2023-11-08 13:57:21 +02:00
irvingouj@Devolutions 23777d6b8b chore(web-client): relax eslint prettier end of line checks (#264) 2023-11-06 12:36:40 -05:00
Benoît CORTIER d4ea558da0 style(web-client): run prettier 2023-11-04 02:26:46 -04:00
Benoît CORTIER dff3f307eb build(web-client): update npm dependencies 2023-11-04 02:26:46 -04:00
Benoît CORTIER ab16cce949 refactor(web-client): fix lints emitted by ESLint
Co-authored-by: irving ou <jou@devolutions.net>
2023-11-04 02:26:46 -04:00
Benoît CORTIER 7839acfa63 chore(web-client): configure ESLint
Co-authored-by: irving ou <jou@devolutions.net>
2023-11-04 02:26:46 -04:00
Benoît CORTIER 19b8c119a9 refactor(iron-remote-gui): enable strict mode 2023-11-04 02:26:46 -04:00
Benoît CORTIER aa8f3754ad refactor(web-client): set noImplicitAny to true
Co-authored-by: irving ou <jou@devolutions.net>
2023-11-04 02:26:46 -04:00
Benoît CORTIER f0e00515cd chore(web-client): set allowJs to false
Everything (except .svelte files) is already TypeScript.

Co-authored-by: irving ou <jou@devolutions.net>
2023-11-04 02:26:46 -04:00
Benoît CORTIER a0e3cbccf6 refactor(svelte): remove dead code 2023-11-04 02:26:46 -04:00
Benoît CORTIER 3a412a331f refactor(web-client): enable strictNullChecks 2023-11-04 02:26:46 -04:00
Benoît CORTIER 7ea8d1d503 chore(web-client): configure prettier
Co-authored-by: irving ou <jou@devolutions.net>
2023-11-04 02:26:46 -04:00
Benoît CORTIER 500beb21fa chore(web-client): update .gitignore files
Co-authored-by: irving ou <jou@devolutions.net>
2023-11-04 02:26:46 -04:00
Benoît CORTIER baf63b203b chore(release): prepare for iron-remote-gui v0.8.1 2023-11-02 11:52:47 -04:00
Benoît Cortier 29bf964dd6 chore(release): prepare web client for 0.8.0 (#244) 2023-10-31 16:08:32 +00:00
dependabot[bot] a086e94d0b build(deps-dev): bump postcss in /web-client/iron-svelte-client (#228)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.19 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.19...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 11:52:07 -04:00
dependabot[bot] dec61fe690 build(deps-dev): bump vite in /web-client/iron-svelte-client (#229)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.2.4 to 3.2.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v3.2.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.2.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 11:49:33 -04:00
Benoît Cortier 9d33cad303 feat(web): use softbuffer to draw into the canvas (#191)
Instead of copying and sending image buffers to JavaScript, the WASM
module now draws into the canvas by itself. This removes some overhead
associated with the previous approach and open the door for further
optimizations.

In order to achieve good performance, the newest API of
`softbuffer@0.3.0` is used: the "owned buffer" that can be written into
by us with direct access and `present_with_damage` to apply partial
updates. The presentation itself is currently not yet "no-copy" in
the case of the web backend because the current API of `softbuffer` is
expecting a pixel buffer in the BGRX format while the underlying canvas
can only takes RGBA pixels. There is an open issue for this.

There was a bug with the `present_with_damage` implementation for the
web backend. I fixed the issue and opened a PR to upstream the patch.
The cargo dependency patch will be removed once the fix is published
on crates.io.

Issue: ARC-164
2023-09-09 00:16:27 +03:00
Benoît Cortier dbbd168b97 fix(web): detect errors when opening WebSocket (#173)
Ideally, when the WebSocket can’t be opened, the call to
`WebSocket::open` should fail with details on why is that (e.g., the
proxy hostname could not be resolved, proxy service is not running),
but errors are neved bubbled up in practice, so instead we poll the
WebSocket state until we know its connected (i.e., the WebSocket
handshake is a success and user data can be exchanged).
2023-08-11 17:04:08 -05:00
Vladyslav Nikonov 1f401a1350 feat: pointer processing logic (#168)
FastPath pointer messages handling:

- Add pointer messages handling in `ironrdp-session`, `ironrdp-client` and `ironrdp-web`
  - Supported bpp's: 1, 16, 24, 32 (8bpp is not supported yet, palette messages handling
    should be added first)
  - Alpha blending is supported, and done via software-based compositing
  - Inverted cursor pixels are supported (FreeRDP do not support them correctly)
  - Large pointers are supported (FreeRDP crashes on them)
  - Cursor caching is supported
- Add new CLI argument to enable/disable pointer rendering (--no-server-pointer)
- `session`/`client` refactoring to facilitate multiple types of session output updates besides
  framebuffer update (e.g. request to hide/show system pointer on client)
- Minor changes in web client typescript code to hide/show cursor on canvas

Closes #108
2023-08-04 13:55:11 -04:00
Nicolas Girot feee4f68d6 fix(web-client): scroll and shutdown (#156)
Issue: DPS-8268
2023-06-20 16:35:54 -04:00
Benoît Cortier b98443b407 chore: fix xtask for windows (#150) 2023-06-14 22:16:24 +00:00
Nicolas Girot 56e10e1497 feat(web-client): support new builder parameters (#149) 2023-06-12 16:19:14 -04:00
Benoît Cortier 1655955c1f feat(web): clarify error on proxy connection (#148)
WebSocket state is checked after `WebSocket::open` is called.
2023-06-08 18:26:31 -04:00
Nicolas Girot 93d5ca739a chore(iron-remote-gui): bump version (#147) 2023-06-08 15:56:34 +00:00
Isaiah Becker-Mayer 36a210aae9 fix(web-client): paths to web crate and unsupported call (#128)
Co-authored-by: Benoît CORTIER <bcortier@proton.me>
2023-05-11 16:00:04 +00:00
Vladyslav Nikonov 71d7c0c651 fix: run typos check (#120)
- Fixes a bunch of typos
- Moves gigantic HEX-string represented binaries to separate `*.bin` files in crates\graphics\src\zgfx\mod.rs (it was messing with typos check)
2023-05-09 15:18:51 +00:00
Nicolas Girot f3c06b96dc refactor(web-client): remove Tauri abstraction (#102)
This patch:

- Removes references to Tauri and (now unused) abstraction
- Remove Tauri references from package.json
2023-04-05 20:13:30 +00:00
Benoît Cortier 710a51f24a refactor: re-organize workspace (#101)
- Remove Tauri client.

  It was useful when initially prototyping the Web Component, but now
  it’s more of a maintenance burden. It’s notably not convenient to
  check in CI. Since we now have another native alternative that does
  not require any GPU (`ironrdp-client`), it’s probably a good time to
  part ways.

- Move wasm package into the workspace.

- Move Rust crates into a `crates` subfolder.

- Introduce `xtask` crate for free-form automation.
2023-03-29 19:09:15 -04:00