summaryrefslogtreecommitdiff
path: root/utils/regtools/qeditor/regtab.cpp (unfollow)
Commit message (Collapse)Author
2016-04-08qeditor: port to the new hwstub library and add featuresAmaury Pouly
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
2016-02-06regtoosl/qeditor: port to the new description formatAmaury Pouly
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
2014-12-15qeditor: message widget now supports IDs, useful to clear messagesAmaury Pouly
Change-Id: Ibe0a8909128469a71a25415761860e06fc9f1e67 Reviewed-on: http://gerrit.rockbox.org/1006 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15qeditor: change setting names, they were inconsistentAmaury Pouly
Change-Id: I47c94520749d0cef1e602c7c62c685a8a3703258 Reviewed-on: http://gerrit.rockbox.org/1000 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15qeditor: display message on "Nothing" backend selectionAmaury Pouly
Change-Id: I071c79500f55afe0b6342cbb5a26a9fddba35d94 Reviewed-on: http://gerrit.rockbox.org/996 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15qeditor: introduce a message widget to display non-interactive messagesAmaury Pouly
Change-Id: Iad43efa1f09428389fbd09403c1ae20d2805f1c5 Reviewed-on: http://gerrit.rockbox.org/987 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15qeditor: rework mainwindow tab names handlingAmaury Pouly
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>
2014-12-15qeditor: add copyrightAmaury Pouly
Change-Id: I7834bc09b21f2a2d84b1c9edbbe1188372809c63 Reviewed-on: http://gerrit.rockbox.org/983 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19qeditor: rework modified indicator, register tab names depend on contentAmaury Pouly
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>
2014-09-19qeditor: fix UI to update register/analyser view on each tree/list clickAmaury Pouly
Change-Id: Idaceb7ffaf33c2184a43353dd9d7dee20ac807a9 Reviewed-on: http://gerrit.rockbox.org/972 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19qeditor: when switching type tab, automagically switch view, implement reloadAmaury Pouly
Change-Id: I7360af3b5dd7380151732687d6d8de3dbd503f20 Reviewed-on: http://gerrit.rockbox.org/976 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19qeditor: avoid memory leak in RegTabAmaury Pouly
Change-Id: Ib7cd87b66c0ceb3d3ff93714709a43e2a97ce79a Reviewed-on: http://gerrit.rockbox.org/975 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19qeditor: move backend selector to its own class, that's cleanerAmaury Pouly
Change-Id: I7f3fa66a8f67639b4b64cf9f6acc5fb10e227653 Reviewed-on: http://gerrit.rockbox.org/974 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-07qeditor: add soc panel, to display soc informationAmaury Pouly
Change-Id: Ie442b82d96fb150c7466f1a274240f9b111fd91e
2014-05-11qeditor: many enhancementAmaury Pouly
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
2014-05-01regtools: completely rework qeditor, improve soc desc library and toolsAmaury Pouly
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
2014-02-10regtools/qeditor: implement UI code to write registersAmaury Pouly
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
2014-02-10regtools/qeditor: clean-upAmaury Pouly
Free the backend when closing a tab to release some memory. Implement about dialogs. Change-Id: Ic8c500a23d38e6c3dd4de6a4ba862012925968be
2014-02-10regtools/qeditor: prepare support for register writingAmaury Pouly
Change-Id: Ifef36a3ddb1604db63ec974da2d6a77a5540ff42
2014-02-10regtools/qeditor: rewrite soc handlingAmaury Pouly
The code was a mess with respect to soc handling: some code just plain copied the SoC descriptor which are big objects, some was using indexes. The new soc factor out everything in a few classes which hide these ugly details so that descriptors are never copied. Change-Id: I17af8b47f997a528b58221621389d42d24fded93
2014-02-10utils/regtools: slight rework of tab management in qeditorAmaury Pouly
Change-Id: Iaf41defb79bb76010f3ff5269c28e4bad991ebc3
2014-02-10utils/regtools: make qeditor able to poke directly at a hwstub deviceAmaury Pouly
This commit add the very handy feature of being able to read registers directly from a device using hwstub. This is mostly trivial using the hwstub library and the biggest change here is actually: - being able to read registers by name and/or addresses - being able to enumerate devives The UI code currently doesn't handle hotplug but the backend does so it should be trivial to add in the future. It also opens up the possibility the write registers from hwstub or save the register values to a file. Since it relies on both hwstub and libusb, a switch has been introduced in qmake to disable it (use -config nohwstub). Change-Id: I5d7d7a2a7c97ecd7407227357c8553c2773ea6cc
2013-09-18regtools/qeditor: improve pinctrl analyser displayAmaury Pouly
Change-Id: I45850f4f0213aac5f0538c865cfa84137fcb83e3
2013-08-21regtools: add graphical register explorer + analyserAmaury Pouly
This tool allows one to explore any register map. Register dumps (like produced by hwstub tools) can be loaded and decoded by the tool. Finally some analysers are provided for specific soc analysis like clock tree and emi on imx233 for example. Change-Id: Iaf81bd52d15f3e44ab4fe9bc039153fcf60cf92a