Commit Graph

5251 Commits

Author SHA1 Message Date
Chris Jones
d31b38514b Bug 781725: Refactor TabChild to allow pre-created instances, and then use a pre-created instance to pre-load and compile BrowserElementChild.js. r=smaug
--HG--
extra : rebase_source : f063c672d55da46541fdd1b6f6ff0cf510a6853f
2012-08-29 12:26:18 -03:00
Ed Morley
8a2d0d11e2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-29 14:35:19 +01:00
Olli Pettay
ee0f359210 Bug 784256 - Generate id->event type switch case from nsEventNameList.h, r=bz
--HG--
extra : rebase_source : 469e03023ae333ae0e527927fbe2b3209fa93067
2012-08-29 14:24:41 +03:00
Ehsan Akhgari
f69de91a53 Remove two unused variables, no bug
--HG--
extra : rebase_source : 1d2fb26b146037905d729c0bc68105969c63de61
2012-08-27 17:30:56 -04:00
Rafael Ávila de Espíndola
3ae64f38a4 Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Josh Matthews
22c30bb0c4 Back out bug 722861. 2012-08-27 15:31:29 -04:00
Anthony Jones
d5f4d26ad1 Bug 772345 - Fix Android segfault on shutdown. r=blassey 2012-08-28 16:54:24 -04:00
Josh Matthews
1de8cc6897 Bug 722861 - Add privacy information to image requests, and use a separate cache for private requests. r=joe 2012-06-26 00:20:12 -04:00
Zoe Bellot
c7a4582c95 Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson 2012-08-26 23:16:22 -03:00
Michael Wu
053323c212 Bug 781039 - Mouse input support for gonk, r=cjones 2012-08-24 14:06:19 -04:00
Neil Deakin
4ce52c2e7b Bug 783899, notify the view for resize events before the webshellwindow, fixing thunderbird window size when maximized, r=jmathies 2012-08-24 08:42:15 -04:00
Ben Turner
0727b7098c Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Bobby Holley
7d93b33884 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Ehsan Akhgari
67ec93e0aa 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
57ac5ddc72 Merge the landing of bug 579517 to mozilla-inbound 2012-08-22 12:12:15 -04:00
Jan Beich
9d83677726 Bug 783463 - Don't include <malloc.h>, it's unused. r=dougt 2012-08-22 06:53:34 -04:00
Jan Beich
fbcdac492c Bug 783463 - libc++ and -std=gnu++11 want explicitly declared close/write. r=dougt 2012-08-22 06:53:33 -04:00
Karl Tomlinson
232b0c107b 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
c5b7f1185f Bug 784246 KeymapWrapper::GuessGDKKeyval() should return GDK_colon for NS_VK_COLON r=karlt 2012-08-21 13:35:23 +09:00
Tim Abraldes
501b2c2602 bug 758280. Refactor the way we handle WM_NCCALCSIZE messages and how we keep track of our frame offsets. r=jimm 2012-08-20 12:11:31 -07:00
Ehsan Akhgari
5b76a146bc Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
0fd9123eac 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
Hubert Figuière
375b0b1377 Bug 781090 - Preserve minimum a11y support when we don't have Voice Over. r=dbolter 2012-08-20 07:27:01 -07:00
Matt Woodrow
1adf216f21 Bug 783449 - Move android specific NeedsPaint checks into the android widget implementation. r=roc 2012-08-20 22:00:50 +12:00
Matt Woodrow
ba5189e7b5 Bug 770056 - Remove [NSView focusView] conditions from cocoa theme code. r=mstange 2012-08-20 22:00:49 +12:00
Nicolas Silva
047b99ba78 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Phil Ringnalda
b998d41a1f Bug 763894 - Increase the fuzzy comparison of how much the idle time increased to 1.5 seconds instead of 1 second to account for the fuzziness of WinXP PGO 2012-08-18 23:08:49 -07:00
Justin Lebar
b820f2bad8 Bug 776132 - When the gonk AppShell is trying to shut down the OrientationObserver, don't call OrientationObserver::GetInstance() -- that might /create/ an orientation observer! r=cjones
--HG--
extra : rebase_source : 72ad44ea6edf1c170cb0af6fb3e207550c7bee15
2012-08-18 09:55:59 -04:00
Andrew Quartey
e0599f1a78 Bug 783383 - Add null-checks for nsBaseWidget::mWidgetListener r=tn 2012-08-17 11:36:34 -04:00
Brian R. Bondy
2b8bb6d484 Bug 731307 - Async filepicker widget implementation. r=roc. sr=mounir 2012-08-17 11:35:01 -04:00
Brian R. Bondy
f6a7e48a17 Bug 731307 - IDL change for async file picker. r=roc, sr=mounir 2012-08-17 11:35:00 -04:00
Ed Morley
7a68f05d39 Backout 506268f7735e & ea163112807d (bug 746142) for Android build failures 2012-08-17 12:30:02 +01:00
Zoe Bellot
ccf0a0450d Bug 746142 - Part 2 - Use inputmode attribute to vary the virtual keyboard on Android. f=mounir r=cpeterson 2012-08-17 12:02:18 +02:00
Masayuki Nakano
ac015d98bb Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug 2012-08-17 10:32:15 +09:00
Chris Jones
2573176d5c Bug 776835: Check process capabilities in hal. r=blassey,jlebar 2012-08-16 12:34:53 -07:00
Oleg Romashin
635cd9f695 Bug 779726 - Move QGL includes into isolated wrapper class, and fix qgl.h and GLDefs.h conflicts. r=dougt
--HG--
extra : rebase_source : 02dee7a407a23efb7ce5a2caef0c61fbfb00a7c2
2012-08-16 11:31:47 -04:00
Robert O'Callahan
24f4286daa Bug 779399. A horizontally-flipped gradient can dither differently. r=jrmuizel 2012-08-16 23:03:59 +12:00
Chris Jones
d15d9cf95e Bug 783139: Restore setting .widget on nsGUIEvent. r=dRdR 2012-08-15 17:54:18 -07:00
Joe Drew
05d2135de5 Bug 781679 - Assert that we're not in the middle of a transaction when we switch layer managers. r=mattwoodrow 2012-08-15 17:55:38 -04:00
Neil Deakin
3eaa9de1ea Bug 743975 - remove the view wrapper,r=tn 2012-08-15 14:53:14 -04:00
Neil Deakin
279f4c393a Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Neil Deakin
c3d4dfaf57 Bug 743975 - Remove events that are now unused, r=smaug 2012-08-15 14:52:42 -04:00
Neil Deakin
3693d8013c Bug 743975 - add a getpresshell method to the widget listener, r=tn 2012-08-15 14:52:42 -04:00
Neil Deakin
3e40b0b005 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
18bbbb0ab6 Bug 743975 - remove NS_DESTROY event, r=smaug 2012-08-15 14:52:41 -04:00
Neil Deakin
767abfdb5a Bug 743975 - use a direct call instead of move uistatechanged event, r=smaug 2012-08-15 14:52:40 -04:00
Neil Deakin
ebcdb10b44 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
a2d41713a8 Bug 743975 - remove unused NS_CREATE and NS_TABCHANGE events, r=smaug 2012-08-15 14:52:35 -04:00
Neil Deakin
447a47298e Bug 743975 - move theme and window size done events to direct calls, r=smaug 2012-08-15 14:52:35 -04:00
Aryeh Gregor
1091dc5149 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Eric Wong
dd8cf54ad6 Bug 773760: Save privacy status of transferable during cross-process clipboard transfer. r=ehsan 2012-08-14 20:37:44 -07:00
Reuben Morais
0cc22d453d Bug 782853 Initialize scrollType to avoid -Wsometimes-unitialized warnings r=smaug 2012-08-15 22:32:59 +09:00
Masayuki Nakano
3cc9e69342 backout 295c9fc5e652 due to wrong bug# 2012-08-15 22:31:15 +09:00
Reuben Morais
5f115069d3 Bug 659153 Initialize scrollType to avoid -Wsometimes-unitialized warnings r=smaug 2012-08-15 22:28:17 +09:00
Chris Jones
dd49bef2b3 Bug 781014: Make sure the toplevel gonk widget doesn't resize smaller than screen on exiting fullscreen. r=cpearce,mwu 2012-08-14 23:13:48 -07:00
Matt Woodrow
1ba26c01d5 Bug 782808 - Apply the widget rotation to the gonk LayerManager at all times instead of only during the paint event. r=cjones 2012-08-15 13:10:40 +12:00
Michael Wu
620034f596 Bug 782473 - Add keymapping for end call key, r=jlebar 2012-08-14 21:01:02 -04:00
Ed Morley
9bb89363c7 Backout 327d9e9efbf7 (bug 773760) for bustage 2012-08-14 16:23:02 +01:00
Eric Wong
3d82e782b5 Bug 773760: Save privacy status of transferable during cross-process clipboard transfer. r=ehsan 2012-08-13 22:46:23 -07:00
Ed Morley
a64cc16c8c Merge mozilla-central to mozilla-inbound 2012-08-14 14:00:36 +01:00
Ed Morley
a95d17dc7b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-14 13:52:25 +01:00
Matt Woodrow
ba2613ee6d Bug 782413: Only paint widgets that have a layer manager. r=cjones 2012-08-13 19:41:09 -07:00
Kartikaya Gupta
0a22a71c44 Bug 776906 - Remove unused enum. r=blassey 2012-08-13 20:01:31 -04:00
Kartikaya Gupta
c32754d98a Bug 776906 - Fix thumbnails on Nexus 7. r=blassey 2012-08-13 20:01:31 -04:00
Matt Woodrow
0fe44d8b7f Bug 539356 - Part 24 - Don't paint android widgets that aren't being composited, or at the front. r=roc 2012-08-13 22:10:10 +12:00
Matt Woodrow
114c3551c2 Bug 539356 - Part 17 - Don't paint widgets that an invisible or empty bounds. r=roc
* * *
Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint
2012-08-13 22:10:10 +12:00
Matt Woodrow
0116f41a88 Bug 539356 - Part 13 - Only repaint widgets that have had changes since the last paint. r=roc 2012-08-13 22:10:10 +12:00
Matt Woodrow
2b1ef36f45 Bug 539356 - Part 8a - Add END_NO_COMPOSITE to EndTransactionFlags and implement in for all LayerManagers. r=roc 2012-08-13 22:10:10 +12:00
Ehsan Akhgari
3ee18b0cb9 Fix a spelling mistake in a comment (no bug, DONTBUILD) 2012-08-13 13:32:19 -04:00
Ryan VanderMeulen
870142e530 Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
dc168c0fe1 Bug 719320 part.18 Clean up legacy mouse scroll event r=smaug 2012-08-12 10:42:37 +09:00
Masayuki Nakano
afe7578939 Bug 719320 part.17 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on nsWidgetUtils r=smaug 2012-08-12 10:42:37 +09:00
Masayuki Nakano
6008a5f7b8 Bug 719320 part.16 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on OS/2 r=daveryeo 2012-08-12 10:42:37 +09:00
Masayuki Nakano
bc8a0b446f Bug 719320 part.15 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on Qt r=karlt 2012-08-12 10:42:37 +09:00
Masayuki Nakano
0be0331889 Bug 719320 part.14 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on Cocoa r=smaug+smichaud 2012-08-12 10:42:37 +09:00
Masayuki Nakano
227be1a7d1 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
f4626c0cee Bug 719320 part.12 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on Windows r=smaug+jimm 2012-08-12 10:42:37 +09:00
Masayuki Nakano
fef53e910a Bug 719320 part.11 Fix new test failures r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
737ff36abf Bug 719320 part.8-8 widget should be able to speicify the scroll type r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
3cdce54608 Bug 719320 part.8-7 Implement the other default actions of WheelEvent r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
aa2205d526 Bug 719320 part.8-6 Init lineOrPageDeltaX and lineOrPageDeltaY from accumulated delta values if the wheel event is caused by pixel scroll only device or the delta values have been modified with prefs r=smaug 2012-08-12 10:42:36 +09:00
Masayuki Nakano
5ef8537b0b Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
cee821b532 Bug 719320 part.8-4 Implement D3E WheelEvent handler for scroll r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
1818fe2fb2 Bug 719320 part.5 Redesign mouse wheel action prefs r=smaug 2012-08-12 10:42:35 +09:00
Masayuki Nakano
d26b327f14 Bug 719320 part.4 Remove mousewheel.*.*numlines and add mousewheel.*.delta_multiplier_* r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
785b73e21d Bug 719320 part.3 Use ComputeScrollTarget() for deciding detail value of legacy mouse scroll events r=smaug 2012-08-12 10:42:34 +09:00
Masayuki Nakano
c748a0f833 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Brian R. Bondy
9155fe2a5a Bug 781646 - Windows widget AudioSession::Start should not fail if COM is already initialized. r=jimm 2012-08-09 20:54:35 -04:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Wes Johnston
be7b3c9a7c Bug 757680 - Add a pref to turn off event coalescing. r=kats 2012-08-09 12:54:36 -07:00
Ed Morley
61bd42dc2d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-09 12:46:05 +01:00
Ms2ger
17e25febb8 Bug 780387 - Part d: Stop using PRFloat64; r=bsmedberg 2012-08-09 09:09:42 +02:00
Phil Ringnalda
cf09173698 Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks 2012-08-07 22:18:27 -07:00
Marshall Culpepper
377edabc34 Bug 777514: Wake the EventHub when nsAppShell is released, allowing the b2g process to exit immediately. r=mwu
--HG--
extra : rebase_source : aec812e54c359008291d77ecd59ddf40e900c859
2012-08-08 14:11:04 -05:00
Steven Lee
230139f702 Bug 714358: Time manager implementation. r=jlebar 2012-08-07 19:11:00 -04:00
Marshall Culpepper
5344af032d Bug 776742: ANativeWindow::cancelBuffer now points to a no-op function, fixing a process exit segfault in the emulator. r=cjones 2012-08-07 15:54:28 -05:00
Makoto Kato
6ff25d0dc9 Bug 778389 - Password mask should be U+2022 on Android. r=cpeterson 2012-08-07 14:13:25 +09:00
Josh Aas
75eebb8639 Bug 780489: Fix some compiler warnings in plugin and mac code. r=smichaud 2012-08-07 00:09:23 -04:00
Sergey Glushchenko
970c894833 Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00