Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/cucumber/cucumber-cpp

Support for writing Cucumber step definitions in C++
https://github.com/cucumber/cucumber-cpp

C++11 & GTest 1.7 buildfix: don't depend on contextual bool conversion

GTest doesn't permit contextual conversion-to-bool until 1.8, so
explicitly convert to bool as a...

a427aed90ac90b9c6bff39410da18a3dc71c3b9f authored over 7 years ago by Giel van Schijndel <[email protected]>
Remove unused conversion operator from MatchResult

And mark the 'bool' conversion operator as 'explicit' when the compiler
supports it as that's th...

efc1549c59e4744fe7a37a525aadf59fa53188b5 authored over 7 years ago by Giel van Schijndel <[email protected]>
Prevent instantiating singletons StepManager and HookRegistrar

This may make it easier to refactor this code to possibly use namespaces
instead of a class.

b91e0047fd1f1f4e6e050e6940a004b43176a8ba authored over 7 years ago by Giel van Schijndel <[email protected]>
Windows: fix warning about unused parameter for unix sockets

611cbb1bc1ba38c0dd6616f9a701b6715fe9d62b authored over 7 years ago by Giel van Schijndel <[email protected]>
Fix all GCC and Clang warnings

Also remove -Weffc++ because the only warnings it produced were false
positives or not a problem.

b7cc6cd61e34e03d48d6213e4d541ec5a71605c8 authored over 7 years ago by Giel van Schijndel <[email protected]>
Treat warnings as errors

876438550013eefcd855e6ffb4fd1f82ab475d04 authored over 7 years ago by Giel van Schijndel <[email protected]>
Don't pass --no-as-needed to the linker on Apple systems

Because apparently they don't recognize that option.

a926a2b6a4840c1c063f6427e3ca23074dedc86c authored over 7 years ago by Giel van Schijndel <[email protected]>
Merge pull request #166 from cucumber/changelog-updates

CHANGELOG update for cucumber/cucumber #251

eff397b99b963c5cc779bc914b7e5b0941090bbe authored over 7 years ago by Jayson Smith <[email protected]>
Add PR and credit links

934acec64d6438316cd9b6851e4e8761ef7d0a4b authored over 7 years ago by Jayson Smith <[email protected]>
CHANGELOG update for cucumber/cucumber #251

2359b63953ee652804b9d5deea20de581f82e4b7 authored over 7 years ago by Jayson Smith <[email protected]>
Travis: install 'lcov' without sudo

971a7624da749a0faad62ba5851e20722c662a75 authored over 7 years ago by Giel van Schijndel <[email protected]>
Don't propagate warnings from GMock headers

6e4807f9ef23dc7737a9dbd54f23d59c98b5d9f3 authored over 7 years ago by Giel van Schijndel <[email protected]>
Coveralls: ignore 3rdparty stuff

62072824754e24d33bd368a3be9b6d6a065b21e4 authored over 7 years ago by Giel van Schijndel <[email protected]>
Build with warnings, ignoring json_spirit

Move json_spirit to a separate directory, out of the default
include-path. This so that we can m...

3ec9d0367b73abfeb0b05eebf612f551e88d9dad authored over 7 years ago by Giel van Schijndel <[email protected]>
Merge #162 'Track test coverage using coveralls service'

3e56f298a59b0ff4efde50652c7ea6bf588e44e4 authored over 7 years ago by Kamil Strzempowicz <[email protected]>
Remove all global-namespace-level using directives from headers

I.e. stop polluting the global namespace of our clients with symbols
from other namespaces just ...

6882ac8508b7d86c5cd71ae55d6cea5c79bfa128 authored over 7 years ago by Giel van Schijndel <[email protected]>
Turn HookRegistrar into the singleton it is

It's basically just a namespace rather than a class. So we might as well
convert it to that.

83b71e95f76834d1e07aa2b3cac7959ab97421ce authored over 7 years ago by Giel van Schijndel <[email protected]>
Don't share StepInfo ownership with the StepCallChain

Because StepCallChain's lifetime is always a subset of the StepInfo it
executes over. So just gi...

12e1346ee3d739164d79f892db6c0817d787aac8 authored over 7 years ago by Giel van Schijndel <[email protected]>
StepManager::getStep: don't fill up with empty steps

When we're asked for a step with an ID that does not exist, prevent
storing a mapping of that ID...

b68c1aa27e93cf1723cc3a82aa30c6474c4f4529 authored over 7 years ago by Giel van Schijndel <[email protected]>
remove features and examples from test coverage report

2c38fadf38aebff187bcf479f58f8344b75b7f31 authored over 7 years ago by Kamil Strzempowicz <[email protected]>
Replace CommandDecoder base class for function pointer

Because the base class forces us to create runtime instances of derived
classes, while the funct...

8c209e25bb09c9d1d1ba1eed5a70045059d57234 authored over 7 years ago by Giel van Schijndel <[email protected]>
Don't use shared_ptr for tag expressions

Also make it const-correct and use a vector for storing subexpressions.

We don't need shared_pt...

12e1bdcafb41f32f767a0bdd40e919a55028c6a3 authored over 7 years ago by Giel van Schijndel <[email protected]>
Make commandDecodersMap const

89bb9ff9fd0c5c5fc6056fcfc3b6548c6dc7c7ac authored over 7 years ago by Giel van Schijndel <[email protected]>
Track test coverage using coveralls service

Url: https://coveralls.io
Implementation using lcov and gem coveralls-lcov
Fixes issue #123

dcced2b052b098542a2f344f6a8c43691de626c1 authored over 7 years ago by Kamil Strzempowicz <[email protected]>
GMock: provide the correct include dirs and link libs

For 1.6 GMock still has GTest as a dependency and so just specifying it
on the link interface is...

a66919c9e4a763747b88c84051f30e11d341fcc2 authored over 7 years ago by Giel van Schijndel <[email protected]>
Use find_package(Valgrind) instead of find_program(valgrind)

Because we can nicely incorporate version checking and version-specific
handling in that.

0f2ac57978f963a95dda2115667ab233eab46250 authored over 7 years ago by Giel van Schijndel <[email protected]>
Return InvokeArgs by value from factory

There's no polymorphism involved, nor shared ownership, so there's no
reason at all to return a ...

fd102a9d7e7f92ff5528ce886041b946029e4cc5 authored over 7 years ago by Giel van Schijndel <[email protected]>
Mark StepManager as a singleton

Because it already is. So make all its methods static to remove the need
for an instance to use ...

a578977079d059302d2a37c0b576ac90b2724e53 authored over 7 years ago by Giel van Schijndel <[email protected]>
Merge #161 fix crash during termination of CalcQt example

a41e87bd92c90d005c6e6c67d769fcebb05c9eb1 authored over 7 years ago by Giel van Schijndel <[email protected]>
Merge #146 improve contributing guidelines and GitHub templates

2102af9bec70f5062acf1666fbadd6b841897e2e authored over 7 years ago by Giel van Schijndel <[email protected]>
Fix #62: crash during termination of CalcQt example

This was caused by QApplication's destructor being run after `main` as a
result of it being a gl...

a4d2906f4a2288f0729ef077ae85ce26c38ed1ee authored over 7 years ago by Giel van Schijndel <[email protected]>
Deduplicate Boost/GTest calculator examples

Considering that the only difference is a single comparison macro: just
define that macro to be ...

84e394c0c9a7be206919aa1964f9ab3feecf8f82 authored over 7 years ago by Giel van Schijndel <[email protected]>
Travis: run Qt examples too

d27f6ce63f23788daf8c4bdc44a74b67e0e5a055 authored over 7 years ago by Giel van Schijndel <[email protected]>
Cleanup: get rid of left-over macro

This macro used to be necessary to prevent duplication of the function
argument list. This neces...

4ad75e37db26fc1c996ca70c6aacb13470cf67eb authored over 7 years ago by Giel van Schijndel <[email protected]>
Merge #159 Pass regex captures as step function arguments

This closes #112

c4fa230c75eb2e542713256dec99b11e15c4960f authored over 7 years ago by Giel van Schijndel <[email protected]>
Travis, OSX: discover Qt regardless of version

The hardcoded path to the Qt directory for OSX doesn't work (anymore)
because it refers to a non...

cbb249302196876d6b74b026658d77e008e2542b authored over 7 years ago by Giel van Schijndel <[email protected]>
Merge #160 enable Qt in CI

* Make building with Qt possible to disable (CUKE_DISABLE_QT)
* Enable building with Qt on our C...

07850d5b23aabb629d638d5bbb4ebafd03a98316 authored over 7 years ago by Giel van Schijndel <[email protected]>
Add forgotten bugfix to previous release' changelog

6f4a1d5cdd6d047613d2bc9424a5b8b71726bc42 authored over 7 years ago by Giel van Schijndel <[email protected]>
update History.md

e8eac1b36caaa47505155a555c058edabc8175d6 authored over 7 years ago by Kamil Strzempowicz <[email protected]>
Reorder linking libraries for CalcQt

That should fix appveyor build for mingw
+ small cleanups in examples CMake configuration

0a16f31bff9a33eaf5452ae4ae3553e70d45afad authored over 7 years ago by Kamil Strzempowicz <[email protected]>
CI: Make Qt available and discoverable

To ensure our Qt-using code gets tested by our CI systems as well.

b2a0b0d78d4669e129f99179ab0efebea396980a authored over 7 years ago by Kamil Strzempowicz <[email protected]>
AppVeyor: cleanup

* remove 'cmd' prefix
- because this is already the default
* remove intermediate RUBY_VERSION ...

42d39707d9573a973107f32d810016dd212b9337 authored over 7 years ago by Kamil Strzempowicz <[email protected]>
CMake: merge Qt4 and Qt5 handling

Also use the more localized target_include_directories instead of
include_directories and AUTOMO...

9f82d7fdef0f8b6a885b99f61b2271e44eb18af6 authored over 7 years ago by Kamil Strzempowicz <[email protected]>
CMake cleanup: use 'option' for parameters

Use the 'option' command for user-selectable options instead of cached
bool variables. Just like...

fde4e7699afa006d2cad741064f9339c509c85fa authored over 7 years ago by Kamil Strzempowicz <[email protected]>
Simplify decoding of function signature

This gets rid of the FunctionSignature and FunctionArgs helper classes
by using a pointer-to-mem...

0374a5c988c0ded52e30b6cdda0446d52441df53 authored over 7 years ago by Giel van Schijndel <[email protected]>
AppVeyor: nicely display test results

By producing JUnit output and submitting it to AppVeyor's job processing
we now get some nice di...

60ed975463c6f497d6bc3b60795e4d4af99c6f33 authored over 7 years ago by Giel van Schijndel <[email protected]>
Get rid of dynamic_cast<Derived>

This gets rid of both the runtime overhead associated with dynamic_cast
and the need to explicit...

b9b6fea1d76b685e1e6317a87645c653a246f729 authored over 7 years ago by Giel van Schijndel <[email protected]>
Don't write temporary files just to satisfy CMake

Instead tell CMake that it's a generated source file so that it accepts
their absence at generat...

58b00c614f76e71f09c8981f4c56d3af1d5fe3c8 authored over 7 years ago by Giel van Schijndel <[email protected]>
CMake/Ninja: give 'features' target direct terminal access

This will cause the output to be displayed while cucumber executes our
features instead of when ...

b59cf0cc6d7bfb84b7394fa642f4f7363fd86d00 authored over 7 years ago by Giel van Schijndel <[email protected]>
CMake/Ninja: get colored output from Cucumber

Apply the same fix for cucumber as we applied for GCC/Clang to get
colored terminal output throu...

2a9fa6cb0d9cbfa6c4ce8776256016086a9c16dd authored over 7 years ago by Giel van Schijndel <[email protected]>
Fix typo: CMake identifies GCC as 'GNU'

472cffda7aebebf34f6c2422f7f9653787d2ee61 authored over 7 years ago by Giel van Schijndel <[email protected]>
Merge #152 fix our CMake version dependency: 3.1

This fixes #153.

860b4e93a9cb3c4e8228acfc5ac09a69ea4805a9 authored over 7 years ago by Giel van Schijndel <[email protected]>
Merge #158 Listen on localhost by default to avoid firewall warnings

1bdae4a76df7ebf490ffaf7f61588764aabcdfbb authored over 7 years ago by Giel van Schijndel <[email protected]>
Use Boost's C++ feature detection instead of __cplusplus

Because MSVC's value for __cplusplus doesn't even claim C++98 support.
That's actually good, bec...

c31f29a39117d91d5b10eb7bf53754b9af2c824e authored over 7 years ago by Giel van Schijndel <[email protected]>
Add an example and unit test for step function arguments

2f2e2a8505c1e199c5be6c51cf5f9784b48fdf32 authored over 7 years ago by Giel van Schijndel <[email protected]>
CMake: still get colored error output when using Ninja

885214ef15ca4b91029da7d87b70890ccecebd30 authored over 7 years ago by Giel van Schijndel <[email protected]>
Properly decay step-function argument types before converting to them

This prevents nasty surprises where we might try to convert to a const
type, which would fail in...

c0c9137f745f600271b746ed1f84cbf05c40e2ce authored over 7 years ago by Giel van Schijndel <[email protected]>
Support unpacking regex captures to step-function arguments

On C++11 (and beyond), support extracting of the regex' captures to the
arguments of the step fu...

e59905b63d1815d55d86eecab90e03151caedb2e authored over 7 years ago by Giel van Schijndel <[email protected]>
Add initial support for taking step arguments as function params

This is intended to provide a replacement for the use of the REGEX_PARAM
macro and to pass the p...

571ac900f6590394b0213d91f46d147ab0f9c197 authored over 7 years ago by Giel van Schijndel <[email protected]>
Allow TCPSocketServer to listen on an endpoint

This allows one to bind the WireServer to localhost, which fixes an
annoying nag dialog shown by...

80525ae255c8432e64409df6e49b13493f941fbc authored over 7 years ago by mak <[email protected]>
Include required header and use from `std` namespace

This fixes #156 by not depending on indirect inclusion and additionally
uses iswprint from the n...

34b01504198def0515589a69dc9d8f2f2ac7604b authored over 7 years ago by Giel van Schijndel <[email protected]>
Explain why StepInfo's assignment operator is deleted

Because I've seen this code to often, wondering why I shouldn't just
delete this line. Turns out...

402137552e1534ae663274b490be0cf7dc1a12ff authored over 7 years ago by Giel van Schijndel <[email protected]>
Fix our CMake version dependency: 3.1

I.e. inside FindGMock.cmake we're using find_dependency() from the
CMakeFindDependencyMacro modu...

804527c8013d5d52b416a7b623add95a235c51d1 authored over 7 years ago by Giel van Schijndel <[email protected]>
Merge #144 Allow running GTest cases in a single invocation

I.e. running all cases in a single process, without respawning for every
test case, is now possi...

ca6535d69ff00c9236afdbbc386b902c711feec8 authored over 7 years ago by Giel van Schijndel <[email protected]>
Be more specific in contributor guidelines

Also for maintainers with regards to release tagging.

8092606e521f80c10d4ef87ac83cca7e25f4ff4d authored over 7 years ago by Giel van Schijndel <[email protected]>
Merge #148 use https:// instead of git:// for submodules

e5daa1c0e4713dfc44dd8fbb088a7375504da120 authored over 7 years ago by Giel van Schijndel <[email protected]>
Use https:// instead of git://

HTTPS is the protocol least likely to be blocked by a corporate
firewall.

5511c7e933c76826972f0190e45ec80f32e0009a authored over 7 years ago by toh <[email protected]>
Contributors might not know what a bugfix or a feature are

c38dda1702ffa91d0792ed4e6348b1ba7e3dcb61 authored over 7 years ago by Paolo Ambrosio <[email protected]>
Better contributing guidelines and GitHub templates for issues and PRs

c257e218987d68172d41a44a683e2976cac8d882 authored almost 8 years ago by Paolo Ambrosio <[email protected]>
Ensure HookRegistrationFixture does its setup right

1a7b7b10447925f337d9794da36d63d1b5e90efe authored almost 8 years ago by Giel van Schijndel <[email protected]>
Properly test the fixtures

I.e. otherwise we don't ever validate the proper execution of SetUp()
and TearDown().

04011a84b7c5017acd3d6c49e9488495d7cc2f36 authored almost 8 years ago by Giel van Schijndel <[email protected]>
Preparing history file for next development release

da609956fcd42046e5182c6226acd7e53dd7754e authored almost 8 years ago by Paolo Ambrosio <[email protected]>
Updated history file for the 0.4 release

fdf8a5c4ef4c51dfa7ea82077f706414a4c6322d authored almost 8 years ago by Paolo Ambrosio <[email protected]>
Merge #139 'Fix and document minimal boost version'

79811832e1f184d61ed25b8763e50af36b64f93d authored almost 8 years ago by Paolo Ambrosio <[email protected]>
Require Boost during find_package

Except for Boost.Test, that's still optional.

a3f0d1624e9bdc1ae862356e0fec9a6450172490 authored almost 8 years ago by Giel van Schijndel <[email protected]>
Bump Boost to 1.46 and document it

Because we cannot build without that version, 1.40 isn't enough. 1.42 is
required for Boost.Test...

bcf4b0a70101700b9a65adabb2d172b2cf7c25e8 authored almost 8 years ago by Giel van Schijndel <[email protected]>
Merge #138 'Get rid of clang warning'

Closes #119

f933ad1983cf15cc0573532f98b5457bc1ba2a18 authored almost 8 years ago by Paolo Ambrosio <[email protected]>
get rid of clang warning

f08967583b99f9d35a5aeecdb44437b2c923c47f authored almost 8 years ago by Kamil Strzempowicz <[email protected]>
Merge #134 'Test with Valgrind, stop leaking, more memory safety'

505b2a9ade2afe47fb3781cb7ff70d0c778cc5b6 authored almost 8 years ago by Paolo Ambrosio <[email protected]>
Store a shared_ptr instead of raw to StepInfo in SingleStepMatch

To be really sure we won't ever have a dangling pointer there.

d6526f96682199e782ed9f70ff94cde904725030 authored almost 8 years ago by Giel van Schijndel <[email protected]>
Make StepInfo const correct and pass it around as const

bd10763fd0a142c28ed3636d9a0cc402572228f8 authored almost 8 years ago by Giel van Schijndel <[email protected]>
Return 'const void*' to avoid having to cast

ca275398d285260241c563f34fa2a283855d54c9 authored almost 8 years ago by Giel van Schijndel <[email protected]>
Pass by-ref instead of ptr, use smart ptr for the rest

Pass by reference instead of by pointer, where possible. Do this because
references must always ...

ab40e126459f3a2bf83fecc354d11875966e0dcf authored almost 8 years ago by Giel van Schijndel <[email protected]>
Use make_shared<T> instead of shared_ptr<T>(new T)

This makes it easier (with a simple grep '\bnew\b') to find the pointers
that really aren't trac...

850f5c74a636743760fc91850d26f79d34eca65d authored almost 8 years ago by Giel van Schijndel <[email protected]>
Don't use dynamic allocation when by-value statics will do

This still doesn't suffer from the "static init order fiasco" because
the order of function-scop...

41839e9aeb0be10c34b92bccf50f2a0dc99506f1 authored almost 8 years ago by Giel van Schijndel <[email protected]>
Optionally run all tests in Valgrind

77ab25cd35e2cc6a6cec2434487c27220d5552ae authored almost 8 years ago by Giel van Schijndel <[email protected]>
Build all branches on Travis and AppVeyor

6bf767b21706d0b8f3657d8e794ba08196b40f8f authored almost 8 years ago by Paolo Ambrosio <[email protected]>
Merge #133 'Output CTest error log on failures'

b508798bc84ad7cb554131b50124a3a27c157673 authored almost 8 years ago by Paolo Ambrosio <[email protected]>
Merge #136 'Remove email notifications from CI to the Google Group'

d65fd65807762f846196c1cd7df6c7c385e86433 authored almost 8 years ago by Paolo Ambrosio <[email protected]>
Send notifications from CI to commit author

43391b59dc1e1a5e042a60f83bb7744ddd2740cd authored almost 8 years ago by Paolo Ambrosio <[email protected]>
Merge #135 'GMock: fix dependency declarations'

Fixes parallel builds (including Ninja)

6b960a2e2ee10c14b14a06f1351c4c353c96327e authored almost 8 years ago by Paolo Ambrosio <[email protected]>
Travis: build with Ninja

Because after making fully parallel builds possible we'd better start
using them to keep testing...

1073674ccee36e4256016ed68736e1d0e54abbca authored almost 8 years ago by Giel van Schijndel <[email protected]>
GMock: declare it a dependency where used

This way other properties such as the list of libraries to link to
transitively and what header ...

ff68d905ede2f005ce4007d968b8fd7df6bb81e4 authored almost 8 years ago by Giel van Schijndel <[email protected]>
GMock: declare dependency on GTest

f3d2458ac94642331a001f3bc2c3a887edb5b5bc authored almost 8 years ago by Giel van Schijndel <[email protected]>
GMock: specify external project build products

This gives CMake the information it needs to figure out the dependencies
_properly_ by itself. A...

b782d7482363dfb0aa478dd2e6c65433679b5b8f authored almost 8 years ago by Giel van Schijndel <[email protected]>
FindGMock: only add existing and correct include dirs

This prevents attempting to include things from
/usr/src/gmock/include/gmock/gmock.h, which in U...

874681109ef0a9aaf9d18cb88f46091aa40d047a authored almost 8 years ago by Giel van Schijndel <[email protected]>
FindGMock: fix typo: use _DIR instead of _DIRS

Because _DIRS is an output variable that doesn't (yet) exist.

6f24dba22ae45e5cfd81a9ebbf128bf7184b5a82 authored almost 8 years ago by Giel van Schijndel <[email protected]>
CI: output CTest error log on failures

2dedbd4156f2ef6bda94f4a8b2f1732abdb07eb4 authored almost 8 years ago by Giel van Schijndel <[email protected]>
Merge #130 'Find g mock'

This pull request fixes the cmake files for building with MinGW under
windows. Further it modifi...

dd3fc38ade3d4efd99da23ca72fb826ea8447b33 authored almost 8 years ago by Paolo Ambrosio <[email protected]>
AppVeyor: Build for MinGW 32/64.

96c2659d02fc950dfe53ac61ceb1739d437dd672 authored almost 8 years ago by Michel Estermann <[email protected]>