Commit Graph

12071 Commits

Author SHA1 Message Date
Josh Matthews
44336d0465 Bug 723002 - Determine privacy status from provided nsILoadContext in ContentPrefService. r=ehsan 2012-06-30 07:50:07 -07:00
Gabor Krizsanits
6a87d375cf Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz 2012-10-29 12:21:15 +01:00
Peter Van der Beken
da84553f1f Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - rename ProtoOrIfaceArray. r=bz.
--HG--
extra : rebase_source : c426270fc1ebee818629bd94dfc8d11af59bfc00
2012-10-09 20:50:27 +02:00
Mats Palmgren
eb7787f597 Bug 804486 - Tweak a few scrolling tests that makes the assumption that a horizontal "line" scroll scrolls the same amount of pixels as a vertical line scroll. r=roc 2012-10-29 06:44:31 +01:00
Mats Palmgren
8ad31a0bc8 Bug 804486 - Add toolkit.scrollbox.horizontalScrollDistance pref, default 5. Change horizontal scroll increment from 10px to horizontalScrollDistance * GetLineScrollAmount().width(). Make GetLineScrollAmount() use the font's AveCharWidth() for the horizontal amount rather than MaxHeight(). r=roc 2012-10-29 06:44:31 +01:00
Robert O'Callahan
a738cb5616 Bug 805703. Part 1: MediaStreamGraph::CreateInputStream -> CreateSourceStream. r=jesup
--HG--
extra : rebase_source : 3c327e9ead92508f12df4b95f2fd24fa2ba97ab5
2012-10-29 17:36:31 +13:00
Robert O'Callahan
9921c0c5fe Bug 805721. Recursively mark streams as consumed starting at the consumption point and working backwards through the graph. r=jesup
--HG--
extra : rebase_source : ba2f2fd4755336bc429ba85cd7296c31fef8aabf
2012-10-29 17:34:17 +13:00
Robert O'Callahan
1032a0f124 Bug 805730. Convert HasListenerFor(nsAString) callers to HasListenerFor(nsIAtom*), which is more efficient. r=smaug
--HG--
extra : rebase_source : fb0e607b8a1edcbced75b96e0aefcc626a4f436b
2012-10-29 17:33:51 +13:00
Anthony Jones
ba8b419957 Bug 802658 - Part 2: Apply matrix transform to text bounds; r=Bas 2012-10-28 21:52:21 +01:00
Anthony Jones
a22adc0d8f Bug 802658 - Part 1: Whitespace fixes 2012-10-28 21:51:43 +01:00
Ryan VanderMeulen
ce9be1b16b Bug 799917 - Backout for various regressions. 2012-10-28 08:49:20 -04:00
Aryeh Gregor
b45ac130db Bug 801425 - Make hasFeature() and isSupported() always return true for non-SVG features; r=bz 2012-10-15 13:59:38 +02:00
Matt Joras
8835709995 Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg 2012-10-27 13:24:04 -04:00
Phil Ringnalda
56c57f466f Back out c25bc74b7fd3 (bug 798033) for build bustage 2012-10-26 19:05:18 -07:00
Matt Joras
5c9750a59e Bug 798033 - Removes 'using namespace' from /content headers - r=bsmedberg 2012-10-14 00:04:51 -05:00
Mats Palmgren
5865f17728 Bug 805957. r=roc 2012-10-27 03:02:57 +02:00
Masayuki Nakano
00776d0733 Bug 801989 part.1 Add mNativeIMEContext to InputContext and TextComposition should use it instead of nsIWidget r=smaug, sr=roc 2012-10-27 08:35:20 +09:00
Ryan VanderMeulen
3f8a3cf348 Merge m-c to inbound. 2012-10-26 16:06:04 -04:00
Daniel Holbert
b72299ef37 Bug 805607 - Mark content/xbl/src as FAIL_ON_WARNINGS. r=bz 2012-10-26 10:49:57 -07:00
Daniel Holbert
d670ff3e30 Bug 805606: Add DebugOnly annotation to fix build warning in nsXBLDocumentInfo.cpp. r=Ms2ger 2012-10-26 10:49:57 -07:00
Jonathan Kew
4a13a3665a bug 805787 - fix for build failure in nsNodeUtils.cpp with Apple clang 4.0 or other not-up-to-date versions. r=dbaron 2012-10-26 15:48:29 +01:00
Bill McCloskey
17ffbf5002 Bug 692267 - Remove jsgc.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:17:24 -07:00
Robert O'Callahan
8be96d5c14 Bug 805771. Don't call NotifyPull after a stream has finished. r=jesup 2012-10-26 13:11:50 -04:00
Robert O'Callahan
7a501020a1 Bug 805254. Part 13: Make nsAudioStream::Write take an AudioDataValue* parameter instead of void. r=kinetik 2012-10-25 23:10:51 +13:00
Robert O'Callahan
8bd04e7aec Bug 805254. Part 12: Simplify AudioSegment::WriteTo and related code now that the output format is known statically. r=kinetik
Also fixes what I think is a bug in InterleaveAndConvertBuffer converting S16 to S16.
Instead of clamping the volume, we should handle arbitrary volumes by falling back
to the float conversion path.
2012-10-25 23:09:41 +13:00
Robert O'Callahan
3fe2b7b13b Bug 805254. Part 11: Move Vorbis-specific definitons into a new file VorbisUtils.h. r=kinetik 2012-10-25 23:09:41 +13:00
Robert O'Callahan
270b79d20e Bug 805254. Part 10: remove MOZ_CONVERT_AUDIO_SAMPLE. r=kinetik 2012-10-25 23:09:40 +13:00
Robert O'Callahan
2bdd5935a5 Bug 805254. Part 9: Get rid of some more #ifdefs in nsWaveDecoder. r=kinetik 2012-10-25 23:09:40 +13:00
Robert O'Callahan
384eb67455 Bug 805254. Part 8: Consolidate audio sample processing code using templates over the format types. r=kinetik
Replace nsAudioStream::Format with an AUDIO_OUTPUT_FORMAT enum value so we
can use it as a template parameter.

Introduce AudioSampleTraits<AudioSampleFormat> to give us access to the C++ type
corresponding to an enum value.

Move SampleToFloat/FloatToSample to AudioSampleFormat.h.

Introduce ConvertAudioSamples and ConvertAudioSamplesWithScale functions
and use them from various places.

Moves AudioDataValue to AudioSampleFormat.h. The name isn't great, but it'll do.
2012-10-25 23:09:40 +13:00
Robert O'Callahan
a0d739c463 Bug 805254. Part 7: Move SampleFormat to mozilla::AudioSampleFormat in its own file. r=kinetik 2012-10-25 23:09:40 +13:00
Robert O'Callahan
272b330f88 Bug 805254. Part 6: Replace some #ifdefs with if statements. r=kinetik
This is largely obsoleted by part 8. Sorry.
2012-10-25 23:09:39 +13:00
Robert O'Callahan
996ea428df Bug 805254. Part 5: Remove format parameter from PAudio constructor. r=kinetik 2012-10-25 23:09:39 +13:00
Robert O'Callahan
11cca22e78 Bug 805254. Part 4: Remove FORMAT_U8 from nsAudioStream::SampleFormat. r=kinetik
We also give nsWaveReader its own separate format enum.
2012-10-25 23:09:39 +13:00
Robert O'Callahan
9daf75897d Bug 805254. Part 3: Remove SampleType. r=kinetik 2012-10-25 23:09:39 +13:00
Robert O'Callahan
6ebf581b9e Bug 805254. Part 2: Rename nsAudioStream::GetFormat() to Format(), make it static, and use it instead of the MOZ_AUDIO_DATA_FORMAT macro. r=kinetik
Part 8 mostly replaces this patch, but it's quite difficult to reorder the patches to avoid this one.
2012-10-25 23:09:38 +13:00
Robert O'Callahan
231bb156a9 Bug 805254. Part 1: Remove mFormat from nsAudioStream. r=kinetik 2012-10-25 23:09:38 +13:00
Andrea Marchesini
317d788b96 Bug 804395 - Allow app:// protocol and XHR. r=sicking 2012-10-25 21:57:57 -04:00
Ryan VanderMeulen
f9f21d1079 Merge m-c to inbound. 2012-10-25 21:57:47 -04:00
Daniel Holbert
86007c1a13 Bug 805555: Mark nsXBLProtoImpl member-vars "cx" and "versionBefore" as DebugOnly. r=bz 2012-10-25 18:48:22 -07:00
Robert O'Callahan
9174df61e2 Bug 790854. Keep MediaStream alive until MediaStream::Destroy ends. r=jesup 2012-10-26 14:39:05 +13:00
Ryan VanderMeulen
4c180e35d1 Merge the last PGO-green inbound chnageset to m-c. 2012-10-25 21:14:50 -04:00
Masayuki Nakano
6c9580559c Bug 805306 Get rid of nsIMEStateManager::OnTextStateBlur() and nsIMEStateManager::OnTextStateFocus() r=smaug 2012-10-26 09:49:13 +09:00
Randell Jesup
c69045b847 Bug 805596: Incorrect audio rates used for fake audio streams r=anant 2012-10-25 20:14:47 -04:00
Andrew Quartey
6eb0ddf707 Bug 792581 - part 22: Replace LL_ZERO and LL_Zero() macros with 0. r=ehsan 2012-10-25 19:25:59 -04:00
Nikhil Marathe
44ce273499 Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8 2012-10-25 16:10:54 -07:00
Nikhil Marathe
5b8c5fd31a Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Nikhil Marathe
814dbc2a57 Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8 2012-10-25 16:10:53 -07:00
Robert O'Callahan
54e64ff390 Backout 15c4d6334107 (bug 790854) for test failures 2012-10-26 12:08:38 +13:00
Robert O'Callahan
a7019f243f Bug 790854. Set mMainThreadDestroyed before the stream is destroyed. r=jesup
--HG--
extra : rebase_source : 6b1d2a64b9af082b02a207759f051cb6d7975e35
2012-10-26 11:07:59 +13:00
Daniel Holbert
3eb391cb2a Bug 805527: Mark nsBindingManager as MOZ_FINAL to fix GCC -Wdelete-non-virtual-dtor warning. r=ehsan 2012-10-25 15:16:15 -04:00
John Schoenick
84c270d094 Bug 803159 - Guess plugin types from extension prior to falling back to channel loading. r=bz 2012-10-25 11:05:17 -07:00
John Schoenick
acb47b5004 Bug 803159 - Fix type error in plugin code. r=bz 2012-10-25 11:04:52 -07:00
Ehsan Akhgari
78b2656cbc Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
03be701616 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Bobby Holley
2c584933ef Bug 797821 - Address Ms2ger's review comments. r=me 2012-10-25 17:01:09 +02:00
Bobby Holley
461c6572fd Bug 797821 - Hoist XPConnect-y stuff out of the compartment private and into the XPCWrappedNativeScope. r=mrbkap
This change means we no longer have to keep around a set of XPConnect compartments.
We keep the compartment private around for non-xpconnecty stuff like about:memory
instrumentation that needs to happen on non-xpconnect compartments.
2012-10-25 17:01:09 +02:00
Bobby Holley
db865e0ccf Bug 797821 - Don't pass XPCONNECT_GLOBAL_FLAGS for xbl and xul document gSharedGlobalClass. r=mrbkap
A lot of these flags don't make sense in this context.
2012-10-25 17:01:08 +02:00
Bobby Holley
ea14cf4726 Bug 797821 - Stop making nsXBLDocumentInfo and nsXULPrototypeDocument globals with XPConnect. r=mrbkap
We already weren't creating a scope for them. They're generally pretty isolated
and are just used for holding functions that get cloned into other scopes.
Apparently mccr8 once found an edge from an nsXULPrototypeDocument scope into
another scope, but I don't think that should really break anything.
2012-10-25 17:01:07 +02:00
Bobby Holley
4f6ed4314a Bug 797821 - Stop passing wantXrays directly to CreateGlobalObject. r=mrbkap
This can happen after the fact where it needs to.
2012-10-25 17:01:07 +02:00
Bobby Holley
597176da8c Bug 797821 - Simplify the call signature for XPC::CreateGlobalObject. r=mrbkap 2012-10-25 17:01:07 +02:00
Jim Mathies
cc10f75d87 Bug 798821 - On Windows, restrict enabling of W3C touch interfaces to devices that support touch input. Also convert touch pref to 3-state value. r=bsmedberg 2012-10-25 09:57:51 -05:00
Mook
664647cf94 bug 782549 - check if the window has device sensor listeners, instead of global listener count (r=dougt) 2012-10-20 21:40:56 -07:00
Justin Lebar
3acf01ecb1 Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn 2012-10-24 22:06:31 -04:00
Randell Jesup
2eb9a9bf7e Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Randell Jesup
97d57fb78e Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc 2012-10-24 19:21:15 -04:00
Ehsan Akhgari
28c105ccf5 Backed out changeset ea436c6f7d2d (bug 803799), landed on a CLOSED TREE 2012-10-24 20:30:08 -04:00
Ehsan Akhgari
33b4d241b7 Backed out changeset 165208ecd591 (bug 803976) 2012-10-24 20:29:32 -04:00
Randell Jesup
5d4b72af55 Bug 803976: Implementation of LocalMediaStreams for .stop() r=roc,anant 2012-10-24 19:21:32 -04:00
Randell Jesup
781f490022 Bug 803799: Start gUM streams in Success callback; add MediaManager mutex r=anant,roc 2012-10-24 19:21:15 -04:00
Benoit Jacob
9b38025820 Bug 757593 - Fix WebGL context restorer timer: InitWithFuncCallback's 3rd parameter is a number of milliseconds - r=bz 2012-10-24 15:46:31 -04:00
Jeff Walden
7042873948 Bug 768750 - Make FieldSetter always set a return value. r=bz 2012-10-17 13:42:58 -07:00
Justin Lebar
b73791971c Back out 37e8ef1c7353 (bug 803684) due to Windows red.
--HG--
extra : rebase_source : 17a1ad6c967781e46f23c2938633b18c88709910
2012-10-24 13:38:35 -04:00
Justin Lebar
81ba0ba3ab Bug 803684 - Add a memory reporter for in-memory file data. r=khuey,njn 2012-10-24 12:40:35 -04:00
Honza Bambas
6b99a52009 Bug 654348 - Make XMLHttpRequest prefer explicit credentials (in the URL) over cached credentials, r=cbiesinger 2012-10-24 16:05:13 +02:00
Honza Bambas
8b8008e418 Bug 761479 - XMLHttpRequest with mozAnon=true should still send explicitly passed username + password, r=cbiesinger 2012-10-24 16:05:13 +02:00
Bobby Holley
80d75e4f8c Bug 801576 - Fix sandbox test. r=mrbkap 2012-10-24 12:04:18 +02:00
Devdatta Akhawe
bcf0534cfb Bug 803765 - Documentation for aRequestPrincipal r=bz 2012-10-23 21:44:11 -07:00
Benoit Jacob
f51e0a484e Bug 795186 - fix the WebGL robustness timer, don't inherit the timer callback base class - r=opettay 2012-10-23 12:21:23 -04:00
Honza Bambas
80045583a2 Backout of changeset 6f1121e69ee9 2012-10-23 17:37:02 +02:00
Honza Bambas
b98093ca8e Bug 761479 - XMLHttpRequest with mozAnon=true should still send explicitly passed username + password, r=cbiesinger 2012-10-23 17:03:49 +02:00
Chuck Lee
3156424831 Bug 780142 - Rewrite MozWifiConnectionInfoEvent. r=smaug 2012-10-22 18:18:26 +08:00
Chuck Lee
c467984383 Bug 780142 - Rewrite WifiStatusChangeEvent. r=smaug 2012-10-22 17:17:18 +08:00
Robert Longson
ec99803c5d Bug 644534 - Make SMIL animation work when content is transformed through XSLT. r=bzbarsky 2012-10-23 09:21:49 +01:00
Henri Sivonen
7bdeb64895 Bug 687859 - Make the BOM take precedence when determining the character encoding of scripts. r=smaug. 2012-10-23 09:26:34 +03:00
Robert O'Callahan
117a471483 Bug 800859. Part 3: Dispatch MozAfterPaint after we've done the COMPOSITE step for the invalidations recorded in the event. r=mattwoodrow
--HG--
extra : rebase_source : 7a204c0930e7a2a35ad99af79d28ebba56f034fe
2012-10-19 17:50:34 +13:00
Carmen Jimenez Cabezas
206612e73e Bug 773891 - With AppsService changes 2012-10-19 12:43:17 +02:00
Benoit Jacob
3d2c0713dc Bug 795186 - Declare refptrs between WebGL objects to the CC even if there is no cycle at C++ level - r=opettay 2012-10-22 17:17:42 -04:00
Boris Zbarsky
9af1986044 Bug 798187 even more followup. Disable broken WebGL test, and update to Peter's review comments. r=peterv 2012-10-22 15:14:30 -04:00
Nick Hurley
e7f284c9d3 Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Abhishek Potnis
8ad6e4b4f3 Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan 2012-10-20 07:31:43 +05:30
Boris Zbarsky
cd4e9e4533 Bug 798187 part 2. Switch WebGLContextAttributes to being a dictionary. r=peterv,bjacob 2012-10-22 13:08:52 -04:00
Boris Zbarsky
48f9a54684 Bug 798151. Support stringifier operations (but not yet attributes!) on non-proxy bindings, and fix Object.prototype.toString for proxy bindings. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky
04d6d1040c Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky
f49c8f247c Bug 801712 part 1. Add the WebIDL binding API to ImageData. r=peterv 2012-10-22 13:08:52 -04:00
Boris Zbarsky
ab3d97d203 Bug 776242. Remove now-unused 2d canvas classinfo. r=peterv 2012-10-22 13:08:52 -04:00
Robert Longson
814606cd60 Bug 801317 - Support transforms in SVG fragment identifiers. r=dholbert 2012-10-22 10:13:24 +01:00
Bobby Holley
0c1ca835dd Bug 789224 - Remove signed script security checks. r=mrbkap 2012-10-22 08:29:55 +02:00
Bobby Holley
3a93472e80 Bug 789224 - Remove miscellaneous UniversalXPConnect checks sprinkled throughout gecko. r=mrbkap 2012-10-22 08:29:55 +02:00
Andrea Marchesini
800e40bd54 Bug 804446 - Disable the javascript: protocol when it is entered in the location bar of browser in Firefox OS, r=bz 2012-10-26 10:46:27 +02:00
Ms2ger
3accfeaf06 Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz 2012-10-21 09:38:41 +02:00