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: 279
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: 19193
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: 19193
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
New to the forum
New to the forum
Posts: 1
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: 19193
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


Return to “Development (discussion)”

Who is online

Users browsing this forum: No registered users and 1 guest