Commit Graph

62985 Commits

Author SHA1 Message Date
wtc%netscape.com
94259b5fb6 Bugzilla bug #25981: sysconf(_SC_NPROC_ONLN) on SINIX-Z 5.42 and
SINIX-N 5.43 fails with EINVAL.  Don't know why.  So backed it out.
2000-05-26 01:10:23 +00:00
mscott%netscape.com
9a83c8c116 Bug #40516 --> remove the oncreate method for the email address popup.
r=sspitzer
2000-05-26 01:10:19 +00:00
mscott%netscape.com
e7202b38ea Bug #40516 --> fix aim presence for mail in the commercial tree.
Changes to make the toggle button an image instead of a button
r=sspitzer
2000-05-26 01:09:12 +00:00
mscott%netscape.com
00af024137 Bug #40516 --> this file is now obsolete....instead of having these
stub methods in the mozilla tree, we'll test to see if the function is
defined (it is in the  commercial tree) then call it if it is defined.
r=sspitzer
2000-05-26 01:08:38 +00:00
mscott%netscape.com
e3c62beaa4 Bug #40516 --> remove on create handler for email address popup.
r=sspitzer
2000-05-26 01:07:38 +00:00
wtc%netscape.com
3c63742edc Bugzilla bug #25981: made PR_GetNumberOfProcessors() work on HP-UX 10
and SINIX.  Changed _SC_NPROC_CONF to _SC_NPROC_ONLN.
2000-05-26 01:03:47 +00:00
dp%netscape.com
3a9b6ee54c Using singleton 1-byte unicode encoders and decoders. This will
eliminate creation of about 1000 objects on startup. r=waterson,cata a=waterson
2000-05-26 00:55:42 +00:00
joki%netscape.com
38497c25ca Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge 2000-05-26 00:26:54 +00:00
larryh%netscape.com
1b1926d7ed BugSplat 25981. Fix OS/2 Implementation 2000-05-26 00:24:21 +00:00
pinkerton%netscape.com
964a2311a5 File Removed. 2000-05-26 00:16:58 +00:00
pinkerton%netscape.com
2d1abbc7ae fixes for bug 31104 (radio menus not updating when poked in content model). involved making only the menubar be a document observer (which increased performance on mac) and passing attributeChanged messages to menuItems that cared. r=saari. 2000-05-26 00:15:33 +00:00
pinkerton%netscape.com
dc90210b21 stop building nsXULCommand r=saari. for bug 31104 2000-05-26 00:14:01 +00:00
edburns%acm.org
69c22378c2 bug: 20659
r=gbarney
a=edburns

This checkin adds java.awt.event.MouseListener support to webclient for
mozilla.  The following files are include in this checkin.  "A" is new
file "M" is modified file.

A classes_spec/org/mozilla/webclient/WCMouseEvent.java
A classes_spec/org/mozilla/webclient/wrapper_native/WCMouseListenerImpl.java
A src_moz/DOMMouseListenerImpl.cpp
A src_moz/DOMMouseListenerImpl.h
A src_moz/dom_util.cpp
A src_moz/dom_util.h

M classes_spec/org/mozilla/webclient/EventRegistration.java
M classes_spec/org/mozilla/webclient/test/EMWindow.java
M classes_spec/org/mozilla/webclient/wrapper_native/EventRegistrationImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M src_moz/DocumentLoaderObserverImpl.cpp
M src_moz/DocumentLoaderObserverImpl.h
M src_moz/EventRegistration.cpp
M src_moz/EventRegistration.h
M src_moz/Makefile.solaris
M src_moz/Makefile.win
M src_moz/NativeEventThread.cpp
M src_moz/NavigationImpl.cpp
M src_moz/RDFTreeNode.cpp
M src_moz/bal_util.cpp
M src_moz/jni_util.cpp
M src_moz/jni_util.h
M src_moz/jni_util_export.cpp
M src_moz/jni_util_export.h



A classes_spec/org/mozilla/webclient/WCMouseEvent.java

 * <P> This java.awt.event.MouseEvent subclass allows the user to access the
 * WebclientEvent.  This eventData of this WebclientEvent, if non-null,
 * is a java.util.Properties instance that contains information about
 * this event.  </P>

 * <P>The following are some interesting keys:</P>

 * <UL>

 * <LI> href
 * </LI>

 * <LI> #text
 * </LI>

 * </UL>

A classes_spec/org/mozilla/webclient/wrapper_native/WCMouseListenerImpl.java

 * This class wraps the user provided instance of
 * java.awt.event.MouseListener so it can be installed as a
 * WebclientEventListener.  Note that we implement MouseListener so we
 * can be detected by the webclient event system.  We don't do anything
 * with these methods here, though.


A src_moz/DOMMouseListenerImpl.cpp

A src_moz/DOMMouseListenerImpl.h

 * This class is the shim between the mozilla listener event system for
 * mouse events and the java MouseListener interface.
 * For each of the Mouse* methods, we call the appropriate method in java.
 * See the implementation of MouseOver for an example.

 * For each mouseEvent, we create a Properties object containing
 * information about the event.  We use methods in dom_util to do this.

A src_moz/dom_util.cpp

A src_moz/dom_util.h

/**

 * Methods to simplify webclient accessing the mozilla DOM.

 */

M classes_spec/org/mozilla/webclient/EventRegistration.java

Added support for java.awt.event.MouseListener

M classes_spec/org/mozilla/webclient/test/EMWindow.java

Implemented simle MouseListener

M classes_spec/org/mozilla/webclient/wrapper_native/EventRegistrationImpl.java

Added support for java.awt.event.MouseListener

M classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java

Added support for java.awt.event.MouseListener

M src_moz/DocumentLoaderObserverImpl.cpp
M src_moz/DocumentLoaderObserverImpl.h

 * We define a local IID to allow the addDocumentLoadListener and
 * addMouseListener functions in EventRegistration.{h,cpp} to
 * interrogate the currently installed DocumentLoaderObserver instance
 * in mozilla.

 */

#define NS_IDOCLOADEROBSERVERIMPL_IID_STR "fdadb2e0-3028-11d4-8a96-0080c7b9c5ba"

#define NS_IDOCLOADEROBSERVERIMPL_IID {0xfdadb2e0, 0x3028, 0x11d4, { 0x8a, 0x96, 0x00, 0x80, 0xc7, 0xb9, 0xc5, 0xba }}

/**

 * This class is the shim between the mozilla listener event system for
 * document load events and the java DocumentLoadListener interface.
 * For each of the On* methods, we call the appropriate method in java.
 * See the implementation of OnEndDocumentLoad for an example.

 * A DocumentLoaderObserverImpl instance has a "jobject target", which
 * is the Java object that should ultimately receive the events.  This
 * target will be null if the user just wants to listen for mouse
 * events.  It willl be non-null if the user wants to listen for
 * DocumentLoad events.

 * It also hosts a nsIDOMMouseListener instance, which piggybacks on the
 * nsIDocumentLoaderObserver instance.

M src_moz/EventRegistration.cpp
M src_moz/EventRegistration.h

Add support for MouseListener

M src_moz/Makefile.win

Added classes for MouseListener and Dom access

M src_moz/NativeEventThread.cpp

Added support for MouseListener

M src_moz/NavigationImpl.cpp

Added call to ReleaseStringChars for bal case.

M src_moz/RDFTreeNode.cpp

Added call to ReleaseStringChars for bal case.

M src_moz/bal_util.cpp

Added #include "wchar.h" so this file compiles on Solaris.

M src_moz/jni_util.cpp

Added implementations for util_CreatePropertiesObject,
util_DestroyPropertiesObject and util_StoreIntoPropertiesObject.

M src_moz/jni_util.h

/**

 * A JNI wrapper to create a java.util.Properties object, or the
 * equivalent object in the BAL case.

 */

jobject util_CreatePropertiesObject(JNIEnv *env, jobject reserved_NotUsed);

/**

 * A JNI wrapper to destroy the object from CreatePropertiesObject

 */

void util_DestroyPropertiesObject(JNIEnv *env, jobject propertiesObject,
                                  jobject reserved_NotUsed);

/**

 * A JNI wrapper for storing a name/value pair into the Properties
 * object created by CreatePropertiesObject

 */

void util_StoreIntoPropertiesObject(JNIEnv *env, jobject propertiesObject,
                                    jobject name, jobject value);


M src_moz/jni_util_export.cpp
M src_moz/jni_util_export.h

Added functions for allowing the BAL user to specify functions for
{creating, destroying, setting values into} properties objects.
2000-05-25 23:51:51 +00:00
jst%netscape.com
8b0e02f751 Checking in temporary code that lets a user turn on the new DOM Level 2 behavior by setting the 'temp.DOMLevel2update.enabled' preference to true, this is to help with the general DOM update, and it's part of the fix needed for bug 33474. r=vidur@netscape.com, a=pdt@netscape.com 2000-05-25 23:48:45 +00:00
wtc%netscape.com
037a8366a7 Bugzilla bug #40629: the _PR_NewSegment and _PR_DestroySegment functions
are not needed in the pthreads version.  The /dev/zero file, if opened,
should have the close-on-exec flag so that it won't get inherited by
child processes.
Modified files: _unixos.h, primpl.h, prseg.c, unix.c
2000-05-25 23:26:10 +00:00
ruslan%netscape.com
f01435de0d Fix 40189, a=gagan 2000-05-25 23:20:30 +00:00
Peter.VanderBeken%pandora.be
6beea3f0b4 Cleaning up string implementation. Not part of build. a=leaf 2000-05-25 23:15:25 +00:00
ruslan%netscape.com
387786e7e7 FIx 40189, a=gagan 2000-05-25 23:14:08 +00:00
mcgreer%netscape.com
6a074fdf4a Allow any build to use moz_import rule. mozilla dbm uses different lib name, so copy it over. 2000-05-25 23:10:35 +00:00
attinasi%netscape.com
dd07df1f66 Fixed a problem with the method AttributeAffectsStyle: it was erroneously ignoring the fact that HTML attributes can affect style even if there are no CSS rules with thos attributes in the selectors. Changed to restrict the selector evaluation to XML elements. r=shaver, a=karnaze, b=39642 2000-05-25 23:02:31 +00:00
Peter.VanderBeken%pandora.be
c9a45d3389 Remove TxString.cpp. Not part of build. a=leaf 2000-05-25 23:01:08 +00:00
Peter.VanderBeken%pandora.be
2e98ac9253 Correcting comment. Not part of build. a=leaf 2000-05-25 22:59:25 +00:00
Peter.VanderBeken%pandora.be
c371c24237 Cleaning up end-of-lines. Not part of build. a=leaf 2000-05-25 22:57:08 +00:00
Peter.VanderBeken%pandora.be
4dde286530 Cleaning up string implementation. Not part of build. a=leaf 2000-05-25 22:52:27 +00:00
nelsonb%netscape.com
bdcd27c9cb Use the -g keysize value, instead of DES_KEY_LENGTH, for all crypto
algorithms except DES and 3DES.
2000-05-25 22:42:23 +00:00
karnaze%netscape.com
7aea563c64 nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi 2000-05-25 22:40:21 +00:00
danm%netscape.com
b92bb08f58 First Checked In. 2000-05-25 22:40:08 +00:00
sfraser%netscape.com
c2ea91a9df Fix for 14768 -- turn off animated GIFs in editor. r=pnunn a=beppe 2000-05-25 21:50:46 +00:00
wtc%netscape.com
1985b5bcad Bugzilla bug #39674: added a test selintr.c to verify that the select()
wrapper in classic NSPR properly blocks the SIGALRM clocks.
Added file: selintr.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-05-25 21:29:38 +00:00
radha%netscape.com
6e41253e1e Fix for bug # 39719. Typo in gotoHistoryIndex() a=waterson 2000-05-25 21:18:12 +00:00
jst%netscape.com
869e45c506 Fixing typo that sneaked in when fixing this mornings mac bustage after fixing bug 36681. r=brade 2000-05-25 21:16:06 +00:00
blizzard%redhat.com
50cefaf678 removing unbuilt files and directories 2000-05-25 20:41:59 +00:00
erik%netscape.com
f3debaa033 bug 38387; add optimized GetWidth method to Japanese Windows 95-specific
subclass nsRenderingContextWinA to allow proper layout on Win95-J;
a,r=kmcclusk
2000-05-25 20:37:01 +00:00
mj%digicool.com
e2a7d6c939 Remove quotes around inline function code that was once a local Function object. Oops. Thanks to McCabe for finding this. a=brendan 2000-05-25 20:10:47 +00:00
kin%netscape.com
108b7677fd Part 1 of fix for bug #39821: Drag and Drop interferes with selection.
layout/base/public/nsIFrameSelection.h
  layout/base/src/nsSelection.cpp
  layout/events/src/nsEventStateManager.cpp
  layout/html/base/src/nsFrame.cpp
  layout/html/forms/src/nsGfxTextControlFrame2.cpp
  xpfe/browser/resources/content/navigatorDD.js

r=brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com,waterson@netscape.com
2000-05-25 20:04:02 +00:00
blizzard%redhat.com
4cd35f6827 fix unitialized variable reference that was pointed out by jlnance ( thanks! ) r=pavlov, a=brendan 2000-05-25 20:02:47 +00:00
waterson%netscape.com
b71b209ac7 Bug 36401. Deal with inline-blocks better. Add nsFrameState bit that indicates whether or not a frame is part of a 'special' inline-block hierarchy; use the 'inlineFrameAnnotation' property to remember the next 'special sibling' so that we can traverse correctly; pull methods out of nsCSSFrameConstructor's public API. r=nisheeth,buster 2000-05-25 19:58:51 +00:00
leaf%mozilla.org
8f28cce509 Automated update 2000-05-25 19:45:38 +00:00
jgaunt%netscape.com
feb9eaa028 workaround for bug 39747. timer bustage is causing crash on HP as on Tru64
a=watterson # 39747
2000-05-25 19:40:30 +00:00
buster%netscape.com
e0fdaba6a7 fixed bug 40577
r=rickg
a=leaf
2000-05-25 19:26:27 +00:00
brade%netscape.com
7c6a2b6db7 File Removed. 2000-05-25 17:43:06 +00:00
brade%netscape.com
2f4cdc0ab6 fix mac build bustage 2000-05-25 15:46:41 +00:00
jst%netscape.com
46e894cbec Fix typo. 2000-05-25 14:48:50 +00:00
mkaply%us.ibm.com
66b4b578c4 # 37239
r = mkaply, a = brendan
OS/2 bringup continues on M16 - OS/2 only changes for new string
2000-05-25 14:39:17 +00:00
jst%netscape.com
ffb0b2b591 Exporting nsIDOMHTMLEmbedElement.h on the mac too. 2000-05-25 14:37:02 +00:00
jst%netscape.com
5f228ca6a3 added files: mozilla/dom/src/html/nsJSHTMLEmbedElement.cpp 2000-05-25 14:36:29 +00:00
mkaply%us.ibm.com
d7086a1fcb # 37239
r = rjc, a = brendan
OS/2 bringup continues on M16 - Adding an XP_OS2 only path
2000-05-25 14:33:17 +00:00
mkaply%us.ibm.com
67e14638ca # 37239
r = rusty.lynch, a = brendan
OS/2 bringup continues on M16 - Change XP_PC #ifdef to have !defined XP_OS2
2000-05-25 14:30:56 +00:00
mkaply%us.ibm.com
59c3fbb25c # 37239
r = naoki, a = brendan
OS/2 bringup continues on M16 - OS/2 changes for string inside of an OS/2 ifdef
2000-05-25 14:28:15 +00:00
mkaply%us.ibm.com
94965403ad # 37239
r = dougt, a = brendan
OS/2 bringup continues on M16 - #ifdefs for OS/2 only
2000-05-25 14:26:34 +00:00