1592 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
f1b88a235a 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
git-svn-id: svn://10.0.0.236/trunk@251097 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 11:32:52 +00:00
joshmoz%gmail.com
a6bd78a6c6 fix wonkiness with modal windows resulting from showModalDialog on Mac OS X. b=395465 r=jst r=smichaud sr=vlad a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248459 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-23 22:30:57 +00:00
Olli.Pettay%helsinki.fi
e9b8a89f91 Bug 421209, r=cpearce, sr=jst, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248307 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 20:24:39 +00:00
joshmoz%gmail.com
dcce942c05 fix performKeyEvent handling so we don't beep when commands are successful. b=376077 r=smichaud sr=roc
git-svn-id: svn://10.0.0.236/trunk@244305 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 06:11:06 +00:00
dwitte%stanford.edu
8458b74ecd Bug 307437 - xpfe and suite should use the newer nsIPrefService APIs instead of nsIPref. r+sr=neil, suite-only change
git-svn-id: svn://10.0.0.236/trunk@242980 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-13 02:13:25 +00:00
reed%reedloden.com
93eca2c266 Bug 307310 - "crash [@ nsAbout::NewChannel]" [p=b.jacques@planet.nl (Bastiaan Jacques) r=timeless a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@242545 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-07 03:10:09 +00:00
bzbarsky%mit.edu
ecac52a48c Put more recently focused tabs in a window at the beginning of the named item
search order.  Bug 407421, r+sr=jst, a=schrep


git-svn-id: svn://10.0.0.236/trunk@241260 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-14 17:32:41 +00:00
bzbarsky%mit.edu
40997a10b6 Fix bug 342504. r=gavin/neil, sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@241258 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-14 17:27:32 +00:00
enndeakin%sympatico.ca
98115b27c0 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
git-svn-id: svn://10.0.0.236/trunk@240052 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-28 20:18:15 +00:00
jst%mozilla.org
fac3c1b64a 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
git-svn-id: svn://10.0.0.236/trunk@239184 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 05:48:25 +00:00
joshmoz%gmail.com
41b4dabe30 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
git-svn-id: svn://10.0.0.236/trunk@239070 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 17:38:34 +00:00
bzbarsky%mit.edu
78c25ccf26 Remove trunk instances of MOZILLA_1_8_BRANCH interfaces. Bug 347910, r+sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@237338 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-05 23:37:27 +00:00
roc+%cs.cmu.edu
581d7f7752 Bug 396657. Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@236343 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 02:13:52 +00:00
joshmoz%gmail.com
188f4d813a remove all docshell and webshell usage from cocoa widgets. b=273812 r=cbarrett sr=bz a=roc
git-svn-id: svn://10.0.0.236/trunk@236097 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 15:07:00 +00:00
joshmoz%gmail.com
b3669eefe2 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
git-svn-id: svn://10.0.0.236/trunk@236037 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-15 17:01:36 +00:00
jag%tty.nl
bcbca15783 Bug 394139: Replace a bunch of NS_DEFINE_CIDs with CONTRACTIDs. r=/sr=/a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@233931 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 13:05:02 +00:00
gijskruitbosch%gmail.com
319da2c47e 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


git-svn-id: svn://10.0.0.236/trunk@232966 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 21:30:30 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
jst%mozilla.org
450dd656cb Fixing bug 389634. Remove dependency on XUL windows from modal content dialog opening code (window.showModalDialog()). r=bzbarksy@mit.edu, sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@231748 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:03:02 +00:00
jst%mozilla.org
43a9473fed Fixing bug 194404. Adding support for window.showModalDialog() for compatibility with IE. r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@231061 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 17:52:53 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
enndeakin%sympatico.ca
66f6fed78b 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
git-svn-id: svn://10.0.0.236/trunk@229322 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 15:49:46 +00:00
enndeakin%sympatico.ca
31eeecce7d Bug 279703, backing out the popup changes due to performance regressions. sigh.
git-svn-id: svn://10.0.0.236/trunk@229020 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 22:16:06 +00:00
enndeakin%sympatico.ca
bc283952f4 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz
git-svn-id: svn://10.0.0.236/trunk@229013 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 19:04:52 +00:00
emaijala%kolumbus.fi
3aa40ee7f1 Backing out patch of bug 261074 (OnFocus fires twice when window restored) due to unfixed regressions.
git-svn-id: svn://10.0.0.236/trunk@228190 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-17 10:59:20 +00:00
gijskruitbosch%gmail.com
9b760b56f5 Backing out patch for bug 372453 due to test failures.
git-svn-id: svn://10.0.0.236/trunk@227033 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 21:14:42 +00:00
gijskruitbosch%gmail.com
a17f6ff865 Bug 372453 - XULRunner apps should quit if the hidden window is not useful and no other windows are open
r=benjamin@smedbergs.us (Benjamin Smedberg)
r=joshmoz@gmail.com (Josh Aas)


git-svn-id: svn://10.0.0.236/trunk@227026 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 19:54:32 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
gijskruitbosch%gmail.com
49415b2fb8 Bug 375861 - nsAppshellService shouldn't default to a hiddenWindow url that might not exist
first-r=benjamin@smedbergs.us (Benjamin Smedberg)
second-r=neil@httl.net (Neil Rashbrook)


git-svn-id: svn://10.0.0.236/trunk@224807 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 21:23:35 +00:00
joshmoz%gmail.com
e12afe8598 remove nsIXULCommand.h, it is unused as far as I can tell. b=374472 r/sr=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222036 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 16:13:37 +00:00
emaijala%kolumbus.fi
2f14a7397e Fix for bug 261074: OnFocus fires twice when window restored
Patch by Oliver Yeoh
r=emaijala
sr=roc


git-svn-id: svn://10.0.0.236/trunk@220593 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 19:45:17 +00:00
Olli.Pettay%helsinki.fi
647e878a24 Bug 366828, crash in venkman [@ nsContentTreeOwner::SetEnabled] p=asrail@gmail.com, r=timeless, sr=neil
git-svn-id: svn://10.0.0.236/trunk@220546 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-19 15:26:48 +00:00
Olli.Pettay%helsinki.fi
49e16cb1d6 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@220346 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 23:04:33 +00:00
mats.palmgren%bredband.net
0dd16a9117 Fix a crash related to the hidden window menu bar. Remove obsolete #ifdef XP_MAC. b=358607 r=josh
git-svn-id: svn://10.0.0.236/trunk@215344 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 03:25:55 +00:00
bzbarsky%mit.edu
a308018d0e Once we find a window, stop looking, dammit. Bug 360579, s+sr=jst
git-svn-id: svn://10.0.0.236/trunk@215288 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 22:30:33 +00:00
bzbarsky%mit.edu
a4ca637316 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.


git-svn-id: svn://10.0.0.236/trunk@203589 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 00:20:33 +00:00
gavin%gavinsharp.com
f8b438e37d 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
git-svn-id: svn://10.0.0.236/trunk@203097 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 12:56:40 +00:00
joshmoz%gmail.com
157c7c5b06 clean up #includes and Mac code in nsWebShellWindow. b=344568 r=mento sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@202061 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 19:24:43 +00:00
bzbarsky%mit.edu
cc155c0109 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


git-svn-id: svn://10.0.0.236/trunk@200562 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 02:19:49 +00:00
bzbarsky%mit.edu
dcd8a3a053 Move the safe vs unsafe about: distinction out of the security manager and into
nsIAboutModule implementations.  Bug 337746, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@200348 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 21:02:12 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cbiesinger%web.de
8d9f96359d bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@196108 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:53:51 +00:00
roc+%cs.cmu.edu
6bd4baedd8 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.
git-svn-id: svn://10.0.0.236/trunk@193971 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-09 22:45:04 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
bzbarsky%mit.edu
39c9fd36c5 Make _main and _content target the right things when tabs are involved. Bug 277971 and bug 273984, r=bsmedberg, sr=jst, branch181=jst
git-svn-id: svn://10.0.0.236/trunk@192933 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 19:38:50 +00:00
bzbarsky%mit.edu
8d81bda849 Make nsIWidget::GetParent return a weak pointer. Bug 227489, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192789 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:00:28 +00:00
dbaron%dbaron.org
e337cacc58 Fix leak of nsContentShellInfo objects. b=330649 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@192485 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 17:32:16 +00:00