Commit Graph

582 Commits

Author SHA1 Message Date
dougt%meer.net
535f355882 Aaron Reed and I are unsure of this patch, but it does fix a Windows CE bustage. From my reading, arm pushing 4, not 3. Aaron introduce a patch which keyed on 3 instead of four. 2005-11-22 02:39:40 +00:00
ginn.chen%sun.com
54c8b5d7fc Bug 295306 Firefox is unusable in solaris x86 using Sun SOS10 compiler.
patch maker=brian.lu@sun.com r+sr=darin
2005-11-18 03:37:58 +00:00
bsmedberg%covad.net
78f6d0683d 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 2005-11-11 14:36:26 +00:00
bsmedberg%covad.net
caee95c028 Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst 2005-11-10 16:19:44 +00:00
bsmedberg%covad.net
a7253270ad 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. 2005-11-08 18:17:49 +00:00
joshmoz%gmail.com
3404199340 fix stack alignment for Intel Mac builds. took dbaron's suggestion for adding ""addl $0x4, %%esp\n\t" \" from comment #11, it seems to work fine. b=312929 r=dougt sr=dbaron 2005-10-22 01:00:46 +00:00
bsmedberg%covad.net
90820dd572 Bug 310355 - ARM build fails on xptcinvoke_arm: extra ';' r=dougt 2005-10-13 21:31:33 +00:00
dougt%meer.net
d5408bd78a Bug 307418. Fails to build on arm with gcc4. r/sr=shaver, a=asa 2005-09-28 05:49:51 +00:00
joshmoz%gmail.com
54646c2f74 xptcall stack alignment fix for x86 Mac OS X. Symptom is usually a crash due to an invalid (truncated SSE3) instruction on the stack with xptcall stuff earlier on. Patch by dbaron, built on a patch by Apple Computer, Inc.. Thanks dbaron! Only affects x86 Mac OS X. b=297326 r=josh sr=dbaron a=asa 2005-07-26 00:59:40 +00:00
bsmedberg%covad.net
db1091a127 Bug 299051 - Link failure on Alpha Linux: pc-relative relocation against dynamic symbol $invoke_copy_to_stack..ng - patch by Falk Hueffner <falk@debian.org> r+a=shaver 2005-06-30 20:06:20 +00:00
timeless%mozdev.org
5148ea3d5b Bug 291378 crashes on XPCOM calls with more than 7 arguments
regenerated by mozilla@rosenauer.org r=shaver a=shaver
2005-06-16 16:31:53 +00:00
leon.sha%sun.com
3690bcd936 Bugzilla Bug 295306.
Firefox is unusable in solaris x86 using Sun SOS10 compiler.
Patch maker, leon.sha@sun.com.
darin: review+
darin: superreview+
asa: approval1.8b3+
2005-06-15 08:32:23 +00:00
bzbarsky%mit.edu
d3c13090e1 Fix crashes on ia64 Linux when a method with more than 7 arguments is called
through XPCOM.  Bug 291378, patch by David Mosberger <davidm@hpl.hp.com>,
r+sr+a=shaver
2005-05-24 15:30:54 +00:00
dougt%meer.net
0fe2e00d38 Windows CE specific XPTCALL changes. This should better support SharedStub
Patch by John Wolf.

windows ce only.  not part of normal build.
2005-04-29 13:43:29 +00:00
mozilla.mano%sent.com
f4e7c3a5f7 Bug 289724 - [Mac] Missing progress bar animation in download window. patch from Mark Mentovai <mark@moxienet.com>, r=bryner sr+a=brendan 2005-04-20 01:01:13 +00:00
caillon%redhat.com
bae2d8a0ac Don't use an executable stack. Bug 283709 r/sr=shaver/brendan a=dbaron 2005-04-06 19:04:07 +00:00
bsmedberg%covad.net
beadf6cd74 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. 2005-04-01 18:22:57 +00:00
dougt%meer.net
82e39ad92c Initial Implementation of WindowCE ARM XPTCALL code. patch by John Wolfe wolfe@lobo.us. 2005-03-30 06:25:12 +00:00
dougt%meer.net
78a79fee85 xptcall windows ce tests for arm. submitted by john wolfe <wolfe@lobo.us> 2005-03-30 06:16:30 +00:00
m_kato%ga2.so-net.ne.jp
17a70ee3e7 Previous check in had invalied CRLF... 2005-03-22 13:42:45 +00:00
m_kato%ga2.so-net.ne.jp
e4f7972248 bug 225978, Support XPTCALL for Windows XP 64 bits for AMD64 (x86-64), r/sr=shaver 2005-03-22 13:03:24 +00:00
dougt%meer.net
3be5c7498b using TARGET_CPU instead of CPU to determine if we are cross compiling to ARM. Of course this is only for WindowsCE. This fixes a build bustage. 2005-03-08 05:08:32 +00:00
dougt%meer.net
d20ef1d86d Staging WinCE Reflection code. r=dougt 2005-03-07 18:18:56 +00:00
cbiesinger%web.de
0093be2f2e Bug 281834 define XPTC_EXPORT correctly for non-windows platforms
r=bryner rs=darin a=asa
2005-02-16 14:26:12 +00:00
caillon%redhat.com
9a7848690a Fix for bug 272369
`firefox -register` results in SIGSEGV on s390(x)

Patch by Dr. Ulrich Weigand <uweigand@de.ibm.com> r=shaver sr=dougt

The patch reverts the problematic parts of the earlier fix attempt, and uses compiler options to make GCC 3.4 behave as the assembly stubs expect:
-fno-strict-aliasing
  (several of the routines violate C aliasing rules)
-fno-inline
  (so that the InvokeByIndex function allocates a stack frame)
-fomit-frame-pointer
  (so that %r11 is available for allocation, otherwise we might not be able to satisfy 6 inputs + 6 clobbers in GPRs)
-mbackchain
  (so that xptcstubs has the backchain available)
2005-01-13 23:13:49 +00:00
gerv%gerv.net
709d4de4d5 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-01-01 16:48:30 +00:00
ginn.chen%sun.com
e811e759e0 Bug 268524 mozilla is unusable in solaris x86 using Sun SOS10 compiler.
patch maker=leon.sha@sun.com r=darin sr=henry.jia
2004-12-10 02:52:49 +00:00
gerv%gerv.net
670fb87360 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
kjh-5727%comcast.net
0c4917ad12 Bug 264326 - xpcom fixes for s390(x). Patch by Wolfgang Rosenauer <mozilla@rosenauer.org>, r/sr=shaver. 2004-10-28 18:13:12 +00:00
cls%seawood.org
caaadd840e Remove .type & .size directives when building on win32. Fixes mingw binutils 2.15.91 bustage.
Bug #262422 r+sr=dmose
2004-10-17 04:29:52 +00:00
shaver%mozilla.org
1b9fe6c972 bug 78414: fix m68k xptcall codefor -fomit-frame-pointer; patch from Richard Zidlicky <rz@linux-m68k.org> 2004-10-08 22:10:08 +00:00
dbaron%dbaron.org
eaaee58283 Make Linux/alpha port work on gcc 3.x. b=86446 Patch from Glen Nakamura <glen@imodulo.com>. r=dbaron sr=shaver 2004-09-06 16:14:30 +00:00
bzbarsky%mit.edu
62a5127738 Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
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