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

70846 Коммитов

Автор SHA1 Сообщение Дата
harishd%netscape.com b343a2b4b8 42429 - Enabling code that I'd to back out due to bug 52443.
Looks like the TABLE code is ready to face the change.

r=rickg
a=jst
2000-09-19 22:13:53 +00:00
tor%cs.brown.edu 0dcd7b7275 Lie in ImgDWriteReady as a minimal impact workaround until
41831 is fixed.  This was causing JNG images not to display
out of the cache, and probably occasionally a failed first
load.  r=pnunn, a=brendan
2000-09-19 22:03:31 +00:00
shanjian%netscape.com 44861a402c #53072 IME candidate window position problem
r=sfraser a=ftang
Offset within view is missing in one of the code path. Add it there.
2000-09-19 21:55:59 +00:00
tor%cs.brown.edu 0d29237b07 Small change to make a debug message from ilclient.cpp more
accurate, and only print it when compiled in debug mode (was
appearing when switching skins).
r=pnunn, a=brendan
2000-09-19 21:54:29 +00:00
heikki%netscape.com c3c301798c Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
jband%netscape.com d9691850b8 Allow for detection and graceful failure when we stumble upon an incompatible typelibs which might exist in the future. bug 53155. NOT fixing brendan's nit about the grammar in the comment. a=brendan@mozilla.org, r=shaver@mozilla.org,mccabe@netscape.com 2000-09-19 21:42:47 +00:00
mcgreer%netscape.com 30387a4f67 Check in self-test based on FIPS 186-1 appendix 5 2000-09-19 21:14:22 +00:00
rogerl%netscape.com 6a6ec06924 Cleanup warning fix. 2000-09-19 20:56:49 +00:00
rogerl%netscape.com 6f4f3db7ad Fixed warnings for gcc build. 2000-09-19 20:35:05 +00:00
edburns%acm.org e40e751078 Jason found a bug left over from the manual diff. 2000-09-19 20:34:18 +00:00
beard%netscape.com ce2c7627c0 Backed out eager call to Initialize(). 2000-09-19 20:15:15 +00:00
chrisk%netscape.com f86691004e Fix bug # 53221: Call RNG_SystemInfoForRNG to provide RNG with enough
entropy for proper operation.
2000-09-19 19:34:46 +00:00
tao%netscape.com d1bc4aa1b6 09/17/00 history data. 2000-09-19 17:58:22 +00:00
beard%netscape.com 9cf4148c01 [not part of build] make sure a writer is open at the end, before attempting to close it. 2000-09-19 17:53:17 +00:00
wtc%netscape.com facdc275d3 Bugzilla bug #53204: import NSPR 4.0.1 on Windows NT and 4.0 on all other
platforms.
Modified files: manifest.mn, Makefile
2000-09-19 17:49:54 +00:00
mcgreer%netscape.com 4cb280cca7 include support for adding S/MIME certs to the database. this will be needed for S/MIME test code. 2000-09-19 16:22:17 +00:00
terry%mozilla.org eaf3761c52 Oops! This was changed a couple of months ago in such a way that a
large class of problems wouldn't be reported.  (It wouldn't show most
cases where a table had an invalid ID pointing into another table.)
2000-09-19 15:42:53 +00:00
beard%netscape.com e4d75a2017 [Not part of build] Changed getServices() to attribute services. 2000-09-19 14:48:11 +00:00
hyatt%netscape.com 61ded06b16 Addendum to 53091. sr=ben 2000-09-19 07:25:45 +00:00
idk%eng.sun.com b90789453f * NOT PART OF TBOX BUILDS *
Fixed bug with sending NULL pointer to object
2000-09-19 06:47:06 +00:00
mcgreer%netscape.com 7d42df7e4b don't set modulus octets until good primes are generated. 2000-09-19 06:18:04 +00:00
wtc%netscape.com 0ccd4053f0 Bugzilla bug #52404: FreeBSD doesn't have cuserid() either. Thanks to
Thomas Stromberg <tstromberg@rtci.com> for the bug report.
2000-09-19 06:05:28 +00:00
mcgreer%netscape.com d5a2efabb1 don't set prime data until good primes are generated. 2000-09-19 06:03:52 +00:00
beard%netscape.com 40fafcfe3c [Not part of build] Added traceCollection, getServices methods. 2000-09-19 05:40:17 +00:00
quy%igelaus.com.au 93854b043f removing mozilla script from ignore list. r=waterson 2000-09-19 05:40:04 +00:00
beard%netscape.com 63c790b90b Fixed startup/terminate routines. 2000-09-19 05:38:23 +00:00
jst%netscape.com 1a5288822d Fixing nsbeta3+ bug 52572. Renaming CSSValue::valueType to CSSValue::cssValueType to be up-to-date with the latest changes to the DOM Level 2 spec. r/a=vidur, r=pollmann 2000-09-19 05:37:23 +00:00
jst%netscape.com e6821c4310 Fixing nsbeta3+ bug 50393. Make frameset windows request the principal form their parent if there's no document object in the frameset nor a cached principal, this can happen with <frame src='javascript:...'> frames. r/a=vidur, r=mstoltz. 2000-09-19 05:21:00 +00:00
jst%netscape.com a72320d2a1 Fixing nsbeta3+ bug 43741. Making mozilla ignore document.open() calls that are executed while the document is being parsed, this is needed for backwards compatibility. r/a=vidur, r=joki 2000-09-19 05:11:59 +00:00
wtc%netscape.com 38d9732ab3 Bugzilla bug #52399: handle FreeBSD. Thanks to Thomas Stromberg
<tstromberg@rtci.com> for the bug report.
2000-09-19 04:11:53 +00:00
wtc%netscape.com 99cf222eb8 Bugzilla bug #52398: define USE_PTHREADS=1 by default. Do not link with
-lc or -lc_r.  Also merged other changes from NSPR's FreeBSD.mk.
Thanks to Thomas Stromberg <tstromberg@rtci.com> for the bug report.
2000-09-19 03:53:08 +00:00
sspitzer%netscape.com a00b42b2d7 fix for bug #47521. if the user cancels the account wizard on an invalid account,
force the account to get created anyway.  r/a=alecf
2000-09-19 03:44:33 +00:00
saari%netscape.com 3d6b3575cd more fixes for 53017. r=hyatt 2000-09-19 03:37:09 +00:00
saari%netscape.com 4feb4d1347 focus fixes for 52150 et all. r=hyatt 2000-09-19 03:16:30 +00:00
tao%netscape.com 0f3b2d782a mt421 release from Henrik. 2000-09-19 03:14:37 +00:00
saari%netscape.com d7726a66ea fixing focus bugs for 53017. r=hyatt 2000-09-19 03:14:31 +00:00
tao%netscape.com 3c9357e17d mt420 release from Henrik. 2000-09-19 03:11:15 +00:00
tao%netscape.com e461a86e6a mt415 from henrik 2000-09-19 03:04:18 +00:00
beard%netscape.com 560a653ad5 [Not part of build] Really increase default heap size, to 8192. 2000-09-19 02:50:00 +00:00
beard%netscape.com 353f308977 Bumped up memory/stack. 2000-09-19 02:34:41 +00:00
wtc%netscape.com 82b40af680 Bugzilla bug #53143: removed the definition of NSPR internal macros.
Modified files: FreeBSD.mk, HP-UXB.10.10.mk, HP-UXB.10.20.mk, Linux.mk,
OSF1.mk, SunOS5.mk, cmd/SSLsample/Makefile.NSS, lib/freebl/Makefile.
2000-09-19 02:24:31 +00:00
brendan%mozilla.org 293ddb04d6 Add strict warning for undefined property reference (foo.bar where bar names no object in foo or its prototypes; r=jband). 2000-09-19 02:24:11 +00:00
brendan%mozilla.org dc510bc6a5 Fix JS_BeginRequest to avoid self-deadlock if called from a finalizer (52808, r=jband). 2000-09-19 02:18:17 +00:00
wtc%netscape.com ce6057a7fb Added FreeBSD.mk, which contains the common config stuff for all versions
of FreeBSD.mk.  FreeBSD2.mk now merely includes FreeBSD.mk.
Modified file: FreeBSD2.mk
Added file: FreeBSD.mk
2000-09-19 01:48:42 +00:00
hyatt%netscape.com 293b4eff1f fix for 53091, r=saari, sr=waterson 2000-09-19 01:24:44 +00:00
jband%netscape.com 8769f0cf40 fix shutdown crasher bug 52940. We can't leave the thread context stack service thinking that the context we are about to delete is still valid. a,r=brendan@mozilla.org 2000-09-19 01:09:48 +00:00
nhotta%netscape.com bb1cb9030d bug: 45678 wrong font in mail composer
fix: set the 'document' charset (we figure out the target charset
     but did not set it in the 'document'
r=nhotta, sr=mscott
2000-09-19 01:07:28 +00:00
cotter%netscape.com a001508e2a Updated info re installation directories, running Communicator 4.x. Moved sentence re problems running PSM on Unix if you havelogged in as a different user since installation to Known Bugs/Issues. 2000-09-19 00:23:38 +00:00
brendan%mozilla.org a791fb2253 Fixes to use atomic rename(2) if possible in nsLocalFile::MoveTo (33098, r=?),
plus a bunch of other fixes and cleanups:

- Fix comment misstatements of fact in nsIFile.idl, improve style slightly.
- Fix typo in comment in nsILocalFile.idl.
- Avoid gratuitous nsCString and nsXPIDLCString copy-constructions, which
  entail malloc'ing, in nsLocalFileUnix.cpp's CopyTo and GetParent methods.
  But do use nsXPIDLCString instead of raw nsMemory::Alloc/Free.
- Get rid of unnecessary mLL_II2L and mLL_L2II macros, use "prlong.h" API only.
  Also use the LL_* macros consistently in case a Unix lacking long long type
  support wants to use this code.
* BTW, the "Date" methods should be renamed to use "Time" instead -- after all
  PRTime is the type, and traditionally "time" refers to the time-number, a
  scalar independent of one's position on the surface of the earth, while
  "date" refers to a struct full of locale-specific information derived from
  time and some "environment" variables such as DST.  Can we rename these
  nsIFile methods before Mozilla 0.9 / Netscape 6?
- Use CHECK_mPath consistently and first, before any assertions relating to
  arguments (which logically come after the 'this' parameter CHECK_mPath is
  making assertions about).
- Use nsCOMPtr for singly-inheriting implementations of XPCOM interfaces, to
  avoid scary-when-scaled 0-refcnt instances from being handled (these all
  got a ref via QI or equivalent soon enough, but you never know).  This also
  removed some naked deletes.
- Canonize all paths copied into mPath to lack trailing slashes, so we don't
  need to strip trailing slashes elsewhere, in higher-frequency methods (you
  set path less often than you get it or a substring of it).
- ssize_t for strlen return values.
- Since shaver used a function pointer to consolidate creat/mkdir logic, but
  didn't fold the necessary close of the new fd returned by non-failing creat
  into the pointed-at function, I did that.
- AppendRelativePath forbids .. as a component (bounded by / or beginning or
  end of string on either side), not just in the middle of fragment (so that
  foo..bar is not an illegal relative pathname -- it should not be).  BTW,
  what the heck is the difference between NS_ERROR_FILE_UNRECOGNIZED_PATH and
  ...INVALID_PATH?
- SetLeafName was overallocating the new pathname buffer by failing to subtract
  the old leafname's length.
- CopyTo was failing to return an NSRESULT_FOR_ERRNO(), it just called that
  macro on a line by itself -- eek!  It also contained redundant if (newFD
  == nsnull) {...} cleanup code, it did a useless PR_GetFileInfo call, and it
  leaked FDs on read or write error.
- Implemented CopyToFollowingLinks as a forwarded call to CopyTo, Unix does
  not support "copying" a symlink via normal file i/o.  Should we instead
  lstat in CopyTo and if a link is the source of the copy, do readlink and
  then symlink?
- Fixed the readlink method (GetTarget) to null-terminate the link string in
  the out parameter (readlink does not do that for you).
- Lots of little nsnull vs. NULL vs. 0, == and != applied to boolean or null
  literals, white-space, indentation, bracing, comment, and sloppy code order
  (e.g., declaring an initialized variable that's not used till after early
  returns) fixes.  Also invert some return logic so that NS_OK is the normal,
  least indented, final return.
2000-09-19 00:22:41 +00:00
edburns%acm.org cc61d0fae1 This fix was contributed by
*      Jason Mawdsley <jason@macadamian.com>
 *      Louis-Philippe Gagnon <louisphilippe@macadamian.com>

It enables webclient to be built and run under JDK1.1.x.  Note that JavaDOM
does not work under jdk1.1.x.

The fix consists of two elements:

On the Java side, replace all JDK1.2 specific calls with JDK1.1.x
equivalents.  On the native side use pre-processer macro for
JNI_VERSION, like this:

#ifdef JNI_VERSION_1_2

#ifndef JNI_VERSION
#define JNI_VERSION JNI_VERSION_1_2
#endif

#else

#ifndef JNI_VERSION_1_1
#define JNI_VERSION_1_1 0x00010001
#endif

#ifndef JNI_VERSION
#define JNI_VERSION JNI_VERSION_1_1
#endif

#endif // END: JNI_VERSION_1_2

This fix has been tested on win32, solaris, and linux.

The following files are in this fix:

M webclient/classes_spec/org/mozilla/webclient/test/DOMTreeModel.java
M webclient/classes_spec/org/mozilla/webclient/test/DOMViewerFrame.java
M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/BookmarksImpl.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M webclient/src_moz/CBrowserContainer.cpp
M webclient/src_moz/nsActions.cpp
M webclient/src_share/jni_util.cpp
M webclient/src_share/jni_util.h
M webclient/src_share/jni_util_export.cpp
2000-09-19 00:18:18 +00:00