Commit Graph

75455 Commits

Author SHA1 Message Date
Benjamin Stover
b8dce1ee99 Bug 680126 Use ColorLayers for presshell painting and correct painting area r=roc 2011-08-23 15:59:43 -07:00
Daniel Holbert
9703649410 Bug 680777: Sync "do not track" pref between mobile devices. r=mfinkle 2011-08-23 15:18:29 -07:00
Daniel Holbert
753da40861 Bug 570341 followup: Fix nsDocShell init list ordering to address GCC warning. r=gavin r=biesi 2011-08-23 15:17:30 -07:00
Benoit Girard
7ea86c481d Backout changeset 07d34812bdee, b879d413ce2d, 0c59eeb18700 due to android opengl regression on chrome pages; r=backout 2011-08-23 17:12:15 -04:00
Javi Rueda
950777052b Bug 355846 - Add a pref to disable sliding effect for alerts. r=enndeakin 2011-08-22 18:43:37 +02:00
Lucas Rocha
7057cfae6c Bug 681356 - Don't show throbber after network error on sync (r=mfinkle)
Notify remotetabs-list that a network error ocurred so that the 'loading' ui
(i.e. the throbber) is hidden accordingly. Otherwise the user will get the
impression that something is still happening after the error is shown.
2011-08-23 17:03:03 -04:00
Boris Zbarsky
af6a97a713 Bug 680786. nsImageFrame::OnStartContainer should not assume that its intrinsic size has changed. r=roc 2011-08-23 17:03:02 -04:00
Boris Zbarsky
c98f58f505 Bug 666516. Stop casting things gotten by contract to concrete classes. r=kaie 2011-08-23 17:03:02 -04:00
Josh Matthews
20a7be87b7 Bug 681061 - Avoid compartment mismatch error when displaying a growl notification. r=mrbkap 2011-08-22 17:20:52 -04:00
Ali Juma
b7beb63b85 Bug 677920 - Part 2: Fix handling of Android surface lifecycle events when using GL layers. r=blassey
--HG--
extra : rebase_source : 40ad2f8039f672afa77bd887f42a6b930f9e61c0
2011-08-23 16:52:03 -04:00
Ali Juma
defea5258d Bug 677920 - Part 1: Add a ReleaseSurface method to GLContextEGL. r=matt.woodrow
--HG--
extra : rebase_source : 1fd3d47e3046ccfb5479e03d30811fc35a18665b
2011-08-23 16:48:27 -04:00
Jason Orendorff
9c28130121 Back out 305a3a0e26fd (bug 680428). 2011-08-23 15:36:48 -05:00
Jason Orendorff
9b811bb7ac Back out 62f8ca0717d6 (bug 658491). 2011-08-23 15:35:50 -05:00
Jason Orendorff
00a18c6eef Back out d44b0dd28b0d (bug 673125 part 1). 2011-08-23 15:35:15 -05:00
Jason Orendorff
98bf4dad58 Back out 7196b000f9df (bug 673125 part 2). 2011-08-23 15:34:59 -05:00
Jason Orendorff
dfa1defc67 Back out 331146c93ebe (bug 673125 part 3). 2011-08-23 15:34:31 -05:00
Jason Orendorff
62a105a5e7 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
ceb966a202 Bug 674647 - Pass --target both in mozconfig.leopard and mozconfig.common. r=ted.mielczarek. 2011-08-23 16:06:17 -04:00
Jim Blandy
a140873e5f 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
587ee8b976 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
0cf47b01d9 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
5c0272ce1c 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
5b644de997 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
6514983537 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
049969c5e2 Add missing </title> that was causing these tests to be commented out. (Bug 681403) 2011-08-23 15:42:11 -04:00
Fabien Cazenave
e48e824329 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
c6489843bc bug 678842: remember spell check setting per site; r=ehsan 2011-08-23 15:03:33 -04:00
Stephen Horlander
794c2d4ce0 Bug 679771 - replace keyhole-circle-lion.png with non-fuzzy version. r=dao 2011-08-23 14:53:34 -04:00
Oleg Romashin
478e24c10b Bug 680488 - QFeedBack include is not needed for geolocation provider file; r=dougt 2011-08-23 17:45:10 +01:00
Lucas Rocha
2f9026209c 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
daf409d49b 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
295fdd3f3a Bug 529733 - Crash in nsCacheMetaData::SetElement; r=michal,jduell 2011-08-23 17:45:10 +01:00
Geoff Brown
5793c55ec7 Bug 679602 - Improve robustness of devicemanagerADB: check for adb, remote cp; r=jmaher 2011-08-23 17:45:10 +01:00
Lucas Rocha
bb7c307a39 Bug 668760 - Show message when there are no desktop tabs to display (r=mbrubeck) 2011-08-23 09:16:33 -07:00
Lucas Rocha
c07fa841b8 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
57e277cdee Bug 668760 - Factor out method to get weave engine (r=mbrubeck) 2011-08-23 09:16:03 -07:00
Lucas Rocha
aed526341f 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
e72b7a5bd0 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
c614189899 Merging mozilla-central into mozilla-inbound. 2011-08-23 17:51:40 +02:00
Mounir Lamouri
613228ae2d Merging mozilla-inbound into mozilla-central. 2011-08-23 17:50:45 +02:00
Jacek Caban
87e30c7819 Bug 680872 - PolyIC.cpp fails to compile on mingw-w64 r=jorendorff 2011-08-23 17:36:04 +02:00
Jacek Caban
0cbb10bd5d Bug 670093 - gfx/2d fails to compile on mingw r=bas.schouten 2011-08-23 17:35:13 +02:00
Neil Deakin
be1217eb3b Bug 666256, another fix needed 2011-08-23 10:31:09 -04:00
Mike Hommey
531e9957c1 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
8aeec92c04 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
a41c1ed56d Bug 681203 - Bind all symbols when dynamic symbol lookup is not supported. r=mwu 2011-08-23 16:12:44 +02:00
Neil Deakin
fb6a7090ae Bug 666256, qt fix 2011-08-23 09:30:39 -04:00
Olli Pettay
883279b75a Bug 680687, Follow COM rules - keep strong ref to object, r=jst 2011-08-23 15:57:29 +03:00
Marco Bonardo
fd2c793a9a Bug 680550 - Handle removeAllPages more sanely in tests.
r=dietrich
2011-08-23 14:34:15 +02:00
Jonathan Kew
addae4eaec bug 680037 - check calls for failure before using the results in nsFontFaceLoader::LoadTimerCallback. r=jdaggett 2011-08-23 13:33:51 +01:00