Commit Graph

13 Commits

Author SHA1 Message Date
713a1ba554 Style: Standardize Obj-C #import syntax 2025-03-08 09:28:34 -06:00
4c8f8e6980 [macOS] Fix menu crash when used from opened native dialog. 2024-10-01 08:30:30 +03:00
1f7bf27780 [macOS] Improve native menu open/close callbacks. 2024-06-05 20:22:41 +03:00
c65a667924 Move global_menu_* methods to a separate NativeMenu class. 2024-03-04 23:41:41 +02:00
15b8185c68 Don't use TTR/RTR for ERR/WARN prints
We don't translate those, only editor strings are translated.
2023-11-12 12:00:55 +01:00
b52826bf55 Add error messages to the native menu and file dialogs callback. 2023-10-14 18:10:39 +03:00
6371cc3d69 [macOS] Fix crash when using system default menu shortcuts. 2023-10-13 10:12:44 +03:00
09b30be86d Add vararg call() method to C++ Callable 2023-10-05 11:35:29 +02:00
d1aaa914f3 [macOS] Add about_to_open and popup_hide callback for the global menus, move part of logic to the PopupMenu to allow live menu modification. 2023-10-04 09:49:51 +03:00
aecfd92ea8 [macOS] Move Wno-deprecated-declarations to pragmas in the OpenGL related files, update some deprecated code. 2023-01-20 11:31:07 +02:00
d95794ec8a One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
f255ecb241 [macOS] Simplify handling of menu accelerators, and send event to the focused window instead of main. 2022-09-02 13:56:27 +03:00
b85a4c5d79 [macOS] Handle accelerator and click events of the global menu items separately. 2022-09-01 08:13:56 +03:00