summaryrefslogtreecommitdiff
path: root/utils/regtools/qeditor (follow)
Commit message (Collapse)AuthorAge
* regtools/qeditor: replace deprecated QStyleOptionViewItemV4Amaury Pouly2017-02-04
| | | | | | | | | ...by QStyleOptionViewItem. Yes Qt got it right, in 5.7 they deprecated QStyleOptionViewItemV4 and recommend using QStyleOptionViewItem which contains less fields except on newer Qt where it contains all fields. Hopefully it still works on Qt>4.x for a large enough value of x. Change-Id: I013c383d2424b04c1c0745f0d7b1d5e62a29d324
* regtools/qeditor: compute RAM sizeAmaury Pouly2017-02-04
| | | | Change-Id: I7bfb5cc25bc3dc55f379b2319b20dc9510434de0
* regtools/qeditor: enable imx233 analysers for imx233Amaury Pouly2017-02-04
| | | | | | | The clock structure is identical, and the EMI are the same. Also fix SSP clock, it was broken on imx233 as well. Change-Id: I25ec66059b00b1a456ef2f02131d225082536c0a
* jz4760b/regtools: fix/rename some register fields, add clock analyzer to qeditorAmaury Pouly2017-01-24
| | | | Change-Id: I196414d6e4fc18c00b77903e334b7e6adfb7debc
* qeditor: port to the new hwstub library and add featuresAmaury Pouly2016-04-08
| | | | | | | | | This commit adds support for the version of the hwstub library, which requires a lot of changes. It also adds some editing features, such as register access and much better editing of fields using the mouse (double click on a field to be able to resize and move it). Change-Id: I3c4e4cc855cb44911c72bc8127bad841b68efe52
* regtoosl/qeditor: port to the new description formatAmaury Pouly2016-02-06
| | | | | | | | | | | This big commit port qeditor from v1 to v2 register file format. Although the display code was much simplified, the edit code had to be rewritten. The new code also brings many improvement to the register display widget. The new code also compiles with both Qt4 and Qt5, although it is recommended to use Qt5 to get some improvements, especially in the layout of editor. Change-Id: I24633ac37a144f25d9e705b565654269ec9cfbd3
* qeditor: fix uninitialised variableAmaury Pouly2015-10-03
| | | | Change-Id: I12a785e554b7d598b91e526af1b7ebc1fc44f610
* soc_desc: new version of the desc file formatAmaury Pouly2015-09-11
| | | | | | | Fix qeditor to use the old soc_desc_v1. Port hwstub_shell to the new description format. Change-Id: I9fefbff534bfaa5c3603bb3dd8307a2b76e88cfc
* qeditor: introduce new "sexy register display"Amaury Pouly2015-09-11
| | | | Change-Id: Ib938b4be71d2c7623851dbc3c211f96105077d7d
* qeditor: use delegate to show bit range informationAmaury Pouly2015-09-10
| | | | Change-Id: I314365c3a2cb9d230c412f24d2a8034a12c43444
* qeditor: Add external static libraries to build dependeciesMarcin Bukat2015-03-04
| | | | | | | The solution is a bit hacky as it simply call make in libs directory as pre-dependency. Clean doesn't touch libs. Change-Id: Ib447a48fd87cc41228944f17444474a55d393543
* regtools/qeditor: use the new model, drop unused codeAmaury Pouly2014-12-15
| | | | | | Change-Id: Ic4e2e201f6d055c85d52b7fe15d25980386df5b8 Reviewed-on: http://gerrit.rockbox.org/1023 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* regtools/qeditor: introduce custom table model for reg fieldsAmaury Pouly2014-12-15
| | | | | | | | This one is much more efficient than using a generic table widget. Change-Id: I3578964eead746e656f6b0a8dcec0f8442deb13d Reviewed-on: http://gerrit.rockbox.org/1022 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* regtoosl/qeditor: remove unused codeAmaury Pouly2014-12-15
| | | | | | Change-Id: I79ad3151d6a500903786b3467c271b43741f8fee Reviewed-on: http://gerrit.rockbox.org/1021 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* regtools/qeditor: fix field editor not updating the validator on changeAmaury Pouly2014-12-15
| | | | | | Change-Id: Ib8df47c8b7cfe0beb486e45542e3fcc9187bcc54 Reviewed-on: http://gerrit.rockbox.org/1020 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* regtools/qeditor: fix backend dump bug, be more correct on readAmaury Pouly2014-12-15
| | | | | | Change-Id: I581c033435f553f092b61144c4b68b05ab931dd8 Reviewed-on: http://gerrit.rockbox.org/1019 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: message widget now supports IDs, useful to clear messagesAmaury Pouly2014-12-15
| | | | | | Change-Id: Ibe0a8909128469a71a25415761860e06fc9f1e67 Reviewed-on: http://gerrit.rockbox.org/1006 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: change setting names, they were inconsistentAmaury Pouly2014-12-15
| | | | | | Change-Id: I47c94520749d0cef1e602c7c62c685a8a3703258 Reviewed-on: http://gerrit.rockbox.org/1000 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: rework register dump to be more general and flexibleAmaury Pouly2014-12-15
| | | | | | Change-Id: I2fb7a2813c93f0804ed1ca6223625706d0dff9a5 Reviewed-on: http://gerrit.rockbox.org/998 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: introduce a new "RAM" backend, and refactor file backendAmaury Pouly2014-12-15
| | | | | | Change-Id: Icfbbc01b83d3592041803387e35f5aa6fb0fa813 Reviewed-on: http://gerrit.rockbox.org/997 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: display message on "Nothing" backend selectionAmaury Pouly2014-12-15
| | | | | | Change-Id: I071c79500f55afe0b6342cbb5a26a9fddba35d94 Reviewed-on: http://gerrit.rockbox.org/996 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: backends can now report validity statusAmaury Pouly2014-12-15
| | | | | | Change-Id: Iefedc9cee10a8c7457d972e5a60d151a6cb38aa8 Reviewed-on: http://gerrit.rockbox.org/995 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: introduce a message widget to display non-interactive messagesAmaury Pouly2014-12-15
| | | | | | Change-Id: Iad43efa1f09428389fbd09403c1ae20d2805f1c5 Reviewed-on: http://gerrit.rockbox.org/987 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: rework mainwindow tab names handlingAmaury Pouly2014-12-15
| | | | | | | | | With the previous code, tab names would be ignored if tab is detached which can happen early on. Change-Id: I9eac4202850f3e79a04590a4ba1444850ec6a583 Reviewed-on: http://gerrit.rockbox.org/986 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: add copyrightAmaury Pouly2014-12-15
| | | | | | Change-Id: I7834bc09b21f2a2d84b1c9edbbe1188372809c63 Reviewed-on: http://gerrit.rockbox.org/983 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Revert "regtools/qeditor: use the new model, drop unused code"Amaury Pouly2014-12-15
| | | | | This reverts commit 3b3d9bf725a5b04e4cd9bc4254fbd2594b518e89. Gerrit did crap on this one.
* regtools/qeditor: use the new model, drop unused codeAmaury Pouly2014-12-15
| | | | | | Change-Id: Ic4e2e201f6d055c85d52b7fe15d25980386df5b8 Reviewed-on: http://gerrit.rockbox.org/1023 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: add clock analyser for ATJ213xMarcin Bukat2014-11-28
| | | | | | Change-Id: I5f5a3537d1ddf6b02684dd4c1dd13be862d3a918 Reviewed-on: http://gerrit.rockbox.org/1054 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
* hwstub/qeditor: add support for atomic read/writesMarcin Bukat2014-11-18
| | | | | | | | | | The current code assumed that READ/WRITE would produce atomic read/writes for 8/16/32-bit words, which in turned put assumption on the memcpy function. Since some memcpy implementation do not always guarantee such strong assumption, introduce two new operation READ/WRITE_ATOMIC which provide the necessary tools to do correct read and write to register in a single memory access. Change-Id: I37451bd5057bb0dcaf5a800d8aef8791c792a090
* qeditor: Implement clock analyzer for rk27xxMarcin Bukat2014-09-19
| | | | | | Change-Id: Ib8f53d32120893b6c1054299ed434a6650a0d7c2 Reviewed-on: http://gerrit.rockbox.org/971 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
* qeditor: rework modified indicator, register tab names depend on contentAmaury Pouly2014-09-19
| | | | | | | | | | | | Because Qt doesn't support QObject multiple inherance, it is a bit tricky to have a base class which interact with the UI. The register tab name now display: - file dump name (for dumps) - hwstub device path (for hwstub) And the register editor display the filename Change-Id: If2579992098c02627c67d560c824f1668e73bc45 Reviewed-on: http://gerrit.rockbox.org/979 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: implement usb device list refresh (if supported)Amaury Pouly2014-09-19
| | | | | | Change-Id: Iaf05cad0e057f767dcde963d194027b2e290dbea Reviewed-on: http://gerrit.rockbox.org/978 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: fix UI to update register/analyser view on each tree/list clickAmaury Pouly2014-09-19
| | | | | | Change-Id: Idaceb7ffaf33c2184a43353dd9d7dee20ac807a9 Reviewed-on: http://gerrit.rockbox.org/972 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: fix horrible out of bound bugAmaury Pouly2014-09-19
| | | | | | Change-Id: I1b34b1cd7be83d90e38559e386d0c6c64797b707 Reviewed-on: http://gerrit.rockbox.org/977 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: when switching type tab, automagically switch view, implement reloadAmaury Pouly2014-09-19
| | | | | | Change-Id: I7360af3b5dd7380151732687d6d8de3dbd503f20 Reviewed-on: http://gerrit.rockbox.org/976 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: avoid memory leak in RegTabAmaury Pouly2014-09-19
| | | | | | Change-Id: Ib7cd87b66c0ceb3d3ff93714709a43e2a97ce79a Reviewed-on: http://gerrit.rockbox.org/975 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: move backend selector to its own class, that's cleanerAmaury Pouly2014-09-19
| | | | | | Change-Id: I7f3fa66a8f67639b4b64cf9f6acc5fb10e227653 Reviewed-on: http://gerrit.rockbox.org/974 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: initialise libusb once in a static ctorAmaury Pouly2014-09-19
| | | | | | Change-Id: Ic93def2b3633c498c9863b0dada3281853be8c6c Reviewed-on: http://gerrit.rockbox.org/973 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: add soc panel, to display soc informationAmaury Pouly2014-09-07
| | | | Change-Id: Ie442b82d96fb150c7466f1a274240f9b111fd91e
* qeditor: use hwstub library function to identify devicesAmaury Pouly2014-09-07
| | | | | | The new protocol is interface based, so matching PID:VID is not sufficient Change-Id: I27983a9c3b7db01b8e63b41e885f86d09c362f60
* qeditor: on Windows it’s not impossible to create a file with AUXDmitry Gamza2014-05-12
| | | | | | Change-Id: Ic7ef01328eccbed4afddb0a09d2afbb6c1f6a28f Reviewed-on: http://gerrit.rockbox.org/811 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: many enhancementAmaury Pouly2014-05-11
| | | | | | | | | | Qeditor has been improved in many ways: - it can now dump all registers, just like the lua DUMPER.dump_all() command - several crash were fixed - when connected to a hwstub command, one can correctly edit individual fields - the code was simplified in several places Change-Id: I092b99ce3a12ff6417552de61d62c65f706bcff0
* regtools: make qeditor aware of PPAmaury Pouly2014-05-11
| | | | Change-Id: I3b4fa625499aa66bb5617971445fa3c1c209134e
* qeditor: add support for deletion of itemsAmaury Pouly2014-05-11
| | | | Change-Id: I886e15585bd3bfed3303e4b845cd8960a9461277
* qeditor: fix includeAmaury Pouly2014-05-11
| | | | Change-Id: Ie6013be29729267294c13fd4e86edad3904aa114
* regtools: completely rework qeditor, improve soc desc library and toolsAmaury Pouly2014-05-01
| | | | | | | | | | The graphical editor can now display and editor description files. The library has been improved to provide more useful function. The XML format has been slightly changed: only one soc is allowed per file (this is was already de facto the case since <soc> was the root tag). Also introduce a DTD to validate the files. Change-Id: If70ba35b6dc0242bdb87411cf4baee9597798aac
* regtools/qeditor: fix crash when hwstub device fails to openAmaury Pouly2014-02-13
| | | | Change-Id: Ica2fd201f2ae8ee63b1ae81f27433c841d2f22cd
* Fix redAmaury Pouly2014-02-12
| | | | Change-Id: Ib64eb3539e33d4336c298612b4508c4611b80c9e
* regtools/qeditor: implement UI code to write registersAmaury Pouly2014-02-10
| | | | | | | | | | The UI now has a "read-only" check box to prevent accidently changes: once unchecked, the UI can do write to register (only full register writes are supported for now). If the register supports it, the UI provides SCT writes as well. The display register panel was moved to its own class to cleanup things a bit. Change-Id: I0fc6aab3b351f9080076102ee6fad0037ab5353b
* regtools/qeditor: enhance backend write with write mode (SCT)Amaury Pouly2014-02-10
| | | | Change-Id: I723bce7a60fb08c1d1d5f894a225c36bc1ba4394