Commit Graph

2234 Commits

Author SHA1 Message Date
Ehsan Akhgari
b542efd4e6 Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg 2011-09-16 16:22:44 -04:00
Bobby Holley
53f973b84d Bug 683802 - Coalesce type-specific cleanup indicators. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
c6981dfa25 Bug 683802 - Add jsval to the XPTCMiniVariant union for type safety. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
8a2ae11493 Bug 683802 - Use an explicit indicator for direct vs indirect calling semantics. r=mrbkap 2011-09-25 15:38:01 +01:00
Bobby Holley
6aab3db9fd Bug 683802 - Define and restrict the semantics of PTR_IS_DATA. r=mrbkap 2011-09-25 15:38:01 +01:00
Mook
7c296001b9 Bug 652571 - xptstubs on unix x86_64 does not pass float correctly. r=espindola 2011-09-25 15:37:58 +01:00
Justin Lebar
a55182fa93 Bug 687722 - Make swapping two nsAutoTArrays preserve their auto-ness when possible. r=roc 2011-09-22 11:22:20 -04:00
Brian R. Bondy
b08f3661e6 Bug 682571 - nsLocalFile::isWritable behaves wrongly on Windows. r=bsmedberg 2011-09-22 09:21:03 -04:00
Brian R. Bondy
e1befc2bea Bug 300692 - Win32 nsLocalFile::Create returns not found if no access. r=bsmedberg 2011-09-22 09:21:03 -04:00
Luke Wagner
cc2ce861d1 Bug 684526 - Unify jsval and js::Value (r=jorendorff)
--HG--
extra : rebase_source : 5655602775d575bb5adba0a8fc4c20621f393a67
2011-09-19 09:34:49 -07:00
Brian R. Bondy
b4b86ddb0b Bug 429484 - Win32 nsILocalFile.exists() returns false when files exist and inaccessible. r=bsmedberg 2011-09-21 09:14:22 -04:00
Justin Lebar
75d358b0cd Bug 685438 - Avoid wasted space in nsTArray_base due to jemalloc rounding up. r=roc
--HG--
extra : rebase_source : a7248bd865ffdc8932ee6dcc796cd4e48a5498ab
2011-09-21 00:46:56 -04:00
Atul Aggarwal
89e9702d5f Bug 685905 - Adding ReplaceElementAt to nsTArray. r=sicking 2011-09-20 21:04:35 +05:30
Justin Lebar
83e3821db7 Bug 689433 - Align nsAutoTArray<E> to E's natural alignment. r=roc
--HG--
extra : rebase_source : f7062f251f6905a58145ed6d94680f076dabbef7
2011-10-05 09:11:17 -04:00
Patrick McManus
c598a54eb0 bug 686312 - websockets should not reject non character utf-8 sequence as invalid r=dbaron 2011-09-20 18:13:43 -04:00
Ed Morley
dfbe5b23ad Bug 687342 - Move arm.cpp to ARM ifeq block in xpcom/glue/objs.mk to stop MSVC arm.obj LNK4221 warning; r=khuey 2011-09-20 02:13:08 +01:00
Rafael Ávila de Espíndola
5771e9f63e Bug 684659 - Remove xptcinvoke_unixish_x86.cpp. r=bsmedberg.
This patch:
* Modifies the linux version so that both calls are aligned and can be used by the OS X assembler.
* Removes KEEP_STACK_16_BYTE_ALIGNED, since it is cheap to do it always and the linux implementation was already doing.
* Define MOZ_NEED_LEADING_UNDERSCOR on OS X
* Move users of xptcinvoke_unixish_x86.cpp to xptcinvoke_gcc_x86_unix.cpp (and the stubs file too)

--HG--
extra : rebase_source : 11eac139b33ddfe60af96690e0c54aec77db82c9
2011-09-16 14:34:09 -07:00
Ehsan Akhgari
97e0f80e7f Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-16 09:31:43 -04:00
Kyle Huey
75aa6eed7a Merge m-c to b-s. 2011-09-15 16:44:46 -07:00
Ehsan Akhgari
733e4ea2dd Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-15 09:41:15 -04:00
Neil Rashbrook
956f798ed0 Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-15 08:40:17 +01:00
Justin Lebar
b324c30126 Bug 686720 - Expose PSS from smaps in about:memory. r=khuey 2011-09-15 10:53:04 -07:00
Justin Lebar
5b35cccb7d Bug 686172 - In about:memory, make the smaps breakdown trees appear only where they're available (on Linux). r=khuey 2011-09-14 17:37:45 -07:00
Justin Lebar
087ea9e1a0 Bug 686597 - Add a copy constructor to nsAutoTArray and friends. r=bz 2011-09-15 22:16:14 -07:00
Neil Rashbrook
843c1fef62 Backout of bug 611503 because Android has some weird string code 2011-09-14 21:14:57 +01:00
Neil Rashbrook
430bc94bad Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-14 20:21:20 +01:00
Kyle Huey
0bf2dfd277 Merge m-c to b-s. 2011-09-14 08:45:54 -07:00
Rafael Ávila de Espíndola
b651fc9001 Bug 684659 - Drop xptc_platforms_unixish_x86.h. r=bsmedberg.
Drop MOZ_PRESERVE_PIC which is not used since 2002,
CFRONT_STYLE_THIS_ADJUST which was used only for really old systems
like the first Freebsd 5.

With those out, the only thing left in xptc_platforms_unixish_x86.h is
to set KEEP_STACK_16_BYTE_ALIGNED for QNX, since that is not supported
and KEEP_STACK_16_BYTE_ALIGNED can be set from Makefile.in if needed,
drop xptc_platforms_unixish_x86.h completely.
2011-09-14 11:38:07 -07:00
Brian R. Bondy
baf8fd8929 Bug 685847 - Crash in [@ ILFindLastID ]. r=jimm 2011-09-12 07:25:41 -07:00
Kyle Huey
775e4bf54d Merge m-c to b-s. 2011-09-11 05:32:38 -04:00
Justin Wood
f90fd5539e m-c -> m-i merge 2011-09-09 22:04:09 -04:00
Brian R. Bondy
b194fc5ac6 Bug 685847 - Crash in nsLocalFile::RevealUsingShell() on release builds. r=jimm 2011-09-09 15:01:38 -04:00
Rafael Ávila de Espíndola
986bdb4cd5 Bug 684659 - Drop references to really old gcc versions. 2011-09-09 19:38:28 -04:00
Mike Hommey
8c1cd94d71 Bug 664090 - Store offset inside segment instead of pointer for nsStorageInputStream. r=bsmedberg 2011-09-08 09:12:42 +02:00
Kyle Huey
174e9ff0a0 Bug 677922: Package pyxpidl in the SDK and stop building the binary xpidl. r=bsmedberg 2011-09-07 15:25:40 -04:00
Kyle Huey
614dad33a3 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Matt Brubeck
ef44922f52 Back out 6cd3556fc807 (bug 674290) because of unittest leaks 2011-09-06 20:42:09 -07:00
Josh Matthews
c75ab8fde2 Bug 684591 - Fix uninformative xpidl.py warning message to print relevant interface name. r=khuey 2011-09-04 12:07:17 -04:00
Mike Hommey
d0a3d1bc2f Backout the backout of e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) 2011-09-03 08:19:06 +02:00
Mike Hommey
42fa5b0cd7 Merge m-c to b-s 2011-09-03 08:17:58 +02:00
Ed Morley
ed260633c7 Backout e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) for Win opt orange and purple galore, on a CLOSED TREE 2011-09-03 04:35:21 +01:00
Matheus Kerschbaum
be59d7a9a8 Bug 689920 part 2: Remove remaining Tru64/Alpha support. r=ted 2011-09-03 01:55:30 +01:00
Kyle Huey
4e7e46234c Bug 683096: Make arrays of nsQIResults work. r=ted 2011-09-02 17:36:48 -04:00
Kyle Huey
2fe1065da6 Merge b-s to m-c. 2011-09-02 17:35:11 -04:00
Mike Hommey
1fbab12774 Bug 680440 - Clean up jemalloc linkage. r=khuey 2011-09-01 14:11:56 +02:00
Kyle Huey
7b7b45a351 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Kyle Huey
5e4af8d5d1 Bug 682852: Remove ancient test gunk. r=me 2011-08-30 13:39:19 -04:00
Rafael Ávila de Espíndola
4387485520 Bug 682066 - Drop NS_DEFCALL. r=benjamin.
Having NS_DEFCALL around causes problems for clang since it uses
the regpart attribute when deciding template instantiations. In
particular, it would not use the generic method specialization of
nsRunnableMethodTraits.
2011-08-30 14:22:00 -04:00
Jacek Caban
6f8d9b5235 Bug 680868 - pldhash.cpp fails to compile on mingw-w64 r=benjamin 2011-09-09 15:07:22 +02:00
Justin Lebar
5315b70bee Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn 2011-08-05 18:22:11 -04:00
Atul Aggarwal
01f1da4a4a Bug 661962: Remove mostly-unused variable 'rv' from nsINIParser::Init (moving it inside the #ifdef block where it's used). r=bsmedberg 2011-09-01 03:06:26 +05:30
Justin Lebar
d2b57dbde1 Bug 684592 - In about:memory, update descriptions of heap-dirty and heap-committed, and only report heap-committed on Windows. rs=njn
--HG--
extra : rebase_source : 66b94efceb15920edcb6a27380450e52b25c5847
2011-09-06 11:57:58 -04:00
Ed Morley
6a60e22cca Merge mozilla-central and mozilla-inbound 2011-09-04 20:56:01 +01:00
Rafael Ávila de Espíndola
a8c970acc2 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00
Kyle Huey
2531127d09 Bug 683096: Make arrays of nsQIResults work. r=ted 2011-09-03 09:53:48 -04:00
Matheus Kerschbaum
de6608fa4d Bug 680793 - Remove support for Irix. r=ted 2011-09-02 15:41:45 +01:00
Ehsan Akhgari
d81b657456 Keep changeset 11247af82311 backed out on the reverted tree 2011-09-02 09:05:37 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Rafael Ávila de Espíndola
e281bb7586 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Rafael Ávila de Espíndola
2f0d1d2073 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.

--HG--
extra : rebase_source : 58a64b71a23812910072c81bbf84b3721b961abb
2011-09-01 12:19:06 -04:00
Shawn Gong
7369d04bb8 Fixed bug 672641, implemented CharTokenizer which takes arbitrary char as delimiter. r=sicking 2011-07-21 11:13:06 -07:00
Ed Morley
19a1226d22 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Atul Aggarwal
e713d1173c Bug 581468 - Fix warning: signed and unsigned type in conditional expression in XPT_DoString; r=bsmedberg 2011-08-31 23:45:31 +01:00
Atul Aggarwal
7eb2af6700 Bug 581467 - Fix warning: comparison between signed and unsigned integer expressions in XPT_ParseVersionString; r=bsmedberg 2011-08-31 23:45:31 +01:00
Justin Lebar
5c092fdcf2 Bug 685870 - Fix about:memory's smaps breakdown on Android. r=khuey 2011-09-10 11:20:48 -04:00
Andrew McCreight
49c706d2b5 Bug 649532 - make cycle collector logging output complete CC graph. r=peterv 2011-06-22 10:41:17 -07:00
Kyle Huey
2eb5f2b441 Merge m-c to b-s. 2011-08-28 06:00:17 -04:00
Kyle Huey
dc4e0d8235 Bug 681714: Ensure that we've unrolled the entire typedef chain when building typelibs. r=ted 2011-08-28 05:56:24 -04:00
Matt Woodrow
f9d4b0bc4e Bug 505115 - Part 15 - Add 4D Vectors, Quaternions and gfx3DMatrix functions. r=derf 2011-08-27 12:06:03 +12:00
Matheus Kerschbaum
3bcb2143b6 Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted 2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
b9a52be4e0 Bug 680625 part 0: Remove checks and workarounds for 20th century compilers. r=ted 2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
7524e143b7 Bug 680792 - Remove support for Irix from our build system. r=ted 2011-08-26 00:34:45 +01:00
Joshua Cranmer
3f03c5e4c8 Bug 681740 - xpidl.py does not resolve references to consts in superinterfaces. r=bsmedberg
--HG--
extra : rebase_source : 8b860e76fa0634b408dc15c6e1a3c587ae080cd7
2011-08-25 10:24:58 -07:00
Marco Bonardo
807199a534 Bug 681660 - [win] GetDiskSpaceAvailable doesn't work on files.
r=jimm
2011-08-26 13:29:45 +02:00
Randell Jesup
715f7b87ae Bug 682031: Add another old nsIURI IID to the hack in nsBinaryStream to fix sessionrestore r=dholbert r=bz 2011-08-26 02:24:43 -04:00
Ted Mielczarek
012fe199a5 bug 677671 - Add unit tests for xpidl.py. r=khuey 2011-08-17 13:26:26 -04:00
Kyle Huey
0e655f0dc8 Merge m-c to b-s. 2011-08-24 08:34:27 -04:00
Michael Wu
ab15475a72 Bug 676192 - Remove kHashEnumerateRemove and make nsHashtableEnumFunc return PRBool, r=bsmedberg 2011-08-22 19:15:54 -07:00
Julian Reschke
5165a2154a Bug 665706 - Remove historic special handling for semicolons in URIs. r=rjesup 2011-08-22 16:51:52 +02:00
Geoff Brown
1264a5446f Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
Ed Morley
edfde6ad02 Bug 677787 - Remove unique_pointer from typelib code; r=khuey 2011-08-20 13:44:37 +02:00
Phil Ringnalda
99f1c05821 Back out 902a7c3eb320 for failing to build on Windows, and 196df669baba for failing to build without it 2011-08-18 20:04:10 -07:00
Daniel Holbert
7ca73796ab Bug 679832 followup: add an #include <stdint.h> to fix bustage on Linux Opt QT build. 2011-08-18 16:32:19 -07:00
Daniel Holbert
1c4b998234 Bug 679832: Explicitly cast to a pointer-sized integer, when converting between 32-bit ints and void* pointers in nsCheapSets.h. r=bsmedberg 2011-08-18 16:11:55 -07:00
Matheus Kerschbaum
887ff1b97a Bug 678155 - Remove NS_COM. r=bsmedberg 2011-08-18 15:46:39 +02:00
Marco Bonardo
98be1b229a Merge mozilla-central and mozilla-inbound 2011-08-18 10:38:39 +02:00
Makoto Kato
172563125b Bug 679473 - TestNativeXMLHttpRequest.exe : fatal error LNK1120: 6 unresolved externals. r=khuey 2011-08-18 09:33:58 +09:00
Ehsan Akhgari
62a7debec3 Bump the XPCOM version from 8 to 9
--HG--
extra : transplant_source : %DB%9E%D5%03%8D%D2%11%DDu%15%CF%A3%8A%BC%FFZ%D5%E6%26p
2011-08-16 14:18:30 -04:00
Landry Breuil
8bd5d4a730 Bug 650749: Fix xptcall for OpenBSD on ppc. r=bsmedberg 2011-08-16 07:27:16 -04:00
Kyle Huey
d3678a9a19 Bug 679191: Improve XPT arena allocation behavior when handling allocations larger than the block size. r=njn 2011-08-16 07:25:58 -04:00
Daniel Holbert
03ca49f291 merge m-c to m-i 2011-08-15 21:12:06 -07:00
Steve Fink
93cd3119ac Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.

Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.

--HG--
extra : rebase_source : 2d3e626ef43ac41c6da401a779775a63fc96a427
2011-07-26 15:56:09 -07:00
Matheus Kerschbaum
d996705797 Bug 677529 - Remove manual jspubtd.h inclusions from IDL files. r=Ms2ger 2011-08-14 19:12:35 +02:00
Ms2ger
ec8c8feeed Bug 677529 - Check return values in pyidl's Method::needsJSTypes; f=Matheus r=khuey 2011-08-14 19:12:21 +02: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
Ms2ger
66ab4757eb Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Kyle Huey
7230dcfcf8 Merge b-s to m-c. 2011-08-13 08:27:55 -04:00
Phil Ringnalda
d3b432509b Back out c8f38fb18c6a (bug 673631) for breaking the Shark shell build 2011-08-12 19:24:22 -07:00
Kyle Huey
ce4b8a179a Bug 678479: Add a makefile target in xpcom/ to regenerate the IDL parser. r=ted 2011-08-12 12:07:09 -04:00
Kyle Huey
b7936f88be Bug 678479: Add a --regen argument to header.py and typelib.py to regenerate the IDL parser. r=ted 2011-08-12 12:06:46 -04:00