Commit Graph

4166 Commits

Author SHA1 Message Date
warren%netscape.com
810f462251 Removed extra 0 arg from macro 2000-10-27 23:41:27 +00:00
warren%netscape.com
d7a5405f11 Added nslog.h 2000-10-27 23:25:45 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
scc%mozilla.org
d2593e5546 fix wrong error return; bug #57981 r=waterson, sr=brendan 2000-10-27 21:46:20 +00:00
mkaply%us.ibm.com
5ed55b8e9a OS/2 Tinderbox break
Need PR_CALLBACK for OS/2, and bad include of windows.h for XP_PC...hurrah we have XP_WIN now
2000-10-27 18:30:16 +00:00
warren%netscape.com
7017831b21 Added forgotten nsILoggingService.idl 2000-10-27 06:41:11 +00:00
warren%netscape.com
95e38718ea Bug 47207 - removing printf / logging changes. Sticking in big toe. r=valeski,sr=waterson 2000-10-27 06:18:39 +00:00
warren%netscape.com
3ab01ebc2d Changes to build on Mac. 2000-10-27 05:11:58 +00:00
ramiro%eazel.com
f155f7f244 Bug 56793. Add support for building unix mozilla with a default
MOZILLA_FIVE_HOME.  Build changes r=cls.  Small XPCOM change sr=scc.
2000-10-21 08:33:16 +00:00
warren%netscape.com
b1bf163d31 Added new file - not in build yet. 2000-10-20 01:14:47 +00:00
ccarlen%netscape.com
d735ea5c51 Fix for 56998 which blocks 56041. nsLocalFile::Exists() could return TRUE if the file in fact didn't exist. Happened with files for which the volume or dir didn't exist. r=sfraser. 2000-10-19 20:41:55 +00:00
bnesse%netscape.com
9d1c3322a1 Look for 'NSPL' as well as 'shlb'. Fix for bug #45697. r=av, sr=scc, a=rtm++. 2000-10-17 18:06:23 +00:00
shaver%mozilla.org
a6239048b2 #56636, remove debug cruft, r/sr=blizzard 2000-10-17 17:15:36 +00:00
cls%seawood.org
c8bf15435a Removing unneeded TK_LIBS from LIBS. r=rcassin@supernova.org sr=shaver@mozilla.org 2000-10-14 17:18:42 +00:00
sfraser%netscape.com
0a8858c5a6 Fix for 53310; implement IsLowMemory() on Mac, and turn on the low memory detection thread. r=waterson, sr=scc. 2000-10-14 00:39:16 +00:00
jst%netscape.com
1bef7c0474 (Checking in for jefft@netscape.com). Fixing rtm++ bug 56129. The file input stream wasn't always setting the EOF state correctly, this caused problems with saving mail messages to the sent folder and also problems with 'Save As Draft'. r=ducarroz, r=sspitzer, sr=mscott. 2000-10-13 11:14:48 +00:00
jst%netscape.com
17691505d4 Rolling in the last of the NOXIF changes from the Netscape 6 branch, code mostly written by jfrancis. Fixes bugs 50742, 55806, 56000 and 55669. sr=kin, scc. r=kandrot, jst. 2000-10-11 22:50:14 +00:00
mccabe%netscape.com
b67b16e35f Fix to 53929. Fix previously-broken UnregisterListener method on console service, by proxy-wrapping the service we've been asked to remove before comparing it to those in the listener list. The saved listeners are already proxy-wrapped, so the previous straight compare failed.
The equality check works because the proxy service caches proxies, and will always return the same wrapper.

This fixes a leak and a situation that led to some asserts in XPConnect on shutdown.  (Some listeners were proxy-wrapped JS objects.)

r=jband.
2000-10-09 23:45:59 +00:00
dougt%netscape.com
aeee5aad67 Fixes 64 bit address conversion in proxy. Also fixes proxing char parameters. p=jband, r=dougt, a=brendan. 52200, 26560. 2000-10-08 18:19:28 +00:00
jst%netscape.com
610222d73f Fixing rtm++ bug 55587. nsAReadableString::FindChar() was returning the index from the offset to the character if found in stead of the index from the beginning of the string. r=kin, sr&a=scc 2000-10-07 01:50:36 +00:00
disttsc%bart.nl
3a2fed4fb9 Add |.get()| to NS_ConvertUCS2toUTF8 to make getting rid of some MLKs easier, bug=54740, r=scc, a=waterson 2000-10-07 00:08:47 +00:00
mkaply%us.ibm.com
d5d97c8b5f #55327
r=mkaply, a=blizzard
OS/2 only code - bring nsLocalFileOS2 to current level
2000-10-05 20:44:11 +00:00
colin%theblakes.com
5d88f8bd74 r=dougt, sr=blizzard, bugzilla=55163
OpenVMS-specific change to handle HOME
correctly. Fixes location of appreg bug.
2000-10-05 10:12:15 +00:00
hyatt%netscape.com
cd13ab3d62 Fix win32 build bustage, r=scc 2000-10-05 07:48:20 +00:00
scc%mozilla.org
c14a699819 and trying to fix OS/2 bustage 2000-10-05 07:24:51 +00:00
vishy%netscape.com
8113e13325 sr=mscott,r=vishy (this is racham's code), bugzilla=48981
for standalone app, the profile data has to go in the windows
app data directory - not where the app is running
2000-10-05 03:34:18 +00:00
scc%mozilla.org
c56e2b14a0 and a access error ... r=waterson on this fix 2000-10-05 03:28:41 +00:00
scc%mozilla.org
09316bb030 damn typo 2000-10-05 01:51:52 +00:00
scc%mozilla.org
6c61076b41 bug #54601: r=waterson, a=brendan. Fix string allocation policy -- allocate exact size, double on fault ... thanks to everybody who helped me test this patch. 2000-10-05 01:19:59 +00:00
scc%mozilla.org
350a58ac5c fixed comments (so people are aware of the allocation policy) 2000-10-05 01:07:40 +00:00
scc%mozilla.org
64e5d4cbd1 bug #54712, r=rjc, a=waterson. Added a |Distance| function to calculate the span between two iterators, then added a constructor and appropriate global function to allow |Substring|s to be made from iterators in addition to the old scheme of {index,length} 2000-10-05 01:07:02 +00:00
dougt%netscape.com
66479b016a Replaces check for processingEvents. r=danm, darin a=hyatt 2000-10-04 19:47:12 +00:00
mkaply%us.ibm.com
2281d92324 #52455
r=dougt a=blizzard
These are OS/2 specific porting fixes in an XP file (plevent.c)
I'm checking it in without super-review because we desperately
need these fixes in our nightly build.
2000-10-03 00:20:05 +00:00
dougt%netscape.com
25f36f554d Fixes threadpool to maximize thread usage r=wtc@netscape.com, warren@netscape.com, brendan@mozilla.org, a=brendan@mozilla.org b=36750 2000-10-01 05:35:03 +00:00
mkaply%us.ibm.com
a47da58b87 #54535
r=mkaply, dougt, a=jband
Code from jpedemonte to fix profile creation
2000-09-29 20:40:10 +00:00
waterson%netscape.com
be8f8ecc25 Bug 53353. Factor nsMemoryImpl create/destroy from flusher thread startup/shutdown. Avoids creation of second memory flusher thread after XPCOM shutdown. r=scc, sr=warren 2000-09-28 23:17:49 +00:00
sgehani%netscape.com
cb37a54b7a Merging pr3 branch to trunk:
Renaming "Plugins" -> "Plug-ins"

b=53976
r=ssu
a=sfraser
2000-09-28 22:52:51 +00:00
mkaply%us.ibm.com
c90bc3ef8b OS/2 Tinderbox breakage
HOME dir isn't working on OS/2, so profile can't be created so the browser won't come up.
Change to OS2 dir to get things working.
r=dr
2000-09-22 17:32:10 +00:00
jband%netscape.com
45e7f2d67e checking in patch from Jon Smirl <jonsmirl@mediaone.net> that lets us see past xptcall 'SharedStub' frames in stack traces. Because xptcall was doing a non-standard frame the debuggers and trace tools were not showing callers. This fixes that problem and will allow us to get *much* better data on crashes and other problems where the stack crosses xptcall. Tested on debug and release. r=jband@netscape.com, a=brendan@mozilla.org, a=waterson@mozilla.org. Thank you Jon! 2000-09-22 10:09:23 +00:00
ccarlen%netscape.com
48d1306eb1 Fix for #52181 r=dougt, a=buster 2000-09-21 13:45:31 +00:00
warren%netscape.com
181bb2dcb2 Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani 2000-09-20 19:35:24 +00:00
waterson%netscape.com
a1e0644138 Fix orangeness on Linux. 2000-09-20 07:31:53 +00:00
waterson%netscape.com
7dc55680e8 Bug 44352. Remove nsIMemoryPressureObserver in favor of nsIObserverService et al., and convert existing nsIMemoryPressureObserver clients. Add memory flusher thread. Add debug UI to force memory flush. r=alecf,sfraser,warren a=warren 2000-09-20 05:44:19 +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
beard%netscape.com
e4d75a2017 [Not part of build] Changed getServices() to attribute services. 2000-09-19 14:48:11 +00:00
beard%netscape.com
40fafcfe3c [Not part of build] Added traceCollection, getServices methods. 2000-09-19 05:40:17 +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
mcafee%netscape.com
a8dd507165 Ignore generated files 2000-09-18 17:43:15 +00:00
brendan%mozilla.org
0352ff10a7 Define QI now that XPConnect wraps JS objects; fix comments (NOT PART OF BUILD). 2000-09-18 02:31:11 +00:00
cls%seawood.org
fa27c24583 If MOZ_ENABLE_JAR_PACKAGING is set, do not install the xpcom.properties. They will be in the the jar file 2000-09-15 22:16:01 +00:00