246 Commits

Author SHA1 Message Date
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
henry.jia%sun.com
c294edc1e5 4th patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@126449 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 05:56:22 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
ccarlen%netscape.com
86b83ddabc Bug 160212 - Embedding window creators need flag to distinguish unrequested popups from other windows. r=pink/sr=jst/a=rjesup
git-svn-id: svn://10.0.0.236/trunk@126234 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 14:51:24 +00:00
bzbarsky%mit.edu
a34757fbf8 Add a nullcheck for the parentDocshell, since the parent window might
get closed out from under us.  Bug 160590, r=sicking, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@126194 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 23:44:40 +00:00
henry.jia%sun.com
a880ad3702 First patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=blizzard, sr=alecf, a=asa(for trunk)


git-svn-id: svn://10.0.0.236/trunk@125597 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 02:27:19 +00:00
hwaara%chello.se
38157b25b7 #125887, fix some cases where whitespace would make window.open() and openDialog() to not work.
r=jkeiser, sr=bzbarsky, a=brendan


git-svn-id: svn://10.0.0.236/trunk@125553 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-21 18:12:38 +00:00
shanjian%netscape.com
17e9bee4ca #70507 New Windows opened via Javascript do not inherit their parent's character set
pass default charset from parent window to new window.
r=jag, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@124785 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 00:14:48 +00:00
rods%netscape.com
8a7c290ff7 Add nsIObserver to the ShowPageSetup method for platforms that impl an Apply btn
Bug 149317 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@122803 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 10:40:42 +00:00
caillon%returnzero.com
b4ae1be072 Bug 107949, Allow the user to prevent sites from disabling window features via window.open(). r=danm, sr=jag
git-svn-id: svn://10.0.0.236/trunk@122707 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 22:24:00 +00:00
rods%netscape.com
e97a493be3 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121197 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:02:44 +00:00
rods%netscape.com
86b99f77e1 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120540 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 12:38:43 +00:00
danm%netscape.com
0554eb1b26 changing the format of the comment describing registerNotification, as requested by depstein. bug 99618
git-svn-id: svn://10.0.0.236/trunk@118902 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 01:55:13 +00:00
danm%netscape.com
3d4b49a969 freezing interface for 1.0. bug 99618 r=chak,rpotts a=valeski
git-svn-id: svn://10.0.0.236/trunk@118644 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:21:46 +00:00
timeless%mac.com
bb6cd9506d Bug 128905 nsIPromptService.idl confirmEx is poorly prototyped
[api] change confirmEx from void w/ out of buttonPressed to PRInt32 buttonPressed w/ one less parameter.
fixes and cleans up callers
r=ccarlen sr=scc a=asa


git-svn-id: svn://10.0.0.236/trunk@118231 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 08:13:27 +00:00
dbaron%fas.harvard.edu
58badaae12 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117340 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:35:01 +00:00
mscott%netscape.com
a82f957980 Bug #132643 --> add a new web browser chrome flag for a popup type.
r=danm
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@117201 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 19:20:54 +00:00