29 Commits

Author SHA1 Message Date
cls%seawood.org
a26020ddae Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
git-svn-id: svn://10.0.0.236/trunk@65143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:46:38 +00:00
tbogard%aol.net
7475e9b9b5 Removing nsIXULWindowCallbacks as they were removed from active use nearly 8 or more months ago. Getting rid of having to pass it around as a parameter and all that fun stuff. r=danm a=jevering
git-svn-id: svn://10.0.0.236/trunk@61907 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 22:03:49 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
jband%netscape.com
7ac1267323 Lots of xpconnect bug fixes...
- fix bug 12954 "should throw when setting non-settable props".

- fix bug 13418 "xpconnect needs to be threadsafe".
I think I filled in the cracks. Tests would be nice :)

- fix bug 22802 "[MLK] XPConnect Leaks".

- fix bug 24119 "[MLK] Reminder about cleaning up maps".

- fix bug 24453 "xpconnect needs default security manager".
I also changed the code in DOM and caps to just install a default secman and
not install a secman for each JSContext.

- fix bug 24687 "xpconect should avoid resolve performance suckage".
Added (modified) patch from shaver to create my JSObjects with the
global object as the temporary proto to avoid losing lookup.

- hack for bug 24688 "runtime errors in wrapped JS are not made obvious"
Added a debug only printf. We still need a JSErrorConsole service for this.

- fix bug 16130 "createInstanace and getService can create wrappers around wrappers"
Fixing this one really entailed changing the semantics of nsIXPConnect::wrapNative
and nsIXPConnect::wrapJS to use common code in xpcconvert that deals with existing
wrappers and DOM objects (with their own schemes for wrapping and unwrapping).
So, I changed the callers because the params changed slightly and some callers
were doing more work than necessary given the new semantics.

- Continued in the crusade to replace manaual refcounting with nsCOMPtrs whenever
touching old code.

- Added myself as first contributor to xpconnect files (vanity prevails!)

- Added new copyright header on some files that were missing it.

- Added some API comments.

- Converted nsXPCWrappedJS to implement nsIXPConnectWrappedJS via MI rather than
the old loser scheme of the nsIXPConnectWrappedJSMethods tearoff object.

- added DumpJSStack as globals to xpconnect and DOM dlls to be callable from
debuggers. I have ideas on how to improve and expand this support soon.

r=mccabe


git-svn-id: svn://10.0.0.236/trunk@58762 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 08:38:10 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
jband%netscape.com
191411b358 Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
danm%netscape.com
4e8be85212 removing (unused) references to nsIWebShell.h. requested by buster@netscape.com, bug 16510, r:me
git-svn-id: svn://10.0.0.236/trunk@51447 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:47:50 +00:00
briano%netscape.com
1f53a4dd3f General cleanup.
git-svn-id: svn://10.0.0.236/trunk@48168 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 03:45:06 +00:00
cyeh%netscape.com
cfce14ff56 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:13:14 +00:00
ramiro%netscape.com
d43e5b92ea Cleanup zlib cruft.
git-svn-id: svn://10.0.0.236/trunk@44504 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 14:39:53 +00:00
mccabe%netscape.com
11fd6c8b36 Remove unused explicit NS_DECL_IFOO declarations from %{C++ blocks in the header files; these are replaced by xpidl-generated NS_DECL_NSIFOO macros.
git-svn-id: svn://10.0.0.236/trunk@44106 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 01:41:52 +00:00
mccabe%netscape.com
21c708fc47 Move uses xpfe/components interfaces to using NS_DECL_NSIFOO macro. Several interfaces in xpfe/components declared their own NS_DECL_IFOO macros; I moved those to generated NS_DECL_NSIFOO and will remove the definitions in a subsequent checkin to prevent any risk of mid-checkin skew.
git-svn-id: svn://10.0.0.236/trunk@44102 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-23 01:07:33 +00:00
ramiro%netscape.com
1784612f6b cleanup linking of libmozreg.
git-svn-id: svn://10.0.0.236/trunk@44002 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 15:41:53 +00:00
law%netscape.com
f12255727f Enable overriding initialization
git-svn-id: svn://10.0.0.236/trunk@41440 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 05:51:43 +00:00
briano%netscape.com
684f6b2907 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568.
git-svn-id: svn://10.0.0.236/trunk@41354 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:27:44 +00:00
law%netscape.com
3aa02b0e09 Delay loading of app shell components till required
git-svn-id: svn://10.0.0.236/trunk@38206 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 00:39:37 +00:00
briano%netscape.com
1e6547d545 Fix for OpenBSD.
git-svn-id: svn://10.0.0.236/trunk@37218 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 20:19:58 +00:00
law%netscape.com
157bd41438 Revert to proper code to get it working with current JS
git-svn-id: svn://10.0.0.236/trunk@36967 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 00:05:17 +00:00
law%netscape.com
4fac69383c Fixes to sort of get OpenDialog to work from C++
git-svn-id: svn://10.0.0.236/trunk@36627 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 23:12:10 +00:00
law%netscape.com
dd0df766ff Enhanced to demonstrate use of nsIDOMWindow::OpenDialog
git-svn-id: svn://10.0.0.236/trunk@36512 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 05:33:03 +00:00
law%netscape.com
45ed3c204e Switching xpfe components to use XPIDL
git-svn-id: svn://10.0.0.236/trunk@34676 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:43:08 +00:00
law%netscape.com
e35d7746b7 Switching to XPIDL (this isn't actually used quite yet)
git-svn-id: svn://10.0.0.236/trunk@34626 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:20:21 +00:00
law%netscape.com
2394f4f4a9 Switching to XPIDL (this isn't actually used quite yet)
git-svn-id: svn://10.0.0.236/trunk@34540 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:15:58 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
mcmullen%netscape.com
999ece26b5 Initialized this to the right files etc.
git-svn-id: svn://10.0.0.236/trunk@31508 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:22:00 +00:00
law%netscape.com
eaf6957603 Adding to mac build
git-svn-id: svn://10.0.0.236/trunk@31486 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:46:44 +00:00
law%netscape.com
3acd77bd56 New and improved
git-svn-id: svn://10.0.0.236/trunk@31416 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 05:38:38 +00:00
law%netscape.com
af6912171f New sample component
git-svn-id: svn://10.0.0.236/trunk@31094 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:41:01 +00:00