Commit Graph

267 Commits

Author SHA1 Message Date
Karl Tomlinson
ce9fcd3e84 b=793501 set gFocusWindow on fallback instead of early, which interfered with container window focus change detection in SetFocus() r=roc
--HG--
extra : transplant_source : %AD%07%A7%EB/%D6M%F3i%21%85d%8D%E8%92K%D6%1D%1F8
2012-10-23 11:31:53 +13:00
Mike Conley
30c391dc2e Bug 746775 - Clicks to close a context-menu in a panel are also consumed by the panel. r=jmathies,enndeakin. 2012-10-29 12:54:52 -04:00
Matt Woodrow
9ff7dbd84d Bug 797431 - Add a flags parameter to PaintWindow. r=roc 2012-10-15 17:53:37 +13:00
Trevor Saunders
e2db6e1941 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Karl Tomlinson
df7bec0941 b=408284 don't shape for transparency on ARGB windows r=roc
--HG--
extra : rebase_source : d4e07ba252b1ec13c887ecab2f06361752890b3b
2012-10-03 19:53:57 +13:00
Chris Coulson
2fd6b9c187 b=408284 use ARGB visuals for popup windows when window manager is compositing r=karlt
--HG--
extra : rebase_source : c562667491b564562f5350a9b8a5f0b7d882be7e
2012-10-03 19:53:53 +13:00
Chris Coulson
b8c27399bb b=408284 let MozContainer widgets inherit parent colormap instead of explicitly setting rgb colormap r=karlt
--HG--
extra : rebase_source : 1b7f60d38ffa20c404c777a5ba1e1cc3383f19a0
2012-10-03 19:53:46 +13:00
Karl Tomlinson
17899b042b b=408284 clear transparency bitmap when window is hidden r=roc
--HG--
extra : rebase_source : ac16e4b25da2684fd7fd80a6d16ceb2ae2d4caaf
2012-10-03 11:37:06 +13:00
Karl Tomlinson
b26e70da47 b=408284 no need to apply transparency bitmap on each show r=roc
--HG--
extra : rebase_source : 5f75d84bbf2ae142f85287da0b1998219fe4585e
2012-10-03 11:36:08 +13:00
Karl Tomlinson
42ce6714fc b=795812 shape out translucent windows where alpha < 1/2 r=roc
--HG--
extra : rebase_source : 86d6d748e7e87ab527b8ee88e3dee1abb16133be
2012-10-03 11:35:28 +13:00
Jonathan Kew
336fd34232 bug 674373 pt 4 - pass device-to-CSS pixel ratio to LookAndFeel code when requesting a font style. r=roc 2012-09-29 12:35:08 +01:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
c900597192 Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc 2012-08-29 17:39:01 +12:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
49d4c24594 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Karl Tomlinson
fbc6176a6f b=794285 restore support for building against GTK+ 2.10 r=glandium
--HG--
extra : transplant_source : %D0%2B6%19%96%99%8D%21%F5%5D8%92%FC%1E%1D%BB%B77h%81
2012-09-27 12:23:00 +12:00
Isaac Aggrey
84680bfb39 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Mike Hommey
213365fb63 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Karl Tomlinson
78f597ff26 b=792305 don't update mask bits outside the mask r=roc
--HG--
extra : rebase_source : 682a8780f0e54d082ad2f35c1b074c3fe2d82817
2012-09-24 11:17:31 +12:00
Karl Tomlinson
29361fbee7 b=792305 delay shape mask update from resize to expose r=roc
--HG--
extra : rebase_source : 6b00c1e4d31fc1d5b6dc4d09882591da82dc622d
2012-09-24 11:15:48 +12:00
Marco Castelluccio
cc2ccf530a Bug 630346 - Use basic layers for windows with transparency r=karlt
--HG--
extra : rebase_source : c078915a7455b61e0aff76af3cea735c4342a219
2012-09-24 11:22:28 +12:00
Jim Mathies
9418b94d60 Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Mats Palmgren
d86cd0b8aa Bug 791518 - Use correct GDK type for gtk_selection_data_get_length() return value to avoid signed to unsigned conversion of -1 and subsequent crash. r=karl 2012-09-18 01:05:05 +02:00
Martin Stransky
4a163dab88 Bug 627699 - Port GTK2 to GTK3, gtk-rest. r=karlt 2012-09-13 21:56:59 -04:00
Martin Stransky
fa4a000b19 Bug 627699 - Port GTK2 to GTK3, nsBidiKeyboard patch. r=karlt 2012-09-13 21:56:58 -04:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
151742b045 Remove two unused variables, no bug
--HG--
extra : rebase_source : 1d2fb26b146037905d729c0bc68105969c63de61
2012-08-27 17:30:56 -04:00
Ehsan Akhgari
1d1c7fe3dc Bug 579517 - Part 8: Automatically convert some more NSPR numeric type usages that were landed on mozilla-inbound; r=bsmedberg 2012-08-22 12:32:21 -04:00
Ehsan Akhgari
a8a14f9163 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Karl Tomlinson
5059e5f4c6 b=671820 implement async nsIFilePicker::Open and make sync Show close window on response r=roc
--HG--
extra : transplant_source : %AC%C4%9AB%03%FC%29tE%3D%10X%7F%B4%ED%B6%07%D8%5C%BC
2012-08-22 16:56:55 +12:00
Masayuki Nakano
711f8ee174 Bug 784246 KeymapWrapper::GuessGDKKeyval() should return GDK_colon for NS_VK_COLON r=karlt 2012-08-21 13:35:23 +09:00
Ehsan Akhgari
8c296bbcd4 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
Neil Deakin
b9bd1357f1 Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
0413e44a55 Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones 2012-08-15 14:52:42 -04:00
Neil Deakin
193db1ca6c Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin
34ac541af0 Bug 743975 - remove accessibility events from widget, replace with a nsBaseWidget::GetAccessible method, r=trevsaunders 2012-08-15 14:52:37 -04:00
Neil Deakin
510f6f1a72 Bug 743975 - move theme and window size done events to direct calls, r=smaug 2012-08-15 14:52:35 -04:00
Masayuki Nakano
6e35f349df Bug 719320 part.13 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on GTK r=karlt 2012-08-12 10:42:37 +09:00
Masayuki Nakano
acbe3bbdd7 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Martin Stransky
4df2678829 Bug 544088 - Support Xt plugins OOP. r=karlt 2012-08-01 16:34:08 -04:00
Neil Deakin
28413e223c Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil 2012-07-30 20:43:29 -04:00
David Zbarsky
fa3cb43e08 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
e195f09851 Bug 777829 - Remove ThemeRenderer::mWindow since it's never used; r=karlt
--HG--
extra : rebase_source : 3898c17e3fe6740b6cecbe0665b9b60710d356b4
2012-07-26 16:12:03 -04:00
Ehsan Akhgari
fefe04767a 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 (more widget parts); blanket-r=bzbarsky
--HG--
extra : rebase_source : 6fa3942059662d5d2095de119b20bc63db1f553b
2012-07-26 15:17:33 -04:00
Ehsan Akhgari
4f7ec6d304 Remove an unused local variable (no bug)
--HG--
extra : rebase_source : 4b35da5a24f61289d9d36a195d0154028d629249
2012-07-26 15:17:26 -04:00
Mark Capella
7103242b4f Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger 2012-07-23 01:19:08 -04:00
Mark Capella
bf92974758 Bug 769998 - Make nsIWidget::IsVisible return bool, r=roc, f=ms2ger 2012-07-19 04:57:50 -04:00
Masayuki Nakano
94a89956d7 Bug 751749 part.4 Give higher priority to Meta than Super and Hyper due to better compatibility with Web applications r=karlt 2012-07-19 10:28:17 +09:00
Masayuki Nakano
588dd9f9f3 Bug 751749 part.2 Support Win key for a modifier of shortcut key and access key r=smaug, enn 2012-07-19 10:28:16 +09:00
Masayuki Nakano
141ea58a3e Bug 751749 part.1 Decide one modifier for a modifier flag r=karlt 2012-07-19 10:28:16 +09:00
David Zbarsky
7f0f075928 [Bug 774505] Don't include Layers.h everywhere r=cjones 2012-07-18 12:31:40 -04:00
Masayuki Nakano
a010f5444e Bug 769190 part.2 Rename nsInputEvent::IsWin() and widget::MODIFIER_(SCROLL|WIN) to nsInputEvent::IsOS() and widget::MODIFIER_(SCROLLLOCK|OS) r=smaug 2012-07-06 09:42:05 +09:00
Ehsan Akhgari
6ef72aef93 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
David Zbarsky
cd3c58ee76 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Matt Woodrow
1f0dbc7c74 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Bonnie Surender
6dcaba353f Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Martin Stransky
d5ece17979 Bug 627699 - Port GTK2 to GTK3, gtk2compat.h extension. r=karlt 2012-06-27 20:15:32 -04:00
Mats Palmgren
ad5fb5584f Bug 575294. part=4/5 r=roc 2012-06-23 03:13:56 +02:00
Martin Stransky
c2a30c889c Bug 627699 - Port GTK2 to GTK3, export gtk2compat.h; r=karlt 2012-06-19 10:59:03 -04:00
Ryan VanderMeulen
b74e4a29db Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Ehsan Akhgari
d8e8691a41 Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Ehsan Akhgari
cc9274685a Backout changeset 125438dda903 (bug 761051) because of Bq bustage 2012-06-07 19:49:37 -04:00
Ehsan Akhgari
56d6ff421f Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc 2012-06-07 19:27:07 -04:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Phil Ringnalda
5082a2ad9e Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-06-03 12:04:40 -07:00
Mats Palmgren
70c0bbb075 Back out bug 575294, bug 726264. (cset 1727de7d26ec, 6bcea3a628d8, 011c1c8e9cc7, 0be261a5042b, d51338c5cd0c) 2012-06-03 18:05:00 +02:00
Mats Palmgren
1e38ee6675 Bug 575294. part=3/4 r=roc 2012-06-02 01:41:54 +02:00
Masayuki Nakano
5d2e09b94f Bug 757049 Don't use length of UTF-16 for character counts of UTF-8 used by GTK APIs in nsGtkIMModule::OnRetrieveSurroundingNative() and nsGtkIMModule::DeleteText() r=karlt 2012-06-03 12:27:48 +09:00
Phil Ringnalda
2263908c8e Back out deac5d31bc12, 8622c5680fb3, 205d2e0d297c (bug 575294), 5ba42170426e (bug 726264), a5444e23c668 (bug 575294) for bug 759243 2012-05-28 22:48:52 -07:00
Trevor Saunders
1192ef8bd9 bug 759033 - nsAccessible -> Accessible and nsAccessibleWrap -> AccessibleWrap r=surkov
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsAccessibleWrap.h => accessible/src/msaa/AccessibleWrap.h
rename : accessible/src/other/nsAccessibleWrap.cpp => accessible/src/other/AccessibleWrap.cpp
rename : accessible/src/other/nsAccessibleWrap.h => accessible/src/other/AccessibleWrap.h
2012-05-28 21:18:45 -04:00
Mats Palmgren
2a158bc2dc Bug 575294. part=3/4 r=roc 2012-05-29 02:50:42 +02:00
Nicolas Silva
347743d27a Bug 751176: Fix blinking of video and canvas when using OMTC on Linux. r=jrmuizel
OnExposeEvent was not handled correctly with OMTC.

--HG--
extra : rebase_source : 23dff95ce65b7b72d5ebf3380004fb62ca0b82bb
2012-05-04 13:07:34 -04:00
Martin Stransky
e57dc383ab Bug 627699 - Port GTK2 to GTK3, r=:karlt 2012-05-28 10:39:57 +12:00
Takanori MATSUURA
5c9f3f4809 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Nicolas Silva
ea8d81c8ec Bug 722012 - Fixes crash on Gtk widget destruction when using OMTC on linux. r=karlt
--HG--
extra : rebase_source : 5562c7e466bd54fecd69e8a9b4c469e24493542f
2012-05-23 10:17:44 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano
44dee2b0b0 Bug 447757 part.4 Clean up modifier keycode mapping on GTK r=karlt, sr=smaug 2012-05-17 16:04:16 +09:00
Masayuki Nakano
782754acee Bug 447757 part.3 Use unshifted char of printable keys for computing keycode on GTK r=karlt 2012-05-17 16:04:16 +09:00
Masayuki Nakano
b06b595db9 Bug 447757 part.2 DOM keycode for printable keys in Numpad should be computed by switch r=karlt 2012-05-17 16:04:16 +09:00
Masayuki Nakano
6b2b05f8b3 Bug 447757 part.1 Compute DOM keycode for non-printable key from table first r=karlt 2012-05-17 16:04:16 +09:00
Oleg Romashin
65bd75159d Bug 754866 - Make mozilla.widget.disable-native-theme export shared bool across widgets. r=roc 2012-05-15 09:01:48 -04:00
Matt Brubeck
f08ab73a53 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Fabrice Desré
fe66918d12 Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Julian Seward
d83cedc25d Bug 753118 - Fix uninitialized value in nsWindow::Destroy. r=karlt 2012-05-09 21:00:05 -04:00
Wolfgang Rosenauer
6fd7551d78 Bug 749739 - New email sound notification file cannot contain spaces (Linux - Thunderbird 12). r=karlt 2012-05-09 13:27:02 +02:00
Karl Tomlinson
253473034f b=751774 handle no drag service during shutdown r=roc
--HG--
extra : transplant_source : %20%EE%CD%93%CE%A9%C2%DF%B3%1F1%07%CB%19E.%F3%20%B8%0B
2012-05-04 15:34:50 +12:00
Karl Tomlinson
6204dab3bb b=751429 handle modifier changes in periodic synthetic mouse events for drag sources r=roc
--HG--
extra : rebase_source : 08c12b5e4e2acb7e65ff29168356312eb9185d97
2012-05-03 18:24:20 +12:00
Karl Tomlinson
cedf9acac4 b=750061 Put the hidden drag widget in the window group of the source node so that the gtk_grab_add during gtk_drag_begin is effective r=roc
--HG--
extra : rebase_source : 8ce17ca75be2b681f08489446bb8fdb2d651fe46
2012-05-03 18:23:59 +12:00
Karl Tomlinson
a6b5afba17 b=750961 disable motion hints to avoid gdk_event_request_motions unless on Maemo r=roc
--HG--
extra : rebase_source : 8f688b33d050a9d972da13aaf49607f300138f63
2012-05-03 18:23:31 +12:00
Masayuki Nakano
dfe55fbd80 Bug 166240 part.3 Add support KeyboardEvent.location on GTK r=karlt 2012-05-03 17:35:02 +09:00
Karl Tomlinson
ecdf4bc8e3 b=634719 schedule event dispatch in response to GTK drag end signals to avoid running the event loop at unexpected times and dispatch leave events in the right order r=roc
--HG--
extra : rebase_source : 32b86a8d4bc691bf3c1f2d9e1ca13eab68fa4810
2012-04-19 18:18:31 +12:00
Karl Tomlinson
424d0c1d21 b=634719 don't start a new source drag session until the previous has completed r=roc
--HG--
extra : rebase_source : 1165a447cf141b5ec34446e6e95ab66f815168f7
2012-04-19 18:18:31 +12:00
Karl Tomlinson
6246432aa7 b=497498 remove nsIDragSessionGTK r=roc
--HG--
extra : rebase_source : a8029599d50bfff6ca10cce73a35fb8854e868ab
2012-04-19 18:18:31 +12:00
Karl Tomlinson
625811bcb2 b=497498 move nsWindow::UpdateDragStatus to nsDragService::UpdateDragAction r=enndeakin
--HG--
extra : rebase_source : e8198557c42f804cbe7ef758c8d8048af45722ec
2012-04-19 18:18:31 +12:00
Karl Tomlinson
ddce9aecf2 b=497498 move drag event dispatch logic from nsWindow to nsDragService r=roc
--HG--
extra : rebase_source : ec52cbad0d1efff13c989e8b5061f7fc3445b92b
2012-04-19 18:18:31 +12:00
Karl Tomlinson
a5dc82ba4e b=497498 schedule event dispatch in response to GTK drag target signals to avoid running the event loop at unexpected times r=roc
--HG--
extra : rebase_source : 881ad7c0efa85174347059a9f53b3a5bd4c76696
2012-04-19 18:18:31 +12:00
Karl Tomlinson
c2121f5398 b=634719 Add a helper to get the nsDragService r=roc
--HG--
extra : rebase_source : cd811aee525b1675b47573e313f6804112d78ef0
2012-04-19 18:18:31 +12:00
Masayuki Nakano
b39db536e9 Bug 630811 part.5 Support new modifiers on all events derived from nsInputEvent on GTK r=karlt 2012-04-25 12:00:02 +09:00
Masayuki Nakano
e089b336f8 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Masayuki Nakano
9725533383 Bug 731878 part.4 Set modifiers and buttons of nsMouseEvent on GTK r=karlt 2012-04-25 12:00:01 +09:00
Patrick Wong
15df25098f Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Karl Tomlinson
c24bdc6592 b=497498 prevent GetTargetDragData (and IsTargetContextList) from being called without a target GtkWidget r=roc
--HG--
extra : rebase_source : 4c6d856abbe49913b74da4d9640d47a9870c2210
2012-04-17 13:00:26 +12:00
Karl Tomlinson
a917a512f2 b=497498 move early drag end code to drag_motion_event_cb and correct return value r=roc
--HG--
extra : rebase_source : 418991e220b53a3254179bf45e18ab90a1124dff
2012-04-17 13:00:26 +12:00
Karl Tomlinson
38c69e4e9d b=497498 use nsIDragSession::getCurrentSession to remove sIsDraggingOutOf r=roc
--HG--
extra : rebase_source : 7bddb51489d329bbe403228bf15306a896823749
2012-04-17 13:00:26 +12:00
Karl Tomlinson
779da2993e b=497498 split drag event dispatch code from GTK signal handling methods r=roc
--HG--
extra : rebase_source : f8d7a93c9ca2f11fdc46587585aec6fb0bcfd091
2012-04-17 13:00:26 +12:00
Karl Tomlinson
1e071381e5 b=497498 use a helper method for dispatching destination drag events r=roc
--HG--
extra : rebase_source : fd151e844ca1454d585e8c254e1b91668427fdc6
2012-04-17 13:00:25 +12:00
Karl Tomlinson
908a1f6f0d b=497498 use event coordinates for source drag end point instead of new cursor position r=roc
--HG--
extra : rebase_source : 7ed5076bab1d1dfac9d0865292754a3509109d9c
2012-04-17 13:00:25 +12:00
Karl Tomlinson
9635333852 b=497498 use event and widget coordinates for drop point instead of new cursor position r=roc
--HG--
extra : rebase_source : 4b02c77acc7b2d0023fc43df675f8ca07201439d
2012-04-17 13:00:25 +12:00
Karl Tomlinson
89750d568a b=497498 use nsDragService::SetCanDrop instead of nsIDragSessionGTK::StartDragMotion to reset before NS_DRAGDROP_OVER r=roc
--HG--
extra : rebase_source : 776784c43b2d3e8edb4a4a91d507f74fce03f589
2012-04-17 13:00:25 +12:00
Karl Tomlinson
6d38f25d46 b=497498 fire NS_DRAGDROP_DRAG at source even before synthetic NS_DRAGDROP_OVER events r=enndeakin
--HG--
extra : rebase_source : 5c3d7057b753c76039e8cb1449f9cdfbb3be4725
2012-04-17 13:00:25 +12:00
Karl Tomlinson
9d71843903 b=497498 don't set a drag context with the new widget for a leave event on the old widget r=enndeakin
--HG--
extra : rebase_source : b400dbecba51ab69d85f66a986c8f14fccf6dc09
2012-04-17 13:00:25 +12:00
Karl Tomlinson
ebaf6ea2db b=497498 no need to explicitly dispatch NS_DRAGDROP_ENTER as this is handled during NS_DRAGDROP_OVER r=enndeakin
--HG--
extra : rebase_source : 3c766e3ecb09a1aef295e8e0e9aca215f53e49c0
2012-04-17 12:59:56 +12:00
Karl Tomlinson
dab6aa349c b=497498 Only dispatch drop events when canDrop has been set via dragover and only indicate successful drop when the drop is sent r=enndeakin
--HG--
extra : rebase_source : deb15db236d3e1cd2880e056090e1caff59af0d5
2012-04-04 16:29:55 +12:00
David Rajchenbach-Teller
fa9913646b Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman
76d7d982d4 Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
cb1d34d766 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
David Humphrey (:humph)
5f9892f336 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Veeraya Pupatwibul
26e9a6a204 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Martin Stransky
4d7499d6b0 Bug 496653 - Command line option --class <WM_CLASS> does not work, use MOZ_WM_CLASS workaround. r=karlt 2012-03-27 19:17:35 -04:00
Jonathan Kew
789760b675 bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett 2012-03-15 09:04:46 +00:00
Steven Michaud
f486e3b94a Bug 730282 - Firefox crash @ mozilla::SignalTracerThread. r=ted.mielczarek. 2012-03-12 15:13:14 -05:00
Simon Montagu
1bd228581e Recognize Ctrl-Q and Ctrl-W under Hebrew keyboard layout on Linux. Bug 452393, r=masayuki, karlt 2012-03-09 08:09:30 +02:00
Masayuki Nakano
5eb014fc0e Bug 729774 part.3 nsGtkIMModule::GetCurrentParagraph() and DeleteText() should work with the text content which was immediately before the latest compositionstart r=karlt 2012-03-09 13:27:51 +09:00
Masayuki Nakano
04d9c542b8 Bug 729774 part.2 nsGtkIMModule should store selected text which will be removed by first text event r=karlt 2012-03-09 13:27:51 +09:00
Masayuki Nakano
8d2a272bb5 Bug 729774 part.1 nsGtkIMModule should manage composition state more closely r=karlt 2012-03-09 13:27:51 +09:00
Matt Brubeck
ea00ab22ed Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Jim Mathies
39f254973a Bug 373266 - base support for animated theme widgets to nsnativetheme. r=roc 2012-03-07 09:29:21 -06:00
Masayuki Nakano
235d3d4df7 Bug 630813 part.9 Should compute modifier key's DOM keycode from unshifted GDK keyval r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
0fd2597db6 Bug 630813 part.8 IsCtrlAltTab() should use KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
200ddf4671 Bug 630813 part.7 Implement IsKeyPressEventNecessary() in mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
582c6eaf6c Bug 630813 part.6 nsKeyEvent should be initialized by mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
3a0cca6cdb Bug 630813 part.5 Move DOMKeyCodeToGdkKeyCode() and DOMKeyCodeToGdkKeyCode() into KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
2f3e258901 Bug 630813 part.4 Implement a modifier keys initializer for nsInputEvent r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
bc0aff7a5f Bug 630813 part.3 nsWindow::GetToggledKeyState() should use mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
ddeb722011 Bug 630813 part.2 Store native modifier key information r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
9f92a332fc Bug 630813 part.1 Make KeymapWrapper which is a wrapper class of GdkKeymap r=karlt 2012-02-22 16:34:31 +09:00
Zack Weinberg
9c593e5cd7 Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Owen Taylor
9a71b5ddad Bug 721498 - Use remote timestamp when available for focus requests. r=karlt 2012-02-16 11:23:34 +01:00
Karl Tomlinson
0e356fd193 b=726443 rework last event time calculation to avoid problems with gtk_get_current_event_time in nested loops r=roc
--HG--
extra : rebase_source : 151b60b10944ccf3ccee0cb69f89728ba1c29977
2012-02-14 09:19:59 +13:00
Martin Stránský
b351fc30f8 Bug 627699 - Port GTK2 to GTK3, gkt3drawing part. r=karlt
--HG--
rename : widget/gtk2/gtk2drawing.c => widget/gtk2/gtk3drawing.c
2012-02-10 14:15:28 +01:00
Marco Bonardo
984a5a549c Merge central to inbound 2012-02-08 09:24:40 +01:00
Karl Tomlinson
98545dde78 b=724966 make sure to set sRetryGrabTime for retrying grabs r=roc
--HG--
extra : transplant_source : v%A5qVLv%7E%D8%0D%0C%8F%7F%C3%40%AEV%86%E5%BDT
2012-02-08 09:51:15 +13:00
Neil Deakin
6125e0566b Bug 707382, merge nsIDOMDataTransfer and nsIDOMNSDataTransfer, r=jonas 2012-02-07 13:02:32 -05:00
Karl Tomlinson
4b63d0b63c b=500081 use a timestamp when grabbing the pointer and generate timestamps for drags in the same way r=roc
--HG--
extra : transplant_source : %CF%87%19S%2C%8C2%BD%C9%0C%2B%C6%BA%22%EE%CB%06%BC%D2%00
2012-02-02 15:12:26 +13:00
Karl Tomlinson
81080a976d privatize and devirtualize a few nsWindow methods b=500081 r=roc
--HG--
extra : transplant_source : s%1C%A2Usl%EE%01%BAB%FB%B7%96%A4Q%FD%96%88%A3G
2012-02-02 15:12:02 +13:00
Karl Tomlinson
e81299470f don't keep trying pointer grab when failing due to another application's grab b=500081 r=roc
--HG--
extra : transplant_source : %7E%40%C7%DD1%D9%D7%A2%8Dg%5E%8BG%A9J%3DK%0F%8B%FF
2012-02-02 15:11:44 +13:00