884 Commits

Author SHA1 Message Date
law%netscape.com
7570ceb65c Bug 68279; tightens up IsExecutable() check in nsLocalFileWin to properly detect most dangerous executables; adds code to the two places in the UI where such files used to be executed to disable us doing that; r=mstoltz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@95811 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 06:03:59 +00:00
locka%iol.ie
f233af291d Removed nsIDocShellTreeOwner impl in control's chrome object because it was causing clicked links to open in new window. Cleaned up web browser creation and initialisation. b=82116 r=ccarlen@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@95700 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 21:31:01 +00:00
dbaron%fas.harvard.edu
5b68d18399 Removed unused statically-constructed nsVoidArray since the static constructor crashes on startup for me. r=dougt sr=blizzard b=82146
git-svn-id: svn://10.0.0.236/trunk@95689 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 21:00:35 +00:00
chak%netscape.com
c1edebd6f9 Fix for #81884 - Add PSM2 components to embed packaging
r=adamlock@netscape.com, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@95653 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 03:32:16 +00:00
valeski%netscape.com
c0bc1e0c56 r=adamlock. missing break statement
git-svn-id: svn://10.0.0.236/trunk@95632 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:20:18 +00:00
danm%netscape.com
388621365f change window ownership model to match Mozilla's (self-referential). bug 76522 r=adamlock,hyatt
git-svn-id: svn://10.0.0.236/trunk@95626 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:49:18 +00:00
valeski%netscape.com
1c9bf6b53b adding nsWebBrowserContentPolicy.cpp to the mac build. 81263
git-svn-id: svn://10.0.0.236/trunk@95623 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:43:47 +00:00
valeski%netscape.com
4cd7a0dc5d r=ccarlen, sr=rpotts on the mozilla/docshell/* and mozilla/embedding/* mods (81263). embedding apps can now control whether or not images are loaded in a specific nsWebBrowser window. This is done via nsIWebBrowserSetup. shaver@mozilla.org provided a nsWebBrowserContentPolicy implementation which registers for, and responds to, nsIContentPolicy callbacks giving nsIContentPolicies an opportunity to cancel a load or the processing of an element. processing isn't hooked up yet, and some of the content policy types in the switch statement won't become relevant until further nsIContentPolicy hookup is done. Those cases are handled inside the docshell/webshell until the content policy hook-up is made.
git-svn-id: svn://10.0.0.236/trunk@95622 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:42:46 +00:00
locka%iol.ie
abed4023e4 Enabled window clipping to prevent flicker while painting child windows. b=81986 r=chak@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@95621 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:40:31 +00:00
ccarlen%netscape.com
ae35e88c15 Bug 73951 - Enable global history by default for embedding apps. r=valeski/sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@95547 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 18:31:20 +00:00
blizzard%redhat.com
f91c882955 Fix allocator mismatch in bug #70207. r=pavlov,arik sr=scc
git-svn-id: svn://10.0.0.236/trunk@95540 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 14:29:25 +00:00
blizzard%redhat.com
f52f4e880a Fix bug #70220. Harden *Stream functions so that you can't call them unless the widget has been realized. r=pavlov, rs=brendan
git-svn-id: svn://10.0.0.236/trunk@95539 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 14:23:38 +00:00
jst%netscape.com
535c86019d scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
mstoltz%netscape.com
c0d9b31b40 Re-checking-in workaround fix for 79775 - don't call GetSubjectPrincipal for chrome URLs, as this sometimes causes a failure and is not necessary for chrome URLs anyway. Fixed a crasher by moving the initialization of LoadInfo out of the if block. r=vidur, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95494 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 01:40:52 +00:00
blizzard%redhat.com
e0848658f0 Fix bug #81512. Misnamed function. rs=tor, r=bryner
git-svn-id: svn://10.0.0.236/trunk@95431 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 22:17:02 +00:00
blizzard%redhat.com
d0cd7cabc1 Fix bug #73730. Compile problems with the MIPSpro compiler on IRIX. Just needed some casts. r=me, rs=tor
git-svn-id: svn://10.0.0.236/trunk@95429 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 22:13:05 +00:00
blizzard%redhat.com
6b7a2c1c09 Fix bug #59923. Add functionality to get enums for other language embedders. r=crichton, sr=tor
git-svn-id: svn://10.0.0.236/trunk@95414 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 21:14:48 +00:00
blizzard%redhat.com
b684f8fcbc Back out mstoltz because of blocker bug #81629. Original bugs were 47905 79775.
git-svn-id: svn://10.0.0.236/trunk@95401 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 17:41:23 +00:00
mstoltz%netscape.com
55577f536b Bug 47905 - adding security check for XMLHttpRequest.open.
Added nsIScriptSecurityManager::CheckConnect for this purpose.
Also cleaned up the security check API by removing some unnecessary
parameters. r=vidur@netscape.com, sr=jst@netscape.com

Bug 79775 - Forward button broken in main mail window. Making
WindowWatcher not call GetSubjectPrincipal if the URL to be loaded is
chrome, since the calling principal is superfluous in this case.
No one has been able to find the root cause of this problem, but
this checkin works around it, which is the best we can do for now.
r=ducarroz@netscape.com, sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@95378 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 06:56:29 +00:00
ccarlen%netscape.com
dc9b6019fd Bug 76001 - Correct some incorrect comments. r=danm, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@95306 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 21:13:35 +00:00
cls%seawood.org
55fb803687 Reordering libs as needed for static build
git-svn-id: svn://10.0.0.236/trunk@95160 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 23:56:15 +00:00
dougt%netscape.com
5659d45a5a Fix for 66951. r=ftang@Netscape.com, sr=dougt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@95016 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 19:01:57 +00:00
locka%iol.ie
2c71976f41 Fix activates/deactivates browser window when test app winEmbeds frame becomes active/inactive r=disttsc@bart.nl b=78610
git-svn-id: svn://10.0.0.236/trunk@94997 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 14:33:43 +00:00
hewitt%netscape.com
96e2d4d67c 80748 - mac classic doa, r=blake/andreww
git-svn-id: svn://10.0.0.236/trunk@94904 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 22:41:42 +00:00
cls%seawood.org
200370d738 Add MOZILLA_DIR/config to perl include path.
git-svn-id: svn://10.0.0.236/trunk@94883 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 12:07:17 +00:00
cls%seawood.org
82f62933e9 Add MOZILLA_DIR/config to perl include path. Should fix coffee tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@94882 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 12:05:48 +00:00
kandrot%netscape.com
f1086f9f1d Check in for Ron Guilmette's static build. r=nhotta, sr=waterson bug #46775
git-svn-id: svn://10.0.0.236/trunk@94858 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 06:30:56 +00:00
rpotts%netscape.com
9c40a95650 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes...
git-svn-id: svn://10.0.0.236/trunk@94842 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 02:16:27 +00:00
cls%seawood.org
dba8d90666 Replace chrome:: target with install::. Using chrome:: was causing |make -j3 install| builds to fail to execute the chrome:: target due to a suspected bug in gnu make. (|make MAKE='make -j3' install| works fine.)
git-svn-id: svn://10.0.0.236/trunk@94761 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 07:08:27 +00:00
hewitt%netscape.com
f908e45d29 63246 - global stylesheet scoping, r=jag/blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@94741 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 04:51:28 +00:00
darin%netscape.com
81e317535f Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@94682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:05:08 +00:00
mkaply%us.ibm.com
9a1694b71f senna REQUIRES bustage - a lot of these components in this REQUIRES can probably be removed
git-svn-id: svn://10.0.0.236/trunk@94670 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 18:10:07 +00:00
valeski%netscape.com
1d8a30414a r=saari, sr=blizzard 64349. adding GetFocusedElement to nsWebBrowser.cpp. patch submitted by DebugWeyers@yahoo.com.
git-svn-id: svn://10.0.0.236/trunk@94656 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 14:19:39 +00:00
waterson%netscape.com
751b12a440 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@94579 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 04:08:24 +00:00
mcafee%netscape.com
a790dd053f fixing build bustage, build dir needs to be at end of DIRS list to link. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@94571 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 03:12:51 +00:00
pinkerton%netscape.com
53e87f2d38 build foo to fix bustage
git-svn-id: svn://10.0.0.236/trunk@94570 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 03:07:54 +00:00
pinkerton%netscape.com
d4a23a91fd separating jsconsole into its own component. r=damn/sr=hyatt bug# 73127
git-svn-id: svn://10.0.0.236/trunk@94557 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 01:52:11 +00:00
pinkerton%netscape.com
ca6bc5c9f0 separating jsconsole into its own component. r=damn/sr=hyatt bug#73127.
git-svn-id: svn://10.0.0.236/trunk@94451 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 03:12:59 +00:00
chak%netscape.com
eed019a5bc Fix #79731 - mfcembed causes IPF in module WEBBRWSR.DLL
(This is the unix part of the fix)
r=blizzard, a=jj


git-svn-id: svn://10.0.0.236/trunk@94438 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 02:39:20 +00:00
chak%netscape.com
02f9230ece Fix blocker #79731 - mfcembed causes IPF in module WEBBRWSR.DLL
r=valeski,a=jj


git-svn-id: svn://10.0.0.236/trunk@94405 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 21:05:02 +00:00
locka%iol.ie
7b9c48de8a Restored some dependency rules to fix build bustage when building from a fresh pull. b=79788, a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@94403 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 20:23:09 +00:00
locka%iol.ie
1d4ab688d1 Removing obselete file. b=68581
git-svn-id: svn://10.0.0.236/trunk@94381 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 14:16:12 +00:00
locka%iol.ie
07e87bba2a Updated control to implement an nsIPrompt service. b=75745, r=ccarlen@netscape.com, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@94365 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 11:23:18 +00:00
dbaron%fas.harvard.edu
02cbc2ffaf Fix bustage by including stdlib.h.
git-svn-id: svn://10.0.0.236/trunk@94257 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 19:48:51 +00:00
dbaron%fas.harvard.edu
7a25b2cec6 Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage by adding new header file dependencies from XPCDOM landing to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@94250 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 19:19:03 +00:00
jst%netscape.com
43eee52859 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
dcone%netscape.com
559222b4a1 Minor fix. r=sfraser. Does not effect build
git-svn-id: svn://10.0.0.236/trunk@94229 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 13:35:48 +00:00
locka%iol.ie
021fd65efa Fix for painting problems in embedding apps when window is moved offscreen and back on. b=78412 r=ccarlen@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@94123 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-07 13:49:59 +00:00
ccarlen%netscape.com
f720e88745 Bug 78745 - nsIPromptService::ConfirmEx needs to be more flexible. r=valeski, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@94087 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-06 15:03:55 +00:00
blizzard%redhat.com
37acdac8a8 Bug #79041. Add the ability to get the title for a page in unicode from the embedding widget. Patch from Philip Langdale <philipl@mail.utexas.edu>. r=blizzard,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@94079 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-06 03:14:51 +00:00