summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2017-06-01Merge pull request #9011 from karroffel/ptrcall-nightmare-fixRémi Verschelde
fixed PowerState enum cast
2017-05-31rewritten PBR implementation to make it friendlier with BlenderJuan Linietsky
2017-06-01fixed PowerState enum castKarroffel
Quite a while ago I made a commit (131631b) where I did a weird thing to fix compilation with PTRCALL_ENABLED. And I couldn't sleep because of this after all these months. So here is the proper version.
2017-05-30Several fixes related to PBR and EnvironmentJuan Linietsky
2017-05-29NaturalSort: strings start with . treated differentlyPoommetee Ketson
2017-05-28-Added .hdr format supportJuan Linietsky
-Added default environment editor setting -Added environment created by default in new projects -Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-27Merge pull request #8936 from Hinsbart/fix_actionRémi Verschelde
Fix InputEvent actions.
2017-05-27Fix InputEvent actions.Andreas Haas
The `InputEvent::is_action(pressed|released)` methods weren't implemented yet. Also fixed a typo in `InputDefault` that prevented `Input.is_action(pressed|released)` from working.
2017-05-26-Added EXR supprot for HDR (no BC6 compression yet though)Juan Linietsky
-Improvements to texture importer -Proper detection of S3TC compression modes, and added all modes to Image -Fixes to non-power of 2 compressed textures, which should all be supported by GLES3
2017-05-25Fix virtual methods in InputEventKey.Andreas Haas
This fixes a lot of problems with key input in the engine.
2017-05-25Merge pull request #8590 from tagcup/s3tc_stuffJuan Linietsky
Use libsquish to decompress DXT textures.
2017-05-25Merge pull request #8898 from vnen/screentouch-struct-classRémi Verschelde
Change InputEventScreenTouch from struct to class
2017-05-24Change InputEventScreenTouch from struct to classGeorge Marques
2017-05-24Fix 2D-editor mouse wheel zoom (x11).Martin Capitanio
Fixes #8888
2017-05-23-Fix the "set_val" call deferred, it was the only one.. closes #8742Juan Linietsky
-Removed redundant bind in input_event
2017-05-23fixed crash on code that checks InputEventJuan Linietsky
2017-05-22Merge pull request #8786 from bojidar-bg/fix-astar-weight-scaleRémi Verschelde
Fix weigth scale of A* being applied to the whole estimation
2017-05-22Fix weigth scale of A* being applied to the whole path and estimationBojidar Marinov
Attempt to fix #8584
2017-05-21Avoid overestimating the cost in AStar heuristics.Ferenc Arn
This is a necessary condition for finding optimal solutions. This is achieved by simply requiring/ensuring that no weights are smaller than 1. Fixes #8584.
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-20Merge pull request #8829 from supagu/astar-bidirectionalRémi Verschelde
Added bool to allow astar points to be connected in one direction only
2017-05-19Finish implementation of GDnative builtins bindingsEmmanuel Leblond
2017-05-19Added bool to allow astar points to be connected in one direction onlyFabian Mathews
2017-05-18Use libsquish to decompress DXT textures.Ferenc Arn
2017-05-18Merge pull request #8807 from RandomShaper/mq-flush-reentrantRémi Verschelde
Make MessageQueue::flush() reentrant
2017-05-18Merge pull request #8649 from neikeq/pr-ringbuffer-findRémi Verschelde
RingBuffer: Adds find() method
2017-05-18Make MessageQueue::flush() reentrantPedro J. Estébanez
2017-05-17Fix two typos from previous commitRémi Verschelde
Also cleanup comments on variant types.
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky
2017-05-12Fix natural sorting order in EditorFileDialog, FileDialog and ↵Damian Day
EditorFileSystemDirectory Make EditorFileDialog, FileDialog and EditorFileSystemDirectory alphanumerical sorting more natural Added a new method 'naturalnocasecmp_to' and comparator 'NaturalNoCaseComparator' to String. Fixes #8712.
2017-05-08Fixed the IP resolver code blocking the main thread, it uses a Mutex now to ↵Marcelo Fernandez
lock its own thread.
2017-05-07Implemented scrolling factor for smooth trackpad scrollingtoger5
Working platforms platform: OSX, Windows. Support for almost all ui elements, including project list.
2017-05-05Merge pull request #8658 from Faless/explain_out_of_mem_msg_queue_masterRémi Verschelde
Better explain out of memory error in message queue
2017-05-05Merge pull request #8642 from RandomShaper/fix-pack-get-curr-dirRémi Verschelde
Fix infinite loop in DirAccessPack::get_current_dir()
2017-05-05Better explain out of memory error in message queueFabio Alessandrelli
Also effectively saves one unnecessary call when everything is fine.
2017-05-05RingBuffer: Adds find() methodIgnacio Etcheverry
2017-05-04Fix infinite loop in DirAccessPack::get_current_dir()Pedro J. Estébanez
2017-05-01Rename project file to "project.godot"Rémi Verschelde
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.
2017-04-29Merge pull request #8572 from akien-mga/thirdpartyRémi Verschelde
Moving more thirdparty stuff (minizip, some single-file external libs) to the thirdparty directory
2017-04-29Revert "Use .godot as file extension for project files."Juan Linietsky
2017-04-28Move other lone thirdparty files to thirdparty/miscRémi Verschelde
Also move Box2D ConvexDecomposition contrib code to thirdparty/b2d_convexdecomp.
2017-04-28Split thirdparty smaz.c out of compressed_translation.cppRémi Verschelde
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 ```
2017-04-28Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde
2017-04-26Fix recognition of resource extensions.Andreas Haas
Also removes a related debug print.
2017-04-26Fix wrong fallback for localevolzhs
2017-04-24Merge pull request #8506 from iam13islucky/patch-1Rémi Verschelde
[3.0] Fix bug in Image::_get_pixelb
2017-04-24Merge pull request #8469 from Melix19/patch-2Rémi Verschelde
Update snake_case splitting
2017-04-24Merge pull request #8420 from magyar123/pr-script-files-as-baseRémi Verschelde
Added the ability to select files as base when creating scripts
2017-04-24Merge pull request #8277 from tagcup/math_checksRémi Verschelde
Added various functions basic math classes. Also enabled math checks …
2017-04-23[3.0] Fix bug in Image::_get_pixelbiam13islucky
Fixes issue: https://github.com/godotengine/godot/issues/8158