Commit Graph

181 Commits

Author SHA1 Message Date
neil@parkwaycc.co.uk
87f8eb4e9f Bug 563643 - [Debug MacOSX SeaMonkey] leak test: "ASSERTION: Want to fire mutation events, but it's not safe" since bug 429175 landing. ("all" other test suites too); (Av1b) With 2 extra ifdefs as agreed on IRC.
r=Olli.Pettay a-2.0=jonas.
2011-01-25 19:13:43 +01:00
Markus Stange
e39984ef94 Bug 538242 - Always keep nsCocoaWindow's mBounds up to date. r+a=josh 2010-12-21 12:42:47 +01:00
Felipe Gomes
c635e3f490 Bug 610057. Sizemode attribute is incorrect in windows which are not set to persist the attribute (e.g. popup windows). r=neil a=blocking-final 2010-12-20 13:59:48 -08:00
timeless@mozdev.org
a967e02c61 Bug 615359 CheckForFullscreenWindow is only used ifdef XP_WIN
r=neil

--HG--
extra : rebase_source : c9d1bc55b9f4dee9a17e4e58f73fecfbf73a1104
2010-12-04 11:06:53 +01:00
Daniel Holbert
cb035548ba Bug 613292: Reorder nsXULWindow constructor init list to fix build warning. r=jmathies a=bsmedberg 2010-11-30 21:27:30 -08:00
Margaret Leibovic
6a27d3fb58 Bug 575561 - External links from within app tabs should always open in new tabs instead of replacing the app tab's page. r=gavin+bz, a=blocking-beta7 2010-10-28 15:00:31 -07:00
Robert O'Callahan
6bb7a02bbf Backed out changeset ecd1948992eb 2010-10-29 16:07:46 +13:00
Margaret Leibovic
f74adedb2c Bug 575561 - External links from within app tabs should always open in new tabs instead of replacing the app tab's page. r=gavin+bz, a=blocking-beta7 2010-10-28 15:00:31 -07:00
Jim Mathies
c3c489b28b Merge, a=blocking. 2010-10-15 08:52:16 -05:00
Jim Mathies
46550f0437 Bug 574690 - Backout changeset 7124132f0506 due to regressions. a=blocking. 2010-10-15 08:50:09 -05:00
Mike Hommey
951e982b50 Bug 349985 - Move about: handling to nsAboutRedirector and re-enable release notes link in about:. r=bzbarsky,sr=dveditz,a=jst 2010-10-15 12:28:54 +02:00
Felipe Gomes
093d5b5f12 Bug 593307. Ensure centerscreen windows are initially created in a valid screen position. r=jst,jmathies a=blocking-final 2010-10-08 15:51:50 -03:00
Masatoshi Kimura
2df4090123 Bug 593577 - Get rid of nsContentType. r=roc a=a 2010-09-20 15:40:13 +02:00
Jim Mathies
54b4be54a0 Bug 574638 - Change default background color of widgets from grey to white. r=neil, a=blocking-betaN 2010-09-08 10:21:56 -05:00
Joe Drew
b034b812e1 Bug 591150 - Move MOZ_ACCELERATED usage to widget instantiation. r=bas,roc a=blocking2.0:beta6+ 2010-09-03 14:08:23 -04:00
Jim Mathies
b9b7d9a393 Bug 574690 - Reorder size and position events in nsXULWindow so windows are positioned before they are shown. r=bz, r=neil 2010-07-15 22:39:31 -05:00
Jim Mathies
40cf61b306 merge 2010-07-15 21:47:52 -05:00
Jim Mathies
f529587759 Backing out 'Call Show if our nsIXULWindow will not' patch from bug 574690 due to various regressions. r=bz 2010-07-15 21:47:14 -05:00
Bas Schouten
998523d4ec Bug 574690: Don't have DocumentViewer call show on its window if the XULWindow will do this once it's done loading chrome. r=roc 2010-06-28 06:24:52 +02:00
Jim Mathies
3f234789d8 Bug 574599 - Parent windows should have the clip children style to avoid parent level paints when children invalidate. r=robarnold. 2010-06-25 17:50:36 -05:00
Jim Mathies
ddcebcddee Bug 575195 - Send size mode events to dom from web shell window, and insure new windows open on top of full screen windows normally. r=neil. 2010-08-26 23:44:01 -05:00
Jim Mathies
da75b9c3d9 Bug 513162 - Add support for 'chromemargin' property on XUL windows. r=smaug. 2010-06-24 21:01:07 -05:00
Neil Rashbrook
de9f87ba5d Bug 351235 <a href='foo' target='bar'> and window.open('foo', 'bar') should not be treated identically by browser.link.restriction r=bzbarsky 2010-07-05 13:03:07 +01:00
Markus Stange
dfe957ea33 Merge backout of changeset ad7f9821597e, bug 573973. 2010-07-02 08:23:34 +02:00
Markus Stange
277a5f67fb Back out changeset ad7f9821597e (bug 573973, calling SetDrawsInTitlebar on nsXULWindow load) because it caused bug 576394. 2010-07-02 08:22:54 +02:00
Markus Stange
d08453bb3d Bug 573973 - Handle the drawintitlebar attribute in nsXULWindow, too. r=Neil
--HG--
extra : rebase_source : ba2a3384b23d7f697fbe20cda11ab83b2575ba4d
2010-07-01 18:40:39 +02:00
Oleg Romashin
c8dc3d90c4 Bug 575962 - top window accelerated ENV variable. r=roc
--HG--
extra : rebase_source : 53f4400af98bcf06d0c01a13edc814a50f571435
2010-07-01 17:45:14 -04:00
Benjamin Smedberg
a249678c04 Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan

This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Mats Palmgren
aedafe052d Bug 530070. r=jmathies 2010-06-02 15:02:05 +02:00
Mats Palmgren
ee279c96dc Backout bug 530070 due to Tinderbox orange. 2010-05-21 18:33:28 +02:00
Mats Palmgren
21ecbae3c1 Bug 530070. r=jmathies 2010-05-21 15:52:07 +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
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Bas Schouten
256635a5cf Bug 556027: Propagate 'accelerated' attribute from nsXULWindow. r=roc 2010-03-31 05:03:00 +02: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
Olli Pettay
bd950481d6 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Simon Montagu
081cdecd70 Bug 224547: Change the organization of the window title bar for RTL XUL windows. Part 2, set the right-to-left flags on right-to-left windows, r=enndeakin 2009-12-21 12:22:09 +02:00
Saint Wesonga
f0b03e5ff2 Bug 274088 - alwaysRaised/alwaysLowered window.open feature incorrectly disallowed to content script. r=neil
--HG--
extra : rebase_source : ba682a68f728cb3c9e7ca9b3e4395e868d5198a5
2009-12-18 20:42:55 +01:00
Jae-Seong Lee-Russo
366e630601 Bug 530392 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /xpfe/, r=roc 2009-12-13 09:32:10 -08:00
Olli Pettay
10141fcf45 Fixing bug 516113. Don't let new windows open up after we've started XPCOM shutdown. r=bsmedberg, a=blocking1.9.2+ 2009-11-20 14:25:11 -08:00
Daniel Holbert
ea6749c426 Bug 509828 followup: Reorder nsXULWindow constructor's initializer list, to fix build warning. r=bz 2009-11-12 09:23:31 -08:00
Makoto Kato
7f01df6468 Bug 492123. Prevent crash when a XUL window is closed while it's being shown for the first time. r=roc 2009-11-11 11:29:29 +01:00
Markus Stange
e0520f2a3a Bug 517396 - Moving a window shouldn't un-maximize it on Mac. r=neil, r=roc
--HG--
extra : rebase_source : 1a27add4c6dad5495707518b643e9636522bac8a
2009-11-02 20:10:07 +01:00
timeless@mozdev.org
4c6c0e18b5 Bug 514638 windowmediator should let go of its windows at xpcom-shutdown
r=bs
2009-10-17 08:20:08 +02:00
Nochum Sossonko
2ff3eba8b6 Bug 509828 - Specifying left and top features in openWindow doesn't work when screenX and screenY attributes are set on the <window> element and are set to be persisted. r=bz 2009-10-16 11:03:20 +02:00
Taras Glek
45c73c60d8 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz
--HG--
extra : rebase_source : c6ba6e900ceed210620d47f70c9b962a808a29fe
2009-10-12 12:31:50 -07:00
Markus Stange
635704a6bc Bug 489045 - nsXULWindow::GetParentNativeWindow crashes if GetParentWidget returns null. r=roc 2009-10-09 20:05:08 +13: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
Timothy Nikkel
902d272350 Bug 410337. Pass the parent window further down the window creation path so that its screen rect can be saved in nsXULWindow and used to determine what screen to open on in some cases. r=enndeakin
--HG--
extra : rebase_source : 889687a90625b8bb070ea015b93ffcc28570fb6a
2009-09-28 21:20:46 -05:00
Markus Stange
36822e5cf2 Bug 515446 - Combine the two Create methods of nsIWidget into one. Also remove nsCocoaWindow's capability of adapting its NSWindow from aNativeParent. r=josh, sr=roc 2009-09-24 18:18:10 +12: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
Neil Rashbrook
cad0564597 Bug 509124 Chrome flags are never set on unparented XUL windows r=jst 2009-08-14 12:00:44 +01:00
Markus Stange
4e95e1fdcd Bug 509660 - Also persist the position of the window when its size changes, since the position might have changed, too. r=neil
--HG--
extra : rebase_source : a3a8cc5b010b47d0b8a6b3b244399ca581ab9454
2009-08-13 08:47:41 +12:00
Markus Stange
23cf4a7d99 Bug 508180 - Consolidate four nsXULWindow::Load*FromXUL methods. r=Neil 2009-08-06 08:52:08 +12:00
Markus Stange
4a21877da7 Bug 269410 - Create a new attribute, "toggletoolbar", which can be used to control whether the toolbar pill collapse button is shown on the window. r=Neil, r=josh, sr=roc
If the attribute is not specified, the button is hidden by default.
2009-08-06 08:49:59 +12:00
Markus Stange
97f8ad03c0 Bug 508159 - Remove some dead code in nsXULWindow. r=Neil 2009-08-05 11:07:58 +12:00
Doug Turner
c56708705b Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad 2009-07-08 09:13:13 -07:00
Doug Turner
55fdfb6010 Backing about 484488. 2009-07-05 22:24:56 -07:00
Doug Turner
1cd581a740 Bug 484488/501801 - fixed mochitest fail. r=blassey, sr=vlad 2009-07-01 21:39:20 -07:00
Doug Turner
78afc48ace Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad 2009-07-01 12:01:11 -07: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
Boris Zbarsky
64b2d5e1bf Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Jeremy D. Lea
69123ff5af Bug 431634 - Part 2 - remove unused methods from nsIWidget; r+sr=roc 2009-04-08 11:39:58 -07:00
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Zack Weinberg
b2e3c78d66 Bug 482687. Remember the appunits-per-devpixel ratio and use it if the window is gone, instead of crashing. r+sr=roc 2009-03-24 13:55:32 +13:00
Arpad Borsos
e2cba9a001 Bug 474369 - get rid of nsVoidArray; xpfe part; r+sr=neil 2009-03-08 10:38:59 +01:00
Zack Weinberg
d2bd88dd6a Bug 469933. Window sizing methods need to be DPI-aware. r+sr=bzbarsky,r=dev-null 2009-02-10 21:29:53 +13:00
Ginn Chen
f643d764e3 Bug 466332 [a11y] window:activate event missing for Firefox Preferences dialog r=neil sr=roc 2009-02-09 14:12:23 +08:00
Boris Zbarsky
e4b078cd82 Bug 475913. Rev nsIXULWindow iid in CLOSED TREE 2009-02-03 15:45:26 -05:00
Nickolay_Ponomarev
1820b09634 Bug 472258 - Reinitializing one-shot timers by resetting delay (->SetDelay) doesn't work anymore - fix callers; r+sr=bzbarsky 2009-02-03 15:42:21 +01:00
Blake Kaplan
ce4895babb Fix bustage from bug 472674
--HG--
extra : rebase_source : 0eb00dc3d10cff07826736e510eba98144448d84
2009-01-21 11:37:30 -08:00
Blake Kaplan
dade53b4d3 Bug 472674 - Allow XPCNativeWrapper to unwrap SJOWs again. r+sr=jst 2009-01-16 18:05:14 -08: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
Josh Aas
2611dff190 appshell whitespace cleanup, no bug 2009-01-06 16:25:49 -06:00
Josh Aas
891370667c more window mediator whitespace cleanup, no bug 2009-01-05 12:58:59 -06:00
Josh Aas
630d1a53bb Clean up allocation for nsWindowMediator, nsAbout. b=471981 r=neil sr=roc 2009-01-04 23:22:36 -06:00
Robert O'Callahan
7b82035873 Bug 465448. Perform sanity check to avoid resizing a window smaller than the content area we're trying to achieve. r+sr=bzbarsky
--HG--
extra : rebase_source : 57e7e4e95ec2c100b8ceaa66864f6dfb5ba1cc86
2009-01-05 13:39:40 +13:00
Josh Aas
c474ff07a9 Clean up window mediator code. b=450576 sr=roc 2009-01-02 22:06:52 -06:00
Brad Lassey
7e436d51fe Bug 459677: nsXulWindow doesn't dpi scale css pixels. r+sr=bz, a1.9.1b2=beltzner 2008-11-17 06:59:45 +00:00
Phil Ringnalda
bbe7e1d08a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08: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
Daniel Holbert
72c410a648 Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe 2008-10-01 23:49:45 -07:00
Jonathan Steele
4aa50b2944 Bug 456892 - "Removal TopLevelWindowIsModal" [r+sr=Neil] 2008-10-01 00:37:53 -05:00
Arpad Borsos
4d8090604c Bug 451909 - kill MOZ_XUL_APP now that all apps set it; 'xpfe' part; r=neil 2008-09-15 15:07:44 +02:00
Felipe Gomes
f65350ecbb Bug 520805: Full screen video plays back on wrong monitor (multiple monitor setup). r=jst, a=beltzner 2010-08-02 22:55:25 -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
Neil Rashbrook
3f9fee884b Bug 351235 Followup to fix indentation botch 2010-07-25 17:56:33 +01:00
Chris Jones
8474666a66 Bug 559534: Forward nsIXULWindow.chromeFlags to remote tabs. sr=bsmedberg 2010-07-19 13:33:33 -05:00
Ere Maijala
7b1baebe99 Patch for bug 112294: calling an alert box from window.onblur triggers the event multiple times
r=smaug
sr=roc
2008-08-01 10:32:32 -07:00
Steven Michaud
44d87211ad Make sure Destroy() is called before an nsIWidget is destroyed. b=434089 r=bzbarsky sr=vladimir 2008-07-18 10:54:12 -05:00
Josh Aas
06b4d2563f Re-landing. Decomtaminate native menu system. Add new native menu API. Lots of cleanup for the native menu system code. Memory usage and speed improvements. b=433952 r=bent r=kreeger sr=roc 2008-06-28 03:55:30 -04:00
Josh Aas
ca07faa2b5 back out 433952 2008-06-27 02:52:18 -04:00
Josh Aas
b1f906a68b remove change I didn't mean to make in bug 433952 2008-06-27 02:17:20 -04:00
Josh Aas
db2e70c148 Decomtaminate native menu system. Add new native menu API. Lots of cleanup for the native menu system code. Memory usage and speed improvements. b=433952 r=bent r=kreeger sr=roc 2008-06-27 00:14:45 -04:00
roc+@cs.cmu.edu
38e56fa13d Bug 406730. Track window activation status and set an 'active' attribute on the XUL root so we can style window contents based on activation status. Also provide active+inactive colors to Cocoa chrome drawing and use them based on 'main' state. Patch by Markus Strange, r=josh,sr=roc,a=mconnor 2008-05-02 04:32:50 -07:00