summaryrefslogtreecommitdiffstats
path: root/Source/cmCallVisualStudioMacro.h
blob: e516fe2685225a895d961b913b5018e1b8cc370d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*============================================================================
  CMake - Cross Platform Makefile Generator
  Copyright 2000-2009 Kitware, Inc., Insight Software Consortium

  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 for more information.
============================================================================*/
#ifndef cmCallVisualStudioMacro_h
#define cmCallVisualStudioMacro_h

#include "cmStandardIncludes.h"

/** \class cmCallVisualStudioMacro
 * \brief Control class for communicating with CMake's Visual Studio macros
 *
 * Find running instances of Visual Studio by full path solution name.
 * Call a Visual Studio IDE macro in any of those instances.
 */
class cmCallVisualStudioMacro
{
public:
  ///! Call the named macro in instances of Visual Studio with the
  ///! given solution file open. Pass "ALL" for slnFile to call the
  ///! macro in each Visual Studio instance.
  static int CallMacro(const std::string& slnFile, const std::string& macro,
                       const std::string& args,
                       const bool logErrorsAsMessages);

  ///! Count the number of running instances of Visual Studio with the
  ///! given solution file open. Pass "ALL" for slnFile to count all
  ///! running Visual Studio instances.
  static int GetNumberOfRunningVisualStudioInstances(
    const std::string& slnFile);

protected:
private:
};

#endif
ref='/oss-git/cpython.git/commit/Lib/test?id=dc817b229c972b2a881d08834a0612232dac7415'>Issue #10356: Decimal(-1).__hash__() should equal hash(Decimal(-1)).Stefan Krah2010-11-171-14/+21 | | | * | | Issue #10429: IMAP.starttls() stored the capabilities as bytes objects,Antoine Pitrou2010-11-161-0/+6 | | | | | | | | | | | | rather than strings. * | | Avoid some BytesWarnings when running test_imaplib in verbose modeAntoine Pitrou2010-11-161-2/+2 | | | * | | Fix Issue5111 - Wrap the Ipv6 host with [] in the Host headerSenthil Kumaran2010-11-131-0/+19 | | | * | | Streamline a cmath test (and fix some overlong lines into the bargain).Mark Dickinson2010-11-131-4/+2 | | | * | | Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356).Mark Dickinson2010-11-131-0/+3 | | | * | | Switch from gmane to another provider for NNTP tests (as gmane isn't reliableAntoine Pitrou2010-11-131-32/+45 | | | | | | | | | | | | enough). Also, use setUpClass in order to connect only once per test run. * | | Issue #4471: Add the IMAP.starttls() method to enable encryption onAntoine Pitrou2010-11-121-3/+13 | | | | | | | | | | | | standard IMAP4 connections. Original patch by Lorenzo M. Catucci. * | | #1466065: add validate option to base64.b64decodeR. David Murray2010-11-111-1/+17 | | | | | | | | | | | | | | | | | | | | | Patch by Neil Tallim. This provides a mechanism for module users to achieve RFC 3548 compliance in the cases where ignoring non-base64-alphabet input characters is *not* mandated by the RFC that references RFC 3548. * | | Disable test_python_builders in test_xmlrpc_net, following buildbot upgrade ↵Antoine Pitrou2010-11-101-0/+1 | | | | | | | | | | | | on python.org * | | Issue #5412: extend configparser to support mapping accessŁukasz Langa2010-11-101-34/+127 | | | * | | Issue #10372: Import the warnings module only after the IO library isAntoine Pitrou2010-11-101-0/+17 | | | | | | | | | | | | initialized, so as to avoid bootstrap issues with the '-W' option. * | | Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch byAntoine Pitrou2010-11-091-0/+1 | | | | | | | | | | | | Lorenzo M. Catucci. * | | Fix IMAP.login() to work properly.Antoine Pitrou2010-11-091-3/+43 | | | | | | | | | | | | Also, add remote tests for imaplib (part of #4471). * | | Preserve the original environment (e.g. LD_LIBRARY_PATH)Antoine Pitrou2010-11-091-4/+5 | | | * | | Use script_helper in one more testAntoine Pitrou2010-11-092-35/+35 | | | * | | Issue #9244: multiprocessing.pool: Worker crashes if result can't be encodedAsk Solem2010-11-091-1/+48 | | | * | | Issue #10022: The dictionary returned by the `getpeercert()` methodAntoine Pitrou2010-11-091-1/+6 | | | | | | | | | | | | of SSL sockets now has additional items such as `issuer` and `notBefore`. * | | Issue #1926: Add support for NNTP over SSL on port 563, as well asAntoine Pitrou2010-11-091-24/+76 | | | | | | | | | | | | STARTTLS. Patch by Andrew Vant. * | | Fix Issue10205 - XML QName error when different tags have same QName.Senthil Kumaran2010-11-091-0/+5 | | | * | | test_tokenize: use self.assertEqual() instead of plain assertVictor Stinner2010-11-091-4/+4 | | | * | | Issue #10335: Add tokenize.open(), detect the file encoding usingVictor Stinner2010-11-091-1/+22 | | | | | | | | | | | | tokenize.detect_encoding() and open it in read only mode. * | | Fixed unit test failure on WindowsAlexander Belopolsky2010-11-081-4/+5 | | | * | | Fix memory consumption advertised by some test casesAntoine Pitrou2010-11-081-4/+6 | | | * | | Fix test_hashlib with the bigmem optionAntoine Pitrou2010-11-081-2/+2 | | | * | | Streamlined code in trace.Ignore and added unit tests.Alexander Belopolsky2010-11-081-0/+14 | | | * | | #10321: Add support for sending binary DATA and Message objects to smtplibR. David Murray2010-11-081-0/+106 | | | * | | Issue #10347: ignore leading test count ("[ 1/340]") when using the -f ↵Antoine Pitrou2010-11-071-0/+2 | | | | | | | | | | | | option to regrtest. * | | Update assertComplexIdentical to handle nans correctly.Mark Dickinson2010-11-071-5/+32 | | | * | | Issue #10337: skip tests of tanh() sign in test_math and test_cmath if tanh()Victor Stinner2010-11-073-12/+35 | | | | | | | | | | | | doesn't preserve the zero sign (if TANH_PRESERVES_ZERO_SIGN define is 0). * | | Add a dtoa.c test value that triggered a bug in recent versions ofMark Dickinson2010-11-071-0/+7 | | | | | | | | | | | | | | | Gay's dtoa.c (but not for current versions of Python's dtoa.c). Thanks Rick Regan for finding and reporting this. * | | test_concurrent_futures: remove temporary hackVictor Stinner2010-11-071-4/+0 | | | * | | Removed unused test classes from test_format_map().Eric Smith2010-11-061-38/+0 | | | * | | test_concurrent_futures: dump ulimit -a to check a failure on x86 FreeBSD ↵Victor Stinner2010-11-061-0/+4 | | | | | | | | | | | | 7.2 3.x, buildbot * | | Prevent ResourceWarnings in test_gettextÉric Araujo2010-11-061-23/+12 | | | * | | Fix caching error found by regrtest -R (#10229)Éric Araujo2010-11-061-0/+1 | | | * | | Fix one omission in r78359Éric Araujo2010-11-061-0/+1 | | | * | | Clear up ResourceWarningsBrian Curtin2010-11-061-0/+1 | | | * | | Issue #10180: Pickling file objects is now explicitly forbidden, sinceAntoine Pitrou2010-11-051-0/+18 | | | | | | | | | | | | unpickling them produced nonsensical results. * | | Output served URL when running ssl_serversAntoine Pitrou2010-11-051-0/+2 | | | * | | Fix test_httplib when built without threadsAntoine Pitrou2010-11-051-1/+1 | | | * | | Issue #10282: Add a `nntp_implementation` attribute to NNTP objects.Antoine Pitrou2010-11-051-0/+2 | | | * | | Close subprocess pipes to clean up ResourceWarningsBrian Curtin2010-11-051-0/+4 | | | * | | Fix a number of ResourceWarnings on Windows due to open pipes.Brian Curtin2010-11-051-0/+17 | | | * | | Add socket cleanup for ResourceWarning and update test to use skip decoratorBrian Curtin2010-11-05