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

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
vishnu
Donor
Donor
Posts: 3189
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: Microline3.1 - Grid (table) widget now supports UTF8 and

Unread postby vishnu » Wed Mar 12, 2014 9:47 pm

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 artist:
Attachments
xfewidgets.jpg
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

dpeterc
Posts: 14
Joined: Mon Feb 24, 2014 4:56 am

Re: Microline3.1 - Grid (table) widget now supports UTF8 and

Unread postby dpeterc » Thu Mar 13, 2014 5:58 am

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).

dpeterc
Posts: 14
Joined: Mon Feb 24, 2014 4:56 am

Re: Microline3.1 - Grid (table) widget now supports UTF8 and

Unread postby dpeterc » Thu Mar 13, 2014 6:21 am

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 artist:

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

User avatar
vishnu
Donor
Donor
Posts: 3189
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

Re: Microline3.1 - Grid (table) widget now supports UTF8 and

Unread postby vishnu » Thu Mar 13, 2014 11:23 am

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...

:Tezro: :Octane2:

markh
Posts: 26
Joined: Sat Dec 04, 2004 5:48 am
Location: The Netherlands

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

Unread postby markh » Sat Jun 13, 2015 5:22 am

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.

User avatar
vishnu
Donor
Donor
Posts: 3189
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

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

Unread postby vishnu » Sun Jun 14, 2015 2:45 pm

I'm pretty sure if you use gmake instead of Irix make that problem will go away.

Also, I don't know how I forgot this but foetz and I have already dragged the mozilla xfe widgets into the modern era: http://forums.nekochan.net/viewtopic.php?f=15&t=16729171&p=7374588&
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

User avatar
foetz
Moderator
Moderator
Posts: 6592
Joined: Mon Apr 14, 2003 4:34 am
Contact:

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

Unread postby foetz » Sun Jun 14, 2015 3:03 pm

we did but not this version. however if you don't need utf8 or xft ours will do :-)

markh
Posts: 26
Joined: Sat Dec 04, 2004 5:48 am
Location: The Netherlands

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

Unread postby markh » Mon Jun 15, 2015 11:50 am

But does yours contain the grid widget that Microline has? I downloaded the xfewidgets source from the link you mentioned, but didn't see it.
As to your suggestion of using gmake. I would like to, but the first command I need to execute is "xmkmf -a" and that immediately gives the above error.

Thanks for the help so far.

User avatar
vishnu
Donor
Donor
Posts: 3189
Joined: Sun Mar 18, 2007 3:25 pm
Location: Minneapolis, Minnesota USA

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

Unread postby vishnu » Sat Jun 20, 2015 3:06 pm

markh wrote:But does yours contain the grid widget that Microline has?


Uh... No?
markh wrote:But does yours contain the grid widget that Microline has? I downloaded the xfewidgets source from the link you mentioned, but didn't see it.
As to your suggestion of using gmake. I would like to, but the first command I need to execute is "xmkmf -a" and that immediately gives the above error.


Move make to something like sgi_make and then make gmake a simlink to make.
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...

:Tezro: :Octane2:

User avatar
foetz
Moderator
Moderator
Posts: 6592
Joined: Mon Apr 14, 2003 4:34 am
Contact:

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

Unread postby foetz » Sat Jun 20, 2015 4:21 pm

markh wrote:But does yours contain the grid widget that Microline has?

yep


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 2 guests