Commit graph

35053 commits

Author SHA1 Message Date
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
Vinzenz Feenstra
518722438f tools/editor/project_export: tree_vb already has a parent
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-17 20:49:48 +01:00
Benjamin Scranton
afcefc7a0e windows StreamPeerWinsock::set_nodelay implementation
StreamPeerWinsock::set_nodelay was a no-op.  Copied the code from the
POSIX implementation because it is also correct on Windows per
http://msdn.microsoft.com/en-us/library/windows/desktop/ms740476%28v=vs.85%29.aspx.
2014-02-17 13:24:44 -05:00
Nr7
1b6a16f8e6 Fixed two incorrect bindings in Physics2DServer 2014-02-17 16:11:20 +02:00
okamstudio
891b2bdb4f Merge pull request #94 from marynate/PR-Fixed_Issue_93
Fixed #93 Build error with latest commit
2014-02-16 08:38:44 -02:00
marynate
408aeeafee Fixed #93 Build error with latest commit 2014-02-16 15:54:09 +08:00
Juan Linietsky
8c1731b679 -project settings are saved when changed
-load() was in the GDScript docs but missing in the scripting-different music for platformer 2D and 3D
-fix how documentation is generated, built in doc browser should be always up to date
-copypaste, scrolling, etc in  builtin doc
-built-in scripts get saved now (though debugger may not always work on them)
-Theme can be set to controls as a property
2014-02-15 21:16:33 -03:00
marynate
2371a92fde UIApplication setStatusBarHidden:animation has been deprecated since iOS 3.2, use setStatusBarHidden:withAnimation instead. 2014-02-15 23:19:43 +08:00
marynate
d38cf2e396 Update SConstruct build scripts for iOS Simulator build 2014-02-15 23:17:23 +08:00
marynate
2dac11d044 More gitignore 2014-02-15 22:57:40 +08:00
Juan Linietsky
9afdb3e0ad -fixed bug in Button now exporting font property
-made GUI Theme editor usable
-editor does not allow to export or create .pck in the same path as a project
-changed .pck format (lacked support for versioning so couldn't change it), previous was causing crashes and is now incompatible, just re-export.
-will not look for .pck files recursively, was causing unexpected behaviors
-fixed execution of Godot in paths with non unicode characters in Windows, OSX and Linux.
2014-02-15 02:02:41 -03:00
reduz
b0870e487c Merge pull request #77 from vinzenz/shaderlang-test-crash-fix
Fixed crash bug in the shaderlang test
2014-02-14 18:59:06 -02:00
reduz
89f96213aa Merge pull request #69 from vinzenz/icon-issue
x11: Set icon issue fix
2014-02-14 18:54:51 -02:00
Vinzenz Feenstra
96bc0c9f15 Fixed crash bug in the shaderlang test
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-14 20:51:55 +01:00
rrockru
a17d76e60b Fixed build issue on linux (missing webp include path).
Tested on ArchLinux.
2014-02-14 18:45:20 +04:00
Vinzenz Feenstra
db3e3255a8 Addressed comments by Terseus to match the spec
size_t -> long
uint8_t -> unsigned char

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-14 12:42:47 +01:00
Vinzenz Feenstra
bfafcb4664 x11: Set icon issue fix
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-14 11:31:41 +01:00
reduz
c12a8e922f Merge pull request #62 from vinzenz/ccflags-handling
Fix CCFLAGS handling
2014-02-14 03:30:51 -02:00
reduz
e0b4ea2731 Merge pull request #59 from marynate/master
Add .gitignore to ignore autogenerated files in source repository
2014-02-14 03:28:39 -02:00
reduz
6a5980e16a Merge pull request #23 from thetron/master
Fixed typo in undefined main_scene alert
2014-02-14 03:26:59 -02:00
Vinzenz Feenstra
8b3fecb43d Fix CCFLAGS handling
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-13 22:15:18 +01:00
Juan Linietsky
b607687a31 Merge branch 'master' of https://github.com/okamstudio/godot 2014-02-13 18:06:53 -03:00
Juan Linietsky
58cda02a38 -fixed export templates not loading/exporting on Windows
-fixed TouchScreenButton with stretch2d
-fixed(?) OSX crash on startup (test!!)
-compilation fixes on windows
-CollisionPolygon editor works again
-find buttons en find dialog
-TileMap editor cleanup (removed "error", made nicer)
-viewport flicker fixed
-make .scn default extension for saving scenes
-export the rest of the network classes to gdscript
2014-02-13 18:03:28 -03:00
marynate
6afd1fd2cb Add .gitignore to ignore autogenerated files in source repository 2014-02-13 23:41:54 +08:00
okamstudio
4ff524b5c9 Merge pull request #7 from fdb/font-import-typo
Fix typo in font import plugin.
2014-02-13 12:11:07 -02:00
okamstudio
ca60bae83e Merge pull request #34 from marynate/master
Fixed build rule file for proper MSVC release build
2014-02-13 12:10:21 -02:00
okamstudio
4e2c81bd4e Merge pull request #11 from rafalcieslak/rotating-camera2d
A rotating Camera2D
2014-02-13 12:09:40 -02:00
okamstudio
6ac0316316 Merge pull request #17 from TiZ-EX1/master
Disable the slider for numeric values on the tree view.
2014-02-13 12:04:59 -02:00
okamstudio
337d98a3e9 Merge pull request #24 from jeremycw/osx-retina
Fix mouse coordinates on OS X retina displays
2014-02-13 12:03:34 -02:00
reduz
3319fd3afa Merge pull request #41 from mdcasey/master
Make math_funcs.h use lrint on msvc 2013
2014-02-13 00:13:08 -02:00
reduz
8abbc20c7f Merge pull request #50 from imgxx/master
damn it, i screwed up, need to learn to use git properly
2014-02-13 00:03:43 -02:00
ImGxx
03fd40149f logo.png 2014-02-12 22:21:47 +07:00
imgxx
c85146e112 Create README.md 2014-02-12 22:08:27 +07:00
Matthew Casey
0bb71e723f Make math_funcs.h use lrint on msvc 2013 2014-02-11 14:19:52 -05:00
marynate
5abc0bbcf6 Fixed build rule file for proper MSVC release build 2014-02-11 23:44:32 +08:00
okamstudio
1adc330b68 Merge pull request #32 from bwzuk/master
Removed unneeded c files from the freetype build rules
2014-02-11 11:51:15 -02:00
bwzuk
ef80fffd19 Merge remote-tracking branch 'upstream/master' 2014-02-11 12:53:33 +00:00
bwzuk
5a65a6cb2b Removed unneeded c files from the freetype build rules, to prevent errors compiling under VC 2014-02-11 11:36:49 +00:00
Nicholas Bruning
91c0aa8340 Fixed typo in undefined main_scene alert 2014-02-11 14:40:30 +11:00
Jeremy Williams
335d963031 Fix mouse coordinates on OS X retina displays 2014-02-10 22:27:50 -05:00
Juan Linietsky
abb985e755 Reverted to older version of WebP, newer one crashed on Android. 2014-02-10 22:37:07 -03:00
Trent McPheron
555d3761db Disabled the slider for numeric values on the tree view. 2014-02-10 16:42:46 -05:00
Juan Linietsky
1c7726820e fixie 2014-02-10 13:12:23 -03:00
rafalcieslak
0366d6cb83 Fixed accidentally broken identation 2014-02-10 14:00:26 +01:00
rafalcieslak
a29bfdf912 Implemented Camera2D.Rotating property 2014-02-10 13:55:12 +01:00
Frederik De Bleser
df43d71f19 Fix typo in font import plugin. 2014-02-10 09:14:06 +01:00
Juan Linietsky
56bf3d0a14 compiling instructions 2014-02-10 01:38:03 -03:00
Juan Linietsky
7cb54f712a hoho 2014-02-09 23:14:35 -03:00
Juan Linietsky
ebc38f099d readme changed 2014-02-09 23:12:50 -03:00
Juan Linietsky
9ccd3615fe ho 2014-02-09 23:11:44 -03:00