Commit graph

6305 commits

Author SHA1 Message Date
Marcelo Fernandez a3a01332b8 Fix cvs files freezing the editor when a double quote is not closed 2017-07-25 22:00:47 -03:00
bruvzg 5c7ba482d0 Improved macOS window resizing behaviour.
Add redraw call to resize callback.
2017-07-25 12:11:39 +03:00
Rémi Verschelde ecc8382a8a Merge pull request #9834 from RandomShaper/fix-node-crash-2.1
Fix Node::move_child() crash if moving to the end plus one (2.1)
2017-07-25 08:12:30 +02:00
Rémi Verschelde 83dbab3033 Merge pull request #9824 from sowfelicity/2.1-clipboard
Workaround to allow pasting unicode characters from X selection(2.1).
2017-07-25 08:05:32 +02:00
Pedro J. Estébanez c1630f0e60 Fix Node::move_child() crash if moving to the end plus one
(cherry picked from commit 6c1b7fd899)
2017-07-25 05:21:58 +02:00
Jia Wang 5a5b6dcde0 Workaround to allow pasting unicode characters from X selection.
Fixes #2491.
Fixes #9787.
2017-07-25 07:27:27 +08:00
bruvzg 9ea472e810 Fix is_window_fullscreen() and set_window_fullscreen() behaviour after window has entered/left full-screen mode via green zoom button.
Fix get/set_current_screen & set_window_maximized.
2017-07-24 22:23:25 +03:00
bruvzg 0cd14e5bac Add macOS main menu 2017-07-24 14:32:07 +03:00
Rémi Verschelde 48007d8ec6 Merge pull request #9796 from marcelofg55/2.1
[2.1] Updated OS X audio driver with improvements from 3.0
2017-07-24 08:08:14 +02:00
Marcelo Fernandez 077b455b93 Updated OS X audio driver with improvements from 3.0 2017-07-23 13:40:38 -03:00
Rémi Verschelde 71a51adc12 Merge pull request #9778 from marcelofg55/2.1
[2.1] Fix Right-Click (Ctrl-Click) on OS X
2017-07-23 13:15:36 +02:00
Rémi Verschelde cfe48f074f Merge pull request #9767 from Faless/editor_fix_2.1
[2.1] Remove "debug/remote_port" project setting (completrly moved to editor)
2017-07-23 13:12:39 +02:00
Marcelo Fernandez da7b181a39 Fix Right-Click (Ctrl-Click) on OS X 2017-07-22 16:35:07 -03:00
Rémi Verschelde 39f0dcc17d libpng: Update to upstream version 1.6.31rc01
Fixes various issues with 1.6.30, especially ARM build.
Supersedes change in #9722.

Fixes #9769.

(cherry picked from commit 492999a33b)
2017-07-22 18:43:13 +02:00
Fabio Alessandrelli c3055b24d1 Remove "debug/remote_port" project setting (moved to editor)
Also updated default port from 6007 (X11) to 6096 (unspec)
2017-07-22 14:36:43 +02:00
Rémi Verschelde 63a9b02131 Fixes to the 2to3 project exporter 2017-07-15 16:50:49 +02:00
Rémi Verschelde 408f91024c Merge pull request #9655 from GodotExplorer/pr-fix-9653
Fix editor crash while exiting debuggger
2017-07-15 12:34:54 +02:00
geequlim 7a02467dad Fix editor crash while exiting debuggger 2017-07-15 18:31:21 +08:00
Rémi Verschelde cf52c63034 libpng: Update to upstream version 1.6.30
(cherry picked from commit b1ca62af52)
2017-07-14 22:36:34 +02:00
Rémi Verschelde 0b9b386069 doc: Sync classref with current source 2017-07-14 22:20:17 +02:00
Poommetee Ketson 61ff58403d Ignore fuzzy translations
(cherry picked from commit fdd2a87b8f)
2017-07-14 22:15:05 +02:00
Poommetee Ketson 7603d77d1d AStar: add bool has_point(id)
(cherry picked from commit 2c9f6312e2)
2017-07-14 22:14:37 +02:00
alexholly 0cc1ba947f removed floor so that global pos works with scale
(cherry picked from commit 3b5ac579a9)
2017-07-14 22:10:41 +02:00
TwistedTwigleg 41b8a28c5f Added additional functions to RichTextLabel:
* Added set_text function to RichTextLabel
* Added percent_visible attributes and functions to RichTextLabel
This should make switching from Label to RichTextLabel easier.

(cherry picked from commit d649140b9b)
2017-07-14 22:09:42 +02:00
ducdetronquito 9060a18639 Improved GDScript parse_json() doc about numerical values conversion.
(cherry picked from commit 76e6b2d33b)
2017-07-14 22:05:51 +02:00
BastiaanOlij 88236c7418 Fix typo in plist export
(cherry picked from commit e735963182)
2017-07-14 22:04:09 +02:00
anakimluke 23b19a4349 Removed outdated comment.
closes #78

(cherry picked from commit c1699d807f)
2017-07-14 22:03:21 +02:00
Rémi Verschelde 1c638e2976 Add project names as Comment fields in copyright file
This is compliant with the specification [0] and should allow us
to generate human-readable output from the machine-readable file.

[0] https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#files-paragraph

(cherry picked from commit d84ed525a9)
2017-07-14 22:03:21 +02:00
TwistedTwigleg 1fa70cf9b6 Fixed set_global_scale in Node2D.
(cherry picked from commit a6feb0943a)
2017-07-14 21:58:54 +02:00
Andreas Haas 3d95424147 Animation Editor: Fix trying to stop playback without player.
Fixes #9280

(cherry picked from commit bb9daaccff)
2017-07-14 21:55:02 +02:00
Andreas Haas 34c8beb91c Script create diag: Show extensions for currently selected language only.
(cherry picked from commit 8e8e4b30e5)
2017-07-14 21:53:53 +02:00
Rémi Verschelde c7b7cb24a5 Change default color of script editor text selection
Supersedes and closes #9388.

(cherry picked from commit 6fd4311c27)
2017-07-14 21:51:32 +02:00
Rémi Verschelde b53fafeb1d gitignore: Remove pre-.gen filenames
@Noshyaar was right to remove them in the first place,
we need users with local clones to clean them up to prevent
older .cpp files from being including by globbing.

(cherry picked from commit 36548a3fa5)
2017-07-14 21:45:15 +02:00
dotquixote fc47f8cd5d ConeTwistJoint: Initialize 'm_angularOnly'.
(cherry picked from commit 23f10c31de)
2017-07-14 21:44:56 +02:00
George Marques 55a3e078fa
WinRT: Fix problem with Cert Kit validation 2017-07-12 01:33:42 -03:00
Rémi Verschelde 57dc285051 Merge pull request #8979 from GodotExplorer/pr-enhanced-debugger
[2.1] Enhanced debugger
2017-07-11 22:10:49 +02:00
Rémi Verschelde 0dcbc375a3 Merge pull request #9551 from timoschwarzer/2.1-scons-human-friendly-output
[2.1] Add options for more human-friendly build output
2017-07-11 22:10:04 +02:00
Rémi Verschelde 17ae2ce008 Merge pull request #9603 from Corruptinator/2.1
OUYA Game Controller GUID for input_default.cpp
2017-07-11 16:45:32 +02:00
Henrique Campos 9bebc22dd9 Fix MarginContainer description 2017-07-11 16:38:57 +02:00
Timo Schwarzer adac6d959f Add options for more human-friendly build output 2017-07-11 15:25:09 +02:00
Corruptinator eede898648 OUYA Game Controller GUID for input_default.cpp
Updated input_default.cpp to include the button mapping and GUID of the
OUYA Game Controller. This allows the controller itself to work on
Android devices, including the OUYA and hopefully this fixes issue #9390
for the 2.1.4
2017-07-11 05:15:51 -07:00
Pedro J. Estébanez 1dbe6f18d8 Merge pull request #9591 from RandomShaper/remove-warns-2.1
Remove warnings about benign situations
2017-07-11 12:26:41 +02:00
geequlim da2bcda7be Enhanced debugger. ake 2.1 more productive!
Allow access more informations from remote debugger.
Refector more debugger related code to allow full access to variables.
Array Property Editor now can edit with more objects including remote objects.
Implements `GDInstance::debug_get_globals` to query all gloabl constants avaliable in GDScriptLanguage.
Show globals in debug stack variable panel.
Disabe capitalize property name for  remote object.
Add DictionaryPropertyEdit to edit with Dictionaries.
The serialization/unserialization workflow use binary data instead of dictionary to avoid send too large data.
Do not stop debugger if curent break point stack has error fix #9034.
Don't send all content of strings but first 80 characters from remote debugger.
Add constants into the break point stack tree and remote object instance edit inspector.
Remote GDScript resource object instance list constants in the property inspector.
Add `self` to the local in the break point stack as a remote object.
Move some functions for GDScript related to thier base classes so debugger don't rely on the gdscript module any more.
The slef in the debugger tree now expanded as the instance of script instead of the script resource.
2017-07-11 17:44:28 +08:00
Pedro J. Estébanez 73fb33a931 Remove warnings about benign situations 2017-07-10 16:28:50 +02:00
Rémi Verschelde 171d8a501f Merge pull request #9518 from RandomShaper/refix-physics-2.1
Fix initial collision pairs being cleared (2.1)
2017-07-05 22:22:53 +02:00
Pedro J. Estébanez a30dd8494c Fix initial collision pairs being cleared
This affected both 2D & 3D physics and was a regression introduced by my
physics mega-fix (#8999).
2017-07-05 19:38:11 +02:00
Rémi Verschelde 4f220a6552 Merge pull request #9505 from Keetz/particle-attractor-binding
Added missing binding to _owner_exited
2017-07-05 16:26:22 +02:00
Rasmus Ketelsen b54c5f3953 Added missing binding to _owner_exited 2017-07-05 11:39:46 +02:00
Rémi Verschelde f99481e0c2 Merge pull request #8944 from RandomShaper/fix-error-handling-2.1
Make error handling more convenient (2.1)
2017-07-05 10:15:36 +02:00
Pedro J. Estébanez e9b7640f84 Make error handling more convenient
By adding some PRAY_* macros that encapsulate both the check and the returning of a null reference (UB).
Plus transient avoidance of the flood of warnings emitted by Clang when checking 'this' for NULL.
Plus explanation about the do-while(0) loop in some error macros.
2017-07-05 09:31:37 +02:00