Commit Graph

112552 Commits

Author SHA1 Message Date
Boris Zbarsky
5d6259af0a Bug 779048 part 6. Handling of return values for callbacks. r=peterv 2012-11-09 07:43:58 -08:00
Boris Zbarsky
06263c8888 Bug 779048 part 5. Make js-to-native conversion support doing something other than "return false" on JS exceptions. r=peterv 2012-11-09 07:43:58 -08:00
Boris Zbarsky
1020c25604 Bug 779048 part 4. Implement basic codegen for callbacks, without handling of arguments or return values yet. r=peterv 2012-11-09 07:43:57 -08:00
Boris Zbarsky
c7949cb5a7 Bug 779048 part 3. Refactor the code we use for generating example declarations a bit so we can reuse it for callbacks. r=peterv 2012-11-09 07:43:57 -08:00
Boris Zbarsky
01d54b91df Bug 779048 part 2. Rearrange how we do our includes and forward-declares to actually work with callbacks and dictionaries sanely. r=peterv 2012-11-09 07:43:57 -08:00
Boris Zbarsky
7399600c6f Bug 779048 part 1. Implement a parent class for C++ reflections of callback functions in WebIDL. r=bholley,smaug 2012-11-09 07:43:57 -08:00
Boris Zbarsky
f05491aec8 Bug 779048 part 0.5. Don't require a JSContext argument for nsJSUtils::GetStaticScriptGlobal. r=bholley 2012-11-09 07:43:57 -08:00
Ehsan Akhgari
5c3198f30a Bug 809882 - Disallow non-positive arguments to AudioContext.createDelay; r=bzbarsky 2012-11-08 13:17:22 -05:00
Ehsan Akhgari
3e53e0e5de Merge mozilla-central into mozilla-inbound 2012-11-09 09:47:33 -05:00
Panos Astithas
a82078b744 Merge m-c to fx-team 2012-11-09 08:59:01 +02:00
Brian R. Bondy
d0195c204d Bug 797013 - CheckInterfaceSupport fails on some hardware in metrofx. Do not rely on it. r=bas 2012-11-08 21:34:44 -05:00
Gervase Markham
b870441e7d Bug 797147 - Update PSL for .UK. Temporary reversion of part of change until
more clarity can be obtained on intent.
2012-11-09 13:33:40 +00:00
Gervase Markham
810bd7b352 Bug 791822 - Add .gt to IDN whitelist. 2012-11-09 13:29:43 +00:00
Gervase Markham
3597a772cf Bug 770877 - Add .com, .net, .name to IDN TLD whitelist. 2012-11-09 13:27:20 +00:00
Mounir Lamouri
2671f5a513 Bug 807613 - Add a pref to make the placeholder disappear when a text field is focused. r=bz 2012-11-09 10:32:58 +00:00
Mounir Lamouri
4356abff2c Bug 809585 - Remove nsITextControlFrame::GetTextLength. r=bz 2012-11-09 10:32:01 +00:00
Mounir Lamouri
5eed937cc5 Bug 809584 - Move the placeholder visibility logic to nsTextEditorState. r=ehsan 2012-11-09 10:31:34 +00:00
Mounir Lamouri
33e851046c Bug 556145 - Use opacity instead of GrayText for ::-moz-placeholder UA's style. r=bz,davidb 2012-11-09 10:30:54 +00:00
Mounir Lamouri
7fcb75455c Bug 737786 - 5/5 - Add pointer-events: none; in ::-moz-placeholder styling and test it. r=bz 2012-11-09 10:27:03 +00:00
Mounir Lamouri
71b0fc695a Bug 737786 - 4/5 - Add more tests for ::-moz-placeholder. r=bz 2012-11-09 10:26:37 +00:00
Mounir Lamouri
95886455ae Bug 737786 - 3/5 - Restrictions for ::-moz-placeholder. r=bz
The restrictions are basicially the one used for ::first-line with a few additions required to style the placeholder by the UA or for the users. See the bug comments for more details (hopefully, there will be a doc and a spec soon enough).
2012-11-09 10:25:52 +00:00
Mounir Lamouri
58aa0a96d8 Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz 2012-11-09 10:24:23 +00:00
Mounir Lamouri
b48108567b Bug 737786 - 1/5 - Show/hide placeholder based on display lists instead of CSS class. r=bz 2012-11-09 10:22:29 +00:00
Josh Aas
bea5389ef5 Bug 801601: Remove code specific to OS X 10.5 in Cocoa widgets. r=smichaud 2012-11-09 05:22:36 -05:00
Marco Bonardo
34b33a923f Bug 799609 - Disable Places in B2G - Part 5 - Build B2G without Places
r=jlebar
2012-11-09 10:56:01 +01:00
Marco Bonardo
734834f6cd Bug 799609 - Disable Places in B2G - Part 4 - Disable Places in Firefox for Android.
Move Android history implementation to the mobile folder, use the newly
exposed NotifyVisited API, disable Places.
r=blassey

--HG--
rename : toolkit/components/places/nsAndroidHistory.cpp => mobile/android/components/build/nsAndroidHistory.cpp
rename : toolkit/components/places/nsAndroidHistory.h => mobile/android/components/build/nsAndroidHistory.h
2012-11-09 10:55:59 +01:00
Marco Bonardo
ca207d0361 Bug 799609 - Disable Places in B2G - Part 3 - Allow widget to be built without Places
r=jimm
2012-11-09 10:55:56 +01:00
Marco Bonardo
552921d7dc Bug 799609 - Disable Places in B2G - Part 2 - Allow docshell and content to build without Places
Expose NotifyVisited API and fix code so it can be built with alternative history implementations.
r=jlebar
2012-11-09 10:55:54 +01:00
Marco Bonardo
73f24438db Bug 799609 - Disable Places in B2G - Part 1 - Remove Android history from Places
r=paolo
2012-11-09 10:55:48 +01:00
Jonathan Kew
799ee3d251 bug 774560 pt 3 - testcase for all characters with a full-width mapping. r=smontagu 2012-11-09 09:43:48 +00:00
Jonathan Kew
a6f11a5eff bug 774560 pt 2 - implement text-transform:full-width. r=smontagu 2012-11-09 09:43:48 +00:00
Jonathan Kew
b4053a4624 bug 774560 pt 1 - add Unicode full-width character mapping data. r=smontagu 2012-11-09 09:43:48 +00:00
Henri Sivonen
2f13dd66f6 Bug 809403 - Sync Gecko C++ version of the HTML parser with changes made for Rust. rs=smaug. 2012-11-09 11:04:28 +02:00
Masayuki Nakano
85e4e24816 Bug 806996 part.6 Test if nsIWidget::OnIMEFocusChange() is called by nsTextStateManager properly r=smaug 2012-11-09 17:40:40 +09:00
Masayuki Nakano
189313a6bf Bug 806996 part.5 nsEditor::PostCreate() should call nsIMEStateManager::UpdateIMEState() rather than nsIMEStateManager::OnChangeFocus() when it already has focus r=ehsan 2012-11-09 17:40:39 +09:00
Masayuki Nakano
7ae8174ff1 Bug 806996 part.4 Make sure to recreate nsTextStateManager instance in OnFocusInEditor() and UpdateIMEState() if the focused editor isn't being managed r=smaug 2012-11-09 17:40:39 +09:00
Masayuki Nakano
20ea1ebbf7 Bug 806996 part.3 Make sure to call nsIWidget::OnIMEFocusChange(false) at destroying nsTextStateManager instance only once per calling nsIWidget::OnIMEFocusChange(true) r=smaug 2012-11-09 17:40:39 +09:00
Masayuki Nakano
2a122ad59f Bug 806996 part.2 nsTextStateManager::IsManaging() should check if mRootContent is still in the mEditableNode r=smaug 2012-11-09 17:40:39 +09:00
Masayuki Nakano
305c137140 Bug 806996 part.1 Remove nsTextStateManager::mDestroying r=smaug 2012-11-09 17:40:39 +09:00
Boris Zbarsky
70d8b5a29b Bug 805988. Add some asserts that new-binding objects are nsISupports if they claim to be or or can be safely reinterpret_cast to nsWrapperCache, if they have an nsWrapperCache at all, if they don't claim to be nsISupports. r=peterv
Note that everything except the new asserts just got moved with no changes.
2012-11-08 23:48:42 -08:00
Boris Zbarsky
938e5422f5 Bug 808991. Named getters should get called for indexed properties on objects that don't support indexed properties. r=peterv 2012-11-08 23:48:42 -08:00
Matt Woodrow
a573135e7f Bug 799165 - Don't revoke a view manager flush on PresShell destruction if we don't own the refresh driver. r=roc 2012-11-09 19:21:45 +13:00
Ehsan Akhgari
f739744839 Bug 810177 - Part 4: Make nsMediaDecoder not depend on nsHTMLMediaElement; r=cpearce
The basic idea in this patch is to create an MediaDecoderOwner
interface which nsHTMLMediaElement would implement, and put everything
needed by nsMediaDeocder on that interface.  In addition to that,
there are a number of other cleanup patches which enables us to
eliminate many of the nsHTMLMediaElement.h #includes in the media code.
2012-11-09 00:52:53 -05:00
Ehsan Akhgari
94d2c303e6 Bug 810177 - Part 3: Move the IsFormatEnabled methods from nsHTMLMediaElement to nsMediaDecoder; r=cpearce
This patch moves the various Is{Format}Enabled methods to
nsMediaDecoder.  These methods are all implemented on top of prefs, and
they logically belong to the decoder class, because it needs to know
what media types it should be able to decode.  This also helps reduce
the dependency on nsHTMLMediaElement.h.
2012-11-08 21:46:10 -05:00
Brian R. Bondy
4aba497de3 Bug 792106. r=rstrong 2012-11-08 20:56:42 -05:00
Robert Strong
41f9ab06b1 Bug 792106. r=bbondy 2012-11-08 20:56:38 -05:00
Ryan VanderMeulen
119b7752cc Merge the last PGO-green inbound changeset to m-c. 2012-11-08 19:52:11 -05:00
Ehsan Akhgari
0704216980 Bug 810177 - Part 2: Break MetadataTags out of nsHTMLMediaElements; r=cpearce
This patch simply moves the MetadataTags typedef to nsMediaDecoder.h to
reduce the dependencies on nsHTMLMediaElements.h.  The rest of the
changes are made to make this compile.
2012-11-08 19:40:08 -05:00
Ehsan Akhgari
12f30adf52 Bug 810177 - Part 1: Move NextFrameStatus to nsMediaDecoder; r=cpearce
This patch simply moves the NextFrameStatus enum to nsMediaDecoder and
reorganizes things so that they compile again.
2012-11-08 18:22:32 -05:00
Doug Turner
b5ecdd6933 Bug 809288 - nsGeolocationService GetInstance / GetGeolocationService inconsistencies. r=mrbkap a=blocking-basecamp 2012-11-08 15:36:50 -08:00