Commit Graph

381 Commits

Author SHA1 Message Date
Jonas Sicking
06a582169d Bug 659539 Part 4: Use nsINode::NodeType where possible. r=bz 2011-06-14 00:56:50 -07:00
Jonas Sicking
30fc42bba0 Bug 659053 Part 2: Implement a faster non-recursive Node.isEqualNode directly on nsINode. r=peterv 2011-06-14 00:56:48 -07:00
Boris Zbarsky
e0ed89458e Bug 598833 part 5. Store focus and focusring state directly on elements. r=smaug,enn 2011-05-31 21:46:56 -04:00
Boris Zbarsky
b9c42f5dbe Bug 657353 part 2. Switch content state updates away from calling Begin/EndUpdate. r=sicking 2011-05-31 17:38:25 -04:00
Ms2ger
b2bdf7acf9 Bug 659743 - Part b: Remove nsImageMapUtils; r=smaug 2011-05-30 13:00:00 +02:00
Masayuki Nakano
e3d329a01d Bug 659913 part.3 Use AddObservers and RemoveObservers if the caller uses these methods of Preferences two or more times r=roc 2011-05-29 08:39:27 +09:00
Masayuki Nakano
55fb2a7014 Bug 659913 part.1 Remove nsContentUtils::GetPrefBranch() r=roc 2011-05-29 08:39:27 +09:00
Masayuki Nakano
ccc2f5b479 Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Craig Topper
2d3a050e8b Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Ms2ger
bf3f9e1c97 Bug 655513 - Remove nsIDOMDocumentRange; f=ehsan r=bzbarsky 2011-05-15 12:07:28 +02:00
Craig Topper
b9a9f8103e Bug 585255 - Remove nsTreeWalker usage from nsFocusManager. r=sicking 2011-04-11 19:46:59 -07:00
David Zbarsky
36a6ae632d Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Vivien Nicolas
8136a3686a Bug 532738 - Do not open the virtual keyboard on untrusted focus (caused by content page scripts) [r=masayuki] 2011-04-20 14:47:40 +02:00
Ed Morley
b235597197 Bug 634936 - Add null-check for nsContentUtils::GetPrefBranch() to prevent Crash [@ nsFocusManager::Init ]; r=jst 2011-04-16 11:14:09 +02:00
Boris Zbarsky
13805b2d81 Bug 633271 part 1. Stop shoehorning focus state change notifications into the ESM. r=enndeakin 2011-03-28 23:32:11 -04:00
Neil Deakin
1f830e8b5e Bug 617872 - Focus manager allows F6 to focus elements inside non-focusable iframes/browsers. r=smaug, a=blocking 2010-12-09 13:20:00 -08:00
Olli Pettay
36f77d90e6 Bug 605294 - Leak nsGlobalWindow hiding a focused iframe, r=peterv, a=blocking 2010-12-17 13:48:00 -08:00
Ehsan Akhgari
f3183b8901 Bug 615781 - Don't attempt to display the caret when switching selections if we know that we're going to hide it immediately; r,a=roc
This prevents useless work which _could_ lead to visual artifacts, as well as assertions caused by us touching dirty frames,
2010-12-01 16:38:21 -05:00
Ehsan Akhgari
7a21527cfd Bug 612018 followup - Remove the extra document check, r=mats a=cleanup 2010-11-16 15:45:15 -05:00
Ehsan Akhgari
4387d02bb2 Bug 612018 - "ASSERTION: frame must not be dirty" and non-blinking caret; r,a=roc 2010-11-16 13:55:25 -05:00
Steven Michaud
7a41b44c3e Bug 601182 - Spurious focus events sent to NPAPI plugins on OS X in Cocoa event mode. Patch partly by enndeakin. r=josh,smaug a=blocking2.0BetaN+ 2010-11-15 15:12:50 -06:00
Masayuki Nakano
6865c70347 Bug 591890 focus() method should be able to steal focus when it's called from mousedown event handler r=enndeakin, a=betaN+ 2010-11-06 14:04:11 +09:00
Mihai Sucan
034f3ab85d Bug 601352 - Console does not scroll expression result into view, r+a=roc 2010-10-28 13:01:37 -03:00
Drew Willcoxon
ad31bc98b1 Bug 596698 - Link target in location bar isn't updated when switching between tabs if link is focused. r=enndeakin, a=blocking2.0-final 2010-10-18 11:12:18 -07:00
Blake Kaplan
804726cbbe bug 580128 - Fix code that expects XPConnect to hand outer windows to C++ from JS. r=peterv 2010-09-17 14:54:40 -07:00
Neil Deakin
37217ea52b Bug 577316, add preference to allow form elements to be focused when clicked, r=smaug 2010-08-09 12:15:47 -04:00
Felipe Gomes
ea6fc2bc0e Bug 508906. Add experimental MozTouch events. r=smaug,jimm 2010-08-02 15:34:54 +02:00
Timothy Nikkel
69e644de71 Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats 2010-07-02 14:11:04 -05:00
16fafd331c Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Michael Kohler
61fec64afe Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Boris Zbarsky
cd27fc6a1c Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Boris Zbarsky
b138321317 Bug 562688 part 9. Eliminate eELEMENT users in dom/. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
b799eebaa2 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Olli Pettay
c6c82a30b5 Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking 2010-04-27 12:58:58 +03:00
Olli Pettay
43fec9ee3d Bug 552255, a bit more strict focus handling, r=enndeakin, sr=jst, a=1hourlimit 2010-04-24 13:40:48 +03:00
Neil Deakin
647f30aa88 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Masayuki Nakano
b2b8aa83f0 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
Craig Topper
d8677ead2d Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc 2010-03-31 08:39:31 -04:00
Kyle Huey
597c98dfbe Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper
4976501bfc Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Craig Topper
9ba803bea7 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc 2010-03-25 14:17:11 +01:00
Mats Palmgren
1bcfba098e Bug 544852, part 1: Remove nsCaret::GetCaretCoordinates. r=roc 2010-03-14 23:52:07 +01:00
Mats Palmgren
862b58a3d4 Remove the inner declaration of startOffset, it shadows the outer one we use. b=549909 r=enndeakin 2010-03-14 14:46:11 +01:00
Neil Deakin
2a767391b2 Bug 544146, when focusing at the caret position, if the caret is not set or at the root, don't look for a node to focus, r=smaug 2010-02-23 13:16:19 -05:00
Neil Deakin
96b0a4b8d6 Bug 536481, clear the mouse capture when a window is lowered or the containing docshell is hidden, r=smaug 2010-02-20 11:06:58 -05:00
Jae-Seong Lee-Russo
7144f31c65 Bug 530300: Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /dom r=peterv 2010-02-20 08:59:07 -05:00
Makoto Kato
deec8f937a Bug 182954 - Content should use the newer nsIPrefService APIs instead of nsIPref. r=jst 2010-02-08 11:49:18 +09:00
Boris Zbarsky
07059f879f Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
Metal Sonic
259a398dae Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Olli Pettay
0bceec42aa bug 531176, r=sicking, sr=jst 2009-12-18 21:27:57 +02:00