Commit Graph

22548 Commits

Author SHA1 Message Date
Rémi Verschelde 5c333270ed jpgd.h: Backport security vulnerabilities fixes from Google Android
Squashed version of https://github.com/richgel999/jpeg-compressor/pull/10
with the line endings fixed (DOS to Unix).

See https://github.com/richgel999/jpeg-compressor/pull/10 and #30952
for details. Relates to CVE-2017-0700.

Fixes #30952.
2019-07-30 12:32:57 +02:00
Rémi Verschelde 7d76f3b393
Merge pull request #30944 from YeldhamDev/bottom_panel_icon_simplify
Make the expand icon in the bottom panel always be the same
2019-07-30 09:27:33 +02:00
Rémi Verschelde 71dbe398df
Merge pull request #30943 from ibrahn/fix-win-gettime-aliasing
Fix strict-aliasing warning in OS_Windows::get_unix_time.
2019-07-30 09:26:36 +02:00
Rémi Verschelde 9da24f7e3d
Merge pull request #30938 from nobuyukinyuu/2d-editor-zoom-p1
Changes default canvas_item_editor coarse zoom level from 1.5 to sqrt(2)
2019-07-30 00:57:43 +02:00
Ibrahn Sahir 3502a85ba8 Fix strict-aliasing warning in OS_Windows::get_unix_time. 2019-07-29 23:52:59 +01:00
Rémi Verschelde ffab25c95a
Merge pull request #27952 from Kanabenki/undo-close-tab
Add Undo Close Tab option in tabs context menu
2019-07-30 00:26:48 +02:00
Rémi Verschelde 73d2a99761
Merge pull request #30911 from hadrien-psydk/optimize_dir_access_unix_get_next_lnk
Optimize DirAccessUnix::get_next() for some file systems (with link support)
2019-07-30 00:12:30 +02:00
nobuyuki_nyuu 3f516622c3 Changes default coarse 2d zoom level from 1.5 to sqrt(2). 2019-07-29 17:12:03 -05:00
Rémi Verschelde 14e3d29f0c
Merge pull request #30890 from KoBeWi/how_to_action
Clarify is_action_pressed() for multiple assigned buttons
2019-07-30 00:07:49 +02:00
Rémi Verschelde d15090e275
Merge pull request #30909 from Kaligule/patch-1
Add a reference to pow to the description of exp.
2019-07-30 00:06:30 +02:00
Michael Alexsander Silva Dias d6988b7d2b Make the expand icon in the bottom panel always be the same 2019-07-29 18:08:05 -03:00
Rémi Verschelde b697121d75
Merge pull request #30895 from clayjohn/gles2-shader-funcs
Added round function to gles2
2019-07-29 22:43:26 +02:00
Rémi Verschelde 961b9b30e3
Merge pull request #30932 from Dragoncraft89/master
Translate TabContainer titles, when inherited from node name
2019-07-29 22:41:07 +02:00
Rémi Verschelde 10c015b730 i18n: Sync translation template with current source 2019-07-29 21:40:51 +02:00
Rémi Verschelde 1babc23d95 i18n: Sync translations with Weblate 2019-07-29 21:40:01 +02:00
Rémi Verschelde adffd9aaef
Merge pull request #30935 from YeldhamDev/gdnative_plugin_fix
Fix 'GDNativeLibrary' editor being incorrectly opened
2019-07-29 21:38:37 +02:00
Rémi Verschelde baa1d0c3d0
Merge pull request #30923 from NilsIrl/better_dropdown
Improve platform selection in the GDNativeLibrary dock
2019-07-29 21:38:21 +02:00
Rémi Verschelde 051b5b3d15 doc: Sync classref with current source 2019-07-29 21:12:57 +02:00
clayjohn 3f25dde6b4 added round function to gles2 2019-07-29 11:17:08 -07:00
Michael Alexsander Silva Dias 147990cb6d Fix 'GDNativeLibrary' editor being incorrectly opened 2019-07-29 15:05:49 -03:00
Rémi Verschelde cc0e5e51b8
Merge pull request #30931 from guilhermefelipecgs/fix_30917
Fix set_default_cursor_shape always sending motion event
2019-07-29 19:31:26 +02:00
Florian Kothmeier 65101c9a20
Translate TabContainer titles, when inherited from node name 2019-07-29 19:07:56 +02:00
Guilherme Felipe 508761e0cd Fix set_default_cursor_shape always sending motion event 2019-07-29 14:00:37 -03:00
Rémi Verschelde b90ef52ece Find trailing whitespace and indentation in gdnative_api.json 2019-07-29 18:48:21 +02:00
Rémi Verschelde e5e1d7c178
Merge pull request #30928 from NilsIrl/remove_useless
Remove useless variable and line in OptionButton
2019-07-29 18:43:48 +02:00
Kaligule a2c81a7455 Add a reference to pow to the description of exp.
This might be especially usefull since godot script doesn't support ** or ^ as operators, so beginners might search for the exponential function, when what they really need is the pow function.

This is exactly what happened to me and since I couldn't find helpfull information in the documentation I had to look it up online, where I found the answer on a helpfull [reddit thread](https://www.reddit.com/r/godot/comments/3mvwz0/how_do_i_do_exponents_in_godot/).

@akien-mga told me how to reference methods here:
godotengine#30909
2019-07-29 18:17:52 +02:00
NilsIrl abceb74b49 Remove useless variable and line in OptionButton 2019-07-29 17:41:28 +02:00
Rémi Verschelde a19c15d105
Merge pull request #30926 from NilsIrl/if_to_switch
Change if to switch in OptionButton
2019-07-29 17:30:21 +02:00
NilsIrl dfecd62235 Change if to switch in OptionButton 2019-07-29 16:47:47 +02:00
Rémi Verschelde 639127de09
Merge pull request #30898 from clayjohn/max-lights-reflections
Add project setting for max lights and reflections in GLES3
2019-07-29 16:01:53 +02:00
Hadrien e02c5ef48a Optimize DirAccessUnix::get_next() for some file systems
On some file systems, like ext4 on Linux, readdir() gives enough
information to determine the entry type in order to avoid doing
a stat() system call.

Use this information and call stat() only if necessary: for file
systems that do not support this feature and for links.
2019-07-29 15:02:26 +02:00
NilsIrl d69409338b Improve platform selection in the GDNativeLibrary dock
* Replace button text with currently selected platforms
* Expand button size horizontally
2019-07-29 14:54:08 +02:00
Rémi Verschelde 5d172d5d9a
Merge pull request #30918 from Chaosus/fix_crash
Fix filter crash in EditorFileDialog for MeshLib/TileSet conversion
2019-07-29 13:25:11 +02:00
Chaosus aec53acd7d Fix filter crash in EditorFileDialog for MeshLib/TileSet conversion 2019-07-29 13:43:08 +03:00
Rémi Verschelde d06da7193d
Merge pull request #30869 from NilsIrl/#30841
Replace radion buttons with checkboxes in GDNativeLibrary editor
2019-07-29 10:11:56 +02:00
Rémi Verschelde 47df673d73
Merge pull request #30870 from raphael10241024/fix_shadow
update algorithm about paking float to vec4 to fix shadow slipping
2019-07-29 10:11:15 +02:00
Rémi Verschelde 75e80e7665
Merge pull request #30876 from santouits/no
Remove physics thread getting the gl context
2019-07-29 09:59:33 +02:00
Rémi Verschelde 5ad1abed47
Merge pull request #30877 from JosephCatrambone/master
Bugfix GLTF import: Do not reindex when blend shapes are present.
2019-07-29 09:56:25 +02:00
Rémi Verschelde 698d87bdeb
Merge pull request #30879 from Calinou/simplify-font-editor-settings
Simplify editor settings related to font hinting and antialiasing
2019-07-29 09:55:08 +02:00
Rémi Verschelde 8547a351eb
Merge pull request #30774 from aaronfranke/set-obsolete
Make Set methods obsolete
2019-07-29 09:04:26 +02:00
clayjohn 1a981ef268 add project setting for max lights and reflections in gles3 2019-07-28 17:54:25 -07:00
Aaron Franke 7dbbb5eac7
[Mono] Deprecate Set methods
These silently fail, so they should be removed. I accidentally added most of these last year, trying to make everything else consistent with Quat, sorry!

Also, a few tiny nitpicking changes are included, like whitespace and misspellings.
2019-07-28 17:49:22 -04:00
Rémi Verschelde becbb7b525
Merge pull request #30891 from bojidar-bg/30875-tilemap-rightclick-pan
Make it so that 2D viewport does not pan while editing tilemaps
2019-07-28 21:51:44 +02:00
Rémi Verschelde d8e7e344bc
Merge pull request #30889 from Faless/ws/client_free_crash
Fix WebSocketClient crash when unref during signal
2019-07-28 21:49:51 +02:00
Bojidar Marinov 68b5f101c7
Make it so that 2D viewport does not pan while editing tilemaps
Fixes #30875
2019-07-28 17:00:05 +03:00
Tomasz Chabora 7e329a7251 Clarify is_action_pressed() for multiple assigned buttons 2019-07-28 15:37:08 +02:00
Fabio Alessandrelli d6c9b377b9 Fix WebSocketClient crash when unref during signal
Always call disconnect before emitting signals, to avoid calling it on a
freed object if the user decides to unreference it in a signal.
2019-07-28 15:23:20 +02:00
Rémi Verschelde 331a703f5d
Merge pull request #30887 from homer666/sorting-order-editor-settings
Update "Sorting Order" dropdown in Editor Settings
2019-07-28 10:14:50 +02:00
homer666 4553f2e6b8 Update "Sorting Order" dropdown in Editor Settings 2019-07-28 17:40:06 +10:00
RaphaelHunter 47df933c27 update algorithm about paking float to vec4 to fix shadow shift and change rgba_shdow options 2019-07-28 11:43:01 +08:00