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

145 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 09e1247ff7 Bug 895274 part.158 Rename NS_QUERY_DOM_WIDGET_HITTEST to eQueryDOMWidgetHittest r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano 26489b9f11 Bug 895274 part.157 Rename NS_QUERY_CHARACTER_AT_POINT to eQueryCharacterAtPoint r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano b9be65c10e Bug 895274 part.156 Rename NS_QUERY_CONTENT_STATE to eQueryContentState r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano bb413ca230 Bug 895274 part.155 Rename NS_QUERY_EDITOR_RECT to eQueryEditorRect r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano 4a34ce078a Bug 895274 part.154 Rename NS_QUERY_CARET_RECT to eQueryCaretRect r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano e463292274 Bug 895274 part.153 Rename NS_QUERY_TEXT_CONTENT to eQueryTextContent r=smaug 2015-09-10 10:40:05 +09:00
Masayuki Nakano a8fd5ffc76 Bug 895274 part.152 Rename NS_QUERY_SELECTED_TEXT to eQuerySelectedText r=smaug 2015-09-10 10:40:05 +09:00
Masayuki Nakano 07dbf0fd06 Bug 895274 part.151 Rename NS_QUERY_SELECTION_AS_TRANSFERABLE to eQuerySelectionAsTransferable r=smaug 2015-09-10 10:40:05 +09:00
Masayuki Nakano b7165d94e4 Bug 1200980 part.2 QueryContentEvent should be handled via IMEContentObserver if there is an instance of it r=smaug 2015-09-08 12:54:14 +09:00
Masayuki Nakano 843b8bcf91 Bug 1180240 ContentEventHandler::OnQuerySelectedText() should refer mFirstSelectedRange if mSelection doesn't have selection ranges actually r=smaug 2015-07-07 11:06:37 +09:00
Masayuki Nakano e2eee0e06e Bug 1179090 ContentEventHandler should assume that there is selection at beginning of the document when there is no selection range r=smaug 2015-07-03 13:20:28 +09:00
Masayuki Nakano 3273d3f447 Bug 1179086 ContentEventHandler should use /n on Mac rather than /r r=smaug+smichaud+josh 2015-07-02 10:00:44 +09:00
Masayuki Nakano e9f85abeca Bug 1179093 Make ContentEventHandler::mSelection as nsRefPtr<Selection> r=smaug 2015-07-02 00:41:17 +09:00
Masayuki Nakano f50bd7f5eb Bug 1179082 ContentEventHandler::OnQueryCaretRect() should guess its result when the query offset is same as the offset of collappsed selection but there is no caret frame r=smaug 2015-07-02 00:41:17 +09:00
Masayuki Nakano 6011d1b149 Bug 1179081 ContentEventHandler should use the primary frame of mRootContent when it retrieves focused widget but there is no caret frame r=smaug 2015-07-02 00:41:17 +09:00
Masayuki Nakano 59f4d5640e Bug 1171858 ContentEventHandler::OnQueryCaretRect() should honor font height and writing mode when it guesses caret rect r=smaug 2015-06-06 09:57:42 +09:00
Masayuki Nakano 919f0e0983 Bug 1169917 ContentEventHandler::OnQueryCaretRect() should try to find text frame as far as possible and GetStartFrameAndOffset() shouldn't assert even if there is no textframe r=smaug 2015-06-04 10:09:56 +09:00
Masayuki Nakano 967765f1ff Bug 1130935 part.4 nsIMM32Handler::GetCharacterRectOfSelectedTextAt() should return wrting mode if it's necessary r=emk+smaug 2015-05-15 10:18:07 +09:00
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Masayuki Nakano 8c1890067d Bug 492394 part.1 NS_QUERY_CHARACTER_AT_POINT should also return tentative caret offset for the point r=smaug, sr=smaug 2015-04-14 14:27:37 +09:00
Timothy Nikkel d6eff64aa4 Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats 2015-03-26 16:44:40 -05:00
Andrea Marchesini ce77626266 Bug 1134280 - Get rid of Tag() - patch 2.10 - dom/events, dom/mathml, dom/plugins, dom/smil - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini 2c4f63331f Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Jonathan Kew 5fed88b87a Bug 1076657 pt 2 - Add writing-mode to the reply to NS_QUERY_TEXT_RECT event. r=masayuki 2015-02-10 15:28:05 +00:00
Jonathan Kew 64eb204042 Bug 1076657 pt 1 - Fix ContentEventHandler::OnQueryTextRect for vertical textframes. r=smontagu 2015-02-10 15:28:05 +00:00
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
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
David Zbarsky 77ae10e9d5 Bug 1125040 - Use LayoutDeviceIntPoint in IME code r=botond 2015-02-04 15:21:03 -05:00
David Zbarsky c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Xidorn Quan 6a7ee49055 Bug 569334 part 1 - Support getting font info in content query. r=masayuki,jfkthame,smaug 2015-01-31 18:17:12 +11:00
Jonathan Kew b211ed7ac5 Bug 1077515 - part 4 - Add writing-mode to the reply to the NS_QUERY_SELECTED_TEXT event. r=roc 2014-11-22 14:39:03 +00:00
Masayuki Nakano bf3703d87b Bug 1061810 ContentEventHandler::SetRangeFromFlatTextOffset() should use nsRange::SetStart(nsINode*, int32_t) instead of nsRange::SetStart(nsIDOMNode*, int32_t) for avoiding the unnecessary QI r=smaug 2014-09-05 14:27:12 +09:00
Carsten "Tomcat" Book 856ee1953a Backed out changeset 53a069425e00 (bug 1061810) for XPCShell Test failures/crashes 2014-09-04 13:54:14 +02:00
Masayuki Nakano 816cc8407b Bug 1061810 ContentEventHandler::SetRangeFromFlatTextOffset() should use nsRange::SetStart(nsINode*, int32_t) instead of nsRange::SetStart(nsIDOMNode*, int32_t) because the security check sometims fails and we can void the unnecessary QI r=smaug 2014-09-04 18:49:24 +09:00
Robert O'Callahan 2489dc1f01 Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.

--HG--
extra : rebase_source : cc618ef60e707e1360644340a2648de389383da0
2014-08-06 17:19:27 +12:00
Robert O'Callahan b4ed20d441 Bug 1048752. Part 14: Split GetGeometry into a static and a non-static version. r=tn
GetGeometry is used in two different ways. Sometimes it's used to get
information about a particular caret. Sometimes it's used to get
information about a particular selection that's not associated with
a caret. Splitting GetGeometry into a non-static version for the former
and a static version for the latter makes this more clear. Also it saves
code since for the latter version we don't have to get an nsCaret first.

--HG--
extra : rebase_source : b7730dac56b308a82b79b175749234c9a92b6f59
2014-08-06 17:19:26 +12:00
Masayuki Nakano 444fbd2caa Bug 1043182 Removed and inserted text length which are notified by CharacterDataWillChange() and CharacterDataChanged() should be converted to the length with native new lines in IMEContentObserver r=smaug 2014-07-31 13:38:01 +09:00
Steven Michaud b8044236fc Bug 995603 - Ensure mouse-enter/exit events are sent to plugins as appropriate. r=mstange,masayuki 2014-04-30 11:55:40 -05:00
Masayuki Nakano 0b61f81cc1 Bug 998188 part.3 Sort out offset/length variable names in ContentEventHandler r=smaug 2014-04-26 08:52:13 +09:00
Masayuki Nakano faf695194a Bug 998188 part.2 ContentEventHandler should support 2 modes, native line break mode and XP line break mode r=smaug 2014-04-26 08:52:12 +09:00
Masayuki Nakano 67b49e2809 Bug 998188 part.1 Add test for this crash on debug build r=ehsan 2014-04-26 08:52:12 +09:00
Jim Chen dfe3a809e7 Bug 932370 - Fix signed/unsigned comparison warning; r=bustage on a CLOSED TREE
--HG--
extra : amend_source : 67b412ef5447b5a554ab0f2e00b39db33accd04b
2014-03-11 12:24:03 -04:00
Jim Chen 5c7588c95e Bug 932370 - Properly measure offsets for deleted BR nodes; r=masayuki 2014-03-11 12:04:33 -04:00
Masayuki Nakano 7419257b87 Bug 981226 Rename nsContentEventHandler to mozilla::ContentEventHandler (and clean up it) r=smaug
--HG--
rename : dom/events/nsContentEventHandler.cpp => dom/events/ContentEventHandler.cpp
rename : dom/events/nsContentEventHandler.h => dom/events/ContentEventHandler.h
2014-03-11 14:08:02 +09:00