Commit Graph

603 Commits

Author SHA1 Message Date
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
fa62c667ca Fix issue #102: changed defaults
Defaults now:
- asm.tabs=5
- asm.bbline=true
2017-04-09 19:10:13 +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
mrexodia
cd1df4e08c
updated iaito_win32 submodule 2017-04-07 21:41:48 +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
33bdaef02a Merge pull request #95 from pwntester/contextmenu
Refactor GraphView part II
2017-04-06 23:59:27 +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
C. Balles
5032c9104d qmake cleanup (#43)
* cleanup: get the include and lib path from r2

* clean up of the main project file

* check if r2 is available

* corrected r2 binary name m(

* qmake error if libr not found

Because the project won't build if r2 or the paths are not found emit
an error

* removed comments and unused variable

* Add 'make install' for AppImage

* Use 'make install' in travis build
2017-04-06 10:29:36 +02:00
probonopd
b2bebb9821 Show Travis CI build status (#93) 2017-04-05 21:40:58 +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
Alvaro Muñoz
f656bea94b Load colors from css 2017-04-05 15:02:54 +02:00
Hugo Teso
de2eff13ff Fixed focus issue after seeking around 2017-04-05 12:10:22 +02:00
Hugo Teso
a40cd098a6 Closes #75 2017-04-05 11:35:19 +02:00
mrexodia
3333abe127 updated iaito_win32 submodule + better gitignore 2017-04-05 11:08:05 +02:00
mrexodia
133058aa30 display full r2 git version in AboutDialog 2017-04-05 11:08:05 +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
d7435b1e54 Removed rogue semicolon 2017-04-05 09:53:23 +02:00
Alvaro Muñoz
255643e36d Set light theme as default one 2017-04-05 00:35:44 +02:00
Alvaro Muñoz
cb180e7abb extract common css code to graph.css 2017-04-05 00:30:45 +02:00
Alvaro Muñoz
cce1c150df add dark theme support for graph view 2017-04-05 00:12:07 +02:00
Antonio Rodriguez
441ea351f8 Check if file exist before opening (#82)
* Check if file exist before opening

When opening a file writing its path directly on the textfield, it wasn't checking if exists (also it wasn't adding it to recent list)

* Update newfiledialog.cpp
2017-04-04 23:00:55 +02:00
Hugo Teso
af5276841a Improved xrefs dialog with fcn information 2017-04-04 13:19:34 +02:00
Hugo Teso
e87ed8448c Fixes #58 2017-04-04 12:38:32 +02:00
probonopd
248393416c Remove linuxdeployqt workaround (#68)
* See whether workaround can be removed

Thanks to b71bd4d587

* Update .travis.yml
2017-04-04 12:09:03 +02:00
Hugo Teso
e869f316c9 Merge Headers color fix 2017-04-04 11:43:49 +02:00
Hugo Teso
1fb6a8d585 Fix tree and list views header color 2017-04-04 11:43:16 +02:00
pancake
bb88741296 Update r2 submodule 2017-04-04 11:12:07 +02:00
Wilhelm Buchmüller
e3a07c2c5d Add CMake generated files to .gitignore (#66) 2017-04-04 09:26:29 +02:00
Alvaro
162d3a2541 Merge pull request #70 from pwntester/graph_refactor
Refactor of graph view. part I
2017-04-04 01:36:22 +02:00
Alvaro Muñoz
bbb576197c refactor of graph view. part I 2017-04-04 01:17:31 +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
pancake
360407f453 Fix regression introduced in 0317cf2663
* Graphs are working again
* Multiple instances not working
* MainWindow was creating a new core, as well as OptionDialog
2017-04-03 23:02:47 +02:00
Hugo Teso
a8f644dcf4 Enabled webview developer inspector to fix the graph view 2017-04-03 13:36:51 +02:00
Hugo Teso
ea6789af54 Moved http server related settings 2017-04-03 13:03:26 +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
b82e932ad7 Support sys/user.sh install of radare2 2017-04-03 02:18:41 +02:00