Commit Graph

71 Commits

Author SHA1 Message Date
Dan Witte
c5e94efd8d Bug 552525 - Get rid of container classes with static functions in CTypes.h/cpp. r=benjamn 2010-03-29 09:38:27 -07:00
Josh Matthews
e633660798 Bug 552999 - Implement PointerType().prototype.isNull. r=dwitte 2010-03-26 17:27:28 +13:00
Dan Witte
e7509c62c5 Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 3: Add closures for callback
support. r=benjamn
2010-03-29 09:38:17 -07:00
Dan Witte
be6e94b3ab Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 2.1: Use
js_NewArrayObjectWithCapacity. r=benjamn
2010-03-29 09:38:17 -07:00
Dan Witte
2aba325f8b Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 2: Rename Function to
FunctionType, with all the privileges and responsibilities therein. r=benjamn
2010-03-29 09:38:16 -07:00
Robert Sayre
66f3f0f7a3 Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
Dan Witte
373fc7b896 Add msvcc.sh changes to libffi.patch. No bug. 2010-03-25 16:42:20 -07:00
Dan Witte
82429341ad Bug 550982 - Fix REFERENT slot not to keep more objects alive than necessary. r=benjamn 2010-03-25 15:00:58 -07:00
Dan Witte
66eb3c1d32 Bug 513778 - Support passing JS functions as callbacks to C APIs. Part 1: Move Function implementation
from Function.{h,cpp} into CTypes.{h,cpp}. r=benjamn
2010-03-25 15:00:42 -07:00
Dan Witte
d29b14cde7 Bug 513788 - Revise js-facing API for js-ctypes. Followup to give CType and CData a better prototype
hierarchy. r=jorendorff
2010-03-25 15:00:23 -07:00
Dan Witte
d1d19f1019 Apply mozilla patch to libffi 3.0.9. b=537962, r=bsmedberg 2010-01-08 11:01:27 -08:00
Dan Witte
0b232bf658 Update libffi to 3.0.9. b=537962, r=bsmedberg 2010-01-08 11:01:25 -08:00
Justin Wood
13b056cdd3 Bug 550602, libffi.patch change too. rs=dwitte. 2010-03-20 23:50:38 -04:00
Justin Wood
48038898c7 Bug 550602, pymake broken by recent libffi changes. Don't use 'old style suffix rules. r=shaver 2010-03-20 23:22:55 -04:00
Dan Witte
b6ce6106b7 Bug 513788 - Revise js-facing API for js-ctypes. Followup: seal important bits of the global object.
r=jorendorff
2010-03-17 10:48:48 -07:00
Neil Rashbrook
2eb3a25ff3 Bug 551050 Disable warning C4702: unreachable code in dlmalloc.c r=dwitte 2010-03-13 23:13:09 +00:00
Walter Meinl
a75e2580b0 Bug 552155 - [OS/2] build break in Ctypes.cpp ssize_t not declared. r=dwitte 2010-03-13 14:56:09 -08:00
Dan Witte
19adc71579 commit 06a5dd6038d06df968bc1610dccf04c4ad16fe44
Author: Jacek Caban <jacek@codeweavers.com>
Date:   Sat Mar 13 13:23:21 2010 +0100

    Bug 513788 - mingw fix
2010-03-13 11:19:58 -08:00
Dan Witte
27698f60b5 Bug 513788 - Revise js-facing API for js-ctypes. Followup to refactor common patterns. r=jorendorff 2010-03-12 17:17:13 -08:00
Dan Witte
e80d064dee Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix rooting in usages of JS_GetProperty and
friends. r=jorendorff
2010-03-12 17:17:13 -08:00
Dan Witte
7ca1eee0f0 Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix PointerType serialization. r=jorendorff 2010-03-12 17:17:13 -08:00
Dan Witte
220630dc47 Bug 513788 - Revise js-facing API for js-ctypes. Followup to implement array and struct size overflow
tests. r=jorendorff
2010-03-12 17:17:12 -08:00
Dan Witte
6708ab2dd9 Bug 513788 - Revise js-facing API for js-ctypes. Followup to fix rooting bugs. r=jorendorff 2010-03-12 17:17:12 -08:00
Dan Witte
2626e52ff3 Revise js-facing API for js-ctypes, patch v3. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Dan Witte
f621917024 Revise js-facing API for js-ctypes, patch v2. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Dan Witte
afa52d32f7 Revise js-facing API for js-ctypes, patch v1. b=513788, r=jorendorff 2010-03-11 17:17:36 -08:00
Makoto Kato
00a1a4c107 Bug 550811 - bustage on Windows x64 buiild for js-ctypes. r=ted 2010-03-09 17:38:30 +09:00
Dan Witte
691a075064 Remove libffi_msvc now that it's not built. b=538216, rs=ted 2010-03-05 11:32:13 -08:00
Dan Witte
522848a0fa Enable building of the libffi internal MSVC code, instead of libffi_msvc. b=538216, r=ted 2010-03-05 11:31:53 -08:00
Dan Witte
b12be99140 Remove Solaris hack now that it's been upstreamed. b=538216, rs=ted 2010-03-05 11:31:00 -08:00
Dan Witte
2447c769ca Apply libffi.patch. b=538216, rs=ted 2010-03-05 11:30:40 -08:00
Dan Witte
e4f4197972 Pull libffi git revision 8d27f68baa365bf883b6053c5f6bc819646d5434. b=538216, rs=ted 2010-03-05 11:29:55 -08:00
Chris Jones
90e5b2265a Bug 441324, part 3: Configure and build changes for libmozalloc. r=bsmedberg 2010-03-03 23:02:57 -06:00
Chris Jones
a7ca970622 Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg 2010-03-03 23:02:55 -06:00
Walter Meinl
d14fd0b5cb Get libffi 3.0.8 building on OS/2. b=522118, r=dwitte 2010-01-05 13:39:56 -08:00
Walter Meinl
9dac919362 Make ctypes unit tests work on OS/2. b=522118, r=dwitte 2010-01-05 13:30:26 -08:00
Dan Witte
7dd51fb1cd Backing out change. 2010-01-03 06:04:42 -08:00
Dan Witte
a88b10e5e1 Testing solaris patch. Will back out after one cycle. 2010-01-03 05:00:13 -08:00
Dan Witte
dd5676f874 Backing out change. 2010-01-02 20:26:33 -08:00
Dan Witte
a776107578 Remove solaris-specific patch to test the build. Will back out after a cycle. 2010-01-02 19:44:41 -08:00
Dan Witte
cead3c8fea Bug 518621 - JS_ReportErrorNumber ignores exception type for user-generated messages. r=mrbkap 2009-12-15 14:20:48 -08:00
Ginn Chen
56aa915b4b Bug 519401 js-ctypes failed to compile on Solaris with Sun Studio compiler r=dwitte 2009-12-01 20:41:52 +08:00
Daniel Brooks
fdc5ea52b6 revert an unintentional change from revision 0ccbfef948d5 2009-11-24 05:58:50 -06:00
Daniel Brooks
d02c702598 bug 528796 - nsIBoxObject::GetScreenX/Y returns device pixels, not css pixels 2009-11-15 10:16:44 -06:00
Dan Witte
2c31f15c2b Bug 518969 - libffi build appears to modify libffi/doc/libffi.info in the source tree. r=ted 2009-11-13 13:05:53 -08:00
Oleg Romashin
907bb1faa0 Bug 527363 - JS-ctypes fail to compile on Maemo ARM. r=dwitte 2009-11-11 08:57:47 +02:00
Dan Witte
edbdfe820d enable ctypes unit tests on all platforms. b=522118, r=bsmedberg 2009-11-06 09:48:07 -08:00
Makoto Kato
cc4efd34d3 Bug 522360 - [js-ctypes] Support opening of DLLs without full path using the system PATH. r=dwitte 2009-10-18 20:11:52 +09:00
Makoto Kato
8e77bf1ef6 Bug 521937 - Crash using js-ctypes open method with a wrong path [@PR_UnloadLibrary | mozilla::ctypes::Library::Finalize]. r=dwitte 2009-10-14 12:57:42 +09:00
Jacek Caban
40ba9b3e66 Fixed compilation on mingw where PRUnichar != jschar. b=518721, r=dwitte 2009-10-11 16:22:42 -07:00