summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2016-12-13Expose HTTP classes' set_ip_type to scriptingFabio Alessandrelli
2016-12-09Separate hostname resolve cache based on ip_typeFabio Alessandrelli
2016-12-09IP_Address now handle IPv4 and IPv6 transparentlyFabio Alessandrelli
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)
2016-12-09Allow setting ip_type for TCP/UDP and HTTP classesFabio Alessandrelli
2016-12-09Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli
2016-12-09Use an instance variable for ip_type in raw socketsFabio Alessandrelli
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.
2016-11-22Merge pull request #7149 from Kazuo256/array-lastGeorge Marques
Add Array.front() and Array.back()
2016-11-22Properly localize absolute path.Fabio Alessandrelli
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.
2016-11-18memory ops implemented as OS functions by defaultAriel Manzur
(cherry picked from commit 67f65f66391327b2967a20a89c3627e1dd6e84eb)
2016-11-18Add Array.front() and Array.back()Kazuo256
2016-11-15Blimey! Ye Pirate locale be anchor' a'port!Rémi Verschelde
2016-11-12Merge pull request #6968 from neikeq/pr-register-trnglmeshIgnacio Etcheverry
Core: Register TriangleMesh type
2016-11-11Merge pull request #6802 from henriquelalves/masterRémi Verschelde
Added small modification on gdscript parser to allow users insert '+' before variables
2016-11-11Merge pull request #6862 from Faless/fix_6388Rémi Verschelde
Fix Keyboard Input Hangs when using modifiers
2016-11-09Merge pull request #7039 from RandomShaper/fix-triangulationRémi Verschelde
Clean/fix triangulation internals
2016-11-09Merge pull request #7070 from ISylvox/vsnc-to-vsyncRémi Verschelde
Renames vsnc to vsync
2016-11-08vsnc --> vsyncISylvox
2016-11-07Some missing License notice has been addedSPTelur
2016-11-06Merge pull request #7048 from neikeq/pr-marshals-singletonGeorge Marques
Add singleton instance to _Marshalls
2016-11-05Core: Add singleton instance to _MarshallsIgnacio Etcheverry
2016-11-05Clean/fix triangulation internalsPedro J. Estébanez
Drop unused variable Remove commented-out code Fix leak by using Vector instead of raw memory
2016-11-04Fix wrong number for ERR_* on commentvolzhs
2016-11-01style: Various other PEP8 fixes in Python filesRémi Verschelde
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).
2016-11-01style: Fix PEP8 blank lines issues in Python filesRémi Verschelde
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.
2016-11-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
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.
2016-11-01style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde
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.
2016-10-30Set proper ip_type default for listen() and resolve_hostname()Fabio Alessandrelli
2016-10-30Add optional IP type param in TCP/UDP connect/set_send_addressFabio Alessandrelli
2016-10-30TCPServer listen now default to IP type ANY (v6 socket with v4 support)Fabio Alessandrelli
2016-10-30Merge pull request #6751 from SuperUserNameMan/new_PRNG_for_rand_from_seedRémi Verschelde
xorshift32 PRNG for Math::rand_from_seed()
2016-10-30Core: Register TriangleMesh typeIgnacio Etcheverry
2016-10-29Merge pull request #6901 from volzhs/fix-inputevent-compareIgnacio Etcheverry
Fix comparison bug with InputEvent
2016-10-27Fix locale for macOS-style localesDamon
2016-10-27Change set_locale to fallback to the global language (#6910)Damon Myers
2016-10-26Merge pull request #6925 from godotengine/ipv6Rémi Verschelde
Adding IPv6 support
2016-10-23Fix comparison bug with InputEventvolzhs
2016-10-22Added small modification on parser for '+'Henrique L. Alves
2016-10-20added implementation of is_valid_ip_address()Ariel Manzur
2016-10-20added windows support for ipv6, cleaned up unix codeAriel Manzur
2016-10-19address type for http clientAriel Manzur
2016-10-19fixed some byte order and parsing problemsAriel Manzur
2016-10-19Fix Keyboard Input Hangs when using modifiersFabio Alessandrelli
Main input parsing loop only update actions for keyboard if the state has changed. `InputMap::event_is_action` now ignores keyboard modifiers if the event is not pressed. Clarify difference between `InputMap::action_has_event` and `InputMap::event_is_action` in docs. Fixes #6388.
2016-10-18adding ipv6Ariel Manzur
2016-10-17Merge pull request #6850 from akien-mga/pr-scsub-shebangRémi Verschelde
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17Merge pull request #6733 from Cruel/patch-1Rémi Verschelde
Use int consistently instead of int32_t for Vectors
2016-10-17Merge pull request #6698 from razvanc-r/fix_hash_floatRémi Verschelde
Fixes hash float negative 0 problem
2016-10-13Properly handle absolute paths in Globals::localize_pathFabio Alessandrelli
This give a proper fix for #4280 - #3106 , allowing absolute paths that starts from the file system, not the resource folder
2016-10-12Fixes hash float negative 0 problemRăzvan Cosmin Rădulescu
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.
2016-10-10xorshift32 PRNG for Math::rand_from_seed()yg2f
should fixes #1043 PRNG adapted from : http://excamera.com/sphinx/article-xorshift.html