DXR Roadmap: Difference between revisions

→‎Indexing: Raise the priority of indexing generated files due to popular demand.
(→‎Indexing: Raise the priority of indexing generated files due to popular demand.)
Line 50: Line 50:
* (B) Parallel and/or incremental indexing. This will let us scale to more trees.
* (B) Parallel and/or incremental indexing. This will let us scale to more trees.
* (B) (2?) Dynamically generate markup, rather than building zillions of static files. This means we won't have to increment the format version nearly as often, so deployments won't block on time-consuming whole-instance rebuilds as often, so markup changes get into production faster. This might reduce the need for the above. It will also enable us to think about serving up (unanalyzed but syntax-colored) older revisions of files, for [https://bugzilla.mozilla.org/show_bug.cgi?id=962108 permalinking].
* (B) (2?) Dynamically generate markup, rather than building zillions of static files. This means we won't have to increment the format version nearly as often, so deployments won't block on time-consuming whole-instance rebuilds as often, so markup changes get into production faster. This might reduce the need for the above. It will also enable us to think about serving up (unanalyzed but syntax-colored) older revisions of files, for [https://bugzilla.mozilla.org/show_bug.cgi?id=962108 permalinking].
* (3) Support for [https://bugzilla.mozilla.org/show_bug.cgi?id=842547 generated files in indexing]. (Is this about IDLs, for example? We should just make DXR understand IDLs. Here's the code that turns IDL attr names into C++ and JS ones: http://dxr.mozilla.org/mozilla-central/source/xpcom/idl-parser/header.py#l34, http://dxr.mozilla.org/mozilla-central/source/dom/bindings/Codegen.py (search for "binaryNames and makeNativeName").)
* (3) Better support for JS, Python, etc.
* (3) Better support for JS, Python, etc.
** Remove the C++ assumptions from the core so we can support structured queries on other languages. Python keeps coming up. Java and Scala did once as well. People mentioned JS a long time ago.
** Remove the C++ assumptions from the core so we can support structured queries on other languages. Python keeps coming up. Java and Scala did once as well. People mentioned JS a long time ago.
Line 55: Line 56:
** The code base is compiled for multiple platforms. Currently I cannot find the functions which are defined on ARM unless we use a search as we used to do on MXR.
** The code base is compiled for multiple platforms. Currently I cannot find the functions which are defined on ARM unless we use a search as we used to do on MXR.
* (4) Include Doxygen/Javadocs-like documentation. For C, C++, IDL, Java, JS, etc.
* (4) Include Doxygen/Javadocs-like documentation. For C, C++, IDL, Java, JS, etc.
* (5) Support for generated files in indexing. (Is this about IDLs, for example? We should just make DXR understand IDLs. Here's the code that turns IDL attr names into C++ and JS ones: http://dxr.mozilla.org/mozilla-central/source/xpcom/idl-parser/header.py#l34, http://dxr.mozilla.org/mozilla-central/source/dom/bindings/Codegen.py (search for "binaryNames and makeNativeName").)


=== Blame/VCS integration ===
=== Blame/VCS integration ===
Confirmed users
574

edits