Jump to content


  • Posts

  • Joined

  • Last visited

  • Donations

  • Country


Everything posted by feodor2

  1. No secret at all only the study rustc --target i686-pc-windows-msvc -Clink-args=/subsystem:console,5.01 Though there https://github.com/rust-lang/rust/tree/1.35.0/src/libstd/sys/windows some windows functions are not imported directly, but make rust panic which means the crash. I replace them with winxp stuff. I look for help everywhere, for today i do not know how to replace this https://hg.mozilla.org/releases/mozilla-esr68/file/tip/third_party/rust/miow/src/iocp.rs#l146 So i commented out it - seems works fine, but i tink this is wrong, why they put it in the first place, сan you explain what is this for?
  2. This is only abstract reasoning with no any real example where to look how it happened and there about youre easily can be hacked on firefox quantum with rust. Also about protections from this type of hacking, however protections have been introduced since win8 only. Can provide a link with real stuff? Do we suppose pre quantum firefox is much hard to hack?
  3. Please elaborate. All quantums use rust, and more modern - more rust it will be. For half a year i use firefox 91 on win7 and firefox 78 on linux and no memory exploit was noticed.
  4. poked this too but not completed for av1 though, look may be usefull. https://github.com/ManchildProductions/MyPal/commit/2bfc16351ecc5c283efae2cd49e79579b15056cc
  5. So done already. https://github.com/ManchildProductions/MyPal/commit/c2ad5af1936faef1eb258ac9d3aa852a7d9ae1f3
  6. This a newer EWDK than i used, so likely more bloated. Previously i used only EWDKs compiler and with win8 sdk from vs2013, not allowed by default, for what i patched stuff in the python mozbuild, i shall remember if needed. I did update to 4.3.1 not sure if its better, but there where begin to develop own av1 decoder, as default av1 decoder code buggy under x86 msvc including upstream too. https://tools.woolyss.com/html5-audio-video-tester/?u=woolyss.com/f/caminandes-1-llama-drama-av1-opus.webm it stutters on x86 msvc builds, but good on mingw builds
  7. Where they took the code, most likely from the mozilla, forgot may be they a thing on makefiles. And the error is the same everywhere, https://www.programmersought.com/article/37382464851/
  8. I shall remember This for the serpent https://github.com/ManchildProductions/MyPal/commit/ec5771123813877a2e92f5a0627750f934455c5b Also some other thing there like wbrtc update, not very usefull but next webrtc update will be more easy to apply.
  9. Not absolutely required, you can build on winxp with mingw. Though can build on 4gb ram pc, by the way building av1 decoder with x86msvc is buggy and consume more memory.
  10. @ArcticFoxie I shall continue later soon, while you may download and install software.
  11. 1. Hardware Certainly more powerful computer you have, more faster building your will get then, consider two cores CPU and 4G RAM will be sufficient. Also i suggest to have two hdds, the first for source, compiler, build tools and the second for output. 2. Virtual drive If you have more RAM it is good to make virtual drives, no need second hdd then. Why this you ask, so building things such as browsers put heavy stress on the hdd, with ramdrive you save hdds life and increase building speed greatly. For last time i used 10gb drive for all stuff except compiler 3. Software 3.0 OS For msvc build win7+ is required,, and assuming you have x64 3.1 Git Download at https://git-scm.com and install, i did not try portable, but you can i think. 3.2 Compiler I do not like regular Visual Studio, with its junk and onlineness requirement, so i do not use it. Good Microsoft cares for me too, and made available good build tools without junk. They are in the iso file, and ready for usage anywhere, no need to do install. Download, unpack or mount iso. EWDK with Visual Studio Build Tools 15.6 May want to delete files vctip.exe in "Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\Hostx64\x64" and same on x86, they leak data to internet (spyware and telemetry) 3.3 DirectX SDK Download june 2010 and install 3.4 Mozilla build tools i use version 3.2 But for building on winxp the latest version is 2.2 You are to craft own bat file for use with alternate compiler. Write your actual paths there and put inside MozillaBuild floder (C:\mozilla-build). assume EWDK on G: @ECHO OFF SET TOOLCHAIN=32-bit SET MOZILLABUILD=%~dp0 SET MOZ_TOOLS=%MOZILLABUILD%moztools SET INCLUDE="G:\Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\include";"G:\Program Files\Windows Kits\10\Include\10.0.16299.0\shared";"G:\Program Files\Windows Kits\10\Include\10.0.16299.0\um";"G:\Program Files\Windows Kits\10\Include\10.0.16299.0\winrt";"G:\Program Files\Windows Kits\10\Include\10.0.16299.0\ucrt" SET LIB="G:\Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\lib\x86";"G:\Program Files\Windows Kits\10\Lib\10.0.16299.0\um\x86";"G:\Program Files\Windows Kits\10\Lib\10.0.16299.0\ucrt\x86" SET PATH="G:\Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\Hostx64\x86";"G:\Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\Hostx64\x64";"G:\Program Files\Windows Kits\10\bin\10.0.16299.0\x86";%PATH% %MOZILLABUILD%msys\bin\bash --login -i (bat file may be need rewrite) 3.5 Other software For virtual drive SoftPerfect RAM drive free 4. Source 4.0 Download source Your are type commands in the command line, i prefer far manager assume you installed git on c:\dev\git C:\dev\git\bin\git clone --no-checkout https://github.com/roytam1/UXP.git you will get new folder UXP where there actual source packed inside .git folder 4.1 .mozconfig Enter to the UXP folder and create there text file named .mozconfig this will be your building config mk_add_options MOZ_OBJDIR=d:/dev/uxp.32 mk_add_options MOZ_CO_PROJECT=browser ac_add_options --enable-release ac_add_options --enable-application=application/basilisk ac_add_options --enable-optimize="-O2 -GF" ac_add_options --enable-jemalloc ac_add_options --disable-debug ac_add_options --disable-accessibility ac_add_options --disable-necko-wifi ac_add_options --disable-skia ac_add_options --disable-tests ac_add_options --disable-webrtc ac_add_options --disable-webspeech WIN32_REDIST_DIR="G:\Program Files\Microsoft Visual Studio\2017\BuildTools\VC\Redist\MSVC\14.13.26020\x86\Microsoft.VC141.CRT" WIN_UCRT_REDIST_DIR="G:\Program Files\Windows Kits\10\Redist\ucrt\DLLs\x86" Pay attentions on this things 4.1.1 MOZ_OBJDIR This is where it will get built files, may out anything valid path, prefer another hdd or ramdrive. 4.1.2 --enable-application This choose what it will build basilisk-serpent or palemoon-newmoon, or other thing any anotherapp\anotherstuff 4.1.3 MOZ_MAKE_FLAGS Usually when you build all computer power you have is ocuppied, therefore you hardly can do other things, however with mk_add_options MOZ_MAKE_FLAGS="-j1" it will build slower time but for example you can play heavy 3d game in the same time. 4.2 Unpack source and apply changes Unpack source for custom branch (assume custom is right branch in roytams source) C:\dev\git\bin\git checkout custom apply patches if needed or edit files by hand C:\dev\git\bin\git apply --ignore-whitespace file.patch 4.3 Save changes to the git If you not going to publish dont bother, thoug i can write about. 5. Building launch your bat file inside mozillabuild (look 3.4) assume you source folder in C:\dev\uxp type cd /c/dev/uxp then enter type .\mach build then enter So it begins, if you set another destination drive building will stop with message: 1:23.14 ValueError: path is on drive c:, start on drive d: 1:23.18 *** Fix above errors and then restart with\ Well, let them fix: edit the following file d:\dev\uxp.32\_virtualenv\Lib\ntpath.py go to the lin 527 and put # signs, this will cancel the stupid code # else: # raise ValueError("path is on drive %s, start on drive %s" # % (path_prefix, start_prefix)) Keep then _virtualenv to not bother with this again If you get error you can look for details in D:\dev\uxp.32\.mozbuild\last_log.json That's all for now, happy building...
  12. @roytam look this too, may be want to apply https://github.com/ManchildProductions/MyPal/commit/3425aa130a9fc547e77e1575c59ece2f518c4db3 it fixes https://github.com/Feodor2/Centaury/issues/35
  13. Huh mingw thread was not saved from mypal repo, but ptaches is preserved look there https://github.com/ManchildProductions/MyPal/commits/mypal-mingw do not forget to revert "Unfold sqlite3 from nss" and some about win10 IME stuff, whats i actually deleted early Other is plain, for winxp i used Git for Windows v2.10.0 Mozilla build 2.2 Mingw 8.1.0 this one https://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win32/Personal Builds/mingw-builds/8.1.0/threads-win32/dwarf/i686-8.1.0-release-win32-dwarf-rt_v6-rev0.7z assume mingw in E:\dev\mingw64\ bat for mozilla build @ECHO OFF SET TOOLCHAIN=32-bit SET MOZILLABUILD=%~dp0 SET MOZ_TOOLS=%MOZILLABUILD%moztools SET C_INCLUDE_PATH=/e/dev/mingw64/mingw32/i686-w64-mingw32/include SET CPLUS_INCLUDE_PATH=/e/dev/mingw64/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++:/e/dev/mingw64/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/i686-w64-mingw32 SET PATH=E:\dev\mingw64\mingw32\bin;%PATH% %MOZILLABUILD%msys\bin\bash --login -i one more thing in E:\dev\mingw64\mingw32\i686-w64-mingw32\lib copy libmsvcr100.a over libmsvcrt.a .mozconfig for mingw is different too. CC=gcc CXX=g++ CPP=cpp AS=as AR=ar LD=ld WINDRES=windres ac_add_options --enable-application=application/palemoon ac_add_options --target=i686-w64-mingw32 ac_add_options --enable-optimize="-O2" ac_add_options --enable-jemalloc ac_add_options --enable-strip mk_add_options MOZ_OBJDIR=F:/dev/newmoon mk_add_options MOZ_MAKE_FLAGS="-j1" ac_add_options --disable-debug ac_add_options --disable-accessibility ac_add_options --disable-gamepad ac_add_options --disable-necko-wifi ac_add_options --disable-webrtc ac_add_options --disable-webspeech ac_add_options --disable-skia
  14. @ArcticFoxie I think this is easy for average user, and very easy if you good with command line and bat. You still not answered where did you failed, my guide still there.
  15. I found how to resolve matter with Tobin. I transfer mypal repository to the new owner, who will comply the licence. Meanwhile i continue work on mypal, keep it up to date, only not publish releases. New owner then will publish releases, And i think we can reinstate centaury there with link to the code of course. So who want to be the new owner?
  16. Why to edit all these browsers do not have a such notice during install. I wanted to say that mypal was not the matter. Please help to understand what is this about. https://github.com/Feodor2/Mypal/issues/237#issuecomment-905830204 written by Tobin "If you are, however, not going to accept that with rare exception my contributions are mine then the open source license is meaningless and it falls back to copyright across the board which means you are going to have to seek permission from every copyright holder for the past 22 years. That is hundreds of thousands of people. Is that REALLY how you are gonna play this?"
  17. The thing is not about mypal, but centaury scroll up to read. Until resolve the matter with tobin no any centaury will be meanwhile.
  18. So if he take even moochild code he does not have the right to demand for remove this code, right? But let we assume i removed lines of code what is his property. What can they do next - do others and moonchild himself have right to demand remove their code property or else?
  19. I had other thing https://github.com/Feodor2/Centaury/ fork of their basilisk. Their incursion about i do not inform them how they can obtain a copy of such Source Code Form by reasonable means in a timely manner. I deleted all executables there, wait what next, maybe it is a point to delete the whole my github to go somewhere else, what do you suggest?
  20. I made this on intent, for several sites do not allow to enter when beacon is disabled. Now if disabled it stays disabled but sites faked.
  21. Need your help with https://github.com/Feodor2/Mypal/issues/237#issuecomment-904679728
  22. Help me please with <link rel="preconnect"> thing Roytams browsers and original firefoxes do not connect as they ignore it at all, Otherwise my browsers do the action and connects, but i did nothing about it and did not care, until found that ublock also ignores preconnect tags so allows unwanted connections. I checked chrome with its ublock too, theres is same as with my browsers
  23. Whatever, i thought about tor network recognize it as a good tor browser. And torbuttnon, this extension plays also important along with the browser as i know.
  24. Hi I found tor-browser-52.9.0esr-7.5-2.git is available, so i can try build it upon my centaury. what about the names, is the "centaury" will be right?

  • Create New...