summaryrefslogtreecommitdiffstats
path: root/modules/regex
Commit message (Collapse)AuthorAgeFilesLines
* doc: Sync classref with current sourceRémi Verschelde2019-07-151-3/+1
|
* pcre2: Update to upstream version 10.33Rémi Verschelde2019-07-111-0/+1
|
* SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde2019-07-031-5/+5
| | | | | | | | It's the recommended way to set those, and is more portable (automatically prepends -D for GCC/Clang and /D for MSVC). We still use CPPFLAGS for some pre-processor flags which are not defines.
* doc: Add default values to all propertiesRémi Verschelde2019-06-301-3/+5
| | | | Thanks to @bojidar-bg's impressive work in #29380.
* Proofread and improve the whole class referenceHugo Locurcio2019-06-272-10/+10
| | | | | | | | | | | | | - Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
* Add RegEx substitution testcase and fix relevant docsRyan Stein2019-05-111-1/+1
| | | | (cherry picked from commit a31bbb4bd920e28cbb2c737a785e91da5e7a599f)
* SCons: Always use env.Prepend for CPPPATHRémi Verschelde2019-04-301-1/+1
| | | | | | Include paths are processed from left to right, so we use Prepend to ensure that paths to bundled thirdparty files will have precedence over system paths (e.g. `/usr/include` should have lowest priority).
* doc: Drop unused <demos> tagRémi Verschelde2019-04-192-4/+0
|
* doc: Bump version to 3.2Rémi Verschelde2019-04-012-2/+2
|
* Update copyright statements to 2019Rémi Verschelde2019-01-014-8/+8
| | | | Happy new year to the wonderful Godot community!
* Assign pointer null in RegEx::clear to avoid double free on destruction.Ibrahn Sahir2018-11-151-2/+6
|
* SCons: Build thirdparty code in own env, disable warningsRémi Verschelde2018-09-281-5/+12
| | | | | Also remove unnecessary `Export('env')` in other SCsubs, Export should only be used when exporting *new* objects.
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-1/+1
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Fixes several resource leaks in ...Crazy-P2018-08-261-0/+6
| | | | | | | | - gdscript - gdscript_compiler - regex - android/export - gles3/rasterizer (scene and storage)
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
* Merge pull request #19138 from firefly2442/pcre2-10.31Max Hilbrunner2018-07-031-0/+3
|\ | | | | update PCRE2 to version 10.31, fixes #15662
| * update PCRE2 to version 10.31, fixes #15662firefly24422018-05-281-0/+3
| |
* | SCons: Pass env to modules can_build methodRémi Verschelde2018-05-301-1/+1
|/ | | | | | This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
* doc: Remove status from hardcoded version stringRémi Verschelde2018-02-272-2/+2
| | | | It has no practical use case and just generates noise for each alpha, beta, etc.
* Fix typos with codespellluz.paz2018-02-211-2/+2
| | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* doc: Update version string in headerRémi Verschelde2018-02-192-2/+2
|
* doc: Sync with current sourceRémi Verschelde2018-01-252-2/+2
| | | | | | 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).
* doc: Update version string in XMLRémi Verschelde2018-01-132-2/+2
|
* Update docsBojidar Marinov2018-01-121-21/+11
| | | | [ci skip]
* Bind many more properties to scriptsBojidar Marinov2018-01-121-0/+4
| | | | | | | 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
* Fixes RegEx::sub injecting null character (issue 15409)Bernhard Liebl2018-01-071-11/+16
|
* Update copyright statements to 2018Rémi Verschelde2018-01-014-8/+8
| | | | Happy new year to the wonderful Godot community!
* doc: Update header version for 3.0-betaRémi Verschelde2017-11-242-2/+2
|
* Fix class docs, improve error handling of the rst generator.Martin Capitanio2017-11-181-1/+1
| | | | | | | | | | 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.
* doc: Make all module docs self-containedRémi Verschelde2017-11-153-4/+218
|
* Added RegEx.search_all() for multiple matchesZher Huei Lee2017-11-142-0/+17
| | | | And updated the docs
* Add UWP to Regex JIT blacklistGeorge Marques2017-10-231-1/+1
| | | | | PCRE2 JIT uses functions not available in UWP, which makes it fail to link.
* Use BoolVariable for third-party options.Elliott Sales de Andrade2017-09-251-1/+1
|
* Renamed function arguments to keep them consistent between declaration and ↵Wilson E. Alvarez2017-09-141-2/+2
| | | | implementation
* Merge pull request #10846 from hpvb/fix-sign-compareRémi Verschelde2017-09-011-3/+3
|\ | | | | Fix signed and unsigned comparisons
| * Fix signed and unsigned comparisonsHein-Pieter van Braam2017-09-011-3/+3
| | | | | | | | The first in my quest to make Godot 3.x compile with -Werror on GCC7
* | Disabled PCRE-JIT in HTML5. Fixes #10834Zher Huei Lee2017-09-011-2/+5
|/
* Merge pull request #10148 from leezh/pcre2Rémi Verschelde2017-08-313-1313/+341
|\ | | | | Replacement of internal RegEx with PCRE2
| * Replacement of internal RegEx with PCRE2Zher Huei Lee2017-08-193-1313/+341
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-274-4/+4
|/
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-1/+1
|
* Revert "Revert "Fixed RegEx::search missing return type hint""Rémi Verschelde2017-06-261-1/+1
|
* Revert "Fixed RegEx::search missing return type hint"Juan Linietsky2017-06-261-1/+1
|
* Merge pull request #9379 from leezh/regex_bind_fixRémi Verschelde2017-06-261-1/+1
|\ | | | | Fixed RegEx::search missing return type hint
| * Fixed RegEx::search missing return type hintZher Huei Lee2017-06-261-1/+1
| |
* | Fixed inverted group thrown off by quantifiersZher Huei Lee2017-06-261-3/+4
| |
* | Fixes RegEx capture grabbing too much #9382Zher Huei Lee2017-06-261-6/+13
|/ | | | | Incorrect behaviour was caused when next->test was throwing off the results.
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-084-0/+4
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-053-255/+237
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-1/+1
| | | | | | | - 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