mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[VBSCRIPT]
* Move some inclusions to the main header. * Set the default debugging channel globally through the main header. * Remove inclusions and definitions that already exist in the main header. * Improve the GUIDs situation. CORE-7716 svn path=/trunk/; revision=61471
This commit is contained in:
@@ -31,7 +31,7 @@ add_idl_headers(vbscript_idlheader vbscript_classes.idl vbsglobal.idl vbsregexp5
|
||||
add_typelib(vbsglobal.idl vbsregexp10.idl vbsregexp55.idl)
|
||||
add_library(vbscript SHARED ${SOURCE} vbscript.rc)
|
||||
set_module_type(vbscript win32dll)
|
||||
target_link_libraries(vbscript wine)
|
||||
target_link_libraries(vbscript uuid wine)
|
||||
add_importlibs(vbscript oleaut32 ole32 user32 msvcrt kernel32 ntdll)
|
||||
add_dependencies(vbscript vbscript_idlheader stdole2)
|
||||
add_cd_file(TARGET vbscript DESTINATION reactos/system32 FOR all)
|
||||
|
||||
@@ -16,15 +16,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include "vbscript.h"
|
||||
#include "parse.h"
|
||||
//#include "parser.tab.h"
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
WINE_DECLARE_DEBUG_CHANNEL(vbscript_disas);
|
||||
|
||||
typedef struct _statement_ctx_t {
|
||||
|
||||
@@ -17,11 +17,6 @@
|
||||
*/
|
||||
|
||||
#include "vbscript.h"
|
||||
#include "vbscript_defs.h"
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
|
||||
static HRESULT Err_Description(vbdisp_t *This, VARIANT *args, unsigned args_cnt, VARIANT *res)
|
||||
{
|
||||
|
||||
@@ -16,18 +16,9 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "vbscript.h"
|
||||
#include "vbscript_defs.h"
|
||||
|
||||
#include <mshtmhst.h>
|
||||
#include <objsafe.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
#include <math.h>
|
||||
|
||||
#define round(x) (((x) < 0) ? (int)((x) - 0.5) : (int)((x) + 0.5))
|
||||
|
||||
|
||||
@@ -16,14 +16,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include "vbscript.h"
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
|
||||
static DISPID propput_dispid = DISPID_PROPERTYPUT;
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -16,16 +16,9 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
//#include <assert.h>
|
||||
|
||||
#include "vbscript.h"
|
||||
#include "parse.h"
|
||||
#include "parser.tab.h"
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
|
||||
static const WCHAR andW[] = {'a','n','d',0};
|
||||
static const WCHAR byrefW[] = {'b','y','r','e','f',0};
|
||||
static const WCHAR byvalW[] = {'b','y','v','a','l',0};
|
||||
|
||||
@@ -76,13 +76,7 @@
|
||||
/* Line 268 of yacc.c */
|
||||
#line 19 "parser.y"
|
||||
|
||||
|
||||
#include "vbscript.h"
|
||||
#include "parse.h"
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
|
||||
static int parser_error(parser_ctx_t *,const char*);
|
||||
|
||||
|
||||
@@ -31,14 +31,7 @@
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include "vbscript.h"
|
||||
#include "regexp.h"
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
|
||||
/* FIXME: Better error handling */
|
||||
#define ReportRegExpError(a,b,c)
|
||||
|
||||
@@ -16,14 +16,8 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include "vbscript.h"
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
|
||||
#define FDEX_VERSION_MASK 0xf0000000
|
||||
|
||||
static inline BOOL is_func_id(vbdisp_t *This, DISPID id)
|
||||
|
||||
@@ -17,12 +17,9 @@
|
||||
*/
|
||||
|
||||
#include "vbscript.h"
|
||||
#include "regexp.h"
|
||||
#include "vbsregexp55.h"
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
#include <initguid.h>
|
||||
#include <vbsregexp55.h>
|
||||
|
||||
#define REGEXP_TID_LIST \
|
||||
XDIID(RegExp2), \
|
||||
|
||||
@@ -16,15 +16,9 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
|
||||
//#include <assert.h>
|
||||
|
||||
#include "vbscript.h"
|
||||
#include <objsafe.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
#include <vbscript_classes.h>
|
||||
|
||||
#ifdef _WIN64
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
@@ -27,14 +28,17 @@
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <ole2.h>
|
||||
#include <objsafe.h>
|
||||
#include <dispex.h>
|
||||
#include <activscp.h>
|
||||
|
||||
#include <vbscript_classes.h>
|
||||
#include <mshtmhst.h>
|
||||
|
||||
#include <wine/list.h>
|
||||
#include <wine/unicode.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
|
||||
typedef struct {
|
||||
void **blocks;
|
||||
DWORD block_cnt;
|
||||
@@ -410,3 +414,7 @@ static inline LPWSTR heap_strdupW(LPCWSTR str)
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
#include "parse.h"
|
||||
#include "regexp.h"
|
||||
#include "vbscript_defs.h"
|
||||
|
||||
@@ -16,23 +16,15 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <initguid.h>
|
||||
#include "vbscript.h"
|
||||
|
||||
#include <vbscript.h>
|
||||
#include <objsafe.h>
|
||||
#include <mshtmhst.h>
|
||||
#include <rpcproxy.h>
|
||||
//#include "vbscript_classes.h"
|
||||
#include "vbsglobal.h"
|
||||
#include "vbsregexp55.h"
|
||||
#include <initguid.h>
|
||||
#include <vbscript_classes.h>
|
||||
#include <vbsglobal.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
|
||||
WINE_DECLARE_DEBUG_CHANNEL(heap);
|
||||
|
||||
DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
|
||||
|
||||
static HINSTANCE vbscript_hinstance;
|
||||
|
||||
static ITypeLib *typelib;
|
||||
|
||||
Reference in New Issue
Block a user