Rémi Verschelde
f8db8a3faa
Bring that Whole New World to the Old Continent too
...
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6
.
2017-03-19 00:36:26 +01:00
Rémi Verschelde
1d418afe86
Prevent cyclical dependency issue after clang-format includes reorder
2017-03-19 00:33:35 +01:00
Rémi Verschelde
d4e0be7632
Add missing map.h include in color defs
...
(cherry picked from commit 5e13a762ec
)
2017-03-19 00:32:58 +01:00
Rémi Verschelde
16b78da941
Style: Various fixes to play nice with clang-format
...
(cherry picked from commit 2a0ddc1e89
)
2017-03-18 23:13:47 +01:00
Rémi Verschelde
dbf0137576
Style: Fix statements ending with ';;'
...
(cherry picked from commit f44ee891be
)
2017-03-18 21:14:33 +01:00
Rémi Verschelde
75bf6a9978
Style: Keep long lines for now
...
clang-format does not play well with tab-aligned multiline statements...
Some more research will be needed if we want to set a column limit.
(cherry picked from commit e2a3f06f3d
)
2017-03-18 21:06:07 +01:00
Rémi Verschelde
4bfecab813
Style: No break before list brace
...
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`
(cherry picked from commit 40323407df
)
2017-03-18 21:05:58 +01:00
Andreas Haas
8015ab0db3
Add ClassDB binding for File.get_modified_time
...
Closes #7613
(cherry picked from commit 5ec0610c60
)
2017-03-18 19:46:36 +01:00
Pedro J. Estébanez
6289997724
Fix ambiguity in StringName (null data vs. data with empty string)
2017-03-15 04:26:23 +01:00
BastiaanOlij
8436a34305
Core motion for Godot 2.x (based on PR 7127)
2017-03-09 21:46:38 +11:00
Rémi Verschelde
cc265d5506
Merge pull request #7910 from RandomShaper/single-field-prop-edit-2.1
...
Implement single-field property change for multinode edit (2.1)
2017-03-05 13:43:35 +01:00
Pedro J. Estébanez
e0170625ef
Expose uncapped versions of closest-point-to-segment utilities
2017-03-04 22:57:53 +01:00
Pedro J. Estébanez
25aedb896a
Expose Geometry::get_closest_point_to_segment_2d()
2017-03-04 01:49:16 +01:00
Pedro J. Estébanez
e46e12906a
Implement single-field property change for multinode edit
2017-03-02 10:48:24 +01:00
Juan Linietsky
d5c2a6b76b
Godot 2.1 to 3.0 conversion should be more or less final
2017-02-15 08:29:11 -03:00
Juan Linietsky
ebb7d2cdb7
-WIP Exporter to Godot 3.0, only text scenes (no .scn) and still kind of buggy
2017-02-12 23:13:14 -03:00
Rémi Verschelde
6abe141579
Merge pull request #7756 from volzhs/str-format
...
Fix zero padding formatting
2017-02-12 23:20:13 +01:00
Rémi Verschelde
11b95cda45
Merge pull request #7750 from Faless/2.1.x_fix_7697
...
HTTPClient properly handle partial data in non-blocking mode
2017-02-12 23:19:10 +01:00
Rémi Verschelde
331ff9db77
Merge pull request #7742 from karroffel/json_parsing
...
JSON::parse reports errors on open-ended objects
2017-02-12 23:17:11 +01:00
Nuno Donato
7496b2f862
Added "Scots" locale name, fixing #7630
...
(cherry picked from commit 6b5c595e40
)
2017-02-08 16:18:59 +01:00
volzhs
7ebb356a31
Fix zero padding formatting
2017-02-08 10:40:35 +09:00
Fabio Alessandrelli
1f08d17a98
HTTPClient properly handle partial data in non-blocking mode
...
Use block to send DVector::Write out of scope in
HTTPClient::read_response_body_chunk()
(cherry picked from commit 833994b294
)
2017-02-07 11:05:14 +01:00
Karroffel
85793ccc4a
JSON::parse reports errors on open-ended objects
2017-02-06 19:22:42 +00:00
Pedro J. Estébanez
888f8b31e7
Improve .tscn VCS
...
Serialize dictionaries adding newlines between key-value pairs
Serialize group lists also with newlines in between
Serialize string properties escaping only " and \ (needed for a good diff experience with built-in scripts and shaders)
Bonus:
Make AnimationPlayer serialize its blend times always sorted so their order is predictable in the .tscn file.
This PR is back-compat; won't break the load of existing files.
Cherry-picked from 7dbb1c0571
2017-01-25 20:11:10 +01:00
Rémi Verschelde
349e62835b
i18n: Add support for Scots (sco) language
...
Fixes #6931 .
(cherry picked from commit ede36aca8d
)
2017-01-12 19:15:30 +01:00
karroffel
b1fc41a301
exposed OS.set_exit_code and OS.get_exit_code to ObjectTypeDB
...
(cherry picked from commit fbfcc981d9
)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
d8223ffa75
Welcome in 2017, dear changelog reader!
...
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 c7bc44d5ad
)
2017-01-12 19:15:30 +01:00
Fabio Alessandrelli
6940830627
Properly localize absolute path.
...
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 cdc97ca453
)
2017-01-12 19:15:28 +01:00
Bojidar Marinov
71b35c527f
Remove extraneous line in .po reader, which caused it to disregard first line
...
Fixes #7337
(cherry picked from commit 474eafbbf6
)
2017-01-12 19:15:28 +01:00
Bojidar Marinov
85585c7fc5
Add named colors to GDScript/core.
...
Names and values taken from https://en.wikipedia.org/wiki/X11_color_names
(cherry picked from commit 23381a530b
)
2017-01-12 19:15:27 +01:00
Kazuo256
b56c00cc56
Add Array.front() and Array.back()
...
(cherry picked from commit bf4fda64fd
)
2017-01-12 19:15:26 +01:00
Fabio Alessandrelli
7a77fd1cd5
Expose HTTP classes' set_ip_type to scripting
...
(cherry picked from commit d194e1c48e
)
2017-01-04 00:46:33 +01:00
Fabio Alessandrelli
3bb1709fd7
Separate hostname resolve cache based on ip_type
...
(cherry picked from commit c1c1ec690e
)
2017-01-04 00:46:33 +01:00
Fabio Alessandrelli
00fdcf3cd0
IP_Address now handle IPv4 and IPv6 transparently
...
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 1aff508dd9
)
2017-01-04 00:46:33 +01:00
Fabio Alessandrelli
7ef71b9013
Allow setting ip_type for TCP/UDP and HTTP classes
...
(cherry picked from commit a77a0118f6
)
2017-01-04 00:46:33 +01:00
Fabio Alessandrelli
e8a6cbc897
Migrate int.IP_TYPE_ constants to IP.TYPE_
...
(cherry picked from commit c18c5013f8
)
2017-01-04 00:46:32 +01:00
Fabio Alessandrelli
a46a643f90
Use an instance variable for ip_type in raw sockets
...
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 95bdd97768
)
2017-01-04 00:46:32 +01:00
Fabio Alessandrelli
2fff8e8cde
Set proper ip_type default for listen() and resolve_hostname()
...
(cherry picked from commit 7eef15b734
)
2016-12-11 18:12:46 +01:00
Fabio Alessandrelli
a2048efd72
Add optional IP type param in TCP/UDP connect/set_send_address
...
(cherry picked from commit 2f1c859272
)
2016-12-11 18:12:45 +01:00
Fabio Alessandrelli
6e0de0cce8
TCPServer listen now default to IP type ANY (v6 socket with v4 support)
...
(cherry picked from commit ee69bd81cf
)
2016-12-11 18:12:45 +01:00
Ariel Manzur
5546929712
added implementation of is_valid_ip_address()
...
(cherry picked from commit a3131a6b5b
)
2016-12-11 12:35:06 +01:00
Ariel Manzur
d8b0070b8c
added windows support for ipv6, cleaned up unix code
...
(cherry picked from commit 672225b710
)
2016-12-11 12:35:06 +01:00
Ariel Manzur
904285f4b4
address type for http client
...
(cherry picked from commit 1c2ac490cf
)
2016-12-11 12:35:06 +01:00
Ariel Manzur
53fea7f196
fixed some byte order and parsing problems
...
(cherry picked from commit 1d45f35a4a
)
2016-12-11 12:35:06 +01:00
Ariel Manzur
fd1022fd29
adding ipv6
...
(cherry picked from commit 887a897c02
)
2016-12-11 12:35:06 +01:00
ISylvox
0413d85add
vsnc --> vsync
...
(cherry picked from commit b5c383fd61
)
2016-11-15 08:34:43 +01:00
SPTelur
51fe9fc132
Some missing License notice has been added
...
(cherry picked from commit df737ebb46
)
2016-11-15 08:34:16 +01:00
Pedro J. Estébanez
fada9d7a8e
Clean/fix triangulation internals
...
Drop unused variable
Remove commented-out code
Fix leak by using Vector instead of raw memory
(cherry picked from commit 0e1972aa51
)
2016-11-15 08:30:09 +01:00
volzhs
2b00fdc679
Fix wrong number for ERR_* on comment
...
(cherry picked from commit 42f2380190
)
2016-11-15 08:29:09 +01:00
Ariel Manzur
67f65f6639
memory ops implemented as OS functions by default
2016-11-08 19:04:56 -03:00