summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Issue #1970 - Part 7: Restore proper spacing in select for CJK/asian1970-form-focusring-stylingMoonchild2022-07-24
| | | | | | | | | | | | | | | | | | | | | | | The issue is that select elements may contain some non-Latin characters that need extra block-size to display than the one line-height calculated by using a Latin font spec in the style. Before this patch, when a control has an unconstrained block-size, we set the element's block-size to one line-height in Reflow(), which is intended to properly initialize `BlockReflowInput::mMinLineHeight` since it uses `line-height:-moz-block-height`. However, this simply prevents the display from choosing a larger block-size after the reflow occurs. Previously, this discrepancy was absorbed by the extra padding present to make select elements the same intrinsic size as buttons, but since we did away with that, we're losing the extra space and the font glyphs get clipped. This patch fixes the issue by carrying the computed line height over to the element's display so that its computed block-size is still unconstrained. This way it can accommodate taller characters in the display text. After this patch, a <select><option> containing non-Latin characters should have the same block-size as <button>, and no characters should be clipped.
* Issue #1970 - Part 6: Rename CalcLineHeight(), and cache used line heightMoonchild2022-07-23
| | | | | | | | To better distinguish the calculation of line height (still present with args) and simply getting the line height without args, it's now called GetLineHeight() This also introduces `mLineHeight` to cache specifically calculated line heights that aren't "auto" (which is a magic value), and it opens up the possibility to override it in Part 7.
* Issue #1970 - Part 5: Move combobox/select padding to the select rule.Moonchild2022-07-23
| | | | | This doesn't change behavior by default but allows authors to remove the padding previously enforced to align with focus ring padding, if they wish to.
* Issue #1970 - Part 4: Don't overflow -moz-focus-inner border.Moonchild2022-07-22
|
* Issue #1970 - Part 3: Update reftests.Moonchild2022-07-22
|
* Issue #1970 - Part 2: Remove the extra padding on buttonsMoonchild2022-07-22
| | | | | | Extra padding was created for a prospective -moz-focus-inner ring. We now just size that ring the same as the content frame, inflated by its CSS padding.
* Issue #1970 - Part 1: Remove unused moz-focus-outer code for buttons.Moonchild2022-07-22
|
* Revert "Issue #1962 - Update libtheora."Moonchild2022-07-22
| | | | This reverts commit bd497f7f83d9e1bdca7aec1d24f709a7bcb6d82b.
* Merge pull request 'Update libtremor.' (#1965) from ↵Moonchild2022-07-22
|\ | | | | | | | | | | jobbautista9/UXP:tremor-update into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1965
| * Issue #1964 - Update libtremor.Job Bautista2022-07-19
| | | | | | | | Also removed mozilla patches that are already applied upstream.
* | Merge pull request 'Update libtheora.' (#1963) from ↵Moonchild2022-07-22
|\ \ | | | | | | | | | | | | | | | jobbautista9/UXP:theora-update into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1963
| * | Issue #1962 - Update libtheora.Job Bautista2022-07-19
| |/ | | | | | | | | | | | | | | | | Removed some obsolete patches that were either backports from newer svn revisions, or a fix for older, non-applicable assemblers. Update our own README to account for upstream's migration to git. I didn't remove the bug 703135 patch as it's for MSVC it seems, and we still use MSVC for Windows. Also deleted some unneeded upstream code deleted by Mozilla as well.
* | Merge pull request 'Remove mozprotocol handler.' (#1968) from ↵Moonchild2022-07-22
|\ \ | | | | | | | | | | | | | | | jobbautista9/UXP:mozprotocol-remove into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1968
| * | Issue #1967 - Remove moz://a from mochitestJob Bautista2022-07-22
| | | | | | | | | | | | While we don't use mochitest AFAIK, we still want a clean removal.
| * | Issue #1967 - Remove mozprotocol handler (moz://a easter egg).Job Bautista2022-07-22
|/ /
* | Issue #1966 - Remove support for Firefox Marketplace "apps"Moonchild2022-07-22
| | | | | | | | Because UXP may be a platform, but it's not a mobile OS.
* | Issue #1837 - Remove unused build back-ends from the tree.Moonchild2022-07-21
|/ | | | This leaves just use of recursive make to build applications.
* Merge pull request 'Improve stack size limits for all targets.' (#1961) from ↵Moonchild2022-07-17
|\ | | | | | | | | | | 1805-stacksize into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1961
| * Issue #1805 - Follow-up: Include the same headers for Solaris as well to1805-stacksizeMoonchild2022-07-15
| | | | | | | | future-proof gcc versions.
| * Issue #1805 - Follow-up: provide for Linux builds using rlimit and min/max.Moonchild2022-07-15
| |
| * Issue #1805 - Improve stack size limits for all targets.Moonchild2022-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to use a greater rendering depth for exceedingly-deep DOM trees in layout, better matching what mainstream browsers are capable of. Note that for 32-bit Windows the stack size MUST be set to larger than the default or Bad Things Will Happen™ - we use 1.5 MB for this as a carefully-tuned value. This needs to be capped specifically for JS use because some JavaScript obfuscators deliberately trigger stack overflows and would lock up the browser otherwise as long as there's still stack space to abuse. For web compatibility we therefore limit this to 2MB in JS only (3x for ASAN) while still allowing a greater depth for the layout engine.
* | Merge branch 'master' of https://repo.palemoon.org/MoonchildProductions/UXPJeremy Andrews2022-07-16
|\ \
| * | Issue #1960 - Convert async property syntax to async function syntax inMoonchild2022-07-16
| | | | | | | | | | | | DownloadUIHelper.jsm
* | | Issue #1956 - Work around UTF-8 issue when parsing JSON with Python 2 on ↵Jeremy Andrews2022-07-16
|/ / | | | | | | | | | | | | | | some Windows environments. This is a known issue with Python 2 interacting badly with some Windows configurations. Mozilla encountered it as well. Ref: BZ 1362872
* / Issue #1956 - Allow debugger to work on newer MSVC.Jeremy Andrews2022-07-14
|/ | | | | | Newer MSVC was failing to find the devenv executable for ./mach run --debug This isn't the prettiest solution, but at least it's better than just relying on a hardcoded path.
* Merge remote-tracking branch 'athenian200/msvc2022-linker-fix'Moonchild2022-07-12
|\
| * Issue #1956 - Fix symbol visibility issue more elegantly.Jeremy Andrews2022-07-12
| | | | | | | | All it needed was __declspec(dllexport) on the function I was copy/pasting all over the place...
* | Issue #1959 - Don't apply CSPs to explicit data documents and images.Moonchild2022-07-12
|/ | | | This resolves #1959
* No Issue - Insert missing typedef for SunOS.athenian2002022-07-09
| | | | We definitely have uint64_t on SunOS. Someone probably just forgot to finish filling out the list...
* Issue #1956 - Use preprocessor to work around strange template behavior with ↵Jeremy Andrews2022-07-06
| | | | 32-bit MSVC2022.
* Issue #1956 - Follow-up: Fix weird linker issue on 32-bit MSVC2022.Jeremy Andrews2022-07-05
| | | | I moved Range<bool>::Merge and Range<bool>::FinalizeMerge from MediaTrackConstraints.cpp, into MediaTrackConstraints.h. The header file previously contained only a forward declaration of functions implemented in the .cpp, which can be a problem if other parts of the program are including this header expecting to find the function.
* Merge pull request 'Issue #1956 - Fix AV1 on MSVC2022 32-bit build.' (#1958) ↵Moonchild2022-07-05
|\ | | | | | | | | | | | | from athenian200/UXP:libaom_msvc2022_fix into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1958 Reviewed-by: Moonchild <moonchild@palemoon.org>
| * Issue #1956 - Fix AV1 on MSVC2022 32-bit build.Jeremy Andrews2022-07-05
|/
* [XPCOM] Crash safely when TArray replacements are OOB.Moonchild2022-07-03
| | | | | In the unlikely event of TArray element replacement calls are OOB, crash safely with a debug breakpoint instead of corrupting memory.
* [DOM] use the sanitizer to restrict href in svg:use to fragment-only URLsMoonchild2022-07-03
|
* [network] Clear PAC loader when the load failedMoonchild2022-07-03
|
* Update NSS to 3.52.7Moonchild2022-07-03
|
* [DOM media] Remove potentially unsafe type accesses when debug loggingMoonchild2022-07-03
|
* [network] Clean up and update the list of external protocol handlers.Moonchild2022-07-03
|
* Merge pull request 'Allow building with newer MSVC versions.' (#1955) from ↵Moonchild2022-07-02
|\ | | | | | | | | | | athenian200/UXP:msvc-detection-update into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1955
| * Issue #1956 - Allow building with newer MSVC versions.Jeremy Andrews2022-07-02
| |
* | Merge pull request 'Backport Function.toString changes' (#1954) from ↵Moonchild2022-07-02
|\ \ | |/ |/| | | | | | | martok/UXP-contrib:1952-proxy into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1954
| * Issue #1952 - m-c 1440468: Proxied functions can't be passed to ↵Martok2022-07-01
| | | | | | | | Function.prototype.toString.call()
| * Issue #1952 - m-c 1383775: Clean up function toString/toSource code, remove ↵Martok2022-07-01
| | | | | | | | remnants of source decompiler
| * Issue #1952 - m-c 1380962/2: Remove unnecessary lambda function in ↵Martok2022-07-01
| | | | | | | | FunctionToString
| * Issue #1952 - m-c 1380962/1: Merge append calls when assembling the source ↵Martok2022-07-01
| | | | | | | | string for native functions
| * Issue #1952 - m-c 1371593: Avoid repeated string atomizations when ↵Martok2022-07-01
| | | | | | | | retrieving the unresolved name of a bound function
| * Issue #1952 - m-c 1365387: Optimize FinishBoundFunctionInit by delaying ↵Martok2022-07-01
|/ | | | atomizing the function name
* Merge pull request 'Update soundtouch library to 2.3.1' (#1951) from ↵Moonchild2022-07-01
|\ | | | | | | | | | | | | jobbautista9/UXP:soundtouch-take2 into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1951 Reviewed-by: Moonchild <moonchild@palemoon.org>
| * Issue #1949 - Part 2: Disable exceptions in soundtouch's STTypes.h.Job Bautista2022-06-30
| | | | | | | | | | | | I don't know how Mozilla was able to build this without defining ST_NO_EXCEPTION_HANDLING, but looks like we have to do it so that the compiler doesn't complain about -fno-exceptions