Robert McGovern
3413ef5210
Moved location of header
2021-05-26 17:18:00 +01:00
Robert McGovern
c8eca51309
Added Cathage for UnrarKit and UnzipKit
...
Not using them yet. Also removed Growl fully
2021-05-26 17:15:39 +01:00
Robert McGovern
0cffe85ce5
Update to use new method of passing password
...
With later versions of libunrar the method used to supply the password to an archive through the callback changed. Previously you called RARSetPassword, however that does not work with header passwords, so they came up with a different approach. The library passes the address of a wchar character buffer and its size as parameterOne and parameterTwo, and you need to copy the password string into that buffer.
2021-05-26 13:49:40 +01:00
Robert McGovern
043a11ec6d
Upgrade to libunrar 6.06, tweaked the PasswordView xib to have hint text, and clear the field if dialog reappears. Password unraring not working, not sure why. Cstring passed in is perfectly valid.
2021-05-24 16:37:15 +01:00
Robert McGovern
c78276aeeb
Minor tidy ups. Ran through converters for Modern Objective-C and ARC. Removed couple of depreciated warnings.
2021-05-24 10:24:32 +01:00
Robert McGovern
619cdeee73
WIP: Updated project to build for Apple Silicon, and updated included version of libunrar. haven't looked into how to compile the lib to include both platforms. (Commented out Growl for the moment as Framework doesn\t have aarm symbols yet)
2020-07-14 23:40:26 +01:00
Robert McGovern
d4aea239c6
Added Growl output on the successful extraction of an archive.
...
Note it will also display the Growl status if you skip over extracting files in the archive.
2009-11-17 00:04:22 +01:00
Robert McGovern
ca9df1a6c0
Tiny bit of tidy up.
2009-11-16 22:11:00 +01:00
Robert McGovern
dac909cd3a
Added a condition that prevents the Skip/Overwrite dialog appearing if libunrar is trying to extract a folder that already exists (due to the files having been extracted first)
2009-11-16 19:37:46 +01:00
Robert McGovern
fedc56fa1a
Renamed variable
2009-11-16 16:02:10 +01:00
Robert McGovern
78d571ec79
Some refactoring and added a bunch of comments.
...
More to do.
2009-11-16 15:00:11 +01:00
Robert McGovern
e9ad5c518c
Bah did last commit wrong. Only added the password view.
...
Added support for handling archives with passwords.
2009-11-15 18:50:12 +01:00
Robert McGovern
6de31455d3
Added support to use the Escape key for the Skip button on the Overwrite dialog
2009-11-15 15:54:55 +01:00
Robert McGovern
b208b2e332
Report to the user when part of the archive set is missing. Needs to be enhanced so that if file to be extracted was already there that it is left intact.
2009-11-15 15:43:54 +01:00
Robert McGovern
d828736bc8
Code will now extract the RAR file to a subfolder of the name of the rar file (without the .rar extension). If that a file already exists the user will be asked if they wish to Skip the file or Overwrite it via an Alert dialog.
...
Code still needs a proper tidy up but is working well. Support for Password archives or missing parts is not yet implemented.
2009-11-15 13:54:07 +01:00
Robert McGovern
d41600f137
Renamed some variables to be Cocoa like. Also added in the callback methods to examine their output.
2009-11-15 00:18:58 +01:00
Robert McGovern
b3188496c3
Updated project to properly link & use the custom built libunrar library.
...
Also initial code to handle rar extraction. No handling or errors like missing RAR files, or requiring a password.
2009-11-14 23:12:16 +01:00
Robert McGovern
f4630a44be
Setup libunrars build properly and now link against the .so & copy it into the Resources folder.
2009-11-14 18:44:36 +01:00
Robert McGovern
9929851140
Adding initial files which contains the unrar.3.9.6 sources and a patch for the Makefile
2009-11-10 16:48:42 +01:00