Opened 5 years ago

Closed 5 years ago

#385 closed task (fixed)

Unify and refactor NVDA in-process code

Reported by: jteh Owned by: mdcurran
Priority: major Milestone: 2009.1
Component: Core Version: master
Keywords: MozillaGrantJul2009 Cc:
Operating system: Blocked by:
Blocking: #246, #309, #375, #381, #386, #387
Changes document entry (for developers):

Description

All of NVDA's in-process code should be unified into NVDAHelper. This will reduce duplicated code and greatly ease the process of adding new in-process code. NVDAHelper will handle the setting of system hooks and components will then register hook callbacks with NVDAHelper to be executed when the hook is fired. nvVBufLib will be merged into NVDAHelper, which means it will no longer be a separate library. This is becoming far too difficult to maintain and the advantages greatly outweigh the disadvantages.

Most of this work is already complete. However, we should be tracking these issues properly. :)

Change History (8)

comment:1 Changed 5 years ago by jteh

Bzr branch: http://bzr.nvaccess.org/nvda/nvdaHelperRewrite/
This also fixes some crashes in nvVBufLib due to better detection of when a buffer should be terminated.

comment:2 Changed 5 years ago by jteh

  • Blocking 386 added

comment:4 Changed 5 years ago by jteh

  • Blocking 246 added

comment:5 Changed 5 years ago by jteh

  • Keywords MozillaGrantJul2009 added

comment:6 Changed 5 years ago by jteh

  • Blocking 309 added

comment:7 Changed 5 years ago by aleksey_s

  • Blocking 387 added

(In #387) Fixed in bzr nvdaHelperRewrite r2932.
Btw, I am thinking about organizing our node-specific code somehow. May be separate code for each node into functions and put them into array or map...

comment:8 Changed 5 years ago by jteh

  • Resolution set to fixed
  • Status changed from new to closed

Merged in r3110.

Note: See TracTickets for help on using tickets.