Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12601 closed patch (fixed)

Patch to add GRegex support to the debug window

Reported by: BigBrownChunx Owned by:
Milestone: 2.7.4 Component: pidgin (gtk)
Version: 2.7.3 Keywords: debug window gregex regex
Cc:

Description

The current debug window doesn't support regex matching on systems which don't have support for regex.h/pcre (win32), however GRegex is in glib since 2.14. This patch adds support for using GRegex in the debug window if the HAVE_REGEX_H config flag is not set.

Attachments (2)

gtkdebug_gregex.patch (9.8 KB) - added by BigBrownChunx 9 years ago.
gtkdebug_gregex.2.patch (10.0 KB) - added by BigBrownChunx 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by BigBrownChunx

comment:1 Changed 9 years ago by BigBrownChunx

Still needs a tiny bit more work. Offsets aren't quite right when matching groups

Changed 9 years ago by BigBrownChunx

comment:2 Changed 9 years ago by BigBrownChunx

That last one does the trick

comment:3 Changed 9 years ago by rekkanoryo

  • Milestone set to Patches Needing Review

comment:4 Changed 9 years ago by eion@…

  • Milestone changed from Patches Needing Review to 2.7.4
  • Resolution set to fixed
  • Status changed from new to closed

(In 69fe87f20b3662489a068457e8d932be6dda4b76):
Use GRegex where available. Fixes #12601.

comment:5 Changed 9 years ago by rekkanoryo@…

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!