Releases: Mingun/JHexView
Releases · Mingun/JHexView
Release v2.1
Bug fixes
- Fix incorrect work with
getBaseAddress()
method. Bug influence offsets in
methods:isModified(long)
getModifiedCount
getModifiedOffsets
IColormap
methodsIMenuCreator.createMenu
- Fix possible
ArrayIndexOutOfBoundException
inSimpleDataProvider.setData()
ifoffset + data.length
is more than size of array in provider
Minor Changes
- Make class
SelectionModel.Interval
static and overrideequals
andhashCode
- Add overloads for
findHex/findAscii
that accept and returnlong
.
Old methods, that useint
, was deprecated and will be removed in 3.0 - Added support for multiply intervals selections
- Select nibble/byte when clicked on it instead of clearing selection
- Double click in HEX view selects byte
- Triple click in HEX view selects whole row
Maven package
Library available as Maven artifact at Bintray registry.
Release v2.0
Major Changes
Project license changed to LGPL 2.1 or later
Breaking Changes
- Remove unused parts of embedded splib library and move used parts into
tv.porst.jhexview
package setActiveView
now throw NPE if argument isnull
getMouseOverHighlighted
renamed toisMouseOverHighlighted
doFlipBytes
renamed toisFlipBytes
findAscii/findHex
now throws NPE if search pattern isnull
instead of returning
start offset for searchJCaret.draw
now requiresGraphics2D
as first parameter explicitly instead of implicitly
(via cast in implementation)- Selection API reworked. See new
SelectionModel
class andgetSelectionModel
method
Removed
getFontSize
. UsegetFont().getSize()
insteadsetFontSize
. UsesetFont(getFont().deriveFont((float)getFont().getSize()))
insteadsetFontStyle
. UsesetFont(getFont().deriveFont(...))
insteadgetSelectionLength
. Use newSelectionModel
API insteadsetSelectionLength
. Use newSelectionModel
API insteadgetLastOffset
getFirstSelectedOffset
. Use newSelectionModel
API insteadgetLastSelectedOffset
. Use newSelectionModel
API instead
Bug fixes
- Select all action now correctly set selection length if
getBaseAddress() != 0
Other Changes
- Now component doesn't redrawn when specified setters is called if value of property actually doesn't changed:
setAddressMode
setBaseAddress
setBytesPerColumn
setBytesPerRow
setColumnSpacing
setDefinitionStatus
setHexViewWidth
- Redraw view when call setters:
setAddressMode
- Always drawn caret outline (dotted rectangle) if component has focus,
not only in editable state for panel without input focus
Maven package
Library available as Maven artifact at Bintray registry.
Release v1.1
Changes
- 841c873: Split enabled and editable states: add
isEditable
/setEditable
methods - Now component is created in enabled, but not editable state (previously created in disabled state)
- 34dcbbe: Fix not correctly saved Undo data if edit data at offsets more, than
0xFFFFFFFF
- Some small optimizations
Maven package
Library available as Maven artifact at Bintray registry.
Release v1.0
This is first maven release of JHexView component, development by Sebastian Porst (sp@porst.tv), with changes, made by @Argent77 for NearInfinity project.
Changes for NearInfinity by Argent77
- Included dependencies (splib by Sebastian Porst)
- Added Apache Ant build script (replaced to Maven by @Mingun)
- Find bytes/text support
- Copy/paste support
- Undo/redo support
Maven package
Library available as Maven artifact at Bintray registry.
Release at GitHub Packages registry, unfortunally, requires authorization although it is public. I hope, that in the future GitHub Team remove this restriction.