Commit Graph
99 Commits
Author SHA1 Message Date
iceman1001 f6e0119f5f added PACE (--can) support to emrtd commands. 2026-08-21 22:32:06 +02:00
iceman1001 68af7e2582 - now correctly shows multiple images in the image viewer. Thanks Claude! 2026-08-21 19:41:27 +02:00
Shawn Hoffman 148e5ed2d1 python fixes
now, one can do "script run mything.py" multiple times without
crashing, and exit codes are correct.

Pm3PyRun_SimpleFileNoExit:
* use XDECREF instead of DECREF (handles possible nullptr).
* don't double-free "er".
* print exit status correctly.

CmdScriptRun:
* allow invoking scripts multiple times.
* fix memleak of argtable contents if help path not triggered.
* configure_c_stdio should be 0 or 1, not < 0.
* py_conf: don't explicitly set options to their default values, it's confusing.
* Call Py_Finalize only when exiting pm3.

main_loop:
* cleanup cmdscript from main_loop. Important to call
  Py_Finalize from here in case Qt is used (in which case
  main_loop is on Qt thread).

ProxGuiQT::MainLoop:
* reduce timer delay to 0 - there isn't a need to wait here.
2026-05-22 16:38:59 -07:00
iceman1001 2b5f7e1d0c add missing free 2026-03-29 09:41:23 +07:00
Philippe Teuwen 4783712225 make client Qt6 ready. Still need proper Makefile/CMake support... 2026-02-25 19:27:28 +01:00
Philippe Teuwen a73f945c49 fix bug that prevented markers to appear on fresh plot (e.g. hw tune before data plot) 2026-02-23 00:31:21 +01:00
iceman1001 d3627920cd fix some cppchecker warnings, missing null checks, consts 2025-09-02 22:27:45 +02:00
iceman1001 42f0699c78 style 2024-05-14 10:04:28 +02:00
jlitewski b20d3f44ad Fix OOB segfault with markers 2024-04-27 09:06:40 -04:00
iceman1001 f6e0b8c330 style 2024-04-24 09:13:32 +02:00
Iceman 9343014b68 Merge branch 'master' into purring-basilisk
Signed-off-by: Iceman <iceman@iuse.se>
2024-04-22 17:41:01 +02:00
iceman1001 3f6ea0f0fc style 2024-04-22 16:35:22 +02:00
jlitewski 791f02209d Implemented Buffer SaveStates 2024-04-20 14:14:15 -04:00
Iceman 591795a8fc Merge pull request #2359 from jlitewski/marker_v2
Graph Markers, Version 2
2024-04-19 17:17:22 +02:00
Jacob Litewski 560b6f9dc2 Marker V2 fixes 2024-04-19 07:53:20 -04:00
Jacob Litewski bb1c662af0 Graph Markers, Version 2 2024-04-18 23:08:33 -04:00
Jacob Litewski dadd6ee65d Disable Rendering the Operation Buffer
For now, at least until I can fully and correctly implement it.
2024-04-18 17:37:06 -04:00
Jacob Litewski 31bfa16b76 Marker code cleanup 2024-04-14 14:58:52 -04:00
Jacob Litewski f2afbca6ec Refactored Plot Annotations and some cleanup 2024-04-13 23:03:35 -04:00
Iceman de7579ab00 Merge pull request #2345 from jlitewski/plot_gui_improvements
Plot Improvements, Round 1
2024-04-13 11:01:32 +02:00
Jacob Litewski 0608a7c530 Minor Changes to the Operation Buffer Implementation
Instead of being initialized as all zeros and showing changes if those values are not zero, it now has a copy of the Graph Buffer data, and will show changes if it's different from what's stored in the Graph Buffer.
2024-04-12 08:34:05 -04:00
Jacob Litewski c2e43c3f46 Rough Implementation of the Operations Buffer
The Operations Buffer is basically a buffer of changes to the Graph Buffer. Instead of writing all the changes to the Graph Buffer directly, I plan to have those changes written to the Operation Buffer, so you can visually see what would be changed before it's applied.
2024-04-11 08:57:26 -04:00
Jacob Litewski 8e3efec3e2 Rename s_Buff to s_OverlayBuff 2024-04-11 08:46:46 -04:00
Jacob Litewski 3d2169b833 Cursor A graph scrolling implementation
If Cursor A goes off the screen, it will reposition the window to place the cursor in the middle of it.
2024-04-10 21:01:05 -04:00
David Driscoll f3d9423f70 Fix compile error from variable type declaration 2024-04-10 11:52:11 -04:00
iceman1001 6a7e70ad26 style 2024-04-10 14:26:05 +02:00
jlitewski ad01195a04 Plot improvements
- Added hotkeys to move the yellow/purple cursor around
- Added hotkeys to manually increment/decrement a value from a plot point
-- This is currently the point where the yellow cursor is at
2024-04-09 22:47:40 -04:00
iceman1001 a913b2c662 style 2023-12-01 10:59:18 +01:00
wh201906 0b9f11a249 Add a slider in the plot window for navigation 2023-11-17 10:59:14 +08:00
nvx 8dd963d305 make style 2023-08-24 16:34:33 +10:00
Alex c26583ebfd Bugfix to keyboard scrolling
At zoom levels above x16 the left and right keys only scroll the graph buffer to the left, even if right key is pressed. Mouse wheel behaves correctly.
Enabled mouse wheel to zoom when control is pressed since that is the more standard UI convention (but left shift scrolling in place).
Minor changes to zooming, using more intuitive constants.
2023-08-09 13:37:38 +02:00
George Talusan 566b805357 add -i to hf emrtd info 2022-07-31 09:46:00 -04:00
iceman1001 372ab2af98 style 2022-06-12 11:51:50 +02:00
Doridian 83943aafc8 and done 2022-06-11 16:16:56 -07:00
Philippe Teuwen 140a7f34a4 make style 2022-01-23 20:02:57 +01:00
iceman1001 3af0f4a0fd no need to save the image file each time its shown 2022-01-22 18:37:00 +01:00
iceman1001 aed07db1f7 added the possibility to show NDEF messages with vCard that has a base64 image to be viewed 2022-01-15 17:38:40 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
Philippe Teuwen 4b936bc20c safer logic when touching locally g_printAndLog 2021-12-13 03:16:57 +01:00
Philippe Teuwen 232843477c typos 2021-10-16 23:44:53 +02:00
Philippe Teuwen 88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen 58dda7a809 rename static globals g_* as gs_*, keep g_ only for exported globals 2021-08-22 00:51:37 +02:00
Philippe Teuwen dd3b63ae32 rename global session 2021-08-21 20:31:05 +02:00
Philippe Teuwen 6a2f2b3979 rename global conn 2021-08-21 20:21:08 +02:00
Philippe Teuwen ce57637c80 rename globals GraphTraceLen OddByteParity pm3_capabilities 2021-08-21 17:53:54 +02:00
Philippe Teuwen a8bb07db3a remove unused global showDemod 2021-08-21 17:42:00 +02:00
Philippe Teuwen f1f2389fb4 rename globals GraphBuffer 2021-08-21 17:39:17 +02:00
Philippe Teuwen faaa70c860 rename globals CursorCPos CursorDPos CursorScaleFactor CursorScaleFactorUnit GraphPixelsPerPoint GraphStart GraphStop GridLocked GridOffset PlotGridX PlotGridY PlotGridXdefault PlotGridYdefault 2021-08-21 17:12:50 +02:00
Philippe Teuwen e4fbfe0f40 rename globals DemodBuffer and DemodBufferLen 2021-08-21 17:12:50 +02:00
Philippe Teuwen 085aa819dc Prevent GraphStart change on empty plot 2021-08-01 22:32:18 +02:00