Age | Commit message (Collapse) | Author |
|
Also effectively saves one unnecessary call when everything is fine.
|
|
LineEdit: fix placeholder text affected by secret
|
|
|
|
Use correct mode for DXT1 textures.
|
|
Make property editor display dictionaries (read only)
|
|
Rename project file to "project.godot"
|
|
Scene importer: add -rigidonly flag for empties [master]
|
|
Remove GLUT usage in HTML5 platform
|
|
Detect SSE/SSE2 for libsquish.
|
|
Fix to use editor theme instead of handling each UI
|
|
Added recent scripts to script editor
|
|
Add setting to opt-out of capitalization in property inspectors
|
|
Fix #8617 WindowDialog with custom panel background crashes godot
|
|
Fix get_shader_type index upper bound
|
|
|
|
HTML5: Implement mouse lock/capture and hiding
|
|
MOUSE_MODE_CONFINED cannot be implemented.
|
|
|
|
Fix compilation for UWP
|
|
Slimmed down variant from the reverted #8375.
The rationale behind the name change is to give Godot's project file a unique
extension (".godot") that can be registered on the OS to be associated with
the Godot binary (OS registration not implemented here).
This PR also adds the possibility to start the game or editor if launched
with the project.godot passed as argument, which paves the way for allowing
a similar behaviour on a double-click in the OS file manager (code originally
by @Hinsbart).
Closes #6915.
|
|
|
|
|
|
libsquish, which is used to generate all S3TC textures, works only with RGBA textures.
Fixes #8550.
|
|
|
|
Moving more thirdparty stuff (minizip, some single-file external libs) to the thirdparty directory
|
|
Revert "Use .godot as file extension for project files."
|
|
|
|
Regression from 86f5ac3
|
|
|
|
Also move Box2D ConvexDecomposition contrib code to
thirdparty/b2d_convexdecomp.
|
|
Code comes from https://github.com/antirez/smaz/blob/150e125cbae2e8fd20dd332432776ce13395d4d4/smaz.c
With a small modification to match Godot expectations:
```
diff --git a/thirdparty/core/smaz.c b/thirdparty/core/smaz.c
index 9b1ebc2..555dfea 100644
--- a/thirdparty/core/smaz.c
+++ b/thirdparty/core/smaz.c
@@ -14,7 +14,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
#include <string.h>
/* Our compression codebook, used for compression */
-static char *Smaz_cb[241] = {
+static const char *Smaz_cb[241] = {
"\002s,\266", "\003had\232\002leW", "\003on \216", "", "\001yS",
"\002ma\255\002li\227", "\003or \260", "", "\002ll\230\003s t\277",
"\004fromg\002mel", "", "\003its\332", "\001z\333", "\003ingF", "\001>\336",
@@ -89,7 +89,7 @@ static char *Smaz_rcb[254] = {
"e, ", " it", "whi", " ma", "ge", "x", "e c", "men", ".com"
};
-int smaz_compress(char *in, int inlen, char *out, int outlen) {
+int smaz_compress(const char *in, int inlen, char *out, int outlen) {
unsigned int h1,h2,h3=0;
int verblen = 0, _outlen = outlen;
char verb[256], *_out = out;
@@ -167,7 +167,7 @@ out:
return out-_out;
}
-int smaz_decompress(char *in, int inlen, char *out, int outlen) {
+int smaz_decompress(const char *in, int inlen, char *out, int outlen) {
unsigned char *c = (unsigned char*) in;
char *_out = out;
int _outlen = outlen;
@@ -192,7 +192,7 @@ int smaz_decompress(char *in, int inlen, char *out, int outlen) {
inlen -= 2+len;
} else {
/* Codebook entry */
- char *s = Smaz_rcb[*c];
+ const char *s = Smaz_rcb[*c];
int len = strlen(s);
if (outlen < len) return _outlen+1;
diff --git a/thirdparty/core/smaz.h b/thirdparty/core/smaz.h
index a547d89..a9d8a33 100644
--- a/thirdparty/core/smaz.h
+++ b/thirdparty/core/smaz.h
@@ -14,7 +14,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
#ifndef _SMAZ_H
#define _SMAZ_H
-int smaz_compress(char *in, int inlen, char *out, int outlen);
-int smaz_decompress(char *in, int inlen, char *out, int outlen);
+int smaz_compress(const char *in, int inlen, char *out, int outlen);
+int smaz_decompress(const char *in, int inlen, char *out, int outlen);
#endif
```
|
|
|
|
|
|
|
|
AudioServer: Set singleton to NULL when destructed
|
|
|
|
Update editor theme
|
|
|
|
|
|
|
|
Should make clang-format happy.
|
|
|
|
Right-clicking a folder now gives the option Show in file manager
|
|
Tree: Ability to add tooltips to TreeItem buttons.
|
|
Fix recognition of resource extensions.
|
|
|
|
Also removes a related debug print.
|
|
Changed indent type settings
|
|
HTML5: Add (multi-)touch events, fix inverted scrolling
|
|
Adds a tooltip parameter to `TreeItem::add_button()` and set a few tooltips in the Project settings and SceneTree dock.
|