Commit Graph

186 Commits

Author SHA1 Message Date
Olli Pettay
2fc3a9fa5e Bug 484320, r=dveditz, sr=mrbkap, a=blocking1.9.1 2009-03-24 17:43:15 +02:00
Daniel Holbert
ecaa205b6b Adding crashtests for bug 391178 2009-03-11 17:22:03 -07:00
Olli Pettay
68a0322fcd Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Boris Zbarsky
2423744439 Bug 481688. Stop firing our DOMLink* events to content. r+sr=smaug 2009-03-06 13:12:20 -05:00
L. David Baron
fa9a21c33d Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
L. David Baron
2eb748571c Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
Boris Zbarsky
19ab2da798 Bug 479178. Remove some unnecessary refcounting in XUL trees. r+sr=roc 2009-02-19 11:55:07 -05:00
L. David Baron
a91aa25ab0 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
51ef1de194 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
366992262c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
Peter Van der Beken
691b82b80e Fix for bug 391448 (Force layout/dom/content code to use classinfo macros that don't use the service manager.). r/sr=jst. 2009-02-17 15:08:08 +01:00
Ehsan Akhgari
1de3732803 Bug 478377 - Support specifying direction for :-moz-tree-cell pseudo class through CSS; r+sr=roc 2009-02-15 10:51:40 +03:30
Ehsan Akhgari
9d397bfc47 Bug 476346 - RTL Tree lines are rendered incorrectly; r,sr=roc 2009-02-06 11:44:47 +03:30
Boris Zbarsky
90b7f6132f Address review comment from bug 299837. r+sr=dbaron 2009-02-05 22:52:47 -05:00
Boris Zbarsky
6f9a0da875 Bug 299837. Implement text-align:end. r+sr=dbaron 2009-02-05 22:48:30 -05:00
mak77@bonardo.net
10a1ba597c Bug 475273 - Double Clicking a Folder in Right Pane causes Left Pane Tree items to expand and collapse (r=mano) 2009-02-04 09:49:44 -08:00
Arpad Borsos
829f9f024a Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Boris Zbarsky
f3a2fedf99 Bug 473390 part 10. Move various XUL nsIBoxLayout stuff out of the frame constructor into frame creation functions, and make the XUL frame creation functions have the right signature to fit into the new world. r+sr=roc 2009-01-19 13:31:33 -05:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Nick Kreeger
6373ae3766 Fixing Bug 454632 - Resizing tree widget always re-scrolls to current index. r=enndeakin,sr=bz. Patch by Stephen Lau <steve@grommit.com>. 2009-01-13 10:50:26 -08:00
Ehsan Akhgari
4d6f0e54b7 Bug 140759 - tree cell content is not aligned to the right when tree direction is right to left; r=roc,gavin sr=roc 2009-01-13 21:30:06 +03:30
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Mark Banner
e3b3b94e98 Additional crashtest fix follow up from bug 399227 - catch errors thrown by functions that now fail, so that the test completes properly 2008-12-22 19:05:25 +00:00
Mark Banner
3209d46da1 Crashtest fix follow up from bug 399227 - Add missing removeAttribute to let the crashtests finish 2008-12-22 17:05:18 +00:00
Mark Banner
5e20bae7bc Bug 399227 Crash @ nsTreeSelection::GetSingle, null mTree. r=enndeakin,sr=Neil 2008-12-22 15:32:19 +00:00
Olli Pettay
b6effe14d5 Bug 430214, patch2, r+sr=roc 2008-12-03 13:11:34 +02:00
Robert O'Callahan
0d380f02a0 Bug 458487 - 'Rework image snapping logic'. r=vlad+joedrew, sr=dbaron 2008-11-04 14:01:21 -08:00
Peter Van der Beken
9a338d486e Fix for bug 461560 (Make nsNamedArraySH::NamedItem not AddRef/Release). r/sr=bz. 2008-10-31 14:40:35 -07:00
Peter Van der Beken
9157896344 Backed out changeset 5d65342d7287 to fix orange 2008-10-31 11:08:24 -07:00
Peter Van der Beken
71167e05be Backed out changeset 5d65342d7287 to fix orange 2008-10-31 11:07:26 -07:00
Benjamin Smedberg
b1918bb2c3 Bug 462381 - Build layout directories in parallel r=ted sr=roc 2008-10-31 09:07:15 -07:00
Peter Van der Beken
155edafd57 Fix for bug 461560 (Make nsNamedArraySH::NamedItem not AddRef/Release). r/sr=bz. 2008-10-31 08:55:59 -07:00
Benjamin Smedberg
09975e25e4 Bug 461359 - Make nsTreeBodyFrame not implement nsITreeBoxObject... nsTreeBoxObject can just call the methods on nsTreeBodyFrame directly, and we avoid nsISupports oddities for bug 396185 r=Enn sr=roc 2008-10-28 00:47:19 -04:00
Bernd
6777c42861 bug 258377, make border collapsed tables to listen for dynamic border style changes r/sr=bzbarsky 2008-10-26 11:11:34 +01:00
Peter Van der Beken
f3f2a880fb Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz. 2008-10-22 16:31:14 +02:00
L. David Baron
9d7714304c Make sure DidSetStyleContext methods call the base class DidSetStyleContext, and change the signature to return void. (Bug 459649) r+sr=bzbarsky 2008-10-13 18:03:28 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Robert O'Callahan
6a45b282aa Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Zack Weinberg
a64209d05b Bug 456792 - Two more API cleanups for nsCSSRendering; patch 1; r+sr=roc 2008-09-25 17:53:27 +02:00
Arpad Borsos
d0e70a51bf Bug 452797 - Clean up unused variables in layout/; v6; r+sr=roc 2008-09-20 15:42:03 +02:00
Arpad Borsos
4b13300a8d Bug 452797 - Clean up unused variables in layout/; "crashtest" part; r=roc 2008-09-20 15:18:50 +02:00
Robert O'Callahan
f79290bb0e Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Zack Weinberg
0f68a207ca Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron 2008-09-12 08:35:53 -07:00
Olli Pettay
2602e9632c Bug 430394, r+sr=roc 2008-09-09 12:00:02 +03:00
timeless@mozdev.org
b0c349250f Backed out changeset 54215f2cbc66
to fix Bug 454186
SM crashes when try to download file [@ nsString::ToInteger - nsTreeBodyFrame::PaintProgressMeter]
2008-09-08 16:00:32 +02:00
Arpad Borsos
1f62482141 Bug 452797 - Clean up unused variables in layout/; r+sr=roc 2008-09-06 20:38:31 +02:00
Karsten Düsterloh
1879945e28 Bug 434080: GTK treelines are drawn in random colour when no specific rule is given; r/sr=roc 2008-09-01 22:52:38 +02:00
Neil Deakin
7ad96d6b3e Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky
fc1785cbc1 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
7c92721496 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp
66ad0d3422 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
f58dac1bbf Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
Zack Weinberg
c9153c98a8 Bug 446498 – use new border rendering for focus rectangles, and strip dead code. r+sr=vlad 2008-08-06 12:33:18 +02:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Simon Montagu
dfcf9f51e9 Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
L. David Baron
53f51289fe Rename nsAtomStringList to nsPseudoClassList, since that's what it's for, and we want to make it more than just atoms and strings. Also remove an unused constructor. b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
marco.zehe@googlemail.com
b8b85c46b1 bug 424161 - Tree invalidation screwed up badly, getting 6 failures on Mochitest for bug 368835. p=Alexander Surkov (surkov.alexander@gmail.com) r=me, r=Olli.Pettay sr=jonas a1.9=beltzner 2008-04-10 08:11:15 -07:00
roc+@cs.cmu.edu
14c8d05caf Bug 421885. Make tiled image drawing sample only the correct subimage by manually padding if necessary. r=vlad 2008-03-31 02:40:53 -07:00
reed@reedloden.com
601e529c06 Back out Robert O'Callahan's patch from bug 421885 due to reftest failure. 2008-03-28 02:32:03 -07:00
reed@reedloden.com
ddba94bd6d Bug 421885 - "Google reader search results have strange red line and broken border around them" [p=roc@ocallahan.org (Robert O'Callahan [roc]) r=vlad a=blocking1.9+] 2008-03-28 01:54:27 -07:00
reed@reedloden.com
cb78ef1dde Bug 415257 - "Editable trees: input sized wrongly and rows jumping with flexible and non-flexible treecols" [p=paul.rouget@gmail.com (Paul Rouget) r+sr=Neil a1.9=beltzner] 2008-03-18 12:41:34 -07:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
surkov.alexander@gmail.com
b9758b6c53 Bug 308564 - No accessibility events when data in a tree row changes, stage 2, r=smaug, sr=jonas, a=mtschrep 2008-02-12 19:47:58 -08:00
surkov.alexander@gmail.com
4e09bf1306 Bug 308564 - No accessibility events when data in a tree row changes, r=evan.yan, olli.pettay, sr=jonas, a=mtschrep 2008-02-08 04:55:57 -08:00
jag@tty.nl
419b39f375 Bug 414148: Avoid copy of some nsDependentC?Strings. sr=dbaron, a=mtschrep 2008-01-26 15:00:19 -08:00
aaronleventhal@moonset.net
eefbf80904 Bug 412889. Crashes in XUL tree accessible. r+sr=neil, a=schrep 2008-01-18 11:55:37 -08:00
mozilla.mano@sent.com
c68b8f41c1 Bug 407449 - After an unsuccessful drag&drop action multiple folders/bookmarks can be highlighted in Places Organizer. r=enn, sr=roc. 2008-01-04 16:21:25 -08:00
roc+@cs.cmu.edu
fb28ffc853 Bug 407889. Reduce dynamic memory allocations during event handling by having nested invocations of HitTest share a single buffer for reordering display items; this buffer is an nsAutoTArray so it's mostly stack-allocated. r+sr=mats 2008-01-03 18:08:29 -08:00
jruderman@hmc.edu
6e7f1c51d1 Add crashtest 2008-01-02 21:56:25 -08:00
Olli.Pettay@helsinki.fi
9f26cba0e6 Bug 409807, r+sr=roc, a=beltzner 2008-01-02 16:01:30 -08:00
dwitte@stanford.edu
206f4c4d13 Bug 410358 - use nsTArray in nsTreeBodyFrame. r+sr=neil, a=stuart 2007-12-31 17:31:16 -08:00
jruderman@hmc.edu
c929c53b6a Add crashtest. 2007-12-18 16:56:25 -08:00
jruderman@hmc.edu
1ad17e5ea3 One crashtest to rule them all, and in the darkness bind them. 2007-12-18 16:50:46 -08:00
jruderman@hmc.edu
3e325de8e5 Add crashtest. 2007-12-18 16:48:24 -08:00
jruderman@hmc.edu
05a63a0e24 Add a crashtest 2007-12-18 16:31:06 -08:00
jruderman@hmc.edu
3fe2bbd97a Really add crashtests 2007-12-18 16:27:10 -08:00
jruderman@hmc.edu
c668e5b8db Crashtester!? I hardly *know* 'er! 2007-12-18 16:25:01 -08:00
jruderman@hmc.edu
451f2b5385 Add a crashtest 2007-12-15 15:58:34 -08:00
enndeakin@sympatico.ca
89180aee48 Bug 406316, clear tree caches when setting attributes on tree or body, r+sr=neil,a=damon 2007-12-13 06:18:38 -08:00
jruderman@hmc.edu
40342296f4 Add crashtest for bug 307298. 2007-12-11 21:01:36 -08:00
surkov.alexander@gmail.com
45253210b5 Bug 368835 No focus events from xul tree table when a row is deleted, r=evan.yan, Olli.Pettay, sr=jonas, a=beltzner 2007-12-11 00:18:04 -08:00
reed@reedloden.com
98141f6d9e Bug 395628 - ""ASSERTION: post-reflow queues not empty" with feed in <frame>" [p=mats.palmgren@bredband.net (Mats Palmgren) r=smaug r+sr=dbaron a=blocking1.9+] 2007-11-30 23:22:44 -08:00
dholbert@cs.stanford.edu
fe797e43b7 Bug 391178 - Avoid walking frame tree when destroying nsTreeColFrame. r+sr=roc, a=blocking1.9+ 2007-11-19 18:01:19 -08:00
masayuki@d-toybox.com
f32b16c6fe Bug 403484 The ellipsis for UI should be localizable r=roc+mconnor, sr=roc 2007-11-19 02:17:17 -08:00
neil@parkwaycc.co.uk
edba8c946c Bug 399961 GetCellAt returning invalid element for partially visible cells r=enn sr=roc a=schrep 2007-11-15 14:04:10 -08:00
masayuki@d-toybox.com
547601300c b=403484 backing-out the previous patch, caused by testing failure. 2007-11-15 03:02:47 -08:00
masayuki@d-toybox.com
b666c60c33 Bug 403484 The ellipsis for UI should be localizable r=roc+mconnor, sr=roc, blocking1.9=mtschrep 2007-11-15 02:43:16 -08:00
enndeakin@sympatico.ca
eae9e57952 Bug 400999, gap in tree lines, fix by including the border and padding for primary cells in the clip area, r+sr=neil,a=beltzner 2007-11-13 04:37:01 -08:00
Olli.Pettay@helsinki.fi
64d4fd2698 Bug 397954, r+sr=roc, a=beltzner 2007-11-09 01:25:05 -08:00
neil@parkwaycc.co.uk
1507d5687b Bug 399692 Restore null-check accidentally removed by bug 399376 r+sr+a=roc 2007-10-15 04:21:25 -07:00
reed@reedloden.com
a7a2219d2b Backout change from Jonathan Steele in bug 399753 for nsTreeBodyFrame.cpp in order to fix bustage. 2007-10-14 20:25:07 -07:00