Commit Graph

75531 Commits

Author SHA1 Message Date
Jim Blandy
01972cd38f Bug 673125: Implement the Debugger.Frame.prototype.onStep accessor. r=jorendorff. 2011-08-23 14:45:36 -05:00
Jim Blandy
3abd972834 Bug 673125: Provide stack-allocated vectors of JSObject pointers. r=luke. 2011-08-23 14:45:21 -05:00
Jim Blandy
fab58c0d9c Bug 673125: Have each JSScript maintain both a count and a flag indicating whether it should be in single-step mode. r=jorendorff.
The rationale is explained in the comments in jsscript.h.
2011-08-23 14:44:22 -05:00
Jim Blandy
f392770f34 Bug 673125: Maintain a list of active js::Interrupt frames, their FrameRegs, and their interruptors. r=jorendorff.
The comment atop InterpreterFrames explains why this is needed, although it
is only used by later patches in the series.
2011-08-23 14:44:03 -05:00
Brian Hackett
8cbe20828b Restore frame pointer at exception block entry before invoking any trap, bug 658491. r=jorendorff. 2011-08-23 14:43:26 -05:00
Jason Orendorff
b33e0d70c3 Bug 680428 - onEnterFrame does not work with tracejit. r=dvander.
--HG--
rename : js/src/jit-test/tests/debug/onEnterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-04.js
2011-08-23 14:42:17 -05:00
Chris Lord
332f190899 Bug 664149 - Target Android API level 11 to remove the menu key on Honeycomb [r=blassey] 2011-06-15 01:56:00 -07:00
Matt Brubeck
bbe040fbe3 Bug 664149 - Enable browser.ui.layout.tablet by default on large-screen devices [r=mfinkle] 2011-08-24 16:30:02 -07:00
Chris Lord
62c8f939e9 Bug 664149 - Add a menu pop-up button for tablet mode [r=mfinkle] 2011-08-24 16:20:56 -07:00
Sriram Ramasubramanian
5c79ae4790 Bug 679862 - "Update default blank document favicon" [r=mark.finkle] 2011-08-24 13:17:00 -04:00
Mark Finkle
d4e5194252 Bug 678748 - Add tests for textbox context menu [r=mbrubeck] 2011-08-24 17:24:47 -04:00
Benjamin Stover
d4a463f7ec Bug 680126 Reduce checkerboarding during load r=mbrubeck 2011-08-24 14:01:18 -07:00
Mats Palmgren
2a1e806d9f Bug 653649 - New way of getting child lists from frames. (part 5/5) r=roc
Add a kPrincipalList alias in nsCSSFrameConstructor.cpp to avoid
the nsIFrame:: prefix in numerous places.
2011-08-24 22:54:30 +02:00
Mats Palmgren
6894179e71 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
f06792a6ef 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
90d0315f85 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
9f9e29b33d 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
15b5af918d Bug 659350 part 6. Add various tests for the on* properties. r=smaug 2011-08-24 15:49:26 -04:00
Boris Zbarsky
8bdd1a64af 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
eb5b744132 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
81585dfcf4 Bug 659350 part 3. Add nsITouchEventReceiver for elements. r=smaug 2011-08-24 15:49:25 -04:00
Boris Zbarsky
3b2d73afa7 Bug 659350 part 2. Add nsITouchEventReceiver for windows. r=smaug 2011-08-24 15:49:25 -04:00
Boris Zbarsky
4cacf55049 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
1529b2ca8e 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
de40630259 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
bac3416b1a Bug 681666 - Add formNoValidate attribute to test_button_attributes_reflection.html r=Ms2ger 2011-08-24 21:32:06 +02:00
Chris Lord
7ad668b25a 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
378ef8cf62 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
59870fbf10 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
2aafc1d5d8 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
7cb6cc6d06 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
607999d03b 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
6586326a0a Bug 679708 - Update toolbar icon styling for 10.7 Lion. r=dao 2011-08-24 10:36:24 -04:00
Josh Matthews
610775bbe2 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
eab558f3d1 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
9f3d985c52 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
085e4aff4d 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
fae523e7bd Bug475045 - Can't drag unlinkified URL to bookmarks toolbar. r=mak,enndeakin 2011-08-24 08:52:53 -04:00
Simon Montagu
9d90660cae 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
6a3fcc17e7 Update nanojit-import-rev stamp. 2011-08-23 22:02:58 -07:00
Rafael Ávila de Espíndola
305df53162 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
7685c1d387 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
b1deb597ff 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
38fd21bc5d 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
0c77d18255 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
7faca4feac Bug 670323 - Fixes for nanojit on ARMv4T. r=jbramley
--HG--
extra : convert_revision : 6943e40c4f0a2f9b3c0551306ce89aa535579178
2011-07-09 09:56:27 +02:00
Steven Johnson
8814b013c4 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
5188be7c9c Bug 675474 - Use glXWaitX to synchronize X and OpenGL. r=bjacob 2011-08-24 13:56:30 +12:00
Matt Woodrow
dc9ab97c70 Bug 675532 - Add GLX debug mode. r=bjacob 2011-08-24 13:55:43 +12:00
Philipp von Weitershausen
5d873de548 Merge m-c to m-i 2011-08-23 18:33:02 -07:00