summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-24Add print_verbose to print to stdout only in verbose modeRémi Verschelde
Equivalent of the cumbersome: if (OS::get_singleton()->is_stdout_verbose()) print_line(msg);
2018-08-24Merge pull request #21336 from eska014/html5-new-presentationRémi Verschelde
Add responsive HTML5 export page with full-size canvas as new default
2018-08-23Merge pull request #21332 from dragmz/apk-hint-fixRémi Verschelde
Fix file hints
2018-08-23Fix file hintsMarcin Zawiejski
Fixes file hints so the file dialog actually displays the files with given extension (e.g. *.apk).
2018-08-23Merge pull request #21330 from eska014/html5-canvas-resizeRémi Verschelde
Facilitate external modification of HTML5 canvas size
2018-08-23Add responsive HTML5 export page with full-size canvas as new defaultLeon Krause
2018-08-23Merge pull request #20507 from rdhafidh/android_libcpp_shared_masterRémi Verschelde
add support libc++_shared on android (master)
2018-08-23Facilitate external modification of HTML5 canvas sizeLeon Krause
2018-08-22Modifications to raw input so the handling of absolute coordinates is more ↵Juan Linietsky
correct.
2018-08-22Merge pull request #20523 from moiman100/windows-raw-inputJuan Linietsky
Raw input relative motion for Windows
2018-08-23add support libc++_shared stl on androidRidwan Abdul Hafidh
2018-08-21BPTC supportelasota
2018-08-21Merge pull request #21236 from dragmz/windows-graceful-closeRémi Verschelde
Try closing gracefully before terminating process
2018-08-21CI: Disable debug_symbols on Travis/AppVeyorRémi Verschelde
Also increase AppVeyor cache size to 1024, should match what is available for us in the free plan: https://www.appveyor.com/docs/build-cache/#cache-size-beta And drop obsolete debug_release option for Windows, superseded by target=release and debug_symbols=yes.
2018-08-21Merge pull request #20922 from kripken/errLeon Krause
HTML5: use console.warn instead of Module.printErr
2018-08-20Try closing gracefully before terminating processMarcin Zawiejski
Use a Microsoft recommended way of process termination for the project process run from the editor. This allows loaded DLLs to receive and handle DLL_PROCESS_DETACH notification and cleanup any global state before the process actually exits.
2018-08-20fix Android/HTML5 custom templates option does not workAlessandro
2018-08-20Add PROPERTY_HINT_PLACEHOLDER_TEXT for String propertiesRémi Verschelde
Use it to provide a better example for application identifiers on Android, iOS and macOS, where users thought they *had* to use this as a magic token.
2018-08-19Merge pull request #21179 from elasota/vs-pdbRémi Verschelde
Support debug_symbols in VS optimized builds
2018-08-19Support debug_symbols in VS optimized buildselasota
2018-08-18Merge pull request #21132 from neonsoup/win_move_to_trash_fixRémi Verschelde
Fix errors during removing files or folders and fix for latin symbols
2018-08-18Fix errors during removing files or folders and fix for latin symbolsneonsoup
This commit adds support for unicode strings in OS_Windows::move_to_trash. Also reverts commit 6188388c5a9c7f9fcc0b7f3928f176a9047b9a45 as it did not add extra null character to the path string (SHFILEOPSTRUCTA and SHFILEOPSTRUCTW require path to be double null-terminated).
2018-08-17Update detect.pyTiago Quendera
Fixed a typo in detect.py
2018-08-16Replace XRaiseWindow with a _NET_ACTIVE_WINDOW ClientRequestHein-Pieter van Braam
This fixes the editor on X11 not getting put on the foreground when a debugged project hits an error or breakpoint.
2018-08-14Merge pull request #18096 from aaronfranke/masterJuan Linietsky
[Core] Split up math_2d.h
2018-08-14Fix impossibility of removing folder which contains non-latin symbols(on ↵Chaosus
Windows)
2018-08-13Merge pull request #20913 from pulkomandy/masterRémi Verschelde
Rebase patches for fixing haiku build.
2018-08-11use console.warn instead of Module.printErr: emscripten no longer exports ↵Alon Zakai (kripken)
printErr by default, and instead err() should be used in code seen by the optimizer; however, as Godot only runs on the Web (and not in node.js or elsewhere), using console.warn directly is good enough, and will work in all versions if emscripten
2018-08-11Rebase patches for fixing haiku build.Adrien Destugues
2018-08-11[Core] Completely kill math_2d.h, change includesAaron Franke
2018-08-10Revert "added get_creation_time function for gdscript"Juan Linietsky
2018-08-10Merge pull request #18914 from notwarp/masterJuan Linietsky
added get_creation_time function for gdscript
2018-07-30Relative motion based on raw input for WindowsMikko Mustonen
2018-07-30Fix Windows handles leakMarcin Zawiejski
Fixes thread and process handles leak when running and killing project from editor (caused by a missing CloseHandle call) plus a potential leak when calling OS_Windows::execute with p_blocking and !r_pipe. The leak could be easily observed with a Handles counter in Task Manager (or Performance Monitor) for the Godot editor process.
2018-07-29Added missing support for traditional chinese on Windows, fixes #7674Juan Linietsky
2018-07-27Running builder (content generator) functions in subprocesses on WindowsViktor Ferenczi
- Refactored all builder (make_*) functions into separate Python modules along to the build tree - Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere - Introduced stub to use the builders module as a stand alone script and invoke a selected function There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp) on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky builds. Running all such content generators in a new subprocess instead of directly inside the build script works around the issue. Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle. Suggested workaround did not fully work either. Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of running a cross-compilation on Windows they would still be used, but likely it will not happen in practice. What counts is that the build itself is running on which platform, not the target platform. Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
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-26change framework name CoreMidi to CoreMIDIPanPan
2018-07-25Merge pull request #20154 from marcelofg55/midi_driverRémi Verschelde
Added a new MIDIDriver class
2018-07-24Merge pull request #20245 from bruvzg/fix_win_pp_transpRémi Verschelde
Fix OpenGL buffer depth for per pixel transparency support (Windows)
2018-07-24Removed unnecessary assignmentsWilson E. Alvarez
2018-07-22SCons: Add "execinfo" option to force linking libexecinfoRémi Verschelde
Fixes #20035.
2018-07-21-Fix disable_3d flagJuan Linietsky
-Add extra flag optimize=[size,speed] to be able to prioritize size
2018-07-21Added a new MIDIDriver classMarcelo Fernandez
2018-07-20Fix some more build issues after c69de2ba4Rémi Verschelde
Fixes #20301.
2018-07-20Fix build issues and typos after c69de2ba4Rémi Verschelde
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-18Fix OpenGL buffer depth for per pixel transparency support (Windows, NVIDIA)bruvzg
2018-07-18Style: Format code with clang-format 6.0.1Rémi Verschelde