Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Fix a longstanding IndexedDB correctness issue. | wolfbeast | 2018-11-02 | -4/+20 |
| | | | | Standards Compliance fix, port of Bug 1492737 | |||
* | Simplify SIMD conversion from Uint64 to Double. | wolfbeast | 2018-11-01 | -31/+21 |
| | ||||
* | Don't mark MGetFirstDollarIndex as movable. | wolfbeast | 2018-10-31 | -1/+4 |
| | ||||
* | Code style improvements (no bug). | wolfbeast | 2018-10-23 | -9/+18 |
| | ||||
* | Improve graph edge resolution code. | wolfbeast | 2018-10-23 | -17/+48 |
| | | | | This is a follow-up to ca7ecd37c94e268972697a37eec4e46771c6e6f2 further improving the DiD resolution for CVE-2018-12386. | |||
* | Bug 1493900. | wolfbeast | 2018-10-04 | -3/+12 |
| | | | | DiD fix. | |||
* | Rename TypeSet::clone to TypeSet::cloneIntoUninitialized to indicate that it ↵ | trav90 | 2018-09-19 | -9/+11 |
| | | | | | | freshly initializes the TemporaryTypeSet* provided to it. Also removes existing code that, quite unnecessarily, partly initialized that argument. | |||
* | Don't use PodCopy/PodMove to implement typed-array element-to-element copying | trav90 | 2018-09-19 | -4/+17 |
| | | | | Standard std::copy and std::copy_n are readily optimized to the same thing, and they don't have a non-obvious requirement that the type being copied be trivial. | |||
* | Give uint8_clamped a defaulted (and also trivial) default constructor, copy ↵ | trav90 | 2018-09-19 | -6/+3 |
| | | | | | | constructor, and copy-assignment operator. This also allows uint8_clamped to be permissibly memmove'd and memcpy'd. | |||
* | Don't memset-zero the BacktrackingAllocator::vregs array of non-trivial ↵ | trav90 | 2018-09-12 | -15/+11 |
| | | | | VirtualRegister instances | |||
* | Initialize some asm.js structures using in-class initializers instead of PodZero | trav90 | 2018-09-12 | -9/+9 |
| | ||||
* | Stop using PodZero in several places to initialize values of non-trivial type | trav90 | 2018-09-12 | -57/+49 |
| | ||||
* | Merge pull request #754 from trav90/class-memaccess-errors | Moonchild | 2018-09-10 | -95/+180 |
|\ | | | | | Fix more -Wclass-memaccess warnings (GCC8) | |||
| * | Fix build bustage | trav90 | 2018-09-02 | -1/+1 |
| | | ||||
| * | Call the relevant scope-data constructor when allocating it, and poison/mark ↵ | trav90 | 2018-09-02 | -31/+72 |
| | | | | | | | | as undefined the memory for the trailing array of BindingNames, ratther than impermissibly PodZero-ing non-trivial classes. | |||
| * | Convert the trailing array of BindingNames at the end of the various kinds ↵ | trav90 | 2018-09-02 | -64/+108 |
| | | | | | | | | of scope data into raw unsigned chars into which those BindingNames are placement-new'd, rather than memcpy-ing non-trivial classes around and failing to comply with the C++ object model | |||
* | | Add extra check for assembler buffer space. | wolfbeast | 2018-09-04 | -1/+2 |
|/ | ||||
* | Revert "Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke, ↵ | wolfbeast | 2018-08-30 | -49/+9 |
| | | | | | | r=bbouvier, a=RyanVM" This reverts commit 9472136272f01b858412f2d9d7854d2daa82496f. | |||
* | Merge pull request #707 from trav90/class-memaccess-errors | Moonchild | 2018-08-13 | -28/+10 |
|\ | | | | | Simplify HeapSlot to make it trivially copyable | |||
| * | Simplify HeapSlot to make it trivially copyable | trav90 | 2018-08-12 | -29/+8 |
| | | | | | | | | This removes the constructors, which were never called since we allocate arrays of HeapSlot with pod_malloc. The destructor is only ever called explicitly since we free this memory with js_free so it has been renamed to destroy(). Also removed is an unused manual barrier. | |||
| * | Avoid using memcpy on HeapSlot that is not trivially copyable. | trav90 | 2018-08-12 | -4/+7 |
| | | ||||
* | | js::atomics_wait: Remove unnecessary parentheses in declaration of 'addr' | trav90 | 2018-08-10 | -1/+1 |
|/ | | | | Silences a warning with GCC 8. | |||
* | Merge pull request #628 from janekptacijarabaci/build_bustage_debug_1 | Moonchild | 2018-07-13 | -0/+3 |
|\ | | | | | Fix Build Bustage - with "--enable-debug" | |||
| * | Fix Build Bustage - with "--enable-debug" | janekptacijarabaci | 2018-07-12 | -0/+3 |
| | | ||||
* | | Remove recover instruction results after bailouts. | wolfbeast | 2018-07-13 | -38/+20 |
|/ | ||||
* | Issue #578: Applications cannot start without /proc (chroot). | wolfbeast | 2018-07-02 | -3/+65 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UXP uses the current stack frame address and the stack size as a sort of heuristic for various things in the JavaScript engine. The js::GetNativeStackBaseImpl() function is used to get the base stack address (i.e. the address from which the stack grows, so this can be either the first or last memory address of the stack memory space depending on the CPU architecture). On Linux, this function is implemented using the pthreads APIs. For non-main threads, the queried thread info is stored in memory. The main thread does not have this information on hand, so it gets the stack memory range via the /proc/self/maps file (see glibc's pthread_get_attr_np.c). Fortunately (per discussions with the firefox devs in #jsapi) the base address only needs to be approximate. In reality, environment variables, args, and other things are stored in stack space between the end/beginning of the mapped stack memory and the 'top' of the stack space used by stack frames. When using glibc, we can get the top of this usable stack from __libc_stack_end, which is a void* set by glibc during program initialization, avoiding the need to access /proc. Non-main threads still get their stack-base through the usual pthreads APIs. Other libc implementations like musl will fall back to the standard UNIX-like implementation which calls pthread's pthread_attr_getstack() also from the main thread, which may imply /proc access and not work in restricted environments. | |||
* | Bug 1464829 - Ensure the recover instruction vector has the expected size. | Nicolas B. Pierron | 2018-06-07 | -5/+1 |
| | ||||
* | Bug 1465108 - Use function pointers rather than virtual run method for GC ↵ | Jon Coppeard | 2018-06-07 | -37/+72 |
| | | | | parallel tasks r=sfink a=abillings a=RyanVM | |||
* | Fix count of compacting update tasks started. | wolfbeast | 2018-06-07 | -1/+1 |
| | ||||
* | Reinstate string.prototype.contains() | wolfbeast | 2018-06-07 | -1/+9 |
| | | | | This adds a compatibility function aliased to string.prototype.includes(). | |||
* | Refactor structured clone JSAPI to prevent mismatched scopes. | wolfbeast | 2018-06-07 | -223/+209 |
| | | | | Roll-up of bugs 1442722, 1455071, 1433642, 1456604 and 1458320. | |||
* | Change inlining of intrinsics. | wolfbeast | 2018-06-07 | -40/+206 |
| | ||||
* | Update tzdata in ICU data files to 2018e. | André Bargull | 2018-06-07 | -5/+5 |
| | ||||
* | Merge branch 'intl-ICU-emoji-work' | wolfbeast | 2018-05-04 | -1031/+22 |
|\ | ||||
| * | Make InitRuntimeNumberState's return type reflect its infallible nature. | wolfbeast | 2018-05-04 | -9/+3 |
| | | ||||
| * | Issue #325 Part 14: Remove EXPOSE_INTL_API conditionals. | wolfbeast | 2018-05-04 | -392/+4 |
| | | ||||
| * | Issue #325 Part 5: Remove non-Intl legacy code paths from js. | wolfbeast | 2018-05-04 | -632/+17 |
| | | ||||
* | | Fix regex escaping in old-configure and js/src/old-configure | JustOff | 2018-05-04 | -1/+3 |
|/ | ||||
* | [regression] [follow up] Error: No such property on self-hosted object: ↵ | janekptacijarabaci | 2018-04-30 | -1/+125 |
| | | | | | | "Intl_getDisplayNames" Issue #162 and #264 | |||
* | Bug 1452619 - Implement mozilla::IsAsciiAlpha. r=froydnj, a=lizzard | Jeff Walden | 2018-04-29 | -1/+2 |
| | ||||
* | Bug 1411415. | wolfbeast | 2018-04-29 | -14/+22 |
| | ||||
* | Move --enable-tests out of Python configure and flip the default. | wolfbeast | 2018-04-29 | -0/+10 |
| | ||||
* | Merge branch 'malloc-rewrite' | wolfbeast | 2018-04-28 | -4/+0 |
|\ | | | | | | | This resolves #263. | |||
| * | Remove jemalloc 4 from our tree. | wolfbeast | 2018-04-27 | -4/+0 |
| | | ||||
* | | Use SRWlocks for js mutexes on Windows. | wolfbeast | 2018-04-28 | -49/+8 |
|/ | ||||
* | Avoid calling slice in self-hosted code. DiD | wolfbeast | 2018-04-25 | -3/+21 |
| | | | | This time without unrelated/incomplete pluralforms junk. | |||
* | Revert "Add pluralrules to JS Intl" | wolfbeast | 2018-04-25 | -542/+134 |
| | | | | This reverts commit 7686bceecff17f91758c8c6547a78e71ff3a8c38. | |||
* | Remove build support for HP-UX | wolfbeast | 2018-04-24 | -12/+1 |
| | | | | Note: 3rd party lib support (NSS, etc.) has not been touched. | |||
* | Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke, r=bbouvier, ↵ | Jan de Mooij | 2018-04-19 | -9/+49 |
| | | | | a=RyanVM | |||
* | Bug 1449574 - Update tzdata in ICU data files to 2018d. r=Waldo, a=RyanVM | André Bargull | 2018-04-19 | -5/+5 |
| |