Commit Graph

1829 Commits

Author SHA1 Message Date
Bernd
f4a1800dfb bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky 2010-01-09 16:33:03 +01:00
Daniel Holbert
2d9d5efe4f comment-only typo fix: s/its/it's/ for contractions in nsBlockReflowState.cpp 2010-01-08 16:38:08 -08:00
Daniel Holbert
2f7a34b75a Bug 538431: Rename nsVideoFrame::GetIntrinsicSize to 'GetVideoIntrinsicSize', so it doesn't hide inherited method. r=roc 2010-01-08 16:37:30 -08:00
Robert O'Callahan
2a230d1af5 Bug 537309. Synthesize WM_*DBLCLK on NS_MOUSE_BUTTON_DOWN, not NS_MOUSE_DOUBLECLICK (since the latter fires on mouse-up). r=jmathies 2010-01-07 13:55:09 +13:00
Robert O'Callahan
064c199276 Bug 532998. Cache the offset of the next newline character in preformatted text. r=smontagu 2010-01-07 13:55:09 +13:00
Timothy Nikkel
5f6a955352 Bug 499841. Pass the block frame that contains the first letter style to RemoveFirstLetterFrames so that the NS_BLOCK_HAS_FIRST_LETTER_CHILD bit can be unset on it. Always set the NS_BLOCK_HAS_FIRST_LETTER_CHILD bit on the first continuation only. r=bzbarsky
--HG--
extra : rebase_source : 411297490d6d18244fa7caa3194facfedc28ea86
2009-12-22 17:44:35 -06:00
Timothy Nikkel
01699b9589 Bug 287088. Stop first-line styling from leaking into second and subsequent lines when a single element is split between first and second lines. r=roc
--HG--
extra : rebase_source : 0dcf9009a73d5f8082c09172f4ce6840be5e6c98
2009-12-22 17:42:45 -06:00
Boris Zbarsky
b22600af13 Bug 537419. mContent might be null here. r=dbaron 2009-12-31 20:37:57 -05:00
Karl Tomlinson
e970532a99 b=526797 move expose event origin when possible to workaround Flash bug r=roc
--HG--
extra : rebase_source : 6d90440764dd906dabe2555defa5797d3f0cb9a4
2009-12-31 16:16:23 +13:00
Michael Wu
27fd1e717b Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst] 2009-12-27 14:26:00 -06:00
moz_poro@porotal.org
01814a3b84 Bug 507811 - "NS_KEY_PRESS not handled by windowless plugins" [r=karlt] 2009-12-30 20:56:55 -06:00
Boris Zbarsky
c3626d1503 Bug 536718. Clean up NotifyDestroyingFrame. r=roc 2009-12-29 15:13:54 -05:00
L. David Baron
11b799dbbe Set iterators to valid position after deleting overflow lines. (Bug 534082) r=tnikkel 2009-12-25 08:59:08 -05:00
Boris Zbarsky
b3883855ac Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
Boris Zbarsky
df21dcfefd Bug 500882 part 3. Switch accessibility module to using the new GetPrimaryFrame API. r=surkov, sr=roc 2009-12-24 16:20:05 -05:00
Boris Zbarsky
b2e4054198 Bug 500882 part 2. Switch setting of primary frames to the new API; switch nsFrameManager::GetPrimaryFrameFor to the new API; remove resulting gobs of dead code. r=roc 2009-12-24 16:20:05 -05:00
fantasai
1ffb0c06ef Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc 2009-12-24 00:21:15 -05:00
fantasai
1e880721fb Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc 2009-12-24 00:20:41 -05:00
fantasai
714c1668f7 Bug 508473 Part I: Remove nsIFrame::RemovedAsPrimary r=bz sr=roc 2009-12-24 00:20:20 -05:00
Mark Finkle
143fe184f9 Bug 536199 - Crash Yahoo! frontpage with 12/21 1.9.2 nightly build [r=dougt] 2009-12-22 16:59:34 -05:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Simon Montagu
545c0b5a6f Update data files and tests to Unicode 5.2. Bug 528359, r=Masatoshi Kimura <YV03354@nifty.ne.jp> 2009-12-21 01:20:35 -08:00
Mats Palmgren
e1c5862ad0 Tests for bug 533379, bug 520340. 2009-12-18 10:02:33 +01:00
Mats Palmgren
f24b74cefd Drain overflow frames when the last frame from principal child list is pulled. b=533379 r=bzbarsky 2009-12-18 10:02:26 +01:00
Mats Palmgren
b4284c9cc0 Don't try to get a nsLineBox* from an empty line list, it aborts a debug build. b=533379 r=bzbarsky 2009-12-18 10:02:10 +01:00
Roy Frostig
5e05d545a8 bug 514732. Additional tests for bug 514732 followup that fires MozScrolledAreaChanged on restore from bfcache. r=smaug 2009-12-17 09:38:00 -08:00
Josh Aas
cdb8c45c2e Scroll position updates shouldn't start the Carbon plugin idle event timer. b=535630 r=smichaud 2009-12-17 15:41:13 -05:00
Robert O'Callahan
a0eeb78969 Bug 526216 - mochitest-browser-chrome: crash in nsObjectFrame::IsOpaque while running browser_pluginnotification.js and test_crashing.html, r=josh
--HG--
extra : rebase_source : 3f5677e9af8e5b9d54ac394d62cf8528487efa94
2009-12-17 09:56:24 -05:00
Benjamin Smedberg
0177a8612f Merge plugin changes from electrolysis to mozilla-central. 2009-12-16 19:06:54 -05:00
Benjamin Smedberg
211d3738cb Merge mozilla-central to electrolysis. 2009-12-16 19:02:20 -05:00
Doug Turner
54346be057 Bug 535338 - UpdateVisibility should call VisibilityFullyObscured when clip is zero. r=roc 2009-12-16 14:08:14 -08:00
Benjamin Smedberg
2efe22a0e4 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Josh Aas
514a6c5e9d Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc 2009-12-15 15:44:52 -05:00
Jim Mathies
1ea63e49c6 Bug 534027 - input event coords incorrect for oop windowless plugins. r=jmuizelaar. 2009-12-14 18:28:51 -06:00
Jim Mathies
23118539a9 Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar. 2009-12-14 18:27:25 -06:00
Robert O'Callahan
b228105b93 Bug 534366. Make nsFirstLineFrame set InlineReflowState::mLineLayout correctly. r=dbaron 2009-12-16 09:08:59 +13:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Masayuki Nakano
13ffca5258 Bug 42676 Can't drag to extend selection out of blocks with overflow:hidden/auto/scroll r=Olli 2009-12-12 13:25:21 +09:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Jim Mathies
0ffd1b2e75 Bug 522299 - Electrolysis: Get windowless plugins drawing on win32. r=jmuizelaar. 2009-12-01 15:05:26 -06:00
Timothy Nikkel
d16beb2417 Bug 525751. When using a subdocument frame as a fallback for drawing canvas background color override the canvas frame check. r=roc a=roc
--HG--
extra : rebase_source : 6719372b7404a598a4ce1c1f5190a4f86d0d896b
2009-12-01 02:49:53 -06:00
Benjamin Smedberg
9911c2f99d Merge mozilla-central into Electrolysis 2009-11-30 12:59:43 -05:00
Doug Turner
fced4ec129 Bug 530652 - Some sites not render flash. Fixing mistake introduced in last push r=biesinger 2009-11-30 09:09:26 -08:00
Roy Frostig
dd2838505e Bug 527872. Fix tests for bug 514732 from going randomorange. 2009-12-14 21:39:03 -08:00
Benjamin Smedberg
a819191110 End the electrolysis-plugins-only branch: merge in the remaining changes from electrolysis head in preparation for pushing to mozilla-central. 2009-12-14 09:56:08 -05:00
Benjamin Smedberg
b55b15dccf Merge additional changes from electrolysis and mozilla-central into the electrolysis-plugins-only tracking branch.
--HG--
branch : electrolysis-plugins-only
2009-12-04 11:42:28 -05:00
Benjamin Smedberg
b03c797675 Straight revert of layout/* to its mozilla-central state, and removal of testshell which depends on PContentProcess.
--HG--
branch : electrolysis-plugins-only
2009-11-30 14:15:30 -05:00
Doug Turner
81d6db5548 Bug 530739 - Intermittent Shutdown crash after visiting a page with flash video. r=jst 2009-11-25 18:38:22 -08:00
Benjamin Smedberg
7a581148bc Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Mats Palmgren
125c079acd Bug 526769. r=roc a1.9.2=dbaron 2009-11-24 20:29:48 +01:00
Doug Turner
387eed8493 Bug 530652 - Some sites not render flash. r=karlt
--HG--
extra : rebase_source : f0078705705e960fe148fd9d64847c38ff58a656
2009-11-24 05:57:58 -08:00
Doug Turner
dbc44dda9c Bug 530380 - Avoid slow path painting on Hildon. r=karlt. 2009-11-23 14:46:01 -08:00
Doug Turner
730075f7eb Bug 530378return early to avoid crashing
. r=karlt
2009-11-22 22:36:22 -08:00
Doug Turner
7f9938ce48 Bug 530381 - Cache X11 GC for NativeImageDraw. r=karlt 2009-11-22 15:46:42 -08:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Doug Turner
2fe6a6f5c2 Bug 529996 - Provide notification when embed/object elements are created/destroyed/resized. r=jst.
--HG--
extra : rebase_source : 44bf32345959402b591ba4763dcea26187cf7796
2009-11-20 14:59:27 -08:00
Doug Turner
d7c57015bb Bug 528551 - Faster plugin drawing in Fennec. Fixes mac unit test. r=sicking
--HG--
extra : rebase_source : e0dbed7d82a77a61581c9aa59fdd928720c2e5bb
2009-11-20 09:51:06 -08:00
Doug Turner
793f6fc7db Bug 528551- Faster plugin drawing in Fennec. r=jst/karlt. 2009-11-20 08:26:10 -08:00
Benjamin Smedberg
17cf638aac Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky
99027aa785 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
fec842ecf2 Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
0a82b262db Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-10 14:36:05 -08:00
Boris Zbarsky
b4f32f993e Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron 2009-12-10 14:36:04 -08:00
Boris Zbarsky
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Benjamin Smedberg
281b9fd4a8 Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Josh Aas
80e4d43179 Rename nsGUIEvent's nativeMsg field to pluginEvent. b=527617 r=roc 2009-11-10 16:55:38 -05:00
Josh Aas
74eb1fe935 Remove unnecessary event handling cases for NS_ACTIVATE/NS_DEACTIVATE in nsObjectFrame. b=526633 r=roc 2009-11-10 16:54:29 -05:00
Josh Aas
8be6e464a2 64-bit Mac OS X bustage fix, b=527115 2009-11-10 11:51:55 -05:00
Benjamin Smedberg
bbfa38694c Bug 523224 - nsFrameLoader::TryNewProcess crashes if reflow hasn't happened yet and created a view for our remote tab. Fix this by separating the process of creating the IFrameEmbedding and hooking up the view. IFrameEmbedding creation is analogous to creating a docshell, and we can hook up the view/widget hierarchy later.
* * *
imported patch fennelectrolysis-workihng
2009-10-28 16:41:46 -04:00
Benjamin Smedberg
eba77abeb6 Merge mozilla-central into e10s. 2009-10-28 11:32:00 -04:00
Benjamin Smedberg
4bb6d6c511 Bug 522352 - make nsSubDocumentFrame not assume as much about docshells: move all that into the frameloader, r=bz (preparation and merge reduction for Electrolysis, where not all frameloaders have docshells)
--HG--
extra : rebase_source : 7c51147603fccb93040fdb6e883b33dbab130040
2009-10-16 15:42:29 -04:00
Benjamin Smedberg
510899ed2d Bug 522352 - make nsSubDocumentFrame not assume as much about docshells: move all that into the frameloader, r=bz 2009-10-16 15:42:29 -04:00
Benjamin Smedberg
15de24f35e Merge mozilla-central to electrolysis. 2009-10-20 12:08:28 -04:00
Robert O'Callahan
63962ec51f Bug 504524. Don't reflow the line after an incomplete frame unless we really need to. r=bz 2009-10-19 01:01:40 -07:00
Daniel Holbert
ad1651cc8b bug 522779: use nsTArray::Contains() instead of checking nsTArray::IndexOf() against various sentinel values, in three places in layout. r=dbaron 2009-10-16 15:49:30 -07:00
Mike Kristoffersen
2b43cee4a5 Bug 525970 - White spaces at EOL in nsVideoFrame.cpp. r=roc 2009-11-05 14:56:52 +01:00
Josh Aas
5f2f8edf34 Remove misleading comment about event handling in nsObjectFrame.cpp. No bug. r=smichaud 2009-11-04 11:26:51 -05:00
Timothy Nikkel
2f4f47ae5d Bug 515811. mPrevChild needs to be set on early exit from nsBlockFrame::ReflowBlockFrame. r=fantasai sr=dbaron
--HG--
extra : rebase_source : a0a457fa9348f48ac4f491610098f7488501faf7
2009-10-15 21:41:58 -05:00
Doug Turner
f9bf322ca5 Bug 532328 - plugin bustage on Qt. r=karlt 2009-12-08 10:54:48 -08:00
Jesse Ruderman
308e1a0311 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Benjamin Smedberg
fa058fc1f1 Merge mozilla-central to electrolysis to pick up bug 515436. 2009-10-12 10:51:38 -04:00
Ben Turner
62534891fc Merge mozilla-central 2009-10-05 16:08:52 -07:00
Frederic Plourde
d746c06ac8 Bug 513990 - Add provisions to nsFrameLoader for reflow and resize events. r=bzbarsky 2009-10-05 07:52:19 -04:00
Olli Pettay
db0b04db91 Bug 520070, r=bz
--HG--
extra : rebase_source : fcdc0ee7c15269db40c02b7cd930c6117d0a2fe2
2009-10-05 13:10:31 +03:00
Taras Glek
c7f069ab70 Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek
4c56f842c8 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
Markus Stange
926ee3ccfa Bug 494301 - Scrollbar not resized on pill button click. r=roc 2009-10-05 15:14:38 +13:00
Daniel Holbert
8de950cafb Bug 520474: Remove unused helper function IsMenuPopup from nsContainerFrame.cpp. r=dbaron 2009-10-04 18:01:31 -07:00
Boris Zbarsky
7428a0a55a Bug 516742. Make RFindLineContaining walk backwards along the lines' frames too, not just along the lines. r=roc,fantasai 2009-10-02 12:31:43 -04:00
Boris Zbarsky
4fc405cefa Bug 512336. Make frame lists doubly-linked. r=roc,fantasai 2009-10-02 12:27:37 -04:00
Paul Nickerson
d3b430c10d Crash test for bug 517968. 2009-10-02 15:53:01 +02:00
Robert O'Callahan
20bb54d1d3 Bug 508908. Disable windowed plugins in popup windows, since they don't work. r=dbaron
--HG--
extra : rebase_source : 1acfac3d3613d332586fade393f2911552bd03e0
2009-09-30 08:18:20 +10:00
Olli Pettay
26fe92f082 Bug 514856 - Server side image maps are broken, r=bz
--HG--
extra : rebase_source : d0a5c4795c0279d612435a0c0ad9cb6d5a4783a8
2009-09-23 18:11:48 +03:00
Josh Aas
57878ef860 Fix dragging in Google Maps street view on Mac OS X. b=516602 r=roc 2009-09-22 21:52:49 -04:00
Josh Aas
a62ce6bc2e 64-bit Mac OS X fixes for nsObjectFrame.cpp. b=518184 r=roc 2009-09-22 18:17:41 -04:00