summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2019-05-21added a const keyword for a methods that return constant literal...hbina085
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-18Allow project export to be canceledGeorge Marques
2019-05-17[macOS] Allow using user provided `.icns` files for exported app icons.bruvzg
2019-05-16Fix OS_UWP::execute's signature after cd4449eRémi Verschelde
Same as #28919.
2019-05-15Fix OS_Javascript execute methodFabio Alessandrelli
Signature was changed in OS via: cd4449e7abe97b2bc883e2d182db2cc41eb35f8c
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