Commit Graph

20460 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Kenneth Lee 5c5c3a590a Fixes build for Windows cross-compilation
Fixes #28299
2019-04-23 17:48:46 +00: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
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
Hein-Pieter van Braam 4575769115
Merge pull request #25543 from Zylann/optimize_bullet_heightfield_raycast2
Implemented terrain raycast acceleration
2019-04-23 06:25:15 +03:00
Hein-Pieter van Braam c794107988
Merge pull request #25744 from YeldhamDev/enhanced_theme_preview
Enhance theme preview
2019-04-23 06:23:00 +03:00
Hein-Pieter van Braam 5d33f241f0
Merge pull request #26064 from JFonS/add_frustum_camera_mode
Add FRUSTUM camera mode, allowing tilted frustums
2019-04-23 06:20:13 +03:00
Hein-Pieter van Braam 01f7166d09
Merge pull request #26961 from ibrahn/fix-x11setcontext-access-freed
fixed an access after free in OS_X11::set_context. (long version)
2019-04-23 06:14:49 +03:00
Hein-Pieter van Braam a76d59cba9
Merge pull request #27208 from Calinou/add-lld-linker
Add support for linking using LLD on X11
2019-04-23 06:11:48 +03:00
Hein-Pieter van Braam 2779bdf557
Merge pull request #27724 from follower/patch-2
Add example of loading a font from .ttf file
2019-04-23 06:04:25 +03:00
Hein-Pieter van Braam 7ba772d4ba
Merge pull request #27730 from ShyRed/fix3dphyscansleep
Fix missing re-activation of bullet physics sleep feature
2019-04-23 06:03:27 +03:00
Hein-Pieter van Braam 4068e79a32
Merge pull request #27868 from marxin/add-more-warnings
Add more warnings on top of -Wall and -Wextra.
2019-04-23 06:00:49 +03:00
Hein-Pieter van Braam 05ef1f4998
Merge pull request #27903 from Calinou/richtextlabel-brighten-default-color
Brighten the RichTextLabel color in the default theme
2019-04-23 05:59:16 +03:00
Hein-Pieter van Braam a112eb599f
Merge pull request #28064 from DarknessCatt/issue-27077
Moving Polygon2D vertices along axis
2019-04-23 05:55:57 +03:00
Hein-Pieter van Braam 510bed871c
Merge pull request #28300 from hpvb/fix-25893
Don't try to statically allocate 2x 8193 pointers
2019-04-23 05:52:09 +03:00
Hein-Pieter van Braam ef721fff9e
Merge pull request #28316 from qarmin/fix_typo_count
Fix typo count_count to count
2019-04-23 05:49:53 +03:00
James Buck c230c6db98 Fix drawing of checkable editor properties
- Make text cutoff respect checkbox icon's width
  - Get checkbox icon from EditorIcons instead of CheckBox
2019-04-22 20:38:17 -05:00
qarmin 479649b5fb Fix typo count_count to count 2019-04-23 01:25:29 +02:00