Commit Graph

74 Commits

Author SHA1 Message Date
Michael Wiarda
f0fc9fc5e3 Disable the debug window menu outside Debug/Emulation mode (resolves #859) (#860)
The debug windows menu is now grayed out if not in Debug/Emulation mode.
2018-10-22 20:06:30 +02:00
Vanellope
ac64bbface Segments implemented (#851)
* Segments implemented

* Not util anymore but common

* Fixed the strings to be shown as the headers better

* Quick Filter functionality is supported on both Section and Segment Widget

* QuickFilter should basically be on but for some widgets, they should be off
2018-10-20 21:20:06 +03:00
Florian Märkl
d4a77d9c97 Rename src/utils to src/common 2018-10-17 15:24:56 +02:00
icebp
4b454e086e create keyboard shortcuts for widgets (solve #733) (#819)
* Add shift-F12 shortcut for strings widget.

* change strings shortcut to use global map

* add Shift-I shortcut for Imports

* add Shift-E shortcut for Exports

* add Shift-G shortcut for Graph view

* add widgets shortcuts map file

* update widget checkboxes when using shortcuts
2018-10-16 09:25:09 +03:00
a1ext
ea1080f412 [Fix] Fixed issue #805 - wrong handling of Close button in Save Project dialog which had a Discard meaning (#806) 2018-10-12 10:08:04 +03:00
xarkes
0aace76065
Make default mode being zen (#732)
* Make default mode being zen
* Added imports widgets
* Make dashboard default
2018-09-30 22:00:44 +02:00
Paul I
f5edf6f213 Add Core()->message() (#658)
* Add Core()->message()

* Remove MainWindows::addOutput

* Use qDebug() for debug messages

* Add message() to PythonApi

* MainWindow: Replace Core() calls
2018-08-27 13:16:48 +02:00
Paul I
5342651e67 Add 'Export as code' feature (#657) 2018-08-25 00:36:15 +02:00
Florian Märkl
23e2d5fa9f Use InitialOptions right from the start 2018-08-18 18:34:58 +02:00
Vanellope
ae69dc07dd adding Open Shellcode function to the New menu mode (Fix #547) (#609)
* layout done for the shellcode paste function

* paste shellcode functionality done

* fixed a bunch of things for the comments

* replaced the old qregexp with the latest one and some tweaks
2018-08-10 19:12:00 +02:00
mandlebro
94c0f2b5c2 * Debug geometry is now customizable
* Preserve open widget when switching to and from debug mode
 * Fix wonky widgets when using readSettings
2018-07-26 12:57:05 +02:00
mandlebro
13c3ff4cf8 Added register references widget 2018-07-26 12:57:05 +02:00
fcasal
fc94b896c4 Added Breakpoint widget (#546)
* Added breakpoint widget
2018-07-26 12:57:05 +02:00
mandlebro
40ce944381 added basic debug view and stop debug button to toolbar 2018-07-26 12:57:05 +02:00
fcasal
7eea0ed311 Debug toolbar (#521) 2018-07-26 12:57:05 +02:00
Florian Märkl
2987bd833f Fix companion script loading 2018-07-24 18:49:52 +02:00
Florian Märkl
baf7abce60 Add ProgressIndicator for Tasks 2018-06-24 21:12:22 +02:00
Florian Märkl
c0397fdcb5 Run Commands from ConsoleWidget in AsyncTask 2018-06-24 21:12:22 +02:00
fcasal
e8b024042b Added widget to view register values (#509)
* Added backtrace info
* Make stack printing arch agnostic
* Split into registers/stack/backtrace widgets
* hide table idxs in stacktable
* backtrace table header has register name instead of generic PC/SP
* imports cleanup
* add sorting to stack table
* add Qheaderview import
* Added button to set registers
* added color to recently changed register
* reorganized Windows tab and added stacking to debug widgets
2018-06-06 13:05:20 +02:00
Florian Märkl
3e8b76138c Use AsyncTaskDialog for initial Analysis 2018-05-27 18:03:29 +02:00
fcasal
0cea9e3287 Multiple graph/disasm/hexdump widgets and independent seeks (#504) 2018-05-25 16:30:59 +02:00
rrreeezzz
b857e724e8 Add a panel for zignatures #463 (#505) 2018-05-24 17:37:37 +02:00
fcasal
7fdfad32f7 Added headers widget (#499) 2018-05-21 19:34:41 +02:00
Xaltonon
58226dda0e Add forward/back functionality to mouse buttons (#490)
* Add forward/back functionality to mouse buttons
* Prevent other widgets from stealing mouseclicks for buttons 4 & 5
2018-05-13 09:50:01 +02:00
xarkes
43b147c6eb Added message box when r_core_file_open fails 2018-05-08 22:44:53 +02:00
Paul I
bebc2ec36d More c++11 (#478)
* Replace 0 and Q_NULLPTR with nullptr
* Use c++11 foreach
2018-05-04 09:58:32 +02:00
Paul I
a30ac22056 Refactor SectionsWidget to use Model/View archictecture (#475) 2018-05-03 09:52: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
fcasal
d9592edd1b added basic search (#367)
* Added basic search
2018-03-08 13:24:15 +01:00
xarkes
1b7462327e Temp fix for seek arrows color 2018-03-08 10:11:29 +01:00
fcasal
09e4bf348e Added typeswidget (#358) 2018-03-06 18:21:48 +01:00
xarkes
08c2ac54c4 cutter => Cutter 2018-03-04 19:07:33 +01:00
Florian Märkl
ccedd3d59f Make Jupyter optional for CMake 2018-03-02 15:11:08 +01:00
xarkes
13efdf86d5 Removed old Notepad 2018-03-01 16:43:27 +01:00
Florian Märkl
1ba8e03f04 Basic Jupyter Integration 2018-02-27 21:26:14 +01:00
Abdel-Rahman A
c1132aba0c Add virtual tables panel (#340) 2018-02-26 23:26:18 +01:00
Marco Grassi
0fb1086aca macOS file operations improvements (#321)
* Implemented macOS open with functionality and drag of files to the icon

* fixed bug when dropping a different binary

* fixed Uppercases for application names

* refactor to avoid code in header for CutterApplication

* removed unused includes

* more consistent includes and main.cpp cleanup
2018-02-10 19:04:31 +01:00
nico
ef8118a52e Refactored code to handle NewFile dialog to honor black theme fix #291 (#315)
* Added displayNewFileDialog()

* Added MainWindow::displayNewFileDialog()

* Use displayNewFileDialog()
2018-02-06 19:23:01 +01:00
xarkes
3712cf1529 Added ResourcesWidget (fix #259) 2018-02-04 15:32:49 +01:00
xarkes
12316714cf
WIP Analysis panel after file is opened (#278)
* WIP Analysis panel after file is opened
2018-01-27 11:40:26 +01:00
xarkes
0ade622a4f Added PDB import menu (Fix #82) 2018-01-16 15:09:51 +01:00
xarkes
d878e5055e Added dark theme 2018-01-09 12:03:07 +01:00
Florian Märkl
a476dda5d0 Add ClassesWidget (Fix #193) 2017-12-23 17:42:42 +01:00
Florian Märkl
9bd57776f6 Update Windows Menu and make Actions checkable 2017-12-21 16:47:36 +01:00
Jubal
0abcf20566 Save 'Unlock Panels' and 'Show Tabs on Top' settings (#223)
* 'Unlock Panels' and 'Show Tabs on Top' now saved to settings

* added saveSettings method and renamed doLock to panelLock
2017-12-17 14:49:03 +01:00
Florian Märkl
94750ea15b Add PreferencesDialog and embed AsmOptions 2017-12-14 14:42:24 +01:00
Thomas (nezza-_-) Roth
86d467daf9 DisassemblerGraphView: lots of additions.. (#213)
* GraphView: Add refactored graphview with animations etc.
* GraphView: Use new graphview and render background color.
* DisassemblerGraphView: t/f navigation, zoom with +/-, bugfixes.
2017-12-13 22:38:46 +00:00
xarkes
d34b45ab4a Removed CreateNewDialog 2017-12-13 17:20:58 +01:00
Thomas (nezza-_-) Roth
e3e108f354 Fix #161: Make console dockable. (#198) 2017-12-10 17:55:42 +01:00