63648 Commits

Author SHA1 Message Date
harishd%netscape.com
d2f44f024a Parser regression test. Triggered by PARSER_DUMP_CONTENT env. flag
under NS_DEBUG.

r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70917 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:26 +00:00
axel%pike.org
2a47902cce Not part of the build, a=leaf
Bringing Makefiles uptodate with String changes
Get testcase going into new chrome structure.


git-svn-id: svn://10.0.0.236/trunk@70916 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 15:04:52 +00:00
mcgreer%netscape.com
3ad68f9285 self-test
git-svn-id: svn://10.0.0.236/trunk@70915 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:53:38 +00:00
shaver%mozilla.org
6b65e23434 Handle illegally-short JPEG comments more gracefully.
Patch from Solar Designer <solar@false.com>.
r=pnunn, a=waterson


git-svn-id: svn://10.0.0.236/trunk@70914 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:48:21 +00:00
mcgreer%netscape.com
7616cb0e38 self-test
git-svn-id: svn://10.0.0.236/trunk@70913 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:48:19 +00:00
mcgreer%netscape.com
850329a356 Fix up the hashes to only use one mode. Add self-test capability to bltest (test each of the BLAPI functions). DSA self-test not working at this time.
git-svn-id: svn://10.0.0.236/trunk@70912 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:41:22 +00:00
tor%cs.brown.edu
db2c5cf469 SUNWspro5.0 bustage fix - include the appropriate header instead
of duplicating the typedef (40651).  r=morse  a=brendan,waterson


git-svn-id: svn://10.0.0.236/trunk@70911 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:06:56 +00:00
evaughan%netscape.com
e32f5aa5dd fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt


git-svn-id: svn://10.0.0.236/trunk@70910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:42:29 +00:00
endico%mozilla.org
ce4a10a206 add error attribute to <bug>
git-svn-id: svn://10.0.0.236/trunk@70909 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:34:45 +00:00
waldemar%netscape.com
c4a32c8de3 Added var, const, and for statements
git-svn-id: svn://10.0.0.236/trunk@70908 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:20:11 +00:00
rbs%maths.uq.edu.au
eed09dcad3 [not part of default build] Fix bug 30589, and Fix array index that could wander out of bound and was detected by Peter Van der Beken's Mac Compiler when he was working on bug 39959. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@70907 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 05:56:23 +00:00
shaver%mozilla.org
fcc7b519ef use NS_METHOD for register/unregister callback, for Win32
git-svn-id: svn://10.0.0.236/trunk@70906 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 05:55:00 +00:00
rbs%maths.uq.edu.au
5522923de8 Remove <?xml...> that cause Mozilla to crash. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@70905 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 05:43:40 +00:00
shaver%mozilla.org
1e010bc06d fix build bustage -- I'm an ass
git-svn-id: svn://10.0.0.236/trunk@70904 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 05:18:31 +00:00
shaver%mozilla.org
d247779da6 remove useless nsIModule paste (#22922), add debug() for JS components, use categories for component loaders, XPCONNECT_STANDALONE (#39875), r=dp,waterson a=brendan
git-svn-id: svn://10.0.0.236/trunk@70903 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 04:56:23 +00:00
svn%xmlterm.org
aa8847f25b --NOT PART OF DEFAULT BUILD--
XMLterm changes only. Added FlushPendingNotifications call to scrolling routine to improve scrolling behaviour. Fixed typo in string template changes. Added (commented out) change to xmlterm.html to test PNG alpha "image melding" with the command line!


git-svn-id: svn://10.0.0.236/trunk@70902 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 03:54:47 +00:00
mcafee%netscape.com
dea68b16ed Comment only. Suggesting call to centerWindowOnScreen() (26017)
git-svn-id: svn://10.0.0.236/trunk@70901 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 03:13:11 +00:00
mcafee%netscape.com
83863dff8d Hooking up clear mem/disk cache buttons (39672). r=law
git-svn-id: svn://10.0.0.236/trunk@70900 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 02:30:43 +00:00
dp%netscape.com
e9fe7b9661 Updated code faq on xpcom-log and xpcom-log-analyze
git-svn-id: svn://10.0.0.236/trunk@70899 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 02:09:31 +00:00
wtc%netscape.com
6bbcb406d5 Bugzilla bug #39967: replace an assertion in _PR_MD_GETFILEINFO64 by
proper error checking and failure return.  Thanks to Bernd Mielke
<mielke@licel.com> for the bug report.
Modified files: ntio.c, w95io.c


git-svn-id: svn://10.0.0.236/trunk@70897 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:35:05 +00:00
dp%netscape.com
d4c1a32df2 More caveats.
git-svn-id: svn://10.0.0.236/trunk@70896 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:22:01 +00:00
dp%netscape.com
d7a140bb35 using $logfile consistently.
git-svn-id: svn://10.0.0.236/trunk@70895 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:21:25 +00:00
rginda%netscape.com
45dd6631f1 -- NOT PART OF THE BUILD --
change xpcom namespace id
comment fixes


git-svn-id: svn://10.0.0.236/trunk@70894 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:17:48 +00:00
cmanske%netscape.com
7cc245b6c9 Fixed insert table bug 40205. r=sfraser, a=beppe
git-svn-id: svn://10.0.0.236/trunk@70893 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:16:51 +00:00
evaughan%netscape.com
d2f1f7708c Fix for bug 40324 -r hyatt
git-svn-id: svn://10.0.0.236/trunk@70892 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:10:50 +00:00
wtc%netscape.com
1b283121cc 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.


git-svn-id: svn://10.0.0.236/trunk@70891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:10:23 +00:00
mscott%netscape.com
cecbe0520d Bug #40516 --> remove the oncreate method for the email address popup.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70890 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:10:19 +00:00
mscott%netscape.com
35c791ad20 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


git-svn-id: svn://10.0.0.236/trunk@70889 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:09:12 +00:00
mscott%netscape.com
4bad738a64 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


git-svn-id: svn://10.0.0.236/trunk@70888 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:08:38 +00:00
mscott%netscape.com
98a4572bed Bug #40516 --> remove on create handler for email address popup.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70887 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:07:38 +00:00
wtc%netscape.com
0d332d63ea Bugzilla bug #25981: made PR_GetNumberOfProcessors() work on HP-UX 10
and SINIX.  Changed _SC_NPROC_CONF to _SC_NPROC_ONLN.


git-svn-id: svn://10.0.0.236/trunk@70886 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:03:47 +00:00
dp%netscape.com
d65a9a9811 Using singleton 1-byte unicode encoders and decoders. This will
eliminate creation of about 1000 objects on startup. r=waterson,cata a=waterson


git-svn-id: svn://10.0.0.236/trunk@70885 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:55:42 +00:00
joki%netscape.com
fab946580d Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge
git-svn-id: svn://10.0.0.236/trunk@70884 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:26:54 +00:00
larryh%netscape.com
ddcf7b1ef8 BugSplat 25981. Fix OS/2 Implementation
git-svn-id: svn://10.0.0.236/trunk@70883 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:24:21 +00:00
pinkerton%netscape.com
7b2ee79160 File Removed.
git-svn-id: svn://10.0.0.236/trunk@70882 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:16:58 +00:00
pinkerton%netscape.com
c8df49db6a 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.
git-svn-id: svn://10.0.0.236/trunk@70881 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:15:33 +00:00
pinkerton%netscape.com
c2c3b849eb stop building nsXULCommand r=saari. for bug 31104
git-svn-id: svn://10.0.0.236/trunk@70880 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:14:01 +00:00
edburns%acm.org
bcbf08419d 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.


git-svn-id: svn://10.0.0.236/trunk@70879 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:51:51 +00:00
jst%netscape.com
6472af28e8 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
git-svn-id: svn://10.0.0.236/trunk@70878 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:48:45 +00:00
wtc%netscape.com
1b9a633335 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


git-svn-id: svn://10.0.0.236/trunk@70877 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:26:10 +00:00
ruslan%netscape.com
334878d735 Fix 40189, a=gagan
git-svn-id: svn://10.0.0.236/trunk@70876 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:20:30 +00:00
Peter.VanderBeken%pandora.be
8808a6d60b Cleaning up string implementation. Not part of build. a=leaf
git-svn-id: svn://10.0.0.236/trunk@70875 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:15:25 +00:00
ruslan%netscape.com
4b6f1649a1 FIx 40189, a=gagan
git-svn-id: svn://10.0.0.236/trunk@70874 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:14:08 +00:00
mcgreer%netscape.com
5a02e6206f Allow any build to use moz_import rule. mozilla dbm uses different lib name, so copy it over.
git-svn-id: svn://10.0.0.236/trunk@70873 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:10:35 +00:00
attinasi%netscape.com
8ebbdd39ea 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
git-svn-id: svn://10.0.0.236/trunk@70872 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:02:31 +00:00
Peter.VanderBeken%pandora.be
9a4d0fcae1 Remove TxString.cpp.
Not part of build. a=leaf


git-svn-id: svn://10.0.0.236/trunk@70871 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:01:08 +00:00
Peter.VanderBeken%pandora.be
2ebb0548a9 Correcting comment.
Not part of build. a=leaf


git-svn-id: svn://10.0.0.236/trunk@70870 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:59:25 +00:00
Peter.VanderBeken%pandora.be
d98d36e1b0 Cleaning up end-of-lines.
Not part of build. a=leaf


git-svn-id: svn://10.0.0.236/trunk@70869 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:57:08 +00:00
Peter.VanderBeken%pandora.be
90e59e0c49 Cleaning up string implementation.
Not part of build. a=leaf


git-svn-id: svn://10.0.0.236/trunk@70868 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:52:27 +00:00
nelsonb%netscape.com
92bec039c5 Use the -g keysize value, instead of DES_KEY_LENGTH, for all crypto
algorithms except DES and 3DES.


git-svn-id: svn://10.0.0.236/trunk@70867 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:42:23 +00:00