summaryrefslogtreecommitdiff
path: root/platform/osx/os_osx.mm
AgeCommit message (Collapse)Author
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-21Added a new MIDIDriver classMarcelo Fernandez
2018-07-19-Project/Editor settings now use new inspectorJuan Linietsky
-Project/Editor settings now show tooltips properly -Settings thar require restart now will show a restart warning -Video driver is now visible all the time, can be changed easily -Added function to request current video driver
2018-07-09Added support for extra mouse buttons.unknown
2018-06-11IME context detection.Saracen
2018-05-28Change position of validation in set_custom_mouse_cursorGuilherme Felipe
2018-05-28Merge pull request #19210 from guilhermefelipecgs/fix_invalid_imageMax Hilbrunner
Add validation in set_custom_mouse_cursor
2018-05-27Add validation in set_custom_mouse_cursorGuilherme Felipe
Check if the image is valid.
2018-05-26Fix memory leak in set_custom_mouse_cursorGuilherme Felipe
2018-05-23More fixes to set_borderless_windowGuilherme Felipe
[x11] Preserve window size when calling this method. [osx] Make sure it don't make the window resizable if it's not needed. [windows] clean up the code.
2018-05-21Merge pull request #19070 from guilhermefelipecgs/fix_19033Max Hilbrunner
Fix mouse confined and set_borderless_window
2018-05-21Fix OSXCROSS build with clang-6.0Fabio Alessandrelli
2018-05-20Fix #19033Guilherme Felipe
- Fix a bug when mouse is confined don't update the cursor shape. - Don't let the mouse leave the window when resizing to a smaller resolution when MOUSE_MODE_CONFINED. - Fix set_borderless_window to preserve the actual video_mode.widht/height.
2018-05-13Merge pull request #15739 from poke1024/macos-catch-exceptionMax Hilbrunner
Catch NSException in macOS run loop to prevent crashs
2018-05-13[macOS] Fix numeric keys scan-codes remapping.bruvzg
2018-05-11Merge pull request #18751 from guilhermefelipecgs/fix_cursor_osxRémi Verschelde
Fix custom cursor disappearing on osx
2018-05-10Reset the cursor with Input.set_custom_mouse_cursor(null)Guilherme Felipe
2018-05-09Fix custom cursor disappearing on osxGuilherme Felipe
2018-05-09Add support for atlas texture on set_custom_mouse_cursorGuilherme Felipe
2018-05-08Merge pull request #14622 from bruvzg/non-rectangular-windowsHein-Pieter van Braam
Experimental support for windows with per-pixel transparency.
2018-04-09Fix custom cursor when it's hiddenGuilherme Felipe
[Linux] Ensures that the custom cursor will be used when changing to MOUSE_MODE_VISIBLE. Fix #3086 [Windows] Fix cursor flickering when MOUSE_MODE_HIDDEN. [Mac] Fix possible cursor flicker when MOUSE_MODE_HIDDEN.
2018-04-07Experimental support for windows with per-pixel transparency (macOS, X11 and ↵bruvzg
Windows).
2018-04-05Remove size restriction for mouse cursorGuilherme Felipe
2018-03-28[macOS] Fix keyboard shortcuts on non QWERTY keyboard layouts.bruvzg
2018-03-23Revert "Implement OS_OSX::execute"bruvzg
This reverts commit e42576548f2c0ae2c6cb24ce2b0437ffb8978d65.
2018-03-22Fix dragging window from non-retina to retina display.bruvzg
2018-03-22Fix several in-class initialization clang warningMarcelo Fernandez
2018-03-19Implement OS_OSX::executebruvzg
2018-03-04Clean and expose get_audio/video_driver_* funcs on OS classMarcelo Fernandez
2018-03-03Hack to force macOS window activation for non-bundled app.bruvzg
2018-03-02Merge pull request #17158 from bruvzg/gles2_driver_selectRémi Verschelde
[GLES2] Renderer selection improvement
2018-03-02GLES2 renderer support on macOS.bruvzg
2018-03-02Fix `--help` output, allow renderer override from command line ↵bruvzg
(`--video-driver`).
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-14Merge pull request #15564 from RandomShaper/adpod-topmostRémi Verschelde
Add new window setting: always on top
2018-02-14Merge pull request #15864 from GodotExplorer/pr-get_unique_id-desktop-implRémi Verschelde
Implement more methods for OS on Desktop platforms
2018-02-12Added OS::center_window to center the window precisely on desktop platformsMarcelo Fernandez
2018-02-01OSX: implement OS.get_unique_idgeequlim
Update the documentations for OS.get_unique_id()
2018-01-30Implement always-on-top for MacOSPedro J. Estébanez
Courtesy of @bruvzg.
2018-01-19On macOS, prevent key_event_buffer overflowsBernhard Liebl
2018-01-15Catch NSException in macOS run loop to prevent crashsBernhard Liebl
2018-01-12[macOS] Adds ability to open files with "Open With" or double-click from Finderbruvzg
2018-01-10Fix IME producing multiple events per key press.bruvzg
2018-01-08Merge pull request #15344 from bruvzg/osx_dylib_exportRémi Verschelde
[GDnative] macOS `dylib` export fixes
2018-01-07Remove 10.6+ runtime version checks, add 10.12+ runtime version checksbruvzg
2018-01-06Fix build on macOS pre 10.12, fix deprecation warnings on 10.12+bruvzg
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-04Adds dylib export for "dmg" export mode and change dylib path to ↵bruvzg
"/Contents/Frameworks"
2018-01-04Fix macOS and other builds after #15299Duy-Nguyen TA
Commit ammended by @akien-mga to fix more platforms.
2018-01-04Change OS::initialize signature to return Error (fix segfault on x11)Emmanuel Leblond