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

3125 Коммитов

Автор SHA1 Сообщение Дата
dp%netscape.com fa970c12ec Adding BreakAfterLoad() API to header. 2000-01-28 09:49:10 +00:00
dp%netscape.com 961042374a Debuggin help from components. Implementing BreakAfterLoad() for DEBUG
builds, which will stop in the debugger after loading any of the :
separated dll substrings listed in environment variable
XPCOM_BREAK_ON_LOAD. Stopping in debugger implemented for
unix.
2000-01-28 09:44:05 +00:00
jband%netscape.com 70fe081181 fix this misnamed method bug for shaver. r=shaver. NOT PART OF BUILD 2000-01-28 08:38:11 +00:00
mccabe%netscape.com a69d6461c1 Rework xpidl_idl to not use a circular buffer. This fixes many problems with buffer boundaries. Fixes
9716 unterminated %{ escape causes endless loop

Clean up memory handling and other aspects of xpidl. Fixes
        11058 bad free in xpidl
        13464 memory leak in xpidl

Store doc comments in IDL-processing phase, and emit them into generated header files.  Fixes
        24734 xpidl should emit doc comments

Add error towards fixing 24965, and fix 13100 'xpidl should error on multiple inheritance'

r=jband
2000-01-28 08:28:48 +00:00
dougt%netscape.com 91f877240e Removing WIN API which requires windows 98 or better. Fixes 25101, and
others.  I erronously checked in a fix which still linked with this non-win95
API.  So, now I am just defaulting to standard GetFileAttributes() and doing
away with the EX version.
2000-01-28 06:17:06 +00:00
sfraser%netscape.com 27e45a31de More fixing for startup crashes and other badness (bugs 25366 and 24312). Fix off by one buffer write. r=sdagley 2000-01-28 01:50:05 +00:00
pollmann%netscape.com de2fb540ba Fix VC 5.0 build bustage r=dougt, harishd 2000-01-28 00:41:06 +00:00
wtc%netscape.com 77ae2ff6a6 Bugzilla bug #17101: move plevent.h and plevent.c from mozilla/nsprpub
to mozilla/xpcom/threads by landing the PLEVENT_MOVE_BRANCH.
Modified files: nsprpub/lib/ds/MANIFEST, nsprpub/lib/ds/Makefile,
nsprpub/lib/ds/Makefile.in, nsprpub/macbuild/NSPR20PPC.mcp,
nsprpub/pr/include/obsolete/protypes.h,
xpcom/macbuild/xpcomPPC.mcp, xpcom/threads/MANIFEST,
xpcom/threads/Makefile.in, xpcom/threads/makefile.win,
xpcom/threads/plevent.h
2000-01-28 00:27:37 +00:00
sfraser%netscape.com 8c541c41a0 Fix for 24312 and other unpredictable crashers on startup. r=sdagley 2000-01-27 23:28:49 +00:00
sgehani%netscape.com 8afb6d4f9e Fix for XPInstall horkage on the Mac. b = 25288 r = sdagley a = mcafee (ssu will be watching the tree in my absence.) 2000-01-27 23:18:06 +00:00
putterman%netscape.com 14753a4220 Fixes 25272 and most likely 25274. r=dougt. 2000-01-27 20:06:23 +00:00
norris%netscape.com 99cce9c9ea Fix crash while loading jar: URI.
r=dougt
2000-01-27 15:58:23 +00:00
shaver%netscape.com 457a19be5b system information service (not yet part of build) 2000-01-27 09:40:17 +00:00
sdagley%netscape.com 7053f1d5f7 Residual work on #17949 - Need to make sure that path passed to Mac impl of nsLocalFile::InitWithPath doesn't end in a :. r=davidm 2000-01-27 08:11:19 +00:00
sfraser%netscape.com fa0e4ebbf5 The prefix file for the optimized target was set to a debug include file. fixed that. r=space monkey. 2000-01-27 07:03:33 +00:00
sfraser%netscape.com 5381c1f499 Some mac-only debug window control. bug 24312. r=jj 2000-01-27 05:51:40 +00:00
sfraser%netscape.com 51486b6b26 Fix the RegXPCOM application to hopefully not crash. bug 24312 r=jj 2000-01-27 05:51:11 +00:00
warren%netscape.com 658e423c71 Fixed problem where avg instance size was computed based on remaining object count, rather than total allocated count. May affect bloat stats on tinderbox. 2000-01-27 05:14:51 +00:00
dougt%netscape.com 96194b86a8 All of these are broken. Alway double check submission/suggestions. 2000-01-27 04:35:44 +00:00
sdagley%netscape.com 36bd7d9c72 Finish cleanup of #19150 - forgot to remove un-needed include after changing code to load fragment via nsLocalFileMac rather than directly calling NSPR. r=lumpy 2000-01-27 02:24:06 +00:00
dougt%netscape.com e61447cd08 Removing Windows95 compiler #ifdef in place of a runtime check
Fixing bug 25152 submitted by kin@netscape.com.

windows only changes.
2000-01-27 01:52:02 +00:00
pinkerton%netscape.com e5d4c38a9a Fix build bustage. needed a typecast in some cases, but not others. 2000-01-26 23:17:53 +00:00
dougt%netscape.com 685b99e170 xpcom/io changes,
Fixes bug 25028.
Added new dirty flag so that resolutions can be purged.
checked in VC5 fix from pollmann and jband
checked in fix from colin@theblakes.com for VMS.

r= valeski, pollmann, colin@theblakes
2000-01-26 21:55:13 +00:00
pinkerton%netscape.com 9d8c2663ba fix for NS_INTERFACE_MAP_END_INHERITING, wrong local var passed to base class's QI. r=scc. 2000-01-26 21:54:07 +00:00
idk%eng.sun.com 595678b109 Fixed some problems with [out] parameters. 2000-01-26 21:17:31 +00:00
jj%netscape.com abd1377dd3 #24312: bumped up memory partition to 20 Mb. 2000-01-26 02:37:33 +00:00
beard%netscape.com 19afa18999 bustage fix. r=dougt 2000-01-25 22:35:47 +00:00
mscott%netscape.com 52e7ef4deb filesize bustage. dougt's fix, r=shaver@mozilla.org 2000-01-25 21:41:00 +00:00
ssu%netscape.com ad510b294a Change the name of the current process directory to match that of the
directory service.  dougt's change r=ssu a=granrose
2000-01-25 20:46:02 +00:00
ssu%netscape.com cbeb05e698 Fixing up directory service so that the current process will be looked up
before being calculated.

Changed this GetProcessDirectory to return an allocated nsIFile.

Making sure that object stored in the nsHashtable are not muteable.

dougt's changes.  r=ssu.  a=granrose.
2000-01-25 20:43:47 +00:00
wtc%netscape.com adb2c3f5c4 Bugzilla bug #17101: added plevent.h (same as
mozilla/nsprpub/lib/ds/plevent.h, revision 3.12) and plevent.c
(same as mozilla/nsprpub/lib/ds/plevent.c, revision 3.36) to
mozilla/xpcom/threads.  These two new files have not been added
to the makefiles or project file, so they are not picked up by
the build.
2000-01-25 14:48:51 +00:00
sspitzer%netscape.com 5cdaa13c07 ignore the generated executable 2000-01-25 06:54:39 +00:00
dougt%netscape.com 0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
jdunn%netscape.com 7f1a8f6ba8 #= jdunn@netscape.com 2000-01-24 15:59:26 +00:00
warren%netscape.com 5439dac668 Fix for bugs 24008 and 23849 -- needed to keep mSegmentEnd and mWriteCursor in sync for out-of-memory case. a=chofmann r=fur,gordon 2000-01-21 23:16:35 +00:00
jdunn%netscape.com ab0b188028 Enable Optimized builds on HPUX
# 18875
r= pepper@netscape.com
a= chofmann@netscape.com
2000-01-21 03:17:50 +00:00
putterman%netscape.com 3295d7781f Fix for 24362. Status bar gets updated message counts. a=chofmann. r=dp and jband. 2000-01-20 22:57:08 +00:00
bienvenu%netscape.com b4ed4bbdc9 fix crash on win98 with funny file names, r=dougt 23578 2000-01-19 07:29:33 +00:00
jj%netscape.com 18de736423 #24312: bumped up memory partition of RegXPCom from 10 to 16 Mb. (now set in RegXPCom.mcp prefs instead of -obsolete- RegXPCom.rsrc) r=sfraser 2000-01-19 02:01:02 +00:00
jj%netscape.com f66336369e File Removed. 2000-01-19 01:57:18 +00:00
jdunn%netscape.com 175ee75c0d fix the 'this' adjustment, AIX uses CFRONT while gcc on ppc uses the other one
#= 24305
r= jdunn@netscape.com - I know this is me, but this is an AIX only bug.  jband
   talked me through the fix
2000-01-19 01:19:26 +00:00
scc%netscape.com 80984495ad Fixing runtime assert bustage. r=pinkerton 2000-01-19 01:18:27 +00:00
waterson%netscape.com dde56e71e8 Make ResolveSymLink() fail silently if target was not a shortcut. r=lumpy 2000-01-19 00:35:01 +00:00
scc%netscape.com cf8ef31b63 replace |nsVector| with |nsVoidArray| as per bug #11666. r=dp 2000-01-18 23:03:29 +00:00
scc%netscape.com cb4567b4c8 replaced |nsVector| with |nsVoidArray| as per bug #11666. r=brendan 2000-01-18 22:19:52 +00:00
rickg%netscape.com 1e1d20f88e bug24015; r=rods a=chofmann 2000-01-18 21:06:05 +00:00
jband%netscape.com 4ab84070fb Not part of build. Updating status page 2000-01-18 08:19:27 +00:00
mccabe%netscape.com 3924a1c44a Fix problem with generated consts in .h files for OS/2 - also handle the internal const value more sensibly, and lose wrong 'is_long' distinction.
Thanks to Henry Sobotka <sobotka@axess.com> for finding this problem and suggesting a fix.

r=mccabe
2000-01-18 05:16:48 +00:00
sford3%swbell.net b2c319eae7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
sfraser%netscape.com 91facce6a5 Add nsTextFormatter.cpp, for sford 2000-01-17 22:12:20 +00:00
sfraser%netscape.com a3536e8c1d Add nsTextFormatter.h, for sford 2000-01-17 22:12:12 +00:00
sford3%swbell.net ab6a38b233 Beginning of work on 16951, not part of build yet 2000-01-17 06:33:59 +00:00
beard%netscape.com ccbba8bc22 bug fix for bug #11199, should remove partially created output file. 2000-01-17 04:13:05 +00:00
dougt%netscape.com 781a91974d fixes bug 24122. submitted by beard. 2000-01-16 23:30:33 +00:00
briano%netscape.com 9506fe0682 Replaced MOZ_COMPONENT_XPCOM_LIBS with MOZ_COMPONENT_LIBS so we pick up the NSPR libs as well. Fixes a couple of ignored platform Tinderbox builds. 2000-01-16 22:52:57 +00:00
dougt%netscape.com 4090a10b2b Making event handler callbacks static.
removing lock during XPT invoke

suggested by jband.  bug 18110.
2000-01-14 05:03:29 +00:00
jst%citec.fi eeccc4859d Fixing copying of wstring argument, this fixes the problem with only the first character of some status messages showing up in the browser. This fix also eliminates one string copy. r=dougt@netscape.com, a=mozbot. 2000-01-14 00:06:57 +00:00
norris%netscape.com b0ba1f5b70 Fix 18592 Fix example: XPCom components cannot be used under
r=mstoltz
2000-01-14 00:03:46 +00:00
jdunn%netscape.com 2a12ec9360 use C style comments and not C++
r= scc@netscape.com
a= leaf@mozilla.org
2000-01-13 23:06:47 +00:00
jband%netscape.com 8ebdc7fd46 Fix to deal with arrays of interface pointers. r=mccabe 2000-01-13 05:54:40 +00:00
scc%netscape.com a2dea03069 macros and defs to removed conditional definition of |GetIID()| within |nsISupports|. r=beard, (waterson?), bug=10477 2000-01-13 05:48:47 +00:00
pinkerton%netscape.com 153998843d fix the case where the char stream impl reallocated its buffer to accomodate data > 256 bytes. mLength wasn't set (at all) so the memcpy() copied nothing into the new buffer. 2000-01-13 02:00:57 +00:00
scc%netscape.com 0fc0a0709f factor the |IMPL_QUERY| macros to support inheriting |QueryInterface|. Redefine all the |NS_IMPL_ISUPPORTSn| macros in terms of the table-style macros. r={pinkerton, sfraser} 2000-01-12 16:01:14 +00:00
mccabe%netscape.com 07b2669fa3 Reinstating backed-out fix to 20833 from earlier, this time with a change that seems to work on solaris and mac. 2000-01-12 13:33:40 +00:00
mccabe%netscape.com 56eb32a7ae Reverting const-generation code that seems to be trouble for Solaris. 2000-01-12 03:34:30 +00:00
sfraser%netscape.com af46cbd1b9 Fixing bustage by ensuring that xpidl_utils.c is only in the compiler target. r=mccabe 2000-01-12 03:09:33 +00:00
mccabe%netscape.com e3377a41b5 changing #include "xpt_stuct.h" to <xpt_struct.h> b/c I don't think Mac is finding the file. 2000-01-12 02:48:06 +00:00
mccabe%netscape.com 98fc705a06 added files: mozilla/xpcom/typelib/xpidl/xpidl_util.c 2000-01-12 01:47:05 +00:00
mccabe%netscape.com 4c9d90c5c7 Batched set of fixes to xpidl. NOTE this'll probably cause the world to rebuild.
* fix 20833 - generate numbers of appropriate form in header output mode for short, long, signed or unsigned IDL consts.  Thanks to bratell@lysator.liu.se for finding this and confirming the fix.

* fix 11199, remove .h output file on failure - partially generated files caused trouble, as they had the proper timestamp to fool 'make' next time around. Punted on mac.

* Restore Mac hack to fix \r to \n, requested by Beard.

* Make 'const decl must be short or long' warning into error for typelib mode.  This mirrors an existing error in header mode.

* Fix up various aspects of xpidl, including:

- Move shared functions from xpidl_idl.c and xpidl.c 'main' module to new xpidl_util.c.

- Recast nodehandler-table-per-backend as 'backend' struct, including broken-out prolog and epilog functions.  Replaces overloaded IDLN_NONE node handler that did prolog code on non-null tree, epilog on null.  Move backends to new API.

- Rename a few structs more logically.

- Add a new list to track files included from the base .idl file, for generated #includes in output header file.  This replaces using the 'already-included' hashtable for this purpose, and lets us generate just the minimal set of #includes, in the order they occured in the .h file.

- Various fixes to quiet xpidl warnings.

- Change main() to only accept one input file from the command line, because the basename code assumes this, and multiple files aren't needed by our make system.

r=jband
2000-01-12 01:46:21 +00:00
dougt%netscape.com 0a65311418 locking nsProxyObject before calling XPT_InvokeByIndex()
locking maps for entire GetNewOrUsedClass() process.
locking maps while trying to Find an IID off of a Root.
locking when removing from RealObjectToProxyObjectMap

I am hoping that this will fix some of the SMP problems, namely 21556.

r=mccabe.
2000-01-12 01:26:11 +00:00
jdunn%netscape.com 370313154b Fix slamm's warnings of shadowing previous variables.
r= rhp@netscape.com
r= warren@netscape.com
r= rpotts@netscape.com
2000-01-12 00:54:10 +00:00
dp%netscape.com 2df47b0c6d Implementing access to servicemanager from component manager via
nsIInterfaceRequestor. r=scc
2000-01-11 22:54:46 +00:00
dp%netscape.com 331dbeb0cd Providing register and unregister hook per component in the generic
module. r=alecf
2000-01-11 21:18:55 +00:00
pp%ludusdesign.com 698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
cls%seawood.org 4f34e05855 Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00
jdunn%netscape.com cb0c532e85 Fix base class specifiers, since be default if they aren't specified it is Private
# 23237
r= warren@netscape.com, ftang@netscape.com, jband@netscape.com
2000-01-11 01:45:34 +00:00
warren%netscape.com cf1e6b2be9 Added NS_IMPL_AGGREGATED_QUERY_HEAD macro. 2000-01-10 23:14:32 +00:00
dp%netscape.com 61b99b3b63 On Shutdown let servicemanager be available until the xpcom shutdown
observers are notified.
2000-01-10 21:26:56 +00:00
dp%netscape.com d6283aff87 Adding comments to explain shutdown further. 2000-01-10 21:26:00 +00:00
duncan%be.com be3945ad99 Fix BeOS build by making changing nsResProtocolHandler.cpp like
Windows and Mac, and fix a couple nsSpecialSystemDirectory bugs.
All the changes are BeOS specific (i.e. wrapped in XP_BEOS or
only used by code wrapped in XP_BEOS).
r=mcafee
2000-01-08 09:09:02 +00:00
waterson%netscape.com c89ee29031 Bug 23297. Munged patch from Franz.Sirl-kernel@lauterbach.com; simplify and clean up code. r=waterson or r=Franz.Sirl-kernel@lauterbach.com, depending on how you look at it. 2000-01-08 00:30:08 +00:00
jband%netscape.com bbb40e6dd7 Allow generic module stuff to work with singletons. Needed to fix bug 22922. r=dp 2000-01-07 02:18:13 +00:00
warren%netscape.com 91ee8e32c4 Fixed Has method as per Doug's request. 2000-01-06 23:02:32 +00:00
waterson%netscape.com 619d700ee4 Bug 21472. Use only strict relationals with LL_CMP(). r=brendan 2000-01-06 20:22:29 +00:00
dougt%netscape.com d887958ad4 fix for 22943. removing xp-mac specific code from xp interface, enabling asserts
on the mac. r= sdagley
2000-01-06 20:08:14 +00:00
dougt%netscape.com bfc6760bd6 Fix for bug 22933 submitted by jonas.utterstrom@vittran.norrnod.se. r=dougt. 2000-01-06 19:46:44 +00:00
briano%netscape.com 35a9a5201b Backed out the Solaris fix, because Linux doesn't like it. It may be that -z allextract and -Wl,--whole-archive behave differently. 2000-01-06 03:06:22 +00:00
briano%netscape.com 890a0d3da8 Fix for _optimized_ nightly Solaris 2.6 builds. 2000-01-06 02:06:56 +00:00
mscott%netscape.com 1ec9e54be0 someone removed nsIServiceProvider.h from the build and didn't remove it from mac and unix makefiles!!! Shame on you... Fixing the build breakage on the mac. 2000-01-06 01:36:00 +00:00
mcafee%netscape.com 5f6a9e7799 Fixing linux bustage. 2000-01-06 01:16:42 +00:00
mcafee%netscape.com 29f5443a16 plvector.c is a C file, this was linking incorrectly on optimized solaris. r=briano 2000-01-06 01:12:25 +00:00
edburns%acm.org 13be6d7ebf I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
warren%netscape.com 359bfe3062 Fixed xpcom shutdown to disallow reconstruction of the global service manager. r=dp 2000-01-06 00:34:38 +00:00
warren%netscape.com b17760cea8 Added .get() to fix unix breakage. 2000-01-05 10:59:25 +00:00
warren%netscape.com 570a306175 Obsoleted old file. 2000-01-05 10:27:32 +00:00
warren%netscape.com 54dd55cddc Made nsIProperties scriptable. 2000-01-05 09:33:43 +00:00
warren%netscape.com 06918ca494 Made nsIProperties scriptable. Bug #21982 2000-01-05 09:29:25 +00:00
warren%netscape.com e07863e48c Added OnClose method to nsIPipeObserver (bug#23080) 2000-01-05 05:07:46 +00:00
sdagley%netscape.com a3cedcb874 Fix build bustage - warren obsoleted nsPipe2.h but didn't update the manifest 2000-01-05 04:57:12 +00:00
warren%netscape.com 6fee6622fd Removed nsPipe2.h -- obsolete. 2000-01-05 03:56:47 +00:00
dougt%netscape.com bbba930444 *** empty log message *** 2000-01-04 00:50:08 +00:00
sspitzer%netscape.com 3a7dedd313 turn off assertions until dougt fixes #22943. r=dougt 2000-01-04 00:14:37 +00:00
dougt%netscape.com a3dfcdfd49 Adding explict includes. 2000-01-03 23:50:19 +00:00
blizzard%redhat.com d6cf22aa5c Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
warren%netscape.com 538b2ca40f Breaking out persistent properties from nsIProperties.h. 1999-12-29 20:55:42 +00:00
warren%netscape.com 9531c0b6ae Added nsIStopwatch for timing analysis. 1999-12-29 20:54:13 +00:00
warren%netscape.com c3c3652080 Added new logging service to replace PR_LOG. 1999-12-29 20:53:17 +00:00
bryner%uiuc.edu 717cbdd7e2 Fix a warning. r=mcafee. 1999-12-28 20:26:56 +00:00
sspitzer%netscape.com fbd97e9856 fix warnings. 1999-12-28 19:37:29 +00:00
sspitzer%netscape.com 17c627bc23 fix warning for scc. 1999-12-24 03:42:54 +00:00
idk%eng.sun.com c3a75ec8af Addon to my last checkin.
sorry
1999-12-23 01:26:39 +00:00
idk%eng.sun.com f710b056f5 Initial check in for remote xpcom module.
More documentation andd implementations is comming.

gotta go
work on this module would be continued after 01/10/2000
1999-12-23 01:16:05 +00:00
dougt%netscape.com fec1d697e4 Adding include of prlink.h to nsILocalFile.idl.
remove a bad semicolon in nsLocalFileWin

above not in build.

Adding an explict include of nsCRT to nsPipe2.cpp

this is in the build, but is trival.
1999-12-22 04:11:13 +00:00
dougt%netscape.com b5b2844b63 implement load().
not part of build.
1999-12-22 03:01:08 +00:00
dougt%netscape.com 0ac3ce03e5 adding a load() command which will allow loading of libraries.
not part of build
1999-12-22 02:59:01 +00:00
dougt%netscape.com 34d3726653 removing unneeded header file.
not part of build.
1999-12-22 01:58:25 +00:00
vidur%netscape.com 5a82d25d66 Added IID for nsIDOMHTMLFormControlList. a=dagley r=nisheeth 1999-12-22 01:57:28 +00:00
dougt%netscape.com 95f50f9301 1. First cut of a Special System Directory replacement (nsDirectoryService).
It is a nsIProperty.

2. Updates to the nsIFile and nsILocalFile interfaces based on conversations
   with warren. (thanks)

3. Updated windows mac and unix implementations based on interface changes.
   Mac and windows changes need to be reviewed.


                          Not part of build.
1999-12-22 01:56:45 +00:00
dougt%netscape.com 8b081cae4b removing nsIFile stuff from the windows makefile for now. a=sdagley. 1999-12-22 01:50:30 +00:00
dougt%netscape.com 7b6cb1119f fix for 16273. r=valeski, a=sdagley. 1999-12-22 01:47:59 +00:00
rickg%netscape.com 1c48bc0daa fixed bug in compressChars2 where logic to test for ascii range was reversed; r=buster; a=jar 1999-12-21 07:49:34 +00:00
valeski%netscape.com f182a466ac a=chofmann, 21783. inverted parameter validation checks have been corrected. 1999-12-21 03:00:54 +00:00
briano%netscape.com 14b191325e NetBSD/arm-specific build bustage fix. The underlying problem _seems_ to be with ld, but I've been wrong before.... 1999-12-21 01:39:12 +00:00
waterson%netscape.com f15c00b036 Bug 22212. Re-enable observer service weak ref stuff, now that a good fix is in for PageCycler. a=chofmann 1999-12-21 00:12:25 +00:00
dougt%netscape.com bad2d6b476 Adding back the assert since I fixed the problem in the GTK appshell. 1999-12-20 23:12:18 +00:00
waterson%netscape.com f0008a0cf9 Reverting scc's changes until we can sort out the browser buster stuff. a=chofmann 1999-12-20 22:13:33 +00:00
scc%netscape.com e765050567 Enabling weak observer lists. Back this code out (if needed) by commenting out the |#define NS_WEAK_OBSERVERS| line since it also contains fixes. bug#18682, r=law, a={dp, chofmann} 1999-12-19 17:14:47 +00:00
sspitzer%netscape.com cc7ea1bbf1 make it so dougt's assertions only happen for him.
there is no reason the whole world should see a billion printfs.
1999-12-18 10:17:09 +00:00
briano%netscape.com 3eeeee81a2 Now FreeBSD/alpha and NetBSD/alpha builds can use the Linux/alpha code. 1999-12-18 03:43:19 +00:00
jdunn%netscape.com b50bf4c0c4 Fix the AIX xptcall work
a= chofmann
# 18692
1999-12-15 19:01:53 +00:00
sspitzer%netscape.com 22b6b14e23 purify related fixes. first, prevent a crash that was prevent me
from running purify in nsGenericFactory.cpp.  Second, add support
for "mozilla -pure".  Only works if you've build mozilla.bin.pure, of course.
1999-12-15 06:23:50 +00:00
dougt%netscape.com b322930c74 Speeds up the product by removing calls to PR_Sleep() in favor of PR_WaitForEvent().
This really rocks.  r=valeski, a=jar.
1999-12-15 04:49:55 +00:00
valeski%netscape.com 7eda757e29 21723. a=chofmann, r=warren. earlier this week segment size and max size parameters were exposed to higher level consumers of necko apis. this change warns a user if they try to create a pipe w/ zero len segs and max sizes. pipes are useless without sizes 1999-12-14 22:08:40 +00:00
valeski%netscape.com 2f303433fa 21723. a=chofmann, r=rpotts. Laying ground work for FTP checkin. This fixes an oppressive event queue api method. We weren't returning the event to be processed. subsequently the event was being lost. There are currently *no* users of this method in the tree. 1999-12-14 22:06:17 +00:00
briano%netscape.com 9587f6dc46 Final portion of the fix for bug 20882. Just a cleaner way of doing what is already being done. 1999-12-14 00:56:50 +00:00
dougt%netscape.com 0a71a2d506 Added an assert and return so that eventQs only get
processed on the owning thread.  This fixes at least
18005 and 17065.  r=damn@netscape.com, a=chofmann.
1999-12-13 23:05:31 +00:00
mccabe%netscape.com 0666068a75 Fix to 21512.
Added big note saying 'please disable security before trying to run
this' so nobody gets frustrated.

Updated sample component progid reference to actually match the .cpp.
Now the page actually works!  (John Morrison
<3jrgm@qlink.queensu.ca> caught this in mozilla.xpcom)

Thanks to Rick Bradley <roundeye@bellsouth.net> for pointing me to the
problem, and for encouraging me to add a note.

r=mccabe.  Not part of the build.
1999-12-12 05:41:29 +00:00
bienvenu%netscape.com 5b31932b02 fix file truncation on windows, was breaking pop filters, r=dougt, a=chofmann 20634 1999-12-10 23:33:30 +00:00
warren%netscape.com 7d4fa072a5 Fix for leak/bloat stats going negative. a=jar 1999-12-10 04:27:52 +00:00
kin%netscape.com 3308275ef6 Fix for bug #21317: UMR: nsCAutoString::=(nsCAutoString const&)
Added nsCAutoString& operator=(nsCAutoString&).
r=rickg@netscape.com a=chofmann@netscape.com
1999-12-09 22:53:52 +00:00
shaver%netscape.com a4cd86a287 fix leaf of registryName (#21068, r=beard, a=leaf) 1999-12-09 00:01:46 +00:00
sdagley%netscape.com d17bcebfe3 First Checked In. 1999-12-08 07:56:17 +00:00
fur%netscape.com edbc3a53e1 Need to reset pointers within segment after realloc, since segment base
may have changed.
1999-12-08 06:28:44 +00:00
rginda%netscape.com f5f06fba37 Fix for unix bustage, r=scc@netscape.com 1999-12-08 06:14:33 +00:00
scc%netscape.com 2645d4a68f Changes to make observer lists hold only weak references. This code is disabled by default; enabled by the symbol |NS_WEAK_OBSERVERS|. The code will remain disabled until two underlying ownership bugs are fixed: hanging the wallet service from something permanent, and finding the observer someone is registering through XPConnect that does not support weak references. bug#=18682; r=dp 1999-12-08 05:24:14 +00:00
dougt%netscape.com ac4e013485 turning on nsIFile for windows. 13320 1999-12-08 05:14:54 +00:00
norris%netscape.com af18497222 I ran Purify and found this:
>
> [E] ABR: Array bounds read in
> nsFileSpecHelpers::UnixToNative(nsSimpleCharString&) {48 occurrences}
>     Reading 1 byte from 0x03f00b2c (1 byte at 0x03f00b2c illegal)
>     Address 0x03f00b2c is 1 byte past the end of a 268 byte block at
> 0x03f00a20
>     Address 0x03f00b2c points to a malloc'd block in heap 0x03c30000
>     Thread ID: 0x9c
>     Error location
>         nsFileSpecHelpers::UnixToNative(nsSimpleCharString&)
> [nsFileSpecWin.cpp:111]
>                     src = (char*)ioPath;
>
>                     // Convert '/' to '\'.
>              =>     while (*++src)
>                     {
>                         if (*src == '/')
>                             *src = '\\';
>         nsFileSpec::+=(char const*) [nsFileSpecWin.cpp:394]
>         nsChromeRegistry::CheckForProfileFile(nsCAutoString
> const&,nsCAutoString&) [nsChromeRegistry.cpp:1278]
>         nsChromeRegistry::LoadDataSource(nsCAutoString const&,nsIRDFDataSource
> * *,int) [nsChromeRegistry.cpp:713]
>
> nsChromeRegistry::InitializeDataSource(nsString&,nsString&,nsIRDFDataSource *
> *,int) [nsChromeRegistry.cpp:784]
>         nsChromeRegistry::ConvertChromeURL(nsIURI *)
> [nsChromeRegistry.cpp:527]
>         nsChromeProtocolHandler::NewChannel(char const*,nsIURI *,nsILoadGroup
> *,nsIInterfaceRequestor *,UINT,nsIURI *,UINT,UINT,nsIChannel * *)
> [nsChromeProtocolHandler.cpp:371]
>         nsIOService::NewChannelFromURI(char const*,nsIURI *,nsILoadGroup
> *,nsIInterfaceRequestor *,UINT,nsIURI *,UINT,UINT,nsIChannel * *)
> [nsIOService.cpp:250]
>         nsDocumentOpenInfo::Open(nsIURI *,int,char const*,nsISupports *,nsIURI
> *,nsIInputStream *,nsISupports *,nsISupports * *) [nsURILoader.cpp:168]
>         nsURILoader::OpenURIWithPostDataVia(nsIURI *,int,char
> const*,nsISupports *,nsIURI *,nsIInputStream *,nsISupports *,nsISupports *
> *,UINT) [nsURILoader.cpp:418]
>     Allocation location
>         malloc         [dbgheap.c:129]
>         PR_Malloc      [prmem.c:38]
>         nsSimpleCharString::ReallocData(UINT) [nsFileSpec.cpp:248]
>         nsSimpleCharString::CopyFrom(char const*,UINT) [nsFileSpec.cpp:167]
>         nsSimpleCharString::nsSimpleCharString(char const*)
> [nsFileSpec.cpp:60]
>         nsFileSpecHelpers::UnixToNative(nsSimpleCharString&)
> [nsFileSpecWin.cpp:104]
>         nsFileSpec::+=(char const*) [nsFileSpecWin.cpp:394]
>         nsChromeRegistry::CheckForProfileFile(nsCAutoString
> const&,nsCAutoString&) [nsChromeRegistry.cpp:1278]
>         nsChromeRegistry::LoadDataSource(nsCAutoString const&,nsIRDFDataSource
> * *,int) [nsChromeRegistry.cpp:713]
>
> nsChromeRegistry::InitializeDataSource(nsString&,nsString&,nsIRDFDataSource *
> *,int) [nsChromeRegistry.cpp:784]
>
> which is fixed by this patch.
1999-12-08 02:53:37 +00:00
dougt%netscape.com 8b94c587f9 removing MoveToFollowingLinks(). It was discussed that was not needed due
to links being broken. r=shaver

more tweeks to get symlinks working correct on windows.

not part of the build yet.
1999-12-08 02:07:38 +00:00
dp%netscape.com 924289af27 Using ShutdownGlobalServiceManager() for servicemanager shutdown. r=putterman@netscape.com 1999-12-08 02:03:25 +00:00
dp%netscape.com 5e69c59d46 Adding assertion to check for improper shutdown of servicemanager. r=chofmann@netscape.com 1999-12-08 02:00:30 +00:00