summaryrefslogtreecommitdiff
path: root/pr/src
Commit message (Collapse)AuthorAgeFilesLines
* Bug 1796917 - Parenthesis error in nspr/pr/src/pthreads/ptsynch.c. r=kaieSvante Signell2022-11-241-1/+1
|
* Bug 1768141 - Use HW_NCPUONLINE if available in PR_GetNumberOfProcessors(). ↵Landry Breuil2022-05-061-0/+4
| | | | r=kaie
* Bug 1784193 - Cast values when setting _md_iovector._{f,}stat64 on Android ↵Mike Hommey2022-08-301-2/+2
| | | | | | | | | | | | | API < 21. r=kaie Android API < 21 didn't have fstat64 or stat64 definitions, but it did have definitions for `struct stat64` that, while being a separate struct, is identical to `struct stat`. The signature for fstat and stat are thus valid, but the compiler can't say. Clang recently added a warning for incompatible function pointers, and it trips on using fstat and stat because of this. Differential Revision: https://phabricator.services.mozilla.com/D154336
* Bug 1783799 - Cast osfd to a HANDLE before passing it to ↵Mike Hommey2022-08-302-3/+3
| | | | | | GetOverlappedResult. r=kaie Differential Revision: https://phabricator.services.mozilla.com/D154053
* Bug 1760611 - Add file descriptor sanity checks in NSPR poll. r=glandiumJed Davis2022-08-021-1/+6
| | | | Thanks to Jesse Schwartzentruber for the suggestion.
* Bug 1769293 - Add API PR_GetPrefLoopbackAddrInfo. r=rrelyeaKai Engert2022-05-132-0/+71
| | | | Differential Revision: https://phabricator.services.mozilla.com/D146333
* Bug 1299823 - Rename PR_X* symbols, remove unused ones. r=kaieNSPR_4_33_BETA1Mike Hommey2021-11-302-21/+6
| | | | | | | | | | | | | | | None of these symbols are in a public header, they are not NSPR_API, and only available on XP_UNIX builds, which in the vast majority of cases, means built with -fvisibility=hidden (i.e. the symbols are not even exported in the first place). The convention for non-exported symbols is to start with _PR rather than PR, so we rename those symbols. The PR_XWait, PR_XNotify and PR_XNotifyAll symbols are however never used, so we just remove them. Differential Revision: https://phabricator.services.mozilla.com/D132448
* Bug 1643866 - Use a larger buffer for internal calls to PR_GetHostByName. ↵NSPR_4_32_BETA1Kai Engert2021-06-101-2/+2
| | | | | | r=glandium Differential Revision: https://phabricator.services.mozilla.com/D79921
* Bug 1713681 - Add set/getsockopt for the don't-fragment option. ↵Dragana Damjanovic2021-06-092-2/+127
| | | | | | r=kaie,bwc,valentin Differential Revision: https://phabricator.services.mozilla.com/D116658
* Bug 1686138 - Lock access to PRCallOnceType members in PR_CallOnce* for ↵NSPR_4_31_BETA1Dana Keeler2021-04-271-14/+32
| | | | thread safety. r=kaie
* Bug 1693762 - Extend the thread name length limit to 63 characters on Mac. ↵NSPR_4_30_BETA1Florian Quèze2021-02-241-2/+9
| | | | r=kaie
* Bug 484411 - Remove XP_MACOSX and OS_TARGET=MacOSX. r=kaieMike Hommey2020-08-202-14/+1
| | | | | | | | | | | With support for macOS < 10.3 dropped, we don't need to care about special cases for 10.1 anymore, which were the last places using XP_MACOSX, which we can remove. And as per the previous change, OS_TARGET=MacOSX is not used anymore. The value will now be Darwin on all Darwin-based platforms. Also, as per the previous change, we don't need to check for Carbon anymore. Differential Revision: https://phabricator.services.mozilla.com/D86793
* Bug 484411 - Remove Code Fragment Manager support code. r=kaieMike Hommey2020-08-202-348/+5
| | | | | | | | | The API has been deprecated since macOS 10.5, 12 years ago. The replacement API we use instead (dlopen), has been available since macOS 10.3, and NSPR has been using it on x86_64 and iPhoneOS for a long time. It is time to switch other Darwin-based platforms. Differential Revision: https://phabricator.services.mozilla.com/D86792
* Bug 1659137 - remove superfluous .previous comments from assembly files; ↵Nathan Froyd2020-08-184-4/+4
| | | | | | | | | r=glandium These have been cargo-culted all over the place and are totally unnecessary, not to mention potentially confusing. Let's delete them. Differential Revision: https://phabricator.services.mozilla.com/D87092
* Bug 1655367 - Use an explicit type for name_len, avoid int type warning. ↵Kai Engert2020-07-301-1/+1
| | | | | | r=cpeterson Differential Revision: https://phabricator.services.mozilla.com/D85384
* Bug 1652956 - Because of macOS 11, PR_LoadLibrary should not check file ↵NSPR_4_27_BETA1Kai Engert2020-07-201-0/+37
| | | | | | exists for assumed system library prefixes. r=kjacobs Differential Revision: https://phabricator.services.mozilla.com/D84235
* Bug 1652956 - With macOS 11, PR_Access on shared library fails, stop using ↵Kai Engert2020-07-151-10/+0
| | | | | | it. r=haik Differential Revision: https://phabricator.services.mozilla.com/D83627
* Bug 1648680 - Include winsock2 for WSAIoctl. r=kaieMike Hommey2020-07-101-0/+3
| | | | Differential Revision: https://phabricator.services.mozilla.com/D81289
* Bug 1641677 - Add PR_SI_RELEASE_BUILD to PR_GetSystemInfo. r=kaieKris Taeleman2020-05-283-4/+39
|
* Bug 1586070 - Read does not advance file position for files larger than 4GB ↵zbordas2019-11-081-1/+9
| | | | on Win32. (See also bug 70765.) r=kaie
* Bug 1584791 - Fix assigning to a pointer instead dereferencing it in TFO ↵NSPR_4_23_BETA1Dragana Damjanovic2019-10-071-1/+1
| | | | | | code. r=kaie Differential Revision: https://phabricator.services.mozilla.com/D48310
* Bug 1581890 - formatted code with artistic style utility. r=glandiumKai Engert2019-09-24130-18227/+21176
| | | | Differential Revision: https://phabricator.services.mozilla.com/D46204
* Bug 1581890 - remove whitespace from end of line in h/c/cpp. r=glandiumKai Engert2019-09-2495-1360/+1360
| | | | Differential Revision: https://phabricator.services.mozilla.com/D46189
* Bug 1535665 - Remove support for BeOS. r=kaieLudovic Hirlimann2019-06-2936-5673/+13
|
* Bug 1535665 - Remove support for Symbian. r=kaieLudovic Hirlimann2019-06-2912-199/+12
|
* Bug 1535665 - Remove IRIX support. r=kaieLudovic Hirlimann2019-06-2918-2080/+13
|
* Bug 1535665 - part 2 remove DGUX. r=kaieLudovic Hirlimann2019-06-291-1/+1
|
* Bug 1535665 - removing OLD unsupported unix Systems part 1 OSF1/Tru64. r=kaieLudovic Hirlimann2019-06-2911-247/+13
|
* Bug 1541216 - Update PR_SetCurrentThreadName() to use prctl(PR_SET_NAME) on ↵Edouard Oger2019-05-071-0/+6
| | | | | | Android r=eoger Differential Revision: https://phabricator.services.mozilla.com/D25880
* Rename unix.c's _pr_rename_lock to avoid unified-build conflict with ptio.c, ↵NSPR_4_21_BETA2David Major2019-02-211-18/+18
| | | | r=kaie
* Bug 1520646: More unified build fixes in pripv6.c, r=kaieNSPR_4_21_BETA1David Major2019-02-201-2/+2
| | | | Mark the declarations `const` to match the definitions.
* Bug 1525803 - Use MAP_SHARED for read-only file mappings on MacOS and ↵Jed Davis2019-02-071-1/+9
| | | | Android. r=glandium
* Bug 327111 - Remove unnecessary/incomplete copyright notices in Tools ↵ui.manish2019-02-071-1/+1
| | | | | | output. r=jcj Differential Revision: https://phabricator.services.mozilla.com//D18655
* Bug 1520646: Fix some NSPR build issues that show up in a unified build, r=kaieDavid Major2019-02-071-1/+1
|
* Bug 557922, Backed out changeset 12f5162b65c9Kai Engert2018-07-255-32/+2
|
* Bug 557922, Memory leaks in NSPR, ErrorTables, r=kaie based on wtc's ↵Ben Boeckel2018-07-255-2/+32
| | | | original review
* Bug 1466771 - Support abstract socket address on Linux and Android. r=glandiumMakoto Kato2018-06-162-2/+21
|
* Bug 1444953 - Unbreak build on FreeBSD 12 or later. r=kaieJan Beich2018-03-151-1/+2
|
* Bug 1399746 - Use atexit() to register _PR_Fini on OSX. r=kaieNSPR_4_19_BETA1Mike Hommey2018-02-221-0/+16
|
* Bug 1432473, Update NSPR to build with Android NDK r16. r=kaieJim Chen2018-01-231-4/+15
|
* Bug 1407070, Remove HP-UX DCE threads support (_PR_DCETHREADS), r=kaieNSPR_4_18_BETA5Wan-Teh Chang2017-12-188-205/+17
|
* Bug 1362976 - Use SetThreadDescription in _PR_MD_SET_CURRENT_THREAD_NAME. ↵NSPR_4_18_BETA4Makoto Kato2017-12-182-0/+47
| | | | portions by David Major, r=mayhemer
* Bug 1399746, backout patch that was landed accidentally, r=glandium for backoutNSPR_4_18_BETA3Kai Engert2017-12-071-6/+0
|
* Bug 1421247, Fix #ifdef from bug 1404061, r=kaieNSPR_4_18_BETA2Dragana Damjanovic2017-11-291-1/+1
|
* Bug 1404061, Permanent version of TCP Fast Open, Cancel overlappedIO before ↵NSPR_4_18_BETA1Kai Engert2017-11-246-35/+159
| | | | closing it. r=mcmanus, r=:kaie:
* Bug 1399100, remove the temporary symbol from official NSPR, it isn't ↵NSPR_4_17_BETA2Kai Engert2017-09-181-4/+0
| | | | necessary to expose it in a release, r=glandium, feedback+=mcmanus
* Bug 1386719, bustage fixNSPR_4_17_BETA1Dragana Damjanovic2017-08-251-0/+4
|
* Bug 1384633 - Expose the overlapped structure. r=mcmanus, temporarily ↵Dragana Damjanovic2017-08-253-0/+39
| | | | accepted for 4.17, any application requiring it will break when NSPR 4.18 is released and used, r=kaie
* Bug 1386719 - If poll returns PR_POLL_EXCEPT during ConnectEx on windows ↵Dragana Damjanovic2017-08-252-1/+23
| | | | check OVERLAPPED as well. r=mcmanus r=mayhemer
* removing surplus blank lines introduced by bug 1380612, whitespace change, ↵Kai Engert2017-07-141-2/+0
| | | | | | no review DONTBUILD