1. 13 Jul, 2020 1 commit
  2. 19 Jan, 2020 1 commit
    • Camilla Löwy's avatar
      Update OpenGL bits of build documentation slightly · 0a49ef0a
      Camilla Löwy authored
      This removes most references to GLU, replaces the legacy CMake cache
      variables for OpenGL with the modern namespaced target and switches to
      $() for command substitution.
      
      Fixes #1580.
      
      (cherry picked from commit d973acc123826666ecc9e6fd475682e3d84c54a6)
      0a49ef0a
  3. 17 Jan, 2020 11 commits
    • Camilla Löwy's avatar
      Remove AppVeyor skip commits setting · b1d4b6a5
      Camilla Löwy authored
      (cherry picked from commit 46c7c1cdffbc1753eea127b6252d0c5e018b82b1)
      b1d4b6a5
    • Camilla Löwy's avatar
      Update changelog and add credit · ad12b97a
      Camilla Löwy authored
      Related to #1602.
      
      (cherry picked from commit 13479ed27dd94e4196205b173c6a2ab104ed21f5)
      ad12b97a
    • Kovid Goyal's avatar
      X11: Fix queries crashing if monitor disconnected · 835dc3d3
      Kovid Goyal authored
      Merged from downstream kovidgoyal/glfw.  First of many.
      
      Related to #1602.
      
      (cherry picked from commit a5e5b782c7c7eaa71a1d60e71934724240ae2ab6)
      835dc3d3
    • Camilla Löwy's avatar
      Win32: Add matching comment · 6a9fd2e1
      Camilla Löwy authored
      (cherry picked from commit 190673e77965b043bbb76020e5557d53c9d80cda)
      6a9fd2e1
    • Camilla Löwy's avatar
      Win32: Fix scancode when key message only had VK · e5353801
      Camilla Löwy authored
      Some synthetic key messages come with a scancode of zero, causing them
      to be translate to GLFW_KEY_UNKNOWN.  This fills in the missing scancode
      by translating the provided virtual key.
      
      Rather than further complicate a single-use function, its body is merged
      into the key message handler.
      
      Fixes #1623.
      
      (cherry picked from commit 789a2bcb3985a882944f3ae8dc6aa8aa22a23494)
      e5353801
    • Camilla Löwy's avatar
      Check scancode before use in glfwGetKeyName · ec286969
      Camilla Löwy authored
      (cherry picked from commit 5f1631cb0e6f3544e9d13e7deb60ff3473a8a3f3)
      ec286969
    • Camilla Löwy's avatar
      Win32: Use non-async key state for modifier hack · 0af3bf3b
      Camilla Löwy authored
      The synchronous key state seems to make more sense in context.
      
      (cherry picked from commit a491b0698cc520fb7e77d66e3d335310814cbb86)
      0af3bf3b
    • Camilla Löwy's avatar
      Win32: Fix no Super key release event after Win+V · 8552152f
      Camilla Löwy authored
      The Win+V hotkey brings up a clipboard history IME that consumes the key
      release.  This adds left and right Super to the modifier keys manually
      polled for undetected release during event processing.
      
      Fixes #1622.
      
      (cherry picked from commit 562c17d131bd99d92f1166e2a8a42d7af023d122)
      8552152f
    • Camilla Löwy's avatar
      Cocoa: Add fully dynamic loading of Vulkan loader · 85172703
      Camilla Löwy authored
      If the application is not linked against the Vulkan loader and relies on
      a third-party loader library or glfwGetInstanceProcAddress, then our
      call to dlopen will fail without a custom dyld environment variable.
      
      This adds a fallback of looking in the directory of the main executable,
      which matches the bundle structure recommended by the Vulkan SDK, making
      that finally work out of the box for fully dynamic loading.
      
      (cherry picked from commit 7da87aaae7039cbdc132f8f563a2603c5e3c73a1)
      85172703
    • Camilla Löwy's avatar
      Cocoa: Select Vulkan surface extension at runtime · d3308444
      Camilla Löwy authored
      This mostly just follows the pattern established by X11.
      
      Related to #1619.
      
      (cherry picked from commit 15d91801b7ac3d52779ec7330f2a1c0128fb57df)
      d3308444
    • ByunghoonKim's avatar
      Cocoa: Add support for VK_EXT_metal_surface · 50f3979d
      ByunghoonKim authored
      This adds optional support for the VK_EXT_metal_surface instance
      extension.
      
      Closes #1619.
      
      (cherry picked from commit c5cb4a253a9c304b136cac01a378567dc46e0320)
      50f3979d
  4. 14 Jan, 2020 2 commits
    • Camilla Löwy's avatar
      Update changelog · 977e2b51
      Camilla Löwy authored
      This is a fix relative to 3.3.1 but not 3.3.
      
      Related to #1620.
      977e2b51
    • Camilla Löwy's avatar
      X11: Fix parent window handle initialization · fbe8ae99
      Camilla Löwy authored
      This should have been initialized to the screen root, not None.  This
      issue was introduced by fe57e3c2921a1901390534e1e51053df70b5644b.
      
      Fixes #1620.
      
      (cherry picked from commit 9372ba95faabd1bb45280d201d6ccdae77bf872e)
      fbe8ae99
  5. 12 Jan, 2020 1 commit
    • Camilla Löwy's avatar
      X11: Fix BadMatch focusing a window on non-EWMH WM · 487e0419
      Camilla Löwy authored
      When the WM does not support EWMH or there is no WM running, GLFW falls
      back to XSetInputFocus, which will emit BadMatch if the window is not
      viewable, which will terminate the program.
      
      Bug spotted on IRC.
      
      (cherry picked from commit aa5e31356178de43d42f43f48914a62c25033f4b)
      487e0419
  6. 05 Jan, 2020 1 commit
  7. 01 Jan, 2020 2 commits
    • Camilla Löwy's avatar
      X11: Fix no window position events during resize · ecda86fa
      Camilla Löwy authored
      A window resize action that also resulting in the window being moved did
      not emit any window positions events, as the position of real
      ConfigureNotify events was ignored.  The real events use parent
      coordinates instead of root coordinates so this adds parent tracking and
      conditional translation.
      
      Fixes #1613.
      
      (cherry picked from commit fe57e3c2921a1901390534e1e51053df70b5644b)
      ecda86fa
    • Camilla Löwy's avatar
      Update changelog and add credit · 359f0e10
      Camilla Löwy authored
      (cherry picked from commit bf292f0083df14e0c8e0bf10c599681d460c9179)
      359f0e10
  8. 31 Dec, 2019 8 commits
    • Camilla Löwy's avatar
      Set macOS deployment target in Travis CI build · 82187397
      Camilla Löwy authored
      (cherry picked from commit 5dd207048cc957bcf680e6c7f80eff8faf92ccb7)
      82187397
    • Camilla Löwy's avatar
      X11: Fix IC event mask not being added to our window · e8d4cc32
      Camilla Löwy authored
      (cherry picked from commit a3d28ef52cec2fb69941bbce8a7ed7a2a22a8c41)
      e8d4cc32
    • Camilla Löwy's avatar
      X11: Cleanup · 7f775302
      Camilla Löwy authored
      We can use C99 now and also we will need the event mask below.
      
      (cherry picked from commit 8149a5fc00e63ff1e94228f338f1a27de374c68b)
      7f775302
    • Luflosi's avatar
      Use the correct type in a for loop · cb49e182
      Luflosi authored
      The `sizeof()` operator has the type `size_t`, so the `for` loop
      iterating over it should use the same type.
      
      Closes #1614.
      
      (cherry picked from commit 74a46dfa0cca79e871b24dbbb9e595b4fe65e0f6)
      cb49e182
    • Camilla Löwy's avatar
      Cocoa: Replace display link with IOKit query · 9fc5fd13
      Camilla Löwy authored
      This removes the final dependency on CoreVideo, using a display link to
      get the refresh rate of monitors where Core Graphics report a refresh
      rate of zero.  Instead we now query the I/O registry directly, similarly
      to what the display link does at creation.
      
      Thanks to @OneSadCookie for pointers to this solution.
      
      (cherry picked from commit 4ec7daf3e92440efab8dac7c1f4c60707d990ed0)
      9fc5fd13
    • Camilla Löwy's avatar
      NSGL: Simulate vsync for occluded windows · bb8ed627
      Camilla Löwy authored
      This only supports a swap interval of zero or one, as that is all NSGL
      supports.
      
      (cherry picked from commit c3ca88055f7c2c8b02b38cb90fc1989990552977)
      bb8ed627
    • Camilla Löwy's avatar
      NSGL: Remove problematic swap interval workaround · ccb54c3e
      Camilla Löwy authored
      Fixes #1483.
      
      (cherry picked from commit 54e8e0b0928400a9da7ebb9d27ad686ee756686e)
      ccb54c3e
    • Camilla Löwy's avatar
      Cocoa: Only create per-monitor display link once · 7c9d0081
      Camilla Löwy authored
      The display link query is not specific to any particular display mode
      and so only needs to be done once.
      
      The next step is to replace the display link altogether by querying
      IOKit directly, which is what the display link does.
      
      (cherry picked from commit b4a8eb9b197caebcec1304cd3d55cd56e3869376)
      7c9d0081
  9. 19 Dec, 2019 13 commits