summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-05Add support for Python-like negative indexingDennis Brakhane
Negative indexing is a useful feature in Python, especially when combined with array slicing. Array slicing will hopefully be implemented later, but negative indexing is useful in its own right. A negative index is indexing from the end of an array, "array[-1] == array[array.size()-1]", using a negative index larger/smaller than the length of the array is still an error. While primarily useful for arrays and strings, support is also added to "array like" structures like Vector3 and Color. This is done just to be consistent; vector3[2] is much clearer than vector3[-1], but disallowing it while allowing it for an array with 3 elements seems confusing.
2016-06-05Move repetitive code to macrosDennis Brakhane
In preparation for the following "allow negative indexing" commit, replace the repetitive array "set index" and "get index" code with macros. no functional changes were made, the resulting machine code is unchanged.
2016-06-05Merge pull request #5047 from bojidar-bg/document-viewport-viewportspriteRémi Verschelde
Document Viewport and ViewportSprite
2016-06-05Document Viewport and ViewportSprite classesBojidar Marinov
2016-06-05Sync with -doctoolBojidar Marinov
2016-06-05Merge pull request #5038 from djrm/new_iconsRémi Verschelde
New icons
2016-06-05Make Input Actions config not affect the editorJuan Linietsky
2016-06-05changed TTR for RTRJuan Linietsky
2016-06-04fix for travisJuan Linietsky
2016-06-04-customizable shortcuts in editorJuan Linietsky
-editor settings now save to .tres instead of .xml -buttons can now hold a shortcut
2016-06-04Added 2x PNG versions of the iconsDaniel J. Ramirez
2016-06-04Added basic script to convert source svgs to pngsDaniel J. Ramirez
2016-06-04Merge pull request #5036 from J08nY/inputmap-actionsRémi Verschelde
Added InputMap.get_actions()
2016-06-04Merge pull request #4999 from volzhs/fix-project-pathRémi Verschelde
change invalid characters when get user data dir on Windows & Unix
2016-06-04New icons, almost all the icons have an svg version, plus a more consistent lookDaniel J. Ramirez
2016-06-04Merge pull request #5035 from marcelofg55/masterRémi Verschelde
Right click->Quit on the godot icon will close the application on OSX
2016-06-04Created a NodeDock with signals and groupsJuan Linietsky
2016-06-04Added InputMap.get_actions()J08nY
get_actions() lists all actions in the InputMap.
2016-06-04Right click->Quit on the godot icon will now close the application on OSX.marcelofg55
Fixed get_window_position that missed a return on OSX.
2016-06-04Merge pull request #5032 from akien-mga/pr-defaut-linear-dampRémi Verschelde
Physics2D: Rename default_density to default_linear_damp
2016-06-04Merge pull request #5030 from sanikoyes/Pr-fix-label-minsizeRémi Verschelde
fix line_edit&label get min size bug&draw problem
2016-06-04Merge pull request #5027 from J08nY/gdscriptRémi Verschelde
Add Array.find_last() and Array.count()
2016-06-04Merge pull request #5023 from volzhs/deselect-helpRémi Verschelde
deselect in help when click somewhere
2016-06-04Merge pull request #5022 from vnen/pr-fix-color8Rémi Verschelde
Fix Color8 constructor using wrong value range
2016-06-04Merge pull request #4943 from marcelofg55/masterRémi Verschelde
Key modifiers (Ctrl, Alt, Meta and Shift) may be used as Input keys n…
2016-06-04Merge pull request #4300 from leezh/control_focus_modeRémi Verschelde
Exposed Control::focus_mode to the scene editor
2016-06-04Physics2D: Rename default_density to default_linear_dampRémi Verschelde
Also adds a proper deprecating warning and tries to do some porting automatically. Supersedes #4109.
2016-06-04fix line_edit&label get min size bugsanikoyes
fix line_edit draw char(x ofs_max)
2016-06-04Merge pull request #4994 from Warlaan/create_dialog_starts_collapsedRémi Verschelde
The create node dialog now starts collapsed.
2016-06-04The create dialog starts collapsed now.Warlaan
The original behavior can be reactivated in the editor settings.
2016-06-03Signals became a tabJuan Linietsky
added icons to contextual scene tree menu
2016-06-03Added Array.find_last() and Array.count()J08nY
2016-06-03Merge pull request #5025 from J08nY/masterRémi Verschelde
Fix typo in http_client.h
2016-06-03Fix typo in http_client.hJ08nY
2016-06-04deselect in help when click somewherevolzhs
2016-06-03SampleLibraryEditor: Initialize "is_playing" variableBłażej Szczygieł
Fixes crash caused by jumping to wrong place due to uninitialized variable. Closes #4703 (cherry picked from commit 9acb666320a03d6f47b6bd43842488bdb921be9f)
2016-06-03Fix Color8 constructor using wrong value rangeGeorge Marques
Fix #5015
2016-06-03Merge pull request #5016 from J08nY/classrefRémi Verschelde
Added classref for HTTPClient and HTTPRequest
2016-06-03Added classref for HTTPClient and HTTPRequestJ08nY
2016-06-03Exposed a RESULT_DOWNLOAD_FILE_CANT_OPEN constant to docs and GDScript.J08nY
2016-06-03Sync classrefJ08nY
2016-06-03Cleaned up remote menuJuan Linietsky
-Merged fileserver & deploy dumb clients option -Live Script Reloading can now happen automatically on script save -Changed Live to Mirror term to differentiate from Unity and Unreal, as what Godot does is not the same thing.
2016-06-03Remove leftover from the demosRémi Verschelde
Was missed in c7d45ec085086ab86192a7890b9622320d57b89d.
2016-06-03Removed demosJuan Linietsky
they go to their own project now
2016-06-03Merge pull request #4950 from Geequlim/fix-editor-import-pluginRémi Verschelde
Expose ResourceImportMetadata::set_source_md5 for script
2016-06-03Expose ResourceImportMetadata::set_source_md5 for scriptGeequlim
2016-06-03more fixes in Russian localization (#5006)Dmitriy Salnikov
2016-06-02Merge remote-tracking branch 'upstream/master'marcelofg55
2016-06-02Update to libpng 1.5.27Rémi Verschelde
No security relevant fix as far as I can see, but the version bump does not hurt either.
2016-06-02Merge pull request #5001 from derderder77/masterRémi Verschelde
Add some french translation.