Commit Graph

549 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
9d1344f8ba Test backout to maybe fix mac orange. Bug 232691 2004-05-22 18:49:53 +00:00
bzbarsky%mit.edu
abcad1dc39 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
darin%meer.net
acbef07688 fixes bug 241155 "Support multiple 'components' directories" r=bsmedberg moa=dougt 2004-05-07 00:50:53 +00:00
jst%mozilla.jstenback.com
fb995ba45f Fixing bug 232742 (patch by mozilla@rosenauer.org). Make Mozilla build and run on Linux/x86-64. r+sr=darin@meer.net, jst@mozilla.jstenback.com 2004-04-20 21:38:15 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
pkw%us.ibm.com
7dc4d1e4f1 Bug 237545 - Need to support objmodel=ibm for AIX VisualAge C++ Compiler
r=cls@seawood.org, sr=shaver@mozilla.org, a=chofmann@mozilla.org
2004-03-19 16:59:56 +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
85dbf281fb 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. 2004-02-11 06:19: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
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
bzbarsky%mit.edu
b95073aa5c Allow building on Darwin/x86. Bug 213541, patch by cls and
waldmire@illinoisalumni.org (Ed Waldmire), r=bryner
2004-01-08 18:17:07 +00:00
darin%meer.net
b19293ac8e fixes bug 221763 "XPTC_InvokeByIndex crashes when cross-compiled under GCC 3.x for target arm-linux" r=timeless sr=shaver 2003-10-10 07:15:24 +00:00
mkaply%us.ibm.com
6485807366 #215581
r=mkaply, sr=blizzard (platform specific)
Changes to get GCC 3.2.2 working on OS/2 - this set is OS/2 only changes
Also remove some VACPP references
2003-09-15 22:02:35 +00:00
bryner%brianryner.com
06c7c1b2b4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:31:50 +00:00
cls%seawood.org
1b51ba858c 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. 2003-08-16 00:42:35 +00:00
cls%seawood.org
6c8b228223 Add detection for Darwin/x86.
Bug #213541 r=bryner a=asa
2003-08-15 04:00:23 +00:00
seawood%netscape.com
7a7cda041f Use the documented __declspec keyword instead of _declspec.
Bug #206934 r=dougt
2003-06-24 22:12:37 +00:00
blizzard%redhat.com
c1364687c5 Bug #40950. xptcall for linux/ia64. Patch from ulrich drepper and derived from the HPUX code. rs=shaver 2003-06-19 02:58:45 +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
timeless%mozdev.org
d906338455 Bug 203356 In method xptiInterfaceInfoManager::AddOnlyNewFilesFromFileList' warning: unused variable PRUint32 countOfFilesInWorkingSet
r=dougt
2003-05-23 21:50:06 +00:00
jdunn%netscape.com
4804786627 fixing xptcstub code for hp-ux ia-64 for kishan@cup.hp.com
# 146722
r=dbradley@netscape.com
sr=shaver@mozilla.org
a=sspitzer@netscape.com
2003-05-21 19:11:29 +00:00
dbaron%dbaron.org
4046571e9b Fix gcc3 builds on Solaris/x86. r=dbradley sr=brendan a=asa b=149461 2003-05-20 20:47:12 +00:00
ccarlen%netscape.com
35e19dac59 Bug 164396 - Change internal representation of file from FSRef to CFURL, reducing conversions between path and FSRef and fixing other bugs. 2nd checkin of this after testing on other Tinderboxen showed Ts improvement. r=sdagley/sr=sfraser 2003-04-18 13:50:38 +00:00
dbradley%netscape.com
6b9b5f339d Bug 195736 - Small change to xptcinvoke_gcc_x86_unix.cpp. r=dbradley, sr=shaver 2003-04-16 13:30:44 +00:00
dougt%netscape.com
0fa63324ca Fixes bug - Mozilla fails to run due to missing StubNNN global data. r=dbradley bug=201490. patch submitted by jim@rrsl.rsmas.miami.edu 2003-04-14 20:43:22 +00:00
alecf%netscape.com
6c75920da1 fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser 2003-04-04 15:10:37 +00:00
mkaply%us.ibm.com
aeb162c3bd #188249
r=dbradley
OS/2 GCC changes
2003-03-26 04:18:02 +00:00
ccarlen%netscape.com
afe7773d87 Backing out due to huge Ts increase 2003-03-20 08:45:50 +00:00
ccarlen%netscape.com
8d38ed69c5 Bug 164396 - [OS X]Reduce conversions between path and FSRef. Changes internal representation to not use FSRef which should fix various bugs. r=sdagley/sr=sfraser 2003-03-20 06:05:03 +00:00
sfraser%netscape.com
43f80e72c0 Fix bad error handling (PRBool vs. nsresult mixup). Bug 197739. r=dbradley, sr=jst 2003-03-17 23:32:41 +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
147a36bc71 Landing mingw/win32 gcc support for xptcall.
Bug #134113 r=dbradley
2003-03-10 20:40:06 +00:00
dougt%netscape.com
4212ce0c53 backing this out AGAIN 2003-03-06 19:59:31 +00:00
dougt%netscape.com
bdaff16cf7 follow up landing of 193442. This fixes the strcmp logic error we has when checking for the gre string r=dbradley, alecf, darin 2003-03-06 17:41:01 +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
timeless%mozdev.org
9c2c0ed8b6 Bug 190801 TestXPTCInvoke violates xpcom for outparams and should pass its char*s as const
r=dougt sr=roc+moz
2003-02-23 04:41:18 +00:00
jband%netscape.com
1fd1b856a8 NOT PART OF BUILD. Just updating xptcall porting status web page that is reflected into lxr. 2003-02-03 22:16:32 +00:00
blizzard%redhat.com
fba7fcc785 Part of bug #90010. Mozilla on linux/s390(x). r=wtc,sr=shaver,a=dbaron(ports) 2003-01-27 21:52:52 +00:00
nisheeth%netscape.com
7b38fab678 Ongoing work for bug 182366. Use machine learning techniques to sort autocomplete results. r=heikki. sr=hewitt. 2003-01-13 22:23:41 +00:00
dbradley%netscape.com
38f69c7cc8 Bug 118823 - better assembler for win32 xptcinvoke. r=dbradley sr=shaver 2003-01-09 15:57:10 +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
16e7da2837 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose
2003-01-03 08:58:59 +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
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
colin%theblakes.com
0824e190c0 OpenVMS build changes. b=180290. r=cls 2002-12-12 00:08:59 +00:00
alecf%netscape.com
de14c02d9c first part of fix for bug 180965 - if the GRE directory is the same as the normal components directory, then dont enumerate it twice.
r=dougt, sr=darin
2002-11-20 01:19:37 +00:00
pkw%us.ibm.com
6e29f0865b Fix xptcinvoke code on AIX when compiling in 64-bit mode. Specifically,
passing PRBools through xptcinvoke was broken.
Bug 178499: r=jdunn, sr=jst
2002-11-12 19:38:15 +00:00
ccarlen%netscape.com
88535bd0b1 Bug 173311 - RealPlayer One 9.0b2 plugin causes crash at startup for Mach-0 build because of symlink (alias) handling problems. r=bnesse/sr=sfraser/a=dbaron 2002-11-01 15:45:38 +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
jdunn%netscape.com
842bc488fc adding support for hpux ia64/11.20, also strip off MOZ_OPTIMIZE_FLAGS
(instead of just -O) for hpux
r=cls@seawood.org
# 136163
2002-09-23 20:31:30 +00:00
dougt%netscape.com
17578be697 Further improvement. r=drepper@redhat.com, sr=brendan@mozilla.org, b=168508 2002-09-23 19:39:26 +00:00
chak%netscape.com
196cbe728a Fix for #168255 - Change references to MRE into GRE in XPCOM/Embedding
r=dougt, sr=alecf
2002-09-13 22:18:43 +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
dougt%netscape.com
3c2d485402 Linux/SPARC w/GCC3 xptcall broken. r=dougt, sr=shaver@mozilla.org, b=144368, patch by davem@redhat.com. 2002-08-31 19:13:50 +00:00
dougt%netscape.com
7e15230028 Linux/PPC g++-3 ABI support for XPCOM. r=me, sr=shaver@mozilla.org, b=142594. 2002-08-31 19:08:57 +00:00
alecf%netscape.com
94704f6773 fix for bug 164577 - make the nsManifestLineReader include lengths from ParseLine() so that consumers can avoid calling strlen() on them
(tiny startup perf fix for reading in xpti.dat)
r=dougt, sr=darin
2002-08-27 18:32:12 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
dougt%netscape.com
23fe7fc407 MRE based clients crash when the components dir not present, r=chak, sr=alec, b=160404 2002-08-09 04:31:58 +00:00
dbradley%netscape.com
3e26086cb2 Bug 153034 - FreeBSD 5.0-current's gcc uses thunks. r=jesup, sr=jst 2002-08-07 23:50:46 +00:00
seawood%netscape.com
301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
bryner%netscape.com
1518d9267e Rework the x86 unix + gcc xptcall implementation to speed it up and allow it to work with gcc 3.1 (bug 140412). Patch by drepper@redhat.com, r=shaver, sr=blizzard. 2002-07-16 23:05:11 +00:00
seawood%netscape.com
03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
d520fab25b xptcall porting changes for Darwin gcc3: account for different vtable layout and different symbol mangling, in ifdefs. r=bryner sr=beard b=153525 2002-06-26 03:01:02 +00:00
bryner%netscape.com
b9e6c3d5cf Reorganize the Darwin xptcall code so that it works correctly with prebinding:
- Move all functions into the text section.
 - Use m4 to generate the StubNNN() functions in the .s file, so that we don't have to use an indirect call to SharedStub (which would clobber r12, where we pass the method index).
 - Use indirect calls for calling invoke_count_words and invoke_copy_to_stack from inside XPTC_InvokeByIndex.

Bug 151978, r=pavlov, sr=beard.
2002-06-22 00:09:55 +00:00
dougt%netscape.com
f93a81bfcb Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com 2002-06-14 21:33:05 +00:00
chak%netscape.com
c2bcdc4a98 Fix for #130877 - Chnages to create app specific component registries
r=dougt, sr=shaver, a=drivers
2002-06-11 20:38:01 +00:00
dougt%netscape.com
913bbb6f6c 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 2002-06-11 19:26:04 +00:00
darin%netscape.com
6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
darin%netscape.com
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
dougt%netscape.com
e7ba71f035 Fix for 139512. GPF During Installation in Regxpcom during install. patch by jband, r=dougt, sr=shaver 2002-04-23 23:55:49 +00:00
alecf%netscape.com
6f79fb13b7 fix for bug 107289 sr=jband, r=dougt, a=asa
remove libjar dependency from xpcom
step 2: make xptinfo use the new nsIXPTLoader interface
2002-04-04 22:24:50 +00:00
alecf%netscape.com
a0adda5839 fix for bug 107289 sr=jband, r=dougt, a=asa
remove libjar dependency from xpcom
step 1: add new IDL files to the tree
2002-04-04 22:10:24 +00:00
bbaetz%student.usyd.edu.au
143721c338 Bug 134639 - speedup unix x86 XPTC_InvokeByIndex
r=dbradley, sr=jband, a=rjesup
2002-04-03 23:59:13 +00:00
jdunn%netscape.com
f0d3a4e07d Speedup patch for AIX (removing count_word routine)
Patch courtesy of pkw@austin.ibm.com
r=jdunn@netscape.com
sr=jband@netscape.com
a=asa@mozilla.org
# 133573
2002-04-01 11:30:37 +00:00
jdunn%netscape.com
a2b135f7de Adding 64bit support for AIX
Patches courtesy of pkw@austin.ibm.com
r=jdunn@netscape.com
sr=jband@netscape.com
a=asa@mozilla.org
# 133622
2002-04-01 11:28:26 +00:00
dougt%netscape.com
cc40b1d4b9 130875. Fix to OpenVMS xptcall code. r=dougt@netscape.com sr=scc@mozilla.org a=asa@mozilla.org submitted by colin@theblakes.com 2002-03-21 23:37:44 +00:00
mkaply%us.ibm.com
d3e8d8b21f #70045
r=mkaply, sr=blizzard, a=asa
OS/2 only - properly handle long longs in xptstubs to fix download problem
2002-03-16 06:26:07 +00:00
mkaply%us.ibm.com
bec6f32b35 Remove unused OS/2 file 2002-03-14 23:34:36 +00:00
shaver%mozilla.org
dac4fdf779 Bug 106864: xptcall support for the ARM platform, and mild jsnum.h arm-define
tweaks. Patches from Mark Crichton <crichton@gimp.org>, Russell King
<rmk@arm.linux.org>, Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>.
r=brendan on jsnum.h, sr=shaver, a=asa for trunk and branch.
2002-03-05 06:35:50 +00:00
nisheeth%netscape.com
46db685f9a Fix for bug 84186. r=dbradley, jag. sr=jband. Added support for CStrings, UTF8String, and AStrings to XPIDL. Also added the -t cmd line flag to XPIDL and XPTLINK that allows us to generate output for a specific XPT version. The XPT version number is being upped from 1.1 to 1.2 with this checkin. 2002-02-26 01:41:42 +00:00
dbradley%netscape.com
5372835bdb Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst 2002-02-19 14:48:00 +00:00
jdunn%netscape.com
24a5f88606 adding xptc files for HP-UX 11.20 support of IPF (ia64 platform).
r=jband@netscape.com
r=cls@seawood.org
# 126293
2002-02-19 12:28:21 +00:00
bryner%netscape.com
40ccb42c7c Fixing some warnings in xpcom. Bug 118377, r=hwaara, sr=shaver. 2002-02-03 07:05:10 +00:00
jband%netscape.com
cd60239a3c Add support for chaining 'additional managers' to the global interface info manager. This includes weakref support. This system allows us to dynamically aggregate interface info managers to support systems like SOAP. Clients of the interface info manager can traverse that list of additonal managers (if any are present) or ignore it. This fixes bug 103805. r=dbradley sr=vidur. 2002-02-03 00:56:16 +00:00
jband%netscape.com
e336c78165 fix bug 121118. Don't crash if interfaceinfo is not resolvable at runtime. r=dbradley sr=brendan 2002-01-30 02:36:20 +00:00
jband%netscape.com
66c9536fcc fix bug 119387. Add a non-allocating IID version of the frequently used getIIDForParam method. r=dbradley sr=jst 2002-01-14 20:02:14 +00:00
jband%netscape.com
02b0142c2d Fix bug 114115. Reduce long lived allocations by refactoring to hold main interface info structs in arena and buil refcounted info objects on demand (though cached for reuse) r=dbradley sr=jst 2002-01-10 23:49:47 +00:00
seawood%netscape.com
f73395f7d1 Adding missing \
Bug #113511
2002-01-08 05:46:51 +00:00
jdunn%netscape.com
bc7bf0f82f replacing OS_CXXFLAGS with CXXFLAGS so that they get picked up
r=cls@seawood.org
# 118126
2002-01-07 12:33:36 +00:00
mcafee%netscape.com
0ff7ca1b24 Ignore generated files 2001-12-29 03:21:06 +00:00
timeless%mac.com
61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
dbradley%netscape.com
4774ad3734 Bug 101528 - Linux-m68k compilation and gcc-3 fixes. Patch by rz@linux-m68k.org, r=dbaron, sr=shaver 2001-12-11 14:17:33 +00:00
seawood%netscape.com
33ab7a9398 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
mkaply%us.ibm.com
8289d51212 PR_FALSE NOT false 2001-12-08 11:01:12 +00:00
mkaply%us.ibm.com
8f020057a3 PR_FALSE NOT false 2001-12-08 04:05:58 +00:00
jband%netscape.com
db7b7cd6a8 fix bug 111771. Streamline xptcall invoke for Win32 x86 only by getting rid of the call to invoke_count_works and just making the max possible required space on the stack for the params and then cleaningup afer the call. sr=shaver r=dbradley 2001-12-08 00:49:11 +00:00