Commit Graph

471 Commits

Author SHA1 Message Date
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
sdv%sparc.spb.su
4293bc7c5b added target to make java classes on windows 2000-03-13 23:03:07 +00:00
edburns%acm.org
2b80283ff3 This checkin adds API to cleanly destroy a BrowserControl instance. It
also modifies EmbeddedMozilla so this code is exercised.

I have changed EmbeddedMozilla to be a stub-like class that simply
displays a Frame with a single Button, titled "New Window".  Pressing
this button causes an EMWindow to be created and displayed.  EMWindow is
basically the former EmbeddedMozilla renamed, with modifications to the
WindowListener implementation to call the BrowserControl deallocation
method.

I've added a delete() method to ImplObect:

 * I know Java has automatic garbage collection and all, but explicitly
 * adding a delete method helps the gc algorithm out. <P>

 * Subclasses should override this and call super.delete() at the end of
 * their overridden delete() method.

 * @see org.mozilla.webclient.wrapper_native.ImplObjectNative#delete

and ImplObjectNative:

 * Note how we call super.delete() at the end.  THIS IS VERY IMPORTANT. <P>

 * Also, note how we don't de-allocate nativeWebShell, that is done in
 * the class that owns the nativeWebShell reference, WindowControlImpl.

 * ImplObjectNative subclasses that further override delete() are <P>

<CODE><PRE>
BookmarksImpl.java
EventRegistrationImpl.java
NativeEventThread.java
WindowControlImpl.java
</PRE><CODE> <P>

 * All other ImplObject subclasses don't have any local Ivars and thus
 * don't need to override delete().

I've added a delete() method to BrowserControlImpl:

 * Called from BrowserControlFactory.deleteBrowserControl() <P>

 * The order of deletion of objects is very important! <P>

 * We don't allow deletion if the Canvas is showing. <P>

In BrowserControlImpl's delete(), the important delete()s is for
WindowControlImpl:

 * First, we delete our eventThread, which causes the eventThread to
 * stop running.  Then we call nativeDestroyInitContext(), which
 * deallocates native resources for this window.

As stated above, NativeEventThread.delete() is called:

 * This is a very delicate method, and possibly subject to race
 * condition problems.  To combat this, our first step is to set our
 * browserControlCanvas to null, within a synchronized block which
 * synchronizes on the same object used in the run() method's event
 * loop.  By setting the browserControlCanvas ivar to null, we cause the
 * run method to return.

After all of this deleting, we return from
BrowserControlFactory.delete().
2000-03-13 18:44:32 +00:00
edburns%acm.org
20a7194058 r=ashuk
a=edburns
bug=31253

This change doesn't impact SeaMonkey.

Move the initialization of the nativeWebShell ptr into a superclass.
2000-03-09 23:22:52 +00:00
edburns%acm.org
0d6fc7f850 bug=31123
a=edburns
r=bruce

Folks, don't EVER use NULL in your c++ code.  Use nsnull instead.
2000-03-09 05:12:42 +00:00
edburns%acm.org
0bf1d2eb4c JAVAH generated header files should not be checked in, since they are generated as a result of the build. 2000-03-09 04:41:43 +00:00
sherry.shen%sun.com
afbace2f0e Bug #28281, r=leaf, a=leaf,
Add an option for building Java-supplement and
fix the Java building problem about JDIRS.
2000-03-09 01:14:22 +00:00
edburns%acm.org
f4c528647e For win32 builds. If you define
WEBCLIENT_SPEC=1

in your environment before building webclient, the spec-compliant
version of webclient will be built.
2000-03-08 19:17:16 +00:00
edburns%acm.org
b07d563b43 Changed NULL to nsnull, so it would build with gcc.
.
2000-03-08 18:54:00 +00:00
ashuk%eng.sun.com
16019f5a72 a=edburns
r=edburns
author=ashuk
bug=28407

Made fix for new BookmarksImpl.java file -- Ashu K.
2000-03-08 18:49:36 +00:00
ashuk%eng.sun.com
43a6915347 a=edburns
r=edburns
author=ashuk
bug=28407

Made fix for changed BookmarksImpl.cpp file in the Stubs file -- Ashu K.
2000-03-08 18:41:01 +00:00
ashuk%eng.sun.com
b6b1747f72 a=edburns
r=edburns
author=ashuk
bug=28407

New native code for spec-compliant impl ported to solaris -- Ashu K.
2000-03-07 22:45:37 +00:00
ashuk%eng.sun.com
9fe6afbb8e a=edburns
r=edburns
author=ashuk
bug=28407

Moved this file to java/webclient/classes_new/org/mozilla/webclient/wrapper_native -- Ashu K.
2000-03-07 22:39:11 +00:00
ashuk%eng.sun.com
632a1b0f34 a=edburns
r=edburns
author=ashuk
bug=28407

New native code for spec-compliant impl ported to solaris -- Ashu K.
2000-03-07 22:33:38 +00:00
edburns%acm.org
29ed3a17ef NOT IN SeaMonkey
Added // PENDING comment
2000-03-07 22:32:27 +00:00
ashuk%eng.sun.com
364a2788bc a=edburns
r=edburns
author=ashuk
bug=28407

New run script for spec-compliant impl -- Ashu K.
2000-03-07 22:19:20 +00:00
ashuk%eng.sun.com
11dfd4783d a=edburns
r=edburns
author=ashuk
bug=28407

New solaris Makefile for spec-compliant impl -- Ashu K.
2000-03-07 22:18:17 +00:00
ashuk%eng.sun.com
cbe874f8cf a=edburns
r=edburns
author=ashuk
bug=28407

New java code for spec-compliant impl ported to solaris -- Ashu K.
2000-03-07 22:16:07 +00:00
ashuk%eng.sun.com
6171e421f6 a=edburns
r=edburns
author=ashuk
bug=28407

New java code for spec-compliant impl ported to solaris -- Ashu K.
2000-03-07 22:10:08 +00:00
ashuk%eng.sun.com
837a1c3112 a=edburns
r=edburns
author=ashuk
bug=28407

makefile for Java code - spec compliant impl -- Ashu K
2000-03-07 22:03:57 +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
edburns%acm.org
bb161e49d0 a=edburns
r=ashuk
bug=2069

Native code for spec compliant webclient impl.
2000-03-04 01:37:20 +00:00
edburns%acm.org
c231d6c5d9 a=edburns
r=ashuk
bug=2069

Java classes for spec compliant webclient impl.
2000-03-04 01:10:58 +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
edburns%acm.org
3c421d4cd1 Put #include <unistd.h> inside #ifdef XP_UNIX 2000-02-18 19:33:28 +00:00
edburns%acm.org
5a19a2ac25 Removed import org.mozilla.webclient.motif.* 2000-02-18 19:32:22 +00:00
edburns%acm.org
bcd8361b00 author=Ashutosh Kulkarni
r=edburns
approver=edburns
bug=28407

THIS CODE IS NOT MOZILLA CODE!

This code change allows webclient to work with GTKSUPERWIN.
2000-02-18 19:16:27 +00:00
sdv%sparc.spb.su
554fb4c1cd added a new example pluglet:
DOMViewer
a=idk@eng.sun.com, sdv@sparc.spb.su
r=idk@eng.sun.com, sdv@sparc.spb.su
2000-02-17 21:56:55 +00:00
rpallath%eng.sun.com
9712985d29 Added try/catch block 2000-02-17 01:33:09 +00:00
rpallath%eng.sun.com
c2f9417464 Changed the null check condition.
For HTML, doctype is alwasy null
2000-02-17 01:13:03 +00:00
leila.garin%eng.sun.com
bece1138b9 Removed DocumenTypeImpl test cases from HTML.ORIG
Added DocumentTypeImpl_xml test case into XML.ORIG
2000-02-17 00:56:15 +00:00
rpallath%eng.sun.com
7a9d0c30b2 Added getDocType_xml test case for XML for HTML it is null.
modified Makefiles to reflect the same
2000-02-17 00:54:57 +00:00
rpallath%eng.sun.com
2dfc9070d5 Added entries for new test cases. 2000-02-16 23:17:53 +00:00
rpallath%eng.sun.com
e3d02556ec New Test Cases for all UNSUPPORTED methods 2000-02-16 22:58:27 +00:00
leila.garin%eng.sun.com
a339609feb hanged made to these file
Added new api test entries in BWTestClass files
Added UNSUPPORTED methods in BWBaseTest/TestLoader
Update DoucmentImpl accroding to java DOM version.
Did correct check for retrun values in ElementImpl_removeAttribute_String_1.java
ElementImpl_setAttributeNode_Attr_1.java NamedNodeMapImpl_setNamedItem_Node_1.java
2000-02-16 22:53:33 +00:00
sdv%sparc.spb.su
1f466a5fc7 addon fix to bug 13338 2000-02-16 00:45:37 +00:00
idk%eng.sun.com
f79e3dce75 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
2000-02-16 00:03:38 +00:00
sdv%sparc.spb.su
31771903ed addon fix to bug 13338 (return null according to the
dom spec instead of throwing exception)
2000-02-15 23:57:27 +00:00
leila.garin%eng.sun.com
5247e0092c Replaced old TestLoader with new TestLoader 2000-02-15 18:57:28 +00:00
sdv%sparc.spb.su
b8a239fb24 - added method to enable access to pluglets and
changed the way java dom registers itself
2000-02-15 03:50:35 +00:00
sdv%sparc.spb.su
b104891051 addon fix to bug 13338. 2000-02-12 01:11:48 +00:00
leila.garin%eng.sun.com
4cbb9c517b Added getElementById method due to change in JavaDOM adhering to W3C specs. 2000-02-12 00:08:52 +00:00
sdv%sparc.spb.su
e720b68a19 changed fix to bug 13338.
now check for null pointers in Java DOM instead of
passing null references to coreDOM
2000-02-11 07:58:12 +00:00
sdv%sparc.spb.su
59d8d90a88 fix for bug 24723 2000-02-10 01:13:57 +00:00
sdv%sparc.spb.su
65c005155c fix for bug 22532 2000-02-10 01:12:21 +00:00
idk%eng.sun.com
15d7e5f8e5 Fixed problem with loadaing pluglets.
changed "file://" to "file:"
2000-02-09 03:39:45 +00:00
idk%eng.sun.com
6fe2ceb4f8 Fixed crasher bug.
Now PlugletEngine do not crache mozilla
in  case of missing jvm
2000-02-09 00:34:54 +00:00
sdv%sparc.spb.su
66987c3939 fix for bug 26895 2000-02-08 03:05:04 +00:00
sdv%sparc.spb.su
af9d3e22a0 fix for bug 26899 2000-02-08 02:40:01 +00:00
nis%sparc.spb.su
ea763c2dbb Added workaround to get JavaDOM to work on Linux. 2000-02-04 17:23:51 +00:00
idk%eng.sun.com
238e7f58c7 Added makefiles for examples 2000-01-31 21:47:29 +00:00
laa%sparc.spb.su
bf12637547 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
2000-01-28 18:11:27 +00:00
nis%sparc.spb.su
160898f946 Removed support for KeyEvents because they are not
included into DOM2 specification anymore.
2000-01-28 14:30:12 +00:00
nis%sparc.spb.su
4350d3f41a Event interfaces are updated to latest DOM2 bindings.
In particular, KeyEvent support is removed because
DOM Level 2 Event specification does not provide a key event set anymore.
2000-01-28 14:26:11 +00:00
sdv%sparc.spb.su
da5218a6fc addon to previous checking. Changed
JAVA_DOM_OJI_DISABLE check to
JAVA_DOM_OJI_ENABLE not to affect
unix builds.
2000-01-28 04:20:20 +00:00
sdv%sparc.spb.su
d5d632bf9d Added code to use OJI on win nt.
Added methods of latest dom java-binding
Fixes to bugs 22192, 22193
2000-01-28 03:45:01 +00:00
idk%eng.sun.com
39035a42d0 Fix for 25069
Added null pointer checking
2000-01-27 05:42:56 +00:00
idk%eng.sun.com
51a3413e5c Removed workaround for 24194
Fixed build probelem  (included plstr.h instead of string.h into src/PlugletFactory.cpp)
2000-01-26 04:20:22 +00:00
idk%eng.sun.com
9c922a7363 Fixed problem with awt on Solaris.
Start using XmNvisual, XmNcolormap, XmNdepth values from awt for shell createing
2000-01-25 23:28:17 +00:00
laa%sparc.spb.su
352dbdc6e0 Fixed bug 21785.
Mozilla crashes if PLUGLET environment is not set.
Reviewed by idk@eng.sun.com
2000-01-25 12:30:52 +00:00
nis%sparc.spb.su
eefbd4a4ea Fixed bug 23629.
The build failed due to changes in nsIDocumentLoaderObserver interface.

Reviewed by sdv@sparc.spb.su
2000-01-24 17:37:28 +00:00
leila.garin%eng.sun.com
240367c967 Added RunTimeException handling 2000-01-22 00:20:21 +00:00
leila.garin%eng.sun.com
f114c1c32a Removed NodeImpl_equals_3 2000-01-20 22:35:25 +00:00
leila.garin%eng.sun.com
d07e27fe91 changed PASS/FAIL conditions and add print statments 2000-01-20 22:32:20 +00:00
leila.garin%eng.sun.com
e383d1035d Added package entry 2000-01-19 17:42:45 +00:00
leila.garin%eng.sun.com
4eafbfe07a obselete 2000-01-18 22:54:13 +00:00
leila.garin%eng.sun.com
18617777dd Obselete 2000-01-18 22:53:14 +00:00
leila.garin%eng.sun.com
fc001acb7d Obselete file 2000-01-18 22:52:04 +00:00
idk%eng.sun.com
29bb4bf994 fix for 20732
Copied read amount of bytes to array instead of using method argument.
2000-01-18 22:44:47 +00:00
leila.garin%eng.sun.com
59ee3010b5 Added License information
Added rule files for  DOM HTML test generation
Updated READMES
Updated automated scripts.
Added Hacked DOMAccessorImpl/DocumentImpl files
2000-01-18 22:38:10 +00:00
leila.garin%eng.sun.com
4c701a38be Added Makefiles and license information
Added hacked DocumentImpl
2000-01-18 22:35:59 +00:00
idk%eng.sun.com
a879e0bd5c fix for 20681
Added exception throwning to PlugletInputStream.reset method
2000-01-18 20:18:39 +00:00
idk%eng.sun.com
1abc654971 fix for 21294
Changed method supportedURLProtocol to isURLProtocolSupported
2000-01-18 07:37:37 +00:00
idk%eng.sun.com
014733861e fix for 18861
Convert ByteRanges to class (was interface)
2000-01-18 07:28:22 +00:00
idk%eng.sun.com
7599ee2943 Added logging to pluglet module
a = laa@sparc.spb.su
r = idk@eng.sun.com

Added workaround for 24194
a = idk@eng.sun.com
2000-01-18 02:53:58 +00:00
louis.martin%eng.sun.com
815241ade6 This is updated source code with comments.
r=idk@eng.sun.com
2000-01-13 22:54:46 +00:00
edburns%acm.org
88bfb6256e More simple name change changes. 2000-01-07 00:44:24 +00:00
edburns%acm.org
e7b56436fc Changed MozillaEventThread.h to NativeEventThread.h 2000-01-06 22:52:03 +00:00
edburns%acm.org
3de2ef730a Change to new NS_InitXPCOM argument.
r=dp
b=23157
a=edburns
2000-01-06 22:45:48 +00:00
edburns%acm.org
58fdb7b9d4 account for nsIDocumentLoaderObserver API changes. 2000-01-05 20:25:29 +00:00
edburns%acm.org
d89128187f r=marklin
a=edburns

Changes to complete the transition from BrowserControlMozillaShim to BrowserControlNativeShim.
1999-12-24 00:03:28 +00:00
edburns%acm.org
48f0c882b9 r=marklin
a=edburns

Get webclient working againg with tbogard's help on what has changed with webshell.
1999-12-23 23:40:57 +00:00
edburns%acm.org
79be9d7781 r=marklin
Change BrowserControlMozillaShim to BrowserControlNativeShim.
1999-12-23 04:09:40 +00:00
mark.lin%eng.sun.com
0b03c57e3d Fixed webclient on Unix bustage. 1999-12-21 22:20:19 +00:00
idk%eng.sun.com
fed97b7aa5 fix for 20686
one character fix.
changed return value from -1 to 0
1999-12-11 09:08:40 +00:00
idk%eng.sun.com
d92e391eca 21259
PlugletManager.getValue removed
1999-12-11 00:35:20 +00:00
idk%eng.sun.com
002f88f52e 21291
add on.
1999-12-11 00:09:16 +00:00
idk%eng.sun.com
2f403ee050 21291
org.mozilla.util.Debug renamed to
org.mozilla.util.DebugPluglet
Tests updated
1999-12-11 00:08:00 +00:00
idk%eng.sun.com
28b4d9acdd Followup bug 19559
Make pluglets using SuperWin
1999-12-09 00:58:30 +00:00
edburns%acm.org
241e1369ab This change is not related to SeaMonkey, so it can't break the build.
r=marklin
a=edburns
bug=20659

added #ifdef XP_UNIX for GTK_MOZAREA stuff.
1999-12-07 01:51:54 +00:00
edburns%acm.org
c18859f93a Changed comment in initialize. 1999-12-06 23:42:13 +00:00
edburns%acm.org
cc447ed81a r=marklin
a=edburns
bug=20659

Changes to bring webclient sort of up to working shape on unix.
1999-12-06 23:31:11 +00:00
edburns%acm.org
f4ca2206f2 r=marklin%eng.sun.com
a=edburns
bug=20659

Make BrowserControl vend a Canvas instead of
BrowserControlCanvas vending a BrowserControl.

This change has nothing to do with mozilla.  It's pure java.
1999-12-03 01:55:31 +00:00
idk%eng.sun.com
c70494d02f 20208
Add exception trowing in case
peer object is not existing. (Stream closed, not created, etc)
1999-12-02 23:20:29 +00:00
idk%eng.sun.com
8f05b00e04 20114
added null checking
1999-11-29 07:26:37 +00:00
akhil.arora%sun.com
d5ee52a5e8 19583 r=akhil.arora@sun.com fix=Igor Nekrestyanov <nis@sparc.spb.su>
A top-level make now builds everything, including linux
1999-11-25 00:39:38 +00:00
idk%eng.sun.com
17a7116704 18857
changed return value from 0 to -1
1999-11-24 03:36:06 +00:00
idk%eng.sun.com
7666a6499e 18963
Litle fix. Fixed typo
1999-11-24 03:30:34 +00:00
akhil.arora%sun.com
988ff3795a r=akhil.arora@sun.com fix=Denis Sharypov <sdv@sparc.spb.su>
Added some new tests.
1999-11-22 22:10:44 +00:00
akhil.arora%sun.com
0a4485be61 19304 r=akhil.arora@sun.com fix=Denis Sharypov <sdv@sparc.spb.su>
Forgot to commit these two files that are part of the conversion to an
  xpcom module.
1999-11-22 22:06:46 +00:00
akhil.arora%sun.com
c5ecba9c55 19305 r=akhil.arora fix=Denis Sharypov <sdv@sparc.spb.su>
Use QI to check for nsIWebShell before casting. Safer.
1999-11-22 22:05:31 +00:00
akhil.arora%sun.com
0b50b6daa1 19578 r=akhil.arora@sun.com fix=Denis Sharypov <sdv@sparc.spb.su>
Defer deleting the current element until the next iteration so that we can
  dereference the element first to get to the next element.
1999-11-22 22:01:23 +00:00
idk%eng.sun.com
fa8acb89a7 19465
Port pluglets to linux and Solaris
(This is not part of the build)
Oups. I fogot to add this file
1999-11-20 23:20:27 +00:00
idk%eng.sun.com
ab99cae7bf 19465
Port pluglets to linux and Solaris
(This is not part of the build)
1999-11-20 23:19:40 +00:00
akhil.arora%sun.com
95cb81ad53 fix=Denis Sharypov <sdv@sparc.spb.su> r=akhil.arora@sun.com
19304 convert java dom api to an xpcom module
19305 synchronize with interface changes in nsIDocumentLoaderObserver
1999-11-19 02:17:28 +00:00
idk%eng.sun.com
7b317c949b no bug id
fixed typo OJI_DISABLED->OJI_DISABLE
1999-11-18 00:32:33 +00:00
idk%eng.sun.com
218a550f35 no bug id
converted pluglet runner to XPCOM module
(see bug 15217)
(not a part of regular build)
1999-11-16 10:44:25 +00:00
akhil.arora%sun.com
45c92f0b12 17549 r=akhil.arora@sun.com fix=Igor Nekrestyanov <nis@sparc.spb.su>
Maintain association of java dom listeners with native dom nodes
1999-11-15 21:12:49 +00:00
akhil.arora%sun.com
916dbccfaa 17873 r=akhil.arora@sun.com fix=Denis Sharypov <sdv@sparc.spb.su>
Remove duplicate declaration of cvalue
1999-11-11 22:35:14 +00:00
akhil.arora%sun.com
2bb06eb52f 18076 r=Igor Nekrestyanov <nis@sparc.spb.su> fix=akhil.arora@sun.com
Handle Unicode string correctly in javaDOMEventsGlobals.cpp
18072 r=akhil.arora@sun.com fix=Igor Nekrestyanov <nis@sparc.spb.su>
Sync with changes in Mozilla's DOM Event interfaces
1999-11-11 22:28:56 +00:00
idk%eng.sun.com
d42626379d 17316
Class names updated (see 18180)

a=laa@sparc.spb.su
r=idk@eng.sun.com
1999-11-10 00:27:00 +00:00
idk%eng.sun.com
2355e40025 bug 17859
Added null checking
1999-11-09 10:42:36 +00:00
idk%eng.sun.com
12b30bdf0b bug 18180
Names changed
Pluglet->PlugletFactory, *PlugletInstance*->*Pluglet*
1999-11-09 10:28:46 +00:00
dmose%mozilla.org
ec37cbfc25 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:47:15 +00:00
dmose%mozilla.org
297dabc11c updated license boilerplated to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:24:22 +00:00
akhil.arora%sun.com
90b312601f 17610 r=akhil.arora@sun.com, fix=Denis Sharypov <sdv@sparc.spb.su>
Cosmetic changes to remove warnings generated by Visual C++ compiler
Do not link with unneccessary library raptorgfx in makefile.win
Use JAVAHOME to point to JDK instead of hardcoding the path
1999-11-02 18:52:14 +00:00
akhil.arora%sun.com
4376a6553f 17610 r=Denis Sharypov <sdv@sparc.spb.su>
Make code const correct to remove warnings from workshop 5.0 compiler
1999-11-02 18:42:53 +00:00
idk%eng.sun.com
ccd5e48e64 17747
Added "ifdef OJI_DISABLE"
in case OJI_DISABLE we will have binaries working without oji
Apdated README
1999-11-02 08:07:09 +00:00
idk%eng.sun.com
628d944625 fix for 17454
changed strncmp to PL_strncasecmp
1999-11-01 20:04:57 +00:00
idk%eng.sun.com
de0a04d4ec fix for 17449
added checkings for NULL
1999-11-01 19:39:26 +00:00
akhil.arora%sun.com
7522cf2f3a r=akhil.arora@sun.com, fix by Denis Sharypov <sdv@sparc.spb.su>
13271: the wrong method was being called in ProcessingInstructionImpl.cpp
13338: handle null input arguments gracefully without crashing
1999-10-30 02:14:28 +00:00
edburns%acm.org
1f6bf5df5a r=marklin
#17358
approver=edburns
author=edburns

This fix enables webclient to work with the latest mozilla.  For now.
1999-10-29 22:51:06 +00:00
akhil.arora%sun.com
399470f1e9 updated list of things todo, removing stuff that has been done 1999-10-28 20:28:20 +00:00
akhil.arora%sun.com
bba7c4f82a r=akhil.arora@sun.com By Igor Nekrestyanov <nis@sparc.spb.su>
Minor changes to handle unicode strings properly
1999-10-28 20:26:27 +00:00
idk%eng.sun.com
9a0ea9e80a bugId 17329
Added PlugletSecurityContext class.
Set ProxyJNI security context to PlugletSecurityContext
(see 15902)
1999-10-27 09:33:06 +00:00
idk%eng.sun.com
fe0870f4df bugId 17316
Added 4 demo pluglets
a = laa@sparc.spb.su
r = idk@eng.sun.com
1999-10-27 09:10:36 +00:00
akhil.arora%sun.com
c478236f6f 15579 r=akhil.arora@sun.com Checkin by Igor Nekrestyanov <nis@sparc.spb.su>
Implementation of DOM Events from the W3c DOM Level 2 current working draft
1999-10-25 22:42:40 +00:00
edburns%acm.org
8ba6c6ed1e bug: 16842
reviewer: edburns
approver: edburns

Changed raptor to gk in makefile as appropriate.
1999-10-20 22:02:34 +00:00
leila.garin%eng.sun.com
3bb2393d1b Added BWTestThread.java in makefiles, removed print stmt. from TestLoader 1999-10-20 17:21:23 +00:00
edburns%acm.org
e681c419cb Added Swing webclient test code and windows makefile mods.
Author=Ann Sunhachawee
r=edburns@acm.org
Approver=edburns@acm.org
Bug=http://bugzilla.mozilla.org/show_bug.cgi?id=16842
1999-10-20 00:49:28 +00:00
leila.garin%eng.sun.com
252a214c3b New perl automated script. 1999-10-19 18:48:53 +00:00
akhil.arora%sun.com
edaf13bc23 16427 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
Found some more instances where the DOM spec says that it is not an error
  to return a NULL. Do not throw exceptions in these cases.
1999-10-18 21:53:20 +00:00
akhil.arora%sun.com
bae9a68357 16488 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
Copy/Paste error- createEntityReference was calling the wrong coreDOM method
1999-10-18 21:44:57 +00:00
akhil.arora%sun.com
6796abc2ac 13260 r=akhil.arora@sun.com Fixed by Denis Sharypov <sdv@sparc.spb.su>
Added checks for integer arguments being outside of legal range and
  throw exceptions if not.
1999-10-15 21:25:56 +00:00
akhil.arora%sun.com
e6c5833e3f 16426 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
The class java.lang.RuntimeException was not being pinned
1999-10-15 01:47:04 +00:00
akhil.arora%sun.com
fb9ab8d4ae 16427 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
Check before dereferencing a NULL pointer.
1999-10-15 01:43:24 +00:00
akhil.arora%sun.com
7a7042221f 16424 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
Fix two problems that kept the code from compiling on Win32
1999-10-15 01:38:42 +00:00
idk%eng.sun.com
b039809b7e Fix 16230
Call AddRef for newly created PlugletInsance
r = akhil.arora@sun.com
1999-10-12 23:01:44 +00:00
idk%eng.sun.com
c78c57dc07 Bug <a href=http://bugzilla.mozilla.org/show_bug.cgi?id=15892> 15892 </a>
increment pointer to  mime description string before calling strchr
1999-10-12 03:29:27 +00:00
akhil.arora%sun.com
97c680d163 Fixes Bug 15837 by instantiating the proper subtype of Node instead of Node.
Fixed by Igor Nekrestyanov <nis@sparc.spb.su>.
Reviewed by Akhil Arora <akhil.arora@sun.com>.
1999-10-08 23:22:52 +00:00
edburns%acm.org
a8e9d5219a 1999-10-07 <Ed Burns <ed.burns@sun.com>>
* This change fixes
 	http://bugzilla.mozilla.org/show_bug.cgi?id=15793 which caused one
 	to have to copy the component.reg and components directory.  It
 	also causes webclient to do autoregistration.  It also adds a
 	debugging method to BrowserControlMozillaShim.java
 	nativeDebugBreak().

	This changes makes webclient depend on having mozilla sources from
 	10/5/99 or later.

	Reviewed by Mark Lin <marklin@eng.sun.com>
	Approved by Ed Burns <edburns@acm.org>, module owner
1999-10-08 00:52:53 +00:00
edburns%acm.org
f0c6611e7a 1999-10-07 <Ed Burns <ed.burns@sun.com>>
* This change fixes
 	http://bugzilla.mozilla.org/show_bug.cgi?id=15793 which caused one
 	to have to copy the component.reg and components directory.  It
 	also causes webclient to do autoregistration.  It also adds a
 	debugging method to BrowserControlMozillaShim.java
 	nativeDebugBreak().

	This changes makes webclient depend on having mozilla sources from
 	10/5/99 or later.

	Reviewed by Mark Lin <marklin@eng.sun.com>
	Approved by Ed Burns <edburns@acm.org>, module owner
1999-10-08 00:48:01 +00:00
frankm%eng.sun.com
ff41abd7f6 To compile on Linux, renamed 'jarray' to 'theJarray' (jarray is a JNI type), and made sure all paths in xpjd_GetInterfaceInfoNative() return a jboolean (bug 15279).
Updated genproxy usage message, and moved printf within cmdline parsing code (bug 15386).
r=edburns@acm.org,akhil.arora@sun.com perm=scc
1999-10-02 00:18:02 +00:00
idk%eng.sun.com
d73fd8281c Implemented some methods for PlugletManagerImpl 1999-09-28 05:23:02 +00:00
akhil.arora%sun.com
5a869bbb82 just keeping up with changes in nsWebShell.cpp 1999-09-25 03:36:04 +00:00
idk%eng.sun.com
dd3ecbe58a Add Registry class for storing information about java-c++
objects binding
1999-09-25 02:53:56 +00:00
akhil.arora%sun.com
9f51d70e13 Denis Sharypov <sdv@sparc.spb.su> implemented DOMExceptions 1999-09-25 02:35:56 +00:00
akhil.arora%sun.com
7b7659fb94 fix solaris makefiles 1999-09-25 01:45:46 +00:00
idk%eng.sun.com
aed47e4f8d Removed hack for jdk
updated readme file
1999-09-24 04:12:09 +00:00
idk%eng.sun.com
af6e47a770 Added PlugletPolicy class.
Granted AllPermissions for each pluglet
1999-09-24 04:10:00 +00:00
idk%eng.sun.com
19af9c48a6 apdated test 1999-09-23 06:38:06 +00:00
idk%eng.sun.com
05c1e4066b Add support for multiple pluglets
add some checkings
1999-09-23 06:17:12 +00:00
idk%eng.sun.com
9271673e45 bug fix.
Call AddRef for StreamListener in PlugletInstance.NewStream
1999-09-22 20:16:11 +00:00
idk%eng.sun.com
a1e921bd32 Moved to OJI.
Added  AWT support.
Added some classes
1999-09-17 18:41:34 +00:00
frankm%eng.sun.com
926dd894bf Modularize code (somewhat), general cleanup. Proxy-related code has
been moved to xpj_proxy.c, code used only for testing has been copied
into xptest.cpp, and each "module" now has its own header (for internal
use only).
1999-09-16 18:50:27 +00:00
akhil.arora%sun.com
c837bf1e92 Denis Sharypov <sdv@sparc.spb.su> - first check-in for DOMExceptions 1999-09-15 20:43:02 +00:00
frankm%eng.sun.com
9f88f309ff Some cleanup, and update to new mozilla source. In particular:
- Removed #if 0 code in genproxy.c and elsewhere.

- Used jlong_* macros for portability (and defined in xpjava.h if not
  elsewhere)

- Commented out calls to PR_Atomic{In,De}crement in JSSample.cpp, and began
  to use "official" XPCOM macros.

- Removed Java interfaces for test components; will be autogenerated by
  xpidl and/or genproxy.

- Extend genproxy to generate interfaces.

- Updated README with note on the jni.h problem
1999-09-14 21:56:19 +00:00
akhil.arora%sun.com
b1a8c8c03e use unicode for dom strings 1999-09-14 21:25:47 +00:00
idk%eng.sun.com
0369f97466 Added PlugletTagInfo
Updated test.java
Fixed some build problems
1999-09-11 23:47:47 +00:00
akhil.arora%sun.com
d04756c799 replace nsString.ToNewCString with GetBuffer 1999-09-10 22:57:12 +00:00
akhil.arora%sun.com
9eaa7723e5 updated patch to keep up with changes in webshell/src/nsWebShell.cpp 1999-09-10 20:45:52 +00:00
akhil.arora%sun.com
e6bea16a20 Denis Sharypov <sdv@sparc.spb.su> eliminated redundant finalize methods 1999-09-10 20:11:45 +00:00
frankm%eng.sun.com
e3b020ee93 Make xpj*.cpp compile against Mozilla's jni.h on Solaris (where jlong is
apparently a struct rather than "long long").
1999-09-09 22:38:04 +00:00
mark.lin%eng.sun.com
8357d9dab9 updated library names for Makefile.unix. 1999-09-08 22:18:13 +00:00
idk%eng.sun.com
2df291f04e Add this files 1999-09-08 00:21:03 +00:00
leila.garin%eng.sun.com
c0413c933f Updated PATH variable. 1999-09-07 20:42:23 +00:00
akhil.arora%sun.com
e2e95d76f3 Nikolay Igotti <inn@sparc.spb.su> found a bug in the implementation of equals 1999-09-03 22:19:40 +00:00
edburns%acm.org
509487f95d Added Mark Goddard from OMTP's changes to add "Refresh" to API and implementation.
Also added Refresh button to EmbeddedMozilla.
1999-09-03 19:28:47 +00:00
idk%eng.sun.com
689cb75c56 Add implemenataion of PlugletInputStream and PlugletStreamInfo 1999-09-02 03:36:53 +00:00
edburns%acm.org
3acb87f36d Removed antiquated libs 1999-09-02 02:40:59 +00:00
akhil.arora%sun.com
8b5b6c05e4 enable Notations 1999-09-02 01:41:22 +00:00
akhil.arora%sun.com
4af795bbeb minor bug fix 1999-09-02 01:40:15 +00:00
akhil.arora%sun.com
9e546ecef1 cast to void** not needed anymore for the vc++ 6.0 compiler 1999-09-02 01:36:25 +00:00
leila.garin%eng.sun.com
13c9e638e9 *** empty log message *** 1999-09-01 23:17:55 +00:00
leila.garin%eng.sun.com
0e24dc8df9 *** empty log message *** 1999-09-01 22:57:06 +00:00
leila.garin%eng.sun.com
25dd99949e New file 1999-09-01 22:56:30 +00:00
leila.garin%eng.sun.com
619c0795e2 New File 1999-09-01 22:55:58 +00:00
idk%eng.sun.com
94c7519104 oops. I fogot to add this file. 1999-09-01 05:10:02 +00:00
mark.lin%eng.sun.com
64efaa1ee1 Updated makefile. Need to refrence /usr/lib/libC directly. 1999-08-31 22:16:17 +00:00
mark.lin%eng.sun.com
b4031a8bc4 Updated makefile.solaris to use workshop compilers. 1999-08-31 22:05:56 +00:00
idk%eng.sun.com
c7b4af8cda fogot to add this file, sorry. 1999-08-30 19:04:59 +00:00
idk%eng.sun.com
767abe9d28 Initial pluglets checkin. 1999-08-28 04:39:56 +00:00
akhil.arora%sun.com
9ebb081112 Deleted task equals and hashCode. Done. 1999-08-25 01:39:33 +00:00
akhil.arora%sun.com
47e90b1ee0 Implemented equals and hashCode for NodeList and DOMImplementation 1999-08-25 01:28:48 +00:00
akhil.arora%sun.com
f35371bba9 Timothy Tully implemented equals and hashCode methods for Node. 1999-08-24 23:54:26 +00:00
akhil.arora%sun.com
cb9bd6e536 1. Keep up with interface change in nsIDocumentLoaderObserver.
2. Fix lots of bugs.
3. Implement Entities and Notations.
1999-08-23 19:27:48 +00:00
mark.lin%eng.sun.com
18f7f3f6d3 Updated Makefile.unix. 1999-08-20 17:34:22 +00:00
mark.lin%eng.sun.com
1940e9a4d8 Don't need this anymore. It should get updated dynamically. 1999-08-18 23:24:20 +00:00
mark.lin%eng.sun.com
a61f4da753 This should make sure nsSetupRegistry.cpp gets updated. 1999-08-18 23:22:27 +00:00
frankm%eng.sun.com
81d9b36975 Updated README with extra caveats; TODO marks stable compilation as "done". 1999-08-18 17:58:55 +00:00
mark.lin%eng.sun.com
70465b0ed3 Fixed the bug where the page the user specifies from the command line wouldn't open. 1999-08-16 23:26:40 +00:00
mark.lin%eng.sun.com
b19f2e524f Added stuff to LD_LIBRARY_PATH 1999-08-16 23:23:06 +00:00
frankm%eng.sun.com
ec3044c277 Added java/Makefile.in, java/xpcom/TODO; minor correctoiosn to java/xpcom/README.
Fix libxpjava.so JNI and linking problems.
1999-08-13 23:36:09 +00:00
mark.lin%eng.sun.com
b3617b8a65 Oops, forgot to add this file. 1999-08-13 23:21:19 +00:00
edburns%acm.org
f1a0c2aa33 THIS FILE IS NOT IN THE BUILD!
Corrected typo.
1999-08-13 23:10:43 +00:00
edburns%acm.org
e2280de93d THIS FILE IS NOT IN THE BUILD!
Added Scott Holmes's changes, replacing hard coded WIN32_D.OBJ with
$(DIST).
1999-08-13 23:09:21 +00:00
mark.lin%eng.sun.com
35be769048 Rearchitected the way Mozilla events are delivered in the Unix Motif port.
Events are now handled by a Java Thread.
1999-08-13 23:02:40 +00:00
mark.lin%eng.sun.com
56faaa17b3 Rearchitected the way the Mozilla event thread is run. I'm using
a Java Thread now instead to control Mozilla/GTK events.
1999-08-13 23:01:49 +00:00
mark.lin%eng.sun.com
284de736fe Merged in Kirk's changes. 1999-08-13 17:53:43 +00:00
mark.lin%eng.sun.com
3b89687e72 Should not be setting className to null if we get an exception. 1999-08-12 21:29:15 +00:00
mark.lin%eng.sun.com
2b13d35549 Added warning about gtk-config in Unix makefile 1999-08-12 19:37:23 +00:00
mark.lin%eng.sun.com
072623f46c Added more things to make it run on solaris. 1999-08-12 19:19:18 +00:00
mark.lin%eng.sun.com
ffcb33c5aa Updated these files. 1999-08-12 19:08:39 +00:00
mark.lin%eng.sun.com
40667b1692 Solaris runem file 1999-08-12 18:56:45 +00:00
mark.lin%eng.sun.com
5000b5ca50 Added solaris makefile. 1999-08-12 18:56:09 +00:00
edburns%acm.org
76832ecb8b This fix is for http://bugzilla.mozilla.org/show_bug.cgi?id=5429.
This fix enables the Tasks->Java Console menu item to show the Java
Console provided by the JRE plugin if it is installed.

It also exposes nsIJVMManager as a full XPIDL citizen, with the progid
component://netscape/oji/jvm-mgr.  see modules/oji/public/nsIJVMManager.idl
for the methods that can be called.

Thanks to Trevor, John Bandauer, Brendan Eich and Robert Yang.
1999-08-12 01:56:18 +00:00
mark.lin%eng.sun.com
16ed431ace updated run script 1999-08-11 17:55:18 +00:00
frankm%eng.sun.com
0ea0f6a581 Initial, semiworking checkin of Java Bridge work. 1999-08-11 02:21:05 +00:00
mark.lin%eng.sun.com
60ff6cd136 Found a bug in the runem.unix script. 1999-08-11 00:12:59 +00:00
mark.lin%eng.sun.com
07c7783444 Updated event loop stuff so that it's easier to read.
Also made it compilable with latest mozilla source.
Haven't tested yet on windows though.
1999-08-10 23:54:38 +00:00
mark.lin%eng.sun.com
02e680020b Damn! Forgot to add these files.. 1999-08-10 20:15:10 +00:00
mark.lin%eng.sun.com
f72125c88e oops, forgot to checkin these files. 1999-08-10 18:56:53 +00:00
mark.lin%eng.sun.com
bcfd2c0e04 Oopps, forgot to checkin these files... 1999-08-10 18:55:01 +00:00
mark.lin%eng.sun.com
e0a370e2d4 Added port to Linux. 1999-08-10 03:59:07 +00:00
akhil.arora%sun.com
7cfda6454b added a list of things to do 1999-08-06 19:18:58 +00:00
akhil.arora%sun.com
ba808883a8 initial check-in of the java dom api (not part of regular build) 1999-08-06 00:28:53 +00:00
edburns%acm.org
dd929fddc0 Made changes to allow building on jdk1.1.7 or jdk1.2. Basically, accounted
for the presence or absence of a classes.zip file.
1999-07-30 22:00:20 +00:00
edburns%acm.org
64ef3a02bf Initial checkin of Java Util classes and the Java Wrapper to WebShell
Util docs:  http://www.mozilla.org/projects/blackwood/java-util/
Java Wrapper to WebShell docs: http://www.mozilla.org/projects/blackwood/webclient/
1999-07-30 01:03:12 +00:00