Browser facts

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
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.
MGB1971
Moonbather
Moonbather
Posts: 53
Joined: 2018-05-11, 09:31

Browser facts

Unread post by MGB1971 » 2021-06-15, 16:18

There are fairly regular references to Pale Moon being 'outdated'. Do you have any (approximate) facts and figures to nail this nonsense?

Taking FF 52 ESR as the base:

How many lines of code did you fork from?
How many lines of code does PM have now?
How many lines does FF currently have?
What proportion of the PM code is post-FF 52?
Can you confirm that as regards security updates PM and FF are pretty much identical in being up-to-date?
Any other considerations?

User avatar
Pentium4User
Board Warrior
Board Warrior
Posts: 1117
Joined: 2019-04-24, 09:38

Re: Browser facts

Unread post by Pentium4User » 2021-06-15, 16:52

MGB1971 wrote:
2021-06-15, 16:18
Can you confirm that as regards security updates PM and FF are pretty much identical in being up-to-date?
You can see the Release Notes of Pale Moon and Firefox, some of Firefox's security fixes are listed as not applicable, that means these do not affect Pale Moon, others are implemented.
The profile picture shows my Maico EC30 E ceiling fan.

New Tobin Paradigm

Re: Browser facts

Unread post by New Tobin Paradigm » 2021-06-15, 17:21

viewtopic.php?f=65&t=22399

Except for the old and insecure Firefox-targeted Extension thing we changed recently of course.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35484
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Browser facts

Unread post by Moonchild » 2021-06-15, 19:24

For those wanting hard numbers:

Pale Moon 29.2.1

Total 115,422 files
98,239 source code files
18,368,242 lines of code
2300629 empty lines 2573121 comments 13494492 actual code

Firefox 52.6 ESR

Total 150,917 files
126,701 source code files
20,319,692 lines of code
2581386 empty lines 2824121 comments 14914185 actual code

Firefox 89.0.1

Total 289,201 files
251,348 source code files
34,648,650 lines of code
4096547 empty lines 4973801 comments 25578302 actual code

Code comparison Pale Moon 29.2.1 and Firefox ESR 52.6

Front-end code in Pale Moon has nothing to do with Firefox 52 and was carried forward from before the rebase.
That accounts for 493 source code files and 311 binary/unknown files.
135,585 lines of code in our Pale Moon front-end (not counting the comm-style build system).

Diff between Firefox 52.6 ESR and Pale Moon 29.2.1, excluding the front-end:
Added 614 folders with 6,582 files
Removed 6,504 folders with 39,057 files
Changed 2,348 folders with 15,364 files

That means going by files, 61,003 of 150,917 files are post-FF52 = 40.4% of source code files have changed since we forked.

If someone feels like finding and using a tool that actually counts lines of code changed by performing a diff, go right ahead.
"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

Locked