458 Commits

Author SHA1 Message Date
rods%netscape.com
c31cff0e8e Put in a lot of safety checks and changed where SetPrintSettingsFromDevMode was
called and set into the psWin, now we only Lock the global devmode once.
Bug 169689 r=dcone sr=alecf a=roc


git-svn-id: svn://10.0.0.236/trunk@132702 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 13:31:58 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
rods%netscape.com
8884621fab null checks added
Bug 173519 r=dcone sr=alecf a=rjesup


git-svn-id: svn://10.0.0.236/trunk@132074 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 09:17:37 +00:00
aaronl%netscape.com
388e891855 Bug 171079. Typeaheadfind::findnext overriding regular find next when it shouldn't. r=akkana, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@131431 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 18:00:01 +00:00
rods%netscape.com
4e382b6136 safety checks for null pointers
Bug 172783 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@131421 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:46:27 +00:00
timeless%mac.com
7fb125a318 Bug 172846 QueryInterface should not throw Components.results.NS_NOINTERFACE for Components.interfaces.nsISupports
r=caillon sr=bz


git-svn-id: svn://10.0.0.236/trunk@131276 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 23:14:25 +00:00
darin%netscape.com
b0d1215484 fixes bug 157135 "nsIFileURL need to be frozen" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@131256 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 02:20:35 +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
dougt%netscape.com
84eba1874e move contentEncodings and applyConversion to a new interface. r=neeti@netscape.com, sr=darin@netscape.com, b=157133
git-svn-id: svn://10.0.0.236/trunk@130602 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 19:23:21 +00:00
rods%netscape.com
6501910d0f Convert printer name WideCharToMultiByte
Bug 167128 r=roy sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@130521 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 11:38:03 +00:00
rods%netscape.com
6464ff796e This does two things:
1) When the it returns from the Print Dialog it checks to see if the
PD_PRINTTOFILE flags is set then then set the the info into the PrintSettings
2) IF we are printing to a file, but not a file driver, then check to see if
the file name is the special "FILE:" (as per the MS documentation)
Bug 170332 r=dcone sr=alecf


git-svn-id: svn://10.0.0.236/trunk@130422 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 14:12:14 +00:00
aaronl%netscape.com
7aa4d6dbcd Correct nsWebBrowserFind.cpp checkin to fix bustage using NS_NAMED_LITERAL_STRING
git-svn-id: svn://10.0.0.236/trunk@130397 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 00:56:34 +00:00
darin%netscape.com
dbd71ea612 fixing aaronl's bustage
git-svn-id: svn://10.0.0.236/trunk@130395 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 00:42:40 +00:00
aaronl%netscape.com
f01d5624ca Bug 167921 - allow web pages to use preventDefault so that typeaheadfind doesn't interfere with them. r=kyle, sr=brendan. Also fixes bug 165315 - typeaheadfind shouldn't hardcode kbd shortcuts, bug 77704 - add accelerator for find prev (also added menu item). Also fixes bug 167783 - ctrl+g for typeaheadfind after repeating characters. Also fixes bug 168408 - backspace after bad character typed should do the right thing, but don't add bad characters to buffer. Also fixes bug 71832 - add F3 for find next (also shift+F3). Bug 157669 - Alt+D to select location bar (IE keyboard compatibility), r=sgehani, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@130385 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 22:46:50 +00:00
rods%netscape.com
5b46e50a47 we were not setting the values we modified in the DevMode back into the printer driver
Bug 169739 r=dcone sr=alecf


git-svn-id: svn://10.0.0.236/trunk@130145 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 13:22:51 +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
darin%netscape.com
292afed664 fixes bug 166792 "move nsIIOService::GetURLSpecFromFile, etc. to
nsIFileProtocolHandler" r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@129541 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 19:32:45 +00:00
brade%netscape.com
67a3ae63c0 reduce size of HashEntry so that the assertion won't be triggered (bug 168301, r=sfraser, sr=brendan)
git-svn-id: svn://10.0.0.236/trunk@129428 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 22:09:45 +00:00
brade%netscape.com
ae67adfc0d fix api for JS usage (bug 157097, r=cmanske, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@129380 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 19:10:32 +00:00
brade%netscape.com
9a765843b0 fix api for JS usage; remove nsIStateUpdatingControllerCommands in favor of CommandParams (bug 157097, r=cmanske, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@129378 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 19:09:40 +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
locka%iol.ie
94a10a6e88 Ignore empty uri strings during persistence. b=166269 r=brade@netscape.com sr=kin@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@128871 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-05 12:56:22 +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
bzbarsky%mit.edu
9a51d5df96 Persist non-unique frame filenames correctly. Bug 166184, r=adamlock, sr=kin
git-svn-id: svn://10.0.0.236/trunk@128741 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:17:05 +00:00
brade%netscape.com
4d96d95c3d initialize mSerializingOutput in constructor (bug 164917)
git-svn-id: svn://10.0.0.236/trunk@128461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 13:49:12 +00:00
rods%netscape.com
bca61f5ded remove bit to hide "print to file"
Bug 155552 r=dcone sr=alecf


git-svn-id: svn://10.0.0.236/trunk@128333 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 11:51:15 +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
bryner%netscape.com
79c62ac5b7 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls.
git-svn-id: svn://10.0.0.236/trunk@127585 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 03:50:27 +00:00
caillon%returnzero.com
11636586e4 128801 - downloading dialog has "-1%" in titlebar
Patched by Aaron Kaluszka <ask@swva.net>
r=law sr=bryner


git-svn-id: svn://10.0.0.236/trunk@127454 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 05:23:47 +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
148ed167a2 5th 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@126456 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 06:20:45 +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
pete.zha%sun.com
23127b1a98 Fix the foolish comments in previou check in.
Change "we are them" to "we enable them"
Will not effect the build


git-svn-id: svn://10.0.0.236/trunk@125769 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 05:20:14 +00:00
pete.zha%sun.com
2a3bf650f0 unix: should remove the Reveal Location & Launch File buttons from download progress dialog
bug=90008 r=jkeiser sr=bzbarsky a=asa


git-svn-id: svn://10.0.0.236/trunk@125768 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 05:10:46 +00:00
locka%iol.ie
c35ec937f6 Fixup link tags as stylesheets or anchors according to the value in their "rel" attribute. b=148797 r=brade@netscape.com sr=kin@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125725 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 19:59:17 +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
mjudge%netscape.com
2210006d15 r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled.
git-svn-id: svn://10.0.0.236/trunk@125242 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:04:13 +00:00
rods%netscape.com
09fb40aa17 Forgot to initialize the arg to false, and th js code needs to finsih PP in the catch if an error is passed back.
Bug 157129 r=carlen sr=waterson a=asa


git-svn-id: svn://10.0.0.236/trunk@125207 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 11:44:42 +00:00
ccarlen%netscape.com
8fe2ca829c Fixing bustage on planetoid.
git-svn-id: svn://10.0.0.236/trunk@125139 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 01:07:57 +00:00
ccarlen%netscape.com
96a6b4aa46 Bug 154883 - Use session printing APIs on Mac OSX. r=pinkerton/sr=sfraser/a=asa
git-svn-id: svn://10.0.0.236/trunk@125133 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-13 00:18:46 +00:00
rods%netscape.com
44a86dac88 changed all the DEVMODE allocating and freeing to native Windows calls HeapAlloc and HeapFree
nsPrintSettingsWin.cpp was creating and copying only the non-platform specific data by using the
"sizeof" of the DEVMODE struct, instead of checking the struct size with dmSize
and the size of the private (device-specific) data with dmDriverExtra. Now it
creates the correct size of memory and copies all the non-private data and private data.
Bug 156318 r=dcone sr=kin,waterson,rpotts a=asa


git-svn-id: svn://10.0.0.236/trunk@125089 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 11:48:38 +00:00
locka%iol.ie
b98d9ca536 Fixup xml-stylesheet processing instructions. b=136718 r=heikki@netscape.com sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@124885 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 21:40:19 +00:00