AminetAminet
Search:
83627 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/misc/ADiffView.lha

Mirror:Random
Showing:m68k-amigaosgeneric
No screenshot available
Short:graphical ASCII file compare/diff viewer
Author:Uwe Rosner
Uploader:u rosner ymail com (Uwe Rosner)
Type:util/misc
Version:2.0
Architecture:m68k-amigaos >= 3.0, 68020+
Distribution:Aminet
Date:2021-07-27
Download:http://aminet.net/util/misc/ADiffView.lha - View contents
Readme:http://aminet.net/util/misc/ADiffView.readme
Downloads:3023

====================================== 
IMPORTANT: Dropped 68000 compatibility
====================================== 
Starting with version 2.0 ADiffView needs at least a 68020 CPU.
It will crash when started from a 68000 Amiga. For 68000 users the 
v1.2 binary from January 2020 is provided.


=====
ABOUT
=====
ADiffView compares two ASCII text files and displays the differences 
in a window.

The diff engine uses a custom implementation of the Myers diff
algorithm, optimized for non-recursive processing, as described on
Matthias Hertel's website www.mathertel.de. See the file
LICENSE-3RD-PARTY for more information.


======= 
CHANGES
======= 
2.0 (27.07.2021)
- Added new color icon in AmigaOS3.2 style - many thanks to Mason!
- Rendering: Added tabulator support, defaults to 8 spaces for each tab.
  Can be configured with the (ToolType / CLI) argument TABSIZE.
- Navigation: Added a text search function.
- Navigation: Added more commands to navigate between diff blocks. 
- Layout: Improved the progress window layout.
- Behavior: Removed the (ToolType / CLI) argument ASKONWORKBENCH. 
  An AppIcon is used instead but only available when ADiffView is 
  started from the Workbench. Double clicking on the AppIcon brings 
  ADiffView to front. When files are dropped on the AppIcon, their 
  names are inserted into the open files window on an empty file name 
  gadget. The AppIcon can be disabled with the ToolType NOAPPICON.
- Performance: Improved the reading of input files. Now each file is 
  read as a whole and no unnecessary string copying is done anymore.
- Development: Widely changed the internal application structure.
  Now using C++ exceptions and some basic STL - cleaner code and more 
  coding fun for me. But this comes at a cost. The binary size increased
  from about 70k to 190k even before new features were implemented. 
  The use of exceptions also drops MC68000 compatibility, so at least 
  a 68020 CPU is needed now.

1.2 (01.01.2020)
- Fixed a bug introduced in version 1.1 which produced Enforcer hits in 
  progress window.
- Fixed problem in text rendering where some lines were displayed 
  intermeshed.
- The Line numbers of the source files are now displayed in diff result.
- Added the (ToolType / CLI) argument NOLINENUMBERS to turn of the
  display of the line numbers.

1.1 (22.12.2019)
- Now using the Myers diff algorithm for better results.
- File select window: When a file was selected with the file request, 
  the request for the other file opens in the same directory.
- File select window: Keyboard shortcuts are now working.
- File select window: Added a feature to swap left and right file.
- File select window: Added support for Drag'n drop. If the program 
  runs on Workbench you can drag the files to compare into that window.
- Diff result window: Added a feature to navigate to next / previous 
  difference.
- Now OS3.0+ memory pools are used. Speeds up the freeing of memory. 
  There's a noticeable speed improvement on exit after big files have 
  been compared.

1.0.1 (13.03.2019)
- Fixed a bug which caused a crash when comparing long files
- Fixed a minor problem in the about window where the title was always 
  inherited by the parent window.
- Added some more info into the manual chapter about ADiffView and 
  Directory Opus

1.0.0 (21.02.2019)
- Initial version


===========
DEVELOPMENT
===========
Development was done on an Amiga with StormC4 in C++/gcc mode and also
in Linux with Visual Studio Code. Unit tests for the diff engine were 
done in Linux with QtCreator and the BOOST framework.

Starting with version 1.1 the build of the release binary is done with
gcc 6.5 on Linux using this toolchain: https://github.com/bebbo/amiga-gcc


Contents of util/misc/ADiffView.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 1366    1902  71.8% -lh5- 4219 Jul 27 21:24 ADiffView.info
[unknown]               111924  240448  46.5% -lh5- fa74 Jul 27 20:55 ADiffView/ADiffView
[unknown]                 4140   10309  40.2% -lh5- 909a Jul 27 21:14 ADiffView/ADiffView.guide
[unknown]                 1604    2074  77.3% -lh5- 8876 Jul 27 21:23 ADiffView/ADiffView.guide.info
[unknown]                 2107    3043  69.2% -lh5- c0be Jul 27 21:23 ADiffView/ADiffView.info
[unknown]                  269     820  32.8% -lh5- bdcc Jul 27 21:23 ADiffView/ADiffView1.2.info
[unknown]                35076   66228  53.0% -lh5- cd5f Jan  1  2020 ADiffView/ADiffView1.2/ADiffView
[unknown]                 2640    6132  43.1% -lh5- 6cd1 Jan  1  2020 ADiffView/ADiffView1.2/ADiffView.guide
[unknown]                  280     836  33.5% -lh5- feba Jan  1  2020 ADiffView/ADiffView1.2/ADiffView.guide.info
[unknown]                  353     887  39.8% -lh5- a1a1 Jan  1  2020 ADiffView/ADiffView1.2/ADiffView.info
[unknown]                  999    1951  51.2% -lh5- 720b Dec 21  2019 ADiffView/ADiffView1.2/LICENSE-3RD-PARTY.txt
[unknown]                  285     836  34.1% -lh5- f985 Jul 27 21:22 ADiffView/ADiffView1.2/LICENSE-3RD-PARTY.txt.info
[unknown]                  999    1951  51.2% -lh5- 720b Jul 27 20:16 ADiffView/LICENSE-3RD-PARTY.txt
[unknown]                 1028    1568  65.6% -lh5- 5b8a Jul 27 21:23 ADiffView/LICENSE-3RD-PARTY.txt.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        14 files  163070  338985  48.1%            Jul 28 02:19

Aminet © 1992-2021 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>