Commit Graph

69 Commits

Author SHA1 Message Date
karliss
75146d63f9 Update hex side panel only when visible. (#1578)
Fixes #1528
2019-05-23 12:44:28 +02:00
karliss
d55ae67dc0 New Hexedit (#1516) 2019-05-16 18:03:48 +02:00
Florian Märkl
72eab68be1
Revert "Fix layout save and restore feature (#1515)" (#1537)
This reverts commit 2ba9e170c5.
2019-05-15 20:45:16 +02:00
optizone
2ba9e170c5
Fix layout save and restore feature (#1515) 2019-05-14 23:30:10 +03:00
karliss
cda24bfc53
Seperate Widget showing grid of bytes from rest of the hexdump panel. (#1504)
* Seperate Widget showing grid of bytes from rest of the hexdump panel.
2019-05-10 14:15:57 +03:00
Christopher Harvey
e00a70ceaa Add Ctrl-Shift-C shortcut (#1476)
* Copies address at cursor from hexdump, graph and disassembly views
2019-04-25 14:38:53 +03:00
karliss
f68ed82489 Use same font size for all text in hexdump widget. (#1485) 2019-04-25 10:49:10 +02:00
Anton Krasnokutskiy
5818998bb3 Fixed not switching Disassembly to not opened Graph view using <space> (#1370)
+ a bit refactor
2019-03-27 09:24:54 +01:00
karliss
8d6622ac81 Improve hexdump width calculation. (#1389) 2019-03-25 00:12:14 +02:00
Vanellope
96f6e062fc Vane11ope/fix layout (#1308)
Refactoring and Fixes for the default layout.
2019-03-18 08:44:14 +02:00
Gaurav Kumar Ghildiyal
a83791a3e0 Fix arch and bits in Hexdump Widget (#1209) 2019-02-20 21:16:56 +01:00
Florian Märkl
9a02dd24a7 Fix FunctionsWidget Tooltip Colors 2019-02-15 18:39:47 +01:00
Florian Märkl
0ebe1cf728 Fix some minor issues and leaks 2019-01-14 18:50:20 +01:00
Florian Märkl
3728f977a2 Split isVisibleToUser and refreshing in Dock Widgets 2019-01-14 18:50:20 +01:00
xarkes
f4c720cffa WIP First PoC to draw only visible after seek 2019-01-14 18:50:20 +01:00
xarkes
f385cf26d5 Refactored CutterSeekableWidget to CutterSeekable (#1099)
This commit refactors the CutterSeekableWidget class
and adds some documentation.
2019-01-13 16:20:07 +02:00
Itay Cohen
c8d8e667fb Right click -> Select block in hexdump widget (#1006)
* jamieb22 modifications and some sanity checks
* improve warning color
* Fix writeable hexdump
* more sanity checks
2018-12-18 18:26:38 +01:00
a1ext
3fb67c9eac Fixes #950 (#951)
`tr` evaluates at the early start even before `QCoreApplication` is instantiated and appropriate translators are set
related with commit a92fc9b
2018-11-21 07:42:37 +01:00
xarkes
a92fc9b83e
Changed not synced to unsynced (#911) 2018-11-08 23:20:49 +01:00
Ankur Saini
04148a6834 Minor Changes to Hexdump Widget (#863)
* Minor Changes to Hexdump Widget

* Some changes to side view

* Minor change to placeholder text
2018-10-21 20:07:02 +03:00
Ankur Saini
d5513c66dc Added Close and Reopen button to HexWidget SideView (#852) 2018-10-18 21:36:46 +02:00
Florian Märkl
d4a77d9c97 Rename src/utils to src/common 2018-10-17 15:24:56 +02:00
xarkes
f98a175c5c
Set bits for analysis after loading the binary (#618) 2018-08-14 17:07:52 +02:00
xarkes
df61dcdc55 Fix HexDump HTML issues 2018-07-07 12:01:24 +02:00
fcasal
0c1935d3f1 Refreshing now seeks to the correct offset (#552) 2018-06-27 17:33:21 +02:00
fcasal
0cea9e3287 Multiple graph/disasm/hexdump widgets and independent seeks (#504) 2018-05-25 16:30:59 +02:00
Itay Cohen
fad76ecddb Disable align to 0 of HexdumpWidget, highlight current seek (FIX #64) (#492)
* Disable align to 0 of HexdumpWidget, highlight current seek

Disabled the alginment to `0x???????0` and made the current seek the first column.
Added color to highlight the current seek address.

* fixed camelCase

* Fixed camelCase#2
2018-05-13 16:43:38 +02:00
xarkes
923a7e888c A bit of AnalThread cleaning 2018-05-05 15:20:36 +02:00
Florian Märkl
73848d26e7 Fix initial Hexdump Loading with Limits 2018-04-13 16:48:10 +02:00
Florian Märkl
1c58e2706c Limit Hexdump Scrolling from 0 to RVA_MAX 2018-04-13 14:21:39 +02:00
Florian Märkl
d3b8bcb62a Fix blank lines when scrolling up Hexdump 2018-04-13 11:36:30 +02:00
Florian Märkl
2af51a1af0 Fix Hexdump Scroll Up Loading 2018-04-13 11:29:11 +02:00
xarkes
8afc02dd4e Hexdump and Pseudocode widgets colors Fix #410 2018-03-25 19:34:25 +02:00
xarkes
3cd71f75e1 Changing coding style 2018-03-21 21:33:40 +01:00
Nics
c4e8a1c178 Small refactor for the widgets of Cutter (#405)
* Small refactor for the widgets of Cutter

This refactor include the following :

* Creation of a new class
Creation of a new class, named CutterWidget, that inherits from QDockWidget and
is used to represent all of the widgets of the main window.
The goal of this class is to regroup all the behaviour shared by the widgets of
Cutter.

For example : in the constructor, instructions corresponding of those
present in the macro **ADD_DOCK** (in MainWindow.cpp) are executed.
This was made because I think that the macro **ADD_DOCK** which is used
to construct the widgets does not take advantage of the object structure.

* Ensure that every widget has a parent
Some widgets were created using the constructor QDockWidget, but using
**nullptr** (default) as argument, thus they haven't got any parent.

The constructor of a CutterWidget takes as argument the MainWindow and an
action (optional) and calls the constructor of QDockWidget with the main
window as argument. This is valid under the assumption that it is mandatory
for every widget to have the main window as a parent.

* Constructors removal
The constructors of some widgets are not used anywhere and does not seem not
fullfill any current usecase. They were removed.

* Renaming CutterWidget to CutterDockWidget
2018-03-16 22:46:57 +01:00
Marco Grassi
391e847ebc Dynamic size for color selection and compile warning fixes (#380) 2018-03-11 11:29:37 +01:00
Florian Märkl
4a8352169b Make HexdumpWidget more resizable 2018-03-05 15:10:47 +01:00
xarkes
0c035f7ad8 Hexdump widget improvements 2018-02-08 12:46:23 +01:00
xarkes
689cb06ff2 Some HexdumpWidget fixes 2018-02-07 21:15:33 +01:00
xarkes
98c6c0a56e Warning removals 2018-01-27 16:10:41 +01:00
xarkes
372021dadc Some hexdump fixes 2018-01-27 14:11:30 +01:00
Thomas (nezza-_-) Roth
9847836d73 HexdumpWidget enhancements (#235) 2018-01-27 11:08:05 +01:00
Florian Märkl
a7eec66110 Disable some unimplemented Context Menu Entries 2017-12-03 21:50:32 +01:00
Florian Märkl
2a7d2b79b6 Adjust more buttons and logo in AboutDialog to dark theme 2017-12-03 21:01:11 +01:00
Florian Märkl
b63d85b23d Fix nested CommentsWidget double click (Fix #119) 2017-12-03 12:47:26 +01:00
Florian Märkl
40a3928ab6 Clean up Hexdump sidebar a bit more #121 2017-12-03 11:50:14 +01:00
xarkes
5b21f970ac Clean up Hexdump Sidebar (Fix #121) 2017-12-03 02:44:12 +01:00
xarkes
709d20105e Remove some errors 2017-12-02 18:54:00 +01:00
Florian Märkl
cc7a6533c0 Use config font in ConsoleWidget and Hexdump parse 2017-11-26 22:54:44 +01:00
Florian Märkl
f7958a802f Add TempConfig, Fix some issues with scr.color 2017-11-20 21:14:35 +01:00