1. 17 Jan, 2020 2 commits
  2. 31 Dec, 2019 1 commit
  3. 19 Dec, 2019 3 commits
    • Camilla Löwy's avatar
      Formatting · 9724f330
      Camilla Löwy authored
      (cherry picked from commit 506a6aafdee2bb043da5cef6e28377466dda2f09)
      9724f330
    • Camilla Löwy's avatar
      Cocoa: Fix duplicate conversion of title string · 8c3d2f76
      Camilla Löwy authored
      (cherry picked from commit a875a536b76233d7f3024cf9aec17086aa6bc795)
      8c3d2f76
    • Camilla Löwy's avatar
      Cocoa: Fix pre-window-creation event processing · 2da4adce
      Camilla Löwy authored
      Polling the event queue before NSApp had been allowed to finish
      launching, in our case by starting our self-terminating run loop,
      triggered an assertion inside NSApplication.
      
      This fix, which makes all event processing functions capable of starting
      it, makes that assertion less likely.
      
      A more Cocoa-friendly fix would be to finish launching NSApp during
      glfwInit and let people annoyed by the menu bar disabled it with
      GLFW_COCOA_MENUBAR.  That may not be suitable for 3.3-stable, though.
      
      Fixes #1543.
      
      (cherry picked from commit 6e6805000ac7ddf39c8c5f6be3e877770cba5083)
      2da4adce
  4. 14 Nov, 2019 3 commits
    • Camilla Löwy's avatar
      Cocoa: Fix full screen window iconification · 52b77030
      Camilla Löwy authored
      Iconification (miniaturization) of undecorated windows stopped working
      unless the window has the NSWindowStyleMaskMiniaturizable style.
      
      (cherry picked from commit 2c519709be0dacc7af2908982a7ab80b889a8126)
      52b77030
    • Camilla Löwy's avatar
      Cocoa: Fix multiple methods warning · b3c2023e
      Camilla Löwy authored
      This fixes a warning due to us using bare ids and
      NSCollectionLayoutAnchor having a message with the same name.
      
      (cherry picked from commit bac15f94493938eded7161a7a0ab8827584e3db1)
      b3c2023e
    • Camilla Löwy's avatar
      Cocoa: Process events after window destruction · 129a5ccb
      Camilla Löwy authored
      On macOS a destroyed window remained on screen until the next time
      events were processed.  This makes the behavior more consistent with
      other platforms.
      
      Fixes #1412.
      
      (cherry picked from commit c819f27ce3e6639b4d4b432c0e5191e5c26a9d31)
      129a5ccb
  5. 23 Sep, 2019 2 commits
    • Camilla Löwy's avatar
      Cocoa: Fix glfwSetWindowSize anchor point · a1b65e85
      Camilla Löwy authored
      This makes glfwSetWindowSize use the top-left corner as anchor point
      instead of the bottom-left corner.
      
      Fixes #1553.
      
      (cherry picked from commit 7f02898264d6077738f0e8032f027eb7e252c90e)
      a1b65e85
    • Camilla Löwy's avatar
      Unify key name string handling · 79f4ec68
      Camilla Löwy authored
      This makes key names per-key static strings for all supported platforms.
      
      Fixes #1200.
      
      (cherry picked from commit 56ca0cb3b30ecb1310752360e9c875fc1b2bab5e)
      79f4ec68
  6. 16 Jul, 2019 2 commits
    • Camilla Löwy's avatar
      Cocoa: Cleanup · eb466a0e
      Camilla Löwy authored
      This makes the Cocoa _glfwPlatformSetWindowMonitor consistent with its
      X11 and Win32 counterparts.
      
      (cherry picked from commit 3262c29440428348e33b746c4783d783b2825228)
      eb466a0e
    • Camilla Löwy's avatar
      Convert some declarations to C99 style · 66e06b06
      Camilla Löwy authored
      (cherry picked from commit 0c6b5056196a409e6aac244c983244211abf13b1)
      66e06b06
  7. 27 May, 2019 1 commit
    • Camilla Löwy's avatar
      Add C dialect reminders to each source file · 04522580
      Camilla Löwy authored
      Files built for Win32 must use C89 style declarations for compatibility
      with VS 2010 and 2012, which are still supported by GLFW.
      
      (cherry picked from commit 56aad76b164be741af21688ea3832093c2069cef)
      04522580
  8. 15 Apr, 2019 3 commits
    • Camilla Löwy's avatar
      Fix copyright years (somewhat) · ab118b25
      Camilla Löwy authored
      ab118b25
    • Camilla Löwy's avatar
      Cocoa: Fix cursor hover test · 0e742654
      Camilla Löwy authored
      0e742654
    • Camilla Löwy's avatar
      Cocoa: Fix coordinate transformations · 3c3981a4
      Camilla Löwy authored
      Window relative mouse locations provided via NSWindow and NSEvent are
      based at 0,1 while screen relative locations use 0,0.  Incorrect
      handling of this had crept into other coordinate transformations.  Note
      that most of these errors canceled each other out, so the reported
      positions of windows, monitors and work areas are unaffected.  This
      corrects the cursor position for glfwGetCursorPos and glfwSetCursorPos.
      
      Fixes #1461.
      3c3981a4
  9. 27 Mar, 2019 4 commits
  10. 05 Mar, 2019 4 commits
  11. 22 Feb, 2019 2 commits
    • Camilla Löwy's avatar
      Rename raw input to raw mouse motion, cleanup · 1155c830
      Camilla Löwy authored
      This renames 'raw input' to 'raw mouse motion' as there are other kinds
      of raw input.  The update path is restructured to avoid reinitializing
      all of disabled cursor mode.  Modification of shared state is moved out
      into shared code.  Raw mouse motion is disabled by default for
      compatibility.
      
      Related to #1401.
      1155c830
    • Nathan Poirier's avatar
      Add GLFW_RAW_INPUT and glfwRawInputSupported · 9e29f556
      Nathan Poirier authored
      This adds runtime per-window control of whether accelerated or raw mouse
      motion is provided when the cursor is disabled.
      
      Fixes #1400.
      Closes #1401.
      9e29f556
  12. 31 Jan, 2019 1 commit
  13. 25 Jan, 2019 1 commit
    • Camilla Löwy's avatar
      Cleanup · d5ab3e91
      Camilla Löwy authored
      Replace client area with content area.
      d5ab3e91
  14. 22 Jan, 2019 1 commit
  15. 11 Jan, 2019 1 commit
    • Camilla Löwy's avatar
      Cocoa: Move app delegate and menu creation to init · ea7eb2dd
      Camilla Löwy authored
      The application delegate needs to be set at init to receive monitor
      events before window creation.  Menu creation is moved to
      applicationWillFinishLaunching: to play nicer with other toolkits in the
      same process.
      
      Related to #1317.
      ea7eb2dd
  16. 10 Jan, 2019 1 commit
  17. 25 Dec, 2018 5 commits
  18. 27 Nov, 2018 2 commits
  19. 26 Oct, 2018 1 commit