Commit Graph

1124 Commits

Author SHA1 Message Date
Dão Gottwald
f246f9a00f Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:28 +02:00
Neil Deakin
fb66fae998 Bug 383930/552341, allow usage of a property on popups instead of using document.popupNode, should fix leak of popupNode, r=neil,sr=roc 2010-08-09 12:17:19 -04:00
Neil Deakin
0284f4eb26 Bug 583255, don't involve views in tree offset computation, fixes inspector mouse events, r=roc,a=dbaron 2010-08-09 12:15:39 -04:00
Boris Zbarsky
a22ae7125c Hacking around broken test or tree code for now to fix orange in CLOSED TREE 2010-08-06 14:38:21 -04:00
Boris Zbarsky
4a3531738d Bug 547342 followup. Need to make sure to flush even if we have a cached treebody. 2010-08-06 11:08:06 -04:00
Boris Zbarsky
fb72631f4c Bug 547342 real fix. Flush on ScrollToRow. r=enn 2010-08-05 14:39:39 -04:00
Felipe Gomes
b22f93cd13 Bug 575328 - Fix for search suggestions box appears on wrong monitor in multiple monitor environment when window is maximized. r=enndeakin. 2010-08-02 10:06:04 -05:00
Olli Pettay
ae117d70c6 Bug 576075, stricter tree selection handling, r=enndeakin
--HG--
extra : rebase_source : ea68e33207720ee4193642aaf0749c9939cc12d2
2010-07-31 21:22:29 +03:00
Olli Pettay
dbf47e982c Bug 576070, stricter tree column handling, r=neil
--HG--
extra : rebase_source : 15c91e8cb1c07abb5a6348711bf9cca0d0c20aaf
2010-07-31 21:18:22 +03:00
Craig Topper
1d7405b4e7 Remove aTag argument from nsICSSPseudoComparator::PseudoMatches. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
Craig Topper
fec95b227d Remove QueryFrame support for nsICSSPseudoComparator. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
Craig Topper
18988cb740 DeCOMtaminate nsICSSPseudoComparator::PseudoMatches method signature. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
Neil Deakin
577d80fba3 Bug 552982, Part 9, support close buttons on popups with titlebars, r=neil 2010-07-27 09:38:04 -04:00
Neil Deakin
e2850ec910 Bug 552982, Part 8, support labels on popups with titlebars, r=neil 2010-07-27 09:38:04 -04:00
Neil Deakin
22a92d13e6 Bug 552982, popups with titlebars tests 2010-07-27 09:38:04 -04:00
Neil Deakin
87921c3c7d Bug 552982, Part 5: support for titlebars on panels, r=mats,sr=roc 2010-07-27 09:38:03 -04:00
Neil Deakin
20eab8552e Bug 552982, Part 4: change nsXULPopupManager::GetVisiblePopups to also return noautohide panels, r=mats 2010-07-27 09:38:03 -04:00
Neil Deakin
904a84dffc Bug 552982, Part 3: support panel levels, r=mats 2010-07-27 09:38:03 -04:00
Neil Deakin
a4a74fb3d1 Bug 552982, Part 2: update the popup when it is moved or resized natively, r=mats 2010-07-27 09:38:02 -04:00
Neil Deakin
dba0fd9313 Bug 552982, Part 1: change nsXULPopupManager::AdjustPopupsOnWindowChange so that it only adjusts popups associated with the same window, r=mats 2010-07-27 09:38:02 -04:00
Timothy Nikkel
c73671f6fd Bug 538308. Record that this crashtest asserts. 2010-07-25 14:27:01 -05:00
Timothy Nikkel
5f651e3e38 Bug 538308. Add crashtest. 2010-07-25 13:10:31 -05:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky
93922db9e1 Bug 578696 part 11. Stop holding strong refs when calling ContentRemoved and remove the now-unused IMPL_STRONGREF_MUTATION_NOTIFICATION macro. r=sicking 2010-07-21 11:37:41 -04:00
Boris Zbarsky
998b474e42 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
8cfe0849e3 Bug 578696 part 8. Stop holding strong refs when calling AttributeChanged. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
b8256cdb51 Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking 2010-07-21 11:33:32 -04:00
Timothy Nikkel
a33080b47d Bug 563878. Part 16. Switch nsMenuPopupFrame::SetPopupPosition to using the new API to convert app units. r=mats 2010-07-18 21:23:48 -05:00
Timothy Nikkel
eaf04d25f4 Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats 2010-07-18 21:23:48 -05:00
Michael Ventnor
8139bee929 Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel 2010-07-16 09:07:49 +12:00
Boris Zbarsky
59286dcbf7 Bug 577309 part 15. Stop using content indices entirely in nsCSSFrameConstructor::ContentRemoved. r=tnikkel 2010-07-15 00:38:24 -04:00
Boris Zbarsky
356379d640 Bug 577309 part 6. Change nsListBoxBodyFrame usage of ChildIterator to not rely on indices. r=tnikkel 2010-07-15 00:38:21 -04:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Jesse Ruderman
14ecbf3e68 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Neil Rashbrook
db9e02f260 Bug 575446 Be more careful about finding the correct scrollbars r=Enn 2010-06-30 12:37:11 +01:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Boris Zbarsky
6b42f6dce3 Make the simple cases of dynamic changes of -moz-box-ordinal-group work correctly. (Bug 555987) r=dbaron 2010-06-28 13:47:58 -07:00
Robert O'Callahan
ba814390d9 Bug 573931. Make XUL tree scrolling just repaint. r=enndeakin 2010-06-28 12:27:50 +12:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Jim Mathies
bd6651b892 Bug 513162 - Cleanup unused widget code and CID statics. r=vlad. 2010-06-24 21:01:06 -05:00
Johnny Stenback
841261676e Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-23 14:35:57 -07:00
Johnny Stenback
b5ac9ee398 Backed out changeset 82a21d443b5e 2010-06-21 22:39:53 -07:00
Johnny Stenback
6268e31519 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-21 19:58:50 -07:00
Neil Deakin
192637c8dc Bug 533714, use a size of (0,0) for placeholders, prevents popups from taking up space when not open, r=bz 2010-06-21 08:37:35 -04:00
Neil Deakin
53ac2d5dcb Bug 572823, clear button open state when its popup is destroyed, r=neil 2010-06-21 08:37:35 -04:00
Neil Deakin
f4a7533d50 Bug 554810, use transparent resizer images, also fixes bugs 553752, 553796, 558201, 558203 and 563085, r=roc 2010-06-21 08:37:35 -04:00
Jesse Ruderman
f04ef428cb Remove stray line breaks from NS_ERROR messages, since they interfere with log processing. rs=jst
--HG--
extra : rebase_source : 87421691da969e0ebe5fbfbc44cd8f18617d1351
2010-06-17 13:28:38 -07:00
Olli Pettay
f974305c20 Bug 571106, sanitize tree range boundaries, r=neil
--HG--
extra : rebase_source : 848e30ac31a4bc96c543ae612074ea4071c0eb88
2010-06-16 19:38:37 +03:00
Neil Deakin
6d6ff9188a Bug 379745, add some additional template sort hint options to sort case-insensitive, sort by integers, and skip natural sort order, r=neil,sr=sicking 2010-06-16 13:09:51 -04:00
Daniel Holbert
c76f173bb3 Bug 571059: Update debugging printfs to treat nsFrameState objects as 64-bit & fix build warnings. r=dbaron 2010-06-10 11:26:57 -07:00
L. David Baron
d0ff3a7712 Fix a state bit that *might* be overlapping. (Bug 570837) r=roc 2010-06-08 22:28:14 -07:00
L. David Baron
d574dd00ce Use macros for frame state so that it's easy to change the size and easier to read the constants. (Bug 570837) r=roc 2010-06-08 22:28:14 -07:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Daniel Holbert
ab72715df9 Bug 569994: Fix GCC warning "suggest parentheses around && within ||" in nsTreeBodyFrame.cpp. r=ehsan 2010-06-04 13:38:17 -07:00
Markus Stange
5e59cfef32 Bug 426082, part 2: Make nsEventStateManager::GetContentState return the state directly instead of using an outparam. r=dbaron 2010-05-31 19:49:04 +02:00
Ehsan Akhgari
f58add9d96 Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc,dbaron 2010-05-21 16:36:42 -04:00
Mats Palmgren
9f63c327b3 On MacOSX, take into account that the up-arrow scrollbar button is usually below the slider. b=559272 r=olli 2010-05-17 18:27:02 +02:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Timothy Nikkel
f68ca3b9bf Bug 564705. Don't try to insert a separating space at the start of the XUL textbox title. r=neil 2010-05-11 19:30:42 -05:00
Neil Deakin
c2b69dc288 Bug 553814, don't set listbox minheight, which prevents the scrollbar from appearing when the rows attribute is used, r=neil 2010-05-13 09:44:14 -04:00
Neil Deakin
2fb544a731 Bug 562740, combine popup layout methods, fix menulist scrollbar position when list is larger that screen, r=roc 2010-05-13 09:42:57 -04:00
Steffen Wilberg
1920b72b59 Bug 282127: Highlight odd tree rows in trees with multiple columns in Gnomestripe and Pinstripe. Implement and use ::-moz-tree-row(multicol). ui-review=faaborg, r=enndeakin 2010-05-12 20:25:48 +02:00
Timothy Nikkel
a9893292b9 back out e40cbab6a972 (Bug 564705) 590da60fd253 (Bug 507628 and bug 507991) b166415b8c3f (Bug 564368) 0dac5d3eeb97 (Bug 564063) 116e56d84770 (Bug 563407) c51c93f5240f (Bug 536495) for some orange 2010-05-11 22:01:08 -05:00
Timothy Nikkel
68775506c8 Bug 564705. Don't try to insert a separating space at the start of the XUL textbox title. r=neil 2010-05-11 19:30:42 -05:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Felipe Gomes
b188d1212c Bug 562554 - "Toolbar buttons with drop-down menus are still busted in SeaMonkey Modern Theme" [r=roc] [a=Mossop] 2010-05-01 12:39:00 -04:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Mats Palmgren
fcb34d8042 Layout the child unless the rects are exactly equal; both being empty does not count as equal here. b=563416 r=roc 2010-05-04 19:21:43 +02:00
Jonas Sicking
6f9aebb70a Bug 429175: Make sure to only set aNotify to true when we should. r=peterv 2010-05-03 06:23:36 -07:00
timeless@mozdev.org
2ec73ddbd4 Bug 562432 - comparison between signed and unsigned integer expressions in nsDisplayXULEventRedirector::HitTest, r=neil 2010-04-28 12:53:00 -07:00
Boris Zbarsky
7773612f1a Bug 562688 part 12. Eliminate eELEMENT usage in the rest of layout except layout/style. r=dbaron 2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Mats Palmgren
5f2a134b91 Remove the VerticalScroll() before layout, nsListBoxBodyFrame does that in its post reflow callback. b=547338 r=roc 2010-04-28 19:47:23 +02:00
Mats Palmgren
9610e7e8f7 Backout wrong fix for bug 547338. 2010-04-28 19:47:23 +02:00
Mats Palmgren
5197eefd38 Remove the VerticalScroll() before layout, nsListBoxBodyFrame does that in its post reflow callback. b=547338 r=roc 2010-04-27 18:15:02 +02:00
Markus Stange
c34c8948f8 Bug 355375 - Make context menuitems blink when chosen. r=enn
--HG--
extra : rebase_source : 87b93bda596b4af4c1adf294ecc91510047ca0f1
2010-04-19 16:12:58 +02:00
Michael Ventnor
3602bd64b6 Bug 544099 - Highly optimise -moz-box-shadow for common cases by allowing layout to specify an area where blurring is not needed r=roc,joe
--HG--
rename : gfx/thebes/src/gfxBlur.cpp => gfx/src/thebes/utils/gfxBlur.cpp
rename : gfx/thebes/public/gfxBlur.h => gfx/src/thebes/utils/gfxBlur.h
extra : rebase_source : d7ad7a1ee2ac9e25937133dba95f0f8d7347d612
2010-04-18 13:13:10 +10:00
Timothy Nikkel
1a07188538 Bug 505835. nsTreeBodyFrame::ReflowFinished should null check return value of GetBaseElement. r=neil 2010-04-10 13:03:40 -05:00
Olli Pettay
337d16116e Bug 511075 - The arrows of the scrollbars don't work in hotmail (event.preventDefault() causes clicks on scrollbars to be ignored), r=enn, sr=neil 2010-04-12 16:59:16 +03:00
Ehsan Akhgari
867ee98123 Bug 558598 - XUL splitters should be collapsed on the correct side in RTL mode; r=roc 2010-04-11 19:46:08 -04:00
Timothy Nikkel
bfe7cc152d Merge back out of changeset 02e8391669c3 (Bug 505835) for suspicion of causing tsvg_opacity regression. 2010-04-11 02:10:47 -05:00
Timothy Nikkel
2fad87c0bf Backed out changeset 02e8391669c3 (Bug 505835) for suspicion of causing tsvg_opacity regression. 2010-04-11 02:10:17 -05:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
felipc@gmail.com
a0860655c9 Bug 557987 - Toolbar buttons with drop-down menus are busted, r=roc@ocallahan.org 2010-04-10 22:29:12 +03:00
Timothy Nikkel
bb9cac9862 Bug 505835. nsTreeBodyFrame::ReflowFinished should null check return value of GetBaseElement. r=neil 2010-04-10 13:03:40 -05:00
Felipe Gomes
960464193b Bug 489127 - nodesFromRect required for better usability on mobile devices (part 1+2) [r=roc] 2010-04-07 20:31:26 -04:00
Timothy Nikkel
76b1730341 Bug 479931, Bug 515811, and Bug 522374. Add crashtests. 2010-04-06 15:03:16 -05:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Ehren Metcalfe
e0ac5d5547 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
L. David Baron
0b57ef51cd Use the appropriate color based on visitedness for 'outline-color'. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
7ff92ec1fa Use the appropriate color based on visitedness for nsCSSRendering::PaintBorder users of the 'border-*-color' properties. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
68d7839f41 Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
Robert O'Callahan
60517b697a Bug 550029. Don't try to run treeview script if the document global object has gone away. r=smaug 2010-04-01 20:32:13 +13:00
Craig Topper
980fd2992c Bug 253889: DeCOMtaminate nsIPresShell - IsReflowLocked(). r=roc
--HG--
extra : rebase_source : 46adf0d5ad41602276c8bcded46e7dae0f399da9
2010-03-31 08:43:27 -04:00
Craig Topper
7b89b159bb Bug 253889: DeCOMtaminate nsIPresShell - GetCaret(). r=roc
--HG--
extra : rebase_source : 2a05050d8cbb10dd3bb763d5d5a158cc5f3dd814
2010-03-31 08:39:31 -04:00
Kyle Huey
53dc79a0f8 Backing out Bug 253889 to fix Bug 555727. 2010-03-30 19:57:12 -04:00
Kyle Huey
afc6c6ca2d Backed out changeset 4b8936ac4a31 2010-03-30 19:56:44 -04:00
Craig Topper
6c9540a26d Bug 253889: More deCOMtamination of nsIPresShell. r=roc 2010-03-28 19:21:11 -04:00
Robert O'Callahan
9a2ed61b34 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Neil Deakin
e9dda7e9f3 Bug 554072, resizer should account for borders and padding when retrieving current element size, r=roc 2010-03-23 14:52:56 -04:00
Neil Deakin
79c932638a Bug 442228, support resizers in scrollable areas and enable them by default for textareas, r=roc,sr=dbaron 2010-03-19 07:49:34 -04:00
Neil Deakin
8bd0a11160 Bug 442228, skip native anonymous content for _parent check, also set a minimum resize size, and support other sizes for content resizing, r=neil 2010-03-19 07:49:33 -04:00
Neil Deakin
b5207640b3 Bug 544472, eliminate duplicate calls to AddCSS*** methods, plus some minor related code cleanup, r=dbaron 2010-03-18 15:58:15 -04:00
Julian Seward
158c01b8b1 Bug 549779 - nsMenuPopupFrame::AdjustPositionForAnchorAlign creates undefined nsRects. r=enn 2010-03-11 07:42:20 +01:00
Jonas Sicking
3175f89133 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Neil Deakin
2c7d3081c7 Bug 543065, only scroll one ancestor of menus, SCROLL_FIRST_ANCESTOR_ONLY flag should stop at first scrollable container, not just first parent, r=roc 2010-03-02 06:21:23 -08:00
Serge Gautherie
c990b1c7e2 Bug 492481 - [Linux] mochitest-plain: layout/xul/base/test/test_resizer.xul needs to report success; (Av2) Add |todo(false, ...);|.
r=roc.
2010-03-02 14:25:49 +01:00
Michael Ventnor
25bc9c7d85 Bug 542361 - Fix and remove the GetUsedX assertions r=roc
--HG--
extra : rebase_source : 6bdb0e3251e955ced01476a2255e9ebc511c884b
2010-03-02 11:57:43 +10:00
Jonas Sicking
51fbd0da83 Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug 2010-02-24 18:45:43 -08:00
Robert O'Callahan
90767618c5 Bug 546865. Stop creating widgets for XUL trees. r=mats
--HG--
extra : rebase_source : 261b3df6a9319699819a3f254fc61c0cc70e8b53
2010-02-24 11:35:43 -08:00
Neil Deakin
ae97c93329 Bug 543065, only scroll one ancestor of menus, back out due to scrolling regressions 2010-02-24 10:34:39 -05:00
Alexander Surkov
be2b5e3966 Bug 534527 - Accessibility needs new DOM API part 2, r=smaug, sr=bz 2010-02-20 16:52:50 -08:00
Neil Deakin
ba67b4365a Bug 543065, only scroll one ancestor of menus, r=roc 2010-02-20 11:10:35 -05:00
Neil Deakin
1c6c60ca84 Bug 540340, check page length before scrolling, prevents trees such as the cookies list from starting scrolled down a row, r=neil 2010-02-20 11:08:40 -05:00
Alexander Surkov
73e251f02b Bug 534527 - Accessibility needs new DOM API, r=olli.pettay, sr=roc 2010-02-12 01:34:01 +08:00
Mats Palmgren
b58c775d51 Replace nsPopupFrameList with nsFrameList. b=544251 r=roc r=neil 2010-02-09 17:05:19 +01:00
Serge Gautherie
271756558e Backed out changeset: b3d6a8724029 of
Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
which breaks comm-central.
2010-02-04 20:55:10 +01:00
Michael Ventnor
55ebf80987 Bug 544099 - Allow shadow blurring to skip areas where blurring is unnecessary; Patch 3.1.
r=roc.
2010-02-04 19:15:03 +01:00
Timothy Nikkel
73043ea966 Bug 538308. Inside a tree don't consider XUL nodes under non-XUL nodes. r=neil sr=bzbarsky
--HG--
extra : rebase_source : 8965629e2b932d898767a03a5963f9baabd20e23
2010-01-29 21:04:49 -06:00
Neil Deakin
066705f69a Bug 536625, use menupopup's move instead of widget's, r=roc 2010-02-01 10:11:08 -05:00
Mats Palmgren
fa91c35561 Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc 2010-01-26 14:10:12 +01:00
Palo Misik
89e4e44622 Bug 530505: Rev IID on nsITreeView for Gecko 1.9.3 r=neil 2010-01-23 11:32:18 -05:00
Jesse Ruderman
bb2d0a2624 Add crashtests 2010-01-21 11:07:51 -08:00
Robert O'Callahan
6787212ae4 Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Boris Zbarsky
7f4ab06b1d Bug 514300 part 1. Use the owner document to look for the binding manager. r=sicking 2010-01-13 11:30:10 -05:00
Robert O'Callahan
dd085808e4 Bug 526394. Part 32: Remove code that only existed so that scrollframes could have views. r=mats 2010-01-12 10:45:19 +13:00
Robert O'Callahan
b068bf2710 Bug 526394. Part 27: Rewrite EnsureMenuItemIsVisible to use new nsIPresShell API. r=mats 2009-09-03 15:57:46 +12:00
Robert O'Callahan
ef60e5fbb0 Bug 526394. Part 23: Make nsRect::IntersectRect preserve height and width if possible even when the intersection of two rectangles is empty. r=mats 2010-01-12 10:45:16 +13:00
Robert O'Callahan
a923083da5 Bug 526394. Part 18: Remove nsIScrollableViewProvider and its implementations, now that we've removed all its users. r=mats 2009-09-09 17:40:01 +12:00
Robert O'Callahan
226989753c Bug 526394. Part 14: Convert nsListBoxBodyFrame::GetAvailableHeight. r=mats 2009-09-03 16:11:49 +12:00
Robert O'Callahan
08d69fa261 Bug 526394. Part 12: Convert XUL layout code: scrollboxes and trees. r=mats 2009-09-03 15:57:46 +12:00
Robert O'Callahan
13ac1c2c83 Bug 526394. Part 4: Obsolete nsIScrollableViewProvider by adding nsIFrame::GetScrollTargetFrame. r=mats,sr=dbaron 2009-09-01 23:22:31 +12:00
Robert O'Callahan
3c94fecdb3 Bug 526394. Part 3: Add all necessary new APIs to nsIScrollableFrame. r=mats,sr=dbaron 2009-09-01 16:11:11 +12:00
Jesse Ruderman
243c9242a9 Add crashtests 2010-01-10 19:50:41 -08:00
Timothy Nikkel
3e07c97339 Bug 488771. Stop nsIRollUpListener from inheriting from nsISupports. r=roc
--HG--
extra : rebase_source : 0af5c537b7be03c1407f4b658ba7802081ad3f01
2009-12-22 17:49:33 -06:00
Markus Stange
9e775246af Bug 534161 - When -moz-window-shadow is default, -moz-appearance should be consulted. r=roc 2009-12-30 16:24:11 +01:00
Boris Zbarsky
9a862b0a61 Bug 536931. Check whether we found a content node before trying to get its primary frame. r=dbaron 2009-12-28 14:47:27 -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
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
Neil Deakin
3fafc3cda9 Bug 511180, resizer should be able to resizer any element, and work inside popups, r=neil,sr=roc 2009-12-23 13:45:44 -05:00
Markus Stange
3a2b1d0a66 Bug 534416 - Only turn off initial auto repeat delay for hover autorepeatbuttons. r=Enn 2009-12-15 15:36:11 +01:00
Jesse Ruderman
43106ead5f Add crashtest for bug 189814 (without reftest-print) 2009-12-13 11:50:18 -08:00
Markus Stange
6a7cd4e2e2 Bug 534183 - Autorepeatbuttons in menus shouldn't have any initial delay. r=Enn
--HG--
extra : rebase_source : a28ce171cfb0bca7070b8f0bfdf0c7da446908d5
2009-12-11 23:03:31 +01: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
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
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
Daniel Holbert
7dc45bbe45 Bug 529950: remove unused variable 'frames' to fix build warning. r=bz 2009-12-10 09:26:27 -08:00
Jesse Ruderman
b4b916d596 Add crashtests for a few bugs 2009-12-06 17:53:38 -08:00
Jesse Ruderman
5eb28e1789 Crashtest for bug 509602 2009-12-06 16:54:34 -08:00
Jesse Ruderman
308e1a0311 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Daniel Holbert
f0a97f3ee2 Bug 531075 followup: Shift new early-return down a bit, to let simpler early-returns catch open-and-visible popups. r=bz 2009-12-03 20:01:39 -08:00
Daniel Holbert
635a2cd037 Bug 531075: Don't allow ourselves to reopen popups that are already in the open-popup chain. r=bz 2009-12-01 13:42:19 -08:00
Robert O'Callahan
8846e3c798 Bug 529371 - Fix nsPopupSetFrame sibling pointers (crash [@nsWeakFrame::Init][@nsWeakFrame::InitExternal]). r=bzbarsky 2009-11-20 14:51:11 -05:00
Robert O'Callahan
def53c39d3 Backed out changeset 7d7f59076479 2009-11-10 13:58:35 +13:00
Neil Deakin
b84990c03b Bug 524545, popups with large margins can appear offscreen, adjust margins a bit from last patch, r=roc 2009-11-09 09:55:47 -05:00
Neil Deakin
a68562e317 Bug 524545, back out large margins change 2009-11-03 17:00:03 -05:00
Neil Deakin
f66af9b2d5 Bug 524545, popups with large margins can appear offscreen, r=roc 2009-11-03 15:16:34 -05:00
Boris Zbarsky
5215a681c7 Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron 2009-10-29 17:17:56 -04:00
Timothy Nikkel
796cb88b9d Backed out changeset 58fd8a926bf5 (bug 366203) due to it causing bug 524293. 2009-10-24 17:31:44 -05:00
Timothy Nikkel
101700a5df Bug 366203. Only apply treebody binding to first treechildren child of tree element. r=neil,enn
--HG--
extra : rebase_source : e9e00ab6374b5628aa0892f9a1f3e0910e4e6d6e
2009-10-20 20:54:30 -05:00
Timothy Nikkel
8393aaead0 Bug 479931. The index of the child content in its container needs to be adjusted to determine its index in the tree rows. r=neil
--HG--
extra : rebase_source : 30711fef343b77ffccdfcf45422eac83bcf6eece
2009-10-18 16:23:11 -05:00
Karl Tomlinson
12e383701f b=494901 textbox misaligned when using align=baseline r=dbaron
--HG--
extra : rebase_source : 6322f30a5eabd9c4662a1cc817dde8abaecacaaa
2009-10-22 13:11:25 +13:00
Karl Tomlinson
bca7a265bd b=494901 remove some things from nsSprocketLayout that don't do anything r=dbaron
--HG--
extra : rebase_source : 065b7ecdf4d570683fe94a3bf7e4d2bfb967ed36
2009-10-22 13:05:25 +13:00
Masayuki Nakano
9a683dfc70 Backing out bug 520417
--HG--
rename : widget/src/beos/nsSystemSoundService.cpp => widget/src/beos/nsSound.cpp
rename : widget/src/beos/nsSystemSoundService.h => widget/src/beos/nsSound.h
rename : widget/src/cocoa/nsSystemSoundService.h => widget/src/cocoa/nsSound.h
rename : widget/src/cocoa/nsSystemSoundService.mm => widget/src/cocoa/nsSound.mm
rename : widget/src/gtk2/nsSystemSoundService.cpp => widget/src/gtk2/nsSound.cpp
rename : widget/src/gtk2/nsSystemSoundService.h => widget/src/gtk2/nsSound.h
rename : widget/src/os2/nsSystemSoundService.cpp => widget/src/os2/nsSound.cpp
rename : widget/src/os2/nsSystemSoundService.h => widget/src/os2/nsSound.h
rename : widget/src/photon/nsSystemSoundService.cpp => widget/src/photon/nsSound.cpp
rename : widget/src/photon/nsSystemSoundService.h => widget/src/photon/nsSound.h
rename : widget/src/qt/nsSystemSoundService.cpp => widget/src/qt/nsSound.cpp
rename : widget/src/qt/nsSystemSoundService.h => widget/src/qt/nsSound.h
rename : widget/src/windows/nsSystemSoundService.cpp => widget/src/windows/nsSound.cpp
rename : widget/src/windows/nsSystemSoundService.h => widget/src/windows/nsSound.h
2009-10-18 16:29:08 +09:00
Masayuki Nakano
019ea85b6d Bug 520417 Redesign nsSound structure r+sr=roc
--HG--
rename : widget/src/beos/nsSound.cpp => widget/src/beos/nsSystemSoundService.cpp
rename : widget/src/beos/nsSound.h => widget/src/beos/nsSystemSoundService.h
rename : widget/src/cocoa/nsSound.h => widget/src/cocoa/nsSystemSoundService.h
rename : widget/src/cocoa/nsSound.mm => widget/src/cocoa/nsSystemSoundService.mm
rename : widget/src/gtk2/nsSound.cpp => widget/src/gtk2/nsSystemSoundService.cpp
rename : widget/src/gtk2/nsSound.h => widget/src/gtk2/nsSystemSoundService.h
rename : widget/src/os2/nsSound.cpp => widget/src/os2/nsSystemSoundService.cpp
rename : widget/src/os2/nsSound.h => widget/src/os2/nsSystemSoundService.h
rename : widget/src/photon/nsSound.cpp => widget/src/photon/nsSystemSoundService.cpp
rename : widget/src/photon/nsSound.h => widget/src/photon/nsSystemSoundService.h
rename : widget/src/qt/nsSound.cpp => widget/src/qt/nsSystemSoundService.cpp
rename : widget/src/qt/nsSound.h => widget/src/qt/nsSystemSoundService.h
rename : widget/src/windows/nsSound.cpp => widget/src/windows/nsSystemSoundService.cpp
rename : widget/src/windows/nsSound.h => widget/src/windows/nsSystemSoundService.h
2009-10-17 21:53:47 +09:00
Jesse Ruderman
62dedaf641 Add more crashtests 2009-10-15 14:22:11 -07:00
Bobby Holley
ba376437d0 Bug 517543 - need a STATUS_DECODE_COMPLETE for imgIRequest.r=joe 2009-10-06 21:39:30 -07:00
Neil Rashbrook
fb26b584a4 Bug 185533 Use native resizing when possible r=jimm,Enn 2009-10-06 17:11:59 +01:00
Neil Deakin
59ea98ed9f Bug 519296, after_pointer popup positioning not offset correctly, r=neil 2009-10-06 09:26:34 -04:00
Boris Zbarsky
4fc405cefa Bug 512336. Make frame lists doubly-linked. r=roc,fantasai 2009-10-02 12:27:37 -04:00
Robert O'Callahan
794f4fa11d Bug 508495. Remove CreateWidgetForView from nsIFrame and nsObjectFrame since it's no longer used there. r=dbaron
--HG--
extra : rebase_source : c400af6f507ea046e952b9c612dc2d7fca00ff91
2009-09-30 07:32:43 +10:00
Robert O'Callahan
d56dfa741e Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Timothy Nikkel
0120bb5758 Bug 515028. Change the description of openPopupAtScreen to reflect that coordinates are not relative to the current screen. r=enndeakin sr=bzbarsky
--HG--
extra : rebase_source : 6c4d13f0b2c91dbdd7c2a9325c5ced0ee74bf9d4
2009-09-23 00:04:41 -05:00
Neil Deakin
22715396a4 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Michael Ventnor
7b53709720 Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc 2009-09-18 20:18:35 +02:00
Mats Palmgren
4e06ef038e Bug 233463, patch 5 - Remove nsFrameList(nsIFrame*) ctor. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
90fe0851f3 Bug 233463, patch 4 - Make nsIFrame::mNextSibling private. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
377056c269 Bug 233463, patch 2 - Introduce nsFrameList::mLastChild member for fast access to the last sibling frame. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
8279fd683e Bug 233463, patch 0 - Use nsFrameList methods instead of nsIFrame::SetNextSibling. r=bzbarsky 2009-09-18 13:09:35 +02:00
Mats Palmgren
948203eb7d Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Olli Pettay
af258882ac Bug 516237, r=enndeakin, sr=neil
--HG--
extra : rebase_source : 0d7f5d0c5fb23052788d8a07908e5f7f4b29d43a
2009-09-15 21:15:16 +03:00
Olli Pettay
e63ac851ea backout Bug 516237 2009-09-15 17:34:57 +03:00
Olli Pettay
8880343068 Bug 516237, r=enndeakin, sr=neil
--HG--
extra : rebase_source : 44179b032971ced59a7d5af9e59724b9d32c41dc
2009-09-15 11:55:29 +03:00
Neil Deakin
b944f3866f Bug 497434 - Tooltips no longer shown for bookmarks in places' menupopups, r=neil, mak 2009-09-14 13:06:33 +02:00
Mats Palmgren
1df99a1262 Bug 513318 - visibility:collapse causes scrollbar issues for XUL elements, r=roc 2009-09-13 16:05:55 -07:00
Neil Deakin
05a4dea73e Bug 510335, add support for right/bottom attributes in stack, remove left/top css property support, r=neil,sr=bz 2009-09-13 17:13:54 -04:00
Neil Deakin
02a7469b05 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Bobby Holley
0b02012ed8 Bug 435296 - Sync decode handling for decode-on-draw. r=roc 2009-09-12 16:44:18 -06:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Zack Weinberg
17eb5a6efc Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01:00
Neil Deakin
a5bfe49767 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-10 08:51:36 -04:00
Dão Gottwald
62e9ea68d8 merge 2009-09-07 14:17:52 +02:00
Dão Gottwald
10e3ef1a71 Backed out changeset 83ba2c6e25eb because of bug 514891 2009-09-07 14:17:30 +02:00
Timothy Nikkel
e714644155 Bug 445749. In MenuPopupFrame screen coordinates are given relative to the current screen, and so need to be adjusted to absolute screen space. r=enn 2009-09-04 13:15:29 +02:00
Markus Stange
730cc8c491 Bug 513502 - Don't allow fractional sizes for the length of the scrollbar thumb. r=roc
--HG--
extra : rebase_source : 5f297336e5acd0ffedea5944745db92f28770840
2009-09-04 09:34:31 +12:00
Markus Stange
252d567771 Bug 513502 - Clean up nsSliderFrame.cpp a little. r=roc
--HG--
extra : rebase_source : fa4840f97e690617a45d27d19fc986ed28c9be1b
2009-09-04 09:33:55 +12:00
Neil Deakin
4e0865ca73 Bug 510008, clientX/Y not correct in popupshowing event for popup inside a frame, fix to use correct widget for event, r=roc 2009-09-03 15:30:07 -04:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Dão Gottwald
09fc562917 Backed out changeset 1e6d52401dd2 2009-09-04 15:32:17 +02:00
Michael Ventnor
6b82353959 Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc 2009-09-04 14:24:26 +02:00
Joe Drew
98f872f190 Bug 508057 - Drop the ref to the observer when we're changing images in XUL's image box frame. r=bz 2009-09-02 11:45:57 -04:00
Jesse Ruderman
e1a92dde70 Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman
15e3a448a6 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg
0df64c6bc4 Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Neil Deakin
3028324937 Bug 510388, check descendant documents for focus when closing popups, r=bz,sr=smaug 2009-08-27 08:51:41 -07:00
Robert O'Callahan
75dc1beb9c Backed out changeset e2927bb26412 2009-08-26 14:49:18 -07:00
Zack Weinberg
18c763f2c5 Bug 497495 part 3a: rationalize the queryframe-implementation macro naming scheme, restructure the implementation to detect duplicate entries, and a couple fixes to the frame ID enumeration. r=dbaron sr=roc
Bug 497495 part 3b: update users of queryframe macros (strictly mechanical change). r=dbaron

--HG--
extra : rebase_source : ee672a17934227b408b83dc6b5cc4e4909652f72
2009-08-26 09:27:42 -07:00
Neil Deakin
f02e8c39c1 Bug 511673, hidden panels have an empty state, but should be 'closed', r=roc 2009-08-26 09:19:38 -07:00
Jesse Ruderman
ee4d3728c4 Bug 420424 - remove bogus assertion. r=bz 2009-08-25 18:45:07 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Timothy Nikkel
f110653868 Bug 508927. In list box body frame don't return a frame for an item that is not in its child list, and don't destory a frame if it is not in the childlist. r=bzbarsky 2009-08-25 08:37:07 -04:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Ryo Kawaguchi
54bb0a0d80 Implement background-image: -moz-image-rect(), which allows a region of an image to be used as a background image. (Bug 113577) r=roc, dbaron 2009-08-21 13:39:25 -07:00
peterv@propagandism.org
2fa6b71daf Bug 461640 - Box objects should participate in cycle collection, r=smaug
--HG--
extra : rebase_source : 337d82f08d17641dd4306c55743a076f53a4a22f
2009-08-21 15:51:08 +03:00
Olli Pettay
066604efe9 Bug 461640 - Box objects should participate in cycle collection, r=peterv
--HG--
extra : rebase_source : 274ffed884d7b8ed753796a67f4682df141e821e
2009-08-21 15:50:15 +03:00
Zack Weinberg
2cd31f70f9 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
tnikkel@gmail.com
93bcc968f6 Bug 509602, r=smaug, sr=neil 2009-08-19 14:34:06 +03:00
Robert O'Callahan
9f2ae1a715 Bug 507334, part 2: Blit multiple rectangles when scrolling rather than blitting only the largest single rectangle, and avoid repainting opaque content that covers the scrolling content. r=dbaron 2009-08-13 19:09:51 -07:00
Markus Stange
04d8aa170a Bug 510149 - Changes to nsLayoutUtils::GetFrameTransparency. r=roc
--HG--
extra : rebase_source : 024d18340b423827524eb725d961d0907b90338d
2009-08-14 10:08:13 +12:00
Felipe Gomes
972bf3dc41 Bug 503541 - Fine grained control of gesture registration on widgets (Win7). r=smaug+roc, sr=smaug 2009-08-13 13:54:09 -07:00
Timothy Nikkel
42e3d17d27 Bug 508927. Assuming that the binding parent of the listboxbody content is the listbox content (and hence parent of listitems) is just wrong. Use ChildIterator instead to access the XBL nodes of the listboxbody content and get the frame constructor to pass the listboxbody frame the right container. r=bzbarsky, a=beltzner for CLOSED TREE 2009-08-13 11:38:22 -04:00
Jesse Ruderman
6125a23696 Add crashtest for bug 460900 2009-08-08 16:00:33 -07:00
L. David Baron
1233c40b2d Call InvalidateColumns more often. (Bug 506871) r=roc 2009-08-07 14:17:02 -07:00
Boris Zbarsky
f7cd534013 Bug 415394. Don't let the listbox row-munging kill our block wrapper, if we have one. r=dbaron 2009-08-07 15:51:25 -04:00
Robert O'Callahan
cba39f15c7 Bug 504524. Change signature of nsIFrame: of nsIFrame::CharacterDataChanged to support passing of the full CharacterDataChangeInfo struct. r=bz
--HG--
extra : rebase_source : cdab9444f579d6b93e142ad8681152ecd180f818
2009-08-05 13:38:10 +12:00
Boris Zbarsky
6c6823ba49 Bug 508057. Make sure to drop the ref to the observer when clearing our cached tree images. r=joedrew 2009-08-03 23:06:34 -04:00
Robert O'Callahan
a4fec52cd4 Bug 506615. XUL decks should not have wididgets. r=dbaron 2009-07-30 14:54:42 +12:00
Michael Ventnor
8ae6cd75f4 Bug 479220: Implement support for CSS gradients: -moz-linear-gradient() and -moz-radial-gradient(). r=roc, dbaron 2009-08-01 08:53:40 -07:00
David Zbarsky
92589bee61 Bug 499655: Selectors should have dual atoms so they can correctly (and case-sensitively) match non-HTML elements in text/html documents, part 1. r=dbaron 2009-08-01 08:53:40 -07:00
L. David Baron
36c7b60c0c Backed out changeset 358af1196dc2 (bug 499655) until we get bug 507487 sorted out. 2009-07-31 09:39:53 -07:00
David Zbarsky
eab4105f16 Bug 499655. Selectors should have dual atoms: HTML and other. r=dbaron 2009-07-30 13:28:42 -04:00
Boris Zbarsky
f2936464e5 Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron 2009-07-30 13:23:32 -04:00
Boris Zbarsky
2a109b5e0a Bug 504975. Go back to overriding HandleMultiplePress on various XUL frames. r=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
5fefb45a48 Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:20 -04:00
Boris Zbarsky
db6ff446ab Bug 504221 part 5. Switch from GetFirstChild to GetChildList (returning an nsFrameList). For now, keep a GetFirstChild shim so callers don't have to be updated. r=fantasai, r+sr=roc 2009-07-28 08:51:09 -04:00
Michael Kohler
404670f1f3 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Olli Pettay
1352242ce7 Bug 375928, r=roc, sr=neil 2009-07-26 15:15:11 +03:00
timeless@mozdev.org
3229418722 Bug 504172 useless null check of first in nsXULPopupManager::Rollup
r=roc
2009-07-22 17:31:02 -05:00
Robert O'Callahan
5fa812e479 Bug 352093. Part 15: Rework scrolling so that we don't need a dedicated native widget for scrollframes. r=dbaron,joshmoz,karlt,jmathies 2009-07-22 12:45:13 +12:00
Robert O'Callahan
c9fb8410a3 Bug 352093. Part 7: nsXULPopupManager should store coordinates relative to GetRootWidget to avoid confusion. r=enndeakin 2009-07-22 12:45:06 +12:00
Olli Pettay
20976634f6 bug 503699, r+sr=roc 2009-07-21 14:58:30 +03:00
Joe Drew
6c441f55f7 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Ehsan Akhgari
51f18a5be7 Bug 176244 - Fix column resize and reorder issues when direction is rtl; r=roc,enndeakin sr=roc 2009-07-15 11:52:42 +04:30
Simon Montagu
650af63626 Check alt text for right-to-left characters and enable bidi processing if they are found. Bug 503269, r+sr=roc 2009-07-12 06:32:48 -07:00
Masayuki Nakano
92c201750d Bug 502799 add new nsISound method for the event sounds r=roc+neil, sr=roc 2009-07-09 10:55:46 +09:00
Robert O'Callahan
8985dba9a7 Bug 500912. Remove realTimeDrag flag, it's always true. r=bzbarsky 2009-07-04 21:47:59 +12:00
Olli Pettay
9b040244e9 Bug 490196, r+sr=roc 2009-07-02 17:47:00 +03:00
Olli Pettay
6041f8abed Bug 496567 - Remove nsXULCommandEvent and nsIDOMXULListener, r=neil, sr=sicking 2009-06-30 10:56:40 +03:00
Robert O'Callahan
8e2c443f4f Bug 500629. Remove NS_SCROLL_PROPERTY_ALWAYS_BLIT, only XUL listboxes use it, and for no good reason. r+sr=bzbarsky
--HG--
extra : rebase_source : 262ff065fd9bbc7687a5aa1f9c330626878cdf25
2009-06-29 10:48:59 +12:00
timeless@mozdev.org
aeb6b97ad8 Bug 494689 nsTreeBodyFrame::HandleEvent warning: unused variable ‘lastScrollLines’
r+sr=neil
2009-06-27 18:42:51 -07:00
Timothy Nikkel
123b9246d1 Bug 498228 - "Profile item doesn't look selected anymore in the profile manager." r+sr=bzbarsky 2009-06-26 15:31:16 -04:00
Neil Deakin
463ebf9287 Bug 455590, use new drag and drop api with trees, r=neil,sr=smaug 2009-06-24 13:12:33 -04:00
Timothy Nikkel
cf4b6c605c Bug 488210. Stop returning non-listitems' frames from GetNextItemBox. r+sr=bzbarsky 2009-06-23 21:35:01 -04:00
Karl Tomlinson
25e68aba92 b=497033 shutdown crash @nsMenuBarFrame::SetStayActive r=enndeakin,sr=bz 2009-06-20 13:36:33 +12:00
Daniel Brooks
deacc87633 Bug 495002 - nsPresContext ought to have CSSPixelsToDevPixels and DevPixelsToCSSPixels methods
r=bz, sr=roc
2009-06-18 03:35:11 -05:00
L. David Baron
0d06184f97 Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Jesse Ruderman
398d049cfc Fix order of crashtests 2009-06-12 19:22:15 -07:00
Boris Zbarsky
57cd0d56c8 Adding test 2009-06-12 22:03:11 -04:00
Neil Deakin
f07c61b0cb Bug 404766, right click on a bookmark menuitem closes it instead of opening another context menu, r+sr=roc 2009-06-12 14:23:16 -04:00
Timothy Nikkel
5b29e448a0 Bug 495728 - "###!!! ASSERTION: destroy called on frame while scripts not blocked: '!nsContentUtils::IsSafeToRunScript()', file /Users/bzbarsky/mozilla/vanilla/mozilla/layout/generic/nsFrame.cpp, line 446." r+sr=bzbarsky 2009-06-11 13:09:33 -04:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Jesse Ruderman
967c283ff8 Add crashtest for bug 464149 2009-06-07 11:33:10 -07:00
Gavin Sharp
cda659cb28 Bug 496103: don't cancel mousedown events for menus (prevents dragging bookmark folders on the bookmark toolbar), r+sr=Neil. Test by Marco Bonardo <mak77@bonardo.net>, r=dietrich 2009-06-03 22:43:03 -04:00
Robert O'Callahan
8c7da0cfb7 Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner 2009-05-28 17:01:42 +12:00
Justin Dolske
cf8fb28253 Bug 493508 - video <scale> thumb can jump around while it's being dragged. r=roc, r/sr=mconnor, a192=beltzner 2009-05-20 22:27:01 -07:00
Robert O'Callahan
7632d4205f Bug 491323. Allow splitters to collapse siblings that aren't XUL elements. Also fix the logic for finding the right sibling. r+sr=bzbarsky
--HG--
extra : rebase_source : 2b9728903dc6c8516ad3590398c5459a999e5a91
2009-05-21 14:50:17 +12:00
Arpad Borsos
319919e714 Bug 492520 - Optimize some Frame classes for memory usage; r+sr=roc 2009-05-12 12:13:09 +02:00
Ryo Onodera
5e72993bff Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Neil Deakin
9c28b4c2b5 Bug 393186, better handle popups when multiple screens are used, r+sr=roc 2009-05-06 14:29:56 -04:00
Neil Deakin
43a07bed47 Bug 374288, don't open tooltips on items in a menu when the listener is outside of it, r+sr=neil 2009-05-04 10:55:47 -04:00
Neil Deakin
6e32668a4e Bug 488084, set mCurPos when slider frame is initialized, so that it is set properly, r+sr=neil 2009-05-04 10:55:41 -04:00
Neil Rashbrook
0b494fd2d1 Bug 488752 Incorrect menulist behaviour on Mac OS X r=enn sr=roc 2009-05-01 13:24:49 +01:00
Boris Zbarsky
dcc22a1654 Bug 481024. Text control frame screws up max-width and max-height. r+sr=dbaron 2009-04-27 14:18:37 -07:00
Robert O'Callahan
0cc4169245 Bug 384037. Eliminate nsFrameNavigator and switch XUL splitters to using nsFrameList instead. Also add a check so that we don't crash when a splitter's parent is not a XUL box. r+sr=dbaron
--HG--
extra : rebase_source : 2438d96782b0d3c976fe7adf4f8e167811d76e64
2009-04-25 20:33:32 +12:00
Bob Clary
0ffcd2982b bug 430394 - crash test by Martijn Wargers. 2009-04-24 10:08:23 -07:00
Bob Clary
170da80c73 bug 391974 - crash test by Martijn Wargers. 2009-04-24 10:08:21 -07:00
Bob Clary
3d9014c8a5 bug 387033 - crash test by Olli Pettay. 2009-04-24 10:08:20 -07:00
Bob Clary
a2ceec7779 bug 384871 - crash test by Martijn Wargers. 2009-04-24 10:08:20 -07:00
Bob Clary
6cd0106547 bug 384105 - crash test by Martijn Wargers. 2009-04-24 10:08:19 -07:00
Bob Clary
c85ca80f23 bug 382444 - crash test by Martijn Wargers. 2009-04-24 10:08:19 -07:00
Bob Clary
dc9efa8b3b bug 381167 - mochikit test by Martijn Wargers. 2009-04-24 10:08:18 -07:00
Bob Clary
e24d843cc0 bug 374102 - crash test by Martijn Wargers. 2009-04-24 10:08:17 -07:00
Bob Clary
1d7e1f7990 bug 326834 - crash test by Martijn Wargers. 2009-04-24 10:08:11 -07:00
Bob Clary
41913294c9 bug 313173 - crash test by Martijn Wargers. 2009-04-24 10:08:09 -07:00
Bob Clary
520c569820 bug 312784 - crash test by Boris Zbarsky. 2009-04-24 10:08:08 -07:00
Bob Clary
ebe4ad943e bug 311710 - crash test by Martijn Wargers. 2009-04-24 10:08:08 -07:00
L. David Baron
bb58803c1f Remove some unused AddRef/Release methods on frame classes. (Bug 488774) r+sr=roc 2009-04-22 10:13:48 -07:00
John Morkel
72edb1d098 Bug 488696 - Only one tooltip shown for trees. r=enn, sr=neil 2009-04-20 15:01:56 +02:00
John Morkel
e7f3f59938 Bug 395668 - tooltips remain for only 5 seconds, should hide on mousemove instead. ui-r=faaborg, r=enn, sr=neil 2009-04-12 20:06:22 +02:00
Zack Weinberg
01403e2fa3 Bug 487831: Remove nsBox::(Get|Set)WasCollapsed, which are totally unused. r+sr=dbaron 2009-04-10 13:29:50 -07:00
Boris Zbarsky
8e0680af4e Bug 486848. Don't clobber |result| until we're done using it. r+sr=roc 2009-04-05 23:53:40 -04:00
Karl Tomlinson
215b0b8818 b=483565 baseline of stack elements depends on bottom margins of children r=dbaron
--HG--
extra : rebase_source : 50099d02312e4d380f75271ebc7e35b8f6aba606
2009-04-06 13:50:51 +12:00
Jonathan Kew
bdab93a7ca Bug 475968. Eliminate NS_FRAME_OUTSIDE_CHILDREN flag, store small overflow areas cheaply within the frame. r+sr=roc 2009-04-06 12:31:50 +12:00
Robert Longson
7506754d85 Bug 423756 - Support image-rendering attribute for html images and css backgrounds. r=joe,vlad sr=roc 2009-04-05 10:52:14 +01:00
Boris Zbarsky
39f9286555 Bug 432068. Fix stupid assumption in listbox code. r+sr=roc 2009-04-03 15:44:33 -04:00
Masayuki Nakano
88c1e2ba58 Bug 338209 Make spellchecker use thicker wavy underlines instead of dotted underlines r+sr=roc 2009-04-03 16:26:28 +09:00
L. David Baron
e54823d44e Backed out changeset 5263468b1d60 (bug 395668) due to unit test timeouts in test_tooltip.xul and test_tooltip_noautohide.xul 2009-04-02 11:05:29 -07:00
John Morkel
4b24c5d9eb Bug 395668 - tooltips remain for only 5 seconds, should hide on mousemove instead. ui-r=faaborg, r=enn, sr=neil 2009-04-02 16:59:55 +02:00
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Neil Deakin
5d99cbc1d8 Bug 475286, support a movetoclick mode for scales. Use this by default for mac and video position widget, r+sr=neil 2009-03-31 14:11:35 -04:00
Arpad Borsos
460de5285f Bug 399753 - Remove nsISupportsArray in the layout directory; r+sr=roc 2009-03-30 20:08:06 +02:00
Robert O'Callahan
d0c58fb22f Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Olli Pettay
2fc3a9fa5e Bug 484320, r=dveditz, sr=mrbkap, a=blocking1.9.1 2009-03-24 17:43:15 +02:00
Ehsan Akhgari
308d8a9f2f Bug 404149 - Underline width doesn't correspond to character width in Arabic/Persian script; r=roc,smontagu sr=roc 2009-03-21 12:08:14 +03:30
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
Neil Rashbrook
a151570f08 Bug 311053 XUL frames should respect preventDefault() [e.g. when menus are open] r=Enn sr=jst 2009-02-27 10:48:25 +00:00
Ehsan Akhgari
6166e0dd40 Bug 477754 - [RTL] Customize toolbar sheet is placed mostly outside of the browser; r=enndeakin sr=roc 2009-02-27 11:53:03 +03:30
Robert O'Callahan
19082bf736 Bug 406646. Make sure to only search *visible* popups for mouse event targets. r=enndeakin
--HG--
extra : rebase_source : bd0825d6a6469a10dcdd9e4ae9e9c91dcbafbe99
2009-02-24 21:25:25 +13:00
Neil Deakin
5f445d97f3 Bug 477326, initialize mCachedMousePoint, r+sr=roc 2009-02-23 14:45:01 -08:00
Nickolay Ponomarev
94d48fa440 bug 475133 - Crash [@ nsStyleContext::GetRuleNode] with <xul:progressmeter>, DOMAttrModified event
r=enn, sr=roc
Don't forget to block scripts when manually calling nsProgressMeterFrame::AttributeChanged in progressmeter initialization to prevent evil mutation event listeners from crashing us.
2009-02-23 17:15:31 +03: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
Neil Deakin
c3cb40f239 Bug 474149, use SetPopupPosition for popup moveTo handling, should fix jumpiness when moving a popup, r+sr=roc 2009-02-17 10:51:11 -05: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
Jesse Ruderman
f154077a31 Add crashtests 2009-02-13 14:54:17 -08:00
Jesse Ruderman
68344d4b52 Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
Jesse Ruderman
c9eb6349ac Add some crashtests 2009-02-10 16:36:04 -08:00
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
Neil Deakin
cbee03cb58 Bug 473847, progressmeters with large max don't work properly, caused by multiplication overflow, r+sr=dbaron 2009-01-23 10:02:31 -05:00
Neil Deakin
bf030ccabd Bug 467360, support buttons with child panels, r+sr=neil 2009-01-20 12:46:55 -05:00
Neil Deakin
ad4f866114 Bug 474336, updating max on progressmeter doesn't update display, r+sr=neil 2009-01-20 12:46:52 -05:00
Boris Zbarsky
b868afeb9d Bug 473390 part 14. Eliminate the mRootBox member of the frame constructor state, and move its only consumer into the relevant frame Init method. r+sr=roc 2009-01-19 13:31:33 -05:00
Boris Zbarsky
0ae5192503 Bug 473390 part 11. Make some of the nsIBoxLayout constructors have nicer signatures. r+sr=roc 2009-01-19 13:31:33 -05:00