[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Opera 12.15 Source Discussion Thread

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 214
Thread images: 23

File: OperaDebugWindows.png (59KB, 942x1369px) Image search: [Google]
OperaDebugWindows.png
59KB, 942x1369px
Last Thread: >>58490018
>>
Git repo: https://bitbucket.org/prestocore-fan/presto

Original leak: https://aww.moe/z0egik.zip

Patch for building on linux: http://paste.fedoraproject.org/526781/32598714
(prepatched source: https://files.catbox.moe/4hzs77.gz)

Windows build guide: http://pastebin.com/uzu3K7XB
(mega.nz folder with all the tools needed: https://mega.nz/#F!epZjXIwY!_Dj6Em3cnAMEojKRMNS3MQ)

If anything goes down just reply and I'll try reupping it
>>
Exactly what do people plan to do with this? A new browser that'll probably be shit.
>>
>>58525254
I plan to run it on OpenBSD, a platform it's never supported.
>A new browser that'll probably be shit.
Well considering we're starting out with the best browser I have an extremely hard time imagining it'd end up that way.
>>
>>58525273
It's known botted. Applying botted patches to it probably won't help.
>>
IRC Channel: #openopera on crowley.anonnet.org:6697
WebChat: anonnet.org/webirc/openopera
>>
>>58525254
Well it's only really /g/ looking into it right now, so there's no 'probably' about it. But it's fun.

Anyway since you asked, what I've seen people trying to do so far:
>update source to match changes in 12.18 (adding ECC/GCM ciphers, updated certificates..)
>porting it to Pi (seems to be working already)
>porting it to Pandora
>improve browser speed/CPU usage (we don't have the profiler data that Opera used for their builds, so ours are naturally slower right now)
>and probably other shit (I saw someone getting a JS console working which was neat, also heard people were trying to integrate V8 into it)
>>
>>58525284
Well now we have all the code for it, so you can point to us where the bot is

>>58525292
It's times like this I really wish we still had /prog/
>>
>>58525286
http://site.anonnet.org/webirc/openopera is the correct URL for the WebChat.
>>
>>58525292
It would also be nice if someone got DASH to work in Youtube, etc.
>>
>>58525330
Probably need VP9 for that which I heard this doesn't support?

We really need an issue tracker or something so people know what's broke/what to try working on, doesn't bitbucker have an issue tracker or anything? If not maybe we could just start an empty repo on github for the tracker
>>
>>58525305
The software exists. Thus the botnet exists until proved otherwise.
>>
>>58525358
Or maybe we should put the git on Gitlab instead, they have an issue tracker etc like github does but they aren't as DMCA-whipped like github is, not sure if they're actually hosted in the US or not though.

Gitlab is open source too, maybe if someone here felt generous they could host it for us
>>
>>58525358
1. You are right. VP9 is needed to be supported for DASH to work.

2. Bitbucket doesn't have an Issue Tracker. So, someone should go ahead and make an empty repo on Github for the tracker.
>>
>>58525401
And it's confirmed VP9 isn't supported right? (haven't tried it myself)

Also just made a tracker, feel free to add whatever you want:
https://github.com/PrestoXen/openopera-issues

Post something with your github acct on there and I'll make you a collaborator too
>>
>>58525284
Are you thinking of Chropera?
>>
>>58525410
opera is going to catch you on github!
>>
>>58525441
There's no source hosted on it though.
>>
>>58525452
But they'll use it to find where the source and irc are hosted :(
>>
>>58525441
Like Zero said there's no source on there, but I wouldn't be surprised if github were faggots and took us down anyway.

Not really sure the easiest way to backup the issue tracker etc, they aren't really stored in a git repo or anything, I guess we'll have to rely on archives

>>58525466
They probably already know by now, some faggot probably already contacted them with the thread link
>>
Well I've added everything I can think of right now, if anyone has more suggestions feel free to add them:
https://github.com/PrestoXen/openopera-issues

Also if the owner of the bitbucker sees this, it'd be nice if you could link this tracker in the README. Also comment on the collaborators issue and I'll make you a collab, or just message me on IRC when I'm on
>>
Has there been much activity from the Russians on this? I heard it came from them
>>
>>58525861
I don't know. The Polish have caught on though. Take a look at http://www.dobreprogramy.pl/Niech-Opera-12-bedzie-znowu-wielka-Co-anonimowi-zrobia-z-wycieklym-kodem-przegladarki,News,78524.html.
>>
>>58525898
Nice, more news sites means more eyes on it

I sent a tip into The Register about it yesterday, only linked them to the DMCA notice though but think I mentioned 4chan, hopefully they'll have the balls to write about it.

Did try posting on Slashdot too but the pussies removed it after a few hours, as predicted they were too scared to break the news about it, and people wonder why they're not relevant anymore
>>
>>58525245
There one usefull patch for --release build on linux - http://pastebin.com/UuaZSWZg
Modern (gcc5-6-7) compilers may output very unstabe code.
>>
>>58525221
https://www.change.org/p/opera-software-open-sources-of-presto-engine
>>
>>58525898
Anyone know Polish? Someone should comment there with a link to https://github.com/PrestoXen/openopera-issues

I've added the IRC link to the readme there, and mentioned how to find the sources. Also added links to a lot of resources I found, if anyone has anything else to add let me know
>>
>>58526172
Also if anyone does comment make sure to stress that link is just an issue tracker, and no code is there, otherwise they might think it's another source dump and remove the comment
>>
If someone does plan on looking into upgrading the openssl version your time might be better spent with libressl. It shouldn't be much different.
>>
>>58526226
I was thinking the same thing
>>
>>58526226
Depends if libressl offers a 1.0.x line like OpenSSL does, they keep the API the same between minor versions but major ones like 1.1.x would be a lot different

I'd guess they probably do though, be sweet if someone does get it working
>>
The PowerPC build flamed out. There's nothing particularly interesting in either the file mentioned or its immediate headers as far as architectures go. The header itself is a "if this flag is defined, add these members to this class" ordeal. The failure was likely due to the Linux-PowerPC-Desktop configuration being removed years ago. It probably wouldn't be to hard for someone to solve this by digging into the configuration scheme and copying the x86 Desktop configuration.

The armel build is still cooking. It was restarted about 5 hours ago. The reason it was restarted was I rewrote all of the existing anonymous patchsets to be more descriptive of their topics and to generalise some of the work. I'll publish these along with my VM setup scripts if I ever get this off the ground.

One thing I did not do for the armel build was turn on LTO. That may have made the resulting binary a bit faster, which is very much needed on old armv5 devices. However, qemu only allows a max of 256 MB for the versatilepb machine, and LTO would probably choke under those conditions. I'll start that build after I can generate bare-minimum armel deliverables.
>>
File: powerpc build.png (28KB, 800x626px) Image search: [Google]
powerpc build.png
28KB, 800x626px
>>58526354
pic related
>>
You'd think it'd just werk when trying to compile with clang since that's the compiler for the OS X version but it throws errors while gcc would build it fine
>>
>>58526354
How was arm support added so easy while PPC is much harder?
>>
>>58526469
ARM wasn't really "added" since Opera has existed in mini / micro / custom forms for those devices for a long time. ARM in X11 Desktop trim is what is new, and is what Opera Software has never released publicly. Doing that was a matter of one or two well placed patches as demonstrated by the armhf build from earlier.

PowerPC existed in the past, but was removed. Some of the code paths are still there as configuration paths, but most everything else--including the topmost configurations--have already been plowed under. See modules/hardcore/base/system.txt for lots of interesting options.

The configuration system really only has three targets at the moment: i386, x86_64, and arm. To make things more technically difficult, arm doesn't have the code path to output a packaged deliverable. The configuration and delivery systems make the assumption that 32-bits==i386 and 64-bits==x86_64, which is stated in platforms/quix/module.build/gcc.conf.py and platforms/paxage/module.build/conf.py. It should be simple to expand this to other machines, but I still don't understand the build system well enough to make it do the right thing when target != host (for instance, when using a cross-compiler). It's frustrating that the only machine-type variable I've found so far is in the packaging system at "config.targetPlatform.packageArch". If the build doesn't use the packaging system, then that doesn't really help. There should be a way to derive this from the compiler or from elsewhere in the configuration system.
>>
>>58526709
Any idea when they removed it? I may know a guy who has some older Opera Mobile source, though you'd think it unlikely to have much to do with PPC, as far as I know most of the code was pure Presto, so maybe we'll get lucky.

Any filenames or anything to try looking for?
>>
So I'm thinking to make it build for OpenBSD I should just modify it to check for OpenBSD instead of FreeBSD and see where it goes from there. Can anyone help me find the specific file(s) I'd modify?
>>
>>58526783
Better way - add new OpenBSD target instead of change Free one.
>>
Got it building with VS2015 :)

Only needed some minimal changes, which are because of some dumb C++11 shit, eg string literals now have to begin with a space, like
out_sink->OutString("::"IN_STRUCT_INSTANCE_NAME" = "IN_STRUCT_INSTANCE_NAME";");

being changed to
out_sink->OutString("::" IN_STRUCT_INSTANCE_NAME" = " IN_STRUCT_INSTANCE_NAME";");


Gonna try the static analysis now, will probably find a shitload of warnings though.

If someone can give me repo access I'll push the changes I made, email is [email protected]
>>
>>58526804
Do I just add the target and it works or what? I don't know, I'm just sort of finding my way through this.
>>
>>58526773
When there's only three people downloading Opera Desktop for PPCLinux, it's a pretty easy management decision to cut maintenance on that item.

I'd never ask somebody to willingly leak code. That goes double if there's someone who knows he had it. Sure, it'd be nice to say, "hey, can you compare these two codebases to see if there's a backdoor?", but if they aren't from the same era, then it's a no-go.

Stuff to look for: system.txt gives a hint to look for THIRTY_TWO_BIT, which is generated in build/src/modules/hardcore/base/system.h. That pulls in existing product-specific system.h files. The obvious one for Linux Desktop stuff is in platforms/unix/product/system.h. I'd imagine that there's a whole lot of architecture switch statements that can be created or reactivated beneath platforms/unix.
>>
>>58526888
Just checked and the last PPC release was in 2010, this Opera Mobile stuff is slightly earlier than that so there's a chance at least.

>Sure, it'd be nice to say, "hey, can you compare these two codebases to see if there's a backdoor?", but if they aren't from the same era, then it's a no-go.
Yeah that's true, this code even uses a completely different build system.. but a lot of the actual Presto code is the same, and it's mostly organized the same too

>I'd never ask somebody to willingly leak code. That goes double if there's someone who knows he had it.
Well I don't really think he wants to leak it all, but he'd probably give out files if you wanted them, like I said most of it is pretty much the same as what we already have, so it's not really as special anymore

I'll try asking him to look into the platforms/unix folder, so you think there might have been PPC specific code in there?
>>
File: devenv_2017-01-17_09-58-08.png (24KB, 960x256px) Image search: [Google]
devenv_2017-01-17_09-58-08.png
24KB, 960x256px
Building in Release with VS2015 seems to work too, though the Opera.exe launcher won't build because of these bastard errors, and it had to be the worst kind too, linker errors ;_;

The Opera.dll file with VS2015-debug Opera.exe works fine though, but I get the feeling it'd probably run much quicker if I can get a Release exe built
>>
>>58526971
*The VS2015-release Opera.dll with VS2015-debug Opera.exe works fine
>>
File: devenv_2017-01-17_10-09-20.png (2KB, 641x45px) Image search: [Google]
devenv_2017-01-17_10-09-20.png
2KB, 641x45px
>>58526971
Ah figured it out, I think...

Release VS builds use a lib file called LIBCTINY.LIB, which replaces LIBC.LIB with a smaller version I guess

That tiny version is missing some exports though, so we'd either need to add them to the lib (sadly can't since source wasn't included for it), link against another lib file which contains the missing exports (if we knew what they did), or just stop it linking against that LIBCTINY.LIB and use the normal LIBC.LIB instead.

I've gone for the last option and it seems to be working, I had to stop it linking against both LIBCTINY.LIB and some nowatson.obj file though, not sure how it'll affect it.

Also gonna try x64 compiling with VS2015 in a bit, wish me luck.
>>
>>58527035
Damn, i-it's fast!

Also wtf, "Detected possible malicious code in image file." when trying to upload this webm, fuck you gookmoot
>>
>>58527121
Oh should probably mention that's still the x86 version, x64 is building now
>>
>>58527121
Pre chromium opera was always fast. Out of head to head with its contemporaries and it will win in terms of speed and customization.

Try accessing Facebook and outlook. Com with it. Also, you're on Windows right?
>>
Are there any known vulnerabilities for Opera 12.15+? A lot of people seem to think that the software is insecure, but I have not seen proof yet.

It is clear that Windows was Heartbleed-affected until 12.17 and the Security Team states that 12.18 brought a security update for M2, but they state that this issue only is about the standalone windows client. http://www.opera.com/blogs/security/2016/02/opera-12-and-opera-mail-security-update/

So, again: I know that some JS could make it crash, but are there real security vulnerabilities / eploits?
>>
>>58527195
>Also, you're on Windows right?
Yep, compiled with VS2015 too
>Try accessing Facebook and outlook. Com with it.
Eh I don't have a FB account, but I'll try outlook out now
>>
>>58526944
That's not exactly what I meant. I mean, it wouldn't surprise me if the company put some sort of fingerprint (comments reworded a certain way, spurious end-of-line spacing, some intentionally introduced non-critical warning, etc) into code provided under an NDA. That way if a file were leaked it would be very simple to look up the fingerprint against those on file and then drag the guy through the court system. So don't leak NDA material.

I have no idea about what lies beneath platforms/unix. I haven't made it that far. That and the build system (which has probably changed dramatically between 2013 and pre-2010) are the two areas where we can make new architecture gains.
>>
Can you have uBlock Origin, noScript and Tamper/Grease Monkey installed on this Opera?
>>
>>58527217
Ah right, well this wasn't obtained via NDA or anything like that, I'd like to go into it but can't much, but rest assured this didn't originate from an employee, more an unsecured server.

Also funnily enough platforms/unix doesn't seem to exist in the OM source, there's still platforms/posix though, and grepping the whole tree finds a lot of hits for "PowerPC", could just be the same remnants that are in 12.15 though, but again this code is from before they dropped PPC so there could be more here.

Anyway if you think you need an older version of a file just ask and I'll see if I can grab it for you.
>>
>>58527256
I use scriptweeder as a NoScript replacement and urlfilter.ini and usercss for adblocking
>>
>>58527256
>>58527280
Also Opera's got Violent Monkey
>>
>>58527195
Damn, looks like outlooks login won't work with Opera :( Probably HTML5 shit I guess
>>
File: opera security protocols.png (33KB, 502x818px) Image search: [Google]
opera security protocols.png
33KB, 502x818px
>>58527207
Well, Heartbleed could theoretically impact other platforms as well. But due to the way Opera is distributed for them it is unlikely they'll ever see the problem. According to the changelog, Heartbleed affected the autoupdater and the installer. In Windows that's critical since it's the way most users update their software--direct from the company. Under most unixes it's handled by an intermediate party--the distribution maintainer or the sysadmin directly. So therefore it never mattered. It's probably still there, though.

The critical thing on 12.18 was introduction of ECC and GCM. RC4 (ARC4) is theoretically broken (and that means state actors probably break it on the regular) and a lot of webservers have turned off this protocol. The original DH *(that is, not-DHE) doesn't offer forward secrecy so it can be replayed and cracked after the fact if someone gets your keys. Just get rid of SSLv3 altogether. At one time I had a guide that described how to harden Opera 12, but I can't find it anymore.

See also https://www.howsmyssl.com/
>>
For information:
12.16 info: http://www.opera.com/docs/changelogs/unified/1216/
12.17 info: http://www.opera.com/blogs/desktop/2014/04/opera-12-17/
12.18 info: http://www.opera.com/blogs/security/2016/02/opera-12-and-opera-mail-security-update/ (basically, support for latest HTTPS websites that use ECDSA certificates)

Some features I'd like to see in Opera 12 (apart from general support for latest web standards):
- Proper support for Hardware Acceleration for smooth experience. It's buggy for now.
- Support for Shift+Click on scrollbars.

What I hate about every recent browser (including ChrOpera):
- Forced multi-process.
- Non-native UI.
- No customization whatsoever. Addons and extensions can't fix that.
- No advanced controlling for network, content and scripting features.
>>
>>58527207
IIRC, there is a hard crash if the page contains the following erroneous construction: "<form> <font> text </form> </font>"
But the only page where I could confrm this is no longer online.

Also, 12.18 introduced far more: support for latest crypto stuff (e.g. that's used on CloudFlare, LetsEncrypt etc.). Many HTTPS-only websites simply don't work on any pre-12.18 version.
>>
>>58527550
firefox about:config seems pretty extensive
>>
>>58527608
go to an existing page and edit the html
open a local html file
use netcat if it needs to be served via HTTP
>>
>>58527550
>- Proper support for Hardware Acceleration for smooth experience. It's buggy for now.
>- Support for Shift+Click on scrollbars.
If you've got a github acct feel free to add them to the issue tracker, helps us see what people want:
https://github.com/PrestoXen/openopera-issues/issues
>>
>>58527620
Those are not site-specific. Firefox also can't disable automatic redirection. It also can't disable frames/iframes and can't immediately switch between show-images/hide-images.
Also opera:config is nicer.

>>58527630
Tried that, and failed. It'll need more time to reproduce, time that I probably won't have. I only remember that it was about font and form tags.

>>58527671
Saw that, thanks.
>>
You are doing God's work, anons. A shame I can't contribute as I lack C++ skills.

To the anon above wondering about precompiled binaries, I'd trust them since they're pretty much as trustworthy as any official release from Opera. Kind of looking for x86 anyway since Visual Studio on my work computer likes to use a lot of RAM at times.
>>
File: opera_2017-01-17_12-08-51.png (123KB, 1435x899px) Image search: [Google]
opera_2017-01-17_12-08-51.png
123KB, 1435x899px
Finally got x64 building under VS2015, seems to work fine, but strangely 4chan's CSS doesn't seem to load while every other site I tried does, maybe it's just a temp issue connecting to the server or some shit.

Need to make sure though, anyone know a good site with heavy use of CSS/JS? (Other than Acid3 etc of course)
>>
>>58527858
I'd suggest youtube
>>
>>58527858
Hmm well it's definitely the x64 build, running the x86 one instead 4chan looks fine, very strange that it's only 4chan acting up... Could be a cache issue though I suppose.

Also to get x64 working I had to uncomment some pragmas which made some warnings turn into fatal errors, strangely under VS2010 these warnings weren't triggered at all, but under VS2015 there were hundreds of them. This is what I'd pin it on 2bh, especially considering the content of the warnings/errors:
// pointer truncation (64-bit unsafe) - Use when compiling for 64-bit to catch truncated pointers
//#pragma warning( error : 4311 )

// You attempted to assign a 32-bit value to a 64-bit type. For example, casting a 32-bit int or 32-bit long to a 64-bit pointer.
//#pragma warning( error : 4312 )

Weird how VS2010 never triggered them, perhaps these aren't in VS2010 and are just for VS2012 (which it looks like the source supports natively btw)

>>58527874
Good idea, I'll give it a try now
>>
>>58527887
Youtube looks fine, wtf?
Also tried clearing cache and 4chan is still fucked up, this is weird asf.
>>
>>58527898
Ah nevermind, did a full rebuild and copied it over a fresh 12.15 install and it works fine now, weird.

If anyones interested I'll put up the full x86 and x64 builds in a sec, hopefully they might run better than the official build since they're based on VS2015's runtime now (probably not though since we still aren't PGO yet)
>>
>>58527898
Have you looked at the requests made to 4cdn.org? I think that's where JS/CSS is loaded from.
>>
>>58528008
I was too late. Glad you got it working though.
>>
>>58528002
Oh god damnit, I closed it down and started it again and now the problem is back... what the fuck is going on, corrupted preferences or some shit?
>>58528008
Not yet, gonna check it out now
>>
>>58527858
>>58528020
I had the same problem with 12.18 x64 specifically on 4chan at some point. Had to switch style at the bottom of the page sometimes to fix it. Now it's gone, but I still have no idea what caused that. If you can, try official 12.18 (use portable installation mode for cleanness). If it's same, my guess is that you will have serious problems trying to reproduce this bug on any other website.
>>
>>58528008
>>58528020
Well checking with Fiddler it looks like it's making all the proper requests for the css files etc, but just doesn't want to use them...

No idea how I had it working that one time, I've tried recreating how I did it:
>uninstall all opera copies
>reinstall opera 12.15
>copy 12.15 folder to somewhere else
>rebuild 12.15
>overwrite exe/dll with compiled one

No dice, ughh. I'm too tired for this, I'll probably just release the patch for VS2015 building and leave it till tomorrow or something

Well maybe I'll try doing the above one more time

>>58528063
Interesting, I guess it could just be a fault with all x64 builds then maybe
I'll try giving it a go now, thanks for the heads up
>>
>>58528063
Chromium doesn't have this problem.
>>
>>58525221
Fork it.
Operium.
>>
>>58528063
>>58528085
Damn, seems like the official builds have no trouble with it...
And of course my rebuilt one still has the problem, what the fuck
Guess I should check what happens with VS2010-x64
>>
>>58528123
Tried out the style switcher and that actually seemed to work, but if I switched to a style, switched to another and then switched back it'd break the style.

If I switch it to Yotsuba instead of default Yotsuba B though I can refresh and it never breaks, but with Yotsuba B it breaks like 90% of the time when refreshing.

I guess maybe it's just a 4chan issue, but it's weird that the x86 and official x64 builds don't seem to have this problem..
>>
>>58528101
No shit. Chromium is too busy being Chromium.

>>58528123
>>58528227
I certainly remember being able to reproduce this problem with official builds. Not anymore. The default style was Yotsuba that time though.
>>
File: photo_2017-01-17_16-48-40.jpg (74KB, 1280x720px) Image search: [Google]
photo_2017-01-17_16-48-40.jpg
74KB, 1280x720px
Sup.
VP9 patch: https://paste.fedoraproject.org/528850/14846609
You'll need to update bundled libvpx to 1.3.0 first
>>
File: file.png (239KB, 1366x768px) Image search: [Google]
file.png
239KB, 1366x768px
>>58525221
Does this build on Vista?
I've got a Vista shitposting machine that I occasionally use and I'm running Chrome 40 on it (because newer versions remove the aero glass)
>>
>>58528621
That's linux only, win projects need updating.
>>
>>58528640
>>58528621
Shit dud.
>>
>>58528632
Builds under Win7 fine, probably will for Vista too
>>
>>58528685
Cool, I'll give it a shot
>>
A Russian has managed to get it to compile for FreeBSD v11. The patch and command to run is available at https://gist.github.com/kandeshvari/6e69327fb017ea95bced85c6f297a29f.
>>
Alright, finally narrowed down my fucked-up-4chan-x64-build problem.

Seems to have something to do with the launcher exe, with the one created by VS2015 it takes a solid minute to load up, and then 4chan's CSS is all fucked.

But if I replace that launcher exe with one made by VS2010, and keep the Opera.dll from VS2015, it launches almost instantly with no CSS issues.

Now I just need to find what's wrong with it, I mentioned here (>>58527035) about what I had to do to get the launcher exe compiling, which involved switching the libc they were using for the default one, and removing a "nowatson.obj" file from being linked to it. Guess they must have been important in some way, hmm.
>>
Here's an interesting comment from another Russian:

"Patch to support VP9: https://paste.fedoraproject.org/528850/14846609 First, you need to update the firmware to 1.3.0 libvpx The patch to the Linux only, sorry."
>>
>>58525221
I can't wait till someone makes a version that's close to the DS opera browser. It'll be ultra minimal.
>>
>>58529067
Neat, looks like it wouldn't break building for other OS's neither
>>58529236
That was just posted here, I missed it at first too: >>58528621
I wonder what makes it Linux only though, once I get this x64 crap fixed I'll try looking into it (very close now, solved the problem in my last post I think)
>>
>>58525286
>>58525410
Are you guys fucking retarded? Do you *want* to get sued?
>>
>>58529295
I really doubt a company like Opera is going to waste money on a lawsuit against some unemployed /g/tards, what would they have to gain from that? A simple cease and desist would be enough, much cheaper for them and less headache for both parties.

Also Opera's userbase isn't exactly growing, I don't think a lawsuit against some dedicated users would be helping it.

Besides, I'd think that they'd be going after the leaker right now seeing as there's a chance he could leak again.
>>
>>58529273
>what makes it Linux only
It's simple. Linux version compiles gstreamer plugins from source.
Windows version, however, uses prebuilt gstreamer in adjunct/desktop_gstreamer/
I don't know if that's a vanilla version or patched
>>
>>58529401
Ah damn, noticed a lot of Windows libraries in here are prebuilt, sucks ass

Luckily they host their custom gstreamer version on their site it seems:
>This directory contains binaries of GStreamer libraries and plugins
>for platforms that do not natively include them. The source code can
>be downloaded from http://sourcecode.opera.com/gstreamer/

Shouldn't be too hard to build it hopefully
>>
We should search for all the good feature requests from the old forums:

- pgp for mail.
- per site proxy
- find hidden option to activate face gestures / make browser brew coffee
>>
>>58529549
> We should search for all the good feature requests from the old forums
And what? You will implement all those "I want!" features?
>>
Think I finally fixed the VS2015-4chan bug, and by fixed I mean hacked around it, you can read my explanation here if you're interested:

https://github.com/PrestoXen/openopera-issues/issues/10#issuecomment-273219715
>>
>>58529463
>http://sourcecode.opera.com/gstreamer/
None of the repos there seem to clone properly for me when I use "git submodule update --init", looks like they removed them ;_;
Anyone here got a copy of them?
>>
>>58528621
I'm probably doing something wrong, but after copying the latest libvpx from their github to platforms/media_backends and applying the patch, I get a ton of errors when trying to build it, like:
./platforms/media_backends/libvpx/vpx/./vp8.h: In function ‘vpx_codec_control_VP8_SET_DBG_COLOR_REF_FRAME’:
./platforms/media_backends/libvpx/vpx/./vpx_codec.h:431:36: error: expected declaration specifiers before ‘DEPRECATED’
vpx_codec_ctx_t *, int, typ) DEPRECATED UNUSED;

Any help would be nice
>>
>>58531258
> latest libvpx
> 1.3.0
What wrong with your eyes?
1.4.0 and 1.3.0 libvpx have binary compatible issues.
You need to use EXACTLY 1.3.0
>>
>>58531258
This >>58531317
>>
>>58527335
not sure what it could be. it is not the first time that ms hotmail has broken support for opera.

see if you can get it working well with facebook and google's other services apart from gmail. like g drive, google play music and stuff.
>>
>>58527550
i miss making my own buttons for opera. i still have my minimize all button.
>>
maybe someone should try to reach out to the people behind otter browser and avant browser, seeing as both of these are by huge fans of opera.

one feature that would be cool to have built in is to download vids from any source. avant browser is the only one right now that can do this out of the box. even then, it doesn't always work.
>>
>>58527858
Yousuba B shits the bed, if you change to Tomorrow it'll work. No clue why, it's done this for at least a year.

>>58528101
Eat a dick
>>
File: 1472786063002.png (14KB, 500x500px) Image search: [Google]
1472786063002.png
14KB, 500x500px
>>58525359
>>
File: obnbeezd.png (5KB, 395x289px) Image search: [Google]
obnbeezd.png
5KB, 395x289px
If we get a really big team together and pull a BSD, replacing every line of code with lines of code that do identical things, etc, would the end result be legal?
>>
>>58532806
Good luck in rewriting about 150MB of code.
>>
>>58529575
No, just find them for fun. I like to read feature requests. It almost feels like a sort of spirit journey.
>>
>>58532824
How'd they write it the first time?
>>
>>58532839
They write it 10 years, lol.
>>
File: myimage.png (284KB, 1159x842px) Image search: [Google]
myimage.png
284KB, 1159x842px
>>58531317
>>58531496
I thought I could get it to compile with a newer version, gonna try to make 1.6 work later.
Anyway, it seems to be working now, although there is no sound and js makes the browser really slow and heavy on cpu usage
>>
>>58533132
> although there is no sound
Have same issue.

> and js makes the browser really slow and heavy on cpu usage
Did you build it with --release flag? Because debug build is really slow but it good for debugging with builtin asserts and symbols.
>>
>>58533165
I built it with
./flower -v -j 1 --without-kde4 --without-gtk3 --without-plugins --without-dual-plugin-wrapper --no-debug-symbols --optimize --without-autoupdatechecker --no-package-devel --release --package=tar

I belive it's worth mentioning that my cpu is pretty shitty, I'm saying that it's slow compared to firefox or chrome while loading those pages full of cancerous js (opera still a lot more responsive and fast with sane pages)
>>
>>58531186
There's mirror repo https://github.com/rikaunite/gst-opera
But it's unknown of which version.
Also, patch will need adaptation for windows version, as it builds matroska and vp8 into one plugin
>>
>>58533132
There's no sound in those videos.
I've tried another one (dunno if vp8 or vp9) and sound works.
>>
>>58533291
Can you provide some links with audio?
>>
>>58533291
I've tried videos on youtube and on some webms at /wsg/, neither worked.
Also, couldn't get videos to play at all on metacafe and daily motion.

>>58533381
I was going to ask this
>>
>>58533241
Yeah I saw that too, seems that mirror is from 2011 though while the last opera gstreamer repo commit was in 2012

I did manage to grab them from operas site eventually tho, but had to do it in a weird way because git client wouldn't recognize it for some reason (eg you can't clone the url http://sourcecode.opera.com/gstreamer/gst-plugins-bad.git/, but you can visit it in your browser fine, and if you download all the stuff manually you can locally clone it)

I've upped all the repos here if your interested: http://www15.zippyshare.com/v/Qy4GSima/file.html

Also tried compiling them with VS2015 and replacing the precompiled gstreamer.dll, but then all webm playback stopped working :( maybe it's missing some changes that 12.15 needs, or maybe I need to update Opera's libvpx to 1.3 as well, since I was using 1.3 to build the dll...
>>
I'm not sure if this has been posted before, but some sites are starting to report on the source code leak.
https://archive.is/jNyrW
This is going to get bigger as time goes on.
>>
>>58533602
I don't think I've ever seen a source code leak result in the community picking up development in any way. For opera, they've already
>made a linux ARM port
>made a freeBSD port
>added vp9 support
>plus other patches
Those aren't huge things but it's more than I've seen happen before.

So, I really hope this gets big. It's like a second chance for presto.
>>
>>58533818
Well, actually opera already have all ARM-related code, there just few fixes that make it builds successfully.
Same with FreeBSD, thre literally few ifdefs for V4L that make it builds on FBSD.
>>
Is there a big list of patches for this? In particular, I'm looking for the ARM patch. I'd also like any other patches, and if anyone has gotten it to build on OpenBSD, that would be awesome.

As for myself, I'm going to take a look at this C++ code. A list of compiler options would be nice, but there's quite a few of those in previous threads.
>>
>>58533818
Opera already ran on FreeBSD
ftp://ftp.opera.com/pub/opera/unix/1216/opera-12.16-1860.amd64.freebsd.tar.xz
>>
>>58533943
run flower help
>>
>>58533943
Found the ARM patch:
https://paste.fedoraproject.org/527759/45036061
the vp9 and linux build patches are in this thread.
>>
>>58534030
*
flower -help
>>
>>58533943
Screw using file hosts or paste sites, I embedded the patches I've collected to this image.
Using steghide, the passphrase is 'openopera'.
The filenames might not be that descriptive.
>>
What's the legality on patches? Is it possible for people to just maintain a repo of patches only or does that still count as a derived work?
>>
File: 52f23f94f9cfdc33d33241e0c306a858.jpg (473KB, 1280x960px) Image search: [Google]
52f23f94f9cfdc33d33241e0c306a858.jpg
473KB, 1280x960px
>>58534210
>>58533943
And forgot image!
>>
>>58534234
Post orig.
>>
File: 52f23f94f9cfdc33d33241e0c306a858.jpg (455KB, 1280x960px) Image search: [Google]
52f23f94f9cfdc33d33241e0c306a858.jpg
455KB, 1280x960px
>>58534258
Original file?
Here, though there might just be a higher resolution version floating around.
Polite sage
>>
>>58534288
steghide confused the shit out of me
the syntax is: steghide extract -sf anime.jpg
>>
>>58534462
Also -xf patches.zip
>>
>>58533406
When i first tested, even before vp9, youtube worked with sound.
I'm using pulseaudio, btw.
>>
>>58533381
>>58533406
http://www.quirksmode.org/html5/videos/big_buck_bunny.webm
>>
>>58534556
No sound at all, sadly

>>58534532
I'm also using pulseaudio
>>
File: 2017-01-17-234443_779x274_scrot.png (19KB, 779x274px) Image search: [Google]
2017-01-17-234443_779x274_scrot.png
19KB, 779x274px
>>58534556
Got no sound, though the vp9 video plays.
Youtube claims no support for shit.
>>
File: myimage.png (59KB, 445x942px) Image search: [Google]
myimage.png
59KB, 445x942px
This is what I get form html5test.com
>>
>>58534693
Hmm, seems like PCM audio support is broken because of the VP9 patch. Compare those results to the the ones I have (which you can see at http://html5test.com/s/76df0433c6326a83.html).
>>
>>58534288
Thanks.
>>
ITT: Fizzbuzzers from /dpt/ actually try to understand source code
>>
>>58535376
trying to understand means trying to learn
don't see how that could be a bad thing in any way
>>
Transparent webm for testing
http://a.pomf.se/okifqu.html

Should work in Chrome and latest Firefox.
>>
>>58535438
That link will work but you may have to refresh, wayback seems to be having issues with the redirector right now.

http://web.archive.org/web/20170114112712/http://web.archive.org/web/20150611133249/http:/a.pomf.se/okifqu.html
>>
File: snapshot782.png (171KB, 1920x1080px) Image search: [Google]
snapshot782.png
171KB, 1920x1080px
>>58534980
Except it's not
For those without sound, do you have gstreamer-plugins* for gstreamer 0.10 installed?
>>
>>58534217
Still a derived work. This pastebin bullshit is not sustainable, can we *please* find a gitlab host in russia or somewhere, one not so keen to suck DMCA dick?

inb4 i2p gitweb. no, that bullshit is too awkward to use and slow as fuck to be useable.
>>
>>58536357
There is http://git.repo.i2p.xyz/w. I can't access the project I made to push to it even though I have access according to its settings page.
>>
>>58536357
There is Opera office in Russia, so we too can be sued and repo taken down.
>>
>>58535753
Ok then. I hope that someone can figure out why sound is no longer being played in videos when the VP9 patch is applied.
>>
*** Build failed:
Command exited with return code 2 (make -C platforms/media_backends/gst/gst-opera/unix GStreamerSourceDir=/home/operatest/code/OPERA_SOURCE_LEAK/browser-master/platforms/media_backends/gst/gst-opera GStreamerIncludeDir=/home/operatest/code/OPERA_SOURCE_LEAK/browser-master/platforms/media_backends/gst/include GStreamerTopIncludeDir=/home/operatest/code/OPERA_SOURCE_LEAK/browser-master GStreamerOutputDir=/home/operatest/code/OPERA_SOURCE_LEAK/browser-master/build/bin/gstreamer GStreamerTempDir=/home/operatest/code/OPERA_SOURCE_LEAK/browser-master/build/gstreamer OPERA_BUILD_DEFINES=_REENTRANT\ WCHAR_IS_UNICHAR\ NDEBUG\ BROWSER_BUILD_NUMBER_INT=9999\ STASHED_DEFINES\ UNIX\ BROWSER_BUILD_NUMBER=\"9999\"\ FEATURE_SELFTEST=NO\ _LARGEFILE_SOURCE /home/operatest/code/OPERA_SOURCE_LEAK/browser-master/build/bin/gstreamer/libgstoperamatroska.so /home/operatest/code/OPERA_SOURCE_LEAK/browser-master/build/bin/gstreamer/libgstoperavp8.so)


What gstreamer-dev package do I need? Building on Debian Testing.
>>
>>58536761
That didn't format worth a shit.
>>
>>58525273
>the best browser
sure anon. the best browser not to support anything after 2010
if you're really having a hard time imagining it start here: www.w3.org
>>
>>58536501
Yeah, i2p bullshit.

Anyhow, found this:
https://cesaserver.iust.ac.ir/vyvojar/opera/tree/master

It is slow, but more or less useably so (incidentally as fast as tor I recommend to clone with). Let's see how long it stays, first - in any case, I'm trying to reach the uni net admin if it's ok to shelter kafirs with first world DMCA problems.

From my experience, persians are supposed to be hospitable people. Plus, culture of piracy in there is huge.
>>
>>58536643
Patch has nothing to do with PCM.

My guess it that they just missing gstreamer plugin for pcm (it's not provided by opera)
>>
Someone tried port it to Haiku?
>>
>>58536901
Haiku uses the BeOS API and most ports rely on Qt, you'd have to write another rendering backend.
Firefox supported it natively until it switched to using Cairo for rendering.
>>
Anyhow, for anybody interested, you can track my remote from

http://gitlab-ci-token:[email protected]/vyvojar/opera.git

not much there yet (currently cleaning up windows build mess).

also, if you have a personal git remote url, please do tell so I can add you too.
>>
Why is this a big deal? Aren't there open source browsers out there? Is there a specific thing that makes this special or is it just for fun?
>>
>>58537156
Aside from Opera and Internet Explorer / Edge, all other (popular) web-browsers have been open source (Firefox, Chrome, Seamonkey, Dillo...) and other projects like Midori. Opera's source being leaked is a good thing.

We only have to wait until pajeet slips up and leaks Internet Explorer source code. Then, we will have a truly "Open" internet.
>>
Managed to fix the gstreamer issue by disabling it, now getting:

exited with return code 2 (make -j 2 -C platforms/media_backends/libvpx/build/opera/unix VPX_DIR=/home/operatest/code/OPERA_SOURCE_LEAK/browser-master/platforms/media_backends/libvpx VPX_TMP_DIR=/home/operatest/code/OPERA_SOURCE_LEAK/browser-master/build/libvpx)


This is eternally frustrating. I have libvpx-dev installed.
>>
>>58527256
You can use adblock, no need for greasemonkey. Just go into settings and set user js folder then dump scripts into it named *.user.js
>>
>>58537038
haiku has QT!

https://wiki.qt.io/Haiku
>>
>>58537156
There are only 2.5 modern open source engines gecko, blink/webkit
>>
>>58537156
Because building and keeping up to date a web rendering engine is pretty hard, every engine outside of Webkit/Blink and Gecko is pretty much a toy.
Opera Presto is only few years out of date, which is better than starting from scratch
>>
>>58534556
this works on official opera 12.18 too, with sound and all
>>
I've been waiting for this for so long.
Can't wait to get home and try to build it
>>
>>58536849
I use it daily, I know what it's capable of.
>>
>>58536849
>the best browser not to support anything after 2010
It supports every website I've used it on except for a few small rendering problems
>>
>>58537224
You can't just disable gst - gst is what actually depends on libvpx - and opera depends on gst to play media, including wav files.

It should be noted the source does not include gstreamer src as such, it depends on the library being present system-wide on linux (it ships prebuilt dlls on windows). But you have to ditch your distro gst, and use http://sourcecode.opera.com/gstreamer/ otherwise shit will break.

Make sure you compile against proper headers too.
>>
>>58525245
which source is this? the shitty blink version or the old opera?
>>
>>58537506
Opera 12.15, it says in the OP.
>>
>>58537513

you didn't answer the question douche.
>>
>>58537533
The version number is more than enough for you to find the answer, you lazy retard.
>>
15 had blink.
>>
>>58537555
No it didn't, everything AFTER 12.15 used Blink. 12.15 was the last release to use Presto.
>>
>>58537720
He's not saying 12.15 is Blink-based, he's saying 15.x and up is.
>>
>>58537730
That's what I kinda thought but based on the convo a few posts above I wasn't sure. Ignore me.
>>
Firefox was getting laggy so I just switched to Opera, few questions :
- does Opera have a tab group system like Firefox?
- can you change the color of the bar/button?
- is there a fork that's better than the original?
>>
>>58538026
I'm not sure how firefox groups work but you can drag tabs on top of other ones to group them then collapse and expand the group
>>
>>58538042
https://www.youtube.com/watch?v=VWpJvg8icmM
It's this kind of system on FF yes but with a different appearance.
Anyways thank, but sadly it doesn't seem to work for me, weird
>>
>>58538026
>fork better than original

Immediate todos for presto:
* minor security fixes (ssl et al)
* implement builtin adblocker, similiar to one chropera has
* implement chrome extension API
* spdy/quic
* add support for h264/aac/webp

And voila.

As for the rest .. the last 5 years in web standards weren't pretty and can be pretty much safely omitted (conceptually broken bullshit like webrtc, webgl et al) when we're talking about power users and not normies.

The rendering glitches on broken sites are fairly minor (and could be fixed with user scripts).
>>
File: tomoko_kuroki_36282.jpg (35KB, 400x554px) Image search: [Google]
tomoko_kuroki_36282.jpg
35KB, 400x554px
Still compiling over here... I'll upload a .tar soon (if it actually fucking builds this time) the core2duo life is a shitty one.

>>58538236
Do we have an official git repo yet?
>>
>>58538236
>spdy
Shouldn't this be http/2?
>>
if there is no botnet in there i swear i will kms i have shilled firefox for years
>>
>>58538415
The C++ that I've read looks clean. No russian botnets.

Try building this. It's a fun project.
>>
>>58538343
>Do we have an official git repo yet?
It will take a while.

Dropping the remotes on various obscure hosts for now, I reckon some of it will stick eventually - that would be good place to establish base then.

This dance was done before with ffdecsa & sasc-ng (and other sat piracy tools) - when DVB consortium was super sue happy back in early 2000s. Unfortunately opera can't be hosted in china now, because it is owned by 360.
>>
>>58538525
Why not Switzerland? Or poland? Chromikuj would probably take it proudly. (Although Chromikuj obviously doesn't support git...)
>>
File: 420.png (75KB, 983x1013px) Image search: [Google]
420.png
75KB, 983x1013px
>linking build/bin/opera
>packaging opera-next as tar
I finally did it reddit!

Fuck you Opera Software!
>>
>>58538236
Opera's had a built in adblocker, we should just improve upon it
>>
Might I ask the reasoning behind compiling Opera yourself?

I might as well add that I appreciate threads like this on /g/.
>>
>>58538810
This is the old, outdated, actually good version that was closed source. Just got leaked
>>
Never noticed this before, Opera can function as a WM for its tabs
>>
>>58539019
Why in the fuck? If I wanted another window, I'd put the tab in a new window and let it be controlled by my actual wm
>>
>>58539019
I've actually been wanting almost exactly this for a while. Ever since I found out about Tile Tabs in Fx I've been wanting to do it in Opera. Turns out I didn't even need an extension for it.
>>
>>58539049
for >>58539037
>>
>>58539049
But why?
>>
File: Capture.png (4KB, 396x74px) Image search: [Google]
Capture.png
4KB, 396x74px
Firefox is giving me a warning about malware when downloading the .zip from the original site
>>
>>58539073
Because I like it
>>
>>58538719
There is only url blocker, which was pretty ineffectual even back then, as it is purely URL based. You need to play the CSS game hard to achieve good results these days.

This is what chropera does: On first load, it computes the filtering element matches (you need full dom to match complex css rules, no way to cheat). But once this is done, static rules can be cached and used on subsequent loads.

This works really great - static rules are consulted as the DOM gets constructed, and elements are never instantiated if they match a static rule - most importantly, matching <script>, <img> etc contents are discarded, network events never fire up and so on.

uBlock originally came up with this, but they do this within limitiations of extension API, that is, the DOM element is instantiated, but hidden with cached CSS static rules before page loads.
>>
>>58539075
It's a corrupted png for testing, it was discussed in a previous thread.

>>58539106
>urlfilter.ini was ineffective
I've used it daily for years, it still works well. It actually also does have CSS blocking, I use it too.
>>
>>58539145
>It actually also does have CSS blocking, I use it too.
It has usercss, yes. These rules are treated as regular CSS rules (no dynamic/static caching), meaning there's not much difference than simply supplying these from load event (ie what ABP does).

The idea is more or less tag filtering css rules specially, and treat elements matching these rules specially.

Also, are there any tools to populate user.css database (per-site, ie not enormous single file blob) from easylist format? I'm searching to no avail.
>>
File: 2017-01-17-235006_1440x900_scrot.png (265KB, 1440x900px) Image search: [Google]
2017-01-17-235006_1440x900_scrot.png
265KB, 1440x900px
4chan-X does not work. But man, this thing is fast.
>>
>>58539479

share it you dingus i cant into compilling
>>
I managed to get Youtube videos to buffer by removing the ABP extension I had installed.
>>
>>58539525
If I were to share it Opera will snipe me dingus

Instructions are pretty clear:
Get the source
pop open your terminal
install the following packages:
libvpx-dev
libtinyxml-dev
yasm
gtk-2.0-dev
cups-dev
perl-xml-twig

then you've got to run the following in the source dir:
./flower -v -j 1 --without-kde4 --without-gtk3 --without-plugins --without-dual-plugin-wrapper --no-debug-symbols --optimize --without-autoupdatechecker --no-package-devel --without-gstreamer --release --package=tar

After a *very* long time you'll get a couple of tar.XX files. You want tar.bz2. Extract that, then run ./opera-next wherever you extracted it. Accept the agreement your ass just violated the hell out of, and browse away.

*forgot to mention, apply the linux build patch, along with the "useful" patch (CTRL+F)*

Good luck. It'll be a good learning exercise for you.
On another note, I could easily ship malware in one of those tarballs :^). It's better you made it yourself.

One final note about those patches: Googling "how to apply .patch" or something like that will prove useful.
>>
you thing that there is anyway we could implement ublock on opera now?

Adblock+ is bleh...
>>
>>58539918
We could've done that without the source code.... Just find some Opera Presto extensions documentation, and work from there. If only we could backport Webextensions to 12.15... We'd be able to just install it...
>>
>>58537480
You actually can, just don't expect to be able to play any media

>>58535753
I feel so fucking stupid. It's working fine now, thanks anon
>>
>>58538236
> webp
Opera have webp support, 12.15 uses 0.2.0 WebP. We can just update it ti latest version.
>>
>>58538236

Opera 12.15 already has support for SPDY since 12.10 (see opera:config), AND SPDY is deprecated.
also see https://en.wikipedia.org/wiki/SPDY
QUIC is also just experimental and I would not necessarily expect it to become standardized. Not that I am against pioneering, but this should not be prioritized.

I propose we instead add cert pinning as an option (all certs get stored; each time you visit a TLS encrypted website and the certificate has changed, you get notified).

Security layer against MiTM
>>
File: wmdbjh.png (19KB, 274x186px) Image search: [Google]
wmdbjh.png
19KB, 274x186px
Does anybody remember how to get the address bar to go all the way to the left and have the sidebar under it?
I'm sure there was a way but I can't find it
>>
>>58538556
Chomikuj works with the popo
Thread posts: 214
Thread images: 23


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.