Commit Graph

9292 Commits

Author SHA1 Message Date
Hein-Pieter van Braam 5fed954a1b Fix UNIX file open
In #10973 I refactored FileAccessUnix::_open() but I accidentally made
it impossible to create new files.

This fixes that and fixes #10984
2017-09-05 01:14:14 +02:00
toger5 18917ad1d6 fixed log colors 2017-09-05 01:10:04 +02:00
Paulo Gomes af40c8698b Smarter toggle comment block. issue #10720
Added check to see if all lines in selection are commented (is_commented)
If so remove the comment from each line else add a comment.
If the line is empty, with trailing spaces or tabs, remove those.
This will add an extra comment character to the lines that are already commented,
so when you uncomment a block it retains the previous commented lines.

Following Zylann logic, if the selected lines are all commented out,
it removes one # from each. Otherwise, it adds one.
It works how it is, but i would like some feedback on how to implement this.
2017-09-05 00:04:08 +01:00
Rémi Verschelde 27feafbe12 Merge pull request #10973 from hpvb/fix-file-access-unix
Make UNIX file access more correct
2017-09-05 00:33:20 +02:00
Rémi Verschelde 45800413d8 Merge pull request #10978 from Noshyaar/pr-meshlib
MeshLibrary: remove duplicated line

[ci skip]
2017-09-05 00:33:00 +02:00
Rémi Verschelde efa50fbdfd Merge pull request #10975 from hpvb/remove-null-check-from-cast-to
Remove NULL check from Object::cast_to()
2017-09-05 00:14:35 +02:00
Rémi Verschelde 0f63b68336 Merge pull request #10822 from hoelzl/toggle-button
Fix inconsistent toggle button behavior
2017-09-05 00:14:05 +02:00
Rémi Verschelde 77d5013f94 Merge pull request #10974 from henkz1/gles-10963
Don't compare float to int
2017-09-05 00:12:43 +02:00
Juan Linietsky 89e090edef Fix ETC2 import for luminance/lumalpha textures, fixes #10421 2017-09-04 18:45:41 -03:00
Thomas Herzog 84c33cfe6b Merge pull request #10860 from karroffel/bob-the-string-builder
added StringBuilder class
2017-09-04 23:44:23 +02:00
Rémi Verschelde 4405de570d Merge pull request #10874 from Noshyaar/pr-action
ProjectSettings: enhance add action error, fix confirm dialog
2017-09-04 23:30:45 +02:00
Rémi Verschelde e0801111c4 Merge pull request #10883 from supagu/symlink2
Another take at fixing symlinks
2017-09-04 23:27:32 +02:00
Rémi Verschelde 431de234e4 Merge pull request #10899 from toger5/theme_fixes_from_light
Theme fixes from light
2017-09-04 23:14:18 +02:00
Rémi Verschelde c9593a285b Merge pull request #10902 from toger5/rtl_copy_and_selection_color
fixed copy on osx + help selection color
2017-09-04 23:11:12 +02:00
Rémi Verschelde 7f262e484a Merge pull request #10907 from SaracenOne/spatial_edit_drag
Added support for drag and drop in spatial editor.
2017-09-04 23:05:31 +02:00
Poommetee Ketson 9301ab5a57 MeshLibrary: remove duplicated line 2017-09-05 04:02:24 +07:00
Juan Linietsky 334a81844e Improve guessing of what editor to switch to, fixes #10405 2017-09-04 18:00:52 -03:00
Rémi Verschelde 6960f8a3b8 Merge pull request #10916 from volzhs/vertical-align-tree-lineedit
LineEdit in Tree is aligned vertical center
2017-09-04 22:58:32 +02:00
Rémi Verschelde bba365fab7 Merge pull request #10931 from djrm/pr_style_fixes
Improved color temperature in script editor
2017-09-04 22:50:54 +02:00
Rémi Verschelde 729cfa39e2 Merge pull request #10941 from Noshyaar/pr-cursor
2DEditor: enhance viewport cursor shape
2017-09-04 22:46:20 +02:00
Saracen 92e77d5ff2 Recast integration. 2017-09-04 21:41:57 +01:00
Hein-Pieter van Braam f8cb9f5516 Remove NULL check from Object::cast_to()
After discussing this with @reduz on IRC we agreed to remove these
checks. We now consider cast_to() to be NULL safe
2017-09-04 22:29:43 +02:00
Hein-Pieter van Braam a7c2ff5c94 Make UNIX file access more correct
Check for errors in the POSIX recommended ways.
2017-09-04 22:23:29 +02:00
Henrik Andersson e0a19a77e5 Don't compare float to int 2017-09-04 22:21:55 +02:00
Rémi Verschelde e979e50b7d Merge pull request #10921 from karroffel/gdnative-MERGE-EVERYTHING
[GDNative] merge of NativeScript and GDNative, new GDNative singletons
2017-09-04 21:51:07 +02:00
Rémi Verschelde f9d9e9099c Merge pull request #10961 from Noshyaar/pr-donor
EditorAbout: fix names being selectable
2017-09-04 21:45:22 +02:00
Rémi Verschelde b295163d67 Merge pull request #10912 from toger5/doc_sbf
documented StyleBoxFlat

[ci skip]
2017-09-04 21:45:05 +02:00
toger5 0bf521f33b documented StyleBoxFlat 2017-09-04 19:39:38 +02:00
toger5 07d5911c40 fixed copy on osx + help selection color 2017-09-04 18:57:52 +02:00
toger5 2083263e4f changed tree font color to be more saturated 2017-09-04 18:06:41 +02:00
toger5 45d57ccf28 fixed hover line for menu button 2017-09-04 18:06:13 +02:00
toger5 e85f025771 Fixed theme (chagnes introduced in light theme)
- adapted contrast color intensity (to make buttons less bright)
 - added missing border for lineEdit
 - removed unnecassary code for option button
2017-09-04 18:06:13 +02:00
Poommetee Ketson 391399dcd0 EditorAbout: fix names being selectable 2017-09-04 20:07:33 +07:00
Juan Linietsky 6d233c651b -Changed KinematicBody API yet again to make it friendlier
-Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
2017-09-04 07:49:42 -03:00
Poommetee Ketson 3d13b9ff5f ProjectSettings: enhance add action error, fix confirm dialog
- Disable add action button if name is invalid
- Fix dialog being ConfirmationDialog instead of AcceptDialog
2017-09-04 14:00:53 +07:00
Rémi Verschelde 3873362b3d Merge pull request #10944 from jscheel/js/add-node-to-sort-custom-docs
Add note to Array#sort_custom about the dangers of using random values
2017-09-04 08:13:50 +02:00
Rémi Verschelde b5d2d0a9a5 Merge pull request #10939 from neikeq/fix-overridden-external-editors
Fixes language overridden external editors
2017-09-04 08:12:29 +02:00
Rémi Verschelde 0f5e575d60 Merge pull request #10933 from Noshyaar/pr-donor
EditorAbout: add donors tab
2017-09-04 08:11:26 +02:00
Rémi Verschelde df11de72c9 Merge pull request #10932 from djrm/pr_fix_metrics
Fixed some metrics (some issues caused by the new Noto Sans font).
2017-09-04 08:10:04 +02:00
Rémi Verschelde 8ebe6d8370 Merge pull request #10925 from scayze/search_binding
Searchable Key-Bindings in editor
2017-09-04 08:08:32 +02:00
Rémi Verschelde 08dde55e4f Merge pull request #10920 from Paulb23/smooth_scrolling_shader_editor
Enabled smooth scrolling for shader editor
2017-09-04 08:07:41 +02:00
Rémi Verschelde fb263b73aa Merge pull request #10901 from toger5/script_background_cleanup
StyleBoxSupport for RichTextLabel and cleanup for script+docs backgrounds fixes #10685
2017-09-04 08:05:17 +02:00
Rémi Verschelde ec8f44ed5f Merge pull request #10895 from Paulb23/fix_delete_animation_frames
Fixed delete animation frames in AnimatedSprite, issue 10788
2017-09-04 08:00:21 +02:00
Rémi Verschelde fe3b8b48dd Merge pull request #10894 from Paulb23/brace_auto_indent
Added support for brace auto indent and fixed indent above.
2017-09-04 07:59:51 +02:00
Rémi Verschelde 7149be5b89 Merge pull request #10892 from kubecz3k/quick_open
Improve 'quick open' search time
2017-09-04 07:59:28 +02:00
Rémi Verschelde 7040a390ad Merge pull request #10937 from djrm/pr_fix_typo
Fix. resizeable -> resizable.
2017-09-04 07:37:59 +02:00
Poommetee Ketson fd68c3b68f 2DEditor: enhance viewport cursor shape 2017-09-04 11:36:12 +07:00
Jared A. Scheel 11947b4584 Add note to Array#sort_custom about the dangers of using random return values 2017-09-03 15:56:34 -05:00
Ignacio Etcheverry 52a7be4eef Fixes language overridden external editors 2017-09-03 21:23:36 +02:00
Daniel J. Ramirez d6b664f671 Fix. resizeable -> resizable.
(not actually a typo, but the rest of the API uses resizable)
2017-09-03 13:12:52 -05:00