Commit Graph

5528 Commits

Author SHA1 Message Date
Josh Matthews
9fa9982775 Bug 794602 - Make nsWebBrowserPersist::SaveURIInternal use channels with valid privacy statuses. r=bz,mfinkle,smaug,ehsan,jwalker,roc,unfocused 2012-10-04 15:07:51 -04:00
Jeff Muizelaar
fa081a82fc Bug 792199. Only decode visible images immediately when switching to a tab. r=joe
This creates a new method 'StartDecoding' which does a RequestDecode and some
decoding of the image.

--HG--
extra : rebase_source : 89c1c2f40e3dfb6e025939ebf3257f81ce429501
2012-10-04 16:02:15 -04:00
Chris Lord
e7de629479 Bug 794130 - Abort drawing if appropriate when using progressive tile updates. r=bgirard,blassey
Add a function to BasicLayerManager to check if it's appropriate to abort an
ongoing progressive update, and add an Android-specific implementation in
mobile/android/base/gfx/GeckoLayerClient.java.

--HG--
extra : rebase_source : edbd20acb53660340d52265591849aacafd179c4
2012-10-04 14:45:16 -04:00
Jacek Caban
fd1f77a22f Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (widget/windows part) r=jmathies
--HG--
extra : rebase_source : e7f460a18397aa903fb2ba3f9ba7e5fe67d76db6
2012-10-04 10:33:24 +02:00
Chris Jones
b958709d6e Bug 780920, part 2: Let clients query a widget's 'real' compositor, when the widget doesn't draw directly to its OS window. r=roc 2012-10-04 00:05:24 -07:00
Karl Tomlinson
715821d96f b=408284 don't shape for transparency on ARGB windows r=roc
--HG--
extra : rebase_source : d4e07ba252b1ec13c887ecab2f06361752890b3b
2012-10-03 19:53:57 +13:00
Chris Coulson
cfe99b66eb b=408284 use ARGB visuals for popup windows when window manager is compositing r=karlt
--HG--
extra : rebase_source : c562667491b564562f5350a9b8a5f0b7d882be7e
2012-10-03 19:53:53 +13:00
Chris Coulson
58795c5ac7 b=408284 let MozContainer widgets inherit parent colormap instead of explicitly setting rgb colormap r=karlt
--HG--
extra : rebase_source : 1b7f60d38ffa20c404c777a5ba1e1cc3383f19a0
2012-10-03 19:53:46 +13:00
Karl Tomlinson
0d97afb958 b=408284 clear transparency bitmap when window is hidden r=roc
--HG--
extra : rebase_source : ac16e4b25da2684fd7fd80a6d16ceb2ae2d4caaf
2012-10-03 11:37:06 +13:00
Karl Tomlinson
c8b1517414 b=408284 no need to apply transparency bitmap on each show r=roc
--HG--
extra : rebase_source : 5f75d84bbf2ae142f85287da0b1998219fe4585e
2012-10-03 11:36:08 +13:00
Karl Tomlinson
142125172b b=795812 shape out translucent windows where alpha < 1/2 r=roc
--HG--
extra : rebase_source : 86d6d748e7e87ab527b8ee88e3dee1abb16133be
2012-10-03 11:35:28 +13:00
Andrew Quartey
106c5d6f24 Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Ed Morley
364e33a93a Bug 561929 - Disable test_bug478536.xul for frequent timeouts 2012-10-03 11:48:09 +01:00
Julian Seward
772bcaeee6 Bug 795284. r=blassey 2012-10-02 22:09:13 -04:00
Irving Reid
ef7f4b082b Bug 796086 - Add handlers for Objective-C exceptions, r=smichaud 2012-10-02 17:11:43 -04:00
Wes Johnston
e15c46b32f Bug 784887 - Use Native Gesture detector for MozGesture events. r=blassey 2012-10-02 13:18:21 -07:00
Steven Michaud
c109a6325b Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard 2012-10-02 14:48:05 -05:00
Wes Johnston
e6a74c214f backout c1b386c21158 2012-10-02 11:48:31 -07:00
Wes Johnston
60a05ef9dc Bug 795013 - Fix check for filter masks in Android file picker. r=blassey 2012-10-02 11:00:17 -07:00
Wes Johnston
7d2f1327be Bug 795013 - Only use */* filter if no extension or mimetype filters exist r=blassey 2012-10-02 11:00:15 -07:00
Wes Johnston
c37af0ec32 Bug 795053 - Add ability to unlock a profile from Java. r=blassey 2012-10-02 11:00:13 -07:00
Benoit Girard
c8f1bc0779 Bug 796084 - Rename MOZ_JAVA_COMPOSITOR -> MOZ_ANDROID_OMTC. r=blassey 2012-10-01 16:01:35 -04:00
Vladimir Vukicevic
745b512333 b=792845; kill WARNING: GetScaneCodeWithExtendedFlat() returns without extended flag; r=masayuki 2012-09-20 16:18:11 -04:00
Isaac Aggrey
65e8d33673 Bug 795507: Remove usage of PR_BEGIN_EXTERN_C and PR_END_EXTERN_C; r=ehsan 2012-09-30 21:10:22 -05:00
Mounir Lamouri
2cc12c0525 Bug 795136 - 1/2 - Add events notifying the window if upload/download happen on the system. r=smaug sr=sicking 2012-09-30 14:47:48 +01:00
Jim Mathies
aec5248766 Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-29 11:39:23 -05:00
Jonathan Kew
2cf5d23c2c bug 674373 pt 6 - support HiDPI display in Cocoa widget code. r=roc,smichaud 2012-09-29 12:36:09 +01:00
Jonathan Kew
2c2d5f0ecf bug 674373 pt 4 - pass device-to-CSS pixel ratio to LookAndFeel code when requesting a font style. r=roc 2012-09-29 12:35:08 +01:00
Jonathan Kew
b03a328ad9 bug 674373 pt 3 - remove unused nsBaseWidget::SetBounds method. r=roc 2012-09-29 12:34:58 +01:00
Markus Stange
ccd8e6d338 bug 674373 pt 1 - Mac OS X native theme rendering support for HiDPI display. r=smichaud 2012-08-13 17:45:57 +01:00
Jim Mathies
f073e028ad Bug 795307 - backout e320e0e3ec41 due to red 2012-09-28 16:17:58 -05:00
Jim Mathies
539fc7ca59 Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-28 14:48:36 -05:00
Ehsan Akhgari
b3c9df7404 Backout changeset 0c18edd01cd4 (bug 795307) for broken builds on Windows 2012-09-28 15:40:00 -04:00
Jim Mathies
1bf7273ba1 Bug 795307 - Use telemetry to report touch enabled device stats. r=nfroyd 2012-09-28 14:11:12 -05:00
Mark Finkle
8e0584101d Bug 795132 - Cache DPI to avoid making JNI calls r=blassey 2012-09-28 15:05:50 -04:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
foudfou
d72827c0aa Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).

--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Matt Woodrow
6f1f6c2930 Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
958ce7d98d Bug 539356 - Part 9c - Remove old invalidation code. r=bz 2012-08-29 17:39:31 +12:00
Matt Woodrow
cdbc43ed27 Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc 2012-08-29 17:39:01 +12:00
Justin Dolske
35f9ac33a3 Bug 792592 - Need HiDPI versions of our custom OS X cursors. images=shorlander r=me 2012-09-28 01:27:11 -07:00
Justin Dolske
a98140ca2f Bug 784909 - Add support for app-provided HiDPI mouse pointer/cursor. r=josh 2012-09-28 01:27:11 -07:00
Ed Morley
c863356300 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
fa1bb9fa65 Bug 539356 - Part 22 - Force a background color when running android reftests. r=roc 2012-08-29 17:48:43 +12:00
Matt Woodrow
c73c0db2f1 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Karl Tomlinson
71dd82ecdf b=794285 restore support for building against GTK+ 2.10 r=glandium
--HG--
extra : transplant_source : %D0%2B6%19%96%99%8D%21%F5%5D8%92%FC%1E%1D%BB%B77h%81
2012-09-27 12:23:00 +12:00
Isaac Aggrey
b33410feb2 Bug 789847 - Remove PR_CALLBACK usage from tree 2012-09-25 11:18:38 -05:00
Kartikaya Gupta
ed2336ecaf Bug 791263 - Disable screenshotting under low-memory conditions. r=blassey 2012-09-25 15:46:17 -04:00
Chris Peterson
f6d8de3463 Bug 793062 - Remove unused PostToJavaThread() and ExecuteNextRunnable(). r=blassey 2012-09-20 17:44:24 -07:00
Mike Hommey
fb05de0176 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Chris Jones
57b18a645d Bug 793365: Make sure (again) that the entire buffer is valid when we might be asynchronously composited. r=roc 2012-09-24 21:15:18 -07:00
Chris Pearce
5ff238b04b Bug 782729 - Make Windows nsWindow::SynthesizeNativeMouseEvent accept coords in screen coords, not widget coords, to match other widget implementations. r=smaug,jimm 2012-09-18 14:36:16 +12:00
Chris Pearce
842d94b624 Bug 782729 - Ensure pointer lock code always passes screen coords to SynthesizeNativeMouseMove. r=smaug 2012-09-25 11:43:27 +12:00
Karl Tomlinson
3e96a1930e b=792305 don't update mask bits outside the mask r=roc
--HG--
extra : rebase_source : 682a8780f0e54d082ad2f35c1b074c3fe2d82817
2012-09-24 11:17:31 +12:00
Karl Tomlinson
97a28264b2 b=792305 delay shape mask update from resize to expose r=roc
--HG--
extra : rebase_source : 6b00c1e4d31fc1d5b6dc4d09882591da82dc622d
2012-09-24 11:15:48 +12:00
Marco Castelluccio
6bef6df68e Bug 630346 - Use basic layers for windows with transparency r=karlt
--HG--
extra : rebase_source : c078915a7455b61e0aff76af3cea735c4342a219
2012-09-24 11:22:28 +12:00
Neil Rashbrook
a092240bc8 Bug 793494 Allow non-libxul code to include nsIWidget.h again r=roc 2012-09-24 00:26:43 +01:00
Jim Mathies
f50c101c4d Bug 726615 - Implement w3c touch events for Windows. Original patch by Makoto Kato. r=wesj, smaug, mbrubeck 2012-09-22 14:28:35 -05:00
Jim Mathies
efdf204165 Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Andres Hernandez
6c0b339ed1 Bug 781973 - Use filepicker's open() instead of the obsolete show() in /browser. r=bbondy 2012-09-19 17:21:38 -06:00
Bas Schouten
bdf0282d4f Bug 792190: Relax D3D9 driver version requirements. r=bjacob 2012-09-21 22:12:28 +00:00
Ehsan Akhgari
e4fe32a4c3 Bug 792565 - Clarify the documentation on nsITransferable::Init; irc-r=jdm
DONTBUILD
2012-09-21 14:18:25 -04:00
Benoit Jacob
385e8f8242 Bug 790086 - Try removing the Optimus WebGL/ANGLE blacklist - r=jgilbert
What could possibly go wrong?
2012-09-21 13:44:35 -04:00
Ehsan Akhgari
66eeeb5eb7 Merge mozilla-central into mozilla-inbound 2012-09-21 13:34:50 -04:00
Brian R. Bondy
1c99c56d29 Bug 737833 - Disallow AppUserModelID registration calls for immersive mode. r=rstrong 2012-09-17 15:22:33 -04:00
Brad Lassey
e4c15f1c55 bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle 2012-09-12 23:47:08 +02:00
Benoit Girard
e487fbec5d Bug 791640 - EventTracer will only measure the main thread responsiveness, fixes profiling hang. r=blassey
--HG--
extra : rebase_source : a5a9074b74ab8638cfc4b568b0d09ca7b5e61b17
2012-09-20 14:23:15 -04:00
foudfou
549537f533 Bug 791975 - Move test_bug760802.html from mochitest-plain to mochitest-chrome. r=roc
--HG--
rename : widget/tests/test_bug760802.html => widget/tests/test_bug760802.xul
2012-09-19 15:26:19 +02:00
Gian-Carlo Pascutto
d000bd7d25 Bug 792065 - Uninitialised value use in nsIdleServiceDaily::DailyCallback. r=roc 2012-09-20 11:37:56 +02:00
Justin Dolske
a3b372c741 Bug 789849 - Use PNG instead of TIFF for cursor/pointer resources. r=josh 2012-09-19 14:39:25 -07:00
Kartikaya Gupta
d69347eff4 Bug 792496 - Remove ScreenshotHandler delegation stubs from GeckoAppShell. r=cpeterson 2012-09-19 17:15:55 -04:00
Ehsan Akhgari
b5c39afb4e Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Ehsan Akhgari
71d9f962d0 Backout bug 792109, bug 749053 and bug 779500 because of leaks in debug tests 2012-09-19 15:42:18 -04:00
Brad Lassey
5ab1683dfb bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle 2012-09-13 15:07:57 +02:00
Mounir Lamouri
0921c0d538 Bug 787534 - Update the Gonk backend to take into account the new screen lock orientations values. r=mwu 2012-09-18 19:39:59 +01:00
Mounir Lamouri
4a90f2279e Bug 787534 - Remove Portrait and Landscape special ScreenOrientation values. r=jlebar 2012-09-19 17:28:16 +01:00
Bas Schouten
8772af06fe Bug 791742: Consider driver version substrings in decimals. r=joedrew 2012-09-17 20:50:38 +00:00
Chris Peterson
660aaf2bc2 Bug 778980 - Part 3: Fix gcc -Wconversion-null warnings in widget/android. r=blassey 2012-09-14 12:02:51 -07:00
Mats Palmgren
45ce0d46d6 Bug 791518 - Use correct GDK type for gtk_selection_data_get_length() return value to avoid signed to unsigned conversion of -1 and subsequent crash. r=karl 2012-09-18 01:05:05 +02:00
Bas Schouten
3f92f75725 Backout Bug 791742 2012-09-17 22:23:41 +00:00
Koosha Khajeh Moogahi
8d39310f18 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Bas Schouten
073ddbbad1 Bug 791742: Consider driver version substrings in decimals. r=joedrew 2012-09-17 20:50:38 +00:00
Siddharth Agarwal
110f028cdd Bug 789830 - Graphics driver DriverVersion and DriverDate no longer present in registry with some Windows 8 installs, breaking about:support and driver blacklisting. Assume a driver version of 0.0.0.0 in such cases. r=joe 2012-09-17 23:26:24 +05:30
Jacek Caban
0e07bd7e5d Bug 791230 - nsTextStore.cpp fails to compile on GCC (mingw) r=masayuki 2012-09-14 16:13:46 +02:00
Masayuki Nakano
5f3096a05a Bug 790561 Separate InsertTextAtSelection() r=jimm 2012-09-14 13:51:00 +09:00
Joe Drew
4b4f344eb2 Bug 783517 - Block all AMD drivers for hardware acceleration on Windows 8 due to mysterious crashes, but leave as-yet unreleased drivers unblocked. r=bjacob
--HG--
extra : rebase_source : a7871f074930ff8e1fcb7f208462a69ebf5dd34b
2012-09-13 18:39:37 -04:00
Masayuki Nakano
9232d22fb3 Backout 3a20a844caec due to landed wrong patch 2012-09-14 11:35:23 +09:00
Martin Stransky
d37c6bf4d2 Bug 627699 - Port GTK2 to GTK3, gtk-rest. r=karlt 2012-09-13 21:56:59 -04:00
Martin Stransky
e89d69c269 Bug 627699 - Port GTK2 to GTK3, nsBidiKeyboard patch. r=karlt 2012-09-13 21:56:58 -04:00
Masayuki Nakano
c960e79c93 Bug 790561 Separate InsertTextAtSelection() r=jimm 2012-09-14 10:38:58 +09:00
Masayuki Nakano
e032dcde9b Bug 789703 Allow to query the selection without write lock in InsertTextAtSelection() r=jimm 2012-09-14 10:38:58 +09:00
Christian Vielma
9daa52423c Bug 756504 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson 2012-09-12 17:48:29 -07:00
Chris Peterson
cd604bcb0e Backout 3875fa9aaec1 (changeset author is Christian Vielma, not Chris Peterson). a=oops 2012-09-12 17:40:41 -07:00
Chris Peterson
3fe868b85a Bug 756504 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson 2012-09-12 17:36:32 -07:00
Chris Peterson
cfc21cce7e Backout 01fb250fbba1 (changeset description should have said bug 756504, not bug 756505). a=oops 2012-09-12 17:31:21 -07:00
Christian Vielma
585957c59c Bug 756505 - Implement DOM_KEY_LOCATION_JOYSTICK for Android game controllers. r=cpeterson 2012-09-12 11:19:39 -04:00
Wes Johnston
8234baf59c Bug 787271 - Add methods to call in jni through ctypes. r=mfinkle,blassey 2012-09-12 11:31:17 -07:00
Chris Jones
cdd4ae9faf Bug 790183: Don't send SetCursor if the cursor hasn't changed. r=roc 2012-09-11 21:48:13 -07:00
Masayuki Nakano
db90290449 Bug 544773 part.2 Move old helper methods in nsTextStore.cpp to the chunk for new helper methods r=jimm 2012-09-12 08:53:12 +09:00
Masayuki Nakano
16e3261bd2 Bug 544773 part.1 TSF module should log its behavior r=jimm 2012-09-12 08:53:12 +09:00
Chris Jones
e01d45f3fa Bug 788943: Allow TabParents to capture event series for faster dispatch to subprocesses. Implements capturing of touch-event series. r=smaug sr=roc 2012-09-11 13:05:52 -07:00
Steven Lee
1a3d6cea38 Bug 714358: Time manager implementation. r=jlebar 2012-09-11 02:05:00 -04:00
Mounir Lamouri
42ecf3a4fd Bug 787532 - Update Android HAL backend to take into account new screen lock values. r=jlebar 2012-09-11 11:57:20 +01:00
Brian R. Bondy
784446cc09 Bug 787769 - Clipboard option for CF_DIB is now explicitly specified. r=jimm 2012-09-06 22:48:16 -04:00
Jim Mathies
1be60a7fb4 Bug 786979 - Use a new constant for returning ICoreWindow from GetNativeData. r=bbondy 2012-09-07 14:51:02 -05:00
Aryeh Gregor
5a68b81a9b Bug 783523 - Fix platform-specific nsresult misuse; r=ehsan,tbsaunde,smaug 2012-08-16 14:58:11 +03:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Bobby Holley
fbc6e78256 Bug 774633 - Fix TestAppShellSteadyState to load a system principal URI so that we don't discard the inner window. r=bent 2012-09-05 11:32:07 -07:00
Chris Jones
7ee7b46bd3 Bug 783066: Paint the backgrounds of remote subdocuments like we paint those of same-process subdocuments. r=roc 2012-09-05 09:23:45 -07:00
Brad Lassey
5acd657e06 bug 770289 - JNIEnv->NewString can throw and needs to be caught before another JNI call, handle NewStringUTF r=kats 2012-09-05 00:23:02 -04:00
Mike Hommey
d4d87778e3 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Brad Lassey
a4736dd52a bug 761503 - return a bool from PumpMessageLoop to indicate if work was performed r=snorp 2012-06-05 01:14:12 -04:00
Kartikaya Gupta
69712eb652 Bug 787060 - Update android widget RedrawAll to invalidate the entire view to work with DLBI. r=mattwoodrow 2012-09-04 18:06:22 -04:00
Brian R. Bondy
1ffaf87dd8 Bug 787808 - Create common base class for Win32 and WinRT filepickers. r=jimm 2012-09-03 11:25:08 -04:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Josh Matthews
4716a41074 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
Joe Drew
6d09b14c65 Bug 706908 - Support Windows 8 from gfxInfo and the graphics blacklist. r=bjacob 2012-08-31 12:42:07 -04:00
Timothy Nikkel
0795ae1d5c Bug 786421. If we are asked to repaint while resizing a window on Windows and the new size matches the old size just repaint and don't do a bunch of extra work. r=jimm 2012-08-31 11:16:52 -05:00
Phil Ringnalda
8905cee17f Bug 784783 followup, remove the stray ) which is causing build bustage 2012-08-30 21:22:26 -07:00
Masayuki Nakano
42c33fcf7c Bug 784783 Don't access [NSEvent characters] if the event type is neither NSKeyDown nor NSKeyUp r=smichaud 2012-08-31 12:55:23 +09:00
Michael Wu
8c8828422d Bug 771653 - Use HWComposer instead of swapBuffer where appropriate, r=cjones
Some vendors provide a hw composer module which should be used instead of swapBuffers on hardware surfaces.

Based on romaxa's patch.
2012-08-24 15:42:45 -04:00
Josh Aas
402428750a Bug 598401: Remove support for the Quickdraw NPAPI drawing model. r=smichaud 2012-08-30 15:10:55 -04:00
Brian R. Bondy
695f096c60 Bug 785744 - Async file picker cleanup. r=neil 2012-08-29 14:37:43 -04:00
Chris Jones
d1ad541565 Bug 778261: Move this workaround back into the right place. r=fabrice 2012-08-30 09:45:59 -03:00
Oleg Romashin
61cbd87134 Bug 779726 - QGL includes fix, missing change, build fix. r=me. DONTBUILD because NPOTB 2012-08-29 22:01:58 -07:00
Phil Ringnalda
beb4296fa9 Bug 786918 - Fix test_platform_colors.xul for 10.8
--HG--
extra : rebase_source : 00585f7bb8305cf03cd7f79db02c9a14afa22219
2012-08-29 21:29:12 -07:00
Masayuki Nakano
7664e6a01a Bug 674477 Don't scroll around axis whose overflow is hidden by wheel events r=smaug 2012-08-30 10:05:16 +09:00
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
David Zbarsky
d50e4a7565 [Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc 2012-08-05 23:00:56 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Vivien Nicolas
ea040ad93b Bug 778810 - Show/Hide scrollbars depending on activity. r=roc 2012-08-03 12:35:14 +02:00
Ed Morley
c3c82f78fc Bug 661099 - Disable part of test_bug596600.xul on OS X 10.6 for frequent intermittent failures; r=mstange 2012-08-03 11:28:12 +01:00
Benoit Jacob
fbfa001734 Bug 779580 - Blacklist WebGL MSAA on Intel driver on Mesa 8.1, as it was lying about GL_MAX_SAMPLES - r=jgilbert 2012-08-02 17:28:02 -04:00
Florian Queze
c8ca4ff79c Bug 779843 - nsIdleService never fires the "back" notification if there's only one listener, r=vlad. 2012-08-02 19:38:30 +02:00
Mihai Sucan
0aad3b618e Bug 779857 - Build failure with clang: widget/gtkxtbin/gtk2xtbin.c error: void
function 'xt_client_xloop_create' should not return a value. rs=ted
2012-08-02 18:48:44 +03:00
Martin Stransky
f9d3574b8c Bug 544088 - Export XtClient methods. r=karlt 2012-08-01 16:34:08 -04:00
Martin Stransky
92d961b051 Bug 544088 - Support Xt plugins OOP. r=karlt 2012-08-01 16:34:08 -04:00
Ryan VanderMeulen
f2cb0a5ef9 Merge m-c to inbound. 2012-08-01 16:34:02 -04:00
Oleg Romashin
203630b9bc Bug 778024 - Bug 774139 will break Qt/Maemo builds due to #define signals. r=dougt NPODB 2012-08-01 12:00:44 -07:00
Chris Peterson
1c88526bb9 Backout f6aff596b0ff (bug 779287). r=me
--HG--
extra : rebase_source : 38526eac16b3eef5fd0e006784fa61a3d37598f6
2012-08-01 13:01:35 -07:00
Jeff Muizelaar
aff7a0979e Bug 779329. Add labels for gonk widget. r=cjones
This makes it much clearer when we're waiting for events.
2012-06-27 11:55:42 -04:00
Kartikaya Gupta
b2cee8b743 Bug 763166 - Fix race condition that could result in using an uninitialized AndroidBridge. r=snorp 2012-07-31 17:34:06 -04:00
Karl Tomlinson
efce7d7c15 b=778031 add FinishX to XSync less frequently and use it r=cjones
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
Ed Morley
b924ec8d75 Backout 31f42dd24f25 (bug 460969) for mochitest-other failures in test_bug444800.xul 2012-07-31 16:29:25 +01:00
Eddy Bruel
4a96a17a48 Bug 460969 - Fix image from clipboard code; r=netzen 2012-07-31 14:47:18 +02:00
Eddy Bruel
0625b10edc Bug 460969 - Fix image to clipboard code; r=netzen 2012-07-31 14:11:55 +02:00
Chris Peterson
03e74fdba1 Bug 779287 - widget/android: Replace NULL with nullptr. r=mfinkle 2012-07-31 09:36:30 -07:00
Steven Michaud
e9035fae02 Bug 764176 - Cap area of rectangles passed to CUIDraw. r=mstange 2012-08-01 10:30:31 -05:00
Neil Deakin
e1405e0a93 Bug 357725, support minimum and maximum size constraints on windows and popups, r=mats,jmathies,karlt,smichaud,sr=neil 2012-07-30 20:43:29 -04:00