1576 Commits

Author SHA1 Message Date
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
Olli.Pettay%helsinki.fi
b6cdf7cb60 Bug 234455, Centralize event dispatch r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +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
neil%parkwaycc.co.uk
f1d7ee1f48 Bug 327238 Display sidebar link URLs in the status bar again r=jst sr=jag
git-svn-id: svn://10.0.0.236/trunk@191278 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-26 19:00:30 +00:00
bzbarsky%mit.edu
ebac8d9163 Fix spelling error.
git-svn-id: svn://10.0.0.236/trunk@190809 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 05:19:21 +00:00
bzbarsky%mit.edu
0303eb1ecc Changing comment, since I figured out why we're doing things in a wacky way.
No bug.


git-svn-id: svn://10.0.0.236/trunk@190807 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 05:09:01 +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
joshmoz%gmail.com
50486b1f72 don't compile LoadNativeMenus if we don't need to in nsWebShellWindow, cleanup. b=327425 r=mento sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@190722 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 19:07:14 +00:00
bzbarsky%mit.edu
c87e7e48b2 Make nsIWindowProvider report whether it created a new window. Bug 326006,
r=bsmedberg, sr=jst


git-svn-id: svn://10.0.0.236/trunk@189575 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 20:50:43 +00:00
bzbarsky%mit.edu
e446371b8e Move the "force into tab" code out of Gecko and allow embeddors to do the same
sort of thing.  Bug 323810, r=bsmedberg, sr=jst


git-svn-id: svn://10.0.0.236/trunk@189344 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 20:46:39 +00:00
darin%meer.net
f1df277163 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@188886 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 21:50:25 +00:00
darin%meer.net
4c402841b4 Patch for bug 324642 "Add an API to expose the DOM node that the mouse is over when informing the WebBrowserChrome object to update the status bar." r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@188880 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 21:28:11 +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
bzbarsky%mit.edu
1510aacc39 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
cbiesinger%web.de
25ded6512e Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186591 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 16:45:59 +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
timeless%mozdev.org
dae7b0629a Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00