aboutsummaryrefslogtreecommitdiff
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* i18n: Add support for Scots (sco) languageRémi Verschelde2017-01-121-0/+1
| | | | | | Fixes #6931. (cherry picked from commit ede36aca8d65e39b78520d45d3b3c29a99d4e17e)
* exposed OS.set_exit_code and OS.get_exit_code to ObjectTypeDBkarroffel2017-01-122-0/+16
| | | | (cherry picked from commit fbfcc981d95d94a3d7dfbc214e37bb02da3dec66)
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-12230-230/+230
| | | | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games! (cherry picked from commit c7bc44d5ad9aae4902280012f7654e2318cd910e)
* Properly localize absolute path.Fabio Alessandrelli2017-01-121-1/+2
| | | | | | | | | | Calling localize_path will return a localized path in res:// if the path starts with the resource file-system/folder, and will return the unchanged absolute path otherwise. Closes #6979 and #7161. (cherry picked from commit cdc97ca4535e99fdcb10f21c4609c2f79e94589b)
* Remove extraneous line in .po reader, which caused it to disregard first lineBojidar Marinov2017-01-121-2/+0
| | | | | | Fixes #7337 (cherry picked from commit 474eafbbf68036251666cc1c4e86a82876b59e61)
* Add named colors to GDScript/core.Bojidar Marinov2017-01-123-1/+172
| | | | | | Names and values taken from https://en.wikipedia.org/wiki/X11_color_names (cherry picked from commit 23381a530bb4a9c8e8c3e883a7d588bf832cd277)
* Add Array.front() and Array.back()Kazuo2562017-01-123-0/+17
| | | | (cherry picked from commit bf4fda64fd403d589278919cff01c3207164207e)
* Expose HTTP classes' set_ip_type to scriptingFabio Alessandrelli2017-01-042-6/+10
| | | | (cherry picked from commit d194e1c48e5d161f0310ee17e63f1951e2c50de6)
* Separate hostname resolve cache based on ip_typeFabio Alessandrelli2017-01-041-11/+15
| | | | (cherry picked from commit c1c1ec690e66c09178b6883e332a38fc9d8ad890)
* IP_Address now handle IPv4 and IPv6 transparentlyFabio Alessandrelli2017-01-043-47/+65
| | | | | | | | | | | | IP_Address changes: - Converts to and from String transparently while handling IPv4 as IPv6 mapped (::ffff:[IP]) address internally. - Completely remove AddrType enum. - Setting/Getting of ip array is now only possible through dedicated functions (ie. set_ipv4, get_ipv4, set_ipv6, get_ipv6) - Add function to know if the address is a valid IPv4 (for IP implementation and enet) (cherry picked from commit 1aff508dd9713abf0db0d0436fa7f7c4788c5a4a)
* Allow setting ip_type for TCP/UDP and HTTP classesFabio Alessandrelli2017-01-048-0/+26
| | | | (cherry picked from commit a77a0118f6b0d0878a53e2c963d91763b311163d)
* Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli2017-01-0411-36/+30
| | | | (cherry picked from commit c18c5013f837ea7d4de2f022d36f84e0abce6439)
* Use an instance variable for ip_type in raw socketsFabio Alessandrelli2017-01-046-15/+24
| | | | | | | | | PacketPeerUDP/StreamPeerTCP/TCP_Server now uses an instance variable to store the selected ip_type (IPv4/IPv6/ANY, where ANY = dual stack). All calls to resolve addresses, sending/receving data, connecting/listening will use that socket type. (cherry picked from commit 95bdd977686005d3d813eb09aca625384f1774c1)
* Set proper ip_type default for listen() and resolve_hostname()Fabio Alessandrelli2016-12-113-4/+4
| | | | (cherry picked from commit 7eef15b73460062e4558857969919313e461f1e4)
* Add optional IP type param in TCP/UDP connect/set_send_addressFabio Alessandrelli2016-12-114-5/+24
| | | | (cherry picked from commit 2f1c8592721eca1e6a71f419208f99977ceab2d9)
* TCPServer listen now default to IP type ANY (v6 socket with v4 support)Fabio Alessandrelli2016-12-112-3/+3
| | | | (cherry picked from commit ee69bd81cfa67eb5c642604f0f43d711ab370faf)
* added implementation of is_valid_ip_address()Ariel Manzur2016-12-112-20/+73
| | | | (cherry picked from commit a3131a6b5bf5357e5c70ba6fea4a0963f4b341b4)
* added windows support for ipv6, cleaned up unix codeAriel Manzur2016-12-112-2/+15
| | | | (cherry picked from commit 672225b710815865449e7930255468d1c085b137)
* address type for http clientAriel Manzur2016-12-112-4/+5
| | | | (cherry picked from commit 1c2ac490cf157402cac7f9dbc2a293d0c922def8)
* fixed some byte order and parsing problemsAriel Manzur2016-12-111-20/+32
| | | | (cherry picked from commit 1d45f35a4a190360fea74e51b66457efe44d3177)
* adding ipv6Ariel Manzur2016-12-119-45/+230
| | | | (cherry picked from commit 887a897c02144f2d01896d3112bdae5ce7d6df5c)
* vsnc --> vsyncISylvox2016-11-154-6/+6
| | | | (cherry picked from commit b5c383fd61d554fa02c3e231dd1f92145d90e04e)
* Some missing License notice has been addedSPTelur2016-11-152-0/+59
| | | | (cherry picked from commit df737ebb4675d4fb00fe424ab40ee5c9a65ac888)
* Clean/fix triangulation internalsPedro J. Estébanez2016-11-152-13/+5
| | | | | | | | Drop unused variable Remove commented-out code Fix leak by using Vector instead of raw memory (cherry picked from commit 0e1972aa5165722e677850bbf799af8ab6751a8d)
* Fix wrong number for ERR_* on commentvolzhs2016-11-151-12/+12
| | | | (cherry picked from commit 42f23801907f8756ae902e90834ec734e6546bb4)
* memory ops implemented as OS functions by defaultAriel Manzur2016-11-082-121/+8
|
* style: Various other PEP8 fixes in Python filesRémi Verschelde2016-11-021-4/+4
| | | | | | | | | | | | Done with `autopep8 --select=E7`, fixes: - E701 - Put colon-separated compound statement on separate lines. - E702 - Put semicolon-separated compound statement on separate lines. - E703 - Put semicolon-separated compound statement on separate lines. - E711 - Fix comparison with None. - E712 - Fix (trivial case of) comparison with boolean. - E713 - Fix (trivial case of) non-membership check. - E721 - Fix various deprecated code (via lib2to3).
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-021-1/+0
| | | | | | | | | | | Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
* style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-026-101/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
* style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-022-98/+98
| | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
* Fix locale for macOS-style localesDamon2016-10-311-6/+12
| | | | (cherry picked from commit 1e7f078ce9832a1b53be587d1d4cfbd14b760623)
* Change set_locale to fallback to the global language (#6910)Damon Myers2016-10-311-6/+27
| | | | (cherry picked from commit 470ead74dbc3d6ea7133ab90c0d09ed637e7a5f5)
* Fix comparison bug with InputEventvolzhs2016-10-311-1/+2
| | | | (cherry picked from commit b76a0ca40c02a29692ca124dd1d28a3cecc6c3fb)
* SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-305-0/+10
| | | | | | Also switch existing shebangs to "better" /usr/bin/env python. (cherry picked from commit fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163)
* Added a generic AStar implementation to Godot.Juan Linietsky2016-10-183-0/+506
| | | | | | It's pretty fast, use it for games where Navigation does not cut it. (cherry picked from commit 827a9aa8294e7e2405f645579cc3e7044f3be079)
* Properly handle absolute paths in Globals::localize_pathFabio Alessandrelli2016-10-171-1/+1
| | | | | | | This give a proper fix for #4280 - #3106 , allowing absolute paths that starts from the file system, not the resource folder (cherry picked from commit 2f2cea070e062415f290103f1823ab17ea4e5874)
* Fixes hash float negative 0 problemRăzvan Cosmin Rădulescu2016-10-171-1/+4
| | | | | | | | | | | | | Before this was giving an error: var a = {Vector2(1, 0): 5, Vector2(-1, 0): 7} print(a) print(a[Vector2(1, 0)]) print(a[-Vector2(1, 0)]) This simple commit fixes the issue. (cherry picked from commit 9ad0850301045e0d7fd243340e807fb2c9f736de)
* Added simple check to viewport, if matrix32 is invesile ↵Mateusz Adamczyk2016-10-091-1/+1
| | | | | | (https://github.com/godotengine/godot/issues/6296). (cherry picked from commit 8671836b76e8723a1d9021f8d7bf56ce5fdcc6f3)
* fixes #6331, Variant::can_convertRăzvan Cosmin Rădulescu2016-10-091-11/+3
| | | | (cherry picked from commit f2af5ab9499b343e72269239cb975dd91875bce9)
* Vector3: added angle_to(Vector3 other)J08nY2016-10-092-5/+9
| | | | (cherry picked from commit deb36b44d1a67157a44695ed7519605f431a3d89)
* Vector3: format properly, fix indentsJ08nY2016-10-092-97/+100
| | | | (cherry picked from commit f468cfc379ec74b802edf0bc89d3f65225d9250d)
* Improve debug focus behaviorPedro J. Estébanez2016-10-092-0/+4
| | | | | | | Fix focusing debugged game on Windows Add re-focusing editor on continue (cherry picked from commit 66dac878ac9fc278044281b7f67fbed668e4523d)
* Properly encode InputEvent of type NONE. Fix #5987Fabio Alessandrelli2016-10-091-1/+15
| | | | | | | | | | In the editor settings you can disable default editor shortcuts. When a default shortcut is disabled an InputEvent of type NONE must be stored in the config file to allow the editor to remember that setting. variant_parser.cpp was not properly encoding InputEvent of type NONE causing the "corruption" of the editor settings file. (cherry picked from commit 941f46038415bfdc52f61b68511c83fed59fc2fe)
* PCKPacker: moved from tools into core, fixes #4129J08nY2016-10-093-0/+253
| | | | (cherry picked from commit b1fba2e013e0dc53dec7406e5db4fbc65ad17a94)
* Fix typo for word_wrapvolzhs2016-10-092-2/+2
| | | | (cherry picked from commit c333659ebcdf41851761ebd3d8edc8e5e822164e)
* Fix error when using 2 or more slashes on resource pathvolzhs2016-10-091-0/+5
| | | | (cherry picked from commit 0866f49f4e2ac6f0400502f5e6ca9a13dd8c7db9)
* Throw error when trying to emit a non-existing signal.Andreas Haas2016-10-091-0/+9
| | | | | | closes #6017 (cherry picked from commit 276087e92dd707d990565a373ab9f51a3a52ef2d)
* Add function to get readable names for joystick eventsAndreas Haas2016-10-092-0/+9
| | | | | | Closes #6476 (cherry picked from commit e0fcd9331a7ce0e3afd7240a65ecf3e8c59ef9a3)
* Fix for #6158. Converting Vector2 to Size2 for scaling functions.anneomcl2016-10-092-24/+13
| | | | (cherry picked from commit aa5ade834c8646b81e2320089314393c00ee8020)
* Expose Vector2::clamped() to scriptsAndreas Haas2016-10-091-0/+2
| | | | | | | Needed this and wondered that there's no built-in function for it. So I wanted to implement it and saw that it's actually already there, just wasn't bound ^^ (cherry picked from commit c21412fa7e098ac31b5d667d4d9f8eee3f12a2cd)