Commit Graph

1200 Commits

Author SHA1 Message Date
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
b06725e1d3 Update docs (#412) 2018-03-20 21:44:32 +01:00
Paul I
b14be4acb2 Some little fixes (#411) 2018-03-20 21:44:00 +01:00
Paul I
2c726205c4 AppVeyor: Use only precompiled Python modules (#375) 2018-03-19 21:26:46 +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
xarkes
00a1f86bba Adjust build.sh error message 2018-03-17 00:41:43 +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
Paul I
c6245125e5 AppVeyor: Change Qt version (#393) 2018-03-13 19:14:40 +01:00
Mohd Shahril
8a71d1bb07 SectionsWidget - remove unnecessary dot checking (#392) 2018-03-13 14:53:53 +01:00
Paul I
1a7ac79bfc Fix *.bat scripts (#390) 2018-03-12 08:15:31 +01:00
Marcus Müller
bf72e4c2b7 build.sh: when asking for user confirmation, accept y, Y, default (#389)
Old behaviour was only to accept "Y". The prompt suggested, however,
that "y" was the default behaviour, so accepting "return" as
confirmation of that choice is the sane behaviour with least user
experience disruption.
2018-03-11 19:41:34 +01:00
Mohd Shahril
6e9e931060 Update README.md (#386)
Fetch all submodule(s) when cloning the project
2018-03-11 19:41:11 +01:00
Marcus Müller
624cb8c99c build.sh: check for existence of qmake, don't call it with wrong opts (#388)
This fixes #387.

Formerly, `qmake --help` was called, and the return value was checked
for being 0, but `--help` is not a valid option in any of my qmakes.

`-help` would be correct, but even with that, qmake returns a non-zero
value.

So, simply replaced that with a check for the existence of the qmake
executable.
2018-03-11 19:40:49 +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
Paul I
03da92ac24 Docs: Update build guide for Windows (#383) 2018-03-11 14:18:30 +01:00
Paul I
e6dd3c21fc Remove *.lib files from Cutter dist for Windows (#384) 2018-03-11 14:16:54 +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
Florian Märkl
e2343dc3ad Update meson.py for changes in r2 2018-03-09 17:34:27 +01:00
Florian Märkl
4969c0c587 Fix meson.py 2018-03-09 17:28:47 +01:00
Florian Märkl
5f991f5a98 Reduce Python size in AppImage 2018-03-09 16:44:11 +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
Florian Märkl
3f4b3457b5 Fix QtWebEngine in Application Bundle on macOS 2018-03-08 11:59:53 +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