Commit Graph

252969 Commits

Author SHA1 Message Date
Jason Orendorff
b125904ede Back out 62f8ca0717d6 (bug 658491). 2011-08-23 15:35:50 -05:00
Jason Orendorff
5642d69b3e Back out d44b0dd28b0d (bug 673125 part 1). 2011-08-23 15:35:15 -05:00
Jason Orendorff
fd9350b4f7 Back out 7196b000f9df (bug 673125 part 2). 2011-08-23 15:34:59 -05:00
Jason Orendorff
b330fd09c3 Back out 331146c93ebe (bug 673125 part 3). 2011-08-23 15:34:31 -05:00
Jason Orendorff
14661b51b8 Back out 4a86c9387193 (bug 673125 part 4) due to red and orange. 2011-08-23 15:32:23 -05:00
Rafael Ávila de Espíndola
a83fa13385 Bug 674647 - Pass --target both in mozconfig.leopard and mozconfig.common. r=ted.mielczarek. 2011-08-23 16:06:17 -04:00
Jim Blandy
e1033328ff Bug 673125: Implement the Debugger.Frame.prototype.onStep accessor. r=jorendorff.
--HG--
extra : rebase_source : 54859ba90ebb5da227f6b4460acc6df1bba78107
2011-08-23 14:45:36 -05:00
Jim Blandy
4386f427ee Bug 673125: Provide stack-allocated vectors of JSObject pointers. r=luke.
--HG--
extra : rebase_source : 95f862207b19c1923871135e21b8f0839270f24a
2011-08-23 14:45:21 -05:00
Jim Blandy
f695eb8158 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.

--HG--
extra : rebase_source : 0d537b172ce70c049269b1f09380f0eeabec9c92
2011-08-23 14:44:22 -05:00
Jim Blandy
3ae77c8181 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.

--HG--
extra : rebase_source : 8cef90aea28f4fd71091a7bb6effcfcc7c8b5aa0
2011-08-23 14:44:03 -05:00
Brian Hackett
3bf81dfa04 Restore frame pointer at exception block entry before invoking any trap, bug 658491. r=jorendorff.
--HG--
rename : js/src/jit-test/tests/debug/onEnterFrame-05.js => js/src/jit-test/tests/debug/onEnterFrame-04.js
extra : rebase_source : 6790cf37ea7eec05e768940710a97b37f30a1ebf
2011-08-23 14:43:26 -05:00
Jason Orendorff
94202b9fc9 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
extra : rebase_source : f3c4ff14ae6a95e7c891ea5aac2cfee8c2e28c68
2011-08-23 14:42:17 -05:00
L. David Baron
866728dd65 Add missing </title> that was causing these tests to be commented out. (Bug 681403) 2011-08-23 15:42:11 -04:00
Fabien Cazenave
e9ca41c695 Bug 677752 - [contentEditable] indent and justify* fail on editable nodes that have only one child; r=ehsan
Issue #1: indent/justify* can create non-valid fragments.
When applying a block-level formatting to a text node, Gecko creates a div or
blockquote block around the text node and sets the corresponding "align" or
"style" attribute. This patch checks that the active editing host can contain
such a block-level element.

Issue #2: indent/justify* can modify the active editing host.
On the first child of the editable element, the selection is extended outside of
the active editing host -- which causes a few issues for our test cases.
In this patch, this issue is "solved" by modifying
`nsHTMLEditRules::GetPromotedPoint' for block-level operations.


** About the tests **

Sorry for the long explanation but I prefer to be as sharp as possible when I
have to modify existing unit tests.

This patch raises 34 unit test "failures" which are improvements.
Two test files are concerned and have been modified accordingly:
  * test_htmleditor_keyevent_handling
  * test_richtext2.html

One test has been clarified (no real modification):
  * test_bug414526.html

Of course, a specific unit test has been added, see `test_bug677752.html'.


** editor/libeditor/html/tests/test_htmleditor_keyevent_handling.html **
Outdenting now works properly, which results in 4 `FAIL'.

  * 7372 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shift+Tab after Tab on UL
      - got "<ul><li id=\"target\">ul list item</li></ul>",
      expected "<ul><ul><li id=\"target\">ul list item</li></ul></ul>"

  * 7379 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shift+Tab on UL
      - got "ul list item",
      expected "<ul><li id=\"target\">ul list item</li></ul>"

  * 7415 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shift+Tab after Tab on OL -
      got "<ol><li id=\"target\">ol list item</li></ol>",
      expected "<ol><ol><li id=\"target\">ol list item</li></ol></ol>"

  * 7422 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shfit+Tab on OL
      - got "ol list item",
      expected "<ol><li id=\"target\">ol list item</li></ol>"


** editor/libeditor/html/tests/browserscope/test_richtext2.html **
The 15 tests that now pass result in 15 `FAIL' and 15 `UNEXPECTED_PASS'.
Here's an overview of what we had before the patch:

  * Section A - Apply Formatting Tests: +10 points
                    before patch: 21/31 (Selection:  9/31)
                     after patch: 28/31 (Selection: 12/31)

      FB:BQ_TEXT-1_SI    EXECUTION EXCEPTION
      FB:BQ_TEXT-1_SI    EXECUTION EXCEPTION
      FB:BQ_BR.BR-1_SM   EXECUTION EXCEPTION
      FB:BQ_BR.BR-1_SM   EXECUTION EXCEPTION
      IND_TEXT-1_SI      EXECUTION EXCEPTION
      IND_TEXT-1_SI      EXECUTION EXCEPTION
      JC_TEXT-1_SC       editing host is modified
      JF_TEXT-1_SC       editing host is modified
      JL_TEXT-1_SC       editing host is modified
      JR_TEXT-1_SC       editing host is modified

  * Section AC - Apply Formatting Tests, using styleWithCSS: +5 points
                    before patch:  7/18 (Selection:  5/18)
                     after patch: 12/18 (Selection:  5/18)

      IND_TEXT-1_SI      editing host is modified
      JC_TEXT-1_SC       editing host is modified
      JF_TEXT-1_SC       editing host is modified
      JL_TEXT-1_SC       editing host is modified
      JR_TEXT-1_SC       editing host is modified


** editor/libeditor/html/tests/test_bug414526.html **
This test has been clarified to get more explicit report messages -- the test
themselves haven't been changed. A `todo_is' test has been added.
This test is the one that shows that `IsNodeInActiveEditor' can't be modified,
and that limiting the range promotion for block-level operations is preferrable.
2011-08-23 15:10:14 -04:00
arno renevier
e6a982f07d bug 678842: remember spell check setting per site; r=ehsan 2011-08-23 15:03:33 -04:00
Stephen Horlander
4af4b1b889 Bug 679771 - replace keyhole-circle-lion.png with non-fuzzy version. r=dao 2011-08-23 14:53:34 -04:00
Oleg Romashin
34f33d2226 Bug 680488 - QFeedBack include is not needed for geolocation provider file; r=dougt 2011-08-23 17:45:10 +01:00
Lucas Rocha
2c88e8ce3e Bug 666236 - Only allow browser to go back/forward when those are valid operations; r=mfinkle
When tapping back/forward buttons in a rapid sequence, the buttons are not
instantly disabled once the operations are not possible anymore (i.e. reached
the beginning/end of session history). In order to avoid producing errors, we
ensure that go back/forward operations are only performed when they are valid
actions.
2011-08-23 17:45:10 +01:00
Lucas Rocha
196d92dd95 Bug 666236 - Don't pass argument to methods that don't use it; r=mfinkle 2011-08-23 17:45:10 +01:00
Alfred Kayser
6e7615bef7 Bug 529733 - Crash in nsCacheMetaData::SetElement; r=michal,jduell 2011-08-23 17:45:10 +01:00
Geoff Brown
91a124ebf8 Bug 679602 - Improve robustness of devicemanagerADB: check for adb, remote cp; r=jmaher 2011-08-23 17:45:10 +01:00
Lucas Rocha
96fcb0acbf Bug 668760 - Show message when there are no desktop tabs to display (r=mbrubeck) 2011-08-23 09:16:33 -07:00
Lucas Rocha
fb74303629 Bug 668760 - Refactor get desktop tabs to receive weave engine as argument (r=mbrubeck)
This is necessary to be able to know whether we're loading sync desktop tabs
from a functional/configured sync process or not.
2011-08-23 09:16:09 -07:00
Lucas Rocha
8d7a147c2f Bug 668760 - Factor out method to get weave engine (r=mbrubeck) 2011-08-23 09:16:03 -07:00
Lucas Rocha
557bef417e Bug 668760 - Add message label element to remotetabs-list (r=mbrubeck)
The label is only visible when the remotetabs-list has a "message" attribute.
This UI should be used to show messages on the tabs list.
2011-08-23 09:15:48 -07:00
Lucas Rocha
aa71fdeb2b Bug 668760 - Optimize historylist's and remotetabslist's CSS [r=mbrubeck]
Remove unnecessary child selectors, remote explicit tag names from classes, and
take advantage of inheritance.
2011-08-23 09:15:18 -07:00
Mounir Lamouri
0f20cbf43c Merging mozilla-central into mozilla-inbound. 2011-08-23 17:51:40 +02:00
Mounir Lamouri
f5c7d07539 Merging mozilla-inbound into mozilla-central. 2011-08-23 17:50:45 +02:00
Jacek Caban
14ae5d32d7 Bug 680872 - PolyIC.cpp fails to compile on mingw-w64 r=jorendorff 2011-08-23 17:36:04 +02:00
Jacek Caban
468f586acc Bug 670093 - gfx/2d fails to compile on mingw r=bas.schouten 2011-08-23 17:35:13 +02:00
Neil Deakin
91b9862151 Bug 666256, another fix needed 2011-08-23 10:31:09 -04:00
Mike Hommey
a7edef7876 Bug 680642 - Don't enable YARR JIT on MIPS, as the implementation is missing. r=dmandelin 2011-08-23 16:13:55 +02:00
Mike Hommey
d15e86aa9a Bug 670719 - Only add -DENABLE_JIT=1 to CXXFLAGS if any of trace/method/yarr jit is enabled. r=dmandelin 2011-08-23 16:13:21 +02:00
Mike Hommey
49b43ec341 Bug 681203 - Bind all symbols when dynamic symbol lookup is not supported. r=mwu 2011-08-23 16:12:44 +02:00
Neil Deakin
44ef508987 Bug 666256, qt fix 2011-08-23 09:30:39 -04: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
Ed Morley
3236ae9bee Bug 680864 - Remove CHROMIUM_MOZILLA_BUILD ifdefs, since always defined and #ifndef codepaths broken anyway; r=cjones 2011-08-23 11:43:04 +01:00
Marco Bonardo
592b229e2e Backout changeset 1720b28e3115 (Bug 678420) since it caused an exponential increase of Win M4 failures. 2011-08-23 11:05:14 +02:00
Mounir Lamouri
7e924f55e4 Merging mozilla-inbound into mozilla-central. 2011-08-23 10:19:26 +02:00
Michael Ventnor
0523fe3efe Bug 446569 - Implement prefixed CSS3 columns shorthand r=dbaron 2011-08-23 14:18:22 +10:00
Matt Brubeck
304dcc1d01 Bug 624552 - Disable Firefox Sync temporarily when master password entry fails. [r=mfinkle] 2011-08-22 20:45:30 -07:00
Justin Lebar
68a4215535 Bug 680257 - Always call nsDocShell::ScrollToAnchor on short-circuited loads, so as to make sure the target pseudo-class is updated correctly. r=bz 2011-08-22 22:39:37 -04:00
Ehsan Akhgari
cbcdcb0a61 Backout changeset e57b659ee5dd (bug 678842) because the test is wrong, and it should never pass 2011-08-22 22:27:47 -04:00
Michael Wu
09c0b18b41 Bug 676192 - Remove kHashEnumerateRemove and make nsHashtableEnumFunc return PRBool, r=bsmedberg 2011-08-22 19:15:54 -07:00
Michael Wu
ae89b187f1 Bug 671190 - Stop using BOGUS_DEFAULT_*_PREF_VALUE in prefapi.cpp and cleanup PRBool abuse, r=bsmedberg 2011-08-22 19:15:52 -07:00