Commit Graph

548 Commits

Author SHA1 Message Date
xarkes
689cb06ff2 Some HexdumpWidget fixes 2018-02-07 21:15:33 +01:00
nico
ef8118a52e Refactored code to handle NewFile dialog to honor black theme fix #291 (#315)
* Added displayNewFileDialog()

* Added MainWindow::displayNewFileDialog()

* Use displayNewFileDialog()
2018-02-06 19:23:01 +01:00
nico
fc6159c6b3 Remove the close button and put the About one under the cutter logo fix #289 (#313)
* removed cancelButton_clicked()
* removed NewFileDialog::on_cancelButton_clicked()
* removed cancel button and moved about button
2018-02-04 21:54:54 +01:00
Florian Märkl
3dcd9cab9d Add asm.fcnlines option (Fix #248) 2018-02-04 20:34:52 +01:00
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