SGI: Development

Microline3.1 - Grid (table) widget now supports UTF8 and XFT - Page 1

The extra Motif widgets used on original Netscape navigator continue to be used in nedit.

Arahne is using them in its textile CAD system, and as we needed to switch to UTF8 and XFT antialiased fonts, we added those features and released changes under original open source license.

I can highly recommend XmLGrid widget, it is capable of displaying a table of 1.000.000 lines without any problems, scrolling, sorting, everything is immediate.

Memory footprint is also very moderate, as table contents is stored as very compact string, not as a million of separate widgets.
https://sourceforge.net/projects/microline/

Image
Thanks for posting that Dušan! For anyone who hasn't seen Dušan's weaving CAD/CAM software, it is jaw droppingly amazing.

Also, if anyone's interested I've got the Netscape enhanced Motif widgets, originally written by Ramiro Estrugo, as part of Netscape they were called the XfeWidgets, for "X front end." I've even got them autoconfed, although, looking at it right now the last time I diddled with the configure script was June of 2001 and now of course it's bit-rotted and fails when checking for XmCreateText in -lXm. I'm sure it'd be easy to fix if anyone wants it I'll take a stab at fixing it before I send it on. Which, the likelihood of anyone wanting it I realize would hover around the time the pigs fly and hell is filled with glaciers... :lol:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
oh yes, nice tables. that's very handy :-)
v-v-v-v-v-vishnu wrote: as part of Netscape they were called the XfeWidgets, for "X front end."


Trivia: Mozilla now calls this set of components XPFE, for cross platform front end. But the derivation is obvious.
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
foetz wrote: oh yes, nice tables. that's very handy :-)

Would have been a help for Ted ! His tables are a little cumbersome.



ClassicHasClass wrote: Trivia: Mozilla now calls this set of components XPFE, for cross platform front end. But the derivation is obvious.

Of course ! Steal someone else's work, call it their own, trumpet the "cross-platform" buzzword to the heavens (twelve varieties of Linux, one version of Windows and a Mac port 'in progress') then, two weeks from now, 'deprecate' it.

Can we just drown those worthless asshats and be done with it ?

vishnu wrote: For anyone who hasn't seen Dušan's weaving CAD/CAM software, it is jaw droppingly amazing.

It is pretty nice. Tried to build an old version once or twice but didn't get too far. I'd probaly work at it harder if I had a loom :D

Also, if anyone's interested I've got the Netscape enhanced Motif widgets, originally written by Ramiro Estrugo, as part of Netscape they were called the XfeWidgets ...

Maybe stick them in your personal area here on nekochan ? Or maybe neko would want to put that in the ftp area ? Some day, maybe some one will want to play with that ...
Juliet ! the dice were loaded from the start ...
They're nice widgets, they were designed to make the Motif version of Netscape look and act like the Windows version, and they all come with sample code that compiles into a working demonstration of the widget. Well actually not all, some of the example programs are broken. It was a work in progress that they completely abandoned in October 1998 when they made the switch to Geko and XPFE, despite the fact that neither Geko nor XPFE were anywhere near ready. A very poor decision that was loudly reviled by obviously much wiser project members, jwz in particular...
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
Of course ! Steal someone else's work, call it their own,


Well, let's be fair here: most of Mozilla (or at least MoCo) is ex-Netscape folks.
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
ClassicHasClass wrote: Well, let's be fair here: most of Mozilla (or at least MoCo) is ex-Netscape folks.

Exactly. They are the same lying scumbags they were in 1996. Pretty new bottle, same old Ripple inside.
Juliet ! the dice were loaded from the start ...
hamei wrote:
ClassicHasClass wrote: Well, let's be fair here: most of Mozilla (or at least MoCo) is ex-Netscape folks.

Exactly. They are the same lying scumbags they were in 1996. Pretty new bottle, same old Ripple inside.

Pardonnez moi, I love Ripple but technically they didn't start lying until April 1st 1998 when they released the source code. After that the untruths flowed thick rich and delicious... :lol:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
vishnu wrote: Pardonnez moi, I love Ripple ...

You and my mom ... there's nothing she likes better than a good box of white wine :P

technically they didn't start lying until April 1st 1998 when they released the source code. After that the untruths flowed thick rich and delicious... :lol:

I'm sure you've read The New New Thing ... liars and cheats almost from the beginning. Your buddy Jamie quickly recognized that not only are they worthless liars and cheats, they are incompetent worthless liars and cheats ...

Remember the SGI programmer who was here for a while, added anti-aliased fonts to the icon catalog and worked on Open Orifice ? The trouble with a feature like that is that it looks great if you can add it everywhere but if it's only here and there, it's kind of distracting. I like the idea of UTF8 and antialiased fonts but the reality would be quite a bit of work :(

5Dwm is wrapped up in SGI-enforced limitations like Captain Nemo in the arms of a giant quid. I don't think we can look for help there ...
Juliet ! the dice were loaded from the start ...
hamei wrote: trumpet the "cross-platform" buzzword to the heavens (twelve varieties of Linux, one version of Windows and a Mac port 'in progress')

:lol: quote of the week and so true
foetz wrote:
hamei wrote: trumpet the "cross-platform" buzzword to the heavens (twelve varieties of Linux, one version of Windows and a Mac port 'in progress')

:lol: quote of the week and so true

In all fairness though, the Mozilla project said from day one that the product they were going to provide was source code, which strangely puts me in mind of the line from Kill Bill, "I didn't say I was going to explain myself I said I was going to be honest."
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
vishnu wrote:
foetz wrote:
hamei wrote: trumpet the "cross-platform" buzzword to the heavens (twelve varieties of Linux, one version of Windows and a Mac port 'in progress')

:lol: quote of the week and so true

In all fairness though, the Mozilla project said from day one that the product they were going to provide was source code, which strangely puts me in mind of the line from Kill Bill, "I didn't say I was going to explain myself I said I was going to be honest."


oh sure i didn't mean mozilla in particular. that quote applies to countless other "projects", too :P
vishnu wrote: Thanks for posting that Dušan! For anyone who hasn't seen Dušan's weaving CAD/CAM software, it is jaw droppingly amazing.

Thank you so much, I am very flattered.

I know weaving software is off the map of general interest, but ArahPaint4 can be useful for some pixel pushing. Sorry, ArahPaint4 is Qt 3 based; I don't know if that can compile on SGI.
http://www.arahne.si/download/software-demo.html
I am actually proud of image browser in ArahWeave (Weave>Jacquard conversion, Images>Browse)
Uses up to 12 cores for parallel icon creation, icons are created as you need them (scroll to make them visible), and clicking on the barren tree icon (in the upper right of the picture with the grid widget) will enable subdirectory view. That will load all the image files from current directory and all its subdirectories, and present them in a single list. Then you can use list view and sort them by file size, and delete the useless big files, or convert the TIFFs to PNG.

As ArahWeave no longer runs on SGI, you can use it on Linux and access the files on SGI via NFS mount. Works reasonably fast if you have an SSD.
ArahPaint also features image browser, but is not multicore, is blocking during browsing, and does not have the detail view from the Microline Grid widget.

vishnu wrote: Also, if anyone's interested I've got the Netscape enhanced Motif widgets, originally written by Ramiro Estrugo, as part of Netscape they were called the XfeWidgets, for "X front end." I've even got them autoconfed, although, looking at it right now the last time I diddled with the configure script was June of 2001 and now of course it's bit-rotted and fails when checking for XmCreateText in -lXm. I'm sure it'd be easy to fix if anyone wants it I'll take a stab at fixing it before I send it on. Which, the likelihood of anyone wanting it I realize would hover around the time the pigs fly and hell is filled with glaciers... :lol:


Being an avid widget scavenger, I would be very much interested in Xfe widgets. If you can upload them and your build script to sourceforge, I will definitely try them.
dpeterc wrote: Works reasonably fast if you have an SSD.

statements like that always make me giggle :P

anyway i also had a look at your site and can fully agree to what vishnu said :D
Back in the last-gasp days of the Usenet Dušan and I were among the few regular responders in the Motif newsgroup.

I'll look into what it would take to get Ramiro's XfeWidget code to compile in the modern era, it might be a long slog but the guy's not just a coder, he's an ar tist:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
foetz wrote:
dpeterc wrote: Works reasonably fast if you have an SSD.

statements like that always make me giggle :P

To put it in context:
- enter directory with 10.000 image files and show them graphically in 1 second.
- being always faster than Motif FileSelectionBox, while showing more data (date, file size, number of colors, image type, autodetect file format).
vishnu wrote: I'll look into what it would take to get Ramiro's XfeWidget code to compile in the modern era, it might be a long slog but the guy's not just a coder, he's an ar tist:

Looks like your version of code has been slightly cleaned up :D
http://www.jwz.org/doc/censorzilla.html

Code: Select all

cmd/xfe/forms.c:                     * on this widget the HP screws up.
cmd/xfe/forms.c:                     * that is fucked, but doing a XtVaSetValues() here will
cmd/xfe/forms.c:                  /* Note that the fuckin' item_position starts at 1, not 0!!!! */
cmd/xfe/forms.c:                 * that is fucked, but doing a XtVaSetValues() here will
cmd/xfe/forms.c:                /* On SGI, this label won't go the fuck away - 4 pixels wide.
cmd/xfe/forms.c:                    /* There's an XmScrolledWindow around this fucker...
cmd/xfe/forms.c:                    widget_to_ream = XtParent (widget);        /* fuck! */
cmd/xfe/forms.c:                  fe_HackTranslations (context, widget_to_ream);
cmd/xfe/forms.c:                  if (form->element_data->type == FORM_TYPE_SELECT_ONE) /* you suck! */
cmd/xfe/forms.c:                 text strings.  Fuck 'em.
cmd/xfe/forms.c:                /* Lord Whorfin says: send me a click, dammit! */
cmd/xfe/forms.c:              /* Motif likes to bitch and moan when there are binary characters in
dpeterc wrote: Looks like your version of code has been slightly cleaned up :D
http://www.jwz.org/doc/censorzilla.html

Code: Select all

cmd/xfe/forms.c:                     * on this widget the HP screws up.
cmd/xfe/forms.c:                     * that is fucked, but doing a XtVaSetValues() here will
cmd/xfe/forms.c:                  /* Note that the fuckin' item_position starts at 1, not 0!!!! */
cmd/xfe/forms.c:                 * that is fucked, but doing a XtVaSetValues() here will
cmd/xfe/forms.c:                /* On SGI, this label won't go the fuck away - 4 pixels wide.
cmd/xfe/forms.c:                    /* There's an XmScrolledWindow around this fucker...
cmd/xfe/forms.c:                    widget_to_ream = XtParent (widget);        /* fuck! */
cmd/xfe/forms.c:                  fe_HackTranslations (context, widget_to_ream);
cmd/xfe/forms.c:                  if (form->element_data->type == FORM_TYPE_SELECT_ONE) /* you suck! */
cmd/xfe/forms.c:                 text strings.  Fuck 'em.
cmd/xfe/forms.c:                /* Lord Whorfin says: send me a click, dammit! */
cmd/xfe/forms.c:              /* Motif likes to bitch and moan when there are binary characters in

That's the Motif Widget Experience in a nutshell... :lol:
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
I hate to be a bit late to the party, but I would like to try the grid widget on Irix, but I can't get it to compile.
I read the readme, which says that the first step is to run "xmkmf -a", but this gives me the following error:

~/Microline-3.1> xmkmf -a
mv -f Makefile Makefile.bak
imake -DUseInstalled -DBuild64bit=0 -DBuild32bit=1 -DBuildN32=1 -DBuildO32=0 -I/usr/lib/X11/config
make Makefiles
making Makefiles in XmL...
mv Makefile Makefile.bak
make: file `Makefile' line 535: Must be a separator (: or ::) for rules (bu39)
make: file `Makefile' line 535: Syntax error
make includes
including in ./XmL...
make: file `Makefile' line 535: Must be a separator (: or ::) for rules (bu39)
make: file `Makefile' line 535: Syntax error
*** Error code 1 (bu21)

I'm not sure what to do which "Makefile" it is talking about. I looked at the Makefile in the main directory and at line 535 there is a simple echo command.