Commit Graph

233 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
7476a87828 Revert e4c69005dea6 to see if OS X Bm goes green.
--HG--
extra : rebase_source : 7a98d5a9472af1c9085c1fbb9ab210649799a9b9
2011-09-07 18:20:55 -04:00
Rafael Ávila de Espíndola
1878bb4b35 Bug 684659 - Fix inline asm so that we can drop a use of -fno-omit-frame-pointer. 2011-09-07 15:33:48 -04:00
Matheus Kerschbaum
7524e143b7 Bug 680792 - Remove support for Irix from our build system. r=ted 2011-08-26 00:34:45 +01:00
Ed Morley
edfde6ad02 Bug 677787 - Remove unique_pointer from typelib code; r=khuey 2011-08-20 13:44:37 +02:00
Landry Breuil
8bd5d4a730 Bug 650749: Fix xptcall for OpenBSD on ppc. r=bsmedberg 2011-08-16 07:27:16 -04:00
Joshua Cranmer
8c61a13356 Bug 676857 - Make it an error if interfaces have too many methods.
The error is made at compile-time, and also causes an error if trying to make a
stub like this. Finally, it also refuses to load such an interface.

These restrictions only apply to script-implementable interfaces.
2011-08-05 11:34:13 -07:00
Michael Wu
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Ed Morley
941024e8ab Bug 665541 - Remove unused instances of variable iface_info from xptcstubs_*.cpp; r=bsmedberg 2011-07-26 10:04:18 -04:00
Justin Lebar
169b00ccad Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
Jonas Sicking
caef7c47a8 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Kyle Huey
a126d48900 Bug 664913: Add about:memory reporter for xptiWorkingSet. r=njn 2011-06-17 09:22:15 -07:00
Ed Morley
aa86759d37 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
L. David Baron ext:(%2C%20Ehsan%20Akhgari%20%3Cehsan%40mozilla.com%3E)
6d108b8b8b Protect the xptiWorkingSet's tables with a lock. (Bug 627985, bug 614480); r=dbaron,bsmedberg 2011-04-10 17:12:52 -04:00
Ehsan Akhgari
73dd5db57d Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Ehsan Akhgari
f4575bfe5e Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
L. David Baron
4c809d9e63 Fix bustage from bug 594666. 2011-03-29 09:48:04 -07:00
L. David Baron
b2e59587e8 Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
Matheus Kerschbaum
355ae99518 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Makoto Kato
d3c767a63e Bug 521405 - Remove alpha and mips Windows NT code from mozilla-central. r=ted 2011-03-07 15:54:21 +09:00
Mike Hommey
de12d28491 Bug 584474 part 1 - Use a special value of EXPORT_LIBRARY to copy libraries in other directories. r=khuey 2011-02-25 15:02:04 +01:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Makoto Kato
7518d2a843 Bug 627606 - Remove PGO hack on Win64. r=ted a=bsmedberg 2011-02-09 15:51:25 +09:00
Rafael Ávila de Espíndola
304be53d2f Bug 623129 - x86_64 NS_InvokeByIndex_P asm decl to reserve registers is not guaranteed to work as advertised; r=glandium a=shaver 2011-01-26 15:27:34 -05:00
Jacek Caban
d57448cfec Bug 627335 - Port patch from bug 567707 to GCC assembly r=timeless a=NPOTB 2011-01-30 21:20:23 +00:00
Siarhei Siamashka
a60b2899ff Bug 619481 - after binutils upgrade, 'xptcinvoke_arm.cpp' fails to compile for ARM thumb2 with hardfp ABI r=Jacob.Bramley a=approval2.0 2011-01-20 08:27:51 +02:00
Jacek Caban
8552547c1d Bug 615212 - GCC's win64 ABI change broke compilation on mingw-w64 (xptcall part) r=timeless a=NPOTB 2010-12-20 15:31:14 +00:00
Zhang Le
0d538d7036 Bug 482759 - xulrunner mips n32 ABI patch. r=timeless 2010-02-27 18:46:00 +01:00
Walter Meinl
48d1e8997b Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Siarhei Siamashka
3fe8a5bf00 Bug 601914 - XPCOM does not work with ARM hardfp ABI. r=Jacob.Bramley a=blocking-fennec 2010-10-27 08:15:08 +03:00
Doug Turner
69d9465cd2 Backed out changeset dd50da0646a4 2010-10-27 13:36:15 -07:00
Siarhei Siamashka
12a18918a8 Bug 601914 - XPCOM does not work with ARM hardfp ABI. r=Jacob.Bramley a=blocking-fennec
--HG--
extra : rebase_source : a9d44cf330e338abf041c6755dbdeba54cfd9b6e
2010-10-27 08:15:08 +03:00
Kyle Huey
9b468f97d9 Bug 604940: Add various things to GARBAGE. r=Mitch a=NPOTB 2010-10-19 17:19:37 -04:00
Mike Hommey
18616ac1a0 Bug 603899 - Revert broken (and unrelated) hunk from bug 522770. r=bsmedberg,a=bsmedberg 2010-10-19 11:12:27 +02:00
Justin Lebar
3e7e1949d1 Bug 587853 - Use PR_ATOMIC_{INCREMENT,DECREMENT} macros for threadsafe addref / release. r+a2.0=bsmedberg 2010-08-17 10:25:41 -07:00
Boris Zbarsky
6944d7713c Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted, a=beltzner 2010-08-27 14:19:45 -07:00
Bobby Holley
83d399742e Backed out changeset a6c18a123fbb due to everything-on-mac-bustage. a=backout 2010-08-27 09:00:54 -07:00
Boris Zbarsky
f5f1e156fe Bug 590179. Use -fomit-frame-pointer when building opt builds on mac. r=ted a=beltzner 2010-08-26 21:33:00 -04:00
Kyle Huey
932ea79b49 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Benjamin Smedberg
39676523ac Bug 573268 - The XPTI rewrite caused an (intentional) leak at shutdown; free this data only in trace-malloc builds so that leakstats are still useful. r=dbaron 2010-07-14 13:09:42 -04:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Benjamin Smedberg
0b4de441c4 Bug 568691 - Fix MOZ_OMNIJAR registration, r=mwu
--HG--
rename : modules/libjar/nsXPTZipLoader.cpp => modules/libjar/nsManifestZIPLoader.cpp
rename : modules/libjar/nsXPTZipLoader.h => modules/libjar/nsManifestZIPLoader.h
rename : xpcom/reflect/xptinfo/public/nsIXPTLoader.idl => xpcom/components/nsIManifestLoader.idl
2010-07-02 09:53:19 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
ec3aefeff2 Fix review comments from Mossop, bug 570488 comment 5. 2010-06-11 13:35:25 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Benjamin Smedberg
c729bcd681 Bug 570488 part B - fix and test loading XPT files from JARs, needed for omnijar, r=mwu 2010-06-10 12:51:43 -04:00
Benjamin Smedberg
c020d3bdef Bug 570488 - Remove xpti.dat caching which harms us in runtime and code complexity 2010-06-10 12:51:29 -04:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Ben Turner
8c6da83b49 Bug 574872 - 'Allow XPConnect to pass the JSContext through XPIDL when requested'. r=jst 2010-06-28 15:22:39 -07:00
Ginn Chen
c919b6c6e2 Bug 574650 Fix xpcom/reflect/xptcall for gcc on Solaris r=jst 2010-06-27 00:56:47 +08:00
Jason Orendorff
84db361ea4 Bug 560643 - Part 3, add support for jsval XPIDL type. r=jst, sr=jst. 2010-06-18 15:29:21 -05:00
Michael Wu
985a8e30b4 Bug 552121 - Find xpts inside the omnijar [6/7], r=bsmedberg
--HG--
extra : rebase_source : f5a3c56972247e76dd9700665df915a10d994356
2010-06-14 16:13:14 -07:00
Benjamin Smedberg
3fcaf094f4 Bug 570488 - Fix loading of XPTs nested in JARs [2/2] r=mwu
--HG--
extra : rebase_source : b97a591c0260daed1f2ef2eba69e60ff82acd18f
2010-06-14 16:10:04 -07:00
Benjamin Smedberg
755c2ae337 Bug 570488 - Stop reading/writing xpti.dat and incrementally loading XPT files [1/2] r=Mossop
--HG--
extra : rebase_source : 9f28729c1032b516e8b950d29d80402e87759fda
2010-06-14 16:05:48 -07:00
Michael Wu
f6b9e6e472 Bug 561464 - Add support for XPCOM on Android, patch mostly by vlad, r=bsmedberg 2010-06-01 12:02:42 -07:00
Yong
1bcc5e908c Bug 552627. Align stack correctly in xptcall so we can use SSE2 without crashing. r=timeless 2010-06-01 11:55:49 +12:00
Taras Glek
fdd896ff6f Bug 569137 - Avoid pgo bug in gcc4.5 r=ted 2010-05-31 10:13:30 -07:00
Makoto Kato
9de2c7762b Bug 567707 - Crash in [@ nsThread::ProcessNextEvent] on x64 build with VC10 + --enable-optimize. r=timeless 2010-05-28 16:28:11 +09:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Mike Hommey
03a622ce80 Bug 434190 - Avoid hppa frame size issue in xptcstubs assembly with tail call optimization by disabling optimization [r=benjamin] 2010-05-13 09:04:46 +02:00
Mike Hommey
e25acdbb87 Bug 560769 - Fix arm xptinvoke on debug builds [r=benjamin] 2010-04-22 15:59:53 +02:00
Mike Hommey
51ff581ac6 Bug 532198 - Reimplement xptcinvoke for arm/linux in C [r=Jacob.Bramley, r=vladimir, sr=benjamin]
--HG--
extra : rebase_source : 683a17a26c486d6f6bf376ff93fb8a0567a8ab47
2010-04-19 22:55:45 +02:00
Mike Hommey
e38d0a6088 Bug 555901 - Support for GNU/Hurd [r=benjamin]
--HG--
extra : rebase_source : 2a455d93f9daaf7760285ea10046cc978ac9f9ad
2010-04-19 10:39:58 +02:00
Mike Hommey
0489be1020 Bug 486681 - Support more HPPA CHOSTs on HPPA/Linux [r=timeless]
--HG--
extra : rebase_source : a16f362e62a05ba7eecfc985155b6fc61853e174
2010-04-19 10:08:35 +02:00
L. David Baron
aebe5d267d Fix misspelling of implement. 2010-04-08 19:14:43 -07:00
Ginn Chen
42dacb38cb Bug 550154: PGO build issue on Solaris SPARC r=ted.mielczarek 2010-03-08 17:35:41 +08:00
Serge Gautherie
5df52e8422 Bug 521673 - Remove remnant OJI references; (Cv2) Delete /xpcom/reflect/xptcall/tests/eVC4/*.
rs=dougt.
2010-03-07 13:08:19 +01:00
Mike Hommey
ca80bf02ca Bug 547656: xptcall broken on mips o32 big endian r=bsmedberg 2010-03-06 13:00:54 -05:00
Ginn Chen
ff798e8598 Bug 537071 Add x86_64 Solaris support for xpcom/reflect/xptcall r=jst 2010-03-02 13:51:40 +08:00
Mike Hommey
b229641b26 Bug 544835 - Remove leftovers from bug 476903. r=bsmedberg 2010-02-20 19:11:57 +01:00
Shailen
d10dfc97c5 Bug 516667 - Adding bookmarks fails on AIX. r=gal, sr=bsmedberg 2010-02-04 15:01:19 +01:00
Phil Ringnalda
b612d41a2e Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Marco Perez
88577a34dc Bug 536877 - Mozilla builds on FreeBSD (x86-64 only) broken. r=bsmedberg 2010-01-21 13:18:46 +01:00
Brad Lassey
fdb6249553 bug 537288 - xptcinvoke for windows ce arm is incompatible with ARMv7 and newer r=vlad, Jacob.Bramley@arm.com
--HG--
extra : rebase_source : fe9a32d7837668d1163ea755248e3e672dc538cd
2010-01-19 11:42:40 -05:00
Brad Lassey
a79fd24e92 bug 535894 - Crash under asmXPTC_InvokeByIndex r=crowder 2009-12-29 20:28:46 -05:00
Daniel Holbert
9598051453 Bug 530639: Fix build warnings in TestXPTCInvoke.cpp. r=bsmedberg 2009-12-10 09:26:27 -08:00
Brad Lassey
42694ea646 backing out bug 530087 due to talos segfault on maemo 2009-11-25 01:45:30 -05:00
Brad Lassey
d849481f9e bug 530087 - improve xptcinvoke for linux on arm r=vlad a192=vlad 2009-11-24 21:12:28 -05:00
Brad Lassey
b77fcda89b bug 530393 - improve xptcinvoke for Windows Mobile and Windows CE on ARM r=vlad
--HG--
rename : xpcom/reflect/xptcall/src/md/win32/xptc_arm_ceppc.asm => xpcom/reflect/xptcall/src/md/win32/xptcstubs_asm_ce.asm
2009-11-22 13:43:49 -05:00
Ginn Chen
e90102a328 Bug 500602 Compilation of xptcinvoke_asm_sparcv9_solaris_SUNW.s failed r=jst 2009-11-10 18:24:29 +08:00
Neil Rashbrook
cab2b1bb61 Bug 524256 Allow the compiler to generate the prologue/epilogue to NS_InvokeByIndex so that it can tell the debugger that it's not omitting frame pointers r=bsmedberg 2009-11-04 21:36:04 +00:00
Benjamin Smedberg
4535f32e7d Bug 524256 - Crash stacks not unwound correctly past NS_InvokeByIndex_P on Windows: use a #pragma to inform MSVC that the function has a frame pointer and it should not emit a specialized FPO stack-walking program, r=ted
--HG--
extra : rebase_source : af980dc9c926057869f1b192206da5c06080ceba
2009-10-27 09:38:03 -04:00
Johnny Stenback
3a9c44dbda Part 1 of fix for bug 459452 (Add support for optional arg count for IDL methods): add support for [optional_argc] to xpidl and XPConnect. r=sicking.
--HG--
extra : rebase_source : 3057c5af37ccb1bbdb022a0a3070122df3019d13
2009-08-10 16:41:07 +02:00
Sebastian Andrzej Siewior
b8e8857391 Bug 492299 - add support for soft-float for Linux/PPC, r=bsmedberg
current implemention assumes hard float what means dedicated floating
point registers are used for floating point numbers. This does not work
on soft float toolchains where dedicated floating point registers and
opcodes are not used and/or available. On such toolchains the gcc
compiler provides a built-in define __NO_FPRS__ to signalize such a
behavior.
2009-10-17 21:05:36 -07:00
Sebastian A. Siewior
a0ad88b228 Bug 520367 - xpcom/PowerPC Linux: fix wrong argument in padding in a rare case, r=bsmedberg 2009-10-17 18:19:29 -07:00
wagerlabs
3b6668fa0f Fix stubs by placing them in the text segment. x86_64 Mac OS X fix. b=518435 r=bsmedberg 2009-09-25 00:04:50 -04:00
Mook
23111bdd6d Bug 510653. Fix mingw-w64 xptcstub SharedStub assembly (incorrectly copied from msvc). r=timeless
--HG--
extra : rebase_source : 925a1318a3eae47276518be53f4af952431715cf
2009-09-02 14:46:47 +12:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Mook
c8a38c8385 Bug 502188. Implement xptcall for mingw-Windows64. r=timeless
--HG--
extra : rebase_source : 2c03e2ae8d491059b9c3759e7e5082a20c1b715a
2009-07-30 15:41:03 +12:00
Michael Kohler
0a56a892c8 Bug 106386 - Correct misspellings in source code (old); Part 3 v2; r=timeless 2009-07-27 10:47:05 +02:00