Граф коммитов

3061 Коммитов

Автор SHA1 Сообщение Дата
Michael Ventnor 9be7ff6cd7 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 099193396b 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 d3f3733d62 Bug 536625, use menupopup's move instead of widget's, r=roc 2010-02-01 10:11:08 -05:00
Mats Palmgren 29c9316331 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 3924e38942 Bug 530505: Rev IID on nsITreeView for Gecko 1.9.3 r=neil 2010-01-23 11:32:18 -05:00
Jesse Ruderman e9db1facab Add crashtests 2010-01-21 11:07:51 -08:00
Robert O'Callahan 15976008ca Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Boris Zbarsky bbbe659e65 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 96a17b8b42 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 46e847c176 Bug 526394. Part 27: Rewrite EnsureMenuItemIsVisible to use new nsIPresShell API. r=mats 2009-09-03 15:57:46 +12:00
Robert O'Callahan 58e7e447d5 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 6a5cc88a0d 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 75d421266f Bug 526394. Part 14: Convert nsListBoxBodyFrame::GetAvailableHeight. r=mats 2009-09-03 16:11:49 +12:00
Robert O'Callahan 0c42dd5ebb Bug 526394. Part 12: Convert XUL layout code: scrollboxes and trees. r=mats 2009-09-03 15:57:46 +12:00
Robert O'Callahan d5b09287dc 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 1035bd73ed 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 56ac1fe1ee Add crashtests 2010-01-10 19:50:41 -08:00
Timothy Nikkel 3f8f793c9e 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 6782328fe4 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 08d6ee89c6 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 8b56c4f81d Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
fantasai 3027a2127b Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc 2009-12-24 00:21:15 -05:00
fantasai b27eacbc1d Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc 2009-12-24 00:20:41 -05:00
Neil Deakin 1f86481678 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 8fe57176cf Bug 534416 - Only turn off initial auto repeat delay for hover autorepeatbuttons. r=Enn 2009-12-15 15:36:11 +01:00
Jesse Ruderman a4fa120919 Add crashtest for bug 189814 (without reftest-print) 2009-12-13 11:50:18 -08:00
Markus Stange 3e1b2b0a3c 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 423522c88b 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 5132d64872 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 8202b90f61 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky 6eb3c28de7 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 b694bf4f11 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 275d09e604 Bug 529950: remove unused variable 'frames' to fix build warning. r=bz 2009-12-10 09:26:27 -08:00
Jesse Ruderman 38f061b3b9 Add crashtests for a few bugs 2009-12-06 17:53:38 -08:00
Jesse Ruderman f2543149d6 Crashtest for bug 509602 2009-12-06 16:54:34 -08:00
Jesse Ruderman 8fadba32e8 Add crashtests for several bugs 2009-12-06 16:54:07 -08:00
Daniel Holbert 529276334d 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 6ed52fe387 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 c0e35acf4d Bug 529371 - Fix nsPopupSetFrame sibling pointers (crash [@nsWeakFrame::Init][@nsWeakFrame::InitExternal]). r=bzbarsky 2009-11-20 14:51:11 -05:00
Robert O'Callahan dabda822fc Backed out changeset 7d7f59076479 2009-11-10 13:58:35 +13:00
Neil Deakin 2590e098c8 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 f8144f6f32 Bug 524545, back out large margins change 2009-11-03 17:00:03 -05:00
Neil Deakin b35a0ebf8f Bug 524545, popups with large margins can appear offscreen, r=roc 2009-11-03 15:16:34 -05:00
Boris Zbarsky 7813eeb6d1 Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron 2009-10-29 17:17:56 -04:00
Timothy Nikkel 066f91f6a0 Backed out changeset 58fd8a926bf5 (bug 366203) due to it causing bug 524293. 2009-10-24 17:31:44 -05:00
Timothy Nikkel 6496df0d4d 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 b673b2a8b9 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 205a73dcf7 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 b8fe553799 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 df751e7973 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 4acf47e1e9 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 52a69cd192 Add more crashtests 2009-10-15 14:22:11 -07:00
Bobby Holley b8fc782588 Bug 517543 - need a STATUS_DECODE_COMPLETE for imgIRequest.r=joe 2009-10-06 21:39:30 -07:00
Neil Rashbrook 3c5ad17de1 Bug 185533 Use native resizing when possible r=jimm,Enn 2009-10-06 17:11:59 +01:00
Neil Deakin 23335366fc Bug 519296, after_pointer popup positioning not offset correctly, r=neil 2009-10-06 09:26:34 -04:00
Boris Zbarsky ba8c31506f Bug 512336. Make frame lists doubly-linked. r=roc,fantasai 2009-10-02 12:27:37 -04:00
Robert O'Callahan d3999577a2 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 c2f7a1e950 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 3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Timothy Nikkel 5a458afcb5 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 dc9b8b8573 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 e18537e820 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 2c137c2022 Bug 233463, patch 5 - Remove nsFrameList(nsIFrame*) ctor. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren eb7a0b3a40 Bug 233463, patch 4 - Make nsIFrame::mNextSibling private. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren 1a7f096af8 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 7a3be46e9e Bug 233463, patch 0 - Use nsFrameList methods instead of nsIFrame::SetNextSibling. r=bzbarsky 2009-09-18 13:09:35 +02:00
Mats Palmgren dea07412a1 Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Olli Pettay ca9a5fed92 Bug 516237, r=enndeakin, sr=neil
--HG--
extra : rebase_source : 0d7f5d0c5fb23052788d8a07908e5f7f4b29d43a
2009-09-15 21:15:16 +03:00
Olli Pettay 01b281b7b0 backout Bug 516237 2009-09-15 17:34:57 +03:00
Olli Pettay fc9233ec9c Bug 516237, r=enndeakin, sr=neil
--HG--
extra : rebase_source : 44179b032971ced59a7d5af9e59724b9d32c41dc
2009-09-15 11:55:29 +03:00
Neil Deakin 752031a4ab Bug 497434 - Tooltips no longer shown for bookmarks in places' menupopups, r=neil, mak 2009-09-14 13:06:33 +02:00
Mats Palmgren 0febd176d5 Bug 513318 - visibility:collapse causes scrollbar issues for XUL elements, r=roc 2009-09-13 16:05:55 -07:00
Neil Deakin b01608f3d8 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 51b0e867e6 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 0b8080d9b5 Bug 435296 - Sync decode handling for decode-on-draw. r=roc 2009-09-12 16:44:18 -06:00
Bobby Holley 86dd317584 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Zack Weinberg d47e0f433b 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 cef5702d08 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin 6d007b6255 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 bdd26ac194 merge 2009-09-07 14:17:52 +02:00
Dão Gottwald 39a0edb110 Backed out changeset 83ba2c6e25eb because of bug 514891 2009-09-07 14:17:30 +02:00
Timothy Nikkel ddc68de598 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 8dc9565b91 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 39090d5b71 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 225214df33 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 667f63d102 Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Dão Gottwald b978bfab72 Backed out changeset 1e6d52401dd2 2009-09-04 15:32:17 +02:00
Michael Ventnor 7ad8a95064 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 e6dca60324 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 fbaaa060e5 Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman e1c6eeae90 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg 36bc86429d 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 ed0329d0a7 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 4453cced60 Backed out changeset e2927bb26412 2009-08-26 14:49:18 -07:00
Zack Weinberg 64f6d4d0dd 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 7f629101b9 Bug 511673, hidden panels have an empty state, but should be 'closed', r=roc 2009-08-26 09:19:38 -07:00
Jesse Ruderman eb73a7d1c9 Bug 420424 - remove bogus assertion. r=bz 2009-08-25 18:45:07 -07:00
Benjamin Smedberg ba372f3a4c 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 a468df22eb 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 8f435d226b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00