summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2019-05-13Merge pull request #28518 from clayjohn/GLES2-MSAARémi Verschelde
Added MSAA to GLES2 backend
2019-05-09X11: Check if "_NET_FRAME_EXTENTS" atom is supported.bruvzg
2019-05-09Change "ID" to lowercase "id"Aaron Franke
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
2019-05-02added MSAA to GLES backendclayjohn
2019-05-01Fixed game crash, regression of #26977Andrea Catania
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2019-05-01Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde
Small fixes to static analyzer bugs
2019-04-30SCons: Always use env.Prepend for CPPPATHRémi Verschelde
Include paths are processed from left to right, so we use Prepend to ensure that paths to bundled thirdparty files will have precedence over system paths (e.g. `/usr/include` should have lowest priority).
2019-04-30Merge pull request #26977 from bruvzg/fix_x11_window_posRémi Verschelde
Fix get_window_position / set_window_position on Linux
2019-04-29Merge pull request #28061 from guilhermefelipecgs/fix_19137Rémi Verschelde
[Input] Release keys/actions pressed if window loses focus
2019-04-29Merge pull request #28185 from KLee1248/key_remappingRémi Verschelde
Re-maps KEY_BRACELEFT/RIGHT for OSX users
2019-04-29Merge pull request #28448 from ↵Rémi Verschelde
Valentactive/fix-linux-recognition-ecutable-builds-clang Fix builds made with Clang on some Linux distros (the equivalent of #23542 but for Clang)
2019-04-29Merge pull request #28470 from Calinou/fix-windows-clipboard-line-endingsRémi Verschelde
Convert line endings to CRLF in `OS.set_clipboard()` on Windows
2019-04-27Convert line endings to CRLF in `OS.set_clipboard()` on WindowsHugo Locurcio
Windows applications typically expect CRLF line endings in clipboard content. This closes #28439.
2019-04-27Clean up latency related functionsJuan Linietsky
2019-04-27[Input] Release keys/actions pressed if window loses focusGuilherme Felipe
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com> Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com>
2019-04-26fix builds made with Clang on some Linux distrosMichele Valente
This is the same as #23542 (Fix binaries incorrectly detected as shared libraries on some linux distros) but for Clang. It should be fine with Clang 4 or higher.
2019-04-25Merge pull request #28402 from Valentactive/add-thinlto-support-x11Rémi Verschelde
Add option to use ThinLTO
2019-04-25add option to use ThinLTOMichele Valente
This adds ThinLTO support when using Clang and the LLD Linker, it's turned off by default. For now only support for Linux added as ThinLTO support on other platforms may still be buggy.
2019-04-25Merge pull request #28396 from akien-mga/scons-capture-the-flagsRémi Verschelde
SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGS
2019-04-24Rename wrong field.Juan Linietsky
2019-04-24Remove forgotten strings in configuration filesJuan Linietsky
2019-04-24Fixes to make exporting more responsive.Juan Linietsky
-Process and drop input in step functions. -Hide editor file dialog right after pressing ok -Use actual editor file dialogs for project export.
2019-04-24SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGSRémi Verschelde
Many contributors (me included) did not fully understand what CCFLAGS, CXXFLAGS and CPPFLAGS refer to exactly, and were thus not using them in the way they are intended to be. As per the SCons manual: https://www.scons.org/doc/HTML/scons-user/apa.html - CCFLAGS: General options that are passed to the C and C++ compilers. - CFLAGS: General options that are passed to the C compiler (C only; not C++). - CXXFLAGS: General options that are passed to the C++ compiler. By default, this includes the value of $CCFLAGS, so that setting $CCFLAGS affects both C and C++ compilation. - CPPFLAGS: User-specified C preprocessor options. These will be included in any command that uses the C preprocessor, including not just compilation of C and C++ source files [...], but also [...] Fortran [...] and [...] assembly language source file[s]. TL;DR: Compiler options go to CCFLAGS, unless they must be restricted to either C (CFLAGS) or C++ (CXXFLAGS). Preprocessor defines go to CPPFLAGS.
2019-04-23Fixes build for Windows cross-compilationKenneth Lee
Fixes #28299
2019-04-19Re-maps KEY_BRACELEFT/RIGHT for OSX usersKLee1248
Should fix #28098.
2019-04-18Merge pull request #28146 from volzhs/unique_id_androidRémi Verschelde
Fix get_unique_id() on Android
2019-04-18Fix get_unique_id() on Androidvolzhs
2019-04-16Merge pull request #28058 from guilhermefelipecgs/fix_28024Rémi Verschelde
Add Input::get_current_cursor_shape
2019-04-15Add Input::get_current_cursor_shapeGuilherme Felipe
[Clean up] Removed unused/unnecessary methods.
2019-04-12Move IDHandler JS module to platform from WebsockFabio Alessandrelli
2019-04-10Force utf-8 source file encoding in MSVCWindy Darian
On Windows, when "Language for non-Unicode programs" were set to "Japanese (Japan)", MSVC would by default use Shift JIS (code page 932) to interpret source files, which would result in test_string failing to compile because of characters in `test_34()`. Forcing utf-8 for MSVC fixes the issue
2019-04-10Merge pull request #27815 from Faless/unix/mem_accessHein-Pieter van Braam
Fix jump over uninitialized value in OS Unix/X11
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-09Fix jump over uninitialized value in OS Unix/X11Fabio Alessandrelli
2019-04-09Merge pull request #27490 from bruvzg/macos_non_resizable_fullscreenRémi Verschelde
Allow non-resizeable windows to enter full-screen mode.
2019-04-07Android now (optionally) builds the template when exportingJuan Linietsky
Added new way to create add-ons Removed old way to create add-ons
2019-04-07Add FileAccess::set_unix_permissions for Unix platformsJuan Linietsky
2019-04-23Merge pull request #26961 from ibrahn/fix-x11setcontext-access-freedHein-Pieter van Braam
fixed an access after free in OS_X11::set_context. (long version)
2019-04-23Merge pull request #27208 from Calinou/add-lld-linkerHein-Pieter van Braam
Add support for linking using LLD on X11
2019-04-22fixed an access after free in OS_X11::set_context.Ibrahn Sahir
Added constructor and assignment operator for CharString from const char* to simplify memory management when working with utf8/ascii strings for APIs taking char*. Reworked OS_X11::set_context to use CharString and avoid some manual memory management.
2019-04-22Merge pull request #27673 from qarmin/small_fixesRémi Verschelde
Small fixes, mostly duplicated code
2019-04-22Merge pull request #28166 from KLee1248/first_bugRémi Verschelde
Use SHGetKnownFolderPath instead of SHGetFolderPathW
2019-04-19Merge pull request #28164 from BastiaanOlij/AndroidCameraPermissionRémi Verschelde
Add camera permissions to android
2019-04-19Merge pull request #28051 from WindyDarian/no_utf8_for_vs2013Rémi Verschelde
Ignore '/utf-8' flag on Visual Studio 2013
2019-04-18Use SHGetKnownFolderPath instead of SHGetFolderPathW.KLee1248
When getting system directories for Windows, we currently use SHGetFolderPathW. This is a deprecated function and doesn't support "Downloads" folders. As a replacement, this commit uses the newer SHGetKnownFolderPath function, which is supported since Windows Vista. Godot 3.0 only supports Windows 7+, so we don't need to use SHGetFolderPathW for backwards compatibility. Fixes #26876
2019-04-18Add camera permissions to androidBastiaan Olij
2019-04-15Ignore '/utf-8' flag on vs2013Windy Darian
2019-04-08Small fixes, mostly dupicated codeqarmin
2019-04-07Merge pull request #27067 from shartte/remove-context-glRémi Verschelde
Remove ContextGL
2019-04-06Remove unused importsHendrikto