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

528 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com 6c1c138f3c Re-enable nsCOMPtr_base on gcc 3.x, and use the may_alias attribute for mRawPtr to avoid strict aliasing problems on gcc 3.3+. Bug 212082, r=darin, sr=dbaron. 2003-11-13 07:37:14 +00:00
dbaron%dbaron.org 4c6b6d29e0 QueryInterface implementations shouldn't null-check out parameter. b=215352 r=dougt 2003-11-11 21:51:02 +00:00
dbaron%dbaron.org ce5146b843 Incorrect test in previous checkin. b=220291 2003-10-23 02:29:47 +00:00
dbaron%dbaron.org 039566e00c Combine NSCAP_FEATURE_FACTOR_DESTRUCTOR and NSCAP_FEATURE_DEBUG_PTR_TYPES into NSCAP_FEATURE_USE_BASE to fix leaks when mixing builds compiled in different ways. b=220291 r=scc sr=bryner a=asa 2003-10-22 23:29:00 +00:00
pkw%us.ibm.com 939917399e Bug 221422 - Unix builds after 2003/09/13 don't start when run with a
relative path.
r=darin@meer.net, sr=dougt@meer.net
2003-10-20 17:57:52 +00:00
bryner%brianryner.com a08b523fc1 Make nsCOMPtr operator== work correctly with multiple inheritance (bug 221316). r=dbaron, sr=darin. 2003-10-07 20:43:34 +00:00
dbaron%dbaron.org d0e0b80805 Do not use nsCOMPtr_base with gcc3, since doing so violates aliasing rules. b=212082 r=scc sr=bryner 2003-09-25 05:43:42 +00:00
bsmedberg%covad.net 0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
dougt%meer.net ed09f93043 Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron 2003-08-05 05:29:10 +00:00
cls%seawood.org 064d382e0c Fix VPATH build problem with cygwin make 3.80:
* Force use of native cygwin paths & cygwin_wrapper
* Remove _NO_AUTO_VARS mess
* Use full source path when calling win32 compiler so debugging info shows up
* Change DEPENDENT_LIBS to use an intermediate header file instead of commandline define
Bug #210393 r=leaf sr=bryner
2003-08-05 04:43:49 +00:00
mkaply%us.ibm.com 1a38ab2d00 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-22 18:38:01 +00:00
dougt%meer.net 14fa809554 Missing control path return value 2003-07-08 20:03:35 +00:00
dougt%meer.net a856820d8e Enables debug stackcrawl support in GRE builds. b=208098. r=dbaron. 2003-07-07 22:11:36 +00:00
caillon%returnzero.com 4cc64cee34 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
sicking%bigfoot.com 13f65a560a Bug 209667: Make it possible to hold an nsRefPtr to a class that lacks an empty ctor. I'll back this out if it breaks any ports.
r=jag sr=dbaron on the nsCOMPtr.h part
r=Pike sr=peterv on the transformiix part
2003-06-19 18:21:39 +00:00
timeless%mozdev.org 7361f0325f Static build bustage
Change for Bug 124958 should not have changed the static build
2003-06-14 00:18:12 +00:00
timeless%mozdev.org 193d42cfcd Static build bustage
Change for Bug 124958 should not have changed the static build
2003-06-13 21:40:06 +00:00
timeless%mozdev.org ac9af605d4 Bug 124958 Crash on startup in OpenBSD in static constructor calls
global variables are shared by all shared libraries
patch by wilfried@spamcop.net r=dougt
2003-06-13 17:05:56 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
dbaron%dbaron.org 015ab0d484 Change _MSC_VER ifdef since MSVC++ .net 2003 has fixed one of their compiler bugs. b=208439 Patch from Ian Hickson <ian@hixie.ch>. r=dbaron sr=jag 2003-06-05 18:50:16 +00:00
jkeiser%netscape.com ea020d3190 Remove the no-forward-declared-nsCOMPtr hack (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org 2003-06-03 03:56:14 +00:00
dougt%meer.net ad4efabeb5 removing dynamically allocated hashtable in xpcom where possible. r=alecf, b=204634 2003-05-23 22:23:10 +00:00
blizzard%redhat.com dddd145e35 Bug #205752. Support a directory for gre config files: /etc/gre.d/ r=dougt,a=asa 2003-05-20 17:43:12 +00:00
dougt%meer.net 04fb8b72d8 Sets the current directory to the process directory at startup. This is to avoid a potential problem with embedding applications calling ShellExecute where the working directory parameter. This results in the new process inheriting the current working directory of the old process. See bug 202363. r=wtc@netscape.com, a=asa@mozilla.org 2003-05-08 18:42:15 +00:00
dougt%meer.net 65b3fedb62 Fixing static build bustage. Need to translate names 2003-05-04 23:32:53 +00:00
dougt%meer.net 9fa187d6ab Adding a dependent_libs cache. b=193442, r=darin, a=seth 2003-05-03 00:54:20 +00:00
dougt%meer.net a02f79969c Enables generic module code to use DEPENDENT_LIBS if defined. Note that this is not enabled for XPCOM_GLUE since support for DEPENDENT_LIBS requires an unfrozen interface. b=193442, r=alec@flett.org, a=sspitzer@netscape.com 2003-04-25 04:48:22 +00:00
dougt%netscape.com 23f3006361 Allowing assertion dialog to work in GRE / ActiveX control apps. See 181434. 2003-04-07 13:58:45 +00:00
alecf%netscape.com c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
mkaply%us.ibm.com 8c2397b9ac #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:26:41 +00:00
dbaron%dbaron.org af71f025b3 Fix bustage on IRIX 6.5 tinderbox (native compiler) with another platform test. b=66134 2003-03-18 15:12:20 +00:00
dbaron%dbaron.org 2fe6241286 Change AIX_XLC_364 ifdef back to AIX due to linker errors on current AIX tinderbox. b=66134 2003-03-18 05:50:53 +00:00
dougt%netscape.com 30bc819e29 Changing the default key used. r+sr=dougt, b=190389 2003-03-12 21:48:02 +00:00
dougt%netscape.com a4c7c7573f Converting the file location of the component registry and the xpti manifest file to use the directory service. r=darin, b=191055 2003-03-11 21:36:59 +00:00
cls%seawood.org d1079607df XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron
2003-03-07 06:07:56 +00:00
dougt%netscape.com c5ac287dab removing NS_MT_SUPPORTED define. b=186494, r=dougt, r=seawood 2003-03-05 23:30:22 +00:00
dougt%netscape.com 939bb1e75c relanding. Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442)Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin. 2003-03-05 03:22:12 +00:00
tor%cs.brown.edu db50a85d91 Backout of 193442/191415. a=brade,dougt 2003-03-03 21:00:07 +00:00
dougt%netscape.com dccf8bcbee Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442) Storing the GRE location in a relative way so that we can change GRE versions between launches assuming that they are compatible (191415). Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin. 2003-02-28 21:30:35 +00:00
mkaply%us.ibm.com 4838fe80e4 Per scc - NS_REINTERPRET_CAST is the right thing here 2003-02-25 19:43:41 +00:00
mkaply%us.ibm.com 097d5ce211 OS/2 bustage - fix from scc - need static cast 2003-02-25 19:38:00 +00:00
scc%mozilla.org 10ccbee43a bug #78016 r=dbradley, sr=dbaron 2003-02-25 15:53:36 +00:00
timeless%mozdev.org 1552cf15e2 Bug 190790 xpcom/glue/standalone/nsGREDirServiceProvider.cpp", line 300: Warning: String literal converted to char* in assignment.
r=dougt sr=roc+mozn
2003-02-23 04:41:23 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
bryner%netscape.com 2221f6ed02 move XP_MACOSX block before XP_UNIX so we use that instead on os x. 2003-02-20 06:21:59 +00:00
mkaply%us.ibm.com 9f69e2fd9d OS/2 bustage 2003-02-20 05:36:54 +00:00
dougt%netscape.com 572f20a150 fixing bustage on osx 2003-02-20 04:39:31 +00:00
dougt%netscape.com 975ff0c178 Fixes a problem where clicking an URL outside Mozilla does nothing. r=ssu, sr=dveditz, a=chofmann, b=193189 2003-02-20 02:26:04 +00:00
peterlubczynski%netscape.com 5d73c2bc6a Fixing bug 189461, Java plugin fails to load because it can't find xpcom symbols so load the library with flag PR_LD_GLOBAL, patch by Ken Herron kherron@squm.mci.com r=peterl sr=dougt a=dbaron 2003-02-04 01:10:25 +00:00
dougt%netscape.com dbaeb4debd Fixing many problems related to GRE libs versioning. r=ssu sr=me a=dveditz 2003-01-31 00:37:20 +00:00
dougt%netscape.com 53eb543117 re-enables nsDebug in xpcom glue. 191005 , r=chak, sr=darin, a=dbaron 2003-01-30 00:34:03 +00:00
seawood%netscape.com b584cb0b06 MOZILLA_VERSION is now defined in mozilla-config.h so no need to explicitly define it here
Bug #189462 r=dougt
2003-01-22 04:24:56 +00:00
darin%netscape.com f7e3c0e981 fixing freeing a non allocated ptr. 2003-01-17 02:23:50 +00:00
dougt%netscape.com e52c6ea5b3 quotes 2003-01-17 00:00:18 +00:00
dougt%netscape.com 832eb52a1a Attempting to fix osX bustage. 2003-01-16 23:57:55 +00:00
dougt%netscape.com 9d56c19334 Removing comment about NS_ASSERTION being deprecated. r=me. b=188925 2003-01-15 22:27:10 +00:00
dougt%netscape.com 6508e0713e move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood. 2003-01-15 20:40:06 +00:00
dougt%netscape.com 95d416f010 Add .gre.conf test for debugging. 2003-01-15 00:17:17 +00:00
dougt%netscape.com b18c9c6f3d removing nsEmbedString from this directory. It has been moved to mozilla/string/embed. r=cls 2003-01-14 07:22:46 +00:00
dougt%netscape.com aa97f212b1 Moving nsEmbedString to mozilla/string. r=cls. 2003-01-14 03:41:52 +00:00
dbaron%dbaron.org bc98f431d6 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. sr=jag 2003-01-10 20:02:04 +00:00
seawood%netscape.com c6e456c48d Fix IRIX bustage.
Thanks to Doug Turner <dougt@netscape.com> for the patch.
Bug #185681 r=cls
2003-01-10 08:32:46 +00:00
dbaron%dbaron.org b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
seawood%netscape.com 60e790cacd Do not declare empty EXPORTS variables as it breaks 'make install'
Thanks to Aleksey Nogin <mozilla-bugs@nogin.org> for the patch.
Bug #185681 r=cls
2003-01-03 08:00:49 +00:00
dougt%netscape.com 4686cece52 Fixing OS2 build. XP_PC -> XP_WIN32 2003-01-03 01:39:01 +00:00
dougt%netscape.com 7cd70969a2 Adding generic support for the GRE in the xpcom glue. r=chak, sr=darin, b=185681 2003-01-02 23:09:30 +00:00
dbaron%fas.harvard.edu a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
dougt%netscape.com dd3b6ee5f7 Fixes crash caused by bug 184548. r=adamlock, sr=darin 2002-12-16 19:26:58 +00:00
seawood%netscape.com 58004c4a48 Add SRCS_IN_OBJDIR variable to workaround requirement introduced by bug 141834 that srcfiles must be in the srcdir.
Bug #171753 r=bryner
2002-12-13 02:36:06 +00:00
dougt%netscape.com 294e77fa7c Fixes XPCOM glue leaving behind exit routine after DLL is unloaded. r=adamlock sr=darin, a=asa, b=184548 2002-12-10 01:37:56 +00:00
seawood%netscape.com f9959bc296 Fix pointer casting for AIX 64-bit builds.
Thanks to Philip K. Warren <pkw@us.ibm.com> for the patch.
Bug #177906 r=cls sr=scc
2002-11-06 21:07:23 +00:00
dbaron%fas.harvard.edu 39ce4eeae8 Make NS_INIT_ISUPPORTS empty by moving NS_INIT_OWNINGTHREAD into the constructor of a new class, |nsAutoOwningThread|. Deprecate NS_INIT_ISUPPORTS. b=174225 r=dougt sr=alecf 2002-11-06 13:09:20 +00:00
dougt%netscape.com afbded917d 177063. Linux segmentation fault at startup using xpcom glue. r=alecf, sr=jag, a=roc+moz@cs.cmu.edu 2002-10-30 14:13:00 +00:00
dougt%netscape.com e575b3a03a Attempting to fix the bustage on os2, beos, linux/ppc 2002-10-18 13:36:32 +00:00
dougt%netscape.com 1c09d9410c Backing out my last attempt since I believe that the problem is with the cvs mirrors 2002-10-18 02:36:28 +00:00
dougt%netscape.com f586f1a0ff Adding nsReadableUtils.cpp to the string glue code. This is required for StringAllocator. Fix for linux build bustage 2002-10-18 02:08:14 +00:00
dougt%netscape.com 20cb222459 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org 2002-10-17 23:41:47 +00:00
seawood%netscape.com 57e08a3f3a 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
2002-10-17 06:47:01 +00:00
jkeiser%netscape.com 35c5cded43 Backing out bug 107291 due to OS/2 having a crappy compiler. 2002-10-08 09:30:40 +00:00
jkeiser%netscape.com 53ea2dfc93 Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu 2002-10-08 06:19:10 +00:00
dougt%netscape.com 2e18d2c1d3 Provides support for a conditional interface map entry 172833, r=bzbarsky@mit.edu, sr=darin@netscape.com 2002-10-07 18:52:27 +00:00
dougt%netscape.com c5ba8c43ce backing out nsGenericFactory.cpp 2002-10-04 23:23:51 +00:00
dougt%netscape.com 0cabe78b54 First cut of the nsIStringService. 172512. r=jag, sr=alecf 2002-10-04 22:25:41 +00:00
dbaron%fas.harvard.edu 29c30c5f3e Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf 2002-09-30 14:18:27 +00:00
dbaron%fas.harvard.edu 26706fbf58 Fix additional typos (and Linux/Mac bustage) from dougt's checkin. b=157133 r=gcc-3.2 2002-09-27 20:35:33 +00:00
dougt%netscape.com e9c1ddd8c5 missing arg 2002-09-27 20:31:19 +00:00
dougt%netscape.com 1566417aaf move contentEncodings and applyConversion to a new interface. r=neeti@netscape.com, sr=darin@netscape.com, b=157133 2002-09-27 19:23:21 +00:00
dougt%netscape.com 4c78893d1b Fixes XPCOM Glue on linux, b=168584, sr=rpotts, r=alec 2002-09-27 13:07:01 +00:00
dougt%netscape.com 77888f84c2 More on XPCOM Glue Is broken on linux. r=rpotts@netscape.com, sr=alecf@netscape.com, b=168584 2002-09-20 22:23:24 +00:00
alecf%netscape.com b15e45e72d re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
2002-09-17 04:49:28 +00:00
dougt%netscape.com 2764a9a972 nsCOMPtr.h needs nsISupportsUtils.h. b=169049, r=rpotts, sr=alecf 2002-09-17 02:32:00 +00:00
alecf%netscape.com 7c03517f4d backing out my fix to 166147 to see if it fixes orange 2002-09-16 23:48:12 +00:00
alecf%netscape.com 5af36705e8 fix for bug 166147 - autoinitialize mRefCnt to 0 by using a wrapper class, a la Don Box
also clean up consumers which were using postfix decrement
r=dougt, sr=jag
2002-09-16 20:59:52 +00:00
law%netscape.com 42869354c5 Backing out timeless's change (plus mine that fixed the build bustage); hopefully will clear orange on Linux builds 2002-09-14 00:18:33 +00:00
law%netscape.com 6969e15595 Fixing build bustage 2002-09-13 23:06:10 +00:00
timeless%mac.com 525d336040 Bug 155413 nsIClassInfo crash [@nsGenericFactory::GetHelperForLanguage] mInfo is null
r=dougt sr=dveditz
2002-09-13 22:36:48 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
timeless%mac.com 43e442ad09 Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
2002-09-03 14:51:05 +00:00
bryner%netscape.com 5f5aeaab1a Ignore copied source files. 2002-08-26 09:02:31 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00