Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding endianness, radix, and bitness; fixing external file updates and few other small bugs; #81

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

rom-p
Copy link

@rom-p rom-p commented Dec 21, 2021

details:

  • Enabled endianness of displayed data (the main reason behind the change) enabled by the added feature to hexy.js
  • Context Menu: added convenient switch of displaying between 1, 2, 4 and 8 byte words
  • New Fx: added ability to display bytes as binary, octal, decimal and hexadecimal
  • New Fx (issue Unable to see two hexdumps for different files with the same name #59): each file can have its own view settings
  • New Fx: the file view settings are now persistent through the app sessions
  • Context Menu: the above functionality is also accessible via the context menu
  • Bugfix: endiannes was always set to "big", regardless of the UI setting in multi-byte displaying
  • Bugfix: fixed the meaning of endiannes that was incorrectly displayed in the status bar
  • Bugfix: the popup tooltip was showing value of the sequence starting with the byte under cursor, as opposed to the value displayed under the cursor. This change doesn't affect the 2-nibble (one byte) display mode (need before and after screenshots)
  • Bugfix (cannot refresh when file update #79): better tracking of externally modified and deleted files
  • Bugfix ("File Cashing" #77): correctly handling tab closure and therefore removing incorrect data persistency through tab closure and reopening
  • Fixes in hover window:
    • corrected offset calculation for LE mode
    • Int64 and Uint64 values were always the same regardless the position of the cursor
    • Int64 and Uint64 were swapped around: uint was read as signed, and int was read as unsigned
  • Build: fixed build by providing null arguments into resolve() -- the method requires one argument now
  • Dependency: now depending on hexy 0.3.4, which supports endianness and radix
  • Dependency: no longer depending on clipboardly, sprintf-js, and native fs objects -- replaced by vscode's alternatives that work better (some of the bugfixes above are attributed to this)
  • Fit and Finish: removed the "Show Hexdump" menu items from hexdump tabs
  • Other: pulled the changes that are currently present in VS Code distribution, but not in master branch yet (version 1.8.0)
  • Version: updated version number

details:
* Enabled endianness of displayed data (the main reason behind the change) enabled by the added feature to hexy.js
* Context Menu: added convenient switch of displaying between 1, 2, 4 and 8 byte words
* New Functionality: added ability to display bytes as binary, octal, decimal and hexadecimal
* Context Menu: the above functionality is also accessible via the context menu
* Bugfix: endiannes was always set to "big", regardless of the UI setting in multi-byte displaying
* Bugfix: fixed the meaning of endiannes that was incorrectly displayed in the status bar
* Bugfix: the popup tooltip was showing value of the sequence starting with the byte under cursor, as opposed to the value displayed under the cursor.  This change doesn't affect the 2-nibble (one byte) display mode (need before and after screenshots)
* Build: fixed build by providing `null` arguments into `resolve()` -- the method requires one argument now
* Dependency: now depending on hexy.js 0.3.3 (unpublished yet), which supports endianness and radix
* Version: updated version number
…le changes) and the clipboard. Also, added a bit of consistency
before this change, the list of known files always grew.  Meaning if the file is closed, its data persisted in the memory, but wasn't updated when it was updated externally.  Fixed it two ways: first, re-reading the whole file on every change, and removing the file from `_files` on tab closure
also, furhter reduced the number of dependencies, by removing sprintf-js

KNOWN ISSUE: the decorations (i.e. showing edited values) are displayed incorrectly in the following 2 cases:

* when littleEndian is on
* after changing bittness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant