2004-08-15 Casper S. Hornstrup <[email protected]>

* lib/gdi32/.cvsignore: Ignore *.gch.
	* lib/gdi32/include/precomp.h: New file.
	* lib/gdi32/Makefile (TARGET_PCH): Set to include/precomp.h.
	* lib/gdi32/*/*.c: Use pre-compiled header.

svn path=/trunk/; revision=10556
This commit is contained in:
Casper Hornstrup
2004-08-15 18:40:07 +00:00
parent 84385f6e26
commit a3a8b50447
23 changed files with 45 additions and 106 deletions
+7
View File
@@ -1,3 +1,10 @@
2004-08-15 Casper S. Hornstrup <[email protected]>
* lib/gdi32/.cvsignore: Ignore *.gch.
* lib/gdi32/include/precomp.h: New file.
* lib/gdi32/Makefile (TARGET_PCH): Set to include/precomp.h.
* lib/gdi32/*/*.c: Use pre-compiled header.
2004-08-15 Casper S. Hornstrup <[email protected]>
* lib/msvcrt/.cvsignore: Ignore *.gch.
+1
View File
@@ -3,3 +3,4 @@
*.dll
*.o
*.map
*.gch
+1 -3
View File
@@ -1,4 +1,4 @@
/* $Id: font.h,v 1.1 2004/03/23 00:18:54 gvg Exp $
/* $Id: font.h,v 1.2 2004/08/15 18:40:07 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@@ -11,8 +11,6 @@
#ifndef GDI32_FONT_H_INCLUDED
#define GDI32_FONT_H_INCLUDED
#include <windows.h>
BOOL FASTCALL TextMetricW2A(TEXTMETRICA *tma, TEXTMETRICW *tmw);
BOOL FASTCALL NewTextMetricW2A(NEWTEXTMETRICA *tma, NEWTEXTMETRICW *tmw);
BOOL FASTCALL NewTextMetricExW2A(NEWTEXTMETRICEXA *tma, NEWTEXTMETRICEXW *tmw);
+3
View File
@@ -0,0 +1,3 @@
#include <windows.h>
#define NTOS_MODE_USER
#include <ntos.h>
+4 -4
View File
@@ -1,13 +1,13 @@
/*
* dllmain.c
*
* $Revision: 1.9 $
* $Author: navaraf $
* $Date: 2004/04/09 20:03:11 $
* $Revision: 1.10 $
* $Author: chorns $
* $Date: 2004/08/15 18:40:07 $
*
*/
#include <windows.h>
#include "precomp.h"
#include <win32k/win32k.h>
#include <internal/heap.h>
+3 -1
View File
@@ -1,4 +1,4 @@
# $Id: makefile,v 1.38 2004/05/29 21:24:43 hbirr Exp $
# $Id: makefile,v 1.39 2004/08/15 18:40:07 chorns Exp $
PATH_TO_TOP = ../..
@@ -8,6 +8,8 @@ TARGET_NAME = gdi32
TARGET_BASE = $(TARGET_BASE_LIB_GDI32)
TARGET_PCH = include/precomp.h
TARGET_SDKLIBS = rosrtl.a ntdll.a advapi32.a kernel32.a
TARGET_CFLAGS = \
+1 -7
View File
@@ -1,10 +1,4 @@
// heap.c
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#define NTOS_MODE_USER
#include <ntos.h>
#include "precomp.h"
#include <debug.h>
// global variables in a dll are process-global
+3 -1
View File
@@ -1,4 +1,4 @@
/* $Id: stubs.c,v 1.63 2004/07/09 20:28:20 navaraf Exp $
/* $Id: stubs.c,v 1.64 2004/08/15 18:40:07 chorns Exp $
*
* reactos/lib/gdi32/misc/stubs.c
*
@@ -8,6 +8,8 @@
* remove its stub from this file.
*
*/
/* Can't use precomp.h because of this */
#ifdef UNICODE
#undef UNICODE
#endif
+3 -1
View File
@@ -1,4 +1,4 @@
/* $Id: stubsa.c,v 1.32 2004/07/09 20:28:20 navaraf Exp $
/* $Id: stubsa.c,v 1.33 2004/08/15 18:40:07 chorns Exp $
*
* reactos/lib/gdi32/misc/stubs.c
*
@@ -8,6 +8,8 @@
* remove its stub from this file.
*
*/
/* Can't use precomp.h because of this */
#ifdef UNICODE
#undef UNICODE
#endif
+3 -5
View File
@@ -1,4 +1,4 @@
/* $Id: stubsw.c,v 1.30 2004/07/23 20:41:08 jfilby Exp $
/* $Id: stubsw.c,v 1.31 2004/08/15 18:40:07 chorns Exp $
*
* reactos/lib/gdi32/misc/stubs.c
*
@@ -8,10 +8,8 @@
* remove its stub from this file.
*
*/
#ifndef UNICODE
#define UNICODE
#endif//UNICODE
#include <windows.h>
#include "precomp.h"
#include <win32k/kapi.h>
#define UNIMPLEMENTED DbgPrint("GDI32: %s is unimplemented, please try again later.\n", __FUNCTION__);
+1 -5
View File
@@ -21,12 +21,8 @@
*
*/
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include "precomp.h"
#include <string.h>
#define NDEBUG
#include <win32k/debug1.h>
+2 -8
View File
@@ -1,4 +1,4 @@
/* $Id: bitblt.c,v 1.22 2004/04/25 14:46:54 weiden Exp $
/* $Id: bitblt.c,v 1.23 2004/08/15 18:40:07 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@@ -7,13 +7,7 @@
* PROGRAMMER:
*/
#ifdef UNICODE
#undef UNICODE
#endif
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include "precomp.h"
#include <win32k/kapi.h>
#include <debug.h>
+1 -7
View File
@@ -1,10 +1,4 @@
#ifdef UNICODE
#undef UNICODE
#endif
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include "precomp.h"
#include <win32k/kapi.h>
+2 -2
View File
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: clip.c,v 1.7 2004/04/25 16:40:39 weiden Exp $
/* $Id: clip.c,v 1.8 2004/08/15 18:40:07 chorns Exp $
*
* PROJECT: ReactOS gdi32.dll
* FILE: lib/gdi32/objects/clip.c
@@ -26,7 +26,7 @@
* 2003/06/26 GvG Created
*/
#include <windows.h>
#include "precomp.h"
#include <win32k/kapi.h>
/*
+1 -7
View File
@@ -1,10 +1,4 @@
#ifdef UNICODE
#undef UNICODE
#endif
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include "precomp.h"
#include <win32k/kapi.h>
#include <rosrtl/logfont.h>
+1 -7
View File
@@ -1,10 +1,4 @@
#ifdef UNICODE
#undef UNICODE
#endif
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include "precomp.h"
#include <win32k/kapi.h>
/*
+2 -9
View File
@@ -1,4 +1,4 @@
/* $Id: font.c,v 1.7 2004/07/23 20:41:09 jfilby Exp $
/* $Id: font.c,v 1.8 2004/08/15 18:40:07 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@@ -8,15 +8,8 @@
*
*/
#ifdef UNICODE
#undef UNICODE
#endif
#include <windows.h>
#include "precomp.h"
#include <rosrtl/logfont.h>
#include <ddk/ntddk.h>
#define NTOS_MODE_USER
#include <ntos.h>
#include <win32k/font.h>
#include <win32k/text.h>
#include <internal/font.h>
+1 -7
View File
@@ -1,10 +1,4 @@
#ifdef UNICODE
#undef UNICODE
#endif
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include "precomp.h"
#include <win32k/kapi.h>
+1 -2
View File
@@ -27,8 +27,7 @@
* NOTES: Adapted from Wine
*/
#include <windows.h>
#include <ddk/ntddk.h>
#include "precomp.h"
#include <win32k/kapi.h>
#include <debug.h>
+1 -9
View File
@@ -1,13 +1,5 @@
#ifdef UNICODE
#undef UNICODE
#endif
#undef WIN32_LEAN_AND_MEAN
#include "precomp.h"
#include <string.h>
#include <windows.h>
#include <ddk/ntddk.h>
#define NTOS_MODE_USER
#include <ntos.h>
#include <internal/heap.h>
#include <win32k/kapi.h>
#include <win32k/metafile.h>
+1 -7
View File
@@ -1,10 +1,4 @@
#ifdef UNICODE
#undef UNICODE
#endif
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include "precomp.h"
#include <win32k/kapi.h>
+1 -7
View File
@@ -1,10 +1,4 @@
#ifdef UNICODE
#undef UNICODE
#endif
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <ddk/ntddk.h>
#include "precomp.h"
#include <win32k/kapi.h>
+1 -7
View File
@@ -1,11 +1,5 @@
#ifdef UNICODE
#undef UNICODE
#endif
#undef WIN32_LEAN_AND_MEAN
#include "precomp.h"
#include <string.h>
#include <windows.h>
#include <ddk/ntddk.h>
#include <win32k/kapi.h>
#include <internal/font.h>
#include <rosrtl/logfont.h>