Commit Graph

1209 Commits

Author SHA1 Message Date
sfraser%netscape.com
b36a20b18d Fix bug 137535 for chimera: call the BP_GetSupportedMIMETypes entrypoint on the plugin. This allows QuickTime to register for extra MIME types. Also port an assertion fix from the 1.0 branch.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@134650 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:12:41 +00:00
sfraser%netscape.com
d3d36b632e Fix bug 167178: prevent crashes due to mismatched binary formats (CFM vs. Macho) by adding new flags for MachO scriptables. patch by peterl, r=beard, sr=sfraser.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@134121 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 20:43:30 +00:00
sfraser%netscape.com
11697efdf9 Add a DeploymentSymbols Build Style.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@134115 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 19:01:37 +00:00
sfraser%netscape.com
72ade811fa Add the Mac OS X default plugin to the build.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@134070 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 03:29:24 +00:00
sfraser%netscape.com
44bab98f2f Build changes for default plugin
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@134069 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 03:26:28 +00:00
sfraser%netscape.com
607630b71f Changes to build the default plugin as Mach-O, using a Project Builder project. The Mach-O plugin has to wrap outgoing function pointers with TVector glue, and fix up incoming TVP so they are callable from Mach-O.
The plugin was also changed to use CFPreferences to store the list of MIME types that it has seen, rather than writing a STR# in a place that might be write-protected for the user. r=sdagley/beard.


git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@133723 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 02:47:54 +00:00
sfraser%netscape.com
e5494d49df Add support for GetContents and InsertText commands, using nsICommandManger and parameter-based commmands. Chimera uses these commands for services support. Bug 152023.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@133721 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 02:07:31 +00:00
sfraser%netscape.com
4ab57a41f3 Add resources for the Macho default plugin
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@132555 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-26 01:59:55 +00:00
sfraser%netscape.com
537d7a85a7 Add a PB project to build a Macho default plugin.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@132554 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-26 01:59:35 +00:00
sfraser%netscape.com
47af6a8370 Fix bug 176649 (Chimera plugin issues).
Plugins drawing over chrome (bug 172688)
Plugins showing through tabs (bug 158018, bug 156583)
Plugins not drawing initially on page load (bug 147728, bug 161378)

Bugs _not_ fixed:
Visual corruption when scrolling with QT movie (bug 160435)
Crashes when loading plugins which are offscreen (bug 161378), tho it seems much
less easy to reproduce now.

Quick summary of changes:

Added nsIPluginWidget to allow plugin code to get the widget clip rectangle and
origin. Fixes drawing over chrome for plugins in iframes.

Always use [mView qdPort], not the WindowRef port, for gecko rendering (making
nsIRenderingContexts). Only use the WindowRef port for plugin drawing. Fixes
drawing over chrome.

Always call SetPortVisibleRegion() before plugin drawing, because we don't know
what part of the BeginUpdate/EndUpdate cycle we're in.

Keep track of whether views are in the frontmost tab (i.e. have a window), and
hide/show views immediately on tab switching, rather than on the next timer
fire. Fixes plugins stomping through tabs (mostly).

Add smarts to FixUpPluginWindow() in nsObjectFrame so that it knows when it's Ok
to display the plugin (after a ::Paint()). Fixes plugins drawing in the wrong
place/not drawing on initial page load.


git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@132538 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 20:15:29 +00:00
bnesse%netscape.com
04941d315b Fix for bug 154361. Set plugin cliprect correctly for cocoa. r=beard.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@130531 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 21:18:40 +00:00
bnesse%netscape.com
5a70261fd5 Fix for bug 157157. Always use nsInputStreamTee objects for streaming plugin data. r=beard
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@130155 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 17:04:25 +00:00
bnesse%netscape.com
461ffea341 Arg. Backing out file that should not have landed.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@128708 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 17:01:24 +00:00
bnesse%netscape.com
9cc3b7c367 Fix for bug 165507. Clean up code and fix leaking callback allocations. sr=beard.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@128707 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 16:56:22 +00:00
sfraser%netscape.com
a8a4ceb33f Fix bug 165227 by removing a 'delete' that was wrongly transferred from the trunk. r=bryner
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@128441 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 07:05:23 +00:00
bnesse%netscape.com
a3b4e056ab Fix for bug 164925. Not loading plugins from the application directory. r=ccarlen.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@128386 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 21:30:30 +00:00
brade%netscape.com
84b4e0d82d #ifdef around printfs, carryover memory leak fix from trunk (bug 164276)
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@128254 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 14:06:09 +00:00
bryner%netscape.com
3bf85bb709 Sync Chimera changes with CHIMERA_M1_0_1_BRANCH (bug 161668). In addition to landing all the Chimera-specific changes here, I'm creating a new chimera.js file with our Chimera-specific prefs (and moving them out of all.js). r=brade.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_1_BRANCH@127478 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 17:35:52 +00:00
av%netscape.com
e426696a61 Fixing 157627 -- registry growth on every start up, r=av, sr=dveditz, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125604 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 04:17:39 +00:00
bzbarsky%mit.edu
cebbf97ddf Fix bug 146143 (window.document being wrong on 'back' after a full-page
plugin). Patch by jst@netscape.com, r=bzbarsky, sr=jag, a=chofmann


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125286 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 05:42:14 +00:00
peterlubczynski%netscape.com
c3e6ac982b Fixing plugins needs to cause XPTI to be refreshed when pluigins change, bug 154272 r=av sr=jband a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125284 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 05:13:12 +00:00
peterlubczynski%netscape.com
4d3789a510 Fixing bug 148458: Netscape Radio crashes using Real Player if another plugin is being installed in another window because scripting any plugin in other window after plugins.refresh(1) causes this crash when plugin has been unloaded - N70PR1 [@ NPPL3260.DLL - XPTC_InvokeByIndex] r=av, sr=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@125282 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 04:59:42 +00:00
peterlubczynski%netscape.com
4722528d28 Fixing some plugins don't understand the DATA attribute on the OBJECT tag so in those cases copy that value to an appened "SRC" entry to the array of attributes/parameters plugins are passed. Bug 152334 r=av sr=waterson
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124747 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-08 06:11:21 +00:00
jay.yan%sun.com
f7e01beec6 bug 85958, shockware/flash cause crash under Solaris[x-server/bit-depth], patch=sergi, r=serge, sr=blizzard,a=chofman
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124669 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 05:29:38 +00:00
mkaply%us.ibm.com
99cd8efa51 #154161
r=pedemont, sr=blizzard, a=valeski
OS/2 only - get NPNULL plugin working on OS/2 - somehow I forgot these files


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124576 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 02:10:05 +00:00
mkaply%us.ibm.com
b41feead2f #154161
r=cls, a=valeski
OS/2 only - get NPNULL plugin working on OS/2


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124368 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-30 04:48:09 +00:00
mkaply%us.ibm.com
0c65f033df #154161
r=pedemont, sr=blizzard, a=valeski
OS/2 only - get NPNULL plugin working on OS/2


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124367 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-30 04:47:25 +00:00
av%netscape.com
bfb453b032 Bug 148889 -- keeping XPConnected plugin dlls in memory longer to avoid crashes, r=peterl, sr=beard, a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124306 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 21:50:20 +00:00
serge%netscape.com
9148e88703 fix for #153547, crash [@ nsPluginInstancePeerImpl::GetOwner] r=av, sr=beard,a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124243 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 00:19:16 +00:00
serge%netscape.com
d027b325ef fix for #149336 Linux Flash crashes and causes stack curruption in NPP_New when swLiveconnect=TRUE, r=av,sr=darin,a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124157 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 03:00:11 +00:00
dveditz%netscape.com
b3b11437a8 avoid leaking plugin path name unless debugging pref turned on (bug 88183) r=peterlubczynski, sr=alecf, a=valeski, adt=jaimejr
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@124053 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 00:25:18 +00:00
peterlubczynski%netscape.com
48933113ab Fixing bug 134445, OBJECT tag needs to be able to access default plugin r=av sr=beard
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123839 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 23:52:08 +00:00
serge%netscape.com
30aaf9a866 fix for #44169 improperly parented modal dialog in nsPluginHostImpl.cpp, r=av,sr=beard,a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123555 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 00:58:53 +00:00
serge%netscape.com
bece21038b fix #146328, PluginViewerImpl::Init(nsIWidget* aParentWidget == check this parameter for null;r=av/peterl,sr=beard,a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123377 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-15 00:43:54 +00:00
peterlubczynski%netscape.com
b3362334e8 Fixing bug 120875, flash repsonds to mouse events in other tab and can't hide plugins, r=bnesse sr=beard a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@123022 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 03:55:03 +00:00
rods%netscape.com
443455d190 This simply adds a new arg to the PP call. The new arg is not being used, it is
for future and is needed for the API freeze.
Bug 144716 r=dcone sr=attinasi adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122884 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 13:42:44 +00:00
rods%netscape.com
79b9d48b8a Solution: Move the creation and manipulation of PSs to their own service.
This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables
consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private
interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you
already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=kin adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122881 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 13:19:20 +00:00
rods%netscape.com
128e42c9dd Pluggable dialog work for the API freeze
Bugs 115136 & 135441 r=dcone sr=attinasi adt=putterman a=jud


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122854 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 01:47:13 +00:00
av%netscape.com
2f7cfac5a6 Fixing 143178 -- refreshing plugin list just before redirecting to the plugin finder service, r=peterl, sr=beard, a=chofmann
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122737 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-05 01:47:13 +00:00
serge%netscape.com
c25de96b99 fix #145377, browser crashes after clicking BACK on url with pdf doc, r=av,sr=darin,a=valeski
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122385 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-30 23:13:42 +00:00
seawood%netscape.com
246b3f7e9f Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components

Bug #56601 r=leaf,a=scc,shaver,tor


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@122140 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 22:43:38 +00:00
peterlubczynski%netscape.com
ee3c3f96d7 Fixing keyboard events for full page plugins on Mac bug 143316 r=av sr=attinasi
a=chofmann,brendan,etc


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121912 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 03:09:38 +00:00
av%netscape.com
5204f1360e Fixing 106411 -- 'Starting plugin...' message is stuck in the status bar, r=serge, sr=beard, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121612 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 12:34:31 +00:00
serge%netscape.com
55b08dd44e fix #119494 Acrobat fails to load document from this site [200 expecting 206] r=peterl,sr=darin,a=rjesup
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121586 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 01:09:22 +00:00
serge%netscape.com
cd24c92cb2 fix #130080 Signing Acrobat doesn't work r=peterl,sr=darin,a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121566 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 22:18:48 +00:00
serge%netscape.com
90ddac64b6 fix #139572 Payroll W2 form fails to render in Acrobat ( pdf on secure site), r=peterl,sr=beard,a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121564 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 21:41:54 +00:00
jkeiser%netscape.com
dda6dbadfe Make forms close file after submitting. bug 126829, r=dougt@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121517 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 04:56:55 +00:00
darin%netscape.com
8514da82d2 landing nsIFile API changes (b=129279)
r=dougt sr=alecf a=asa


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@121404 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 22:09:29 +00:00
peterlubczynski%netscape.com
07c3528f53 Implementing plugin scanning in their installation folders and fixing Real Player in the components folder, bug 133282 r=av, sr=attinasi,waterson a=asa
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120567 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:40:10 +00:00
av%netscape.com
4679a340c1 Backing out changes from fixing bug 104611 as it may have caused a regression in page load time, see bug 141518
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_0_BRANCH@120446 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 18:09:45 +00:00