Skip to content

Releases: node-3d/glfw-raub

Minor Update

20 Apr 08:43
Compare
Choose a tag to compare
  • Update AT dependency to fix a vulnerability
  • Add OSX core profile shortcut option osxCore to Window constructor
  • Add glfw.platformDevice() for GL-CL interoperation

Add hideConsole()

21 Jan 20:24
Compare
Choose a tag to compare
  • glfw.hideConsole() - Windows ONLY hides the console window, but only in case
    this console window is property of this process. For instance this works if you use
    pkg module to bundle your app, and then doubleclick the EXE. But if you are running
    a command like node script.js, then this won't hide the window. It's safe to call
    this function on all platforms, but it will be ignored, unless the platform is Windows
    .

  • glfw.showConsole() - Windows ONLY shows the console window
    if it was previously hidden with glfw.hideConsole().

  • The README was expanded with all the exports of glfw.

  • There are slight (and still wip) optimizations in mousemove event dispatching.

Update segfault dependency

06 Jan 11:41
Compare
Choose a tag to compare

Makes logging segfaults to file optional.

Fixes: Retina, Keyboard, Segfaults

03 Jan 12:00
Compare
Choose a tag to compare

Use Framebuffer size instead of Window size in resize event. As proposed in the doc.

Keyboard events fixed: fields key and code now have correct values.

Fixed occasional onexit segfaults.

Window icon flip flag

15 Dec 12:38
Compare
Choose a tag to compare

Now glfw.setWindowIcon will look for an optional noflip flag inside the given Image object. By default, the image gets vertically flipped (which fits image-raub images). Setting the flag to false will lead to the pixel data being set as is, see the example.

The Advent of N-API

09 Aug 07:44
Compare
Choose a tag to compare

Designed to work with Addon Tools 5. Moved GYP build step to subfolder.

Installation flow was changed.

Before: download sources, compile, remove unnecessary intermediates.
Now: download N-API binary from a Github/other release.

Fix fullscreen switching

18 Mar 09:15
Compare
Choose a tag to compare

Now the fullscreen window appears on the same physical display where (the windowed) window currently is.

Minor Update

01 Mar 10:21
Compare
Choose a tag to compare

Returned mousewheel alongside wheel event.
Added new on___ event props for Document.

Major Update

20 Feb 16:25
Compare
Choose a tag to compare
  • Reworked events: now more browser-like. (breaking changes)
  • Unicode text input now available.
  • Fixed some platform-specific issues.

Minor Update

22 Jan 16:06
Compare
Choose a tag to compare

Added codefactor.

Using newer dependencies.