peterl%netscape.com
ce42a15283
removing nsBTree & nsRBTree, both replaced by nsAVLTree
1999-07-24 18:56:54 +00:00
tbogard%aol.net
b9eb79032b
Changed hashing to not hash every letter of strings that are greater than 16 characters in length.
1999-07-23 05:19:33 +00:00
scc%netscape.com
62bac87ecf
the fix is to |#include <new.h>|. I tested on several versions of SunOS with different compilers, linux, and Mac. Uncommenting the problematic code.
1999-07-23 01:18:49 +00:00
briano%netscape.com
46c72f8f1e
Cleanup and fix for BSD/OS.
1999-07-22 23:20:25 +00:00
jband%netscape.com
a091a7130d
adding a mising '$' in the open vms only part
1999-07-22 22:24:59 +00:00
rpotts%netscape.com
4b7899d242
Added code in the destructor to free any pages that had been allocated...
1999-07-22 21:17:57 +00:00
scc%netscape.com
2a0eda4e69
Allow explicit disabling of |...TEST_DONTQUERY_CASES| and |...DEBUG_PTR_TYPES| on the command-line for problematic compilers like QNX et al. This allows me to fix the QNX build, and provide an answer to some people compiling with the Sun Workshop.
1999-07-22 21:09:49 +00:00
scc%netscape.com
d698edddcf
temporarily commenting out unused placement |new| till I can figure out how to make it compile on SunOS
1999-07-22 20:10:19 +00:00
scc%netscape.com
89652d3a1f
switching back to the stricter declaration of |nsDerivedSafe<T>::operator=()|. Since I removed |nsISupportsArray::operator=()|, all should be well. I left the old declaration in but commented out, just in case. I hope I don't have to conditionalize this wth an autoconf test. I've built this (with the help of several other people including mjudge, waqar, slamm, et al) on as many other platforms as I could. This declaration is intended to stop people from declaring an |operator=()| in their (XP)COM interface classes.
1999-07-22 20:03:42 +00:00
scc%netscape.com
8d681a0998
use shared allocator
1999-07-22 18:23:02 +00:00
mccabe%netscape.com
459c3adbcb
Warning fix.
1999-07-22 10:48:05 +00:00
waterson%netscape.com
967b12bf6f
CID not IID!
1999-07-22 07:33:24 +00:00
pavlov%netscape.com
d7695c62cf
reverting as per scc's request
1999-07-22 05:34:19 +00:00
scc%netscape.com
16e2ba6a23
explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs
1999-07-22 05:25:17 +00:00
tao%netscape.com
0d92312a0a
Adopt new str res api prototype.
1999-07-22 04:41:11 +00:00
briano%netscape.com
8aae46e013
Cleanup and fix for BSD/OS.
1999-07-22 04:23:11 +00:00
mang%subcarrier.org
9e38b1bc3b
Useful comments contributed by rginda@ndcico.com
1999-07-22 02:46:53 +00:00
tbogard%aol.net
8fced9fa19
Changed nsCStringKey to nsStringKey. This new key now has the ability to hash on PRUnichar* strings as well as char* strings.
1999-07-22 02:11:04 +00:00
briano%netscape.com
564cbd2dcf
Fix for NTO, which uses statvfs.
1999-07-22 01:31:43 +00:00
briano%netscape.com
f31e122fa0
QNX-specific hack to deal with their funky statfs() and struct statfs, and to define realpath.
1999-07-21 23:15:15 +00:00
dougt%netscape.com
42645abb4e
duh.
1999-07-21 18:18:09 +00:00
dougt%netscape.com
1a1d8aed32
fix for bug: 10260
...
removed warning in nsIFileStream.cpp
1999-07-21 17:56:01 +00:00
scc%netscape.com
85e6e0f0b3
conditionalized missed member templates, |numeric_limits| use
1999-07-21 03:23:09 +00:00
scc%netscape.com
7733fe717d
Added nsCppSharedAllocator.h
1999-07-21 01:06:33 +00:00
scc%netscape.com
b1904fb9b6
Added nsCppSharedAllocator.h
1999-07-21 00:59:55 +00:00
scc%netscape.com
1289db2dac
Added "nsCppSharedAllocator.h" to exports.
1999-07-21 00:50:44 +00:00
scc%netscape.com
64fb2d22d3
First checked in. Defines a C++ standard compliant allocator based on
...
the global shared allocator |nsAllocator|.
1999-07-21 00:50:05 +00:00
dp%netscape.com
0c648579a5
Removed SizeTestxx from the build per Scott Collins' advice.
1999-07-20 23:15:46 +00:00
dveditz%netscape.com
0387f5e679
removed redundant registry locking to improve performance
1999-07-20 22:50:26 +00:00
rods%netscape.com
b34b269d43
Fixed extra ref count problem for blocker bug 10138
1999-07-20 14:29:43 +00:00
warren%netscape.com
bf8423a769
Changed around load group insertion/removal to happen on mozilla thread.
1999-07-20 08:46:33 +00:00
jband%netscape.com
6ffca71859
changing 'this' adjust scheme for BSD/OS per request from Bert Driehuis <bert_driehuis@nl.compuware.com>
1999-07-20 08:11:41 +00:00
rickg%netscape.com
bbf641cba9
try to improve append performance and allow non-null term buffers when count is given
1999-07-20 06:58:41 +00:00
rogerl%netscape.com
c00458de39
Fixed MI dispatch and cleaned up branch slots.
1999-07-19 20:18:02 +00:00
jband%netscape.com
d0bb997153
doing an explict cast of float to double in printf args in test
1999-07-19 19:43:53 +00:00
rickg%netscape.com
f3021fdfb3
improved api's
1999-07-19 03:10:41 +00:00
jband%netscape.com
59c49fd523
adding Linux ARM code contributed by Stefan Hanske <sh990154@mail.uni-greifswald.de>
1999-07-19 02:57:59 +00:00
jband%netscape.com
ef07621383
reducing the count of stubs entries in the xptcstubs* vtbl (down to 128 from 256) to reduce footprint and to make Linux ARM happy
1999-07-19 02:56:39 +00:00
jband%netscape.com
cfc4f4d116
adding NT Alpha (only) .def file stuff
1999-07-19 02:54:33 +00:00
rickg%netscape.com
e2a408e2f4
incrased argument conditioning
1999-07-18 21:26:03 +00:00
dougt%netscape.com
14c4d97272
Fix to address memory allocation problems - Bug #8227
1999-07-18 19:13:27 +00:00
peterl%netscape.com
b5831197fe
fix linux
1999-07-18 00:59:40 +00:00
peterl%netscape.com
354659f27c
added files: mozilla/xpcom/ds/nsAVLTree.cpp
1999-07-18 00:39:56 +00:00
peterl%netscape.com
3f3f71e180
new file
1999-07-18 00:03:58 +00:00
peterl%netscape.com
ee8edea59c
moved char* conversion operators to nsCString
1999-07-18 00:03:43 +00:00
peterl%netscape.com
169aad2d40
added avl tree
1999-07-18 00:02:48 +00:00
ramiro%netscape.com
ba8ba82cc6
Landing timer move on windows.
1999-07-17 15:52:01 +00:00
ramiro%netscape.com
a09ea8b7ca
Landing timer move on unix.
1999-07-17 14:22:51 +00:00
mccabe%netscape.com
26a111aff8
Fix to 9596.
...
Change several allocations to behave safely when we're linking 0 interfaces. This also allows xpt_link to be linked against Electric Fence, which will doubtless discover other problems...
Thanks to kherron@sgum.mci.com for the great patch!
1999-07-17 10:31:29 +00:00
rickg%netscape.com
c33ad9f0b4
removing references to iostreams
1999-07-17 10:08:10 +00:00
rickg%netscape.com
7c11692c1e
trying to remove iostreams
1999-07-17 08:17:54 +00:00
rickg%netscape.com
8b2dc96c17
landing updates to nsString
1999-07-17 07:26:16 +00:00
mcafee%netscape.com
4b9d73a932
Adding a link change for BeOS
1999-07-17 03:38:08 +00:00
brendan%mozilla.org
b5c49d66b9
- Fix possessive "its" misspelled as "it's".
...
- Use if statements rather than ?: with 0 "else part" after the : in macros
whose bodies are statements anyway (and already protected by PR_BEGIN_MACRO
and PR_END_MACRO).
- Such if statements test for non-null pointers, so the subsequent statements
to null those pointers can move into the then parts -- there's no point in
setting a null pointer to null again.
1999-07-17 03:32:39 +00:00
brendan%mozilla.org
a8483db0f5
Avoid nonsense 0 <= uint32_typed_variable tests.
1999-07-17 03:28:41 +00:00
brendan%mozilla.org
ea1fa5eed8
Use PRUint32 instead of unsigned long.
1999-07-17 03:27:10 +00:00
jband%netscape.com
4c6c13185a
fix for bug 10033 - failing to resolve at runtime interfaces that were forward declared in one xpt file and resolved in another xpt file. r: mccabe
1999-07-17 03:10:31 +00:00
beard%netscape.com
fcb5f5d05e
added java target to test java interface generation
1999-07-17 02:06:42 +00:00
beard%netscape.com
a59b3b2577
explicitly include <limits.h> for ULONG_MAX
1999-07-17 02:04:20 +00:00
beard%netscape.com
06085c800b
added <iostream.h>
1999-07-17 01:58:38 +00:00
warren%netscape.com
de95c4dd86
Took out noise.
1999-07-17 01:52:09 +00:00
beard%netscape.com
226b7010a9
java mode
1999-07-17 00:49:37 +00:00
beard%netscape.com
5ec5a1c45e
now builds all components directly into "{Compiler}CodeWarrior Plugins" to work in the automated build.
1999-07-16 23:45:19 +00:00
beard%netscape.com
6535f06416
fixed mac build bustage
1999-07-16 23:44:34 +00:00
dveditz%netscape.com
923128bab6
fixing MSVC++5.0 bustage
1999-07-16 22:22:13 +00:00
rogerl%netscape.com
abf95232e0
Return register count from invoke_count so that we can load only the
...
appropriate registers.
1999-07-16 22:19:34 +00:00
slamm%netscape.com
3ff314dc2b
Fix build warnings.
1999-07-16 22:00:52 +00:00
slamm%netscape.com
e0e88a7374
Fix build warnings.
1999-07-16 21:47:03 +00:00
duncan%be.com
1f4601edf9
Add an || defined (XP_BEOS) so that the builds works under BeOS with -fno-exceptions.
1999-07-16 21:39:25 +00:00
slamm%netscape.com
e33e65a165
Fix build warnings.
1999-07-16 20:06:37 +00:00
jevering%netscape.com
d0295c227a
GetProperties was being called without a hash table being set (in the Necko build). I added an error test to GetProperties.
1999-07-16 19:13:21 +00:00
dougt%netscape.com
4c2fedd630
Fixing Bug 9976.
1999-07-16 18:15:14 +00:00
ramiro%netscape.com
b0bffac494
Add NS_TIMER import/export macros.
1999-07-16 17:48:12 +00:00
valeski%netscape.com
650ccdd89d
necko - adjusted hash table initialization location to the constructor
1999-07-16 17:41:29 +00:00
kipp%netscape.com
dd6cf0e923
Removed a compiler warning
1999-07-16 17:40:39 +00:00
rickg%netscape.com
df4e839971
perf. improvement to deque
1999-07-16 17:31:00 +00:00
rods%netscape.com
806aa0f5c0
Added QueryInterface because NS_NewIOFileStream does a cast from (void *) to
...
(nsISupports *) thus causing a vtable problem on Windows, where we really
didn't have the proper pointer
1999-07-16 12:59:20 +00:00
rods%netscape.com
59b497a52e
Commented out a check to that makes it return when mOutputStream null
...
instead it creates an output stream when it is null
1999-07-16 12:57:45 +00:00
warren%netscape.com
84bd74a4fd
Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
1999-07-16 11:14:36 +00:00
jband%netscape.com
7bb0e677bc
just setting the tab-width
1999-07-16 04:21:43 +00:00
jband%netscape.com
3e8f3a99d0
updating status page - not part of the build
1999-07-16 04:00:13 +00:00
mccabe%netscape.com
07f00c67ca
Remove vestiges of XPIDL_JS_STUBS (no longer used or implemented by xpidl-generated files.)
1999-07-16 01:20:03 +00:00
briano%netscape.com
80daec44b9
Modification to make it build on BSDI.
1999-07-16 00:25:40 +00:00
rickg%netscape.com
d501ff5a70
improvements to stringtokenizer
1999-07-15 06:40:44 +00:00
scc%netscape.com
bf65c840b8
remove (unused) |operator=()| from |nsISupportsArray|
1999-07-15 04:48:32 +00:00
scc%netscape.com
a9bb3d6a16
new feature lets you `see past' |nsISupports| in |nsCOMPtr|s. Now in the debugger (in debug versions only) you will see the actual type of the object. This is enabled by defining the preprocessor symbol |NSCAP_FEATURE_DEBUG_PTR_TYPES|. It cannot be turned on in non-debug builds. It is currently on in debug builds by default. It may become a feature that has to be enabled with a build command line switch.
NSCAP_FEATURE_ALLOW_RAW_POINTERS is now always the case and no longer optional; NSCAP_FEATURE_ALLOW_COMPARISONS is now always the case and no longer optional; cleaned up the previous definition and invocations of the |Assert_NoQueryNeeded| test.
1999-07-15 03:59:09 +00:00
scc%netscape.com
ab2352e498
switched over to _not_ using |__comobject|. Adjusted assembly to skip extra vtable header, and fixed inheritance in |nsISupports|
1999-07-15 03:02:01 +00:00
jband%netscape.com
106305d41b
lots of xptcall changes:
...
1) OpenVMS Linux from Colin R. Blake <colin@theblakes.com>.
2) Irix from Jason Heirtzler <jasonh@m7.engr.sgi.com>.
3) Linux Alpha from Glen Nakamura <glen.nakamura@usa.net>.
4) NT Alpha from bob meader <bob@guiduck.com>.
5) x86 'this' adjust code for old or new style from Duncan Wilcox <duncan@be.com>.
6) vtbl layout test from Bert Driehuis <bert_driehuis@nl.compuware.com>.
7) improved invoke test to catch 'this' adjustment errors.
8) updated status page.
1999-07-15 02:43:23 +00:00
briano%netscape.com
9c92290774
Modified my last change to avoid treating NTO the same as QNX, since they both define __QNX__.
1999-07-15 02:34:19 +00:00
briano%netscape.com
0e951ec9de
Fix for BSDI.
1999-07-15 02:21:21 +00:00
briano%netscape.com
dceddfa85e
Minor rewrite to keep less capable C++ compilers from getting confused about which instance of nsCRT::strncasecmp to use.
1999-07-15 01:38:08 +00:00
dp%netscape.com
7bb3b9548f
Removed delete of void *. HP doesn't like it.
1999-07-15 00:11:20 +00:00
briano%netscape.com
eeca469d06
Workaround for platforms that don't have --whole-archive (or equivalents).
1999-07-14 22:58:39 +00:00
briano%netscape.com
0807ce322d
Added a QNX-specific fix.
1999-07-13 21:41:37 +00:00
sspitzer%netscape.com
026c5516bc
add the touch interface to the nsIFileSpec iterface and the appropriate implementations
1999-07-13 19:10:43 +00:00
briano%netscape.com
999cc9155b
Define MAXPATHLEN to be 1024 if it hasn't already been defined. Fix for SCO. a=cyeh.
1999-07-12 22:36:24 +00:00
rpotts%netscape.com
a2b7a462bd
Added nsIBufferObserver::OnWrite(...)
1999-07-12 06:25:38 +00:00
warren%netscape.com
b686fa2108
Beefed up buffer/pipe tests.
1999-07-10 11:27:14 +00:00
warren%netscape.com
0117937f12
Removed obsolete Fill methods. Added NonBlocking attribute.
1999-07-10 11:27:11 +00:00
warren%netscape.com
11431c69bf
Fixed buffer empty condition to to return WOULD_BLOCK.
1999-07-10 11:27:08 +00:00
mang%subcarrier.org
8d53f7fafb
Not part of the build.
...
Initial documentation for the XPConnect sample
1999-07-09 22:51:50 +00:00
warren%netscape.com
61c8d73b43
Necko stuff for dealing with load groups when opening URLs.
1999-07-09 21:18:47 +00:00
rickg%netscape.com
4657524afb
update to new nsStringTokenizer -- not in tip
1999-07-09 16:51:57 +00:00
putterman%netscape.com
26a5efdedd
Fix for 9081. Copy over all of old array. Reviewed by dp. Approved by chofmann.
1999-07-09 15:05:18 +00:00
rickg%netscape.com
6ae572e3bd
back out erroneously updated files
1999-07-09 06:01:55 +00:00
rickg%netscape.com
805dbdcc10
added nsStringTokenizer.* files; but not in the makefiles yet
1999-07-09 05:11:25 +00:00
dp%netscape.com
31be79266a
Fixing memory leaks and mismatched memory. bug #8935 bug# 9006
...
Thanks to david.gardiner@unisa.edu.au for finding the memory leaks
1999-07-09 03:45:19 +00:00
dp%netscape.com
184311e084
Fixing memory leak. bug# 9005 Thanks to <david.gardiner@unisa.edu.au>
1999-07-09 03:43:29 +00:00
dp%netscape.com
e52a749a8e
Fixed
...
- Mismatched alloc/free
- Guarded against null pointer and crash bug#8830
1999-07-09 03:41:27 +00:00
rpotts%netscape.com
9fa065c901
Added code to initialize amt (in case it is not zeroed out in the failure case)
1999-07-08 23:34:25 +00:00
rpotts%netscape.com
605efa0d0d
Changed the blocking input and output streams to always call Fill/Flush when a nsIBuffer::Read/Write fails...
1999-07-08 23:26:52 +00:00
ramiro%netscape.com
311c81e3b5
Another makefile that clobbers DEFINES.
1999-07-07 21:22:55 +00:00
ramiro%netscape.com
c1050925d4
DEFINES was being clobbered. Should be "+=" not "=".
1999-07-07 20:54:57 +00:00
ramiro%netscape.com
bbed66360e
Checkin another chunk of Alex Larsson's non-exported symbol reduction
...
patch. All changes protected by MOZ_STRIP_NOT_EXPORTED.
These particular changes set the NS_EXPORT declarations as needed by
the linker.
1999-07-07 09:02:21 +00:00
ramiro%netscape.com
830ae7c945
Match the window DEFINES. Also took out -D_IMPL_NS_WIDGET, which smells
...
like a cut and paste error.
1999-07-07 08:16:57 +00:00
ramiro%netscape.com
79a75b4320
Use DEFINES instead of CFLAGS.
1999-07-07 08:13:01 +00:00
mang%subcarrier.org
c444378873
suppress warnings about /* in comment
1999-07-07 07:54:02 +00:00
dp%netscape.com
51e376ed3f
Landing XPCOM_M8_PERF_BRANCH.
...
- Enabling prepopulation of registry CID entries.
1999-07-07 07:48:12 +00:00
dp%netscape.com
cc376e10ad
Landing XPCOM_M8_PERF_BRANCH.
...
- GetFactoryEntry() factored out into a function
- Factory Cacheing enabled
- deletion of removed factory entries enabled
- Locks removed from FindFactory() and Register*()
1999-07-07 07:47:14 +00:00
dp%netscape.com
c43c4ec143
Landing XPCOM_M8_PERF_BRANCH. Speeding up GetString().
1999-07-07 07:42:03 +00:00
mang%subcarrier.org
38c3da09bb
libIDL expects the line number to be one more than we think it is.
...
Who are we to argue?
Fixes bug 5872 for header mode.
1999-07-07 04:42:33 +00:00
ramiro%netscape.com
5cdb03367b
Define the toolkit flags in one place an reuse that. Hopefully this will
...
put an end to the cut-n-paste insanity.
1999-07-07 04:38:18 +00:00
toshok%hungry.com
e84027ae5a
squelch unused parameter warnings.
1999-07-07 04:17:45 +00:00
gayatrib%netscape.com
397cc25c70
Added Recursive Copy routine
1999-07-07 01:02:16 +00:00
jband%netscape.com
70263da324
updating xptcall status page
1999-07-06 22:57:45 +00:00
briano%netscape.com
efeff0f1a5
Better way to deal with IRIX-specific problem with xptcstubs_asm_irix.s.
1999-07-06 22:52:20 +00:00
racham%netscape.com
f8b608df1f
Removing check for mpath in Recursive copy routine
1999-07-06 22:41:42 +00:00
jband%netscape.com
572736fb18
added MultipleInheritence xptcall invoke test
1999-07-05 21:31:25 +00:00
racham%netscape.com
4268c36ec5
Adding RecursiveCopy interface
1999-07-05 01:39:42 +00:00
danm%netscape.com
15c866b72b
makefile was broken if GLOWCODE was enabled. fixed, and removed glowcode.
1999-07-04 02:10:16 +00:00
danm%netscape.com
55f559d41b
makefile was broken if GLOWCODE was enabled. fixed, and removed glowcode.
1999-07-04 01:54:34 +00:00
warren%netscape.com
edf100b695
Fixed bug in string stream length.
1999-07-03 06:49:28 +00:00
briano%netscape.com
48118e9610
Looks like we'll need IRIX -o32 files as well (for IRIX 5.x and earlier).
1999-07-03 02:58:38 +00:00
mscott%netscape.com
607ea9e584
Rewrite NS_IMPL_THREADSAFE_ADDREF and NS_IMPL_THREADSAFE_RELEASE in cross platform way instead of having separate
...
implementations for windows and everyone else. They are now written to use PR_AtomicIncrement and PR_AtomicDecrement.
this meant adding #include "pratom.h".
A side effect of this change is that no one needs to include "windows.h" in .cpp files which were implementing threadsafe
interfaces. You used to have to do this before with the old implementations.
1999-07-02 20:18:20 +00:00
dveditz%netscape.com
07221257b4
Argh, escaped from the branch during my makefile munging -- Sorry!
1999-07-02 15:11:44 +00:00
dveditz%netscape.com
0eb6c820cf
nakefile cleanups
1999-07-02 13:42:17 +00:00
ramiro%netscape.com
f41e67c622
Separate the widget and gfx toolkits into two variables.
...
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.
1999-07-02 13:06:48 +00:00
dveditz%netscape.com
1a0c8a586b
fixing build bustage
1999-07-02 12:39:26 +00:00
dveditz%netscape.com
17864a291d
Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles
1999-07-02 11:50:19 +00:00
sspitzer%netscape.com
1e09f57346
bulletproofing changes. check return value and return it if error.
1999-07-02 06:31:31 +00:00
dp%netscape.com
5b80b137ed
Diabling registry prepopulation. These changes was meant for the
...
branch and not in the tip. When XPCOM_M8_PERF_BRANCH lands, these will
be enabled.
1999-07-02 04:04:31 +00:00
dp%netscape.com
b46fdbf168
Removing old RegisterComponent calls as these are inbuilt into XPCOM
1999-07-02 03:50:44 +00:00
dp%netscape.com
948d7e96ab
Calling PlatformPrePopulateRegistry()
1999-07-02 03:37:44 +00:00
dp%netscape.com
0fc11b859d
PlatformPrePopulateRegistry()
1999-07-02 03:35:09 +00:00
dp%netscape.com
6617ee15f9
Caching of node names in nsIRegistryNode
...
Adding nsIRegistryNode::GetIID()
- Thanks Dan Veditz
1999-07-02 03:34:08 +00:00
dp%netscape.com
fc44591bbd
Adding nsProxiedService.h to export.
1999-07-01 22:14:15 +00:00
sgehani%netscape.com
da4d19426e
Guarding against memory allocation error and a resulting null pointer.
...
Also, now AddRef'ing XPCOM nsPropertyElements when created.
1999-07-01 18:39:46 +00:00
jdunn%netscape.com
2e51fe79aa
partical fix for the stubs call on AIX
1999-07-01 18:16:34 +00:00
sspitzer%netscape.com
8b7c553f93
fix SunOS bustage. r=tor, a=leaf
1999-07-01 16:36:37 +00:00
sspitzer%netscape.com
548c51b49f
fix solaris build bustage, I hope
1999-07-01 08:48:25 +00:00