Skip to content

Commit

Permalink
Rename project to "blink"
Browse files Browse the repository at this point in the history
  • Loading branch information
crosire committed Dec 8, 2018
1 parent e712619 commit 7a38c1f
Show file tree
Hide file tree
Showing 14 changed files with 66 additions and 49 deletions.
2 changes: 1 addition & 1 deletion jetlink.sln → blink.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jetlink", "jetlink.vcxproj", "{188B7270-046B-476D-A32D-34390DA1A885}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "blink", "blink.vcxproj", "{188B7270-046B-476D-A32D-34390DA1A885}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
22 changes: 11 additions & 11 deletions jetlink.vcxproj → blink.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label="Configuration">
<OutDir>$(SolutionDir)\bin\$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)\obj\$(Platform)\$(Configuration)\</IntDir>
<OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)intermediate\$(Platform)\$(Configuration)\</IntDir>
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
Expand Down Expand Up @@ -108,18 +108,18 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="source\filewatcher.cpp" />
<ClCompile Include="source\jetlink.cpp" />
<ClCompile Include="source\jetlink_linker.cpp" />
<ClCompile Include="source\jetlink_reader_msf.cpp" />
<ClCompile Include="source\jetlink_reader_pdb.cpp" />
<ClCompile Include="source\file_watcher.cpp" />
<ClCompile Include="source\blink.cpp" />
<ClCompile Include="source\blink_linker.cpp" />
<ClCompile Include="source\msf_reader.cpp" />
<ClCompile Include="source\pdb_reader.cpp" />
<ClCompile Include="source\main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="source\filewatcher.hpp" />
<ClInclude Include="source\jetlink.hpp" />
<ClInclude Include="source\jetlink_reader_msf.hpp" />
<ClInclude Include="source\jetlink_reader_pdb.hpp" />
<ClInclude Include="source\file_watcher.hpp" />
<ClInclude Include="source\blink.hpp" />
<ClInclude Include="source\msf_reader.hpp" />
<ClInclude Include="source\pdb_reader.hpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>
37 changes: 37 additions & 0 deletions blink.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="source\blink.cpp" />
<ClCompile Include="source\blink_linker.cpp" />
<ClCompile Include="source\main.cpp" />
<ClCompile Include="source\msf_reader.cpp">
<Filter>pdb</Filter>
</ClCompile>
<ClCompile Include="source\pdb_reader.cpp">
<Filter>pdb</Filter>
</ClCompile>
<ClCompile Include="source\file_watcher.cpp">
<Filter>utilities</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="source\blink.hpp" />
<ClInclude Include="source\pdb_reader.hpp">
<Filter>pdb</Filter>
</ClInclude>
<ClInclude Include="source\msf_reader.hpp">
<Filter>pdb</Filter>
</ClInclude>
<ClInclude Include="source\file_watcher.hpp">
<Filter>utilities</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="utilities">
<UniqueIdentifier>{b3f5ff38-e476-4591-bee7-79acc415eba3}</UniqueIdentifier>
</Filter>
<Filter Include="pdb">
<UniqueIdentifier>{1c5f0961-0093-4ae9-8a73-6f3aff7c1c3d}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>
17 changes: 0 additions & 17 deletions jetlink.vcxproj.filters

This file was deleted.

9 changes: 4 additions & 5 deletions source/jetlink.cpp → source/blink.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
#include "jetlink.hpp"
#include "jetlink_reader_pdb.hpp"
#include "filewatcher.hpp"

#include "blink.hpp"
#include "pdb_reader.hpp"
#include "file_watcher.hpp"
#include <string>
#include <atomic>
#include <unordered_map>
#include <algorithm>
#include <Windows.h>

namespace jetlink
namespace blink
{
std::string longest_path(const std::vector<std::string> &paths)
{
Expand Down
2 changes: 1 addition & 1 deletion source/jetlink.hpp → source/blink.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inline void print(const std::string &message)
print(message.data(), message.size());
}

namespace jetlink
namespace blink
{
class application
{
Expand Down
5 changes: 2 additions & 3 deletions source/jetlink_linker.cpp → source/blink_linker.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#include "jetlink.hpp"

#include "blink.hpp"
#include <assert.h>
#include <vector>
#include <fstream>
#include <algorithm>
#include <Windows.h>
#include <TlHelp32.h>

namespace jetlink
namespace blink
{
namespace
{
Expand Down
3 changes: 1 addition & 2 deletions source/filewatcher.cpp → source/file_watcher.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "filewatcher.hpp"

#include "file_watcher.hpp"
#include <Windows.h>

const DWORD buffer_size = sizeof(FILE_NOTIFY_INFORMATION) + MAX_PATH * sizeof(WCHAR);
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions source/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "jetlink.hpp"
#include "blink.hpp"
#include <Windows.h>
#include <Psapi.h>
#include <iostream>
Expand Down Expand Up @@ -103,7 +103,7 @@ DWORD CALLBACK remote_main(BYTE *imagebase)
Sleep(100);

// Run main loop
jetlink::application().run();
blink::application().run();

// Small timeout to prevent race condition
Sleep(100);
Expand Down
4 changes: 2 additions & 2 deletions source/jetlink_reader_msf.cpp → source/msf_reader.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "jetlink_reader_msf.hpp"
#include "msf_reader.hpp"
#include <algorithm>

/**
Expand All @@ -9,7 +9,7 @@
* The stream assignments to corresponding pages are defined in the root directory (and stream zero).
*/

namespace jetlink
namespace blink
{
namespace
{
Expand Down
2 changes: 1 addition & 1 deletion source/jetlink_reader_msf.hpp → source/msf_reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <vector>
#include <fstream>

namespace jetlink
namespace blink
{
/// <summary>
/// Class which splits a multi-stream file into its content streams.
Expand Down
4 changes: 2 additions & 2 deletions source/jetlink_reader_pdb.cpp → source/pdb_reader.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "jetlink_reader_pdb.hpp"
#include "pdb_reader.hpp"
#include <unordered_set>

/**
Expand All @@ -14,7 +14,7 @@

#pragma pack(1)

namespace jetlink
namespace blink
{
namespace
{
Expand Down
4 changes: 2 additions & 2 deletions source/jetlink_reader_pdb.hpp → source/pdb_reader.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#pragma once

#include "jetlink_reader_msf.hpp"
#include "msf_reader.hpp"
#include <unordered_map>

namespace jetlink
namespace blink
{
/// <summary>
/// A global unique identifier (GUID).
Expand Down

0 comments on commit 7a38c1f

Please sign in to comment.