roytam1 Posted October 15, 2017 Posted October 15, 2017 (edited) Some text is shown now. Maybe I have to use this instead of using stub. https://github.com/LayoutFarm/Typography/wiki/How-To-Translate-Unicode-Character-Codes-to-TrueType-Glyph-Indices-in-Windows-95 Edited October 15, 2017 by roytam1 2
junior600 Posted October 15, 2017 Posted October 15, 2017 (edited) 20 hours ago, roytam1 said: First BIG step of porting Firefox 3.6 to old NT. It runs but it cannot show any text. for Firefox 3 or later not working (exit immediately) on NT4, the biggest reason is that, NT4 doesn't like "Local\" or "Global\" namespace/prefix in the Mutex. Test binary: http://roy.orz.hm/gpc/files1.rt/fx36vc71-20171014.7z Source: https://github.com/roytam1/fx36oldwin Oh, can you explain this? " the biggest reason is that, NT4 doesn't like "Local\" or "Global\" namespace/prefix in the Mutex." I'm working on a nt 4.0 dll wrapper and while most of the softwares runs, firefox 3.0 (and later) and opera 12 exit immediately... I have already added the missing functions (even for firefox 10.00) but still it still doesn't run. If you can give me an explanation on what to do, I think I will be able to get newer versions work on nt 4.0. Do I have to modify some existing functions? Edited October 15, 2017 by junior600 1
roytam1 Posted October 15, 2017 Posted October 15, 2017 (edited) 10 hours ago, junior600 said: Oh, can you explain this? " the biggest reason is that, NT4 doesn't like "Local\" or "Global\" namespace/prefix in the Mutex." I'm working on a nt 4.0 dll wrapper and while most of the softwares runs, firefox 3.0 (and later) and opera 12 exit immediately... I have already added the missing functions (even for firefox 10.00) but still it still doesn't run. If you can give me an explanation on what to do, I think I will be able to get newer versions work on nt 4.0. Do I have to modify some existing functions? I haven't disassemble NT4 or looking at nt4 source code, I just blackbox testing it. I discover that, with "\" in CreateMutex, NT4 will just return FALSE and set LastError = 3 (ERROR_PATH_NOT_FOUND). For your wrapper, you can wrap CreateMutex() and try to remove "Local\" and "Global\" from mutex name before passing it to system's CreateMutex() to see if it will work or not. Edited October 15, 2017 by roytam1
junior600 Posted October 15, 2017 Posted October 15, 2017 3 minutes ago, roytam1 said: I haven't disassemble NT4 or looking at nt4 source code, I just blackbox testing it. I discover that, with "\" in OpenMutex, NT4 will just return FALSE and set LastError = 3 (ERROR_PATH_NOT_FOUND). For your wrapper, you can wrap OpenMutex() and try to remove "Local\" and "Global\" from mutex name before passing it to system's OpenMutex() to see if it will work or not. Thanks I will try it soon... thanks
Dibya Posted October 15, 2017 Posted October 15, 2017 1 hour ago, junior600 said: Thanks I will try it soon... thanks Update the existing function
roytam1 Posted October 17, 2017 Posted October 17, 2017 On 10/15/2017 at 9:23 PM, junior600 said: Thanks I will try it soon... thanks I'm still looking forward for your (source/binary) release
roytam1 Posted October 20, 2017 Posted October 20, 2017 On 10/15/2017 at 2:33 PM, Dibya said: Usp10.dll can be copied from nt4 or 2k Yeah. So use USP10.DLL for GlyphIndex retrieving. The gfx drawing is still need more work. 2
Dibya Posted October 20, 2017 Posted October 20, 2017 I will be amazed on the day when you all will have ff10 on 9x/nt4 That time you people may design a hybrid gecko 10 like palemoon use hybrid gecko 38. Fixing all rendering issues and speed improvement s.
roytam1 Posted October 22, 2017 Posted October 22, 2017 (edited) On 10/20/2017 at 11:53 PM, Dibya said: I will be amazed on the day when you all will have ff10 on 9x/nt4 That time you people may design a hybrid gecko 10 like palemoon use hybrid gecko 38. Fixing all rendering issues and speed improvement s. That will be super hard as mozilla moves towards to google-ish usage of C/C++ language style, which makes compiling with old MSVC compiler hard/impossible. BTW I'm debugging fx36oldwin attempt to use NULL FontMetrics and crash in NT 3.51, many nsILocalFileWin changes are ported from 2.0 branch. Edited October 22, 2017 by roytam1
cc333 Posted October 22, 2017 Posted October 22, 2017 Well, if the best we can do is get 3.6 running, that's really a good place to start, because it's current up to March 2012, and one can backport security and rendering fixes from newer versions to bring it into 2017. I don't know how trivial it would be, but it should be possible? Even standard 3.6 is still relatively functional as is, so it shouldn't need much work once it's working decently on NT 3.x and 9x/ME. Nevertheless, this is a fantastic project! Keep it up!! c
junior600 Posted October 22, 2017 Posted October 22, 2017 I was able to get the original firefox 3.6 work... It works well. Unfortunately the next releases throw an error and I need to fix them soon. 1
roytam1 Posted October 22, 2017 Posted October 22, 2017 4 hours ago, junior600 said: I was able to get the original firefox 3.6 work... It works well. Unfortunately the next releases throw an error and I need to fix them soon. Oh nice. But mine is latest 3.6 (3.6.28) which changes alot. Still waiting for your wrapper release BTW I found that NTSD is better than WINDBG in NT 3.51, which produces better stack trace (although I still can't find root of NULL FontMetrics pointer issue now).
roytam1 Posted October 24, 2017 Posted October 24, 2017 (edited) It starts now, but no text and images (maybe cairo's problem?) EDIT: With some testing, Text issue may because of usp10?EDIT2: So Uniscribe doesn't work in NT 3.51 and throws 0x8007007FEDIT3: GetCharacterPlacementW failed as well?EDIT4: Tried GetTTUnicodeGlyphIndex() from MSDN, GetTTUnicodeGlyphIndex() itself works but I found that ExtTextOutW() does not support ETO_GLYPH_INDEX in NT 3.51. If I can't find a way to convert all related code back to non-glyph way, the project will hit dead end. Test binary: http://o.rthost.cf/gpc/files1.rt/fx36vc71-20171025.7z Edited October 27, 2017 by roytam1
roytam1 Posted November 7, 2017 Posted November 7, 2017 On 10/24/2017 at 9:44 PM, roytam1 said: It starts now, but no text and images (maybe cairo's problem?) EDIT: With some testing, Text issue may because of usp10?EDIT2: So Uniscribe doesn't work in NT 3.51 and throws 0x8007007FEDIT3: GetCharacterPlacementW failed as well?EDIT4: Tried GetTTUnicodeGlyphIndex() from MSDN, GetTTUnicodeGlyphIndex() itself works but I found that ExtTextOutW() does not support ETO_GLYPH_INDEX in NT 3.51. If I can't find a way to convert all related code back to non-glyph way, the project will hit dead end. Test binary: http://o.rthost.cf/gpc/files1.rt/fx36vc71-20171025.7z Some fonts are able to paint in NT 3.51 now! Test binary:http://o.rthost.cf/gpc/files1.rt/fx36vc71-20171108.7z
AeonG Posted November 12, 2017 Posted November 12, 2017 (edited) THANK YOU SO MUCH FOR THIS! It's absolutely wonderful to have a "newer" web browser I can use on Windows 98 for fun. Sorry if I somehow missed this answer, but will this browser ever be able to view newer SSL locked websites? It would be great to have greater access to the internet on my old machine, even if the webpages don't display correctly. Edited November 12, 2017 by AeonG
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now