Commit Graph

1688 Commits

Author SHA1 Message Date
Neil Rashbrook
c736ea5f68 Bug 509124 Chrome flags are never set on unparented XUL windows r=jst 2009-08-14 12:00:44 +01:00
Markus Stange
90370ecda5 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
7f0753fe45 Bug 508180 - Consolidate four nsXULWindow::Load*FromXUL methods. r=Neil 2009-08-06 08:52:08 +12:00
Markus Stange
0fba0e03b4 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
7c8222e40d Bug 508159 - Remove some dead code in nsXULWindow. r=Neil 2009-08-05 11:07:58 +12:00
Doug Turner
bebf1f7d95 Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad 2009-07-08 09:13:13 -07:00
Doug Turner
a423b771c1 Backing about 484488. 2009-07-05 22:24:56 -07:00
Doug Turner
012833ad3c Bug 484488/501801 - fixed mochitest fail. r=blassey, sr=vlad 2009-07-01 21:39:20 -07:00
Doug Turner
d210ca62c4 Bug 484488 - MakeFullWindow support for windows mobile. r=olli.pettay, sr=vlad 2009-07-01 12:01:11 -07:00
Neil Deakin
15df29db77 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
ce1a541b65 Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Jeremy D. Lea
b4d2a759af Bug 431634 - Part 2 - remove unused methods from nsIWidget; r+sr=roc 2009-04-08 11:39:58 -07:00
Jeremy D. Lea
0e51628bd3 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Zack Weinberg
a39e04a65c 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
477b71ed01 Bug 474369 - get rid of nsVoidArray; xpfe part; r+sr=neil 2009-03-08 10:38:59 +01:00
Zack Weinberg
aaf80465f8 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
abc0ce68c6 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
ae536b9dcc Bug 475913. Rev nsIXULWindow iid in CLOSED TREE 2009-02-03 15:45:26 -05:00
Nickolay_Ponomarev
e729d0aede 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
2e6bc5f5f9 Fix bustage from bug 472674
--HG--
extra : rebase_source : 0eb00dc3d10cff07826736e510eba98144448d84
2009-01-21 11:37:30 -08:00
Blake Kaplan
60c9e5280e Bug 472674 - Allow XPCNativeWrapper to unwrap SJOWs again. r+sr=jst 2009-01-16 18:05:14 -08:00
Jeremy Lea
ce80f69254 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
a6be963ade appshell whitespace cleanup, no bug 2009-01-06 16:25:49 -06:00
Josh Aas
bf282eac6f more window mediator whitespace cleanup, no bug 2009-01-05 12:58:59 -06:00
Josh Aas
c96081fc29 Clean up allocation for nsWindowMediator, nsAbout. b=471981 r=neil sr=roc 2009-01-04 23:22:36 -06:00
Robert O'Callahan
aabd398312 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
10bb72ee35 Clean up window mediator code. b=450576 sr=roc 2009-01-02 22:06:52 -06:00
Brad Lassey
8894c3e1ca 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
538c9fb42a 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
c72ef7d248 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
5492039225 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
85fd3fa761 Bug 456892 - "Removal TopLevelWindowIsModal" [r+sr=Neil] 2008-10-01 00:37:53 -05:00
Arpad Borsos
17cad329ae 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
aa23897901 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
f46c03d388 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
818d6e295a 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
0af725d897 Bug 351235 Followup to fix indentation botch 2010-07-25 17:56:33 +01:00
Chris Jones
92cc708484 Bug 559534: Forward nsIXULWindow.chromeFlags to remote tabs. sr=bsmedberg 2010-07-19 13:33:33 -05:00
Ere Maijala
a9906d2600 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
6e6d7cccf1 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
9749c3d829 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
aa0023d237 back out 433952 2008-06-27 02:52:18 -04:00
Josh Aas
15ee1f7c2a remove change I didn't mean to make in bug 433952 2008-06-27 02:17:20 -04:00
Josh Aas
0d352b4197 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
561174a1aa 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
5277b5d445 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
060a5a3d0c Bug 421209, r=cpearce, sr=jst, a=beltzner 2008-03-20 13:24:36 -07:00
joshmoz@gmail.com
52533a5203 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
6e53915669 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
305f28b0a9 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
89700c4589 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
64ef6913a8 Fix bug 342504. r=gavin/neil, sr=bsmedberg 2007-12-14 09:27:31 -08:00
enndeakin@sympatico.ca
8ccc15cac7 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
dc71994164 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
7931c60025 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
5f7d419364 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
0fa72586e5 Bug 396657. Fixing bustage 2007-09-19 19:13:52 -07:00
joshmoz@gmail.com
c557ef3a19 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
ffe2dbec39 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
167cbfff3a 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
08651ae549 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
a20d56bd8d 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
3b2512803a 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
c1b1b4d758 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
6d7584839a 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
59c3596049 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
8a87437d5f Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
534c14e326 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
0f3456a4e7 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
c2ecee935d Backing out patch for bug 372453 due to test failures. 2007-05-25 14:14:42 -07:00
gijskruitbosch@gmail.com
969deb84c4 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
7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
gijskruitbosch@gmail.com
aa6d647196 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
05e5d33a57 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
joshmoz%gmail.com
656b4284bb remove nsIXULCommand.h, it is unused as far as I can tell. b=374472 r/sr=bsmedberg 2007-03-19 16:13:37 +00:00
emaijala%kolumbus.fi
7d1609380e Fix for bug 261074: OnFocus fires twice when window restored
Patch by Oliver Yeoh
r=emaijala
sr=roc
2007-02-20 19:45:17 +00:00
Olli.Pettay%helsinki.fi
fcdbf7f447 Bug 366828, crash in venkman [@ nsContentTreeOwner::SetEnabled] p=asrail@gmail.com, r=timeless, sr=neil 2007-02-19 15:26:48 +00:00
Olli.Pettay%helsinki.fi
805e0ff0f8 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking 2007-02-15 23:04:33 +00:00
mats.palmgren%bredband.net
ed37e48bb9 Fix a crash related to the hidden window menu bar. Remove obsolete #ifdef XP_MAC. b=358607 r=josh 2006-11-16 03:25:55 +00:00
bzbarsky%mit.edu
3dff1c63ef Once we find a window, stop looking, dammit. Bug 360579, s+sr=jst 2006-11-14 22:30:33 +00:00
bzbarsky%mit.edu
d19ab79a97 Set the chromehidden attribute earlier, so we don't have to reresolve style and
redo layout on the whole window.  Bug 345560, r=sicking, sr=neil.
2006-07-25 00:20:33 +00:00
gavin%gavinsharp.com
482fd4661d Bug 335068: Firefox and Thunderbird windows grouped under "Mozilla" rather than in separate groups, patch by Tuukka Tolvanen <tuukka.tolvanen@gmail.com>, r+sr=roc 2006-07-19 12:56:40 +00:00
joshmoz%gmail.com
c5c97ea48a clean up #includes and Mac code in nsWebShellWindow. b=344568 r=mento sr=pinkerton 2006-07-13 19:24:43 +00:00
bzbarsky%mit.edu
8cd320ad22 Allow about: modules to just set a flag to force script execution to be allowed
for particular about: URIs, instead of hardcoding checks in the security
manager.  Bug 341313, r=darin, sr=jst
2006-06-22 02:19:49 +00:00
bzbarsky%mit.edu
9509962b32 Move the safe vs unsafe about: distinction out of the security manager and into
nsIAboutModule implementations.  Bug 337746, r=dveditz, sr=darin
2006-06-19 21:02:12 +00:00
timeless%mozdev.org
27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
cbiesinger%web.de
51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
roc+%cs.cmu.edu
079a097ecc Bug 29856. Support SetWindowClass in GTK2. r+sr=roc, patch-midden by Andrew Taylor, Arik Devens, Rob Ginda, Kenneth Herron, timeless, Alex Zbyslaw, and me. 2006-04-09 22:45:04 +00:00
darin%meer.net
20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
bzbarsky%mit.edu
046f910e72 Make _main and _content target the right things when tabs are involved. Bug 277971 and bug 273984, r=bsmedberg, sr=jst, branch181=jst 2006-03-24 19:38:17 +00:00
bzbarsky%mit.edu
ed97753ea2 Make nsIWidget::GetParent return a weak pointer. Bug 227489, r+sr=roc 2006-03-22 18:00:28 +00:00
dbaron%dbaron.org
d3e0e44a80 Fix leak of nsContentShellInfo objects. b=330649 r+sr=bzbarsky 2006-03-16 17:32:16 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
dveditz%cruzio.com
6821c334bb bug 321013 massage presentation of titles, r=dougt, sr=jst 2006-03-02 06:05:22 +00:00
neil%parkwaycc.co.uk
1eebf619d8 Bug 327238 Display sidebar link URLs in the status bar again r=jst sr=jag 2006-02-26 19:00:30 +00:00
bzbarsky%mit.edu
351382bdfc Fix spelling error. 2006-02-22 05:19:21 +00:00
bzbarsky%mit.edu
c82916e053 Changing comment, since I figured out why we're doing things in a wacky way.
No bug.
2006-02-22 05:09:01 +00:00