Commit Graph

64 Commits

Author SHA1 Message Date
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
ea5dc6e594
Improve highlight colors (#1003) 2018-12-16 09:07:25 +02:00
Paul I
3096d24998 [WIP] Some cleanup (#958)
* Some cleanup

* Some more

* Some more

* Some more
2018-11-27 00:34:34 +02: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
a1ext
84b70215ce DisassemblyWidget: fixed extra characters highlighting (#899) 2018-11-02 10:34:15 +01:00
Florian Märkl
d4a77d9c97 Rename src/utils to src/common 2018-10-17 15:24:56 +02:00
Paul I
8d3e8a65e1 Remove useless begin-/end-ReloadModel methods (#793) 2018-10-10 13:33:55 +02:00
xarkes
ec815195cf
Astyle pass (cleaning) (#739) 2018-09-30 22:00:53 +02:00
xarkes
c3d029e5aa
Keep graph priority if the graph is empty (#734) 2018-09-30 19:46:36 +02:00
fcasal
95a7d5f210 Fix #252 - select all lines with the selected offset (#673) 2018-09-05 14:47:09 +02:00
Itay Cohen
bf07f2a002 UI Improvemetnts + graph.offset implementation (#612)
* Add getBreakpointsAddresses to list breakpoints offsets

* Add breakpoint highligthing and improve of disassembly UIs

* Improve dialogs and positions

* Add graph,offset option to preference

* Tiny text fix

* Updated radare2 sumodule
2018-08-12 18:20:16 +02:00
fcasal
342fe77886 Added emulation support (#553)
* emulation start button

* add emul continue until syscall

* reopen file after stopping debug

* show debug context menu only when debugging

* updated r2

* Attach to running process

* fix bps issue in debug and attach mode

* renamed signal and added attach icon
2018-07-26 12:57:05 +02:00
fcasal
975e4c4a3d Added new buttons to breakpoint widget (#548)
* Added new buttons to breakpoint widget
2018-07-26 12:57:05 +02:00
fcasal
837ffef20f highlight PC line while debugging (#541)
* highlight PC line while debugging

* highlight PC correctly
2018-07-26 12:57:05 +02:00
fcasal
0c1935d3f1 Refreshing now seeks to the correct offset (#552) 2018-06-27 17:33:21 +02:00
dok
db76bffbe3 widgets/disasm: Add shortcuts to change font-size
Add two shortcut for changing the font-size in the Disassembly window:
CTRL+PLUS : increase font size
CTRL+MINUS: decrease font size

Issue: #298
2018-06-17 17:41:35 +02:00
fcasal
0cea9e3287 Multiple graph/disasm/hexdump widgets and independent seeks (#504) 2018-05-25 16:30:59 +02:00
fcasal
4b148d74de Added ctrl+wheel zoom in graph view (#484) 2018-05-10 16:08:03 +02:00
Florian Märkl
6934d785f4 Limit Disassembly scrolling from 0 and RVA_MAX 2018-04-15 19:06:05 +02:00
Abdel-Rahman A
c79106ef84 Use Core() everywhere (#440) 2018-04-12 08:33:30 +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
xarkes
a9f669e27e Splitted Qt theme and color theme (now using eco/ecoj) 2018-02-26 23:25:23 +01:00
xarkes
90915134f5 Fix shortcuts #237 2018-01-13 14:49:20 +01:00
Florian Märkl
9bd57776f6 Update Windows Menu and make Actions checkable 2017-12-21 16:47:36 +01:00
Florian Märkl
aad3797159 Rename functions and flags in Raw Command, Fix #230 2017-12-20 23:50:26 +01:00
Florian Märkl
6fa0e0d147 Page Key Navigation in Disassembly (Fix #167) 2017-12-17 15:11:27 +01:00
Florian Märkl
4613ffa485 Cursor Key Navigation in DisassemblyContextWidget #167 2017-12-16 14:02:11 +01:00
Florian Märkl
4213852419 Fetch disassembly with pdJ (Fixes #177) (#210)
* Use pdJ for DisassemblyWidget
* Attach DisassemblyLine to QTextBlock in DisassemblyWidget
2017-12-13 15:30:00 +01:00
Thomas (nezza-_-) Roth
134c0ebb39 DisassemblyContextMenu: Add delete flag/function/comment. (#206) 2017-12-11 14:07:12 +01:00
Florian Märkl
572ba02a76 Do not update DisassemblyWidget at RVA_INVALID 2017-12-04 14:11:13 +01:00
Florian Märkl
8ca69ff5fc Correct update after rename X used here 2017-12-03 21:59:38 +01:00
Florian Märkl
10ce6e7e88 Fix regular Rename from DisassemblyContextMenu 2017-12-03 21:23:02 +01:00
Florian Märkl
903f2042e6 Add copy to DisassemblyWidget 2017-12-02 16:43:21 +01:00
Florian Märkl
5fb0527acf Enhance DisassemblyWidget highlighting 2017-12-02 16:03:55 +01:00
Florian Märkl
65ec19ddbf Highlight cursor line, not always first of offset in DiassemblyWidget 2017-12-02 14:27:15 +01:00
Florian Märkl
de010d4c6c Seek on right click in DisassemblyWidget 2017-12-02 14:10:15 +01:00
Florian Märkl
6c3d1d2582 Fix a bug that caused startup to hang 2017-11-30 15:00:22 +01:00
xarkes
691d567c61 Add escape shortcut for DisassemblyWidget too 2017-11-28 16:43:59 +01:00
Florian Märkl
fad16b4a17 Set immediate base from right click menu, Fix #17 2017-11-28 14:13:22 +01:00
Florian Märkl
871b930519 Fix Disassembly double click, Fix #112 2017-11-28 12:56:38 +01:00
xarkes
b9a45ae00b Fix offset issue in rename + code cleaning 2017-11-27 10:24:31 +01:00
Florian Märkl
f7958a802f Add TempConfig, Fix some issues with scr.color 2017-11-20 21:14:35 +01:00
xarkes
0195806cfe Added dark theme 2017-11-20 12:46:30 +01:00
xarkes
84168cb340 Colors modifications 2017-11-20 12:46:30 +01:00
Florian Märkl
e9c09d8fa1 Remove additional lines from Disassembly 2017-11-20 11:04:03 +01:00
Florian Märkl
8989de8362 Small fix for older Qt versions 2017-11-19 18:49:29 +01:00