Граф коммитов

1432 Коммитов

Автор SHA1 Сообщение Дата
Josh Aas bccb923488 Bug 1204284: Show paper size options in OS X print dialog. r=smichaud 2015-09-15 15:40:44 -05:00
Markus Stange f057a6682b Bug 1204620 - Don't prepend 'image.' to CUIDraw image names on 10.11. r=stefanh
--HG--
extra : commitid : KEA0Qq16CNf
extra : rebase_source : 952d520ea545f890c1a467d62b9ca6dce3c864dd
2015-09-15 16:31:06 +02:00
Masayuki Nakano a32fa2bbf6 Bug 895274 part.268 Rename NS_SIMPLE_GESTURE_SWIPE_MAY_START to eSwipeGestureMayStart r=smaug 2015-09-15 00:14:38 +09:00
Masayuki Nakano 01d0c1e4f6 Bug 895274 part.267 Rename NS_SIMPLE_GESTURE_SWIPE_START to eSwipeGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano a56b1685be Bug 895274 part.266 Rename NS_SIMPLE_GESTURE_SWIPE_UPDATE to eSwipeGestureUpdate r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano 4b0c36bc75 Bug 895274 part.265 Rename NS_SIMPLE_GESTURE_SWIPE_END to eSwipeGestureEnd r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano 8589cee2fb Bug 895274 part.264 Rename NS_SIMPLE_GESTURE_SWIPE to eSwipeGesture r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano 392c27e8be Bug 895274 part.263 Rename NS_SIMPLE_GESTURE_MAGNIFY_START to eMagnifyGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano ff1973548a Bug 895274 part.262 Rename NS_SIMPLE_GESTURE_MAGNIFY_UPDATE to eMagnifyGestureUpdate r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano 4afa8d0be3 Bug 895274 part.261 Rename NS_SIMPLE_GESTURE_MAGNIFY to eMagnifyGesture r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano 7336c96a8a Bug 895274 part.260 Rename NS_SIMPLE_GESTURE_ROTATE_START to eRotateGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano d80c30a345 Bug 895274 part.259 Rename NS_SIMPLE_GESTURE_ROTATE_UPDATE to eRotateGestureUpdate r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano f0f85cbe58 Bug 895274 part.258 Rename NS_SIMPLE_GESTURE_ROTATE to eRotateGesture r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano e680fa88d1 Bug 895274 part.257 Rename NS_SIMPLE_GESTURE_TAP to eTapGesture r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano 888b2103ea Bug 895274 part.194 Rename NS_COMPOSITION_COMMIT to eCompositionCommit r=smaug 2015-09-11 21:21:27 +09:00
Masayuki Nakano ed4dac1ca6 Bug 895274 part.193 Rename NS_COMPOSITION_CHANGE to eCompositionChange r=smaug 2015-09-11 21:21:27 +09:00
Masayuki Nakano 0f2bfad9b1 Bug 895274 part.190 Rename NS_COMPOSITION_START to eCompositionStart r=smaug 2015-09-11 21:21:27 +09:00
Masayuki Nakano 966f685af3 Bug 895274 part.188 Rename NS_COMPOSITION_COMMIT_AS_IS to eCompositionCommitAsIs r=smaug 2015-09-11 21:21:26 +09:00
Masayuki Nakano 1d6a202900 Bug 895274 part.187 Rename NS_QUERY_TEXT_RECT to eQueryTextRect r=smaug 2015-09-11 21:21:26 +09:00
Masayuki Nakano 94be7ec146 Bug 895274 part.186 Rename NS_WHEEL_END to eWheelOperationEnd r=smaug 2015-09-11 01:59:55 +09:00
Masayuki Nakano 5dac954442 Bug 895274 part.185 Rename NS_WHEEL_START to eWheelOperationStart r=smaug 2015-09-11 01:59:55 +09:00
Masayuki Nakano 6b885d1496 Bug 895274 part.184 Rename NS_WHEEL_WHEEL to eWheel r=smaug 2015-09-11 01:59:54 +09:00
Masayuki Nakano 0ac2124d50 Bug 895274 part.166 Rename NS_CONTENT_COMMAND_DELETE to eContentCommandDelete r=smaug 2015-09-11 01:59:52 +09:00
Masayuki Nakano 211fb44cc8 Bug 895274 part.162 Rename NS_CONTENT_COMMAND_PASTE_TRANSFERABLE to eContentCommandPasteTransferable r=smaug 2015-09-11 01:59:52 +09:00
Masayuki Nakano 26489b9f11 Bug 895274 part.157 Rename NS_QUERY_CHARACTER_AT_POINT to eQueryCharacterAtPoint r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano b9be65c10e Bug 895274 part.156 Rename NS_QUERY_CONTENT_STATE to eQueryContentState r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano 4a34ce078a Bug 895274 part.154 Rename NS_QUERY_CARET_RECT to eQueryCaretRect r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano e463292274 Bug 895274 part.153 Rename NS_QUERY_TEXT_CONTENT to eQueryTextContent r=smaug 2015-09-10 10:40:05 +09:00
Masayuki Nakano a8fd5ffc76 Bug 895274 part.152 Rename NS_QUERY_SELECTED_TEXT to eQuerySelectedText r=smaug 2015-09-10 10:40:05 +09:00
Masayuki Nakano 07dbf0fd06 Bug 895274 part.151 Rename NS_QUERY_SELECTION_AS_TRANSFERABLE to eQuerySelectionAsTransferable r=smaug 2015-09-10 10:40:05 +09:00
Markus Stange 5065eb9638 Bug 1187680 - Use NSVisualEffectMaterialMenu for menus if it's available. r=smichaud
--HG--
extra : rebase_source : a18253301999879bbc9acb613f880a356c6dbe16
2015-09-09 19:08:25 -04:00
Steven Michaud f32b603c02 Bug 1187613 - Error: cannot initialize a variable of type 'const CGEventField' with an rvalue of type 'int' if build with 10.11 SDK. r=spohl 2015-09-09 17:07:29 -05:00
Masayuki Nakano d177b04a17 Bug 895274 part.145 Rename NS_SELECTION_SET to eSetSelection r=smaug 2015-09-08 23:33:38 +09:00
Masayuki Nakano 570f51e31c Bug 895274 part.90 Rename NS_XUL_POPUP_HIDDEN to eXULPopupHidden r=smaug 2015-09-04 19:54:11 +09:00
Masayuki Nakano aeb3dbedf5 Bug 895274 part.89 Rename NS_XUL_POPUP_HIDING to eXULPopupHiding r=smaug 2015-09-04 19:54:11 +09:00
Masayuki Nakano 56f538bc5a Bug 895274 part.88 Rename NS_XUL_POPUP_SHOWN to eXULPopupShown r=smaug 2015-09-04 19:54:11 +09:00
Masayuki Nakano 930dfd9c08 Bug 895274 part.87 Rename NS_XUL_POPUP_SHOWING to eXULPopupShowing r=smaug 2015-09-04 19:54:11 +09:00
Wes Kocher f0e6213738 Backed out changeset 2e731191c692 (bug 1189565) for causing bug 1201053
a=backout
2015-09-02 12:34:02 -07:00
Masayuki Nakano 3394edcb4a Bug 895274 part.83 Rename NS_DRAGDROP_EXIT to eDragExit r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano a07c726a8f Bug 895274 part.82 Rename NS_DRAGDROP_ENTER to eDragEnter r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano 811d0fac7e Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano 90a5ee8540 Bug 895274 part.80 Rename NS_DRAGDROP_DRAG to eDrag r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano 7b7a44a5ac Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug 2015-09-02 15:08:01 +09:00
Steven Michaud 4431c47e10 Bug 1148196 - Crashes at -[ChildView keyDown:] related to secure input. r=masayuki 2015-09-01 13:56:23 -05:00
Jonathan Watt 482c9260b1 Bug 1199336 - Fix jank/hangs dragging files into the browser due to O(n^2) behavior in the Cocoa widget drag-and-drop code. r=mstange
--HG--
extra : rebase_source : 6d2eab089040dd5dcbafd313f3292e3cc2f4d467
2015-08-12 15:07:32 +01:00
Masayuki Nakano cafe2dfc67 Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug 2015-09-01 00:20:06 +09:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Markus Stange d1afc73357 Bug 1016035 - Swallow the rest of the scroll gesture after swiping without APZ. r=kats
With APZ this is handled because starting a swipe interrupts the PanGesture input block, and momentum events don't start a new input block so APZ ignores them.

--HG--
extra : commitid : 83ArxgT5QUT
extra : rebase_source : afccf434dc0e309f972ff9851efc018374f0f5f6
2015-08-27 00:23:09 -04:00
Markus Stange 2705f93fbd Bug 1016035 - Don't wait for content to say that we need to swipe if APZ has enough information. r=kats
--HG--
extra : commitid : CUZqiDbltTx
extra : rebase_source : 90fb8cf0023177b7bb98ff93c5667c8dbc153f29
2015-08-28 16:50:00 -04:00
Markus Stange aa7c0f00b2 Bug 1016035 - Replay the queue to the swipe tracker once the swipe start confirmation arrives. r=kats
--HG--
extra : commitid : FEp3mcc2uy4
extra : rebase_source : bbdb018989c8c6933530e3d80b893622959e61d5
2015-08-08 20:05:18 -04:00
Markus Stange 56ebd83e96 Bug 1016035 - Put PanGestureInput events into a queue if they can end up as a swipe. r=kats
--HG--
extra : commitid : 9kUjH20aBKE
extra : rebase_source : a26b7d73455c8aa7c7cbc09a5851f96115ccce54
2015-08-12 00:15:32 -04:00
Markus Stange 49c4d7a190 Bug 1016035 - Delay the processing of a PanGestureInput block until we know whether it's a swipe. r=kats
--HG--
extra : commitid : 5utp02GzYAW
extra : rebase_source : 4415c7ac8fd3a8dbb718593bee63e89e8ba1625c
2015-08-12 00:11:54 -04:00
Markus Stange cb47c7a8c0 Bug 1016035 - Also mark widgetWheelEvents that are handled by APZ with mCanStartSwipe. r=kats
--HG--
extra : commitid : FJh4FS3u6ZW
extra : rebase_source : b807f93b640a9196df7bdc9e85e9f2755d63cf58
2015-08-28 00:04:53 -04:00
Markus Stange ec85d9a195 Bug 1016035 - Add mCanTriggerSwipe and TriggersSwipe(). r=masayuki
--HG--
extra : commitid : KgRjAfDWA22
extra : rebase_source : ed49b589a78b704df55259e87f646ce6002c995f
2015-08-27 23:50:31 -04:00
Markus Stange cf1dda7e99 Bug 1016035 - Send MayStartSwipe event before sending the wheel event. r=kats
--HG--
extra : commitid : 7pVl7ofWdlj
extra : rebase_source : bab80612fcb30fea78e7de7c76d67953bbac0822
2015-08-08 18:31:58 -04:00
Markus Stange e375d1773a Bug 1016035 - Split up MaybeTrackScrollEventAsSwipe into SendMayStartSwipe and TrackScrollEventAsSwipe. r=kats
--HG--
extra : commitid : LBN6rl9h8ew
extra : rebase_source : 5cdece260979a605a0ba960fe86a06b671b799ab
2015-08-11 23:12:57 -04:00
Markus Stange b71fa67c2b Bug 1016035 - Move swipe tracking code into DispatchAPZWheelInputEvent. r=kats
--HG--
extra : commitid : IDeP95GZzE9
extra : rebase_source : 66e0d989246455b9df6a2e48426b67fe72be6be0
2015-08-28 17:30:16 -04:00
Markus Stange 0441fca5af Bug 1016035 - Add a MozSwipeGestureMayStart event. r=kats
Having this event means that we don't have to wait for content to find out whether it's scrollable in the case that no swipe should be happening anyway.

IGNORE IDL because I'm only changing comments in the IDL files.

--HG--
extra : commitid : 22814fSLcIz
extra : rebase_source : e51b4db26333275c9bcb3fd7fece78b7d3653275
2015-08-27 15:06:21 -04:00
Markus Stange 0297e0ac04 Bug 1016035 - Implement the swipe animation ourselves instead of calling the NSEvent trackSwipe API. r=kats
--HG--
extra : commitid : 6RIOdEHnpgW
extra : rebase_source : e081714c029e41b1deb32e35ae065091a2086125
2015-08-27 16:07:59 -04:00
Markus Stange 643a50d406 Bug 1016035 - More swipe refactoring. r=kats
--HG--
extra : commitid : 8pS1g6YKTdm
extra : rebase_source : 79582bf4edd8824fcdcff09e4a9b704903dd228f
2015-07-23 15:17:28 -04:00
Markus Stange d3135653b2 Bug 1016035 - Refactor the code that decides whether we want to start a swipe. r=kats
--HG--
extra : commitid : GQpV4B2tl5F
extra : rebase_source : 3ed119a441be0b099c5f7aaad1d054e2aa467a08
2015-08-27 14:20:56 -04:00
Markus Stange c7f4a3e9d9 Bug 1016035 - Move some code around. r=kats
--HG--
extra : commitid : KEdRAC1nkQO
extra : rebase_source : 5fafa346f57d28d1efea2e159ac243e2f337542c
2015-08-27 14:19:15 -04:00
Markus Stange da38b57964 Bug 1016035 - Remove the ability to swipe vertically. r=kats
This was intended for a snapshot-based overscroll animation which we're not going to use because APZ solves the same problem in a much better way.

--HG--
extra : commitid : BlfYHzREaWB
extra : rebase_source : c2b503dc9ed3b9a49ebb9626447dfedc627d1b4f
2015-07-23 13:09:13 -04:00
Xidorn Quan f46a93871a Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc
--HG--
extra : source : cf438b9cb26ae512f792f075e4e22537ad6a38a7
2015-08-29 11:12:41 +10:00
Masayuki Nakano d9d97897f4 Bug 895274 part.32 Rename NS_MOUSE_ACTIVATE to eMouseActivate r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano bd4bf17fbd Bug 895274 part.29 Rename NS_MOUSE_EXIT_WIDGET to eMouseExitFromWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano 9895f90eca Bug 895274 part.28 Rename NS_MOUSE_ENTER_WIDGET to eMouseEnterIntoWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano db00b74a82 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 30fdd39afb Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano 717c415187 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano ba5b3f3fe6 Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano 28c9f34179 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano d311a11cc1 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Steven Michaud 1bd07d55cd Bug 1189565 - Send resize events when backing scale factor changes. r=mstange 2015-08-28 15:48:04 -05:00
Steven Michaud e6368a182e Bug 1131473 - crash in -[NativeMenuItemTarget menuItemHit:]. r=spohl 2015-08-27 15:54:15 -05:00
Ryan VanderMeulen b26f120d60 Backed out changeset 55bea2798c68 (bug 1131473) for OSX crashes.
CLOSED TREE

--HG--
extra : amend_source : c5e1c3b3d535171fb6b69df6b1bfc76214f63966
2015-08-27 15:04:30 -04:00
Steven Michaud af158ce71a Bug 1131473 - crash in -[NativeMenuItemTarget menuItemHit:]. r=spohl 2015-08-27 12:01:56 -05:00
Benoit Girard 3993946636 Bug 1186662 - Part 2: Suppress the Displayport during active resize on mac. r=mstange
--HG--
extra : commitid : 1zwlHIxhhH3
extra : rebase_source : ed1104473af2a24b077eb940d03d6b90997d4e63
2015-08-26 12:59:17 -04:00
Markus Stange 77bd23e207 Bug 1193062 - Make nsChildView send PanGestureInput events into APZ. r=kats, r=smichaud
--HG--
extra : commitid : 5mHVPwAeh44
extra : rebase_source : 27e9d500176eef2f737ffadd77a8e7478df00c0f
extra : histedit_source : 1ceeefd9e1be3fddd7d504b44e140f50c43750e2
2015-08-23 19:50:29 -04:00
Markus Stange 19714849c8 Bug 1193062 - Give synthesized NSEvents a timestamp that is in the right space. r=smichaud
NSEvent timestamps are relative to the system start time, not to the reference date.

--HG--
extra : commitid : shDNTICmQP
extra : rebase_source : 2f45dc0e8acc83d5c7379554dfdd6090af694c89
extra : histedit_source : 75add13c0cbcafdafb14e052edea67bd4a0317e2
2015-08-10 13:59:16 -04:00
Markus Stange b00a4d2055 Bug 1193062 - Add nsCocoaUtils::ModifiersForEvent. r=smichaud
--HG--
extra : commitid : 8Aar2flB2na
extra : rebase_source : ba35da1d8d1fca49d98b8bc89b507d0105fe43db
extra : histedit_source : bb55f824f1a227a24b82eaf47c79175849649416
2015-07-21 18:41:08 -04:00
Masayuki Nakano 0d22745cda Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Steven Michaud d59e2ac8dc Bug 1181977 - Firefox app menu contains only "Quit" in certain edgecases. r=spohl 2015-08-24 10:57:02 -05:00
Masayuki Nakano 66f2c27305 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Chris Manchester f2dcab6039 Bug 1131325 - Move system country code from nsIGfxInfo2 to a more appropriate location. r=aklotz,smichaud
--HG--
extra : commitid : Jglg9X6ykB1
2015-07-28 15:45:34 -07:00
Matt Woodrow 25534f83f5 Bug 1193977 - Bind the texture unit we want to use when compositing the OSX titlebar. r=jrmuizel 2015-08-13 15:59:57 -04:00
Nick Robson 49e872dc7e Bug 1075089 - Move popup menu frame offset to LookAndFeel and fix default offset for OS X. r=Enn
--HG--
extra : rebase_source : 7817fea6ea95e9dfc486f797114e1cfb778d5230
2015-08-04 16:41:00 -04:00
Kyle Huey 76e3009ab8 Bug 1179909: Refactor stable state handling. r=smaug
This is motivated by three separate but related problems:

1. Our concept of recursion depth is broken for things that run from AfterProcessNextEvent observers (e.g. Promises). We decrement the recursionDepth counter before firing observers, so a Promise callback running at the lowest event loop depth has a recursion depth of 0 (whereas a regular nsIRunnable would be 1). This is a problem because it's impossible to distinguish a Promise running after a sync XHR's onreadystatechange handler from a top-level event (since the former runs with depth 2 - 1 = 1, and the latter runs with just 1).

2. The nsIThreadObserver mechanism that is used by a lot of code to run "after" the current event is a poor fit for anything that runs script. First, the order the observers fire in is the order they were added, not anything fixed by spec. Additionally, running script can cause the event loop to spin, which is a big source of pain here (bholley has some nasty bug caused by this).

3. We run Promises from different points in the code for workers and main thread. The latter runs from XPConnect's nsIThreadObserver callbacks, while the former runs from a hardcoded call to run Promises in the worker event loop. What workers do is particularly problematic because it means we can't get the right recursion depth no matter what we do to nsThread.

The solve this, this patch does the following:

1. Consolidate some handling of microtasks and all handling of stable state from appshell and WorkerPrivate into CycleCollectedJSRuntime.
2. Make the recursionDepth counter only available to CycleCollectedJSRuntime (and its consumers) and remove it from the nsIThreadInternal and nsIThreadObserver APIs.
3. Adjust the recursionDepth counter so that microtasks run with the recursionDepth of the task they are associated with.
4. Introduce the concept of metastable state to replace appshell's RunBeforeNextEvent. Metastable state is reached after every microtask or task is completed. This provides the semantics that bent and I want for IndexedDB, where transactions autocommit at the end of a microtask and do not "spill" from one microtask into a subsequent microtask. This differs from appshell's RunBeforeNextEvent in two ways:
a) It fires between microtasks, which was the motivation for starting this.
b) It no longer ensures that we're at the same event loop depth in the native event queue. bent decided we don't care about this.
5. Reorder stable state to happen after microtasks such as Promises, per HTML. Right now we call the regular thread observers, including appshell, before the main thread observer (XPConnect), so stable state tasks happen before microtasks.
2015-08-11 06:10:46 -07:00
Xidorn Quan 815ed861e5 Bug 1188322 - Always hide menubar as well as dock for fullscreen on OS X whatever the screen is. r=mstange
--HG--
extra : source : 9beba24463ba85ab0ca12d0c80786a9d7915f208
2015-08-07 13:49:12 +10:00
Xidorn Quan 7237b2a3ff Bug 1190669 part 4 - Force stop transition animation when the cocoa window gets destroyed. r=smichaud
--HG--
extra : source : 5060b641eec39b1c02d1d15fb949c13e09bfab5a
2015-08-06 15:37:48 +10:00
Xidorn Quan 3b13439b32 Bug 1191112 part 2 - Set the destroyed flag on nsCocoaWindow when destroyed. r=smichaud
--HG--
extra : source : d06d4277d3b203f2053c2aadaed7e5beb801023f
2015-08-06 15:37:48 +10:00
Robert O'Callahan efd3df82d6 Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv
--HG--
extra : commitid : 8C2GnpowyCS
extra : rebase_source : 3f2948df48fe13f65425345f7b674e4e4869c861
2015-07-25 18:05:19 +12:00
Robert O'Callahan 1e49288224 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
--HG--
extra : commitid : CYjyQn3BAqb
extra : rebase_source : ef153c7cf1e08a058d8de6a76dbe7dc343a299fb
2015-07-25 18:01:19 +12:00
Xidorn Quan 13a6670d6d Bug 1173930 - Not invoke FullscreenChange callback on OS X if state is not changed. r=smichaud
--HG--
extra : source : 7d61c973225d4f65b4bb7e3c0eec584b98f16bf5
2015-08-01 10:49:19 +10:00
Carsten "Tomcat" Book 060e1dcfe0 Backed out changeset 7edc58c272f1 (bug 1075089) for causing OS X 10.6 marionette failures in test_single_finger_desktop.py testSingleFingerMouse.test_double_tap on a CLOSED TREE 2015-07-31 14:49:40 +02:00
Nick Robson 58f8aa5dac Bug 1075089 - Moved popup menu frame offset to LookAndFeel, fixed default offset for OS X. r=enn 2015-07-30 15:00:00 +02:00
Steven Michaud bfedf00a51 Bug 1188425 - Add a pref to allow insecure text input, thereby avoiding crashes at [ChildView keyDown:] in non-release builds. r=spohl 2015-07-29 16:31:14 -05:00
Steven Michaud 09ad196ba3 Bug 1186158 - Receive notifications of sandbox violations in the browser on OS X. r=spohl 2015-07-28 15:19:55 -05:00
Ryan VanderMeulen 0b120e2884 Backed out changeset 4fd14cf6b415 (bug 1186158) for OSX Werror bustage. 2015-07-27 15:21:52 -04:00
Steven Michaud 36ac32cb02 Bug 1186158 - Receive notifications of sandbox violations in the browser on OS X. r=spohl 2015-07-27 13:56:08 -05:00
Mike Conley 1bf92545fc Bug 1181630 - Do not fail out if there are no registered printers when printing with e10s on OS X. r=mstange.
We were being overly cautious, and returning NS_ERROR_FAILURE if the printer name passed
up from the content process didn't map to an existing system printer.

The problem with that is that sometimes there are no registered printers. In that case,
we just need to not set the printer in the NSPrintInfo.

So in the event that we cannot find a printer with the name that the child sent up, we
just leave the printer and printer name fields on the NSPrintInfo blank.

--HG--
extra : commitid : 6N6PJq4K50q
extra : rebase_source : 733c9fac76747bc2a0b177d7b1688e4b673b0e4d
extra : amend_source : 3acf505a51930a5ab951028edeadb12352d024cb
2015-07-22 14:21:39 -04:00
Xidorn Quan 76b36e0a05 Bug 1160014 part 5 - Implement fullscreen transition on Mac. r=smichaud
--HG--
extra : source : 3ff3e6db3475b98f9b873d01f70f6b12bce1d44d
2015-07-24 09:45:00 +10:00
Mike Conley 5c962df450 Bug 1180878 - Do not re-escape NSPrintJobSavingURLs when deserializing in the content process. r=mstange
We assume that when an NSURL has been serialized to PrintData, that it has already
been percent encoded. This means that we don't need to re-percent encode it when
we deserialize.

--HG--
extra : commitid : 7Xx00BDxmFk
extra : rebase_source : 03a016ea5f40484c6e357cf940577d4d975d3d3b
extra : amend_source : 2d276f22c295fca2a1a60ce5085f1d71d24ba13a
2015-07-22 13:40:28 -04:00
Masayuki Nakano 7cf5ee93fa Bug 1184449 part.3 Fix the bustage of Mac OS X r=myself 2015-07-22 13:28:23 +09:00
Wes Kocher bfc64f1ef6 Backed out changeset 039f3d0c6e62 (bug 1160014) (Mac part) for build failures CLOSED TREE 2015-07-21 16:23:56 -07:00
Xidorn Quan 97157de841 Bug 1160014 part 5 - Implement fullscreen transition on Mac. r=smichaud
--HG--
extra : source : 3f1a0e753e1c84c11012c78e11d0f323992f2621
2015-07-22 09:07:46 +10:00
Makoto Kato f22b71f788 Bug 1167105 - Part 2. Improve OnSelectionChange implementation. r=masayuki 2015-07-21 21:47:54 +09:00
Makoto Kato 89466de2cb Bug 1167105 - Part 1. Set temporary range until OnSelectionChange is called. r=masayuki 2015-07-21 21:47:32 +09:00
David Anderson 65475c97d0 Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 43cdb0e1b5d464f8d6a0cc7a0b2e36d1b34e8595
2015-07-16 15:18:05 -07:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Nicolas Silva 1669cfdfef Bug 1180688 - Detect whether the widget will be able to present frames with BasicCompositor on Mac. r=mstange 2015-07-13 16:46:48 +02:00
Xidorn Quan de00198603 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.

--HG--
extra : source : 54a8b3b7351af89049825598891fd3a1f98d18af
2015-07-13 20:44:36 +10:00
Xidorn Quan 10e83b5fc9 Bug 1160014 part 0 - Avoid explicitly mentioning DOM Fullscreen concept in widget part. r=roc
--HG--
extra : source : 6651318bdcd66daa7f3fff2dc53373ecae4761f1
2015-07-13 20:44:36 +10:00
David Anderson c706cc9338 Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange) 2015-07-13 01:12:44 -07:00
Nigel Babu 64f3815bd7 Backed out 4 changesets (bug 1160014) for M2 bustages CLOSED TREE
Backed out changeset 87b00a9dac95 (bug 1160014)
Backed out changeset d4fa5c794e08 (bug 1160014)
Backed out changeset fca26897d534 (bug 1160014)
Backed out changeset b0b7f4f09ed2 (bug 1160014)
2015-07-11 10:49:25 +05:30
Mike Conley 3e390227e6 Bug 1158798 - Properly initialize the LookAndFeel cache in the child. r=mstange.
The old code was just flat-out wrong. The IPDL for getting the LookAndFeel
cache from the parent during child process initialization was passing an
array it wanted to be populated as an argument, rather than using a return
value.

--HG--
extra : commitid : 2baQu56XHdn
extra : rebase_source : 7c45ecafa2ef6adb05bc753e87e354b136030958
extra : amend_source : 7b72c17d964e8b60c7c75a09ae38a28f60985583
2015-07-10 17:11:59 -04:00
Xidorn Quan 09d4d46e81 Bug 1160014 part 1 - Implement common part of fullscreen transition. r=roc,smaug,dao
This patch implements the code which is shared by all platforms for
fullscreen transition.

It adds two prefs for the duration of fullscreen transition. They can
also be used to completely suppress the transition.

In addition, this patch uses the newly added prefs to suppress the
transition in all tests which use the DOM fullscreen.

--HG--
extra : source : a64f71ea9ceb37acbbfc4e4023880fb244daa738
2015-07-11 10:08:59 +10:00
Carsten "Tomcat" Book 7b8c1b99eb Backed out changeset 9fac75be77b7 (bug 1175005) 2015-07-10 08:39:38 +02:00
David Anderson fae0692976 Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange)
--HG--
extra : rebase_source : 43ed0dba6b9404fbf7f0d3c409c8ac5f53d0e976
2015-06-17 23:12:06 -07:00
Josh Aas 69f61baa5c Bug 1180564: Pref off NSTextInput protocol methods in anticipation of removing them. Also re-organize them so they're all in one spot and fix an unrelated warning. r=masayuki 2015-07-09 10:11:22 -05:00
Joel Maher eba084d3dc bug 1175005: performance regression. backout_44b74f0b7e1d 2015-07-09 11:48:27 +01:00
Markus Stange 7b6776e2d3 Bug 1181289 - Specify size: small when drawing small scrollbars with CoreUI. r=smichaud
--HG--
extra : rebase_source : c5730a96f963c112437bf3b7d75d6501b650c27e
2015-07-07 16:06:20 -04:00
Dragana Damjanovic 7987d2203e Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Steven Michaud 1c421efa41 Bug 1178984 - Crashes at nsMenuBarX::RemoveMenuAtIndex. r=spohl 2015-07-01 14:28:05 -05:00
Andrew McCreight 53e8d2ac49 Bug 958641 - De-holder nsIXPConnect::WrapNative. r=gabor 2015-07-01 11:17:17 -07:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Chris Peterson cd8ae89cff Bug 1175049 - Fix non-universal 32-bit build on OS X with Xcode 6.3 tools. r=josh 2015-06-14 00:20:27 -07:00
David Anderson d50c97dfca Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange) 2015-06-17 23:12:06 -07:00
Markus Stange 5113a01350 Bug 1119106 - Give these enums better names. r=smichaud
--HG--
extra : rebase_source : 6bbfde25fd11ebc8fbc4574a803d4f0ef58b1713
2015-06-08 16:19:47 -04:00
Markus Stange e11fa56d49 Bug 1119106 - Add an explanatory comment. r=smichaud
--HG--
extra : rebase_source : df67c54a8f1702cfa065118473eb7cb232e1fd16
2015-06-08 16:17:41 -04:00
Markus Stange f06291ba8d Bug 1119106 - Increase the radio button rendering bottom margin on 10.10 so that the button hits its frame more accurately. r=smichaud
--HG--
extra : rebase_source : 34db754cd1ddbd811ef032551e2fbeec05ce3234
2015-06-02 17:49:57 -04:00
Markus Stange 9aa09929e3 Bug 1119106 - Increase the maximum focus ring width on 10.10 to 7 pixels. r=smichaud
--HG--
extra : rebase_source : ba0709ad72f16c494bf000f76a553cfeebed5b04
2015-06-02 18:05:17 -04:00
Markus Stange d510bed052 Bug 1119106 - Stop double-drawing focus rings for checkboxes and radio buttons on 10.10. r=smichaud
--HG--
extra : rebase_source : 9fa5c99fce184329121dd3020f4eb75b9ecae578
2015-06-10 19:02:30 -04:00
Xidorn Quan 7699870266 Bug 1161802 part 1 - Add FullscreenChanged callback in WidgetListener. r=roc
--HG--
extra : source : dcfb961149d8c8e56ff787fa812dc781a491ee53
2015-06-10 23:13:12 +12:00
Xidorn Quan 6822bb6669 Bug 1172664 - Use [NSApplication setPresentationOptions:] instead of SetSystemUIMode for hide os chrome. r=smichaud
--HG--
extra : source : 2508b0bb8b91a883e39a1026364bab0947266288
2015-06-10 13:13:49 +12:00
Jonathan Kew f05c9dee41 Bug 1113206 patch 2: Disable use of Cocoa and Gtk native-theme dropdown rendering that doesn't play well with vertical writing mode. r=roc 2015-06-08 07:21:42 +01:00
Neil Deakin 9e7bedeacf Bug 1121947, Implement e10 cursor drag feedback on Mac, r=smaug 2015-06-05 08:33:29 -04:00
Xidorn Quan 67ff323331 Bug 1105939 part 7 - Use tranditional fullscreen on Mac for DOM fullscreen. r=smichaud
--HG--
extra : source : 5e5b3e8eb96f07b24e2c10522ba92fe13c3f9c05
2015-06-04 13:49:34 +12:00
Xidorn Quan de413a07a8 Bug 1105939 part 4 - Treat cocoa window without titlebar as fullscreen to avoid drawing rounded corners on it. r=mstange
--HG--
extra : source : d78709d5377839af0ae698ee75474558dea15053
2015-06-04 13:49:34 +12:00
Xidorn Quan f01f25d5ae Bug 1105939 part 3 - Save and restore window collection behavior when showing/hiding window chrome. r=mstange
--HG--
extra : source : d27f4451457a57a25bdc5e25b8ede4f9d81d6e9c
2015-06-04 13:49:34 +12:00
Xidorn Quan 59695c3ccb Bug 1105939 part 2 - Suppress windows animation when hiding chrome on OS X. r=smichaud
--HG--
extra : source : 5037dc2e6f68745ac37293fba7bcf2b68c2cbe68
2015-06-04 13:49:34 +12:00
Xidorn Quan 5e157a787e Bug 1105939 part 1 - Backout workaround from bug 740923. r=smichaud
--HG--
extra : source : f2b0c20d69e22c14dd20c39d462302a4f715abc4
2015-06-04 13:49:34 +12:00
Eric Rahm 75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm cc58068318 Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-03 15:22:30 -07:00
Eric Rahm f50b813989 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Steven Michaud edb79b5fd7 Bug 1151345 - Firefox app menu sometimes contains only "Quit" on OS X. r=spohl 2015-06-03 16:19:51 -05:00
Carsten "Tomcat" Book 5471309381 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)

--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00