Commit Graph

2155 Commits

Author SHA1 Message Date
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