Commit Graph

252658 Commits

Author SHA1 Message Date
L. David Baron
ef98f8f848 Fix nsLayoutUtils::ComputeSizeWithIntrinsicDimensions to produce correct results when one of the tentative height/width (i.e., the intrinsic height/width) is 0. (Bug 677091) r=roc
When either the intrinsic width or the intrinsic height is 0, the
element does not have an intrinsic ratio, and thus the table that
ComputeAutoSizeWithIntrinsicDimensions is implementing technically
doesn't apply.  However, it can quite straightforwardly produce the
correct results despite that, if we correctly apply the
min/max-width/height properties.
2011-08-17 17:54:59 -07:00
Matt Brubeck
f96aaa3b4e Bug 674212 - Skip reftest on Android because of timeouts (test-only) 2011-08-17 16:35:35 -07:00
Steven Michaud
f5f188fad9 Bug 678891 - Reduce delay for two-finger swipe on OS X Lion. r=mstange 2011-08-17 17:52:27 -05:00
Markus Stange
4f4c30310a Bug 677279 - Send momentum scroll events to the location of the last non-momentum scroll event. r=smichaud 2011-08-18 00:30:52 +02:00
Steve Fink
a84c59346f Bug 679893 - Move up handling of -D js shell argument so that JSOPTION_PCCOUNTS is set before constructing the initial script for Function class (r=cdleary)
--HG--
extra : rebase_source : 4a075c9091fd0ca6bb66df908360e1c3828be496
2011-08-17 15:14:39 -07:00
Mounir Lamouri
b96b80cbf1 Bug 679499 - Add nsHTMLAnchorElement, nsHTMLSpanElement and nsHTMLDivElement to the DOM Memory Reporter. r=jst 2011-08-18 00:14:53 +02:00
Chris Lord
d1551ab7c6 Bug 674494 - Uninitialised variable in ThebesLayerBuffer::BeginPaint. r=mattwoodrow 2011-08-18 09:52:48 +12:00
Fabien Cazenave
730fe59635 Bug 674212 - Modifying text of a contenteditable DOM Node removes spellcheck underlinings; r=ehsan 2011-08-17 17:12:46 -04:00
Ehsan Akhgari
6bd747cf5d Backout changeset b75337bbcf6b (bug 677864) because of xpcshell test failure 2011-08-17 17:11:23 -04:00
Marco Bonardo
e9f12aebfc Backout changeset 3db901280232, (Bug 666385) to investigate Mac Tdhtml regression. 2011-08-17 22:55:14 +02:00
Ehsan Akhgari
3bf0c576f1 Bug 318065 followup - Remove the extra finish call from the test
DONTBUILD
2011-08-17 16:40:31 -04:00
James Willcox
5de8b0dbfc Bug 627019 - ignore IME changes from gecko when other changes are still pending
From 5797f333373ae0c21c6aa0c0192b4e2ab0acde37 Mon Sep 17 00:00:00 2001
---
 embedding/android/GeckoAppShell.java        |    3 +++
 embedding/android/GeckoInputConnection.java |   23 ++++++++++++++++++++---
 2 files changed, 23 insertions(+), 3 deletions(-)
2011-08-16 16:57:41 -04:00
Markus Stange
9988369722 Bug 678825 - Also unify toolbars that are wider than the window. r=josh 2011-08-17 20:44:23 +02:00
arno renevier
5f4e28b783 Bug 677864 - Fixes components members class description. r=mrbkap
--HG--
extra : rebase_source : 881d2b170dfbbd75848600a6b723e27bbc5e71e3
2011-08-16 13:57:58 -07:00
arno renevier
2d0c87fb7d Bug 677880 - Rename nsIScriptableInterfaces and nsIScriptableInterfacesByID. r=mrbkap
--HG--
extra : rebase_source : 3d4f7062b9a1c9b07d51660751e121b141bb968c
2011-08-16 13:57:23 -07:00
Fabien Cazenave
e14db8b0a8 Bug 676401 - The document.queryCommandEnabled API doesn't take the active editing host into account; r=ehsan
* adding an `isSelectionEditable' readonly attribute in <nsIEditor>;
 * modified all ::IsCommandEnabled methods in editor/ to take it into account:

./libeditor/base/nsEditorCommands.cpp (15 commands)
  nsUndoCommand                   'undo'
  nsRedoCommand                   'redo'
  nsClearUndoCommand              'clearUndo'
  nsCutCommand                    'cut'
  nsCutOrDeleteCommand            ?
  nsCopyCommand                   'copy'
  nsCopyOrDeleteCommand           ?
  nsPasteCommand                  'paste'
  nsPasteTransferableCommand      ?
  nsSwitchTextDirectionCommand    ?
  nsDeleteCommand                 'delete'
  nsSelectAllCommand              'selectAll'
  nsSelectionMoveCommands         ?
  nsInsertPlaintextCommand        ?
  nsPasteQuotationCommand         ?

./composer/src/nsComposerCommands.cpp (15 commands)
  nsBaseStateUpdatingCommand      ?
  nsPasteNoFormattingCommand      ?
  nsRemoveListCommand             ?
  nsIndentCommand                 'indent'
  nsOutdentCommand                'outdent'
  nsMultiStateCommand             ?
  nsHighlightColorStateCommand    'hiliteColor'
  nsAbsolutePositioningCommand    ?
  nsDecreaseZIndexCommand         ?
  nsIncreaseZIndexCommand         ?
  nsRemoveStylesCommand           'removeFormat'
  nsIncreaseFontSizeCommand       'increaseFontSize'
  nsDecreaseFontSizeCommand       'decreaseFontSize'
  nsInsertHTMLCommand             'insertHTML'
  nsInsertTagCommand              ?

./composer/src/nsComposerDocumentCommands.cpp (3 commands)
  nsSetDocumentOptionsCommand     ?
  nsSetDocumentStateCommand       ?
  nsDocumentStateCommand          n/a (unpatched)
2011-08-17 13:28:03 -04:00
Jeff Walden
8f3d489239 Bug 679019 - Make initializing the *Error classes non-generic, and combine their initialization with that of Error. r=jorendorff
--HG--
extra : rebase_source : 209d4099359492862de01a2fcb68290755fae86a
2011-05-09 13:06:52 -07:00
Jeff Walden
6b7ecb06cb Bug 679019 - Move initializing the *Error classes into a helper function. r=jorendorff
--HG--
extra : rebase_source : e37b7eeb91eaf7395e10af60b2a4a614bfe1aeb0
2011-05-09 13:06:52 -07:00
Jeff Walden
ec363b5e40 Bug 679019 - Make initializing the single Error class non-generic. r=jorendorff
--HG--
extra : rebase_source : d72522e20cfa9bbabd4732e86e6fbda04f102080
2011-05-09 13:06:51 -07:00
Jason Orendorff
8e4a999839 Build system: echo submake commands, just like all other commands. rs=ted.
--HG--
extra : rebase_source : 3fff7ad04fe8f31ff5e6e38ee1bd64cf85286d88
2011-08-17 11:21:46 -05:00
Luke Wagner
3450b1f27f Backed out changeset 0cf822d12c64 (and dependent be91fb29d950 and 53dd7a930bae) due to intermittent crashes
--HG--
extra : rebase_source : 9c96a4ac164ef8929591ef3d83ad6c974642557a
2011-08-15 17:21:23 -07:00
Graeme McCutcheon
f9b46f6f4f Bug 318065 - Don't notify editor observers until bogus node state is reset. r=ehsan 2011-08-16 13:55:23 +01:00
Igor Bukanov
3b1ac8c317 bug 674251 - making JSScript a GC-thing. r=jorendorff
--HG--
extra : rebase_source : 8cec41c8afb99951e469eb3a97c0d48cb5da0b4f
2011-08-17 10:07:04 +02:00
Marco Bonardo
c483d7d865 Backout changeset 0c4897315acc (Bug 446569) since it may have caused the m4 permaorange. 2011-08-17 16:45:02 +02:00
Benoit Girard
5d8b20a8b9 Bug 666385 - Fix tiled scrolling on Android; r=roc
--HG--
extra : rebase_source : 8a4660808501e8dfc9c58f7769b6c05db6519e83
2011-08-10 08:47:23 -07:00
Rafael Ávila de Espíndola
4bb438a0cd Bug 678008 - Fix elfhack build in c++0x mode. r=mh+mozilla
In c++0x it is not valid to use a negative number in a unsigned
position in an initializer list. Add explicit casts and change
the size method to return an unsigned int.
2011-08-17 10:12:46 -04:00
Rafael Ávila de Espíndola
d340c90258 Bug 678028 - Fix build with clang in c++0x mode. r=joe
In c++0x mode it is not valid to have an integer that doesn't fit a type
in an initializer list. This patch just writes the constants as explicitly
signed instead of using unsigned constants with 2 complement.

--HG--
extra : rebase_source : a8df15d1db0b13436c935dd661db90066c340530
2011-08-16 13:30:33 -04:00
Jeff Muizelaar
a9848ae399 Bug 671428. cairo: Handle bad strides in acquire_source_surface. r=bas
Cairo requires image surfaces to have a particular stride alignment.
Sometimes the texture we get back from Direct3D doesn't meet these
requirements. In that case, copy to a different buffer that meets
these requirments.

--HG--
extra : rebase_source : b4a09d5dd33c921d36158f33fc2cd386ebe57883
2011-08-16 19:07:49 -04:00
Michael Ventnor
228fdc714d Bug 446569 - Implement prefixed CSS3 columns rule r=dbaron 2011-08-17 22:47:43 +10:00
Fabien Cazenave
7a2ab2c16d Bug 456798 — Implement document.queryCommandSupported
Rationale: a command is supported if it can be converted to an internal Midas
command. `nsCommandManager::IsCommandSupported' might not be needed any more.

Corollary: document.queryCommandEnabled should return false on unsupported
commands without raising any exception.

Browserscope tests: +43 points = 258 failed tests...
 * Q section: 0/48 => 42/48
   42 tests used to fail (execution exception), now pass
 * QE section: 36/46 => 37/46
   garbage-1_TEXT-1 used to fail, now passes
In these two sections, a lot of tests that used to raise an exception now return
`false' (that's still a FAIL, but that's not the same kind of FAIL).

Other Browserscope tests are not affected by this patch.
The status of this test suite (currentStatus.js) has been updated accordingly.
2011-08-17 08:04:14 -04:00
Ehsan Akhgari
c5e0e2137d Merge mozilla-inbound and mozilla-central 2011-08-17 07:33:32 -04:00
Phil Ringnalda
0b06dece18 Back out 84ac0004679c (bug 673112) for browser-chrome failures on a CLOSED TREE 2011-08-16 21:09:37 -07:00
Benjamin Stover
119cff26b5 Bug 673122 Rotating Fennec to landscape causes checkerboard to appear indefinitely r=mbrubeck 2011-08-16 17:12:22 -07:00
Brian R. Bondy
c686248a25 Bug 660369 - Consolidate widget debug output, use nspr logging instead of printing to stdout. r=jmathies, sr=roc 2011-08-16 15:30:44 -04:00
Ehsan Akhgari
d42ff75741 Landing version bumps on a CLOSED TREE as DONTBUILD 2011-08-16 14:26:16 -04:00
Ehsan Akhgari
6e8487c230 Bump the XPCOM version from 8 to 9
--HG--
extra : transplant_source : %DB%9E%D5%03%8D%D2%11%DDu%15%CF%A3%8A%BC%FFZ%D5%E6%26p
2011-08-16 14:18:30 -04:00
Ehsan Akhgari
97d8df19c2 Bump the Firefox versions from 8 to 9 on mozilla-central 2011-08-16 14:24:21 -04:00
Ehsan Akhgari
535dabd64a Added tag AURORA_BASE_20110816 for changeset 41b84b87c816 on a CLOSED TREE DONTBUILD 2011-08-16 14:13:48 -04:00
Wes Johnston
e5b3628bc1 Bug 596370 - Don't delete files opened with helper apps on Fennec exit [r=mbrubeck] 2011-08-16 10:12:03 -07:00
Matt Brubeck
cd8e194691 Bug 679120 - Allow negative numbers for integer prefs in mobile about:config [r=lucasr] 2011-08-16 10:10:10 -07:00
Tim Taubert
78e32a36d0 Bug 648683 - Expose tabs on-demand preference; r=dietrich+gavin, a=broken-merge 2011-08-16 18:59:51 +02:00
Jason Orendorff
c238a04626 Bug 679346 - Fix GCC warning "‘void UnsafeError(const char*, ...)’ defined but not used" in jsdbgapi.cpp. r=gal. 2011-08-16 11:36:56 -05:00
Oleg Romashin
6b7be36715 Bug 679149 - VKB jumping too much on maemo r=dougt 2011-08-16 09:27:36 -07:00
Oleg Romashin
366192a7ee Bug 673395 - Support Haptic of MeeGo/Maemo 6. r=dholbert 2011-08-16 09:27:01 -07:00
Daniel Holbert
03a4a1f487 Bug 678573: Remove unused variable |pollError| from nsSocketTransportService::DoPollIteration. r=jduell 2011-08-16 09:26:59 -07:00
Luke Wagner
2f3fa94526 Bug 679251 - InlineReturn should advance the pc always (r=dvander) 2011-08-16 09:23:30 -07:00
Rob Campbell
793eb5d860 merged m-c to fx-team, browser_595601-restore_hidden.js conflicted 2011-08-16 12:21:00 -03:00
Rob Campbell
8361f78dfb Bug 678021 - browser/base and browser/devtools are racing to make jars; r=dolske 2011-08-16 12:06:28 -03:00
Ehsan Akhgari
ac4f08796e Bug 678763 - Disable browser_sourceeditor_initialization.js because it is practically perma-orange; rs=msucan,robcee
DONTBUILD
2011-08-16 10:54:10 -04:00
Rob Campbell
5df9609a5c Bug 678021 - browser/base and browser/devtools are racing to make jars; r=dolske; Backout to fix bug 679301; a=orange 2011-08-16 10:07:25 -03:00