Commit graph

219 commits

Author SHA1 Message Date
Juan Linietsky a67486a39e improved get_node(), connect(), etc code completion.
-properly completes text arguments
-includes the "/root" autoloads
2015-06-26 01:14:49 -03:00
Juan Linietsky 8b61a3c358 Merge pull request #1907 from tommy3/show-hidden-files
set initial flag 'show_hidden_files' for file dialogs in project manager initialization
2015-06-23 00:01:55 -03:00
Juan Linietsky 46692cccf2 Merge pull request #2068 from Krzycho666/color_ramp
ColorRamp new features
2015-06-23 00:01:01 -03:00
Juan Linietsky e9bbb97acc Multiple scene editing *POTENTIALLY UNSTABLE*
-ability to edit multiple scenes at the same time
-resource internal IDs are now persistent, this makes multiple scene
editing possible but maaaaay result in file corruption bugs (tested and
could not find anything but possibility exists because core code
changed, report immediately if you find this).
-properly save settings, layout, etc when edited
-script editing is independent from scene editing now
-show a yellow box when a script belongs to the scene
2015-06-22 00:04:15 -03:00
Juan Linietsky 8228fea02f missing changes 2015-06-14 02:13:47 -03:00
Juan Linietsky 9a58960d28 some editor window changes
-ability to make dock position configurable, and it gets saved
-editor starts maximized default
2015-06-13 22:12:53 -03:00
krzycho 936b6e69f6 founded and fixed a bug that freezed godot when deleting while grabbing color in ColorRamp 2015-06-11 05:18:13 +02:00
krzycho 394276c45f ColorRamp new features:
- hold alt and left-click to duplicate color
- hold shift while grabbing color node to snap selected one to the nearest one if close enough
2015-06-11 04:36:11 +02:00
Juan Linietsky c76900beb8 draw button focus before text and icon
closes #2047
2015-06-08 10:36:27 -03:00
Juan Linietsky 7590f3db21 grid container supports separate h and v spacing
closes #2049
2015-06-08 10:36:26 -03:00
Juan Linietsky c7af3146c8 Merge pull request #2007 from Krzycho666/master
Fixed ui_accept problem
2015-06-07 00:29:35 -03:00
Juan Linietsky 143265d4cb Merge pull request #1973 from Biliogadafr/ColorRamp
Replace color phases with color ramp for Particles2D. (need some review/guidance)
2015-06-07 00:26:35 -03:00
Juan Linietsky b524b40fdc -fixed many memory initialization issues
-fixed deadlock on previews thread
-fixed compilation errors on unix
2015-06-06 22:06:58 -03:00
Juan Linietsky 6974823288 Merge remote-tracking branch 'origin/master'
Conflicts:
	tools/editor/io_plugins/editor_texture_import_plugin.cpp
2015-06-06 10:12:09 -03:00
Juan Linietsky 9acab32daa new file dialog!
-ItemList control for easier lists/thumbnails
-New file dialog, with support for thumbnails, favorites, recent places,
etc
-Moved .fscache out of the project, no more bugs due to committed/pulled
.fscache!
-Dir dialog now sorts directories
2015-06-06 09:44:38 -03:00
Juan Linietsky ab99671bb8 -fixes to navigation, so edge-merging is more flexible on conflict
-add tab support to richtextlabel
-some click fixes to audio stream resampled
-ability to import largetextures (dialog)
2015-06-01 19:42:34 -03:00
krzycho 14c63565ec Fixed ui_accept problem. It's possible now to make a custom ui_accept action event and pull it. 2015-05-29 23:37:23 +02:00
Biliogadafr df9d48d9b5 Replace color phases with color ramp for Particles2D. 2015-05-24 21:18:52 +03:00
Juan Linietsky fec6aaffd8 more fixes
fix ctrl-a for some cases, mentioned in #1704
fix toggling visibility not updating, fixes #1923
2015-05-19 23:07:11 -03:00
Juan Linietsky 9f686563d0 fixed latin separation in label, broke it? for cjk
changed non-separatable character detection so latin works properly.
This is probably incorrect. If you speak chinese, korean or japanese,
please help me fix it.  closes #1935
2015-05-19 22:26:25 -03:00
Juan Linietsky 221443c5a2 more fixes
-only refuse to load an older file if version major is different, fixes
#1944
-fix drive letter default value, fixes #1939
2015-05-19 21:36:35 -03:00
Juan Linietsky f220183e40 fix a crash situation when starting a thread and other small fixes 2015-05-18 12:45:53 -03:00
tommy3 282c392466 set initial flag 'show_hidden_files' for file dialogs in project manager initialization 2015-05-14 23:50:15 +02:00
Guilherme Felipe 53541c69d4 Fix for scroll_to_line and search functions, fix #1897
The function scroll_to_line(0) should return ERR_FAIL_INDEX because
the first line is 1.
2015-05-13 23:35:00 -03:00
Juan Linietsky d1e4d6e997 -fix clip+center alignment on Button, fixes #1865 2015-05-09 18:29:55 -03:00
Juan Linietsky 65d48d6d39 -Added prints() function, fixes #1132, #1859
-Tabs work inside built-in log window, fixes #1867
2015-05-09 18:09:58 -03:00
Juan Linietsky c99813dc38 Merge pull request #1826 from eehrich/master
Reviewed compiler warnings: fixed some bugs and formal stuff. (2nd try)
2015-05-07 20:02:54 -03:00
Juan Linietsky 9de37817bc -removed dynamic_cast on CheckBox, fixes #1830 2015-05-06 09:45:25 -03:00
ehriche ac9263c680 clearified parenthesis of if construct 2015-05-06 01:39:42 +02:00
ehriche 897a1aade5 optional formal changes 2015-05-06 01:22:31 +02:00
Juan Linietsky 36932a0065 avoid crash on some cases of richtextlabel fill, but odd behavior persists, #1803 2015-05-05 00:37:06 -03:00
Juan Linietsky 74b0e0c296 fix crash in editor when using alt+arrows to indent, thanks adolson and romulox_x 2015-05-05 00:17:22 -03:00
Juan Linietsky dce8a6c251 Merge pull request #1804 from ricpelo/ricpelo-patch-2
Wrong use of | instead of ||
2015-05-04 21:49:12 -03:00
Juan Linietsky 2a02d3f96f fix font import path on windows, closes #1675 2015-05-04 15:06:41 -03:00
Ricardo Pérez f3542ff838 Wrong use of | instead of || 2015-05-04 19:54:17 +02:00
Juan Linietsky d6d29f6d79 Merge pull request #1755 from dbsGen/master
Fixed some bugs in Label.
2015-05-03 22:55:58 -03:00
Biliogadafr 8e7973d660 Triple click doesn't select line if click was done on different lines. Fix #1727 2015-05-02 00:03:49 +03:00
Juan Linietsky c45ffc2ca9 -fixed old condition in TextureFrame that caused bugs in materials, closes #1742 2015-05-01 12:16:51 -03:00
Juan Linietsky 4804462ee0 -Fixes from source code analyzizer, closes #1768 2015-05-01 10:44:08 -03:00
Gen 0bc5b7a146 Optimize the code. 2015-05-01 18:47:34 +08:00
Gen c322eddffb fixed a autowrap bug when word is too length. 2015-04-30 12:47:05 +08:00
Gen 57d571a1c4 Update label.cpp 2015-04-30 00:03:19 +08:00
Gen 02d672753f space is only skipped when autowrap. 2015-04-29 23:43:39 +08:00
Gen 6fa342a1b0 record the number of space before a word. 2015-04-29 16:34:56 +08:00
Gen ad358562e5 record the number of space before a words. 2015-04-29 16:34:25 +08:00
Juan Linietsky 7773d70f44 bad lookup in grid container corrected, cells are properly aligned again. Fixes #1462 2015-04-28 23:10:06 -03:00
Gen dfc59d1e00 Update label.h 2015-04-28 23:07:41 +08:00
Gen 1a6012aff5 Update label.cpp 2015-04-28 23:06:34 +08:00
Juan Linietsky 65c96a71bd fix crash on exit for popup, fixes #1676 2015-04-26 15:42:02 -03:00
Juan Linietsky 1721ef17d6 disable apply modifiers by default in export flag 2015-04-22 18:20:29 -03:00
Juan Linietsky 93ce7d92c1 -Many fixes and demo for RichTexLabel
-Proper ability to edit BBCode in RTL.
2015-04-21 16:01:58 -03:00
Juan Linietsky 70752f3e4b -oops, duplicated text issue fix.. 2015-04-20 20:51:52 -03:00
Juan Linietsky 389d6ca0c7 disable undo properly after ctrl-i, fixes #1688 2015-04-18 16:57:01 -03:00
Juan Linietsky 4661a6e126 -try to avoid errors when path using ".." is present in script include, fixes #1703 2015-04-18 16:17:33 -03:00
Juan Linietsky fdaa2920eb Updated copyright year in all headers 2015-04-18 14:38:54 -03:00
Juan Linietsky 1572238adb merging okam changes 2015-04-02 07:22:17 -03:00
Juan Linietsky 7ad7f2f6a9 android fixes, please test
(can' t build android atm)
2015-03-23 11:31:23 -03:00
Juan Linietsky ffa556aeea Merge pull request #1402 from ElectricSolstice/editor_match_fix
Fixed issue #1377 about script editor parenthesis matching.
2015-03-22 15:02:15 -03:00
Juan Linietsky 6d813c81b8 Merge pull request #1460 from MarianoGnu/master
Create Checkbox class with support for Radio Buttons
2015-03-22 14:55:36 -03:00
Juan Linietsky 47efcff8bb Merge pull request #1535 from rollenrolm/hidden_files
New option to show/hide hidden files
2015-03-22 14:46:09 -03:00
Juan Linietsky 1e4841dc52 drag & drop demo (GUI) 2015-03-22 12:52:47 -03:00
rollenrolm db0a71fc58 New option to show/hide hidden files 2015-03-21 18:33:32 +01:00
Juan Linietsky acc6f3b285 signed distance field font support 2015-03-21 00:43:33 -03:00
Juan Linietsky 53e1694e1e New option to send canvas to render buffer
allows to use 3D environment effects for post processing such as Glow,
Bloom, HDR, etc. in 2D.
2015-03-16 01:14:59 -03:00
Juan Linietsky 09489e3a78 lot of work on 2D lighting and isometric maps
added a new demo, isometric_light that does full isometric sorting,
lights, shadows, etc.
2015-03-09 02:34:56 -03:00
Mariano Javier Suligoy 0bc7eb1d91 Fix C++11 compilation 2015-03-08 10:39:27 -03:00
Mariano Javier Suligoy 63006f6f6f Register CheckBox class to create it using editor. 2015-03-02 22:12:51 -03:00
Mariano Javier Suligoy 205ed6c9f5 Improve mechanism and fix radio icon rendering. 2015-03-01 16:45:13 -03:00
Mariano Javier Suligoy e8e9f100e5 Add CheckBox control with theme edition and radio icon avaible. 2015-03-01 11:23:05 -03:00
ElectricSolstice 11a5949ec4 Fixed issue 1377 about script editor parenthesis matching. 2015-02-19 16:34:04 -08:00
Juan Linietsky 5ef3f7392f support for light and normal mapping in 2D 2015-02-18 19:40:02 -03:00
Juan Linietsky 4333aa240c Godot UI is quick and snappy again!
Changed linked listed sort to use auxiliary memory
this fixes user interface performance issues.
2015-02-15 12:38:25 -03:00
Juan Linietsky d2f86cc09b fixes to mouse warp
-can warp now from viewport and control, in their respective coordinate
systems
-warp is now local to the window on Windows and OSX.

IF YOU RUN OSX, PLEASE TEST THIS! And make sure it works!, new code is
in OS_OSX::warp_mouse_pos. I don't have OSX so i can't test!
2015-02-14 19:22:06 -03:00
Juan Linietsky c5f509f238 New Navigation & Pathfinding support for 2D
-Added Navigation & NavigationPolygon nodes
-Added corresponding visual editor
-New pathfinding algorithm is modern and fast!
-Similar API to 3D Pathfinding (more coherent)
2015-02-14 12:10:15 -03:00
Juan Linietsky 67d357191f begin work on lighting system for 2D
nothing functional yet, just experimenting with API
2015-01-22 11:07:16 -03:00
Nathan Warden cac555dc78 When overwriting a file with an auto added extension the file name is now set correctly. 2015-01-16 07:48:28 -05:00
Nathan Warden 7d2f359a0c File path in save dialog automatically appended with correct extension if not manually added by the user. 2015-01-14 18:05:57 -05:00
marynate 3a0f665c90 Total rows of text edit was calculated wrong, fixed issue #842 2015-01-13 17:16:56 +08:00
Juan Linietsky 544ce2a1db -Initial working(?) implementation of shaders for 2D. Lighting still not there though.
Check for reference:
https://github.com/okamstudio/godot/wiki/shader
2015-01-12 10:19:09 -03:00
Juan Linietsky 78f4b93703 Fixes to GraphEdit:
-Working area is bigger now, solves #1148
-Using Position now works, fixes #1141
-RGB ops now work, fixes #1139
-Missing bindings to GraphEdit and GraphNode added
-Shader Graph Editor Shows errors on cyclic links and missing connections
2015-01-08 00:41:34 -03:00
Juan Linietsky 7a0e4c822c -Visual Shader Editing Finished, PLEASE TEST! 2015-01-07 01:45:46 -03:00
Juan Linietsky 1ff0d5c4e5 -attempt to be friendlier on non english keyboards 2015-01-04 22:39:21 -03:00
Juan Linietsky a8bcb96ad4 -Fix shortcuts for OSX code completion, fixes #1111
-Fixed how translation fallbacks works, fixes #1011
2015-01-04 11:03:31 -03:00
Juan Linietsky f39473ae7a -Obscure bug in popups solved, fixes #1008 2015-01-03 23:27:11 -03:00
Juan Linietsky 0e1d70f637 -removed empty control 2015-01-03 16:55:07 -03:00
Juan Linietsky ddf7457894 Merge branch 'master' of https://github.com/okamstudio/godot 2015-01-03 16:53:39 -03:00
Juan Linietsky fbdd925d9b -Work in progress visual shader editor *DOES NOT WORK YET* 2015-01-03 16:52:37 -03:00
Juan Linietsky 167c1027be -fixed bug on focus capture, now respets line/text edit
-when playing animations, property editor is now refreshed properly, fixes #1046
2015-01-03 15:39:01 -03:00
Juan Linietsky 6b5b95bb4e -added new code completion guess locations, closes #1032
-moved commandline fix to mingw-only, should fix #1064
2015-01-03 13:03:13 -03:00
romulox_x c83a00c603 Changed texturebutton scale from float to Size2 2015-01-02 20:23:52 -08:00
Juan Linietsky fa7a3ac0d3 removed deadcode 2015-01-03 00:25:21 -03:00
Juan Linietsky 0df45672e7 -ability to scale and modulate texturebutton, closes #818
-fixed bug in ordering of modal subwindows, closes #1001
2015-01-03 00:23:14 -03:00
Juan Linietsky d722537154 -proper minimum size computation for TabContainer 2015-01-02 22:34:22 -03:00
Juan Linietsky 8a28af024e -fix TextEdit shift-click functionality past begin and end of selection (#1004) 2015-01-02 15:08:40 -03:00
Juan Linietsky d88e192ae4 -fix readonly issues (#1018) 2015-01-02 14:27:21 -03:00
Juan Linietsky f7f197c409 -ability to set default textures in shader (needed for visual shader editing)
-work in progress new graph system (will replace current one)
-crash fix in s3m loader (out of bounds acess)
-fixed vbox overriding of separation (fixes empty line between section tabs)
2014-12-21 11:42:44 -03:00
Juan Linietsky 9783f6fc96 Merge branch 'master' of https://github.com/okamstudio/godot 2014-12-20 12:32:32 -03:00
Juan Linietsky cf0a419efa WIP work on graph nodes and editing 2014-12-20 12:32:14 -03:00
Juan Linietsky 9f5bbfc322 -improved completion options for InputEvent, shows all event types now 2014-12-18 00:56:33 -03:00
Dana Olson 1a6628f5a3 change shortcut for toggle-comment to Ctrl+K 2014-12-17 15:57:39 -05:00