240 Commits

Author SHA1 Message Date
darin%meer.net
c6462b5272 fixes bug 337492 "xpcom proxies may release proxied object on random threads" r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@198691 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 23:07:13 +00:00
benjamin%smedbergs.us
2ccd07283d Bug 338734 - Make nsProxyRelease available to frozen-linkage code, r=darin
git-svn-id: svn://10.0.0.236/trunk@198151 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 14:19:13 +00:00
darin%meer.net
f0d82ccaaa backing out patch for bug 337492 to fix tinderbox orange
git-svn-id: svn://10.0.0.236/trunk@196704 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 21:42:52 +00:00
darin%meer.net
0982ec70c6 Attempting to fix nye tinderbox bustage.
git-svn-id: svn://10.0.0.236/trunk@196703 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 21:14:45 +00:00
darin%meer.net
c8912b7c4e fixes bug 337492 "xpcom proxies may release proxied object on random threads" r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@196698 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 20:17:36 +00:00
darin%meer.net
b2ab07fdcf fixes bug 338075 "CID 538, resource leak" patch by Feng Qian, r=darin
git-svn-id: svn://10.0.0.236/trunk@196612 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 00:11:38 +00:00
darin%meer.net
f33cdfc882 removing empty file (bug 330062)
git-svn-id: svn://10.0.0.236/trunk@196501 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 06:13:10 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cbiesinger%web.de
a5408fb242 fixing bustage from bug 323412: check in missing file
git-svn-id: svn://10.0.0.236/trunk@188393 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 16:25:25 +00:00
cbiesinger%web.de
3f5e168b85 bug 323412 get the event queue service outside of the proxy locks
patch by Matthew Gertner <matthew@allpeers.com> r=dougt


git-svn-id: svn://10.0.0.236/trunk@188392 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 15:46:11 +00:00
timeless%mozdev.org
8a213cf6db Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
112c33275c Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree.
git-svn-id: svn://10.0.0.236/trunk@184304 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 18:17:49 +00:00
bzbarsky%mit.edu
85bb539b7d Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@176810 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 21:40:57 +00:00
bzbarsky%mit.edu
f8c36132e4 Add some documentation. Bug 292036, patch by gekacheka@yahoo.com, r=darin,
sr=bzbarsky, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176809 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 21:17:14 +00:00
bsmedberg%covad.net
0aef89c73b Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
git-svn-id: svn://10.0.0.236/trunk@171671 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 19:30:58 +00:00
bsmedberg%covad.net
06d0e4ec39 Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end.
git-svn-id: svn://10.0.0.236/trunk@171465 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 18:22:57 +00:00
bsmedberg%covad.net
478a8a0994 Bug 267040 - Remove obsolete XPCOM dllexports for the old component manager r=darin
git-svn-id: svn://10.0.0.236/trunk@171000 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-22 20:37:18 +00:00
bsmedberg%covad.net
d2c4aa852f Bug 272283 - initial work for --enable-libxul r=bryner+darin This is on by default for xulrunner and off by default for all other apps.
git-svn-id: svn://10.0.0.236/trunk@166350 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 22:39:54 +00:00
darin%meer.net
3d52b0860b fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@165089 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 23:59:35 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
bryner%brianryner.com
16b26bbf1b Change a few more destructors in XPCOM to be non-virtual, and comment destructors that need to be virtual. Bug 229875, r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152655 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:19:03 +00:00
bryner%brianryner.com
88b5530edd Some cleanup to nsProxyObject: implement refcounting without nsISupports inheritance, inline getters, and fix a few warnings. Bug 232022, r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151826 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-25 10:39:02 +00:00
bryner%brianryner.com
b5ccad4460 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
darin%meer.net
bc1bb52b19 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00
bryner%brianryner.com
c81aa21722 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
cls%seawood.org
6352367a62 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules.
git-svn-id: svn://10.0.0.236/trunk@146076 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 00:42:35 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
seawood%netscape.com
9e4caeaa92 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143522 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 20:12:33 +00:00
dougt%meer.net
219c826785 removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634
git-svn-id: svn://10.0.0.236/trunk@142864 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:23:10 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
seawood%netscape.com
0a7c7a98f9 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose


git-svn-id: svn://10.0.0.236/trunk@135809 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 08:58:59 +00:00
dougt%netscape.com
2528bfde89 Fix for nsProxyObjectManager::GetProxy() memory corruption. Patch by wolruf@free.fr, r=dougt, sr=alecf, b=182572
git-svn-id: svn://10.0.0.236/trunk@134730 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 23:04:28 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
gerv%gerv.net
5751d43faf Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@126985 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:39:43 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
bryner%netscape.com
44791394dd Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa.
git-svn-id: svn://10.0.0.236/trunk@126082 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-30 21:30:05 +00:00
dougt%netscape.com
93a121bec1 ProxyObjectCallInfo class is exported by many dso. r=darin, sr=alec, a=asa, b=158932
git-svn-id: svn://10.0.0.236/trunk@125800 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:13:06 +00:00
alecf%netscape.com
7ce57677ba more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa


git-svn-id: svn://10.0.0.236/trunk@125651 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:30:04 +00:00
dougt%netscape.com
fe86486377 Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@123042 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 19:26:04 +00:00
dougt%netscape.com
c4b7ad94e8 Fixes allocation/deallcation mismatch. sr=darin, verified by stephend, b=149108
git-svn-id: svn://10.0.0.236/trunk@122702 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 21:48:53 +00:00
dougt%netscape.com
eaad2f24e1 fixes crash in js_FreeStack caused by a race condition in necko. see 139556 for the details. r=rpotts, sr=darin
git-svn-id: svn://10.0.0.236/trunk@122438 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 20:40:11 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
nisheeth%netscape.com
121c854382 Fix for bug 125466. r=dougt, sr=jband, a=asa. Add AString, CString, and UTF8String support to the XPCOM proxy event mechanism
VS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@116186 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 21:28:37 +00:00
dougt%netscape.com
f3dc51d9cf Fail when Async Proxy methods are passed out or in-out params. bug 128560. r/sr=jband@netscape.com,rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@116065 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 20:02:38 +00:00