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

70745 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 2861dff1f3 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 490bf8236e 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 de8158bdf3 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 a1c527cd6d fix for 53091, r=saari, sr=waterson 2000-09-19 01:24:44 +00:00
jband%netscape.com ef7bb615cc 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 3a6d7b35b4 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 46b55340ed 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 753070b755 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 dd4e083ab7 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
akkana%netscape.com 4b6e16167f 46644: Fix FMM. Contribution from Daniel Bratell, bratell@lysator.liu.se, r=waterson and me 2000-09-19 00:14:12 +00:00
beard%netscape.com 9c314b04e2 Uncommented Initialize() call. 2000-09-19 00:04:02 +00:00
beard%netscape.com ef1888b17e Export thePlugin. 2000-09-19 00:03:30 +00:00
beard%netscape.com 92c7e953f8 Create MRJConsole even in 4.X build. 2000-09-19 00:00:27 +00:00
beard%netscape.com f8c65dad72 Added MRJConsole.class. 2000-09-18 23:57:25 +00:00
beard%netscape.com a6bdd4ef53 Added MRJConsole.java to MRJPlugin.jar target. 2000-09-18 23:56:51 +00:00
nelsonb%netscape.com ecbd427c31 Fix a UMR, one of many where the SECItem type field was uninitialized.
bug 39483.  Also, eliminate a warning about calling an undeclared function
by including the header file.
2000-09-18 23:53:18 +00:00
alecf%netscape.com d5f88cf6f2 part of fix for #42102 - use nsIFile for migration issues
r=sspitzer, dbragg
2000-09-18 23:51:30 +00:00
beard%netscape.com b35d6552f0 Create SIOUX console with menus, etc. r=jband, a=brendan 2000-09-18 23:49:46 +00:00
brendan%mozilla.org de5d6d74b9 Censor all Call objects, per ECMA-262 (r=rogerl, 53037). 2000-09-18 23:35:22 +00:00
gagan%netscape.com 3e7cf851e9 Fix for bug 52257. mResponseDataListener could be null. r=valeski, brendan. 2000-09-18 23:29:30 +00:00
ducarroz%netscape.com abf8756c0e Fix for bug 52323. Use event.originalTarget instead of event.target in order to get the right target. a,r=alecf 2000-09-18 23:08:09 +00:00
mkaply%us.ibm.com c696a44022 #53096
r=akkana, a=brendan
Use OS/2 files for OS/2, not unix files
2000-09-18 23:08:02 +00:00
mkaply%us.ibm.com 2f286a1708 #53096
r=akkana, a=brendan
Can't override accelerators properly which we will be doing on OS/2
2000-09-18 23:04:07 +00:00
warren%netscape.com e651349bb0 Added build for themes:classic:messenger:mac:jar.mn 2000-09-18 22:36:59 +00:00
ducarroz%netscape.com f1e4c713e5 Fix for bug 52190. Avoid crash by using NS_IF_ADDREF. sr=alecf 2000-09-18 22:35:46 +00:00
warren%netscape.com 3cf7e3c7e2 Updated to work for mac jar packaging. 2000-09-18 22:33:20 +00:00
warren%netscape.com 17b8e0e296 First Checked In. 2000-09-18 22:32:51 +00:00
brendan%mozilla.org 1f03cb71d4 - Fix encodeURI, decodeURI, etc. common subroutines to avoid realloc'ing char
by char, by using a larger chunk size (64 chars) for linear growth.  Also got
  rid of ASCII-oriented add_bytes subroutine and related sprintf usage.
- Avoid reloading loop invariant str->chars all the time in encode and decode.
- Avoid creating garbage strings for unescaped and reserved character sets, by
  using statically initialized jschar array constants.
- Expand tabs, clean up 80th column violations, use prevailing style, etc.
2000-09-18 22:17:30 +00:00
ducarroz%netscape.com 534f2830db Fix for bug 52819. Use nsEditor::GetRootElement for retreiving the body node. sr=mscott 2000-09-18 22:16:10 +00:00
beard%netscape.com 8a7a2951fb Conditionally compile in GC_trace_object. 2000-09-18 22:09:20 +00:00
mkaply%us.ibm.com e940238b8d #53096
r=mkaply, a=brendan
Grab the windows platformBindings files and use them for OS/2
2000-09-18 21:50:06 +00:00
jefft%netscape.com e32462749b fixed bug 45727 -- Problems with download (POP) truncated msg from folder other than Inbox; disable fileters while downloading truncated message; bullet prove to prevent accessing empty string buffer; r=mscott 2000-09-18 21:49:47 +00:00
sspitzer%netscape.com 6a13f1007b part of the fix for #51571. r/a=mscott 2000-09-18 21:49:17 +00:00
sspitzer%netscape.com 86ae5dbf37 part of the fix for #51571. r/a=mscott 2000-09-18 21:44:54 +00:00
cyeh%bluemartini.com 4d68001099 fix for 52228: Bug list title should be name of query if running named query
patch by dave@intrec.com (Dave Miller)
2000-09-18 21:29:45 +00:00
sfraser%netscape.com db5671d83a New Mac build scripts. NOT PART OF THE BUILD 2000-09-18 20:55:35 +00:00
sfraser%netscape.com 208abb4321 New Mac build scripts. NOT PART OF THE BUILD. 2000-09-18 20:54:48 +00:00
mkaply%us.ibm.com 915e8d8094 #47874
r=mkaply, a=brendan
Code from jkobal - continuing port of nsWindow.*
2000-09-18 20:39:13 +00:00
karnaze%netscape.com 4c67ef0509 new regression tests, not affecting the build. 2000-09-18 20:24:16 +00:00
nelsonb%netscape.com 47d0feae47 Fix bug 52396. Don't compile case ENOSR on platforms that don't have it. 2000-09-18 19:53:59 +00:00
akkana%netscape.com 0778f04fc0 50252: fix key events for printable but non-alphabetic keys. r=dr 2000-09-18 19:50:50 +00:00
kestes%staff.mail.com 12d6d63bae add new arguments --skip-check --force-time
add parse_args to parse new arguments
add fix_nonunix_times() so that all dates can be in either format
send errors to stderr as well as logfile
debug check_required_vars();
2000-09-18 19:40:56 +00:00
beard%netscape.com 32b50634ce added SIOUXSettings. 2000-09-18 19:36:25 +00:00
dbragg%netscape.com 68e8cf1c1a Fix for bug 52839. Changed GetSizes() to PR_FALSE in the case of the Profile dir so that directories wont be traversed. r=dveditz, racham, law a=law 2000-09-18 19:34:16 +00:00
kestes%staff.mail.com e2a87abd9c convert to new style tinderbox variables 2000-09-18 19:34:08 +00:00
kestes%staff.mail.com f2fd93292a new regression test 2000-09-18 19:33:32 +00:00
kestes%staff.mail.com 9eb8a6edaa document HTMLPopUp implementations
document new $DEFAULT_HTML_PAGE = 'status.html';
document TRIM_DAYS for rmlogs
2000-09-18 19:32:46 +00:00
kestes%staff.mail.com f96c29b91a security (taint) fixes
use  $MAX_DISPLAY_HOURS to peg the display used in links
2000-09-18 19:30:28 +00:00
kestes%staff.mail.com 56b064b826 security (taint) fixes
allow null message of the day
do not hardcode <a href instead call Link()
2000-09-18 19:29:31 +00:00
kestes%staff.mail.com 1248b6c657 security (taint) fixes 2000-09-18 19:28:32 +00:00