Commit Graph

2373 Commits

Author SHA1 Message Date
Kārlis Seņko
26c9dcc76c Use more approriate font mentrics in graph and hex views
* fix excessive graph padding for some fonts
* refactor code to make the position calculations more maintainable
* reduce graph view padding from 2 to 1 character widths in monospace
fonts
2021-06-02 20:34:27 +02:00
xarkes
90f5f2d4cc Fix a crash when printing disassembly arrows 2021-05-13 18:00:10 +03:00
Kārlis Seņko
8d4c860690 Update version to 2.0.2 2021-04-24 20:52:48 +03:00
Anton Kochkov
e9841215f3 Update Rizin to the v0.2.1 2021-04-24 13:14:15 +03:00
Kārlis Seņko
8da572d6ec Fix crash due to language handling when opening settings.
Qt doesn't have native language name for some of them. Trying to
capitalize it caused crash.

Use `QLocale(QString)` constructor instead of manually looping and
comparing. The old code incorrectly matched "tr" as "trv".

Don't try to capitalize language name:
* In many cases Qt already returns it capitalized
* capitalization doesn't make sense for some scripts
* in general case splitting first "character" is a hard problem
* in some languages even with latin based scripts name of language isn't
a proper noun which needs to be capitalized
2021-04-24 13:13:36 +03:00
Kārlis Seņko
585dc961db Qt6 keyboard and mouse API compatibility
* Some of the API replaced int with QKeyCombination, use typedef in
cutter code
* Use of + operator depracted, replace with recommended "|" operator
* QMouseEvent globalPos and localPos renamed to globalPosition and
position, replace with helper function or use of integer position which
wasn't renamed.
2021-04-24 13:13:36 +03:00
Kārlis Seņko
2799390314 QT6 color handling changes
* use typedef for floating point value used in color related API
* changes in screen grabbing API used by color picker
2021-04-24 13:13:36 +03:00
Kārlis Seņko
988918a038 Various fixes for functionality deprecated or removed in QT6. 2021-04-24 13:13:36 +03:00
Kārlis Seņko
fe92aaeb3d Update usage of deprecated qt model and regex API. 2021-04-24 13:13:36 +03:00
Kārlis Seņko
820aa98b7b Fix crash and wrong behavior caused by qt model/view changes
* Crash caused by list varibles getting initialized after the models
using them. Previously Qt didn't try to access them so early. Move them
to the models as there is no need to share them betwen view and models.
* Fix empty color list by using begin/endResetModel instead of
dataChanged to signal changes in data.
2021-04-24 13:13:36 +03:00
Kārlis Seņko
da17c6e411 Build system compatiblity with QT6.
Qt6 moved some of the functionality to separate modules.
2021-04-24 13:13:36 +03:00
karliss
4328f5df5a
Adjust prefix handling due to rizin portable mode changes. (#2671) 2021-04-20 06:34:52 +03:00
Itay Cohen
1f129618e0
Fix pacakage name for macOS builds (#2668) 2021-04-15 22:13:57 +03:00
Florian Märkl
8d47919234
Update Version to 2.0.1 (#2663) 2021-04-10 11:32:17 +02:00
Kārlis Seņko
8c659feb43 Fix path when building appimage, caused by #2574 2021-04-10 10:14:35 +02:00
Kārlis Seņko
fe3a93cce0 Fix attaching debugger using pid. 2021-04-10 10:14:35 +02:00
Kārlis Seņko
95879d4835 Use latest jsdec and rz-ghidra to match rizin version 2021-04-10 10:14:35 +02:00
Anton Kochkov
1488ff2eb3 Update Rizin to the v0.2.0 2021-04-10 10:14:35 +02:00
karliss
3a32ea741e
Set macOS deployment target to 10.14 Mojave. (#2650) 2021-04-07 10:30:50 +02:00
karliss
d39046c9e0
Install clang8 used by pyside at build time. (#2656)
Necessary to match with version used by cutter-deps.
2021-04-05 11:04:17 +03:00
Surendrajat
18124723c9
remove build.sh (#2654) 2021-03-31 20:18:19 +03:00
Florian Märkl
396f8e6d7a
Update Rizin to 0.1.2 (#2647) 2021-03-30 12:04:48 +02:00
Florian Märkl
e28b2a15b0
Update Rizin to Release 0.1.1 (#2646) 2021-03-27 22:11:26 +01:00
Florian Märkl
a1f751abb3 Update Version to 2.0.0 2021-03-27 15:58:31 +01:00
Florian Märkl
00da6bbed5 Update Translations 2021-03-27 15:43:31 +01:00
Florian Märkl
70834bfdad
Update Rizin for Project Config Exclusions (#2645) 2021-03-27 14:11:37 +01:00
karliss
da457b0682
Fix .DMG background (#2642) 2021-03-21 18:29:25 +01:00
karliss
a74feab741
Use jsdec tag matching rizin verison. (#2640) 2021-03-21 12:38:21 +02:00
yossizap
749cc63c9c
Show stack address value in executable addresses (#2641) 2021-03-20 21:12:06 +00:00
karliss
1abd2b7ab0
Add release binary upload from GHA. (#2623)
* Add release binary upload from GHA.
* Update get release so that it works with draft releases.
* Distinguish release from CI builds in package name
  - regular ci builds -> Cutter-git-<date>-<hash>-<platform>
  - release tags -> Cutter-git-<tag>-<platform>
2021-03-15 21:08:19 +02:00
Itay Cohen
8da70aaf05
Enable CUTTER_USE_BUNDLED_RIZIN by default (#2622)
* Enable CUTTER_USE_BUNDLED_RIZIN by default
2021-03-15 06:47:51 +02:00
karliss
a18a3a8b46
Use relative line numbers instead of addresses when placing arrows. (#2636)
The used data structures are intended for dense ranges, using addresses
directly can cause excesive memory usage.
2021-03-13 18:36:22 +02:00
Florian Märkl
db5097aa72
Update Rizin to current stable (#2630) 2021-03-10 23:01:48 +01:00
karliss
d73d486ca0
Add setting import from Cutter before RadareOrg to rizin renames. (#2588) 2021-03-06 18:26:58 +01:00
Florian Märkl
35b9ffa548
Set rz-ghidra to rz-0.1.1 Tag (#2624) 2021-03-05 20:47:41 +01:00
Surendrajat
9601aac6fa
deploy docs (#2616) 2021-03-03 14:52:37 +02:00
Itay Cohen
6cbf0c0cbf
Better handle project names (#2603) 2021-02-28 16:51:08 +02:00
yossizap
de234e600e
Add dbg.trace_continue to debug options (#2613) 2021-02-26 19:03:28 +02:00
Florian Märkl
6da02c6a02
Update for RZ_GITTAP Removal (#2608) 2021-02-24 18:52:35 +01:00
Florian Märkl
f95751c4cd
Remove Organization Domain to set QSettings path on macOS to ~/.config/rizin/cutter.ini (#2607) 2021-02-24 10:15:32 +02:00
GustavoLCR
b4b9b312e7
Offer a default function name in actionAnalyzeFunction input box (#2572) 2021-02-24 10:10:54 +02:00
Itay Cohen
42f01fcf5d
Support loading projects from the command line (#2606) 2021-02-24 08:10:01 +02:00
Surendrajat
7491434dc4
limit linter CI to master branch (#2609) 2021-02-21 15:07:15 +02:00
Alexis Ehret
a47c2bb5aa
Add clang-format linter CI jobs (#2604) 2021-02-19 16:32:58 +02:00
karliss
0553d3ffdb
Add JSDec packaging for macos. (#2580) 2021-02-18 16:36:27 +02:00
Itay Cohen
4501a6ba44
Update Windows building instructions (#2590) 2021-02-18 16:35:53 +02:00
optizone
00d2245538
refactor DisassemblyLeftPanel::paintEvent (#2559) 2021-02-15 08:46:57 +02:00
yossizap
8f89d1641b
Add reverse debugging (#1918)
* Add initial reverse debugging support

* Add reverse debug icons

* Added an option to stop the debug session and enabled continue and step back

* Added a new icon for stop trace and recolored start trace

* Toggle reverse debug actions when not tracing

* Stop existing trace sessions in stopDebug

* Ported to Rizin

* Set reverse icons to invisible when not in a trace session instead of disabled

* Updated rizin submodule

* Cleaned up step and continue events

* Apply clang format
2021-02-13 17:35:57 +00:00
Itay Cohen
3b8f98ca42
Update the docs about Projects (#2589) 2021-02-05 15:52:59 +01:00
カワリミ人形
da5940e38b
Update README.md (#2586)
Calling `brew cask install` is disabled
2021-01-29 12:45:50 +02:00