Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/electron/electron.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Oct 15, 2024
  2. Oct 14, 2024
  3. Oct 12, 2024
  4. Oct 11, 2024
  5. Oct 10, 2024
    • Charles Kerr's avatar
      refactor: spanify image utils (#44127) · 3d2f68a9
      Charles Kerr authored
      * refactor: electron::util::AddImageSkiaRepFromJPEG() takes a span arg
      
      * refactor: electron::util::AddImageSkiaRepFromPNG() takes a span arg
      
      * refactor: electron::util::AddImageSkiaRepFromBuffer() takes a span arg
      
      * feat: add Node-buffer-to-base-span helper function
      
      * refactor: electron::api::NativeImage::CreateFromPNG() now takes a span param
      
      * refactor: electron::api::NativeImage::CreateFromJPEG() now takes a span param
      
      * refactor: use base::as_byte_span()
      
      * fix: -Wunsafe-buffer-usage warning in NativeImage::CreateFromNamedImage()
      
      Warning fixed by this commit:
      
      ../../electron/shell/common/api/electron_api_native_image_mac.mm:131:11: error: function introduces unsafe buffer manipulation [-Werror,-Wunsafe-buffer-usage]
        131 |           {reinterpret_cast<const uint8_t*>((char*)[png_data bytes]),
            |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        132 |            [png_data length]});
            |            ~~~~~~~~~~~~~~~~~~
      ../../electron/shell/common/api/electron_api_native_image_mac.mm:131:11: note: See //docs/unsafe_buffers.md for help.
      
      * chore: add // SAFETY comment for Node-buffer-to-span func
      
      * chore: add // SAFETY comment for NSData-to-span func
      3d2f68a9
    • Michaela Laurencin's avatar
      build: update NMV to 132 (#44135) · d51ef7d7
      Michaela Laurencin authored
      Node PR: https://github.com/nodejs/node/pull/55306
      
      Do not merge before attached Node PR is merged. This PR updates our NMV to 132 for Electron 34
      
      Please merge this PR before branching 34-x-y
    • Charles Kerr's avatar
    • Charles Kerr's avatar
      fix: -Wunsafe-buffer-usage warning in WriteAsciiChunk() (#44134) · dbbdf554
      Charles Kerr authored
      * fix: -Wunsafe-buffer-usage warning in WriteAsciiChunk()
      
      * chore: add // SAFETY comment to explain UNSAFE_BUFFERS() use
      dbbdf554
  6. Oct 09, 2024
  7. Oct 08, 2024
  8. Oct 04, 2024
  9. Oct 03, 2024
  10. Oct 02, 2024