aboutsummaryrefslogtreecommitdiff
path: root/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* really fixed PTRCALL nowKarroffel2017-03-053-6/+2
|
* Merge pull request #7958 from karroffel/powerstate-ptrcall-fixRémi Verschelde2017-03-052-0/+7
|\ | | | | Added PowerState casting operator to Variant
| * Added PowerState casting operator to VariantKarroffel2017-03-052-0/+7
| | | | | | | | Without it Godot does not build with PTRCALL_ENABLED
* | Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-058-2/+200
|/
* Merge pull request #7950 from RandomShaper/expose-more-geomRémi Verschelde2017-03-052-0/+15
|\ | | | | Expose uncapped versions of closest-point-to-segment utilities
| * Expose uncapped versions of closest-point-to-segment utilitiesPedro J. Estébanez2017-03-042-0/+15
| |
* | Add API to access battery power stateJulian Murgia2017-03-045-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Done: - X11, server (tested) - Windows (developed, would be nice to retest) - OSX (not tested) Prepared (not developed): - Android (code is here, but may not compile) - iphone - winrt - bb10 - haiku - javascript
* | Merge pull request #7940 from RandomShaper/expose-geometryRémi Verschelde2017-03-042-0/+7
|\ \ | | | | | | Expose Geometry::get_closest_point_to_segment_2d()
| * | Expose Geometry::get_closest_point_to_segment_2d()Pedro J. Estébanez2017-03-042-0/+7
| |/
* | Merge pull request #7911 from RandomShaper/single-field-prop-editRémi Verschelde2017-03-024-0/+219
|\ \ | |/ |/| Implement single-field property change for multinode edit
| * Implement single-field property change for multinode editPedro J. Estébanez2017-03-024-0/+219
| |
* | Merge pull request #7882 from AlexHolly/PoolStringArray-joinRémi Verschelde2017-03-022-0/+13
|\ \ | | | | | | added join to PoolStringArray
| * | added join to PoolStringArrayAlexHolly2017-03-012-0/+13
| | |
* | | Fix RANDOM_MAX, which is 2^32-1 with PCG32.Leandro Motta Barros2017-03-011-1/+1
| |/ |/|
* | Merge pull request #7878 from RebelliousX/elseRémi Verschelde2017-02-287-12/+10
|\ \ | | | | | | Bunch of missing `else` statements and general logic
| * | Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-287-12/+10
| | | | | | | | | | | | | | | | | | | | | - 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-281-0/+1
|/ /
* | Merge pull request #7830 from volzhs/str-format-3Rémi Verschelde2017-02-261-6/+9
|\ \ | |/ |/| Fix zero padding formatting
| * Fix zero padding formattingvolzhs2017-02-181-6/+9
| |
* | -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-2122-107/+110
| | | | | | | | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* | Correct hash behavior for floating point numbersHein-Pieter van Braam2017-02-167-39/+261
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-156-12/+83
|
* -begin of export work, not done yetJuan Linietsky2017-02-152-5/+5
| | | | -fixes to make scenes exported from godot 2.x work
* Revert "Make nan==nan true for GDScript"Juan Linietsky2017-02-149-99/+26
|
* Make nan==nan true for GDScriptHein-Pieter van Braam2017-02-149-26/+99
| | | | | | | | | | | | | After discussing this with Reduz this seemed like the best way to fix #7354. This will make composite values that contain NaN in the same places as well as the same other values compare as the same. Additionally non-composite values now also compare equal if they are both NaN. This breaks IEEE specifications but this is probably what most users expect. There is a GDScript function check for NaN if the user needs this information. This fixes #7354 and probably also fixes #6947
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-1330-570/+572
| | | | | | 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-136-20/+17
| | | | This saves typing and is a step towards fixing #56
* Merge pull request #7581 from Faless/v6_wild_bindRémi Verschelde2017-02-1211-65/+45
|\ | | | | TCP/UDP listen bind to address and bugfixes
| * Remove set_ip_type from network classes (no longer needed)Fabio Alessandrelli2017-01-238-42/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | - TCP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `connect` -> resolve using best protocol (UNSPEC), socket from address type - UDP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `put_packet`/`put_var` -> resolve using TYPE_ANY (UNSPEC), socket from address type (to change socket type you must first call `close` it)
| * Implement UDP listen bind addressFabio Alessandrelli2017-01-232-3/+3
| |
| * Implement TCP Server bind addressFabio Alessandrelli2017-01-232-13/+2
| |
| * IP_Address can now be a wildcard (not a valid IP, used for binding)Fabio Alessandrelli2017-01-232-1/+8
| |
| * Convert validity checks of IP_Address to is_valid method.Fabio Alessandrelli2017-01-235-7/+28
| |
* | Merge pull request #7749 from Faless/fix_7697Rémi Verschelde2017-02-121-2/+4
|\ \ | | | | | | HTTPClient properly handle partial data in non-blocking mode
| * | HTTPClient properly handle partial data in non-blocking modeFabio Alessandrelli2017-02-071-2/+4
| | | | | | | | | | | | | | | Use block to send DVector::Write out of scope in HTTPClient::read_response_body_chunk()
* | | Merge pull request #7743 from karroffel/json_parsing-3.0Rémi Verschelde2017-02-121-2/+2
|\ \ \ | | | | | | | | JSON::parse reports errors on open-ended objects (master)
| * | | JSON::parse reports errors on open-ended objectsKarroffel2017-02-061-2/+2
| | | |
* | | | Added "Scots" locale name, fixing #7630Nuno Donato2017-02-081-0/+1
| |/ / |/| |
* | | shadows were not working in-editor for nvidia, fixed nowJuan Linietsky2017-02-061-2/+0
|/ /
* | Several bugfixes, improving the import workflowJuan Linietsky2017-02-066-31/+53
| |
* | Ensure proper config version when reading the new configuration file.Juan Linietsky2017-02-041-0/+13
| |
* | Renamed engine.cfg to godot.cfg, to forcefully break compatibility with 2.xJuan Linietsky2017-02-042-23/+23
| |
* | Match ERROR_QUERY_FAILED enum with othersvolzhs2017-02-022-2/+2
| |
* | Merge pull request #7689 from eska014/webgl2Rémi Verschelde2017-02-023-1/+14
|\ \ | | | | | | Enable WebGL2 in web export, start fixing build
| * | Enable WebGL2 in web export, start fixing buildeska2017-02-013-1/+14
| | | | | | | | | | | | Will not yet compile
* | | Merge pull request #7681 from karroffel/classdb_typeRémi Verschelde2017-02-021-1/+1
|\ \ \ | | | | | | | | corrected ClassDB::instance() return type
| * | | corrected ClassDB::insatnce() return typeKarroffel2017-01-301-1/+1
| | | |
* | | | Merge pull request #7649 from Faless/fix_input_masterRémi Verschelde2017-02-022-4/+10
|\ \ \ \ | | | | | | | | | | Keyboard Input modifiers do not block actions.
| * | | | Keyboard Input modifiers do not block actions.Fabio Alessandrelli2017-01-252-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This means, if you press "F" while holding "shift" and there is and action registered for "F" that action should be pressed. This commit restore this behaviour, lost when implementing is_action_just_pressed. If you want "blocking modifiers" you should code it via script. Fixes 6826
* | | | | CSV translation import pluginJuan Linietsky2017-02-014-4/+26
| | | | |