Commit Graph

38 Commits

Author SHA1 Message Date
Masayuki Nakano
aa9228ddd4 Bug 976673 part.4 Allow nested mouse button event handling for modal dialog r=smaug+enndeakin 2014-06-18 15:13:01 +09:00
Masayuki Nakano
cff50b8c01 Bug 976673 part.2 Allow to steal focus by JS at handling mouseup event r=enndeakin 2014-06-18 15:13:00 +09:00
Olli Pettay
fe989e3819 Bug 942240 - Improve the skippability of nsGlobalWindow, r=mccr8
--HG--
extra : rebase_source : ed7e687229a92075657d9b665fbc7af42d9eb5cc
2013-11-24 21:35:34 +02:00
Birunthan Mohanathas
98f3b9652a Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan 2013-10-28 10:04:12 -04:00
Masayuki Nakano
3f8ff3ca06 Bug 396542 nsFocusManager should restore caret browsing mode when an editor loses focus r=ehsan 2013-05-22 12:28:43 +09:00
Jonathan Watt
3eac75d866 Backout bug 862693 (Stop the :-moz-focusring pseudo-class from matching if an element is themed and the theme will display a visual indication of focus for the element. r=roc) 2013-04-21 11:30:11 +01:00
Jonathan Watt
02ae98ba2f Bug 862693 - Stop the :-moz-focusring pseudo-class from matching if an element is themed and the theme will display a visual indication of focus for the element. r=roc 2013-04-17 09:22:55 +01:00
Olli Pettay
0e8cf1f788 Bug 737100 - Extend Pointer Lock (Mouse Lock) for non-fullscreen elements, p=smaug,dolske, r=cpearce,dolske,smaug 2013-03-24 12:32:44 +02:00
David Zbarsky
46284ae633 Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Chris Jones
4670001039 Bug 761927: Fix focus for <iframe mozbrowser remote>. r=jlebar,Enn 2012-06-22 18:27:30 -07:00
Ehsan Akhgari
4830dd98a3 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky 2012-06-14 22:31:55 -04:00
Alexander Surkov
3ca9bb540a Bug 756973 - make RootAccessible::NativeState faster, r=tbsaunde, enn 2012-05-23 08:48:35 +09:00
Alexander Surkov
4378030fb4 Bug 756381 - make FocusManager::FocusedDOMNode faster, r=tbsaunde, smaug 2012-05-22 18:25:44 +09:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Deakin
463ad224a7 Bug 653230, add panels with focusable elements into the document tab navigation order, r=smaug 2012-02-23 16:02:33 -05:00
Neil Deakin
56733ed31b Bug 670317, add a focus manager flag to restrict tab navigation to the same frame, r=smaug 2012-02-13 14:24:28 -05:00
Olli Pettay
3065412dbd Bug 704583 - Add testing mode to FocusManager, p=enn,smaug r=smaug,enn 2012-01-13 14:42:18 +02:00
Masayuki Nakano
97702be0bf Bug 685395 part.3 Rename SetInputMode()/GetInputMode() to SetInputContext()/GetInputContext() and make SetInputContext() take the reason by a separated argument r=roc, sr=matspal 2011-11-27 20:51:52 +09:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Felipe Gomes
cd0044077e Bug 583976. Part 1 - Add focus manager support for focus activation/deactivation in remote content. r=enn,smaug 2011-06-17 17:08:32 -07:00
Boris Zbarsky
227db86144 Bug 598833 part 5. Store focus and focusring state directly on elements. r=smaug,enn 2011-05-31 21:46:56 -04:00
Vivien Nicolas
9d29efb784 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
Benjamin Smedberg
17826d891f Bug 617539 - Integrate nsIFocusManager_MOZILLA_2_0_BRANCH back into the main interface, r=smaug 2011-03-25 11:03:33 -04:00
Steven Michaud
e93b28775e 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
c8c157dbab 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
Drew Willcoxon
d7b9ee3bef 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
Neil Deakin
c4ca33a0c8 Bug 577316, add preference to allow form elements to be focused when clicked, r=smaug 2010-08-09 12:15:47 -04:00
Olli Pettay
d6fd356f32 Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Neil Deakin
b627649b3d 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
189d5d4756 Bug 544277 IME became unusable when switching focus on Gmail RTF Editor r=enn 2010-04-21 22:13:08 +09:00
Metal Sonic
80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Masayuki Nakano
73f9a129d8 Bug 125282 Webpage-JS can steal focus from URLbar / chrome r=enndeakin 2009-12-12 14:17:40 +09:00
enndeakin@gmail.com
263703657b Bug 525856 - White-space in source code affects how link receive focus from keyboard (tab key), r=smaug, sr=roc 2009-11-20 14:09:33 +02:00
Neil Deakin
0f06193730 Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil 2009-10-01 14:53:10 -03:00
L. David Baron
f51da160cb Don't QI a node to nsIDOMElement and back to nsIContent for every call to nsEventStateManager::GetContentState. (Bug 509889) r=enndeakin 2009-08-13 19:09:49 -07:00
Neil Deakin
444dc5a9aa Bug 498609 and 498643, clear focused element when not in document, sr=smaug 2009-06-20 20:04:04 -04:00
Neil Deakin
15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00