Building a Pale Moon fork for Windows XP
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Re: Building Palemoon 27 for XP
Now we have settled that matter and can consider about binaries.
First if you want me to begin release binaries and update it you are to vote it. It has to be amount of it, because i have many other things to do, instead of releasing for one or two person. Let it will be as private message.
Second it is to be other place for that, and not this forum, where you can ask support and else. Yet to be founded. Suggest me in private as well.
Here i shell continue to put only tips for building on your own.
First if you want me to begin release binaries and update it you are to vote it. It has to be amount of it, because i have many other things to do, instead of releasing for one or two person. Let it will be as private message.
Second it is to be other place for that, and not this forum, where you can ask support and else. Yet to be founded. Suggest me in private as well.
Here i shell continue to put only tips for building on your own.
Re: Building Palemoon 27 for XP
Fedor2 , can i join your group ?
Here two codecs that can play certain video format you need .
https://en.wikipedia.org/wiki/X265
https://en.wikipedia.org/wiki/X264
More over video playback speed of K Meleon seems to be better than both FF and PM , I wish if it can be adopted in new moon .
Here two codecs that can play certain video format you need .
https://en.wikipedia.org/wiki/X265
https://en.wikipedia.org/wiki/X264
More over video playback speed of K Meleon seems to be better than both FF and PM , I wish if it can be adopted in new moon .
Re: Building Palemoon 27 for XP
By the way, if you want to offer full media capabilities on XP, you should probably look into using DirectPlay for all media formats.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Building Palemoon 27 for XP
Thats a good idea Mr MoonChild as XP lacks full MediaFoundation(Half backed one came with media player 11).
Fedor2
Here a better GetTickCount64 implementation for you....
WINAPI
GetTickCount64(VOID)
{
- ULARGE_INTEGER TickCount;
+ LARGE_INTEGER counter, frequency;
+
+ NtQueryPerformanceCounter( &counter, &frequency );
+ return counter.QuadPart * 1000 / frequency.QuadPart;
+ // ULARGE_INTEGER TickCount;
- while (TRUE)
- {
- TickCount.HighPart = (ULONG)SharedUserData->TickCount.High1Time;
- TickCount.LowPart = SharedUserData->TickCount.LowPart;
+ // while (TRUE)
+ // {
+ // TickCount.HighPart = (ULONG)SharedUserData->TickCount.High1Time;
+ // TickCount.LowPart = SharedUserData->TickCount.LowPart;
- if (TickCount.HighPart == (ULONG)SharedUserData->TickCount.High2Time) break;
+ // if (TickCount.HighPart == (ULONG)SharedUserData->TickCount.High2Time) break;
- YieldProcessor();
- }
+ // YieldProcessor();
+ // }
- return (UInt32x32To64(TickCount.LowPart, SharedUserData->TickCountMultiplier) >> 24) +
- (UInt32x32To64(TickCount.HighPart, SharedUserData->TickCountMultiplier) << 8);
+ // return (UInt32x32To64(TickCount.LowPart, SharedUserData->TickCountMultiplier) >> 24) +
+ // (UInt32x32To64(TickCount.HighPart, SharedUserData->TickCountMultiplier) << 8);
+}
+
+DWORD
+WINAPI
+GetTickCount(VOID)
+{
+ return GetTickCount64();
}
// /*
In future if you need codes for more api here is a opensoarce project to help you https://github.com/Skulltrail192/One-Core-Api
Just My 2 Cents
Hope you will be helped . Lots of people here in UK waiting for NewMoon
Fedor2
Here a better GetTickCount64 implementation for you....
WINAPI
GetTickCount64(VOID)
{
- ULARGE_INTEGER TickCount;
+ LARGE_INTEGER counter, frequency;
+
+ NtQueryPerformanceCounter( &counter, &frequency );
+ return counter.QuadPart * 1000 / frequency.QuadPart;
+ // ULARGE_INTEGER TickCount;
- while (TRUE)
- {
- TickCount.HighPart = (ULONG)SharedUserData->TickCount.High1Time;
- TickCount.LowPart = SharedUserData->TickCount.LowPart;
+ // while (TRUE)
+ // {
+ // TickCount.HighPart = (ULONG)SharedUserData->TickCount.High1Time;
+ // TickCount.LowPart = SharedUserData->TickCount.LowPart;
- if (TickCount.HighPart == (ULONG)SharedUserData->TickCount.High2Time) break;
+ // if (TickCount.HighPart == (ULONG)SharedUserData->TickCount.High2Time) break;
- YieldProcessor();
- }
+ // YieldProcessor();
+ // }
- return (UInt32x32To64(TickCount.LowPart, SharedUserData->TickCountMultiplier) >> 24) +
- (UInt32x32To64(TickCount.HighPart, SharedUserData->TickCountMultiplier) << 8);
+ // return (UInt32x32To64(TickCount.LowPart, SharedUserData->TickCountMultiplier) >> 24) +
+ // (UInt32x32To64(TickCount.HighPart, SharedUserData->TickCountMultiplier) << 8);
+}
+
+DWORD
+WINAPI
+GetTickCount(VOID)
+{
+ return GetTickCount64();
}
// /*
In future if you need codes for more api here is a opensoarce project to help you https://github.com/Skulltrail192/One-Core-Api
Just My 2 Cents
Hope you will be helped . Lots of people here in UK waiting for NewMoon
Re: Building Palemoon 27 for XP
You could have just linked to https://github.com/Skulltrail192/One-Co ... 8dd6a51db6 instead of pasting a raw diff in your post
(Honestly I don't see how querying the performance API is going to give you an accurate tick count or in what way this slower query would be better than using already-available shared data. And then aliasing the normal GetTickCount to it...? They are different functions for a reason...)
(Honestly I don't see how querying the performance API is going to give you an accurate tick count or in what way this slower query would be better than using already-available shared data. And then aliasing the normal GetTickCount to it...? They are different functions for a reason...)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Building Palemoon 27 for XP
Ahh! That Silly me but I wish the browser to be KicKASS !!
One more idea if the Downloader can be improved so that we can have acceleration like IDM or Free download manager !!
I know Vc++ hope if you people allow me to entry !!
Anyway I am just a first year engineering student from Yorkshire.
FF is getting God Dammed everyday as it is moving to new engine ( May be they say it servo most probably ) > What is wrong with GECKO ?
One more idea if the Downloader can be improved so that we can have acceleration like IDM or Free download manager !!
I know Vc++ hope if you people allow me to entry !!
Anyway I am just a first year engineering student from Yorkshire.
FF is getting God Dammed everyday as it is moving to new engine ( May be they say it servo most probably ) > What is wrong with GECKO ?
Re: Building Palemoon 27 for XP
You may also want to let the ReactOS people know once you've got a working version. Looks like they finally fixed the font issue in their OS without which any browser would be almost useless for the modern web -- and they are sticking with an NT5/XP alike kernel; it might work.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Building Palemoon 27 for XP
Looking Forward to NewMoon! BTW does it really named "NewMoon"?
Re: Building Palemoon 27 for XP
That is entirely up to the people doing this! I'd suggest giving it its own branding, which isn't that hard to do, but it's up to y'all.roytam1 wrote:Looking Forward to NewMoon! BTW does it really named "NewMoon"?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Building Palemoon 27 for XP
Doesn't really make for an easy to remember (or pronounce) name, does it?petrus wrote:To repeat my name suggestion: Xale Poon
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Building Palemoon 27 for XP
I was thinking the same thing. Say that one three times fast.
Re: Building Palemoon 27 for XP
And in case anyone's not aware, Poon isn't exactly a product-worthy name: http://www.urbandictionary.com/define.php?term=poon
Unless the product has to do with something of that nature I suppose.
Unless the product has to do with something of that nature I suppose.
Re: Building Palemoon 27 for XP
Wow, it really pays to looks stuff up huh.eskaton023 wrote:And in case anyone's not aware, Poon isn't exactly a product-worthy name: http://www.urbandictionary.com/define.php?term=poon
Unless the product has to do with something of that nature I suppose.
Re: Building Palemoon 27 for XP
My suggestion is "Pale Neptune" or "Neptune", or another planet.
Re: Building Palemoon 27 for XP
Maybe we can have "Pale Mimas" (Mimas is a moon of Saturn)ReyZie93 wrote:My suggestion is "Pale Neptune" or "Neptune", or another planet.
Re: Building Palemoon 27 for XP
Anyway I built my own 27.4.2 with patches in #1 and replaced GetTickCount64() with dynamic loading NtQueryPerformanceCounter() like One-Core-Api does (with --disable-skia and bundled New Moon branding, nothing else changed)
http://o.rthost.cf/gpc/files1.rt/palemoon-27.4.2-unofficial-xp.7z
http://o.rthost.cf/gpc/files1.rt/palemoon-27.4.2-unofficial-xp.7z
Re: Building Palemoon 27 for XP
Thanks a lot Fedor2 and Roytam1 for the efforts to provide this very nice browser for XP.
Re: Building Palemoon 27 for XP
I opened a ticket asking for H264 video support in https://github.com/Feodor2/Mypal/issues/1 as you don't include it in your patch but it exists in your binary!Fedor2 wrote:It can be done the same way as was for 26. Only more code editing. You will have the same Palemoon as original with New moon name.
1. First read there a general build instruction.
viewtopic.php?f=19&t=13556
Unfortunately VS2013 wont install on XP, so you must have newer windows. That why i want make it bulding under mingw.
2. Get source code from github
3. Do editting, according following entries, probably you can make and apply them as patch.
4. Compile, mozconfig is regular as of [1]. And i added new option too --disable-skia, use it if you know why.