Skip to content
Snippets Groups Projects
  1. Jan 17, 2024
    • zengdongbao's avatar
      optimized wire.js inbound function, reduce combine times · f279fe81
      zengdongbao authored and zen's avatar zen committed
      
      If the frame data is large, it will be divided into multiple packets. In the current processing mode, each packet will be merged with the old packet into a new buffer, resulting in a large number of redundant operations.
      Optimization scheme: Use array cache packets, and finally use DataView.set to do a merge.
      
      After testing, 1080p picture data merging time can be reduced from 100ms to <5ms
      
      Signed-off-by: default avatarzengdongbao <zengdongbao@gmail.com>
      f279fe81
  2. Jan 06, 2024
    • David Edler's avatar
      fix keyboard mappings for international keyboard layouts · 9c8377f8
      David Edler authored and Frediano Ziglio's avatar Frediano Ziglio committed
      
      Key presses by a client with an international keyboard layout will often fail.
      I.e. the key AltGr creates an error message "No mapping for key 255". This key is important to produce the @ symbol i.e. on German language keyboard. The currently used e.keyCode differs by browser vendor and is ambiguous for some keys.
      This change relies instead on the event.code, which is stable for most common keys and more complete.
      I keep the old implementation to rely on e.keyCode as a fallback if the e.code is not available or the mapping for it is missing.
      
      See merge request !14
      
      Signed-off-by: default avatarDavid Edler <david.edler@canonical.com>
      Acked-by: default avatarFrediano Ziglio <freddy77@gmail.com>
      9c8377f8
  3. Sep 04, 2020
  4. Jul 02, 2020
  5. Apr 09, 2020
  6. Apr 07, 2020
  7. Jan 13, 2020
  8. Dec 31, 2019
  9. Aug 23, 2019
  10. Aug 20, 2019
  11. Aug 06, 2019
  12. Feb 15, 2019
  13. Feb 14, 2019
  14. Jul 19, 2018
  15. Jul 18, 2018
  16. Jun 22, 2017
  17. Jun 02, 2017
  18. Mar 07, 2017
Loading