* Netscape
@ 1998-04-19 20:49 Joakim Roubert
1998-04-19 21:13 ` Netscape Uncle George
0 siblings, 1 reply; 13+ messages in thread
From: Joakim Roubert @ 1998-04-19 20:49 UTC (permalink / raw)
To: Axp List
Hi!
Has anybody got a well-working alpha-linux-netscape to share to a
non-coder (=me)?
/Jokke tmw.
---
* Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9)
Jag använder ett 64-bitars operativsystem. Gör du? :nigirO *
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: Netscape 1998-04-19 20:49 Netscape Joakim Roubert @ 1998-04-19 21:13 ` Uncle George 1998-04-20 5:25 ` Netscape Hugo van der Kooij ` (2 more replies) 0 siblings, 3 replies; 13+ messages in thread From: Uncle George @ 1998-04-19 21:13 UTC (permalink / raw) To: axp-list, Joakim Roubert how about u get src, i give u diff ? u can build to ur hearts content!? Joakim Roubert wrote: > Hi! > > Has anybody got a well-working alpha-linux-netscape to share to a > non-coder (=me)? > > /Jokke tmw. > --- > * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9) > Jag använder ett 64-bitars operativsystem. Gör du? :nigirO * > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Netscape 1998-04-19 21:13 ` Netscape Uncle George @ 1998-04-20 5:25 ` Hugo van der Kooij 1998-04-20 13:14 ` Netscape Uncle George 1998-04-20 5:34 ` Netscape Hugo van der Kooij 1998-04-20 8:17 ` Netscape Joakim Roubert 2 siblings, 1 reply; 13+ messages in thread From: Hugo van der Kooij @ 1998-04-20 5:25 UTC (permalink / raw) To: axp-list; +Cc: Joakim Roubert On Sun, 19 Apr 1998, Uncle George wrote: > how about u get src, i give u diff ? u can build to ur hearts content!? Yes. Please tell us where you put these diffs. Hugo. +------------------------+------------------------------+ | Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl | | Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij | | 3155 VJ Maasland | (De man met de rode hoed) | +------------------------+------------------------------+ "Computers let you make more mistakes faster than any other invention in human history, with the possible exception of handguns and tequila." (Mitch Radcliffe) ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Netscape 1998-04-20 5:25 ` Netscape Hugo van der Kooij @ 1998-04-20 13:14 ` Uncle George 1998-04-20 14:14 ` Netscape Joakim Roubert 1998-04-20 15:49 ` Netscape and qt!! Aaron 0 siblings, 2 replies; 13+ messages in thread From: Uncle George @ 1998-04-20 13:14 UTC (permalink / raw) To: Hugo.van.der.Kooij; +Cc: axp-list, Joakim Roubert, comp.os.linux.alpha My diffs are as follows: 1) Makefile - include /usr/local/lib/libXm.a 2) Grid.c - include a missing dropsmgrs.h include 3) garray.c - change int32 -> int64 ( all int32's where changed!) 4) jsapi.c - take care of NaN conversions to int 5) jsnum.c - plug in the float point MIN value as per alpha handbook. 6) jsnum.h - security/sanity check for NaN testing conversion 7) _linux.h - move stack to highed ground, so I can see chopped off address pointers easier 8) unix.c - make mmap'ed stack executable - longjmp/signals seem to put machine instruction on the stack I Am using lesstif, but lesstif-current. The folks at hungry have been putting a lot of effort into getting netscape & lesstif working well together, and 83 just wont make it. dont forget to build lesstif with -DXTHREADS, and ./configure --enable-static --enable-shared u need to install the lesstif includes before u build mozilla. I am also using redhat 5.0 hope this helps. gat PS I guess i gotta say this but THE DIFFS ARE IN THE MAIL. Hugo van der Kooij wrote: > On Sun, 19 Apr 1998, Uncle George wrote: > > > how about u get src, i give u diff ? u can build to ur hearts content!? > > Yes. Please tell us where you put these diffs. diff -r -u -I RCSID -I Id -I Revision: ns/cmd/xfe/Makefile ns.new/cmd/xfe/Makefile --- ns/cmd/xfe/Makefile Mon Mar 30 21:05:35 1998 +++ ns.new/cmd/xfe/Makefile Sat Jan 7 19:23:18 1922 @@ -579,6 +579,7 @@ -include $(DEPTH)/config/motif.mk XTOOLLIB = -L/usr/X11R6/lib -lXt -lSM -lICE +#XTOOLLIB = -L/usr/X11R6/lib -lSM -lICE XLIB = -lXext -lX11 XMULIB = -lXmu -lXpm @@ -589,7 +590,7 @@ MOTIFLIB =\ $(MOTIFPATCH_LIB) \ - /usr/X11R6/lib/libXm.a \ + /usr/local/lib/libXm.a \ $(NS_MOTIF2_XP_LD_FLAGS) endif diff -r -u -I RCSID -I Id -I Revision: ns/cmd/xfe/Microline3.0/XmL/Grid.c ns.new/cmd/xfe/Microline3.0/XmL/Grid.c --- ns/cmd/xfe/Microline3.0/XmL/Grid.c Mon Mar 30 21:05:42 1998 +++ ns.new/cmd/xfe/Microline3.0/XmL/Grid.c Sat Apr 4 06:21:41 1998 @@ -30,6 +30,9 @@ #include <Xm/Text.h> #include <Xm/DrawnB.h> #include <Xm/CutPaste.h> +#if defined (__linux__) +#include <Xm/DropSMgr.h> +#endif #include <X11/StringDefs.h> #include <X11/cursorfont.h> #include <stdio.h> diff -r -u -I RCSID -I Id -I Revision: ns/include/garray.h ns.new/include/garray.h --- ns/include/garray.h Mon Mar 30 21:03:48 1998 +++ ns.new/include/garray.h Sat Apr 4 21:01:08 1998 @@ -163,7 +163,7 @@ template<class PTRTYPE> class TXP_GrowableArray: public CXP_GrowableArray { public: - PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int32)m_pData[nIndex]; } + PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int64)m_pData[nIndex]; } PTRTYPE& operator[](int nIndex){ return *(PTRTYPE*)&m_pData[nIndex]; } int Add(PTRTYPE newElement){ return CXP_GrowableArray::Add( (void*) newElement ); } }; @@ -176,7 +176,7 @@ #define Declare_GrowableArray(NAME,PTRTYPE) \ class TXP_GrowableArray_##NAME: public CXP_GrowableArray { \ public: \ - PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int32)m_pData[nIndex]; }\ + PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int64)m_pData[nIndex]; }\ PTRTYPE& operator[](int nIndex){ return *(PTRTYPE*)&m_pData[nIndex]; } \ int Add(PTRTYPE newElement){ return CXP_GrowableArray::Add( (void*) newElement ); } \ }; \ @@ -216,12 +216,12 @@ #define Declare_PtrStack(NAME, PTRTYPE) \ class TXP_PtrStack_##NAME : public CXP_PtrStack { \ public: \ - void Push( PTRTYPE t ){ CXP_PtrStack::Push((void*)(int32)t); } \ - PTRTYPE Top(){ return (PTRTYPE)(int32)CXP_PtrStack::Top(); } \ - PTRTYPE Pop(){ return (PTRTYPE)(int32)CXP_PtrStack::Pop(); } \ - PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int32)m_pData[nIndex]; }\ + void Push( PTRTYPE t ){ CXP_PtrStack::Push((void*)(int64)t); } \ + PTRTYPE Top(){ return (PTRTYPE)(int64)CXP_PtrStack::Top(); } \ + PTRTYPE Pop(){ return (PTRTYPE)(int64)CXP_PtrStack::Pop(); } \ + PTRTYPE operator[](int nIndex) const { return (PTRTYPE)(int64)m_pData[nIndex]; }\ PTRTYPE& operator[](int nIndex){ return *(PTRTYPE*)&m_pData[nIndex]; } \ - int Add(PTRTYPE newElement){ return CXP_GrowableArray::Add( (void*)(int32)newElement ); } \ + int Add(PTRTYPE newElement){ return CXP_GrowableArray::Add( (void*)(int64)newElement ); } \ }; \ diff -r -u -I RCSID -I Id -I Revision: ns/js/src/jsapi.c ns.new/js/src/jsapi.c --- ns/js/src/jsapi.c Mon Mar 30 21:04:01 1998 +++ ns.new/js/src/jsapi.c Thu Apr 2 07:02:41 1998 @@ -841,11 +841,36 @@ * so we don't need to GC-alloc constant doubles. */ jsdouble d = cds->dval; +#if defined(__linux__) && defined (__alpha__) + jsint i; + if (isnan(d)) i = 0; + else if (i=isinf(d)) { + if ( i < 0 ) + i = 0x80000000; + else + i = 0x07ffffff; + } + else + { + union feeb { + double d; + long l; + } feeb; + long l; + feeb.d = d; + l = d; + i = (jsint) l; + } + if (JSDOUBLE_IS_INT(d, i) && INT_FITS_IN_JSVAL(i)) + value = INT_TO_JSVAL(i); + else + value = DOUBLE_TO_JSVAL(&cds->dval); +#else jsint i = (jsint)d; - value = (JSDOUBLE_IS_INT(d, i) && INT_FITS_IN_JSVAL(i)) ? INT_TO_JSVAL(i) : DOUBLE_TO_JSVAL(&cds->dval); +#endif #else ok = js_NewNumberValue(cx, cds->dval, &value); if (!ok) diff -r -u -I RCSID -I Id -I Revision: ns/js/src/jsnum.c ns.new/js/src/jsnum.c --- ns/js/src/jsnum.c Mon Mar 30 21:04:02 1998 +++ ns.new/js/src/jsnum.c Thu Apr 2 07:00:38 1998 @@ -235,7 +235,11 @@ {0, "POSITIVE_INFINITY"}, {0, "NEGATIVE_INFINITY"}, {1.7976931348623157E+308, "MAX_VALUE"}, +#if !( defined(__linux__) && defined(__alpha__)) {0, "MIN_VALUE"}, +#else + {2.2250738585072013E-308, "MIN_VALUE"}, +#endif {0} }; @@ -287,9 +291,11 @@ return NULL; } +#if !( defined(__linux__) && defined(__alpha__)) u.s.hi = 0; u.s.lo = 1; number_constants[NC_MIN_VALUE].dval = u.d; +#endif }\x7f if (!JS_DefineFunctions(cx, obj, number_functions)) diff -r -u -I RCSID -I Id -I Revision: ns/js/src/jsnum.h ns.new/js/src/jsnum.h --- ns/js/src/jsnum.h Mon Mar 30 21:04:02 1998 +++ ns.new/js/src/jsnum.h Thu Apr 2 07:04:44 1998 @@ -59,7 +59,7 @@ #define JSDOUBLE_IS_INT_2(d, i) (!JSDOUBLE_IS_NEGZERO(d) && (jsdouble)i == d) -#ifdef XP_PC +#if defined(XP_PC) || (defined(__linux__) && defined (__alpha)) /* XXX MSVC miscompiles NaN floating point comparisons for ==, !=, <, and <= */ #define JSDOUBLE_IS_INT(d, i) (!JSDOUBLE_IS_NaN(d) && JSDOUBLE_IS_INT_2(d, i)) #else diff -r -u -I RCSID -I Id -I Revision: ns/nsprpub/pr/include/md/_linux.h ns.new/nsprpub/pr/include/md/_linux.h --- ns/nsprpub/pr/include/md/_linux.h Mon Mar 30 21:05:25 1998 +++ ns.new/nsprpub/pr/include/md/_linux.h Sat Apr 4 05:45:42 1998 @@ -29,13 +29,17 @@ #define _PR_SI_ARCHITECTURE "ppc" #elif defined(__alpha) #define _PR_SI_ARCHITECTURE "alpha" +/* Move VMBASE to beyond 32 bits so we can readily observe ptr truncation */ +#define _PR_STACK_VMBASE 0x15450000000L #else #define _PR_SI_ARCHITECTURE "x86" #endif #define PR_DLL_SUFFIX ".so" #define _PR_VMBASE 0x30000000 +#if !defined _PR_STACK_VMBASE #define _PR_STACK_VMBASE 0x50000000 +#endif #define _MD_DEFAULT_STACK_SIZE 65536L #define _MD_MMAP_FLAGS MAP_PRIVATE diff -r -u -I RCSID -I Id -I Revision: ns/nsprpub/pr/src/md/unix/unix.c ns.new/nsprpub/pr/src/md/unix/unix.c --- ns/nsprpub/pr/src/md/unix/unix.c Mon Mar 30 21:05:26 1998 +++ ns.new/nsprpub/pr/src/md/unix/unix.c Sat Apr 4 05:37:45 1998 @@ -34,6 +34,10 @@ #include <sys/filio.h> #endif +#if defined (__linux__) +#include <sys/uio.h> /* Get readv/writev */ +#endif + /* * Make sure _PRSockLen_t is 32-bit, because we will cast a PRUint32* or * PRInt32* pointer to a _PRSockLen_t* pointer. @@ -2485,6 +2489,9 @@\x7f } prot = PROT_READ|PROT_WRITE; +#if defined(__linux__) && defined (__alpha__) + prot |= PROT_EXEC; /* Stack needs +x permissions */ +#endif rv = mmap((vaddr != 0) ? vaddr : lastaddr, size, prot, _MD_MMAP_FLAGS, _pr_zero_fd, 0); ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Netscape 1998-04-20 13:14 ` Netscape Uncle George @ 1998-04-20 14:14 ` Joakim Roubert 1998-04-20 15:49 ` Netscape and qt!! Aaron 1 sibling, 0 replies; 13+ messages in thread From: Joakim Roubert @ 1998-04-20 14:14 UTC (permalink / raw) To: Uncle George; +Cc: Hugo.van.der.Kooij, axp-list, comp.os.linux.alpha On Mon, 20 Apr 1998, Uncle George wrote: > My diffs are as follows: Great! Thnx!! > I Am using lesstif, but lesstif-current. Where is this to be found? /Jokke tmw. --- * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9) Jag använder ett 64-bitars operativsystem. Gör du? :nigirO * ^ permalink raw reply [flat|nested] 13+ messages in thread
* Netscape and qt!! 1998-04-20 13:14 ` Netscape Uncle George 1998-04-20 14:14 ` Netscape Joakim Roubert @ 1998-04-20 15:49 ` Aaron 1998-04-21 0:31 ` Martin Ostermann 2018-04-23 14:07 ` Adrian E. Feiguin 1 sibling, 2 replies; 13+ messages in thread From: Aaron @ 1998-04-20 15:49 UTC (permalink / raw) To: axp-list QT Scape is out and running, but I'm having trouble getting it to compile. I've got RH 4.2 and I recompiled the correct snapshot for QT, but no success. Since I run KDE, and really like the interface and programing features of QT, I'd love to get it up and running. Has anyone had success in this?? PS: as an aside the RPM from redhat puts QT in a different spot besides the default /usr/local/qt..........is there a reason why?? TIA ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Netscape and qt!! 1998-04-20 15:49 ` Netscape and qt!! Aaron @ 1998-04-21 0:31 ` Martin Ostermann 2018-04-23 14:07 ` Adrian E. Feiguin 1 sibling, 0 replies; 13+ messages in thread From: Martin Ostermann @ 1998-04-21 0:31 UTC (permalink / raw) To: Aaron; +Cc: axp-list > QT Scape is out and running, but I'm having trouble getting it to compile. > I've got RH 4.2 and I recompiled the correct snapshot for QT, but no > success. Since I run KDE, and really like the interface and programing > features of QT, I'd love to get it up and running. Has anyone had success > in this?? Well, I just tried it, using the patches Uncle George supplied yesterday. It worked quite well, just two minor problems: Getting the config stuff to recognize the 2.1.x kernel, and one problem with a syserror prototype in some qtfe file. Basically it works :-) Martin PS.: Kernel 2.1.89, glibc-2.0.7-6.rpm, 1st netscape and QtScape source. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Netscape and qt!! 1998-04-20 15:49 ` Netscape and qt!! Aaron 1998-04-21 0:31 ` Martin Ostermann @ 2018-04-23 14:07 ` Adrian E. Feiguin 1998-04-23 13:19 ` David Hamm 1998-04-24 6:29 ` Martin Ostermann 1 sibling, 2 replies; 13+ messages in thread From: Adrian E. Feiguin @ 2018-04-23 14:07 UTC (permalink / raw) To: Aaron; +Cc: axp-list I'm sorry. I've been loosing some mail lately. If I well understand Netscape was compiled using the Qt libraries, is that right? Is it working? I downloaded Mozilla's sources and installed Qt, what's next? I read something like there are some patches needed, how can I get them? (Uncle George's working on this?) Thank you very much, and sorry to be late. Please, if I'm wrong, be kind. <ADRIAN> ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Netscape and qt!! 2018-04-23 14:07 ` Adrian E. Feiguin @ 1998-04-23 13:19 ` David Hamm 1998-04-24 6:29 ` Martin Ostermann 1 sibling, 0 replies; 13+ messages in thread From: David Hamm @ 1998-04-23 13:19 UTC (permalink / raw) To: axp-list; +Cc: Aaron goto http://www.troll.no. I think you will find what you need there. On 23-Apr-18 "Adrian E. Feiguin" wrote: > > I'm sorry. I've been loosing some mail lately. If I well understand > Netscape was compiled using the Qt libraries, is that right? Is it > working? I downloaded Mozilla's sources and installed Qt, what's next? > I read something like there are some patches needed, how can I get them? > (Uncle George's working on this?) > Thank you very much, and sorry to be late. > > Please, if I'm wrong, be kind. > <ADRIAN> > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ------ David Hamm - dhamm@itserve.com -------- ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Netscape and qt!! 2018-04-23 14:07 ` Adrian E. Feiguin 1998-04-23 13:19 ` David Hamm @ 1998-04-24 6:29 ` Martin Ostermann 1 sibling, 0 replies; 13+ messages in thread From: Martin Ostermann @ 1998-04-24 6:29 UTC (permalink / raw) To: Adrian E. Feiguin; +Cc: axp-list "Adrian E. Feiguin" <adrian@ifir.ifir.edu.ar> writes: > I'm sorry. I've been loosing some mail lately. If I well understand > Netscape was compiled using the Qt libraries, is that right? Is it > working? I downloaded Mozilla's sources and installed Qt, what's next? > I read something like there are some patches needed, how can I get them? > (Uncle George's working on this?) OK, since I announced that I compiled qtscape and that "it basically works" let me comment on this. Uncle George posted some patches to this list last week, which you could use to compile netscape with lesstif-current. Now, as I didn't had lesstif-current at home, but the QtScape source, I tried to apply them to QtScape. It turned out that they had been mangled by the mail, but it was easy to do the patches by hand. After fixing to little additional problems, I got QtScape running. Since somebody had asked before, if anybody tried it, it annouced that. BUT: QtScape runs as good or as bad as it does on other OSs. That's rather bad, espeacially if frames are involved. Keep in mind that it was a very, very quick port. There are missing features and a lot of bugs due to the qt-frontend part of QtScape. You'll be better off with getting lesstif-current. This has bugs to, but that's mostly related to brocken menu's and such. The browser display itself, including frames, works much better than with QtScape. I hoped this clarified things. For Uncle George's patches, pointers to QtScape, Netscape, and lesstif-current try the archive of this list at www.redhat.com, and/or 'archie'. Martin -- Martin Ostermann | mailto:ost+sig0@comnets.rwth-aachen.de Communication Networks | http://www.comnets.rwth-aachen.de/~ost Aachen University of Technology | phone: ++49/241/807917 Germany | fax: ++49/241/8888242 ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Netscape 1998-04-19 21:13 ` Netscape Uncle George 1998-04-20 5:25 ` Netscape Hugo van der Kooij @ 1998-04-20 5:34 ` Hugo van der Kooij 1998-04-20 8:17 ` Netscape Joakim Roubert 2 siblings, 0 replies; 13+ messages in thread From: Hugo van der Kooij @ 1998-04-20 5:34 UTC (permalink / raw) To: axp-list; +Cc: Joakim Roubert On Sun, 19 Apr 1998, Uncle George wrote: > how about u get src, i give u diff ? u can build to ur hearts content!? And another thing. Did you use motif? Hugo. +------------------------+------------------------------+ | Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl | | Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij | | 3155 VJ Maasland | (De man met de rode hoed) | +------------------------+------------------------------+ "Computers let you make more mistakes faster than any other invention in human history, with the possible exception of handguns and tequila." (Mitch Radcliffe) ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Netscape 1998-04-19 21:13 ` Netscape Uncle George 1998-04-20 5:25 ` Netscape Hugo van der Kooij 1998-04-20 5:34 ` Netscape Hugo van der Kooij @ 1998-04-20 8:17 ` Joakim Roubert 1998-04-21 11:23 ` Netscape Uncle George 2 siblings, 1 reply; 13+ messages in thread From: Joakim Roubert @ 1998-04-20 8:17 UTC (permalink / raw) To: Uncle George; +Cc: axp-list On Sun, 19 Apr 1998, Uncle George wrote: > how about u get src, i give u diff ? u can build to ur hearts content!? That would be just great! /Jokke tmw. --- * Origin: FUW95 http://www.efd.lth.se/~d97jro/ (2:200/127.9) Jag använder ett 64-bitars operativsystem. Gör du? :nigirO * ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Netscape 1998-04-20 8:17 ` Netscape Joakim Roubert @ 1998-04-21 11:23 ` Uncle George 0 siblings, 0 replies; 13+ messages in thread From: Uncle George @ 1998-04-21 11:23 UTC (permalink / raw) To: axp-list lesstif-current: got to their ftp site: then go go one level down ( my tree have branches going up ! ) gat ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~1998-04-24 6:29 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1998-04-19 20:49 Netscape Joakim Roubert 1998-04-19 21:13 ` Netscape Uncle George 1998-04-20 5:25 ` Netscape Hugo van der Kooij 1998-04-20 13:14 ` Netscape Uncle George 1998-04-20 14:14 ` Netscape Joakim Roubert 1998-04-20 15:49 ` Netscape and qt!! Aaron 1998-04-21 0:31 ` Martin Ostermann 2018-04-23 14:07 ` Adrian E. Feiguin 1998-04-23 13:19 ` David Hamm 1998-04-24 6:29 ` Martin Ostermann 1998-04-20 5:34 ` Netscape Hugo van der Kooij 1998-04-20 8:17 ` Netscape Joakim Roubert 1998-04-21 11:23 ` Netscape Uncle George
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox