From 011fec97cf9a3e3551381967072c8247347d8a9a Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sun, 22 Apr 2018 03:07:04 -0400 Subject: [PATCH] remove clearly unneeded files (qmake and unused stuff) --- vnr/ccutil/ccutil.pri | 11 - vnr/config.pri | 596 ------------------------------- vnr/cpputil/cpputil.pri | 18 - vnr/disasm/disasm.pri | 13 - vnr/disasm/disasm.pro | 16 - vnr/hashutil/hashutil.pri | 11 - vnr/ithsys/ithsys.pri | 13 - vnr/ithsys/ithsys.pro | 52 --- vnr/memdbg/memdbg.pri | 17 - vnr/mono/mono.pri | 12 - vnr/ntdll/ntdll.pri | 10 - vnr/ntinspect/ntinspect.pri | 16 - vnr/sakurakit/sakurakit.pri | 62 ---- vnr/texthook/host/host.pri | 23 -- vnr/texthook/texthook.pri | 20 -- vnr/texthook/texthook.pro | 61 ---- vnr/texthook/texthook_static.pri | 73 ---- vnr/vnrhook/TRASH/dllconfig.pri | 35 -- vnr/vnrhook/TRASH/hookxp.pro | 61 ---- vnr/vnrhook/TRASH/memory.h | 46 --- vnr/vnrhook/TRASH/string.h | 36 -- vnr/vnrhook/TRASH/xp.txt | 11 - vnr/vnrhook/vnrhook.pri | 12 - vnr/vnrhook/vnrhook.pro | 80 ----- vnr/windbg/windbg.pri | 26 -- vnr/winkey/winkey.pri | 15 - vnr/winmaker/winmaker.pri | 15 - vnr/winmutex/winmutex | 2 - vnr/winmutex/winmutex.pri | 13 - vnr/winseh/winseh_safe.pri | 29 -- vnr/winseh/winseh_unsafe.pri | 18 - vnr/wintimer/wintimer.pri | 20 -- vnr/wintimer/wintimer.pro | 22 -- vnr/winversion/winversion.pri | 14 - 34 files changed, 1479 deletions(-) delete mode 100644 vnr/ccutil/ccutil.pri delete mode 100644 vnr/config.pri delete mode 100644 vnr/cpputil/cpputil.pri delete mode 100644 vnr/disasm/disasm.pri delete mode 100644 vnr/disasm/disasm.pro delete mode 100644 vnr/hashutil/hashutil.pri delete mode 100644 vnr/ithsys/ithsys.pri delete mode 100644 vnr/ithsys/ithsys.pro delete mode 100644 vnr/memdbg/memdbg.pri delete mode 100644 vnr/mono/mono.pri delete mode 100644 vnr/ntdll/ntdll.pri delete mode 100644 vnr/ntinspect/ntinspect.pri delete mode 100644 vnr/sakurakit/sakurakit.pri delete mode 100644 vnr/texthook/host/host.pri delete mode 100644 vnr/texthook/texthook.pri delete mode 100644 vnr/texthook/texthook.pro delete mode 100644 vnr/texthook/texthook_static.pri delete mode 100644 vnr/vnrhook/TRASH/dllconfig.pri delete mode 100644 vnr/vnrhook/TRASH/hookxp.pro delete mode 100644 vnr/vnrhook/TRASH/memory.h delete mode 100644 vnr/vnrhook/TRASH/string.h delete mode 100644 vnr/vnrhook/TRASH/xp.txt delete mode 100644 vnr/vnrhook/vnrhook.pri delete mode 100644 vnr/vnrhook/vnrhook.pro delete mode 100644 vnr/windbg/windbg.pri delete mode 100644 vnr/winkey/winkey.pri delete mode 100644 vnr/winmaker/winmaker.pri delete mode 100644 vnr/winmutex/winmutex delete mode 100644 vnr/winmutex/winmutex.pri delete mode 100644 vnr/winseh/winseh_safe.pri delete mode 100644 vnr/winseh/winseh_unsafe.pri delete mode 100644 vnr/wintimer/wintimer.pri delete mode 100644 vnr/wintimer/wintimer.pro delete mode 100644 vnr/winversion/winversion.pri diff --git a/vnr/ccutil/ccutil.pri b/vnr/ccutil/ccutil.pri deleted file mode 100644 index b981050..0000000 --- a/vnr/ccutil/ccutil.pri +++ /dev/null @@ -1,11 +0,0 @@ -# ccutil.pri -# 1/31/2012 jichi - -DEFINES += WITH_LIB_CCUTIL - -DEPENDPATH += $$PWD - -HEADERS += \ - $$PWD/ccmacro.h - -# EOF diff --git a/vnr/config.pri b/vnr/config.pri deleted file mode 100644 index 7e7c2a7..0000000 --- a/vnr/config.pri +++ /dev/null @@ -1,596 +0,0 @@ -# config.pri -# 9/3/2011 jichi - -## Locations - -ROOTDIR = $$PWD -BUILDDIR = $$ROOTDIR/build - -SRCDIR = $$ROOTDIR/cpp -CONFDIR = $$SRCDIR/conf -LIBDIR = $$SRCDIR/libs -COMDIR = $$SRCDIR/coms -PLUGINDIR = $$SRCDIR/plugins -#SERVICEDIR = $$SRCDIR/services - -DESTDIR = $$BUILDDIR -#win32: DESTDIR_TARGET = $$BUILDDIR/release.win -#unix: DESTDIR_TARGET = $$BUILDDIR/release.unix -#mac: DESTDIR_TARGET = $$BUILDDIR/release.mac - -LIBS += -L$$DESTDIR -mac: LIBS += -F$$DESTDIR - -INCLUDEPATH += \ - $$SRCDIR \ - $$LIBDIR \ - $$COMDIR \ - $$PLUGINDIR \ - $$SERVICEDIR - -## Qt Translation - -CODECFORTR = UTF-8 -#CODECFORSRC = UTF-8 # there are sources in SJIS encoding - -## Compiling options - -# Windows -win32: DEFINES += UNICODE # force using UNICODE interface by default - -# Mac -#CONFIG += x86 x86_64 ppc64 -mac: CONFIG -= ppc ppc64 # disable compiling fat architectures - -# Enable C++11 -win32: QMAKE_CXXFLAGS += -Zc:auto -unix: QMAKE_CXXFLAGS += -std=c++11 -mac { - # Enable TR1 such as tuple - # Clang is required to take place of llvm gcc, which uses /usr/lib/libstdc++.dylib - QMAKE_CXXFLAGS += -stdlib=libc++ - QMAKE_LFLAGS += -stdlib=libc++ -} - -# MSVC warnings -win32 { - # Disable checked iterator and compiler warning. - # SCL: http://msdn.microsoft.com/en-us/library/aa985896.aspx - # SCL Warning: http://msdn.microsoft.com/en-us/library/aa985974.aspx - # Performance comparison: http://askldjd.wordpress.com/2009/09/13/stl-performance-comparison-vc71-vc90-and-stlport/ - DEFINES += _SECURE_SCL=0 _SCL_SECURE_NO_WARNINGS - - # Disable CRT string function warnings - DEFINES += _CRT_SECURE_NO_WARNINGS - - # Disable CRT posix warnings - #DEFINES += _CRT_NONSTDC_NO_DEPRECATE - - QMAKE_CXXFLAGS += -wd4819 # ignore the warning on Japanese characters -} - -## External Libraries - -win32 { - D3D_HOME = "C:/Program Files/Microsoft DirectX SDK" - DETOURS_HOME = "C:/Program Files/Microsoft Research/Detours Express 3.0" - #DEV_HOME = c:/dev - DEV_HOME = z:/local/windows/developer - BOOST_HOME = $$DEV_HOME/boost/build - #ITH_HOME = $$DEV_HOME/ith - MSIME_HOME = $$DEV_HOME/msime - #PYTHON_HOME = $$ROOTDIR/../Python - #PYTHON_HOME = C:/Python - PYTHON_HOME = $$DEV_HOME/python - PYSIDE_HOME = $$PYTHON_HOME/lib/site-packages/PySide - QT_HOME = c:/qt/4 - QT_SRC = c:/qt - SAPI_HOME = "$$PROGRAMFILES/Microsoft Speech SDK 5.1" - #WMSDK_HOME = c:/wmsdk/wmpsdk9 - WDK7_HOME = c:/winddk/7600.16385.1 - WDK8_HOME = "$$PROGRAMFILES/Windows Kits/8.1" - UTF8_HOME = z:/users/jichi/opt/utf8 -} -mac { - MACPORTS_HOME = /opt/local - BOOST_HOME = $$MACPORTS_HOME - DEV_HOME = ${HOME}/opt - #ITH_HOME = ${HOME}/opt/ith - MSIME_HOME = $$DEV_HOME/msime - PYSIDE_HOME = $$MACPORTS_HOME - PYTHON_HOME = $$MACPORTS_HOME/Library/Frameworks/Python.framework/Versions/Current - #QT_HOME = ${HOME}/opt/qt - QT_HOME = $$MACPORTS_HOME - QT_SRC = ${HOME}/src - UTF8_HOME = $$DEV_HOME/utf8 -} - -INCLUDEPATH += $$BOOST_HOME $$BOOST_HOME/include -LIBS += -L$$BOOST_HOME/lib - -# Disable automatically linking with boost silently -# See: http://www.boost.org/doc/libs/1_56_0/boost/config/user.hpp -DEFINES += BOOST_ALL_NO_LIB -mac: BOOST_VARIANT = -mt - -## Config - -CONFIG(release) { - message(CONFIG release) - #DEFINES += QT_NO_DEBUG_OUTPUT QT_NO_WARNING_OUTPUT -} - -CONFIG(noqt) { - message(CONFIG noqt) - CONFIG += noqtcore noqtgui - CONFIG -= qt -} -CONFIG(noqtcore) { - message(CONFIG noqtcore) - QT -= core - LIBS -= -lQtCore -} -CONFIG(noqtgui) { - message(CONFIG noqtgui) - QT -= gui - LIBS -= -lQtGui - mac: CONFIG -= app_bundle -} - -win32 { - CONFIG(nocrt) { # No runtime CRT. Use -MT for static linking. - message(CONFIG nocrt) - QMAKE_CFLAGS -= -MD -MDd - QMAKE_CFLAGS_DEBUG -= -MD -MDd - QMAKE_CFLAGS_RELEASE -= -MD -MDd - QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO -= -MD -MDd - QMAKE_CXXFLAGS -= -MD -MDd - QMAKE_CXXFLAGS_DEBUG -= -MD -MDd - QMAKE_CXXFLAGS_RELEASE -= -MD -MDd - QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO -= -MD -MDd - #QMAKE_LFLAGS += -NODEFAULTLIB:msvcrt.lib \ - # -NODEFAULTLIB:msvcrtd.lib - } - - # http://social.msdn.microsoft.com/Forums/vstudio/en-US/96c906d9-de1d-4ace-af37-71169617b6ff/destructors-and-seh - CONFIG(eha) { # Catch all exceptions - message(CONFIG eha) - QMAKE_CXXFLAGS_STL_ON -= -EHsc - QMAKE_CXXFLAGS_EXCEPTIONS_ON -= -EHsc - QMAKE_CXXFLAGS_STL_ON += -EHa - QMAKE_CXXFLAGS_EXCEPTIONS_ON += -EHa - } - - CONFIG(noeh) { # No exception handler - message(CONFIG noeh) - #CONFIG -= rtti #-exceptions -stl - QMAKE_CXXFLAGS += /GR- - QMAKE_CXXFLAGS_RTTI_ON -= -GR - - QMAKE_CXXFLAGS_STL_ON -= -EHsc - QMAKE_CXXFLAGS_EXCEPTIONS_ON -= -EHsc - - CONFIG(dll) { - QMAKE_LFLAGS += /ENTRY:"DllMain" - } - } - - CONFIG(nosafeseh) { # No safe exception handler - message(CONFIG nosafeseh) - - # Disable SafeSEH table - # http://stackoverflow.com/questions/19722308/exception-handler-not-called-in-c/20344222 - # Alternative way: Register handler using MASM - # http://stackoverflow.com/questions/12019689/custom-seh-handler-with-safeseh - QMAKE_LFLAGS += -safeseh:no - } -} - -CONFIG(gdb) { - message(CONFIG gdb) - QMAKE_CXXFLAGS += -g -ggdb -} - -CONFIG(lldb) { - message(CONFIG lldb) - QMAKE_CXXFLAGS += -g #-glldb -} - -CONFIG(qmlplugin) { - message(CONFIG qmlplugin) - QT += core declarative - win32: CONFIG += dll -} - -CONFIG(pysideplugin) { - message(CONFIG pysideplugin) - CONFIG += pyplugin shiboken - QT += core - - LIBS += -L$$PYSIDE_HOME -lpyside-python2.7 - INCLUDEPATH += \ - $$PYSIDE_HOME/include/PySide \ - $$PYSIDE_HOME/include/PySide-2.7 \ - $$PYSIDE_HOME/include \ - $$PYSIDE_HOME/include/PySide/QtCore \ - $$PYSIDE_HOME/include/PySide/QtGui \ - $$QT_HOME/include/QtGui # needed by pyside qtcore -} - -CONFIG(shiboken) { - message(CONFIG shiboken) - - LIBS += -L$$PYSIDE_HOME -lshiboken-python2.7 - INCLUDEPATH += \ - $$PYSIDE_HOME/include/shiboken \ - $$PYSIDE_HOME/include/shiboken-2.7 - - # Ignore warnings from Shiboken and PySide - mac { - QMAKE_CXXFLAGS_WARN_ON += \ - -Wno-header-guard \ - -Wno-mismatched-tags \ - -Wno-missing-field-initializers \ - -Wno-unused-parameter - } - win32 { - # QMAKE_CXXFLAGS_WARN_ON does not work on windows - # - #ifdef _MSC_VER - # pragma warning (disable:4099) // C4099: mix class and struct - # pragma warning (disable:4100) // C4100: unreferenced parametter - # pragma warning (disable:4244) // C4244: conversion lost of data - # pragma warning (disable:4390) // C4390: empty controlled statement - # pragma warning (disable:4522) // C4522: multiple assignment operators - # pragma warning (disable:4800) // C4800: forcing value to bool - #endif // _MSC_VER - QMAKE_CXXFLAGS += -wd4099 -wd4100 -wd4244 -wd4390 -wd4522 -wd4800 - } -} - -CONFIG(pyplugin) { - message(CONFIG pyplugin) - INCLUDEPATH += $$PYTHON_HOME/include/python2.7 $$PYTHON_HOME/include - - unix: LIBS += -L$$PYTHON_HOME/lib -lpython2.7 - win32: LIBS += -L$$PYTHON_HOME/libs -lpython27 - - unix: QMAKE_EXTENSION_SHLIB = so - win32: QMAKE_EXTENSION_SHLIB = pyd - win32: CONFIG += dll -} - -CONFIG(qt) { - message(CONFIG qt) - INCLUDEPATH += $$QT_SRC $$QT_SRC/qt # always allow access to Qt source code - - # Clang: Disable warning while processing Qt library headers - # http://stackoverflow.com/questions/17846909/how-can-i-stop-warnings-about-unused-private-fields - mac { - QMAKE_CXXFLAGS_WARN_ON += -Wno-deprecated-register # register storage class specifier is deprecated - QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-private-field # private field 'type' is not used in qmime.h - } -} - -# EOF - -## Debug - -#include($$ROOTDIR/lib/debug/debug.pri) - -## Deploy - -#DEFINES += VERSION=\\\"$$VERSION\\\" - -## IDs - -# Azure Market Key: https://datamarket.azure.com/account/datasets -#DEFINES += CONFIG_AZURE_ID=\\\"tuSmXew4CSnnGaX0vZyYdNLCrlInvAUepCX6p5l5THc=\\\" - -# Yahoo!JAPAN AppID: https://e.developer.yahoo.co.jp/dashboard/ -#DEFINES += CONFIG_YAHOO_ID=\\\"mRr.UCWxg65ZTZTR_Mz0OTtj3sJ7xa5K66ZOGp55cgJsIDDeaB6e1LDY1NpEZ_AfZA--\\\" - -## Deploy -# See: http://wiki.maemo.org/Packaging_a_Qt_application -# See: http://www.developer.nokia.com/Community/Wiki/Creating_Debian_packages_for_Maemo_5_Qt_applications_and_showing_in_the_application_menu -# See: https://wiki.kubuntu.org/PackagingGuide/QtApplication - -#QMLDIR=$$DESTDIR/qml -#LUADIR=$$DESTDIR/lua -#DOCDIR=$$DESTDIR/doc -#TABLEDIR=$$DESTDIR/table -#IMAGEDIR=$$DESTDIR/images -#JSFDIR=$$DESTDIR/jsf -#AVATARDIR=$$DESTDIR/avatars - -#unix:!mac { -# isEmpty(PREFIX): PREFIX = /usr -# BINDIR = $$PREFIX/bin -# DATADIR = $$PREFIX/share -#} -#mac { -# isEmpty(PREFIX): PREFIX = /opt/annot -# BINDIR = $$PREFIX/bin -# DATADIR = $$PREFIX/share -#} -# -#!win32 { -# DEFINES += \ -# BINDIR=\\\"$$BINDIR\\\" \ -# DATADIR=\\\"$$DATADIR\\\" -#} -#DEFINES += \ -# AVATARDIR=\\\"$$AVATARDIR\\\" \ -# DOCDIR=\\\"$$DOCDIR\\\" \ -# TABLEDIR=\\\"$$TABLEDIR\\\" \ -# IMAGEDIR=\\\"$$IMAGDIR\\\" \ -# LUADIR=\\\"$$LUADIR\\\" \ -# JSFDIR=\\\"$$JSFDIR\\\" - -## External libraries - -#win32 { -# DEV_HOME = c:/dev -# #DEV_HOME = B:/Developer -# QT_HOME = c:/qt/qt4 -# QT_SRC = c:/qt -# QT5_HOME = c:/qt/qt5 -# QT5_SRC = c:/qt -# #VLC_HOME = "c:/Program Files/VideoLAN/VLC/sdk" -# VLC_HOME = $$DEV_HOME/vlc -# VLC_SRC = $$VLC_HOME/src -# #WSF_HOME = $$DEV_HOME/wso2 -# #CDIO_HOME = $$DEV_HOME/cdio -# #FFMPEG_HOME = $$DEV_HOME/ffmpeg -# GPAC_HOME = $$DEV_HOME/gpac -# MP4V2_HOME = $$DEV_HOME/mp4v2 -# LIVE_HOME = $$DEV_HOME/live -# POPPLER_HOME = $$DEV_HOME/poppler -# BOOST_HOME = $$DEV_HOME/boost -# GSOAP_HOME = $$DEV_HOME/gsoap -# GSOAP_SRC = $$DEV_HOME/gsoap/src -# ZDEV_HOME = $$DEV_HOME/zlib -# LUA_HOME = $$DEV_HOME/lua -# FREETYPE_HOME = $$DEV_HOME/freetype -# FONTCONFIG_HOME = $$DEV_HOME/fontconfig -# MECAB_HOME = $$DEV_HOME/mecab -# #LUA_VERSION = 52 -# #LUA_VERSION = 5.1 -# LUA_VERSION = -# -# ITH_HOME = $$DEV_HOME/ith -# -# WDK_HOME = c:/winddk/current -# -# INCLUDEPATH += $$DEV_HOME/inttypes/include -# -# INCLUDEPATH += $$ITH_HOME/include -# LIBS += -L$$ITH_HOME/lib -# -# # wdk/inc/api/sal.h MUST be removed. -# # See: http://stackoverflow.com/questions/1356653/multiple-compiling-errors-with-basic-c-application-on-vs2010-beta-1 -# # Select WinXP x86 -# INCLUDEPATH += $$WDK_HOME/inc -# LIBS += -L$$WDK_HOME/lib/wxp/i386 -#} -# -#unix { -# X11_HOME = /usr/X11 -# QT_HOME = /usr/share/qt4 -# QT_SRC = -# VLC_HOME = /usr -# VLC_SRC = ${HOME}/opt/src -# #WSF_HOME = ${HOME}/opt/wso2/wsf -# #CDIO_HOME = /usr -# #FFMPEG_HOME = /usr -# MECAB_HOME = /usr -# GPAC_HOME = /usr -# MP4V2_HOME = /usr -# LIVE_HOME = /usr -# POPPLER_HOME = ${HOME}/opt/poppler -# BOOST_HOME = /usr -# GSOAP_HOME = ${HOME}/opt/gsoap -# GSOAP_SRC = ${HOME}/opt/src/gsoap -# LUA_HOME = /usr -# ZDEV_HOME = /usr -# FREETYPE_HOME = $$X11_HOME -# FONTCONFIG_HOME = $$X11_HOME -# LUA_VERSION = 5.1 -#} -# -#mac { -# SDK_HOME = /Developer/SDKs/MacOSX10.7.sdk -# X11_HOME = $$SDK_HOME/usr/X11 -# MACPORTS_HOME = /opt/local -# QT_HOME = ${HOME}/opt/qt -# QT_SRC = ${HOME}/opt/src -# QT5_HOME = ${HOME}/opt/qt5 -# QT5_SRC = ${HOME}/opt/src -# #VLC_HOME = ${HOME}/opt/vlc -# VLC_HOME = /Applications/VLC.app/Contents/MacOS -# VLC_SRC = ${HOME}/opt/src -# #WSF_HOME = ${HOME}/opt/wso2/wsf -# #CDIO_HOME = ${HOME}/opt/libcdio -# #FFMPEG_HOME = $$MACPORTS_HOME -# GPAC_HOME = ${HOME}/opt/gpac -# MP4V2_HOME = $$MACPORTS_HOME -# MECAB_HOME = $$MACPORTS_HOME -# LIVE_HOME = ${HOME}/opt/live -# POPPLER_HOME = ${HOME}/opt/poppler -# BOOST_HOME = $$MACPORTS_HOME -# GSOAP_HOME = ${HOME}/opt/gsoap -# GSOAP_SRC = ${HOME}/opt/src/gsoap -# ZDEV_HOME = $$SDK_HOME/usr -# FREETYPE_HOME = $$X11_HOME -# FONTCONFIG_HOME = $$X11_HOME -# #LUA_HOME = ${HOME}/opt/lua -# LUA_HOME = $$MACPORTS_HOME -# #LUA_VERSION = 52 -# LUA_VERSION = -#} -# -#INCLUDEPATH += $$QT_SRC/qt/src -##INCLUDEPATH += $$QT5_SRC/qt/src -# -#INCLUDEPATH += $$VLC_HOME/include -#INCLUDEPATH += $$VLC_HOME/include/vlc/plugins -##INCLUDEPATH += $$VLC_SRC/include -#LIBS += -L$$VLC_HOME/lib -##INCLUDEPATH += $$WSF_HOME/include -##LIBS += -L$$WSF_HOME/lib -##INCLUDEPATH += $$CDIO_HOME/include -##LIBS += -L$$CDIO_HOME/lib -##INCLUDEPATH += $$POPPLER_HOME/include/poppler/qt4 -##LIBS += -L$$POPPLER_HOME/lib -#INCLUDEPATH += $$BOOST_HOME/include -#LIBS += -L$$BOOST_HOME/lib -#INCLUDEPATH += $$GSOAP_HOME/include -##LIBS += -L$$GSOAP_HOME/lib -#INCLUDEPATH += $$ZDEV_HOME/include -#LIBS += -L$$ZDEV_HOME/lib -#INCLUDEPATH += $$MECAB_HOME/include -#LIBS += -L$$MECAB_HOME/lib -#INCLUDEPATH += $$FREETYPE_HOME/include \ -# $$FREETYPE_HOME/include/freetype2 -#LIBS += -L$$FREETYPE_HOME/lib -#INCLUDEPATH += $$FONTCONFIG_HOME/include -#LIBS += -L$$FONTCONFIG_HOME/lib -#INCLUDEPATH += $$LUA_HOME/include \ -# $$LUA_HOME/include/lua$$LUA_VERSION -#LIBS += -L$$LUA_HOME/lib -##INCLUDEPATH += $$FFMPEG_HOME/include -##LIBS += -L$$FFMPEG_HOME/lib -##INCLUDEPATH += $$GPAC_HOME/include -##LIBS += -L$$GPAC_HOME/lib -##INCLUDEPATH += $$MP4V2_HOME/include -##LIBS += -L$$MP4V2_HOME/lib -##INCLUDEPATH += \ -## $$LIVE_HOME/BasicUsageEnvironment/include \ -## $$LIVE_HOME/UsageEnvironment/include \ -## $$LIVE_HOME/groupsock/include \ -## $$LIVE_HOME/liveMedia/include -# #$$LIVE_HOME/BasicUsageEnvironment $$LIVE_HOME/BasicUsageEnvironment/include \ -# #$$LIVE_HOME/UsageEnvironment $$LIVE_HOME/UsageEnvironment/include \ -# #$$LIVE_HOME/groupsock $$LIVE_HOME/groupsock/include \ -# #$$LIVE_HOME/liveMedia $$LIVE_HOME/liveMedia/include -##LIBS += \ -## -L$$LIVE_HOME/BasicUsageEnvironment \ -## -L$$LIVE_HOME/UsageEnvironment \ -## -L$$LIVE_HOME/groupsock \ -## -L$$LIVE_HOME/liveMedia -# -#mac: INCLUDEPATH += $$SDK_HOME/usr/include - -# -# assistant.pro - Qt 4.7.3 -# -#include(../../../shared/fontpanel/fontpanel.pri) -#TEMPLATE = app -#LANGUAGE = C++ -#TARGET = assistant -#contains(QT_CONFIG, webkit):QT += webkit -#CONFIG += qt \ -# warn_on \ -# help -#QT += network -#PROJECTNAME = Assistant -#DESTDIR = ../../../../bin -#target.path = $$[QT_INSTALL_BINS] -#INSTALLS += target -#DEPENDPATH += ../shared -# -## ## Work around a qmake issue when statically linking to -## ## not-yet-installed plugins -#QMAKE_LIBDIR += $$QT_BUILD_TREE/plugins/sqldrivers -#HEADERS += aboutdialog.h \ -# bookmarkdialog.h \ -# bookmarkfiltermodel.h \ -# bookmarkitem.h \ -# bookmarkmanager.h \ -# bookmarkmanagerwidget.h \ -# bookmarkmodel.h \ -# centralwidget.h \ -# cmdlineparser.h \ -# contentwindow.h \ -# findwidget.h \ -# filternamedialog.h \ -# helpenginewrapper.h \ -# helpviewer.h \ -# indexwindow.h \ -# installdialog.h \ -# mainwindow.h \ -# preferencesdialog.h \ -# qtdocinstaller.h \ -# remotecontrol.h \ -# searchwidget.h \ -# topicchooser.h \ -# tracer.h \ -# xbelsupport.h \ -# ../shared/collectionconfiguration.h -#contains(QT_CONFIG, webkit) { -# HEADERS += helpviewer_qwv.h -#} else { -# HEADERS += helpviewer_qtb.h -# } -#win32:HEADERS += remotecontrol_win.h -# -#SOURCES += aboutdialog.cpp \ -# bookmarkdialog.cpp \ -# bookmarkfiltermodel.cpp \ -# bookmarkitem.cpp \ -# bookmarkmanager.cpp \ -# bookmarkmanagerwidget.cpp \ -# bookmarkmodel.cpp \ -# centralwidget.cpp \ -# cmdlineparser.cpp \ -# contentwindow.cpp \ -# findwidget.cpp \ -# filternamedialog.cpp \ -# helpenginewrapper.cpp \ -# helpviewer.cpp \ -# indexwindow.cpp \ -# installdialog.cpp \ -# main.cpp \ -# mainwindow.cpp \ -# preferencesdialog.cpp \ -# qtdocinstaller.cpp \ -# remotecontrol.cpp \ -# searchwidget.cpp \ -# topicchooser.cpp \ -# xbelsupport.cpp \ -# ../shared/collectionconfiguration.cpp -# contains(QT_CONFIG, webkit) { -# SOURCES += helpviewer_qwv.cpp -#} else { -# SOURCES += helpviewer_qtb.cpp -#} -# -#FORMS += bookmarkdialog.ui \ -# bookmarkmanagerwidget.ui \ -# bookmarkwidget.ui \ -# filternamedialog.ui \ -# installdialog.ui \ -# preferencesdialog.ui \ -# topicchooser.ui -# -#RESOURCES += assistant.qrc \ -# assistant_images.qrc -# -#win32 { -# !wince*:LIBS += -lshell32 -# RC_FILE = assistant.rc -#} -# -#mac { -# ICON = assistant.icns -# TARGET = Assistant -# QMAKE_INFO_PLIST = Info_mac.plist -#} -# -#contains(CONFIG, static): { -# SQLPLUGINS = $$unique(sql-plugins) -# contains(SQLPLUGINS, sqlite): { -# QTPLUGIN += qsqlite -# DEFINES += USE_STATIC_SQLITE_PLUGIN -# } -#} diff --git a/vnr/cpputil/cpputil.pri b/vnr/cpputil/cpputil.pri deleted file mode 100644 index 4a354a6..0000000 --- a/vnr/cpputil/cpputil.pri +++ /dev/null @@ -1,18 +0,0 @@ -# cpputil.pri -# 9/26/2012 jichi - -DEFINES += WITH_LIB_CPPUTIL - -DEPENDPATH += $$PWD - -HEADERS += \ - $$PWD/cppcstring.h \ - $$PWD/cpplocale.h \ - $$PWD/cppmarshal.h \ - $$PWD/cpppath.h \ - $$PWD/cppregex.h \ - $$PWD/cppstring.h \ - $$PWD/cpptype.h \ - $$PWD/cppunicode.h - -# EOF diff --git a/vnr/disasm/disasm.pri b/vnr/disasm/disasm.pri deleted file mode 100644 index 6f83e8f..0000000 --- a/vnr/disasm/disasm.pri +++ /dev/null @@ -1,13 +0,0 @@ -# disasm.pri -# 1/31/2012 jichi -win32 { - -DEFINES += WITH_LIB_DISASM -LIBS += -ldisasm -DEPENDPATH += $$PWD -HEADERS += $$PWD/disasm.h -#SOURCES += $$PWD/disasm.cc - -} - -# EOF diff --git a/vnr/disasm/disasm.pro b/vnr/disasm/disasm.pro deleted file mode 100644 index 00833ae..0000000 --- a/vnr/disasm/disasm.pro +++ /dev/null @@ -1,16 +0,0 @@ -# sys.pro -# 8/21/2013 jichi -# Build ITH_engine.dll - -CONFIG += noqt noeh staticlib -include(../../../config.pri) - -## Sources - -TEMPLATE = lib -TARGET = disasm - -HEADERS += disasm.h -SOURCES += disasm.cc - -# EOF diff --git a/vnr/hashutil/hashutil.pri b/vnr/hashutil/hashutil.pri deleted file mode 100644 index 7ffca52..0000000 --- a/vnr/hashutil/hashutil.pri +++ /dev/null @@ -1,11 +0,0 @@ -# hashutil.pri -# 6/28/2011 jichi - -DEFINES += WITH_LIB_HASHUTIL -DEPENDPATH += $$PWD - -HEADERS += \ - $$PWD/hashstr.h \ - $$PWD/hashutil.h - -# EOF diff --git a/vnr/ithsys/ithsys.pri b/vnr/ithsys/ithsys.pri deleted file mode 100644 index 7653038..0000000 --- a/vnr/ithsys/ithsys.pri +++ /dev/null @@ -1,13 +0,0 @@ -# ithsys.pri -# 8/21/2013 jichi - -DEFINES += WITH_LIB_ITHSYS -LIBS += -lithsys -DEPENDPATH += $$PWD -HEADERS += $$PWD/ithsys.h -#SOURCES += $$PWD/ithsys.cc - -#include($$LIBDIR/winddk/winddk.pri) -#LIBS += -L$$WDK/lib/wxp/i386 - -# EOF diff --git a/vnr/ithsys/ithsys.pro b/vnr/ithsys/ithsys.pro deleted file mode 100644 index 954d181..0000000 --- a/vnr/ithsys/ithsys.pro +++ /dev/null @@ -1,52 +0,0 @@ -# ithsys.pro -# 8/21/2013 jichi -# Build ithsys.lib - -#CONFIG += noqt noeh staticlib -CONFIG += noqt staticlib - -include(../../../config.pri) -include($$LIBDIR/ntdll/ntdll.pri) - -#LIBS += -L$$WDK7_HOME/lib/wxp/i386 -lntdll - -#include($$LIBDIR/winddk/winddk.pri) -#LIBS += -L$$WDK/lib/wxp/i386 - -# jichi 9/22/2013: When ITH is on wine, certain NT functions are replaced -#DEFINES += ITH_WINE - -# jichi 7/12/2015: Always enable SEH -DEFINES += ITH_HAS_SEH - -# jichi 11/24/2013: Disable manual heap -DEFINES -= ITH_HAS_HEAP - -## Libraries - -#INCLUDEPATH += $$ITH_HOME/include -#INCLUDEPATH += $$WDK7_HOME/inc/ddk - -#LIBS += -lgdi32 -luser32 -lkernel32 -#LIBS += -L$$WDK7_HOME/lib/wxp/i386 -lntdll -#LIBS += $$WDK7_HOME/lib/crt/i386/msvcrt.lib # Override msvcrt10 - -#DEFINES += ITH_HAS_CXX - -#LIBS += -lith_sys -lntdll -#LIBS += -lith_tls -lntdll -#LIBS += -lntoskrnl - -DEFINES += _CRT_NON_CONFORMING_SWPRINTFS - -## Sources - -TEMPLATE = lib -TARGET = ithsys - -HEADERS += ithsys.h -SOURCES += ithsys.cc - -OTHER_FILES += ithsys.pri - -# EOF diff --git a/vnr/memdbg/memdbg.pri b/vnr/memdbg/memdbg.pri deleted file mode 100644 index 3c4b0db..0000000 --- a/vnr/memdbg/memdbg.pri +++ /dev/null @@ -1,17 +0,0 @@ -# ntinspect.pri -# 4/20/2014 jichi -win32 { - -DEFINES += WITH_LIB_MEMDBG - -DEPENDPATH += $$PWD - -HEADERS += \ - $$PWD/memdbg.h \ - $$PWD/memsearch.h - -SOURCES += \ - $$PWD/memsearch.cc -} - -# EOF diff --git a/vnr/mono/mono.pri b/vnr/mono/mono.pri deleted file mode 100644 index 69ae806..0000000 --- a/vnr/mono/mono.pri +++ /dev/null @@ -1,12 +0,0 @@ -# mono.pri -# 9/26/2012 jichi - -DEFINES += WITH_LIB_MONO - -DEPENDPATH += $$PWD - -HEADERS += \ - $$PWD/monoobject.h \ - $$PWD/monotype.h - -# EOF diff --git a/vnr/ntdll/ntdll.pri b/vnr/ntdll/ntdll.pri deleted file mode 100644 index 721ac2d..0000000 --- a/vnr/ntdll/ntdll.pri +++ /dev/null @@ -1,10 +0,0 @@ -# ntdll.pri -# 4/9/2012 jichi - -DEFINES += WITH_LIB_NTDLL - -DEPENDPATH += $$PWD - -HEADERS += $$PWD/ntdll.h - -# EOF diff --git a/vnr/ntinspect/ntinspect.pri b/vnr/ntinspect/ntinspect.pri deleted file mode 100644 index e061db8..0000000 --- a/vnr/ntinspect/ntinspect.pri +++ /dev/null @@ -1,16 +0,0 @@ -# ntinspect.pri -# 4/20/2014 jichi -win32 { - -DEFINES += WITH_LIB_NTINSPECT - -DEPENDPATH += $$PWD - -HEADERS += $$PWD/ntinspect.h -SOURCES += $$PWD/ntinspect.cc - -LIBS += -L$$WDK7_HOME/lib/wxp/i386 -lntdll - -} - -# EOF diff --git a/vnr/sakurakit/sakurakit.pri b/vnr/sakurakit/sakurakit.pri deleted file mode 100644 index 71fe17b..0000000 --- a/vnr/sakurakit/sakurakit.pri +++ /dev/null @@ -1,62 +0,0 @@ -# sakurakit.pri -# 6/28/2011 jichi -# -# config: -# - sakurakit_qml -# - sakurakit_gui -# - sakurakit_widgets - -DEFINES += WITH_LIB_SAKURAKIT -DEPENDPATH += $$PWD - -#QT += core -HEADERS += \ - $$PWD/skautorun.h \ - $$PWD/skdebug.h \ - $$PWD/skglobal.h \ - $$PWD/skhash.h - -#CONFIG(sakurakit_gui) { -# DEFINES += SK_ENABLE_GUI -# QT += gui -# HEADERS += \ -# $$PWD/skuiutil.h -# -# CONFIG(sakurakit_qml) { -# DEFINES += SK_ENABLE_QML -# QT += qml quick -# HEADERS += \ -# $$PWD/skdraggablequickview.h -# SOURCES += \ -# $$PWD/skdraggablequickview.cc -# } -# -# CONFIG(sakurakit_widgets) { -# DEFINES += SK_ENABLE_WIDGETS -# QT += widgets -# HEADERS += \ -# $$PWD/skdraggabledialog.h \ -# $$PWD/skdraggablemainwindow.h \ -# $$PWD/skdraggablewidget.h \ -# $$PWD/skpushbutton.h \ -# $$PWD/sksystemtrayicon.h \ -# $$PWD/sktoolbutton.h \ -# $$PWD/skwindowcontainer.h -# SOURCES += \ -# $$PWD/skdraggablewidget.cc \ -# $$PWD/skpushbutton.cc \ -# $$PWD/sktoolbutton.cc \ -# $$PWD/skwindowcontainer.cc \ -# $$PWD/skdraggabledialog.cc \ -# $$PWD/skdraggablemainwindow.cc -# -# CONFIG(sakurakit_qml) { -# HEADERS += \ -# $$PWD/skquickwidget.h -# SOURCES += \ -# $$PWD/skquickwidget.cc -# } -# } -#} - -# EOF diff --git a/vnr/texthook/host/host.pri b/vnr/texthook/host/host.pri deleted file mode 100644 index 73ffeb0..0000000 --- a/vnr/texthook/host/host.pri +++ /dev/null @@ -1,23 +0,0 @@ -# host.pri -# 8/9/2011 jichi - -DEFINES += WITH_LIB_VNRHOST - -DEPENDPATH += $$PWD - -HEADERS += \ - $$PWD/avl_p.h \ - $$PWD/hookman.h \ - $$PWD/settings.h \ - $$PWD/host.h \ - $$PWD/host_p.h \ - $$PWD/textthread.h \ - $$PWD/textthread_p.h - -SOURCES += \ - $$PWD/hookman.cc \ - $$PWD/host.cc \ - $$PWD/pipe.cc \ - $$PWD/textthread.cc - -# EOF diff --git a/vnr/texthook/texthook.pri b/vnr/texthook/texthook.pri deleted file mode 100644 index 064aed9..0000000 --- a/vnr/texthook/texthook.pri +++ /dev/null @@ -1,20 +0,0 @@ -# texthook.pri -# 10/13/2011 jichi - -DEFINES += WITH_LIB_TEXTHOOK - -INCLUDEPATH += $$PWD -DEPENDPATH += $$PWD - -QT += core -LIBS += -ltexthook - -HEADERS += \ - $$PWD/texthook_config.h - -# texthook.h should not be in HEADERS, or it will be processed by moc -OTHER_FILES += \ - $$PWD/texthook.h \ - $$PWD/texthook.pro - -# EOF diff --git a/vnr/texthook/texthook.pro b/vnr/texthook/texthook.pro deleted file mode 100644 index bc7f05c..0000000 --- a/vnr/texthook/texthook.pro +++ /dev/null @@ -1,61 +0,0 @@ -# texthook.pro -# 10/13/2011 jichi -# Build ith texthook dll. - -CONFIG += noqtgui dll #eha # eha will catch all exceptions, but does not work on Windows XP -include(../../../config.pri) -include(host/host.pri) -include($$LIBDIR/winmutex/winmutex.pri) -include($$LIBDIR/wintimer/wintimer.pri) -include($$LIBDIR/windbg/windbg.pri) -#include($$LIBDIR/winmaker/winmaker.pri) - -# TODO: Get rid of dependence on ITHSYS and NT APIs -include($$PLUGINDIR/vnrhook/vnrhook.pri) -include($$PLUGINDIR/ithsys/ithsys.pri) -LIBS += -L$$WDK7_HOME/lib/wxp/i386 -lntdll - -DEFINES += ITH_HAS_CRT # Use native CRT - -# TODO: Get rid of dependence on msvc's swprintf -DEFINES += _CRT_NON_CONFORMING_SWPRINTFS - -## Libraries - -QT += core -QT -= gui - -## Sources - -TEMPLATE = lib -TARGET = texthook - -#CONFIG += staticlib -DEFINES += TEXTHOOK_BUILD_LIB - -HEADERS += \ - growl.h \ - ihf_p.h \ - ith_p.h \ - texthook_config.h \ - texthook.h \ - texthook_p.h \ - textthread_p.h \ - winapi_p.h - -SOURCES += \ - ihf_p.cc \ - ith_p.cc \ - texthook.cc \ - textthread_p.cc \ - winapi_p.cc - -#!wince*: LIBS += -lshell32 -#RC_FILE += texthook.rc - -OTHER_FILES += \ - texthook.pri \ - texthook_static.pri \ - texthook.rc - -# EOF diff --git a/vnr/texthook/texthook_static.pri b/vnr/texthook/texthook_static.pri deleted file mode 100644 index 9a95504..0000000 --- a/vnr/texthook/texthook_static.pri +++ /dev/null @@ -1,73 +0,0 @@ -# texthook_static.pri -# 10/13/2011 jichi - -include(../../../config.pri) -include($$LIBDIR/wintimer/wintimer.pri) - -## Libraries - -#DEFINES += _ITH_DEBUG_MEMORY - -QT += core - -INCLUDEPATH += $$PWD -DEPENDPATH += $$PWD - -#WDK_HOME = c:/winddk -#LIBS += -L$$WDK_HOME/lib -# override folder must come before winddk/inc/api -#INCLUDEPATH += $$PWD/override/wdk/vc10 -#INCLUDEPATH += $$WDK_HOME/include/api -#INCLUDEPATH += $$WDK_HOME/include/crt -#INCLUDEPATH += $$WDK_HOME/include/ddk - -#ITH_HOME = c:/dev/ith -#INCLUDEPATH += $$ITH_HOME/include -#LIBS += -L$$ITH_HOME/lib -#LIBS += -lITH_DLL #-lITH_SYS - -#INCLUDEPATH += $$ITH_HOME/include -#LIBS += -L$$ITH_HOME/lib -lihf - -# Tell IHF not to override new operators, see: ith/mem.h -DEFINES += DEFAULT_MM - -#LIBS += -lmsvcrtd -#LIBS += -lmsvcrt -#QMAKE_LFLAGS += /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcrtd.lib -DEFINES += _CRT_SECURE_NO_WARNINGS _CRT_NON_CONFORMING_SWPRINTFS - -## Sources - -#TEMPLATE = lib -#TARGET = texthook -#CONFIG += dll -#CONFIG += staticlib -#DEFINES += TEXTHOOK_BUILD_LIB -DEFINES += TEXTHOOK_STATIC_LIB - -HEADERS += \ - $$PWD/ihf_p.h \ - $$PWD/ith_p.h \ - $$PWD/texthook_config.h \ - $$PWD/texthook.h \ - $$PWD/texthook_p.h \ - $$PWD/textthread_p.h \ - $$PWD/winapi_p.h - -SOURCES += \ - $$PWD/ihf_p.cc \ - $$PWD/ith_p.cc \ - $$PWD/texthook.cc \ - $$PWD/textthread_p.cc \ - $$PWD/winapi_p.cc - -#!wince*: LIBS += -lshell32 -#RC_FILE += texthook.rc - -OTHER_FILES += \ - $$PWD/texthook.pri \ - $$PWD/texthook.pro \ - $$PWD/texthook.rc - -# EOF diff --git a/vnr/vnrhook/TRASH/dllconfig.pri b/vnr/vnrhook/TRASH/dllconfig.pri deleted file mode 100644 index 601be70..0000000 --- a/vnr/vnrhook/TRASH/dllconfig.pri +++ /dev/null @@ -1,35 +0,0 @@ -# dllconfig.pri -# 8/9/2013 jichi -# For linking ITH injectable dlls. -# The dll is self-contained and Windows-independent. - -CONFIG += dll noqt #noeh nosafeseh -CONFIG -= embed_manifest_dll # dynamically load dlls -win32 { - CONFIG(eh): DEFINES += ITH_HAS_SEH # Do have exception handler in msvcrt.dll on Windows Vista and later - CONFIG(noeh): DEFINES -= ITH_HAS_SEH # Do not have exception handler in msvcrt.dll on Windows XP and before -} -include(../../../config.pri) -#win32 { -# CONFIG(noeh): include($$LIBDIR/winseh/winseh_safe.pri) -#} - -# jichi 11/24/2013: Disable manual heap -DEFINES -= ITH_HAS_HEAP - -# jichi 11/13/2011: disable swprinf warning -DEFINES += _CRT_NON_CONFORMING_SWPRINTFS - -## Libraries - -#LIBS += -lkernel32 -luser32 -lgdi32 -LIBS += -L$$WDK7_HOME/lib/wxp/i386 -lntdll -LIBS += $$WDK7_HOME/lib/crt/i386/msvcrt.lib # Override msvcrt10 -#LIBS += -L$$WDK7_HOME/lib/crt/i386 -lmsvcrt -#QMAKE_LFLAGS += $$WDK7_HOME/lib/crt/i386/msvcrt.lib # This will leave runtime flags in the dll - -#LIBS += -L$$WDK8_HOME/lib/winv6.3/um/x86 -lntdll - -HEADERS += $$PWD/dllconfig.h - -# EOF diff --git a/vnr/vnrhook/TRASH/hookxp.pro b/vnr/vnrhook/TRASH/hookxp.pro deleted file mode 100644 index 40896f5..0000000 --- a/vnr/vnrhook/TRASH/hookxp.pro +++ /dev/null @@ -1,61 +0,0 @@ -# hookxp.pro -# 8/9/2013 jichi -# Build vnrhookxp.dll for Windows XP - -CONFIG += noeh # msvcrt on Windows XP does not has exception handler -include(../dllconfig.pri) -include(../sys/sys.pri) -include($$LIBDIR/disasm/disasm.pri) -include($$LIBDIR/memdbg/memdbg.pri) -include($$LIBDIR/ntinspect/ntinspect.pri) -include($$LIBDIR/winkey/winkey.pri) -include($$LIBDIR/winseh/winseh_safe.pri) -include($$LIBDIR/winversion/winversion.pri) - -VPATH += ../hook -INCLUDEPATH += ../hook - -# 9/27/2013: disable ITH this game engine, only for debugging purpose -#DEFINES += ITH_DISABLE_ENGINE - -# jichi 9/22/2013: When ITH is on wine, mutex is needed to protect NtWriteFile -#DEFINES += ITH_WINE -#DEFINES += ITH_SYNC_PIPE - -DEFINES += MEMDBG_NO_STL NTINSPECT_NO_STL - -## Libraries - -LIBS += -lkernel32 -luser32 -lgdi32 #-lgdiplus - -## Sources - -TEMPLATE = lib -TARGET = vnrhookxp - -#CONFIG += staticlib - -HEADERS += \ - config.h \ - cli.h \ - hook.h \ - engine/engine.h \ - engine/hookdefs.h \ - engine/match.h \ - engine/pchooks.h \ - engine/util.h \ - tree/avl.h - -SOURCES += \ - main.cc \ - rpc/pipe.cc \ - hijack/texthook.cc \ - engine/engine.cc \ - engine/match.cc \ - engine/pchooks.cc \ - engine/util.cc - -#RC_FILE += vnrhook.rc -#OTHER_FILES += vnrhook.rc - -# EOF diff --git a/vnr/vnrhook/TRASH/memory.h b/vnr/vnrhook/TRASH/memory.h deleted file mode 100644 index bedea9b..0000000 --- a/vnr/vnrhook/TRASH/memory.h +++ /dev/null @@ -1,46 +0,0 @@ -#pragma once - -// ith/common/memory.h -// 8/23/2013 jichi -// Branch: ITH/mem.h, revision 66 - -#ifndef ITH_HAS_HEAP -# define ITH_MEMSET_HEAP(...) ::memset(__VA_ARGS__) -#else -# define ITH_MEMSET_HEAP(...) (void)0 - -// Defined in kernel32.lilb -extern "C" { -// PVOID RtlAllocateHeap( _In_ PVOID HeapHandle, _In_opt_ ULONG Flags, _In_ SIZE_T Size); -__declspec(dllimport) void * __stdcall RtlAllocateHeap(void *HeapHandle, unsigned long Flags, unsigned long Size); - -// BOOLEAN RtlFreeHeap( _In_ PVOID HeapHandle, _In_opt_ ULONG Flags, _In_ PVOID HeapBase); -__declspec(dllimport) int __stdcall RtlFreeHeap(void *HeapHandle, unsigned long Flags, void *HeapBase); -} // extern "C" - -//NTSYSAPI -//BOOL -//NTAPI -//RtlFreeHeap( -// _In_ HANDLE hHeap, -// _In_ DWORD dwFlags, -// _In_ LPVOID lpMem -//); - -extern void *hHeap; // defined in ith/sys.cc - -inline void * __cdecl operator new(size_t lSize) -{ - // http://msdn.microsoft.com/en-us/library/windows/desktop/aa366597%28v=vs.85%29.aspx - // HEAP_ZERO_MEMORY flag is critical. All new objects are assumed with zero initialized. - enum { HEAP_ZERO_MEMORY = 0x00000008 }; - return RtlAllocateHeap(::hHeap, HEAP_ZERO_MEMORY, lSize); -} - -inline void __cdecl operator delete(void *pBlock) -{ RtlFreeHeap(::hHeap, 0, pBlock); } - -inline void __cdecl operator delete[](void *pBlock) -{ RtlFreeHeap(::hHeap, 0, pBlock); } - -#endif // ITH_HAS_HEAP diff --git a/vnr/vnrhook/TRASH/string.h b/vnr/vnrhook/TRASH/string.h deleted file mode 100644 index a77196c..0000000 --- a/vnr/vnrhook/TRASH/string.h +++ /dev/null @@ -1,36 +0,0 @@ -#pragma once - -// ith/common/string.h -// 8/9/2013 jichi -// Branch: ITH/string.h, rev 66 - -#ifdef ITH_HAS_CRT // ITH is linked with msvcrt dlls -# include -# include - -#else -# define _INC_SWPRINTF_INL_ -# define CRT_IMPORT __declspec(dllimport) - -#include // for wchar_t -extern "C" { -CRT_IMPORT int swprintf(wchar_t *src, const wchar_t *fmt, ...); -CRT_IMPORT int sprintf(char *src, const char *fmt, ...); -CRT_IMPORT int swscanf(const wchar_t *src, const wchar_t *fmt, ...); -CRT_IMPORT int sscanf(const char *src, const char *fmt, ...); -CRT_IMPORT int wprintf(const wchar_t *fmt, ...); -CRT_IMPORT int printf(const char *fmt, ...); -CRT_IMPORT int _wputs(const wchar_t *src); -CRT_IMPORT int puts(const char *src); -CRT_IMPORT int _stricmp(const char *x, const char *y); -CRT_IMPORT int _wcsicmp(const wchar_t *x, const wchar_t *y); -//CRT_IMPORT size_t strlen(const char *); -//CRT_IMPORT size_t wcslen(const wchar_t *); -//CRT_IMPORT char *strcpy(char *,const char *); -//CRT_IMPORT wchar_t *wcscpy(wchar_t *,const wchar_t *); -CRT_IMPORT void *memmove(void *dst, const void *src, size_t sz); -CRT_IMPORT const char *strchr(const char *src, int val); -CRT_IMPORT int strncmp(const char *x, const char *y, size_t sz); -} // extern "C" - -#endif // ITH_HAS_CRT diff --git a/vnr/vnrhook/TRASH/xp.txt b/vnr/vnrhook/TRASH/xp.txt deleted file mode 100644 index 150c61f..0000000 --- a/vnr/vnrhook/TRASH/xp.txt +++ /dev/null @@ -1,11 +0,0 @@ -12/16/2013 - -Differences between xp.dll and non-xp.dll for vnrhook. - -non-xp: - CONFIG += eh - -xp: - CONFIG += noeh - CONFIG -= embed_manifest_dll # Pure dynamic determined. The manifest would break Windows XP support - include($$LIBDIR/winseh/winseh_safe.pri) diff --git a/vnr/vnrhook/vnrhook.pri b/vnr/vnrhook/vnrhook.pri deleted file mode 100644 index 12b189a..0000000 --- a/vnr/vnrhook/vnrhook.pri +++ /dev/null @@ -1,12 +0,0 @@ -# vnrhook.pri -# 8/21/2013 jichi - -DEFINES += WITH_LIB_VNRHOOK -DEPENDPATH += $$PWD/include - -HEADERS += \ - $$PWD/include/const.h \ - $$PWD/include/defs.h \ - $$PWD/include/types.h - -# EOF diff --git a/vnr/vnrhook/vnrhook.pro b/vnr/vnrhook/vnrhook.pro deleted file mode 100644 index da60a3d..0000000 --- a/vnr/vnrhook/vnrhook.pro +++ /dev/null @@ -1,80 +0,0 @@ -# hook.pro -# 8/9/2013 jichi -# Build vnrhook.dll for Windows 7+ - -# Exception handler to catch all exceptions -CONFIG += dll noqt eh eha # noeh nosafeseh - -#CONFIG += noeh # msvcrt on Windows XP does not has exception handler -include(../../../config.pri) -include($$PLUGINDIR/ithsys/ithsys.pri) -include($$LIBDIR/disasm/disasm.pri) -include($$LIBDIR/memdbg/memdbg.pri) -include($$LIBDIR/ntdll/ntdll.pri) -include($$LIBDIR/ntinspect/ntinspect.pri) -include($$LIBDIR/winkey/winkey.pri) -#include($$LIBDIR/winseh/winseh_safe.pri) -include($$LIBDIR/winversion/winversion.pri) - -# 9/27/2013: disable ITH this game engine, only for debugging purpose -#DEFINES += ITH_DISABLE_ENGINE - -# jichi 9/22/2013: When ITH is on wine, mutex is needed to protect NtWriteFile -#DEFINES += ITH_WINE -#DEFINES += ITH_SYNC_PIPE - -DEFINES += ITH_HAS_CRT ITH_HAS_SEH -DEFINES += MEMDBG_NO_STL NTINSPECT_NO_STL # disabled as not used - -# jichi 11/24/2013: Disable manual heap -DEFINES -= ITH_HAS_HEAP - -# jichi 11/13/2011: disable swprinf warning -DEFINES += _CRT_NON_CONFORMING_SWPRINTFS - -## Libraries - -#LIBS += -L$$WDK7_HOME/lib/wxp/i386 -lntdll -#LIBS += $$WDK7_HOME/lib/crt/i386/msvcrt.lib # Override msvcrt10 - -LIBS += -lkernel32 -luser32 -lgdi32 #-lgdiplus - -## Sources - -TEMPLATE = lib -TARGET = vnrhook - -#CONFIG += staticlib - -HEADERS += \ - include/const.h \ - include/defs.h \ - include/types.h \ - src/except.h \ - src/main.h \ - src/util/growl.h \ - src/util/util.h \ - src/tree/avl.h \ - src/hijack/texthook.h \ - src/engine/engine.h \ - src/engine/hookdefs.h \ - src/engine/match.h \ - src/engine/pchooks.h \ - src/engine/mono/funcinfo.h \ - src/engine/ppsspp/funcinfo.h - -SOURCES += \ - src/main.cc \ - src/pipe.cc \ - src/util/util.cc \ - src/hijack/texthook.cc \ - src/engine/engine.cc \ - src/engine/match.cc \ - src/engine/pchooks.cc - -#RC_FILE += vnrhook.rc -#OTHER_FILES += vnrhook.rc - -OTHER_FILES += vnrhook.pri - -# EOF diff --git a/vnr/windbg/windbg.pri b/vnr/windbg/windbg.pri deleted file mode 100644 index 2673d6b..0000000 --- a/vnr/windbg/windbg.pri +++ /dev/null @@ -1,26 +0,0 @@ -# windbg.pri -# 4/21/2014 jichi -win32 { - -DEFINES += WITH_LIB_WINDBG - -LIBS += -lkernel32 -luser32 - -DEPENDPATH += $$PWD - -HEADERS += \ - $$PWD/hijack.h \ - $$PWD/inject.h \ - $$PWD/util.h \ - $$PWD/unload.h \ - $$PWD/windbg_p.h \ - $$PWD/windbg.h - -SOURCES += \ - $$PWD/hijack.cc \ - $$PWD/inject.cc \ - $$PWD/util.cc \ - $$PWD/unload.cc -} - -# EOF diff --git a/vnr/winkey/winkey.pri b/vnr/winkey/winkey.pri deleted file mode 100644 index cd7f534..0000000 --- a/vnr/winkey/winkey.pri +++ /dev/null @@ -1,15 +0,0 @@ -# winkey.pri -# 7/20/2011 jichi -win32 { - -DEFINES += WITH_LIB_WINKEY - -LIBS += -luser32 - -DEPENDPATH += $$PWD - -HEADERS += $$PWD/winkey.h -#SOURCES += $$PWD/winkey.cc -} - -# EOF diff --git a/vnr/winmaker/winmaker.pri b/vnr/winmaker/winmaker.pri deleted file mode 100644 index 8757391..0000000 --- a/vnr/winmaker/winmaker.pri +++ /dev/null @@ -1,15 +0,0 @@ -# wintimer.pri -# 7/20/2011 jichi -win32 { - -DEFINES += WITH_LIB_WINMAKER - -#LIBS += -lkernel32 -luser32 - -DEPENDPATH += $$PWD - -HEADERS += $$PWD/winmaker.h -SOURCES += $$PWD/winmaker.cc -} - -# EOF diff --git a/vnr/winmutex/winmutex b/vnr/winmutex/winmutex deleted file mode 100644 index 4f3da77..0000000 --- a/vnr/winmutex/winmutex +++ /dev/null @@ -1,2 +0,0 @@ -#pragma once -#include "winmutex/winmutex.h" diff --git a/vnr/winmutex/winmutex.pri b/vnr/winmutex/winmutex.pri deleted file mode 100644 index 8dbbb64..0000000 --- a/vnr/winmutex/winmutex.pri +++ /dev/null @@ -1,13 +0,0 @@ -# winmutex.pri -# 3/8/2013 jichi - -DEFINES += WITH_LIB_WINMUTEX - -DEPENDPATH += $$PWD -#LIBS += -lkernel32 -luser32 - -HEADERS += \ - $$PWD/winmutex \ - $$PWD/winmutex.h - -# EOF diff --git a/vnr/winseh/winseh_safe.pri b/vnr/winseh/winseh_safe.pri deleted file mode 100644 index 82cf311..0000000 --- a/vnr/winseh/winseh_safe.pri +++ /dev/null @@ -1,29 +0,0 @@ -# winseh_safe.pri -# 12/13/2013 jichi -# -# Need link with with SEH assembly -# See: http://stackoverflow.com/questions/12019689/custom-seh-handler-with-safeseh -# See: http://stackoverflow.com/questions/19722308/exception-handler-not-called-in-c -win32 { -#include(../../../config.pri) - -# Disable buffer security check: http://msdn.microsoft.com/en-us/library/8dbf701c.aspx -#QMAKE_CXXFLAGS += /GS- - -LIBS += safeseh.obj # compiled from safeseh.asm using ml -safeseh - -DEFINES += WITH_LIB_WINSEH - -DEPENDPATH += $$PWD - -HEADERS += $$PWD/winseh.h -SOURCES += \ - $$PWD/winseh.cc \ - $$PWD/winseh_safe.cc - -OTHER_FILES += \ - $$PWD/safeseh.asm \ - $$PWD/Makefile -} - -# EOF diff --git a/vnr/winseh/winseh_unsafe.pri b/vnr/winseh/winseh_unsafe.pri deleted file mode 100644 index 4b2a567..0000000 --- a/vnr/winseh/winseh_unsafe.pri +++ /dev/null @@ -1,18 +0,0 @@ -# winseh_unsafe.pri -# 12/13/2013 jichi -# -# Need compile with /SAFESEH:NO -# See: http://stackoverflow.com/questions/19722308/exception-handler-not-called-in-c -#CONFIG += nosafeseh -win32 { -DEFINES += WITH_LIB_WINSEH - -DEPENDPATH += $$PWD - -HEADERS += $$PWD/winseh.h -SOURCES += \ - $$PWD/winseh.cc \ - $$PWD/winseh_unsafe.cc -} - -# EOF diff --git a/vnr/wintimer/wintimer.pri b/vnr/wintimer/wintimer.pri deleted file mode 100644 index e1296d3..0000000 --- a/vnr/wintimer/wintimer.pri +++ /dev/null @@ -1,20 +0,0 @@ -# wintimer.pri -# 7/20/2011 jichi -win32 { - -DEFINES += WITH_LIB_WINTIMER - -LIBS += -lkernel32 -luser32 -lwintimer - -DEPENDPATH += $$PWD - -HEADERS += \ - $$PWD/wintimer.h \ - $$PWD/wintimerbase.h - -#SOURCES += \ -# $$PWD/wintimer.cc \ -# $$PWD/wintimerbase.cc -} - -# EOF diff --git a/vnr/wintimer/wintimer.pro b/vnr/wintimer/wintimer.pro deleted file mode 100644 index 69f2ff4..0000000 --- a/vnr/wintimer/wintimer.pro +++ /dev/null @@ -1,22 +0,0 @@ -# sys.pro -# 8/21/2013 jichi -# Build ITH_engine.dll - -#CONFIG += noqt noeh staticlib -CONFIG += staticlib -include(../../../config.pri) - -## Sources - -TEMPLATE = lib -TARGET = wintimer - -HEADERS += \ - wintimer.h \ - wintimerbase.h - -SOURCES += \ - wintimer.cc \ - wintimerbase.cc - -# EOF diff --git a/vnr/winversion/winversion.pri b/vnr/winversion/winversion.pri deleted file mode 100644 index 96b4a6b..0000000 --- a/vnr/winversion/winversion.pri +++ /dev/null @@ -1,14 +0,0 @@ -# winversion.pri -# 9/5/2014 jichi -win32 { -DEFINES += WITH_LIB_WINVERSION - -LIBS += -lversion - -DEPENDPATH += $$PWD - -HEADERS += $$PWD/winversion.h -SOURCES += $$PWD/winversion.cc -} - -# EOF