Commit Graph

368 Commits

Author SHA1 Message Date
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
mrexodia
17feb1e84a
safe code improvements related to eventFilter 2017-04-09 17:30:16 +02:00
C. Balles
0c69988f83 Fix sidebar crash (#99)
* Fix crash on invalid asm/hex

Added nullptr checks because the called functions can (and will)
return NULL

* Call disassemble when hex2asm is clicked

* Change order on != comparison

* Fix missing whitspace
2017-04-09 04:49:16 +02:00
Hugo Teso
728933732e Fixes #97. Responsiveness stopped working with some PR 2017-04-07 18:04:00 +02:00
Hugo Teso
bfe44eb725 Fixes #98. Codegraphics bar with dark theme. 2017-04-07 17:34:24 +02:00
Alvaro Muñoz
28aa884354 Merge branch 'master' of github.com:hteso/iaito into contextmenu 2017-04-06 23:56:32 +02:00
Alvaro Muñoz
610ab0d7de Refactor II + init work for context menu 2017-04-06 23:55:40 +02:00
Hugo Teso
8e9d152f46 Fixes #84 by moving cursor to pointer position on right-click 2017-04-06 13:23:43 +02:00
Hugo Teso
ba8f60fe56 Fixes #3 and other related issues 2017-04-06 12:14:28 +02:00
Hugo Teso
c14f3beaeb Fixed theme restore at start up 2017-04-05 16:29:01 +02:00
Hugo Teso
d790ad69df Sync switch theme with graph view. Still has bugs 2017-04-05 16:03:36 +02:00
Hugo Teso
a40cd098a6 Closes #75 2017-04-05 11:35:19 +02:00
C. Balles
44b72a1826 Custom fonts registration and usage (#50)
* Register custom fonts once

The QHelpers functions registered the fonts on every call, which is not
necessary.

- added anonymous namespace for internal linkage
- added helper function for font registration

* Move helper functions from class to namespace

Fixes a possible memleak, because up until now the QHelpers object was
allocated with new without a parent QObject or following delete.

* Removed unused functions
2017-04-05 10:56:59 +02:00
Hugo Teso
af5276841a Improved xrefs dialog with fcn information 2017-04-04 13:19:34 +02:00
Hugo Teso
1fb6a8d585 Fix tree and list views header color 2017-04-04 11:43:16 +02:00
pancake
608a7fcc1c Support multiple instances of the graph webview
* Set the http.port from core to the webview's js
2017-04-03 23:39:01 +02:00
Hugo Teso
a8f644dcf4 Enabled webview developer inspector to fix the graph view 2017-04-03 13:36:51 +02:00
Hugo Teso
f47ca71a2c Fixed compilation issue 2017-04-03 10:43:31 +02:00
pancake
27ca3af8f9 Fix #15 - div by zero in graphics bar 2017-04-03 10:23:21 +02:00
pancake
013375c64c Fix another null deref in the dashboard 2017-04-03 10:21:45 +02:00
C. Balles
f91b9dd4a9 Cleanup qsettings parameter
* Set Organization- and ApplicationName QApp wide
  - Setting this here removes the redundancy to write the names every time a QSettings object is needed
* removed redundant QSettings parameter
2017-04-03 02:18:09 +02:00
pancake
c99759825a Fix another null deref 2017-04-03 02:16:29 +02:00
pancake
4a49acc2f2 Fix null deref crash in comments 2017-04-03 01:03:20 +02:00
Florian Märkl
24256f239d Fix seek for double clicking reloc item 2017-04-03 00:29:04 +02:00
ballessay
5fc6112ca0 fixes a possible crash on exit
- remove unsued constructor parameter. MainWindow is a QWidget
- remove duplicated code. Call MainWindow::setWebServerState
2017-04-01 04:09:03 +02:00
Hugo Teso
80f0a67440 Fixes #34 and makes @joxeankoret a happier person 2017-03-31 12:23:07 +02:00
Hugo Teso
097bffeb57 Fixes #37. refreshDisasm function improved 2017-03-31 11:58:41 +02:00
mrexodia
bcfd398d1d
updated Windows submodule 2017-03-31 02:16:41 +02:00
mrexodia
2d0238aeb0
fixed compile error 2017-03-31 00:39:34 +02:00
mrexodia
1232d41068
fixed some more undefined behavior 2017-03-31 00:33:29 +02:00
mrexodia
95a7e1ff44
fixed lots of undefined behavior related to QString::toUtf8() 2017-03-30 23:49:51 +02:00
Hugo Teso
3a728cbeac Merge pull request #23 from mrexodia/improvements
Improvements
2017-03-30 17:12:41 +02:00
Xiaogrill
33e4b2c55d Changed config path, config name and executable name 2017-03-30 13:49:22 +02:00
Hugo Teso
48897c15ba Pre-select arch and bytes on hexdump preview 2017-03-30 11:27:43 +02:00
mrexodia
c7367b74b8
fix compile errors with functions not returning anything 2017-03-30 04:49:43 +02:00
mrexodia
0f2f037977
better bounds checking in memorywidget 2017-03-30 04:49:04 +02:00
Calle Svensson
8abf9c8103 Prio select style > hover style 2017-03-29 15:53:33 +02:00
Hugo Teso
ca821e1064 First code commit
First commit with the app code
2017-03-29 12:18:37 +02:00