summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-10[Docs] Add C# example for EditorPlugin::forward_canvas_draw_over_viewportHaSa1002
Follow up to #43356
2020-11-10Merge pull request #43397 from ↵Rémi Verschelde
Calinou/fix-filesystem-copy-path-shortcut-conflict Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcut
2020-11-10Merge pull request #43383 from vnen/gdnative-string-headerRémi Verschelde
GDNative: Define special char types in string.h
2020-11-10Merge pull request #43369 from Calinou/allow-svg-project-iconRémi Verschelde
Allow using SVG images as project icon
2020-11-10Merge pull request #43356 from KoBeWi/editor_artRémi Verschelde
Add docs for editor viewport drawing methods
2020-11-10Merge pull request #43333 from YeldhamDev/global_rate_scale_minRémi Verschelde
Disallow setting the AudioServer's 'global_rate_scale' to a value equal or inferior to 0
2020-11-10Merge pull request #43417 from akien-mga/variant-default-constructors-docsRémi Verschelde
Variant: Sync docs with new constructors, fixes to #43403
2020-11-09Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
2020-11-09Merge pull request #43421 from reduz/improve-variant-constructorRémi Verschelde
Change how no-arg constructor is handled internally in Variant.
2020-11-09Change how no-arg constructor is handled internally in Variant.reduz
2020-11-09Merge pull request #43419 from reduz/document-operatorsRémi Verschelde
Make sure operators appear in the docs too
2020-11-09Merge pull request #43415 from bruvzg/var_ctr_af32Rémi Verschelde
Fix duplicate variant constructor typo.
2020-11-09Make sure operators appear in the docs tooreduz
Add "operator" and "constructor" qualifiers to make it easier to see in the docs.
2020-11-09Merge pull request #40106 from Calinou/improve-3d-selection-boxRémi Verschelde
Improve the 3D editor selection box appearance
2020-11-09Merge pull request #43412 from akien-mga/variant-rename-_RID-to-RIDRémi Verschelde
Variant: Rename Type::_RID to Type::RID
2020-11-09Fix duplicate variant constructor typo.bruvzg
2020-11-09Merge pull request #41407 from Calinou/scons-debug-symbols-replace-yes-with-fullRémi Verschelde
Remove `debug_symbols=full` in favor of `debug_symbols=yes`
2020-11-09Variant: Rename Type::_RID to Type::RIDRémi Verschelde
The underscore prefix was used to avoid the conflict between the `RID` class name and the matching enum value in `Variant::Type`. This can be fixed differently by prefixing uses of the `RID` class in `Variant` with the scope resolution operator, as done already for `AABB`.
2020-11-09Merge pull request #43413 from akien-mga/ci-warnings-extraRémi Verschelde
CI: Build with warnings=extra to catch 'em all
2020-11-09Improve the 3D editor selection box appearanceHugo Locurcio
- Draw two boxes slightly offset from each other to give the illustion of a thicker outline. - Decrease the offset compared to the 3D node's AABB to give a more accurate representation of its size. - Make the box fully visible instead of only displaying the corners. - Draw a x-ray version of the box that's more translucent, but visible through walls. This helps make the box more visible while still having a sense of depth. - Use an orange color similar to the 2D editor.
2020-11-09Remove `debug_symbols=full` in favor of `debug_symbols=yes`Hugo Locurcio
`debug_symbols=yes` will now behave like `debug_symbols=full` did before. The difference in compressed file sizes is not that large, which means there isn't much point in having two different values. This helps make the buildsystem easier to understand.
2020-11-09CI: Build with warnings=extra to catch 'em allRémi Verschelde
... on all platforms but MSVC, as it still has a number of unsolved warnings in its `/Wall` level. Some of it might be valid, others might be overkill, this needs further assessment and fixes. (We could also change the `extra` level to `/W4` on MSVC if that's more meaningful.)
2020-11-09Merge pull request #43404 from akien-mga/color-fix-clamp-uint32_t-warningRémi Verschelde
Color: Fix -Wtype-limits GCC warning after refactoring
2020-11-09Merge pull request #43403 from reduz/variant-constructor-refactorRémi Verschelde
Refactored variant constructor logic
2020-11-09Merge pull request #43409 from bruvzg/sync_open_simplex_noiseRémi Verschelde
Update "open-simplex-noise-in-c" to fix undefined signed overflow
2020-11-09Color: Fix -Wtype-limits GCC warning after refactoringRémi Verschelde
Warning from GCC 10.2.0 with `warnings=extra`: ``` ./core/math/color.h: In member function 'int32_t Color::get_r8() const': ./core/typedefs.h:107:42: error: comparison of unsigned expression in '< 0' is always false [-Werror=type-limits] 107 | #define CLAMP(m_a, m_min, m_max) (((m_a) < (m_min)) ? (m_min) : (((m_a) > (m_max)) ? m_max : m_a)) | ~~~~~~^~~~~~~~~ ./core/math/color.h:201:49: note: in expansion of macro 'CLAMP' 201 | _FORCE_INLINE_ int32_t get_r8() const { return CLAMP(uint32_t(r * 255.0), 0, 255); } | ^~~~~ ``` Also some code consistency changes while at it.
2020-11-09Update "open-simplex-noise-in-c" to fix undefined signed overflow.bruvzg
2020-11-09Refactored variant constructor logicreduz
2020-11-09Merge pull request #42841 from HaSa1002/docs-lang-3Rémi Verschelde
Port code examples to C# (D and E)
2020-11-08Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcutHugo Locurcio
This closes #43396.
2020-11-08Merge pull request #43380 from YeldhamDev/light2d_iconsRémi Verschelde
Add icons for the new Light2D nodes
2020-11-08Merge pull request #43385 from reduz/reorganize-coreRémi Verschelde
Reorganize and clean up core/ directory
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-11-07Merge pull request #43371 from reduz/variant-setget-refactorJuan Linietsky
Refactored Variant setters/getters
2020-11-07GDNative: Define special char types in string.hGeorge Marques
Those are standard types in C++ but not in C. This also removes the wchar header which is not needed anymore and use stddef.h instead (which is needed for size_t).
2020-11-07Refactored variant setters/gettersreduz
-Discern between named, indexed and keyed -Get direct access to functions for typed GDScript and GDNative bindings -Small changes to some classes in order to work with the new setget binder
2020-11-07Add icons for the new Light2D nodesMichael Alexsander
2020-11-07Merge pull request #42896 from Calinou/httprequest-increase-chunk-sizeRémi Verschelde
Increase the default HTTPClient download chunk size to 64 KiB
2020-11-07Merge pull request #42947 from Calinou/image-load-bmp-from-bufferRémi Verschelde
Add `Image.load_bmp_from_buffer()` for run-time BMP image loading
2020-11-07Increase the default HTTPClient download chunk size to 64 KiBHugo Locurcio
This improves download speeds at the cost of increased memory usage. This change also effects HTTPRequest automatically. See #32807 and #33862.
2020-11-07Merge pull request #43373 from Chaosus/mono_array_shuffleRémi Verschelde
[Mono] Added Shuffle method to Array
2020-11-07[Mono] Added Shuffle method to ArrayYuri Roubinsky
2020-11-06Allow using SVG images as project iconHugo Locurcio
Since exporters will save their own icon, the target platforms don't have to support SVG to display the icon correctly. This closes #23068.
2020-11-06Merge pull request #43361 from Calinou/fix-rd-uniform-typoRémi Verschelde
Fix "unifom" typo in RasterizerStorageRD method
2020-11-06Merge pull request #43323 from reduz/variant-bind-rework2Juan Linietsky
Refactored Variant Operators.
2020-11-06Fix "unifom" typo in RasterizerStorageRD methodHugo Locurcio
2020-11-06Refactored Variant Operators.reduz
-Using classes to call and a table -For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr.
2020-11-06Add docs for editor viewport drawing methodsTomasz Chabora
2020-11-06Merge pull request #40718 from Chaosus/rand_rangeRémi Verschelde
Exposed randi_range to global funcs + renamed rand_range to randf_range
2020-11-06Merge pull request #43358 from Faless/js/4.x_audio_latency_fixRémi Verschelde
[HTML5] Fix audio buffer size and latency hint.