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

518 Коммитов

Автор SHA1 Сообщение Дата
darin%meer.net d7a21f643e fixing MingW / GCC 3.4 build bustage 2004-11-23 22:19:13 +00:00
darin%meer.net 6d8591d85f fixes bug 263360 "Make CallCreateInstance use NS_GetComponentManager instead of nonfrozen/deprecated nsComponentManager symbols" r=bsmedberg sr=dbaron 2004-11-23 20:53:38 +00:00
darin%meer.net 90246214db fixes bug 264274 "support dependent strings in frozen string API" r=biesi sr=bsmedberg 2004-11-16 04:44:57 +00:00
bsmedberg%covad.net 82022506fd Bug 267767 - Make XPCOM memory management functions frozen exports. r=darin sr=shaver 2004-11-12 19:26:37 +00:00
darin%meer.net abcd15ca39 fixes bug 266006 "xpcom/glue should not declare methods with NS_COM" r=bsmedberg 2004-10-29 19:43:51 +00:00
darin%meer.net 07c028ea2d Applying fix for smoketest blocker, bug 266214 "Browser will not start after install (xpcom_core.dll not found)" 2004-10-27 08:10:40 +00:00
neil%parkwaycc.co.uk 6a176399ec Bug 253941 Compilers that know about explicit constructors should be able to stop you from assigning nsISupports and derived pointers directly into incompatible nsCOMPtrs r=scc sr=dbaron 2004-10-25 21:45:00 +00:00
darin%meer.net 52ac61d678 landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2004-10-25 19:34:45 +00:00
dbaron%dbaron.org 09e98b2a17 Reduce code size and work done by do_GetInterface by removing unneeded inline nsCOMPtr. Pointed out by Bernard Alleysson <balleysson@bigfoot.com>. b=264456 r=darin 2004-10-15 18:03:35 +00:00
dbaron%dbaron.org fabeac3176 Reduce code size of do_GetService by moving an nsCOMPtr and QueryInterface out of the part that's done inline. b=264456 r=darin 2004-10-15 17:44:30 +00:00
dbaron%dbaron.org 338d2bb649 Add helper functions that make it easier to cache factories. b=261310 r=darin 2004-10-02 00:44:13 +00:00
timeless%mozdev.org 6443b930ea fixing url. suggested by jw6057@bacon.qcc.mass.edu 2004-08-25 06:38:18 +00:00
darin%meer.net 3c3e38fe29 fix uninitialized variable warning (does not correspond to a real bug) 2004-07-29 13:48:08 +00:00
darin%meer.net f430137b16 fix for bug 240986 "XPCOM sample fails to start inside xpcshell" r=bsmedberg,dougt 2004-07-19 19:27:24 +00:00
gerv%gerv.net c01bb2d438 Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups. 2004-07-16 19:09:02 +00:00
bryner%brianryner.com 23089547be Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
darin%meer.net edc1e0d23c landing patch for bug 239716 "inout wstring methods are difficult to implement with nsEmbedString" patch by marco@gnome.org r=darin sr=dbaron 2004-04-20 00:21:34 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin%meer.net 50c5f2be4e fixes bug 239123 "exported functions in nsStringAPI.h should be frozen for 1.7 final" r=bsmedberg sr=dbaron a=asa 2004-04-11 20:52:32 +00:00
darin%meer.net 8c48d9928d bustage fix for WIN32 debug seamonkey build, see bug 238088 2004-04-02 09:16:36 +00:00
darin%meer.net d3c91aae68 fixes bug 239303 "provide basic string conversion routines for the Gecko SDK" r=bsmedberg sr=dbaron a=chofmann 2004-04-01 20:47:48 +00:00
bsmedberg%covad.net 01e335833e Bug 236101 - flatten the directory structure of the embedding SDK. Consensus from dougt/adamlock/blizzard r=cls a=mkaply 2004-03-23 20:58:21 +00:00
cls%seawood.org e887c496ee Fix mingw 3.3.1/3.3.3 bustage.
Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
Remove dllimport/dllexport declarations from all nsXPTCStubBase functions and just export the class itself.
Bug #226609 r=shaver/swalker sr=dbaron a=chofmann
2004-03-16 08:07:25 +00:00
cls%seawood.org 3977ae5a71 Backing out changes from bug 226609. MSVC is being uncharacteristically picky. 2004-03-16 00:59:29 +00:00
cls%seawood.org 8e702f20f2 Fix mingw 3.3.1/3.3.3 bustage. Follow MSVC as much as possible by requiring proper dllimport/dllexport declarations.
Bug #226609 r=shaver sr=dbaron a=chofmann
2004-03-15 23:47:04 +00:00
bryner%brianryner.com 90888b3e75 Mark NS_ENSURE_TRUE failure as unlikely. Bug 236753, r+sr=dbaron. 2004-03-09 00:46:55 +00:00
sicking%bigfoot.com 82c3229f9b Bug 234725: Make create a special mechanism for nsQueryInterface rather then having it implement nsCOMPtr_helper to save codesize in callers of do_QueryInterface.
r=bryner sr=alecf
2004-03-04 23:04:27 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com 6e68ebaa46 Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes. 2004-02-04 04:55:57 +00:00
bryner%brianryner.com 0ca4d12034 Make NS_IMETHOD set hidden symbol visibility by default on ELF platforms. This is always desirable for virtual methods implemented in XPCOM component libraries, since it's impossible to reference the symbol from outside of the library. The behavior can be overridden as needed, such as a base class in a shared library that's linked against. For more details, see the comments in nscore.h and bug 227537. r=dbaron, sr=darin. 2004-02-03 08:32:33 +00:00
bryner%brianryner.com a10a5e8383 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
bryner%brianryner.com 0c7c3a2ff3 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. 2004-01-15 06:14:18 +00:00
dbaron%dbaron.org 6931545fdc Remove include of stdio.h from nsTraceRefcnt.h. b=227074 r=dougt sr,a=brendan 2003-12-12 23:02:12 +00:00
dbaron%dbaron.org 8b9610f595 Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa 2003-11-29 18:56:10 +00:00
bsmedberg%covad.net 8dd02d1bc3 Fix build bustage, r=biesi. 2003-11-25 20:12:20 +00:00
bsmedberg%covad.net 464a43b564 Bug 226011 - Stop bogus warning in nsGREDirServiceProvider::GetFile
r=dougt a1.6b=mkaply
2003-11-25 19:42:00 +00:00
timeless%mozdev.org 28117890eb Bug 223900 GRE Bustage (AIX, BEOS)
Second attempt
2003-11-17 11:26:07 +00:00
timeless%mozdev.org 641da64ddf Bug 223900 - GRE Bustage (BEOS)
/boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp: In function `PRBool GRE_GetCurrentProcessDirectory(char *)':
 /boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: `buf' undeclared (first use this function)
 /boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: (Each undeclared identifier is reported only once
 /boot/home/tinderbox/BeOS_5.0_Depend/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.cpp:248: for each function it appears in.)
2003-11-17 10:27:12 +00:00
timeless%mozdev.org 9ac3b062e8 Bug 223900 GRE Bustage (AIX, BEOS)
"/usr/include/sys/param.h", line 91.9: 1540-0848 (S) The macro name "MAXPATHLEN" is already defined with a diff
erent definition.
 "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpcom/glue/standalone/nsGREDirServiceProvider.h", line 47.
9: 1540-0425 (I) "MAXPATHLEN" is defined on line 47 of "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/xpco
m/glue/standalone/nsGREDirServiceProvider.cpp".
 gmake[5]: *** [nsGREDirServiceProvider.o] Error 1
2003-11-17 10:25:46 +00:00
bsmedberg%covad.net a888a82d0b Bug 223900 - Clean up MFCEmbed to use the GRE properly (don't link against xpcom.dll), and make the GRE glue libs more embedder-friendly and flexible. r=adamlock/dougt sr=dougt 2003-11-17 06:13:49 +00:00
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