Commit Graph

253044 Commits

Author SHA1 Message Date
Mats Palmgren
f1c56f2e22 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
2c56109b0d Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Mats Palmgren
605a290f3b Bug 653649 - New way of getting child lists from frames. (part 2/5) r=roc sr=dbaron
Implement GetChildList(ChildListID) and GetChildLists(nsTArray<ChildList>*)
for various frame classes.  Remove GetAdditionalChildListName(PRInt32)
methods and associated macros and list index constants.
2011-08-24 22:54:29 +02:00
Mats Palmgren
36202edfbd Bug 653649 - New way of getting child lists from frames. (part 1/5) r=roc sr=dbaron
Add types to represent identifiers for frame child lists, sets of those
identifiers, and iterators over the child lists of a frame.
Define a enumeration type FrameChildListID representing all of the types
of child lists that frames have (each with a unique bit), a class
FrameChildListIDs for representing any set of FrameChildListID, and a
class FrameChildListIterator for iterating over all of the child lists
of a frame.
2011-08-24 22:54:29 +02:00
Boris Zbarsky
d255cf2b24 Bug 659350 part 6. Add various tests for the on* properties. r=smaug 2011-08-24 15:49:26 -04:00
Boris Zbarsky
1c9abe2f8d Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Boris Zbarsky
d189b7ba20 Bug 659350 part 4. Change some tests that depend on the old behavior where inline event handlers hang directly off the JSObject to not depend on it. r=smaug 2011-08-24 15:49:25 -04:00
Boris Zbarsky
621f69c2c1 Bug 659350 part 3. Add nsITouchEventReceiver for elements. r=smaug 2011-08-24 15:49:25 -04:00
Boris Zbarsky
65b18775af Bug 659350 part 2. Add nsITouchEventReceiver for windows. r=smaug 2011-08-24 15:49:25 -04:00
Boris Zbarsky
467edd9085 Bug 659350 part 1. Add an nsITouchEventReceiver interface that will hold the touch-related on* properties, make it possible to declare conditional interfaces in classinfo, and make this new interface conditional on the touch event preference for documents. r=smaug,peterv 2011-08-24 15:49:25 -04:00
Matt Brubeck
c165ff1612 Bug 681718 - Fix JS errors from text selection when long-tapping on local pages [r=mfinkle] 2011-08-24 12:38:40 -07:00
Sriram Ramasubramanian
abf475f3c6 Bug 680933 - long tapping on a tab from last time at about:home does not bring up the context menu [r=mbrubeck] 2011-08-24 12:38:40 -07:00
Mounir Lamouri
6234290d02 Bug 681666 - Add formNoValidate attribute to test_button_attributes_reflection.html r=Ms2ger 2011-08-24 21:32:06 +02:00
Chris Lord
4d3019a1b9 Bug 675908 - Fix TiledTextureImage updates. r=joe,romaxa
TiledTextureImage breaks BeginUpdate/EndUpdate in these cases:

- The update is encompassed by more than one tile
- The update is encompassed by a single tile that isn't the first tile
- The update is a non-rectangular region that covers more than one tile

Fixed by using signed instead of unsigned integers in tile loops, correcting
an incorrect device offset and correcting the region returned by BeginUpdate.
2011-08-24 20:21:53 +01:00
Jonathan Griffin
2a9adb8f59 Bug 673285 - Remove unnecessary timeouts in test, r=smaug, a=testonly
--HG--
extra : rebase_source : d4dd42e4233e478edf1024536751a225ff1e0428
2011-08-24 10:47:54 -07:00
Rafael Ávila de Espíndola
113e49cebd Bug 674647 - Fix mozconfig.leopard for machines without universal IDL builds.
Our 10.6 bots only have a 64 bit version of IDL, so we have to do a cross
compile when targeting a 32 bit 10.5.

DONTBUILD
2011-08-24 13:42:20 -04:00
Mounir Lamouri
e02ab94c09 Bug 678820 - nsAttrAndChildArray shouldn't ask for a new slot in the mapped attributes object when it is not needed. f=bz r=sicking 2011-08-24 19:27:52 +02:00
Oleg Romashin
8f2bbbce9e Bug 677712 - Make Qt port support No X11 build; r=dougt,joe
--HG--
rename : dom/plugins/ipc/NPEventX11.h => dom/plugins/ipc/NPEventUnix.h
2011-08-24 17:15:58 +01:00
Landry Breuil
3b0410e4e6 Bug 679324 - Don't show the update channel on the about dialog if the updater is disabled; r=margaret 2011-08-24 15:48:02 +01:00
Stephen Horlander
5ad8b0c2dc Bug 679708 - Update toolbar icon styling for 10.7 Lion. r=dao 2011-08-24 10:36:24 -04:00
Josh Matthews
70bf98d8bc Bug 679791 - Make nsIFrame::IsFocusable use heuristics that don't depend on the graphical display of scrollbars. r=roc 2011-08-17 13:55:57 -04:00
Chris Lord
2aa06762af Bug 611315 - Fix handling of rotated ShadowBufferOGL
Although we currently have buffer rotation disabled for shadow buffers when
using the GL layer manager, if you re-enable it, it will be broken. This is
because we don't take into account the rotation when handling updates.

This fixes that handling by offsetting the updated region by the rotation,
and if that new region crosses texture boundaries, splitting it into
multiple uploads.
2011-08-24 15:10:03 +01:00
Chris Lord
42d612afd7 Fix drawing of GL Thebes layers with rotation when using tiled textures
Drawing of rotated buffers relies on texture-wrapping, but in the case of
tiled textures, this would cause each individual tile to wrap instead of
wrapping the compound texture.

Add a special case for tiled textures that manually does the wrapping.
2011-08-24 15:09:59 +01:00
Rafael Ávila de Espíndola
c8421d78b7 Bug 681036 - Fix c++0x initializer list error found by clang. r=karlt
The C++11 draft says about initializer lists:

"If a narrowing conversion (see below) is required to convert any of
the arguments, the program is ill-formed."

and

"A narrowing conversion is an implicit conversion...

from an integer type or unscoped enumeration type to an integer type
that cannot represent all the values of the original type, except where
the source is a constant expression..."

--HG--
extra : rebase_source : c4e5fcc0442050c4d9788c4a260249437acfaea6
2011-08-24 09:00:16 -04:00
Brian R. Bondy
11301652b0 Bug475045 - Can't drag unlinkified URL to bookmarks toolbar. r=mak,enndeakin 2011-08-24 08:52:53 -04:00
Simon Montagu
b89bd04eb9 Bug 601261 - nsXPCOMDetector::DoIt didn't call Reset resulting in crash [@ nsSJISProber::HandleData]. r=emk 2011-08-24 16:26:17 +09:00
Nicholas Nethercote
3e7e60e262 Update nanojit-import-rev stamp. 2011-08-23 22:02:58 -07:00
Rafael Ávila de Espíndola
f387a0c914 Bug 678051 - Fix c++0x initializer list error found by clang. r=nnethercote.
--HG--
extra : convert_revision : 55c10227eece4a02b593997eda3dedef39af7beb
2011-08-21 20:18:18 -07:00
William Maddox
c6add17d55 Bug 673214 - nanojit.h should probably include njcpudetect.h [stejohns@adobe.com] (r=nnethercote)
--HG--
extra : convert_revision : fc5941cc395ec47ca06c022fd7cdb44d9130eaf8
2011-08-17 15:41:30 -07:00
William Maddox
9d22df3ccc Bug 679454 - Correctly handle cross-segment jumps on MIPS [chris@mips.com] (r=wmaddox)
--HG--
extra : convert_revision : bed1948bd2e72c4d77016289242645a50277483d
2011-08-17 14:29:08 -07:00
Edwin Smith
b218bf59e8 Bug 679397 - X64 branch patch code seems to be wrong for jmp 64bit, but is actually fine: comment needed. (r=edwsmith)
--HG--
extra : convert_revision : f8df3cfd88b628f5488f3b6734543e3f7ff6f968
2011-08-17 16:11:36 -04:00
Chris Dearman
d28dafaadd Comment Bug 602389 - nanojit: make Register a non-numeric type on MIPS. r=nnethercote.
--HG--
extra : convert_revision : 8363264654d5e1cc9c552764e476476b634fabd9
2011-07-24 19:55:58 -07:00
Mike Hommey
29418bc8c7 Bug 670323 - Fixes for nanojit on ARMv4T. r=jbramley
--HG--
extra : convert_revision : 6943e40c4f0a2f9b3c0551306ce89aa535579178
2011-07-09 09:56:27 +02:00
Steven Johnson
b8c7b7666f Bug 672722 - [MIPS] Use unsigned comparison for LIR_leui (r=wmaddox)
--HG--
extra : convert_revision : aa21f56df4d21e27c3b7a9770dfb08f275388751
2011-07-20 17:03:45 -07:00
Matt Woodrow
839491fa95 Bug 675474 - Use glXWaitX to synchronize X and OpenGL. r=bjacob 2011-08-24 13:56:30 +12:00
Matt Woodrow
ca9abb4e9a Bug 675532 - Add GLX debug mode. r=bjacob 2011-08-24 13:55:43 +12:00
Philipp von Weitershausen
6c71c32ba7 Merge m-c to m-i 2011-08-23 18:33:02 -07:00
Brian Birtles
742d8652b0 Bug 650732 - Test for HandleChangedInterval changes; r=dholbert 2011-08-24 08:33:43 +09:00
Benjamin Stover
6eb3d9db4c Bug 680126 Use ColorLayers for presshell painting and correct painting area r=roc 2011-08-23 15:59:43 -07:00
Daniel Holbert
61b7a3150e Bug 680777: Sync "do not track" pref between mobile devices. r=mfinkle 2011-08-23 15:18:29 -07:00
Daniel Holbert
b28f1c56e9 Bug 570341 followup: Fix nsDocShell init list ordering to address GCC warning. r=gavin r=biesi 2011-08-23 15:17:30 -07:00
Allison Naaktgeboren
f99fc1128e Merge services-central into mozilla-central. 2011-08-23 14:38:16 -07:00
Benoit Girard
a6b3246fd0 Backout changeset 07d34812bdee, b879d413ce2d, 0c59eeb18700 due to android opengl regression on chrome pages; r=backout 2011-08-23 17:12:15 -04:00
Mounir Lamouri
f5c7d07539 Merging mozilla-inbound into mozilla-central. 2011-08-23 17:50:45 +02:00
Olli Pettay
b3a4be3d45 Bug 680687, Follow COM rules - keep strong ref to object, r=jst 2011-08-23 15:57:29 +03:00
Marco Bonardo
8ad28d0ee6 Bug 680550 - Handle removeAllPages more sanely in tests.
r=dietrich
2011-08-23 14:34:15 +02:00
Jonathan Kew
f8811589bb bug 680037 - check calls for failure before using the results in nsFontFaceLoader::LoadTimerCallback. r=jdaggett 2011-08-23 13:33:51 +01:00
Jonathan Kew
0d6a349206 bug 637179 - use PRUint32 for character/cluster indexes to avoid build warnings. r=jwatt 2011-08-23 13:31:56 +01:00
Jonathan Kew
11b97147e5 bug 680717 - use the correct loop index variable when parsing cmap VS subtable. r=jdaggett 2011-08-23 13:28:05 +01:00
Ed Morley
3c59991770 Bug 680864 - Part B - Remove IPC_MESSAGE_ENABLE_RPC/BASE_API defines + histogrammer leftovers; r=cjones 2011-08-23 11:43:04 +01:00