Commit Graph

744 Commits

Author SHA1 Message Date
Maijin
330e230572 Add more human readable size 2018-02-04 18:27:48 +01:00
xarkes
3712cf1529 Added ResourcesWidget (fix #259) 2018-02-04 15:32:49 +01:00
Florian Märkl
293078d358 Fix Console Title 2018-02-04 13:21:03 +01:00
Florian Märkl
0dbadc59d8 Fix QDockWidget Header Background on macOS #290 2018-02-03 21:00:31 +01:00
Florian Märkl
51a79c89ac Adjust Omnibar size and padding #290 2018-02-03 20:27:45 +01:00
xarkes
ba3f655a9f Added double click handling on SectionsWidget
fix #303
2018-02-02 16:56:46 +01:00
Florian Märkl
085b858bb6 Enable asm.slow by default, Remove some unneeded config 2018-02-02 11:56:07 +01:00
Florian Märkl
9f945ca585 Disable asm.bbline for graph 2018-02-01 18:28:26 +01:00
Florian Märkl
f21cdfa5c0 Use r2 colors in graph 2018-02-01 18:28:26 +01:00
Florian Märkl
75bf8cf5b6 Use agJ for graph 2018-02-01 18:28:26 +01:00
xarkes
613a3e422a Changed VisualNavbar colors to be consistent with r2 2018-02-01 17:06:41 +01:00
nico
bcba36a53d Uppercase application name fix #296 (#309) 2018-02-01 16:07:51 +01:00
Jubal
195fd4a4b6 Added asm.nbytes option (#308) 2018-02-01 10:01:09 +01:00
xarkes
4cc51a6a51
Using bundled fonts by default (#307) 2018-01-31 16:36:09 +01:00
xarkes
dc3fe4f3c4 Fix typo 2018-01-31 11:06:45 +01:00
xarkes
6b644d6ed6 Added asm.emu to Graph 2018-01-31 10:59:01 +01:00
xarkes
b94c5967c2 Added asm.bytes options to Graph View 2018-01-31 10:17:29 +01:00
Jubal
806fc5bded Added options for disasm (#306) 2018-01-31 09:01:16 +01:00
xarkes
da576b973e Cutter v1.2 2018-01-30 22:49:43 +01:00
Jubal
a7ce43784b added show jump lines in disassembly (#286) 2018-01-28 23:28:25 +01:00
xarkes
98c6c0a56e Warning removals 2018-01-27 16:10:41 +01:00
xarkes
372021dadc Some hexdump fixes 2018-01-27 14:11:30 +01:00
xarkes
2703ec274d Fix VisualNavbar segfault 2018-01-27 12:15:58 +01:00
xarkes
12316714cf
WIP Analysis panel after file is opened (#278)
* WIP Analysis panel after file is opened
2018-01-27 11:40:26 +01:00
Thomas (nezza-_-) Roth
9847836d73 HexdumpWidget enhancements (#235) 2018-01-27 11:08:05 +01:00
Florian Märkl
f71c21ae10 Add Endianness Option 2018-01-20 12:14:55 +01:00
xarkes
3af89d5f94 Fix comment shortcut 2018-01-16 15:29:33 +01:00
xarkes
0ade622a4f Added PDB import menu (Fix #82) 2018-01-16 15:09:51 +01:00
xarkes
90915134f5 Fix shortcuts #237 2018-01-13 14:49:20 +01:00
xarkes
bb26c2b7a5 Widgets tiny improvement 2018-01-09 13:09:25 +01:00
xarkes
d878e5055e Added dark theme 2018-01-09 12:03:07 +01:00
Florian Märkl
266402095f Check file using CutterCore::tryFile() instead of QFileInfo 2018-01-07 11:58:37 +01:00
xarkes
8b52c66f4f Update version number to 1.1 2017-12-29 09:07:09 +01:00
Maijin
0ebd34370b Fix #228 2017-12-26 14:40:12 +01:00
Mathieu Hautebas
69506b6460 change version to 1.1 (#244) 2017-12-25 22:04:32 +04:00
Florian Märkl
4b160e4496 Do not update Pseudocode on changes 2017-12-24 15:08:54 +01:00
Florian Märkl
7fd6867b12 Fix crash in GraphView 2017-12-24 13:11:29 +01:00
Florian Märkl
a476dda5d0 Add ClassesWidget (Fix #193) 2017-12-23 17:42:42 +01:00
Florian Märkl
92d6f597e8 Use disasm from agj in Graph (Fix #233) 2017-12-22 16:53:46 +01:00
Florian Märkl
8cf623c1ab Use single QTreeView in FunctionsWidget 2017-12-21 20:51:19 +01:00
Florian Märkl
9bd57776f6 Update Windows Menu and make Actions checkable 2017-12-21 16:47:36 +01:00
Florian Märkl
7d84fbfc1d Remove Omnibar Commands 2017-12-21 16:16:43 +01:00
Florian Märkl
be93b3e9d6 Add PseudocodeWidget.ui to cutter.pro 2017-12-21 16:00:18 +01:00
Florian Märkl
3c2a7189bf Create PseudocodeWidget from .ui file, Refresh only on Button 2017-12-21 15:23:44 +01:00
Florian Märkl
f8182a9e2e Disable only necessary Widgets in OptionsDialog 2017-12-21 12:29:58 +01:00
Florian Märkl
1462f29251 Qt<5.6 compatibility 2017-12-21 12:08:49 +01:00
Florian Märkl
fa6902d41c Remove some unused members from CutterCore 2017-12-21 00:22:59 +01:00
Florian Märkl
aad3797159 Rename functions and flags in Raw Command, Fix #230 2017-12-20 23:50:26 +01:00
xarkes
ec2dfe83f7 Added color for import functions (Fix #219) 2017-12-20 16:40:46 +01:00
Florian Märkl
15a1a6bd9c Add Quick Filter to StringsWidget #162 2017-12-19 19:56:18 +01:00
Florian Märkl
f694daac88 Decouple QuickFilterView as independent class 2017-12-19 19:38:06 +01:00
Florian Märkl
326bf70ff2 Refactor StringsWidget to use QTreeView+QAbstractListModel #183 2017-12-19 19:05:57 +01:00
Florian Märkl
2522e6a378 ToolTip for cropped lines in Graph, Fix #227 2017-12-19 17:59:39 +01:00
Florian Märkl
41430d2826 Add GraphOptionsWidget with Block Max Cols 2017-12-19 17:13:44 +01:00
Florian Märkl
46e862a3b8 Crop Line Length in Graph 2017-12-19 17:00:42 +01:00
Florian Märkl
6fa0e0d147 Page Key Navigation in Disassembly (Fix #167) 2017-12-17 15:11:27 +01:00
Jubal
0abcf20566 Save 'Unlock Panels' and 'Show Tabs on Top' settings (#223)
* 'Unlock Panels' and 'Show Tabs on Top' now saved to settings

* added saveSettings method and renamed doLock to panelLock
2017-12-17 14:49:03 +01:00
Florian Märkl
5ef204d3b8 Use /O for Backwards Disassembly Scrolling 2017-12-17 10:58:25 +01:00
Florian Märkl
22374096da Set PseudocodeWidget objectName 2017-12-16 14:22:56 +01:00
Florian Märkl
4613ffa485 Cursor Key Navigation in DisassemblyContextWidget #167 2017-12-16 14:02:11 +01:00
xarkes
a3cc04fb2d Fix #143 Button focus 2017-12-15 17:20:25 +01:00
xarkes
d92f016ead Fix #133 (r2 -V tab in AboutDialog) 2017-12-15 17:09:04 +01:00
Properrr
4330b7ddaa Implemented syntax highlighter (#220)
* Implemented syntaxHighLighter
* removed PseudoWidget.ui
* buildfix
* reverted r2-submodule
* Added nowrap to the pseudocodeWidget
* changed color of functions in the pseudocode highlighter
2017-12-15 10:52:47 +00:00
Thomas (nezza-_-) Roth
f59e5bbc01 GraphView: Change default vertical margin to 20. (#218) 2017-12-14 23:06:34 +01:00
Thomas (nezza-_-) Roth
7b3c2fe7b1 FunctionsWidget: Add undefine function action. (#217) 2017-12-14 22:54:57 +01:00
Thomas (nezza-_-) Roth
ce2557ccbe GraphView fixes (#214) 2017-12-14 22:07:48 +01:00
Florian Märkl
273c87eaba Remove Theme Selection from Menu
now in PreferencesDialog
2017-12-14 21:06:14 +01:00
don1001
579ad54757 Fix memory leak 2017-12-14 20:55:24 +01:00
Florian Märkl
0ca6fc6b29 Fix Warnings 2017-12-14 20:51:24 +01:00
Florian Märkl
c42b566a4c Move general options from AsmOptionsWidget to new GeneralOptionsWidget 2017-12-14 16:14:33 +01:00
Florian Märkl
94750ea15b Add PreferencesDialog and embed AsmOptions 2017-12-14 14:42:24 +01:00
Florian Märkl
911e4645d5 Change "Running since" to "Running for" 2017-12-14 14:21:17 +01:00
xarkes
33732291e7 Added <file>.r2 auto loading 2017-12-14 13:45:03 +01:00
xarkes
dcf0996293 Added graph zoom reset 2017-12-13 23:57:36 +01:00
Thomas (nezza-_-) Roth
86d467daf9 DisassemblerGraphView: lots of additions.. (#213)
* GraphView: Add refactored graphview with animations etc.
* GraphView: Use new graphview and render background color.
* DisassemblerGraphView: t/f navigation, zoom with +/-, bugfixes.
2017-12-13 22:38:46 +00:00
xarkes
d34b45ab4a Removed CreateNewDialog 2017-12-13 17:20:58 +01:00
Florian Märkl
4213852419 Fetch disassembly with pdJ (Fixes #177) (#210)
* Use pdJ for DisassemblyWidget
* Attach DisassemblyLine to QTextBlock in DisassemblyWidget
2017-12-13 15:30:00 +01:00
Florian Märkl
aafc99dcd6 Fix for Qt 5.5 2017-12-11 20:17:52 +01:00
Paul I
78c7d791cc PseudocodeWidget: Disable line wrapping (#209) 2017-12-11 19:36:21 +01:00
Thomas (nezza-_-) Roth
c03f3395cd Fix #148: Show elapsed time of running analysis. (#207)
* Fix #148: Show elapsed time of running analysis.

* OptionsDialog: Add missing space after elapsed hours.

* OptionsDialog: Hide elapsed label when showing the dialog.
2017-12-11 15:06:26 +01:00
Thomas (nezza-_-) Roth
134c0ebb39 DisassemblyContextMenu: Add delete flag/function/comment. (#206) 2017-12-11 14:07:12 +01:00
Thomas (nezza-_-) Roth
522881c569 Fix #147: Open dialog with advanced level is too tall. (#205) 2017-12-11 11:35:36 +01:00
Thomas (nezza-_-) Roth
e034a010a9 Fix #136: Add a 'Create function' right click. (#202)
* Fix #136: Add a 'Create function' right click.

* cutter: Filter function names.
2017-12-10 21:40:15 +01:00
Thomas (nezza-_-) Roth
4a3371873a Fixes #132: Make File->New create a new cutter instance. (#201) 2017-12-10 19:14:05 +01:00
Thomas (nezza-_-) Roth
746998be71 Fixes #157: Add support for multiline comments. (#200)
* Fix a bug that prevented comments on invalid instructions to be edited

* CommentsDialog: Support multiline comments.

* DisassemblyContextMenu: Remove base64 comment handling.
2017-12-10 19:13:37 +01:00
Thomas (nezza-_-) Roth
df02b91e69 VisualNavbar: Use maps if no sections are available. (#199) 2017-12-10 19:12:22 +01:00
Thomas (nezza-_-) Roth
e3e108f354 Fix #161: Make console dockable. (#198) 2017-12-10 17:55:42 +01:00
Thomas (nezza-_-) Roth
8e0ca36e98 VisualNavbar: Implement scrubbing, higher resolution, fix a ton of bugs. (#197) 2017-12-10 00:22:16 +01:00
Will Dietz
253dae261c Separate platform from use of APPIMAGE (#196) 2017-12-09 23:01:30 +01:00
Will Dietz
44493c6327 VisualNavbar: fix use of std::isnan (#195) 2017-12-09 23:00:29 +01:00
Thomas (nezza-_-) Roth
f36e9277fc Rename Codegraphic to VisualNav and fix some bugs (#192)
* CodeGraphic: Use RVA_INVALID instead of 0 to indicate an invalid address.
* Rename CodeGraphic/GraphicsBar to VisualNavbar
* VisualNavbar: Fix a crash, do some cleanup, fix a resizing bug.
2017-12-08 16:00:52 +01:00
Thomas (nezza-_-) Roth
3f357fbbc3 CodeGraphic: Improve cursor rendering performance (#191)
* CodeGraphic: Improve cursor rendering performance
* GraphicsBar: Don't jump to invalid addresses
2017-12-08 13:21:24 +01:00
Thomas (nezza-_-) Roth
8e0deeb115 CodeGraphic: Small memory and performance improvements (#190) 2017-12-08 10:55:47 +01:00
askme765cs
79b4aefd4e Update Configuration.cpp (#186)
fixed issue #179 Strings not visible as yellow on white 
changed the color7&9  to RGB(255,130,0) to achieve a greater  constract both in default theme and the dark one.
2017-12-08 00:41:42 +01:00
Thomas (nezza-_-) Roth
5c9dec657d Fix & extend CodeGraphic. Adds symbols, strings, etc (#187)
* Fix & extend CodeGraphic. Adds symbols, strings, etc, makes it clickable and shows the current position in the file.

* Don't use designated initializer (fails on AppVeyor).

* CodeGraphic: Change color of symbols to orange for increased contrast.
2017-12-08 00:41:15 +01:00
Thomas (nezza-_-) Roth
5ce151da94 Fix #188: Qt fails to handle long integers when decoding JSON (#189) 2017-12-08 00:37:48 +01:00
Will Dietz
5aedbdba71 shuffle icon names and fix icon installation
* don't refer to non-existant "cutter-small.png"
* icon renaming as requested:
  https://github.com/radareorg/cutter/pull/180#issuecomment-349686261
* Fixes #174

References semi-automatically updated to track
renaming, hopefully caught them all.

(appears to have worked upon quick inspection)
2017-12-07 11:46:23 +01:00
Thomas (nezza-_-) Roth
8bc7213b8c Add basic Pseudocode tab (Fixes #142) (#184)
* Add basic Pseudocode tab (Fixes #142)
* Add missing include to fix Windows build
* PseudocodeWidget: Move refreshPseudocode to slots to silence warning
2017-12-07 00:19:14 +01:00
Thomas Roth
3f05e55bbe Fix #155: Save project dialog doesn't handle ESC key 2017-12-06 18:02:32 +01:00
Thomas (nezza-_-) Roth
6752cd35e2 Fix style of last commit. 2017-12-06 17:35:43 +01:00
Thomas Roth
a729568a51 Allow file selection by drag & drop (#173) 2017-12-06 17:35:43 +01:00
xarkes
496cbcfd4d Fix invalid close() 2017-12-06 14:46:10 +01:00
xarkes
e4fe1e180d Fix #146 2017-12-06 13:32:35 +01:00
Matteo
4370503c98 Reduced margins on open file (#141) 2017-12-05 00:48:28 +01:00
xarkes
cc44246ad6 Replace wrong word (Fix #127) 2017-12-04 23:30:58 +01:00
Matteo
e52468243d added about cutter at openfile dialog (#140) 2017-12-04 22:38:09 +01:00
Alexandre L
6c6f743f97 Add aab and hasnext in advanced analysis (#137) (#139) 2017-12-04 22:36:02 +01:00
Florian Märkl
7c2bd975f9 Use Icon with Background on Linux 2017-12-04 16:27:37 +01:00
Florian Märkl
9f582b3b82 Update cutter.icns 2017-12-04 16:27:37 +01:00
Florian Märkl
10f46616dc Add Icons with Background 2017-12-04 16:27:37 +01:00
Florian Märkl
572ba02a76 Do not update DisassemblyWidget at RVA_INVALID 2017-12-04 14:11:13 +01:00
Florian Märkl
af9ace7458 Select Parsing Tab by default in HexdumpWidget 2017-12-03 22:04:47 +01:00
Florian Märkl
8ca69ff5fc Correct update after rename X used here 2017-12-03 21:59:38 +01:00
Florian Märkl
a101d3508f Use default margins and spacing in dialogs 2017-12-03 21:59:38 +01:00
Florian Märkl
f4e7880152 Use anj for rename X used here 2017-12-03 21:59:38 +01:00
Florian Märkl
baea88d744 Add rename X used here 2017-12-03 21:59:38 +01:00
Florian Märkl
f80cf8eb03 Cleanup Nodepad 2017-12-03 21:50:32 +01:00
Florian Märkl
a7eec66110 Disable some unimplemented Context Menu Entries 2017-12-03 21:50:32 +01:00
Florian Märkl
10ce6e7e88 Fix regular Rename from DisassemblyContextMenu 2017-12-03 21:23:02 +01:00
Florian Märkl
fab611f1b0 Fix Omnibar 2017-12-03 21:07:14 +01:00
Florian Märkl
2a7d2b79b6 Adjust more buttons and logo in AboutDialog to dark theme 2017-12-03 21:01:11 +01:00
Florian Märkl
2417963329 Adjust buttons to theme (Fix #89) 2017-12-03 17:26:01 +01:00
Florian Märkl
f7cb84994a Adjust logo in NewFileDialog and OptionsDialog to palette #89 2017-12-03 15:46:22 +01:00
Florian Märkl
fde759b6ae Reset Settings for asm options (Fix #123) 2017-12-03 13:48:51 +01:00
Florian Märkl
7d9cfca2d8 Fix Reset Settings for Themes #123 2017-12-03 13:10:09 +01:00
Florian Märkl
b63d85b23d Fix nested CommentsWidget double click (Fix #119) 2017-12-03 12:47:26 +01:00
Florian Märkl
40a3928ab6 Clean up Hexdump sidebar a bit more #121 2017-12-03 11:50:14 +01:00
xarkes
4f1007a0cb SDB Browser (Fix #120) 2017-12-03 02:51:51 +01:00
xarkes
5b21f970ac Clean up Hexdump Sidebar (Fix #121) 2017-12-03 02:44:12 +01:00
Florian Märkl
096db4b7e4 Set list item colors to system default 2017-12-02 20:15:12 +01:00
xarkes
709d20105e Remove some errors 2017-12-02 18:54:00 +01:00
xarkes
19f419eb0d Set hexdump widget read only 2017-12-02 18:17:42 +01:00
Florian Märkl
903f2042e6 Add copy to DisassemblyWidget 2017-12-02 16:43:21 +01:00
Florian Märkl
dfc80a3b9b Use correct highlight color in graph 2017-12-02 16:22:05 +01:00
Florian Märkl
c89ec30da4 Optimize colors a bit #89 2017-12-02 16:17:56 +01:00
Florian Märkl
5fb0527acf Enhance DisassemblyWidget highlighting 2017-12-02 16:03:55 +01:00
Florian Märkl
65ec19ddbf Highlight cursor line, not always first of offset in DiassemblyWidget 2017-12-02 14:27:15 +01:00
Florian Märkl
de010d4c6c Seek on right click in DisassemblyWidget 2017-12-02 14:10:15 +01:00
Florian Märkl
61549f401e Edit Comment from DisassemblyContextMenu 2017-12-01 11:46:13 +01:00
Florian Märkl
82e2ddf6e6 Do not seek after adding a comment 2017-12-01 10:12:05 +01:00
Florian Märkl
6c3d1d2582 Fix a bug that caused startup to hang 2017-11-30 15:00:22 +01:00
xarkes
691d567c61 Add escape shortcut for DisassemblyWidget too 2017-11-28 16:43:59 +01:00
Florian Märkl
ca3efec644 Remove PreviewWidget, Fix #114 2017-11-28 15:55:41 +01:00
Florian Märkl
dd744cb64e Hide Immediate Base menu if not needed 2017-11-28 14:50:41 +01:00
Florian Märkl
7f378d66c3 Force asm.offset=true for now 2017-11-28 14:24:35 +01:00
Florian Märkl
fad16b4a17 Set immediate base from right click menu, Fix #17 2017-11-28 14:13:22 +01:00
Florian Märkl
871b930519 Fix Disassembly double click, Fix #112 2017-11-28 12:56:38 +01:00
Florian Märkl
816cc6151f Fix preview in XrefsDialog 2017-11-28 12:26:52 +01:00
Florian Märkl
85c2e32e16 Show dst instruction in xrefs from, Fix #113 2017-11-28 12:22:48 +01:00
Florian Märkl
d608c8d067 Use afi. for function checking 2017-11-28 12:03:36 +01:00
Florian Märkl
211bf464a3 Switch to Disassembly when there is no fcn, Fix #111 2017-11-28 11:34:47 +01:00
xarkes
2f91f5b07c Fix build (2) 2017-11-27 21:59:29 +01:00
xarkes
92d7362e54 Fix build 2017-11-27 21:49:37 +01:00
Florian Märkl
157931867a Clean up MainWindow menu 2017-11-27 18:28:44 +01:00
Florian Märkl
86eaf3a99d AboutDialog formatting 2017-11-27 18:10:25 +01:00
xarkes
1b07e05e5d Fix #110 (top 3 contribs in About Dialog) 2017-11-27 17:24:31 +01:00
xarkes
d8d4de9625 Fix #69 (xref name resolving) 2017-11-27 17:05:10 +01:00
xarkes
e5859a8422 Fix #68 2017-11-27 12:18:47 +01:00
xarkes
b9a45ae00b Fix offset issue in rename + code cleaning 2017-11-27 10:24:31 +01:00
xarkes
d276e438e8 Fix rename function 2017-11-27 09:22:52 +01:00
Florian Märkl
ad6a357c22 Remove some useless output 2017-11-26 22:57:57 +01:00
Florian Märkl
cc7a6533c0 Use config font in ConsoleWidget and Hexdump parse 2017-11-26 22:54:44 +01:00
Florian Märkl
aa15f0b7ae Optimize colors a bit #89 2017-11-26 22:43:17 +01:00
Florian Märkl
934c85da2a Set default sorting to ascending for lists 2017-11-26 22:31:36 +01:00
xarkes
9d242f1fa9 Fix #22 2017-11-26 17:53:05 +01:00
Florian Märkl
2a7981a36a Fix hiding opcode info in SidebarWidget 2017-11-26 14:40:24 +01:00
Florian Märkl
875fad3d67 Use prj.simple by default
Add checkbox in SaveProjectDialog
Fix #109
2017-11-26 14:17:20 +01:00
Florian Märkl
3ee8c68a4a Fix a crash and quitting accidentally 2017-11-26 13:36:24 +01:00
Florian Märkl
2aabec9d05 Optimize UI for dark system themes #89 2017-11-25 15:56:49 +01:00
Florian Märkl
b7808029a2 Remove unnecessary output 2017-11-25 15:17:44 +01:00
Florian Märkl
be54694877 Check for empty string in CutterCore::cmdj() 2017-11-25 15:15:58 +01:00
Florian Märkl
b0137892cd Fix closing file in CutterCore::tryFile(), Fix #26 2017-11-25 14:22:13 +01:00
Florian Märkl
484b3028a3 Fix MainWindow deleting core 2017-11-25 11:20:50 +01:00
Florian Märkl
5753ebd54d Add "Graph" to graph title 2017-11-21 18:48:01 +01:00
xarkes
130996f593 Fix #74 2017-11-21 15:33:15 +01:00
Florian Märkl
9927f2cf20 Require QtSvg 2017-11-21 12:58:43 +01:00
Florian Märkl
79c57929be Fix font configuration 2017-11-20 22:28:22 +01:00
Florian Märkl
a454ca68f8 Use system monospace font by default 2017-11-20 21:28:55 +01:00
Florian Märkl
f7958a802f Add TempConfig, Fix some issues with scr.color 2017-11-20 21:14:35 +01:00
Florian Märkl
ec4d11f9c0 Use color theme in Hexdump 2017-11-20 17:38:10 +01:00
xarkes
0195806cfe Added dark theme 2017-11-20 12:46:30 +01:00
xarkes
84168cb340 Colors modifications 2017-11-20 12:46:30 +01:00
Florian Märkl
3a4e87ca41 Replace HexdumpWidget::resizeHexdump() with sizePolicy 2017-11-20 11:29:59 +01:00
Florian Märkl
2775b4bb0a Use global font for Hexdump, Remove old menu 2017-11-20 11:15:48 +01:00
Florian Märkl
e9c09d8fa1 Remove additional lines from Disassembly 2017-11-20 11:04:03 +01:00
Duncan Ogilvie
0dc57d095d
Don't attempt to draw outside of the graph viewport 2017-11-20 00:08:53 +01:00
Florian Märkl
6b650dbc14 Hexdump Header 2017-11-19 22:21:02 +01:00
Florian Märkl
8989de8362 Small fix for older Qt versions 2017-11-19 18:49:29 +01:00
Florian Märkl
cfc5f78c92 Add/remove lines on Hexdump resize 2017-11-19 15:09:48 +01:00
Florian Märkl
1f6a29b458 Fix Hexdump initial scroll 2017-11-19 15:05:47 +01:00
Florian Märkl
61fd2b3058 Replace DockWidget with CutterCore::refreshAll() signal 2017-11-19 14:04:25 +01:00
Florian Märkl
a8cf0cbe19 Remove obsolete actions, Move SDB Browser action to Windows menu 2017-11-18 16:06:55 +01:00
Florian Märkl
2bb6b54e01 AStyle, remove a comment 2017-11-18 16:01:06 +01:00
Florian Märkl
294eb672d7 Remove old sidebar 2017-11-18 15:57:00 +01:00
Florian Märkl
4833a1bdc7 Fix Hexdump scroll for cursor moving out of bounds 2017-11-18 15:33:52 +01:00
Florian Märkl
1bdb9ae80f Fix Hexdump bounds 2017-11-18 13:56:48 +01:00
Florian Märkl
e62d731783 Hexdump scroll 2017-11-17 16:12:51 +01:00
Florian Märkl
c74c743f79 Implement HexdumpWidget::refresh() 2017-11-17 10:42:57 +01:00
Florian Märkl
c0248c8bf6 HexdumpWidget: visible lines calculation 2017-11-17 10:42:57 +01:00
Florian Märkl
bde54511a9 Prepare HexdumpWidget 2017-11-17 10:42:57 +01:00
Florian Märkl
225e089469 Fix -A argument 2017-11-17 10:41:01 +01:00
Properrr
f75b630f0c Fixed #98 Rename in a non-function (#105) 2017-11-08 17:17:24 +04:00
xarkes
2ccef94ea5 Fix #79 2017-11-08 10:18:07 +01:00
Properrr
377efa7050 Fixed #98 Rename in a non-function (#104) 2017-11-08 13:02:39 +04:00
Florian Märkl
adef80e9e8 Remove cursorAddress, Fix current function display (#103) 2017-11-07 21:11:33 +08:00
twz
da68aa9889 Refresh DisassembyWidget on AsmOptionsChange (fix #96) (#102)
handle asmOptionsChanged signal
2017-11-07 12:16:49 +04:00
xarkes
7c8e0b708c Fix #93 + cleaning 2017-11-05 16:08:17 +01:00
Florian Märkl
e8b2cf3fea Add Cutter Icon (#94) 2017-11-05 18:19:47 +04:00
xarkes
6b42ffca0c Fix #90 2017-11-04 16:37:07 +01:00
Florian Märkl
54344fd259 Fix FunctionsWidget sorting (#91) 2017-11-04 19:28:02 +04:00
Florian Märkl
46bf0761bb Dynamic Memory Widget Priority (#86)
* Memory Widget priority from last user-selected widget

* CutterCore::raisePrioritizedMemoryWidget signal

* Space shortcut to switch between Disassembly/Graph

* Set default memory widget priority to Disassembly
2017-11-04 19:46:29 +08:00
Florian Märkl
0b5a351d5f Default Layout (#84)
* Basic default layout
* Workaround to set default widths for QDockWidgets
* AStyle
2017-11-03 21:22:54 +04:00
Properrr
bfed7d43ed Add ';' shortcut for "Add comment" (#78)
* Add ';' shortcut for "Add comment"
2017-11-03 15:31:20 +04:00
Florian Märkl
9dc51b9801 DisassemblyWidget (#80)
* Fix scrolling down in DisassemblyWidget

* DisassemblyWidget backwards scrolling

* DisassemblyWidget with custom scrolling

* Temporarily fix HexdumpWidget resizing like crazy

* Decouple DisassemblyWidget scrolling from seek

* DisassemblyWidget resizing

* DisassemblyWidget cursor from seek position

* Seek by DisassemblyWidget click

* Better up scrolling in DisassemblyWidget

* DisassemblyWidget: do not always seek, better bottomOffset

* DisassemblyWidget: avoid flicker, retain selection over lines, fix last line selection

* Update DisassemblyWidget on comment change

* Cleanup DisassemblyWidget scrolling code
2017-11-02 10:48:32 +04:00
xarkes
638956b41b Removed warnings 2017-10-24 10:18:16 +02:00
xarkes
4c971ef8e8 Moved theme selection in submenu 2017-10-24 10:03:05 +02:00
xarkes
18fe4375d4 Fix AppImage share path 2017-10-23 23:54:35 +02:00
xarkes
f45b3d6e93 Fix travis build 2017-10-23 11:37:30 +02:00
xarkes
37b73ed223 Fix share path for AppImage 2017-10-23 11:22:15 +02:00
xarkes
d24f049e65 Pseudo fix disassembly scrolling 2017-10-22 15:55:42 +02:00
xarkes
d2c50a803c Added colors to DisassemblyWidget 2017-10-22 12:21:44 +02:00
xarkes
3c6f735832 Fix #70 and Fix #72 2017-10-22 09:31:30 +02:00
xarkes
df59a96094 Fix #71 2017-10-22 08:49:53 +02:00
Florian Märkl
c73d9a0678 Projects Management (#66)
* Add TabWidget to NewFileDialog
* Project loading from NewFileDialog
* Projects dir in NewFileDialog
* Add SaveProjectDialog
* Make SaveProjectDialog work, refactor project saving and Notepad
* Add shortcut for Save
* Fix notes loading
* Sort projects in NewFileDialog
* Implement selecting projects dir in SaveProjectDialog
* Fix QAbstractButton include
2017-10-21 21:20:10 +02:00
Florian Märkl
69c86b0473 Set objectName for Graph Widget (#65)
* Set objectName for Graph Widget
2017-10-20 18:02:35 +02:00
xarkes
5e2223978d Shortcuts fixes 2017-10-16 21:00:47 +02:00
Duncan Ogilvie
e3e070d094 Remove cutter win32 (#58)
* remove cutter_win32
* build without compile errors
* temporary workaround for sdb problems (now compiles again at least)
* totally not a hack to get sdb working
seriously, don't do this but it works
2017-10-15 21:19:48 +02:00
Florian Märkl
ff080c1d3c Remove QtWebEngine (Fix #60)
* Remove QML QtWebEngine dependency

* Remove Web graphs from Dashboard

* Remove web graphs from SidebarWidget

* Remove web mini graph from PreviewWidget

* Remove all remaining html and QtWebEngine dependencies

* Update docs/Compiling-with-CMake.md after QtWebEngine removal

* Remove QtWebEngine from Travis
2017-10-15 13:40:20 +02:00
xarkes
65835f0dc9 Small refactor 2017-10-15 13:38:28 +02:00
xarkes
1ca9b06519 First try with colors 2017-10-15 12:06:14 +02:00
xarkes
34ef34c581 Added comments to graph view 2017-10-14 13:00:23 +02:00
xarkes
48e9767a66 Removed RadareWebServer (useless) 2017-10-14 11:45:11 +02:00
xarkes
e54b0ee106 Updated Configuration model + Added Font selection 2017-10-14 11:35:49 +02:00
xarkes
84d63ef363 Code cleaning 2017-10-13 15:56:47 +02:00
Florian Märkl
12e64cf052 Breakup MemoryWidget (#51)
* Add SidebarWidget from disassembly sidebar

* Remove disassembly sidebar from MemoryWidget

* Add HexdumpWidget from MemoryWidget

* Remove Hexdump from MemoryWidget

* Make PreviewWidget from MemoryWidget

* Some cleanup

* Rename DisassemblyView to DisasseblyWidget
2017-10-13 15:56:47 +02:00
xarkes
b4867cadef Moved disassembly view to its own class 2017-10-13 15:56:47 +02:00
xarkes
7b3d5ea7a7 Fix graph double click 2017-10-12 14:35:30 +02:00
xarkes
822d088f52 Fix graph jump color 2017-10-12 14:14:36 +02:00
xarkes
3c9e3be550 Fix segfault 2017-10-12 14:03:09 +02:00
xarkes
df3e9c2efa Tiny fix 2017-10-11 23:57:06 +02:00
xarkes
d53fd621c5 Moved graph from MemoryWidget to MainWindow
(Broke other dock windows -- not refreshed)
2017-10-11 13:22:30 +02:00
xarkes
27d2bca4f9 Cleaning 2017-10-10 12:18:10 +02:00
xarkes
a70001bf59 Merged disassembly and graph right click 2017-10-10 12:17:05 +02:00
xarkes
93195999d8 Made CutterCore singleton 2017-10-09 20:09:35 +02:00
xarkes
179394288e Set console widget smaller by default 2017-10-09 12:06:34 +02:00
xarkes
781ceedf9c dos2unix DisassemblerGraphView.cpp 2017-10-09 11:38:57 +02:00
xarkes
3542f0fd57 Appveyor artifact (#37) 2017-10-08 08:23:22 +02:00
xarkes
925eb15c9b Some refactoring 2017-10-03 20:38:34 +02:00
xarkes
4e9d0d0dc1 Added appveyor build (#29) 2017-10-03 14:42:31 +02:00
pancake
d764dd9cf5 Add "Disasm Options" context menu in the Memory Widget 2017-10-03 10:50:07 +02:00
Tim Siebels
2ba3d923a2 %p is only meant for pointers, use %x for hex (#34)
and fix initialization order while at it
2017-10-02 18:26:07 +02:00
Tim Siebels
bafad96bf3 Camel Case all the files (#32)
fixes #30
2017-10-02 18:18:40 +02:00
Tim Siebels
b8bd62efe2 Use unique_ptr for ui objects (#31) 2017-10-02 11:41:28 +02:00
xarkes
e4f3569a98 Removed License Fix#25 2017-10-02 10:11:34 +02:00
Tim Siebels
1b30240a67 Fix CMake build again (#28)
Qt with CMake doesn't seem as robust as qmake is.
It didn't work to include ui_* files from a different directory.
2017-10-02 10:06:10 +02:00
xarkes
b1d26f63ce Removed debug infos 2017-10-02 00:28:59 +02:00
xarkes
5bd79506ac Removed old web graph view 2017-10-02 00:25:33 +02:00
xarkes
83608be332 Renamed files to CamelCase 2017-10-01 21:16:38 +02:00
Tim Siebels
1f0aede403 Improve codebase (#20) 2017-10-01 20:08:12 +02:00
Florian Märkl
675ca69976 Add more options in the menu and loading 2017-10-01 18:03:06 +02:00
Florian Märkl
808da402da Disassembly Options Dialog (#21)
* Add AsmOptionsDialog
* Add bbline to AsmOptionsDialog, properly handle defaults
* Remove now redundant asm options from right click and menu
2017-10-01 16:36:40 +02:00
Tim Siebels
ffa52bd3e8 Fix pessimizing move (#19)
moving a return value generally is unnecessary, as it prevents return value optimization.

The standard defines, that (named) return value optimization, i.e. copy elision
is only possible when returning a value from a non-volatile automatic object
or when it's a temporary that has not been bound to a reference.
(N)RVO is not possible when wrapping it with std::move, because the compiler
is not allowed to do copy elision from arbitrary function calls.

I think this was the intended purpose of this code. Also, it is cleaner.
2017-10-01 15:55:47 +02:00
Tim Siebels
7f71cace8e Mark functions as override where possible (#18) 2017-10-01 15:55:38 +02:00
xarkes
25a4d06697 Added new graph view (WIP)
* This known unstable just a PoC
2017-09-30 13:13:05 +02:00
Florian Märkl
97ee9f17b6 Implement forcing format in OptionsDialog 2017-09-29 13:32:53 +02:00
Tim Siebels
bbf424a950 Do not display deleted files as recent files (#15) 2017-09-29 09:59:03 +02:00
xarkes
f3448fa886 Removed forgotten cutter binary 2017-09-29 00:06:43 +02:00
Tim Siebels
3ccafcaef3 Move loading binary into thread (#13)
Reduce pressure on the main thread
2017-09-29 00:04:57 +02:00
Tim Siebels
5178046df2 Use human readable byte sizes for previous sessions 2017-09-28 22:10:02 +02:00
Florian Märkl
98206fbddd Add asm.cpu and pdb loading to OptionsDialog (#6)
* asm.cpu in OptionsDialog, Fix asm.os
* PDB in OptionsDialog
2017-09-27 22:23:18 +02:00
Tim Siebels
715e81e3cd Fix CMake build (#8)
for some reason I do not understand, this is necessary for AUTOUIC
to be able to recognize the file.
2017-09-27 21:46:38 +02:00
Maijin
9b4668ff02 Rename iaito -> cutter 2017-09-26 10:32:03 +02:00
Maijin
9257294727 Fix more iaito -> cutter 2017-09-25 19:51:49 +02:00
xarkes
821602eabd Renamed Iaito to Cutter 2017-09-25 14:55:41 +02:00
xarkes
5b9e6ea661 Updated r2 version (#213) 2017-09-23 15:37:44 +02:00
Alexandr Filatov
15bdbef4a0 Add tr() to visible strings; fix #119 (#209)
* Add tr() to visible strings; close #119
2017-09-09 11:36:15 +02:00
N. Fontenot
f3aba5fdd0 Add icon to the build system output. (#208)
* Add icon to the build system output.
Make newly externally visible icon globally unique.
Compensate for this change in the .desktop and in the AppImage.
2017-09-02 22:48:41 +02:00
xarkes
b64fd5ad11 Fix travis build 2017-09-02 12:06:00 +02:00
xarkes
7e493f6cb4 Warning removing 2017-09-02 10:46:48 +02:00
xarkes
2e79090a11 More friendly asm syntax changing 2017-09-02 10:17:48 +02:00
xarkes
c07f486920 Added option to display address Fix#113 2017-09-01 15:03:35 +02:00
xarkes
6f42504246 Fix build on linux 2017-09-01 10:45:09 +02:00
Sergi Àlvarez i Capilla
3a1d27a67f Fix build with QT Creator (#193)
* Fix build with QT Creator
* Only clobber includes on unix
* Update r2 submodule
2017-08-31 19:51:45 +02:00
Tennn
142f0941c4 fix small warning (#202)
* 111

2222

* fix small warning

* remove

remove
2017-08-31 19:44:11 +02:00
xarkes
a71f2a8b27 Fix #114 (#205) 2017-08-31 19:43:46 +02:00
sergiodmn - kms
76bc053a8c Analysis Menu-Cursor changes Issue #124 (#189)
* Add relro in the dashboard #105
2017-07-24 13:05:28 +02:00
Florian Märkl
6c8adef74b Trigger CMake reconfigure if iaito.pro changes and disallow in-source builds. (#184)
* Trigger CMake reconfigure if iaito.pro changes

* Disallow in-source builds with CMake

* CMake: move disallowing in source build to separate script
2017-07-17 14:04:32 +02:00
sergiodmn - kms
6dd0bd1c6a Entrypoints panel Issue Fix #77 (#192)
* Panel to list entrypoints Issue #77

* Panel to list entrypoints Issue #77

* Fix build error
2017-07-13 20:49:12 +02:00
Daniel Molkentin
76f3cc07fc Allow opening read-only files (e.g. system binaries) (#196) 2017-07-11 18:41:58 +02:00
Florian Märkl
6ed212a4ef Add flag in disassembly context menu, changes in disassembly refreshing (#197)
* Prepare Add Flag
* Flag Dialog
* MainWindow::globalSeekTo() signal
* Load more disassembly in refresh if necessary
2017-07-11 13:05:42 +02:00
Hanzō Hattori
771eccc125 Renaming QRCore and QRDisasm to IaitoRCore and IaitoRDisasm (#187)
* Renaming QRCore and QRDisasm to IaitoRCore and IaitoRDisasm

* Included AStyle formatting changes
2017-07-02 13:11:02 +02:00
Florian Märkl
6d90a98a6f Replace all icons with SVGs and add Iconic License (#183)
* Replace all icons with SVGs

* Add Iconic License
2017-06-15 11:53:10 +02:00
pancake
d033b52875 Fix minor issues introduced recently 2017-06-09 10:40:27 +02:00
Florian Märkl
3f8f904ebd Some more X-Ref changes (#185)
X shortcut for X-Refs in MemoryWidget
2017-06-09 00:40:43 +02:00
pancake
9954f31a32 Fix undefined dereference in JSON decoding for relro 2017-06-09 00:28:42 +02:00
sergiodmn
5931097b66 Add relro in the dashboard #105 2017-06-08 05:54:06 +02:00
Florian Märkl
f35ce99495 Fix XrefsDialog, X-Refs in Sidebar from JSON 2017-06-08 05:53:40 +02:00
Florian Märkl
132cebf8a1 Refactor XrefsDialog 2017-06-08 05:53:40 +02:00
Florian Märkl
af39658da7 XRefs from JSON Commands 2017-06-08 05:53:40 +02:00
mrexodia
e7f6cdcd8a
fixed a deadlock (updated r2) 2017-06-04 16:54:33 +02:00