What is Fragger?
Fragger is a graphical representation of files as they are located on a block device, using GTK+ 2.0. Fragger was written after using a command line file fragmentation reporting utility, filefrag (part of Theodore Tso's e2fsprogs collection), to analyze file fragmentation. Interest in file fragmentation comes from recent studying of file writing characteristics of *thee* Linux based audio recording system, Ardour.
- Fragger used to assume the first block of a file was always the lowest logical block on a block device. This has been corrected.
- Snagged random color generation code from ardour (thanks Paul). Fragger now generates colors on the fly, on a per file basis.
- Added GPL statement to source files
- Fragger now has a maximum page size of 320000 blocks per page, and multiple pages are created as files extend past page sizes. Navigation buttons, page display, and range (in blocks) display have been added. Fragger now can handle files of any size and distance from eachother on the block device.
- Changed from array of fileinfo_t struct to a linked list. This will make closing files easier.
- Cleaned up autotools files, made a more release-worthy package.
- Opening files too far away (in terms of blocks) from the currently displayed file(s) used to corrupt the grid (for y values larger than 32767 pixels). Now the file info will be displayed in the legend, with 'NOT DISPLAYED' added. The file is not shown on the current grid. Currently, the only way to display the file is to close fragger, and reopen, opening this file first. Coming up is the ability to close files, so when a file is NOT DISPLAYED, closing other files will allow the ability to move NOT DISPLAYED files into view.
- Switched from GtkFileSelection to GtkFileChooserDialog and added ability to open multiple files. No directories directly, yet. (ctrl-a does a select all :) )
- More segfault fixes, and much better scroll performance. Fragger used to redraw the entire pixmap on every 'expose_event', now it only redraws on a new file or configure_event.
- Packed the legend into a scroll window, and locked width to 125 pixels, add added text wrap (for filenames). The scroll window is set to automatic, so the vertical scrollbar will appear when the list of files is larger than the window size.
- Changed to 5x5 pixel block size
- Fixed numerous crashes and bugs, continued to implement unfinished stuff