[Tool] Nlist - remote content/code-browsing -

Started by newdep, December 01, 2007, 07:50:56 AM

Previous topic - Next topic

cormullion

#15
coming on nicely...!



Here's some constructive criticism... :)



On Mac the initial display is odd - the idx: label stretches all the way across the top and the text input box is mostly hidden below. It's fixed by changing 800 to 810 for width, for example



I sometimes have to press the return key a few times before I see anything...



Is it possible to get a single click working in the left pane? Double-clicks are OK, but browser-type things often use single clicks...

Lutz

#16
"text/plain" and "text/html" are built-in Java modes for gs:text-pane (JTextPane and JEditorPane in Java), and there are no Java APIs to change/modify their behavior.



Lutz

newdep

#17
Cormullion,

 I can change the initial size but it differs per OS very much.

Doing a resize of the window and making it all fit. Then Quit and

restart nlist will make it nicely fit. (saved inside ./nlist/nlist.cfg)  Then

you dont have to resize it anymore..or you could..

But i could change the initial sizes indeed.



The Idx input field always reactis to the <enter> I cant change this this is

internal Java/GS behavior.  There should not be a delay when loading local

files, there could be a delay when fetching http:// urls..thats a network issue..(or

my ISP  has still troubles... :-( But i dont have those much here...



Where did you put your nlist.idx ?? I like to put your files to my nlist shelf! ;-)



Yes would like to have a single click also on the left list-pane but thats

also internaly GS/Java.. Actualy nlist does everything by default of GS

(to keep it simple, i hope..)







Lutz, oke thanks... Although its strange We must accept it ;-)
-- (define? (Cornflakes))

Lutz

#18
In the upcoming 9.2.9 (on the weekend) gs:mouse-event can be used also on list boxes to trap single clicks.



Lutz

cormullion

#19
I put the nlist.idx file here:



http://unbalanced-parentheses.nfshost.com/downloads/">http://unbalanced-parentheses.nfshost.com/downloads/



Most of the files seem to display OK.



Usually, that folder is explored more automatically (and colourfully) using http://unbalanced-parentheses.nfshost.com/index.cgi?download">//http://unbalanced-parentheses.nfshost.com/index.cgi?download. Perhaps I'll write a bit of code that scans the contents of that folder and updates the nlist.idx file automatically...

newdep

#20
Quote from: "Lutz"In the upcoming 9.2.9 (on the weekend) gs:mouse-event can be used also on list boxes to trap single clicks.



Lutz


aaa nice....



I found another curriosity... the font cant be changed (linux) when

i switch between a text - html pane... odd?? is that static too perhpas?
-- (define? (Cornflakes))

newdep

#21
Quote from: "cormullion"I put the nlist.idx file here:



http://unbalanced-parentheses.nfshost.com/downloads/">http://unbalanced-parentheses.nfshost.com/downloads/



Most of the files seem to display OK.



Usually, that folder is explored more automatically (and colourfully) using http://unbalanced-parentheses.nfshost.com/index.cgi?download">//http://unbalanced-parentheses.nfshost.com/index.cgi?download. Perhaps I'll write a bit of code that scans the contents of that folder and updates the nlist.idx file automatically...




Aaa found them...far more easier code browsing this way ;-)





Yes i thought of that too ..something that generates automated nlist.idx

files in text and/or GS/Java html pane format...but be our guest  ;-)





PS: I posted v05 with 2 small changes...hope its looks better on Mac now..
-- (define? (Cornflakes))

cormullion

#22
Quote from: "newdep" ..something that generates automated nlist.idx

files in text and/or GS/Java html pane format...but be our guest  ;-)


For that, the information needs to be attached to each file somehow, then a script could read that information and compile an idx file. Perhaps you could somehow make newlispdoc comments and nlist.idx fields work together...? :)



;; @module       - could be same as filename (field 1)?

;; @description  - for field 5?

;; @location  

;; @version  

;; @author



Then you could use:



;; @os

;; @category

;; @ui



for your fields 2 3 4.



Then a script could scan for newlispdoc comments and generate an nlist.idx file  as well.



And by forcing us all to write newlispdoc comments for all our files, we defeat the forces of chaos and disorder :) :)

newdep

#23
Cormullion..yes ill think about that... Somehow it must be possible ;-)















nlist release v0.6



 - You can now decrypt text files that are crypted using 'Encrypt.

   This enables you to leave messages for others or protect code from

   being viewed by others. The person who knows the Crypt-Key can

   enter the key and the encrypted text will be shown in the output-panel.

   If the key is incorrect then text will be crypted again! You 'could'

   add inside nlist.idx a notification that the files is encrypted

   i.e. {crypt} {enc}..

 - outlining is again to the "left"



* Decryption/Encryption *



You can include encrypted files, text files or binary's on your location and

display them by including them inside the nlist.idx. Pressing the right mouse

button will popup the menu which includes "Decrypt/Encrypt Text". When

you select this option a new window will appear that enables you to enter

the "Crypt-Key" to Decrypt the text or Encrypt the text. If the text is not

encrypted you can Encrypt the text by providing a Crypt-Key and then select

"Crypt" and "Save File" from the Menu to store the file localy!

If the text/binary is encrypted you can select the Crypt-Key to Decrypt the

file and if the key is correct the text will be shown to you. This is a way

to drop messages or files for people that only know the Crypt-Key.

This option uses the newlisp 'encrypt.











(load "http://www.nodep.nl/downloads/newlisp/nlist.lsp">//http://www.nodep.nl/downloads/newlisp/nlist.lsp")
-- (define? (Cornflakes))

cormullion

#24
Looks OK now on Mac.



But I'm not seeing your stuff:



no (nlist.idx) found at: (http://www.nodep.nl/downloads/newlisp/">http://www.nodep.nl/downloads/newlisp/)

newdep

#25
hahah yes sorry....

download the new one or remove the proxy setting inside

the nlist.lsp... (setenv PROXY..) I forgot to remove it befor uploading...



Norman.
-- (define? (Cornflakes))

newdep

#26
just released version 0.8

(load "http://www.nodep.nl/downloads/newlisp/nlist.lsp">//http://www.nodep.nl/downloads/newlisp/nlist.lsp")



see help for changes to v0.8.





PS: cormullion, does it show correctly on OsX?

(now its with Java gui default)





Norman.
-- (define? (Cornflakes))

cormullion

#27
It looks - different! I much prefer the native look to the Java look, though. The fonts aren't smoothed in the Java interface, I think...



Tthe big browser window at the right doesn't seem to update to show the file contents, although the status readout reflects the selection...



http://farm3.static.flickr.com/2167/2110254967_97ac0c37eb_o.png">

newdep

#28
QuoteIt looks - different! I much prefer the native look to the Java look, though. The fonts aren't smoothed in the Java interface, I think...



Tthe big browser window at the right doesn't seem to update to show the file contents, although the status readout reflects the selection...






Thanks for the screen dump. and feedback. ;-)



If you remove the  (gs:set-look-and-feel "javax.swing.plaf.metal.MetalLookAndFeel") I dont know what it now will do on the Mac ?? (If you test this remove the nlist.cfg too and restart nlist.lsp)





Well yes the output window has default now "Monospaced fonts" this is perhpas an ugly font but it seems the only font that equals  Graphics to Console text conversion  (now the Tabs and spaces are correct in size and

the text is outlined better)



*Correction added*

You are using V0.9 If you downloaded the latest GS 1.10 from lutz you should

see with 1 Click the Info of the Link/File at the bottom and with 2 clicks it loads the content..If you did not download the G1.10 then only 2 clicks work..



I like the 1 click direct load also, but to be able to scroll through the info

of nlist.idx the 1 click now shows the info without loading.







Norman.
-- (define? (Cornflakes))

cormullion

#29
QuoteYou are using V0.9 If you downloaded the latest GS 1.10 from lutz ...


I might have known! All you have to do is look away for a few minutes and there's an upgrade available! Wonderful stuff...