Commit Graph

220 Commits

Author SHA1 Message Date
Daniel Holbert
6047f5c282 Bug 835635: Cast ArrayLength() result to (signed) 'gint' type in #define for CUSTOM_VALUE_INDEX, since we compare it to gint values all over the place. r=karlt 2013-01-28 18:58:07 -08:00
Robert O'Callahan
05e24fd045 Bug 826817. Part 3: Remove will-send-did-paint flag from nsIWidgetListener::WillPaintWindow. r=tnikkel 2013-01-28 13:34:08 -06:00
Robert O'Callahan
d9789d372b Bug 826817. Part 2: Remove will-send-did-paint and did-send-will-paint flags from nsIWidgetListener::PaintWindow. r=tnikkel 2013-01-28 13:34:06 -06:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Ehsan Akhgari
597517a42f Backed out changeset 5af4c6bd5104 (bug 827075) because it is no longer necessary 2013-01-14 16:21:54 -05:00
Chris Peterson
e2f926db27 Bug 829344 - Part 2: Fix gcc -Wlogical-op warning in GTK2 widget code. r=karlt 2013-01-10 15:29:05 -08:00
Ehsan Akhgari
5c76c7d75d Bug 827075 - Implement the -moz-menubar color and make it return the correct background color on gtk; r=roc 2013-01-05 23:07:27 -05:00
Robert O'Callahan
8eb09029ac Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 7245e7c988a208471d8c860449ff7b06c29a4a52
2013-01-05 16:12:42 +13:00
Robert O'Callahan
85884b1a4b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
408fbe5931 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
e8c3b8e1be Bug 826632. Part 2: Use nsRefPtr<nsViewManager> instead of nsCOMPtr. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c9eabd54bb43d711a8c24222620abfdde674a1f7
2013-01-05 16:12:42 +13:00
Robert O'Callahan
b56cdd701e Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
Nicholas Nethercote
5862e573ef Bug 826158 - Fix two -Wself-assign warnings in widget/gtk2/. r=karlt.
--HG--
extra : rebase_source : cfbd0c5807e7b067a881583c6ac9f48b2848c021
2013-01-03 14:36:53 -08:00
Karl Tomlinson
a272e613db b=821749 remove unnecessary mTransientParent r=roc
--HG--
extra : transplant_source : %D9E%BD%F12%0E%B8U%EB%98%D3%B4%CD%D4%AC/%E5%A9%A6%05
2013-01-03 09:44:19 +13:00
Karl Tomlinson
e49a95aa47 b=821749 remove mWindowGroup, handled by gtk_window_set_transient_for r=roc
--HG--
extra : transplant_source : %AF%E2%D5_h%7B%2A%B2%BCQ%88%CD%1E%DEfq%E7%3B%3E%04
2013-01-03 09:44:12 +13:00
Karl Tomlinson
ec0bdbbe62 b=821749 remove code to give transient-for-none dialogs a separate ICCCM group leader r=roc
This reverts the change for bug 194323, which is now no longer necessary.
Removing this means that the GtkWindow is realized with its event mask set and
oxygen-gtk knows to keep out of our way.

--HG--
extra : transplant_source : %81%A4%C3o%A7%EF%91y%B8%E2%B1%FE%A9%F3v/%0A%CF%2A-
2013-01-03 09:44:06 +13:00
Jim Mathies
bf0ef59040 Bug 819888 - Check the result of nsBaseWidget::GetActiveRollupListener. r=enndeakin 2012-12-31 11:27:04 -06:00
Nicholas Nethercote
df43bc1128 Bug 824397 - Use NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID(foo) instead of NS_ENSURE_{TRUE,FALSE,SUCCESS}(foo, ). r=derf. 2012-12-23 20:45:57 -08:00
Markus Stange
89d149fbcf Bug 766883 - Don't abort during shutdown when SignalTracerThread is called twice before FireAndWaitForTracerEvent notices; r=ted DONTBUILD
CLOSED TREE
2012-12-21 16:11:24 +00:00
Ed Morley
4e06d10e6f Backout 913296ba049f (bug 766883) since no author was set
CLOSED TREE
2012-12-21 16:09:52 +00:00
Ed Morley
283ed61bcc Bug 766883 - Don't abort during shutdown when SignalTracerThread is called twice before FireAndWaitForTracerEvent notices; r=ted 2012-12-21 16:01:51 +00:00
Joe Drew
d070cfdc5f Bug 716140 - Convert the XPCOM imgIDecoderObserver interface into a private C++ interface, imgDecoderObserver, so we can more easily make changes to it. r=jrmuizel 2012-12-18 11:37:15 -05:00
Masayuki Nakano
e26d8738b2 Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug 2012-12-16 10:26:04 +09:00
Timothy Nikkel
4f9b3f73f8 Bug 805745. WillPaint notification can flush, so re-get the listener after it on GTK2 widget backend. r=karlt 2012-12-12 15:57:08 -06:00
Jonathan Kew
aa8404a74a bug 819725 pt 1 - make widget move & resize methods take floating-point parameters, to allow passing fractional coordinates without rounding. r=roc 2012-12-12 09:57:38 +00:00
Masayuki Nakano
fd0b4af925 Bug 769159 Handle GDK_Shift_Lock as Shift key on GTK r=karlt 2012-12-07 10:06:17 +09:00
Trevor Saunders
580ff17032 bug 817133 - move platform init and shutdown stuff out of nsAccessNodeWrap and ApplicationAccessibleWrap static methods r=surkov 2012-12-01 19:58:25 -05:00
Mats Palmgren
60ccae9fe3 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Karl Tomlinson
2a37cefc14 b=813997 keep window max size to 16 bits r=roc
--HG--
extra : transplant_source : %DB%AA%25%1A6%B8%8F%23%EF%F3%F8%AD%14%C3%B6%87%BE0%D8i
2012-11-28 11:07:11 +13:00
Masayuki Nakano
8e62585dc6 Bug 769548 Support ISO_Level5_Shift as DOM AltGr r=karlt 2012-12-01 18:04:38 +09:00
Alexander Surkov
681c1939e2 Bug 812466 - namespacify Accessible classes, r=tbsaunde 2012-11-18 11:01:44 +09:00
Karl Tomlinson
49def0fe36 b=808114 don't hide mContainer in toplevels, to keep a focus widget for grabs r=roc
--HG--
extra : transplant_source : %8F%FC%95%EEa0%F0%08%A7Yi%80%C0b%06%BE%3Dg%DEY
2012-11-14 23:22:07 -08:00
Karl Tomlinson
f779bed777 b=798157 use ARGB visuals only for popups that will be translucent r=roc
--HG--
extra : transplant_source : %87%9FFG%FA%9E%1D%12i%1C%B9%93%E5%F4%85%C8s%02%7B7
2012-11-13 18:04:42 -08:00
Todd Whiteman
f8382cceca b=809601 correct drag and drop event coords when over child windows r=karlt
--HG--
extra : transplant_source : %FD%BBAYt%96G%D5_%1C%F4D%8F_%40%2C%E6%DA%60%7C
2012-11-13 18:03:01 -08:00
Masayuki Nakano
0f83ed44e6 Bug 805767 part.3 Remove hack for bug 496360 r=roc 2012-11-13 22:04:45 +09:00
Karl Tomlinson
a5edb2d76f b=808873 restore null check on gFocusWindow accidentally dropped in dfe49308dc99 r=trivial
--HG--
extra : transplant_source : n5S%82%B8n%18h%FD%86%A4%D9%19%96%D1%29%20%02%0D%CE
2012-11-07 18:05:01 +13:00
Karl Tomlinson
3c9b8dc8ba b=806583 remove unnecessary extra space added for textfield/entry in 1556064f1c20 r=mattwoodrow
--HG--
extra : transplant_source : %D4%A1%80%A3%C6%DD%21%E7%3D4%EC%7B%7E%10%A0%98%F9%D5%CCu
2012-11-07 10:52:36 +13:00
Karl Tomlinson
3047830763 b=806583 don't draw the entry background outside its widget r=roc
--HG--
extra : transplant_source : %1D1%E5x6%22%C2%9A%1E%B5%A6%81%1E%B0%B5%BF%D8J%13k
2012-11-07 10:52:36 +13:00
Karl Tomlinson
c553a32f09 b=808873 return toplevel GtkWidget for NS_NATIVE_SHELLWIDGET and use it r=roc
--HG--
extra : transplant_source : _gK%D6%5D%96%1A%3A%3A%21j%40E%09%FF%84%D3%8F%C6%A5
2012-11-07 10:50:37 +13:00
Olivier Langlois
6cf7e7fde6 b=805529 wake up for Gecko events even in a nested event loop r=karlt
--HG--
extra : transplant_source : %D2%AF%8B%EFm%9E%7B%999%231%DF%A8%CD%3FW%B8%908j
2012-11-02 12:29:20 +13:00
Karl Tomlinson
b2a7ad7d3b b=746775 log CaptureRollupEvents parameters r=roc
--HG--
extra : transplant_source : %1F%2A-h%A1%B4C%8FsnH%02L%DD%B0%25%AE%B5%22%9F
2012-10-31 15:44:46 +13:00
Karl Tomlinson
9f9868640e Bug 707623 - gtk_grab_add(mShell) instead of (mContainer) to avoid double key event dispatch r=roc, feedback=mconley. 2012-10-30 11:49:10 -04:00
Nathan Froyd
bd55a07f0e Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Phil Ringnalda
278263cb2f Merge m-c to m-i 2012-10-29 14:37:11 -07:00
Ian Neal
22b3a4928f Bug 805753 - Gtk 2.10 compat layer misses gtk_widget_set_has_window r=roc 2012-10-28 22:13:50 +00:00
Masayuki Nakano
458de7a8e2 Bug 801989 part.3 Set InputContext::mNativeIMEContext on Linux r=karlt 2012-10-27 08:35:21 +09:00
Neil Deakin
c56bc18541 Bug 701760, merge <select> and popup manager rollup handling, so that select elements don't cancel out any popup rollup listeners, r=mats 2012-10-26 09:15:22 -04:00
Karl Tomlinson
71316ceb81 b=793501 attach DocumentViewer to top GTK widget r=roc
--HG--
extra : transplant_source : F%94%EC%07%23%7B2L%BCr%28%C5%088%06%FD%CD%9A%BAe
2012-10-23 11:46:45 +13:00
Karl Tomlinson
901b0f8955 b=793501 invalidate new regions of even toplevel resized windows r=roc
--HG--
extra : transplant_source : %F1%A6%EDiKo%13%8D%8B%F5%7E%F9%2A%D2%D6%AC_%CA%ED%90
2012-10-23 11:40:50 +13:00