darin%meer.net
853f4fc94e
freezing nsIPromptService, bug 99615, r=timeless sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@165404 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 20:36:26 +00:00
darin%meer.net
ed9e4d3d7a
eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
1eceb876b2
Try to keep window.arguments from being wiped out by scope-clearing by setting
...
the document in the window to null before setting window.arguments in
AttachArguments. Bug 25040, r=danm, sr=jst
git-svn-id: svn://10.0.0.236/trunk@163138 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-02 16:11:57 +00:00
peterv%propagandism.org
01e29b99dc
Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@162447 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 12:39:49 +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
jst%mozilla.jstenback.com
c5b5d65fd6
Fixing bug 235457. Making it possible to open a window from chrome as if it was opened from untrusted script. r=danm-moz@comcast.net, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@157535 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-07 21:50:25 +00:00
dveditz%cruzio.com
701ccb5c8d
bug 162020 option to delay enabling confirmation buttons r=mkaply,sr=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@157430 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-05 09:26:01 +00:00
bsmedberg%covad.net
f391570c80
Bug 244965 - untrusted web content can use the "chrome" flag to window.open() r=danm sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@157305 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 12:36:51 +00:00
mkaply%us.ibm.com
365db455e3
#239580
...
r=danm, sr=dveditz
Extend ConfirmEx to allow setting the default button - change default button for script security to no
git-svn-id: svn://10.0.0.236/trunk@156844 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-24 13:33:51 +00:00
bryner%brianryner.com
7247372aa3
deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
danm-moz%comcast.net
bdde9f0ee0
rewrite of new window sizing and placement. bug 239876. also addresses bugs 118717,176342,183633,240381. r=jag sr=blizzard (previous version of patch)
...
git-svn-id: svn://10.0.0.236/trunk@155591 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-27 17:34:13 +00:00
gerv%gerv.net
586f796c2a
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
jst%mozilla.jstenback.com
854468a176
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
jst%mozilla.jstenback.com
803e4eb910
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bryner%brianryner.com
eeddf02bde
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
timeless%mozdev.org
0525487b9c
Bug 191408 Change security policy check in nsWindowWatcher::OpenWindowJS so that xpcshell can use the prompt service
...
patch by danm r=timeless sr=jst
git-svn-id: svn://10.0.0.236/trunk@147024 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 14:32:06 +00:00
locka%iol.ie
d07bc3aee5
Set check value in ConfirmCheck even if cancel is pressed. b=218021 r=adamlock sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@146992 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-17 17:51:33 +00:00
bryner%brianryner.com
101a9e4e72
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146615 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:05:34 +00:00
jaggernaut%netscape.com
df747d0621
Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
jaggernaut%netscape.com
95a2235bee
Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
danm%netscape.com
321da8a95e
active window must be a top-level docshell. bug 170693. r=blizzard,bryner
...
git-svn-id: svn://10.0.0.236/trunk@144446 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 21:13:01 +00:00
bzbarsky%mit.edu
50802bdf22
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
jst%netscape.com
ecae24eff4
Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@144108 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 21:43:01 +00:00
brendan%mozilla.org
675a66ff54
Don't include private js header files; fix gcc warnings.
...
git-svn-id: svn://10.0.0.236/trunk@143958 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:18:51 +00:00
alecf%flett.org
71e5d724e5
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +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
danm%netscape.com
30cbe64cc1
don't name windows using reserved target names. bug 208862 r=jag,jst,mscott
...
git-svn-id: svn://10.0.0.236/trunk@143628 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 07:08:12 +00:00
seawood%netscape.com
06e1507b0c
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
...
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
dwitte%stanford.edu
dc7e857400
bug 100649: Length() being used where IsEmpty() is meant
...
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().
thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.
got the ok from Asa to land into a closed tree.
git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
bzbarsky%mit.edu
f037bb02c1
Make some strings in prompt service char arrays instead of pointers to move
...
them to readonly data. Bug 201355, patch by ataylor@its.to (Andrew Taylor),
r=adamlock, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@141052 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 03:17:15 +00:00
bryner%netscape.com
0c66a2052e
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
danm%netscape.com
4c983992d6
add url of window to be opened to nsIWindowCreator2::CreateChromeWindow2. bug 195992 r=adamlock,blizzard
...
git-svn-id: svn://10.0.0.236/trunk@140857 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:47:18 +00:00
dougt%netscape.com
fdffcd9198
removing removed NS_DEF_FACTORY and nsXPComFactory.h. r=alecf b=200750
...
git-svn-id: svn://10.0.0.236/trunk@140853 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:37:02 +00:00
bryner%netscape.com
d5e4e80ab8
Remove unused nsPrintingPrompt.cpp (bug 193525). r=rods, sr=alecf.
...
git-svn-id: svn://10.0.0.236/trunk@138314 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 04:04:17 +00:00
timeless%mozdev.org
c784518ba2
Bug 179798 cookie confirm dialog no longer works in embedding (doesn't call nsIPrompt service)
...
patch by mvl@exedo.nl r=dwitte sr=darin
git-svn-id: svn://10.0.0.236/trunk@136820 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 05:52:33 +00:00
dbaron%dbaron.org
f5b5bace95
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136002 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:55 +00:00
pkw%us.ibm.com
341a50559d
Bug 133754 - nsWindowWatcher.cpp uses AssignWithConversion. This causes
...
some translated builds to not work correctly when the "Reset Master
Password" button is clicked.
r=smontagu@netscape.com , sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135992 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:32:29 +00:00
seawood%netscape.com
f8f86e7f05
Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
...
Bug #186241 r=dougt
git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
danm%netscape.com
e781555233
prevent untrusted script from opening modal windows in general while still allowing alerts and the like. bug 180048 r=jst,mstoltz
...
git-svn-id: svn://10.0.0.236/trunk@134158 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 03:25:08 +00:00
danm%netscape.com
3950784443
hook up _parent target in window.open. it wasn't. bug 168807 code=keeda@hotpop.com r=jkeiser,jst,me
...
git-svn-id: svn://10.0.0.236/trunk@133669 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:05:17 +00:00
aaronl%netscape.com
dc9171c398
Bug 134066. Make nsIPromptService support accesskey, via & before accesskey character. Also fixes bug 133582 - don't put initial focus on 'Don't ask me again' checkboxes in confirm dialogs. r=sgehani, sr=hewitt.
...
git-svn-id: svn://10.0.0.236/trunk@130876 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 05:13:37 +00:00
danm%netscape.com
f832d33f47
reinstating earlier version; Txul regression in hand. long live bug 166442 r=jag,jst,et al. still applies
...
git-svn-id: svn://10.0.0.236/trunk@129624 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-14 19:44:29 +00:00
danm%netscape.com
0a1e6ed72f
bloody hell. backing out the rest of popup manager because of a suspected Txul regression. bug 167929
...
git-svn-id: svn://10.0.0.236/trunk@129293 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 02:42:44 +00:00
danm%netscape.com
030a5feee6
update popup window abuse check. bug 166442 r=jag,jst,timeles
...
git-svn-id: svn://10.0.0.236/trunk@129210 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:24:48 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
1ebc6538fb
Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
...
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
dougt%netscape.com
57028338f0
exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec
...
git-svn-id: svn://10.0.0.236/trunk@128192 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:05:21 +00:00
alecf%netscape.com
e3b2da9c83
bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
...
r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +00:00
antonio.xu%sun.com
6e54672f56
replace the hardcode of "@mozilla.org/embedcomp/dialogparam;1" with NS_DIALOGPARAMBLOCK_CONTRACTID
...
Bug 158608 r=Henry sr=alecf
git-svn-id: svn://10.0.0.236/trunk@127252 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:39:03 +00:00
seawood%netscape.com
0b3ff474f3
Removing old nmake build makefiles. Bug #158528 r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00