Commit Graph

163 Commits

Author SHA1 Message Date
Masayuki Nakano
b5584f2955 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
5e6974df88 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Matt Woodrow
cbd39105d9 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Bonnie Surender
e360fa128a Fixing bug 715041. Add support for Idle API. r=bent, jst 2012-06-29 01:32:21 -07:00
Martin Stransky
07ee2f7b35 Bug 627699 - Port GTK2 to GTK3, gtk2compat.h extension. r=karlt 2012-06-27 20:15:32 -04:00
Mats Palmgren
e77c8dbeb1 Bug 575294. part=4/5 r=roc 2012-06-23 03:13:56 +02:00
Martin Stransky
b697176396 Bug 627699 - Port GTK2 to GTK3, export gtk2compat.h; r=karlt 2012-06-19 10:59:03 -04:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Ehsan Akhgari
ca80281227 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
701213914b Backout changeset 125438dda903 (bug 761051) because of Bq bustage 2012-06-07 19:49:37 -04:00
Ehsan Akhgari
b29a2f9ea8 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
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Phil Ringnalda
d576312c34 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2012-06-03 12:04:40 -07:00
Mats Palmgren
37020cf426 Back out bug 575294, bug 726264. (cset 1727de7d26ec, 6bcea3a628d8, 011c1c8e9cc7, 0be261a5042b, d51338c5cd0c) 2012-06-03 18:05:00 +02:00
Mats Palmgren
2e6a4d1853 Bug 575294. part=3/4 r=roc 2012-06-02 01:41:54 +02:00
Masayuki Nakano
47118e41e8 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
7b9a678b28 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
3b1f9183dc 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
ab42326d3a Bug 575294. part=3/4 r=roc 2012-05-29 02:50:42 +02:00
Nicolas Silva
cd97829ee1 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
ba431ef484 Bug 627699 - Port GTK2 to GTK3, r=:karlt 2012-05-28 10:39:57 +12:00
Takanori MATSUURA
4e1026d682 Bug 751521 - Separate pixman detection from cairo. r=glandium 2012-05-26 08:44:00 +02:00
Nicolas Silva
f28c16abaf 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
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano
1d6ef2544f 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
8f6463a70a 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
05dd49b33f 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
1b3b327fe5 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
74e1c2a605 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
58eb5eeac0 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Fabrice Desré
8c0c24a4a2 Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Julian Seward
efb16a31cf Bug 753118 - Fix uninitialized value in nsWindow::Destroy. r=karlt 2012-05-09 21:00:05 -04:00
Wolfgang Rosenauer
fc4a314130 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
1ae1e30aeb 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
38a9712de4 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
3886d57156 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
f334719dee 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
75fedbb5bc Bug 166240 part.3 Add support KeyboardEvent.location on GTK r=karlt 2012-05-03 17:35:02 +09:00
Karl Tomlinson
0ed11b9743 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
f4d1983959 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
15a06aed3e b=497498 remove nsIDragSessionGTK r=roc
--HG--
extra : rebase_source : a8029599d50bfff6ca10cce73a35fb8854e868ab
2012-04-19 18:18:31 +12:00
Karl Tomlinson
8e4d4d77ac 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
5b8c01160e 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
5bc1b86567 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
24c9816342 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
9de2f09ddc 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
ba56663cd3 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
b3e0a494f4 Bug 731878 part.4 Set modifiers and buttons of nsMouseEvent on GTK r=karlt 2012-04-25 12:00:01 +09:00
Patrick Wong
30fd6e9e6a 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
6317aac66c 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
a986c13433 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
e73fd150d2 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
f9461360c8 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
956fad188e 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
7ecdbb6054 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
68970d9145 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
0885e3e508 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
b05d90bc1d 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
2c389fc4a8 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
b226e5e48a 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
ab51140cf9 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
457f40baba Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman
a89cec83c5 Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
5a08b70435 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
David Humphrey (:humph)
9534b79926 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Veeraya Pupatwibul
1bdf9d9923 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02:00
Martin Stransky
16430fc58b 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
384de9b74a bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett 2012-03-15 09:04:46 +00:00
Steven Michaud
e1f0184f34 Bug 730282 - Firefox crash @ mozilla::SignalTracerThread. r=ted.mielczarek. 2012-03-12 15:13:14 -05:00
Simon Montagu
e9e444f111 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
07de318a3c 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
77c85bb89f 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
ed8c31e129 Bug 729774 part.1 nsGtkIMModule should manage composition state more closely r=karlt 2012-03-09 13:27:51 +09:00
Matt Brubeck
3e24a1e507 Back out bug 373266 because of mochitest leaks 2012-03-07 17:15:57 -08:00
Jim Mathies
ee033658a9 Bug 373266 - base support for animated theme widgets to nsnativetheme. r=roc 2012-03-07 09:29:21 -06:00
Masayuki Nakano
7222cab3f0 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
bf2fe67ea8 Bug 630813 part.8 IsCtrlAltTab() should use KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
a02acd2525 Bug 630813 part.7 Implement IsKeyPressEventNecessary() in mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
bd5f4f0877 Bug 630813 part.6 nsKeyEvent should be initialized by mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
7d85817d65 Bug 630813 part.5 Move DOMKeyCodeToGdkKeyCode() and DOMKeyCodeToGdkKeyCode() into KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
2929a6b3f9 Bug 630813 part.4 Implement a modifier keys initializer for nsInputEvent r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
f33b45d5a0 Bug 630813 part.3 nsWindow::GetToggledKeyState() should use mozilla::widget::KeymapWrapper r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
48da2670b9 Bug 630813 part.2 Store native modifier key information r=karlt 2012-02-22 16:34:31 +09:00
Masayuki Nakano
4686c941fa 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
58cb765cfa Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Owen Taylor
0befb7239c Bug 721498 - Use remote timestamp when available for focus requests. r=karlt 2012-02-16 11:23:34 +01:00
Karl Tomlinson
8d5945b23d 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ý
f417e2e1a3 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
fef9cf6db3 Merge central to inbound 2012-02-08 09:24:40 +01:00
Karl Tomlinson
cf0f817506 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
cb7c3c2729 Bug 707382, merge nsIDOMDataTransfer and nsIDOMNSDataTransfer, r=jonas 2012-02-07 13:02:32 -05:00
Karl Tomlinson
a222e13b70 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
f3a9b9e189 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
5011a85d42 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
Karl Tomlinson
22f1f04c6b remove unused GdkWindow parameter to check_for_rollup b=500081 r=roc
--HG--
extra : transplant_source : y%A7%29%B9%26%DB%A9%A1%5E%0DGB%0D%D2JU%9Ep%18%90
2012-02-02 15:11:06 +13:00
Karl Tomlinson
87bba57d29 b=721762 don't startDragSession when invokeDragSession will fail r=enndeakin
--HG--
extra : transplant_source : f%A7%A13%B1%C1%5E%A2%3B%D2C%1F%AC%E5%A2%92%13G0%9B
2012-02-02 15:10:43 +13:00
Philipp Hartwig
34fa875878 Bug 512529 - Listen for changes in GDK_WINDOW_STATE_FULLSCREEN; r=karlt 2012-02-06 18:17:32 +00:00
Philipp Hartwig
d5632ee7d3 Bug 512529 - Prefer GDK_WINDOW_STATE_FULLSCREEN over GDK_WINDOW_STATE_MAXIMIZED; r=karlt 2012-02-06 18:17:32 +00:00