34 Commits

Author SHA1 Message Date
edburns%acm.org
02816bb7c8 A src/nsIPluglet.idl
M classes/org/mozilla/pluglet/Registry.java
M dist/build.xml
M examples/simple/src/main/java/simple/SimplePluglet.java
M examples/simple/src/main/web/index.html
M mozilla/Makefile.in
M mozilla/nppluglet.cpp
M mozilla/nppluglet.h
M mozilla/nsScriptablePeer.cpp
M netbeans/nbproject/build-impl.xml
M netbeans/nbproject/genfiles.properties
M netbeans/nbproject/project.properties
M netbeans/nbproject/project.xml
M src/Makefile.in
M src/Pluglet.cpp
M src/Pluglet.h
M src/PlugletEngine.cpp
M src/PlugletFactory.cpp
M src/Registry.cpp
M src/Registry.h
R mozilla/nsIPluglet.idl

- At this point, I can call from JavaScript and locate an arbitratily
  named method on the Pluglet instance that conforms to the signature of
  returning String, and taking 0 or more Strings as arguments.


git-svn-id: svn://10.0.0.236/trunk@242001 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-22 01:40:58 +00:00
edburns%acm.org
d28739112f create_build_process_for_binary_release
git-svn-id: svn://10.0.0.236/trunk@235463 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-10 19:38:48 +00:00
edburns%acm.org
1879d39cea Add new first argument to PlugletFactory.initialize(): the string that
is the path to the jar from which the pluglet is loaded.

SECTION: Changes

M classes/org/mozilla/pluglet/PlugletFactory.java
M classes/org/mozilla/pluglet/PlugletFactoryAdaptor.java

- Add new first argument to PlugletFactory.initialize(): the string that
  is the path to the jar from which the pluglet is loaded.

M examples/MediaPlayer/JMPlayer.java
M test/test.java

- Account for new first argument

M src/PlugletFactory.cpp

- new JNI signature for initialize.


git-svn-id: svn://10.0.0.236/trunk@215304 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-15 01:11:42 +00:00
edburns%acm.org
fbd0e42fb9 This change-bundle fixes memory allocation in streams. Next step is to
make a final pass to make sure we are not leaking memory.  After that, I
want to clean up the build system, and the samples.

M build.xml

- Call make export in mozilla directory

- Fix clean target

M mozilla/Makefile.in

- Added export target
M classes/org/mozilla/pluglet/PlugletLoader.java

- avoid ambiguity by casting

+	    CodeSource codesource = new CodeSource(url,(java.security.cert.Certificate []) null);

M examples/MediaPlayer/JMPlayer.java

- remove debug printfs

M mozilla/npAPInsIInputStreamShim.cpp
M mozilla/npAPInsIInputStreamShim.h

- remove debug printfs

- fix buffer allocation, refactor into its own method.

- Use NPN_Mem* methods for memory allocation.

- isolate lock access to private methods.  Avoids locking when we
  already own the lock, which would cause an assertion.

M mozilla/nppluglet.cpp

- in dtor, check for null mScriptablePeer ivar before accessing it.

M mozilla/nsScriptablePeer.cpp

- whitespace

M src/Pluglet.cpp

- get the plugletEngine from do_GetService().

M src/PlugletEngine.cpp
M src/PlugletFactory.cpp
M src/PlugletLoader.cpp

- remove debug printfs

M test/test.java

- added test finalize.


build.xml classes/org/mozilla/pluglet/PlugletLoader.java examples/MediaPlayer/JMPlayer.java mozilla/Makefile.in mozilla/npAPInsIInputStreamShim.cpp mozilla/npAPInsIInputStreamShim.h mozilla/nppluglet.cpp mozilla/nsScriptablePeer.cpp src/Pluglet.cpp src/PlugletEngine.cpp src/PlugletFactory.cpp src/PlugletLoader.cpp test/test.java


git-svn-id: svn://10.0.0.236/trunk@214609 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 18:55:50 +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
idk%eng.sun.com
3a9dfe353b *not part of tbox builds*
fixed build problem on windows


git-svn-id: svn://10.0.0.236/trunk@89347 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 19:01:19 +00:00
edburns%acm.org
aee4ebbf93 Merged branch JAVADEV_PR3_20001002 into trunk.
git-svn-id: svn://10.0.0.236/trunk@82247 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 23:33:21 +00:00
idk%eng.sun.com
21e5afbcd7 * NOT PART OF TBOX BUILD *
Fixed 54348


git-svn-id: svn://10.0.0.236/trunk@80067 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 11:27:41 +00:00
idk%eng.sun.com
ab0393e100 * NOT PART OF TBOX BUILDS *
Updated Pluglets to tip of the tree and latest jdk1.3 on solaris
Fixed 40615


git-svn-id: svn://10.0.0.236/trunk@79966 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 06:53:53 +00:00
idk%eng.sun.com
86d0fa61c2 Added Adaptor classes and Generic factory. Now we do not need to implement
PlugletFactory for simple pluglets.


git-svn-id: svn://10.0.0.236/trunk@70699 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 02:01:57 +00:00
idk%eng.sun.com
03b4b80e4d Fix for 27690
Converted "path" to canonical form
a=avm@sparc.spb.su
r=idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@61681 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 21:16:18 +00:00
idk%eng.sun.com
b41e3abee5 Added new method :
public Object PlugletTagInfo.getDOMElement();
(It is possible to use JavaDOM from pluglets now.)
a=idk@eng.sun.com
r=sdv@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@60968 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 00:03:38 +00:00
idk%eng.sun.com
7cca0630ac Fixed problem with loadaing pluglets.
changed "file://" to "file:"


git-svn-id: svn://10.0.0.236/trunk@60193 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 03:39:45 +00:00
laa%sparc.spb.su
c160c8968e Fixed bugs 20202, 17437.
Methods of PlugletTagInfo and PlugletTagInfo2 doesn't allow access to pluglet parameters,
PlugletTagInfo2 getAttribute doesn't work properly.

Reviewed by idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@59086 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 18:11:27 +00:00
idk%eng.sun.com
b0a5fb72e5 fix for 20681
Added exception throwning to PlugletInputStream.reset method


git-svn-id: svn://10.0.0.236/trunk@58109 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 20:18:39 +00:00
idk%eng.sun.com
b2b1350557 fix for 21294
Changed method supportedURLProtocol to isURLProtocolSupported


git-svn-id: svn://10.0.0.236/trunk@58082 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 07:37:37 +00:00
idk%eng.sun.com
a8fa114a31 fix for 18861
Convert ByteRanges to class (was interface)


git-svn-id: svn://10.0.0.236/trunk@58081 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 07:28:22 +00:00
louis.martin%eng.sun.com
fed8c834db This is updated source code with comments.
r=idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@57697 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 22:54:46 +00:00
idk%eng.sun.com
29ac9e98a4 fix for 20686
one character fix.
changed return value from -1 to 0


git-svn-id: svn://10.0.0.236/trunk@55905 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 09:08:40 +00:00
idk%eng.sun.com
63871c1621 21259
PlugletManager.getValue removed


git-svn-id: svn://10.0.0.236/trunk@55884 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:35:20 +00:00
idk%eng.sun.com
828f199f1f 21291
org.mozilla.util.Debug renamed to
org.mozilla.util.DebugPluglet
Tests updated


git-svn-id: svn://10.0.0.236/trunk@55880 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:08:00 +00:00
idk%eng.sun.com
a1e0f1ac14 18857
changed return value from 0 to -1


git-svn-id: svn://10.0.0.236/trunk@54363 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 03:36:06 +00:00
idk%eng.sun.com
beaaee18a3 18963
Litle fix. Fixed typo


git-svn-id: svn://10.0.0.236/trunk@54361 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 03:30:34 +00:00
idk%eng.sun.com
c76f9909a2 19465
Port pluglets to linux and Solaris
(This is not part of the build)


git-svn-id: svn://10.0.0.236/trunk@54082 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-20 23:19:40 +00:00
idk%eng.sun.com
51254cf0e7 bug 18180
Names changed
Pluglet->PlugletFactory, *PlugletInstance*->*Pluglet*


git-svn-id: svn://10.0.0.236/trunk@52992 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 10:28:46 +00:00
dmose%mozilla.org
ce50f7d151 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52900 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 02:47:15 +00:00
idk%eng.sun.com
ab18209f8a Add Registry class for storing information about java-c++
objects binding


git-svn-id: svn://10.0.0.236/trunk@49026 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-25 02:53:56 +00:00
idk%eng.sun.com
cbb9784ee6 Added PlugletPolicy class.
Granted AllPermissions for each pluglet


git-svn-id: svn://10.0.0.236/trunk@48958 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 04:10:00 +00:00
idk%eng.sun.com
c3a4459049 Moved to OJI.
Added  AWT support.
Added some classes


git-svn-id: svn://10.0.0.236/trunk@47982 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 18:41:34 +00:00
idk%eng.sun.com
58c108ead3 Added PlugletTagInfo
Updated test.java
Fixed some build problems


git-svn-id: svn://10.0.0.236/trunk@46992 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 23:47:47 +00:00
idk%eng.sun.com
f363d1453d Add this files
git-svn-id: svn://10.0.0.236/trunk@46266 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 00:21:03 +00:00
idk%eng.sun.com
fae3440cff Add implemenataion of PlugletInputStream and PlugletStreamInfo
git-svn-id: svn://10.0.0.236/trunk@45633 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 03:36:53 +00:00
idk%eng.sun.com
670cd2e4b4 fogot to add this file, sorry.
git-svn-id: svn://10.0.0.236/trunk@45157 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 19:04:59 +00:00
idk%eng.sun.com
9d2f8ed652 Initial pluglets checkin.
git-svn-id: svn://10.0.0.236/trunk@44978 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 04:39:56 +00:00