summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Avoid using memset on a not-trivial type like ServoSizestrav902018-08-18-1/+9
|
* Avoid using memset on a not-trivial type like TabSizestrav902018-08-18-1/+7
|
* Avoid doing a memset on a non-POD structuretrav902018-08-18-13/+33
| | | | | | |entryCount| tracks -- in fast-to-check manner -- the number of entries in the hashtable. But to actually enumerate entries, we have to loop through all of |table|, checking for entries that are actually live. A live entry is indicated by a zero |hash| in the entry. The |memset| would properly zero that; removing the memset will not. It's not entirely clear whether a memset that overwrites a lot of stuff but is maybe simpler, is faster than compiler-generated likely-SIMD code that zeroes out *just* |hash| fields in all the entries. But I am going to guess that SIMD is good enough. For now, we should just do the simple and thing: don't distinguish POD and non-POD, and know that the compiler is going to recognize that |mem.addr()->~T()| is a no-op when T is trivial. So with POD, the loop should degenerate to just zeroing |hash| at consistent offset, and SIMD will eat that up, and it can't be *that* different from the memset in performance (if it is at all).
* memset only the underlying vector from the Array containertrav902018-08-18-1/+1
|
* Avoid using memset on a not-trivial type like nsTabSizestrav902018-08-18-1/+6
| | | | | | nsTabSizes is non-trivial only because of the user-defined constructor. The idea desired here is certainly to zero all the members without listing them -- but the very act of doing so with a user-defined constructor, makes the idea impossible. Arguably this is something that is permissible in the language, and that the warning should be tailored to permit. I don't think this falls afoul of any of the issues flagged in https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01527.html for example. In the meantime, just explicitly zeroing the three member fields is easy and fixes the warnings.
* Merge pull request #712 from JustOff/PR_viewPartialSourceMoonchild2018-08-17-24/+2
|\ | | | | [PALEMOON] Align viewPartialSource with the UXP codebase
| * [PALEMOON] Align viewPartialSource with the UXP codebaseJustOff2018-08-17-24/+2
| |
* | Fix missed in32->int64 in df852120098dc7ba5df4a76126c6297c6d2d1b7bwolfbeast2018-08-17-1/+1
|/ | | | Tag #709.
* Reinstate RC4 and mark 3DES weak.wolfbeast2018-08-17-1/+9
| | | | Tag #709
* Extend {EnabledWeakCiphers} bit field to allow more cipher suites.wolfbeast2018-08-17-8/+8
| | | | Tag #709.
* Merge pull request #708 from wicknix/masterMoonchild2018-08-16-2/+2
|\ | | | | fix basilisk mac icons, executable name, and min os version
| * Add files via uploadwicknix2018-08-14-0/+0
| | | | | | remove old mac firefox icns files and replace with basilisk icns files
| * Update Info.plist.inwicknix2018-08-14-2/+2
| | | | | | fix exe name and min osx version
* | Update CODE_OF_CONDUCT.mdMoonchild2018-08-15-1/+2
| | | | | | Minor style improvement
* | Move Code of Conduct to where it belongs.wolfbeast2018-08-15-0/+0
| | | | | | | | (Damn you, github on-line editor!)
* | Add Code of Conduct for contributors.Moonchild2018-08-15-0/+47
| | | | | | As a recommended document for governance of our project and community.
* | Do not try and include devtools shared l10n when devtools is not builtMatt A. Tobin2018-08-15-0/+2
|/
* Enforce NSS 3.38 for people who still insist on using system NSS.wolfbeast2018-08-14-1/+1
|
* Update NSS to 3.38wolfbeast2018-08-14-7145/+4873
| | | | | | | | | | | | | - Added HACL*Poly1305 32-bit (INRIA/Microsoft) - Updated to final TLS 1.3 draft version (28) - Removed TLS 1.3 prerelease draft limit check - Removed NPN code - Enabled dev/urandom-only RNG on Linux with NSS_SEED_ONLY_DEV_URANDOM for non-standard environments - Fixed several bugs with TLS 1.3 negotiation - Updated internal certificate store - Added support for the TLS Record Size Limit Extension. - Fixed CVE-2018-0495 - Various security fixes in the ASN.1 code.
* Set version for normal unstable channel use.wolfbeast2018-08-13-1/+1
|
* Merge pull request #707 from trav90/class-memaccess-errorsMoonchild2018-08-13-28/+10
|\ | | | | Simplify HeapSlot to make it trivially copyable
| * Simplify HeapSlot to make it trivially copyabletrav902018-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.trav902018-08-12-4/+7
| |
* | Merge pull request #706 from trav90/gcc8Moonchild2018-08-13-14/+17
|\ \ | | | | | | Fix/silence some warnings with GCC 8
| * | Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2)trav902018-08-10-5/+5
| | |
| * | Fix a warning with GCC 8: unnecessary parentheses in declaration of 'type name'trav902018-08-10-2/+2
| | |
| * | Disable -Werror on -Wmultistatement-macrostrav902018-08-10-0/+3
| | | | | | | | | | | | Silences compiler warning spam with GCC 8.
| * | Remove the const to fix the -Wignored-qualifiers warning with GCC 8trav902018-08-10-5/+5
| | |
| * | Initialize mVersion to silence a warning with GCC 8trav902018-08-10-1/+1
| | |
| * | js::atomics_wait: Remove unnecessary parentheses in declaration of 'addr'trav902018-08-10-1/+1
| |/ | | | | | | Silences a warning with GCC 8.
* | Merge pull request #704 from trav90/buildsystem-workMoonchild2018-08-13-1/+7
|\ \ | |/ |/| Shell quote environment variable values when dumping them in dump_env.py
| * Shell quote environment variable values when dumping them in dump_env.pytrav902018-08-11-1/+7
|/ | | | The mozconfig output parsing code already (mostly) handles shell quoted strings, because that's what `set` outputs. By quoting environment variable values, we avoid a bunch of problems with "weird" values.
* Fix include pathMatt A. Tobin2018-08-06-1/+1
|
* Add a slightly modified version of the gecko/44 search service and use it ↵Matt A. Tobin2018-08-06-3/+5709
| | | | when building Pale Moon
* Move the "native" search service to a subdirectoryMatt A. Tobin2018-08-06-24/+33
|
* Merge pull request #698 from SpockFan02/masterMoonchild2018-08-05-18/+48
|\ | | | | Pale Moon: macOS: Fix icons in editBookmarkOverlay
| * Restore some osx iconsSpockMan022018-08-05-0/+4
| |
| * Revert osx editBookmarkOverlay.css to osx versionSpockMan022018-08-05-18/+44
| |
* | Merge pull request #697 from SpockFan02/undeprecate-appcacheMoonchild2018-08-05-28/+0
|\ \ | |/ |/| Issue #686: Un-deprecate the Application Cache API
| * Issue #686: Un-deprecate the Application Cache APISpockMan022018-08-05-28/+0
|/
* Merge pull request #694 from adeshkp/patch-10Moonchild2018-08-04-4/+1
|\ | | | | Fix constructor in nsHtml5AtomTable.cpp
| * Fix constructor in nsHtml5AtomTable.cppadeshkp2018-08-04-4/+1
| | | | | | Follow up to 2bc00ef to fix build bustage
* | re-apply "Improve nsHtml5AtomTable performance (#693)" (#695)"wolfbeast2018-08-04-0/+20
| | | | | | | | This reverts commit ca87455cc5880897c8b921077819988feede90bd.
* | Revert "Improve nsHtml5AtomTable performance (#693)" (#695)Moonchild2018-08-04-20/+0
|/ | | This reverts commit 2bc00efe7bb826d683257264471878c05757f2bb.
* Improve nsHtml5AtomTable performance (#693)adeshkp2018-08-04-0/+20
| | | | | * cpp change * h change
* Make AC option for devtools (client) an enable_bool to align with the default.wolfbeast2018-08-04-4/+4
|
* Merge pull request #691 from ↵Moonchild2018-08-04-53/+52
|\ | | | | | | | | janekptacijarabaci/pm_preferences_applications_always-ask_1 [PALEMOON] Fix "Always ask" for Plugins (in Preferences - Applications)
| * [PALEMOON] Bug 863773 - Changes the way plugin handlers are loaded at the ↵janekptacijarabaci2018-07-26-21/+12
| | | | | | | | preferences applications pane. Uses enabledPlugin attribute from each navigator.mimeTypes to find the actual plugin used to handle the mime type
| * [PALEMOON] Bug 1034043 - Fix remaining use of "awlaysAsk" attribute in ↵janekptacijarabaci2018-07-25-1/+1
| | | | | | | | applications pref pane
| * [PALEMOON] Bug 480242 - "Always ask" doesn't work for Pluginsjanekptacijarabaci2018-07-25-24/+30
| |