Building Palemoon 27 for XP

Talk about code development, features, specific bugzilla bugs, enhancements, patches, and other highly technical things.

Moderators: Indalecio, satrow

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 referenced Bugzilla bugs, mercurial, 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. Most "bug reports" do not belong in this board and should initially be posted in Community Support or other relevant support boards.

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.
User avatar
Fedor2
Lunatic
Lunatic
Posts: 293
Joined: Mon Apr 11, 2016 1:26 am

Re: Building Palemoon 27 for XP

Postby Fedor2 » Thu Aug 03, 2017 6:05 pm

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.

QueenXP
Moongazer
Moongazer
Posts: 9
Joined: Sat Jul 22, 2017 1:44 pm

Re: Building Palemoon 27 for XP

Postby QueenXP » Sat Aug 05, 2017 7:06 am

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 .

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19506
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: Building Palemoon 27 for XP

Postby Moonchild » Sat Aug 05, 2017 7:08 am

By the way, if you want to offer full media capabilities on XP, you should probably look into using DirectPlay for all media formats.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

QueenXP
Moongazer
Moongazer
Posts: 9
Joined: Sat Jul 22, 2017 1:44 pm

Re: Building Palemoon 27 for XP

Postby QueenXP » Sat Aug 05, 2017 7:15 am

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

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19506
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: Building Palemoon 27 for XP

Postby Moonchild » Sat Aug 05, 2017 7:26 am

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...)
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

QueenXP
Moongazer
Moongazer
Posts: 9
Joined: Sat Jul 22, 2017 1:44 pm

Re: Building Palemoon 27 for XP

Postby QueenXP » Sat Aug 05, 2017 8:29 am

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 ?

KingsMan
Newbie
Newbie
Posts: 3
Joined: Sun Aug 13, 2017 7:05 am

Re: Building Palemoon 27 for XP

Postby KingsMan » Mon Aug 14, 2017 5:18 am

Looking Forward to NEWMOON !!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19506
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: Building Palemoon 27 for XP

Postby Moonchild » Sun Aug 20, 2017 7:34 am

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.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

roytam1
Apollo supporter
Apollo supporter
Posts: 33
Joined: Wed Mar 11, 2015 7:01 am
Location: Hong Kong

Re: Building Palemoon 27 for XP

Postby roytam1 » Wed Sep 13, 2017 1:02 am

Looking Forward to NewMoon! BTW does it really named "NewMoon"?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19506
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: Building Palemoon 27 for XP

Postby Moonchild » Wed Sep 13, 2017 7:31 am

roytam1 wrote:Looking Forward to NewMoon! BTW does it really named "NewMoon"?

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.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

User avatar
petrus
Fanatic
Fanatic
Posts: 123
Joined: Wed Dec 04, 2013 7:41 pm

Re: Building Palemoon 27 for XP

Postby petrus » Wed Sep 13, 2017 3:00 pm

To repeat my name suggestion: Xale Poon

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 19506
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: Building Palemoon 27 for XP

Postby Moonchild » Wed Sep 13, 2017 11:31 pm

petrus wrote:To repeat my name suggestion: Xale Poon

Doesn't really make for an easy to remember (or pronounce) name, does it?
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.
Image

User avatar
Thehandyman1957
Board Warrior
Board Warrior
Posts: 1080
Joined: Tue May 19, 2015 2:26 am
Location: Arizona U.S.

Re: Building Palemoon 27 for XP

Postby Thehandyman1957 » Thu Sep 14, 2017 12:28 am

I was thinking the same thing. :lol: Say that one three times fast. :shock:
"War: when your government tells you who the enemy is. Revolution: when you figure it out for yourself." ;)

User avatar
eskaton023
Lunatic
Lunatic
Posts: 407
Joined: Fri Aug 23, 2013 7:54 pm

Re: Building Palemoon 27 for XP

Postby eskaton023 » Thu Sep 14, 2017 12:30 pm

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.

User avatar
Thehandyman1957
Board Warrior
Board Warrior
Posts: 1080
Joined: Tue May 19, 2015 2:26 am
Location: Arizona U.S.

Re: Building Palemoon 27 for XP

Postby Thehandyman1957 » Thu Sep 14, 2017 5:13 pm

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.


:shock: :shock: :shock: :lol: Wow, it really pays to looks stuff up huh. :mrgreen:
"War: when your government tells you who the enemy is. Revolution: when you figure it out for yourself." ;)

ReyZie93
Newbie
Newbie
Posts: 6
Joined: Sat Feb 25, 2017 7:40 pm

Re: Building Palemoon 27 for XP

Postby ReyZie93 » Tue Sep 19, 2017 8:33 am

My suggestion is "Pale Neptune" or "Neptune", or another planet.

roytam1
Apollo supporter
Apollo supporter
Posts: 33
Joined: Wed Mar 11, 2015 7:01 am
Location: Hong Kong

Re: Building Palemoon 27 for XP

Postby roytam1 » Thu Sep 21, 2017 3:05 am

ReyZie93 wrote:My suggestion is "Pale Neptune" or "Neptune", or another planet.

Maybe we can have "Pale Mimas" (Mimas is a moon of Saturn)

roytam1
Apollo supporter
Apollo supporter
Posts: 33
Joined: Wed Mar 11, 2015 7:01 am
Location: Hong Kong

Re: Building Palemoon 27 for XP

Postby roytam1 » Fri Sep 22, 2017 3:47 pm

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

hotnuma
New to the forum
New to the forum
Posts: 1
Joined: Mon Sep 04, 2017 1:49 pm

Re: Building Palemoon 27 for XP

Postby hotnuma » Fri Sep 22, 2017 4:59 pm

Thanks a lot Fedor2 and Roytam1 for the efforts to provide this very nice browser for XP.

:twisted: :twisted: :twisted:

roytam1
Apollo supporter
Apollo supporter
Posts: 33
Joined: Wed Mar 11, 2015 7:01 am
Location: Hong Kong

Re: Building Palemoon 27 for XP

Postby roytam1 » Fri Sep 22, 2017 11:31 pm

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.

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! :)


Return to “Development (discussion)”

Who is online

Users browsing this forum: No registered users and 3 guests