Commit Graph

196 Commits

Author SHA1 Message Date
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
joshmoz@gmail.com
7339ba0d50 fix wonkiness with modal windows resulting from showModalDialog on Mac OS X. b=395465 r=jst r=smichaud sr=vlad a=beltzner 2008-03-23 15:30:56 -07:00
Olli.Pettay@helsinki.fi
6d32891dbb Bug 421209, r=cpearce, sr=jst, a=beltzner 2008-03-20 13:24:36 -07:00
joshmoz@gmail.com
faedce29c4 fix performKeyEvent handling so we don't beep when commands are successful. b=376077 r=smichaud sr=roc 2008-01-28 22:11:06 -08:00
dwitte@stanford.edu
c978930cbe Bug 307437 - xpfe and suite should use the newer nsIPrefService APIs instead of nsIPref. r+sr=neil, suite-only change 2008-01-12 18:13:24 -08:00
reed@reedloden.com
958a8f5fae Bug 307310 - "crash [@ nsAbout::NewChannel]" [p=b.jacques@planet.nl (Bastiaan Jacques) r=timeless a1.9=schrep] 2008-01-06 19:10:09 -08:00
bzbarsky@mit.edu
964f9412f2 Put more recently focused tabs in a window at the beginning of the named item search order. Bug 407421, r+sr=jst, a=schrep 2007-12-14 09:32:41 -08:00
bzbarsky@mit.edu
8034feefad Fix bug 342504. r=gavin/neil, sr=bsmedberg 2007-12-14 09:27:31 -08:00
enndeakin@sympatico.ca
4e6ed3e728 Bug 395334, allow noautohide panels to have a parent so they that float and move with their parent, also fixes bug 395123, r=josh,roc,sr=roc 2007-11-28 12:18:11 -08:00
jst@mozilla.org
8ba4f49947 Fixing bug 392532. Infinite recursion crash when getting scroll chrome flags off of a window at the wrong point in time. r+sr=bzbarsky@mit.edu, a=vladimir@pobox.com 2007-11-11 21:48:24 -08:00
joshmoz@gmail.com
cc8ffe4fc1 remove nsIMenuListener interface and its usage, cuts some memory usage, faster without it, and code is much cleaner. b=400259 r=smorgan sr=roc a=pav 2007-11-09 09:38:33 -08:00
bzbarsky@mit.edu
e17b12fc0d Remove trunk instances of MOZILLA_1_8_BRANCH interfaces. Bug 347910, r+sr+a=jst 2007-10-05 16:37:25 -07:00
roc+@cs.cmu.edu
cc53761c54 Bug 396657. Fixing bustage 2007-09-19 19:13:52 -07:00
joshmoz@gmail.com
fd73f46022 remove all docshell and webshell usage from cocoa widgets. b=273812 r=cbarrett sr=bz a=roc 2007-09-17 08:06:59 -07:00
joshmoz@gmail.com
97105f597d Fix window staggering and positioning to make sure new windows are never partly positioned offscreen and don't seeminly arbitrarily get larger by the size of the title bar. b=218214 r=mano r=cbarrett sr=roc a=roc 2007-09-15 10:01:35 -07:00
jag@tty.nl
9198e9c4b8 Bug 394139: Replace a bunch of NS_DEFINE_CIDs with CONTRACTIDs. r=/sr=/a=bsmedberg 2007-09-05 06:04:54 -07:00
gijskruitbosch@gmail.com
e6c30127b0 Bug 372453 - XULRunner apps on mac without a hiddenwindow should be able to quit
r=benjamin@smedbergs.us
r=joshmoz@gmail.com
a=bzbarsky@mit.edu
2007-08-23 14:30:29 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
jst@mozilla.org
93dead394b Fixing bug 389634. Remove dependency on XUL windows from modal content dialog opening code (window.showModalDialog()). r=bzbarksy@mit.edu, sr=jonas@sicking.cc 2007-08-09 15:03:01 -07:00
jst@mozilla.org
895b24daf7 Fixing bug 194404. Adding support for window.showModalDialog() for compatibility with IE. r+sr=jonas@sicking.cc 2007-07-26 10:52:26 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
enndeakin@sympatico.ca
6c8197be5f Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz 2007-07-04 08:49:38 -07:00
enndeakin@sympatico.ca
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
emaijala@kolumbus.fi
e9d84525d4 Backing out patch of bug 261074 (OnFocus fires twice when window restored) due to unfixed regressions. 2007-06-17 03:59:19 -07:00
gijskruitbosch@gmail.com
0f26f84163 Backing out patch for bug 372453 due to test failures. 2007-05-25 14:14:42 -07:00
gijskruitbosch@gmail.com
dd12defa89 Bug 372453 - XULRunner apps should quit if the hidden window is not useful and no other windows are openr=benjamin@smedbergs.us (Benjamin Smedberg)r=joshmoz@gmail.com (Josh Aas) 2007-05-25 12:54:31 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
gijskruitbosch@gmail.com
1b30c15766 Bug 375861 - nsAppshellService shouldn't default to a hiddenWindow url that might not existfirst-r=benjamin@smedbergs.us (Benjamin Smedberg)second-r=neil@httl.net (Neil Rashbrook) 2007-04-20 14:23:35 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00