Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nasm: updated to 2.16.03 #145

Closed
wants to merge 1 commit into from
Closed

nasm: updated to 2.16.03 #145

wants to merge 1 commit into from

Conversation

tempcracks
Copy link

C.1.1 Version 2.16.03

This is a source build machinery and documentation update only. There are no functionality changes.

Fix building from git in a separate directory from the source.

Remove some irrelevant files from the source distribution.

Make the documentation stronger that -O0 or -O1 are probably not what the user wants. See section 2.1.24.

Fix configure --enable-lto build option.

Update the included RPM .spec file.

C.1.2 Version 2.16.02

Fix building from the source distribution in a separate directory from the source.

Fix a number of issues when building from source, mostly involving configure or dependency generation.

In particular, more aggressively avoid cross-compilation problems on Unix/Linux systems automatically invoking WINE. We could end up invoking WINE even when we didn't want to, making configure think it was running native when in fact cross-compiling.

Hopefully fix compiling with the latest versions of MSVC/nmake.

Windows host: add embedded manifest file. Without a manifest, Windows applications force a fixed PATH_MAX limit to any pathname; this is unnecessary.

Add support VEX-encoded SM4-NI instructions.

Add support for VEX-encoded SM3-NI instructions.

Add support for VEX-encoded SHA512-NI instructions.

PTWRITE opcode corrected (F3 prefix required.)

Disassembler: the SMAP instructions are NP; notably the prefixed versions of CLAC are ERETU/ERETS.

Add support for Flexible Return and Exception Delivery (FRED): the LKGS, ERETS and ERETU instructions.

Fix external references to segments in the obj (OMF) and possibly other output formats.

Always support up to 8 characters, i.e. 64 bits, in a string-to-numeric conversion.

Preprocessor: add %map() function to expand a macro from a list of arguments, see section 4.4.7.

Preprocessor: allow the user to specify the desired radix for an evaluated parameter. It doesn't make any direct difference, but can be nice for debugging or turning into strings. See the = modifier in section 4.2.1.

Update documentation: __USE_package__ is now __?USE_package?__.

Documentation: correct a minor problem in the expression grammar for Dx statements, see section 3.2.1.

Preprocessor: correctly handle empty %rep blocks.
Preprocessor: add options for a base prefix to %num(), see section 4.4.8.

Preprocessor: add a %hex() function, equivalent to %eval() except that it producess hexadecimal values that are nevertheless valid NASM numeric constants, see section 4.4.5.

Preprocessor: fix the parameter number in error messages (should be 1-based, like %num references to multi-line macro arguments.)

Documentation: be more clear than the bin format is simply a linker built into NASM. See section 8.1.

Adjust the LOCK prefix warning for XCHG.

LOCK XCHG reg,mem would issue a warning for being unlockable, which is incorrect. In this case the reg,mem encoding is simply an alias for the mem,reg encoding. However, XCHG is always locked, so create a new warning (-w+prefix-lock-xchg) to explicitly flag a user-specified LOCK XCHG; default off. Future versions of NASM may remove the LOCK prefix when optimization is enabled.

Fix broken dependency-list generation.

Add optional warnings for specific relocation types (-w+reloc-*, see appendix A), default off.

Some target environments may have specific restrictions on what kinds of relocations are possible or allowed.

Error out on certain bad syntax in Dx statements, such as db 1 2. See section 3.2.1.

C.1.1 Version 2.16.03

This is a source build machinery and documentation update only. There are no functionality changes.

    Fix building from git in a separate directory from the source.

    Remove some irrelevant files from the source distribution.

    Make the documentation stronger that -O0 or -O1 are probably not what the user wants. See section 2.1.24.

    Fix configure --enable-lto build option.

    Update the included RPM .spec file.
C.1.2 Version 2.16.02

    Fix building from the source distribution in a separate directory from the source.

    Fix a number of issues when building from source, mostly involving configure or dependency generation.

    In particular, more aggressively avoid cross-compilation problems on Unix/Linux systems automatically invoking WINE. We could end up invoking WINE even when we didn't want to, making configure think it was running native when in fact cross-compiling.

    Hopefully fix compiling with the latest versions of MSVC/nmake.

    Windows host: add embedded manifest file. Without a manifest, Windows applications force a fixed PATH_MAX limit to any pathname; this is unnecessary.

    Add support VEX-encoded SM4-NI instructions.

    Add support for VEX-encoded SM3-NI instructions.

    Add support for VEX-encoded SHA512-NI instructions.

    PTWRITE opcode corrected (F3 prefix required.)

    Disassembler: the SMAP instructions are NP; notably the prefixed versions of CLAC are ERETU/ERETS.

    Add support for Flexible Return and Exception Delivery (FRED): the LKGS, ERETS and ERETU instructions.

    Fix external references to segments in the obj (OMF) and possibly other output formats.

    Always support up to 8 characters, i.e. 64 bits, in a string-to-numeric conversion.

    Preprocessor: add %map() function to expand a macro from a list of arguments, see section 4.4.7.

    Preprocessor: allow the user to specify the desired radix for an evaluated parameter. It doesn't make any direct difference, but can be nice for debugging or turning into strings. See the = modifier in section 4.2.1.

    Update documentation: __USE_package__ is now __?USE_package?__.

    Documentation: correct a minor problem in the expression grammar for Dx statements, see section 3.2.1.

    Preprocessor: correctly handle empty %rep blocks.
    Preprocessor: add options for a base prefix to %num(), see section 4.4.8.

    Preprocessor: add a %hex() function, equivalent to %eval() except that it producess hexadecimal values that are nevertheless valid NASM numeric constants, see section 4.4.5.

    Preprocessor: fix the parameter number in error messages (should be 1-based, like %num references to multi-line macro arguments.)

    Documentation: be more clear than the bin format is simply a linker built into NASM. See section 8.1.

    Adjust the LOCK prefix warning for XCHG.

    LOCK XCHG reg,mem would issue a warning for being unlockable, which is incorrect. In this case the reg,mem encoding is simply an alias for the mem,reg encoding. However, XCHG is always locked, so create a new warning (-w+prefix-lock-xchg) to explicitly flag a user-specified LOCK XCHG; default off. Future versions of NASM may remove the LOCK prefix when optimization is enabled.

    Fix broken dependency-list generation.

    Add optional warnings for specific relocation types (-w+reloc-*, see appendix A), default off.

    Some target environments may have specific restrictions on what kinds of relocations are possible or allowed.

    Error out on certain bad syntax in Dx statements, such as db 1 2. See section 3.2.1.
@tempcracks tempcracks closed this Jul 30, 2024
netbsd-srcmastr pushed a commit that referenced this pull request Sep 19, 2024
This is a point release intended to clear up a couple of CVEs and
apply point fixes that have been accumulating since 5.2.1

There are a few unresolved (but minor) memory leaks related to design
issues in the API that still need to be resolved. Expect those fixes
in the next release.

Code Fixes
----------

* Fixes for CVE-2023-48161, CVE-2022-28506,

* Address SF issue #138 Documentation for obsolete utilities still installed

* Address SF issue #139: Typo in "LZW image data" page ("110_2 = 4_10")

* Address SF issue #140: Typo in "LZW image data" page ("LWZ")

* Address SF issue #141: Typo in "Bits and bytes" page ("filed")

* Note as already fixed SF issue #143: cannot compile under mingw

* Address SF issue #144: giflib-5.2.1 cannot be build on windows and other platforms using c89

* Address SF issue #145: Remove manual pages installation for binaries that are not installed too

* Address SF issue #146: [PATCH] Limit installed man pages to binaries, move giflib to section 7

* Address SF issue #147 [PATCH] Fixes to doc/whatsinagif/ content

* Address SF issue #148: heap Out of Bound Read in gif2rgb.c:298 DumpScreen2RGB

* Declared no-info on SF issue #150: There is a denial of service vulnerability in GIFLIB 5.2.1

* Declared Won't-fix on SF issue 149: Out of source builds no longer possible

* Address SF issue #151: A heap-buffer-overflow in gif2rgb.c:294:45

* Address SF issue #152: Fix some typos on the html documentation and man pages

* Address SF issue #153: Fix segmentation faults due to non correct checking for args

* Address SF issue #154: Recover the giffilter manual page

* Address SF issue #155: Add gifsponge docs

* Address SF issue #157: An OutofMemory-Exception or Memory Leak in gif2rgb

* Address SF issue #158: There is a null pointer problem in gif2rgb

* Address SF issue #159 A heap-buffer-overflow in GIFLIB5.2.1 DumpScreen2RGB() in gif2rgb.c:298:45

* Address SF issue #163: detected memory leaks in openbsd_reallocarray giflib/openbsd-reallocarray.c

* Address SF issue #164: detected memory leaks in GifMakeMapObject giflib/gifalloc.c

* Address SF issue #166: a read zero page leads segment fault in getarg.c and memory leaks in gif2rgb.c and gifmalloc.c

* Address SF issue #167: Heap-Buffer Overflow during Image Saving in DumpScreen2RGB Function at Line 321 of gif2rgb.c
netbsd-srcmastr pushed a commit that referenced this pull request Dec 2, 2024
(NEWS.md is not updated to 1.1.7)
# s2 1.1.5

* fix compiler problem on Alpine 3.19.0 (#251)

# s2 1.1.4

* Updated more tests to pass on a forthcoming waldo package update (#237).

# s2 1.1.3

* Made a test less strict to pass tests on Alpine Linux (#218, #220).
* Updated tests to pass on forthcoming waldo package update (@hadley, #226).
* Updated vendored file modifications to suppress a multi-line comment
  warning on gcc (#214, #227).

# s2 1.1.2

- Fixed test for `as.data.frame()` for `s2_cell()` to comply with new wk
  version and the latest release of R (#207).
- Fix unary union of an empty multipolygon (#208).
- Added `#include <cstdint>` to an Abseil header to fix compilation with
  gcc13 (#209, #210).
- Update internal Abseil to 20220623.1 LTS (#213).

# s2 1.1.1

- Fix new CRAN check warnings (#202, #203).

# s2 1.1.0

- Fix for s2 build on Windows with R <= 3.6.x (#142)
- Fix for s2 build on MacOS with multiple openssl versions (#142, #145, #146)
- Fix for s2 build on 32-bit openssl (#143, #147)
- Added `s2_convex_hull()` and `s2_convex_hull_agg()` (@spiry34, #150,
  #151, #163).
- Added `max_distance` argument to `s2_closest_edges()`, making
  distance-constrained k-nearest neighbours possible (#125, #156, #162).
- Added a spherical `s2_point_on_surface()` implementation for polygons
  (@kylebutts, #152, #161)
- Added a `s2_cell_union()` vector class to represent cell coverings and
  operators to generate them from an s2 geography vector (e.g.,
  `s2_covering_cell_ids()`). Cell unions are useful as compact representations
  of spherical geometry and can be used like a bounding box to determine
  a possible intersection with one or more geographies (#85, #94, #164).
- Refactored the simple features compatability layer into a standalone
  code base for potential future use in a Python adaptation (#165).
- Migrate input and output to non-deprecated wk package handlers and writers
  (#101, #165, #168).
- Make `s2_union_agg()` more efficient using a recursive merge strategy
  (#103, #165).
- Fix package build on Raspberry Pi (#169, #171).
- Fix warning on clang14 when compiling with `-O0` (#167, #172).
- Added `s2_prepared_dwithin()` and fixed `s2_dwithin_matrix()` such that it
  efficiently uses the index (#157, #174).
- Updated `s2_lnglat()` and `s2_point()` to use `wk::xy()` (a record-style
  vctr) to represent point coordinates. This is much faster than the previous
  representation which relied on `list()` of external pointers (#181, #159).
- Added arguments `planar` and `tessellate_tol_m` to `s2_as_text()`,
  `s2_as_binary()`. Use `planar = TRUE` and set `tessellate_tol_m` to the
  maximum error for your use-case to automatically subdivide edges to
  preserve or "straight" lines in Plate carree projection on import (#182).
- Added arguments `planar` and `tessellate_tol_m` to `s2_geog_from_text()`, and
  `s2_geog_from_wkb()`. Use `planar = TRUE` and set `tessellate_tol_m` to the
  maximum error for your use-case to automatically subdivide edges to
  ensure or "straight" lines in Plate carree projection on export (#182).

# s2 1.0.7

- Update the internal copy of s2geometry to use updated Abseil,
  fixing a compiler warning on gcc-11 (#79, #134).
netbsd-srcmastr pushed a commit that referenced this pull request Dec 10, 2024
# ps 1.8.1

* ps can now be installed again on unsupported platforms.

# ps 1.8.0

* New `ps_apps()` function to list all running applications on macOS.

* New function `ps_disk_io_counters()` to query disk I/O counters
  (#145, @michaelwalshe).

* New `ps_fs_info()` to query information about the file system of one
  or more files or directories.

* New `ps_wait()` to start an interruptible wait on multiple processes,
  with a timeout (#166).

* `ps_handle()` now allows a numeric (double) scalar as the pid, as long
  as its value is integer.

* `ps_send_signal()`, `ps_suspend()`, `ps_resume()`, `ps_terminate()`,
  `ps_kill()`, and `ps_interrupt()` can now operate on multiple processes,
  if passed a list of process handles.

* `ps_kill()` and `ps_kill_tree()` have a new `grace` argument.
  On Unix, if this argument is not zero, then `ps_kill()` first sends a
  `TERM` signal, and waits for the processes to quit gracefully, via
  `ps_wait()`. The processes that are still alive after the grace period
  are then killed with `SIGKILL`.

* `ps_status()` (and thus `ps()`) is now better at getting the correct
  status of processes on macOS. This usually requires calling the external
  `ps` tool. See `?ps_status()` on how to opt out from the new
  behavior (#31).
netbsd-srcmastr pushed a commit that referenced this pull request Dec 11, 2024
1.10.16 (2024-11-24)

* PR #141: Fix bug #27796: "Array to string" conversion warnings on
  installs/other actions
* PR #145: Never reference E_STRICT on PHP 8.4+
* PR #147: Fix tests 8.1+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant