shaver%netscape.com
7a5b9d5e55
nsIRegistry scriptability update, r=dveditz,dp,alecf a=leaf,chofmann
1999-09-29 02:36:54 +00:00
shaver%netscape.com
f28337480b
nsIRegistry scriptability and beginning of category support, r=dp,alecf,dveditz a=leaf,chofmann
1999-09-29 02:35:42 +00:00
briano%netscape.com
356b764b85
Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties.
1999-09-29 01:09:41 +00:00
dp%netscape.com
f5f9bef6b0
leaks fixing in components
1999-09-29 01:07:32 +00:00
briano%netscape.com
b05d07ff2d
Fix for AIX 4.2, specifically, but should help other platforms with shared library difficulties.
1999-09-29 00:19:10 +00:00
pavlov%netscape.com
4a9b682a87
add newline at the end of the files
1999-09-28 21:21:31 +00:00
pavlov%netscape.com
06e61813c0
change emacs headers to use C++ instead of IDL and add newline to bottom of files
1999-09-28 21:20:18 +00:00
kipp%netscape.com
af5570e017
Fixed to not pre-create the factory
1999-09-28 20:54:26 +00:00
dp%netscape.com
5632fd9b86
Unloading of dlls on shutdown turned off.
1999-09-28 19:42:06 +00:00
briano%netscape.com
6ad833aac3
Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties.
1999-09-28 19:15:20 +00:00
kipp%netscape.com
493d404539
new
1999-09-28 19:03:20 +00:00
warren%netscape.com
4f1f34aec7
Made it handle CIDs of the form {fe04c8e6-501e-11d3-a527-0060b0fc04b7}.
1999-09-28 18:01:47 +00:00
tbogard%aol.net
6abd449ecf
Changes to reflect changes made in XPCOM with respect to shutting down XPCOM. This is a test is not hooked to the code.
1999-09-28 17:55:02 +00:00
tbogard%aol.net
2f30ff5996
1.) nsIEvent now has an attribute for isExitEvent(). This allows one to test if the current event represented by nsIEvent is a signal to exit the loop.
...
2.) The various Run* routines were made more general. This allowed me to move them completely within the nsCBaseLoop code rather than have them duplicated across the different Base Loop Typed classes. This avoids the cut and pasting of code, that will probably be tweaked in the future.
3.) To support the new Run* routines, I have added a RetrieveNextEvent and then a PlatformRetrieveNextEvent. The first is implemented in nsCBaseLoop. This was added to facilitate ordering of event retrieval in the near future (ie, pulling system events before normal events, or pulling PLEvents etc.) The second function is one that platform code must override. This is different for each loop type. Basically this is supposed to be whatever it takes for a given implementation to pull the next event off the queue for the given loop type. So in the Windows world, this function calls GetMessage() for the Thread and App loop types and then PeekMessage() with PM_REMOVE set for the Breath loop type.
This code is compiled but not used by the main build. A=chofmann
1999-09-28 16:52:10 +00:00
briano%netscape.com
99db328245
Fix for BSDI 3.0, specifically, but should help other platforms with shared library difficulties.
1999-09-28 03:16:38 +00:00
dveditz%netscape.com
f9e34fb7e2
Make sure componentMgr calls NR_ShutdownRegistry(), fixing MLKs and registry corruption from unflushed registry buffers.
...
r=dp,a=chofmann
1999-09-26 21:20:21 +00:00
dp%netscape.com
61664c7872
Separating dll Shutdown from unload. Calling dll shutdown
...
unconditionally on NS_Shutdown.
1999-09-26 18:06:41 +00:00
dp%netscape.com
602baa248e
Passing down NS_Shutdown to Unloading of libraries.
1999-09-26 18:04:27 +00:00
dp%netscape.com
7d88c6385e
Adding NS_Shutdown.
1999-09-26 18:02:52 +00:00
warren%netscape.com
d37526c717
Cleaned up, using NS_WITH_SERVICE
1999-09-26 10:05:06 +00:00
warren%netscape.com
89b394422e
Cleanup
1999-09-26 10:04:36 +00:00
warren%netscape.com
53e8731812
Took out unused page manager.
1999-09-26 07:26:21 +00:00
sfraser%netscape.com
cfda948c62
Remove NSStdLibStubs, since we're linking with NSStdLib anyway
1999-09-26 00:44:58 +00:00
kipp%netscape.com
086f063ad9
Removed throbber IID
1999-09-25 20:13:53 +00:00
kipp%netscape.com
8c84690452
Tidy up
1999-09-25 20:11:33 +00:00
briano%netscape.com
d1940d686e
SCO-specific fix. Approved by chofmann.
1999-09-25 00:38:13 +00:00
dp%netscape.com
96c1197169
Releasing servMgr if one is passed in to match NS_InitXPCOM()
1999-09-24 06:26:17 +00:00
dp%netscape.com
e74b8d75ca
Assertion to ensure proper xpcom shutdown.
1999-09-24 01:40:18 +00:00
bienvenu%netscape.com
cbcb4df751
fix 14544 pop move msg filters broken r=dougt a=chofman
1999-09-23 04:18:00 +00:00
dp%netscape.com
009a5392fb
UnloadAll() on non-native loaders.
1999-09-23 00:14:00 +00:00
dp%netscape.com
4bf3f842dd
Enabling xpcom shutdown to call NSCanUnload() on every component.
1999-09-23 00:01:53 +00:00
dp%netscape.com
3f500d2afb
Assertions to ensure proper shutdown of xpcom.
1999-09-23 00:00:08 +00:00
jband%netscape.com
16c9977e38
avoid uninitialized memory reads by copying only the significant part of the union when initializing an nsXPTCVariant from a nsXPTCMiniVariant using nice encapsulated inline method.
1999-09-22 07:53:07 +00:00
ftang%netscape.com
a6b9111361
fix utf converson bug
1999-09-22 03:20:21 +00:00
shaver%netscape.com
b42e435cb0
add componentType to nsIModule::RegisterSelf
1999-09-22 03:18:27 +00:00
shaver%netscape.com
1c47d14cd9
talk about JS components, remove gratuitous 'netscape' from progID
1999-09-21 21:23:02 +00:00
shaver%netscape.com
a3aa568ef2
add JS version of nsISample component
1999-09-21 21:11:29 +00:00
scc%netscape.com
ac2969608f
Made a protected method for severing weak references early
1999-09-21 20:20:04 +00:00
shaver%netscape.com
3948cf5000
need to use different module names to avoid overwriting xpcom.xpt
1999-09-21 14:12:26 +00:00
waterson%netscape.com
ff3374fd14
#undef CreateDirectory to fix problem where winbase.h #define
...
CreateDirectory and makes it appear as if nsFileSpec has a
CreateDirectory[A|W] method.
1999-09-21 03:09:39 +00:00
waterson%netscape.com
06b78978e9
Fix backwards return values on nsIEnumerator::IsDone().
1999-09-21 01:28:18 +00:00
warren%netscape.com
0f38c8859b
Taking out the damn nsCOMPtr for nsThreadPool for Mac!
1999-09-20 22:35:06 +00:00
dougt%netscape.com
efc5b44b57
removing const from nsIFile types
1999-09-20 21:48:30 +00:00
warren%netscape.com
bde1055a86
Fixed warnings.
1999-09-20 20:57:21 +00:00
warren%netscape.com
68777de60f
fixed refcounting in nsThread so threads and runnables are freed
1999-09-20 20:54:23 +00:00
warren%netscape.com
bdef2ae2c9
fixed mismatched free in nsProperties
1999-09-20 20:54:16 +00:00
warren%netscape.com
9b98c7e8a1
freed tree nodes in nsAVLTree
1999-09-20 20:54:12 +00:00
warren%netscape.com
c08e644f40
fixed ReleaseService and UnregisterService to work during shutdown
1999-09-20 20:54:09 +00:00
warren%netscape.com
8156976010
fixed circular references in nsNativeComponentLoader
1999-09-20 20:54:04 +00:00
warren%netscape.com
681e31774d
freed mComponentsDir in nsComponentManager
1999-09-20 20:53:57 +00:00
warren%netscape.com
68e64ab5e6
freed global service manager in NS_ShutdownXPCOM
1999-09-20 20:53:49 +00:00
warren%netscape.com
1eba29ca37
fixed mismatched free issues with nsID::ToString
1999-09-20 20:52:12 +00:00
jband%netscape.com
49b32adc11
round out the isDependent test and change an || to a switch
1999-09-20 07:30:04 +00:00
jband%netscape.com
2fb9c3fa65
fix a warning
1999-09-20 07:27:51 +00:00
waterson%netscape.com
a6ce109fb6
Fix memmove() stuff.
1999-09-20 06:11:36 +00:00
rickg%netscape.com
4fca0d71c9
back out update to Append(int,radix) until I can find ltoa() on linux
1999-09-20 05:50:43 +00:00
rickg%netscape.com
f1b5efa2cc
explicitly include <stdlib.h>
1999-09-20 05:32:36 +00:00
rickg%netscape.com
9800c21dc0
fixed crasher in bufferroutines, and eliminated 1 costly call to sprintf
1999-09-20 05:10:32 +00:00
waterson%netscape.com
9aca73451f
Use tabs instead of spaces separate frames in stack dump: new demangling code introduces spaces.
1999-09-20 03:45:21 +00:00
jband%netscape.com
04c77e4064
- Changed the interface for getting the interface_is argnum.
...
- Merged the typelib types for array and array_with_length.
- Added typelib types for string_with_size and wstring_with_size
1999-09-20 02:50:28 +00:00
mccabe%netscape.com
4f7990cd94
Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
...
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage. Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes. (This could mean blackwood; sorry, guys!)
Many thanks to Alec Flett (alecf@netscape.com ) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu ) and Mike Shaver (shaver@mozilla.org ) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.
Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
rickg%netscape.com
73c490c4d3
improved safety of CBufDescriptor
1999-09-19 16:43:09 +00:00
colin%theblakes.com
7e9dd9c640
Remove xpcomds_s and xptinfo from LIBS since they don't appear to be needed. Sorry if some other platform does need them!
1999-09-18 19:36:38 +00:00
briano%netscape.com
04e901e2a5
General cleanup.
1999-09-18 02:12:56 +00:00
rickg%netscape.com
9c96f9cdef
checking bufferroutines.h back in; it looked like a red herring
1999-09-18 01:45:19 +00:00
rickg%netscape.com
d4a7d84481
back out part of this change for more testing; I missed a case which caused a crash
1999-09-18 01:09:48 +00:00
colin%theblakes.com
edd596cfd1
Fix two compiler warnings and one coding bug
1999-09-18 00:07:20 +00:00
rickg%netscape.com
f4fbb6fd09
performance improvements and larger default buffer size
1999-09-17 23:46:55 +00:00
brendan%mozilla.org
f7ba68844b
*** empty log message ***
1999-09-17 23:21:29 +00:00
frankm%eng.sun.com
e1662d0d9e
- In nsInterfaceInfoManager.cpp, get the allocator with nsAllocator::GetGlobalAllocator, not from nsServiceManager. (Allocator now cached with nsCOMPtr.)
...
- Insure that debugging code in nsInterfaceInfo and TestInterfaceInfo fails gracefully instead of segfaulting.
1999-09-17 22:46:44 +00:00
waterson%netscape.com
fa6c2fad91
Make nsFileSpecMac tough enough to deal with a Unix-style path with two or more forward slashes that are right next to each other; e.g., foo//bar/baz.html. Previously, it would convert this to foo::bar:baz.html, which is the Unix equivalent of foo/../bar/baz.html. Oops. Anyway, this keeps Mac from crashing on startup.
1999-09-17 07:03:09 +00:00
dveditz%netscape.com
3509f48fd2
match buffered i/o registry change in XP_MAC section
1999-09-17 07:00:55 +00:00
dp%netscape.com
d9d68788ef
Caching of what registry was opened to improve performance of multiple
...
opens on the same registry file.
1999-09-17 05:46:25 +00:00
beard%netscape.com
ab95fb6cf4
Added QueryElementAt() which combines GetElementAt() and QueryInterface(). Rationale: combining operations saves a call to AddRef/Release, since it's done by QI. Approved by dp.
1999-09-16 21:29:22 +00:00
dp%netscape.com
d0ccf9a6eb
Ability for XPCOM to use non-default component registry and component directory
1999-09-16 19:28:57 +00:00
dp%netscape.com
dab9dd104d
NS_ADDREF() instead of calling it directly
1999-09-16 19:20:18 +00:00
dp%netscape.com
ea7b692d54
Removing DEBUG_dp
1999-09-16 19:11:00 +00:00
dp%netscape.com
8c52c7502f
Adding Set() to configure component directory and registry
1999-09-16 19:08:31 +00:00
tbogard%aol.net
f7586ca105
Implemented nsIWinEvent and nsIWinEventFilter to allow picking the windows platform structure apart rather than grabbing as a blob.
1999-09-16 06:43:26 +00:00
dveditz%netscape.com
7d68f66b73
expose whether the registry is already open or not, which enables the profile
...
manager to avoid opening and closing the registry ~20 times at startup.
1999-09-16 05:32:28 +00:00
cyeh%netscape.com
24b72ba1de
remove debug libraries from optimized target
1999-09-16 01:44:23 +00:00
warren%netscape.com
7d5e565fd5
Factored file transport service out of file: protocol.
1999-09-16 01:16:22 +00:00
slamm%netscape.com
ddb878d278
Fix build warnings.
1999-09-16 00:15:30 +00:00
rjc%netscape.com
a231a19096
Added some debug linkages. Also add .rsrc file that includes a SIZE resource so that RegXPCOM mini-app has a parition size greater than the largest component it needs to load in.
1999-09-15 23:36:55 +00:00
rjc%netscape.com
8baba475f9
Add .rsrc file that includes a SIZE resource so that RegXPCOM mini-app has a parition size greater than the largest component it needs to load in.
1999-09-15 23:36:26 +00:00
warren%netscape.com
211d856af2
Added missing includes.
1999-09-15 22:33:38 +00:00
warren%netscape.com
8653926dec
Added missing includes.
1999-09-15 22:28:27 +00:00
cls%seawood.org
1699d31f60
For gcc >= 2.95, add empty throw() function to remove warnings about returning null from operator new
1999-09-15 22:00:12 +00:00
warren%netscape.com
387c151435
Removed this in favor of idl
1999-09-15 21:49:21 +00:00
gordon%netscape.com
9ed7e1e73c
Added nsIThread.idl, nsIThreadPool.idl, and nsIRunnable.idl as part of warren's checkin.
1999-09-15 21:46:55 +00:00
warren%netscape.com
994f05a34e
Making nsIThread nsIRunnable and nsIThreadPool idl interfaces.
1999-09-15 21:41:20 +00:00
ftang%netscape.com
56a0f1cefb
add nsTextFormater to dlldeps.cpp
1999-09-15 21:23:31 +00:00
ftang%netscape.com
b644ab9a2f
add nsTextFormater.cpp
1999-09-15 21:21:55 +00:00
ftang%netscape.com
415507f1a9
add nsTextFormater to UNIX build
1999-09-15 21:18:21 +00:00
ftang%netscape.com
3b9e6e0e08
remove unneeded debug info. Fix Unix build warning. Fix UTF8 to UCS2 conveersion bug
1999-09-15 21:16:09 +00:00
ftang%netscape.com
690408b116
add nsTextFormater.h
1999-09-15 20:54:04 +00:00
ftang%netscape.com
860e2e46f9
add the nsTextFormater for win
1999-09-15 20:38:18 +00:00
ftang%netscape.com
46bb62e8dd
add new classes
1999-09-15 20:37:42 +00:00
dougt%netscape.com
351689f243
bug 13396. It looks like the returned byte count was off on certain size
...
files.
1999-09-15 18:24:01 +00:00
shaver%netscape.com
070f7e8f51
lose some DEBUG_shaver debugging noise
1999-09-15 14:45:29 +00:00
warren%netscape.com
be2ef806ea
idl versions
1999-09-15 09:51:46 +00:00
warren%netscape.com
279545985d
Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files.
1999-09-15 09:49:18 +00:00
cls%seawood.org
0a10e0a466
Reverting changes accidentally checked in
1999-09-15 05:28:31 +00:00
ramiro%netscape.com
e8ba593918
Cleanup the neckutil linking thing.
1999-09-15 02:15:11 +00:00
cyeh%netscape.com
83b9cac904
fix up project. needs debug libs for debug target.
1999-09-14 21:55:52 +00:00
ramiro%netscape.com
1982577a22
Fix for the loser linux tinderbox compiler.
1999-09-14 15:16:31 +00:00
ramiro%netscape.com
6f197e46a0
Fix mac and windows builds.
1999-09-14 13:44:20 +00:00
ramiro%netscape.com
5b445b449b
Add support for demangling undefined symbols.
1999-09-14 13:40:22 +00:00
ramiro%netscape.com
8662d998bf
Link with -liberty when MOZ_DEMANGLE_SYMBOLS is set.
1999-09-14 13:33:05 +00:00
ramiro%netscape.com
6f3fcfb2ba
Add MOZ_DEMANGLE_SYMBOLS to debug builds for demangling symbols.
1999-09-14 13:30:12 +00:00
ramiro%netscape.com
eb5fb78483
Add DemangleSymbol() for demangling symbols on linux.
1999-09-14 13:24:25 +00:00
warren%netscape.com
a41c2f2e9f
Fixed uninitialized return value.
1999-09-14 09:33:53 +00:00
dougt%netscape.com
bdb247ef97
commenting out the autoproxy header def. Missed this file.
1999-09-14 06:12:22 +00:00
dougt%netscape.com
3b59449bf3
commenting out autoproxifcation of parameter so that mscott can continue his
...
work. AutoProxication is broke.
1999-09-14 05:24:11 +00:00
warren%netscape.com
d3999bb61a
Don't hold the service manager lock around CreateInstance -- deadlock potential.
1999-09-14 04:50:48 +00:00
sfraser%netscape.com
dfcbe00e86
First Checked In.
1999-09-14 01:05:35 +00:00
dp%netscape.com
bd77d41f73
Adding -lmozjs to fix runtime symbol not found problems.
1999-09-14 00:49:21 +00:00
warren%netscape.com
7440b39dc0
Added nsIRunnable.h and nsIThreadPool.h temporarily.
1999-09-13 23:45:31 +00:00
warren%netscape.com
9ca7f9a98f
Added temporarily, until I can get nsIThreadPool.h added to all the .cpp files, and then switch over to nsIThreadPool.idl
1999-09-13 23:43:02 +00:00
warren%netscape.com
55d5affe5b
Added temporarily, until I can get nsIRunnable.h added to all the .cpp files, and then switch over to nsIRunnable.idl
1999-09-13 23:40:52 +00:00
alecf%netscape.com
456a51b989
add new query_interface4 and query_interfac5 (hey, I needed it!)
1999-09-13 23:23:20 +00:00
ftang%netscape.com
6c9249e9a4
fix the massed up PROG8-10
1999-09-13 22:58:18 +00:00
ftang%netscape.com
4bbc98588a
add ToNewUTF8Stirng to nsString
1999-09-13 22:51:29 +00:00
shaver%netscape.com
bf6e96d80c
fix UMR
1999-09-13 22:34:42 +00:00
cls%seawood.org
9403bee785
Add -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 as appropriate with __STRICT_ANSI__ defined in <prinet.h>
1999-09-13 05:09:53 +00:00
cls%seawood.org
adf94e4618
Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c.
1999-09-12 14:25:28 +00:00
cls%seawood.org
3d00d0c683
Oops. C++ comments in a C progam is not allowed.
1999-09-12 14:07:51 +00:00
cls%seawood.org
543e7a6f14
Renamed function arguments to avoid warnings about shadowing member variables
1999-09-12 12:08:56 +00:00
cls%seawood.org
e837369fec
Renamed tmp variable to avoid shadowing.
...
Commented out less than zero assertion checks on unsigned ints
1999-09-12 12:06:37 +00:00
cls%seawood.org
fb6d318f14
Explicitly include <malloc.h>
...
Set mZero_fd to 0 instead of NULL
1999-09-12 12:04:43 +00:00
cls%seawood.org
af786fe1e7
Removed gcc 2.95+ ifdefs to trade one annoying warning for a less annoying one.
1999-09-12 12:03:20 +00:00
cls%seawood.org
f0889ec840
Reorderd member initializers to remove silly warnings.
1999-09-12 12:02:03 +00:00
rpotts%netscape.com
024ce49205
I've commented out this assert since I was hitting it *alot* after a clean build :-(
1999-09-12 09:00:34 +00:00
warren%netscape.com
399d6fa403
Added assertion for Open failing.
1999-09-11 23:48:07 +00:00
beard%netscape.com
87f3477863
Added operator = (const char*) as a convenience. always copies argument string.
1999-09-11 23:00:38 +00:00
dp%netscape.com
f62b74dfd3
Unhooking RegFactory from windows. xpcom/tools/registry/regxpcom is
...
the new incarnation.
1999-09-11 22:10:32 +00:00
dp%netscape.com
60fc62c77f
Unhooking RegFactory from unix. xpcom/tools/registry/regxpcom is the
...
new incarnation.
1999-09-11 22:09:19 +00:00
dp%netscape.com
ebfb9778c4
Adding regxpcom for windows.
1999-09-11 22:01:14 +00:00
dp%netscape.com
c8c283c93e
regxpcom : does autoreg and registers/unregisters individual dlls.
...
The new incarnation of RegFactory. RegFactory will be retired.
1999-09-11 14:51:55 +00:00
dp%netscape.com
9ef85f9c81
Implemented dll enumeration and prepopulation. Improves startup performance.
1999-09-11 14:49:55 +00:00
dp%netscape.com
1a07439ce3
- Fixed Register() to use componentmanager instead of hand loading the
...
dll
- Unregister() still needs implementation.
- Added reference to NS_NewTimer() to link in libtimer_s.so (unix
only) This fixes autoreg for unix run from RegFactory
1999-09-11 07:30:24 +00:00
dp%netscape.com
6341cd61aa
Typo fixed. AutoRegisterComponent works again.
1999-09-11 07:23:28 +00:00
jband%netscape.com
a3a6462404
add arrays to xpidl and typelibs. got rid of vararg support scheme
1999-09-11 05:20:39 +00:00
jband%netscape.com
fb368b667d
fix shaver's broken pool growing code. remove unused bitwise code.
1999-09-11 01:40:22 +00:00
jband%netscape.com
3c516ca121
get rid of declarations for unused code and broken code
1999-09-11 01:39:22 +00:00
peterl%netscape.com
91fbbe22c4
fixed crash in compress chars on 0 length string
1999-09-11 00:10:36 +00:00
warren%netscape.com
09e4b5658c
Disabled the page manager until we have more time to make it work properly.
1999-09-10 23:34:12 +00:00
jdunn%netscape.com
00fadc59c0
Provide workaround in nsPageMgr.cpp if platform (HPUX) doesn't have /dev/zero.
...
briano, ramiro & warren all looked at the code.
(also sneaked in a linking option in for hpux only)
1999-09-10 23:07:09 +00:00
sfraser%netscape.com
7a739336b0
First Checked In.
1999-09-10 22:48:49 +00:00
dveditz%netscape.com
6f9b4b14a2
hoping this fixes dougt's bustage
1999-09-10 20:58:46 +00:00