Skip to content

Releases: Mingun/JHexView

Release v2.1

23 Feb 13:42
Compare
Choose a tag to compare

Bug fixes

  • Fix incorrect work with getBaseAddress() method. Bug influence offsets in
    methods:
    • isModified(long)
    • getModifiedCount
    • getModifiedOffsets
    • IColormap methods
    • IMenuCreator.createMenu
  • Fix possible ArrayIndexOutOfBoundException in SimpleDataProvider.setData()
    if offset + data.length is more than size of array in provider

Minor Changes

  • Make class SelectionModel.Interval static and override equals and hashCode
  • Add overloads for findHex/findAscii that accept and return long.
    Old methods, that use int, 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

16 Feb 20:23
Compare
Choose a tag to compare

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 is null
  • getMouseOverHighlighted renamed to isMouseOverHighlighted
  • doFlipBytes renamed to isFlipBytes
  • findAscii/findHex now throws NPE if search pattern is null instead of returning
    start offset for search
  • JCaret.draw now requires Graphics2D as first parameter explicitly instead of implicitly
    (via cast in implementation)
  • Selection API reworked. See new SelectionModel class and getSelectionModel method

Removed

  • getFontSize. Use getFont().getSize() instead
  • setFontSize. Use setFont(getFont().deriveFont((float)getFont().getSize())) instead
  • setFontStyle. Use setFont(getFont().deriveFont(...)) instead
  • getSelectionLength. Use new SelectionModel API instead
  • setSelectionLength. Use new SelectionModel API instead
  • getLastOffset
  • getFirstSelectedOffset. Use new SelectionModel API instead
  • getLastSelectedOffset. Use new SelectionModel 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

02 Feb 17:15
Compare
Choose a tag to compare

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

27 Jan 04:23
Compare
Choose a tag to compare

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.