Граф коммитов

685 Коммитов

Автор SHA1 Сообщение Дата
sdv%sparc.spb.su 1f3d2a167c updated makefiles 2000-03-28 05:11:02 +00:00
sdv%sparc.spb.su f2a99e4c3e keeping track with mozilla interface changes 2000-03-28 04:55:38 +00:00
sdv%sparc.spb.su ee2dfe8700 added new methods from the recent w3c
java binding
2000-03-28 02:11:13 +00:00
edburns%acm.org 8305c05bc3 I really meant to check in this one. 2000-03-27 20:28:21 +00:00
rpallath%eng.sun.com b79d5bb0b8 Removed Control-M characters 2000-03-23 23:24:32 +00:00
edburns%acm.org 8debd911c6 bug=33093
a=edburns
r=ashuk

Force prefs to be read, causing the proxy data to be read.
2000-03-23 23:08:35 +00:00
edburns%acm.org 226e980797 bug=33093
a=edburns
r=ashuk

Force prefs to be read, causing the proxy data to be read.
2000-03-23 22:57:57 +00:00
edburns%acm.org 97880eb454 r=ashuk
a=edburns
bug=32011
This change enables the current webclient API to be called from native
code.

It adds makefile and conditional compilation logic.

If the user defines BAL_INTERFACE in their environment before building
webclient, -DBAL_INTERFACE is added to LCFLAGS.  This causes code in
jni_util_export.cpp to behave differently due to the conditional
compilation logic.

I've broken out the 8 functions that are necessary to call into the
Webclient JNI methods into jni_util_export.{h,cpp}.

I've created a new pair of files, bal_util.{h,cpp} that contain function
declarations and definitions that are used when src_moz is built with
BAL_INTERFACE.  bal_util.obj is not built, nor added to webclient.dll if
building without BAL_INTERFACE.

See the page
http://www.mozilla.org/projects/blackwood/webclient/design/uno-transition.html
for a design document description of these changes.
2000-03-21 19:27:13 +00:00
idk%eng.sun.com 6b8fc4b5e8 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 ac5c60ce24 dding new files 2000-03-17 00:27:29 +00:00
rpallath%eng.sun.com f53326f27d dding new files for Java Plugins 2000-03-17 00:17:17 +00:00
edburns%acm.org 1cb45027a0 bug=32011
r=ashuk
a=edburns
This set of changes replaces all occurrences of

env->Func(args...)

with

::util_Func(env, args...)

Except of course, for the implementations of the above mentioned
::util_Func() functions.

This is done to allow the JNI functions to be called from a non JNI
context, such as UNO.
2000-03-16 23:07:03 +00:00
rpallath%eng.sun.com 989b16e4f2 *** empty log message *** 2000-03-16 23:05:30 +00:00
rpallath%eng.sun.com dd2daddc16 Added new files 2000-03-16 22:54:41 +00:00
rpallath%eng.sun.com b31c2a27ad . 2000-03-16 22:42:09 +00:00
rpallath%eng.sun.com 26976216de *** empty log message *** 2000-03-16 22:16:08 +00:00
rpallath%eng.sun.com 2c28336f59 *** empty log message *** 2000-03-16 22:11:53 +00:00
rpallath%eng.sun.com 462788d6ee Pluglet API tests 2000-03-16 22:06:17 +00:00
sdv%sparc.spb.su 4a530bd8e0 added target to make java classes on windows 2000-03-13 23:03:07 +00:00
edburns%acm.org 8f986c0f07 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 1072637f9a 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 1fe821d51c 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 2d0c6834f0 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 a783dc2393 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 2e656bb727 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 502f0e0575 Changed NULL to nsnull, so it would build with gcc.
.
2000-03-08 18:54:00 +00:00
ashuk%eng.sun.com c4b109d817 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 a162d16554 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 de8a825d98 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 6ee91c835d 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 e39f366367 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 47d84ba5d3 NOT IN SeaMonkey
Added // PENDING comment
2000-03-07 22:32:27 +00:00
ashuk%eng.sun.com 09b2307321 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 45ce84a34f 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 5ff64a96cb 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 05667b6516 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 229256c605 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 67a48817be 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 daf6f29e27 a=edburns
r=ashuk
bug=2069

Native code for spec compliant webclient impl.
2000-03-04 01:37:20 +00:00
edburns%acm.org e4349bb561 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 e755333074 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 e7b3aa53ad Put #include <unistd.h> inside #ifdef XP_UNIX 2000-02-18 19:33:28 +00:00
edburns%acm.org 2a216d23c1 Removed import org.mozilla.webclient.motif.* 2000-02-18 19:32:22 +00:00
edburns%acm.org 01cdae7df9 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 252488c5aa 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 ed9c6a631c Added try/catch block 2000-02-17 01:33:09 +00:00
rpallath%eng.sun.com d60154d2be Changed the null check condition.
For HTML, doctype is alwasy null
2000-02-17 01:13:03 +00:00
leila.garin%eng.sun.com 1404521315 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 c28fde0881 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 6ab69eb8d0 Added entries for new test cases. 2000-02-16 23:17:53 +00:00
rpallath%eng.sun.com 0073c97cc7 New Test Cases for all UNSUPPORTED methods 2000-02-16 22:58:27 +00:00
leila.garin%eng.sun.com 838bc614f1 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 0fed3c2ad9 addon fix to bug 13338 2000-02-16 00:45:37 +00:00
idk%eng.sun.com 707030a57c 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 34d719c42b 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 632838b9e9 Replaced old TestLoader with new TestLoader 2000-02-15 18:57:28 +00:00
sdv%sparc.spb.su aae07fabe7 - 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 da1a9738e5 addon fix to bug 13338. 2000-02-12 01:11:48 +00:00
leila.garin%eng.sun.com a3a43fddcd Added getElementById method due to change in JavaDOM adhering to W3C specs. 2000-02-12 00:08:52 +00:00
sdv%sparc.spb.su 335c6a2d1e 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 dc8f182923 fix for bug 24723 2000-02-10 01:13:57 +00:00
sdv%sparc.spb.su 938ca89e34 fix for bug 22532 2000-02-10 01:12:21 +00:00
idk%eng.sun.com 5a46488e63 Fixed problem with loadaing pluglets.
changed "file://" to "file:"
2000-02-09 03:39:45 +00:00
idk%eng.sun.com 43bfb4edc0 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 5337e84f5b fix for bug 26895 2000-02-08 03:05:04 +00:00
sdv%sparc.spb.su cef12cb99b fix for bug 26899 2000-02-08 02:40:01 +00:00
nis%sparc.spb.su c25783003a Added workaround to get JavaDOM to work on Linux. 2000-02-04 17:23:51 +00:00
idk%eng.sun.com 98658367b3 Added makefiles for examples 2000-01-31 21:47:29 +00:00
laa%sparc.spb.su 1121925eee 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 58a9ca3613 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 fcced6a781 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 d256e7f83f 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 eab4dca545 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 035e48ae34 Fix for 25069
Added null pointer checking
2000-01-27 05:42:56 +00:00
idk%eng.sun.com d3837ad12e 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 dce60aa1eb 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 bd14648073 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 521f7692d8 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 086227c3a8 Added RunTimeException handling 2000-01-22 00:20:21 +00:00
leila.garin%eng.sun.com 07d60bd722 Removed NodeImpl_equals_3 2000-01-20 22:35:25 +00:00
leila.garin%eng.sun.com f460b38b00 changed PASS/FAIL conditions and add print statments 2000-01-20 22:32:20 +00:00
leila.garin%eng.sun.com d6ae3f8f5c Added package entry 2000-01-19 17:42:45 +00:00
leila.garin%eng.sun.com ef6eae13b0 obselete 2000-01-18 22:54:13 +00:00
leila.garin%eng.sun.com ac2eb1fbd0 Obselete 2000-01-18 22:53:14 +00:00
leila.garin%eng.sun.com 7bdea8249b Obselete file 2000-01-18 22:52:04 +00:00
idk%eng.sun.com 73ca5de176 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 2798a07fb7 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 eadefa0213 Added Makefiles and license information
Added hacked DocumentImpl
2000-01-18 22:35:59 +00:00
idk%eng.sun.com 517668af8a fix for 20681
Added exception throwning to PlugletInputStream.reset method
2000-01-18 20:18:39 +00:00
idk%eng.sun.com 8d0fa6e9fc fix for 21294
Changed method supportedURLProtocol to isURLProtocolSupported
2000-01-18 07:37:37 +00:00
idk%eng.sun.com 284dc017b8 fix for 18861
Convert ByteRanges to class (was interface)
2000-01-18 07:28:22 +00:00
idk%eng.sun.com 3a347dc2bd 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 4b18cc3e7b This is updated source code with comments.
r=idk@eng.sun.com
2000-01-13 22:54:46 +00:00
edburns%acm.org 3edfc17d1a More simple name change changes. 2000-01-07 00:44:24 +00:00
edburns%acm.org 2865ae33df Changed MozillaEventThread.h to NativeEventThread.h 2000-01-06 22:52:03 +00:00
edburns%acm.org aaa22eb60f Change to new NS_InitXPCOM argument.
r=dp
b=23157
a=edburns
2000-01-06 22:45:48 +00:00
edburns%acm.org 234aee233c account for nsIDocumentLoaderObserver API changes. 2000-01-05 20:25:29 +00:00
edburns%acm.org 2d67316d0f r=marklin
a=edburns

Changes to complete the transition from BrowserControlMozillaShim to BrowserControlNativeShim.
1999-12-24 00:03:28 +00:00
edburns%acm.org 48aba00575 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 5ebddaa443 r=marklin
Change BrowserControlMozillaShim to BrowserControlNativeShim.
1999-12-23 04:09:40 +00:00
mark.lin%eng.sun.com 3683cd5252 Fixed webclient on Unix bustage. 1999-12-21 22:20:19 +00:00
idk%eng.sun.com afe630c943 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 ef64028dc2 21259
PlugletManager.getValue removed
1999-12-11 00:35:20 +00:00
idk%eng.sun.com 5c9350daad 21291
add on.
1999-12-11 00:09:16 +00:00
idk%eng.sun.com 8afd0b753e 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 6e351ee794 Followup bug 19559
Make pluglets using SuperWin
1999-12-09 00:58:30 +00:00
edburns%acm.org cd7c5bc466 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 1526455072 Changed comment in initialize. 1999-12-06 23:42:13 +00:00
edburns%acm.org d95b24a1a5 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 375b331d9b 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 83fe170a5e 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 96e688a798 20114
added null checking
1999-11-29 07:26:37 +00:00
akhil.arora%sun.com 705b9d7627 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 fb135d43ef 18857
changed return value from 0 to -1
1999-11-24 03:36:06 +00:00
idk%eng.sun.com 02042ff9ec 18963
Litle fix. Fixed typo
1999-11-24 03:30:34 +00:00
akhil.arora%sun.com 21d83ae88b 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 45edacb89a 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 b852ebcc9c 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 8ef657a0fa 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 8510117903 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 b6fdc882a9 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 e0273c4240 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 6298d2d16f no bug id
fixed typo OJI_DISABLED->OJI_DISABLE
1999-11-18 00:32:33 +00:00
idk%eng.sun.com 96d07ef946 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 1b216f8b88 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 992ecf90e7 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 fd633fff23 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 05c81d0ceb 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 ff94415141 bug 17859
Added null checking
1999-11-09 10:42:36 +00:00
idk%eng.sun.com 974e9b7264 bug 18180
Names changed
Pluglet->PlugletFactory, *PlugletInstance*->*Pluglet*
1999-11-09 10:28:46 +00:00
dmose%mozilla.org 7a91d8fab2 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 282cd28be9 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 bfa21760d8 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 f709b3f555 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 f4762f893d 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 8409a939b0 fix for 17454
changed strncmp to PL_strncasecmp
1999-11-01 20:04:57 +00:00
idk%eng.sun.com b471d3cb51 fix for 17449
added checkings for NULL
1999-11-01 19:39:26 +00:00
akhil.arora%sun.com 66c3fae066 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 ca920e09ec 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 2436a2ded9 updated list of things todo, removing stuff that has been done 1999-10-28 20:28:20 +00:00
akhil.arora%sun.com 85556970cf 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 859ff4e6c3 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 23c2e04f3c 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 1f5ecb584e 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 73d5b309b5 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 58a169ea82 Added BWTestThread.java in makefiles, removed print stmt. from TestLoader 1999-10-20 17:21:23 +00:00
edburns%acm.org a9d0ccb59a 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 b1a073428e New perl automated script. 1999-10-19 18:48:53 +00:00
akhil.arora%sun.com 2f4bfeb73b 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 5b32d2df30 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 488348911c 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 8413fee16d 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 d91d37ae36 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 83fc28178b 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 8ed18ad12a 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 71cac832e6 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 2712273f95 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 9b8cfd3205 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 e9f2d9bf51 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 6013736468 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 12a5c9b7c7 Implemented some methods for PlugletManagerImpl 1999-09-28 05:23:02 +00:00
akhil.arora%sun.com 8330741739 just keeping up with changes in nsWebShell.cpp 1999-09-25 03:36:04 +00:00
idk%eng.sun.com 150c6a83c3 Add Registry class for storing information about java-c++
objects binding
1999-09-25 02:53:56 +00:00
akhil.arora%sun.com 34210ce650 Denis Sharypov <sdv@sparc.spb.su> implemented DOMExceptions 1999-09-25 02:35:56 +00:00
akhil.arora%sun.com b60c56a589 fix solaris makefiles 1999-09-25 01:45:46 +00:00
idk%eng.sun.com 0240183dd9 Removed hack for jdk
updated readme file
1999-09-24 04:12:09 +00:00
idk%eng.sun.com a057352358 Added PlugletPolicy class.
Granted AllPermissions for each pluglet
1999-09-24 04:10:00 +00:00
idk%eng.sun.com 2404bef511 apdated test 1999-09-23 06:38:06 +00:00
idk%eng.sun.com 7322cef7c0 Add support for multiple pluglets
add some checkings
1999-09-23 06:17:12 +00:00
idk%eng.sun.com 410a7b9dcc bug fix.
Call AddRef for StreamListener in PlugletInstance.NewStream
1999-09-22 20:16:11 +00:00
idk%eng.sun.com 53af58ae1c Moved to OJI.
Added  AWT support.
Added some classes
1999-09-17 18:41:34 +00:00
frankm%eng.sun.com 1f877c97be 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 3bafafa7ad Denis Sharypov <sdv@sparc.spb.su> - first check-in for DOMExceptions 1999-09-15 20:43:02 +00:00
frankm%eng.sun.com 566bb91973 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 5261b465f3 use unicode for dom strings 1999-09-14 21:25:47 +00:00
idk%eng.sun.com 154697eb02 Added PlugletTagInfo
Updated test.java
Fixed some build problems
1999-09-11 23:47:47 +00:00
akhil.arora%sun.com c0ac3881d7 replace nsString.ToNewCString with GetBuffer 1999-09-10 22:57:12 +00:00
akhil.arora%sun.com de6761eff5 updated patch to keep up with changes in webshell/src/nsWebShell.cpp 1999-09-10 20:45:52 +00:00
akhil.arora%sun.com 3749251458 Denis Sharypov <sdv@sparc.spb.su> eliminated redundant finalize methods 1999-09-10 20:11:45 +00:00
frankm%eng.sun.com 43fce1bd4a 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 64d031fc44 updated library names for Makefile.unix. 1999-09-08 22:18:13 +00:00
idk%eng.sun.com a94e7aa625 Add this files 1999-09-08 00:21:03 +00:00
leila.garin%eng.sun.com c264966a4f Updated PATH variable. 1999-09-07 20:42:23 +00:00
akhil.arora%sun.com f3816228a3 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 3d593c5de7 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 45b13a9b19 Add implemenataion of PlugletInputStream and PlugletStreamInfo 1999-09-02 03:36:53 +00:00
edburns%acm.org 60d0363f71 Removed antiquated libs 1999-09-02 02:40:59 +00:00
akhil.arora%sun.com 6dbd2308de enable Notations 1999-09-02 01:41:22 +00:00
akhil.arora%sun.com 771792c624 minor bug fix 1999-09-02 01:40:15 +00:00
akhil.arora%sun.com ff1495dd6e 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 53c09cac8a *** empty log message *** 1999-09-01 23:17:55 +00:00
leila.garin%eng.sun.com adeefac282 *** empty log message *** 1999-09-01 22:57:06 +00:00
leila.garin%eng.sun.com bf890c13f9 New file 1999-09-01 22:56:30 +00:00
leila.garin%eng.sun.com c3beda8a96 New File 1999-09-01 22:55:58 +00:00
idk%eng.sun.com bb1369f75b oops. I fogot to add this file. 1999-09-01 05:10:02 +00:00
mark.lin%eng.sun.com 7c7a8576f9 Updated makefile. Need to refrence /usr/lib/libC directly. 1999-08-31 22:16:17 +00:00
mark.lin%eng.sun.com 1b6cd28ba0 Updated makefile.solaris to use workshop compilers. 1999-08-31 22:05:56 +00:00
idk%eng.sun.com 40b41988ce fogot to add this file, sorry. 1999-08-30 19:04:59 +00:00
idk%eng.sun.com 4345ba6401 Initial pluglets checkin. 1999-08-28 04:39:56 +00:00
akhil.arora%sun.com 834b488286 Deleted task equals and hashCode. Done. 1999-08-25 01:39:33 +00:00
akhil.arora%sun.com f5a996562f Implemented equals and hashCode for NodeList and DOMImplementation 1999-08-25 01:28:48 +00:00
akhil.arora%sun.com 4e3cda1596 Timothy Tully implemented equals and hashCode methods for Node. 1999-08-24 23:54:26 +00:00
akhil.arora%sun.com b8c3511457 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 671f95b89d Updated Makefile.unix. 1999-08-20 17:34:22 +00:00
mark.lin%eng.sun.com d070b44190 Don't need this anymore. It should get updated dynamically. 1999-08-18 23:24:20 +00:00
mark.lin%eng.sun.com 5ec618bc42 This should make sure nsSetupRegistry.cpp gets updated. 1999-08-18 23:22:27 +00:00
frankm%eng.sun.com 553a296670 Updated README with extra caveats; TODO marks stable compilation as "done". 1999-08-18 17:58:55 +00:00
mark.lin%eng.sun.com 77786dedd3 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 f24f06a448 Added stuff to LD_LIBRARY_PATH 1999-08-16 23:23:06 +00:00
frankm%eng.sun.com 6d50dd4d70 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 d2956e5b96 Oops, forgot to add this file. 1999-08-13 23:21:19 +00:00
edburns%acm.org 55b29174c9 THIS FILE IS NOT IN THE BUILD!
Corrected typo.
1999-08-13 23:10:43 +00:00
edburns%acm.org 80fd56e534 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 b4cffd610f 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 7c7f47fff4 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 a193042e32 Merged in Kirk's changes. 1999-08-13 17:53:43 +00:00
mark.lin%eng.sun.com bfb9859657 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 69d601dbc0 Added warning about gtk-config in Unix makefile 1999-08-12 19:37:23 +00:00
mark.lin%eng.sun.com 5f299f02cc Added more things to make it run on solaris. 1999-08-12 19:19:18 +00:00
mark.lin%eng.sun.com 81e871861a Updated these files. 1999-08-12 19:08:39 +00:00
mark.lin%eng.sun.com 9ab9991bd3 Solaris runem file 1999-08-12 18:56:45 +00:00
mark.lin%eng.sun.com 30350191d7 Added solaris makefile. 1999-08-12 18:56:09 +00:00
edburns%acm.org 1706f2c458 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 a017f400b3 updated run script 1999-08-11 17:55:18 +00:00
frankm%eng.sun.com 239213f3b8 Initial, semiworking checkin of Java Bridge work. 1999-08-11 02:21:05 +00:00
mark.lin%eng.sun.com 6560062641 Found a bug in the runem.unix script. 1999-08-11 00:12:59 +00:00
mark.lin%eng.sun.com ed54a9de78 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 18bb6a4ea1 Damn! Forgot to add these files.. 1999-08-10 20:15:10 +00:00
mark.lin%eng.sun.com bccd161344 oops, forgot to checkin these files. 1999-08-10 18:56:53 +00:00
mark.lin%eng.sun.com ab10e4d206 Oopps, forgot to checkin these files... 1999-08-10 18:55:01 +00:00
mark.lin%eng.sun.com 3450a1e53a Added port to Linux. 1999-08-10 03:59:07 +00:00
akhil.arora%sun.com d20639c9b0 added a list of things to do 1999-08-06 19:18:58 +00:00
akhil.arora%sun.com b89b28f407 initial check-in of the java dom api (not part of regular build) 1999-08-06 00:28:53 +00:00
edburns%acm.org 7e54d200a1 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 a780fb92b5 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