Zher Huei Lee
e3e2f06324
Replacement of internal RegEx with PCRE2
...
The pattern and replacement matching behaviour has been changed purely
due to the nature of switching to a standards-compliant library.
One mistake in the previous behaviour was that named groups didn't have
a number. This has been corrected.
As names are actually just an alias of numbered groups,
RegExMatch::get_name_dict() is now get_names() and is a dict
referring to the group number it represents.
Duplicate names are enabled and the with the first matching instance
used.
Due the lack of a suitable equivalent in PCRE2, RegExMatch::expand() was
removed.
2017-08-19 19:29:14 +08:00
Juan Linietsky
bf1f83ed29
Small fix that makes overal UI (including dragging spliiters) much, much faster.
...
Flushing messages meant that for every event, UI was reaccomodating everything. This is relly slow.
Messages will have to happen sometime later, during iteration most likely.
I still can't fix the overall code editor slowness on Mesa+Radeon, I suspect it's a driver issue.
2017-08-18 23:01:27 -03:00
Juan Linietsky
fc89cf90b2
Inspector re-edits edited object when dock moves, closes #9287
2017-08-18 19:51:17 -03:00
Juan Linietsky
2cb19a53fd
Fix primitive mesh selection, closes #9210
2017-08-18 19:25:18 -03:00
Juan Linietsky
3f8efdef49
ProceduralSky now regenerates in a thread (the second time, first does not), closes #9138
2017-08-18 19:16:32 -03:00
Juan Linietsky
cbcf40bd31
-Volume sliders, mute, solo and fx bypass are functional, closes #9021
...
-Fixed tree reselect, makes reselecting an audio bux FX work
2017-08-18 18:21:53 -03:00
Rémi Verschelde
b044e7d30d
Merge pull request #10426 from akien-mga/drop-old-mingw32
...
Windows: Drop support for obsolete MinGW
2017-08-18 22:40:21 +02:00
Rémi Verschelde
18a7315381
Rename localization method to tr
again
...
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-18 22:38:38 +02:00
Rémi Verschelde
6afa087596
Windows: Drop support for obsolete MinGW
...
The version we support is MinGW-w64: https://sourceforge.net/p/mingw-w64
The old original MinGW from which it was forked (https://sourceforge.net/projects/mingw ),
is no longer maintained and useless for us.
Fixes #10396 .
2017-08-18 21:46:46 +02:00
Juan Linietsky
b20952ebff
Update script signals in real-time when script changes. Fixes #8980
2017-08-18 16:44:03 -03:00
Rémi Verschelde
2ed87f33cf
Workaround missing WM_TOUCH on mingw-w64 < 4.0
...
Upstream bug report: https://sourceforge.net/p/mingw-w64/bugs/460/
2017-08-18 21:05:19 +02:00
Andreas Haas
3f2d806b02
TextEdit: Moving between words now works across lines.
...
Fixes #10403
2017-08-18 20:53:27 +02:00
Juan Linietsky
72be8876ea
Properly manage drawing of primitives when they lack an area, fixes #8930
2017-08-18 15:12:48 -03:00
Rémi Verschelde
3b553377c7
Windows: Drop support for Vista (0x0600)
...
We need the efficient SRWLock methods which are not supported on Vista,
and loading them dynamically while providing fallbacks is not worth the
effort. Closes #10243 .
Sorry Vista users... As you are running a supported which is no longer
supported by Microsoft (https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet ),
we can only encourage you to upgrade to a more recent version if you can,
or switch to Linux, which should give your old hardware a new youth.
2017-08-18 19:50:24 +02:00
Juan Linietsky
dc62389739
-Properly check limits to objects sent (regarding to size), fixes #9034
...
-Changed the way objects are marshalled and sent to the debugger
-Editing debugged objects happens in the remote inspector now
2017-08-18 10:59:31 -03:00
Juan Linietsky
e61d547ed0
Make sure local to scene resources are initialized after loading all nodes, fixes #9438
2017-08-18 08:26:41 -03:00
Rémi Verschelde
1a92906b68
Merge pull request #10406 from marcelofg55/closest_power_of_2
...
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 08:12:56 +02:00
Marcelo Fernandez
eab850524e
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-17 19:51:13 -03:00
Juan Linietsky
3a4ff3402d
Oops, fixed wrong color masking problem. Closes #10149
2017-08-17 18:33:59 -03:00
Rémi Verschelde
ee59e627de
Merge pull request #10380 from akien-mga/XL_MESSAGE
...
Rename `XL_MESSAGE`/`tr` to `localize`
2017-08-17 22:41:55 +02:00
Juan Linietsky
33c1d25517
Several improvements and fixes to import system. Might fix many issues opened, but have to check in detail..
2017-08-17 17:18:50 -03:00
Rémi Verschelde
523b3c11cf
Merge pull request #10398 from Rubonnek/removed-unused-variable
...
Removed unused variable
2017-08-17 19:07:57 +02:00
Rémi Verschelde
44a550421c
Shader: Fix typo in "facefordward"
...
Fixes #10399 .
2017-08-17 18:15:16 +02:00
Rémi Verschelde
c72529baf0
Rename XL_MESSAGE
aka tr
to localize
...
Also renames `set_message_translation` to `set_message_localization`
for consistency.
2017-08-17 18:10:22 +02:00
Wilson E. Alvarez
bde864cd30
Removed unused variable
2017-08-17 11:43:44 -04:00
Rémi Verschelde
c4e9f6562f
Merge pull request #10393 from groud/fix_progress_dialog
...
Fix progress dialog's bars overflowing.
2017-08-17 14:35:55 +02:00
Rémi Verschelde
22d21ebef0
Merge pull request #8144 from supagu/symlink
...
Reworked change_dir to support symlinks
2017-08-17 11:50:21 +02:00
Gilles Roudiere
dea845b65c
Fix progress dialog's bars overflowing.
2017-08-17 10:59:21 +02:00
Rémi Verschelde
e2c1792d06
Merge pull request #10383 from bojidar-bg/x-fix-particles-emitting
...
Fix particles emitting when emitting is set to false in scene
2017-08-17 10:52:35 +02:00
Rémi Verschelde
2e54c5372d
Merge pull request #10386 from Corruptinator/master
...
Fixed OUYA Game Controller for 3.0
[ci skip]
2017-08-17 07:36:38 +02:00
Rémi Verschelde
a5604130c5
Merge pull request #10385 from RandomShaper/improve-prop-eval
...
Fix/improve property evaluator
2017-08-17 07:31:13 +02:00
Corruptinator
c672ff80c9
Fixed OUYA Game Controller for 3.0
...
Input_default.cpp has been updated for the OUYA Game Controller to work
with fixed and functional mapping for Godot 3.0
2017-08-16 18:39:00 -07:00
Pedro J. Estébanez
fcf52303c5
Fix/improve property evaluator
...
Evolution of #10366 based on what has been discussed there.
Now you can refer to the relevant object either by `self` or `s`.
No conflicts with a potential `tool` script attached to the object.
Proper cleanup since a dummy object is used to have an instance and the temporary script dies with it.
2017-08-17 02:17:18 +02:00
Bojidar Marinov
995fca44b2
Fix particles emitting when emitting is set to false in scene
...
Caused by #10297 calling particles_restart() on the same frame as the one set_emitting(false) is called. The rasterizer would wait a frame, and then set emitting back to true.
2017-08-16 23:38:36 +03:00
Rémi Verschelde
19aff15a1a
Tilemap Editor: Setting to hide tile info in the menu bar
...
Based on e513ecb7a1
.
2017-08-16 19:51:55 +02:00
Rémi Verschelde
0dd51fc722
Merge pull request #10252 from neikeq/pr-fix-some-stuff-<3
...
Some method fixes
2017-08-16 18:16:47 +02:00
Rémi Verschelde
a21ca962a4
Merge pull request #10265 from leezh/patchnine_stylebox
...
Added Tile and TileFit to StyleBoxes
2017-08-16 18:16:23 +02:00
Rémi Verschelde
a8a6082dc0
Merge pull request #8899 from toger5/BetterFlatStylebox
...
Better flat stylebox with rounded corners
2017-08-16 18:15:04 +02:00
Ignacio Etcheverry
bffe4abb4d
EditorPlugin: Renames virtual method hiding inherited method
2017-08-16 18:05:10 +02:00
Rémi Verschelde
5485233549
Merge pull request #10300 from H4kor/anchor
...
Show Anchor even when Control-Node is hidden
2017-08-16 17:34:33 +02:00
TwistedTwigleg
00f6c85928
Synchronize parameter names in definition and declaration
...
Fixes #10244 .
2017-08-16 17:22:23 +02:00
Rémi Verschelde
b1ecaaa22b
Merge pull request #10307 from Rubonnek/update-argument-names
...
Updated function argument names
2017-08-16 17:17:56 +02:00
Rémi Verschelde
ae78a13f59
Merge pull request #10309 from H4kor/particles
...
Fixing blinking particles at 0 initial velocity.
2017-08-16 17:16:45 +02:00
Rémi Verschelde
f98418f093
Merge pull request #10312 from kbake/pressed-scroll-bar-style
...
Scroll bars now look different on press
2017-08-16 17:16:03 +02:00
Rémi Verschelde
40f70d80ac
Merge pull request #10322 from TwistedTwigleg/Navmesh_expose_create_from_mesh
...
Exposed create_from_mesh in Navmesh
2017-08-16 17:14:10 +02:00
Rémi Verschelde
6345347190
Merge pull request #10326 from kubecz3k/spatial-click-improve
...
spatial selection if subscene geometry is far from origin
2017-08-16 17:13:27 +02:00
Rémi Verschelde
c1a43a09be
Merge pull request #10356 from RandomShaper/fix-msvc-error
...
Add comment warning about include order
2017-08-16 17:11:59 +02:00
Rémi Verschelde
f2764dd15d
Merge pull request #10343 from Faless/html5_fixes_2
...
Use precision for samples only when #version 300 es
2017-08-16 17:09:57 +02:00
Rémi Verschelde
a8ceb54abf
Merge pull request #10376 from RandomShaper/fix-nav-double-point
...
Fix double point in Navigation2D
2017-08-16 17:08:06 +02:00
Rémi Verschelde
5422585db6
Merge pull request #10373 from RandomShaper/remove-physics-check
...
Remove needless check in motion test
2017-08-16 17:06:54 +02:00