[Tool] Nlist - remote content/code-browsing -
[Tool] Nlist - remote content/code-browsing -
This is a remote content/code-browsing tool. Small and effective.
Under development,This is a pre-release.
Just to get an impression on what it will become, currently it is viewing only)
(load "http://www.nodep.nl/downloads/newlisp/nlist.lsp")
Enjoy, Norman.
PS: should work on all OSes ;-)
Under development,This is a pre-release.
Just to get an impression on what it will become, currently it is viewing only)
(load "http://www.nodep.nl/downloads/newlisp/nlist.lsp")
Enjoy, Norman.
PS: should work on all OSes ;-)
-- (define? (Cornflakes))
WinXP and newLISP 9.2.0 here
it return an error:
on my default installation (env "NEWLISPDIR") return nil
it return an error:
Code: Select all
array, list or string expected : (env "NEWLISPDIR")
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
oo sorry for that,
yes I always have the latest Hot-from-the-oven newlisp version ;-)
Anyway.. the nlist content-browser will have new features in the new release.
'load is removed, a save remote url procedure is introduced..and
some other handy features.. hope to keep it compact and simple ;-)
That release will also join the competition ;-)
yes I always have the latest Hot-from-the-oven newlisp version ;-)
Anyway.. the nlist content-browser will have new features in the new release.
'load is removed, a save remote url procedure is introduced..and
some other handy features.. hope to keep it compact and simple ;-)
That release will also join the competition ;-)
-- (define? (Cornflakes))
nlist.lsp version v0.3 release!
(tested with newlisp-9.2.8 and GS 1.7)
Pre-mature but globaly its working (nice ;-) (lots of feature to add)
Dont use v0.2 any more.. also convert you older nlist.idx into the new format! (strings only)
(load "http://www.nodep.nl/downloads/newlisp/nlist.lsp")
Enjoy..
PS: perhaps someone with a Mac could show me a picture
on how the nlist looks on MacOs ? just currious...
(tested with newlisp-9.2.8 and GS 1.7)
Pre-mature but globaly its working (nice ;-) (lots of feature to add)
Dont use v0.2 any more.. also convert you older nlist.idx into the new format! (strings only)
(load "http://www.nodep.nl/downloads/newlisp/nlist.lsp")
Enjoy..
PS: perhaps someone with a Mac could show me a picture
on how the nlist looks on MacOs ? just currious...
-- (define? (Cornflakes))
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
Do 3 rows by 1 column (or is it 4 rows by 1 column?) grid layout at the top level. Then in each of the 3 (or 4) cells do a flow layout in a gs:panel.
The gs:panel in each cell will expand to its maximum size in the grid and doe not need to be sized. The flow layout inside the gs:panel lets you set the size of the elements contained.
Perhaps for the big cell (list box and text area) you do a border layout with "east", "center" or "east" "west".
On my Mac I see of the URL line only the top half. Even on the same platform there are still differences on different resolution displays.
Lutz
ps: always do nesting of simpler layouts to achieve complexer layouts. gs:panel is cheap on resources.
The gs:panel in each cell will expand to its maximum size in the grid and doe not need to be sized. The flow layout inside the gs:panel lets you set the size of the elements contained.
Perhaps for the big cell (list box and text area) you do a border layout with "east", "center" or "east" "west".
On my Mac I see of the URL line only the top half. Even on the same platform there are still differences on different resolution displays.
Lutz
ps: always do nesting of simpler layouts to achieve complexer layouts. gs:panel is cheap on resources.
Hi Lutz,
I tried your advice but the grid-layout on main is a nightmare..
although setting the flow-layout inside the panel its not spacing nicely.
a grid-layout of 3 1 0 0 gives me the list-panel and output-panel in
the midle of the screen and im unable to get them to the top of the main
window... its not outlining to its full size..
I fiddled now for 3 hours with this but its not happening, i tried including
panels make only 2 or three or more.. its not working nicely when grid-
layout is selected.. Ill keep on trying..
Norman.
I tried your advice but the grid-layout on main is a nightmare..
although setting the flow-layout inside the panel its not spacing nicely.
a grid-layout of 3 1 0 0 gives me the list-panel and output-panel in
the midle of the screen and im unable to get them to the top of the main
window... its not outlining to its full size..
I fiddled now for 3 hours with this but its not happening, i tried including
panels make only 2 or three or more.. its not working nicely when grid-
layout is selected.. Ill keep on trying..
Norman.
-- (define? (Cornflakes))
I wasn't sure about the grid layout choice myself. The grid layout tries to make cells of equal size and of course we don't want this and I forgot about that.
Perhaps a border layout for the main structure instead, where you can size "north" and "south" parts vertically via the panel sizes and the "center" panel will try to take up the rest of the space.
"north" -> ps:panel with flow layout for label and url-bar
"center" -> gs:panel with list-box and text area in flow layout
"south" -> gs:panel flow-layout for the status fields
Lutz
Perhaps a border layout for the main structure instead, where you can size "north" and "south" parts vertically via the panel sizes and the "center" panel will try to take up the rest of the space.
"north" -> ps:panel with flow layout for label and url-bar
"center" -> gs:panel with list-box and text area in flow layout
"south" -> gs:panel flow-layout for the status fields
Lutz
Lutz,
The problem is probably the fact that the system-fonts are directly bound
to the size in height/length of the text-fields and area's..and every OS has different default fonts.. setting a font style for the text-area/field does
simmulate the size, but sizes of font are also different between OS types..
I think its a never ending story ;-) Ill just need to think of something more specific..
PS the "center"is nicer indeed for the middle cell..
Norman.
The problem is probably the fact that the system-fonts are directly bound
to the size in height/length of the text-fields and area's..and every OS has different default fonts.. setting a font style for the text-area/field does
simmulate the size, but sizes of font are also different between OS types..
I think its a never ending story ;-) Ill just need to think of something more specific..
PS the "center"is nicer indeed for the middle cell..
Norman.
-- (define? (Cornflakes))
* new v0.4*
(load "http://www.nodep.nl/downloads/newlisp/nlist.lsp")
Lots of changes in nlist v0.4
- Expirimented with Panels and grid switched to nlist.cfg colution.
- Changed Info window to Monospaced, better font for script display.
- XY coords/size of nlist are saved when doing "Quit" or windowclose
- nlist now has a configfile called ./nlist/nlist.cfg
- Removed nlist.uri, bookmarks are now stored inside nlist.cfg!
- Shelf-menu is now automaticly updated after doing a bookmark
- Switching between Text and HTLM is now possible in output window.
last textmode is also saved when the nlist is closed.
Lutz.. Is it possible to make newLispDoc compatible with the text/html in GS?
Or the other way around? Would be so nice to view newLIspDoc files from
within a text/html field.
Secondly.. Is it possile that the "web links" that are inside a text/html can
be pre-configured? Seems text/field in html mode now always seeks for
index.html..that not always handly..PS... This works on Windows but NOT under
Linux... Linux seeks always for index.html it seems..
thirdly.. Have a look at the dynamic switch between text/plain and text/html
there must be a better way to do this "on the fly?" what do you think? is GS
up to it? ;-)
Enjoy..
Norman.
(load "http://www.nodep.nl/downloads/newlisp/nlist.lsp")
Lots of changes in nlist v0.4
- Expirimented with Panels and grid switched to nlist.cfg colution.
- Changed Info window to Monospaced, better font for script display.
- XY coords/size of nlist are saved when doing "Quit" or windowclose
- nlist now has a configfile called ./nlist/nlist.cfg
- Removed nlist.uri, bookmarks are now stored inside nlist.cfg!
- Shelf-menu is now automaticly updated after doing a bookmark
- Switching between Text and HTLM is now possible in output window.
last textmode is also saved when the nlist is closed.
Lutz.. Is it possible to make newLispDoc compatible with the text/html in GS?
Or the other way around? Would be so nice to view newLIspDoc files from
within a text/html field.
Secondly.. Is it possile that the "web links" that are inside a text/html can
be pre-configured? Seems text/field in html mode now always seeks for
index.html..that not always handly..PS... This works on Windows but NOT under
Linux... Linux seeks always for index.html it seems..
thirdly.. Have a look at the dynamic switch between text/plain and text/html
there must be a better way to do this "on the fly?" what do you think? is GS
up to it? ;-)
Enjoy..
Norman.
-- (define? (Cornflakes))
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
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...
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...
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 ;-)
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))
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
I put the nlist.idx file here:
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.c ... i?download. Perhaps I'll write a bit of code that scans the contents of that folder and updates the nlist.idx file automatically...
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.c ... i?download. Perhaps I'll write a bit of code that scans the contents of that folder and updates the nlist.idx file automatically...
aaa nice....Lutz wrote:In the upcoming 9.2.9 (on the weekend) gs:mouse-event can be used also on list boxes to trap single clicks.
Lutz
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))
cormullion wrote:I put the nlist.idx file here:
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.c ... i?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))
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
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...? :)newdep wrote: ..something that generates automated nlist.idx
files in text and/or GS/Java html pane format...but be our guest ;-)
;; @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 :) :)
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")
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")
-- (define? (Cornflakes))
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
Looks OK now on Mac.
But I'm not seeing your stuff:
no (nlist.idx) found at: (http://www.nodep.nl/downloads/newlisp/)
But I'm not seeing your stuff:
no (nlist.idx) found at: (http://www.nodep.nl/downloads/newlisp/)