Commit Graph

290088 Commits

Author SHA1 Message Date
Boris Zbarsky
6d79ee82a3 Bug 807226 part 3. Change event handlers to call their WebIDL callbacks directly. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
beb6a36d0f Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug 2012-11-09 08:00:25 -08:00
Boris Zbarsky
bec7132f7d Bug 807226 part 1. Make it easier to do special things with beforeunload and error events as needed. r=smaug 2012-11-09 08:00:24 -08:00
Boris Zbarsky
30a5c69587 Bug 807226 part 0.5. More undefs to stop Windows headers from messing with our GetClassName. r=peterv 2012-11-09 07:59:41 -08:00
Boris Zbarsky
529460c9c6 Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv 2012-11-09 07:59:33 -08:00
Boris Zbarsky
969b8c6b33 Bug 779048 followup. Add a comment that explains why the assert about exceptionCode being default when invalidEnumValueFatal is false is an ok thing to assert. r=peterv, DONTBUILD 2012-11-09 07:58:33 -08:00
Boris Zbarsky
d8fee95886 Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug 2012-11-09 07:43:58 -08:00
Boris Zbarsky
c2e7420950 Bug 779048 part 9. Give JS-to-native conversion an object pointer to work with so it can convert callback objects. r=peterv 2012-11-09 07:43:58 -08:00
Boris Zbarsky
272331140d Bug 779048 part 8. Handling of arguments for callbacks. r=peterv
Note that we're now using the array object as the "obj" when wrapping
sequence members, because we don't have an 'obj' around in our
code... and every single existing sequence-of-interfaces consumer
relied on there being an 'obj' floating about.

Also note that I needed to rearrange the various wrapping helpers so
that we can wrap things that are hanging out in const smartpointers or
in const OwningNonNull or in plain object references.
2012-11-09 07:43:58 -08:00
Boris Zbarsky
a4a4a10299 Bug 779048 part 7. Make native-to-JS conversion support doing something other than "return false" on JS exceptions. r=peterv 2012-11-09 07:43:58 -08:00
Boris Zbarsky
1649f6c386 Bug 779048 part 6. Handling of return values for callbacks. r=peterv 2012-11-09 07:43:58 -08:00
Boris Zbarsky
4779ff59ef 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
7752f218bb 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
a04350646a 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
c238a8e902 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
05e4e3b75a 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
63fb55a443 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
e09214c973 Bug 809882 - Disallow non-positive arguments to AudioContext.createDelay; r=bzbarsky 2012-11-08 13:17:22 -05:00
Ehsan Akhgari
e18f765a77 Merge mozilla-central into mozilla-inbound 2012-11-09 09:47:33 -05:00
Panos Astithas
6b52040591 Merge m-c to fx-team 2012-11-09 08:59:01 +02:00
Brian R. Bondy
1f148689cc 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
f897e1c03c 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
86cf1e41ca Bug 791822 - Add .gt to IDN whitelist. 2012-11-09 13:29:43 +00:00
Gervase Markham
f13659960d Bug 770877 - Add .com, .net, .name to IDN TLD whitelist. 2012-11-09 13:27:20 +00:00
Mounir Lamouri
ae737c8efe 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
225ba431b5 Bug 809585 - Remove nsITextControlFrame::GetTextLength. r=bz 2012-11-09 10:32:01 +00:00
Mounir Lamouri
7e7986dbf9 Bug 809584 - Move the placeholder visibility logic to nsTextEditorState. r=ehsan 2012-11-09 10:31:34 +00:00
Mounir Lamouri
8644ce2020 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
f7ee629089 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
d3a0c417ab Bug 737786 - 4/5 - Add more tests for ::-moz-placeholder. r=bz 2012-11-09 10:26:37 +00:00
Mounir Lamouri
b172bb3de1 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
a69affa1ba 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
8edfbaf7e4 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
32446fd81f 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
2d7946316e Bug 799609 - Disable Places in B2G - Part 5 - Build B2G without Places
r=jlebar
2012-11-09 10:56:01 +01:00
Marco Bonardo
1206805572 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
f5d87462b2 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
afedd3bf3c 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
63752889cd 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
042bd8ad7a 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
db6979f76c bug 774560 pt 2 - implement text-transform:full-width. r=smontagu 2012-11-09 09:43:48 +00:00
Jonathan Kew
f19b7d1e06 bug 774560 pt 1 - add Unicode full-width character mapping data. r=smontagu 2012-11-09 09:43:48 +00:00
Henri Sivonen
3c818a1876 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
0bc2b12b46 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
074b802eac 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
726487e893 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
83708e59d6 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
b57311f4d0 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
78368740b1 Bug 806996 part.1 Remove nsTextStateManager::mDestroying r=smaug 2012-11-09 17:40:39 +09:00
Boris Zbarsky
97b83582f6 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