Commit graph

4,216 commits

Author SHA1 Message Date
Roy Tam
ab4f78f4b7 Merge remote-tracking branch 'origin/master' into custom 2020-06-20 06:47:51 +08:00
Lootyhoof
9f5067486b [Pale-Moon] Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK 2020-06-20 06:46:07 +08:00
Gaming4JC
1a100c40d7 Bug 1316302 - Part 4: Refine HTMLEditRules::TryToJoinBlocks() and HTMLEditRules::MoveNodeSmart() with early return style for making scope of EditActionResult variable smaller
For now, let's make the scope of EditActionResult variable in them smaller without big change.

Tag #1563
2020-06-20 06:44:51 +08:00
Gaming4JC
4731db5173 Bug 1316302 - Part 3: Create EditActionResult class for making the methods which return nsresult, handled and canceled with out params
In a lot of places, edit action handlers and their helper methods return nsresult and aHandled and aCanceled with out params. However, the out params cause the code complicated since:

* it's not unclear if the method will overwrite aHandled and aCanceled value.
* callers need to create temporary variable event if some of them are not necessary.

This patch rewrites the helper methods of HTMLEditRules::WillDeleteSelection() with it.

Tag #1563
2020-06-20 06:44:49 +08:00
Gaming4JC
2afdd9f0ba Bug 1316302 - Part 2: WillDeleteSelection() should retry to handle it when selection is collapsed and JoinBlocks() doesn't handle nor cancel the action
When selection is collapsed and JoinBlocks() doesn't handle nor cancel the action, WillDeleteSelection() should move selection to the start/end of leftmost/rightmost editable leaf node and retry to handle the action again.

For avoiding infinite loop, it checks if selected node is changed actually before calling itself again.

Tag #1563
2020-06-20 06:44:47 +08:00
Gaming4JC
bdd709df2b Bug 1316302 - Part 1: Helper methods for HTMLEditRules::WillDeleteSelection() should have an out argument to indicates if it actually handles the action
When HTMLEditRules::WillDeleteSelection() tries to remove something from the end/start of a block to its last/first text node but it's contained by block elements, it tries to join the container and the block. However, JoinBlocks() always fails to join them since it's impossible operation. In this case, HTMLEditRules::WillDeleteSelection() should retry to remove something in the leaf, however, it's impossible for now because JoinBlocks() and its helper methods don't return if it handles the action actually.

This patch renames |JoinBlocks()| to |TryToJoinBlocks()| for representing what it is. And this patch adds |bool* aHandled| to the helper methods. Then, *aHandled and *aCancel are now always returns the result of each method. Therefore, for merging the result of multiple helper methods, callers need to receive the result with temporary variables and merge them by themselves.

Note that when they modify DOM node actually or the action should do nothing (for example, selection is across tables), aHandled is set to true.

Tag #1563
2020-06-20 06:44:45 +08:00
Lootyhoof
2b8d258df0 Follow up to Issue #1578 - Remove unnecessary MOZ_ASSERT 2020-06-20 06:44:31 +08:00
Moonchild
478eed8da0 Issue #1594 - restore UAC elevation in the uninstaller.
Effectively backs out BZ 1333789 which was uplifted to
Firefox before we forked for UXP.
Resolves #1594
2020-06-20 06:44:29 +08:00
Gaming4JC
c0409464b6 Bug 1613623 - For IMAP, no longer allow STARTTLS when server sends PREAUTH greeting.
Tag #1312
2020-06-20 06:44:27 +08:00
Matt A. Tobin
90e9fd3550 Bug 1430299 - Add DocumentOrShadowRoot interface
Tag #1375
2020-06-20 06:43:51 +08:00
Matt A. Tobin
693a79ca08 Bug 1429656 - Implement ShadowRoot.activeElement
Tag #1375
2020-06-20 06:43:49 +08:00
Matt A. Tobin
db72493615 Bug 1426494 - Share more code between nsIDocument and ShadowRoot
Tag #1375
2020-06-20 06:43:47 +08:00
Matt A. Tobin
15f6d2efda Bug 1355787 - nsIdentifierMapEntry should let one to use either strings or atoms as keys to avoid slow string assignments when possible.
Tag #1375
2020-06-20 06:43:45 +08:00
Matt A. Tobin
c21eecd1b3 Bug 1217436 - Make nsIdentifierMapEntry::mIdContentList an AutoTArray to save an allocation
Tag #1375
2020-06-20 06:43:43 +08:00
Roy Tam
0444ab984c Merge remote-tracking branch 'origin/master' into custom 2020-06-12 22:15:24 +08:00
Matt A. Tobin
9e9b145d6d [Pale-Moon] Remove duplicate panels with the same ID
Currently Pale Moon uses an older version of autocomplete as a private binding
2020-06-12 22:13:57 +08:00
Moonchild
1b3eeca9eb Issue #1587 - Part 10: Expose controlling pref and enable by default 2020-06-12 22:12:39 +08:00
Moonchild
3d396386dc Issue #1587 - Part 9: Immediately reject an already-aborted signal 2020-06-12 22:12:37 +08:00
Moonchild
8ac3ccd67a Issue #1587 - Part 8: Remove controller follow/unfollow
Since it didn't end up being in the final spec after all.
2020-06-12 22:12:34 +08:00
Moonchild
b988c351ff Issue #1587 - Part 7: Rename FetchController to AbortController
Also renames FetchSignal to AbortSignal. Includes renaming the various
controlling prefs to enable.
2020-06-12 22:12:32 +08:00
Moonchild
0c2404efa7 Issue #1587 - Part 6: Move FetchController/Signal to its own dir
Since it is specced separately from fetch.
2020-06-12 22:12:29 +08:00
Moonchild
3d2ca85edd Issue #1587 - Part 5: Hook FetchObserver up to the Fetch API 2020-06-12 22:12:27 +08:00
Moonchild
6722d7f4b4 Issue #1587 - Part 4: Implement FetchObserver 2020-06-12 22:12:25 +08:00
Moonchild
78ff97aaf3 Issue #1587 - Part 3: Hook FetchSignal up to the Fetch API 2020-06-12 22:12:23 +08:00
Moonchild
7207793622 Issue #1587 - Part 2: Implement controller follow/unfollow 2020-06-12 22:12:20 +08:00
Moonchild
24087592ad Issue #1587 - Part 1: Implement FetchController/FetchSignal interface 2020-06-12 22:12:18 +08:00
Gaming4JC
21f87c85ec Issue #439 - Debug follow up to remove no longer existing headers
Although the headers were removed, they are still referenced in WebIDL causing compiler to fail for debug builds.
This removes TestFunctions.webidl and TestInterfaceJSMaplikeSetlikeIterable.webidl, with nit fix for existing incorrect whitespace.
2020-06-12 22:11:56 +08:00
adeshkp
3fffe4ebda Issue #1542 - Fix a typo in wasm which was causing build failure on ARM 2020-06-12 22:11:53 +08:00
Roy Tam
6ef287a52e Merge remote-tracking branch 'origin/master' into custom 2020-06-10 21:03:13 +08:00
Moonchild
7900742344 Issue #1585 - Replace node.rootNode with node.getRootNode()
This removes the (default disabled) node.rootNode readonly attribute
and replaces it with a node.getRootNode() function per WhatWG
spec discussion.
Based on work by John Dai <jdai@mozilla.com>
2020-06-10 21:00:36 +08:00
Matt A. Tobin
7359f90456 Follow up to Issue #1578 - Preprocess the popup binding 2020-06-10 21:00:33 +08:00
Lootyhoof
564f1026d5 Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK 2020-06-10 21:00:30 +08:00
Moonchild
cd1c94480d Issue #1560 - Always include speech synthesis IPDLs
This is entangled with the IPC messaging configuration so
we need these IPDLs even if sppech synthesis is otherwise
not being built.

This resolves #1560
2020-06-10 21:00:11 +08:00
Moonchild
594c930eca Issue #439 - Remove, fix and clean up automated tests
With the big amount of code churn around DOM a lot of tests
broke severely enough that they caused build bustage.
This commit cleans up, removes or otherwise fixes tests
that are broken, no longer relevant or obsolete.
2020-06-10 21:00:09 +08:00
Moonchild
fa84efcf6d [NSS] Update exported symbols
Some symbols were missing from export which might lead to build bustage.
2020-06-10 21:00:05 +08:00
Gaming4JC
d9c487dfd1 Issue #1580 - Add missing MP3Demuxer.h to MediaDecoderReader.h
Follow up for dom/media work on Issue #80. Fixes non-optimized build bustage.
2020-06-10 20:59:47 +08:00
Roy Tam
5c4cee240f Merge remote-tracking branch 'origin/master' into custom 2020-06-06 07:27:53 +08:00
Roy Tam
cda9ba5305 [Pale-Moon] version bump 2020-06-06 07:27:04 +08:00
Pale Moon
76d7b66661 [Pale-Moon] [ui] Encode braille space 2020-06-06 07:25:14 +08:00
wolfbeast
d90086eff1 [Basilisk] [ui] Encode braille space 2020-06-06 07:24:45 +08:00
win7-7
48b7e80724 issue #1575 - Fix the wrong position when we calculate the position for position:absolute child and add reftests
Use |GetUsedBorder| instead of |GetComputedBorder| when we calculate the position for position:absolute child.
2020-06-06 07:21:30 +08:00
Moonchild
179b6782d5 Fix missing include 2020-06-06 07:21:23 +08:00
Moonchild
b26dfcc543 Issue #80 - Re-land early dom/media de-unification with fixups.
For some reason these changes never got merged back to master
after reverting to work on a branch...
2020-06-06 07:21:21 +08:00
Moonchild
ca3ce88bd1 [NSS] Bump NSS version 2020-06-06 07:21:18 +08:00
Moonchild
4789fee7cf [NSS] Force a fixed length for DSA exponentiation 2020-06-06 07:21:15 +08:00
Moonchild
0ae2d2fb2e Bug 1632717 2020-06-06 07:21:12 +08:00
adeshkp
fcb2242703 Issue #1566 - Lowercase link filename extension 2020-06-06 07:20:35 +08:00
athenian200
c9ca3dbaca Issue #1571 - Remove JEMALLOC_USES_MAP_ALIGN and fix 48-bit addressing on SunOS AMD64.
The JEMALLOC_USES_MAP_ALIGN code has turned out to be worse than useless, and in fact it breaks 64-bit SunOS. It's very old and turned out not to be needed anymore because the way the memory allocator works has changed since it was implemented. It prevented a fix I tried for 48-bit addressing from working properly. However, without either this code or the 48-bit addressing fix, the 64-bit version won't even start, which is why I thought the code was still needed.

https://bugzilla.mozilla.org/show_bug.cgi?id=457189

https://hg.mozilla.org/mozilla-central/rev/a26c500b98ab

The 48-bit addressing fix is based on code found here:

https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/web/firefox/patches/patch-js_src_gc_Memory.cpp.patch

I already applied these changes to js/src/gc/Memory.cpp, but as I was looking through jemalloc.c I saw that there were very similar ifdefs for Linux on SPARC as the ones I'd had to enaable in Memory.cpp, but for whatever reason the patches I found didn't touch them. So I tried doing for jemalloc.c what was already done for Memory.cpp, and it worked (but only after I removed the map align code).
2020-06-06 07:20:32 +08:00
Moonchild
10fe7dbd74 Update README.md
wiki -> site
2020-06-06 07:20:25 +08:00
wolfbeast
5386cd812b Issue #1570 - Implement globalThis
This resolves #1570
2020-06-06 07:19:04 +08:00