Граф коммитов

6598 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Joel Maher 97f62104fb Bug 1110982 - Disabled tests for oth chunk and leaks (run-by-dir). r=RyanVM 2014-12-27 00:44:52 +05:30
Andrew McCreight d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Morris Tseng 581ea7f1d2 Bug 1120316 - Part 2: Batch changes for select all so we don't get selection change with no reason. r=roc
--HG--
extra : rebase_source : f585b16a7221c341376ad6aff3a451bc4a157d82
2015-02-04 21:35:00 +01:00
Morris Tseng d729431099 Bug 1120316 - Part 1: Move SelectionBatcher to Selection.h. r=roc
--HG--
extra : rebase_source : e17ae33bc017fa1d460b611d251d3dbf29de37b1
2015-02-04 21:34:00 +01:00
Mats Palmgren 5818444d89 Bug 1127835 - part 1, Add a null-check to avoid fatal assertion if the split results in no left part. r=smaug 2015-02-02 22:34:17 +00:00
Mike Hommey a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Masayuki Nakano 7a85c69f66 Bug 917322 part.16 Rename COMPOSITION_ATTR_* in EventUtils.js with new constants of nsITextInputProcessor r=smaug 2015-01-28 15:27:33 +09:00
Masayuki Nakano afb256c118 Bug 917322 part.10 Remove unnecessary synthesizeComposition(compositionstart) from all tests r=smaug 2015-01-28 15:27:32 +09:00
Masatoshi Kimura 6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura be535304d8 Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo 2015-01-26 07:22:07 +09:00
Ehsan Akhgari 657ad4ff99 Bug 1120233 - Ensure that the delete command will stay enabled for password fields; r=roc 2015-01-22 23:26:59 -05:00
Ehsan Akhgari 905a3f9629 Bug 1119099 - Use fallible allocation in nsTextEditRules::TruncateInsertionIfNeeded; r=roc 2015-01-22 23:17:44 -05:00
Ehsan Akhgari 12229012ec Bug 611103 - Don't depend on the editor in nsDocumentEncoder; r=bzbarsky 2015-01-22 17:54:55 -05:00
Christoph Kerschbaumer abb0caed63 Bug 1119006 - Remove files where code is still calling removed NS_OpenURI API (r=mcmanus) 2015-01-14 11:52:57 -08:00
Benjamin Peterson 8b8175fed3 Bug 1113121 followup - fix assertion r=me 2015-01-12 23:48:15 -05:00
Ehsan Akhgari e791163ded Bug 1113121 - Null check the parent node in nsHTMLEditRules::JoinNodesSmart() before passing it to MoveNode; r=roc 2015-01-12 23:34:05 -05:00
Christoph Kerschbaumer 54b8e4e5e4 Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
Ehsan Akhgari 26c4d442fe Bug 1118420 - Mark virtual overridden functions as MOZ_OVERRIDE in editor; r=roc 2015-01-07 10:08:12 -05:00
Ehsan Akhgari 6ee41ffc90 Bug 1117041 - Mark virtual overridden functions as MOZ_OVERRIDE in editor; r=roc
This patch also devirtualizes some of the methods that were not
overridden by any derived classes.
2015-01-02 08:45:41 -05:00
Ehsan Akhgari 37f0d841d7 Bug 1109465 - Fix the interface maps of IMETextTxn and InsertTextTxn; r=smaug
The original change in bug 1056166 used NS_INTERFACE_MAP_ENTRY_AMBIGUOUS with
the wrong order for argument names.  But more importantly, we cannot use
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS here because the cast from the concrete
class to nsISupports* will remain ambiguous even when casting first through
nsITransaction, so we need to write the implementation without using any
macros.
2014-12-30 11:57:58 -05:00
Morris Tseng 8ef3486369 Bug 1101364 - Part 1: Apply AutoApplyUserSelectStyle to nsHTMLEditor::SelectAll(). r=mats 2014-12-12 01:15:00 -05:00
Wes Kocher e4ad7391ee Merge b2g-inbound to m-c a=merge 2014-12-12 16:43:37 -08:00
Ehsan Akhgari 09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Morris Tseng 2574d25df0 Bug 1092888 - Part 3: Fix test fails on 824080-1/3/4/5.html. r=roc 2014-11-10 02:04:00 -05:00
Jan Horak 91d3fd2503 Bug 1097625 - Fallback to use LANG variable as dictionary doesn't work. r=ehsan 2014-12-09 03:22:00 -05:00
Ryan VanderMeulen 9dc33bae19 Backed out 5 changesets (bug 1092888) because something in the push made Gij(2) permafail.
Backed out changeset 0ad25135a27f (bug 1092888)
Backed out changeset 7cd8260bfc16 (bug 1092888)
Backed out changeset 86385291d8c8 (bug 1092888)
Backed out changeset be16d194d5df (bug 1092888)
Backed out changeset daee46827258 (bug 1092888)
2014-12-09 12:08:59 -05:00
Morris Tseng 42e6680254 Bug 1092888 - Part 3: Fix test fails on 824080-1/3/4/5.html. r=roc 2014-11-10 02:04:00 +01:00
Wes Kocher 126b4f108e Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk 0f94bddfc8 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Jan Horak 62d78cde2c Bug 1097550 - "System dictionaries with underscore separator are ignored when trying to find dictionary". r=ehsan 2014-12-02 04:52:00 +01:00
Daniel Holbert eccd00c15b Bug 1093191 part 3: Make .cpp files in libeditor #include their own .h file first. r=ehsan 2014-12-01 21:07:42 -08:00
Daniel Holbert d566caf4cb Bug 1093191 part 2: Add some missing includes & forward-decls in libeditor .h files. r=ehsan 2014-12-01 21:06:55 -08:00
Daniel Holbert 11f5bb6f92 Bug 1093191 part 1: Remove some unnecessary #includes of stdio.h "for printf" in some libeditor files that don't use printf. r=ehsan 2014-12-01 21:06:55 -08:00
Mats Palmgren 9cafdfe447 Bug 1105184 - Setup the mCaret used for DND so that it displays the caret also when dragging a selection within the same shell. r=roc 2014-12-01 15:55:16 +00:00
Morris Tseng 51b0882e8a Bug 1101392 - Part 4: Add mochitest. r=roc 2014-11-27 21:27:00 +01:00
Morris Tseng 94165b2707 Bug 1101392 - Part 2: Add a command that collapse selection to end after copying. r=roc 2014-11-26 23:06:00 +01:00
Morris Tseng 3e655bd8cc Bug 1101392 - Part 1: Fix coding style in nsEditorCommands.cpp. r=roc 2014-11-24 22:08:00 +01:00
Ehsan Akhgari 19a23b3d8b Bug 911201 - Do not create a bogus br node for editable areas containing non-editable block elements; r=roc
We no longer rely on the bogus br node for positioning the caret.
If an editable region has a non-editable block element, we can
probably rely on the block element to reserve the vertical
height, so in those cases we should be able to get away without
a bogus br node.
2014-11-27 21:06:44 -05:00
Ting-Yu Lin d283a5588d Bug 1102906 - Fix immovable caret after drag-and-drop. r=roc
The deleted lines were added in bug 924692 part 4. It will incorrectly
disable the caret in PresShell so that the caret cannot be moved by
using keyboard in nsSelectMoveScrollCommand::DoCommand().
2014-11-26 20:36:00 +01:00
Trevor Saunders 1a013270b5 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Milan Sreckovic 18a3f1d9ef Bug 1093245 - Make sure the return values are never returned uninitialized. r=ehsan 2014-11-04 13:11:54 -05:00
Morris Tseng c1af02f12b Backed out 5 changesets (bug 1092888) for breaking QA smoketest on b2g.
Backout changeset 8c513f282a9e (bug 1092888)
Backout changeset db37104f6fbd (bug 1092888)
Backout changeset b1a0a7ea1a32 (bug 1092888)
Backout changeset c53a6181a4b2 (bug 1092888)
Backout changeset 54e551c1f2cd (bug 1092888)
2014-11-26 10:11:38 +08:00
Masayuki Nakano 9f491a5703 Bug 1077345 part.7 Use synthesizeComposition({"compositioncommit") in the tests r=smaug 2014-11-25 14:02:32 +09:00
Masayuki Nakano c56c9a574f Bug 1077345 part.5 Use synthesizeComposition({"compositioncommitasis") in the tests r=smaug 2014-11-25 14:02:31 +09:00
Masayuki Nakano 7c2cde510e Bug 1077345 part.4 Add NS_COMPOSITION_COMMIT_AS_IS event which automatically commits composition with the last data r=smaug 2014-11-25 14:02:31 +09:00
Jonathan Kew 59c557df7a Bug 1077515 - Followup to fix non-unified build bustage. r=me 2014-11-22 15:33:36 +00:00
Jonathan Kew bca6df97e8 Bug 1077515 - part 9 - Support physical caret movement and selection commands in Editor. r=roc 2014-11-22 14:39:04 +00:00
Jonathan Kew a191b9c746 Bug 1077515 - part 8 - Minor refactoring of editor's handling of selection-move commands. r=roc 2014-11-22 14:39:04 +00:00