bzbarsky%mit.edu
63d4f0df54
Don't hand ownership of stuff allocated with nsMemory to the JS engine just like that. Bug 353108, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@221055 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 02:30:26 +00:00
asqueella%gmail.com
4852fb3149
Bug 368185 - Clean up plugin files; changing class declarations to use macros
...
p=Kevin Zhang <kevin.heart@gmail.com>
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@220486 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-17 18:44:42 +00:00
jst%mozilla.org
116af3ce87
Fixing bug 366082. Prevent Adobe Acrobat from loading URLs other than http:, https:, or ftp: w/o specifying a target. r+sr=dveditz@cruzio.com
...
git-svn-id: svn://10.0.0.236/trunk@219081 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-28 19:50:37 +00:00
bent.mozilla%gmail.com
17ce909e89
Bug 367059 - 'Reversed assertion test in PopException ("Uh, no NPP exception to pop!")'. r=josh, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@218541 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 21:06:38 +00:00
joshmoz%gmail.com
86b284ddcc
back out part of 346954 to fix Flash when migrating a profile from PPC to x86. b=356694 r=sayrer sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@214964 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 16:43:17 +00:00
gavin%gavinsharp.com
ca1da199fb
Bug 333387: crash [@ ns4xPluginInstance::Print], patch by Ryan Jones <sciguyryan+bugzilla@gmail.com>, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@214769 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 14:51:52 +00:00
timeless%mozdev.org
c6467de559
Bug 106386 Correct misspellings in source code
...
r=glennrp@gmail.com , bclary@bclary.com rs=brendan
git-svn-id: svn://10.0.0.236/trunk@214560 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 23:02:18 +00:00
joshmoz%gmail.com
8132f7fdfa
follow-up to the fix for bug 344425, supporting NP_GetEntryPoints on Intel Mac OS X. Use NPAPI error values. b=344425
...
git-svn-id: svn://10.0.0.236/trunk@212148 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 06:40:48 +00:00
joshmoz%gmail.com
07ed0da561
support NP_GetEntryPoints on Intel Mac OS X. If NP_GEP does not exist, we still try to use main() for compatibility. b=344425 r=sayrer sr=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@212124 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-21 19:32:30 +00:00
dbaron%dbaron.org
b3ece9b8b4
Be more careful pushing/popping contexts. b=352264 r=jst sr=bzbarsky/jst
...
git-svn-id: svn://10.0.0.236/trunk@209916 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 22:58:11 +00:00
sayrer%gmail.com
4b8ca2af78
bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@209419 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 04:35:17 +00:00
joshmoz%gmail.com
d80288479a
Cleanup in preparation for the real fix to bug 350109. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@209396 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 23:58:27 +00:00
sayrer%gmail.com
8ef3690d14
Bug 346954. feed MIME types trigger plugin reloads. Check for the file in the cache before we root around in the bundles and executables. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@208729 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 18:58:38 +00:00
bent.mozilla%gmail.com
4311665b24
Bug 345541 - "plugins linked to libxul.so do not load". Patch by Steve Krulewitz <skrulx@gmail.com>. r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@208674 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 23:43:22 +00:00
sayrer%gmail.com
8275633be0
bug 346954. feed MIME types trigger plugin reloads. Start by checking that plugins have a resource fork we can read. r=joshmoz, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@208376 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 01:04:50 +00:00
bzbarsky%mit.edu
a03439b0a2
Don't show the plugin wizard for plugins that are actually disabled (only Java
...
at the moment). Bug 344923, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@207202 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 02:13:24 +00:00
mrbkap%gmail.com
449e20d4f6
Fix GC hazards in the plugin code. Add a "close friend" API for JSTempValueRooters for use from C++. bug 347054, r=brendan sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@206518 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 20:39:45 +00:00
joshmoz%gmail.com
678551aa57
Remove 68k code compat from npupp.h, significantly reducing the size and complexity of the file. b=344942 r=mento sr=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@203122 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 15:39:29 +00:00
joshmoz%gmail.com
54b37d7ad8
clean up old Mac classic code and fix nsplugin.h interface comment to point out that it was a failed experiment. b=281889 r=mento sr=pinkerton
...
git-svn-id: svn://10.0.0.236/trunk@202067 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 19:47:32 +00:00
timeless%mozdev.org
9aa4ffcfad
Bug 336968 Function: _getvalue does not dereference "result" after assigning to *result
...
r=jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@200826 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-25 07:34:52 +00:00
timeless%mozdev.org
0838fdb344
Bug 336968 Function: _getvalue does not dereference "result" after assigning to *result
...
r=jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@200824 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-25 07:18:48 +00:00
dveditz%cruzio.com
f869942298
Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
...
simplify OOM checks when growing an nsAString. r/sr=darin
git-svn-id: svn://10.0.0.236/trunk@200610 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 19:07:30 +00:00
timeless%mozdev.org
d7d1bbda1f
Bug 337917 Make consumers stop using cids from other modules
...
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
mhammond%skippinet.com.au
e96b5e495a
Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
mrbkap%gmail.com
0b7523274b
Checking in Ben Turner <bent.mozilla@gmail.com> and timeless's patch to make Gecko use the JS engine's request model to help multithreaded embedders avoid GC races and crashes. bug 176182, r=mrbkap assumed-rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@199768 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 22:39:55 +00:00
timeless%mozdev.org
adc085ea1f
Bug 336989 Useless null check of aOwner in nsPluginHostImpl::InstantiateEmbeddedPlugin
...
Also fixing a spelling error which happens to appear in pluginhostimpl and xpconnect sample
r=jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@198970 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:23:45 +00:00
timeless%mozdev.org
a3516ce17f
Bug 336974 crash [@ CallNPMethod][@ GetNPObject] "obj" Pointer dereferenced before NULL check
...
r=jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@198968 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 22:12:05 +00:00
mark%moxienet.com
1c1171ff7f
339238 Java doesn't work when MRJPlugin.plugin is a symbolic link. CFBundleCopyExecutableURL doesn't return a proper URL for bundles whose roots are referred to by symlink. Resolve bundle paths when they are symbolic links. r=josh sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@198465 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-26 17:56:18 +00:00
mkaply%us.ibm.com
814812ce46
#326273
...
r=mkaply, sr=mkaply (OS/2 only)
OS/2 changes from threading checkin - build bustage
git-svn-id: svn://10.0.0.236/trunk@196319 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 17:22:54 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
gavin%gavinsharp.com
1c0d90bb52
Bug 334687: Possible null pointer dereference in nsPluginHostImpl.cpp, patch by Ryan Flint <rflint@dslr.net>, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@195648 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 17:25:48 +00:00
leon.sha%sun.com
7fe75840bb
Bug 106386 Correct misspellings in source code.
...
Patch by Alfred.Peng@Sun.COM .
timeless: review+
git-svn-id: svn://10.0.0.236/trunk@195634 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 07:11:32 +00:00
bzbarsky%mit.edu
bf19ef708d
Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
...
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
mark%moxienet.com
64a5651436
333121 BROKEN_PLUGIN_HACK (313347) can be removed. A fixed Flash plugin is available (8.0.27/x86) and was included with Mac OS X 10.4.6/x86. r=josh sr=pink
...
git-svn-id: svn://10.0.0.236/trunk@195272 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 18:29:16 +00:00
bryner%brianryner.com
f54a32de83
ifdef includes and inline function that requires MOZILLA_INTERNAL_API, so that this header can be pulled in from a standalone extension (bug 334870). r+b181=darin.
...
git-svn-id: svn://10.0.0.236/trunk@195006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 22:58:23 +00:00
leon.sha%sun.com
6c75968e37
Bug 334463 Variable "cx" tracked as NULL was passed to a function that dereferences it [@ ThrowJSException - nsJSObjWrapper::NP_SetProperty]
...
Patch by alfred.peng@sun.com .
jst: review+
jst: superreview+
git-svn-id: svn://10.0.0.236/trunk@194960 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 08:14:24 +00:00
gavin%gavinsharp.com
d08dce636d
Bug 333386: crash [@ ns4xPluginStreamListener::OnFileAvailable], patch by Phil Ringnalda <philringnalda@gmail.com>, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@194426 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 19:23:39 +00:00
mkaply%us.ibm.com
132a659843
#329205
...
r=timeless, src=roc
Patch from Ganesh - check for empty string before dereferencing pointer
git-svn-id: svn://10.0.0.236/trunk@193813 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 15:44:53 +00:00
darin%meer.net
70deb5f58d
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
jst%mozilla.jstenback.com
c6a4728819
Followup fix for bug 328989. Fixing BeOS build bustage. Patch by cbiesinger@gmx.at, r+sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@191754 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 02:28:48 +00:00
jst%mozilla.jstenback.com
dc4b19a5f8
Landing fix for bug 296159. Adding support for NPObject enumeration to npruntime. Patch by alfred.peng@sun.com, r=mrbkap@gmail.com, sr=jst@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@191449 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 00:13:38 +00:00
jst%mozilla.jstenback.com
d1684ba6bf
Fixing bug 328457. Accessing ambigous members on scriptable plugins from JS can cause crashes. r=mrbkap@gmail.com, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@191225 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-25 00:32:03 +00:00
timeless%mozdev.org
af51e73d0e
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
mark%moxienet.com
79e6a5bc5d
313347 Flash plugin crashes browser on Mac OS X/x86. Work around broken plugin's bugs with BROKEN_PLUGIN_HACK. r=josh sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@190142 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 21:11:21 +00:00
leon.sha%sun.com
6bc97c9b94
Bug 293987 Mozilla cannot open PDF document via proxy and It crash after close the tab when it loaded.
...
Patch by leon.sha@sun.com
darin: review+
shaver: superreview+
git-svn-id: svn://10.0.0.236/trunk@189938 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 08:13:51 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
1510aacc39
Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
...
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument. Bug 324600, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
masayuki%d-toybox.com
4395e7ccdc
Bug 323142 Selecting from drop down in Java applet no longer populates field. patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r=ere, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@188665 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 15:37:04 +00:00
bzbarsky%mit.edu
2cf85892c1
Don't leak void array members on early return. Bug 273022, patch by jpl24
...
<jlurz24@gmail.com>, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@187814 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 03:40:06 +00:00
joshmoz%gmail.com
be393ff026
Update old email addresses for Josh Aas.
...
git-svn-id: svn://10.0.0.236/trunk@186993 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 17:07:01 +00:00