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
Open
29 changes: 21 additions & 8 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,36 @@

// A task runner that calls a custom npm script that compiles the extension.
{
"version": "0.1.0",
"version": "2.0.0",

// we want to run npm
"command": "npm",

// the command is a shell script
"isShellCommand": true,

// show the output window only if unrecognized errors occur.
"showOutput": "silent",

// we run the custom script "compile" as defined in package.json
"args": ["run", "compile", "--loglevel", "silent"],

// The tsc compiler is started in watching mode
"isWatching": true,

// use the standard tsc in watch mode problem matcher to find compile problems in the output.
"problemMatcher": "$tsc-watch"
"problemMatcher": "$tsc-watch",
"tasks": [
{
"label": "npm",
"type": "shell",
"command": "npm",
"args": [
"run",
"compile",
"--loglevel",
"silent"
],
"isBackground": true,
"problemMatcher": "$tsc-watch",
"group": {
"_id": "build",
"isDefault": false
}
}
]
}
30 changes: 30 additions & 0 deletions .vscode/tasks.json.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// Available variables which can be used inside of strings.
// ${workspaceRoot}: the root folder of the team
// ${file}: the current opened file
// ${fileBasename}: the current opened file's basename
// ${fileDirname}: the current opened file's dirname
// ${fileExtname}: the current opened file's extension
// ${cwd}: the current working directory of the spawned process

// A task runner that calls a custom npm script that compiles the extension.
{
"version": "0.1.0",

// we want to run npm
"command": "npm",

// the command is a shell script
"isShellCommand": true,

// show the output window only if unrecognized errors occur.
"showOutput": "silent",

// we run the custom script "compile" as defined in package.json
"args": ["run", "compile", "--loglevel", "silent"],

// The tsc compiler is started in watching mode
"isWatching": true,

// use the standard tsc in watch mode problem matcher to find compile problems in the output.
"problemMatcher": "$tsc-watch"
}
37 changes: 32 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,35 @@
# Changelog

## [1.9.0] TBD
++ endianness, ++ radix, ++ data size; -- few small bugs;
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 #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 (#79): better tracking of externally modified and deleted files
* Bugfix (#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
* Version: updated version number

## [1.8.0] 2020-09-10
* Fix update on save and on file changed (#17, [#66](https://github.com/stef-levesque/vscode-hexdump/issues/66), [#67](https://github.com/stef-levesque/vscode-hexdump/issues/67), thanks @joeywang4)

## [1.7.0] 2018-10-08
* Copy selection in different formats (#41, #43, #47)
* Add support for multi byte edit (#42, #45, thanks @noam787)
* Copy selection in different formats (#41, [#43](https://github.com/stef-levesque/vscode-hexdump/issues/43), [#47](https://github.com/stef-levesque/vscode-hexdump/issues/47))
* Add support for multi byte edit (#42, [#45](https://github.com/stef-levesque/vscode-hexdump/issues/45), thanks @noam787)
* Fix `exportToFile` (#46)
* Search a HEX string in the file (#48, thanks @jinliming2)

Expand Down Expand Up @@ -51,7 +78,7 @@

* Customizable value for size warning and line count (#9)
* Add icon to title context menu (#10)
* Command text and changelog update (#11, #12, thanks @david-russo)
* Command text and changelog update (#11, [#12](https://github.com/stef-levesque/vscode-hexdump/issues/12), thanks @david-russo)

## [1.1.1] 2016-10-25

Expand All @@ -64,10 +91,10 @@

## [1.0.0] 2016-10-10

* Update if file changes (#2, #3, thanks @camwar11)
* Update if file changes (#2, [#3](https://github.com/stef-levesque/vscode-hexdump/issues/3), thanks @camwar11)
* Switch to [hexy.js](https://www.npmjs.com/package/hexy) (#4, thanks @boguscoder)
* Highlight selection in both hex and ascii sections (#6)
* More display options (see Configuration) (#5, #7)
* More display options (see Configuration) (#5, [#7](https://github.com/stef-levesque/vscode-hexdump/issues/7))

## [0.1.1] 2016-08-17

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Colorize modified bytes

## Requirements

Visual Studio Code v1.17.0
Visual Studio Code v1.60.0

## Credits

Expand Down
Loading