Commit Graph

20582 Commits

Author SHA1 Message Date
Michael Alexsander Silva Dias 350bcce041 Expose 'TextEdit's tab drawing and folding to GDScript 2019-04-24 12:42:12 -03:00
Rémi Verschelde c2a669a9f0 SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGS
Many contributors (me included) did not fully understand what CCFLAGS,
CXXFLAGS and CPPFLAGS refer to exactly, and were thus not using them
in the way they are intended to be.

As per the SCons manual: https://www.scons.org/doc/HTML/scons-user/apa.html

- CCFLAGS: General options that are passed to the C and C++ compilers.
- CFLAGS: General options that are passed to the C compiler (C only;
  not C++).
- CXXFLAGS: General options that are passed to the C++ compiler. By
  default, this includes the value of $CCFLAGS, so that setting
  $CCFLAGS affects both C and C++ compilation.
- CPPFLAGS: User-specified C preprocessor options. These will be
  included in any command that uses the C preprocessor, including not
  just compilation of C and C++ source files [...], but also [...]
  Fortran [...] and [...] assembly language source file[s].

TL;DR: Compiler options go to CCFLAGS, unless they must be restricted
to either C (CFLAGS) or C++ (CXXFLAGS). Preprocessor defines go to
CPPFLAGS.
2019-04-24 16:57:58 +02:00
Hugo Locurcio 436d000066
Improve the ProjectSettings documentation 2019-04-24 13:37:14 +02:00
Rémi Verschelde e1d16e722e
Merge pull request #28374 from akien-mga/thirdparty-disable-cflags
Also disable C and C++ specific warnings in thirdparty code
2019-04-24 12:36:02 +02:00
Yuri Roubinsky 90739c36fa
Merge pull request #28381 from Chaosus/fix_vs_glitch
Fix connection lines glitch in visual shaders
2019-04-24 13:01:59 +03:00
Chaosus 3a3df84d3b Fix connection lines glitch in visual shaders 2019-04-24 12:47:54 +03:00
Daeil Kim 692205da33 Make multimesh invisible initially in CPUParticles
Fixes #28252
2019-04-24 16:52:49 +09:00
Yuri Roubinsky 93e7eb0ddb
Merge pull request #28375 from Chaosus/fix_vs_loopback
Disallow loopback connection in visual shaders
2019-04-24 09:41:06 +03:00
Chaosus 21ca9f6c7c Disallow loopback connection in visual scripts and visual shaders 2019-04-24 09:14:45 +03:00
Michael Alexsander Silva Dias 4bca3236d1 Make small changes to the new connection info on script feature 2019-04-24 03:13:25 -03:00
Rémi Verschelde ea56d18256 doc: Sync classref with current source 2019-04-24 07:50:14 +02:00
Rémi Verschelde 8d867cf7c5 Also disable C and C++ specific warnings in thirdparty code
Move the `Append` up to make sure that the keys exist and avoid the
need to check `if CPPFLAGS in self`, etc.
2019-04-24 07:41:00 +02:00
Yuri Roubinsky 6cf7cfa081
Merge pull request #28372 from Chaosus/fix_vs_transform_preview2
Removes preview from existing transform nodes in visual shader
2019-04-24 08:13:59 +03:00
Chaosus 9ac770be45 Removes preview from existing transform nodes in visual shader 2019-04-24 08:08:29 +03:00
homer666 e3b7f9e1ca AnimationPlayer FPS mode fixes 2019-04-24 10:52:10 +10:00
Michael Alexsander Silva Dias dac9a5ba96 Fix "Name" popup's size in theme editor 2019-04-23 20:21:31 -03:00
DixiE f06b62028e Save Layout When Scene Is Closed Via Context Menu 2019-04-23 22:37:02 +01:00
Rémi Verschelde 80f91c9d36
Merge pull request #28351 from Paulb23/fix_state_crash
Fix crash when restoring script editor state
2019-04-23 23:23:32 +02:00
Rémi Verschelde 0453e6eddc
Merge pull request #28348 from Chaosus/fix_vs_transform_preview
Removed incorrect "Transform" preview from visual shaders
2019-04-23 23:19:31 +02:00
Rémi Verschelde a5ad049bf3
Merge pull request #28345 from Chaosus/fix_vs_vector3
Enlarge vector constant node in visual shaders
2019-04-23 23:17:56 +02:00
Rémi Verschelde 70f318be55
Merge pull request #28342 from KLee1248/fix_build
Fixes build for Windows cross-compilation
2019-04-23 23:17:01 +02:00
Rikhardur Bjarni Einarsson 9bfa63496a Added a marker in text_edit that tells which row is executing. 2019-04-23 21:51:01 +01:00
gdupr b89d8bb56c Separated description from the preview content and centered the playbutton for video thumbnails in the Asset Library Editor 2019-04-23 21:53:15 +02:00
Paulb23 2fedd2559c Fix crash when restoring script editor state 2019-04-23 20:52:30 +01:00
Juan Linietsky 325f6c6581 Added inspector plugin documentation.
Fixed plugin bindings.
2019-04-23 16:39:09 -03:00
Juan Linietsky f2c26098a9 Revert 8d3345a, I thought this was non functioning but it is.. 2019-04-23 16:00:54 -03:00
Chaosus be11b6f04d Removed incorrect "Transform" preview from visual shaders 2019-04-23 21:52:06 +03:00
homer666 1aaab30a2b Hide "Tilemap" menu properly in CanvasItem view 2019-04-24 04:31:53 +10:00
Chaosus eb53c0fb32 Enlarge Vector3 constant node in visual shaders 2019-04-23 21:21:17 +03:00
Juan Linietsky 2cf6d8d334 Made virtual function begin with _, for consistency.
This was not yet used, anyway as no API is bound for this.
2019-04-23 15:20:00 -03:00
Guilherme Felipe 0fcbf4da8f [StateMachine] Fix play position
Continuation of 771fbd282a
2019-04-23 14:59:16 -03:00
Kenneth Lee 5c5c3a590a Fixes build for Windows cross-compilation
Fixes #28299
2019-04-23 17:48:46 +00:00
Guilherme Felipe d8de9cc20f Small fixes to connection dialog 2019-04-23 13:39:16 -03:00
qarmin 2fc2d82465 Disable Project Export button after deleting preset 2019-04-23 17:49:15 +02:00
Rémi Verschelde 6098a7f191
Merge pull request #27781 from reduz/new_android_export
Android now (optionally) builds the template when exporting
2019-04-23 17:39:23 +02:00
Rémi Verschelde b0da7b66ce
Merge pull request #28331 from godotengine/revert-26788-master
Revert "RichTextLabel: Adding the ability to change the default cursor"
2019-04-23 16:13:56 +02:00
Rémi Verschelde b4d561013f
Revert "RichTextLabel: Adding the ability to change the default cursor" 2019-04-23 16:10:15 +02:00
Andrii Doroshenko (Xrayez) 6484da5721 Import 4/1 bit bmp images
Add some sanity checks according to bmp specification.

Read color table and index data within the same scope and
then simply extend the color palette.

This particular implementation has one limitation: not all 4/1 bit images
can be imported as it requires bit unpacking (size dimensions must be
a multiple of 8 for 1-bit and 2 (even) for 4-bit images).
2019-04-23 17:02:13 +03:00
Rémi Verschelde 49b6423874
Merge pull request #28328 from godotengine/revert-25543-optimize_bullet_heightfield_raycast2
Revert "Implemented terrain raycast acceleration"
2019-04-23 13:58:30 +02:00
Rémi Verschelde 458827efc2
Revert "Implemented terrain raycast acceleration" 2019-04-23 13:56:23 +02:00
Rémi Verschelde 04efa59868
Merge pull request #28292 from homer666/merge-from-scene-stuff
Minor "Merge From Scene" improvements
2019-04-23 12:08:55 +02:00
Rémi Verschelde b874b33a32
Merge pull request #28302 from Daw11/orphan-type
Add missing enum value to Performance::get_monitor_type
2019-04-23 12:05:36 +02:00
Rémi Verschelde baad657091
Merge pull request #28321 from jbuck3/checkable-property-fix
Fix drawing of checkable editor properties
2019-04-23 12:05:22 +02:00
Hein-Pieter van Braam f2d3d3e679
Merge pull request #24269 from xsellier/feature/master-add-sha256
Add SHA256 for PoolByteArray
2019-04-23 06:38:03 +03:00
Hein-Pieter van Braam 5c28296efe
Merge pull request #24489 from mateusfccp/18264_wrong_animation_error
Make AnimatedSprite.animation complain when invalid animation name
2019-04-23 06:36:32 +03:00
Hein-Pieter van Braam fc2e2dfa43
Merge pull request #24547 from Shinryuuji/master
Add support for 8bpp bmp files
2019-04-23 06:35:25 +03:00
Hein-Pieter van Braam 2ea75764c0
Merge pull request #24796 from guilhermefelipecgs/fix_play_pos_sm
Show play position of sub state machine
2019-04-23 06:32:07 +03:00
Hein-Pieter van Braam a033c686f9
Merge pull request #25004 from Faless/enet/proto_optimize
Save 4 bytes in ENet multiplayer protocol.
2019-04-23 06:29:11 +03:00
Hein-Pieter van Braam bf7634b625
Merge pull request #25155 from Timofffee/Timofffee-patch-vehicle
Added check engine_traction
2019-04-23 06:28:26 +03:00
Hein-Pieter van Braam 696d9d20cf
Merge pull request #25510 from groud/tilemap_editor_enhancement
Move some tilemap options to the toolbar
2019-04-23 06:26:46 +03:00