Commit Graph

683 Commits

Author SHA1 Message Date
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
Florian Märkl
839ec9fffe Fix seeking to anything but Adresses in Omnibar 2018-04-13 10:55:54 +02:00
Abdel-Rahman A
c79106ef84 Use Core() everywhere (#440) 2018-04-12 08:33:30 +02:00
Abdel-Rahman A
05fe4e60ea RelocsWidget: Change from QTableView to QTreeView (#439) 2018-04-12 08:33:03 +02:00
Abdel-Rahman A
e1f17db235 Refactor ImportsWidget to a view and a model (#438)
* Refactor ImportsWidget to a view and a model
* Remove unused delegate
2018-04-12 08:32:31 +02:00
fcasal
7181c81a2b Added /v search ability and usage hints in the box (#435) 2018-04-11 11:55:37 +02:00
xarkes
d263778ad2 Radare2 update 2018-04-11 11:44:01 +02:00
xarkes
abfb29d5c8 Added Zip to cmake Fix #433 2018-04-11 11:19:07 +02:00
rrreeezzz
997b68ac38 Add more information in Function Panel #382 (#436)
* Add more information in Function Panel #382
* Fix sort
* Fix calltype
* Fix build dir
2018-04-10 20:34:11 +02:00
Paul I
ec8d54b597 Remove cutter_win32 dir (#430) 2018-04-05 10:05:00 +02:00
xarkes
6f14b3c0e3 Added cutter.refresh() to jupyter API 2018-04-04 16:30:30 +02:00
Abdel-Rahman A
c8fdf4b193 Use qhelpers::adjustColumns in all widgets (#423) 2018-04-01 10:25:31 +02:00
xarkes
459aaf482f Fix multiple poping DisassemblyWidget 2018-03-30 18:23:59 +02:00
xarkes
d4903c0f3d Pseudo fix for #422 2018-03-28 11:25:40 +02:00
xarkes
8afc02dd4e Hexdump and Pseudocode widgets colors Fix #410 2018-03-25 19:34:25 +02:00
David Roman
87ee023235 Add dir.projects cutter setting (#416) 2018-03-25 18:58:34 +02:00
int 0x80
0ecc0ed113 Allow to run Cutter without any file opened #404 (#419)
* Allow to run Cutter without any file opened #404
2018-03-25 14:36:14 +02:00
xarkes
152503a936 Segfault fix 2018-03-25 13:21:07 +02:00
Abdel-Rahman A
5001d395af Refactor RelocsWidget to a model and a view (#418) 2018-03-25 12:57:55 +02:00
Florian Märkl
adb311a122 Move default AsmOptions code to Configuration and shorten it (#415)
* Correct asm.cmtright to asm.cmt.right
* Add asm.flgoff to Disassembly Options
* Add Configuration::get/setConfig
2018-03-22 09:42:54 +01:00
Florian Märkl
0cc1f23826 Add --keep-one-line-blocks to astyle 2018-03-21 23:10:52 +01:00
xarkes
3cd71f75e1 Changing coding style 2018-03-21 21:33:40 +01:00
Paul I
b14be4acb2 Some little fixes (#411) 2018-03-20 21:44:00 +01:00
int 0x80
bba02f4b9d Add a button Certificate in Dashboard (iCj) Fixes #316 (#409)
* Add a button Certificate in Dashboard (iCj) #316
2018-03-17 20:26:51 +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
Florian Märkl
98ea17c85a Make CUTTER_ENABLE_* individual vars in qmake 2018-03-16 18:37:38 +01:00
fcasal
0a252bda7b Added rop gadget search (#403) 2018-03-16 10:07:41 +01:00
Mohd Shahril
8a71d1bb07 SectionsWidget - remove unnecessary dot checking (#392) 2018-03-13 14:53:53 +01:00
Florian Märkl
cd28e00bb5 Add FlagsWidget Context Menu 2018-03-11 17:40:52 +01:00
Florian Märkl
6b7a5c9227 Add Flags Source to ClassesWidget 2018-03-11 16:57:38 +01:00
Florian Märkl
523e4b471a Fix restoring Window Layout 2018-03-11 12:41:19 +01:00
Florian Märkl
2ab6907746 Add CutterCore::getAllClassesFromFlags() 2018-03-11 12:13:08 +01:00
Marco Grassi
391e847ebc Dynamic size for color selection and compile warning fixes (#380) 2018-03-11 11:29:37 +01:00
Abdel-Rahman A
cd38fb9277 Improve 'About' plugins window (#378)
* Show detailed information of RAsm plugins in 'About' window
* Improve 'About' plugins window UI with tabs
2018-03-11 09:39:31 +01:00
fcasal
3ef8218e49 Added option to swap conditional jmps (#373) 2018-03-10 08:27:09 +01:00
Abdel-Rahman A
742690afd0 Add asm.size option in preferences (#374) 2018-03-10 07:26:58 +01:00
Florian Märkl
c127772dc1 Fix themes for AppImage 2018-03-09 18:04:05 +01:00
xarkes
8849f25a8d Changes for 1.3 release 2018-03-09 16:28:04 +01:00
Abdel-Rahman A
4cc5e49a24 Add plugin information in 'About' window (#363)
* Add RBin plugin information in 'About' window
* Add RIO plugin information in 'About' window
* Add RCore plugin information in 'About' window
* Add RAsm plugin information in 'About' window
2018-03-09 16:05:40 +01:00
Florian Märkl
051b95c69d Make AnalThread interruptable (Fix #264) 2018-03-09 13:57:57 +01:00
xarkes
d3e48cdae1 Better settings cleaning and initialization 2018-03-09 12:44:29 +01:00
fcasal
e4f428e959 added search button to Edit menu (#371) 2018-03-09 12:43:01 +01:00
xarkes
54a91425f2 Fix arrow colors #370 2018-03-09 12:24:26 +01:00
xarkes
d6bc8c3af4 Disable search flags by default 2018-03-08 14:02:34 +01:00
fcasal
d9592edd1b added basic search (#367)
* Added basic search
2018-03-08 13:24:15 +01:00
Florian Märkl
7b552694f0 Adjust QMainWindow::separator and QSplitter::handle in dark theme 2018-03-08 12:45:34 +01:00
xarkes
1b7462327e Temp fix for seek arrows color 2018-03-08 10:11:29 +01:00
Paul I
a1fba8e6b1 Bundle Python for Windows in AppVeyor (#361) 2018-03-08 10:06:02 +01:00
xarkes
20c7b25308 Using solarized by default. 2018-03-08 08:57:04 +01:00
Florian Märkl
47d9990f84 Fix Jupyter for macOS 2018-03-07 15:23:46 +01:00
Florian Märkl
1d583fe441 Add --pythonhome Arg 2018-03-07 15:23:46 +01:00
Florian Märkl
5bb1a5be6c Bundle Python for macOS in Travis 2018-03-07 15:23:46 +01:00
mandlebro
b0c3d438d1 Added load option to set anal.bb.maxsize 2018-03-07 14:15:56 +01:00
xarkes
8a73abf63f Fixed SegFault when closing LoadOptions dialog 2018-03-07 11:49:49 +01:00
xarkes
2eda598ea2 Cleaning 2018-03-07 08:53:37 +01:00
xarkes
395a383ca1 Set anal.hasnext to false by default, as in radare2 2018-03-07 08:53:37 +01:00
fcasal
09e4bf348e Added typeswidget (#358) 2018-03-06 18:21:48 +01:00
xarkes
93be7f4907 Easier build instructions 2018-03-06 17:50:09 +01:00
fcasal
fa7da352cf Added option to Nop instructions (#355) 2018-03-05 15:20:55 +01:00
Florian Märkl
4a8352169b Make HexdumpWidget more resizable 2018-03-05 15:10:47 +01:00
fcasal
e115cbc9e9 Fixed sorting in Strings widget (#354)
Sorting by string, type, size or length now works when selecting the corresponding column.
2018-03-05 00:16:54 +01:00
Moritz
2439eb52a5 Fix compilation error. (#352) 2018-03-04 20:15:09 +01:00
xarkes
08c2ac54c4 cutter => Cutter 2018-03-04 19:07:33 +01:00
Florian Märkl
0ec363a214 Set PYTHONHOME for AppImage
Keep PYTHONHOME string
2018-03-04 17:32:47 +01:00
Florian Märkl
78c3e5f1e3 Set ResourcesWidget objectName 2018-03-03 18:48:39 +01:00
Florian Märkl
1505aefdd1 Make Jupyter Home Button beautiful 2018-03-03 18:40:06 +01:00
Florian Märkl
09a34d265e Make Jupyter Tabs closable, Add Home Button 2018-03-03 18:12:03 +01:00
Boris Ryutin
17f7c0b593 Add double click function to VTables (#343) (#349) 2018-03-03 12:23:53 +01:00
Maijin
efc7a7e90e Fix issue with cmd/cmdj 2018-03-03 10:54:18 +01:00
Paul I
98b9de504b meson: Make Jupyter optional (#348) 2018-03-03 08:03:08 +01:00
Maijin
06a9507aea toUtf8 -> toLocal8Bit 2018-03-02 21:49:57 +01:00
xarkes
e52d002fea Refine cutter.pro rules 2018-03-02 21:42:27 +01:00
xarkes
422a43f344 Set qmake Jupyter optional 2018-03-02 21:00:41 +01:00
Florian Märkl
b48d88c6a5 Add QTabWidget declaration 2018-03-02 19:03:12 +01:00
Florian Märkl
a30579a536 Jupyter Tab Titles 2018-03-02 17:56:59 +01:00
Florian Märkl
7914deb887 Fix CUTTER_ENABLE_QTWEBENGINE define for CMake 2018-03-02 17:34:03 +01:00
Florian Märkl
7ae1cee66b Fix Meson 2018-03-02 16:42:41 +01:00
Florian Märkl
f89d9c0434 Add Optional Features Info to AboutDialog 2018-03-02 15:11:08 +01:00
Florian Märkl
011d113a5e Disable actionJupyter if not needed, Display Jupyter URL if QtWebEngine is disabled 2018-03-02 15:11:08 +01:00
Florian Märkl
ccedd3d59f Make Jupyter optional for CMake 2018-03-02 15:11:08 +01:00
xarkes
784fe17652 Updated dark theme ColinDuquesnoy/QDarkStyleSheet 2018-03-01 17:10:16 +01:00
xarkes
995429b77e Fix scr.color int value 2018-03-01 17:06:13 +01:00
xarkes
13efdf86d5 Removed old Notepad 2018-03-01 16:43:27 +01:00
xarkes
3843864ff9 Remember color scheme on exit 2018-03-01 16:30:31 +01:00
xarkes
427f3797e8 Set more options at file opening + cleaning 2018-03-01 13:16:23 +01:00
xarkes
2626ee02b8 Added python cmdj 2018-02-28 23:00:33 +01:00
exokortex
607b8b8ca8 make FunctionsWidget and SectionsWidget sort numbers correctly and align right (#344) 2018-02-28 21:12:51 +01:00
xarkes
5db9722644 Eval var asm.cmtright => asm.cmt.right 2018-02-27 23:04:06 +01:00
xarkes
a738c020f4 CI Fixes 2018-02-27 21:26:14 +01:00
Florian Märkl
9434476c11 Fix JupyterConnection Shutdown on Error 2018-02-27 21:26:14 +01:00
Florian Märkl
47e99f6d11 Use Py_Finalize() instead of Py_FinalizeEx() for compatibility 2018-02-27 21:26:14 +01:00
xarkes
1ffc2bb742 Qmake python3 lib 2018-02-27 21:26:14 +01:00
xarkes
93c836249e Added pythn dependency for meson 2018-02-27 21:26:14 +01:00
xarkes
3ca97e248d Removed extra file in cutter.pro 2018-02-27 21:26:14 +01:00
Florian Märkl
b45314fd19 Fix IPyKernel restarting 2018-02-27 21:26:14 +01:00
Florian Märkl
06dffde0fe Fix error handling in Python API, minor cleanup 2018-02-27 21:26:14 +01:00
Florian Märkl
ec55e40d5e Support interrupting nested IPyKernel 2018-02-27 21:26:14 +01:00
Florian Märkl
693fc1eb1f IPyKernel signal and poll 2018-02-27 21:26:14 +01:00
Florian Märkl
926a9ffd1e Prepare IPyKernel communication 2018-02-27 21:26:14 +01:00