Commit Graph

8 Commits

Author SHA1 Message Date
roytam1 76bf4dc35d ported from UXP: Issue #3011 - Part 1: Add As{Text|Html}Editor() and AsEditorBase() (2f201000) 2026-03-25 07:36:20 +08:00
roytam1 a9f544a5bb ported from UXP: Bug 1372829 - Part 2: mozilla::EditorBase should cache raw pointer of nsISelectionController and nsIDocument with nsWeakPtr (4e143556) 2022-04-12 16:43:50 +08:00
roytam1 a7736c210e ported from UXP: Bug 1372829 - Part 1: Make mozilla::PlaceholderTransaction inherit mozilla::SupportsWeakPtr instead of nsSupportsWeakReference (db34da8e) 2022-04-12 16:31:44 +08:00
roytam1 183b6aadfd import from UXP: Bug 1371170 - Add non-virtual EditorBase::GetSelectionController (8e7852ef) 2022-04-12 16:30:06 +08:00
roytam1 8c1831c528 ported from UXP: Bug 1337698 - Use UniquePtr instead of nsAutoPtr in editor (32e4ad01) 2022-04-12 16:28:53 +08:00
roytam1 51417235ca import from UXP:
- Issue #12 Part 1: Stop using nsIDOMEvent in UpdateIMEComposition. (32326ee1)
- Issue #12 Part 2: Stop using nsIDOMEvent in IsAcceptableInputEvent. (550c8977)
- Issue #12 Part 3: EditorEventListener should check if it's removed during a call of editor's method. (107f8e58)
- Issue #12 Part 4: Don't access mEditorBase directly. (3e44d7b9)
- Issue #12 Part 5: WidgetEvent shouldn't mark event as consumed if it's not cancelable. (ea3ff241)
2022-03-25 15:00:30 +08:00
roytam1 ee7cd5f958 cherry-picked mozilla upstream changes:
bug1302340, bug1318792, bug1321502, bug1333631, bug1334047, bug1334281, bug1334590, bug1334972, bug1335619, bug1335654, bug1336044, bug1336098, bug1336229, bug1336349, bug1336481, bug1336899, bug1344443
2018-04-13 23:44:41 +08:00
roytam1 89ff1ebc22 Initial import from https://github.com/MoonchildProductions/moebius/commit/16fa730b3332a750e047aac26ebe65ea8c513849 2018-03-03 17:47:54 +08:00