Giter Club home page Giter Club logo

avalanche's Introduction

Avalanche

Simple ReAction GUI for XAD

avalanche's People

Contributors

bruno-frederic avatar chris-y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

polluks sdursun

avalanche's Issues

hit when double clicking a text file inside an archive

  • got a hit when douple clicking a text file inside an archive. Text file is openened correctly. See MuForce output below.

Best regards,

Marcus

11-Jul-22 18:05:21
BYTE READ from 00000000 PC: 08ADFA5A
USP : 0A0304AC SR: 0004 (U0)(-)(-) TCB: 0A02ED78
Data: 00000000 00000000 09E5C634 00000400 00000000 0A04BCEC 0A04C2D0 00000000
----> 0A04BCEC - "Avalanche" Hunk 0000 Offset 0000101C
----> 0A04C2D0 - "Avalanche" Hunk 0000 Offset 00001600
Addr: 00000000 ABADF00D 09E5C634 00000000 0A2245CC 0A030508 08014DB0 08002378
Stck: 09E5C634 08AE1244 00000000 00000400 0A030964 0A224560 00000000 0AFA6550
Stck: 0279718D 0A0513D6 0A224560 00000000 00000064 00001000 00000000 00000000
Stck: 00020003 0A030A02 0AFA6550 09FCD5AC 0A02CC5E 0800FC84 000001A0 52414D3A
Stck: 4176616C 616E6368 652E3631 2F617574 682F7376 6E2E7369 6D706C65 2F613532
----> 08ADFA5A - "LDM - dos 47.28 (18.10.2021)" Hunk 0000 Offset 00000B72
----> 08AE1244 - "LDM - dos 47.28 (18.10.2021)" Hunk 0000 Offset 0000235C
----> 0A0513D6 - "Avalanche" Hunk 0000 Offset 00006706
PC-8: 2E402001 91C84E75 48E700C0 E5824EB9 08ADFA54 4CDF0300 4ED62F02 70002041
PC *: 4A186704 520066F8 53882202 E4892242 340043F1 00016002 132051C8 FFFC1302
08adfa4a : 08ad fa54 4cdf bclr #$54,$4cdf(a5)
08adfa50 : 0300 btst d1,d0
08adfa52 : 4ed6 jmp (a6)
08adfa54 : 2f02 move.l d2,-(a7)
08adfa56 : 7000 moveq.l #$0,d0
08adfa58 : 2041 movea.l d1,a0
08adfa5a : *4a18 tst.b (a0)+
08adfa5c : 6704 beq.s $8adfa62
08adfa5e : 5200 addq.b #$1,d0
08adfa60 : 66f8 bne.s $8adfa5a
08adfa62 : 5388 subq.l #$1,a0
08adfa64 : 2202 move.l d2,d1
08adfa66 : e489 lsr.l #$2,d1
08adfa68 : 2242 movea.l d2,a1
Name: "Avalanche"

Close confirm works in the opposite way

It seems that the close confirm working in a wrong way... if disabled from menu, when you quit Avalanche it will popup a requester asking for a confirmation, but if enabled instead it will close the program instantanely

Setting "View Mode" is ignored

Despite setting view mode to "List" in preferences and pressing "Save", next time I open Avalanche, it uses Browser mode. This bug has been there in all 2.x releases, including current 2.2.

(The whole "browser" mode doesn't work for me, I find myself longing back to 1.x)

Window size

First of all, thanks for Avalanche. A simple but effective interface. Just what I need.

Perhaps Im used to MUI but dont know how to set the size of the window. By default it is very small and dont want to resize it everytime I use it. Perhaps there is a Reaction settings to save it?

Config window

Configuration needs to be moved into a window due to #26 which causes the local config showing in the windows and the global config to go out of sync.
As part of this hierarchical mode #6 needs to stay in the menu but be local to each window - there should be a default in the config window - so it can be easily toggled for testing.

ASL cancel shows requester

From email:
If I open ASL load requester and just click cancel on ASL req it shows "opening file failed", it shouldn't pop any requester

Hierarchical mode

Experimental hierarchical mode has a few known issues:

  • Archive requires entries for directories
  • These directory entries need to be immediately ahead of their contents

Fixes for these:

  • Fake directory entries
    • Attempted this but didn't really work, and definitely would have failed upon encountering a file suddenly two levels deep.
  • Sort archive contents
    • Sort order needs fixing as a normal alphabetical sort (locale/Strncmp) puts dir.info between dir and the contents of dir (resulting in dir which is expandable but has no contents, and the contents either hidden or in a disconnected leaf state)
  • xad v12 does not mark some directories as directories, instead they are files ending in '/'
    • I did fix this but have disabled it as it was causing other problems when I was testing under xad v13.

Read archive into custom list

Archive should be read and dumped into a custom list, then transferred to listbrowser for display.

This will enable us to:

  • Filter what we show
  • Add additional fake entries if required
  • Add flags

This would allow a display as per #46 and might make #6 easier to implement.

virus scan

A feature that I would like to see it's the support for xvs.library and so being able to scan for viruses during the extraction process like Voodoo does.

Unchecking issue

From email:
when opening an archive from its icon if I try to uncheck a file for excluding it from the extraction using its checkbox, it remains checked. The only way to uncheck it is to use the menu options for selecting/deselecting all elements and then the checkboxes work as they should

Overwrite cancel shows requester

If I click on cancel on the overwrite requesters i got a message with a "user break" debug window
This window should not be showed to end users

(Tested on Avalanche 1.7 for OS4)

Program icon not showed

When the program will be iconificated on wb, the Avalanche icon will not be "picked"... a default icon will be showed instead of the Avalanche one

Btw, just for completation how about adding also an "Iconify" option in Project menu? ;-)

Command line interface

Needs an option for "extract now" to immediately extract and quit. This would enable adding Avalanche to ContextMenus and similar.

Command parsing should be changed to use ReadArgs directly, but this means tooltypes parsing will also need rewriting.

Iconification behaviour in 1.8

In version 1.8 pressing the iconify button will not iconify Avalanche on Workbench, but it will now place the program in wb menu (extract here)
Seems like a broken behaviour (?)

New browser mode experiment

Browser mode similar to WB

View files/dirs in root
Double-click dirs to enter them

Will need a string gadget to show the current place in the tree and a button to go back up one level

Archive might need to be kept in a separate list (currently the archive is dumped straight into a listbrowser list) in order to keep track of which files further down are selected.

Should be easy to scan which files are in root/current dir and only display those (transfer to listbrowser list).
Can create fake dir entries if required

Separate list may help with #6

First window should not be special

First window should be treated the same as all others. ie.

  • All windows should be able to show/hide through CX (not just first one)
  • Closing the first window should dispose it, not just hide it
  • If all windows are closed Avalanche should quit/ask (quit/hide/cancel)/stay running in background according to user preference.

Originally posted by @chris-y in #40 (comment)

Select All/Clear selection

There should be a way of deselecting everything in the archive to make it easier to extract a single file.

Multiple quit requester.

If you click two or more times in the quit gadget you will get two or more times a Quit requester that need to close before Avalanche gets closed.

Feature Request - support drawer as argument

Could it be possible for Avalanche to check if the argument is a drawer rather than a file, and treat that as special case?

If the argument is a drawer, instead of throwing up an error about not being able to open file, it could just set the path of the drawer (with a trailing / !!) in the "Archive" text gadget, so that when pressing the file gadget, ASL file requester opens with the specified path.

AISS icons in menu (16x16, 24x24 or off)

On the style of NetSurf (and other applications) maybe via tooltype, adding an optional support for the AISS icons (16x16, 24x24 in size or no menu icons at all) in the Avalanche menu would be a nice graphical addition

More Hits

Apart from never fixed hits during unpacking we have more

This time round try running avalanch again, when another copy is already open.
Don't be surprised by several hits at random locations that will bring the system down eventually.

Sorry, but the tool is still not ready for production use, please fix the bugs first.

Toggle selection by clicking on name

I've had to remove the toggle by clicking on the name, in order to add double-click to open. The single click was refreshing the list, which meant it never detected the double-click. Considering if there's a way around this.

Originally posted by @chris-y in #8 (comment)

Split off of that issue which is now wholly for All/None/Invert buttons.

"Out of memory scanning file" when unpacking NDK3.2.lha

I've used Avalanche successfully with many lha files.

But with the NDK3.2.lha from Aminet there's an Out of memory scanning file error requester shown when halfway trough.

I tested it on an WinUAE-emulated A1200 with OS 3.2.1, 68040, 128 + 2 MB RAM.

Save window position broken?

The option "Save window position" doesn't seems to work... if i set it and then restart Avalanche, the window will the reopened by default in the save position and the same default size

Add menu

Add a menu.
This would be useful for #1 and #3

  • Project
    • Open...
    • About...
    • Quit
  • Edit
    • Select all
    • Clear selection
  • Settings
    • βœ” Save window position
    • Save settings

Invert/all/none buttons

Could you please add invert/all/none buttons and make files de-/selectable by clicking on the name of the file. Right now it’ll just work by un-/checking the checkmark directly.

CX_POPKEY

Implement CX popup hotkey.
This wasn't done as part of #20

Tools menu item

Add an "extract here" option to the tools menu. Depends on #20 as GUI needs to be hidden.

requester every time you change the VIEWMODE

also get the following requester every time you change the VIEWMODE from Browser to List or vice versa when no archive has been opened (list is blank)...

I get it that you change from browser to list on-the-fly so when no file is selected there is nothing to change but thought it would be nice to grab that state not to display these errors Smile

Overwrite requester

Missing ability to overwrite files if they already exist, or skip.

Also missing ability to abort operations.

Enforcer hit

From email:
Hi!
Thanks for you upload. I have one hit at the start:

[20220115 01:30:41] >>> Exception 3 <Illegal Data Access at fffffffe
DSISR 40000000, Load from a not existing Page>
----------------------------------------------------------------------
  Quark Thread TID 0000000010020010 Name ABox
   SRR0 0x1101599c SRR1 0x0200f030
     LR 0x11007694  CTR 0x1101599c
     CR 0x28200044  XER 0x00000000
GPR[00] 1101599c 2f2f9d60 2f2f9de0 00012840 00000000 00000000 152d1c00 152d5a9c
GPR[08] 193b58b0 00000000 00020e5c 00000000 10001000 2df839a0 00000000 1133e22c
GPR[16] 00000001 092094d1 000003ed 00000021 00000000 00000008 00000000 00000000
GPR[24] fffffffe 2df858c0 2b176110 2b1760c4 2b1760c4 26f3ce50 140019b0 26f4c5e4
  FPSCR 82028000
FPR[00] 0000000000000000 4208000000000000 0000000000000050 0000006000000016
FPR[04] 4034000000000000 0000000000000000 0000000000000000 3ff0000000000000
FPR[08] 3ff0000000000000 4330000080000000 4330000000000000 41f0000000000000
FPR[12] 4330000000000000 4008000000000000 0000000000000000 0000000000000000
FPR[16] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR[20] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR[24] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR[28] 0000000000000000 0000000000000000 0000000000000000 0000000000000000
  VSAVE 00000000        VSCR 00010000
VPR[00] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[02] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[04] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[06] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[08] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[10] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[12] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[14] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[16] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[18] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[20] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[22] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[24] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[26] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[28] 00000000000000000000000000000000 00000000000000000000000000000000
VPR[30] 00000000000000000000000000000000 00000000000000000000000000000000
   IABR 00000000
   DABR 00000000
  MMCR0 00000000
  MMCR1 00000000
  MMCR2 00000000
   PMC1 00000000 PMC2 00000000 PMC3 00000000 PMC4 00000000
    SIA 00000000
    SDA 00000000

"Check for update..." ...

It gives this wonderful error message:

40536FA8:error:10000093:BIO routines:BIO_do_connect_retry:connection timeout:../../openssl/crypto/bio/bio_lib.c:969:

the reason is that Avalanche attempts to read https://www.unsatisfactorysoftware.co.uk/ver.php?f=avalanche directly, and it doesn't support proxy for https, it doesn't care about $http_proxy or $https_proxy variables.

A program that is supposed to be a small and efficient tool to open archives should not need to have its own networking and TLS handling code, so perhaps a better idea would be to leave http/https handling to dedicated tools that already do this very well, for example aget in the UHC-Tools package?

(Also I'd do the version string checks against release on aminet (http://aminet.net/util/arc/avalanche.readme) rather than a dedicated URL that would need to be "forever" maintained. Upon discovery of newer version, it seems naturally to offer to download the new version, and ...ehm... open the archive?)

Multiple window support

Support multiple windows internally.

Currently we just launch another copy of Avalanche. What we should do is detect this (via CX UNIQUE) and spawn another window.

Cant delete first used file

I am using Avalanche 1.8 in Amiga 1200 060 with aos 3.2.1.
I have a bunch of lha that are extracted to ram:
When I double click in a LHA it open Avalanche so I have only click in Extract button.
All goes ok but the problem is when I want to delete the lha files.
I can delete all of them but the first one I used to extract. It seems locked.
I have to reboot and then I can delete it.

xvs.l.main not copied

Installer should copy this if the following is true:

  • We are installing on OS4
  • xvs.library is installed

ARexx port

Will be used by #26 and #20 for spawning new windows from another task.
Provides extra functionality for the user.
Initially only a command to open an archive in an optional new window will be supported.

Re-add option to snapshot window

The save window position option was removed when config moved to a GUI. This ought to be re-instated.
Currently considering how best to implement.

Extremely slow ASL file requester

The ASL file requester to pick an archive in Avalanche is just crazy slow compared to, for example, C:RequesFile or open file in just about all other programs that use ASL.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.