Commit graph

6601 commits

Author SHA1 Message Date
Rémi Verschelde
44d386ee80 Merge pull request #7645 from tagcup/x11_optimization_flags_v2
Use -Ofast on x11. Also introduced use_lto option.
2017-02-02 08:06:06 +01:00
Rémi Verschelde
ff4ca593e2 Merge pull request #7704 from volzhs/fix-compile-error
Fix compile error
2017-02-02 07:55:40 +01:00
volzhs
5f54b20e2f Fix compile error 2017-02-02 11:18:37 +09:00
Juan Linietsky
b3aebcf6df CSV translation import plugin 2017-02-01 20:41:05 -03:00
Juan Linietsky
2cd2ca7bbc Lot of work in new importer, importing textures now works. 2017-02-01 09:46:36 -03:00
eska
e06edc67c0 Enable WebGL2 in web export, start fixing build
Will not yet compile
2017-02-01 10:21:04 +01:00
marcelofg55
474e3ac055 Fix issues with set_window_resizable on x11 2017-01-30 13:25:48 -03:00
Karroffel
a7b1f9ee5a corrected ClassDB::insatnce() return type 2017-01-30 14:13:13 +01:00
Rémi Verschelde
36b6ba8e94 Merge pull request #7680 from cbscribe/master
grammar fixes, it's -> its
[ci skip]
2017-01-30 08:13:13 +01:00
Chris Bradfield
10176228b2 grammar fixes, it's -> its 2017-01-29 23:01:34 -08:00
Andreas Haas
a64a348054
SceneTreeDock: Fix crash when dragging invalid nodes.
Fixes #7529
2017-01-29 14:32:40 +01:00
Pedro J. Estébanez
e4cc483f4c Replicate load-as-placeholder state on node duplication
Cherry-picked from 936f2e3b4e
2017-01-29 11:56:10 +01:00
Paulb23
6b42cd5fe6 Fixed line lenght guideline drawing with color option 2017-01-28 14:36:57 +00:00
Ferenc Arn
7a85d25218 Use -Ofast on x11. Also introduced use_lto option.
debug_release doesn't turn off optimizations for release target now. Ensure that sanitizer options apply to both C and C++ files.

Built-in optimization/debug flags are prepended such that user-specified flags can override them.

Based on and around the discussion in PR #5194.
2017-01-26 19:32:27 -06:00
Juan Linietsky
96de0141cc Removed import/export system, will start new one from scratch. 2017-01-25 21:57:08 -03:00
Ray Koopa
f279df2654 Added warning when removing animations 2017-01-25 21:22:16 +01:00
Fabio Alessandrelli
9100db7b94 Keyboard Input modifiers do not block actions.
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
2017-01-25 21:21:19 +01:00
Rémi Verschelde
ae258e2679 Merge pull request #7640 from volzhs/fix-scrollbar-2d-editor-3.0
Fix weird scrollbar appearance on 2D editor (3.0 master)
2017-01-25 20:39:31 +01:00
Rémi Verschelde
831d9b925a Merge pull request #7563 from RayKoopa/extended_list_dir_begin
Add parameters to Directory.list_dir_begin() to skip navigational or hidden entries
2017-01-25 20:22:34 +01:00
Rémi Verschelde
266fbd8c76 Merge pull request #7642 from guilhermefelipecgs/add_category
Add run/output category
[ci skip]
2017-01-25 20:17:03 +01:00
Rémi Verschelde
4b9ec15124 Merge pull request #7542 from volzhs/modulate-transparency
Show transparency and accurate color for modulate
2017-01-25 19:58:41 +01:00
Ilija Boshkov
1005a56e5a Added focus tracking in X11 and Windows classes, added new confined mouse mode (#7162) 2017-01-25 19:21:41 +01:00
Juan Linietsky
4c28f35b2c Merge pull request #7002 from RandomShaper/vcs-friendliness
Greater VCS friendliness
2017-01-25 14:52:40 -03:00
Juan Linietsky
7e1afeafd4 Audio bus editing is COMPLETE! 2017-01-25 14:31:52 -03:00
Guilherme Felipe
d59d899103 Add run/output category 2017-01-25 15:13:07 -02:00
volzhs
f3d2036046 Fix weird scrollbar appearance on 2D editor (3.0 master) 2017-01-25 23:41:19 +09:00
Rémi Verschelde
355ce0d0de Merge pull request #7635 from RandomShaper/fs-split-layout
Include filesystem dock split offset in editor layouts
2017-01-25 07:37:42 +01:00
Rémi Verschelde
5726923897 Merge pull request #7631 from RandomShaper/fix-android-module-res
Fix resources for Android modules not being merged (master)
2017-01-25 07:29:10 +01:00
Pedro J. Estébanez
35b7295a71 Include filesystem dock split offset in editor layouts
Cherry-picked from 2ac89f6540
2017-01-25 02:48:30 +01:00
Pedro J. Estébanez
b84f58262c Fix resources for Android modules not being merged
Fixes #7421
2017-01-25 00:21:53 +01:00
Juan Linietsky
e8d3436508 delete bus effects is now possible 2017-01-24 20:12:23 -03:00
Rémi Verschelde
838490ce5d Merge pull request #7629 from RayKoopa/too_much_pi_is_bad_for_your_health
Fix VC++ build by using math_funcs constants for M_PI and M_SQRT2
2017-01-25 00:05:12 +01:00
Ray Koopa
1ce9bbc8ed Added parameters to skip hidden and/or navigational file system entries 2017-01-24 21:07:02 +01:00
Ray Koopa
ad3e1a9067 Use constants from math_funcs rather than unstandardized C++ constants. 2017-01-24 19:24:55 +01:00
volzhs
92363a2afe Show transparency and accurate color for modulate 2017-01-24 21:51:08 +09:00
Juan Linietsky
87bb6cdc6f Ability to drag and drop around audio effects! 2017-01-24 00:19:31 -03:00
Juan Linietsky
3b019bf644 Ability to delete, drag and drop audio buses! 2017-01-23 23:12:41 -03:00
Juan Linietsky
2527566ca8 Merge pull request #7621 from Hinsbart/modified_time
Add ClassDB binding for File.get_modified_time
2017-01-23 22:07:02 -03:00
Juan Linietsky
0ff37cff62 Added audio bus phaser effect, welcome to the 70s, baby! 2017-01-23 18:37:14 -03:00
Andreas Haas
5ec0610c60
Add ClassDB binding for File.get_modified_time
Closes #7613
2017-01-23 22:33:58 +01:00
Fabio Alessandrelli
5dc7c920bf Fix buffer size check in UDP socket.
We were reserving 12 bytes from the buffer for ip, port, and length, but since
IPv6 introduction we should be reserving 24 (IPv6 are 16 bytes)
2017-01-23 20:18:23 +01:00
Fabio Alessandrelli
9336857132 Use default UDP ring buffer size of 65536 for clients
We should probably create a specific function for setting the
recv buffer anyway. UDP sockets does not need to bind (listen)
to be able to call recvfrom. This is especially useful for clients
who just call set_send_address and start communicating with a server.
2017-01-23 20:18:23 +01:00
Fabio Alessandrelli
68dc969f8c Fix bug causing UDP socket to close after the first send if not listening
The ring buffer for receiving packets was not resized in constructor
2017-01-23 20:18:23 +01:00
Fabio Alessandrelli
fa0cb7da0e Avoid deadlock when writing/reading data on a connecting TCP socket
TCP status polling is always performed as non blocking.
Trying to put a packet on a connecting socket will fail immediately.
2017-01-23 20:18:23 +01:00
Fabio Alessandrelli
e5e4e7b6a9 Update docs reference for TCP_Server::listen and UDPPacketPeer::listen 2017-01-23 20:18:23 +01:00
Fabio Alessandrelli
619e7a2c8b Bind to IPv4 on OpenBSD when using wildcard
OpenBSD does not support binding on both IPv4 and IPv6 using the same socket
2017-01-23 20:18:23 +01:00
Fabio Alessandrelli
88a56ba783 Remove set_ip_type from network classes (no longer needed)
- 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)
2017-01-23 20:18:22 +01:00
Fabio Alessandrelli
2fe4ef6699 Implement UDP listen bind address 2017-01-23 20:18:18 +01:00
Fabio Alessandrelli
b2839343ca Implement TCP Server bind address 2017-01-23 20:15:20 +01:00
Fabio Alessandrelli
4198291cd4 IP_Address can now be a wildcard (not a valid IP, used for binding) 2017-01-23 20:15:20 +01:00