summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge branch 'master' into 12101210Moonchild2022-05-21
|\
| * No issue - Add null check to send packet function in the developer tools serverFranklinDM2022-05-21
| | | | | | | | This resolves some of the useless log spam thrown in the browser console by the developer tools.
| * Merge pull request 'Implement nullish coalescing operator' (#1901) from ↵Moonchild2022-05-21
| |\ | | | | | | | | | | | | | | | | | | FranklinDM/UXP-contrib:work_js-nullish-coalescing into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1901 Reviewed-by: Moonchild <moonchild@palemoon.org>
| | * Issue #1894 - Part 7: Update testsFranklinDM2022-05-21
| | | | | | | | | | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
| | * Issue #1894 - Part 6: Check for nullish values when folding coalesce nodesFranklinDM2022-05-21
| | | | | | | | | | | | | | | | | | | | | | | | This uses a different approach by modifying the `Boolish` function directly to act differently if we're checking for nullish values. Partially based on: Bug 1566141 - Implement the Nullish Coalescing operator (??) proposal Bug 1599163 - Nullish coalescing operator returns undefined for void expressions
| | * Issue #1894 - Part 5: Implement bytecode for nullish coalescingFranklinDM2022-05-21
| | | | | | | | | | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
| | * Issue #1894 - Part 4: Implement IonMonkey support for nullish coalescingFranklinDM2022-05-21
| | | | | | | | | | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
| | * Issue #1894 - Part 3: Implement support for nullish coalescing in JS reflectionFranklinDM2022-05-21
| | | | | | | | | | | | | | | | | | Partially based on: Bug 1566141 - Implement the Nullish Coalescing operator (??) proposal Bug 1593415 - Assertion failure: false, at js/src/builtin/ReflectParse.cpp:3092 with nullish coalescing
| | * Issue #1894 - Part 2: Implement support for nullish coalescing in the JS parserFranklinDM2022-05-21
| | | | | | | | | | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
| | * Issue #1894 - Part 1: Implement coalesce JS opcodeFranklinDM2022-05-21
| |/ | | | | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1566141
* | Issue #1210 - Simplify the implementation of mozILocaleService.Moonchild2022-05-21
| | | | | | | | | | Combine both GetAppLocale methods and Update mozILocaleService.getAppLocales to avoid use of jsapi.
* | Issue #1210 - Expose mozILocaleService Cc interfaceMoonchild2022-05-20
| |
* | Issue #1210 - Expose getAppLocales() to Chrome and XBLMoonchild2022-05-19
| | | | | | | | This allows JS to access the application locales.
* | Issue #1210 - Introduce an internal API to get configured application locales.Moonchild2022-05-19
|/ | | | | en-US will always be added as a fallback, to make things simpler down the line and avoid error checking all over the place.
* Bug 1679987 - Remove unused includes of nsCharSeparatedTokenizer.h.Moonchild2022-05-17
|
* Merge pull request 'Add support for MP4 playback on Linux via FFmpeg 5.0' ↵Moonchild2022-05-17
|\ | | | | | | | | | | (#1900) from trav90/UXP-contrib:ffmpeg-work into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1900
| * Issue #1893 - Part 3: Update audio & video decoders for FFmpeg 5.0trav902022-05-16
| | | | | | | | FFmpeg 5.0 removed some deprecated symbols so we need to update our decoding code to account for it.
| * Issue #1893 - Part 2: Add support for libavcodec 59/FFmpeg 5.0trav902022-05-16
| |
| * Issue #1893 - Part 1: Import required FFmpeg 5.0 header filestrav902022-05-16
| |
* | Issue #1210 - Keep timepicker disabled for now.Moonchild2022-05-16
| | | | | | | | This needs localization work before enabling.
* | Issue #1813 - Enable date and time picker by default.Moonchild2022-05-16
|/ | | | Resolves #1813
* Issue #1898 - Make sure that the sanity test stops running if necessaryFranklinDM2022-05-15
| | | | As part of telemetry removal, d60103257eb83db103f9acab54b1755486b7e9c1 removed the `reportResult` function which also handles the stopping of the sanity test. This also removes unused histogram enumeration values and revises/adds some comments.
* Issue #1899 - Make sure the test for it still worksMoonchild2022-05-14
| | | | | | Some hoops to make sure the test still works if the default value for the pref is false, requiring setting and resetting it and making sure the observers have time to react to these changes before testing.
* Issue #1899 - Disable the (broken) MDN integration widget by default.Moonchild2022-05-14
|
* Issue #1509 - Invalidate previous result when datalist is changed.Moonchild2022-05-10
| | | | | | | | | | | | Even if `<datalist>` is dynamically changed, the autocomplete controller still uses the previous search result. If changed, we have to ignore the previous result that may now be invalid. Also, even if `<datalist>` is changed, we have to keep the selected index (See Mozilla Bug 595069), so we cannot use `ResetInternalState` in this situation because it resets the selected index. This resolves #1509.
* No Issue - Break overly long tooltips into multiple lines.Moonchild2022-05-08
| | | | | | | | | | A very very old bug and annoyance: tooltips with very long content without spaces (e.g. long URLs or gibberish data) would just cut off and leave an un-styled right border going over the widget's constrained space. Because of an additional bug (still unsolved), this was never properly addressed because solutions attempted didn't work. The workaround for the secondary bug allows for word-break to now work and this primary problem to be resolved.
* Merge pull request 'Fix ASAN and clang crashes on Linux, BSD and MacOS.' ↵Moonchild2022-05-08
|\ | | | | | | | | | | (#1892) from dbsoft/UXP:fixxptcinvoke into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1892
| * Issue #1891 - Fix ASAN and clang crashes on Linux, BSD and MacOS.Brian Smith2022-05-05
| | | | | | | | | | | | Merge with the existing Solaris fix, by folding Solaris into the Linux/BSD section. Add Apple Silicon (ARM64) support. This should also address Issue #1884 by moving the offending code into assembly.
* | Issue #1895 - Implement queueMicroTask(callback())Moonchild2022-05-07
|/
* Update NSS to 3.52.5Moonchild2022-05-04
| | | | | - Default configure to enable dbm - Remove a redundant check on ASN1 decoding (Bug 1753535)
* Bug 1761981Moonchild2022-05-04
|
* No issue - Align our resource timing with the updated Fetch spec.Moonchild2022-05-04
| | | | | | | | | | This makes FetchStart use StartTime() when the TAO check fails for PerformanceResourceTiming Given the recent Fetch spec updates, Step 8.1 in https://fetch.spec.whatwg.org/#finalize-and-report-timing specifies that start time(StartTime) and post-redirect start time(FetchStart) should be start time when the TAO check fails.
* Issue #1890 - Update libopusMoonchild2022-05-04
| | | | This resolves #1890
* [XPCOM] Improve the conversion of line breaks.Stephen A Pohl2022-05-04
| | | | Fix an off-by-one error in CRLF checking.
* Merge pull request 'Implement optional chaining' (#1889) from ↵Moonchild2022-05-04
|\ | | | | | | | | | | FranklinDM/UXP-contrib:work_js-optional-chaining into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1889
| * Issue #1658 - Part 8: Update testsFranklinDM2022-05-04
| |
| * Issue #1658 - Part 7: Implement support for optional chaining in console ↵FranklinDM2022-05-04
| | | | | | | | | | | | | | | | | | | | autocomplete This works by stripping the optional chaining characters from the completion part variable, allowing the developer tools' parser to proceed as if it were a regular, non-optional expression. Tests were partially based on: https://bugzilla.mozilla.org/show_bug.cgi?id=1594009 Tests for features that do not apply to our version of developer tools (e.g. autocomplete for integer literals, ignoring spaces between property accessors, etc) were excluded.
| * Issue #1658 - Part 6: Break and return no control flow for jumps emitted by ↵FranklinDM2022-05-04
| | | | | | | | | | | | optional chains under IonBuilder IIUC, we want to process the GOTO in the case of optional chains, and we do not satisfy the requirements mentioned in the comment of snoopControlFlow's caller. Optional chains are not loops, we (probably) don't have a loop in the instruction following the GOTO, and in the GOTO destination, we're either returning an undefined/null value or the actual value.
| * Issue #1658 - Part 5: Add and initialize TDZ check to optional chaining emitterFranklinDM2022-05-04
| | | | | | | | Partially based on: https://bugzilla.mozilla.org/show_bug.cgi?id=1685260
| * Issue #1658 - Part 4: Fix optional chaining assertions and remove ↵FranklinDM2022-05-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unreachable code This includes the following: Bug 1611777 - Part 1: Report syntax error for optional property access in self-hosting code. r=yulia! Bug 1611777 - Part 2: Merge same blocks in emitDeleteOptionalChain(). r=yulia! Bug 1611777 - Part 3: N/A Bug 1611777 - Part 4: `super` can't occur on the left-hand side of an optional chain Bug 1611777 - Part 5: Remove unnecessary super-handling in optional delete. r=yulia! The child node of a DeleteOptionalChainExpr node can't be a super-property accessor, so we can remove this code. Bug 1611777 - Part 6: Crash for unexpected super-base in optional call. r=yulia! Bug 1611777 - Part 7: Add missing entries to list of valid optional chain start expressions. r=yulia! Bug 1611777 - Part 8: Add missing emitGet in emitOptionalElemExpression. r=yulia! Aligns emitOptionalElemExpression() with emitOptionalDotExpression(), so it's easier to compare both methods against each other. Bug 1611777 - Part 9: Replace an if-statement with an assertion. r=yulia! Bug 1611777 - Part 10: N/A Bug 1611777 - Part 11: Support optional chaining in class heritage expression. r=yulia! Bug 1611777 - Part 12: Use optionalExpr() for update expressions to match spec grammar. r=yulia! Using optionalExpr matches the spec grammar more closely. This change also modifies the reported error message. ++a?.b reported before this change "unexpected token: '?.'", but now reports "invalid increment/decrement operand". Bug 1611777 - Part 13: N/A Bug 1611777 - Part 14: Simplify two lines in optionalExpr(). r=yulia! We don't need to test for tt == TokenKind::Eof when we return for tt != TokenKind::OptionalChain anyway. Omit local variable for the result value and instead use a tail-call. This matches the local style in the parser more closely. Bug 1611777 - Part 15: Support FunCall/FunApply optimisations for optional chaining. r=yulia! Bug 1611777 - Part 16: Pass through ValueUsage in optional chains. r=yulia
| * Issue #1658 - Part 3: Implement support for optional chaining in JS reflectionFranklinDM2022-05-04
| | | | | | | | | | | | Partially based on: Bug 1610447 - Update Reflect to handle Optional Chaining operator Bug 1657835 - Assertion failure: false, at js/src/builtin/ReflectParse.cpp:3168
| * Issue #1658 - Part 2: Implement bytecode for optional chainingFranklinDM2022-05-04
| | | | | | | | | | | | | | Partially based on: Bug 1566143 - Implement the Optional Chaining operator (?.) proposal Bug 1650340 - Fix deleteElementInOptionalChain Bug 1644839 - Fix return value of emitOptionalChain on failure
| * Issue #1658 - Part 1: Implement support for optional chaining in the JS ParserFranklinDM2022-05-04
|/ | | | Partially based on: https://bugzilla.mozilla.org/show_bug.cgi?id=1566143
* Merge pull request 'Allow /bin/sh to be used as a fallback value when SHELL ↵athenian2002022-05-04
|\ | | | | | | | | | | is not set.' (#1888) from athenian200/UXP:shell_detection into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1888
| * Issue #1887 - Allow /bin/sh to be used as a fallback value when SHELL is not ↵Jeremy Andrews2022-05-03
|/ | | | set.
* Revert "No Issue - Make content-type on JAR channels behave the same as HTTP ↵Moonchild2022-05-03
| | | | | | channels." This reverts commit 425677ada7380f7c592dd01ddfbc9631ab2038a0.
* Update 7zSD for v31Moonchild2022-05-03
|
* New cycle masterMoonchild2022-05-03
|
* [Toolkit] Set an icon for the default handlerFranklinDM2022-05-03
|
* Issue #1860 - Back out the change to vector for DisplayListsMoonchild2022-05-03
| | | | | A safe implementation means significant performance loss, making this change undesirable.