Juan Linietsky
37f558cd7b
Some BRDF fixes
2016-12-21 14:22:17 -03:00
AlexHolly
d8129719c2
advanced string format
2016-11-01 15:14:48 +01:00
Ariel Manzur
a3131a6b5b
added implementation of is_valid_ip_address()
2016-10-20 09:58:00 -03:00
Rémi Verschelde
bf89f43927
Merge pull request #6650 from volzhs/resource-path
...
Fix error when using 2 or more slashes on resource path
2016-10-03 12:00:22 +02:00
volzhs
c333659ebc
Fix typo for word_wrap
2016-09-30 03:28:05 +09:00
volzhs
0866f49f4e
Fix error when using 2 or more slashes on resource path
2016-09-30 03:11:45 +09:00
allkhor
09c4d65b64
Fix String::is_valid_integer() for single symbols + and -
2016-07-31 00:18:30 +06:00
Rémi Verschelde
f40f360a2c
Remove unused variables (fourth pass) + dead code
...
Also fix a potential regression from 3fcb9b1ec1
.
2016-07-08 16:47:55 +02:00
Rémi Verschelde
d52fa2e0eb
Merge pull request #5380 from vnen/string-canvasitem-docs
...
Documentation for String and CanvasItem
2016-06-24 21:16:20 +02:00
George Marques
f4dfa37a23
Fix bug in String==StrRange comparison
...
It was comparing the StrRange with itself, always return true if both
were the same length.
Fix #3843
2016-06-24 12:39:58 -03:00
George Marques
98b02209a4
Add sha256_buffer() function to String
2016-06-23 13:59:23 -03:00
George Marques
1b8d0a16b7
Add similarity comparison to String
...
Uses the Sorensen-Dice coefficient to calculate similarity. This also adds
String.bigrams() as a convenience function needed by the comparison.
2016-06-19 11:39:01 -03:00
Bojidar Marinov
7073bb0bb2
Add sha256 to String and File/FileAccess.
...
Probably does #4166
2016-06-17 10:55:16 +03:00
George Marques
a6c37d2b5d
Add 'is_subsequence_of' function to String
2016-06-12 14:52:54 -03:00
Hubert Jarosz
33403d91f7
remove trailing whitespace
2016-05-21 15:29:25 +02:00
Juan Linietsky
c195c0df6b
-Added configuration warning system for nodes
...
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
2016-05-17 18:28:44 -03:00
Mattias Cibien
49c473bb36
Added possibility to strip left and right to strip_edges ( #4594 )
2016-05-11 09:22:59 +02:00
Alexander Holland
f86cffd8e6
fix percent decode utf8 error
2016-05-05 13:34:15 +02:00
Juan Linietsky
567cb691ec
Modified editor strings to be translatable in the future
2016-05-03 22:25:37 -03:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Julian Murgia - StraToN
7b47153072
Fixed String::camelcase_to_underscore() so it works in all cases. Fixes PR #1650
2016-02-17 19:26:22 +01:00
Juan Linietsky
4fdab4f555
added a new function to escape properly json, fixes #3282
2016-01-10 15:01:06 -03:00
Juan Linietsky
e8fbf39f88
-Replaced tinyjpg for jpgd (public domain), fixes progressive encoded jpgs and speeds up. Closes #2040
...
-Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
2016-01-03 17:14:28 -03:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
Rémi Verschelde
f7e4c4e359
Fix call to _snprintf on GCC
...
Was a regression from ddbf2ff
.
This commit also introduce a "#define snprintf _snprintf", so the rest of the file was simplified to make use of this
instead of distinguishing between snprintf and _snprintf in the various functions.
2015-11-20 00:30:35 +01:00
Juan Linietsky
2769da7744
compile fixes
2015-11-19 20:24:43 -03:00
Ariel Manzur
ddbf2ffd1d
fix compile error in some msvc version (snprintf not found)
2015-11-19 18:09:57 -03:00
Aren Villanueva
5c7e9e7e63
Fixes the make_doc.sh, <, > and & signs in descriptions that cause the parser to break.
...
Documentation for HTTPClient.
Added a query_string_from_dict method to HTTPClient to create a x-www-form-urlencoded valid query string for GET and POST messages.
String now has http_escape() and http_unescape() methods to help facilitate the above query_string_from_dict method.
2015-11-19 22:01:42 +11:00
Bojidar Marinov
d9583f8a72
Add missing \n to world_wrap. Close #2516
...
The issue was that world_wrap would skip over newlines, without adding them to the output.
2015-09-24 10:17:06 +03:00
Bojidar Marinov
ca11b2fa4b
Fix _xml_unescape, as suggested by @reduz
2015-09-23 21:40:24 +03:00
Bojidar Marinov
a7f0846a6b
Flip < and > in String::xml_escape. Close #2511
...
Before > referred to < and < to >, which is incorrect...
2015-09-23 21:33:31 +03:00
Juan Linietsky
b0be30d9ef
make sure array is created if not existing, as noted by Guilherme Felipe
2015-08-25 23:09:41 -03:00
Juan Linietsky
d50921b550
Show documentation for properties on hover.
...
This works if the property has been documented (about half are at this point)
2015-08-25 23:00:11 -03:00
Juan Linietsky
4613a3f2c0
small fixes
2015-06-30 11:59:00 -03:00
Juan Linietsky
95047562d7
Several performance improvements, mainly in loading and instancing scenes and resources.
...
A general speedup should be apparent, with even more peformance increase when compiling optimized.
WARNING: Tested and it seems to work, but if something breaks, please report.
2015-06-29 00:29:49 -03:00
Juan Linietsky
2a02d3f96f
fix font import path on windows, closes #1675
2015-05-04 15:06:41 -03:00
Juan Linietsky
fdaa2920eb
Updated copyright year in all headers
2015-04-18 14:38:54 -03:00
Nathan Warden
21eb3b2a83
Camel casing being capitalized only happens in the inspector now.
2015-03-23 00:08:07 -05:00
Juan Linietsky
0dcca688d2
Revert "Camelcased script variables will now capitalize in the inspector."
2015-03-22 19:06:13 -03:00
Juan Linietsky
0302ea5b82
Merge pull request #1396 from Spooner/fix_sprintf_errors
...
Fix sprintf errors
2015-03-22 15:03:32 -03:00
Nathan Warden
8f5bf2a2ef
Camelcased script variables will now capitalize in the inspector.
2015-02-19 19:35:04 -05:00
Bil Bas (Spooner)
db2381de7a
Correctly halt on error in sprintf parsing ( fixes #1393 )
2015-02-19 15:45:49 +00:00
Bil Bas (Spooner)
af7c8bdf23
Completed more complex formatting.
2015-02-01 20:18:38 +00:00
Bil Bas (Spooner)
6306254d37
Completed implementing standard formatting.
2015-02-01 18:42:36 +00:00
Bil Bas (Spooner)
7a41f8c604
Added basic sprintf functionality (e.g. "fish %d %s" % [12, Vector2(1, 2)])
2015-01-10 20:44:20 +00:00
Juan Linietsky
507736690d
removed print
2015-01-03 16:00:37 -03:00
Juan Linietsky
cef3bd026f
-fixed issue with denormals in half precission, closes #1073
...
-added h_offset and v_offset to 3D Camera, should allow to do the same as in #1102
2015-01-03 11:06:53 -03:00
Juan Linietsky
01ffe6cf89
-Rasterizer supports meshes with both skeletons and blend shapes
...
-Collada exporter supports Blend Shapes (even on actions via set driven keys)
2014-10-09 19:44:27 -03:00
Juan Linietsky
11a5ed508b
Fixed too many little issues, check the issues closed today.
2014-09-21 01:43:42 -03:00
Juan Linietsky
678948068b
Small Issues & Maintenance
...
-=-=-=-=-=-=-=-=-=-=-=-=-=
-Begin work on Navigation Meshes (simple pathfinding for now, will improve soon)
-More doc on theme overriding
-Upgraded OpenSSL to version without bugs
-Misc bugfixes
2014-08-01 22:10:38 -03:00
Juan Linietsky
9b8696d3dd
Light Baker!
...
-=-=-=-=-=-=
-Support for lightmap baker, have fun figuring out how it works before tutorial is published.
2014-06-11 10:41:03 -03:00
marynate
56d9faebab
Make String::right count from pos instead of pos+1
2014-05-13 01:19:41 +08:00
Juan Linietsky
0a717ffee2
Merge branch 'master' of https://github.com/okamstudio/godot
...
Conflicts:
modules/multiscript/register_types.cpp
platform/android/java/src/com/android/godot/GodotLib.java
2014-03-13 23:14:35 -03:00
Juan Linietsky
31ce3c5fd0
-fix bug in cache for atlas import/export
...
-fix some menus
-fixed bug in out transition curves
-detect and remove file:/// in collada
-remove multiscript for now
-remove dependencies on mouse in OS, moved to Input
-avoid fscache from screwing up (fix might make it slower, but it works)
-funcref was missing, it's there now
2014-03-13 22:57:24 -03:00
Vinzenz Feenstra
bfa38b5166
Fix string version of begins_with
...
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-26 15:47:22 +01:00
Vinzenz Feenstra
339f332892
Fix for Issue #108
...
Entering a somethign in the 'Path field' triggers the
`_path_changed` signal being triggered.
This in turn calls Globals::localize_path(const String& p_path) with the
currently entered string.
localize_path then is replacing backslashes with slashes and calls
afterwards `String::simplify_path`
String::simplify_path is checking wheter a string starts with:
- res://
- local://
- user://
If any of those is true it removes this section.
However, if any of the first letters of those are matching begins_with
returns true, which is wrong. It should only return true if the whole
string is matched at the beginning.
This caused the whole desaster and lead localize_path into an endless loop
because out of `u` suddenly became user:// which it then tried again to
localize and so on.
This fix, fixes the root of the problem which is begins_with which should
not return true if not the whole search string was matched.
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-17 21:54:26 +01:00
Juan Linietsky
0b806ee0fc
GODOT IS OPEN SOURCE
2014-02-09 22:10:30 -03:00