rhp%netscape.com
5e2156e1ac
Fix for memory allocation off by 1 error. No bug. r: rhp (submitted by Ben Bucksch <mozilla-news@bucksch.org>
...
git-svn-id: svn://10.0.0.236/trunk@53808 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 02:46:52 +00:00
erik%netscape.com
0b192df612
Grabbing the next available IID. Does not affect the build.
...
git-svn-id: svn://10.0.0.236/trunk@53793 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 00:09:46 +00:00
warren%netscape.com
d8627fe912
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
...
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +00:00
warren%netscape.com
990558f3e9
Added nsICapabilities. Abstracted out from nsIContentViewerContainer for use in necko.
...
git-svn-id: svn://10.0.0.236/trunk@53759 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 07:36:40 +00:00
jdunn%netscape.com
6af106def0
fixing HPUX 10.20's which was having problem with this definition since
...
it was creating an unresolved symbol "static_iid"
r= dougt@netscape.com
# 19021
git-svn-id: svn://10.0.0.236/trunk@53719 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 01:01:22 +00:00
fur%netscape.com
14e4fb4755
#8305 (Cache implementation)
...
Added dependencies to pick up nsStorageStream.cpp and nsBinaryStream.cpp
git-svn-id: svn://10.0.0.236/trunk@53683 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 21:14:52 +00:00
tbogard%aol.net
2a61872f8a
Commented out references to nsIWebShell::GetRootWebShellEvenIfChrome().
...
git-svn-id: svn://10.0.0.236/trunk@53675 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 20:04:40 +00:00
fur%netscape.com
0a75ddd78f
added files: mozilla/xpcom/io/nsStorageStream.cpp, mozilla/xpcom/io/nsBinaryStream.cpp
...
git-svn-id: svn://10.0.0.236/trunk@53673 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 19:45:25 +00:00
fur%netscape.com
3bddcd9e3d
added files: mozilla/xpcom/io/nsIBinaryInputStream.idl, mozilla/xpcom/io/nsIBinaryOutputStream.idl, mozilla/xpcom/io/nsIStorageStream.idl
...
git-svn-id: svn://10.0.0.236/trunk@53672 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 19:42:38 +00:00
fur%netscape.com
0cf9e74cb2
Add storage stream and binary stream files. r: none
...
git-svn-id: svn://10.0.0.236/trunk@53669 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 19:14:51 +00:00
fur%netscape.com
497837bc4d
Bug #8305 , r: valeski, rickg
...
The storage stream provides an internal buffer that
can be filled by a client using a single output
stream. One or more independent input streams can
be created to read the data out non-destructively.
The implementation uses a segmented buffer
internally to avoid realloc'ing of large buffers.
git-svn-id: svn://10.0.0.236/trunk@53668 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 19:14:08 +00:00
fur%netscape.com
2db47f04c9
Bug #8305 (Implement cache), r: valeski, rickg
...
The storage stream provides an internal buffer that
can be filled by a client using a single output
stream. One or more independent input streams can
be created to read the data out non-destructively.
The implementation uses a segmented buffer
internally to avoid realloc'ing of large buffers.
git-svn-id: svn://10.0.0.236/trunk@53667 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 19:12:41 +00:00
dougt%netscape.com
b023f23e6c
fix for bug 18114. Adding simple accessor to PL_WaitForEvent.
...
git-svn-id: svn://10.0.0.236/trunk@53655 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 16:04:14 +00:00
scc%netscape.com
4bd89164cd
fixing build bustage. Further discussion is needed
...
git-svn-id: svn://10.0.0.236/trunk@53646 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 08:50:25 +00:00
dougt%netscape.com
ff6b97fb15
checking back in changes which were backed out. Added workaround to bug
...
which scc pointed out.
git-svn-id: svn://10.0.0.236/trunk@53643 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 07:44:18 +00:00
dp%netscape.com
9fb2047017
Changing comments for readability.
...
git-svn-id: svn://10.0.0.236/trunk@53642 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 07:14:49 +00:00
jdunn%netscape.com
f0c83b3d5a
Fixing all unresolved symbols on unix. The bug has the diff's
...
r dp@netscape.com (ramiro helped me with it)
# 18688
git-svn-id: svn://10.0.0.236/trunk@53637 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 06:02:31 +00:00
norris%netscape.com
331cf153db
* Fix 12124 [DOGFOOD] Reading user's preferences
...
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
git-svn-id: svn://10.0.0.236/trunk@53631 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 05:07:31 +00:00
fur%netscape.com
604b5b8c26
Fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@53616 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 03:50:56 +00:00
fur%netscape.com
f12430fa5d
I screwed up the checkin message log, here's the real changes in revision
...
3.5 of this file. These changes are in support of bug #8305 (Cache implementation):
r: dougt
+ Fixed off-by-one value in enumerating either forwards or backwards, such
that the last element is never enumerated.
+ Fixed return values of IsDone() to conform to unusual nsIEnumerator definition
+ Fixed declarations so public methods can be called outside DLL
git-svn-id: svn://10.0.0.236/trunk@53614 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 03:23:10 +00:00
fur%netscape.com
d885ca903c
In support of #8305 (Implementing cache), allow storing of NUL characters
...
in string streams. r: dougt
git-svn-id: svn://10.0.0.236/trunk@53611 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 03:13:49 +00:00
fur%netscape.com
eee2215bda
In support of bug #8305 (Cache implementation), added new type of hash-table
...
key, an array of opaque data, not owned by the key. r: dougt
git-svn-id: svn://10.0.0.236/trunk@53609 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 03:10:54 +00:00
fur%netscape.com
2b188ce191
Fixed a problem with the NS_GENERIC_FACTORY_CONSTRUCTOR_INIT() macro.
...
If the Init() routine happens to perform a balanced AddRef/Release,
the instance will be prematurely destroyed when Release() is called.
The change is to do the AddRef() before calling the initialization
routine to stabilize the instance's ref-count.
r: dp, putterman
git-svn-id: svn://10.0.0.236/trunk@53608 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 03:05:36 +00:00
jband%netscape.com
ee57201b52
r=waterson. add explicit lock and unlock to nsAutoLock. This allows us to use the autolock to cover a scope and to also explicitly bracket a call out to some other function with an unlock and relock
...
git-svn-id: svn://10.0.0.236/trunk@53551 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 22:15:27 +00:00
tbogard%aol.net
a0c1d51635
Simply added the TestXPEventLoop test to the makefile.
...
git-svn-id: svn://10.0.0.236/trunk@53545 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 21:52:35 +00:00
putterman%netscape.com
29e05f2b3f
Fixes leak. Reviewed by law.
...
git-svn-id: svn://10.0.0.236/trunk@53528 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 20:57:24 +00:00
rickg%netscape.com
a321381b94
reenabled safer version of assertion
...
git-svn-id: svn://10.0.0.236/trunk@53516 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 17:10:06 +00:00
rickg%netscape.com
a22352015d
disable overambitious assert for now; r=rods; a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@53515 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 16:38:29 +00:00
fur%netscape.com
85eff30f18
Fixed copy/paste error in comment
...
git-svn-id: svn://10.0.0.236/trunk@53468 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 15:59:17 +00:00
fur%netscape.com
07cec86849
Return NS_ERROR_FACTORY_NOT_REGISTERED, not NS_ERROR_FAILURE, if a non-existent ProgID is used to instantiate a component. Also, don't ignore CLSID parse errors. R: dp
...
git-svn-id: svn://10.0.0.236/trunk@53467 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 15:41:40 +00:00
rickg%netscape.com
00192bb235
change NS_ASSERTION to NS_WARN_IF_FALSE; r=none
...
git-svn-id: svn://10.0.0.236/trunk@53459 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 10:05:40 +00:00
rickg%netscape.com
ddde4bb78a
finally: a fix for archaic compilers
...
git-svn-id: svn://10.0.0.236/trunk@53457 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 07:58:05 +00:00
rickg%netscape.com
27037be4db
try again to get around unix problem
...
git-svn-id: svn://10.0.0.236/trunk@53454 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 07:20:02 +00:00
rickg%netscape.com
538fc8b875
try to get around linux compiler grief
...
git-svn-id: svn://10.0.0.236/trunk@53452 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 06:49:43 +00:00
rickg%netscape.com
6e4e20009b
bug18337 and fixes for embedded nulls; r=harishd
...
git-svn-id: svn://10.0.0.236/trunk@53450 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 06:22:52 +00:00
tbogard%aol.net
a79ed82edc
Changed an NS_ASSERTION to be an NS_WARN_IF_FALSE. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@53418 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 07:34:29 +00:00
warren%netscape.com
0dddae74b6
Fixed QI problem now that comptrs check.
...
git-svn-id: svn://10.0.0.236/trunk@53414 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 06:18:34 +00:00
warren%netscape.com
50fd544966
Fix for case where we're trying to Write to a blocking stream, and we're out of buffer space. This should block. r=rpotts
...
git-svn-id: svn://10.0.0.236/trunk@53413 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 06:16:52 +00:00
sspitzer%netscape.com
457995c98d
fix for #17954
...
before, if "mail.directory" was set, we'd assume the mail wasn't in the standard
default place, so we'd migrate Mail -> Mail5
now, we check if "mail.directory" == the default place. if so, we migrate
it like we would if it wasn't set.
Mail -> Users50/<profile>/Mail
to help do this, I added Equals() to the nsIFileSpec interface, to compare
two nsIFileSpec's, it does this by comparing the nsFileSpecs.
git-svn-id: svn://10.0.0.236/trunk@53396 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 02:02:22 +00:00
akhil.arora%sun.com
9d927bb510
18639 r=dp need to cast away the const returned by the sun C++ 5.0 compiler
...
git-svn-id: svn://10.0.0.236/trunk@53377 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 23:52:17 +00:00
dp%netscape.com
6d145b7f92
Fixing spelling mistake.
...
git-svn-id: svn://10.0.0.236/trunk@53346 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 09:38:26 +00:00
warren%netscape.com
6be51335c6
Minor fix.
...
git-svn-id: svn://10.0.0.236/trunk@53344 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 09:10:40 +00:00
warren%netscape.com
f4eb982ac0
Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf
...
git-svn-id: svn://10.0.0.236/trunk@53341 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 09:07:26 +00:00
jdunn%netscape.com
20bee13047
AIX requires a 'const' in order to handle the assignment of 2 nsStrings
...
(see wallet.cpp line 3093).
rickg approved
git-svn-id: svn://10.0.0.236/trunk@53315 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 03:58:15 +00:00
sfraser%netscape.com
211c4f5a58
Part of fix for 18315 -- allow nsSupportsHashTable to contain null entries, which meant changing NS_{ADDREF,RELEASE} to NS_IF_{ADDREF,RELEASE} in a bunch of places. r=pavlov.
...
git-svn-id: svn://10.0.0.236/trunk@53229 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 20:41:54 +00:00
dp%netscape.com
f388eedbe1
Enabling componentmanager shutdown() before a release to clear out
...
references to the component manager.
git-svn-id: svn://10.0.0.236/trunk@53221 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 19:38:13 +00:00
waterson%netscape.com
d133d7f701
Oops. Make sure XPCOM_MEM_LOG_CLASSES works without XPCOM_MEM_REFCNT_LOG being set. a=warren
...
git-svn-id: svn://10.0.0.236/trunk@53186 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 05:02:03 +00:00
waterson%netscape.com
8b75e6af56
Add docs for XPCOM_MEM_LOG_OBJECTS.
...
git-svn-id: svn://10.0.0.236/trunk@53181 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 04:08:28 +00:00
waterson%netscape.com
74dce44ae9
Bug 18069. Support XPCOM_MEM_TRACE_OBJECTS, per-object reference count tracing. r=warren
...
git-svn-id: svn://10.0.0.236/trunk@53179 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 03:23:24 +00:00
jdunn%netscape.com
dcd9ca22e2
Fix additional bugs with stubs. This still doesn't work 100% but getting there
...
(basically pulled in the mac ppc CPP file for aix stubs file)
git-svn-id: svn://10.0.0.236/trunk@53175 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-11 02:20:22 +00:00