xpra icon
Bug tracker and wiki

Opened 17 months ago

Last modified 3 weeks ago

#1778 assigned task

mixins cleanups

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 3.0
Component: core Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

Follow up from #1761 + #1700.


  • write more unit tests: #1773, also helpful for:
  • identifying leakage of mixin domains: where one mixin relies on another (ie: mmap)
  • messy code:
    • keyboard, ie: modifier_client_keycodes is still too ugly
    • hello packet code
    • init_ui
  • r18656 for window server: remove all window packet handlers if window forwarding is disabled
  • networkstate: pings require statistics object - move it out into its own domain?
  • ServerCore.setup(): we init_auth and init_html_proxy with options, should be split into a parsing step + setup step (means losing support for the legacy password-file - and need another solution for socket_dir in sys-auth-base)
  • more consistent namespace for mixin variables, try to distinguish: settings (command line, env vars), server settings (from hello or update packets), state (focus, buttons, etc)
  • some timers can now be tracked and cancelled more easily (ie: ping timers)

Change History (2)

comment:1 Changed 16 months ago by Antoine Martin

Description: modified (diff)
Status: newassigned
Summary: mixins cleanups and unit testsmixins cleanups

comment:2 Changed 3 weeks ago by Antoine Martin

server mixins: #1838

client mixins: #1861

Note: See TracTickets for help on using tickets.