This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via f3123711dfcaea5e1e340e4b0203f23e8e5fc3d9 (commit)
via e43f7fc454d9f8551ca6b2740326ad89ebc05dd3 (commit)
via 9cbb8058ca843c1a3f3b67d155718b03a3e91d6c (commit)
via 61f677edf8bd1f24ee4db39984f7a18a92ad533e (commit)
via 74a6d43ea04cd0a2813076feb04f623a52c4928d (commit)
via 2b87b58dced5ebab753f1cca8b4a90f2821bc450 (commit)
from ac4154fb048ce3291651ae97d4d92b2a6440962b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f3123711dfcaea5e1e340e4b0203f23e8e5fc3d9
commit f3123711dfcaea5e1e340e4b0203f23e8e5fc3d9
Merge: ac4154f e43f7fc
Author: Gregor Jasny
AuthorDate: Sun Nov 29 09:54:34 2015 -0500
Commit: CMake Topic Stage
CommitDate: Sun Nov 29 09:54:34 2015 -0500
Merge topic 'regex-explorer' into next
e43f7fc4 cmake-gui: Add regex explorer window
9cbb8058 CMake Nightly Date Stamp
61f677ed CMake Nightly Date Stamp
74a6d43e CMake Nightly Date Stamp
2b87b58d CMake Nightly Date Stamp
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e43f7fc454d9f8551ca6b2740326ad89ebc05dd3
commit e43f7fc454d9f8551ca6b2740326ad89ebc05dd3
Author: Gregor Jasny
AuthorDate: Wed Nov 18 22:40:59 2015 +0100
Commit: Gregor Jasny
CommitDate: Sun Nov 29 15:52:23 2015 +0100
cmake-gui: Add regex explorer window
diff --git a/Help/release/dev/regex-explorer.rst
b/Help/release/dev/regex-explorer.rst
new file mode 100644
index 000..5c7ae3a
--- /dev/null
+++ b/Help/release/dev/regex-explorer.rst
@@ -0,0 +1,6 @@
+regex-explorer
+--
+
+* The Qt base CMake GUI got a Regular Expression Explorer which could be used
to
+ create and evaluate regular expressions in real-time. The explorer window
+ is available via the ``Tools``menu.
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt
index 66fd18b..cad11f5 100644
--- a/Source/QtDialog/CMakeLists.txt
+++ b/Source/QtDialog/CMakeLists.txt
@@ -113,12 +113,15 @@ set(SRCS
QCMakeCacheView.h
QCMakeWidgets.cxx
QCMakeWidgets.h
+ RegexExplorer.cxx
+ RegexExplorer.h
)
QT4_WRAP_UI(UI_SRCS
CMakeSetupDialog.ui
Compilers.ui
CrossCompiler.ui
AddCacheEntry.ui
+ RegexExplorer.ui
)
QT4_WRAP_CPP(MOC_SRCS
AddCacheEntry.h
@@ -128,6 +131,7 @@ QT4_WRAP_CPP(MOC_SRCS
QCMake.h
QCMakeCacheView.h
QCMakeWidgets.h
+ RegexExplorer.h
)
QT4_ADD_RESOURCES(RC_SRCS CMakeSetup.qrc)
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx
b/Source/QtDialog/CMakeSetupDialog.cxx
index 748dd7d..2b12834 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -33,6 +33,7 @@
#include "QCMakeCacheView.h"
#include "AddCacheEntry.h"
#include "FirstConfigure.h"
+#include "RegexExplorer.h"
#include "cmSystemTools.h"
#include "cmVersion.h"
@@ -125,6 +126,9 @@ CMakeSetupDialog::CMakeSetupDialog()
this, SLOT(doInstallForCommandLine()));
#endif
ToolsMenu->addSeparator();
+ ToolsMenu->addAction(tr("Regular Expression Explorer..."),
+ this, SLOT(doRegexExplorerDialog()));
+ ToolsMenu->addSeparator();
ToolsMenu->addAction(tr("&Find in Output..."),
this, SLOT(doOutputFindDialog()),
QKeySequence::Find);
@@ -1272,6 +1276,12 @@ void CMakeSetupDialog::doOutputFindDialog()
}
}
+void CMakeSetupDialog::doRegexExplorerDialog()
+{
+ RegexExplorer dialog(this);
+ dialog.exec();
+}
+
void CMakeSetupDialog::doOutputFindPrev()
{
doOutputFindNext(false);
diff --git a/Source/QtDialog/CMakeSetupDialog.h
b/Source/QtDialog/CMakeSetupDialog.h
index 1b26c64..bfd2bc9 100644
--- a/Source/QtDialog/CMakeSetupDialog.h
+++ b/Source/QtDialog/CMakeSetupDialog.h
@@ -82,6 +82,7 @@ protected slots:
void doOutputFindNext(bool directionForward = true);
void doOutputFindPrev();
void doOutputErrorNext();
+ void doRegexExplorerDialog();
protected:
diff --git a/Source/QtDialog/RegexExplorer.cxx
b/Source/QtDialog/RegexExplorer.cxx
new file mode 100644
index 000..04fb5fb
--- /dev/null
+++ b/Source/QtDialog/RegexExplorer.cxx
@@ -0,0 +1,117 @@
+/*
+ CMake - Cross Platform Makefile Generator
+ Copyright 2015 Kitware, Inc., Gregor Jasny
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License