* 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
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)
* 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 {
*/
#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)
{
* 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))
* 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 {
* 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};
/* 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*);
* 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)
* 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)
*/
#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), \
* 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
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include <assert.h>
#include <stdarg.h>
#define WIN32_NO_STATUS
#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;
return ret;
}
+
+#include "parse.h"
+#include "regexp.h"
+#include "vbscript_defs.h"
* 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 <wine/debug.h>
+#include <initguid.h>
+#include <vbscript_classes.h>
+#include <vbsglobal.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;