summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Issue #1624 - Fix slot access intrinsics for objects with > 16 reserved slotsMatt A. Tobin2021-01-11-1/+9
| | | | Also flips ion inlining pref back on
* Issue #1710 - Check for triggering principal URI in FTP subresource check.Moonchild2021-01-09-0/+8
| | | | Resolves #1710
* Merge pull request 'Add modern FreeBSD support' (#1706) from ↵Moonchild2021-01-07-82/+375
|\ | | | | | | | | | | OlCe1/UXP:FreeBSD-support-reformatted into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1706
| * Revert "Issue #1699 - Part 3a: mozjemalloc: Memory barriers on ↵Olivier Certner2021-01-07-12/+2
| | | | | | | | | | | | | | | | | | 'malloc_initialized'" This reverts commit f76695c1ce032b634f3e0e2a593aebdd1d49703b. SUSv4 specifies that 'pthread_create' acts as a (full) memory barrier, so barriers here are not necessary.
| * Issue #1699 - Part 3c: mozjemalloc: FreeBSD: Ensure early initializationOlivier Certner2021-01-07-0/+5
| | | | | | | | This guarantees that initialization is done in a single-thread context.
| * Issue #1699 - Part 3b: mozjemalloc: Bootstrap allocator, early diversion for ↵Olivier Certner2021-01-07-42/+294
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FreeBSD Coded a simple memory allocator meant to be used during jemalloc bootstrap (malloc_init_hard()). Although protected by "#ifdef __FreeBSD__", it is not FreeBSD-specific: Any POSIX platform could use it. Hook it so that it is used in place of jemalloc's own routines while malloc_init_hard() is executing or memory for mutexes is being allocated. Currently, 'malloc', 'calloc', '*memalign' and 'free' are diverted during init or lock initializations. Details are quite complex, see the big comment block starting with "There are several problematic interactions between FreeBSD's libthr and this jemalloc." for more explanations. Also replaced ad-hoc BSD code to determine the number of CPUs with 'sysconf', which is POSIX-compliant (and supported on modern BSDs).
| * Issue #1699 - Part 3a: mozjemalloc: Memory barriers on 'malloc_initialized'Olivier Certner2021-01-07-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The barriers are here to make sure that setting 'malloc_initialized' at end of init must be noticed later by any thread running on a different core. They are in theory necessary in the absence of an explicit pthread lock. What could happen is that the thread doing the initialization later spawns other threads that could not have the updated 'malloc_initialized' value, leading to a second initialization. This is dependent on whether OSes force a full memory barrier before the new thread is run, which I don't know, and don't want to bother. This was done for FreeBSD only, for the sake of robustness. In theory, this would be needed on Windows too.
| * Issue #1699 - Part 2: libevent: Remove 'evutil_secure_rng_add_bytes'Olivier Certner2021-01-07-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In fact, this is a security threat. This function calls 'arc4random_addrandom', which was removed from the reference implementation 7 years go [1], on the ground that this was in fact an internal interface which is almost impossible to use correctly. This update has since then been propagated to other implementations (e.g., FreeBSD, IllumOS, Android). Do this for all platforms, since 'evutil_secure_rng_add_bytes' is not even used in the current tree, and for the reason stated above, should never be. Related bugs at Mozilla and libevent: Links [2] and [3] below. [1] http://marc.info/?l=openbsd-cvs&m=138238762705209&w=2 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=931354 [3] https://sourceforge.net/p/levent/bugs/320/
| * Issue #1699 - Part 1: python/psutil: Support recent FreeBSD versionsOlivier Certner2021-01-07-13/+76
|/ | | | | | 'sysctl' interface to currently opened connections changed in FreeBSD 12. Drop support for FreeBSD < 9, these are very old and unsupported versions.
* Merge branch '61'Moonchild2021-01-04-20/+834
|\
| * Issue #61 - Add missing external symbols for gkmedias when WebRTC is builtMatt A. Tobin2021-01-04-0/+16
| |
| * Issue #61 - Add missing external symbol cubeb_set_log_callback to gkmedias ↵Matt A. Tobin2021-01-03-0/+1
| | | | | | | | symbols.def
| * Issue #61 - Add configure option for non-windows platformsMatt A. Tobin2021-01-03-4/+17
| | | | | | | | Windows will ALWAYS have this enabled but we eventually want all target operating systems to use this as well but that will require more work
| * Issue #61 - Place Skia in libxulMoonchild2021-01-03-6/+2
| | | | | | | | | | | | | | | | | | | | Skia does some nasty things that break with DLL calls like having virtual dtors without a body definition (and it's honestly surprising that it even builds to begin with the way it's done, but apparently they use some linking symbol voodoo to work around that in dependent classes). Not wanting to have to pull Google code apart to try and fix that for something we're only using for canvas anyway, it's better to just let Skia reside in libxul instead.
| * Issue #61 - Add missing #endif in symbols fileMoonchild2021-01-03-1/+1
| |
| * Issue #61 - Reinstate buildability with shared gkmedias dllMoonchild2021-01-02-16/+804
| | | | | | | | | | This fully works for splitting gkmedias.dll back out from xul with one exception which is Skia throwing undefined externals when linking gkmedias.
* | [NSS hotpatch] Hard disable AVX2 in NSS Build SystemMatt A. Tobin2021-01-03-23/+5
| | | | | | | | This should be ported to the NSS repo
* | Redundant code path cleanup (#1702)Moonchild2021-01-02-297/+91
|/ | | | | | | | | Remove various obsolete configure options. Remove Adjust SDK install tracking filth. Remove redundant code paths in old-configure This also optimizes linker use Remove redundant conditional blocks. Rewrite span.h without constexpr use.
* Issue #1053 - Part 2b: Remove android from /layout reftestsMoonchild2020-12-31-18092/+511
| | | | Also cleans up some other obsolete checks and stylo reftest lists.
* Issue #1053 - Part 3b: Remove AndroidSurfaceTexture and Android media decoderMoonchild2020-12-27-2022/+0
| | | | interface.
* Issue #1053 - Part 3a: Remove Android conditionals from /gfxMoonchild2020-12-27-1708/+32
|
* Issue #1053 - Part 2a: Remove android from /layout (partial)Moonchild2020-12-26-540/+56
| | | | | This removes android code from base, build, forms, generic, inspector, style, printing, tools and xul.
* Issue #1053 - Part 1c: Remove references to mobile/android targets and pathsMoonchild2020-12-25-3636/+8
|
* Issue #1681 - Hard-code FLAC media type association for .flacMoonchild2020-12-24-0/+1
| | | | We don't support AAC outside of OMX at the moment, so oops.
* Revert "Issue #1681 - Hard-code FLAC and AAC media type associations for ↵Moonchild2020-12-24-2/+0
| | | | | | .flac and .aac" This reverts commit a8e90975d0b7fd481b03a862844c65778f402c5e.
* Issue #1681 - Hard-code FLAC and AAC media type associations for .flac and .aacMoonchild2020-12-24-0/+2
|
* Clobber for NSS update.Moonchild2020-12-23-0/+1
|
* Issue #1693 - Additional configuration for NSS lib update.Moonchild2020-12-23-0/+7
| | | | | | | The Seed and RC2 components are completely obsolete, so we shouldn't build them. AVX2 for Chacha20-Poly1305 would fall outside of our platform sysreqs, and has a build system issue with non-MSVC flags being passed (needs more research, also a recent change around NSS 3.53 when the makefile destruction happened)
* Issue #1693 - Update NSS to 3.59.1.1Moonchild2020-12-23-17321/+502834
| | | | | This updates to MoonchildProductions/NSS@bd49b2b88 in the repo created for our consumption of the library.
* Issue #1693 - Update NSPR to 4.29Moonchild2020-12-23-2461/+2614
|
* Issue #1701 - Implement Intl.PluralRules APIMoonchild2020-12-22-67/+834
|
* Issue #1700 - Apply background color instead of inset shadow for findbar input.Moonchild2020-12-21-6/+26
| | | | | | | | This changes the toolkit theme for Linux and Windows (Mac already did this) to style the input textbox on the findbar with -moz-appearance:none so as to give us styling control (as opposed to using a native widget style) and apply a neutral style to it. Also ensures Mac remains readable in case of poorly contrasting text.
* Revert "Issue #1686 - Align a keybinding definition with the others"Moonchild2020-12-20-1/+1
| | | | This reverts commit 85dc118aaca8446cbe33671446ac23147daec44c.
* Merge pull request 'Reinstate the performance timing code removed in error' ↵Moonchild2020-12-16-0/+17
|\ | | | | | | | | | | (#1698) from adesh/UXP:fix-performace-api into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1698
| * Issue #1697 - Reinstate the performance timing code removed in error.adesh2020-12-16-0/+17
|/ | | | This was a fallout from pull request #929.
* Revert "Issue #1695 - Add clamping to websocket polling timeouts."Moonchild2020-12-16-30/+3
| | | | | | | As of [da0c073a7] we no longer need this workaround because the issue is avoided with proper sleep/wake logic restored. This reverts commit 2fa993b5639e04c7e1d7403ecf9175a223ce50b4.
* Issue #1695 - Restore Sleep/Wake timer that was erroneously removed.Moonchild2020-12-16-0/+30
| | | | This was fallout from PR #929 for Issue #21
* [toolkit] Handle corner case confusion of downloaded files without extension.Moonchild2020-12-15-0/+16
| | | | See code comment for details.
* Issue #1696 - Propagate flex sizes to the table wrapperMoonchild2020-12-15-0/+290
| | | | | | | This avoids overlapping of table styled elements inside flexboxes as used on some websites. Resolves #1696
* [network] Update port blacklist.Moonchild2020-12-15-10/+21
| | | | See BZ bugs 1674735, 1677047, 1677940 and 1676868 for details.
* Issue #1695 - Add clamping to websocket polling timeouts.Moonchild2020-12-12-3/+30
|
* Revert "Issue #1391 - Disable DOM Filesystem/dirpicker APIs by default."Moonchild2020-12-08-2/+2
| | | | This reverts commit 45a976a5f1e83c3c2f7fcf85b1fa5315946f4c1a.
* Issue #1695 - Fix socket timeout logic.Moonchild2020-12-08-67/+121
|
* Issue #1694 - Part 2: Use scriptabledateformat for Update History display.Moonchild2020-12-04-6/+11
|
* Issue #1694 - Part 1: Use scriptabledateformat for the Cookie Accept dialog.Moonchild2020-12-04-6/+26
|
* Issue #1624 - flip the inlining pref.Moonchild2020-12-03-1/+1
| | | | The default is now set to the more stable but slower global setting.
* Nuke erroneously added vim line.Moonchild2020-12-03-1/+0
|
* Issue #1624 - Make ion inlining optimizations a pref.Moonchild2020-12-03-3/+14
| | | | This also adds it to JS_SetGlobalJitCompilerOption()
* Merge branch 'nss-patch-work'Moonchild2020-12-01-1534/+1089
|\
| * Clobber for NSS update.Moonchild2020-12-01-1/+1
| |