Added functionality to generate all app descriptions and JSON encode them for a singl...
authorThomas Potthast <tpotthast@ti.com>
Tue, 19 Jul 2011 22:09:25 +0000 (17:09 -0500)
committerThomas Potthast <tpotthast@ti.com>
Tue, 19 Jul 2011 22:09:25 +0000 (17:09 -0500)
commit1f2e822fe1fc519b716f87bb6d9eea94c39f5a37
tree2495680adea98c3b9b0a8544d2ffdf828c6c3374
parent9ffba1cb12e5fbbca707342a8292e35c8e02aebd
Added functionality to generate all app descriptions and JSON encode them for a single transfer.
This improves response time as it only requires one HTTP GET request for all the descriptions.
This request is done on startup in index_ajax.html, and then will give near-instant description
display. Applist generation in applist.js was also changed to accept a callback function, providing
significantly more flexibility. Additionally, functionality to handle multiple concurrent new requests
to generate the app list was added. Previously this caused duplication of apps with requests sent
before the first was concluded. The applist and app descriptions are also kept in RAM now, which should
improve response times.
recipe/matrix-gui-paths.inc [new file with mode: 0644]
recipe/matrix-gui_2.0.bb [new file with mode: 0644]