Commit Graph

104 Commits

Author SHA1 Message Date
edburns%acm.org
b1081b103c I now have the pluglet.dll XPCOM module loading. The reason it was not
loading: it depends on jvm.dll, which was not on my path.  I had to add
%JDKHOME%\jre\bin\client to my path and now it loaded. Thanks to shaver
and plasticmillion on #developers for the tip to use depends.exe, the
Dependency Walker.  What a nice tool.

Of course, there is now a crash after it loads, which will be my next
step after this checkin.

A plugins/src/iPlugletEngine.idl
A plugins/src/iPlugletManager.idl

- make IDL files for our external interfaces.

M plugins/src/Makefile.in

- move PlugletEngine.cpp to the top of the list.

M plugins/src/PlugletEngine.cpp
M plugins/src/PlugletEngine.h

- big changes here.  Make this a proper generic XPCOM component.

- use the iPlugletManager interface, and the nsICategoryManager
  to make sure we get called at startup.

M plugins/src/Pluglet.cpp
M plugins/src/Pluglet.h
M plugins/src/PlugletFactory.cpp
M plugins/src/PlugletFactory.h
M plugins/src/PlugletInputStream.cpp
M plugins/src/PlugletInputStream.h
M plugins/src/PlugletLoader.cpp
M plugins/src/PlugletManager.cpp
M plugins/src/PlugletPeer.cpp
M plugins/src/PlugletStreamInfo.cpp
M plugins/src/PlugletStreamListener.cpp
M plugins/src/PlugletViewWindows.cpp
M plugins/src/PlugletsDir.cpp
M plugins/src/Registry.cpp

- remove static method PlugletEngine::GetJNIEnv, in favor of instance
  method and use of nsIServiceManager.
2006-06-19 18:50:01 +00:00
edburns%acm.org
a4e7cd8a61 update 2006-06-19 10:05:42 +00:00
edburns%acm.org
02bde62222 pluglet_build 2006-03-26 16:36:55 +00:00
edburns%acm.org
a9a7f9499c pluglets_build 2006-03-24 18:34:53 +00:00
edburns%acm.org
d688e376c1 Make plugletjni.lib and .dll build.
M makefiles

- remove plugins/Makefile, this'll be replaced by ant

- add jni Makefile

R plugins/makefile.win
R plugins/jni/makefile.win
R plugins/src/makefile.win

- obsolete.

M plugins/jni/Makefile.in

- new includes and such

M plugins/jni/org_mozilla_pluglet_mozilla_PlugletOutputStream.cpp

- cast to const char *.
2006-03-24 17:57:24 +00:00
edburns%acm.org
19bccfbfca pluglet.dll_now_builds 2006-03-24 17:41:16 +00:00
edburns%acm.org
ef22aa3aa0 This change-bundle starts the process of re-activating pluglets.
Next step is to figure out the best way to fix these unresolved symbols
at link time when building pluglet.dll

/cygdrive/d/Projects/mozilla/MOZILLA_NIH/FIREFOX_1_5_0_1/mozilla/./build/cygwin-wrapper link -NOLOGO -DLL -OUT:pluglet.dll -PDB:pluglet.pdb -SUBSYSTEM:WINDOWS  List.obj Pluglet.obj PlugletEngine.obj PlugletFactory.obj PlugletInputStream.obj PlugletLoader.obj PlugletManager.obj PlugletPeer.obj PlugletStreamInfo.obj PlugletStreamListener.obj PlugletsDir.obj Registry.obj PlugletViewFactory.obj   ./module.res   -DEBUG -DEBUGTYPE:CV         kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib D:\Files_2k\j2sdk1.4.2_03/lib/jvm.lib ../../../dist/lib/xpcom.lib ../../../dist/lib/xpcom_core.lib ../../../dist/lib/nspr4.lib ../../../dist/lib/plc4.lib ../../../dist/lib/plds4.lib
   Creating library pluglet.lib and object pluglet.exp
PlugletsDir.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall nsFileSpec::~nsFileSpec(void)" (__imp_??1nsFileSpec@@UAE@XZ)
PlugletsDir.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall nsDirectoryIterator::~nsDirectoryIterator(void)" (__imp_??1nsDirectoryIterator@@UAE@XZ)
PlugletsDir.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class nsDirectoryIterator & __thiscall nsDirectoryIterator::operator++(void)" (__imp_??EnsDirectoryIterator@@QAEAAV0@XZ)
PlugletsDir.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall nsDirectoryIterator::nsDirectoryIterator(class nsFileSpec const &,int)" (__imp_??0nsDirectoryIterator@@QAE@ABVnsFileSpec@@H@Z)
PlugletsDir.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall nsFileSpec::nsFileSpec(char const *,int)" (__imp_??0nsFileSpec@@QAE@PBDH@Z)
PlugletsDir.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall nsSpecialSystemDirectory::~nsSpecialSystemDirectory(void)" (__imp_??1nsSpecialSystemDirectory@@UAE@XZ)
PlugletsDir.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall nsFileSpec::operator+=(char const *)" (__imp_??YnsFileSpec@@QAEXPBD@Z)
PlugletsDir.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall nsSpecialSystemDirectory::nsSpecialSystemDirectory(enum nsSpecialSystemDirectory::SystemDirectories)" (__imp_??0nsSpecialSystemDirectory@@QAE@W4SystemDirectories@0@@Z)
PlugletsDir.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall nsFileSpec::GetCString(void)const " (__imp_?GetCString@nsFileSpec@@QBEPBDXZ)
PlugletViewFactory.obj : error LNK2001: unresolved external symbol "public: __thiscall PlugletViewWindows::PlugletViewWindows(void)" (??0PlugletViewWindows@@QAE@XZ)
pluglet.dll : fatal error LNK1120: 10 unresolved externals

M makefiles

+java/plugins/Makefile
+java/plugins/src/Makefile

Add generation of these Makefiles

M plugins/src/Makefile.in

- copy some content from webclient

M plugins/src/Pluglet.cpp
M plugins/src/PlugletEngine.cpp
M plugins/src/PlugletStreamListener.cpp

- Changes from John Sublet.
2006-03-21 03:25:34 +00:00
edburns%acm.org
53684b3fb8 remove_checked_in_makefiles 2006-03-21 02:28:54 +00:00
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
timeless%mozdev.org
9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
timeless%mac.com
61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
idk%eng.sun.com
f8e14d5d91 *not part of the build*
scriptable wrappers for plugin API
a=sep@sparc.spb.su
2001-07-06 06:45:11 +00:00
edburns%acm.org
ebfccc0e75 This is generated. 2001-06-13 20:38:59 +00:00
edburns%acm.org
d6fe47cc68 Descend into MediaPlayer and SVG directories 2001-06-10 03:04:55 +00:00
edburns%acm.org
3693397a3f This checkin makes it so the JavaMediaPlayer demo builds on win32.
It also adds some sample content.
2001-06-10 02:54:49 +00:00
edburns%acm.org
40bdf4d358 One big jar file that contains all the jarfiles in batik. 2001-06-10 02:01:34 +00:00
edburns%acm.org
26490f38b7 First import of the SVG pluglet. Compiles and works on win32. 2001-06-10 01:46:41 +00:00
idk%eng.sun.com
70a44612bc *not part of the build*
fix for 77579
r=yiming.chung@eng.sun.com
2001-06-02 04:44:35 +00:00
idk%eng.sun.com
f845d14816 *not part of the build*
fix for 83735
2001-06-02 03:14:02 +00:00
idk%eng.sun.com
70c262f052 *not part of te build*
checking the right fix for 83320
2001-05-31 20:59:28 +00:00
idk%eng.sun.com
b459fb344d *not part of the build*
fix for 83320
2001-05-31 19:04:36 +00:00
idk%eng.sun.com
95b177c968 *not part of the build*
fix for 78910
author=sva@sparc.spb.su (Vladimir Strigun)
2001-05-09 01:29:06 +00:00
idk%eng.sun.com
de67b301d4 *not part of tbox builds*
fixed build problem on windows
2001-03-12 19:01:19 +00:00
edburns%acm.org
fff58403f6 Merged branch JAVADEV_PR3_20001002 into trunk. 2000-11-02 23:33:21 +00:00
idk%eng.sun.com
cbca27c327 * NOT PART OF TBOX BUILD *
Fixed 54348
2000-09-28 11:27:41 +00:00
idk%eng.sun.com
0d9bfd924a * NOT PART OF TBOX BUILDS *
Updated Pluglets to tip of the tree and latest jdk1.3 on solaris
Fixed 40615
2000-09-26 06:53:53 +00:00
idk%eng.sun.com
abdb33537b added pointer to pluglets page 2000-06-04 01:02:44 +00:00
idk%eng.sun.com
f89e0cd0b3 DOM viewer enhancement
a=sdv@sparc.spb.su
r=idk@eng.sun.com
2000-06-01 20:42:29 +00:00
idk%eng.sun.com
988e4302ee Added Adaptor classes and Generic factory. Now we do not need to implement
PlugletFactory for simple pluglets.
2000-05-24 02:01:57 +00:00
rpallath%eng.sun.com
e6fe7452fe modified README 2000-04-24 21:28:42 +00:00
rpallath%eng.sun.com
59eca4c85a New Tests for getAlignment 2000-04-24 19:02:42 +00:00
rpallath%eng.sun.com
c3291b195e getAlignment tests for API -> LEFT 2000-04-24 18:58:18 +00:00
rpallath%eng.sun.com
1adee25c28 GetAlignment API tests 2000-04-24 18:55:25 +00:00
rpallath%eng.sun.com
171e857827 New files for Killer app on Win32 2000-04-24 18:52:40 +00:00
rpallath%eng.sun.com
b381bf0be3 Added README and BWTest.lst
Updated some test cases
2000-04-24 18:25:27 +00:00
idk%eng.sun.com
75394f5e7f (36174) Added null checking
a = idk@eng.sun.com
2000-04-18 18:38:01 +00:00
sdv%sparc.spb.su
11a9d1af25 keeping track with Java DOM changes
r=idk@eng.sun.com
2000-03-31 01:22:00 +00:00
rpallath%eng.sun.com
b24ebec175 Removed Control-M characters 2000-03-23 23:24:32 +00:00
idk%eng.sun.com
879ef78e6d Fixed build problems.
Changed char*const* to const char *const* in some places.
2000-03-21 01:10:35 +00:00
rpallath%eng.sun.com
e5594f6d7d dding new files 2000-03-17 00:27:29 +00:00
rpallath%eng.sun.com
13653e9f78 dding new files for Java Plugins 2000-03-17 00:17:17 +00:00
rpallath%eng.sun.com
0d50455cde *** empty log message *** 2000-03-16 23:05:30 +00:00
rpallath%eng.sun.com
5706870e9e Added new files 2000-03-16 22:54:41 +00:00
rpallath%eng.sun.com
b3c6f3d600 . 2000-03-16 22:42:09 +00:00
rpallath%eng.sun.com
ea209f377e *** empty log message *** 2000-03-16 22:16:08 +00:00
rpallath%eng.sun.com
ef552c8b43 *** empty log message *** 2000-03-16 22:11:53 +00:00
rpallath%eng.sun.com
c6bfef23d2 Pluglet API tests 2000-03-16 22:06:17 +00:00
laa%sparc.spb.su
701adb53eb Cleaned up pluglet examples sources (bug ID 17316).
Reviewed by idk@eng.sun.com
2000-03-07 08:33:54 +00:00
idk%eng.sun.com
8f609c952f Fix for 27690
Converted "path" to canonical form
a=avm@sparc.spb.su
r=idk@eng.sun.com
2000-02-25 21:16:18 +00:00