176 Commits

Author SHA1 Message Date
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
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
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
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
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
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
dveditz%cruzio.com
7bcfdfe02b bug 321013 massage presentation of titles, r=dougt, sr=jst
git-svn-id: svn://10.0.0.236/trunk@191557 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 06:07:29 +00:00
bzbarsky%mit.edu
e03f806aad Make it possible to target non-primary content <browser>s; specifically ones
that are type="content-targetable".  Bug 326009, r=bsmedberg, sr=jst


git-svn-id: svn://10.0.0.236/trunk@190799 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 03:58:48 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
bzbarsky%mit.edu
93fe3f6cf6 Make docshell visibility checking check with the tree owner so that embedding
gets a chance to claim docshells as invisible (eg in Camino's tab
implementation).  Bug 306245, patch by jst, r=sfraser, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@182521 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 02:59:30 +00:00
bsmedberg%covad.net
046f7465ba Bug 310076 (scary version) - Use the considerquitstopper to control when to run the event loop, not window enumerators r=darin
git-svn-id: svn://10.0.0.236/trunk@181582 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 14:41:18 +00:00
bsmedberg%covad.net
a3f27d3857 Bug 298072 - XUL window with "hidechrome" draws incorrectly until it is resized - patch by Anand Aiyer <aaiyer@asvcyber.com> - r+sr=roc, a=me
git-svn-id: svn://10.0.0.236/trunk@177326 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-08 14:07:55 +00:00
joshmoz%gmail.com
dbd2b4bc1e just fix a comment, no code change (mac has a menu bar height of 22, it is not different)
git-svn-id: svn://10.0.0.236/trunk@175047 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 09:29:04 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
jst%mozilla.jstenback.com
07f72886c9 Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@170153 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 02:01:54 +00:00
dbaron%dbaron.org
2836199f0b Use weak references in nsContentShellInfo. r+sr=bzbarsky b=282938
git-svn-id: svn://10.0.0.236/trunk@169634 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 05:29:44 +00:00
neil%parkwaycc.co.uk
4787d2c2fe Bug 282938 Stop the xul window from holding on to deleted tabs r=danm sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@169583 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 00:17:35 +00:00
bryner%brianryner.com
f1c9d92868 Clean up xpfe/appshell, removing nsIWebShellWindow in the process. Bug 282200, r=danm, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169504 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 22:42:01 +00:00
neil%parkwaycc.co.uk
cfb07236d2 Don't let background tabs set the status b=104532 r=danm sr=jst
git-svn-id: svn://10.0.0.236/trunk@168702 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 09:39:30 +00:00
jst%mozilla.jstenback.com
b8d65b3f82 Replace empty nsAutoString with EmptyString(). No bug.
git-svn-id: svn://10.0.0.236/trunk@168670 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 22:07:48 +00:00
louie.zhao%sun.com
dc94cd2c53 bug257739 [ATK] Can't read the title name of windows/dialogs
p  = Philip K. Warren (IBM)
r  = aaronleventhal
sr = jst


git-svn-id: svn://10.0.0.236/trunk@168617 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 08:50:50 +00:00
bsmedberg%covad.net
c353037e44 Think-o from bug 237745, this should fix the TXul test, r=timeless sr=stupidity
git-svn-id: svn://10.0.0.236/trunk@164659 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-30 05:48:37 +00:00
bsmedberg%covad.net
13d4d56d80 Bug 237745 (app-startup) - split off the pieces of appshellservice that have to do with the startup sequence into a new (forked, temporarily) app-startup service r+sr=darin+biesi+Neil
git-svn-id: svn://10.0.0.236/trunk@164618 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 19:28:38 +00:00
neil%parkwaycc.co.uk
084b975545 Set the XUL document's title once the DOM is ready and not after a chrome window finishes loading, so that we get titles on XUL documents in content and we can also use document.title or window.title to set the title in a load handler b=126903 but also fixes 216651, 259067 and the like r=danm sr=jst
git-svn-id: svn://10.0.0.236/trunk@162508 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 20:03:18 +00:00
darin%meer.net
5e477000bd landing v1.1 patch for 257162 "core changes required to enable XULRunner functionality" r=biesi,sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@161862 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 18:59:27 +00:00
neil%parkwaycc.co.uk
e18d090e93 Bug 242046 Make the JS status handler a property of the XUL window, should speed up calls to set window.status r=jag sr=jst moa=mscott
git-svn-id: svn://10.0.0.236/trunk@161101 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 14:47:51 +00:00
cbiesinger%web.de
210dbe464a Bug 250202 remove nsWebShellWindow::NotifyObservers and nsXULWindow::NotifyObservers
r=danm sr=jag


git-svn-id: svn://10.0.0.236/trunk@159269 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 19:00:11 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
gerv%gerv.net
8419e1650f Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
danm-moz%comcast.net
26a3abb1c3 unsizable windows are no longer created maximized. bug 230608 r=bryner,jst
git-svn-id: svn://10.0.0.236/trunk@153070 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-21 18:02:03 +00:00
danm-moz%comcast.net
43920f3e19 tweak rev 1.137 to reduce the population of warnings from 2131 back to 2129
git-svn-id: svn://10.0.0.236/trunk@149066 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-09 16:33:14 +00:00
danm-moz%comcast.net
6ee880a259 don't focus the parent of the window being closed if that parent is the hidden window. this reinstates rev 1.52, bug 22658. now bug 224058. r=ere, roc
git-svn-id: svn://10.0.0.236/trunk@148940 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-07 02:13:32 +00:00
danm-moz%comcast.net
b4b7ec96c2 move implementation of zLevel to nsWindowMediator. make zLevel mutable. support persistent zlevel xul attribute. rework saving of persistent attributes. bug 42557 r=neil (mostly), rjc. rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@147655 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 01:20:16 +00:00
danm-moz%comcast.net
c2b9b6373e when bringing a window to the front, also bring to the front windows which must remain in front of it. but even more so, if you follow me. bug 217012, bug 184890. r=jag,neil
git-svn-id: svn://10.0.0.236/trunk@147246 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 14:31:03 +00:00
brendan%mozilla.org
b2bd6c1c42 Checking in danm's patch for bug 210689, r/sr=bz/dbaron, a=me.
git-svn-id: svn://10.0.0.236/trunk@146632 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 19:06:11 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
varga%netscape.com
e28e60937d Missed part of the fix for bug 113232. support transparent non-rectangular chrome windows.
r=roc, sr=bz


git-svn-id: svn://10.0.0.236/trunk@140901 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 05:14:24 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
jst%netscape.com
08e9d026e0 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
darin%netscape.com
418b92e9d5 backing out roc+%cs.cmu.edu check-in for bug 113232
git-svn-id: svn://10.0.0.236/trunk@140172 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 00:07:00 +00:00
roc+%cs.cmu.edu
6f0e8cad25 Bug 113232. Make 'background:transparent' work on top-level XUL windows. r=pavlov,kmcclusk,bzbarsky,sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140132 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:57:22 +00:00
danm%netscape.com
2e703a2416 implement new property nsIBaseWindow::blurSuppression. bug 68454 r=bryner,jst
git-svn-id: svn://10.0.0.236/trunk@138363 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 20:15:39 +00:00
ere%atp.fi
b04ae0b36b Bug 189085: Windows focus handling semi-rewrite
r=danm, sr=jag


git-svn-id: svn://10.0.0.236/trunk@138223 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:50:38 +00:00