Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #1654 > unrolled thread
| Started by | markpmlim@yahoo.com.sg |
|---|---|
| First post | 2015-05-17 13:59 -0700 |
| Last post | 2015-05-18 13:57 -0700 |
| Articles | 11 — 3 participants |
Back to article view | Back to comp.sys.apple2.programmer
RE:QuickLookSHR markpmlim@yahoo.com.sg - 2015-05-17 13:59 -0700
RE:QuickLookSHR D Finnigan <dog_cow@macgui.com> - 2015-05-18 16:17 +0000
Re: RE:QuickLookSHR "Bill Buckels" <bbuckels@mts.net> - 2015-05-18 15:54 -0500
Re: RE:QuickLookSHR markpmlim@yahoo.com.sg - 2015-05-18 17:12 -0700
Re: RE:QuickLookSHR markpmlim@yahoo.com.sg - 2015-05-18 17:43 -0700
Re: RE:QuickLookSHR "Bill Buckels" <bbuckels@mts.net> - 2015-05-20 10:19 -0500
Re: RE:QuickLookSHR markpmlim@yahoo.com.sg - 2015-05-20 14:22 -0700
Re: RE:QuickLookSHR markpmlim@yahoo.com.sg - 2015-05-20 14:24 -0700
Re: RE:QuickLookSHR markpmlim@yahoo.com.sg - 2015-05-21 14:58 -0700
Re: RE:QuickLookSHR "Bill Buckels" <bbuckels@mts.net> - 2015-05-20 10:13 -0500
Re: QuickLookSHR markpmlim@yahoo.com.sg - 2015-05-18 13:57 -0700
| From | markpmlim@yahoo.com.sg |
|---|---|
| Date | 2015-05-17 13:59 -0700 |
| Subject | RE:QuickLookSHR |
| Message-ID | <024b886f-3bbe-41bf-b441-233bb0ac64e8@googlegroups.com> |
Hi, QuickLookSHK was developed as per request by D Finnigan. It is based on the NuFX library developed by Andy Fadden. The binary code of QuickLookSHK is bloated because the entire NuFX library is compiled together with its source code. To get the job done, only several functions of NuFX library are called. There are 3 ways to develop a lean and mean version of QuickLookSHK: 1) prune all the unnecessary source code from NuFX Library. 2) write a module to extract the necessary information from an SHK archive. 3) compile the NuFX library into an external framework and install it in /Library/Frameworks. What do you think? Regards. Mark
[toc] | [next] | [standalone]
| From | D Finnigan <dog_cow@macgui.com> |
|---|---|
| Date | 2015-05-18 16:17 +0000 |
| Message-ID | <dog_cow-1431965875@macgui.com> |
| In reply to | #1654 |
markpmlim wrote: > Hi, > > QuickLookSHK was developed as per request by D Finnigan. It is based on > the > NuFX library developed by Andy Fadden. > > The binary code of QuickLookSHK is bloated because the entire NuFX library > is compiled together with its source code. To get the job done, only > several functions of NuFX library are called. > > There are 3 ways to develop a lean and mean version of QuickLookSHK: > > 1) prune all the unnecessary source code from NuFX Library. > > 2) write a module to extract the necessary information from an SHK > archive. 1 and 2 are good. 1 is good because the NuFX library will change seldomly, I would presume. 2 is good too because you will learn more about the NuFile format. I actually took this route when writing Format Converter for Mac GUI Vault. I just wrote a new implementation based on the specification document. The downside to option 2 is that it'll take more time and you'll have to make all the special case code for wacko-case ShrinkIt archives. If your time is limited, I suggest option 1. -- ]DF$ The Marina IP stack for Apple II-- http://marina.a2hq.com/
[toc] | [prev] | [next] | [standalone]
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Date | 2015-05-18 15:54 -0500 |
| Message-ID | <mjdjhu$bji$1@speranza.aioe.org> |
| In reply to | #1655 |
David and Mark, Not that it matters much, but did you realize that your acronym for this thread is spelled "wrong" :) The SHR part looks like something I would post... Here have a Quick Look at something Alex and I did today... https://www.youtube.com/watch?v=KGftEmCGitc Bill
[toc] | [prev] | [next] | [standalone]
| From | markpmlim@yahoo.com.sg |
|---|---|
| Date | 2015-05-18 17:12 -0700 |
| Message-ID | <b6e5a0bc-43d1-45ba-8945-5c8438a1b887@googlegroups.com> |
| In reply to | #1656 |
> Not that it matters much, but did you realize that your acronym for this > thread is spelled "wrong" :) The SHR part looks like something I would > post... > Serves as a great plug for your work.
[toc] | [prev] | [next] | [standalone]
| From | markpmlim@yahoo.com.sg |
|---|---|
| Date | 2015-05-18 17:43 -0700 |
| Message-ID | <2f40adb2-8924-4afd-b69d-391d100ba723@googlegroups.com> |
| In reply to | #1659 |
Bill, On second thoughts, we can combine forces and produce a QuickLookSHR. Since you are the graphics expert, you do the SHR part and I, the budding MacOS X programmer, do the QL part. What needs to be generated is a 24-bit RGB bitmap (8 bits for each component). Regards.
[toc] | [prev] | [next] | [standalone]
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Date | 2015-05-20 10:19 -0500 |
| Message-ID | <mji8lp$o8i$1@speranza.aioe.org> |
| In reply to | #1660 |
<markpmlim@yahoo.com.sg> wrote: >On second thoughts, we can combine forces and produce a QuickLookSHR. Sorry to break the news Mark, but my list is endless... so I must decline:)
[toc] | [prev] | [next] | [standalone]
| From | markpmlim@yahoo.com.sg |
|---|---|
| Date | 2015-05-20 14:22 -0700 |
| Message-ID | <bbc9040a-9275-4963-8dc1-4fb3e5cc3ede@googlegroups.com> |
| In reply to | #1666 |
> Sorry to break the news Mark, but my list is endless... so I must decline:) That's alright; maybe sometime in the future, we might be able to collaborate. The program to parse the master header and item headers of an SHK archive to Objective C is almost done except dealing with weird kind of gsos option list.
[toc] | [prev] | [next] | [standalone]
| From | markpmlim@yahoo.com.sg |
|---|---|
| Date | 2015-05-20 14:24 -0700 |
| Message-ID | <581d1f80-3ce4-477f-9d86-6868f73e4143@googlegroups.com> |
| In reply to | #1666 |
On Wednesday, May 20, 2015 at 11:19:24 PM UTC+8, Bill Buckels wrote: > > Sorry to break the news Mark, but my list is endless... so I must decline:) That's alright; maybe sometime in the future, we might be able to collaborate. The translation of the code to parse the master header and item headers of an SHK archive to Objective C is almost done except dealing with weird kinds of gsos option list.
[toc] | [prev] | [next] | [standalone]
| From | markpmlim@yahoo.com.sg |
|---|---|
| Date | 2015-05-21 14:58 -0700 |
| Message-ID | <bf5944dc-2a1c-4e56-b9db-b50e80349d04@googlegroups.com> |
| In reply to | #1669 |
QuickLookSHK had been set to handle files with the following extensions: shk, bxy and sdk. The original Apple IIGS program, GSHK, could create self extracting archives with the suffixes bse and sea. QuickLookSHK can also be used to peek at the contents of such files since it uses code from the NuFX library developed by Andy Fadden. It may be necessary to rename such files to a suffix of SHK.
[toc] | [prev] | [next] | [standalone]
| From | "Bill Buckels" <bbuckels@mts.net> |
|---|---|
| Date | 2015-05-20 10:13 -0500 |
| Message-ID | <mji8ab$nd1$1@speranza.aioe.org> |
| In reply to | #1659 |
<markpmlim@yahoo.com.sg> wrote: >Serves as a great plug for your work. I hope you use the term "work" loosely:) Half the fun is misrepresenting my antics as "work"... the other half is of course doing the "work"...
[toc] | [prev] | [next] | [standalone]
| From | markpmlim@yahoo.com.sg |
|---|---|
| Date | 2015-05-18 13:57 -0700 |
| Message-ID | <489eb1f0-7366-4ef5-a376-eb26b7813468@googlegroups.com> |
| In reply to | #1655 |
Currently, my main interest is learning to program in Swift. To learn the finer aspects of the language, a project to parse the master header of an NuFX archive as well as the headers of the archived items is being developed. So option 2 might take a shorter time; it's a matter of translating the Swift code to Objective-C. In fact, the Swift code uses the methods in the Objective-C frameworks to parse the data. BTW, the code is developed using Swift Playground. I tried option 3 by building an external framework which can be used by NuShrinkItX as well as QuickLookSHK. Works well. Some details: QuickLookSHK is, as suggested by its name, a plugin for MacOSX's QuickLook.app. It allows the user to take a peek at the contents of an NuFX archive. Double-clicking on the preview window will launch the default program which can handle SHK files which, in my case, has been set to NuShrinkItX. It is expected to work with MacOS X 10.5 to 10.10. Regards. Mark
[toc] | [prev] | [standalone]
Back to top | Article view | comp.sys.apple2.programmer
csiph-web