summaryrefslogtreecommitdiff
path: root/glib/src/regex.ccg
Commit message (Collapse)AuthorAgeFilesLines
* Glib::Regex: Use UStringViewThomas Holder2019-11-211-17/+17
| | | | Fixes #66
* Update the Free Software Foundation address in copyright noticesKjell Ahlstedt2017-08-301-2/+1
| | | | Bug 786824
* Glib::Regex: Fix a member nameKjell Ahlstedt2017-06-201-12/+12
| | | | | The member data name shall be take_ownership_ (with an underscore suffix) and the function argument name take_ownership.
* Regex: Move enums inside class.Murray Cumming2017-04-181-16/+19
|
* Use std::vector<> instead of Glib::StringArrayHandle.Murray Cumming2017-03-171-2/+2
| | | | | | Using Glib::ArrayHandler<>::vector_to_array() and Glib::ArrayHandler<>::array_to_vector() instead, and only in the implementatoin instead of in the API.
* Run clang-format on the .ccg files.Murray Cumming2016-02-261-105/+102
| | | | This seems to work.
* fix the buildMurray Cumming2016-01-181-1/+1
| | | | I was editing the generated files. Silly me.
* Replace ScopedPtr with make_unique_ptr_gfree().Murray Cumming2016-01-181-1/+1
| | | | | Using std::unique_ptr. ScopedPtr is now deprecated. Bug #760223
* More use of nullptr instead of 0 or NULL.Murray Cumming2015-11-201-7/+7
|
* C++11: _CLASS_GENERIC classes: Add move operations.Murray Cumming2015-08-231-0/+23
| | | | | | These don't have much in common with each other. Like most of our move operations, they are completely untested, though they could be.
* C++11: Use nullptr.Murray Cumming2015-07-161-18/+18
|
* C++11: Some use of the auto keyword.Murray Cumming2015-07-151-4/+4
|
* Avoid shadowed variables.Murray Cumming2015-07-151-5/+5
| | | | | | | | | | Because this generally invites programming errors, though I am less concerned about shadowing of method names by parameter or variable names, which requires some tedious parameter renaming. In MatchInfo::set_gobject() the confusion between take_ownership and this.take_ownership does seem to have caused a programming error, hopefully now corrected.
* glibmm: Add a MatchInfo class for use with the existing Regex class.José Alburquerque2010-12-121-2/+138
| | | | | | | | * glib/src/regex.{ccg,hg}: Add a new (generic) class wrapping the GMatchInfo functions. Wrap the (commented out) methods with a Glib::MatchInfo in Regex so that the new class is used. Fixes Bug #636911 (Alexander Shaduri)
* Remove the reduced API options and code, as discussed on mailing list.Murray Cumming2010-05-311-74/+0
| | | | | | | | | * configure.ac: Removed the --enable-api-exceptions, --enable-api-properties, --enable-api-vfuncs and --enable-api-default-signal-handlers options. * build/reduced.m4: Removed. * tools/m4/*.m4: * tools/pm/Output.pm: Remove any use of ifdefs and auto_ptr for reduced API. * *.[hg|ccg|h|cc]: Remove the idefed code.
* Change license header to mention Lesser General Public License version 2.1Deng Xiyue2009-01-191-4/+4
| | | | | | | | | | 2009-01-20 Deng Xiyue <manphiz@gmail.com> * Change license header to mention Lesser General Public License version 2.1 instead of Library General Public License, to be consistent with COPYING. svn path=/trunk/; revision=779
* Some cosmetic cleanup. Also replace C-style casts in default argumentDaniel Elstner2007-09-121-31/+41
| | | | | | | | | | | | | 2007-09-06 Daniel Elstner <danielk@openismus.com> * glib/src/regex.{ccg,hg} (Regex): Some cosmetic cleanup. Also replace C-style casts in default argument values with static_cast<>. (escape_string): Wrap missing function. (match_full): Rename to and add as overloads of match(). (match_all_full): Rename to and add as overloads of match_all(). (split_full): Rename to and add as overloads of split(). svn path=/trunk/; revision=443
* Added a create() method, and added some more default parameter values toMurray Cumming2007-06-221-0/+20
| | | | | | | | | | | | | | | | | 2007-06-22 Murray Cumming <murrayc@murrayc.com> * glib/src/regex.ccg: * glib/src/regex.hg: Added a create() method, and added some more default parameter values to the methods. * configure.in: * examples/Makefile.am: * examples/regex/main.cc: Added a very simple example. * glib/glibmm/value_custom.h: Put header guards around this, though this should never be included directly anyway. svn path=/trunk/; revision=419
* Regenerated with enums.pl Regenerated with h2defs.pyMurray Cumming2007-06-121-0/+174
2007-06-12 Murray Cumming <murrayc@murrayc.com> * glib/src/glib_enums.defs: Regenerated with enums.pl * glib/src/glib_functions.defs: Regenerated with h2defs.py * glib/src/Makefile_list_of_hg.am_fragment: * tools/m4/convert_glib.m4: * glib/src/matchinfo.ccg: * glib/src/matchinfo.hg: * glib/src/regex.ccg: * glib/src/regex.hg: Added the RegEx and MatchInfo classes. These need some examples to test them. The MatchInfo class is probably particularly broken at the moment. See the TODO comments. * glib/glibmm.h: Added regex.h svn path=/trunk/; revision=417