[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] Re: [patch] help guis improvements



I wonder if there are any other likely candidates.

Maybe *categories should be something less generic, like *helpCategories.

S.

On 23 Dec 2008, at 07:03, thelych@xxxxxxxxx wrote:

changed as suggested. renamed it to *filterCategories so np.
i think it could be nice to have a note about *categories telling this is a reserved word when you create new classes... That may help people not to make the same thing, and breaking the help system without having a clue about what happened.

best,
charles


Le 22 déc. 08 à 23:40, Dan Stowell a écrit :

Ah, I see - sorry, Charles, I didn't understand how SCImageFilter was
interfering with the Help tree.

Might I suggest that SCImageFilter could use a different varname other
than "categories"? I haven't looked at the class so I have no clue
what it's used for. Just a thought.

But yes, the line you describe Charles is no-op on other platforms, so
if someone wants to commit that line to fix OSX behaviour, please do.
I cannot (no mac this week).

Dan


2008/12/22  <thelych@xxxxxxxxx>:
I suggested
Platform.case( \osx, {
categoriesSkipThese = categoriesSkipThese.add(SCImageFilter);
});
to avoid possible problem in mac os x.
James suggested also this
\SCImageFilter.asSymbol.notNil ...
i am exclusively on a mac. So if someone can test it in Linux / Windows and
report if it is fine ?



best,
charles
Le 22 déc. 08 à 23:05, Scott Wilson a écrit :

Also when I first open the browser, it looks like this:
<pastedGraphic.tiff>
On 22 Dec 2008, at 14:02, Scott Wilson wrote:

On 22 Dec 2008, at 13:39, Dan Stowell wrote:

is ok, i found a way to do it

2008/12/22 Dan Stowell <danstowell@xxxxxxxxx>:

Hi -

The attached patch improves the rendering of Help.gui and

Help.searchGUI on small screens (ensures it fits on the screen!). It

also removes the SCImageFilter warning on non-OSX platforms, as

discussed with Charles. Grateful if someone could commit.

Thanks

Dan


This seems to have caused a problem. The first time you call Help.tree you
get this error:
Help.tree
ERROR: Message 'split' not understood.
RECEIVER:
Instance of SymbolArray { (1FF4B800, gc=C8, fmt=08, flg=00, set=01)
indexed slots [4]
    0 : 'CIAffineTransform'
    1 : 'CICrop'
    2 : 'CILanczosScaleTransform'
    3 : 'CIPerspectiveTransform'
}
ARGS:
 Character 62 '>'
CALL STACK:
DoesNotUnderstandError:reportError   17C08FC0
arg this = <instance of DoesNotUnderstandError>
Nil:handleError   1FD02B80
arg this = nil
arg error = <instance of DoesNotUnderstandError>
Thread:handleError   1FCEFB60
arg this = <instance of Thread>
arg error = <instance of DoesNotUnderstandError>
Object:throw   17C08540
arg this = <instance of DoesNotUnderstandError>
Object:doesNotUnderstand   15E31800
arg this = <instance of SymbolArray>
arg selector = 'split'
arg args = [*1]
< FunctionDef in Method Meta_Help:addCatsToTree >   12AC88A0
arg cat = <instance of SymbolArray>
Dictionary:keysValuesArrayDo   1FE508E0
arg this = <instance of IdentityDictionary>
arg argArray = [*64]
arg function = <instance of Function>
var i = 2
var j = 1
var key = nil
var val = nil
var arraySize = nil
Dictionary:keysValuesDo   17C0A7C0
arg this = <instance of IdentityDictionary>
arg function = <instance of Function>
Dictionary:do   15E21390
arg this = <instance of IdentityDictionary>
arg function = <instance of Function>
Meta_Help:addCatsToTree   1FE4EAD0
arg this = class Help
arg class = class SCImageFilter
arg fileslist = <instance of IdentityDictionary>
var subc = nil
var node = nil
ArrayedCollection:do   12AD8B30
arg this = [*2106]
arg function = <instance of Function>
var i = 154
Meta_Help:tree   1FD699D0
arg this = class Help
arg sysext = true
arg userext = true
var classes = [*2106]
var node = nil
var subc = nil
var helpRootLen = nil
var helpExtensions = [*4]
var helpDirs = [*3]
var thisHelpExt = nil
Interpreter:interpretPrintCmdLine   1FD68A30
arg this = <instance of Interpreter>
var res = nil
var func = <instance of Function>
var code = "Help.tree"
Process:interpretPrintCmdLine   12AD88F0
arg this = <instance of Main>







--
http://www.mcld.co.uk

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/