Commit Graph

2421 Commits

Author SHA1 Message Date
cls%seawood.org
90500144ad Since libxpt is used by both xpidl and libxpcom, we need to create a duplicate libhostxpt that is built by HOST_CC for xpidl & friends. 1999-09-05 20:48:30 +00:00
shaver%netscape.com
99777ae194 missed an EXPORT =( 1999-09-05 08:07:31 +00:00
shaver%netscape.com
694400cae3 forgot an IDL file 1999-09-05 07:18:18 +00:00
shaver%netscape.com
0c277e9376 added files: mozilla/xpcom/components/nsIComponentManager.idl 1999-09-05 06:28:16 +00:00
shaver%netscape.com
6cecf4c569 convert to CreateInstanceFromProgID 1999-09-05 06:27:42 +00:00
driehuis%playbeing.org
1a157b514d Unbreak the BSD/OS build. sys/mount.h drags in net/radix.h, which happens
to define a symbol called Free. Sigh. Clean up after net/radix.h.
1999-09-05 00:49:01 +00:00
dveditz%netscape.com
ee89552282 remove xp_file.h from NSReg.h, required minor tweaking elsewhere to include
now missing NSPR types.
1999-09-04 19:46:18 +00:00
bruce%cybersight.com
2627b068df Use nsCRT::free() on result of nsEscape() instead of delete[]. 1999-09-04 17:10:10 +00:00
bruce%cybersight.com
36d8b82698 MacFileHelpers::EncodeMacPath() returns the result of an nsEscape() call, so all callers must nsCRT::free() the result instead of using delete[]. 1999-09-04 17:09:06 +00:00
bruce%cybersight.com
497a6f2b74 Use nsAllocator. Some comments tweaked. 1999-09-04 16:33:12 +00:00
shaver%netscape.com
942e382e8a properly initialize loaders on creation, and remove code that's now in nsFileSpec 1999-09-03 23:51:31 +00:00
shaver%netscape.com
90e6e9f4e7 add IsChildOf, and dougt's relative-path-handling diff 1999-09-03 23:44:59 +00:00
dougt%netscape.com
028f11d2bf Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
Jerry.Kirk%Nexwarecorp.com
742eb0a560 Just the beginnings of a Photon Event Loop, still work in progress 1999-09-03 12:55:19 +00:00
duncan%be.com
01abb3a4a1 A bunch of things to get the BeOS build to work. Mostly
BeOS specific fixes, except for the change to nsinstall.c
that ignores trailing "/." in the function mkdirs (as
creating a "." dir fails under BeOS).
1999-09-03 12:54:05 +00:00
cls%seawood.org
a7904068d8 Simple check to see if we can get rid of these osf1 cc compiler errors on the ports page. Sorry about causing the world to be rebuilt. 1999-09-03 11:24:00 +00:00
sspitzer%netscape.com
b494799f9e add newline to end of file to please certain UNIX compilers. 1999-09-03 10:43:00 +00:00
cls%seawood.org
950432fabb Oops. This file shouldn't have INTERNAL_TOOLS set. 1999-09-03 09:11:12 +00:00
brendan%mozilla.org
bc3dce147f Remove nsIAtom.h now that it's generated; tidy white space. 1999-09-03 08:40:47 +00:00
cls%seawood.org
1ad23065c1 Fixed the use of HOST_NSPR_MDCPUCFG so that the build doesn't break if it is not defined. 1999-09-03 05:03:40 +00:00
cyeh%netscape.com
b604bc9397 Remove MODULAR_NETLIB defines. 1999-09-02 18:51:56 +00:00
kipp%netscape.com
123b44e54e Use nsAutoString to save time 1999-09-02 18:03:30 +00:00
waterson%netscape.com
0a263a4690 Make CBufDescriptor const to avoid -pedantic bustage. 1999-09-02 08:02:57 +00:00
rickg%netscape.com
8795a355d4 another tiny tweak to docs 1999-09-02 07:13:56 +00:00
rickg%netscape.com
ac8dfadb6d better docs and finally got rid of deprecated API's 1999-09-02 07:04:59 +00:00
shaver%netscape.com
7b3e3fecc3 Make nsSupportsHashtable not crash when you try to Get or Remove an item
not in the table already.
1999-09-02 07:01:53 +00:00
shaver%netscape.com
c8ebe122e6 Added ComponentLoaders to registry and abandoned the progID suffix strategy
to reduce evil in universe.
Added nsIComponentManager::RegisterComponentLoader.
Dead code removal.
Make AutoRegister eagerly created all as-yet-unloaded component loaders and
AutoRegister with them as well.
Removed much #ifdef DEBUG_shaver noise.
1999-09-02 07:00:29 +00:00
shaver%netscape.com
2b270b1823 um, didn't mean to check that in 1999-09-02 05:21:10 +00:00
shaver%netscape.com
769fcf3a54 *** empty log message *** 1999-09-02 05:18:09 +00:00
waterson%netscape.com
c1c6e5faeb Create a monitor as a member variable instead of using cached monitor. 1999-09-02 04:12:08 +00:00
shaver%netscape.com
58e1e16a1c missed an EXPORT removal 1999-09-02 01:30:17 +00:00
jband%netscape.com
e4d792bba4 fix for bug 12237 - add a flag in typelib to indicate methods thatare not xpcom compliant. Stealing bit that was originally intended for varargs 1999-09-02 00:01:08 +00:00
jband%netscape.com
65071f5ac2 OpenVMS only change to Makefile.in from Colin Blake <colin@theblakes.com> 1999-09-01 23:54:58 +00:00
dougt%netscape.com
48971bb399 more changes from conversations with brendan@mozilla.org 1999-09-01 23:51:11 +00:00
jband%netscape.com
0426b167b2 fix an initialized warning 1999-09-01 23:49:02 +00:00
jband%netscape.com
31d96bce3a updating status page 1999-09-01 23:46:21 +00:00
cata%netscape.com
0f0d23b266 Fixing build warnings. Step 2: switch to use new method from the interface. 1999-09-01 22:50:50 +00:00
beard%netscape.com
1019f15ff8 added nsProxiedService.h to fix build bustage 1999-09-01 22:50:49 +00:00
cls%seawood.org
4b01d25c0b Make xpidl build as an internal tool 1999-09-01 20:34:10 +00:00
dougt%netscape.com
38ba384b59 changing a debug string to output the correct param number
resetting error code if caller does not have an eventQ.  Temp hack.
1999-09-01 20:04:22 +00:00
akkana%netscape.com
b0ef55c348 nsTextConverter 1999-09-01 19:54:27 +00:00
tbogard%aol.net
80c60a6e0c Factored the common code found in all the platforms into a single base class that is inserted higher up the class heirarchy. This allows us to further reduce the amount of cut and paste code that would have to be done. 1999-09-01 11:09:10 +00:00
dp%netscape.com
908e04e95e Dll data written to registry. Autoreg fixed to work with relative
pathnames in registry.
1999-09-01 06:25:20 +00:00
dp%netscape.com
310c55dceb Added Sync().
Prepares for fixing registration.
1999-09-01 06:22:54 +00:00
mscott%netscape.com
4f0839f8cc Bug #9836 --> Unix only fix. When returning the temp directory, don't return /tmp/. Try to return the temp dir
specified by the unix environment variable: TMPDIR. If that variable isn't set, then use /tmp/.
a=sdagley
1999-09-01 02:37:55 +00:00
kipp%netscape.com
95d0f23399 Repaired interface name 1999-09-01 01:09:27 +00:00
tbogard%aol.net
d4fb172397 First checkin of nativeApp and the xp event loop. Not connected to the build yet. 1999-09-01 00:56:38 +00:00
cyeh%netscape.com
9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
shaver%netscape.com
7442945b05 missed nsIFactory.idl export, damn 1999-08-31 22:25:59 +00:00
shaver%netscape.com
655710510e forgot to remove now-generated nsIFactory.h 1999-08-31 22:00:27 +00:00
warren%netscape.com
efb0c1cd5d Made NS_BASE_STREAM_WOULD_BLOCK a failure code (for JS). Reduced socket transport buffer size. Fixed ABBA deadlock when calling OnEmpty in pipe code (bug#12870). 1999-08-31 21:47:30 +00:00
pinkerton%netscape.com
5a36ea1109 added new idl files for shaver. 1999-08-31 21:40:55 +00:00
shaver%netscape.com
1db9afa25d Removed nsIFactory.h (generated now).
Factored ComponentManager to support multiple ComponentLoaders.
Added support for relative paths in registry.
General cleanup.
(Broke detection of changed DLLs; dp is fixing -- thanks!)
1999-08-31 21:40:21 +00:00
waterson%netscape.com
a432214395 Add NS_NewSizeOfHandler() to dlldeps. 1999-08-31 18:59:02 +00:00
kipp%netscape.com
948ad27a21 Reworked sizeof api's to be much more useful; updated implementations to match 1999-08-31 03:04:37 +00:00
dougt%netscape.com
74f259e911 Bug fix for 12603. I am not sure if this totally cleans up all the memory
leaks but it definitely hits a major one.
1999-08-31 01:59:09 +00:00
erik%netscape.com
2591c69b18 Fixing warnings. 1999-08-30 21:59:42 +00:00
rjc%netscape.com
d982990ad0 For Unix, don't return "." ".." or any file/directory that begins with a "."! Perhaps we should really end up having a preference that determines whether to return these "hidden" items or not. 1999-08-30 11:40:29 +00:00
rickg%netscape.com
011055adde improved docs, bug fixes, removed outdated APIs 1999-08-30 06:55:13 +00:00
bruce%cybersight.com
14736d27f9 Fix build bustage. Thanks waterson! Sorry about that. 1999-08-30 01:06:54 +00:00
bruce%cybersight.com
b1400e0dad Fix warning from my last checkin. 1999-08-30 00:51:56 +00:00
bruce%cybersight.com
dc30d7bfda Change deallocation for nsAutoCString to use nsAllocator. This removes several thousand FMM errors in Purify. 1999-08-30 00:32:27 +00:00
shaver%netscape.com
073e97ad3b make sure that /path/to/dir and /path/to/dir/ are treated as equal 1999-08-29 22:05:11 +00:00
waterson%netscape.com
27a6046e3c Clean up comments; no more delete[]. 1999-08-29 19:38:41 +00:00
brendan%mozilla.org
37d70db5bc Improve diagnostic for codefrag vs. NS_DECL_IFOO warning. 1999-08-29 05:16:05 +00:00
beard%netscape.com
a8ddbcb019 fixed stack management so that stack crawls work, added a traceback table. 1999-08-28 02:59:33 +00:00
mscott%netscape.com
07a5b957af Bug #12638 --> Fix nsPipe2::GetLength to return the number of unread bytes in the pipe. r=warren, a=cyeh 1999-08-27 19:14:57 +00:00
warren%netscape.com
bb629a4c18 Added TestSearch routine from now obsolete TestBuffers test. 1999-08-27 10:32:51 +00:00
warren%netscape.com
9278f53410 Removed TestBuffers which is now obsolete. 1999-08-27 10:32:49 +00:00
warren%netscape.com
5db8e5c734 Fixed bug that OnEmpty wasn't called. Fixed bug in Search (it would terminate prematurely on eof). 1999-08-27 10:32:45 +00:00
beard%netscape.com
01f1e066fb plugged a memory leak in GetCString(). 1999-08-27 03:47:43 +00:00
rpotts%netscape.com
0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
scc%netscape.com
2162d2e029 some small documentation changes, plus removed a function that was otherwise unused, and was confusing Solaris. 1999-08-26 10:45:50 +00:00
dp%netscape.com
b560029264 removing obsolete files 1999-08-26 05:14:09 +00:00
dp%netscape.com
88a4943bfd Removing nsIRegistry::GetIntArray() and SetIntArray(). These aren't
being used and block scritability. So if we need then, we will figure
out a way to add them that wont break scritability.
1999-08-26 05:11:40 +00:00
dp%netscape.com
8d036420a9 Removed default parameter to Open() to facilitate IDLification. 1999-08-26 03:22:26 +00:00
warren%netscape.com
14a7d6b930 Reset cursors on Empty. 1999-08-26 00:25:43 +00:00
warren%netscape.com
dc3ba6ab81 Fixed QI bug that could cause the input stream to be closed too early. 1999-08-26 00:25:20 +00:00
ramiro%netscape.com
7ee0e69965 Cleanup zlib cruft. 1999-08-25 14:39:53 +00:00
tbogard%aol.net
84fb0f88b5 Added a couple of new macros to the NS_ENSURE family. NS_ENSURE_SUCCESS(res, ret). It ensures that a given result is an XPCOM success code, if not returns back whatever you pass in ret. And NS_ENSURE_NO_AGGREGATION(outer) checks to make sure the instantiating client is not trying to do aggregation and returns back an error if it is. 1999-08-25 14:03:25 +00:00
ramiro%netscape.com
5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
dougt%netscape.com
ce7a03de0f more changes based on feedback. 1999-08-25 06:11:14 +00:00
dp%netscape.com
94a045c629 bug#11902 Changes for page manager for openVMS. Thanks to Colin Blake <colin@theblakes.com> 1999-08-25 05:41:53 +00:00
brendan%mozilla.org
defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
mccabe%netscape.com
001772dbc0 Fixed problem with getters/setters in generated NS_FORWARD_NSIFOO macro. Thanks to David Bienvenu for catching this.
Fixed {-placement formatting nit.  Thanks to Brendan Eich for catching this.
1999-08-25 05:05:48 +00:00
tbogard%aol.net
80ec2cfdfb Removed the #ifdef DEBUG around the definition of NS_ENSURE. The only difference between the two was the NS_ERROR. NS_ERROR is already conditional upon debug so this was a bit redundant. 1999-08-25 03:16:23 +00:00
rickg%netscape.com
8fdde14e77 removed warnings 1999-08-25 03:11:05 +00:00
dougt%netscape.com
7f488ef0fd Fixing auto-proxy so that in params are proxied back to the caller. 1999-08-25 02:34:29 +00:00
dougt%netscape.com
f12b07d23a more changes as suggested by warren@netscape.com 1999-08-24 21:51:32 +00:00
slamm%netscape.com
319b492795 Removed items from DIRS that do not exist. 1999-08-24 21:45:26 +00:00
dougt%netscape.com
af3251ade3 renaming nsIDirectoryIterator.idl to nsIDirectoryEnumerator.idl 1999-08-24 20:22:21 +00:00
pavlov%netscape.com
4e458bc8f5 isHidden was returning backwards results 1999-08-24 18:32:06 +00:00
ramiro%netscape.com
ec21b9ecbc Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
mccabe%netscape.com
253f70d70b Add ## between _to and function name in generated NS_FORWARD_NSIFOO macro 1999-08-24 10:00:52 +00:00
warren%netscape.com
8e8c466e58 Added nsIPipe.idl, replacing nsPipe2.h. Fixed up some nsPipe2.cpp problems. Fixed bug in nsSegmentedBuffer segment growth. Extended TestPipes test case to cover much much more. 1999-08-24 08:45:17 +00:00
tbogard%aol.net
aabc1663af Moved interfaces to their new home xpcom/appshell. 1999-08-24 05:48:38 +00:00
tbogard%aol.net
43ed877918 Moving Event loop interfaces to it's new home from xpcom/apps. Implementation will start here. Also renamed msg to be event to be less windows-ish. 1999-08-24 05:47:30 +00:00
warren%netscape.com
1254517efc added files: mozilla/xpcom/io/nsIPipe.idl 1999-08-24 04:59:26 +00:00
warren%netscape.com
ecd21a0336 Added -- supercedes nsIBuffer.h 1999-08-24 04:54:56 +00:00
dougt%netscape.com
325e6127c6 a real iid. 1999-08-24 03:59:07 +00:00
dougt%netscape.com
f443b5579a Adding a comment to remind ourselves that at one time these were const. 1999-08-24 01:14:44 +00:00
waterson%netscape.com
3271a98e09 Treat CBufDescriptors as 'const' so that they may be inlined. 1999-08-24 00:52:32 +00:00
tbogard%aol.net
7b7e859ba3 Fixed NS_ENSURE macros to use PR_BEGIN_MACRO and PR_END_MACRO. Also removed indentation before #. 1999-08-24 00:48:43 +00:00
dougt%netscape.com
7df36efe6f First cut of an IDL for a replace of the nsDirectoryIterator class. 1999-08-24 00:47:41 +00:00
dougt%netscape.com
58c8f1c12b Adding Append() and ResolveSymlink() 1999-08-24 00:47:02 +00:00
dougt%netscape.com
9888b699a1 Bug Fixes to xpcom/proxy. Thanks jband for debuging this with me! 1999-08-24 00:30:55 +00:00
scc%netscape.com
68340a37ef got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in 1999-08-23 10:14:16 +00:00
scc%netscape.com
504c1add4e fixed tabs 1999-08-23 10:07:16 +00:00
gagan%netscape.com
69f233cf62 Added the helper macro CRTFREEIF. Works for both char* and PRUnichar*. Saves
typing code... and adds obfuscation too! Wow. Alright RJC stop reading this
and get back to work.
1999-08-23 08:27:42 +00:00
bienvenu%netscape.com
3953782723 back out scc's change, and my attempted fix 1999-08-22 22:06:53 +00:00
bienvenu%netscape.com
c8a344100f attempt to fix build bustage 1999-08-22 21:44:45 +00:00
scc%netscape.com
7981dba18d Added |GetIID| 1999-08-22 20:54:08 +00:00
mccabe%netscape.com
381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
mccabe%netscape.com
78683b0b4e Don't generate 'void' as a parameter in call portion of NS_FORWARD_NSIFOO macro. Whoops. 1999-08-22 11:18:21 +00:00
mccabe%netscape.com
dd27718a80 Remove definition of NS_DECL_IOBSERVER and SERVICE and replace uses with xpidl-generated NS_DECL_NSIOBSERVER macro. 1999-08-22 09:18:49 +00:00
mccabe%netscape.com
7096177a2c Make a new XPIDL_WARNING macro to generalize the check against using IDL_tree_warning when compiled against libIDL 0.6.5. 1999-08-22 01:10:14 +00:00
scc%netscape.com
dd71a6971a fixed ambiguous static cast in the NS_IMPL_QUERYINTERFACE2 case 1999-08-21 22:33:15 +00:00
jband%netscape.com
e7f612af72 fix bustage due to ambiguity in use of static_cast 1999-08-21 22:03:39 +00:00
scc%netscape.com
21a9c44373 Bad merge left two copies of ...QUERYINTERFACE2. Sorry. 1999-08-21 20:39:59 +00:00
scc%netscape.com
20c45cddb6 Added NS_IMPL_QUERY_INTERFACE[01]; fixed NS_IMPL_QUERY_INTERFACE2; added NS_IMPL_ISUPPORTS[01]; can't fix NS_IMPL_QUERY_INTERFACE without changing a ton of files, so I'm checking in this partial fix first. Then people can help me switch us away from NS_IMPL_ISUPPORTS and NS_IMPL_QUERY_INTERFACE. Both are now deprecated. 1999-08-21 20:22:35 +00:00
scc%netscape.com
0ea67f445d added license, fixed tabs 1999-08-21 20:07:27 +00:00
scc%netscape.com
ba325f222d added comments, fixed tabs 1999-08-21 20:06:52 +00:00
ramiro%netscape.com
2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
mccabe%netscape.com
d98f4dca1d First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.
1999-08-21 08:54:47 +00:00
dougt%netscape.com
0fb6e99473 first cut of a new file class. 1999-08-21 07:38:26 +00:00
dougt%netscape.com
94b542f2c3 removing nsIAtom from export list. 1999-08-21 07:22:00 +00:00
dougt%netscape.com
f04d99fc7d removing nsIAtom.h. It is now a generated header. 1999-08-21 07:14:10 +00:00
dougt%netscape.com
32a9a77110 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
mccabe%netscape.com
7f99104407 Generate NS_FORWARD_NSIFOO(_to) macro to facilitate declaring forwarding implementations for a given interface.
Fix bug where both GetFoo and SetFoo prototypes were generated into the NS_DECL_NSIFOO macro for readonly attributes.  Thanks go to jband for catching this.
1999-08-21 07:04:33 +00:00
dougt%netscape.com
4edb26d5ca adding nsIAtom to build project 1999-08-21 07:00:51 +00:00
dougt%netscape.com
8297def7db First cut of an IDL for nsIAtom. This preserves most of the origanal C++
interface quirks.
1999-08-21 06:38:59 +00:00
dp%netscape.com
e3d3ff58c6 PlatformFind() changed to return nsDll * instead of FactoryEntry. This
is an internal api change.
1999-08-20 23:06:47 +00:00
jband%netscape.com
b43b345617 adding a comment referencing a bug number for why this was done the way it was 1999-08-20 22:45:30 +00:00
mccabe%netscape.com
fbeda622f0 Fix problem with generating \ \n for getters and setters, and move generated NS_DECL_NSIFOO to below the interface.
Thanks to jband for catching this problem.
1999-08-20 09:08:40 +00:00
cls%seawood.org
c2bdb85bf4 Removed all references to obsolete OBJDIR variable.
Removed various sections of config.mk & rules.mk that were only used by OBJDIR or by a non-autoconf build.
1999-08-20 06:52:59 +00:00
jband%netscape.com
63658a50be adding nsISupportsVoid to the nsISupportsPrimitives family. Fixing some suboptimal use of *retval 1999-08-20 03:14:46 +00:00
tao%netscape.com
3364bf7a98 Set properties files encoding to escape unicode. 1999-08-19 22:37:35 +00:00
mgleeson1%netscape.com
a681c7c7c6 change for hpux porting 1999-08-19 21:17:31 +00:00
shaver%netscape.com
c11920cae4 don't use IDL_tree_warning on 0.6.5, it crashes sometimes.
r=alecf, a=mcafeee
1999-08-19 21:09:08 +00:00
mgleeson1%netscape.com
dfdf78f01d HP-UX additions 1999-08-19 20:36:06 +00:00
dp%netscape.com
d42f5605f4 - Adding nsComponentMangager::GetClassObject()
- Adding a nsIID parameter to the nsIModule:GetClassObject()
1999-08-19 14:54:12 +00:00
mccabe%netscape.com
b7e63ab162 Changes to the xpidl compiler to support generating an 'NS_DECL_NSIFOO' macro when generating the nsIFoo interface, which provides a shorthand to declare all of the methods of that interface.
Also included are various architectural changes to support this, (which required descending the interface and method subtree of the IDL parse tree an extra time) including abstracting out the write_method_signature and write_attr_accessor methods so that they can be called both when generating the interface and when generating the macro.

Purged passing the single TreeState parameter from several leaf functions, and broke it out into parameters foo_tree and output file.  This saved a lot of tree->state twiddling when calling tree-descent functions.

This checkin will cause depend builds to rebuild most of the tree, so be patient...
1999-08-19 13:02:08 +00:00
jband%netscape.com
d63d8a18c4 Fixing xptinfo bug with getting information about the type of an interface pointer parameter of a method when the method is inherited from another interface in another typelib file. The api needs to also pass along the method index in order to convey enough information to always give the right answer. Got that? :) Fixing users of this modified api also. 1999-08-19 10:12:30 +00:00
tbogard%aol.net
57feff30c2 XPCOM Cleanup: Fixed Aggregation macros in nsAgg.h to do aggregation correctly. Fixed usages and implementation of aggregation using these macros through out the tree. 1999-08-19 05:36:30 +00:00
tbogard%aol.net
ada1396491 XPCOM Cleanup: Added macros to make checking arguments and state upon entering interface boundaries easier. 1999-08-19 05:32:15 +00:00
leaf%mozilla.org
1db206a7d7 Backing out dougt 1999-08-19 02:34:33 +00:00
mang%subcarrier.org
c86e9b2cce Doc only. Merged README.html into xpconnect-sample.html. 1999-08-18 23:25:41 +00:00
dougt%netscape.com
2df3b74a7b Removing ProxyType so that I can do masking
Added new proxy type so that we bypass the Current Thread check.
1999-08-18 09:21:47 +00:00
waterson%netscape.com
62ad7c5c42 Add TestStackCrawl, which is currently broken :-(. 1999-08-18 04:53:51 +00:00
dp%netscape.com
41ecd1ffea XPCOM Brownbag 1 1999-08-18 02:17:28 +00:00
dougt%netscape.com
792e1f744a Adding fix for 6181. It is currently ifdef'ed out. Looking for a mac person to
verify.
1999-08-18 02:17:21 +00:00
jband%netscape.com
7cff9960c7 reserving NS_ERROR_MODULE_XPCONNECT 1999-08-18 02:08:26 +00:00
ramiro%netscape.com
6eeeaf7730 Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com
f4921fa221 Make it look prettier. 1999-08-17 16:24:46 +00:00
ramiro%netscape.com
ee33c47ded Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
dp%netscape.com
a5018908e2 Calling shutdown listeners on XPCOM Shutdown. Fix bug #11790 1999-08-14 21:32:29 +00:00
briano%netscape.com
dc8c41758c Now it will handle the obscure case where sprintf returns a string instead of an int. Reviewed by mccabe and jband. Approved by chofmann. 1999-08-14 03:11:10 +00:00
sfraser%netscape.com
dab07c139c Part of fix for 11790, crash on quit. Don't try to delete static data. r dp, a chofmann 1999-08-13 23:26:47 +00:00
scc%netscape.com
0921e3bfc2 renamed to QueryReferent, do_QueryReferent, etc. 1999-08-13 23:00:58 +00:00
dp%netscape.com
967a7ea8e9 - using ComponentManager instead of service manager in nsIModule
- Adding UnregisterComponentSpec()
All the above are required for xpcom review.
1999-08-13 19:30:13 +00:00
dp%netscape.com
0019c0fba2 Dll unloading support. These are not used yet. 1999-08-13 19:27:58 +00:00
warren%netscape.com
9d3581e0df Reduced max page count. 1999-08-13 03:31:56 +00:00
warren%netscape.com
1b0d4c2a85 Fix for bug 10797: Messenger hang. 2 problems: mac shouldn't be using page manager -- doesn't do vm, and trying to flush when the buffer is empty ends up spinning. 1999-08-13 00:46:16 +00:00
waterson%netscape.com
6ed0233553 Bug 11667. Fix unsigned/signed mismatch. 1999-08-12 08:49:44 +00:00
beard%netscape.com
6561d93e1c added nsPipe2.cpp, nsSegmentedBuffer.cpp. 1999-08-12 00:12:37 +00:00
beard%netscape.com
a057fe57ef added NS_NewPipe* exports for nsPipe.cpp & nsPipe2.cpp 1999-08-12 00:11:54 +00:00
danm%netscape.com
bd95ca26db fix WeakReference exporting for Windows. a:chofmann r:scc. 1999-08-11 23:48:08 +00:00
warren%netscape.com
c9e56a6673 Removed useless nsIServiceManager.h 1999-08-11 08:13:52 +00:00
warren%netscape.com
02dc3a6a93 Added more logging code. 1999-08-11 08:13:07 +00:00
danm%netscape.com
ca50a5658b synch declaration of NS_GetWeakReference with its implementation 1999-08-11 06:14:05 +00:00
cls%seawood.org
ce48612218 More gcc 2.95 fixes 1999-08-11 05:59:26 +00:00
shaver%netscape.com
38f90b75e4 defend against NULL GlobalServiceManager 1999-08-11 04:08:44 +00:00
dp%netscape.com
2af3f14ead Caching persistentDescriptor and nativePath; Released when dll goes
away.
1999-08-11 01:46:43 +00:00
scc%netscape.com
d8c88a29c9 fix for bug #10993, can't destroy an unitialized arena 1999-08-10 23:24:21 +00:00
dp%netscape.com
d82a873519 Fixing unix build bustage. 1999-08-10 23:13:46 +00:00
dp%netscape.com
3370809f6a Logging error from canunload 1999-08-10 23:06:33 +00:00
dougt%netscape.com
a85217672a Fix for bug 9007 submitted by david.gardiner@unisa.edu.au. 1999-08-10 23:00:53 +00:00
dougt%netscape.com
980adec33f Fix for bug 10838. 1999-08-10 22:53:02 +00:00
frankm%eng.sun.com
31aad87217 Add nsID constant to IDL-generated Java interface 1999-08-10 21:10:06 +00:00
warren%netscape.com
563d8e59a5 Removed crtdbg.h 1999-08-10 20:30:45 +00:00
mcafee%netscape.com
9af30238a1 Fixing linux bustage, I can't find crtdbg.h in the tree. 1999-08-10 20:11:25 +00:00
warren%netscape.com
0d2bbb1e6a Added GetGlobalAllocator. 1999-08-10 19:54:17 +00:00
warren%netscape.com
e5ce287362 More extensive tests for pipes. Now we test for read returning when there's data but the buffer isn't yet full. Also testing new pipe implementation. 1999-08-10 19:27:05 +00:00
warren%netscape.com
1291f48b62 Added new pipe implementation. 1999-08-10 19:25:27 +00:00
warren%netscape.com
d843a8f952 Added nsSegmentedBuffer.cpp and nsPipe2.cpp to build. 1999-08-10 19:21:17 +00:00
warren%netscape.com
a56c79fa7d Added new pipe implementation -- simpler and faster. 1999-08-10 19:18:39 +00:00
warren%netscape.com
8f99a6da43 Made Read return as soon as it's got something, rather than waiting until the buffer is full. 1999-08-10 19:13:48 +00:00
dougt%netscape.com
9951f9c0ca Commenting why I am using direct error codes rather than the module base with
and offset.
1999-08-10 18:19:57 +00:00
mccabe%netscape.com
2a403483de Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
shaver%netscape.com
70082a6469 stop tripping myself up 1999-08-10 06:47:38 +00:00
jband%netscape.com
a4e5d1f7cf updating status page 1999-08-10 06:30:34 +00:00
rogerl%netscape.com
16febf486b Backing away from SUNW 5.0 version - the 4.2 workshop is the same as GCC
output and Matthias has a way to get the 5.0 workshop to produce 4.2 (and
hence GCC) compatible vtables. I'm leaving the structure intact for now in
case we need to use it for flag setting or whatever.
1999-08-09 21:07:57 +00:00
mccabe%netscape.com
2ad4814518 Change a mispatched | to a !. Thanks to Anton Blanchard <anton@progsoc.uts.edu.au>. 1999-08-09 12:37:24 +00:00
mccabe%netscape.com
c05b826555 Fix to 11451.
Stop coredump on bad argument name in [iid_is(bogus)]; add != NULL safety check to loop.
1999-08-09 09:34:22 +00:00
dp%netscape.com
89a8cf7fd3 dummy 1999-08-09 05:40:51 +00:00
jband%netscape.com
c153f122e9 adding enumeration of CLSIDs and ProgIDs using code from Robert Ginda <rginda@ix.netcom.com> 1999-08-09 05:02:25 +00:00
dp%netscape.com
03345897e4 Create the module object and caching it in the Dll abstraction. 1999-08-09 00:19:08 +00:00
dp%netscape.com
45f122e177 Changing name from nsIComponent.idl to nsIModule.idl 1999-08-08 22:27:28 +00:00
dp%netscape.com
01767f42a8 Fixing addition of nsIModule.idl 1999-08-08 22:16:53 +00:00
dp%netscape.com
eafe93ca1f Adding nsIModule.idl 1999-08-08 21:58:53 +00:00
dp%netscape.com
cefde4f516 added files: mozilla/xpcom/components/nsIModule.idl 1999-08-08 21:57:09 +00:00
dp%netscape.com
fd465dc33e Adding new interface for Module access. This will replace entry points like
NSRegisterSelf() etc.. in the Module dlls.
1999-08-08 21:54:43 +00:00
morse%netscape.com
389af52bf1 fix crash in cookie viewer 1999-08-08 20:33:27 +00:00
jband%netscape.com
fc03d7e008 adding missing 'return' - thanks to TenThumbs <tenthumbs@cybernex.net> for pointing this out. Also removing extra addrefs in ctor since the generic factory constructor macro used to create these things does this addref for us 1999-08-08 19:34:31 +00:00
jband%netscape.com
20f2eccf21 adding missing initializer for member 1999-08-08 03:37:03 +00:00
alecf%netscape.com
27b6432552 fix constructor warning 1999-08-07 20:06:38 +00:00
rjc%netscape.com
0b9f7ca8a1 Use GetFileSpec() correctly. 1999-08-07 11:23:54 +00:00
mccabe%netscape.com
bf8f545b8e Fix lxr-visible file description comments. 1999-08-07 09:45:12 +00:00
mccabe%netscape.com
923fe76ae3 Fixes for 'warning: unsigned value < 0 is always 0' warnings. 1999-08-07 09:32:45 +00:00
cls%seawood.org
3f1dcd11dc Various fixes to let the tree compile with gcc 2.95:
String constants are now (const char *)s and must be explicitly cast to (char *).
operator new is expected to be empty or throw an expection instead of returning null. (ifdef'd for gcc 2.95+)
Stricter checks on register clobbering in embedded asm. (at least I think that's what it is)
Expects the main function to return int, not something similiar to it like PRInt32.

Still requires a tweak to remove -mno-486 from NSPR's *.mk files.
1999-08-07 06:01:31 +00:00
dveditz%netscape.com
004e21bbe1 change libreg name to match Unix 1999-08-07 03:16:42 +00:00
rjc%netscape.com
014212dbee On Mac, check a file's type (skip the creator, so that 3rd party shared libraries can be noticed) to see if its a shared library. 1999-08-06 23:06:07 +00:00
tao%netscape.com
5cce3b6948 Temporary set charset to utf-8 until the coverter for escape-unicode is
ready.
1999-08-06 20:24:02 +00:00
mccabe%netscape.com
761823a1f3 Made use of ... varargs result in failure, as we don't currently seem
to support it.
1999-08-06 10:25:16 +00:00
jband%netscape.com
7de4e04eed changes to nsISupportsPrimitives stuff... Add classes for float and double. Remove class for PRUnichar 'cuz it is too problematic as a type. Fix some capitalization. Add toString methods for more transparent use from JS 1999-08-06 09:42:12 +00:00
jband%netscape.com
e3426f29f5 fix xpidl compiler failure when a block of 'raw' stuff straddles a buffer block boundary 1999-08-06 07:57:53 +00:00
sspitzer%netscape.com
0fc6c99e2d fix warnings 1999-08-05 19:47:10 +00:00
dp%netscape.com
3ef823214e Fixed typo. 1999-08-05 12:58:04 +00:00
briano%netscape.com
7741ff3cfd Fixed the broken initial comment block. 1999-08-05 01:36:18 +00:00
briano%netscape.com
30737d6cd2 Rearranged things a bit and reworked some of the ifdefs to (hopefully) make the whole thing a bit more efficient. 1999-08-05 01:32:48 +00:00
rogerl%netscape.com
5c073ab917 New version for linux/sparc. Changed source file names for Sun Workshop and
GCC builds.
1999-08-04 20:50:01 +00:00
rogerl%netscape.com
486dff05ff Added Linux/sparc rules. Added rules to distinguish Sun Workshop and GCC
builds.
1999-08-04 20:48:18 +00:00
dp%netscape.com
7e2f23ac4e Adding consistency checks on ReleaseService. 1999-08-04 09:36:12 +00:00
jband%netscape.com
d7a6bea3c2 use LL_ZERO for initializing 64 bit values to fix Mac bustage 1999-08-04 07:45:38 +00:00
jband%netscape.com
0b4a14015d adding nsISupports wrappers for the primitive types including strings and nsIDs - here we register them for creation 1999-08-04 07:08:58 +00:00
dp%netscape.com
710fdbd02e adding changes suggested by brendan 1999-08-04 07:07:37 +00:00
jband%netscape.com
221ded4589 added files: mozilla/xpcom/ds/nsISupportsPrimitives.idl 1999-08-04 07:02:54 +00:00
jband%netscape.com
522a0fee69 added files: mozilla/xpcom/ds/nsSupportsPrimitives.cpp 1999-08-04 07:01:10 +00:00
jband%netscape.com
589e60fed8 adding nsISupports wrappers for the primitive types including strings and nsIDs 1999-08-04 06:57:38 +00:00
jband%netscape.com
95cfebf717 adding PRUnichar as a type we can talk about in idl 1999-08-04 06:53:48 +00:00
brendan%mozilla.org
455b45a12b Shaver and I are @mozilla.org. 1999-08-04 06:24:33 +00:00
jband%netscape.com
d8830cee22 adding modifications to support enumeration of interfaces from Robert Ginda <rginda@ix.netcom.com> 1999-08-04 06:13:05 +00:00
jband%netscape.com
63a28cec83 make sure that NS_NewHashtableEnumerator gets exported - yes I'm guilty for adding another global entry point 1999-08-04 06:05:29 +00:00
jband%netscape.com
8595e46ea8 added files: mozilla/xpcom/ds/nsHashtableEnumerator.cpp 1999-08-04 02:28:03 +00:00
jband%netscape.com
018b98b1b3 Adding nsHashtableEnumerator from Rob Ginda, rginda@ix.netcom.com. This is used to create an nsIEnumerator object from a hashtable. When some object has a hashtable as an implementation detail it can use this to expose the data in the table as an enumeration. This is used by the soon-to-be-checkedin systems for enumerating interface and class ids that will be reflected into JavaScript. 1999-08-04 02:24:34 +00:00
tbogard%aol.net
62e9ec43a0 First check-in of XP Event Loop Interfaces. --This is not connected to the build--. 1999-08-03 23:57:18 +00:00
vidur%netscape.com
11dd31636f Reserved IID for nsIDOMNSLocation 1999-08-03 23:17:16 +00:00
troy%netscape.com
1a2cee6cc1 Reserved IID for nsIFrameManager 1999-08-03 22:35:42 +00:00
briano%netscape.com
e2cc541f86 Cleaned it up and got rid of the redundant HP-specific SHARED_LIBRARY_LIBS stuff. 1999-08-03 21:40:56 +00:00
jfrancis%netscape.com
79d5c5f26d uhh, unfixing mac NS_LINEBREAK macro - macro was right, mac console code was wrong... workaround for console prob being placed in nsGlobalWindow.cpp 1999-08-03 12:42:19 +00:00
scc%netscape.com
2e0d0f92ea experiment: I don't think it like the forward declaration 1999-08-03 10:44:12 +00:00
scc%netscape.com
f311d065ca well, now it needs to include nsCOMPtr, since the header doesn't anymore 1999-08-03 08:34:17 +00:00
scc%netscape.com
ea29b57a08 First Checked In. 1999-08-03 08:30:05 +00:00
scc%netscape.com
264a0e83ae Moved the typedef to its own file: "nsWeakPtr.h". This avoids the circular includes problem and lets people #include just "nsWeakPtr.h" when they want an |nsWeakPtr|. 1999-08-03 08:15:31 +00:00
scc%netscape.com
f8db1fc479 OK, now only nsCOMPtr.h includes nsIWeakReference, and not the other way around. I'll probably have to make a header file just to contain the one-line typedef I moved. 1999-08-03 08:10:08 +00:00
scc%netscape.com
4756a19b59 Well, not everybody could do it just from the forward declared class. Yes, nsCOMPtr.h and nsIWeakReference.h include eachother, but it works anyway (they test for already being included). 1999-08-03 07:44:53 +00:00
scc%netscape.com
ea78a0060a Added |do_QueryReference| for initializing/assigning from |nsWeakPtr|s. Also some fixes. 1999-08-03 07:21:39 +00:00
scc%netscape.com
2598cda853 Added nsWeakReference.h, .cpp in the appropriate places 1999-08-03 07:20:37 +00:00
scc%netscape.com
f1005aa67f Added "nsWeakReference.cpp" 1999-08-03 07:17:26 +00:00
scc%netscape.com
e16adcb40a getting ready to build 1999-08-03 04:59:47 +00:00