Development
: K-Meleon Forum
K-Meleon development related discussions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=asmpgmr] I don't know if this has been discuss already or not. Are there any plans for trying to get a future version of K-Meleon which uses Gecko 1.9.1 running natively on Win9x ? I did some research and it seems like it should be doable without too much effort. The following functions are used by Gecko. These functions are all supported by MSLU (unicows). Note there are probably other Win32 Unicode functions used as well. * DispatchMessageW * GetMonitorInfoW * GetOpenFileNameW * GetSaveFileNameW * GetWindowLongW * PeekMessageW * SetWindowLongW * SHBrowseForFolderW * SHGetPathFromIDListW The following functions are used by Cairo and Thebes (Mozilla wrapper around Cairo). * GdiFlush * GetGlyphIndicesA * GetGlyphIndicesW * GetWorldTransform * ModifyWorldTransform * SetWorldTransform * GetGraphicsMode (supported in Win9x but GM_ADVANCED is returned in Win2000+ only) * SetGraphicsMode (supported in Win9x but GM_ADVANCED parameter is Win2000+ only) Interestingly there is already some support in the code for WinCE (probably for the Fennec mobile browser) which doesn't support these functions either. There's a file for WinCE which defines stubs for the second set of functions (except for GetGlyphIndices) and redefines GM_ADVANCED so things will build - http://mxr.mozilla.org/mozilla1.9.1/source/gfx/cairo/wince-fixes.patch There's also code to handle GetGlyphIndices but without any character validation - http://mxr.mozilla.org/seamonkey/source/build/wince/shunt/win32.cpp#850 Gecko 1.8.1 (SeaMonkey 1.1) has its own GetGlyphIndices function which is not API compatible with the Win2000+ function but could probably be reworked to match. I suspect it wouldn't be too much effort to make Gecko 1.9.1 to work under Win9x: - A patch much like the one for WinCE to supply stubs for Win2000+ functions used by Cairo and Thebes. - Code in an #if (WINVER >= 0x400 && WINVER < 0x500) block to handle GetGlyphIndicesA and GetGlyphIndicesW. There's already shunt code in the tree to do this for WinCE which could be expanded upon later if needed. - Build to use MSLU which would have no effect on Win2000 or later but would allow Win9x support as long as unicows.dll is present. One catch-22 is that it seems you need MSVC 7.1+ to build things which of course doesn't run on Win9x. MSVC 6.0 is the last version that runs on Win9x.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development