summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-07-20Merge pull request #40161 from vnen/classdb-info-methodsRémi Verschelde
Add methods in ClassDB to get property/method/constant/enum info
2020-07-20Merge pull request #40468 from asmaloney/spelling-codeRémi Verschelde
Fix spelling of a var, a struct, and some message output
2020-07-20Fix Directory make_dir and make_dir_recursiveNathan Franke
2020-07-17Fix spelling of a var, a struct, and message outputAndy Maloney
2020-07-14Merge pull request #40374 from Faless/udp/server_abstractionRémi Verschelde
UDPServer uses single socket, abstract clients.
2020-07-14UDPServer handles PacketPeerUDP-client associationFabio Alessandrelli
UDPServer now uses a single socket which is shared with the PacketPeerUDP it creates and has a new `poll` function to read incoming packets on that socket and delivers them to the appropriate peer. PacketPeerUDP created this way never reads from the socket, but are allowed to write on it using sendto. This is needed because Windows (unlike Linux/BSD) does not support packet routing when multiple sockets are bound on the same address/port.
2020-07-14PO loader: Fix unclosed files and error messagesRémi Verschelde
Trying to get `f->get_path()` after deleting `f` was not super clever :) Fixes #40324.
2020-07-14Merge pull request #38440 from Paulb23/syntax_highlighter_refactorRémi Verschelde
Syntax highlighter refactor
2020-07-13Commit other files changed by file_format.shAaron Franke
2020-07-13Fix overriding compression related settingsAndrii Doroshenko (Xrayez)
2020-07-11Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighterPaulb23
- Extacted all syntax highlighting code from text edit - Removed enable syntax highlighting from text edit - Added line_edited_from signal to text_edit - Renamed get/set_syntax_highlighting to get/set_syntax_highlighter - Added EditorSyntaxHighligher
2020-07-11Add core types to ScriptLanguagePaulb23
2020-07-10Add override keywords.Marcel Admiraal
2020-07-10Merge pull request #40121 from Calinou/enable-file-loggingRémi Verschelde
Enable file logging by default on desktops to help with troubleshooting
2020-07-10Follow-Up Fix Directory OpenNathan Franke
2020-07-09Keep debug & verbose options after loading project from project managerPouleyKetchoupp
2020-07-08Enable file logging by default on desktops to help with troubleshootingHugo Locurcio
- Use the `.log` file extension (recognized on Windows out of the box) to better hint that generated files are logs. Some editors provide dedicated syntax highlighting for those files. - Use an underscore to separate the basename from the date and the date from the time in log filenames. This makes the filename easier to read. - Keep only 5 log files by default to decrease disk usage in case messages are spammed.
2020-07-06Add sort and has methods to PackedArraysAaron Franke
2020-07-07Merge pull request #40151 from nathanfranke/fix-directory-open-checkRémi Verschelde
Fix Directory Open Check
2020-07-06Add methods in ClassDB to get property/method/constant/enum infoGeorge Marques
Without the need to iterate the whole list.
2020-07-06Fix Directory Open CheckNathan Franke
2020-07-06Add a map of autoloads to ProjectSettingsGeorge Marques
So places that need to look into it can use the list instead of parsing ProjectSettings details (like checking "*" in path for testing if it's singleton).
2020-07-05Merge pull request #40138 from neikeq/error-macros-use-bool-literalsRémi Verschelde
Fix 'modernize-use-bool-literals' clang-tidy warnings in error macros
2020-07-05Fix 'modernize-use-bool-literals' clang-tidy warnings in error macrosIgnacio Etcheverry
2020-07-04Merge pull request #40092 from hinlopen/remove-find-lastRémi Verschelde
Remove String::find_last (same as rfind)
2020-07-03Remove String::find_last (same as rfind)Stijn Hinlopen
2020-07-03Image: Improve error messages for invalid creation sizeRémi Verschelde
2020-07-02Merge pull request #40009 from mrushyendra/ustring_overflow_masterRémi Verschelde
Fix overflow and underflow checks for string conversion to int
2020-07-02Merge pull request #34028 from nekomatata/list-erase-not-foundRémi Verschelde
Removed errors when List::erase() can't find the value
2020-07-02Fix overflow and underflow checks for string conversion to intMaganty Rushyendra
Current error checks for to_int and to_int64 do not issue overflow error messages for INT64_MAX + 1, INT64_MAX + 2, and other numbers close to the integer limits. Likewise, error checks for hex_to_int, hex_to_int64 and bin_to_int64 issue false positive error messages for INT64_MIN or INT32_MIN. This commit fixes these error checks.
2020-07-01Merge pull request #33061 from madmiraal/nullpointerdereferenceRémi Verschelde
Call CRASH_COND_MSG if key not found in HashMap get(key) functions.
2020-07-01Merge pull request #38713 from aaronfranke/string-64bitRémi Verschelde
Make all String integer conversion methods be 64-bit
2020-07-01Call CRASH_COND_MSG if key not found in HashMap get function.Marcel Admiraal
2020-07-01Removed errors when List::erase() can't find the valuePouleyKetchoupp
This change makes the behavior consistent when the value is not found between erasing from an empty list (no error, just returning false) and erasing from a non-empty list (previously displaying triggering an error and returning false). Error message previously triggered: ERROR: erase: Condition ' !p_I ' is true. returned: false At: ./core/list.h:157.
2020-06-30Move frame delaying functions from Main to OS.Fabio Alessandrelli
Will allow specific platforms to override it and avoid blocking on the main/GUI thread.
2020-06-30Merge pull request #39986 from reduz/app-inout-notificationRémi Verschelde
Add a separate application focus/in notification
2020-06-30Merge pull request #38920 from paulherman/tgaRémi Verschelde
Expose loading TGA images in Image.
2020-06-30Add a separate application focus/in notification out from Window focus ↵Juan Linietsky
notification.
2020-06-29Added Custom Performance Monitor and feature to read intermediate values of ↵simpu
Monitor Custom monitors can be added/removed/checked using `Performance.add_custom_monitor`/`Performance.remove_custom_monitor`/`Performance.has_custom_monitor` The value can be viewed in the `Monitor` tab of Debugger. Text before `/` is used to categorize the custom monitor. `EditorPerformanceProfiler` class is created to separate logic from `ScriptEditorDebugger` User can click on the graph of monitors to read the value at that point. Graph includes intermediate base lines.
2020-06-29Fix weekday calculation in get_datetime_from_unix_time for negative timesMaganty Rushyendra
Fix calculation for negative times to ensure Sundays are wrapped around to '0' instead of '7', making it consistent with the output for positive times.
2020-06-26Addition of SDFGI for open world global illuminationJuan Linietsky
Move GI to a deferred pass
2020-06-25Style: Fix copyright headersRémi Verschelde
2020-06-24Merge pull request #39617 from mrushyendra/bilinear_interpolationRémi Verschelde
Fix upscaling image with bilinear interpolation option specified
2020-06-22Merge pull request #39755 from Faless/crypto/encryption_pr_4.0Rémi Verschelde
Crypto enhancements, AESContext, RSA public key, signature, verification.
2020-06-19Merge pull request #39053 from timoschwarzer/static-assert-variant-arg-maxRémi Verschelde
Add static_assert checks where code assumes VARIANT_ARG_MAX == 5
2020-06-19Ensure FileAccessBuffered structs are properly initializedAndy Maloney
2020-06-19Fix upscaling image with bilinear interpolation option specifiedMaganty Rushyendra
Fix error in calculation of 4 nearest points in source image when resizing image with bilinear interpolation.
2020-06-18Implement RSA encryption/decryption.Fabio Alessandrelli
2020-06-18Implement sign and verify in crypto.Fabio Alessandrelli
2020-06-18CryptoKey supports public keys.Fabio Alessandrelli