Commit Graph

747 Commits

Author SHA1 Message Date
xarkes
09058ead57 Use default font values 2018-04-23 19:30:41 +02:00
rrreeezzz
756ebec512 Delete project with pop-up confirmation (#451) 2018-04-23 09:54:24 +02:00
Paul I
0ae021f9a1 Check QModelIndex/column before processing double click event (#450) 2018-04-23 09:54:06 +02:00
Paul I
09bfc9f3d0 Add QuickFilter panel for ImportsWidget and ExportsWidget (#449) 2018-04-23 09:53:35 +02:00
Florian Märkl
5f9018f5b9 Fix Error when shutting down Jupyter 2018-04-21 12:13:36 +02:00
Florian Märkl
9be6dba2c2 Temporarily disable Analysis after opening a file (Fix #446) 2018-04-20 14:34:32 +02:00
xarkes
45763f88b5 Fix some font size 2018-04-18 17:14:54 +02:00
rrreeezzz
6642f60f75 Add information about register used in a function #381 (#442)
* Add information about register used in a function #381
2018-04-18 11:13:08 +02:00
Florian Märkl
1e81aafb37 Use r_sys_prefix() for AppImage and macOS AppBundle (Fix #432) 2018-04-16 21:36:55 +02:00
Florian Märkl
6934d785f4 Limit Disassembly scrolling from 0 and RVA_MAX 2018-04-15 19:06:05 +02:00
Florian Märkl
b8594e3bf5 Remove White Border from Console Input 2018-04-15 15:42:20 +02:00
Florian Märkl
dc871ca8a1 Revert "Added Zip to cmake Fix #433"
This reverts commit abfb29d5c8.
2018-04-13 17:25:03 +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
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
Florian Märkl
05be34ae6b Jupyter refactoring and cleanup 2018-02-27 21:26:14 +01:00
xarkes
3b8bdb6995 Warnings removal 2018-02-27 21:26:14 +01:00
xarkes
d23cc71b79 Added an error tab when Jupyter fails 2018-02-27 21:26:14 +01:00
Florian Märkl
b9b903052c Run IPyKernel in subinterpreter and thus expose Cutter bindings to it 2018-02-27 21:26:14 +01:00
xarkes
abd9cca091 Added basic Cutter python bindings 2018-02-27 21:26:14 +01:00
Florian Märkl
0a9fba0677 Load cutter_jupyter.py from Qt resources 2018-02-27 21:26:14 +01:00
xarkes
a5e77c5095 Removed old r2pipe server 2018-02-27 21:26:14 +01:00
Florian Märkl
3164b5c118 Embed Jupyter using Python/C API 2018-02-27 21:26:14 +01:00
Florian Märkl
cea55dfdb1 Start Jupyter with single Process 2018-02-27 21:26:14 +01:00
xarkes
7526965b26 Added listening r2 server for Jupyter + r2pipe 2018-02-27 21:26:14 +01:00
Florian Märkl
1ba8e03f04 Basic Jupyter Integration 2018-02-27 21:26:14 +01:00
Florian Märkl
f01fa9d4ea Enable Qt::WA_DeleteOnClose for PreferencesDialog 2018-02-27 14:08:39 +01:00
Florian Märkl
8c3d8d77cb Properly delete MainWindow 2018-02-27 14:06:04 +01:00
xarkes
a0a3f9278d Using raw permissions rather than rw 2018-02-27 11:20:48 +01:00
Abdel-Rahman A
c1132aba0c Add virtual tables panel (#340) 2018-02-26 23:26:18 +01:00
xarkes
a9f669e27e Splitted Qt theme and color theme (now using eco/ecoj) 2018-02-26 23:25:23 +01:00
chq-matteo
b7a89a619d Update cutter.desktop with capital C (#338)
[https://github.com/radareorg/cutter/issues/333](https://github.com/radareorg/cutter/issues/333)
2018-02-23 12:41:22 +01:00
0xcpy
7fa2b9bf61 Added export graph as dot (#330) 2018-02-14 10:33:34 +01:00
0xcpy
16ebe024a3 Right click edit instruction fix #312 (#328)
* Right click edit instruction fix #312
* added bytes editing
2018-02-12 21:12:13 +01:00
nico
4f484eb1f4 Apply logo fix also to AboutDialog (#327) 2018-02-12 13:59:47 +01:00
xarkes
524be44dc2 Fixed white logo on startup #319 2018-02-12 13:22:53 +01:00
xarkes
b229513620 Added ahb to disasm context menu 2018-02-12 10:48:13 +01:00
0xcpy
b119181757 Added Main function highlighting Fix #124 (#326)
* fix #124
* use cmdj instead of cmd
2018-02-12 09:59:45 +01:00
xarkes
b5a2ec74b0 Fix Strings panel/Updated r2 2018-02-11 22:34:28 +01:00
xarkes
28ff13729f Made "load bin" checkbox more understandble
It is also now doing as the -n option of radare
2018-02-10 23:31:15 +01:00
xarkes
a869009909 Build fix 2018-02-10 19:12:08 +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
xarkes
bc22302d7d Travis fix 2018-02-10 19:03:16 +01:00
xarkes
bc8b890557 Fix strings list #322 2018-02-10 18:50:00 +01:00
Maijin
5d1bf80b5b Fix #323 2018-02-10 18:16:16 +01:00
Paul I
9a0416d218 Introducing mesonbuild for Cutter (#314)
* Introducing mesonbuild
* appveyor.yml: Added meson builder
* Cleanup Windows build scripts
* Updated radare2 submodule
* meson: Clone capstone before building r2
* Some appveyor.yml cleanup
2018-02-09 20:51:30 +01:00
xarkes
b15900be54 Added strings info Fix #240 2018-02-09 15:22:45 +01:00
xarkes
dd6b591d9d FunctionsWidget code cleaning 2018-02-09 15:03:03 +01:00
xarkes
c8e6cae150 Resources Widget name/double click fix 2018-02-09 14:19:36 +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