Граф коммитов

7673 Коммитов

Автор SHA1 Сообщение Дата
bclary%bclary.com a867c9b88a JavaScript Test Library - Regression test for bug 330812, by Igor Bukanov 2006-04-11 17:53:02 +00:00
bclary%bclary.com e137423256 JavaScript Test Library - Regression test for bug 328664, by Hermecz Vajk 2006-04-11 17:42:02 +00:00
bclary%bclary.com 8a3a92b99b JavaScript Test Library - tweak section 6 to not depend on whitespace settings, no bug, not part of the build 2006-04-11 17:05:14 +00:00
jst%mozilla.jstenback.com 3820cfcf55 Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2006-04-11 03:49:44 +00:00
mrbkap%gmail.com aa30098ef8 Try fixing bug 326497 again, this time allowing DOM constructors to be wrapped in cross-domain settings, since some of them can be used (e.g., Location). r+sr=jst for the DOM bits, r=brendan sr=shaver for the XPConnect bits. 2006-04-10 21:40:28 +00:00
brendan%mozilla.org 84fb6327de Duh... (333398, r=mrbkap). 2006-04-10 05:35:12 +00:00
silver%warwickcompsoc.co.uk 9bdba482bb Bug 332514 - Don't allow null argument to Sandbox constructor. r=brendan sr=jst 2006-04-08 22:04:40 +00:00
bclary%bclary.com d53e961d29 Update JS_GetImplementationVersion() date string (bug 67111, r=brendan) 2006-04-07 16:04:45 +00:00
bclary%bclary.com 28c344f8c1 jsDriver.pl - add new options (-K|--linefail)(-T|--timeout) seconds, (bug 331478, r=mrbkap) 2006-04-07 15:58:32 +00:00
brendan%mozilla.org 70a2b8334f Fix thread- and GC-safety bugs in js_GetAnyName and its evil twin (331782, 325526, r=mrbkap). 2006-04-06 20:24:24 +00:00
brendan%mozilla.org db2ada867b Fix uneval on E4X objects (327534, r=mrbkap). 2006-04-06 20:15:24 +00:00
gavin%gavinsharp.com cea7c12a5f Bug 314529: E4X: delete operator misses some descendants - e4x/Types/9.1.1.3.js, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 13:04:54 +00:00
gavin%gavinsharp.com 56146d5a21 Bug 330319: Remove duplicate string constants in jsnum.c, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 13:02:03 +00:00
gavin%gavinsharp.com c1995c4db4 Bug 331203: Result of Math.pow(NaN, 0) should be 1, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 04:49:20 +00:00
dbaron%dbaron.org 9cccff160a Root across calls to JS_SetElement and JS_SetProperty. b=331667 r=jst,dbradley sr=brendan 2006-04-05 21:34:16 +00:00
dbaron%dbaron.org ac49c790c1 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
timeless%mozdev.org bc5d9b370e Bug 332689 js.mak clean targets fail to clean up pch's
also fixes up a few glitches in the jskwgen work and makes make clean zap its generated file
the clean target for js now cleans fdlibm+jskwgen too
the clean target for jsshell now cleans js too
2006-04-04 15:50:15 +00:00
timeless%mozdev.org 6b7c070642 Bug 328479 Building the jsshell on VC++ 6 fails because jsautokw.h is missing
spidermonkey only fix for nmake. not part of any build that works since this hasn't worked in a long time.
2006-04-04 13:09:50 +00:00
mrbkap%gmail.com 83bb09e916 Backing out my changes from bug 326497 to fix tinderbox orange. 2006-04-03 21:18:41 +00:00
mrbkap%gmail.com f4b1446ece Don't ignore any errors returned by PostCreate. Also, don't override an exception if one is already reported, as the further away from the original problem we get, the less precise the error message will be. bug 326497, r=brendan sr=shaver 2006-04-03 18:10:38 +00:00
bclary%bclary.com b3d8fe9935 bug 332562 - Fix buggy loop in shell.js, patch by Seno Aiko 2006-04-03 13:33:33 +00:00
bzbarsky%mit.edu 59f912e4ad Create a powerless non-principal and start using it. Bug 326506, r=mrbkap,
sr=dveditz
2006-04-02 20:58:26 +00:00
brendan%mozilla.org 7babc76af5 Undepend regexp source string so error message formatted arg refs into it work (332472, r=mrbkap). 2006-04-02 19:07:49 +00:00
brendan%mozilla.org efff5fd986 Fix double-destroy on js_SetLastIndex failure in js_NewRegExpObject (332415, r=mrbkap). 2006-04-01 00:00:38 +00:00
brendan%mozilla.org f60f7d674d Don't optimize special (eval and debugger) global frames (332199, r=mrbkap). 2006-03-31 01:32:19 +00:00
brendan%mozilla.org c4c00f1048 Fix 331787 by atomizing declared function object early (r=mrbkap). 2006-03-31 01:27:23 +00:00
darin%meer.net 5521781301 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
bclary%bclary.com a4192d6abc Regression test for bug 329383. Fix bug number 2006-03-29 17:59:32 +00:00
bclary%bclary.com 17dd36d156 Regression test for bug 321547. Fix whitespace issue in expected toSource value 2006-03-29 17:45:25 +00:00
igor%mir2.org 70f8b1ba6a Bug 331770: Extending JS_GCMETER to include average free list density and free list recycle/new allocation ratio. 2006-03-28 08:41:40 +00:00
dbaron%dbaron.org 5e1d105208 Root the new string across the call to js_NewObject, etc. b=331793 r=brendan 2006-03-27 23:45:56 +00:00
dbaron%dbaron.org 9dd3df4126 Root the result of js_NewXML across js_GetXMLObject. b=331786 r=brendan 2006-03-27 23:43:40 +00:00
brendan%mozilla.org 7bd6786245 MIPS little-endian porting fix from Ian Jackson and Thiemo Seufer, via Mike Hommey <mh@glandium.org> (331820, r=me). 2006-03-27 05:54:51 +00:00
brendan%mozilla.org e7dcaba309 Home sp (and pc) before allocating call-outs (331719, r=mrbkap). 2006-03-26 03:50:34 +00:00
igor%mir2.org 703d1c3337 Bug 331456: Cache of deflated string bytes is per runtime now. To preserve
API compatibility JS_GetStringBytes(JSString *str) calls newly introduced
js_GetGCStringRuntime(JSString *str) to extract JSRuntime* instance based
on the layout of GC structures. r=brendan
2006-03-25 22:55:00 +00:00
brendan%mozilla.org 659937deae Rooting fixes courtesy dbaron (331678, r=mrbkap). 2006-03-25 21:51:57 +00:00
igor%mir2.org bc3cd89a74 Bug 331598: Cleanup/simplifications after landing of patch for recursion-free GC from bug 324278. 2006-03-25 20:21:31 +00:00
brendan%mozilla.org 00eb39402a Fix silly null ptr deref (331664, r=mrbkap). 2006-03-25 19:24:44 +00:00
mrbkap%gmail.com ea197f5e0b Fix a silly typo decompiling the setting of the default xml namespace. bug 331558, patch by Erik Fabert <jerfa@email.it>, r=mrbkap 2006-03-24 18:32:11 +00:00
dbaron%dbaron.org 3bd90a7a87 Fix C++ comments that I introduced. 2006-03-24 08:32:09 +00:00
dbaron%dbaron.org 172a860286 Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan 2006-03-23 23:21:27 +00:00
brendan%mozilla.org 30d2f0307a Missing OBJECT_TO_JSVAL to fix warning introduced by last checkin. 2006-03-23 21:02:43 +00:00
igor%mir2.org 4b4cc4665f Bug 330692: GC_MARK_DEBUG-only arguments are removed when GC_MARK_DEBUG is not defined. r=brendan 2006-03-23 11:50:30 +00:00
mrbkap%gmail.com 9ee66b6f05 Don't add unnecessary quotes to the rhs of the descendant operator. bug 321547, r=brendan 2006-03-23 05:36:20 +00:00
mrbkap%gmail.com c61bd6af26 Continue to create an exception even when we're unable to convert a function passed as an argument to a string. This fixes some cases where an exception would become uncatchable. bug 328443, r=brendan 2006-03-23 05:16:39 +00:00
mrbkap%gmail.com b280e88825 Root the new function across XDR operations to make sure it doesn't get garbage collected. bug 327708, r=brendan 2006-03-23 05:12:27 +00:00
mrbkap%gmail.com 004d9520d6 Protect against scripts setting __proto__ to null. bug 317250, hopeful-r=brendan 2006-03-23 02:24:45 +00:00
mrbkap%gmail.com 1c51b97da1 Create the PropertyIterator object with a default parent so that when we attempt to find the PropertyIterator constructor, we look up the default scope chain and not one that we might not have access to. bug 328012, r=brendan 2006-03-23 01:25:21 +00:00
mrbkap%gmail.com d7659e4716 Always innerize the variables object to ensure that random properties don't get stuck on the outer object. bug 317250, r=brendan 2006-03-22 21:44:31 +00:00
igor%mir2.org c498b278ce Bug 324278: Implementation of GC marking algorithm that uses constant space for
any kind of GC things. r=brendan

The main idea is to put a GC thing to a special "unscanned bag" instead of recursively calling GC_MARK on thing's children when C stack is slow. Then later the code loops through the bag marking the children until the bag is empty.

The unscanned bag is implemented as a linked list of GC arenas where things that belongs to the bug marked with GCF_MARK|GCF_FINAL combination. To avoid long scanning of arenas on the list, the code uses a bitmask per arena to indicate which pages within the arena contains unscanned things and an extra bitmask per page to indicate offset range withing the page of the unscanned things.
2006-03-22 15:38:43 +00:00
mrbkap%gmail.com 560d395290 I didn't mean to check this in. 2006-03-22 07:29:49 +00:00
mrbkap%gmail.com b3bb519d0d Used standard IO functions in snarf so that things work equally well on Linux and Windows. No bug, patch by Brendan, r=mrbkap 2006-03-22 07:26:31 +00:00
mrbkap%gmail.com a7a0806c2a Fixing some silliness from my last checkin, tokenstr takes a tokentype, not the token itself. r=brendan 2006-03-22 06:23:59 +00:00
mrbkap%gmail.com 3acf1716d9 Handle assignment inside the then part of ternary expressions correctly according to the ECMAScript grammar. bug 330975, r=brendan 2006-03-22 03:00:03 +00:00
brendan%mozilla.org 9d7e216a54 More Windows warning fixes. 2006-03-22 01:39:40 +00:00
brendan%mozilla.org b165c781ed Warning fix for MSVC. 2006-03-22 01:37:27 +00:00
cls%seawood.org 794fcda280 Fix mingw cross-compile bustage.
Bug #322578 r=mark sr=bsmedberg
2006-03-21 03:04:54 +00:00
mrbkap%gmail.com cf49675a47 Don't forget to throw syntax errors for missing parentheses or brackets. bug 331127, r=brendan 2006-03-20 20:57:51 +00:00
mrbkap%gmail.com 4edd0845fc Don't pollute String.prototype. bug 330976, r=brendan 2006-03-20 20:15:15 +00:00
bclary%bclary.com 6b23cf6277 Regression test for bug 329530, by Erik Fabert 2006-03-20 19:55:22 +00:00
bclary%bclary.com e450632fc2 Regression test for bug 330976, by Blake Kaplan 2006-03-20 19:05:49 +00:00
bclary%bclary.com 6dfc980b20 Regression test for bug 330951, by Pawel Chmielowski 2006-03-20 00:40:45 +00:00
dbaron%dbaron.org f82adb5d8c Use __builtin_frame_address instead of setjmp to get the frame pointer. b=323853 r=brendan 2006-03-19 01:27:17 +00:00
igor%mir2.org ad4a379d52 Bug 330951: Patch from Pawel Chmielowski to fix a regression that I introduced in bug 311515. 2006-03-18 23:36:04 +00:00
igor%mir2.org 3efeeb5c5b Bug 330951: Asserting that string arguments str1 and str2 arguments are not NULLs in js_CompareStrings and js_EqualStrings.
Previously passing str1 and str2 set to NULL did not crash as str1 and str2 compared equals as pointers and the functions returned true without accessing *str1 or *str2. In turn it allowed for the regression from bug 311515 causing this bug to survive much longer then it should. r=brendan.
2006-03-18 23:29:15 +00:00
igor%mir2.org 3ad298d674 Bug 330812: In array_sort clear only those elements of temporary vector that
would be included in the rooted set. It provides better performance for huge
mostly spare arrays. r=mrbkap
2006-03-17 22:09:46 +00:00
nboyd%atg.com 82fe901670 Add another user. 2006-03-17 16:16:29 +00:00
igor%mir2.org 2830bd1869 Bug 311515: Fixing misspellings in comments from the previous commit. 2006-03-16 08:04:28 +00:00
igor%mir2.org 2e221363b8 Bug 311515: array_sort sorts undefined value and holes via counting them as according to the Ecma standard holes are bigger then undefined values which are bigger then anything else. This allows to simplify sort_compare and shrink jsarray.c code while making sorting of spare arrays faster. r=mrbkap 2006-03-15 20:49:09 +00:00
igor%mir2.org 898cc9a773 Bug 328664: In js_DecompileValueGenerator search the stack for the value to decompile from the top to bottom to pick up the copy and corresponding code that was pushed to the stack most recently. r=brendan 2006-03-15 16:44:24 +00:00
daumling%adobe.com d586b1f10e Bug 330169: Replaced early exits in ParseNodeToXML() with a jump to skip_child so js_LeaveLocalRootScope() can be called correctly. r=mrbkap 2006-03-15 09:23:36 +00:00
bryner%brianryner.com 41e6c02b2f Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin. 2006-03-15 04:59:42 +00:00
timeless%mozdev.org 51cf1714b7 Bug 329530 Out of memory crash when calling fn.toString where fn is a deeply nested function
patch by jerfa@email.it r=brendan
2006-03-13 17:00:18 +00:00
bclary%bclary.com 6307e73482 Regression test for bug 301574, fix by shutdown 2006-03-13 02:45:26 +00:00
timeless%mozdev.org 1d32692424 Bug 330098 XPCCallContext::~XPCCallContext is still wiping out newborn roots causing crashes under [@ js_FinalizeObject] because AllocSlots is calling gc and causing its caller (js_NewObject)'s obj to be destroyed before it's stable
r=mrbkap sr=bz
2006-03-13 00:24:06 +00:00
timeless%mozdev.org d8c3c43dcc Bug 326961 JS_BeginRequest should JS_ASSERT(cx->thread == js_GetCurrentThreadId())
r=brendan r=mrbkap
2006-03-12 09:38:06 +00:00
timeless%mozdev.org 9a3421295c Bug 329749 Did JS_SealObject mean to call JS_UNLOCK_OBJ instead of JS_UNLOCK_SCOPE ?
r=brendan
2006-03-12 09:35:52 +00:00
mrbkap%gmail.com 2600e2d85e VC8 doesn't like the copyright sign in jscompat.h. Issue found by jshin, bug 328589, r=gerv/mrbkap 2006-03-11 04:05:13 +00:00
mrbkap%gmail.com 0f8f55e95c Use __declspec(dllexport/dllimport) on OS/2. Patch from Andy Willis <abwillis1@gmail.com>, bug 301064, r=mrbkap 2006-03-11 01:35:21 +00:00
timeless%mozdev.org b9e2ac6595 Bug 329754 three coverity complaints about jsj_JSObject.c
r=mrbkap sr=bz
2006-03-10 20:44:48 +00:00
timeless%mozdev.org ac438e1b6c Bug 330000 Coverity complains that simple_name can not be null in the loop in pre_define_java_packages
r=mrbkap sr=bz
2006-03-10 19:05:19 +00:00
timeless%mozdev.org 713adfb63b Bug 329870 Coverity complains that jsj_EnterJava uselessly null checks envp
r=mrbkap sr=bz
2006-03-10 01:06:06 +00:00
timeless%mozdev.org 1ca23e1e59 Bug 329879 Coverity complains that QName null checks argv after asserting it can't be null
r=brendan
2006-03-09 23:59:40 +00:00
timeless%mozdev.org 8ba124d801 Bug 329877 Coverity complains that js_ErrorToException dereferences reportp before null checking
r=brendan
2006-03-09 23:58:35 +00:00
igor%mir2.org 2d0094a546 Bug 328896: Cleanup of tail recursion elimination for MarkGCThing/MARK_GC_THING from jsgc.c. r=brendan 2006-03-09 06:57:01 +00:00
timeless%mozdev.org cc31424dca Bug 329752 Coverity complains that Statement missed one null check of NewParseNode
r=brendan
2006-03-08 17:17:43 +00:00
timeless%mozdev.org 5247f58618 Bug 329751 Coverity doesn't think obj_eval should null check caller->pc
r=brendan
2006-03-08 17:15:29 +00:00
timeless%mozdev.org 97af83266b Bug 329727 Coverity doesn't like ReportError in jscntxt because it pretends reportp could be null
r=mrbkap
2006-03-08 06:16:33 +00:00
bclary%bclary.com 92f63b1aaf Regression test for bug 329383, by Brendan Eich 2006-03-07 23:50:49 +00:00
brendan%mozilla.org 028b659b0c Work around MSVC6/7.1 copysign bustage (329383, tachyonal r=mrbkap). 2006-03-06 01:32:55 +00:00
brendan%mozilla.org 9c3ebbd447 No C++ comments in C code. 2006-03-04 20:44:38 +00:00
mrbkap%gmail.com dd4f96393c Use libm, not fdlibm, on all/most platforms. bug 326842, patch from Josh Aas, r=brendan/shaver 2006-03-04 03:58:55 +00:00
daumling%adobe.com 7da15ab8bb Bug 232182: Backed out bad fix causing leaks 2006-03-03 07:03:53 +00:00
bclary%bclary.com 8d040039bc Regression test for bug 325925, by Blake Kaplan 2006-03-03 05:59:24 +00:00
bclary%bclary.com 6a995dda8d Regression test for bug 328556, by Jesse Ruderman. No bug, not part of the build 2006-03-03 05:53:30 +00:00
bclary%bclary.com 8e90b2d034 Regression test for bug 327608, make sure to call reportCompare in the onload handler 2006-03-02 22:33:28 +00:00
bclary%bclary.com 41adcc0681 Regression test for bug 254296 - tweak reportCompare, no bug not part of the build 2006-03-02 22:30:31 +00:00
bclary%bclary.com 14e08e1294 Regression Test for bug 324422, correct syntax error, no bug, not part of the build 2006-03-02 22:07:10 +00:00
bclary%bclary.com c62d150794 Regression Test for bug 323338 - add missing TEST(), no bug, not part of the build 2006-03-02 22:05:18 +00:00
bclary%bclary.com e576a4bfb7 JavaScript Test Library - improve basic gc emulation when other method are unavailable, thanks to Igor Bukanov. no bug, not part of the build 2006-03-02 22:00:11 +00:00
brendan%mozilla.org b100aee98e Finish separating gcMaxMallocBytes, account for scope hashtables in gcMallocBytes (319980, r/sr=mrbkap/bz). 2006-03-02 20:47:04 +00:00
brendan%mozilla.org 4bb80c1edb Fast followup to allow arbitrary nesting (328897, r=mrbkap). 2006-03-02 20:05:49 +00:00
brendan%mozilla.org 46cf4a7474 Fix JS_ReportPendingException to when cx has active frames (328897, r=mrbkap). 2006-03-02 20:00:47 +00:00
brendan%mozilla.org 7c3bc4a70e Never mind. 2006-03-01 20:37:43 +00:00
brendan%mozilla.org 110dfb5679 Need another auto-mark thingie (326615, r=mrbkap). 2006-03-01 20:34:49 +00:00
neil%parkwaycc.co.uk cde62f9eb1 Followup patch to bug 207327 to move the "service" string from the name to the value of the category entry where it is interpreted to belong r=timeless sr=bz 2006-02-28 17:36:58 +00:00
brendan%mozilla.org 8fce62562a Local auto-marker needed (326615, r=mrbkap). 2006-02-28 07:41:01 +00:00
mrbkap%gmail.com b5b0046c44 Flatten before ever reaching CheckCycle, since the way things currently are, it could receive lists of arbitrary length. bug 328769, r=brendan 2006-02-27 20:33:56 +00:00
mrbkap%gmail.com 107ea363fe Don't optimize globals access in eval and debugger frames. bug 328765, r=brendan 2006-02-27 20:23:04 +00:00
mrbkap%gmail.com 33821bc52b Inspect the correct position in our input stream. bug 325925, r=brendan 2006-02-27 19:14:15 +00:00
igor%mir2.org f458e75099 Bug 328556: Proper accounting for growth in array_join_sub when reallocating
chars array. r=mrbkap
2006-02-27 17:32:22 +00:00
timeless%mozdev.org 276ede16dd Bug 327605 [@ JSD_GetContextFlags - jsdService::GetFlags]
r=rginda
2006-02-27 04:17:08 +00:00
bclary%bclary.com 61d6ce361f Regression test for bug 328249, by Jesse Ruderman 2006-02-26 08:49:46 +00:00
bclary%bclary.com 11e67a8f23 Regression test for bug 327897, by Jesse Ruderman 2006-02-26 08:30:54 +00:00
bclary%bclary.com 79065b8844 Regression test for bug 327697, by Jesse Ruderman 2006-02-26 08:17:21 +00:00
bclary%bclary.com 55f42b2900 Regression test for bug 327608, by Jesse Ruderman 2006-02-26 08:00:53 +00:00
bclary%bclary.com 067b1ea197 Regression test for bug 327564, by Jesse Ruderman, Brendan Eich 2006-02-26 07:50:53 +00:00
bclary%bclary.com 565fbd11af Regression test for bug 326467, by Alex Vincent, Blake Kaplan 2006-02-26 07:37:01 +00:00
brendan%mozilla.org 678fdc7f07 Back out last checkin pending better fix (327869). 2006-02-24 23:18:05 +00:00
mrbkap%gmail.com d9be113509 Clean up a bracing nitpick. 2006-02-24 22:12:32 +00:00
benjamin%smedbergs.us f1033b53d1 Bug 78081 - don't export intermediate libs, initial tree-wide changes blanket-r=mento 2006-02-24 17:50:29 +00:00
daumling%adobe.com 721e215256 Bug 327869: Implement brute-force fix for Windows strftime() 2006-02-24 03:37:46 +00:00
daumling%adobe.com e156716b4c Bug 328373: Create local variable and copy value to suppress compiler warning 2006-02-24 03:29:57 +00:00
mrbkap%gmail.com e47a41d74c Detect cycles even when we're inserting a degenerate list of length 1. bug 328249, r=brendan 2006-02-23 23:00:23 +00:00
mrbkap%gmail.com 33c9c1bc78 Don't wrap E4X values in XPCWrappedJS since E4X objects have weird semantics, which cause us trouble both elsewhere in XPConnect, and even in the DOM code. bug 327697, r=brendan sr=shaver 2006-02-23 22:21:08 +00:00
igor%mir2.org 53c59130cd Bug 328294: After enumeration that removes hashtable entries,
the hashtable is shrinked only once. r=brendan
2006-02-23 22:20:27 +00:00
igor%mir2.org 4d46f22fac Bug 328106: Removal of HT_ENUMERATE_UNHASH. Its implementation had a bug
for 11 years which is a good demonstration that it has never been used.
2006-02-23 10:11:17 +00:00
timeless%mozdev.org a279d689e5 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
mrbkap%gmail.com bfb3311cf7 Propagate the proper fp, fun, and variables object to special frames so as to not confuse the optimizer and split the common code that does this into a common function from the 3 places that currently do it. r=brendan 2006-02-23 02:17:04 +00:00
brendan%mozilla.org 4d8776d822 Fix botch in JS_InitClass that passed several rounds of code review. 2006-02-22 23:03:37 +00:00
mrbkap%gmail.com 13a9d56676 The end request needs to happen before the context gets destroyed -- use C++ to ensure that. bug 328044, r+sr=brendan 2006-02-22 19:58:31 +00:00
mrbkap%gmail.com 5c4b8bd48a The end request needs to happen before the context gets destroyed -- use C++ to ensure that. bug 328044, r+sr=brendan 2006-02-22 19:48:45 +00:00
brendan%mozilla.org da4fef3700 Fix an initially hard-to-see bug reported by daumling@adobe.com, plus another one mentioned by mrbkap (327941, r=mrbkap). 2006-02-22 06:09:09 +00:00
brendan%mozilla.org a6090f1c26 Separate gcMaxBytes from gcMaxMallocBytes and unconstrain the former for Mozilla code (317865, r/sr=mrbkap/shaver). 2006-02-22 05:52:13 +00:00
mrbkap%gmail.com ec46e80305 Don't assume that JS_ValueToString is infallible. bug 327897, r=brendan 2006-02-22 03:51:09 +00:00
mrbkap%gmail.com e3ad67960d If the wrapper has no prototype, but we have a proto, then it can't be our target wrapper, so skip it. bug 327597, r=jst sr=bzbarsky 2006-02-22 03:48:33 +00:00
brendan%mozilla.org 8e59e16322 Fixed typo that left JS_CallFunctionName returning true always, not ok (328037, r=mrbkap). 2006-02-22 03:06:00 +00:00
mrbkap%gmail.com 735e2002df If the this object in a call is not an XPCNativeWrapper, ignore the call instead of crashing. bug 327686, r=brendan sr=bzbarsky 2006-02-22 02:25:24 +00:00
dbaron%dbaron.org a584e245a7 Root new function objects before calling JS_SetReservedSlot on them. b=307560 r=brendan sr=jst 2006-02-22 00:50:47 +00:00
dbaron%dbaron.org 1fcd6ec0c6 Root cloned function object before calling WrapFunction on it. b=327716 r=jst sr=brendan 2006-02-22 00:49:55 +00:00
mrbkap%gmail.com 509c0fba2f Support ppc<->x86 cross builds for Mac OS X. bug 322578, patch from Mark Mentovai <mark@moxienet.com>, r=bsmedberg r=cls sr=bryner 2006-02-21 22:03:20 +00:00
igor%mir2.org b5b71e3898 Bug 327129: To calculate ceil(log2(n))/floor(log2(n)) under GCC >=3.4 use
__builtin_clz or count-leading-zeros. r=brendan
2006-02-21 11:28:28 +00:00
igor%mir2.org c49c6737a6 Bug 327896: JS_STATIC_ASSERT is now used to assert constant conditions during compilation time instead of waiting for runtime to check for JS_ASSERT. r=brendan 2006-02-21 10:27:50 +00:00
igor%mir2.org 15106141bf Bug 327129: Reverting the previous commit as it broke GCC builds of
firefox.
2006-02-20 10:12:03 +00:00
igor%mir2.org 9b1c4989bd Bug 327129: To calculate ceil(log2(n))/floor(log2(n)) under GCC use
__builtin_clz or count-leading-zeros. r=brendan
2006-02-20 08:57:53 +00:00
daumling%adobe.com b680219a3b Bug 232182: Added copying of Unicode elements in js_ExpandErrorArguments() 2006-02-20 07:44:25 +00:00
daumling%adobe.com 521b468de5 Bug 318402: Replaced JS_STRINGS_ARE_UTF* with JS_C_STRING_ARE_UTF8 2006-02-19 17:52:56 +00:00
daumling%adobe.com bbc897b35a Bug 315974: JSprintf functions cannot print jschar characters and strings 2006-02-18 07:13:16 +00:00
daumling%adobe.com 4f5f3e33cb Bug 326201: Added build rule for jskwgen.o/.obj 2006-02-18 06:33:31 +00:00
mrbkap%gmail.com cf5b965f72 We won't always find the prototype property, especially if our __proto__ has been cut off. bug 327608, r=brendan 2006-02-18 03:02:32 +00:00