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

3239 Коммитов

Автор SHA1 Сообщение Дата
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
scc%netscape.com 424433c86b bug #25621: didn't check for null before |AddRef()|. Converted |NS_ADDREF|-->|NS_IF_ADDREF|. No code review. 2000-02-07 10:05:14 +00:00
scc%netscape.com 18d254421b enable the |ASSERT_NO_QUERY_NEEDED| tests for the |getter_AddRefs()| case as well. bug #26420, r=dougt 2000-02-06 21:17:51 +00:00
dveditz%netscape.com 2f965c4c8d added quoting so we can execute windows files with spaces in their names -- such as anything in a subdir of 'Program Files' 2000-02-06 10:09:16 +00:00
scc%netscape.com 2c402f0276 Oops, need to call |initialize()|. More comments. Fix over-zealous |AddCategoryEntry()|. r=sspitzer 2000-02-06 08:26:13 +00:00
sspitzer%netscape.com b8a3418dbc fix the cookie / news component registry problem.
the problem was mRegistry was null, so we'd fail when calling persist().
2000-02-06 05:43:38 +00:00
sspitzer%netscape.com 9c471e00e3 prevent crash, return if mRegistry is null. 2000-02-06 05:25:38 +00:00
scc%netscape.com 40e6c21251 #include "nsCategoryManager.h", and hook it up as a service. That's it, I think. bug #26011; r={waterson,sspitzer} 2000-02-06 02:02:24 +00:00
scc%netscape.com a1a46ff8ac Added factory, and factory constructor function to get this thing hooked up. That's it, I think. bug #26011; r={waterson,sspitzer} 2000-02-06 02:01:39 +00:00
sspitzer%netscape.com 484b02b81d scc rewrote this in C++. r=scc 2000-02-06 01:21:35 +00:00
sspitzer%netscape.com f218d5ba48 stop building nsCategoryManager.js and start building nsCategoryManager.cpp
on linux and windows
2000-02-06 01:19:28 +00:00
scc%netscape.com 8ec74054ea fixing bustage, omitted result type 2000-02-06 01:16:32 +00:00
sspitzer%netscape.com c6c8dddea7 fix warnings, make it build on linux. 2000-02-06 01:12:47 +00:00
scc%netscape.com 370c83f3bd Added "nsCategoryManager.cpp", as per bug #26011 2000-02-06 01:07:44 +00:00
scc%netscape.com 7926e52ab7 Adding the CID, progID, etc., so I can get the C++ version registered as a service. r=waterson 2000-02-06 01:01:08 +00:00
scc%netscape.com dd34a34e7d Adding the CID, progID, etc., so I can get the C++ version registered as a service. r=waterson 2000-02-06 00:57:11 +00:00
scc%netscape.com b3649364e4 Eliminating duplicate macros, r=dougt 2000-02-05 23:55:09 +00:00
sspitzer%netscape.com de68eeaf83 nsIServiceProvider.h doesn't exist anymore 2000-02-05 09:56:55 +00:00
risto%netscape.com f5da0acb64 One more URL change
r=sspitzer
2000-02-05 09:10:10 +00:00
scc%netscape.com e72a4548f8 finished filling in |AddCategoryEntry|. Now all I have to do is get the thing registered and instantiated 2000-02-05 07:58:56 +00:00
scc%netscape.com 252cd72a5d fixed tabs, added registry loading code, some comments... almost ready to go 2000-02-05 07:42:30 +00:00
risto%netscape.com 65c0d3c80a Changing all cvs-mirror.mozilla.org references to point to politically
correct addresses, for example tinderbox.mozilla.org, lxr.mozilla.org or
bonsai.mozilla.org. cvs-mirror shouldn't use in URLs anymore because it's
now on different server.

r=bryner
2000-02-05 07:23:36 +00:00
scc%netscape.com d770b51a5b First Checked In. 2000-02-05 06:19:49 +00:00
sspitzer%netscape.com 1c71fea64a export nsCategoryManager.js 2000-02-05 05:22:19 +00:00
jband%netscape.com 2d23e17518 fix test bustage due to typo in JS code. This was a known problem that I could have SWORN that shaver checked in a fix for 2000-02-05 04:42:04 +00:00
warren%netscape.com 1adb95c763 Pulled out NS_MeanAndStdDev as an xpcom exported function for convenience. 2000-02-05 02:07:45 +00:00
dougt%netscape.com 7734ccb1d7 Fix for bug 26420. r=scc@netscape.com 2000-02-04 23:14:27 +00:00
sdagley%netscape.com 8bb810068e Added comment warning that the file size attribute only deals with the data fork on the Mac and point to Mac specific interface for dealing with the size of the combined forks. r=none as this is just cleanup. 2000-02-04 23:06:56 +00:00
dougt%netscape.com b6f0b9e262 Empowering the world. Bug. 25374, basically we create a directory without
the correct permission.
r=racham&&mozbot.
2000-02-04 22:57:37 +00:00
mscott%netscape.com 83547ed348 Back out the changes to the pipe code to fix regression bugs: 26533 and one i forgot the number of. =)
r=warren
a=leaf
2000-02-04 21:45:46 +00:00
warren%netscape.com cd6e6d6513 Fix for bug 24996 - moving file creation from nsStreamXferOp into nsFileTransport where it belongs. r=mscott 2000-02-04 08:33:17 +00:00
sdagley%netscape.com 8e7fc7d323 nsLocalFileMac work. Added GetFileSizeWithResFork() method for callers that need to account for the total size of a Mac file (GetFileSize() only returns the size of the data fork). r=pinkerton 2000-02-04 07:17:36 +00:00
sdagley%netscape.com 9419bc40eb For now nsLocalFileMac::GetFileSize should only return the size of the file's data fork to be compatible with other places in the code that make that assumption. r=saari 2000-02-04 05:26:00 +00:00
sgehani%netscape.com bdb0774998 Fix for XPInstall horkage on the Mac. b = 26327 r = dougt a = leaf 2000-02-03 21:06:35 +00:00
sfraser%netscape.com d4887789f0 Test that the filespec has been initialized, before using it to delete entire directory trees. Blocker. r=Ben_Goodger, a=leaf 2000-02-03 20:49:40 +00:00
warren%netscape.com 8d80a7196e Added NS_IMPL_ISUPPORTS_INHERITED3 macro. 2000-02-03 08:51:30 +00:00
dougt%netscape.com 9a70a79c48 removing unneeded lock. 2000-02-03 02:37:51 +00:00
Jerry.Kirk%Nexwarecorp.com c94584646d Change what its looking for with Neutrino because my uname was
changed. It was looking for NTOx86 but now it should be NTOx86pc
2000-02-03 01:03:19 +00:00
valeski%netscape.com a567c875bb r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
putterman%netscape.com e3af0aa031 Fix for 8405. Japanese shows up in thread pane sender column. r=nhotta, waterson. 2000-02-02 01:46:24 +00:00
sdagley%netscape.com 6e4b26e6ea Fixing bustages in nsLocalFileMac - fixes #25629, #26106 and #25277. r=pinkerton 2000-02-01 23:42:28 +00:00
pp%ludusdesign.com 48e640ed4f Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
dougt%netscape.com f9a743cbcb Fix for bug 25941. r=dp,scc. 2000-02-01 07:54:46 +00:00
leaf%mozilla.org b35887b304 windows-only build goop for xpcom/base/nsSystemInfo.cpp, r=syd 2000-02-01 01:08:29 +00:00
scc%netscape.com 6366d6d779 Fixed access paths for upcoming switch to Pro5, see bug #25949. r=pinkerton 2000-02-01 00:49:16 +00:00
dougt%netscape.com ddffe2bc5c Hashtable miss fix. Wrong operator used. submitted by warren. 2000-01-31 23:10:55 +00:00
dougt%netscape.com bdecfd4757 bug fix 25626. r=tor@cs.brown.edu 2000-01-31 23:09:14 +00:00
dougt%netscape.com f20a6b9f24 Since we are only getting information about this file, we should no pass the
GENERIC_READ flag.
2000-01-31 23:07:35 +00:00
dougt%netscape.com d50e282b56 Initializing return values before they are used. 2000-01-31 23:06:04 +00:00
sdagley%netscape.com b3c9985980 Fix mem leak in My_CloseDir() (#25614). r=saari 2000-01-31 22:41:05 +00:00
dp%netscape.com ddcd8ae7df Updating sample generic module showing usage of registration and
unregistration hooks. r=scc
2000-01-31 22:14:43 +00:00
scc%netscape.com f1d17da7df Fixed tabs, some comments, etc. Made |do_QueryInterface()| not participate in the |...TEST_DONTQUERY_CASES| test to help us debug bug #25327. r=pinkerton 2000-01-29 22:29:08 +00:00
scc%netscape.com ea5051731c fix include paths 2000-01-29 20:09:20 +00:00
dougt%netscape.com cff32d57ca Changing IsContainedIn to contains. Reverting to prior version. 2000-01-29 00:00:21 +00:00
dougt%netscape.com 413cc55ebd Renaming IsContainedIn to contains() 2000-01-28 23:54:26 +00:00
dougt%netscape.com 60f34b55dc Renaming IsContainedIn to contains. Fixing implementation on unix. 2000-01-28 23:53:59 +00:00
dougt%netscape.com 461b6ae270 changing flags from DEBUG_dougt to DEBUG_xpcom_proxy.
r=dveditz
2000-01-28 23:51:00 +00:00
dougt%netscape.com 4e572a8752 Changing CID format. r=dveditz 2000-01-28 23:38:20 +00:00
dougt%netscape.com bae665046a Giving these files Purify loving. r=dveditz 2000-01-28 23:37:27 +00:00
dougt%netscape.com d9a6754c4b Fixing dll exports for NS_NewLocalFile()
r=dveditz
2000-01-28 23:35:55 +00:00
sspitzer%netscape.com 444c856c36 fix build breakage on platforms with out ENOLINK
r=Pascal Hofstee <daeron@shadowmere.student.utwente.nl> and r=leaf
2000-01-28 23:09:58 +00:00
ftang%netscape.com db0b7d7842 fix bug 23353. r=warren,rickg . Do not store listener in member data. 2000-01-28 14:41:04 +00:00
dp%netscape.com 026b164598 Removing asm() code. Wont compile on nonx86 linux. 2000-01-28 11:31:39 +00:00
dp%netscape.com 0c427aebb7 Using asm() only for linux. 2000-01-28 11:04:51 +00:00
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