Jump to content

Recommended Posts

Posted
1 hour ago, Nicholas McAnespy said:

What were the specs of the previous computer you did your browser builds on?

Previous machine is Win7 on  Xeon E3-1230v2 and 500GB HDD.


Posted

@roytam1 I didn't bother cherry picking d918e4f. The last commit I cherry picked was 2d9c22e, which reverted e186cc7, which caused the browser to crash when opening a new tab. I'm also sitting on a local build of New Moon 27.9.7, so when I upload it, do you want the git information along with the source code, or do you just want the source code?

Posted
20 hours ago, Nicholas McAnespy said:

so when I upload it, do you want the git information along with the source code, or do you just want the source code?

it is always better come with changelogs(even just come with git's default messages). avoiding all-changes-in-one-commit will be better for this type of operation.

Posted
On 7/22/2024 at 1:32 AM, Nicholas McAnespy said:

The Source code containing git information is uploaded to https://github.com/ClassicNick/palemoon27/releases/tag/27.9.7-VC2010

finally got some time to download it and have a look on it. so you decided to skip the VC2010-faulty rev and move on to later revs.

meanwhile I'm still trying to merge newer revs to https://github.com/roytam1/palemoon27/tree/pm27100-vc2010

Posted (edited)
On 7/23/2024 at 12:13 PM, roytam1 said:

finally got some time to download it and have a look on it. so you decided to skip the VC2010-faulty rev and move on to later revs.

meanwhile I'm still trying to merge newer revs to https://github.com/roytam1/palemoon27/tree/pm27100-vc2010

While you're doing that, I tried compiling the New Moon 27.9.7 VC2010 mod using Visual C++ 2008, and hit a roadblock due to compiler errors caused by C linkage where it's not appropriate for it to be specified. I do not know where the C linkage is though... If you can find where "GetLogicalProcessorInformation" is defined, that would be great, but could be difficult because it is called from xul.dll in K-Meleon 76 Goanna, but no such call exists in xul.dll from New Moon 27. Admittedly, I haven't tested whether xul.dll in K-Meleon 76 Gecko calls GetLogicalProcessorInformation, and thus, fails to execute in Windows XP SP2.

Edited by Nicholas McAnespy
Posted
50 minutes ago, Nicholas McAnespy said:

While you're doing that, I tried compiling the New Moon 27.9.7 VC2010 mod using Visual C++ 2008, and hit a roadblock due to compiler errors caused by C linkage where it's not appropriate for it to be specified. I do not know where the C linkage is though... If you can find where "GetLogicalProcessorInformation" is defined, that would be great, but could be difficult because it is called from xul.dll in K-Meleon 76 Goanna, but no such call exists in xul.dll from New Moon 27. Admittedly, I haven't tested whether xul.dll in K-Meleon 76 Gecko calls GetLogicalProcessorInformation, and thus, fails to execute in Windows XP SP2.

don't know KM76 because its tree is pre-patched with custom patchset. see: https://github.com/roytam1/palemoon27/blob/pm27100-vc2010/toolkit/xre/WindowsCrtPatch.h#L10

Posted
4 hours ago, roytam1 said:

don't know KM76 because its tree is pre-patched with custom patchset. see: https://github.com/roytam1/palemoon27/blob/pm27100-vc2010/toolkit/xre/WindowsCrtPatch.h#L10

With further testing, I noticed the older K-Meleon 76 Goanna builds (76.1.1) lack GetLogicalProcessorInformation in xul.dll, but have it in the gmp* files, libavcodec files, and MSVCR120.dll. I believe Firefox, Arctic-Fox, and Pale Moon have some sort of hack to allow execution on Windows XP SP2, even though Visual C++ 2010 and later do not naturally support it, which is probably why K-Meleon 76 Goanna doesn't work with Windows XP SP2. Since MSVCR90.dll is the last version to not call GetLogicalProcessorInformation, I hope this problem fixes itself if/when we get Tycho/Goanna3 compiling using Visual C++ 2005 and/or 2008.

Posted
17 hours ago, Nicholas McAnespy said:

While you're doing that, I tried compiling the New Moon 27.9.7 VC2010 mod using Visual C++ 2008, and hit a roadblock due to compiler errors caused by C linkage where it's not appropriate for it to be specified. I do not know where the C linkage is though...

Update: Visual C++ 2008 doesn't like using <intrin.h> in nsprpub/pr/pratom.h, and prbit.h.

Posted (edited)

@roytam1 I have been getting some errors related to "NodeInfo is not a member of mozilla::dom::mozilla" while trying to compile New Moon 27.9.7 using Visual C++ 2008. My way of solving those errors means de-unifying the C++ sources.

Edited by Nicholas McAnespy
  • 1 month later...
Posted

@roytam1 I downloaded your "palemoon27-pm27100-vc2010" source code, and tried removing C++ 11 move/forwarding references. I now get a crash in mozjs.dll. Also, I can't do a debug build due to a "program database manager mismatch" error. If you can upload the source code so I can see my changes on GitHub, that would be great. Note: I removed the delete constructors in js/src/jsobj.h lines 544-545. I also used Visual C++ 2010 to compile this, so I assume my modifications are incomplete. https://codeberg.org/Nicholas_McAnespy/palemoon27/releases/tag/2796-MoveRef-Busted

  • 3 months later...
Posted (edited)

Update: I managed to get half way through a Visual C++ 2008 compatible mod of New Moon 27.9.7, but I sometimes build with Visual C++ 2010 to see if the browser crashes or not. I managed to make tabbed web browsing impossible due to the content on the 1st tab spreading across all the tabs, and leaving only that 1st tab usable. Opening new windows for every tab still works though...  I think the problem lies somewhere in the GFX directory, but I could be wrong. @roytam1 What do you recommend I do now?

Edit: I will continue with my current build to get it compiling under Visual C++ 2008, and then try fixing my problem on the next build. Also, my way of getting around the decltype function used in layout/base/nsChangeHint.h breaks tabbed browsing anyway.

Edited by Nicholas McAnespy
Change of plans
  • 3 weeks later...
Posted
On 7/5/2024 at 11:47 PM, roytam1 said:

finally got a working PM2796-vc10 (and also bring back webrtc, webgl, and mediasource): https://github.com/roytam1/palemoon27/commit/5d5e647b63c1b729e937a1bdd70a4fc18bff6d90

binary for testing: http://o.rthost.win/gpc/files1.rt/palemoon-27.9.6.win32.vc10.7z

 

and still working with my kernelxp wrapper on XP RTM:

sX5lqkX.png

1. I would still like to know more about the "kernelxp" wrapper, and how you're able to get around the EncodePointer, and DecodePointer errors in Windows XP.

2. Minor annoyance: Unless the Visual C++ 2005/2008 redist files are installed in Windows XP, I can't run a version of Firefox compiled with either Visual C++ 2005 or 2008 due to "This application has failed to start because the application configuration is incorrect". Setting WIN32_REDIST_DIR, or --enable-jemalloc didn't solve the problem. Do you know of a way I can build Firefox/New Moon so that I can just bundle the Visual C/C++ runtime files and have the browser load?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...