summaryrefslogtreecommitdiff
path: root/modules/regex
AgeCommit message (Collapse)Author
2018-07-03Merge pull request #19138 from firefly2442/pcre2-10.31Max Hilbrunner
update PCRE2 to version 10.31, fixes #15662
2018-05-30SCons: Pass env to modules can_build methodRémi Verschelde
This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
2018-05-28update PCRE2 to version 10.31, fixes #15662firefly2442
2018-02-27doc: Remove status from hardcoded version stringRémi Verschelde
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-19doc: Update version string in headerRémi Verschelde
2018-01-25doc: Sync with current sourceRémi Verschelde
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
2018-01-13doc: Update version string in XMLRémi Verschelde
2018-01-12Update docsBojidar Marinov
[ci skip]
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
2018-01-07Fixes RegEx::sub injecting null character (issue 15409)Bernhard Liebl
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-11-24doc: Update header version for 3.0-betaRémi Verschelde
2017-11-18Fix class docs, improve error handling of the rst generator.Martin Capitanio
The rst-generator gives you now a hint what's going on: Bad reference: 'method.RegEx.search_all' in file: ../modules/regex/doc_classes/RegExMatch.xml grep 'method.RegEx.search_all' ../modules/regex/doc_classes/RegExMatch.xml Contains the results of a single regex match returned by [method RegEx.search] and [method.RegEx.search_all]. It can be used to find the position and range of the match and its capturing groups, and it can extract its sub-string for you.
2017-11-15doc: Make all module docs self-containedRémi Verschelde
2017-11-14Added RegEx.search_all() for multiple matchesZher Huei Lee
And updated the docs
2017-10-23Add UWP to Regex JIT blacklistGeorge Marques
PCRE2 JIT uses functions not available in UWP, which makes it fail to link.
2017-09-25Use BoolVariable for third-party options.Elliott Sales de Andrade
2017-09-14Renamed function arguments to keep them consistent between declaration and ↵Wilson E. Alvarez
implementation
2017-09-01Merge pull request #10846 from hpvb/fix-sign-compareRémi Verschelde
Fix signed and unsigned comparisons
2017-09-01Disabled PCRE-JIT in HTML5. Fixes #10834Zher Huei Lee
2017-09-01Fix signed and unsigned comparisonsHein-Pieter van Braam
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-08-31Merge pull request #10148 from leezh/pcre2Rémi Verschelde
Replacement of internal RegEx with PCRE2
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-19Replacement of internal RegEx with PCRE2Zher Huei Lee
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-10Removes type information from method bindsIgnacio Etcheverry
2017-06-26Revert "Revert "Fixed RegEx::search missing return type hint""Rémi Verschelde
2017-06-26Revert "Fixed RegEx::search missing return type hint"Juan Linietsky
2017-06-26Merge pull request #9379 from leezh/regex_bind_fixRémi Verschelde
Fixed RegEx::search missing return type hint
2017-06-26Fixed inverted group thrown off by quantifiersZher Huei Lee
2017-06-26Fixes RegEx capture grabbing too much #9382Zher Huei Lee
Incorrect behaviour was caused when next->test was throwing off the results.
2017-06-26Fixed RegEx::search missing return type hintZher Huei Lee
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-02-28 Various fixes detected using PVS-Studio static analyzer.Thaer Razeq
- Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56
2017-01-16Style: Cleanups, added headers, renamed filesRémi Verschelde
Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-11-01Make regex compilable with RTTI disabledPedro J. Estébanez
2016-11-01style: Fix PEP8 blank lines issues in Python filesRémi Verschelde
Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
2016-10-27Changed RegEx to inherit ResourceZher Huei Lee
2016-10-27Added global sub and bounds checking to RegExZher Huei Lee
2016-10-27RegEx re-implemented as a moduleZher Huei Lee
Re-wrote nrex as a module using godot-specific parts and new features: * Added string substitutions. * Named groups are now supported. * Removed use of mutable variables in RegEx. RegExMatch is returned instead.