Commit graph

2550 commits

Author SHA1 Message Date
Zher Huei Lee
d0ddf150d9 updated the RegEx library nrex to v0.1
After implementing unit testing to nrex I caught and fixed some errors
so it should behave more like Python's RegEx In addition, I've added
version numbering so it should be able to tell if the library needs
updating. Here are a list of changes:

- Fixed zero count quantifiers failing.
- Fixed infinite recursion if quantifying zero length token.
- Fixed `$` (as a string pattern on its own) not matching.
- Fixed look behind rewinding beyond the start of the string.
- Added support for alternative back reference format `\g{1}` similar to
Python. This allows digits to be used immediately after back references.
- Number of capture groups are still limited to 9 by default but can now
be manually set, with option for no limit at all. (Python has no limit)
- Curly bracket quantifiers `{0}` no longer interpreted as a literal
string if previous token is not quantifiable. (Python behaviour)
2015-12-04 21:18:41 +00:00
neikeq
71eaa2d547 Add refresh button to file dialogs 2015-12-04 19:33:30 +01:00
Julian Murgia - StraToN
6ffe1fff2d Set default destination filename of imported font to be input font filename
if destination filename was ".fnt" (ie. no filename set by user)
2015-12-04 19:29:27 +01:00
Rémi Verschelde
5b0dcab3e8 Merge pull request #2987 from neikeq/fix_save_empty
Fix 'Save Scene' doing nothing on new scenes
2015-12-04 17:15:34 +01:00
neikeq
a5947161ef Fix 'Save Scene' doing nothing on new scenes 2015-12-04 16:51:36 +01:00
Juan Linietsky
35fa048af5 missing pngs 2015-12-04 10:22:45 -03:00
Juan Linietsky
504e464c8a -Missing files in new webp version 2015-12-04 10:21:22 -03:00
Juan Linietsky
bb392bde16 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-04 10:19:58 -03:00
Juan Linietsky
da113fe40d -Upgraded webp to a MUCH newer version. Hoping it fixes some bugs in the process. Keeping old version just in case for now.
-Added ability to convert xml and tscn scenes to binary on export, makes loading of larger scenes faster
2015-12-04 10:18:28 -03:00
Rémi Verschelde
9457211f8f Fix wrong index being used to populate r_results
Regression from f33d9da.
2015-12-04 09:31:01 +01:00
koalefant
c7b730c655 Vector<>::_ptr is now typed and points to the beginning of array rather than reference count block 2015-12-04 05:58:56 +01:00
Franklin Sobrinho
d6d335f20c Make ItemListEditor plugin functional 2015-12-03 15:17:56 -03:00
Rémi Verschelde
145b8e52e6 Merge pull request #2981 from TheHX/pr-editor-crash
Fix editor crash after closing scene with certain types of nodes
2015-12-03 16:51:02 +01:00
Franklin Sobrinho
868832bca7 Fix editor crash after closing scene with certain types of nodes 2015-12-03 12:42:58 -03:00
Rémi Verschelde
68d3438a93 Merge pull request #2975 from neikeq/help_scroll_top
Fix help view not scrolling to the top
2015-12-02 16:16:18 +01:00
Juan Linietsky
064fd762fa Merge branch 'master' of https://github.com/godotengine/godot 2015-12-02 11:17:01 -03:00
Juan Linietsky
4b1f0afb01 -several fixes to Android to work better on Tegra 3/4 devices, uses 16 bits FBOs so all 2D shader effects should now work in every single Android device. 2015-12-02 11:15:48 -03:00
neikeq
11b560d6d4 Fix help view not scrolling to the top 2015-12-02 14:01:46 +01:00
Rémi Verschelde
ce52160429 Merge pull request #2973 from neikeq/fix_help_copy
Fix RichTextLabel selection copying
2015-12-02 08:25:47 +01:00
neikeq
c5698fc28e Fix RichTextLabel copy never called 2015-12-02 08:19:33 +01:00
Rémi Verschelde
7ac31a7209 Merge pull request #2969 from neikeq/fix_bracket_complete
Fix auto bracket completion disabled on newly open scripts
2015-12-01 21:01:48 +01:00
Rémi Verschelde
7b9dd1ea76 Merge pull request #2968 from neikeq/line_duplicate
Fix script editor not clonning down last line
2015-12-01 21:01:05 +01:00
neikeq
fc7e313074 Fix script editor not clonning down last line 2015-12-01 19:43:51 +01:00
neikeq
4cbabf9691 ScriptTextEditor: fix auto bracket completion not enabled 2015-12-01 17:43:18 +01:00
Rémi Verschelde
f1f3468f70 Merge pull request #2890 from neikeq/cl_select_children
Allow selecting CanvasLayer children in canvas editor
2015-12-01 11:20:48 +01:00
Rémi Verschelde
e4e7e8f396 Merge pull request #2963 from akien-mga/pr-opus-arm-opt
Enable opus ARM optimisations only on ARM
2015-12-01 10:18:41 +01:00
Rémi Verschelde
99e7641f3d Enable opus ARM optimisations only on ARM
i.e. do not enable it for x86.
Fixes #2962.
2015-12-01 09:34:51 +01:00
Rémi Verschelde
3aa0d0e9fd Merge pull request #2938 from koalefant/master
Break into GDScript debugger when new() fails
2015-11-30 07:50:22 +01:00
est31
e1d02e4831 Make the setting unix-only.
For this, put the detection into the OS class and its subclass.
2015-11-30 02:35:59 +01:00
est31
15f6d3cebf Add way to look for templates at system wide level too
Useful for everybody wanting to package godot.
Fixes #1026.

-> Retain the old behaviour: path in error msg only when exporting.
-> User templates override system templates
2015-11-30 01:36:08 +01:00
Rémi Verschelde
25a2f33093 Merge pull request #2955 from koalefant/missing-colon
GDScript: fixed highlighting of the next line when colon is missing
2015-11-30 00:09:52 +01:00
koalefant
e52d211b61 GDScript: fixed highlighting of the next line when colon is missing 2015-11-29 23:45:28 +01:00
Rémi Verschelde
5e0419012a Merge pull request #2954 from koalefant/release-debug-release
scons: enabled debug symbols for x11 when using platform=release_debug and debug_release=yes together
2015-11-29 22:25:10 +01:00
Rémi Verschelde
aaca687d21 Merge pull request #2953 from koalefant/png-leak
Fixed leak when saving PNG-s
2015-11-29 22:15:57 +01:00
koalefant
bd396c5cfa Enabled debug symbols for x11 when using platform=release_debug and debug_release=yes together 2015-11-29 20:56:27 +01:00
koalefant
2355e1c3b8 Fixed leak when saving PNG-s 2015-11-29 20:11:42 +01:00
Rémi Verschelde
0093d374ac Merge pull request #2951 from koalefant/text-editor
Script Editor: automatic indentation after a colon
2015-11-29 17:41:19 +01:00
koalefant
c93a005fb6 Script Editor: automatic indentation after a colon 2015-11-29 17:13:29 +01:00
admix
b2508ca879 Break into GDScript debugger when new() fails 2015-11-29 17:02:52 +01:00
Rémi Verschelde
b0dbcccb6c Merge pull request #2950 from bojidar-bg/reference-rect2-aabb
Edit documentation for AABB and Rect2.
2015-11-29 15:26:11 +01:00
Bojidar Marinov
12f2c1378a Edit documentation for AABB and Rect2.
Docs for AABB were already present, but had a few mistakes.
2015-11-29 15:56:40 +02:00
Bojidar Marinov
c81c671131 Run -doctool on existing documentation
Also, s/vecor/vector/
2015-11-29 15:38:47 +02:00
Juan Linietsky
46c5fda91d -orphan resource explorer dialog + tools menu 2015-11-29 01:08:31 -03:00
Juan Linietsky
68aaa0f813 Merge branch 'master' of https://github.com/godotengine/godot 2015-11-28 20:57:23 -03:00
Juan Linietsky
7aa39b7cae -Fixed bug with scene inheritance, should work again
-Proper .tscn and .tres parsing, should work, please test well!
2015-11-28 20:56:14 -03:00
Rémi Verschelde
68c56f81f9 Merge pull request #2940 from TheHX/pr-error-message
Fix error messages when closing the editor
2015-11-28 21:28:35 +01:00
Franklin Sobrinho
553ec52300 Fix message - ERROR: get_path: Condition ' !is_inside_tree() ' is true - when closing the editor 2015-11-28 16:58:10 -03:00
Rémi Verschelde
280d72eb8b Merge pull request #2937 from koalefant/master
fixed crash when creating new object with wrong number of arguments (rebased)
2015-11-28 18:15:47 +01:00
admix
bc998c9195 fixed crash when creating new object with wrong number of arguments 2015-11-28 17:30:59 +01:00
Rémi Verschelde
e4c872a260 Merge pull request #2936 from TheHX/pr-container
Add container automatic update when moving a child node
2015-11-28 17:16:54 +01:00