summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2018-07-29Ensure one shot signals are not disconnected while edited, closes #7776Juan Linietsky
2018-07-29It is now possible to import images as a separate resource, closes #5738 and ↵Juan Linietsky
likely many others
2018-07-29Fix marshalls size checks.Fabio Alessandrelli
Yesterday, when playing around with my network code, I realized there is a security issue in decode_variant, at least when decoding PoolArrays. Basically, the size of the PoolArray is encoded in a uint32_t, when decoding it, that value is cast to int when comparing if the packet is actually that size causing numbers with MSB=1 to be interpreted as negative thus always passing the check. That same value though, is used as uint32_t again to resize the output vector. For this reason, sending a malformed packet with declared type PoolByteArray and size of 2^31(+x) causes the engine to try to allocate 2+GB of pool memory, causing the engine to crash. (cherry picked from commit 5262d1bbcc81a06db66ac45c3f75535f231268bc)
2018-07-28fix windows build using python 3.7dragmz
fixes NameError (missing "subprocess_main" and "basestring")
2018-07-28Merge pull request #20464 from Calinou/add-editor-standalone-feature-tagsRémi Verschelde
Add "editor" and "standalone" feature tags
2018-07-28Merge pull request #20511 from maksloboda/InputEventActionFixRémi Verschelde
Fixed shortcuts not working with InputEventActions
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-27Fixed shortcuts not working with InputEventActionsMax
2018-07-26Merge pull request #20478 from mattiascibien/main_Scene_filterRémi Verschelde
Fix main scene file filter
2018-07-26doc: Sync classref with current sourceRémi Verschelde
Fix various missing arguments in bindings.
2018-07-26Fix main scene file filterMattias Cibien
2018-07-26Merge pull request #18282 from aaronfranke/better-mathfRémi Verschelde
[Core] [Mono] Fix Color missing int export methods, added 64-bit
2018-07-26Merge pull request #18955 from tagcup/fix_set_scaleRémi Verschelde
Removed incorrect Basis::set_scale().
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-25Add "editor" and "standalone" feature tagsHugo Locurcio
These feature tags can be used to check whether the project was started from an editor binary or from an export template binary.
2018-07-25Expose 64-bit Color methods to GDScript and fix/update Color XML docAaron Franke
2018-07-25[Core] 64-bit int Color methodsAaron Franke
2018-07-25Fix format ignores case in placeholderAlexander Holland
2018-07-25Merge pull request #20154 from marcelofg55/midi_driverRémi Verschelde
Added a new MIDIDriver class
2018-07-24Merge pull request #20411 from ibrahn/remove-substr-strlenRémi Verschelde
removed redundant strlen calculation from String::substr
2018-07-24Merge pull request #20407 from akien-mga/po-newline-eofMax Hilbrunner
Fix loading PO files with missing newline after last msgstr
2018-07-24removed redundant strlen calculation from String::substrIbrahn Sahir
2018-07-24Fix loading PO files with missing newline after last msgstrRémi Verschelde
Fixes #20375.
2018-07-24reduce clang warning spamkarroffel
2018-07-24Removed unnecessary assignmentsWilson E. Alvarez
2018-07-23Merge pull request #15880 from neikeq/better-collectionsIgnacio Etcheverry
Mono: Add Dictionary and Array classes
2018-07-23Merge pull request #19313 from RandomShaper/improve-imageJuan Linietsky
Image trilinear scaling + Optimization
2018-07-23Optimize image scaling routinesPedro J. Estébanez
2018-07-23Add trilinear filtering to image scalingPedro J. Estébanez
2018-07-23Merge pull request #12678 from AndreaCatania/softJuan Linietsky
Soft body
2018-07-23Added function append_array to vectorAndreaCatania
2018-07-22Fix upper/lower case convertion for characters >= 0x80Marcelo Fernandez
2018-07-21Added a new MIDIDriver classMarcelo Fernandez
2018-07-20Add editor highlight for type-safe linesGeorge Marques
The line number is hightlighted to indicate that the line contains only type-safe code.
2018-07-20Merge pull request #20157 from GodotExplorer/image-load-webpJuan Linietsky
Add webp buffer loader for Image
2018-07-20Fix build issues and typos after c69de2ba4Rémi Verschelde
2018-07-20Fix unwanted restartingvolzhs
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-18Several improvements to editor inspector usability and styleJuan Linietsky
2018-07-18Add Dictionary::erase_checked(key) methodIgnacio Etcheverry
Same as erase, but it returns a boolean value indicating whether the pair was erased or not. This method should be removed during the next compatibility breakage, and 'Dictionary::erase(key)' should be changed to return a boolean.
2018-07-18fix nameclash with MSVCkarroffel
2018-07-18Style: Format code with clang-format 6.0.1Rémi Verschelde
2018-07-18Fixed OS.has_feature not using custom feature tags.matthew1006
2018-07-17reworked ustring.rsplit to fix behaviour.Ibrahn Sahir
Previous problems include failure to remove the splitter from the last element found and a possible infinite loop dealing with multi-character splitter strings.
2018-07-17Merge pull request #20195 from Faless/ssl_handshakeMax Hilbrunner
Non-blocking SSL handshake
2018-07-17Add webp buffer loader for Imagegeequlim
Cleanup the code memory load related code for Image Fix jpeg buff load function always returns OK event failed
2018-07-16HTTP client now uses non blocking handshakeFabio Alessandrelli
2018-07-16Implement non blocking-handshake for StreamPeerSSLFabio Alessandrelli
2018-07-15Global class names (and GDScript support for it)Juan Linietsky
2018-07-09Added support for extra mouse buttons.unknown