Commit Graph

87 Commits

Author SHA1 Message Date
Florian Märkl
4e4797511b Use QAbstractItemModel in FlagsWidget 2017-05-06 15:41:16 +02:00
Florian Märkl
6f16a5a95e Get more things from JSON commands and some other things (#161)
* Flags and Flagspaces from JSON

* Sections from JSON

* Change -a option to -A with default value 3.

* Move Plugin name fetching out of QRCore::getList, Enable manual setting of Arch and Bits in OptionsDialog
2017-05-03 11:09:57 +02:00
Alvaro Muñoz
4bf55a7b62 minimap minor fixes 2017-04-29 10:18:19 +02:00
ballessay
4fea009a97 Add basic completion and command history 2017-04-28 19:49:01 +02:00
ballessay
bdd308d183 Close completer popup on clear 2017-04-28 19:49:01 +02:00
ballessay
a8418e3b53 Use ConsoleWidget in MainWindow
- Replace the MainWidget console handling with the new custom Widget
- Rename some functions
- Fix cppcheck warnings (non reference parameters)
2017-04-28 19:49:01 +02:00
ballessay
6731032495 Add ConsoleWidget
Moved the existing console functionality to a separate widget for easier
extension
2017-04-28 19:49:01 +02:00
Alvaro Muñoz
0062ff424e Fox missing args and vars in graph view and theme switch 2017-04-28 18:19:00 +02:00
ballessay
f586ab2d4e Fix new warnings
- Fix compiler and cppcheck warning
- format with astyle
2017-04-28 15:40:14 +02:00
Florian Märkl
ebe33ffe8e Refactor FunctionsWidget, new features and much more (#149)
* Add RFunction struct and get functions from json

* Fix QRCore::cmdj

* Add Analysis command line argument

* Replace MainWindow::current_address with cursur address

* Use Cursor Address in MemoryWidget, Change some more String addresses to RVA

* FunctionsWidget cleanup

* Use QTreeView in FunctionsWidget

* Re-enabled Nested Functions Widget

* Nested Functions Tree View with Model

* FunctionsWidget font, only one function highlighted

* Removed explicit font sizes

* FunctionsWidget re-enabled sorting and context menu

* FunctionWidget Quick Filter

* FunctionsWidget show decoration for imports

* QRCore lists refactoring, Imports Icon

* FunctionModel: Fix emitting dataChanged

* Fix some smaller things

* Fixes and cleanups

* Raise MemoryDock on seek from Omnibar

* FunctionsWidget: Remove margins

* FunctionWidget: Restore correct Tooltip font

* FunctionsWidget: import icon in separate column
2017-04-28 15:09:40 +02:00
pancake
a0e5cd2d34 Fix null-deref in disassembler 2017-04-28 12:47:55 +02:00
ballessay
a9b5f40702 Initialize OmniBar again
+ cleanup of the OmniBar class
2017-04-27 21:16:09 +02:00
ballessay
dd39666654 Remove duplicate branches 2017-04-26 22:59:03 +02:00
ballessay
d45c253f9f PieView: Add reset function
On treeWidget->clear() non of the the existing functions got called so
the total doubled with every refresh
2017-04-26 22:59:03 +02:00
ballessay
06e82c8421 Clear layout before adding more widgets 2017-04-26 22:59:03 +02:00
ballessay
ab28142ec5 Use Q_FUNC_INFO for message 2017-04-26 22:59:03 +02:00
ballessay
312cc9b912 AStyle format 2017-04-26 22:59:03 +02:00
ballessay
ad0de05654 Additional parameters for adjustColumns
- Add columnCount and padding parameter
- Remove unnecessary functions
2017-04-26 22:59:03 +02:00
ballessay
6f2607fc3c Use DockWidget base class
- DockWidgets inherit from base class and implement the interface
- Move setup/refresh code from MainWindow to widgets
- Remove unused/uneeded members
- Use helper functions
- Fix compiler/cppcheck warnings
- Cleanup headers
2017-04-26 22:59:03 +02:00
ballessay
8e542d40fe Add base class for DockWidgets 2017-04-26 22:59:03 +02:00
ballessay
3bdb0b2aba Fix compiler and cppcheck warnings 2017-04-26 22:59:03 +02:00
ballessay
b32fd4cef2 Remove banned.h from widgets
The banned string is only used once so define it there.
2017-04-26 22:59:03 +02:00
ballessay
354dcf574f Fix warnings
- Use QChar to compare QString elements
- dashboard.ui: no zorder for spacer
2017-04-26 22:59:03 +02:00
ballessay
85f84aac83 Fix warnings
- Same parameter name in h/cpp
2017-04-26 22:59:03 +02:00
Khairul Kasmiran
be3f1e0a32 Start at entry0 even if entry0 addr > 7 bytes 2017-04-24 14:49:35 +08:00
Alvaro Muñoz
4572fec9b3 call init() to draw graph after loading index.html 2017-04-23 01:47:02 +02:00
Alvaro Muñoz
78737c3f7b Fix graph not updated when changing function and theme switch 2017-04-23 01:29:57 +02:00
Hugo Teso
3caafc437e Fixed dark theme mini graph background 2017-04-12 19:06:29 +02:00
Duncan Ogilvie
eae419ef3b compile and work on qt 5.6 (this needs testing!) (#123)
* compile and work on qt 5.6 (this needs testing!)

* updated travis

* updated r2

* sync submodules wtf

* updated CMake files
2017-04-12 18:49:01 +02:00
Hugo Teso
00f3c1baee Fixed disasm context menu actions 2017-04-12 16:26:57 +02:00
Hugo Teso
7e7c6aad85 Removed some scrollbars. Small fix in disasm navigation 2017-04-12 14:07:43 +02:00
radare
e73cb0454a Fix null deref in on_actionXrefs 2017-04-12 12:27:06 +02:00
Hugo Teso
3d85370ff9 Fixed #129. Refactorized the sections dock 2017-04-12 12:16:43 +02:00
Hugo Teso
36e6bc2ec6 More fixes for #94 2017-04-12 10:31:23 +02:00
Hugo Teso
fb1437e4c1 Fixes #94. Hexdump navigation 2017-04-12 10:27:08 +02:00
Hugo Teso
e8a48a4a86 Slight performance improvement when seeking and fix graph load issue 2017-04-11 13:41:44 +02:00
mrexodia
e18899b9c8
removed some junk code #121 2017-04-10 14:12:42 +02:00
mrexodia
400f6be164
restore the 'responsive' functionality (closes issue #97) 2017-04-10 12:25:55 +02:00
Hugo Teso
bee9d28683 Closes #117. Feel free to change text for a better one 2017-04-10 11:31:34 +02:00
mrexodia
24fd1577e2
minor interface improvements 2017-04-09 22:36:38 +02:00
mrexodia
b12f665668
format ****(seed) 2017-04-09 21:55:06 +02:00
mrexodia
0dc64f8eac
Revert "Workaround for Qt5.8 WebEngine (#92)"
This reverts commit 08e6e4d13c.
2017-04-09 20:33:33 +02:00
xpahos
08e6e4d13c Workaround for Qt5.8 WebEngine (#92) 2017-04-09 19:13:31 +02:00
Duncan Ogilvie
5390cff320 updated r2 to 5ec6cde4 (#108)
* updated r2 to 5ec6cde4 (this fixes heap corruption and null pointer dereferences while starting iaito)

* fix build (no need to update iaito_win32 because no changes were made to the api)
2017-04-09 19:12:36 +02:00
ballessay
aa01212053 Fix issue #103: refresh disam on CTRL+r
Adds a QShortcut to refresh the disasm editor. To make this work the
default parameter of the slot MemoryWidget::refreshDisasm() had to be
defined in the header/at declaration point, else the connect failed.
2017-04-09 19:10:22 +02:00
ballessay
c3426e2e3e Set correct parent from the start
Remove the unset parent parameter and use the MainWindow as parent
instead.
2017-04-09 19:10:02 +02:00
ballessay
2bd0283e4b Allow local/qrc content to access remote content 2017-04-09 19:10:02 +02:00
Sergi Àlvarez i Capilla
b7c3929d5e Fix null deref (#101)
* Fix null deref when QStringList is empty

* Indent memory widget
2017-04-09 19:09:52 +02:00
Joxean
7c63a67575 Fix many warnings and remove waste code (#81)
* Fixed a lot of warnings and removed waste code

* Fixed more warnings and removed more waste code

* restore XrefsDialog::updateLabels

This function is used in memorywidget.cpp
2017-04-09 19:09:35 +02:00
mrexodia
95ca3d5d5b
compile with MSVC again (this partially screws up 72893373, and issue #97) 2017-04-09 17:39:56 +02:00