Commit Graph

5658 Commits

Author SHA1 Message Date
Timothy Nikkel
b548056d5c Bug 829886. Implement GetClientBounds for nsChildViews on Mac so that it returns correct values. r=smichaud
This has the side effect of making clicks on transformed select dropdowns to work.
2013-01-15 14:47:42 -06:00
Mats Palmgren
fb0276a247 Bug 786533 - On OSX, one of the system header files (exception_defines.h) defines 'try' and 'catch' as macros which breaks @try/@catch. We need to #undef those before using nsObjCExceptions.h. r=ehsan 2013-01-15 13:22:03 +01: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
Oleg Romashin
42987139b1 Bug 826979 - jsfriendapi.h conflict with qobjectdefs.h slots defines. r=glandium
--HG--
extra : rebase_source : d30852a09858b4f6d62fee627c0dc08ef765dcd8
2013-01-11 15:06:36 -08:00
Joe Drew
7cd0ffe2a8 Bug 829710 - Restore hardware-accleration check for 10.6.x, x <= 2, mistakenly removed in bug 598401. r=BenWa 2013-01-11 22:59:48 -05:00
David Zbarsky
ae40c85085 Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-12 16:53:01 -05:00
Trevor Saunders
942f22b38c no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Chris Peterson
34d009dfe8 Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08: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
Robert O'Callahan
57f402ecbb Bug 794246. Assume inactive menu items don't paint a background of their own. r=bas
--HG--
extra : rebase_source : 521565f2d399c5501fb705a55f52c917f19c4733
2013-01-08 00:06:11 +13:00
Ed Morley
3543eadcba Backout 7f4f96dbf94f (bug 827172), 661847c6e48b (bug 827724), 00e357dd1458 (bug 827149) to fix the build on a CLOSED TREE 2013-01-11 11:13:17 +00:00
David Zbarsky
b20442f721 Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz 2013-01-11 02:15:05 -05:00
Masayuki Nakano
2bd6ff1768 Bug 821329 Set charCode of keypress event when TextInputHandler::InsertText() is called without native key event r=smichaud 2013-01-11 12:30:12 +09:00
Kartikaya Gupta
513d67161a Bug 785597 - Allow the compositor to be registered earlier in the startup process and prevent creating multiple LayerManager instances. r=snorp 2013-01-10 11:21:10 -05:00
Kartikaya Gupta
a752c5511f Bug 826300 - Don't block on waiting for a valid surface when trying to resume the compositor; allow resuming to fail gracefully. r=snorp,BenWa 2013-01-10 11:21:10 -05:00
Diego Wilson
105835da4b Bug 810501: Get buffer offset from ThebesLayer when composing with hwc. r=cjones a=blocking-basecamp 2013-01-10 11:51:43 +01:00
Diego Wilson
ac06b64689 Bug 808339: HWC fallback on multirect layer. r=cjones a=blocking-basecamp 2013-01-09 18:18:13 +01:00
Jim Chen
d948f7e9cd Bug 827065 - Simplify selection update code and use new focus text update offsets; r=cpeterson 2013-01-09 11:57:48 -05:00
Trevor Saunders
4277a50380 bug 828234 - fix nsTextStore.cpp build on mingw r=masayuki 2013-01-09 09:41:58 -05:00
Diego Wilson
6eaf476191 Bug 810361: Handle ColorLayers with HwcComposer2D. r=cjones a=blocking-basecamp 2013-01-09 13:56:37 +01:00
Ehsan Akhgari
fb00d8ba4e Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Jim Mathies
906315714f Bug 785534 - Prep work for adding MetroWidget support to the TSF nsTextStore widget module, r=emk 2013-01-07 09:18:11 -06:00
Masayuki Nakano
e51aa84004 Bug 823904 Support edit actions of WM_APPCOMMAND such as Copy, Cut, Paste, Undo and Redo r=jimm 2013-01-07 23:21:21 +09:00
Ehsan Akhgari
7df39aa6c7 Merge mozilla-central into mozilla-inbound 2013-01-06 22:49:02 -05: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
Nicholas Nethercote
c4ce282f51 Bug 825150 - Remove const_casts by adding some const-ness to nsICommandLineRunner.init(). r=karlt, sr=bsmedberg.
--HG--
extra : rebase_source : 3b68c3467fa533442cdc5bcefdf7fbe6140e87a3
2013-01-03 13:52:32 -08: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
Steven Michaud
bd6bb3095c Bug 825734 - Plugins stop rendering when top half of plugin scrolled off top of page, in HiDPI mode. r=jfkthame 2013-01-04 16:39:22 -06:00
Marco Bonardo
857c57179f Bug 826115 - Remove noisy NS_ENSURE_TRUE(rollupWidget, false) from nsWindow.cpp
r=jimm
2013-01-04 17:42:34 +01:00
Vicamo Yang
ad217d87d0 Bug 820780 - Part 4/5: Android backend, r=blassey 2013-01-04 14:26:27 +08:00
Karl Tomlinson
2ec0741d48 back out 54501cee764e b=623380 2013-01-04 13:44:22 +13:00
Karl Tomlinson
413e323613 b=814200 remove unnecessary XSelectInput with XtAddEventHandler r=stransky
--HG--
extra : rebase_source : c5ab3dc7f89e78fb32e4e03b71a7aa91b97364e7
2013-01-04 12:37:08 +13:00
Karl Tomlinson
1f3fc2eca3 b=814200 listen only to necessary Xt events and be explicit about those events r=stransky
--HG--
extra : rebase_source : 9be042c06d9d3dd291bd0ec299dc0de853d096bf
2013-01-04 12:37:08 +13:00
Karl Tomlinson
542cae9df7 b=814200 don't redirect embedder socket window resize requests to Xt client r=stransky
--HG--
extra : rebase_source : 936d2fb8dbed72c064b158a106dde582b091454b
2013-01-04 12:37:08 +13:00
Karl Tomlinson
94dd990ddf b=814200 remove unused gtk_xtbin_set_position r=stransky
--HG--
extra : rebase_source : 7e86223d66a94e5668b5d49a05bf16e9a9825cf3
2013-01-04 12:37:02 +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
Robert O'Callahan
f9b9491b81 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Karl Tomlinson
f7ba3ba9ff b=623380 destroy XtClient child window on unrealize r=stransky
--HG--
extra : transplant_source : u%8A%02%E1%C5%96%16%21ica%9A%80%AF%A3e%16%0C%7Dy
2013-01-03 09:45:10 +13: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
Nicholas Nethercote
2e4cba0da3 Bug 825079 - Fix -Wint-to-pointer-cast warnings and remove trailing whitespace in nsBaseWidget.cpp. r=roc. 2013-01-01 14:38:48 -08:00
Nicholas Nethercote
1c8d094c0f Bug 824885 - Fix -Wdeprecated-writable-strings warnings in xremote code. r=karlt. 2012-12-26 21:57:57 -08:00
Jim Mathies
bf0ef59040 Bug 819888 - Check the result of nsBaseWidget::GetActiveRollupListener. r=enndeakin 2012-12-31 11:27:04 -06:00
Masayuki Nakano
01539357d9 Bug 825167 Use nsDependentSubstring instead of nsDependentString for nsTextStore::InsertTextAtSelection() since the string can be empty r=jimm 2012-12-31 09:33:49 +09:00