Jump to content

My Browser Builds (Part 4)


Recommended Posts

12 hours ago, ClassicNick said:

hifting gears, I tried compiling your "gecko28a1-vc8-master" browser with Visual C++ 2008 Express SP1, Windows 7 SDK with .Net Framework 4.0, and Mozilla-Build 1.8, and I have problems with an auto generated file named "BluetoothTypes.cpp", which uses the auto C++ keyword. The directory for the file is "obj-i686-pc-mingw32/ipc/ipdl". My mozconfig file consists of

 

ac_add_options --enable-release
ac_add_options --enable-application=browser
ac_add_options '--enable-optimize=-O2 -GS-'
ac_add_options --enable-jemalloc
ac_add_options --enable-shared-js
ac_add_options --enable-devtools
ac_add_options --disable-debug
ac_add_options --enable-strip
ac_add_options --disable-skia
ac_add_options --disable-maintenance-service
ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --disable-tests
ac_add_options --disable-mochitests
ac_add_options --disable-jsd
ac_add_options --disable-webapp-runtime
ac_add_options --disable-webgl
ac_add_options --disable-angle
ac_add_options --disable-gamepad

 

And the first 16 lines of BluetoothTypes.cpp consist of

 

//
// Automatically generated by ipdlc.
// Edit at your own risk
//


#include "mozilla/dom/bluetooth/BluetoothTypes.h"


//-----------------------------------------------------------------------------
// Method definitions for the IPDL type |union BluetoothValue|
//
namespace mozilla {
namespace dom {
namespace bluetooth {
auto BluetoothValue::MaybeDestroy(Type aNewType) -> bool

 

Do you know of any way to remove usage of the auto C++ keyword so line 16 looks like

bool BluetoothValue::MaybeDestroy(Type aNewType)

like it does in New Moon 26.5.0 oldvc?

my mozconfig for VC8 builds look like this:

ac_add_options --enable-release
ac_add_options --enable-application=browser
ac_add_options --enable-optimize="-O2 -GS-"
ac_add_options --enable-jemalloc
ac_add_options --enable-shared-js
ac_add_options --enable-devtools
ac_add_options  --disable-debug
ac_add_options  --enable-strip
ac_add_options --disable-skia
ac_add_options --disable-maintenance-service
ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --disable-tests
ac_add_options --disable-mochitests
ac_add_options --disable-jsd

and I haven't encounter any `auto` related in generated files so I don't know whats going on in your side.

Link to comment
Share on other sites


16 hours ago, roytam1 said:

my mozconfig for VC8 builds look like this:

ac_add_options --enable-release
ac_add_options --enable-application=browser
ac_add_options --enable-optimize="-O2 -GS-"
ac_add_options --enable-jemalloc
ac_add_options --enable-shared-js
ac_add_options --enable-devtools
ac_add_options  --disable-debug
ac_add_options  --enable-strip
ac_add_options --disable-skia
ac_add_options --disable-maintenance-service
ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --disable-tests
ac_add_options --disable-mochitests
ac_add_options --disable-jsd

and I haven't encounter any `auto` related in generated files so I don't know whats going on in your side.

I think there is a problem with compiler detection in the source code so that the automatically generated BluetoothTypes.cpp (I don't know how it gets generated, or what files cause its creation) uses the auto C++ keyword when compiled on Visual C++ 2008 (VC9, and it errors out because of it), but does not use the auto keyword when compiled with Visual C++ 2005, which causes the file to compile successfully.

Link to comment
Share on other sites

Meanwhile on the Pale Moon forum.

It's obvious Moonchild did not check the code at all. Heck, you don't need to dig into the code, it's very simple to make an actual test. Even just typing document.createElement("video").canPlayType('video/webm;codecs="vp8,vorbis"'); in the console would reveal something's not right.

Edited by UCyborg
Link to comment
Share on other sites

 

On 2/3/2023 at 8:47 PM, VistaLover said:

Their forum is based on the discourse platform, but "discourse" have recently implemented another UXP-exterminator, the operator called "nullish coalescing assignment ("??=")

It's not just UXP they're targeting either. This undoubtedly exterminates Discourse on MyPal 68 too, since FF didn't implement this particular bit of Googledygook until FF 71. (And correct me if I'm wrong, but I don't think FF/MyPal 68 will load "legacy" FF extensions like JustOff's; so MyPal 68 is completely out of luck. At least UXP has a workaround.)

On 2/4/2023 at 12:06 PM, UCyborg said:

Discourse is designed for the next 10 years of the Internet, so the minimum browser requirements are high.

What a load of, well, you know. As if they can't even make Discourse work unless they use the latest Googledygook!

3 hours ago, UCyborg said:

Meanwhile on the Pale Moon forum.

It's obvious Moonchild did not check the code at all. Heck, you don't need to dig into the code, it's very simple to make an actual test. Even just typing document.createElement("video").canPlayType('video/webm;codecs="vp8,vorbis"'); in the console would reveal something's not right.

Explains something I've wondered about from html5test.com:

image.png.22d8fbe240d55ba688ef4fcb74dcf3eb.png

Never could understand how UXP managed to support VP9 but not VP8. Turns out, it does support VP8; it just doesn't "think" it supports VP8!

Link to comment
Share on other sites

13 hours ago, Mathwiz said:

This undoubtedly exterminates Discourse on MyPal 68 too,
since FF didn't implement this particular bit of Googledygook until FF 71.

... Actually Fx v79.0 :P, as per the linked documentation ; it was Opera (adjacent to the Fx column) that implemented "??=" in its v71.0... Since 79 is even further from 68 (than 71), it probably makes things for a native implementation in Mypal68 more difficult :dubbio:...

Link to comment
Share on other sites

15 minutes ago, legacyfan said:

what would be the best choice of browser for windows vista? I've not kept track of what options there are and I mainly used firefox as my default browser but is there a better choice for it? 

You already made a topic about this question before.

Link to comment
Share on other sites

3 hours ago, legacyfan said:

what would be the best choice of browser for windows vista? I've not kept track of what options there are and I mainly used firefox as my default browser but is there a better choice for it? 

I use minibrowser and i am very happy from it. Dc browser and 360 are my alternatives 

Link to comment
Share on other sites

On 2/6/2023 at 1:55 AM, UCyborg said:

It's obvious Moonchild did not check the code at all.

On 2/6/2023 at 5:06 AM, Mathwiz said:

Never could understand how UXP managed to support VP9 but not VP8.
Turns out, it does support VP8; it just doesn't "think" it supports VP8!

https://repo.palemoon.org/MoonchildProductions/UXP/commit/1f32c17fcf767a366b1547f51fccc7dcb13ff719

https://repo.palemoon.org/MoonchildProductions/UXP/commit/ffdba3d91e0ca7df003a97f564451fb0ae97fa8e

;) ; hopefully will arrive in coming weekend's roytam1 builds :) ...

Edited by VistaLover
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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