aboutsummaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #7985 from Faless/enet_godot_sock_squashRémi Verschelde2017-03-243-12/+27
|\ \ | | | | | | Update ENet to use Godot sockets.
| * | ENet code cleanup and changes from review.Fabio Alessandrelli2017-03-241-7/+0
| | |
| * | Update ENet module to support custom ENet libFabio Alessandrelli2017-03-243-9/+31
| | | | | | | | | | | | Keep compatibility with upstream enet libraries
* | | Fix typos in source code using codespellRémi Verschelde2017-03-249-20/+20
| |/ |/| | | | | From https://github.com/lucasdemarchi/codespell
* | Merge pull request #8095 from RandomShaper/fix-yield-crashRémi Verschelde2017-03-211-1/+1
|\ \ | | | | | | Fix random crashes when using yield()
| * | Fix random crashes when using yield()Pedro J. Estébanez2017-03-211-1/+1
| | |
* | | Fix linking order for builtin freetypeRémi Verschelde2017-03-191-18/+14
| | | | | | | | | | | | | | | | | | Before this change the libfreetype_builtin.a lib would be appended at the very end of the linking flags, after system libs such as -lX11 or -lkernel32.
* | | Merge pull request #8051 from RayKoopa/resizable_new_node_dialogRémi Verschelde2017-03-181-1/+1
|\ \ \ | | | | | | | | Make Create New Node dialog resizable and burninate old dialog
| * | | Make Create New Node dialog resizable and burninate old dialogRay Koopa2017-03-181-1/+1
| |/ /
* / / Fixed typo in gdscript autocompletion.mbalint122017-03-171-1/+1
|/ / | | | | | | There was a missing '!' sign, but autocompletion shows parent script members too.
* / Skip asserts on non-debug builds at compiler levelPedro J. Estébanez2017-03-131-0/+2
|/
* Make that Whole New World great againRémi Verschelde2017-03-051-1/+2
| | | | Fix regression from 5dbf180 that broke Windows build.
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-0584-16517/+13837
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-0527-4/+744
|
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-055-14/+14
| | | | | | The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
* Added missing FIXMEs in PR #7878Ferenc Arn2017-03-021-1/+1
|
* Merge pull request #7878 from RebelliousX/elseRémi Verschelde2017-02-283-3/+3
|\ | | | | Bunch of missing `else` statements and general logic
| * Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-283-3/+3
| | | | | | | | | | | | | | - Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
* | Inf and NaN support added to GDScript.Saracen2017-02-288-2/+50
|/
* Merge pull request #7851 from shlomif/fix-some-compilation-warningsRémi Verschelde2017-02-262-5/+6
|\ | | | | Get rid of some compilation warnings.
| * Fix some compilation warnings.Shlomi Fish2017-02-212-5/+6
| | | | | | | | | | | | Redone the commit based on the input in https://github.com/godotengine/godot/pull/7851 . Not all warnings were fixed but it's a start.
* | Merge pull request #7827 from volzhs/libwebp-0.6.0Rémi Verschelde2017-02-261-89/+99
|\ \ | | | | | | Update libwebp to 0.6.0
| * | Update libwebp to 0.6.0volzhs2017-02-171-89/+99
| | |
* | | Merge pull request #7809 from hpvb/fix-6798Rémi Verschelde2017-02-261-4/+25
|\ \ \ | | | | | | | | Allow preload to accept a const string.
| * | | Allow preload to accept a const string.Hein-Pieter van Braam2017-02-161-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In preload() parsing this code will lookup the identifier in the local constant database. If the identifier corresponds to a string constant it is used as the path for preload(). Currently this does not work for global constants, only constants declared in the same class as the preload is happening. We can implement a full fix too. Maybe we can use this PR to discuss the possibilities. This (partially) fixes #6798
* | | | -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-219-9/+9
| |_|/ |/| | | | | | | | | | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* | | Correct hash behavior for floating point numbersHein-Pieter van Braam2017-02-162-2/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes HashMap where a key or part of a key is a floating point number. To fix this the following has been done: * HashMap now takes an extra template argument Comparator. This class gets used to compare keys. The default Comperator now works correctly for common types and floating point numbets. * Variant implements ::hash_compare() now. This function implements nan-safe comparison for all types with components that contain floating point numbers. * Variant now has a VariantComparator which uses Variant::hash_compare() safely compare floating point components of variant's types. * The hash functions for floating point numbers will now normalize NaN values so that all floating point numbers that are NaN hash to the same value. C++ module writers that want to use HashMap internally in their modules can now also safeguard against this crash by defining their on Comperator class that safely compares their types. GDScript users, or writers of modules that don't use HashMap internally in their modules don't need to do anything. This fixes #7354 and fixes #6947.
* | Many fixes to make exported scenes work better, still buggy.Juan Linietsky2017-02-155-579/+82
| |
* | -begin of export work, not done yetJuan Linietsky2017-02-151-0/+2
|/ | | | -fixes to make scenes exported from godot 2.x work
* Remove bounds check when resuming from yield.Hein-Pieter van Braam2017-02-131-1/+1
| | | | | | | | | | | | | | The code would get a pointer to the beginning of the call_args by using operator[] at the stack Vector. This does bound checking. When there are no call_args this bound check fails and the error mentioned in #7796 gets triggered. This bound check is actually not necessary as call_args just gets set to NULL and never dereferenced. This new code will just unconditionally set the pointer to the place where the call_args are if there are any. There is no NULL check for call_args anywhere so this is safe. Fixes #7796
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-1313-265/+265
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-138-75/+75
| | | | This saves typing and is a step towards fixing #56
* Merge pull request #7723 from lonesurvivor/gdscript-range-fixRémi Verschelde2017-02-121-4/+3
|\ | | | | Fix parsing bug which causes range(variable) to crash the engine
| * Fix parsing bug which causes range(variable) to crash the enginelonesurvivor2017-02-041-4/+3
| | | | | | | | | | | | | | problem was a segmentation fault caused by trying to access Vector constants[0] which isn't there if op->arguments.size() is not bigger than one. - the changed OR condition didn't make sense (always true), should be AND - changes the "constant" variable to be false per default and gets set to true when there is actually something pushed to "constants"
* | Several bugfixes, improving the import workflowJuan Linietsky2017-02-062-12/+12
|/
* Changed OGG Vorbis type to be imported, so it's possible to specify loopJuan Linietsky2017-02-035-76/+184
|
* Removed import/export system, will start new one from scratch.Juan Linietsky2017-01-251-3/+4
|
* Merge pull request #7583 from karroffel/wildcardRémi Verschelde2017-01-233-7/+9
|\ | | | | made _ a special token in GDScript
| * made _ a special token in GDScriptkarroffel2017-01-203-7/+9
| |
* | WIP new AudioServer, with buses, effects, etc.Juan Linietsky2017-01-216-0/+411
| |
* | Overloaded basic math funcs (double and float variants). Use real_t rather ↵Ferenc Arn2017-01-162-63/+63
|/ | | | | | than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions.
* Merge pull request #7532 from tagcup/pcg_prngRémi Verschelde2017-01-162-4/+4
|\ | | | | Replace the existing PRNG (Xorshift31) with (minimal) PCG-32.
| * Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant ↵Ferenc Arn2017-01-152-4/+4
| | | | | | | | | | | | with 32-bit output, 64-bit state). PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed.
* | Style: Various fixes to play nice with clang-formatRémi Verschelde2017-01-163-27/+33
| |
* | Style: Fix statements ending with ';;'Rémi Verschelde2017-01-169-17/+17
| |
* | Style: No break before list braceRémi Verschelde2017-01-161-2/+1
| | | | | | | | | | | | | | clang-format does not handle that well *at all*. For the reference, found the relevant pieces of code with: `ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty`
* | Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-164-4/+4
| | | | | | | | | | | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* | Oops! Audio engine has vanished :DJuan Linietsky2017-01-1554-12916/+10
| |
* | Style: Cosmetic fixes to play nice with clang-formatRémi Verschelde2017-01-153-78/+107
|/
* Compile error when duplicate key in dictionery literal #7034James Mintram2017-01-141-0/+11
|