Граф коммитов

2309 Коммитов

Автор SHA1 Сообщение Дата
shaver%netscape.com 3c6983141e 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 22143d3208 Clean up comments; no more delete[]. 1999-08-29 19:38:41 +00:00
brendan%mozilla.org 94f2f83eaa Improve diagnostic for codefrag vs. NS_DECL_IFOO warning. 1999-08-29 05:16:05 +00:00
beard%netscape.com 83339c2571 fixed stack management so that stack crawls work, added a traceback table. 1999-08-28 02:59:33 +00:00
mscott%netscape.com 707396a2a8 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 912d1af6cd Added TestSearch routine from now obsolete TestBuffers test. 1999-08-27 10:32:51 +00:00
warren%netscape.com c70f737575 Removed TestBuffers which is now obsolete. 1999-08-27 10:32:49 +00:00
warren%netscape.com 856e96363f 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 9fe2e5a81b plugged a memory leak in GetCString(). 1999-08-27 03:47:43 +00:00
rpotts%netscape.com 3ed5c99db2 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
scc%netscape.com cffa6a515e 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 f690c2560d removing obsolete files 1999-08-26 05:14:09 +00:00
dp%netscape.com b6ca6e5553 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 60f12e3b90 Removed default parameter to Open() to facilitate IDLification. 1999-08-26 03:22:26 +00:00
warren%netscape.com 2e5cd86a3c Reset cursors on Empty. 1999-08-26 00:25:43 +00:00
warren%netscape.com c726d36b08 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 6cec5c3abb Cleanup zlib cruft. 1999-08-25 14:39:53 +00:00
tbogard%aol.net cd6503d9f4 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 8644dc2074 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
dougt%netscape.com a1ca34cde8 more changes based on feedback. 1999-08-25 06:11:14 +00:00
dp%netscape.com fbdbc388e4 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 bbe959f4d1 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 0636c6c5fd 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 d68e2bfd62 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 f850279168 removed warnings 1999-08-25 03:11:05 +00:00
dougt%netscape.com 72c5b6f74c Fixing auto-proxy so that in params are proxied back to the caller. 1999-08-25 02:34:29 +00:00
dougt%netscape.com a9aa90f850 more changes as suggested by warren@netscape.com 1999-08-24 21:51:32 +00:00
slamm%netscape.com 96a104b9b9 Removed items from DIRS that do not exist. 1999-08-24 21:45:26 +00:00
dougt%netscape.com 617f2450b0 renaming nsIDirectoryIterator.idl to nsIDirectoryEnumerator.idl 1999-08-24 20:22:21 +00:00
pavlov%netscape.com 2c0db25826 isHidden was returning backwards results 1999-08-24 18:32:06 +00:00
ramiro%netscape.com e1f2489b0c Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
mccabe%netscape.com ccacebed18 Add ## between _to and function name in generated NS_FORWARD_NSIFOO macro 1999-08-24 10:00:52 +00:00
warren%netscape.com 4324494f97 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 fa63ee5e12 Moved interfaces to their new home xpcom/appshell. 1999-08-24 05:48:38 +00:00
tbogard%aol.net 061fe901dd 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 797e269cbf added files: mozilla/xpcom/io/nsIPipe.idl 1999-08-24 04:59:26 +00:00
warren%netscape.com 07ee016605 Added -- supercedes nsIBuffer.h 1999-08-24 04:54:56 +00:00
dougt%netscape.com b4ded63005 a real iid. 1999-08-24 03:59:07 +00:00
dougt%netscape.com 48d67c4ce6 Adding a comment to remind ourselves that at one time these were const. 1999-08-24 01:14:44 +00:00
waterson%netscape.com e97be183a0 Treat CBufDescriptors as 'const' so that they may be inlined. 1999-08-24 00:52:32 +00:00
tbogard%aol.net 794112b53b 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 ae238f6cb6 First cut of an IDL for a replace of the nsDirectoryIterator class. 1999-08-24 00:47:41 +00:00
dougt%netscape.com 7c880326fe Adding Append() and ResolveSymlink() 1999-08-24 00:47:02 +00:00
dougt%netscape.com 2ec88dcea6 Bug Fixes to xpcom/proxy. Thanks jband for debuging this with me! 1999-08-24 00:30:55 +00:00
scc%netscape.com 0454213f91 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 06e8699a24 fixed tabs 1999-08-23 10:07:16 +00:00
gagan%netscape.com 1bbec91b6b 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 1a2472bcc8 back out scc's change, and my attempted fix 1999-08-22 22:06:53 +00:00
bienvenu%netscape.com d6dd860f3c attempt to fix build bustage 1999-08-22 21:44:45 +00:00
scc%netscape.com 83feff8821 Added |GetIID| 1999-08-22 20:54:08 +00:00
mccabe%netscape.com b95a2bdd54 Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
mccabe%netscape.com a1c6eb6459 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 b601095f5d 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 5746b51c9a 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 f3c4fc5051 fixed ambiguous static cast in the NS_IMPL_QUERYINTERFACE2 case 1999-08-21 22:33:15 +00:00
jband%netscape.com 6c8672fc58 fix bustage due to ambiguity in use of static_cast 1999-08-21 22:03:39 +00:00
scc%netscape.com b4ce414c43 Bad merge left two copies of ...QUERYINTERFACE2. Sorry. 1999-08-21 20:39:59 +00:00
scc%netscape.com 2de2cc6d8a 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 9d8652d710 added license, fixed tabs 1999-08-21 20:07:27 +00:00
scc%netscape.com c092767679 added comments, fixed tabs 1999-08-21 20:06:52 +00:00
ramiro%netscape.com 16bbd09726 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
mccabe%netscape.com 779d51d186 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 6fdb4496ff first cut of a new file class. 1999-08-21 07:38:26 +00:00
dougt%netscape.com 6b767dab39 removing nsIAtom from export list. 1999-08-21 07:22:00 +00:00
dougt%netscape.com 61215a73a7 removing nsIAtom.h. It is now a generated header. 1999-08-21 07:14:10 +00:00
dougt%netscape.com 8cf9b81629 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
mccabe%netscape.com f55e794098 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 8659e6f66c adding nsIAtom to build project 1999-08-21 07:00:51 +00:00
dougt%netscape.com 6a190b04ac 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 4f8136dd2b 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 9575270f2d 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 806ac16a86 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 0991be09fa 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 ebb79eaa0a adding nsISupportsVoid to the nsISupportsPrimitives family. Fixing some suboptimal use of *retval 1999-08-20 03:14:46 +00:00
tao%netscape.com 610ed8b92a Set properties files encoding to escape unicode. 1999-08-19 22:37:35 +00:00
mgleeson1%netscape.com a802a5ded7 change for hpux porting 1999-08-19 21:17:31 +00:00
shaver%netscape.com f48a471044 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 179ca27661 HP-UX additions 1999-08-19 20:36:06 +00:00
dp%netscape.com 8ff4b44481 - Adding nsComponentMangager::GetClassObject()
- Adding a nsIID parameter to the nsIModule:GetClassObject()
1999-08-19 14:54:12 +00:00
mccabe%netscape.com e7e02f01c7 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 3854fff49d 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 c8c8eea4c0 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 968e8cf4a5 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 5e30086b55 Backing out dougt 1999-08-19 02:34:33 +00:00
mang%subcarrier.org 1217e35037 Doc only. Merged README.html into xpconnect-sample.html. 1999-08-18 23:25:41 +00:00
dougt%netscape.com 07dc620ff9 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 b76b94a281 Add TestStackCrawl, which is currently broken :-(. 1999-08-18 04:53:51 +00:00
dp%netscape.com 8943ef6722 XPCOM Brownbag 1 1999-08-18 02:17:28 +00:00
dougt%netscape.com 7aa075083f 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 dbc05e0eaa reserving NS_ERROR_MODULE_XPCONNECT 1999-08-18 02:08:26 +00:00
ramiro%netscape.com 0e1b8a922a Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com d8761c4de1 Make it look prettier. 1999-08-17 16:24:46 +00:00
ramiro%netscape.com 0149d76208 Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
dp%netscape.com 889759b581 Calling shutdown listeners on XPCOM Shutdown. Fix bug #11790 1999-08-14 21:32:29 +00:00
briano%netscape.com 13486f087a 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 b25977cb8b 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 944678da9d renamed to QueryReferent, do_QueryReferent, etc. 1999-08-13 23:00:58 +00:00
dp%netscape.com 153c3a6d49 - 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 793f8e02bd Dll unloading support. These are not used yet. 1999-08-13 19:27:58 +00:00
warren%netscape.com 02691853e5 Reduced max page count. 1999-08-13 03:31:56 +00:00
warren%netscape.com 0357d0e958 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 8b2cc3fbdc Bug 11667. Fix unsigned/signed mismatch. 1999-08-12 08:49:44 +00:00
beard%netscape.com 0ceb9f4881 added nsPipe2.cpp, nsSegmentedBuffer.cpp. 1999-08-12 00:12:37 +00:00
beard%netscape.com 0d760e6c86 added NS_NewPipe* exports for nsPipe.cpp & nsPipe2.cpp 1999-08-12 00:11:54 +00:00
danm%netscape.com 4b3daedbe5 fix WeakReference exporting for Windows. a:chofmann r:scc. 1999-08-11 23:48:08 +00:00
warren%netscape.com 322d910c5a Removed useless nsIServiceManager.h 1999-08-11 08:13:52 +00:00
warren%netscape.com 63a541d49e Added more logging code. 1999-08-11 08:13:07 +00:00
danm%netscape.com 471dc93288 synch declaration of NS_GetWeakReference with its implementation 1999-08-11 06:14:05 +00:00
cls%seawood.org 48332341cd More gcc 2.95 fixes 1999-08-11 05:59:26 +00:00
shaver%netscape.com d4e1855665 defend against NULL GlobalServiceManager 1999-08-11 04:08:44 +00:00
dp%netscape.com 4042d3a6f6 Caching persistentDescriptor and nativePath; Released when dll goes
away.
1999-08-11 01:46:43 +00:00
scc%netscape.com ea68100320 fix for bug #10993, can't destroy an unitialized arena 1999-08-10 23:24:21 +00:00
dp%netscape.com a38d83701e Fixing unix build bustage. 1999-08-10 23:13:46 +00:00
dp%netscape.com 95b69a3611 Logging error from canunload 1999-08-10 23:06:33 +00:00
dougt%netscape.com 1f154a72f4 Fix for bug 9007 submitted by david.gardiner@unisa.edu.au. 1999-08-10 23:00:53 +00:00
dougt%netscape.com f962a16511 Fix for bug 10838. 1999-08-10 22:53:02 +00:00
frankm%eng.sun.com 2a4acf1b3b Add nsID constant to IDL-generated Java interface 1999-08-10 21:10:06 +00:00
warren%netscape.com bc45ad76c9 Removed crtdbg.h 1999-08-10 20:30:45 +00:00
mcafee%netscape.com 2dde613bf0 Fixing linux bustage, I can't find crtdbg.h in the tree. 1999-08-10 20:11:25 +00:00
warren%netscape.com 4e5c4a64eb Added GetGlobalAllocator. 1999-08-10 19:54:17 +00:00
warren%netscape.com aadb711b2c 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 e50aa72a0f Added new pipe implementation. 1999-08-10 19:25:27 +00:00
warren%netscape.com 6dd8807c5f Added nsSegmentedBuffer.cpp and nsPipe2.cpp to build. 1999-08-10 19:21:17 +00:00
warren%netscape.com 7e2cecfcc6 Added new pipe implementation -- simpler and faster. 1999-08-10 19:18:39 +00:00
warren%netscape.com 2fb04397c8 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 4582d26d09 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 d6e7410f31 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 1b9b03a295 stop tripping myself up 1999-08-10 06:47:38 +00:00
jband%netscape.com 3ca29de1ee updating status page 1999-08-10 06:30:34 +00:00
rogerl%netscape.com 4ef6eb6906 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 a3dc02805b 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 961500de8e 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 c0dea43629 dummy 1999-08-09 05:40:51 +00:00
jband%netscape.com 3f75ebc9ff 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 e0799f7257 Create the module object and caching it in the Dll abstraction. 1999-08-09 00:19:08 +00:00
dp%netscape.com d92799422f Changing name from nsIComponent.idl to nsIModule.idl 1999-08-08 22:27:28 +00:00
dp%netscape.com 2c568a0cd6 Fixing addition of nsIModule.idl 1999-08-08 22:16:53 +00:00
dp%netscape.com 40ff09f510 Adding nsIModule.idl 1999-08-08 21:58:53 +00:00
dp%netscape.com 8b0952aee5 added files: mozilla/xpcom/components/nsIModule.idl 1999-08-08 21:57:09 +00:00
dp%netscape.com 1911b3be38 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 e64235c412 fix crash in cookie viewer 1999-08-08 20:33:27 +00:00
jband%netscape.com ce08f4eea5 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 dc563842ea adding missing initializer for member 1999-08-08 03:37:03 +00:00
alecf%netscape.com 0cce3d24a3 fix constructor warning 1999-08-07 20:06:38 +00:00
rjc%netscape.com 158163c078 Use GetFileSpec() correctly. 1999-08-07 11:23:54 +00:00
mccabe%netscape.com c3567729e0 Fix lxr-visible file description comments. 1999-08-07 09:45:12 +00:00
mccabe%netscape.com e5300a345a Fixes for 'warning: unsigned value < 0 is always 0' warnings. 1999-08-07 09:32:45 +00:00
cls%seawood.org 9eea17be39 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 0bb7417a68 change libreg name to match Unix 1999-08-07 03:16:42 +00:00
rjc%netscape.com 40870414c8 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 5284e6851e 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 5264239545 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 5a54ef9f38 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 2a76ddde40 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 cbcb2ce098 fix warnings 1999-08-05 19:47:10 +00:00
dp%netscape.com 7afa7173a1 Fixed typo. 1999-08-05 12:58:04 +00:00
briano%netscape.com 6980bacec1 Fixed the broken initial comment block. 1999-08-05 01:36:18 +00:00
briano%netscape.com 7ee699bbcf 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 1eb9c2aa52 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 d9d532ff9a Added Linux/sparc rules. Added rules to distinguish Sun Workshop and GCC
builds.
1999-08-04 20:48:18 +00:00
dp%netscape.com 2a61eca94a Adding consistency checks on ReleaseService. 1999-08-04 09:36:12 +00:00
jband%netscape.com f9fca51347 use LL_ZERO for initializing 64 bit values to fix Mac bustage 1999-08-04 07:45:38 +00:00
jband%netscape.com 5236d2999c 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 0a9a225986 adding changes suggested by brendan 1999-08-04 07:07:37 +00:00
jband%netscape.com 82c1b58275 added files: mozilla/xpcom/ds/nsISupportsPrimitives.idl 1999-08-04 07:02:54 +00:00
jband%netscape.com 8f5b0667c5 added files: mozilla/xpcom/ds/nsSupportsPrimitives.cpp 1999-08-04 07:01:10 +00:00
jband%netscape.com 70d09b9aad adding nsISupports wrappers for the primitive types including strings and nsIDs 1999-08-04 06:57:38 +00:00
jband%netscape.com 0387cd7850 adding PRUnichar as a type we can talk about in idl 1999-08-04 06:53:48 +00:00
brendan%mozilla.org e8edbc13d5 Shaver and I are @mozilla.org. 1999-08-04 06:24:33 +00:00
jband%netscape.com acdcdf2c30 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 e7394effc7 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 be825b5d4b added files: mozilla/xpcom/ds/nsHashtableEnumerator.cpp 1999-08-04 02:28:03 +00:00
jband%netscape.com a9d20725ec 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 72ca4658da 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 41882c9270 Reserved IID for nsIDOMNSLocation 1999-08-03 23:17:16 +00:00
troy%netscape.com 77457a51a0 Reserved IID for nsIFrameManager 1999-08-03 22:35:42 +00:00
briano%netscape.com f1ffca414c 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 afe43490ca 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 1f0ab10430 experiment: I don't think it like the forward declaration 1999-08-03 10:44:12 +00:00
scc%netscape.com fffe08a5ec well, now it needs to include nsCOMPtr, since the header doesn't anymore 1999-08-03 08:34:17 +00:00
scc%netscape.com ec8316be78 First Checked In. 1999-08-03 08:30:05 +00:00
scc%netscape.com e4d1a4321f 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 b5ee2a318a 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 eaeff321cf 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 dfa83459be Added |do_QueryReference| for initializing/assigning from |nsWeakPtr|s. Also some fixes. 1999-08-03 07:21:39 +00:00
scc%netscape.com af5ba49b94 Added nsWeakReference.h, .cpp in the appropriate places 1999-08-03 07:20:37 +00:00
scc%netscape.com 0fbdb1874a Added "nsWeakReference.cpp" 1999-08-03 07:17:26 +00:00
scc%netscape.com 3b6747cc0a getting ready to build 1999-08-03 04:59:47 +00:00
pinkerton%netscape.com a595b44378 remove interface and impl of nsFileSpec::ResolveAlias() because it is obsolete. 1999-08-03 04:51:45 +00:00
scc%netscape.com 3495a2113a Add nsIWeakReference.idl 1999-08-03 03:48:58 +00:00
scc%netscape.com c996de5e16 Added nsIWeakReference.idl 1999-08-03 03:48:04 +00:00
scc%netscape.com 7099e1336a First Checked In. 1999-08-03 03:41:27 +00:00
dp%netscape.com 2bd01df1c4 - Removed calling FreeLibraries()
- ReleaseService() wont delete anymore
- Made ReleaseService() and UnregisterService() simpler
- Shutdown releated Assertion removal.
1999-08-03 00:53:55 +00:00
dp%netscape.com 4b555e2372 Using nsObjectHashtable::RemoveAndDelete() 1999-08-03 00:03:38 +00:00
dp%netscape.com 16a59c22db Adding RemoveAndDelete() to nsObjectHashtable 1999-08-02 23:55:03 +00:00
jfrancis%netscape.com b5b13c4f48 fixing mac NS_LINEBREAK macro 1999-08-02 13:25:19 +00:00
mccabe%netscape.com bec8580cb5 Further warning enhancements engendered by 10693.
- Added xpidl_sprint_iid method for printing an nsID to a string.

- Removed "this is a gross hack" code for parsing and printing iids, and replaced with calls to xpidl_sprint_iid

- Made write_classname_iid_define() void, and removed cluttering tests against its failure.

- Cleaned up.
1999-08-02 11:19:30 +00:00
mccabe%netscape.com 8c92e507dd Improved abstraction of uuid parsing; uuid parsing function now no longer understands "" to mean 'the uuid consisting of only 0s.' Also broke the function out into xpidl_idl.c (where utility functions live) towards reusing it in xpidl_headers as well.
Removed outdated reference to (resolved) bug 5872.
1999-08-02 09:46:57 +00:00
mccabe%netscape.com 32c7b823a8 Fix to 10693. Error on malformed uuid (currently we just check for a uuid of the wrong length) rather than failing silently. 1999-08-02 09:35:28 +00:00
dp%netscape.com 360e8cfe27 VMS changes from Colin Blake <colin@theblakes.com> 1999-07-31 19:39:23 +00:00