Thursday, December 17, 2009

Historic Web browser reborn trial: midasWWW, violaWWW

Thanks www.mmmt.ru ftp search engine, I got midasWWW-2.1 and violaWWW 3.3(viola-3.3) from ftp archives.

progress:
violaWWW, the first browser having scripting and style sheet capabilities. latest version is 3.3.

Hacks: using rs6000 config and follow gcc error messages to fix.
Status: double free/pointer corrupt, munmap_chunk(): invalid pointer when exit, HTFWriter_put_character segfaults when connecting Google, almost no online capability.

Screen shot:
viola (pure Xlib version):


vw (viola motif version):


midasWWW, an early browser which runs in VMX system.

Hacks: follow gcc error messages to fix.
Status:
- It builds, and it dies in startup with buffer overflow of libMrm(MrmOpenHierarchy-->Urm__OpenHierarchy-->UrmIdbOpenFileRead-->Idb__HDR_GetHeader-->__strcpy_chk) when reading /usr/local/lib/midas.uid. libmotif uil generates midas.uid and midaswww.uid correctly.
- (18/12/2009 12:00 GMT+8) open motif 2.2.3-4 in utuntu 9.10 seems buggy and I had to rebuilt open motif 2.3.2 from sources with "--enable-xft --enable-jpeg --enable-png", but Midas only popups "Error Dialog Label" and stalls.
Log:
Error: No converter declared for String to DynamicPixmap
Error: Illegal command
Error: Error interpreting command: Set Value .^ iconPixmap MidasWWWIcon
from widget WWWMain (class XmMainWindow)
Error: Illegal command
Error: Error interpreting command: Popup WWWMain
from widget WWWMain (class XmMainWindow)
Cannot convert string "If FontSize=="Small" For All ....WWWHyper...default Set Value . fontSize 12
Else If FontSize=="Medium" For All ....WWWHyper...default Set Value . fontSize 14
Else If FontSize=="Large" For All ....WWWHyper...default Set Value . fontSize 17
If FontSize=="Small" For All ....WWWHyper...h2 Set Value . fontSize 14
Else If FontSize=="Medium" For All ....WWWHyper...h2 Set Value . fontSize 17
Else If FontSize=="Large" For All ....WWWHyper...h2 Set Value . fontSize 20
If FontSize=="Small" For All ....WWWHyper...h1 Set Value . fontSize 17
Else If FontSize=="Medium" For All ....WWWHyper...h1 Set Value . fontSize 20
Else If FontSize=="Large" For All ....WWWHyper...h1 Set Value . fontSize 24
If FontSize=="Small" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 12
Else If FontSize=="Medium" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 14
Else If FontSize=="Large" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 17
If FontSize=="Small" Update Named Resource . "m 
Error: Could not follow path ....WWWHyper
Error: Illegal command
Error: Error interpreting command: Set value ....WWWHyper naturalWidth 0++(GetValue(..WWWMain,width)-40)
from widget WWWMain (class XmMainWindow)
Error: Could not follow path ..WWWMain
Error: Illegal command
Error: Error interpreting command: Set Ingot ..WWWMain PSState 0
from widget WWWMain (class XmMainWindow)
Error: Could not follow path ....Home_Page
Error: Illegal command
Error: Error interpreting command: Invoke Callback ....Home_Page activateCallback
from widget WWWMain (class XmMainWindow)
Cannot find callback list in XtAddCallback 
Cannot find callback list in XtAddCallback 
Cannot find callback list in XtAddCallback 
Cannot find callback list in XtAddCallback 
Cannot find callback list in XtAddCallback 
Cannot find callback list in XtAddCallback 
Cannot find callback list in XtAddCallback 
Cannot find callback list in XtAddCallback 
Cannot find callback list in XtAddCallback 
Cannot find callback list in XtAddCallback 
Cannot find callback list in XtAddCallback 
^C

[29/12/2009]
tested in RedHat Linux 6.2 with Open Motif 2.1.32:
Cannot convert string "If FontSize=="Small" For All ....WWWHyper...default Set Value . fontSize 12
Else If FontSize=="Medium" For All ....WWWHyper...default Set Value . fontSize 14
Else If FontSize=="Large" For All ....WWWHyper...default Set Value . fontSize 17
If FontSize=="Small" For All ....WWWHyper...h2 Set Value . fontSize 14
Else If FontSize=="Medium" For All ....WWWHyper...h2 Set Value . fontSize 17
Else If FontSize=="Large" For All ....WWWHyper...h2 Set Value . fontSize 20
If FontSize=="Small" For All ....WWWHyper...h1 Set Value . fontSize 17
Else If FontSize=="Medium" For All ....WWWHyper...h1 Set Value . fontSize 20
Else If FontSize=="Large" For All ....WWWHyper...h1 Set Value . fontSize 24
If FontSize=="Small" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 12
Else If FontSize=="Medium" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 14
Else If FontSize=="Large" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 17
If FontSize=="Small" Update Named Resource . "m 
Error: Could not follow path ....WWWHyper
Error: Illegal command
Error: Error interpreting command: Set value ....WWWHyper naturalWidth 0++(GetValue(..WWWMain,width)-40)
       from widget WWWMain (class XmMainWindow)
Error: Could not follow path ..WWWMain
Error: Illegal command
Error: Error interpreting command: Set Ingot ..WWWMain PSState 0
       from widget WWWMain (class XmMainWindow)
Error: Could not follow path ....Home_Page
Error: Illegal command
Error: Error interpreting command: Invoke Callback ....Home_Page activateCallback
       from widget WWWMain (class XmMainWindow)

for midasWWW-1.0, it popups an empty dialog and stalls.
Log:
Error: Could not open customization file for CUSTOM
Error: Illegal command
Error: Error interpreting command: Custom Create CUSTOM .
from widget Midas_Main (class XmMainWindow)
Error: Illegal command
Error: Error interpreting command: Popup Midas_Main
from widget Midas_Main (class XmMainWindow)
Error: Illegal command
Error: Error interpreting command: Midas Popup Midas_Main
from widget Midas_Main (class XmMainWindow)
^C

P.S.: I created a project site of early Web browser reborn in Google Code:
http://code.google.com/p/earlybrowserreborn/

No comments:

Post a Comment